1 2004-08-14 André Pönitz <poenitz@gmx.net>
4 * Makefile.am: new files to accomodate an 'external' (x,y)-position
5 cache for all insets in (at least partially) visible (top-level)
8 * BufferView_pimpl.C: reset external coord cache before every update.
9 This means the coord cache only contains valid entries.
11 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
14 * BufferView_pimpl.C (getInsetByCode): move function out of class
15 and change in to a template in anon namespace. Also fix to do what
18 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
21 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
23 (breakParagraph): rename par to par_offset and use a local
24 reference. Add code to keep the language over a rebreak.
25 (breakParagraphConservative): rename par to par_offset, use a
27 (mergeParagraph): ditto
29 (isFirstInSequence): ditto
30 (outerFont): rename pit to par_offset
32 * paragraph.C: ws change
37 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
42 * paragraph.C (simpleTeXOnePar): when we have a \item with
43 optional argument, enclose the argument with curly brackets (in
44 case it contains a closing square bracket)
48 * text3.C (checkInsetHit): constify
50 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
55 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
57 Fix toggling of collapsable insets with the mouse (bug 1558)
59 * lyxfunc.C (dispatch): adapt to LCursor changes
61 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
62 make sure that dispatch is not invoked twice
64 * cursor.C (needsUpdate): new method
65 (dispatch): return void
66 (result): new method, to access the DispatchResult of the cursor.
68 2004-08-13 José Matos <jamatos@lyx.org>
70 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
72 2004-08-13 André Pönitz <poenitz@gmx.net>
74 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
76 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
79 2004-08-12 André Pönitz <poenitz@gmx.net>
81 * text3.C: take out the 'cursor right' form insertInset and only
82 do it in those places when it is really needed. Fixes crash on
85 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
89 * BufferView_pimpl.C (setBuffer): initialize the current font of
90 the underlying LyXText
92 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * kbsequence.C (print): use UI native formatting for menu
97 * text.C (insertChar): call Paragraph::insertChar with a font
100 * paragraph.C (insertInset, insertChar): the version that takes a
101 LyXFont argument is now a wrapper around the other one (the
102 opposite used to be true).
104 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
105 argument. Font setting is done in Paragraph now.
107 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * outputparams.h: add new members intitle and lang.
111 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
112 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
114 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
116 * text3.C (dispatch): remove special handling of button 4 and 5,
117 it is now taken care of in the frontend code.
119 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
121 * Spacing.h: add <string> (STLPort compile fix)
123 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
125 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
127 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
132 * converter.C (showMessage): inherit from unary_function, make
135 * buffer.C (writeFile): initialize retval
137 * InsetList.h: rename private variable list to list_
138 * InsetList.[Ch]: adjust accordingly.
140 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
142 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
143 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
144 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
145 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
146 * ParagraphParameters.C, LaTeXFeatures.C: replace
147 "support/std_sstream.h" with <sstream>
149 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
151 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
152 * lyxsocket.C (LyXServerSocket): ditto
153 (serverCallback): ditto
155 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
157 * LaTeXFeatures.C: check release date when loading jurabib.
159 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
161 * lyxserver.C (startPipe): call register_socket_callback
162 (endPipe): call unregister_socket_callback
164 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
166 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
167 (LyXServerSocket): register the callback
168 (LyXServerSocket): unregister the callback
169 (fd): delete function
170 (serverCallback): improve error checking and setup the callbacks.
171 (dataCallback): change arg to fd.
172 (writeln): new func (copied fro the client socket) used for server
174 (LyXDataSocket): simplify
175 (~LyXDataSocket): close ann unregiser callback
176 (server): delete function
177 (fd): delete function
178 (readln): small changes, improve some std::string usage
179 (writeln): constify a bit
181 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
183 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
186 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * BufferView_pimpl.C (setBuffer): set the layout combox value only
189 after it has been populated
191 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * text2.C (insertInset): move cursor when inserting inset.
195 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * kbmap.C (findbindings): a couple of new methods. returns a
198 container of kb_sequence objects. The real work is done by the
199 private recursive version
200 (printbindings): uses findbindings to print out a bracketed list
201 of bindings (renamed from findbinding).
203 * MenuBackend.C (binding): use kb_keymap::findbindings
205 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
207 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
209 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
211 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * paragraph.C (isWord): return true on insets that report
216 * text.C (getWord): use Paragraph::isWord to decide what is in a
217 word and what is not; fix bug 1609.
219 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
221 * tex-strings.C: add "none" to string_paperpackages[], fixes
222 off-by-one-error in the paperpackage selection.
225 * tex-strings.[Ch]: char const * string[n]
226 -> char const * const string[]
228 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
231 command, return early.
233 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
235 * debug.h: add DEBUG to enum and fix size of ANY.
237 * debug.C: add support for Debug::DEBUG
238 (showTags): cast errorTags.level to unsigned int
240 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
241 (redoCurrentBuffer): ditto
242 (updateScrollbar): ditto
243 * cursor.C (dispatch): ditto
244 * text2.C (setLayout): ditto
246 (updateCounters): ditto
248 (deleteEmptyParagraphMechanism): ditto
250 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
252 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
253 annotations to cleanup the Makefile slightly.
255 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * lyxrc.C: do not set user_email to a default value but use empty
258 instead. The entry used to be translated, which does not work
259 since at the point where lyxrc is constructed there is no
260 translation service available
262 * messages.C (getLocaleDir): remove and use directly
263 lyx_localedir() instead
265 2004-06-02 Angus Leeming <leeming@lyx.org>
267 Fix crash caused by dereferencing null pointer 'exportdata' in
268 OutputParams by creating a new ExportData variable on the heap,
269 storing it in a boost::shared_ptr.
270 The crash was triggered when generating an Instant Preview
271 of an external inset.
273 * Makefile.am: add outputparams.C
275 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
276 (c-tor): allocate memory to it.
278 * exporter.C (c-tor): associated changes.
280 2004-06-01 Angus Leeming <leeming@lyx.org>
282 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
283 contains data before calling isInset(0). (Bug 1513.)
285 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
287 * exporter.C (checkOverwrite): new method
288 * exporter.C (copyFile): new method
289 * exporter.C (Export): copy referenced files to the document dir
290 * exporter.[Ch]: new class ExportedFile
291 * exporter.[Ch]: new class ExportData. Contains currently the
292 names of referenced external files
293 * outputparams.h: add exportdata member.
295 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
297 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
300 2004-05-19 Angus Leeming <leeming@lyx.org>
305 * lyxfunc.C: small changes due to the introduction of namespace
306 lyx::frontend and the moving of namespace biblio to lyx::biblio.
308 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
310 * text3.C (dispatch): supress update when only moving the cursor
311 * cursor.C (selHandle): remove commented code
313 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
315 * paragraph.C (startTeXParParams): correct column count
316 * CutAndPaste.C (pasteSelection): remove const_cast
317 * output_docbook.C (docbookParagraphs): remove const_cast
318 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
319 const_cast and return ParagraphList::const_iterator
320 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
321 * output_plaintext.C (writeFileAscii): remove const_cast
322 * paragraph.[Ch] (simpleTeXOnePar): make const
323 * paragraph_funcs.C (outerPar): use const iterators
324 * paragraph_pimpl.C (validate): use const iterators
325 * text.C (setHeightOfRow): use const iterators
327 2004-05-17 Angus Leeming <leeming@lyx.org>
330 * LyXAction.C (init): new LFUN_INSET_REFRESH.
332 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
333 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
334 if the citation engine has changed.
336 2004-05-14 José Matos <jamatos@lyx.org>
338 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
339 if the textclass does not provide it. Have it different for sgml and
341 support the language of document.
342 * output_docbook.C (docbookParagraphs):
343 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
344 first anchor as the id of the paragraph, remove special case code.
345 * sgml.C (escapeChar): escape only < & >.
347 2004-05-14 Angus Leeming <leeming@lyx.org>
349 * bufferparams.h: move biblio::CiteEngine enum here to minimize
350 dependencies on src/frontends/controllers/biblio.h. Define a
351 CiteEngine_enum wrapper class to enable the enum to be forward
354 2004-05-12 Angus Leeming <leeming@lyx.org>
356 * buffer.C: up LYX_FORMAT to 234.
357 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
358 use_numerical_citations with a single biblio::CiteEngine cite_engine
360 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
362 2004-05-13 José Matos <jamatos@lyx.org>
365 * converter.C (Converter, readFlags): add xml member.
366 * outputparams.h: add XML flavor.
367 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
369 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
371 * lyxfunc.C (dispatch):
372 (getStatus): fix handling of LFUN_SEQUENCE
374 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * debug.C (showLevel): do not forget the end-of-line marker
378 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
380 * kbmap.C (read): do not stop parsing a bind file when an error
383 2004-04-29 Angus Leeming <leeming@lyx.org>
388 * text2.C: wrap a bunch of #warning statements
389 inside #ifdef WITH_WARNINGS blocks.
391 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * buffer.C: increment format to 233.
395 2004-04-28 Angus Leeming <leeming@lyx.org>
397 * BufferView_pimpl.C:
400 s/updateToolbar()/updateToolbars()/
401 s/Toolbar.h/Toolbars.h/
403 2004-04-28 Angus Leeming <leeming@lyx.org>
405 * BufferView.[Ch] (c-tor):
406 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
407 No longer passes these data to the WorkArea generator.
409 2004-04-28 Angus Leeming <leeming@lyx.org>
411 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
413 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
415 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
417 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * output_latex.C (TeXEnvironment): make sure that there is a line
420 break before \end{foo} for the last paragraph of a document
421 (TeXOnePar): if the paragraph is at the end of the document (or
422 inset) and the language has to be reset, then make sure that the
423 line break is _before_ the language command, not after (fixes bug
424 1225); also make sure that the language reset command is the first
425 thing after the paragraph (to ensure proper nesting of
426 environments and thus fix bug 1404)
428 2004-04-21 John Levon <levon@movementarian.org>
431 * ToolbarBackend.C: make "name" be a programmatic name
432 and a gui_name field.
434 * lyxfunc.C: display the minibuffer on M-x
436 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
438 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
441 2004-04-19 Angus Leeming <leeming@lyx.org>
443 * BufferView_pimpl.C (setBuffer): changed preview interface.
445 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
448 2004-04-19 John Levon <levon@movementarian.org>
450 * BufferView_pimpl.C:
451 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
453 2004-04-05 Angus Leeming <leeming@lyx.org>
455 * text.C (redoParagraphs): add call to updateCounters(), thereby
456 fixing the missing "Figure #:" label from the caption of a
459 2004-04-13 Angus Leeming <leeming@lyx.org>
461 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
462 cursor is clicked out of an inset.
464 2004-04-13 Angus Leeming <leeming@lyx.org>
466 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
467 than an InsetOld one.
469 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
471 * format.[Ch]: add editor to Format
472 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
473 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
475 2004-04-08 André Pönitz <poenitz@gmx.net>
477 * metricsinfo.h: remove PainterInfo::width member
479 2004-04-08 Angus Leeming <leeming@lyx.org>
481 * lyx_sty.C (boldsymbol_def): modify so that it outputs
482 "\providecommand" rather than "\newcommand", thereby preventing
483 clashes with packages that define "\boldsymbol" themselves.
486 2004-04-08 Angus Leeming <leeming@lyx.org>
488 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
489 thereby squashing an unnecessary warning.
491 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
493 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
496 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
498 * BufferView.C (setCursor): call redoParagraph (some insets could
500 (putSelectionAt): remove the 'double update' trick
502 * BufferView_pimpl.C (fitCursor): call refreshPar
503 (workAreaDispatch): remove an uneeded update call
504 (dispatch): remove some manual update calls
506 * cursor.[Ch]: remove cached_y_, updatePos
507 (selHandle): set noUpdate when appropriate
509 * lyxfunc.C (dispatch): track if we need an update
511 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
513 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
514 (paintSelection): cheap optimization, do not call cursorX when not
516 (paintPars): change signature
519 (paintTextInset): adjust
523 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * lengthcommon.C: compilation fix: remove explicit array size from
526 unit_name[] and friends
528 2004-04-05 Angus Leeming <leeming@lyx.org>
530 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
532 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
533 present only for the preferences dialog.
534 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
536 2004-04-05 Angus Leeming <leeming@lyx.org>
538 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
539 to enable the frontends to export changes to lyxrc correctly.
541 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
543 2004-04-07 André Pönitz <poenitz@gmx.net>
545 * cursor.[Ch] (selClear, adjust): remove math
547 * cursor_slice.C: more agressive assert
550 * BufferView_pimpl.C: rework mouse event dispatch
557 2004-04-05 André Pönitz <poenitz@gmx.net>
559 * cursor.[Ch] (valign, halign...): remove unneeded functions
561 2004-04-05 Angus Leeming <leeming@lyx.org>
563 * lyxlength.[Ch] (unit_name et al.): const-correct.
565 2004-04-05 Angus Leeming <leeming@lyx.org>
567 * BufferView_pimpl.C:
576 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
578 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
580 * text3.C (getStatus): add LFUN_BEGINNINGBUF
582 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
584 * lyxfind.C: add a couple of inTexted() tests + other small fixes
585 * BufferView_pimpl.[Ch] (getStatus)
586 * BufferView.[Ch] (getStatus): add
587 * lyxfunc.C (getStatus): move lfuns handled in
588 BufferView::dispatch to te function above
589 * Cursor.C (setSelection): set selection() = true
591 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
593 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
595 2004-03-31 Angus Leeming <leeming@lyx.org>
597 * lyxfunc.C (dispatch): Fall through to the generic
598 Dialogs::show("preamble").
600 2004-03-31 Angus Leeming <leeming@lyx.org>
602 * lyxfunc.C (dispatch): Fall through to the generic
603 Dialogs::show("spellchecker").
605 2004-03-31 Angus Leeming <leeming@lyx.org>
607 * lyxfunc.C (getStatus, dispatch): changed invocation of the
610 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
615 * insetiterator.[Ch]:
620 * undo.[Ch]: s/DocumentIterator/DocIterator/g
622 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
624 * BufferView.C (setCursor, putSelectionAt): call edit to open the
625 insets where we are putting the cursor.
627 2004-03-31 Angus Leeming <leeming@lyx.org>
630 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
632 * lyxrc.[Ch] (read, write): overloaded member functions taking
633 a std::[io]stream arguments.
635 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
637 2004-03-31 Angus Leeming <leeming@lyx.org>
639 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
640 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
642 * lyxtextclass.C (load): if the text class couldn't be loaded, then
643 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
645 2004-03-31 Angus Leeming <leeming@lyx.org>
647 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
648 the LFUN_ALL_INSETS_TOGGLE code.
650 2004-03-30 Angus Leeming <leeming@lyx.org>
652 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
653 has died. Fall through to the generic Dialogs::show("document").
655 2004-03-30 Angus Leeming <leeming@lyx.org>
658 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
659 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
661 * lyxfunc.C (getStatus, dispatch): define the actions for these
662 lfuns. Little more than a cut and pste job from ControlDocument.C
664 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
666 2004-03-30 Angus Leeming <leeming@lyx.org>
669 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
670 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
672 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
673 open/closed state of ollapsable insets. Usage:
675 all-inset-toggle <state> <name>, where
676 <state> == "open" || "closed" || "toggle" and
677 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
679 * lyxtext.h, text2.C (toggleInset): removed.
681 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
682 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
683 now passes LFUN_INSET_TOGGLE to the found inset.
685 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
686 is now invoked as "all-insets-toggle toggle branch".
688 2004-03-30 Angus Leeming <leeming@lyx.org>
692 * pariterator.[Ch]: added/corrected header blurb.
694 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
696 * dociterator.[Ch]: add an inset_ member
697 (backwardPos): implemented
698 (backwardPos, forwardPos): use inset_ when the stack is empty.
699 (doc_iterator_begin, doc_iterator_end): implemented
700 * pariterator.[Ch]: adjust, add begin, end
701 * insetiterator.[Ch]: adjust, add begin, end
705 * BufferView_pimpl.C:
706 * CutAndPaste.C: adjust
708 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
710 * buffer.C: increment file format to 232.
711 * LaTeXFeatures.C: add bibtopic package.
712 * bufferparams.[Ch]: param \use_bibtopic.
714 * lyxrc.[Ch]: add lyxrc bibtex_command
715 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
717 * buffer.C: increment file format to 231.
719 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
721 * dociterator.C: implement forwardPar
722 * iterators.[Ch]: remove, replaced by
723 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
725 * BufferView_pimpl.C:
728 * bufferview_funcs.C:
734 * Makefile.am: adjust
736 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
738 * CutAndPaste.C (pasteSelection): fix 2 crashes
739 (eraseSelection): fix a crash
740 * paragraph_funcs.C: remove a warning
742 2004-03-28 Angus Leeming <leeming@lyx.org>
745 * LyXAction.C (init): new LFUN_PRINT.
747 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
749 2004-03-27 Angus Leeming <leeming@lyx.org>
752 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
754 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
756 2004-03-27 Angus Leeming <leeming@lyx.org>
758 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
759 insetlist always contains non-null pointers to insets.
761 2004-03-26 Angus Leeming <leeming@lyx.org>
763 * src/BufferView_pimpl.C:
767 * src/output_plaintext.C:
768 * src/outputparams.h:
769 * src/paragraph_funcs.C:
773 * src/frontends/controllers/ControlErrorList.C:
774 * src/frontends/gtk/FileDialogPrivate.C:
775 * src/frontends/gtk/GPainter.C:
776 * src/frontends/gtk/GToolbar.C:
777 * src/frontends/qt2/QRef.C:
778 * src/mathed/math_scriptinset.C: squash compiler warnings.
780 2004-03-26 Angus Leeming <leeming@lyx.org>
782 * ispell.C (LaunchIspell::start):
783 * lyx_cb.C (AutoSaveBuffer::start):
784 invoke run(DontWait) rather than runNonBlocking().
786 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
788 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
790 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * kbsequence.C (print): adjust
794 * kbmap.C (printKeySym): rename and change signature
795 (printKey): use LyXKeySym::print()
797 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
799 * undo.C: add using std::advance to compile for stlport
801 2004-03-24 Angus Leeming <leeming@lyx.org>
803 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
804 it leads to a crash when no buffer is present.
806 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
807 Martin Vermeer <martin.vermeer@hut.fi>
809 * lyxfunc.C (dispatch):
810 * bufferparams.C (readToken): use the new LColor::setColor
812 * LColor.[Ch] (setColor): new version that takes two strings as
813 argument and creates a new color entry if necessary
815 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
817 * buffer.C (makeLaTeXFile): if the main latex file that is
818 processed is usually a subdocument of some master, then pretend
819 for a while that it is actually the master
821 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
823 * buffer.C (getLabelList):
824 (getBibkeyList): use getMasterBuffer()
825 (getMasterBuffer): new method. Returns the main document in the
826 case where one is using included documents.
828 2004-03-25 André Pönitz <poenitz@gmx.net>
832 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
834 * ParagraphList_fwd.h: change ParagraphList to a std::vector
836 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
837 text*.C over here. Rename namespace CutAndPaste to lyx::cap
839 * ParameterStruct.h: merge with ParagraphParameters
841 * lyxtext.h: remove LyXText::parOffset() and getPar()
843 * text3.C: Remove all 'manual' update calls. We do now one per user
844 interaction which is completely sufficient.
848 * BufferView_pimpl.C:
851 * ParagraphParameters.[Ch]:
863 * output_docbook.[Ch]:
865 * output_linuxdoc.[Ch]:
866 * output_plaintext.[Ch]:
868 * paragraph_funcs.[Ch]:
869 * paragraph_pimpl.[Ch]:
877 * frontends/controllers/ControlDocument.C:
878 * frontends/controllers/ControlErrorList.C:
879 * frontends/controllers/ControlSpellchecker.C:
882 * insets/insetbase.h:
883 * insets/insetbibitem.C:
885 * insets/insetbranch.C:
886 * insets/insetcaption.C:
887 * insets/insetcharstyle.C:
888 * insets/insetcharstyle.h:
889 * insets/insetcollapsable.C:
890 * insets/insetcollapsable.h:
892 * insets/insetfloat.C:
893 * insets/insetfoot.C:
894 * insets/insetmarginal.C:
895 * insets/insetnote.C:
896 * insets/insetoptarg.C:
897 * insets/insettabular.C:
898 * insets/insettext.C:
899 * insets/insettext.h:
900 * insets/insetwrap.C:
901 * mathed/math_mboxinset.C:
902 * mathed/math_nestinset.C:
903 * mathed/math_scriptinset.C:
904 * mathed/math_scriptinset.h:
907 2004-03-24 Angus Leeming <leeming@lyx.org>
909 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
910 deal with any child processes that have finished but are waiting to
911 communicate this fact to the rest of LyX.
913 2004-03-24 Angus Leeming <leeming@lyx.org>
915 64-bit compile fixes.
917 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
918 (c-tor): pass lyx::pos_types rather than ints.
920 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
923 * text.C (Delete): compile fix.
924 (getPar): ensure that function declaration is the same as that in
927 2004-03-23 Angus Leeming <leeming@lyx.org>
929 * ispell.C (LaunchIspell):
930 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
931 a boost::shred_ptr rather than a std::auto_ptr.
933 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
935 * lyxfunc.C (getStatus): handle read-only buffers correctly;
936 handle LFUN_FILE_INSERT_*
938 * lyxrc.C (setDefaults, getDescription, output, read):
939 * lyxrc.h: remove ps_command
941 2004-03-22 Angus Leeming <leeming@lyx.org>
943 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
944 Ensure that error_handler is processed once only and that all data
945 is saved before attempting to output any warning messages.
947 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
949 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
951 * tabular.C (TeXRow): crash fix (from Kayvan and André)
953 2004-03-19 André Pönitz <poenitz@gmx.net>
955 * cursor.[Ch] (reset): take main text inset as argument
958 * BufferView_pimpl.C: adjust
960 * paragraph.[Ch]: fix completely broken operator=()
962 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
964 * LColor.C (getFromLyXName): make sure that the color name is used
967 2004-03-17 Angus Leeming <leeming@lyx.org>
970 * LyXAction.C (init): remove LFUN_FORKS_KILL.
972 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
973 dialog and to kill a forked process.
975 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
977 * text2.C (setCursorFromCoordinates): fix font problem
979 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
981 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
982 bogus "rebuild cursor" code
984 2004-03-11 André Pönitz <poenitz@gmx.net>
986 * buffer.[Ch]: use InsetText instead of LyXText as container for
989 * dociterator.[Ch]: drop the BufferView * member which is not needed
990 anymore after the change to buffer.C
996 * BufferView_pimpl.[Ch]:
998 * cursor_slice.[Ch]: adjust
1000 * text3.C: fix bug in mathDispatch
1002 2004-03-08 André Pönitz <poenitz@gmx.net>
1004 * undo.[Ch]: use 'StableDocumentIterator' as base for
1007 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1010 * bufferparams.[Ch]: add jurabib support and param.
1012 * LaTeX.C: add FIXME/comment.
1014 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1016 * buffer.C: increment file format to 230.
1018 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1020 * cursor.C (dispatch): avoid infinite loops
1022 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1024 * rowpainter.C (paintSelection): fix x coordinates
1026 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1028 * text.C (rowBreakPoint): fix breaking before displayed insets
1030 2004-03-01 André Pönitz <poenitz@gmx.net>
1032 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1034 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1038 * BufferView_pimpl.C:
1046 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1052 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1053 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1055 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1057 * Bidi.[Ch] (computeTables): const correctness
1058 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1059 fill_hfill, fill_label_hfill and x from Row
1060 * lyxtext.h: prepareToPrint returns a RowMetrics
1061 * rowPainter.C: adjust
1062 * text.C (prepareToPrint): use width, not textWidth. adjust
1063 (redoParagraphInternal, cursorX): adjust
1064 * text2.C (getColumnNearX): adjust
1065 (init): put a default value to the top LyXText::width
1067 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1069 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1071 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1073 * lyxtext.h: add FontIterator class
1075 * text.C (FontIterator, operator*, operator->, operator++): add
1076 (rowBreakPoint, setRowWidth): adjust (fixing a
1079 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1081 * BufferView_pimpl.C (workAreaDispatch): allow also
1082 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1084 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1086 * text.C (rowBreakPoint): fix a bug showing with very large insets
1088 2004-02-25 André Pönitz <poenitz@gmx.net>
1091 * cursor.[Ch]: move some mathed specific code to mathed
1093 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1095 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1096 use_tempdir in preferences
1097 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1099 * lyx_main.C: ensure that tempdir is valid
1100 * lyxlex.h: correct typo
1101 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1102 * paragraph.[Ch] (isMultiLingual): make const
1103 * cursor.[Ch] (openable): make const
1105 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1107 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1109 2004-02-20 André Pönitz <poenitz@gmx.net>
1111 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1113 * cursor.[Ch]: prepare for localized getStatus()
1119 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1121 2004-02-20 André Pönitz <poenitz@gmx.net>
1123 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1125 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1127 * text2.C (setCursorFromCoordinates): switch to absolute coords
1129 (cursorDown): adjust
1130 * text3.C (dispatch): adjust
1132 2004-02-16 André Pönitz <poenitz@gmx.net>
1134 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1137 * cursor_slice.[Ch]: remove unneeded acessor function
1139 * lyxtext.h: rename rtl() to isRTL()
1147 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1149 * rowpainter.C (paintSelection): coord fix
1151 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1153 * Spacing.C: compile fix
1155 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1157 * cursor.C (dispatch): restore current_ before returning
1159 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1161 * text2.C (cursorUp, cursorDown): fix coords
1164 2004-02-12 André Pönitz <poenitz@gmx.net>
1169 * text3.C: add LCursor & parameter to most cursor movement functions
1170 remove usage of LyXText::cursorRow() and cursorPar()
1172 * cursor.[Ch]: add textRow() needed members
1175 * BufferView_pimpl.C:
1178 * BufferView_pimpl.C: adjust
1180 2004-02-11 André Pönitz <poenitz@gmx.net>
1184 * BufferView_pimpl.C: shift undo/redo handling
1186 * cursor.[Ch]: fix mathed crash
1189 * lyxtext.h: move selectionAsText to LCursor
1197 * rowpainter.C: fix excessive drawing
1199 2004-02-06 André Pönitz <poenitz@gmx.net>
1202 * BufferView_pimpl.[Ch]:
1203 * text3.C: move some text specific LFUN handling
1205 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1207 * text3.C (checkInsetHit): adjust coords
1208 * text2.C (getColumnNearX): adjust coords
1209 (edit): adjust coords
1210 * text.C (getRowNearY): add two asserts
1212 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1215 * format.C: add using std::distance to compile on gcc 2.95/stlport
1217 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1219 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1221 2004-02-04 André Pönitz <poenitz@gmx.net>
1223 * BufferView.[Ch] (insertInset):
1224 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1229 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1231 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1232 on the default clause of the switch
1233 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1234 wasn't catched by LCursor::dispatch
1236 2004-02-03 André Pönitz <poenitz@gmx.net>
1239 * cursor.[Ch]: some additional asserts
1241 * undo.[Ch]: remove LyXText dependency in interface
1245 * lyxtext.h (firstPar, lastPar): remove dead functions
1250 * paragraph.[Ch]: adjust
1252 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1254 * lyxfind.C (find): fix argument order in call to ::find
1256 2004-02-02 André Pönitz <poenitz@gmx.net>
1258 * cursor.[Ch]: remove direct access to anchor
1260 * text.C: remove findText() hack
1262 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1264 * iterators.[Ch] (lockPath): remove in favour of...
1265 * BufferView.[Ch] (setCursor): this addition
1266 * BufferView.C (putSelectionAt): adjust
1267 * undo.C (performUndoOrRedo): adjust
1268 * lyxfunc.C (dispatch): adjust
1270 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1272 * iterators.C (lockPath): add a missing slice
1273 * undo.C (performUndoOrRedo): remove redundant positioning code
1275 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1277 * vc-backend.C (scanMaster): ";" -> ';'
1279 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1281 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1282 std::binary_function
1284 * lyxtextclass.C (compare_name): rename to...
1285 (LayoutNamesEqual): ...this
1287 * lyxlex_pimpl.C (compare_tags): inherit from
1288 std::binary_function, put back into anon namespace
1290 * lyxfind.C (MatchString): inherig from std::binary_function
1291 (findChange): use empty() istead of !size()
1293 * format.C (FormatNamesEqual): new functor
1300 * converter.C (compare_Converter): rename to...
1301 (ConverterEqual): ...this, and fixup a bit.
1302 (getConverter): use it, and make function const
1303 (getNumber): use it, and make function const
1307 * bufferlist.C: add using boost::bind
1309 * MenuBackend.C (MenuNamesEqual): new functor
1310 (hasMenu): use it, and make function const
1311 (hasSubmenu): use nested bind to get rid of compare_memfun.
1313 2004-01-30 André Pönitz <poenitz@gmx.net>
1315 * BufferView_pimpl.C:
1318 * cursor_slice.[Ch]:
1321 * paragraph_funcs.C:
1322 * paragraph_funcs.h:
1326 * text3.C: move some of the edit(x,y) handling to the insets
1327 some coordinate changes.
1329 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1331 * text.C: add using statements for std::advance and std::distance
1333 * paragraph.C: add using statement for std::distance
1335 * lyxfind.C: add using statement for std::advance
1337 * cursor.C (region): remove std:: from swap
1338 (openable): use nucleus in stead of operator->
1340 * BufferView.C: add using statements for std::distance and std::swap
1342 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1344 * iterators.C: Remove the pimple, move the needed structures to
1345 the header file. Create accessor for the positions stack.
1346 (asPosIterator): remove function
1348 * PosIterator.C (PosIterator): move constructors to top of file
1349 (PosIterator): reimplement the constructor taking a ParIterator in
1351 (setFrom): new function
1352 (operator!=): inline it
1354 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1356 * lyxfind.C (replaceAll): use std::advance
1358 * iterators.h: inherit from std::iterator.
1360 * PosIterator.C (advance, distance): remove
1361 * PosIterator.h: interit from std::iterator.
1363 2004-01-26 André Pönitz <poenitz@gmx.net>
1366 * BufferView_pimpl.[Ch]:
1370 * bufferview_funcs.C:
1380 * output_linuxdoc.C:
1381 * output_plaintext.C:
1383 * paragraph_funcs.[Ch]:
1384 * paragraph_pimpl.[Ch]:
1390 * text3.C: more IU: dumps most of the rest of the mathcursor
1391 implementation into cursor.[Ch]; "globalize" a bit of it.
1393 2004-01-25 Angus Leeming <leeming@lyx.org>
1395 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1397 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1399 * LaTeXFeatures.h: add nice_ and nice() const
1400 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1402 2004-01-20 André Pönitz <poenitz@gmx.net>
1405 * BufferView_pimpl.C:
1407 * bufferview_funcs.C:
1409 * cursor_slice.[Ch]:
1420 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1421 LCursor and mathcursor parts to LCursor and InsetBase.
1423 2004-01-15 André Pönitz <poenitz@gmx.net>
1425 * cursor_slice.[Ch]: add a few covienience functions
1427 * funcrequest.[Ch]: remove BufferView * member
1429 * BufferView_pimpl.C:
1436 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1438 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1440 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1441 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1443 2004-01-13 André Pönitz <poenitz@gmx.net>
1446 * lyxtext.h: hide cursor and selection anchor behind accessor function
1449 * BufferView_pimpl.[Ch]:
1451 * bufferview_funcs.C:
1461 * cursor_slice.[Ch]: some integer type changes for inset unification
1463 * lyxcursor.[hC]: remove, it's CursorSlice now.
1466 * BufferView_pimpl.[Ch]:
1467 * bufferview_funcs.C:
1473 * textcursor.[Ch]: adjust
1475 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1477 * text2.C (undoSpan): add and use
1478 * text.C (breakParagraph): use undoSpan (fix bug 578)
1481 2004-01-08 Angus Leeming <leeming@lyx.org>
1483 * BufferView_pimpl.C (MenuInsertLyXFile):
1484 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1485 * lyxfunc.C (menuNew, open, doImport):
1486 FileFilterList change to the FileDialog open and save functions.
1488 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1490 * ShareContainer.h: make isEqual and isUnique adaptable
1492 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1494 2004-01-07 Angus Leeming <leeming@lyx.org>
1497 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1499 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1501 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1502 functions replacing find, replace and replaceAll.
1504 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1505 LFUN_WORDFIND(FORWARD|BACKWARD).
1507 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1509 * text.C (breakParagraph): remove an outdated #warning
1511 2004-01-07 André Pönitz <poenitz@gmx.net>
1513 * lyxfind.C: somewhat clearer logic
1515 * text.C: prevent crash in cursorX on unitialized row cache
1517 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1519 * lyxcursor.[Ch] (operator>): add
1520 * textcursor.C (selStart, selEnd): use std::min and std::max
1522 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1524 * Chktex.C: include boost/format.hpp
1526 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1528 * InsetList.C: replace functor MathcIt with adaptable functor
1530 (insetIterator): modify accordingly
1532 * BranchList.h: move the BranchNamesEqual functor here from...
1533 * BranchList.C: ... to here
1535 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1537 (add): replace a finding loop with std::find_if.
1539 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1541 * output_docbook.C: moving LatexParam functionality into
1544 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1546 * buffer.C: increment format to 229.
1548 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1551 * lyx_sty.[Ch]: remove minipageindent_def
1557 * text3.C: remove LFUN_INSET_MINIPAGE
1559 2003-12-28 Angus Leeming <leeming@lyx.org>
1561 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1563 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1565 * text2.C (setParagraph): fix off-by-one crash
1567 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1569 * output_docbook.C: header stuff for AGU
1571 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1573 * text2.C (redoCursor): remove
1576 * BufferView_pimpl.C: remove calls to redoCursor and
1577 setCursor(cursor.par(), cursor.pos()) all around
1579 2003-12-15 Angus Leeming <leeming@lyx.org>
1581 * buffer.C: up the format to 228.
1583 2003-12-15 André Pönitz <poenitz@gmx.net>
1585 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1590 * BufferView_pimpl.C:
1599 2003-12-15 Angus Leeming <leeming@lyx.org>
1601 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1602 than getFromGUIName to manipulate the color.
1604 2003-12-14 Angus Leeming <leeming@lyx.org>
1606 * BranchList.[Ch]: minimize the API.
1607 (Branch::getBranch, getColor): now return a 'const &'.
1608 (Branch::setSelected) now returns a bool set to true if the
1609 selection status changes.
1610 (BranchList::clear, size, getColor, setColor, setSelected,
1611 allBranches, allSelected, separator): removed.
1612 (BranchList::find): new functions, returning the Branch with
1614 (BranchList::add, remove): return a bool indicating that
1615 the operation was successful.
1617 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1618 new InsetBranch::isBranchSlected member function.
1620 * LColor.[Ch]: mimimize the API.
1621 (fill): renamed as addColor and made private.
1622 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1623 versions of these functions taking a string arg have been removed.
1625 * bufferparams.C (readToken):
1626 * lyxfunc.C (dispatch):
1627 * lyxrc.C (read): changes due to the altered BranchList and
1630 * factory.C (createInset, readInset): changes due to altered
1633 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1636 * lyxfunc.C: remove insetminipage. "minipage-insert"
1637 now produces a frameless minipage box inset.
1639 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1641 * textcursor.[Ch] (selStart,selEnd): add new methods
1642 remove selection::start, end, use LyXCursor::operator<
1643 * lyxcursor.[Ch] (operator<): add
1644 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1645 * BufferView.[Ch] (unsetXSel): add
1646 * text2.C (clearSelection): use unsetXSel,adjust
1649 * rowpainter.C: adjust
1650 * bufferview_funcs.C (put_selection_at): adjust
1652 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1654 * BufferView_pimpl.C: small coord. correction
1656 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1658 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1659 dragging over the splash screen.
1661 2003-12-11 Angus Leeming <leeming@lyx.org>
1663 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1664 as it is now handled in LyXText::dispatch.
1666 * text3.C (doInsertInset): remove a level of nesting.
1668 2003-12-11 Angus Leeming <leeming@lyx.org>
1670 * factory.C (createInset): changes due to the changed interface to
1671 InsetCommandMailer::string2params.
1673 2003-12-10 Angus Leeming <leeming@lyx.org>
1675 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1676 'dialog-show-new-inset <inset name>'
1678 2003-12-10 Angus Leeming <leeming@lyx.org>
1680 * buffer.C: up the format to 227.
1682 * factory.C: the box inset is now identified simply by 'Box'.
1684 2003-12-10 Angus Leeming <leeming@lyx.org>
1686 * buffer.C: up the format to 226.
1688 * factory.C: the note inset is now identified simply by 'Note'.
1690 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1692 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1693 when a pit is enough. Standarize a couple of loops.
1695 2003-12-05 Angus Leeming <leeming@lyx.org>
1697 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1698 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1699 data to the re-worked "log" dialog.
1701 2003-12-03 André Pönitz <poenitz@gmx.net>
1707 * paragraph_funcs.C:
1709 * text2.C: use Inset::getText instead of Inset::getParagraph
1711 2003-12-03 André Pönitz <poenitz@gmx.net>
1715 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1716 InsetText::read() as LyXText::read()
1718 2003-12-02 Angus Leeming <leeming@lyx.org>
1720 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1721 type. Add a comment in the implementation that the function uses
1722 the stream's bad() function rather than fail() as the std::streams
1725 2003-12-02 André Pönitz <poenitz@gmx.net>
1727 * lyxlex.[Ch]: make interface more similar to std::stream
1729 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1731 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1733 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1735 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1737 * vspace.[Ch]: remove VSpace::NONE
1739 2003-12-01 André Pönitz <poenitz@gmx.net>
1742 * lyxtext.h: move ParagraphList member to LyXText
1743 rename LyXText::ownerParagraphs to LyXText::paragraph
1746 * bufferview_funcs.C:
1756 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1758 * undo.C: fix cursor positioning
1760 2003-12-01 John Levon <levon@movementarian.org>
1762 * BufferView_pimpl.C: fix a crash on exit with
1765 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1767 * BranchList.C: fix setSelected() method.
1769 2003-11-28 André Pönitz <poenitz@gmx.net>
1771 * ParagraphParameters.[Ch]:
1772 * ParameterStruct.h: remove space above/below from Paragraph to
1775 * BufferView_pimpl.C:
1781 * paragraph_funcs.C:
1787 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1789 * factory.C: Syntax change for CharStyles
1791 2003-11-28 André Pönitz <poenitz@gmx.net>
1796 * buffer.[Ch]: move LyXText member
1798 2003-11-28 André Pönitz <poenitz@gmx.net>
1800 * BufferView.[Ch]: make LyXText * text a private member
1802 * BufferView_pimpl.C:
1813 * output_plaintext.C: cleanup
1815 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1818 * lyxtextclass.[Ch]: parametrize SGML document header
1820 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1823 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1826 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1828 * text2.C (setFont): rework using PosIterator (no more recursive)
1829 (setCharFont): no more needed
1830 (setLayout): no more selection cursors fiddling (done by redoCursor)
1831 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1832 destroy remaining ones)
1834 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1836 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1838 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1841 * text3.C: adjust + re-allow multi par depth changes
1842 * textcursor.C: simplify a bit
1844 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1850 * src/output_docbook.C:
1851 * src/output_latex.C:
1856 * src/text2.C: Introducing a number of tags parametrizing various
1857 XML formats that we may want to support
1859 2003-11-25 André Pönitz <poenitz@gmx.net>
1861 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1863 * lyxtext.h (leftMargin/rightMargin): simplify interface
1870 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1872 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1873 master file to any child files. Fixes bug 546.
1875 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1877 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1879 2003-11-24 André Pönitz <poenitz@gmx.net>
1881 * rowpainter.C: simplification
1883 * text2.C (updateCounters): remove call to redoParagraph on
1884 changed labels as this is far too expensive.
1886 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1888 * converter.C (convert): fix a crash: this function gets
1889 called with buffer == 0 from importer code.
1891 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1893 * text3.C (cursorPrevious): make sure that we do not compare
1894 iterators form different containers.
1897 * rowpainter.C (paintSelection): make sure that we do not compare
1898 iterators from different containers.
1900 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1901 iterators from different ParagraphList containers.
1904 * text2.C (LyXText): change order of initialization slightly
1905 (operator=): new function. copy all variables except cache_par_
1906 (moveUp): make sure that we do not compare iterators from
1907 different ParagraphList constainers.
1910 * text.C (firstPar): new function
1911 (lastPar): new function
1912 (endPar): new function
1914 * lyxtext.h: move things around and group public functions, public
1915 variables, private functions, private variables
1917 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1919 * factory.C: change call to InsetERT constructor to avoid
1920 additional invocation of method status
1921 * text2.C (toggleInset): remove redundant update() call
1922 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1923 instead of a Bufferview pointer
1925 2003-11-21 André Pönitz <poenitz@gmx.net>
1927 * rowpainter.C: simplification
1929 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1931 * text3.C (dispatch): make possible to extend a word/row selection
1934 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1936 * lyxtext.h: x0_,y0_ -> xo_,yo_
1937 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1938 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1939 * rowpainter.C (paintRows): paint full paragraphs
1941 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1943 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1946 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1948 * lyxtext.h: add x0_, y0_
1949 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1950 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1952 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1954 * text2.C (setCursorIntern): move the x_target update here *
1955 * text3.C: change some bv() to true/false in calls to
1956 cursorUp/Down/Right/Left
1957 * cursor.C: use helper function.
1959 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1961 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1962 * paragraph_funcs.[Ch]: correct comment
1963 * rowpainter.C: do not paint selections away from bv->cursor()
1964 Fix a long standing selection painting bug.
1965 * text3.C: generalize mouse-selection code to LyXTexts other that
1967 * textcursor.C: do not use y coords if we can use par offsets
1969 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1971 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1972 cursor position after e.g. inset insert)
1974 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1976 * lyxfind.C (replace): adjust to locking removal + some
1979 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1981 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1984 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1987 * output_docbook.C: XML sanitation: new layout
1988 parameters InnerTag and CommandDepth
1990 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1992 * BufferView_pimpl.C:
1994 * text3.C: Fix the insertion and modification of button-style
1997 2003-11-13 André Pönitz <poenitz@gmx.net>
1999 * InsetList.[Ch]: remove deleteLyXText
2001 * paragraph.[Ch]: cache beginOfBody position
2006 * text3.C: remove superfluous update() calls
2010 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2012 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2013 * BufferView.C (fitLockedInsetCursor): remove
2014 * cursor.[Ch] (getDim): add
2015 * text.C (getRowNearY): add faster version
2016 * text3.C: remove some update calls
2018 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2030 * text3.C: The Character Style /XML short element patch.
2032 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2035 * factory.C: Small step to solving 'unable to insert some insets'
2038 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2040 * cursor.[Ch] (updatePos): new function for updating the y
2041 position of the tip inset
2042 * bufferview_funcs.C (put_selection_at):
2043 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2045 2003-11-11 André Pönitz <poenitz@gmx.net>
2047 * text.C: remove big comment on invalid Paragraph pointers as it is
2050 2003-11-11 André Pönitz <poenitz@gmx.net>
2052 * text_funcs.[Ch]: merge with ...
2060 * Makefile.am: remove text_funcs.[Ch]
2062 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2064 * cursor.C (getPos): return absolute cached y coord
2066 * BufferView_pimpl.C (fitCursor): new simplistic code
2067 (workAreaDispatch): add a fitCursor call
2069 2003-11-10 André Pönitz <poenitz@gmx.net>
2072 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2074 2003-11-10 André Pönitz <poenitz@gmx.net>
2076 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2077 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2078 indicate that the cursor needs to leave an inset
2080 * lyxtext.h: remove inset locking
2082 * cursor.[Ch]: re-implement functionality provided by inset locking
2085 * BufferView_pimpl.[Ch]:
2087 * bufferview_funcs.[Ch]:
2099 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2101 * PosIterator.[Ch]: replace the stack with a vector, add inset
2103 * iterators.[C]: adjust
2105 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2107 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2109 * paragraph_funcs.C (readParToken): put the correct id in the
2110 error item, not the id of the top paragraph
2112 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2114 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2115 * bufferview_funcs.C (put_selection_at): use the above
2117 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2119 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2121 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2123 * output_linuxdoc.h:
2124 * output_plaintext.h:
2126 * output_docbook.h: add #include statements
2128 2003-11-05 José Matos <jamatos@lyx.org>
2130 * output_docbook.[Ch]:
2131 * output_latex.[Ch]:
2132 * output_linuxdoc.[Ch]:
2133 * output_plaintext.[Ch]: New files for output formats.
2134 * output.[Ch]: New file for helper functions.
2137 * paragraph_funcs.[Ch]: output functions moved to new files.
2139 * outputparams.h: rename of latexrunparams.h
2147 * paragraph_funcs.[Ch]:
2148 * paragraph_pimpl.[Ch]:
2149 * tabular.[Ch]: rename ascii to plaintext
2150 and LatexRunParams to OutputParams.
2152 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2154 * iterators.[Ch] (text): require bv argument
2155 * undo.C (recordUndo):
2156 * lyxfunc.C (dispatch):
2157 * bufferview_funcs.C (put_selection_at): adjust
2159 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2161 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2163 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2165 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2168 2003-11-04 André Pönitz <poenitz@gmx.net>
2170 * cursor.[Ch]: restructure
2173 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2175 * iterators.[Ch] (asCursor): remove
2177 * lfuns.h: remove LFUN_INSET_EDIT
2183 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2185 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2187 * lyxfind.[Ch]: complete overhaul
2188 * BufferView_pimpl.C:
2190 * paragraph.[Ch] (insert): add
2192 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2196 * text.C: remove dead spellcheck code
2198 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2200 * dispatchresult.h: add a val setter
2202 * cursor.C (dispatch): use a tempvar for data_[i]
2204 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2206 * PosIterator.[Ch]: compile fix
2208 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2210 * text.C (cursorPar): deactivate the cursor cache
2212 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2214 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2216 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * text3.C (dispatch): adjust for new DisptchResult semantics.
2220 * lyxfunc.C (dispatch): handle update when return from
2221 Cursor::dispatch, adjust for new DispatchResult semantics.
2223 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2224 DispatchResult(true) mean to not update. Add class functions for
2225 setting dispatched and update, as well as reading.
2227 * cursor.C (dispatch): don't handle update here
2229 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2232 * trans_mgr.C: adjust
2234 * paragraph_funcs.C (readParToken): exception safety
2236 * lyxvc.h: store the vcs pointer in a scoped_ptr
2239 * lyxsocket.C (serverCallback): exception safety
2241 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2243 * ispell.C (clone): make it return a auto_ptr
2245 * factory.C (createInset): exception safety
2246 (readInset): exception safety
2248 * bufferlist.C (newBuffer): exception safety
2250 * Thesaurus.C (Thesaurus): use initialization for aik_
2252 * MenuBackend.C (expandToc): exception safety.
2254 2003-11-03 André Pönitz <poenitz@gmx.net>
2258 * bufferview_funcs.C: remove getInsetFromId()
2261 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2267 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2269 * PosIterator.C (distance, advance): new
2270 * bufferview_funcs.[Ch] (put_selection_at): new
2271 * iterators.[Ch] (lockPath): new
2273 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2275 * iterators.[Ch] (asPosIterator): added
2276 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2277 * PosIterator.[Ch]: added
2279 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2283 * cursor.C (dispatch):
2284 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2286 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2287 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2288 contructor, add a class function dispatched. Remove operator>=
2290 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2292 * debug.C: only use the default constructor for debugstream
2295 * main.C (main): include debug.h and setup the lyxerr streambuf
2298 2003-10-31 José Matos <jamatos@lyx.org>
2300 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2302 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2303 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2304 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2305 * paragraph_pimpl.C (simpleTeXSpecialC):
2306 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2307 add LatexRunParams argument.
2309 * exporter.C (Export): change call accordingly.
2311 * latexrunparams.h: add new member to take care of the other backends.
2312 2003-10-30 José Matos <jamatos@lyx.org>
2314 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2315 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2316 factorise code for paragraph output.
2318 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2321 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2323 * text3.C (dispatch):
2324 * lyxfunc.C (dispatch):
2325 * cursor.C (dispatch):
2326 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2328 * dispatchresult.h: make the dispatch_result_t ctor explicit
2330 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2333 * buffer.C: small refactoring of docbook stuff
2335 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2337 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2340 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2342 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2343 operator dispatch_result_t, and operators for == != and >=
2345 * cursor.C (dispatch): adjust for operator dispatch_result_t
2346 removal. comment out call to update
2348 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2350 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2358 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2361 * dispatchresult.h: new file, DispatchResult broken out of
2364 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2366 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2368 * text.C (rowBreakPoint): put a hack inside #if 0
2370 2003-10-28 André Pönitz <poenitz@gmx.net>
2374 * paragraph_funcs.C:
2377 * text2.C: general cleanup (lots of small stuff)
2379 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2381 * text2.C (cursorEnd): simple fix to the "end key goes to one
2382 before the end on last row" bug
2384 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2386 * text.C (backspace): fix the "zombie characters"
2388 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2390 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2392 2003-10-27 André Pönitz <poenitz@gmx.net>
2394 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2396 * factory.C: handle new InsetPagebreak, InsetLine
2398 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2399 and move handling into new InsetPagebreak, InsetLine
2401 * BufferView_pimpl.C:
2403 * ParagraphParameters.C:
2404 * ParameterStruct.h:
2409 * paragraph_funcs.C:
2410 * paragraph_pimpl.C:
2416 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2419 * lyxrow_funcs.[Ch]:
2425 * text3.C: remove lastPos uses in favour of Row::endpos
2427 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2429 * undo.C (performUndoOrRedo): fix two crashes by setting a
2430 cursor by hand and reordering some calls. Use bv->lockInset instead
2431 of inset->edit because the latter loses cursor information
2433 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2435 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2437 (rowBreakPoint): fix width. change point to point + 1.
2438 Add a missing check.
2440 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2443 * lyxfunc.C: fix (at least partly) the problems
2444 with the Nav menu and headers inside branch insets
2447 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2449 * paragraph.C (getChar): add strong asserts
2451 * lyxrow_funcs.C (lastPos): remove hideous hack
2453 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2454 (fill): adjust to that (avoid an infinite loop)
2456 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2458 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2460 2003-10-23 André Pönitz <poenitz@gmx.net>
2462 * RowList_fwd.h: change list<> to vector<> to gain speed
2463 after suggestion from Alfredo
2465 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2467 * lyxtext.h: move the bidi stuff from here...
2470 * Bidi.[Ch]: ... to here
2472 2003-10-23 André Pönitz <poenitz@gmx.net>
2475 * text.C (isLastRow, isFirstRow): new functions
2477 * paragraph.h: new width cache member
2479 * rowpainter.C: replace RowList::iterator with Row & where possible
2481 * lyxfunc.C: replace several view()->text with a single call
2483 * toc.C: fix 'unused' warning
2485 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2487 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2488 when woring with stream::pos_type
2489 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2491 2003-10-22 André Pönitz <poenitz@gmx.net>
2494 * text.C: use Row & instead of RowList::iterator
2496 * lyxrow.h: rename end() to endpos()
2502 2003-10-22 Angus Leeming <leeming@lyx.org>
2504 * buffer.[Ch] (fully_loaded): new member function, returning true
2505 only when the file has been loaded fully.
2506 Used to prevent the premature generation of previews and by the
2507 citation inset to prevent computation of the natbib-style label.
2509 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2510 templates are all set up.
2512 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2514 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2516 * text.C: fixed an "oops" in the "is a bit silly"
2519 2003-10-21 André Pönitz <poenitz@gmx.net>
2521 * FuncStatus.[Ch]: small stuff, whitespace
2523 * lyxfont.[Ch]: operator<<() for debug reasons
2527 * lyxtext.h: whitespace, spelling
2529 * paragraph.C: naming of variables
2532 * text2.C: small stuff
2535 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2537 * text.C: (1) finish off the inset display() work;
2538 (2) fix the "is a bit silly" bug (accessing char
2541 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2543 * text.C: re-introduce display() for insets, fixing the
2544 various bugs (stretch of line above, math inset
2547 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2549 * text.C (rightMargin): remove spurious semicolon
2551 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2554 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2556 * text3.C: fix one crash due to wrong cursor def
2558 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2560 * vc-backend.C (scanMaster): make the regex static
2562 * LaTeX.C (scanAuxFile): make the regexs static
2564 * text3.C (doInsertInset, dispatch, dispatch):
2565 * text2.C (cursorUp, cursorDown):
2566 * text.C (selectNextWordToSpellcheck):
2567 * BufferView_pimpl.C (dispatch):
2568 * lyxfunc.C (dispatch): localDispatch -> dispatch
2570 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2572 * lyxsocket.C: include <cerrno>
2574 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2576 * lyxfunc.C (dispatch): remove textcache stuff
2578 * bufferlist.C (release): remove textcache stuff
2581 * TextCache.C: delete file
2582 * TextCache.h: delete file
2584 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2586 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2587 delete of the bv_->text.
2588 (resizeCurrentBuffer): remove texcache stuff
2589 (workAreaResize): ditto
2591 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2593 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2596 2003-10-16 André Pönitz <poenitz@gmx.net>
2603 * text3.C: speed up by storing y positions per paragraph plus per-row
2604 offset instead of having a 'full' y position in the row.
2606 2003-10-15 André Pönitz <poenitz@gmx.net>
2610 * undo.[Ch]: make undo aware of inner insets
2612 2003-10-14 Angus Leeming <leeming@lyx.org>
2614 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2615 static member functions LyX::ref() and LyX::cref.
2616 (lastfiles): new accessor functions for the new lastfiles_ member var.
2617 (addLyXView, views_): add a new LyXView to the list of views_.
2618 (updateInset): loop over all LyXViews to call their own updateInset
2619 member function, returning a pointer to the Buffer owning the inset.
2621 * BufferView_pimpl.C (loadLyXFile):
2622 * MenuBackend.C (expandLastfiles):
2623 * bufferlist.C (MenuWrite, QuitLyX):
2624 lastfiles is no longer a global variable.
2625 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2627 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2628 static function. Access through LyX::cref().emergencyCleanup().
2630 2003-10-14 André Pönitz <poenitz@gmx.net>
2632 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2634 * undo.[Ch]: restoring part of 'undo in insets'
2637 * undo_funcs.[Ch]: merge with undo.[Ch]
2639 * tabular.C: small cleansing stuff
2641 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2643 * paragraph_funcs.C (readParToken): report unknown insets as error
2644 boxes. Use the outer paragraph as location (also for unknown
2647 * factory.C (readInset): do not abort on reading an unknown inset.
2648 Eat it and return 0.
2650 2003-10-13 Angus Leeming <leeming@lyx.org>
2652 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2654 * lyxrc.C: displayTranslator is now a function,
2655 declared in GraphicsTypes.h.
2657 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2659 * format.C: new placeholder $$a to pass the socket address.
2661 * bufferlist.[Ch]: new function getBufferFromTmp.
2663 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2664 files in the temporary dir.
2666 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2668 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2670 * Makefile.am: add lyxsocket.[Ch].
2672 * lyx_main.C (error_handler): handle SIGPIPE.
2674 2003-10-13 André Pönitz <poenitz@gmx.net>
2676 * BufferView_pimpl.C:
2681 * undo_funcs.[Ch]: use paroffset_type instead of
2682 ParagraphList::iterators to prevent multiple conversion
2683 (and get a more robust interface)
2685 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2687 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2689 * text3.C (dispatch): ditto
2691 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2693 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2694 move the onlyfile, use onlyfile instead of foundfile in a couple
2697 * DepTable.C (update): flush the error stream a bit more
2699 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * lyxserver.C (callback): adjust
2703 * lyxfunc.C (getStatus): add a missing brace in commented code
2704 (ensureBufferClean): reindent
2705 (dispatch): delete version taking a string
2707 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2709 * LaTeX.C (deplog): move found file handlig from here...
2710 (handleFoundFile): .. to new function here.
2711 (deplog): make sure to discover several files mentioned on the
2714 2003-10-10 André Pönitz <poenitz@gmx.net>
2721 * text3.C: fix some of the tabular crashes
2723 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2725 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2727 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2729 2003-10-09 André Pönitz <poenitz@gmx.net>
2731 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2734 * BufferView_pimpl.C:
2735 * bufferview_funcs.C:
2746 * undo_funcs.C: adjust
2748 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2750 * text2.C (incrementItemDepth): new function, use a backtracking
2751 algorithm to discover the correct item depth.
2752 (resetEnumCounterIfNeeded): new function, use a backtracking
2753 algorithm to discover if counter reset is needed.
2754 (setCounter): use them. Simplify a bit. Add different labels for
2755 different item depths for itemize.
2757 * paragraph.C (Paragraph): remove initialization of enumdepth
2760 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2761 enumerate and itemize. Change the type of itemdepth to signed char.
2763 2003-10-08 André Pönitz <poenitz@gmx.net>
2765 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2770 * tabular.[Ch]: fix crash after 'row-insert'
2772 2003-10-08 Angus Leeming <leeming@lyx.org>
2774 Fix doxygen warnings.
2776 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2777 Remove CutAndPaste:: prefix from header file declaration.
2779 * LColor.h (fill): remove LColor:: prefix from declaration.
2781 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2782 use lyx::depth_type rather than Paragraph::depth_type so that
2783 header file and .C file match.
2785 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2787 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2788 * aspell.C: \file aspell_local.C -> \file aspell.C
2789 * gettext.C: \file gettext.C -> \file src/gettext.C
2790 * gettext.h: \file gettext.h -> \file src/gettext.h
2791 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2792 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2793 * text.C: \file text.C -> \file src/text.C
2795 * toc.C: move comment so that doxygen is not confused.
2797 2003-10-07 Angus Leeming <leeming@lyx.org>
2799 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2801 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2804 * aspell_local.h: add forgotten std::string's.
2806 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2813 * text3.C: The Box patch. Fancybox support, minipage, parbox
2815 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2821 * ParagraphParameters.h:
2831 * lyxtextclasslist.h:
2834 * paragraph_pimpl.C:
2835 * textcursor.h: add <string> and other small fixes to make Lars'
2836 std::string patch compile with STLport.
2838 2003-10-06 Angus Leeming <leeming@lyx.org>
2840 * LColor.h: Add missing #include <string>.
2842 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2844 * All most all file in all subdirs: Make <string> be the prefered
2845 way of getting to std::string, add using declarations.
2847 2003-10-06 André Pönitz <poenitz@gmx.net>
2849 * metricsinfo.C: initialize LyXFont before changing attribute.
2850 (fixes the 'math in \emph is upright' bug)
2852 2003-10-06 André Pönitz <poenitz@gmx.net>
2854 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2856 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2859 * paragraph_pimpl.C: Small fixes to build using STLport
2861 2003-10-02 André Pönitz <poenitz@gmx.net>
2864 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2866 2003-10-01 André Pönitz <poenitz@gmx.net>
2868 * factory.C: assert early
2870 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2872 * lyx_main.C: remove the global debug object
2874 * debug.h: adjust for new debugstream
2876 * debug.C: adjust for new debugstream and keep the global debug
2879 2003-09-22 Angus Leeming <leeming@lyx.org>
2881 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2882 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2883 an incomplete class LyXFont.
2885 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2887 * factory.C: bug fix in branches
2889 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * lyxfunc.C (processKeySym): adjust
2893 (dispatch): change arg name from ev to func, adjust
2894 (sendDispatchMessage): ditto
2896 * lyx_main.C (defaultKeyBindings): adjust keybindings
2897 (deadKeyBindings): ditto
2899 * kbsequence.C (addkey): return a FuncRequest
2901 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2903 * kbmap.C (bind): take a FuncRequest as arg, adjust
2906 (defkey): change to take a FuncRequest as arg, adjust
2907 (findbinding): take a FuncRequest as arg, adjust.
2909 * funcrequest.h (operator=): added
2911 * funcrequest.C (FuncRequest): default kb_action changed from
2912 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2914 * buffer.C (dispatch): simplify
2915 (dispatch): adjust to take a FuncRequest as arg, adjust
2917 * boost.C (assertion_failed): change assertion message slightly
2919 * ToolbarBackend.C (read): simplify
2921 * MenuBackend.C (binding): adjust call to findbinding, add a
2922 message if no binding is found.
2924 (expandToc): correct by adding a empty FuncRequest
2926 * LyXAction.C: include <boost/assert.hpp>
2927 (isPseudoAction): delete function
2928 (LookupFunc): change name to...
2929 (lookupFunc): this. change return type to FuncRequest.
2930 (getActionName): take kb_action as arg, simplify
2931 (funcHasFlag): add an assert, simplify.
2933 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2935 * toc.C (action): return a FuncRequest, simplify
2937 * lyxfunc.C (processKeySym): adjust
2938 (getStatus): delete version that takes an int.
2940 (dispatch): delete version that takes action as int
2942 (sendDispatchMessage): simplify and adjust
2944 * funcrequest.C (getArg): take unsigned int as arg
2946 * ToolbarBackend.C (read): adjust
2947 (add): delete version that takes func as a string.
2948 (getIton): take a FuncRequest as arg
2950 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2953 * MenuBackend.C (MenuItem): add a new construct that only takes a
2954 Kind, simplify the constructor use for submenus.
2956 (expandLastfiles): adjust
2957 (expandDocuments): adjust
2958 (expandFormats): adjust
2959 (expandFloatListInsert): adjust
2960 (expandFloatInsert): adjust
2961 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2963 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2964 Remove class variables lyx_pseudo_map and lyx_arg_map
2966 * LyXAction.C (searchActionArg): delete function
2967 (getPseudoAction): delete function
2968 (retrieveActionArg): delete function
2969 (LookupFunc): make it return kb_action, simplify.
2970 (getActionName): simplify
2972 * factory.C (createInset): fix new bug
2974 2003-09-19 Angus Leeming <leeming@lyx.org>
2976 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2977 masterFilename_ parameter in the include inset.
2979 * factory.C (createInset): changes due to the changes to InsetInclude.
2981 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2983 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2985 2003-09-18 Angus Leeming <leeming@lyx.org>
2988 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2989 Inset::fillWithBibKeys.
2990 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2992 2003-09-18 Angus Leeming <leeming@lyx.org>
2994 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2996 (ctor): pass and store a 'Buffer const &'
2997 (buffer): new member function.
2999 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3000 '*this' to the LaTeXFeatures ctor.
3002 2003-09-18 Angus Leeming <leeming@lyx.org>
3008 * text.C: rename EnumLColor as LColor_color.
3010 2003-09-18 Angus Leeming <leeming@lyx.org>
3012 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3013 remove #include "insets/insetbase.h" from cursor.h.
3015 2003-09-18 Angus Leeming <leeming@lyx.org>
3017 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3018 InsetOld_code to remove #include "inset.h".
3020 * iterators.C: add #include "insets/inset.h"
3022 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3024 * BufferView.C: remove more locking stuff that apparently doesn't
3025 do anything sensible.
3027 2003-09-16 André Pönitz <poenitz@gmx.net>
3030 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3033 2003-09-16 Angus Leeming <leeming@lyx.org>
3035 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3037 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3040 * paragraph.h: remove #include "lyxfont.h". Forward declare
3043 2003-09-16 Angus Leeming <leeming@lyx.org>
3045 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3046 of support/textutils.h.
3047 (isWord): move the contents of support/textutils.h's IsWordChar here.
3053 * text2.C: add #include "paragraph.h".
3056 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3058 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3064 * LaTeX.C: use namespace alias for lyx::support::os
3066 2003-09-16 Angus Leeming <leeming@lyx.org>
3069 * bufferview_funcs.C:
3072 * paragraph_pimpl.C:
3074 * text.C: add #include "LColor.h".
3076 2003-09-16 Angus Leeming <leeming@lyx.org>
3078 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3079 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3081 Store the FontBits::color variable as an int rather than as an
3082 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3085 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3086 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3087 string calls together.
3089 * lyxrc.C: add #include "LColor.h".
3091 2003-09-15 Angus Leeming <leeming@lyx.org>
3093 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3096 2003-09-15 Angus Leeming <leeming@lyx.org>
3098 * LColor.h: add an EnumLColor wrapper for LColor::color.
3100 * lyxfont.[Ch] (color, setColor, realColor):
3101 * lyxtext.h, text.C (backgroundColor):
3102 pass EnumLColor args to/from the functions, rather than LColor::color
3106 * lyxtext.h: forward declare EnumLColor.
3108 * lyx_main.C: add #include "LColor.h".
3110 2003-09-15 Angus Leeming <leeming@lyx.org>
3112 * .cvsignore: add lyx-gtk.
3114 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3119 * ParagraphParameters.C
3123 * bufferview_funcs.C
3133 * vc-backend.C: remove usage of STRCONV
3135 2003-09-15 Angus Leeming <leeming@lyx.org>
3137 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3138 explicitly define the color passed to the painter.
3140 2003-09-15 Angus Leeming <leeming@lyx.org>
3142 * bufferparams.C (BufferParams): reorder member initializers to avoid
3145 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3147 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3148 * text.C (updateRowPositions): remove an unusual nop
3150 2003-09-12 André Pönitz <poenitz@gmx.net>
3152 * BufferView_pimpl.C:
3161 * Counters.[Ch]: finish the 'automatic counters' job
3163 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3165 * aspell.C: include <boost/assert.cpp> (compile fix)
3167 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3169 * boost.C (assertion_failed): use lyx::support::abort instead of
3172 2003-09-10 Angus Leeming <leeming@lyx.org>
3174 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3175 with their _fwd progeny.
3177 2003-09-09 Angus Leeming <leeming@lyx.org>
3179 134 files throughtout the source tree: replace 'using namespace abc;'
3180 directives with the appropriate 'using abc::xyz;' declarations.
3182 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3184 * boost.C (emergencyCleanup): moved here from LAssert.c
3185 (assertion_failed): new function, called by BOOST_ASSERT
3187 * several files: change Assert to BOOST_ASSERT
3189 2003-09-09 Angus Leeming <leeming@lyx.org>
3191 * buffer.[Ch]: Add an Impl class and move Buffer's member
3192 variables into it. As a result move several header files out of
3195 Add header files to lots of .C files all over the tree as a result.
3197 2003-09-09 Angus Leeming <leeming@lyx.org>
3199 * buffer.[Ch]: make Buffer's member variables private. Add
3202 Lots of changes all over the tree as a result.
3204 2003-09-08 Angus Leeming <leeming@lyx.org>
3206 * graph.C: #include <config.h>.
3208 2003-09-08 Angus Leeming <leeming@lyx.org>
3212 * BufferView_pimpl.C:
3241 * toc.C: remove redundant using directives.
3243 2003-09-07 Angus Leeming <leeming@lyx.org>
3245 * LaTeXFeatures.h: remove #include "support/types.h".
3246 * ToolbarBackend.h: remove #include <algorithm>.
3247 * changes.h: remove #include <ctime>.
3248 * debug.h: remove #include <iosfwd>.
3249 * graph.h: remove #include "support/std_string.h".
3250 * lyx_main.h: remove #include <csignal>.
3251 * lyxlex_pimpl.h: remove #include <fstream>.
3252 * sgml.h: remove #include <algorithm>, <utility>.
3253 * toc.h: remove #include "support/std_ostream.h".
3254 Add #include <iosfwd>.
3256 2003-09-07 Angus Leeming <leeming@lyx.org>
3258 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3260 * converter.h: forward declare LatexRunParams.
3261 * encoding.h: remove #include "lyxrc.h".
3262 * lyxtext.h: remove #include "LColor.h".
3263 * lyxtextclass.h: remove #include "support/types.h".
3264 * trans.h: remove #include "tex-accent.h".
3265 * trans_mgr.h: remove #include "tex-accent.h".
3266 * insets/inset.h: remove #include "support/types.h", <vector>.
3267 * insets/insetcollapsable.h: remove #include "LColor.h".
3268 * insets/insetinclude.h: remove #include "dimension.h".
3269 * insets/insetlatexaccent.h: remove #include "dimension.h".
3270 * insets/insetoptarg.h:: remove #include "insettext.h".
3271 * insets/insettext.h: remove #include "dimension.h",
3272 <boost/shared_ptr.hpp>
3274 * insets/renderers.h: add #include "dimension.h".
3275 * insets/updatableinset.h: add #include "support/types.h".
3277 * many .C files: Associated changes.
3279 2003-09-06 Angus Leeming <leeming@lyx.org>
3281 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3282 one, inside testInvariant.
3284 * PrinterParams.C: new file.
3285 * PrinterParams.[Ch]: move the function bodies out of line.
3287 2003-09-06 Angus Leeming <leeming@lyx.org>
3289 * ParagraphParameters.h: forward declare ParameterStruct rather than
3290 including its header file.
3291 (depth): moved out-of-line.
3293 2003-09-06 Angus Leeming <leeming@lyx.org>
3295 * BufferView_pimpl.h:
3298 * lyxfunc.h: forward declare LyXKeySym rather than
3299 #include "frontends/LyXKeySym.h".
3301 * BufferView_pimpl.C:
3304 * lyxfunc.C: associated changes.
3306 2003-09-06 Angus Leeming <leeming@lyx.org>
3308 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3309 As a result, can remove the #include "insets/inset.h" from BufferView.h
3311 2003-09-06 Angus Leeming <leeming@lyx.org>
3313 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3314 As a result, can remove the #include "insets/inset.h" from BufferView.h
3316 2003-09-06 Angus Leeming <leeming@lyx.org>
3322 * bufferview_funcs.C:
3323 * BufferView_pimpl.C:
3328 * ParagraphParameters.C:
3333 * frontends/controllers/ControlDocument.C:
3334 * insets/insetcaption.C: rearrange the #includes into some sort of
3337 * buffer.h: remove #includes ErrorList.h, undo.h
3339 2003-09-06 Angus Leeming <leeming@lyx.org>
3341 * support/types.h: add a 'depth_type' typedef, used to store the
3342 nesting depth of a paragraph.
3345 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3346 defining explicitly.
3349 * paragraph_funcs.h:
3350 * ParagraphParameters.h:
3351 * sgml.h: use lyx::depth_type rather than Paragraph or
3352 ParameterStruct's depth_type.
3355 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3358 * BufferView_pimpl.C:
3360 * ParagraphParameters.C:
3363 * bufferview_funcs.C:
3370 * frontends/LyXView.C:
3371 * frontends/controllers/ControlDocument.C:
3372 * frontends/controllers/ControlErrorList.C:
3373 * insets/insetbibitem.C:
3374 * insets/insetbranch.C:
3375 * insets/insetcaption.C:
3376 * insets/insetcollapsable.C:
3377 * insets/insetenv.C:
3378 * insets/insetert.C:
3379 * insets/insetfloat.C:
3380 * insets/insetfoot.C:
3381 * insets/insetfootlike.C:
3382 * insets/insetnewline.C:
3383 * insets/insetquotes.C:
3384 * insets/insettabular.C:
3385 * insets/insettext.C:
3386 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3388 * frontends/controllers/ControlChanges.C: #include "changes.h".
3390 2003-09-06 Angus Leeming <leeming@lyx.org>
3392 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3393 than #including paragraph.h.
3396 * RowList.h: deleted. Superfluous.
3406 * insets/insettext.h: use ParagraphList_fwd.h rather than
3409 * paragraph.h: don't forward declare ParagraphList.
3412 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3413 rather than ParagraphList.h. paragraph.h is still needed for the
3414 Paragraph::depth_type parameters.
3416 * textcursor.h: enable it to compile stand-alone in light of the
3419 * bufferview_funcs.C:
3431 * frontends/controllers/ControlParagraph.C:
3432 * frontends/controllers/ControlTabular.C:
3433 * insets/insetmarginal.C:
3434 * insets/insetminipage.C:
3435 * insets/insetnote.C:
3436 * insets/insetoptarg.C: add header files needed to compile again.
3438 2003-09-06 Angus Leeming <leeming@lyx.org>
3440 * RowList_fwd.h: new file, forward-declaring Row rather than
3441 #including lyxrow.h.
3446 * insets/insettext.h: use it instead of RowList.h
3448 * bufferview_funcs.C:
3455 * text3.C: #include "RowList.h".
3457 2003-09-05 Angus Leeming <leeming@lyx.org>
3459 * factory.C (createInset):
3460 * vspace.C (c-tor): replace sscanf call with an istringstream.
3461 * ispell.C: re-add missing HP/UX headers.
3462 * lyxserver.C: re-add missing os2 headers.
3464 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3473 * text3.C: re-add missing system headers, needed for 2.95.2.
3475 2003-09-05 Angus Leeming <leeming@lyx.org>
3477 Changes most place everywhere due to the removal of using directives
3478 from support/std_sstream.h.
3480 2003-09-05 Angus Leeming <leeming@lyx.org>
3482 Replace LString.h with support/std_string.h,
3483 Lsstream.h with support/std_sstream.h,
3484 support/LIstream.h with support/std_istream.h,
3485 support/LOstream.h with support/std_ostream.h.
3487 Changes resulting throughout the tree.
3489 2003-09-05 Angus Leeming <leeming@lyx.org>
3491 * sgml.h: ensure that the header file can be compiled stand-alone.
3492 * *.C: strip out redundant #includes. (320 in total.)
3494 2003-09-04 Angus Leeming <leeming@lyx.org>
3496 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3497 here (from getPackages).
3499 * debug.[Ch]: add a new EXTERNAL tag.
3501 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3503 * text2.C (cursorEnd): simplify
3505 (getColumnNearX): adjust
3507 * text.C (computeBidiTables): adjust
3510 * rowpainter.C (paintChars): adjust
3511 (paintSelection): adjust
3512 (paintChangeBar): adjust
3515 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3517 (numberOfSeparators): adjust
3519 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3525 * text3.C: Restricts the mouse click functionality
3526 of insets like bibtex, include, toc and floatlist to the visible
3527 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3528 up the dialogs. Cursor has to be in front of the inset (i.e.
3529 start of row) for this to function.
3531 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3533 * bufferview_funcs.C (currentState): output row information
3535 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3537 * bufferview_funcs.C (currentState): output paragraph position
3539 2003-09-04 Angus Leeming <leeming@lyx.org>
3541 * FloatList.h: move out #include "Floating.h".
3542 * LaTeX.h: move out #include "DepTable.h".
3543 * LyXAction.h: move out #include "funcrequest.h".
3544 * buffer.h: move out #include "author.h", "iterators.h".
3545 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3546 * lyx_main.h: move out #include "errorlist.h".
3547 * lyxfunc.h: move out #include "FuncStatus.h".
3548 * lyxtext: move out #include "lyxcursor.h".
3549 * paragraph_pimpl.h: move out #include "counters.h".
3551 2003-09-03 Angus Leeming <leeming@lyx.org>
3553 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3554 preamble_snippets list, enabling us to add snippets to the preamble
3555 only if the snippet was not there already.
3557 2003-09-04 Angus Leeming <leeming@lyx.org>
3559 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3561 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3563 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3566 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3568 * BranchList.C: point fix, earlier forgotten
3570 2003-09-02 Angus Leeming <leeming@lyx.org>
3572 * box.C (contains): renamed from 'contained' after a fantastic
3575 2003-09-02 John Levon <levon@movementarian.org>
3581 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3583 2003-09-02 John Levon <levon@movementarian.org>
3585 * text2.C: simplification of cursorEnd(), including partial
3588 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * buffer.C (readFile): add a space
3592 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3594 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3596 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3598 * buffer.C (readFile): new function, take a filename and a
3599 ParagraphList::iterator
3601 (readFile): adjust, make it private. don't use setStream, make
3602 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3603 always contain the filename.
3605 * BufferView.C (insertLyXFile): simplify and make it work for
3608 2003-08-30 John Levon <levon@movementarian.org>
3610 * Makefile.am: fix dist (from Kayvan)
3612 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3614 * most files: change to use const Buffer refs
3616 2003-08-27 André Pönitz <poenitz@gmx.net>
3618 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3619 on top of ownerPar().
3621 2003-08-27 John Levon <levon@movementarian.org>
3623 * funcrequest.C: properly initialise POD members
3625 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3627 * lyxtext.h (top_y): move top_y from here
3632 * BufferView_pimpl.[Ch]: to here
3633 * frontends/screen.C:
3634 * insets/insettabular.C:
3635 * insets/insettext.C: adjust
3636 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3638 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3641 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3643 2003-08-26 André Pönitz <poenitz@gmx.net>
3645 * paragraph_func.[Ch] (outerPar): new function
3648 * paragraph_funcs.C:
3649 * paragraph_funcs.h:
3650 * paragraph_pimpl.C:
3651 * text2.C: remove Inset::par_owner
3653 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3658 * text2.C: eliminates the needFullRow/display() stuff
3659 altogether, putting the logic in metrics/draw in the insets.
3661 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3663 * text2.C (redoParagraphInternal, redoParagraphs):
3664 * text.C (redoParagraph): add a call to updateRowPositions at the
3665 end of each 'metrics-like' call. Remove all others.
3666 (getRow): remove the 'y-computing' version.
3667 (getRowNearY): do not compute nor return the real y. Solve the
3668 'y < 0' problem and simplify.
3670 2003-08-22 Angus Leeming <leeming@lyx.org>
3672 * *.[Ch]: clean-up of licence and author blurbs.
3673 Also move config.h out of a few .h files and into a few .C files.
3675 2003-08-22 André Pönitz <poenitz@gmx.net>
3677 * lyxrow.[Ch]: add x_ and *fill_ members
3682 * text2.C: adjust/remove prepareToPrint() calls
3684 2003-08-22 André Pönitz <poenitz@gmx.net>
3686 * lyxrow.[Ch]: add end_ member
3688 * lyxrow_funcs.C: use LyXRow::end_
3690 * lyxtext.h (singleWidth): add LyXFont parameter
3693 * text2.C: adjust LyXText::singleWidth() calls
3695 * text.C (redoParagraph): simplify row breaking logic
3698 2003-08-19 André Pönitz <poenitz@gmx.net>
3700 * funcrequest.C: initialize button_ member
3703 * rowpainter.[Ch]: interface consolidation
3705 2003-08-18 André Pönitz <poenitz@gmx.net>
3708 * BufferView_pimpl.C:
3710 * paragraph_funcs.C:
3712 * text3.C: remove LyXScreen::draw() and fitCursor calls
3714 * BranchList.h: remove spurious semicolons
3716 * MenuBackend.C: fix branchlist related crash
3718 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3726 * bufferparams.[Ch]:
3730 * text3.C: implements the 'branch inset'
3731 idea. This allows the output of various versions of a document
3732 from a single source version, selectively outputing or suppressing
3733 output of parts of the text.
3734 This implementation contains a 'branch list editor' in a separate
3735 tab of the document settings dialog. Branches are user definable
3736 and have a "display colour" to distinguish them on-screen.
3738 ColorHandler was somewhat cleaned up.
3739 (1) make possible a dynamically growing LColor list by allowing
3740 the graphic context cache to grow along (vector);
3741 (2) eliminate an IMHO unnecessary step in colour allocation.
3743 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3745 * BufferView_pimpl.C: compile fix
3747 2003-08-15 André Pönitz <poenitz@gmx.net>
3749 * rowpainter.C: remove extra metrics calls
3751 * lyxtext.h: merge the two constructors into a single one,
3752 pass reference to owner's par list
3754 * BufferView_pimpl.C:
3758 2003-08-15 André Pönitz <poenitz@gmx.net>
3760 * lyxrow_funcs.[Ch]:
3763 * paragraph_funcs.C:
3768 * text_funcs.C: split LyXText::rowlist_ into individual
3769 Paragraph::rows_ chunks
3772 * BufferView_pimpl.[Ch]:
3775 * text3.C: remove toggleSelection()
3777 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3779 * bufferlist.C: beautify two alerts (shorter text of buttons)
3780 * buffer.C: Remove redundant ' ' from message
3782 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3783 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3784 rename VALIGN_CENTER to VALIGN_MIDDLE
3786 2003-08-11 André Pönitz <poenitz@gmx.net>
3788 * lyxtext.h (getPar):
3789 * text.C: new function
3791 2003-08-11 André Pönitz <poenitz@gmx.net>
3794 * tracer.[Ch]: remove unneeded files
3796 * InsetList.[Ch]: remove resizeInsetsLyXText()
3801 * text3.C: merge insertParagraphs() and appendParagraph()
3802 remove breakAgain(), update()
3804 * BufferView_pimpl.[Ch]:
3805 * bufferview_funcs.[Ch]:
3809 * tabular.C: adjust after text & InsetList changes.
3811 2003-08-08 André Pönitz <poenitz@gmx.net>
3813 * text.C (insertChar, backspace): replace rowlist fiddling
3814 with rebreak of full par
3817 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3818 checkParagraph, updateInset): removed
3820 2003-08-07 André Pönitz <poenitz@gmx.net>
3823 * text3.C: merge some LFUN handlers, remove dead code
3825 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3827 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3829 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3831 * text2.C (DEPM): fix part of bug 1255 and 1256
3833 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3835 * BufferView_pimpl.C (workAreaDispatch): change to use
3836 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3837 that are no mouse related.
3839 2003-08-05 André Pönitz <poenitz@gmx.net>
3842 * BufferView_pimpl.[Ch]:
3843 * bufferview_funcs.C:
3845 * text3.C: rip out "deep update"
3847 * textcursor.[Ch] (last_sel_cursor): remove unused member
3849 2003-08-04 André Pönitz <poenitz@gmx.net>
3852 * BufferView_pimpl.[Ch]:
3853 * ParagraphParameters.C:
3854 * bufferview_funcs.C:
3860 * text3.C: replace "complicated" BufferView::update(...) calls with
3863 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3865 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3867 * Makefile.am (lyx_SOURCES): add paper.h
3869 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3871 * Makefile.am: move things around so that both lyx-qt and
3872 lyx-xforms can be built (according to --with-frontend). Then lyx
3873 is a symbolic link to lyx-[firstfrontend]
3875 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3877 * Always use std::endl with lyxerr
3879 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3881 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3883 2003-08-01 André Pönitz <poenitz@gmx.net>
3886 * BufferView_pimpl.[Ch]:
3888 * text3.C: merge BufferView::repaint() and BufferView::update()
3890 2003-08-01 José Matos <jamatos@lyx.org>
3892 * buffer.[Ch]: file_format is no longer a buffer data element.
3894 2003-08-01 André Pönitz <poenitz@gmx.net>
3899 * text2.C: make redoParagraph more independent of current cursor
3901 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3903 * text2.C: remove unneeded members
3905 2003-07-30 André Pönitz <poenitz@gmx.net>
3907 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3909 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3910 create a single function...
3912 * paragraph_funcs.C (moveItem): ... here.
3915 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3917 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3919 * LColor.[Ch]: Add comment and greyedout logical colors.
3921 2003-07-30 André Pönitz <poenitz@gmx.net>
3923 * tabular.C: don't use Assert too heavily. This crashes where it
3926 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3928 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3929 is disabled (bug 1232)
3931 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3933 * factory.C: limited 'arg' scope
3935 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3937 * factory.C: fixed Note submenu issues
3939 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3941 * factory.C: submenu for Note/Comment/Greyedout
3943 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3946 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3948 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3951 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3952 greyedout. Patch provided by Jürgen Spitzmüller.
3954 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3956 * kbmap.C (read): fix error message when reading bind files
3958 2003-07-29 Angus Leeming <leeming@lyx.org>
3960 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3961 certainly does not do what it purports to do. I am doing it, and
3962 us, a favour by killing it.
3964 2003-07-28 José Matos <jamatos@lyx.org>
3966 * buffer.C (readBody, do_writeFile):
3967 * paragraph.C(readParagraph): \end_document replaces \the_end.
3969 2003-07-29 André Pönitz <poenitz@gmx.net>
3972 * BufferView_pimpl.[Ch]:
3976 * textcursor.[Ch]: remove toggleToggle & Co
3978 2003-07-28 José Matos <jamatos@fep.up.pt>
3980 * buffer.C (readParagraph):
3981 * params_func (readParToken, readParagraph):
3982 * paragraph.C (write): \layout -> \begin_layout.
3984 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3986 * lyxlex_pimpl.C (setFile): clean up slightly.
3988 * bufferparams.h: add compressed var
3990 * buffer_funcs.C (readFile): adjust for LyXLex change
3991 (newFile): ditto + simplify
3993 * buffer.C (writeFile): handle writing of compressed files
3995 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3996 Check if the file is compressed and set a bufferparm if so.
3998 * Makefile.am (lyx_LDADD): remove explicit -lz
4000 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4002 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4003 makeDocBookFile): put the real LyX version in the first line of
4007 * version.C.in: remove lyx_docversion
4009 * tabular.C (write_attribute): add a template-based version to
4010 write enums properly
4012 2003-07-28 André Pönitz <poenitz@gmx.net>
4017 * text3.C: use doubles again for x-coordinates. They are needed.
4019 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * messages.C (getLocaleDir): use lyx_localedir()
4023 * lyxlex_pimpl.C (setFile): compress stuff
4025 * buffer.C (writeFile): add some compression stuff
4026 (do_writeFile): new func, dont call expliti close... will this
4029 * Makefile.am (lyx_LDADD): add -lz
4031 2003-07-28 José Matos <jamatos@fep.up.pt>
4033 * buffer.C: increment file format.
4034 * paragraph_funcs (readParagraph, readParToken):
4035 * paragraph.C (readParagraph): add \end_layout.
4037 2003-07-27 Angus Leeming <leeming@lyx.org>
4039 * Makefile.am: remove special casing for configure-time setting of
4040 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4042 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4043 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4045 2003-07-26 André Pönitz <poenitz@gmx.net>
4047 * paragraph_func.[Ch]:
4048 * paragraph.C (realizeFont): inline it whereever it is used
4053 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4056 2003-07-26 André Pönitz <poenitz@gmx.net>
4060 * text2.C: get rid of LyXText::need_break_row
4062 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * toc.[Ch]: put namespace toc inside namespace lyx
4066 * MenuBackend.C (expandToc2): adjust for lyx::toc
4069 * lyxfunc.C (dispatch): adjust for lyx::find
4071 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4072 lyx::find instead. Reorganize a bit.
4073 (LyXReplace): rename to replace
4074 (LyXFind): rename to find
4076 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4079 2003-07-26 André Pönitz <poenitz@gmx.net>
4081 * text.C (setHeightOfRow): restrict scope of temporary variable
4083 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4084 code (never has been used?)
4086 2003-07-27 Asger Alstrup <alstrup@local>
4088 * text.C (fill): Optimise algorithm to exploit that we can reuse
4089 the LyXFont for many characters.
4090 (setHeightOfRow): Same thing.
4091 (rowBreakPoint): Same thing.
4093 2003-07-26 Asger Alstrup <alstrup@local>
4095 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4097 * text.C (singleWidth): Spurious font copying in hot-spot
4098 singleWidth avoided. Reorder tests for arabic for efficiency.
4100 * text.C (fill): handle empty paragraphs better.
4102 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4105 * encoding.h: add includes
4107 * lyxrc.C: remove reading of bind files
4109 * lyx_main.C (init): setup bindings and menus only if we have a
4112 * kbmap.C (read): new method. Do the actual reading of bind
4115 * converter.C (dvipdfm_options):
4118 (output): adapt PAPER_* enums.
4120 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4122 * bufferparams.h: remove paper-related enums from there
4124 * paper.h: New file. A trivial header file to hold paper-related
4125 enums. It should later expand to contain many paper-related
4128 * lyxrc.C: declare extern displayTranslator
4130 2003-07-27 José Matos <jamatos@fep.up.pt>
4132 * tabular.[Ch] (linuxdoc): add support for tables and figures
4135 2003-07-27 José Matos <jamatos@fep.up.pt>
4137 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4138 consistency in both functions.
4139 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4141 2003-07-26 Asger Alstrup <alstrup@local>
4143 * rowpainter.C (paintRows): Change algorithm to work directly on
4144 the insets rather than asking every character in the document
4145 whether its an inset.
4147 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4149 * buffer.C (openFileWrite): factorize some code
4151 2003-07-26 Angus Leeming <leeming@lyx.org>
4154 * lyx_main.[Ch]: replace occurances of system_tempdir with
4157 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * rename Inset to InsetOld
4161 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4163 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4164 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4165 which I think is a bit clearer. EDIT is gone, since it was
4166 premature optimisation, and broken for mathed anyway.
4167 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4168 with cursor positioning in insets as well (math insets still do not
4169 work, but that's a different story anyway.) It mysteriously
4170 crashes sometimes with undo in the first paragraph, but I'm fairly
4171 confident that this is a compiler bug.
4173 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4175 * paragraph.C (Paragraph): adjust for new clone return type
4177 (copyIntoMinibuffer): ditto
4179 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4181 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4182 by not having a special case, and always doing a full rebreak of
4183 the document after undo.
4185 2003-07-23 Angus Leeming <leeming@lyx.org>
4187 * factory.C (createInset): InsetExternal::setParams now takes a
4190 2003-07-23 Angus Leeming <leeming@lyx.org>
4192 * factory.C (createInset): changed interface to the external and
4193 graphics mailers' string2params functions.
4195 2003-07-23 Angus Leeming <leeming@lyx.org>
4197 * factory.C (createInset): pass a
4198 Buffer const * parameter to InsetExternalMailer's string2params.
4200 2003-07-22 John Levon <levon@movementarian.org>
4202 * Thesaurus.h: include the right aiksaurus header
4204 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4206 * MenuBackend.C (expand): check menu shortcuts unconditionally
4208 2003-07-21 Angus Leeming <leeming@lyx.org>
4210 * factory.C (createInset): pass a
4211 buffer_path parameter to InsetGraphicsMailer's string2params.
4213 2003-07-21 Angus Leeming <leeming@lyx.org>
4215 * BufferView_pimpl.C (buffer):
4218 * lyxfunc.C (dispatch):
4219 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4220 rather than the grfx shortcut.
4222 2003-07-21 André Pönitz <poenitz@gmx.net>
4224 * rowpainter.C: remove unused variables
4227 * tabular_funcs.h: move to tabular.C
4228 * Makefile.am: adjust
4230 * tabular.[Ch]: basic optical cleaning
4232 * author.h: pass references, not values
4234 2003-07-18 André Pönitz <poenitz@gmx.net>
4242 * text3.C: two-phase drawing for InsetText and InsetTabular
4243 some float -> int changes.
4245 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4247 * lyx_main.C: fix the fix
4249 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4251 * lyx_main.C: fix a crash in batch mode if no files specified
4254 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4256 * format.[Ch] (papersize): moved to BufferParams
4257 * converter.[Ch] (dvips_options): moved to BufferParams
4258 (dvipdfm_options): moved to anon namespace
4259 * bufferparams.[Ch]: added above functions.
4261 2003-07-17 André Pönitz <poenitz@gmx.net>
4265 * text2.C: don't call inset->update() anymore
4267 * metricsinfo.[Ch]: add convenience constructor
4269 2003-07-16 André Pönitz <poenitz@gmx.net>
4274 * text2.C: replace the LyXCursor::irow_ member with
4275 on-demand computation of the value
4277 2003-07-16 John Levon <levon@movementarian.org>
4279 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4281 2003-07-15 André Pönitz <poenitz@gmx.net>
4284 * text2.C: remove no more needed refresh_row
4286 2003-07-15 André Pönitz <poenitz@gmx.net>
4291 * text3.C: refresh_status tristate -> need_update bool
4293 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4295 * lyxtext.h (init): remove reinit argument (act as if always true)
4296 * text2.C: adjust to that
4298 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4300 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4301 * text3.C: use it to delete selections in some cases
4302 (bugs 441, 673, 702, 954).
4304 2003-07-14 André Pönitz <poenitz@gmx.net>
4306 * rowpainter.[Ch]: reduce interface
4308 2003-07-14 André Pönitz <poenitz@gmx.net>
4310 * BufferView_pimpl.C:
4311 * text2.C: adjust after removing unused BufferView * argument
4313 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4315 * text2.C (init): fix a crash fired on resize
4317 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4319 * buffer.[Ch]: added new closing signal
4320 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4321 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4322 BufferView::Pimpl via the closing the signal
4324 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4326 * buffer.[Ch]: take out all bv-related from buffer
4328 * BufferView_pimpl.[Ch]: connect to new signals
4329 * CutAndPaste.C: removed useless asserts
4330 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4333 * lyxfunc.C: moved view-related funciontality from vc here
4334 * paragraph.C: removed outdated comments
4337 2003-07-10 André Pönitz <poenitz@gmx.net>
4339 * BufferView_pimpl.C:
4343 * text2.C: remove InsetText::InnerCache, clean up consequences
4345 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4347 * ispell.C: fix two typos in error messages
4349 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4351 * Extend Note inset to other forms of annotation like Comment
4352 and Greyedout. Right button click gives dialog.
4354 Files modified or added (+):
4358 * ControlNote.[Ch] +
4360 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4361 frontends/controllers
4365 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4367 * aspell.C: add missing namespace lyx::support
4369 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4371 * BufferView.[Ch] (newFile): Add
4372 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4373 * LaTeX.[Ch] (message): added this signal and use it
4374 * buffer.[Ch] (busy, message): added these signals and use them
4375 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4379 * importer.C: use buffer signals instead of direct bv calling
4380 * lyx_cb.[Ch] (ShowMessage): removed
4383 * paragraph_funcs.C:
4384 * text2.C: use buffer signals
4386 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * introduce namespace lyx::graphics
4390 2003-07-02 André Pönitz <poenitz@gmx.net>
4392 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4394 2003-07-01 André Pönitz <poenitz@gmx.net>
4401 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4402 text*.C to text_func.C
4404 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4406 * introduce namespace lyx::support
4408 2003-06-30 André Pönitz <poenitz@gmx.net>
4413 * text.C: re-enable --with-included-string
4415 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4417 * textcursor.C: add <config.h>
4419 * text.C (getWord): remove const from word_location arg
4421 * lyxvc.C (getLogFile): fix const type order
4423 * lyxtext.h: remove const from word_location arg, add arg name
4425 * lyxlayout.h: currect type on labeltype.
4427 * importer.C: correct \file
4429 * converter.C (intToFormat): use std:: on ret val, ws changes
4431 * bufferlist.h: correct \file
4433 * buffer.C (makeLinuxDocFile): fix const type order
4434 (makeDocBookFile): ditto
4435 (fillWithBibKeys): use std:: on stdlib args.
4437 * CutAndPaste.C: fix authors.
4438 (availableSelections): use std:: on return vector
4440 2003-06-27 André Pönitz <poenitz@gmx.net>
4442 * BufferView_pimpl.C:
4443 * bufferview_funcs.C:
4451 * text3.C: remove LyXCursor::row_ member
4454 * text.C: rename fullRebreak() to partialRebreak() and implement
4455 a fullRebreak() that really bereks fully
4457 * textcursor.h: new struct for cursor-related data
4459 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4461 * lyx_main.C (LyX): get full path of document loaded on the
4464 2003-06-26 André Pönitz <poenitz@gmx.net>
4466 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4467 remove unused/broken operator>,<,>=.
4469 * text.C: remove only use of broken operator<= in an Assert().
4471 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4473 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4474 moved errorlist_.clear to showErrorList
4476 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4478 * converter.C (scanLog, runLaTeX):
4479 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4480 move the bv->showErrorList call to the callers
4481 * lyxfunc.C: i.e. here...
4483 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4484 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4485 namespace, the second to...
4486 * buffer_funcs (BufferFormat, parseErrors): added
4487 * errorlist.C (ErrorList(TeXErrors const &)): removed
4489 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4491 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4493 2003-06-24 "Garst R. Reese" <reese@isn.net>
4497 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4499 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4501 * version.C.in: change docversion to 1.4
4503 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4505 * buffer.C: fix a bug just introduced
4507 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4509 * buffer.[Ch]: added the parseError signal and use it, removed
4511 * BufferView.[Ch] (addError): moved to ...
4512 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4513 to the Buffer::parseError signal to catch (guess what) parse errors
4514 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4516 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4518 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4519 ability to create a buffer and to return an existing one from
4520 the list. Moved these functions to...
4521 * buffer_funcs.[Ch]: added
4522 * BufferView.[Ch] (loadLyXFile): added
4523 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4524 job removed from bufferlist::loadLyXFile.
4525 * buffer.C (setReadOnly): make it work without view
4526 (i.e added an if (users))
4528 2003-06-19 Angus Leeming <leeming@lyx.org>
4531 * LyXAction.C (init):
4532 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4533 with LFUN_DIALOG_SHOW <name> <data>.
4535 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4537 * CutAndPaste.C (availableSelections): small compilation fix for
4538 ancient (gcc 2.9x) compilers
4540 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * text3.C (cursorNext): add tmp var
4544 * text2.C (updateCounters): for function calling out of for clause
4545 (replaceSelectionWithString): ditto
4546 (insertStringAsParagraphs): ditto
4547 (getColumnNearX): add tmp var
4548 (setCursorFromCoordinates): add tmp var
4549 (cursorDownParagraph): add tmp var
4550 (deleteEmptyParagraphMechanism): add tmp var
4552 * text.C (insertChar): add tmp var
4554 * rowpainter.C (paintDepthBar): add tmp var
4556 * CutAndPaste.C (availableSelections): potentially check all
4557 paragraphs in a cut to fill the shown strings.
4559 2003-06-18 André Pönitz <poenitz@gmx.net>
4561 * kbmap.[Ch]: use vector<> instead of list<>
4563 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4565 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4566 pasteSelection with index
4568 * text2.C (pasteSelection): modify, call pasteSelection with index
4570 * paragraph.C (asString): reimplement version with no interval to
4571 call the one with interval.
4573 * lyxtext.h: add index arg to pasteSelection
4575 * MenuBackend.C (MenuItem): handle PasteRecent
4576 (Menu::read::Menutags): add md_pasterecent
4578 (expandPasteRecent): new function
4581 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4583 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4585 (availableSelections): new function
4587 2003-06-17 Angus Leeming <leeming@lyx.org>
4589 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4591 2003-06-17 Angus Leeming <leeming@lyx.org>
4594 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4596 * lyxfunc.C (dispatch): invoke it.
4598 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4600 * iterators.C (operator++, ParPosition): reintroduce some
4601 const_cast for the benefit of older compilers.
4603 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4605 * text3.C (dispatch): do not modify clipboard when doing
4606 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4607 LFUN_DELETE_SKIP on a selection selection
4609 2003-06-16 André Pönitz <poenitz@gmx.net>
4615 * tabular.[Ch]: IU of clone() and getLabelList();
4617 2003-06-13 André Pönitz <poenitz@gmx.net>
4619 * tabular.h: compactification
4621 2003-06-12 André Pönitz <poenitz@gmx.net>
4625 * tabular_funcs.h: some renaming plus whitespace
4627 2003-06-12 André Pönitz <poenitz@gmx.net>
4630 * BufferView_pimpl.C:
4636 * toc.C: Return a Paragraph & for ParIterator::operator*()
4638 2003-06-11 John Levon <levon@movementarian.org>
4642 * ToolbarBackend.C: add "Toolbars" section and
4645 2003-06-10 Angus Leeming <leeming@lyx.org>
4648 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4650 * lyxfunc.C (dispatch): invoke it.
4652 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * main.C: protect <ios> with HAVE_IOS
4655 (main): protect sync_with_stdio with HAVE_IOS
4657 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4659 * text2.C (cutSelection): adjust
4660 (pasteSelection): adjust
4662 * messages.C: handle get of empty string
4664 * main.C (main): use sync_with_stdio(false)
4666 * lyxfunc.C (dispatch): adjust
4668 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4669 (WriteAs): remove unneeded BufferView arg.
4671 * bufferparams.h: use correct types on papersize, papersize2 and
4674 * bufferparams.C (readToken): adjust for type
4675 (writeLaTeX): add missing cases to switch.
4677 * bufferlist.C (quitWriteBuffer): adjust
4680 * buffer.C (asciiParagraph): remove some commented code.
4682 * CutAndPaste.C: remove current_view extern variable.
4683 (cutSelection): add BufferParams arg.
4684 (eraseSelection): add BufferParams arg.
4685 (pasteSelection): add Buffer const & arg
4687 2003-06-07 John Levon <levon@movementarian.org>
4690 * paragraph_funcs.C:
4691 * paragraph_pimpl.C:
4695 * paragraph.C: allow InsetERT to freely space lines,
4696 and some consolidation of code
4698 2003-06-06 José Matos <jamatos@fep.up.pt>
4700 * buffer.C (makeDocBookFile): fix bug #821
4702 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4704 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4706 2003-06-04 Angus Leeming <leeming@lyx.org>
4708 * buffer.C: bump format to 224.
4710 2003-06-05 André Pönitz <poenitz@gmx.net>
4712 * text2.C (redoParagraphs): remove two const_cast<>
4714 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4716 * ParagraphList.h: remove last remnants of NO_STD_LIST
4718 2003-06-03 Angus Leeming <leeming@lyx.org>
4720 * factory.C (createInset): small change to the way InsetExternal's params
4723 2003-06-04 André Pönitz <poenitz@gmx.net>
4725 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4727 * paragraph_pimpl.h:
4728 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4730 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4732 * undo_funcs.C: make some simple cases of undo work again
4734 2003-06-03 John Levon <levon@movementarian.org>
4736 * ispell.C: HPUX doesn't have sys/select.h
4739 2003-06-03 John Levon <levon@movementarian.org>
4741 * CutAndPaste.C: update tabular and include inset
4746 * paragraph.C: remove owningBuffer(), don't pass Buffer
4749 * factory.C: insetGraphicsParams changed
4751 2003-06-02 John Levon <levon@movementarian.org>
4757 * text3.C: remove insetparent
4759 2003-06-02 John Levon <levon@movementarian.org>
4762 * buffer.C: fix inset_iterator.end(), move out of line
4765 2003-06-01 John Levon <levon@movementarian.org>
4767 * text3.C: use a proper cut/paste when doing inset
4768 insert (from Jürgen Spitzmüller)
4770 2003-06-01 John Levon <levon@movementarian.org>
4772 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4774 2003-05-30 André Pönitz <poenitz@gmx.net>
4776 * rowpainter.C: unify second drawing phase
4778 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * trans_mgr.C: remove one case of current_view
4782 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4784 * paragraph_funcs.h: remove paragraph.h include
4786 * paragraph.h: delete NO_STD_LIST stuff
4788 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4790 * buffer.h: remove paragraph.h include
4792 * ParagraphList.C: delete file
4794 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4796 * toc.C (getTocList): adjust
4798 * paragraph_pimpl.C (validate): adjust
4800 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4802 * paragraph.C (Paragraph): adjust
4803 (getPositionOfInset): use const_iterator, adjust
4804 (bibitem): use const_iterator, adjust
4805 (setInsetOwner): adjust
4807 * iterators.C (operator++): adjust
4809 * InsetList.[Ch]: Replace selfmade iterator with standard
4810 vector::iterator also introduce const_iterator. Remove getPos,
4811 getInset and setInset from InsetTable. Adjust accordingly.
4813 * BufferView.C (lockInset): adjust
4814 (ChangeInsets): adjust
4816 * tabular.[Ch]: delete commented same_id functions
4818 2003-05-28 John Levon <levon@movementarian.org>
4820 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4822 2003-05-28 André Pönitz <poenitz@gmx.net>
4824 * metricsinfo.[Ch]: remove 'fullredraw' member
4826 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4828 * lyxtextclass.C (operator): remove caching.
4830 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4834 * text2.C (cursorBottom): adjust
4835 (setCounter): use ParagraphList::find, adjust
4837 * text.C (workWidth): use ParagraphList::find, adjust
4839 * lyxcursor.C (LyXCursor): adjust
4841 * buffer.C (inset_iterator): adjust
4843 * ParagraphList.h: make iterator(value_type) private, make
4844 ParagraphList a friend of iterator.
4846 * ParagraphList.C (find): new function
4848 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4850 2003-05-27 André Pönitz <poenitz@gmx.net>
4852 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4854 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4856 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4858 2003-05-26 John Levon <levon@movementarian.org>
4860 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4862 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * remove same_id from function signatures, adjust.
4866 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4870 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4872 * paragraph.C (Paragraph): get rid of same_ids parameter
4874 * ParagraphList.C (insert): adjust
4877 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4879 * paragraph_funcs.C (breakParagraph): adjust
4880 (breakParagraphConservative): adjust
4882 * buffer.C (readParagraph): adjust
4884 * ParagraphList.C (insert): take a reference instead of a pointer
4887 * paragraph.[Ch] (id): new function
4889 * bufferlist.C (newFile): adjust
4891 * ParagraphList.C (ParagraphList): adjust
4893 (push_back): take a reference instead of a pointer.
4895 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4897 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4900 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4901 set else use old code.
4903 * ParagraphList.C: remove all NO_NEXT code and only compile this
4904 code of NO_STD_LIST is set.
4906 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4908 * BufferView_pimpl.C:
4918 * graphics/GraphicsConverter.C:
4919 * graphics/PreviewLoader.C: header adjustment
4921 2003-05-23 Angus Leeming <leeming@lyx.org>
4923 * LaTeXFeatures.[Ch] (useBabel): new method.
4924 * bufferparams.C (writeLaTeX): use it.
4926 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4928 * ParagraphList.h (set): remove unused function.
4930 2003-05-23 André Pönitz <poenitz@gmx.net>
4933 * BufferView_pimpl.C:
4937 * undo_funcs.C: setUndo reworked
4939 * iterators.[Ch]: add access to topmost ParagraphList
4941 * lyxtext.[Ch] (workWidth): add a const
4943 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4945 * texrow.[Ch] (increasePos): remove function
4946 * exporter.C (export): removed unused var and outdated comment
4948 2003-05-23 Angus Leeming <leeming@lyx.org>
4950 * latexrunparams.h: rename fragile as moving_arg.
4951 * paragraph.C (simpleTeXOnePar): ditto.
4952 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4954 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4958 (textUndoOrRedo): comment out a currently unused var.
4960 * paragraph.h (NO_NEXT): enable NO_NEXT
4962 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4964 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4966 * exporter.C (Export): adjust for removeAutoInsets removal.
4968 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4970 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4972 * BufferView.[Ch] (removeAutoInsets): delete function
4974 2003-05-22 Angus Leeming <leeming@lyx.org>
4976 * latexrunparams.h: add a free_spacing variable.
4978 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4979 to pass moving_arg, as the data is stored in runparams.fragile.
4981 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4982 to Inset::latexOptional or to simpleTeXOnePar.
4984 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4985 free_spacing arg to Inset::latexOptional.
4987 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4990 2003-05-22 Angus Leeming <leeming@lyx.org>
4992 * latexrunparams.h: add fragile and use_babel variables.
4994 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4995 * buffer.C (makeLaTeXFile): store this returned value in
4996 runparams.use_babel, thus passing it to the inset::latex methods.
4998 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4999 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5001 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5002 longer has a fragile arg, as it is stored in runparams.fragile.
5004 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5005 moving_arg parameter as the data is stored in runparams.fragile.
5007 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5008 a fragile parameter as the data is stored in runparams.fragile.
5010 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5014 2003-05-22 Angus Leeming <leeming@lyx.org>
5016 * latexrunparams.h: add a 'bool nice' which defaults to false.
5018 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5019 now encapsulated within runparams.
5021 * bufferlist.C (updateIncludedTeXfiles):
5022 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5024 2003-05-22 Angus Leeming <leeming@lyx.org>
5026 * latexrunparams.h: new file containing struct LatexRunParams.
5027 * Makefile.am: add new file.
5029 * LaTeX.[Ch] (c-tor, run):
5030 * buffer.[Ch] (makeLaTeXFile):
5031 * bufferlist.[Ch] (updateIncludedTeXfiles):
5032 * converter.C (convert, scanLog):
5033 * converter.[Ch] (runLaTeX):
5034 * exporter.C (Export):
5035 * paragraph.[Ch] (simpleTeXOnePar):
5036 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5037 * paragraph_funcs.[Ch] (latexParagraphs):
5038 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5039 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5040 pass around a LatexRunParams parameter.
5042 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5044 * paragraph.[Ch]: remove unused constructor
5046 * ParagraphList.C (erase): new function, taking two iterators
5048 2003-05-22 André Pönitz <poenitz@gmx.net>
5050 * undo_funcs.C: remove duplicated code
5052 * iterator.[Ch]: operator=
5054 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * tabular.C (SetMultiColumn): ws changes
5058 * rowpainter.C (paintFirst): get rid of a ->previous
5060 * lyx_cb.C (getPossibleLabel): parlist simplification
5062 * BufferView.C (ChangeInsets): simplify slightly.
5064 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5066 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5067 * lfuns.h: new LFUN_SPACE
5068 * lyxfunc.C: protected space has a new lfun
5069 * paragraph_funcs.C: read new space insets
5071 * factory.C: handle new space insets
5073 2003-05-22 André Pönitz <poenitz@gmx.net>
5076 * BufferView_pimpl.C:
5079 * undo_funcs.C: return a ParIterator from getParFromID.
5081 * iterators.[Ch]: add two const's
5083 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5085 * toc.C (getTocList): adjust
5087 * iterators.[Ch]: rework for parlist
5089 * buffer.C (par_iterator_begin): adjust
5090 (par_iterator_end): adjust
5092 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5094 * BufferView.C (removeAutoInsets): adjust
5095 (ChangeInsets): adjust
5097 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5099 * text.C (top_y): fix bug 1110
5101 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5103 * errorlist.[Ch]: added
5106 * BufferView_pimpl.C:
5107 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5110 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * Makefile.am: ensure that lyx is relinked upon changes to the
5113 various "convenience" libs.
5115 2003-05-20 Angus Leeming <leeming@lyx.org>
5117 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5118 files are compiled in alphabetical order again.
5120 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5122 2003-05-19 Angus Leeming <leeming@lyx.org>
5124 * gettext.[Ch]: remove "char const * _(char const *)".
5126 2003-05-19 André Pönitz <poenitz@gmx.net>
5128 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5137 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5139 2003-05-19 André Pönitz <poenitz@gmx.net>
5143 * lyxtextclass.[Ch]:
5145 * paragraph_funcs.[Ch]:
5147 * text3.C: more insetenv work
5149 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5151 * ParagraphParameters.C (params2string): small bug fixed
5153 2003-05-16 André Pönitz <poenitz@gmx.net>
5156 * bufferview_funcs.C: patch from Kornel Benko to prevent
5157 crash when _(...) is called twice in a statement
5159 2003-05-16 André Pönitz <poenitz@gmx.net>
5166 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5168 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5170 * lyx_main.C (init): remove spurious static_cast
5172 2003-05-14 André Pönitz <poenitz@gmx.net>
5174 * BufferView.C: fix format string
5176 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5178 * BufferView.[Ch] (insertErrors): removed
5179 * BufferView.[Ch] (showErrorList): added
5180 * buffer.C (runChkTeX):
5181 * converter.C (scanLog): call showErrorList instead of inserterrors
5183 2003-05-13 André Pönitz <poenitz@gmx.net>
5185 * BufferView_pimpl.C:
5187 * bufferview_func.C:
5194 * tabular_funcs.h: tostr() from its own header
5196 * ParagraphParameters.C:
5201 * text3.C: STRCONV()
5203 2003-05-12 André Pönitz <poenitz@gmx.net>
5206 * BufferView_pimpl.C:
5210 * ParagraphParameters.C:
5214 * bufferview_funcs.C:
5227 * paragraph_funcs.C:
5231 * text3.C: boost::format -> bformat all over the place
5234 2003-05-09 André Pönitz <poenitz@gmx.net>
5236 * LColor.[Ch]: Pimpl the #include <map> away
5238 2003-05-09 John Levon <levon@movementarian.org>
5240 * bufferlist.C: never remove emergency saves
5242 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5244 * Makefile.am: better lib building
5246 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5248 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5250 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5251 (simpleTeXSpecialChars): adjust
5252 (simpleTeXSpecialChars): adjust
5253 * paragraph.C (simpleTeXOnePar): adjust
5254 * buffer.C (makeLaTeXFile): adjust
5256 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5258 * text2.C (changeDepth): parlist cleanup
5259 (getColumnNearX): ditto
5261 * rowpainter.C (getLabelFont): parlist cleanup
5263 * bufferlist.C (newFile): parlist cleanup
5265 * CutAndPaste.C (eraseSelection): parlist cleanup
5267 * BufferView_pimpl.C (trackChanges): parlist cleanup
5270 * BufferView.C (lockInset): parlist cleanup.
5271 (ChangeInsets): ditto
5273 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * CutAndPaste.h: Update file header.
5277 * CutAndPaste.C: Update file header.
5278 Store the parts cut out of the Document in a limited_stack.
5279 (copySelection): adjust
5280 (pasteSelection): new function, takes the index in the limited stack.
5281 (nrOfParagraphs): adjust
5282 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5283 simplify error inset insertion.
5284 (checkPastePossible): adjust
5286 2003-05-06 John Levon <levon@movementarian.org>
5288 * text2.C: don't cast wrap inset to float
5290 2003-05-05 André Pönitz <poenitz@gmx.net>
5293 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5295 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5296 few naked Paragraph *.
5298 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5300 * bufferparams.C: Output warning if a document with missing
5301 TeX document class is loaded
5302 * exporter.C: Disable TeX exports if the document class is missing
5305 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5306 isTeXClassAvailable()
5308 2003-05-03 John Levon <levon@movementarian.org>
5311 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5312 explicit cursor show/hide
5314 * BufferView_pimpl.h:
5315 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5316 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5318 * lyxfunc.C: hide cursor before dispatching.
5323 * text3.C: remove explicit cursor hides
5325 2003-05-02 André Pönitz <poenitz@gmx.net>
5327 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5330 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5333 * text2.C: tiny whitespace
5335 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * undo_funcs.C: almost only ws changes.
5339 * ParagraphList.C (splice): just return if pl is empty.
5341 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5343 * ParagraphList.C (splice): new function.
5345 * CutAndPaste.C (pasteSelection): use it
5347 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5349 * CutAndPaste.C (pasteSelection): remove the last next and
5350 previous from this file.
5352 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5354 * CutAndPaste.C (pasteSelection): more clean up, user proper
5355 ParagraphList functions for pasteing.
5357 * ParagraphList.C (insert): new function, three arg insert
5359 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5361 * ParagraphList.C (insert): new function, three arg insert
5363 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5366 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5370 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5372 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5374 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5377 (copySelection): clean up a bit.
5378 (pasteSelection): use make_pair
5380 * ParagraphList.C (ParagraphList): implement copy constructor
5381 (operator=): implement, base on copy constructor.
5384 * paragraph.C (erase): return a bool
5386 * paragraph_pimpl.C (erasePos): remove function, move contents...
5387 (erase): ... here. Return a bool.
5388 (erase): call erase instead of erasePos.
5390 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5392 * ParagraphList.h: define PitPosPair
5393 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5394 ParagraphList, fix a bug on pasting multiple pars
5395 * text2.C: change interface to C&P
5397 2003-04-30 André Pönitz <poenitz@gmx.net>
5399 * undo_func.C: revert part of yesterday's patch 2
5401 2003-04-30 John Levon <levon@movementarian.org>
5403 * LColor.C: s/tabular/table/
5405 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5407 * text3.C (dispatch): do not convert iterator -> pointer
5408 * undo_funcs.C (setCursorParUndo): ditto
5409 * text_funcs.C (transposeChars): ditto
5411 * text2.C (setLayout): ws changes only
5413 * text.C (breakParagraph): do not convert iterator -> pointer
5415 (acceptChange): ditto
5416 (rejectChange): ditto
5421 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5424 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5426 * text3.C (gotoInset): YABG (yet another bad getChar)
5428 2003-04-29 André Pönitz <poenitz@gmx.net>
5430 * paragraph.h: make operator= private unimplemented as long as
5433 * ParagraphList.C: whitespace
5436 * paragraph_pimpl.[Ch]:
5437 * paragraph_funcs.C:
5439 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5442 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5444 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5446 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5447 * paragraph.[Ch] (erase):
5448 * paragraph_pimpl.[Ch] (erase): change return type and value
5449 * text2.C (cutSelection): some rework
5451 2003-04-28 John Levon <levon@movementarian.org>
5453 * bufferlist.C: changes for unsaved changes dialog
5455 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5457 * bufferlist.C (newFile): set language (messages_) for new
5460 * buffer.C (readFile): ws changes only.
5462 2003-04-28 André Pönitz <poenitz@gmx.net>
5467 * BufferView_pimpl.C:
5468 * BufferView.C: getParFromID related ParagraphList::iterator changes
5470 2003-04-28 André Pönitz <poenitz@gmx.net>
5472 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5475 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * messages.C: remove one more localedir class variable.
5479 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5481 * messages.C (getLocaleDir): singleton generation function
5483 (Messages): add a default constructor.
5485 * main.C (main): do not setup localedir here, do not call
5488 * gettext.C (_): use it.
5489 (gettext_init): delete funciton
5491 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5493 * gettext.C (getLyXMessages): new singleton generating function.
5495 * buffer.C (updateDocLang): adjust
5497 * Makefile.am (messages.o): add target
5498 (main.o): remove target
5500 2003-04-27 John Levon <levon@movementarian.org>
5505 * lyxvc.C: specify cancel button in Alert::prompt
5507 2003-04-26 John Levon <levon@movementarian.org>
5512 * LyXAction.C: add LFUN_INSET_SETTINGS
5514 * lyxfunc.C: don't enable tabular-feature when there's
5515 just any locking inset
5517 2003-04-26 John Levon <levon@movementarian.org>
5519 * bufferlist.C: re-add Cancel to buffer close question
5521 * lyxfunc.C: fix import UI a bit
5523 2003-04-25 John Levon <levon@movementarian.org>
5525 * gettext.C: remove the broken asserts for now
5527 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5529 * messages.C: make case where setlocale cannot comply work better.
5531 * buffer.C (updateDocLang): new function
5532 (changeLanguage): use it
5535 * text2.C (setCounter): use B_ a bit.
5537 * lyxlayout.C (Read): be sure to trim the label strings.
5539 * messages.C (Messages): fix typo in comment
5541 * buffer.C (readFile): set message_ after file is loaded.
5542 (makeDocBookFile): remove double return
5543 (changeLanguage): reset message_ upon language change.
5544 (B_): new func, use this to get translated buffer strings.
5546 * main.C: add myself and Jean Marc as authors.
5548 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5550 * messages.[hC]: pimplify Messages, and three different pimpls to be
5551 used in different circumstances.
5553 * gettext.[Ch]: change for use with new message code.
5555 2003-04-24 André Pönitz <poenitz@gmx.net>
5557 * factory.C: support for eqref
5559 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * messages.[Ch]: add missing char
5563 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5565 * messages.[Ch]: New files
5567 2003-04-18 John Levon <levon@movementarian.org>
5571 * BufferView_pimpl.C:
5575 * text2.C: remove layout-copy/paste (bug 778)
5577 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5579 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5581 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5583 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5584 if they succeed. Act accordingly.
5586 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5588 * text2.C (setCharFont): adjust
5589 (setCounter): adjust
5590 (insertStringAsLines): adjust
5592 * text.C (leftMargin): adjust
5593 (setHeightOfRow): adjust
5595 * rowpainter.C (paintFirst): adjust
5598 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5600 (isFirstInSequence): ditto
5601 (getEndLabel): ditto
5604 * paragraph.C (getParLanguage): comment out some hard stuff.
5606 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5608 (simpleDocBookOnePar): ditto
5609 (makeDocBookFile): use ParagraphList::iterator
5611 * CutAndPaste.C (pasteSelection): adjust
5613 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5615 * text2.C (getFont): adjust
5616 (getLayoutFont): adjust
5617 (getLabelFont): adjust
5619 * paragraph_funcs.C (TeXOnePar): adjust
5621 * buffer.C (simpleLinuxDocOnePar): adjust
5622 (simpleDocBookOnePar): adjust
5624 * CutAndPaste.C (pasteSelection): adjust
5626 * BufferView.C (getEncoding): adjust
5628 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5630 2003-04-16 John Levon <levon@movementarian.org>
5632 * lyxfind.C: use parlist stuff for search/changes
5634 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5638 * text2.C (deleteEmptyParagraphMechanism): adjust
5640 * text2.[Ch] (ownerParagraph): delete func (both of them
5642 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5646 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5648 * ParagraphList.C: prepare for NO_NEXT
5650 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5652 * text2.C (getFont): adjust
5653 (getLayoutFont): adjust
5654 (getLabelFont): adjust
5656 * paragraph.C (getFont): adjust
5657 (getLabelFont): adjust
5658 (getLayoutFont): adjust
5660 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5662 2003-04-15 John Levon <levon@movementarian.org>
5666 * lyx_main.C: handle Include in .ui files
5668 2003-04-15 John Levon <levon@movementarian.org>
5670 * MenuBackend.C: make the doc files length shorter
5673 * ToolbarBackend.C: handle toolbar placement flags,
5676 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5681 * paragraph_funcs.C (TeXOnePar): adjust
5683 * paragraph.C (getLabelFont): add outerfont arg, adjust
5684 (getLayoutFont): ditto
5685 (simpleTeXOnePar): adjust
5687 * paragraph_pimpl.C (realizeFont): delete func
5689 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5691 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5692 row argument, constify cur argument.
5694 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5696 * text2.C (getFont): adjust
5697 (getLayoutFont): adjust
5698 (getLabelFont): adjust
5700 * paragraph_funcs.C (TeXOnePar): adjust
5701 (outerFont): new func...
5702 (realizeFont): ...moved out from here, changed this to facilitate
5705 * paragraph.C (getFont): take outerfont as arg, adjust
5706 (simpleTeXOnePar): add outerfont arg, adjust
5708 * buffer.C (simpleLinuxDocOnePar): adjust
5709 (simpleDocBookOnePar): adjust
5711 * CutAndPaste.C (pasteSelection): adjust
5713 * BufferView.C (getEncoding): adjust
5715 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5717 * text2.C (setCharFont): adjust
5718 (setCounter): adjust
5720 * text.C (leftMargin): adjust
5721 (setHeightOfRow): adjust
5723 * rowpainter.C (paintFirst): adjust
5726 * paragraph_pimpl.C (realizeFont): adjust
5728 * paragraph.C (isFirstInSequence): move from here...
5729 * paragraph_funcs.C (isFirstInSequence): ...to here
5731 * paragraph.C (outerHook): move from here...
5732 * paragraph_funcs.C (outerHook): ...to here
5734 * paragraph.C (depthHook): move from here...
5735 * paragraph_funcs.C (depthHook): ...to here
5737 * paragraph.C (getEndLabel): move from here...
5738 * paragraph_funcs.C (getEndLabel): ...to here
5740 * text2.C (realizeFont): move from here...
5741 * paragraph_funcs.C (realizeFont): ...to here
5743 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5745 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5747 2003-04-14 Angus Leeming <leeming@lyx.org>
5749 * LColor.[Ch]: scrap LColor mathcursor.
5751 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5753 * lyxlex.[Ch] (text): delete function
5754 * trans.C (Load): adjust
5755 * paragraph_funcs.C (readParToken): adjust
5757 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5759 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5760 vector<char> instead of a char[].
5762 * lyxlex_pimpl.C (getString): adjust
5764 (lex): use getString
5768 * lyxlex.C (text): use pimpl_->getString()
5772 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5775 (makeFontEntriesLayoutSpecific): temp var for par.size()
5776 (setLayout): temp var for ownerParagraphs().end()
5777 (fullRebreak): temp var for rows().end()
5778 (selectionAsString): temp var for boost::next(startpit), realize
5779 that the while really is a regular for loop.
5780 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5781 setCursor in one place.
5782 (setParagraph): temp vr for ownerParagraphs().end()
5783 (updateCounters): make the while loop a for loop
5784 (cutSelection): temp var for ownerParagraphs().end()
5785 (updateInset): make the do {} while() a regular for loop
5786 (getCursorX): use temp vars
5787 (setCurrentFont): use temp vars
5788 (getColumnNearX): use temp vars
5790 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5792 * text.C (transformChar): use temp var for getChar
5793 (computeBidiTables): use temp var for row->par()
5794 (fill): move temp vars for row->par() and pit->layout() earlier in
5796 (labelFill): use temp var for row->par()
5797 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5798 asc and desc, realize that pit never changes and that firstpit is
5799 just a duplicate and not needed. Exchange rit->par() with pit in a
5801 (breakAgain): use a temp var for boost::next(rit)
5802 (breakAgainOneRow): ditto
5803 (breakParagraph): use a temp var for rows().begin()
5804 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5805 (cursorRightOneWord): use temp var for cursor.par() and
5806 cursor.pos(), remove usage of tmpcursor.
5807 (cursorLeftOneWord): use temp var for cursor.par() and
5808 cursor.pos() only set cur at end of function.
5810 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5812 * text.C, text2.C: exchange all usage of Paragraph::next with
5813 boost::next(ParagraphList::iterator)
5815 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5817 * text2.C (cursorTop): simplify implementation
5818 (cursorBottom): ditto
5819 (setParagraph): use ParagraphList::iterator
5820 (setCurrentFont): adjust
5821 (getColumnNearX): adjust
5822 (cursorRight): adjust
5823 (cursorLeft): remove usage of Paragraph::previous
5824 (cursorUpParagraph): ditto
5825 (deleteEmptyParagraphMechanism): slight cleanup
5827 * text.C (isBoundary): take a Paragraph const & instead of a
5829 (addressBreakPoint): ditto
5830 (leftMargin): remove usage of Paragraph::previous.
5831 (setHeightOfRow): ditto
5832 (cursorLeftOneWord): ditto
5833 (selectNextWordToSpellcheck): ditto
5836 (breakParagraph): remove one usage of Paragraph::next
5837 (redoParagraph): ditto
5838 (acceptChange): ditto
5839 (insertChar): adjust
5840 (rowBreakPoint): adjust
5842 * bufferview_funcs.C (toggleAndShow): adjust
5844 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5846 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5847 methods to access it.
5849 * text.C: Added updateRowPositions to compute all row positions.
5850 Make top_y and getRowNearY() to use the cached y position
5852 2003-04-11 John Levon <levon@movementarian.org>
5854 * text.C (rowBreakPoint): reintroduce the labelEnd
5855 checks, code copied from the row fill stuff. Deep voodoo.
5857 * text.C (fill): add a comment and debugging for the
5860 2003-04-11 John Levon <levon@movementarian.org>
5862 * text.C: make sure fullrow insets get wrapped to the next line,
5863 even when they're in a manual label
5865 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5867 * text2.C (insertParagraph): make it take ParagraphList::iterator
5869 (setLayout): make it return ParagraphList::iterator
5870 (redoParagraphs): ditto
5872 (checkParagraph): ditto
5874 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5876 * text2.C: adjust several funcs.
5877 (realizeFont): take a ParagraphList::iterator as arg.
5878 (getLayoutFont): ditto
5879 (getLabelFont): ditto
5880 (setCharFont): ditto
5882 * text.C: adjust several funcs.
5884 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5886 * text.C (selectNextWordToSpellcheck): don't accidentally
5889 2003-04-10 John Levon <levon@movementarian.org>
5891 * ToolbarBackend.C (getIcon): special handling for
5894 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5896 * text2.C (cursorRight): a getChar assert fixed
5898 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5900 * text2.C (getFont): change to take a ParagraphList::iterator
5901 instead of Paragraph*
5902 Adjust several functions.
5904 * text.C (transformChar): change to take a ParagraphList::iterator
5905 instead of Paragraph*
5906 (singleWidth): ditto
5907 Adjust several functions.
5909 * rowpainter.C: adjust several functions
5910 * rowpainter.h:store a ParagraphList::iterator and not a
5914 2003-04-09 John Levon <levon@movementarian.org>
5919 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5920 and the "help" bits as well
5922 2003-04-09 John Levon <levon@movementarian.org>
5925 * ToolbarBackend.C: allow multiple toolbars
5927 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5929 * undo_funcs.C (setCursorParUndo): adjust
5931 * text_funcs.C (transposeChars): adjust
5933 * text3.C (gotoNextInset): adjust
5936 * text2.C (setLayout): adjust
5937 (changeDepth): adjust
5939 (redoParagraphs): adjust
5940 (selectionAsString): adjust
5941 (setParagraph): adjust
5942 (insertInset): adjust
5943 (cutSelection): adjust
5944 (copySelection): adjust
5945 (pasteSelection): adjust
5946 (insertStringAsLines): adjust
5947 (updateInset): adjust
5948 (setCursor): change to take a ParagraphList::iterator parameter
5949 (setCursorIntern): change to take a ParagraphList::iterator parameter
5950 (setCurrentFont): adjust
5951 (cursorLeft): adjust
5952 (cursorRight): adjust
5953 (deleteEmptyParagraphMechanism): adjust
5955 * text.C (breakParagraph): adjust
5956 (insertChar): adjust
5957 (acceptChange): adjust
5958 (rejectChange): adjust
5959 (selectNextWordToSpellcheck): adjust
5960 (changeCase): adjust
5964 * lyxfind.C (SearchForward): adjust
5965 (SearchBackward): adjust
5966 (nextChange): adjust
5968 * lyxcursor.C (par): adjust
5970 * lyxcursor.h: store a ParagraphList::iterator instead of a
5973 * lyx_cb.C (getPossibleLabel): adjust
5975 * bufferview_funcs.C (toggleAndShow): adjust
5977 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5980 * BufferView.C (removeAutoInsets): adjust
5981 (lockedInsetStoreUndo): adjust
5983 2003-04-09 John Levon <levon@movementarian.org>
5985 * ToolbarBackend.C: try icon without argument
5986 if with argument fails
5988 2003-04-08 John Levon <levon@movementarian.org>
5991 * ToolbarBackend.C: add getIcon(), handle tooltip,
5992 and change from "Icon" to "Item".
5994 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5996 * BufferView.C (lockInset): another bad getchar crunched
5998 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6000 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6003 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6005 * lyxfind.C (searchForward, searchBackwards): bug 782
6007 2003-04-07 John Levon <levon@movementarian.org>
6009 * paragraph.C: remove dead comment
6011 * text.C: remove troublesome depth-fiddling code
6012 in leftMargin() and rightMargin() (bug 1017)
6014 * text.C: fix breaking of rows in nested lists
6017 * text2.C (updateCounters): fix up depth values
6020 2003-04-07 John Levon <levon@movementarian.org>
6022 * BufferView_pimpl.C: clear message when doc finishes resizing,
6023 and after a mouse event
6025 * lyxfunc.C: clear message after exiting inset
6027 2003-04-07 John Levon <levon@movementarian.org>
6029 * bufferview_funcs.C: show math status not outside
6030 status in the statusbar
6032 2003-04-07 John Levon <levon@movementarian.org>
6034 * lyxfunc.C: note status changed after a depth change
6036 2003-04-04 Angus Leeming <leeming@lyx.org>
6038 * LaTeX.h: move AuxInfo operator==, != out of line.
6039 Remove LaTeX virtual destructor; nothing derives from it.
6040 Move operator()() out of public area and rename it startscript().
6041 Change protected for private.
6043 2003-04-04 Angus Leeming <leeming@lyx.org>
6046 * text2.C: remove unneeded #includes.
6048 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6050 * text2.C (dEPM): fix the heigth of the next row
6052 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6054 * text.C: squashed an invalid getChar requester + some ws changes
6056 2003-04-03 John Levon <levon@movementarian.org>
6058 * bufferview_funcs.h:
6059 * bufferview_funcs.C:
6062 * text2.C: make getStatus work for the env depth lfuns
6064 2003-04-03 John Levon <levon@movementarian.org>
6066 * bufferview_funcs.h:
6067 * bufferview_funcs.C:
6070 * text2.C: parlistize decDepth(), by merging it with incDepth()
6072 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * lyxrow.h: store a ParagraphList::iterator instead of a
6075 Paragraph* and adjust other class functions to suit.
6077 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6080 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6082 * text2.C (setCursor): do not anchor to cursor row for the time being
6084 2003-04-02 John Levon <levon@movementarian.org>
6091 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6093 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6095 * paragraph.h: make ParagraphList and ParagraphList::iterator
6096 friends of Paragraph.
6098 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6100 * ParagraphList.C: Use the private next_ and previous_ from
6103 2003-04-01 John Levon <levon@movementarian.org>
6107 * Makefile.am: rename, remove defaults gunk
6110 * MenuBackend.C: remove defaults gunk
6113 * Languages.C: remove defaults gunk
6116 * lyx_main.C: error out if files couldn't be found.
6118 2003-04-02 John Levon <levon@movementarian.org>
6120 * text2.C: make incDepth() use parlist
6122 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * undo_funcs.C (firstUndoParagraph): adjust
6126 * text3.C (gotoInset): adjust
6127 (dispatch): adjust, and rewrite loop.
6129 * text2.C (init): adjust, and rewrite loop.
6130 (redoParagraphs): adjust
6131 (updateInset): adjust, and rewrite loop.
6132 (deleteEmptyParagraphMechanism): adjust
6134 * tabular.C (LyXTabular): adjust
6135 (SetMultiColumn): adjust
6138 * lyxtext.[Ch] (ownerParagraph): delete function
6139 (ownerParagraphs): new function returns a ParagraphList.
6141 * BufferView.C (removeAutoInsets): adjust
6142 (insertErrors): adjust
6143 (setCursorFromRow): adjust
6145 2003-04-01 Angus Leeming <leeming@lyx.org>
6147 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6150 2003-04-02 John Levon <levon@movementarian.org>
6156 * text_funcs.C: make transposeChars a free function
6158 * lyxrow_funcs.C: remove wrong comment
6160 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6163 * rowpainter.C: adjust
6168 * lyxrow_funcs. [Ch]: new files
6170 * lyxrow.[Ch]: remove next and previous pointers
6171 (next,previous): remove accessor functions
6172 (isParEnd): move to lyxrow_funcs
6173 (lastPos): move to lyxrow_funcs
6174 (nextRowIsAllInset): move to lyxrow_funcs
6175 (lastPrintablePos): move to lyxrow_funcs
6176 (numberOfSeparators): move to lyxrow_funcs
6177 (numberOfHfills): move to lyxrow_funcs
6178 (numberOfLabelHfills): move to lyxrow_funcs
6179 (hfillExpansion): move to lyxrow_funcs
6183 * bufferview_funcs.C (toggleAndShow): adjust
6185 * RowList.h: Remove class RowList from file leave just a
6188 * RowList.C: delete file
6190 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6193 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * text3.C (cursorPrevious): adjust
6196 (cursorNext): adjust
6199 * text2.C (redoHeightOfParagraph): adjust
6200 (redoDrawingOfParagraph): adjust
6203 * text.C (breakParagraph): adjust
6204 (insertChar): adjust
6207 * rowpainter.C (RowPainter): adjust
6208 (leftMargin): simplify and adjust
6209 (most rowpainter functions): adjust.
6211 * rowpainter.h: store the row as RowList::iterator not as Row*
6213 * lyxcursor.C (row): taka RowList::iterator as arg
6216 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6219 2003-04-01 Angus Leeming <leeming@lyx.org>
6221 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6222 stuff like bool Bool.
6224 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6226 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6229 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6234 * lyxtext.h (rows): drop one version and leve a const variant that
6235 returns a RowList::iterator.
6237 2003-03-31 Angus Leeming <leeming@lyx.org>
6239 * text.C (fill): ensure that the signature is the same as that in the
6242 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6244 * text2.C (redoParagraphs): adjust
6245 (updateCounters): adjust
6246 (checkParagraph): adjust
6247 (getColumnNearX): adjust and reformat a bit.
6249 * text.C (top_y): adjust
6251 (leftMargin): adjust
6252 (prepareToPrint): adjust
6254 (getRowNearY): adjust
6256 * lyxtext.h: make rowlist_ mutable.
6258 * RowList.h: add const_iterator
6259 * RowList.C: adjust for RowList::const_iterator.
6261 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6264 2003-03-31 John Levon <levon@movementarian.org>
6267 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6269 * lyx_main.C: set default fonts from using lyx_gui funcs
6271 * exporter.C: pdf_mode moved from lyxrc
6274 * lyxfunc.C: changes from above
6276 2003-03-31 John Levon <levon@movementarian.org>
6278 * lyx_main.C: fix to the last fix
6280 2003-03-31 John Levon <levon@movementarian.org>
6282 * bufferlist.C: "Load original" -> "Load Original"
6288 * format.C: more Alert cleanups
6290 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6292 * text2.C (removeParagraph): make it take a RowList::iterator as
6294 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6295 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6297 * text.C (anchor_row): make it take a RowList::iterator as arg,
6299 (computeBidiTables): make it take a const reference to Row instead
6300 of Row pointer, adjust.
6301 (leftMargin): make it take a RowList::iterator as arg, adjust.
6302 (rowBreakPoint): adjust
6303 (breakAgainOneRow): make it take a RowList::iterator as arg,
6305 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6307 * bufferview_funcs.C (toggleAndShow): adjust
6309 2003-03-30 John Levon <levon@movementarian.org>
6313 * boost-inst.C: moved to support
6315 * several files: changes as a result
6317 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6319 * text2.C (LyXText): adjust.
6321 (removeRow): make it take a RowList::iterator as arg, adjust.
6322 (fullRebreak): adjust
6323 (deleteEmptyParagraphMechanism): adjust
6324 (clearPaint): adjust
6327 * text.C (top_y): adjust
6328 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6329 (breakAgain): make it take a RowList::iterator as arg, adjust.
6330 (breakParagraph): adjust
6331 (insertChar): adjust
6334 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6335 need_break_row, and refresh_row.
6337 * text3.C (dispatch): adjust
6339 * text2.C (checkParagraph): adjust
6341 (setCursorFromCoordinates): adjust
6343 * text.C (top_y): adjust
6345 (getRow): make it return a RowList::iterator, adjust
6346 (getRowNearY): make it return a RowList::iterator, adjust
6348 * text2.C (init): adjust
6349 (insertRow): remove function
6350 (insertParagraph): adjust
6351 (redoParagraphs): adjust
6352 (fullRebreak): adjust
6353 (updateCounters): adjust
6355 * text.C (top_y): rewrite to use RowList iterators.
6357 (setHeightOfRow): rewrite to sue RowList iterators.
6358 (appendParagraph): adjust
6359 (breakAgain): adjust
6360 (breakAgainOneRow): adjust
6361 (breakParagraph): adjust
6363 (getRowNearY): adjust, and remove commented code.
6365 * lyxtext.h (firstRow): delete function
6366 (lastRow): delete function
6367 (rows): new function (const and non-const versions.)
6368 (insertRow): delete function
6370 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6372 2003-03-29 John Levon <levon@movementarian.org>
6374 * BufferView_pimpl.C: always update scrollbar top
6375 because pasting text when we're anchored could mean we
6376 miss an update altogether
6378 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6380 * text2.C (init): use rowlist_.end() and not 0.
6381 (insertRow): change to take a RowList::iterator as arg, adjust
6383 (insertParagraph): change to take a RowList::iterator as arg,
6385 (redoParagraphs): remove some debug msgs.
6387 * text.C (appendParagraph): change to take a RowList::iterator
6388 arg, adjust for this.
6389 (breakAgain): add an assert
6390 (breakAgainOneRow): ditto
6392 2003-03-29 John Levon <levon@movementarian.org>
6394 * text2.C: do not clear selection after inc/decDepth
6397 2003-03-29 John Levon <levon@movementarian.org>
6400 * buffer.C: fix broken strerrors according to Lars
6402 2003-03-29 John Levon <levon@movementarian.org>
6404 * converters.C: more Alert cleanups
6406 2003-03-29 John Levon <levon@movementarian.org>
6408 * bufferview_funcs.C: remove pointless Alert
6410 * buffer.C: fix confusing error message when
6411 a template is chmoded 000
6413 2003-03-29 John Levon <levon@movementarian.org>
6417 * BufferView_pimpl.C: Alert fixes
6421 * tabular-old.C: remove unused table compat reading
6423 2003-03-29 John Levon <levon@movementarian.org>
6428 * lyx_cb.C: more Alert cleanups
6430 * lyxfunc.C: don't allow chktex if not latex document
6432 2003-03-29 John Levon <levon@movementarian.org>
6436 * buffer.C: warnings pushed down from support/,
6439 2003-03-29 John Levon <levon@movementarian.org>
6441 * lyxfunc.C: safety check for C-r (revert)
6443 2003-03-29 John Levon <levon@movementarian.org>
6446 * bufferlist.C: several UI fixes using Alert::prompt.
6447 Fix the pointless looping quit code. Fix stupid revert
6452 * lyx_cb.C: use Alert::prompt
6454 * lyx_main.C: remove a silly question
6456 * lyxfunc.C: remove a couple of silly questions,
6459 2003-03-28 John Levon <levon@movementarian.org>
6461 * text2.C: fix bug 974 (End on empty par)
6463 2003-03-28 John Levon <levon@movementarian.org>
6465 * BufferView_pimpl.C:
6467 * lfuns.h: remove do-nothing math greek lfuns
6469 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * lyxgluelength.h (isValidGlueLength): add default arg on
6472 parameter 2. Remove default arg from friend in class.
6474 * lyxlength.h (isValidLength): add default arg on parameter 2.
6475 Remove default arg from friend in class.
6477 * text2.C (LyXText): adjust, initialize refresh_row.
6481 (insertParagraph): adjst
6482 (redoParagraphs): adjust
6483 (fullRebreak): adjust
6484 (updateCounters): adjust
6485 (deleteEmptyParagraphMechanism): first attempt at fixing a
6488 * text.C (top_y): adjust
6489 (setHeightOfRow): adjust
6491 (getRowNearY): adjust
6493 * lyxtext.h: include RowList.h
6494 (~LyXText): not needed anymore, deleted.
6495 (firstRow): modify for RowList
6496 (lastRow): new function
6497 Delete firstrow and lastrow class variables, add a Rowlist
6498 rowlist_ class variable.
6500 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6503 * RowList.C (insert): fix case where it == begin().
6505 2003-03-26 Angus Leeming <leeming@lyx.org>
6507 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6508 the thesaurus dialog.
6510 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6512 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6514 * RowList.[Ch]: new files
6516 * ParagraphList.C (erase): handle the case where it == begin
6519 2003-03-25 John Levon <levon@movementarian.org>
6523 * aspell.C: add new aspell support
6526 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6529 2003-03-25 Angus Leeming <leeming@lyx.org>
6532 * LyXAction.C (init): new LFUN_INSET_INSERT.
6534 * BufferView_pimpl.C (dispatch): split out part of the
6535 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6537 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6540 2003-03-25 Angus Leeming <leeming@lyx.org>
6542 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6544 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6547 * text3.C: remove useless row->height(0)
6549 2003-03-25 John Levon <levon@movementarian.org>
6553 * text3.C: rename the refreshing stuff to better names
6555 2003-03-24 John Levon <levon@movementarian.org>
6557 * BufferView_pimpl.h:
6558 * BufferView_pimpl.C: update layout choice on a mouse
6561 2003-03-23 John Levon <levon@movementarian.org>
6563 * Makefile.am: fix commandtags.h reference
6565 2003-03-22 John Levon <levon@movementarian.org>
6567 * BufferView_pimpl.C:
6572 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6574 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6577 * text.C: take the rtl methods out of line
6579 2003-03-21 André Pönitz <poenitz@gmx.net>
6581 * metricsinfo.[Ch]: new files containing structures to be passed around
6582 during the two-phase-drawing...
6584 2003-03-21 André Pönitz <poenitz@gmx.net>
6586 * lyxtextclass.C: read 'environment' tag.
6588 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6590 * text2.C (removeRow): fix bug 964
6592 2003-03-20 John Levon <levon@movementarian.org>
6596 * text2.C: paint cleanups. Inset::update() dropped font
6599 2003-03-19 John Levon <levon@movementarian.org>
6601 * lyxfunc.C: only fitcursor/markDirty if available()
6603 2003-03-19 John Levon <levon@movementarian.org>
6605 * commandtags.h: rename to ...
6607 * lfuns.h: ... this, and renumber / cleanup
6609 2003-03-19 John Levon <levon@movementarian.org>
6611 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6612 fit the cursor after an lfun
6616 * BufferView_pimpl.h:
6617 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6619 * LyXAction.C: layout-character should have ReadOnly
6621 * ParagraphParameters.C:
6623 * bufferview_funcs.C:
6630 * undo_funcs.C: changes from above
6632 2003-03-18 John Levon <levon@movementarian.org>
6634 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6635 remove it from update()
6637 * lyxfunc.C: update layout choice after an lfun
6639 * text3.C: remove extra updateLayoutChoice()s
6641 2003-03-18 John Levon <levon@movementarian.org>
6643 * text.C: top_y change means full repaint, fix
6644 a drawing bug with cursor movement
6646 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6650 * text2.C: anchor row on setCursor
6652 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6654 * lyxtext.h: remove almost all mutable keywords
6657 * text3.C: remove const keywords accordingly
6659 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6663 (TeXEnvironment): ditto
6666 2003-03-17 John Levon <levon@movementarian.org>
6668 * text.C (rowBreakPoint): remove attempt to fix displayed
6669 math insets inside a manual label
6671 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * lyxtext.h: remove BufferView* as first arg from almost all class
6675 * other files: adjust.
6677 2003-03-17 John Levon <levon@movementarian.org>
6681 * text2.C: more paint cleanups
6683 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6686 * rowpainter.C: remove "smart" background painting code
6688 2003-03-16 John Levon <levon@movementarian.org>
6693 * text3.C: add helper functions for setting refresh_row/y
6695 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6697 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6698 newline inset which *can* get inserted in the pass_thru layouts.
6699 This is primarily for literate documents.
6701 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6703 * buffer.C: increment LYX_FORMAT to 223
6705 2003-03-14 André Pönitz <poenitz@gmx.net>
6707 * textclass.h: prepare for environment handling, ws changes
6708 * lyxlayout.C: read latexheader and latexfooter tags
6710 2003-03-14 John Levon <levon@movementarian.org>
6712 * text2.C: rewrite ::status() a bit
6714 2003-03-13 John Levon <levon@movementarian.org>
6716 * lyxtext.h: add some docs
6718 2003-03-13 John Levon <levon@movementarian.org>
6723 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6725 2003-03-13 John Levon <levon@movementarian.org>
6727 * text3.C: fix appendix redrawing
6729 2003-03-13 John Levon <levon@movementarian.org>
6731 * text.C (setHeightOfRow):
6733 * rowpainter.C: make appendix mark have the text
6734 "Appendix" so the user knows what it is
6737 * LColor.C: s/appendixline/appendix/ from above
6739 2003-03-13 John Levon <levon@movementarian.org>
6741 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6743 * text.C: fix a getChar(pos) bug properly
6745 2003-03-13 Angus Leeming <leeming@lyx.org>
6748 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6749 Probably only temporary. Let's see how things pan out.
6751 * BufferView.C (unlockInset):
6752 * BufferView_pimpl.C (fitCursor):
6753 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6755 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6756 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6758 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6759 new functions that convert ParagraphParameters to and from a string.
6761 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6762 BufferView::Pimpl's dispatch.
6763 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6765 2003-03-13 André Pönitz <poenitz@gmx.net>
6769 * factory.C: make it aware of InsetEnv
6771 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * text2.C (setCursor): never ask for one past last
6774 (setCursor): add some debugging messages.
6776 * text.C (singleWidth): never ask for one past last
6777 (singleWidth): ditto
6779 (rightMargin): ditto
6780 (rowBreakPoint): ditto
6781 (setHeightOfRow): ditto
6782 (prepareToPrint): ditto
6784 * rowpainter.C (paintBackground): never ask for one past last
6785 (paintText): never ask for one past last
6787 * paragraph_pimpl.C (getChar): make the assert stricter, never
6788 allow the one past last pos to be taken
6790 * paragraph.C (getChar): ws changes only
6792 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6793 (numberOfSeparators): ditto
6794 (numberOfHfills): ditto
6796 2003-03-12 John Levon <levon@movementarian.org>
6802 * paragraph_funcs.C: fix per-buffer authorlists
6804 2003-03-12 John Levon <levon@movementarian.org>
6806 * text.C: fix newline in right address
6808 2003-03-12 Angus Leeming <leeming@lyx.org>
6810 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6811 duplicate those in LyXFunc::dispatch.
6815 * ToolbarDefaults.C:
6816 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6817 Add LFUN_FONTFREE_UPDATE.
6819 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6820 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6822 * bufferview_func.[Ch]: several new functions to facilliate
6823 transfer of data to and from the character dialog.
6825 2003-03-12 John Levon <levon@movementarian.org>
6830 * paragraph_funcs.C:
6831 * paragraph_pimpl.C:
6835 * text3.C: remove META_NEWLINE in favour of an inset
6838 * rowpainter.C: remove paintNewline (done by inset)
6840 2003-03-12 John Levon <levon@movementarian.org>
6842 * paragraph_pimpl.C: complain about bad getChar()s
6843 for a while at least
6845 2003-03-12 John Levon <levon@movementarian.org>
6848 * buffer.C: move paragraph read into a separate function,
6849 a little renaming to reflect that.
6852 * bufferparams.C: remove the author_ids map, not necessary now
6855 * factory.C: moved Buffer::readInset to here
6857 * paragraph_funcs.h:
6858 * paragraph_funcs.C: readParagraph free function moved from
6861 * tabular.C: name change
6863 2003-03-12 John Levon <levon@movementarian.org>
6866 * ParagraphParameters.C: move par params input to
6869 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6870 behave like a normal read from the stream wrt reading
6871 a line vs. a \\token
6873 2003-03-12 John Levon <levon@movementarian.org>
6876 * ParagraphParameters.h:
6877 * ParagraphParameters.C: move output code to a
6880 2003-03-12 John Levon <levon@movementarian.org>
6882 * BufferView.C (insertLyXFile):
6885 * tabular.C: use a parlist iterator for creating the
6888 2003-03-12 John Levon <levon@movementarian.org>
6890 * buffer.C: make current_change static local not
6893 2003-03-12 John Levon <levon@movementarian.org>
6895 * buffer.C: fix insertStringAsLines for change tracking
6897 2003-03-12 John Levon <levon@movementarian.org>
6904 * bufferparams.C: move author list into params. Rename some
6905 functions. Move the header reading into a separate token
6906 loop. Move the header token reading into BufferParams.
6908 2003-03-12 John Levon <levon@movementarian.org>
6910 * changes.C: put debug inside lyxerr.debugging() checks
6912 2003-03-11 André Pönitz <poenitz@gmx.net>
6914 * factory.C: make it aware of InsetHFill
6916 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6918 * buffer.C (latexParagraphs): move function from here...
6919 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6922 2003-03-10 Angus Leeming <leeming@lyx.org>
6924 * LyXAction.C (init): fix bug in poplating array with multiple entries
6925 with the same LFUN (spotted by JMarc).
6927 2003-03-10 John Levon <levon@movementarian.org>
6930 * text2.C: move getColumnNearX() near its
6933 2003-03-10 John Levon <levon@movementarian.org>
6935 * text.C: fix break before a minipage
6937 2003-03-10 John Levon <levon@movementarian.org>
6939 * text.C: fix the last commit
6941 2003-03-09 John Levon <levon@movementarian.org>
6945 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6946 bug 365 (don't break before insets unless needed). Don't
6947 return a value > last under any circumstances.
6949 2003-03-09 Angus Leeming <leeming@lyx.org>
6951 * BufferView_pimpl.C (trackChanges, dispatch): call
6952 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6954 2003-03-09 Angus Leeming <leeming@lyx.org>
6956 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6957 than Dialogs::showAboutlyx().
6959 2003-03-09 Angus Leeming <leeming@lyx.org>
6961 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6962 than Dialogs::showTabularCreate().
6964 2003-03-09 John Levon <levon@movementarian.org>
6968 * text2.C: 3rd arg to nextBreakPoint was always the same.
6971 2003-03-08 John Levon <levon@movementarian.org>
6978 * text2.C: Remove the "main" bit from the "main body"
6981 2003-03-08 John Levon <levon@movementarian.org>
6983 * text.C (leftMargin): The left margin of an empty
6984 manual label paragraph should not include the label width
6987 * text.C (prepareToPrint): don't attempt to measure hfills
6988 for empty manual label paragraphs - the answer should be 0
6990 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * CutAndPaste.C: remove commented code and reindent.
6994 2003-03-08 John Levon <levon@movementarian.org>
6997 * lyxfunc.C: move reloadBuffer()
7000 * BufferView.C: to here
7002 * lyxvc.C: add comment
7005 * vc-backend.C: call bv->reload() to avoid
7006 getStatus() check on MENURELOAD
7008 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7010 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7011 to an old format .dep file.
7013 2003-03-07 Angus Leeming <leeming@lyx.org>
7015 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7016 when the LFUN_MOUSE_RELEASE should have been handled by
7017 inset->localDispatch.
7019 2003-03-07 Angus Leeming <leeming@lyx.org>
7021 * BufferView_pimpl.C (dispatch):
7022 * LyXAction.C (init):
7023 * ToolbarDefaults.C (init):
7025 * lyxfunc.C (getStatus):
7026 remove LFUN_INSET_GRAPHICS.
7028 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7030 2003-03-07 Angus Leeming <leeming@lyx.org>
7033 * LyXAction.C (init):
7034 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7036 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7039 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7041 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7042 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7044 2003-03-07 Angus Leeming <leeming@lyx.org>
7046 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7049 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7051 * ParagraphList.C (front): new function
7054 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7056 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7057 and top_row_offset_. removed var first_y.
7059 * text2.C (LyXText, removeRow):
7061 * BufferView_pimpl.C:
7062 use these methods instead of using first_y
7064 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7066 * text2.C (pasteSelection): adjust for checkPastePossible
7068 * CutAndPaste.C: remove Paragraph * buf and replace with
7069 ParagraphList paragraphs.
7070 (DeleteBuffer): delete
7071 (cutSelection): change the tc type to textclass_type
7072 (copySelection): change the tc type to textclass_type
7073 (copySelection): adjust for ParagraphList
7074 (pasteSelection): change the tc type to textclass_type
7075 (pasteSelection): adjust for Paragraphlist
7076 (nrOfParagraphs): simplify for ParagraphList
7077 (checkPastePossible): simplify for ParagraphList
7078 (checkPastePossible): remove unused arg
7080 * ParagraphList.C (insert): handle the case where there are no
7083 * CutAndPaste.h: make CutAndPaste a namespace.
7085 * text3.C (dispatch): adjust
7087 * text.C (breakParagraph): add a ParagraphList as arg
7089 * paragraph_funcs.C (breakParagraph): change to take a
7090 BufferParams and a ParagraphList as args.
7091 (breakParagraphConservative): ditto
7092 (mergeParagraph): ditto
7093 (TeXDeeper): add a ParagraphList arg
7094 (TeXEnvironment): ditto
7097 * buffer.C (readLyXformat2): adjust
7098 (insertStringAsLines): adjust
7099 (latexParagraphs): adjust
7101 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7102 (cutSelection): adjust
7103 (pasteSelection): adjust
7105 * BufferView_pimpl.C (insertInset): adjust
7107 2003-03-05 Angus Leeming <leeming@lyx.org>
7110 * LyXAction.C (init):
7111 * BufferView_pimpl.C (dispatch):
7112 * lyxfunc.C (getStatus):
7113 remove LFUN_CHILD_INSERT.
7115 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7117 2003-03-05 Angus Leeming <leeming@lyx.org>
7120 * LyXAction.C (init):
7121 * src/factory.C (createInset):
7122 * lyxfunc.C (getStatus):
7123 * text3.C (dispatch):
7124 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7126 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7128 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7130 * ParagraphList.C (insert): handle insert right before end()
7131 (erase): fix cases where it can be first or last paragraph.
7133 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7135 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7136 Paragraph::next and Paragraph::previous
7139 * text.C (breakParagraph): adjust
7141 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7142 BufferParams& as arg.
7143 (breakParagraph): use ParagraphList::insert
7144 (breakParagraphConservative): take a Buffer* instead of a
7145 BufferParams& as arg.
7146 (breakParagraphConservative): use ParagraphList::insert.
7148 * buffer.C (insertStringAsLines): un-const it
7149 (insertStringAsLines): adjust
7151 * ParagraphList.C (insert): new function
7153 * CutAndPaste.C (pasteSelection): adjust
7155 * text.C (backspace): adjust
7157 * tabular.C (SetMultiColumn): adjust
7159 * CutAndPaste.C (cutSelection): adjust
7160 (pasteSelection): adjust
7162 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7163 Buffer const * as arg
7165 * ParagraphList.C (erase): new function
7166 * paragraph_funcs.C (mergeParagraph): use it
7167 (mergeParagraph): make it take a Buffer* instead of a
7168 BufferParams* as arg
7170 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7172 (breakParagraphConservative): ditto
7174 * paragraph.h: remove the breakParagraph friend
7176 * paragraph.C (eraseIntern): new function
7177 (setChange): new function
7179 * paragraph_funcs.C (mergeParagraph): make it take a
7180 ParagraphList::iterator instead of a Paragraph *, adjust
7183 * paragraph.h: move an #endif so that the change tracking stuff
7184 also works in the NO_NEXT case.
7186 2003-03-04 Angus Leeming <leeming@lyx.org>
7189 * LyXAction.C: new LFUN_INSET_MODIFY.
7191 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7192 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7194 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * several files: ws changes only
7198 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7199 (TeXEnvironment): ditto
7202 * buffer.C (makeLaTeXFile): adjust
7203 (latexParagraphs): make it take ParagraphList::iterator as args
7205 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7207 * buffer.C (latexParagraphs): adjust
7209 * paragraph.C (TeXOnePar): move function...
7210 (optArgInset): move function...
7211 (TeXEnvironment): move function...
7212 * paragraph_pimpl.C (TeXDeeper): move function...
7213 * paragraph_funcs.C: ...here
7215 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7217 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7219 * buffer.C (readInset): remove compability code for old Figure and
7222 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * buffer.C: ws changes
7227 * BufferView_pimpl.C: ditto
7230 * bufferlist.h: ditto
7234 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7236 * converter.[Ch]: split into itself +
7239 * Makefile.am: += graph.[Ch] + format.[Ch]
7246 * lyxrc.C: added #include "format.h"
7248 2003-02-27 Angus Leeming <leeming@lyx.org>
7250 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7253 * factory.C (createInset): add "label" to the factory.
7255 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7256 string and do no more.
7258 2003-02-27 Angus Leeming <leeming@lyx.org>
7261 * LyXAction.C (init):
7262 * factory.C (createInset):
7263 * BufferView_pimpl.C (dispatch):
7264 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7266 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7268 * lyxfunc.C (dispatch):
7269 * text3.C (dispatch): pass name to params2string.
7271 2003-02-26 Angus Leeming <leeming@lyx.org>
7273 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7275 Rearrange the ~includes. Strip out the unnecessary ones.
7277 * factory.C (createInset): reformat.
7278 create new insets for the various LFUN_XYZ_APPLY lfuns.
7280 2003-02-26 John Levon <levon@movementarian.org>
7283 * lyxrow.C: add isParStart,isParEnd helpers
7285 * paragraph.h: make isInserted/DeletedText take refs
7287 * paragraph_funcs.h:
7288 * paragraph_funcs.C: remove #if 0'd code
7293 * text.C: use lyxrow helpers above.
7294 Move draw and paint routines to RowPainter.
7295 Make several methods use refs not pointers.
7296 Make backgroundColor() const.
7297 Add markChangeInDraw(), isInInset().
7298 Merge changeRegionCase into changeCase.
7299 Make workWidth() shouldn't-happen code into an Assert.
7302 * rowpainter.C: new class for painting a row.
7305 * vspace.C: make inPixels take a ref
7307 2003-02-26 Angus Leeming <leeming@lyx.org>
7309 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7312 2003-02-25 John Levon <levon@movementarian.org>
7314 * ispell.C: give the forked command a more accurate name
7316 2003-02-22 John Levon <levon@movementarian.org>
7319 * toc.C: make TocItem store an id not a Paragraph *
7322 2003-02-21 Angus Leeming <leeming@lyx.org>
7324 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7325 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7326 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7327 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7328 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7329 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7331 * BufferView_pimpl.C (dispatch):
7332 * LyXAction.C (init):
7333 * factory.C (createInset):
7334 * lyxfunc.C (getStatus, dispatch):
7335 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7337 2003-02-21 Angus Leeming <leeming@lyx.org>
7339 * BufferView_pimpl.C (MenuInsertLyXFile):
7340 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7341 * lyxfunc.C (menuNew, open, doImport):
7342 no longer pass a LyXView & to fileDlg.
7344 2003-02-21 Angus Leeming <leeming@lyx.org>
7346 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7347 * LyXAction.C: change, BIBKEY to BIBITEM.
7348 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7349 Change InsetBibKey to InsetBibitem.
7350 Change BIBKEY_CODE to BIBITEM_CODE.
7351 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7352 * factory.C: replace insetbib.h with insetbibitem.h.
7353 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7354 * paragraph.C: replace insetbib.h with insetbibitem.h.
7355 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7356 Change bibkey() to bibitem().
7357 * text.C: remove insetbib.h.
7358 * text2.C: replace insetbib.h with insetbibitem.h.
7359 change bibkey() to bibitem().
7360 * text3.C: remove insetbib.h.
7361 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7363 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7365 * lyxrc.C (output): enclose user email in quotes (in case there are
7368 2003-02-18 John Levon <levon@movementarian.org>
7370 * buffer.h: add std::
7372 2003-02-17 John Levon <levon@movementarian.org>
7378 * pspell.C: reworking. Especially in ispell, a large
7379 number of clean ups and bug fixes.
7381 * lyxfunc.C: fix revert to behave sensibly
7383 2003-02-17 André Pönitz <poenitz@gmx.net>
7386 * commandtags.h: new LFUN_INSERT_BIBKEY
7396 * paragraph_func.C: remove special bibkey handling
7398 2003-02-17 John Levon <levon@movementarian.org>
7400 * text.C (Delete): fix case where delete at the end of
7401 the very first paragraph would not merge the pars
7403 2003-02-17 John Levon <levon@movementarian.org>
7405 * lyxrow.C: fix lastPrintablePos()
7407 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7409 * bufferparams.C (writeLaTeX): add a std:here
7411 * buffer.C: and remove a using directive there
7413 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7415 * buffer.C (makeLaTeXFile): move the code that generates the
7418 * bufferparams.C (writeLaTeX): ... in this new method
7420 * LaTeXFeatures.C (getEncodingSet): make const
7421 (getLanguages): make const
7423 * MenuBackend.C (binding): returns the binding associated to this
7425 (add): sets the status of each item by calling getStatus. Adds
7427 (read): add support for OptSubMenu
7428 (expand): remove extra separator at the end of expanded menu
7430 2003-02-15 John Levon <levon@movementarian.org>
7433 * BufferView_pimpl.C:
7435 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7436 inset code that had no actual effect. Remove unneeded status
7439 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7441 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7444 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7446 * text.C (drawLengthMarker): also draw an arrow marker for
7447 symbolic lengths (medskip...)
7449 2003-02-14 John Levon <levon@movementarian.org>
7452 * tabular.C: better method names
7454 2003-02-14 John Levon <levon@movementarian.org>
7456 * BufferView_pimpl.C:
7461 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7462 it's a more accurate name. Remove some pointless uses.
7464 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7466 * text2.C (LyXText): change order of initilizers to shut off
7469 2003-02-14 John Levon <levon@movementarian.org>
7471 * buffer.C: use ParIterator for getParFromID()
7475 * paragraph_pimpl.h:
7476 * paragraph_pimpl.C: remove unused getParFromID()
7478 2003-02-14 John Levon <levon@movementarian.org>
7480 * buffer.C: remove some very old #if 0'd parse code
7482 2003-02-13 John Levon <levon@movementarian.org>
7486 * text2.C: move hfillExpansion(), numberOfSeparators(),
7487 rowLast(), rowLastPrintable(), numberofHfills(),
7488 numberOfLabelHfills() ...
7491 * lyxrow.C: ... to member functions here.
7496 * text.C: remove LyXText::beginningOfMainBody(), and call
7497 p->beginningOfMainBody() directly. Move the check for
7498 LABEL_MANUAL into the latter.
7505 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7511 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7512 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7514 2003-02-13 John Levon <levon@movementarian.org>
7516 * CutAndPaste.C: remove debug
7518 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7520 * paragraph.C (asString): remove two unused variables
7522 * lyxtextclass.C (readTitleType):
7524 (LyXTextClass): handle new members titletype_ and titlename_
7526 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7528 2003-02-09 John Levon <levon@movementarian.org>
7531 * buffer.C: replace hand-coded list with a map for the dep clean
7533 2003-02-08 John Levon <levon@movementarian.org>
7535 * LaTeX.C: consolidate code into showRunMessage() helper
7537 2003-02-08 John Levon <levon@movementarian.org>
7542 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7543 and pass the size in explicitly
7545 * BufferView_pimpl.h:
7546 * BufferView_pimpl.C:
7548 * BufferView.C: add getCurrentChange()
7550 * BufferView_pimpl.h:
7551 * BufferView_pimpl.C: handle change lfuns
7553 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7554 for changes. Mark pasted paragraphs as new.
7556 * support/lyxtime.h:
7557 * support/lyxtime.C:
7558 * DepTable.C: abstract time_t as lyx::time_type
7561 * LColor.C: add colours for new text, deleted text, changebars
7563 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7564 package use "usenames" option.
7568 * LyXAction.C: add change lfuns
7572 * author.C: author handling
7575 * buffer.C: add a per-buffer author list, with first entry as
7576 current author. Handle new .lyx tokens for change tracking. Output
7577 author list to .lyx file. Output dvipost stuff to .tex preamble.
7578 Bump lyx format to 222.
7581 * bufferlist.C: add setCurrentAuthor() to reset current author details
7585 * bufferparams.C: add param for tracking
7587 * bufferview_funcs.C: output change info in minibuffer
7591 * changes.C: add change-tracking structure
7594 * debug.C: add CHANGES debug flag
7597 * lyxfind.C: add code for finding the next change piece
7600 * lyxrc.C: add user_name and user_email
7603 * lyxrow.C: add a metric for the top of the text line
7606 * text.C: implement accept/rejectChange()
7609 * text.C: paint changebars. Paint new/deleted text in the chosen
7610 colours. Strike through deleted text.
7614 * paragraph_pimpl.h:
7615 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7616 in the current change to the insert functions. Rework erase to
7617 mark text as deleted, adding an eraseIntern() and a range-based
7618 erase(). Implement per-paragraph change lookup and
7621 * paragraph_funcs.C: Fixup paste for change tracking.
7623 * tabular.C: mark added row/columns as new.
7625 * text.C: fix rowLast() to never return -1. Don't allow
7626 spellchecking of deleted text. Track transpose changes. Don't
7627 allow paragraph break or merge where appropriate.
7629 * text2.C: leave cursor at end of selection after a cut.
7631 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7633 * text.C (getLengthMarkerHeight):
7634 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7635 visible on screen too.
7637 2003-02-07 John Levon <levon@movementarian.org>
7639 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7641 2003-02-05 Angus Leeming <leeming@lyx.org>
7643 * lyxserver.C (read_ready): revert my patch of 11 September last year
7644 as it sends PC cpu through the roof. Presumably this means that
7645 the lyxserver will no longer run on an Alpha...
7647 2003-01-30 Angus Leeming <leeming@lyx.org>
7649 * factory.C (createInset): create an InsetCommandParam of type "index"
7650 and use it to 'do the right thing'.
7652 * text2.C (getStringToIndex): ensure that cursor position is always
7653 reset to the reset_cursor position.
7655 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7657 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7660 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7664 * lyxfunc.C: Output messages with identical spelling, punctuation,
7667 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7669 * MenuBackend.C (expandFormats): List only viewable export formats
7672 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7675 * lyxfunc.C (getStatus): Make sure that formats other than
7676 "fax" can also be disabled
7678 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7680 * text3.C (dispatch): put the lfuns that insert insets in 3
7681 groups, and call doInsertInset with appropriate arguments.
7682 (doInsertInset): new function, that creates an inset and inserts
7683 it according to some boolean parameters.
7685 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * buffer.C (readFile): remember to pass on 'par' when calling
7688 readFile recursively.
7690 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7692 * MenuBackend.C (expandFormats): add "..." to import formats.
7694 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7696 * paragraph.C (asString): Remove XForms RTL hacks.
7698 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7699 * buffer.C: fix typo
7701 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7703 * Makefile.am (LIBS): delete var
7704 (lyx_LDADD): add @LIBS@ here instead.
7706 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7708 * Clarify the meaning of "wheel mouse jump"
7710 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7712 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7715 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7717 * importer.C (Loaders): do not preallocate 3 elements in the
7718 vector, since one ends up with 6 elements otherwise
7720 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7722 * DepTable.C (write): write the file name as last element of the
7723 .dep file (because it may contain spaces)
7724 (read): read info in the right order
7726 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7728 * paragraph_pimpl.C (simpleTeXBlanks):
7729 (simpleTeXSpecialChars):
7730 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7732 * tabular.C (latex): add some missing case statements. Reindent.
7734 * MenuBackend.C (expandToc): remove unused variable.
7736 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7745 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7748 2003-01-05 John Levon <levon@movementarian.org>
7751 * BufferView.C: add getEncoding()
7754 * kbsequence.C: do not store last keypress
7757 * lyxfunc.C: store last keypress here instead. Pass encoding
7760 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7762 * lyx_main.C (init): remove annoying error message when following
7763 symbolic links (bug #780)
7765 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7767 * text.C (insertChar):
7768 * lyxrc.C (getDescription): remove extra spaces
7770 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7772 * lyxrc.C (getDescription): remove extra spaces
7774 2002-12-20 John Levon <levon@movementarian.org>
7776 * text3.C: hack fix for page up/down across tall rows
7778 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7780 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7783 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7785 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7786 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7787 thesaurus is not compiled in
7789 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7791 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7793 2002-12-16 Angus Leeming <leeming@lyx.org>
7796 * lyx_main.C (init): remove override_x_deadkeys stuff.
7798 2002-12-12 John Levon <levon@movementarian.org>
7800 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7801 insert. Only remove shift modifier under strict
7804 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * MenuBackend.C (expandToc): fix crash.
7808 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7810 * MenuBackend.C (expandToc): gettext on float names.
7812 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7814 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7815 implement bool empty() [bug 490]
7817 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7819 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7821 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * several files: ws changes
7825 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7827 * text2.C (setCounter): clean up a bit, use boost.format.
7828 (updateCounters): initialize par upon declaration.
7830 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7831 if the layout exists. We do not just store the layout any more.
7832 (SwitchLayoutsBetweenClasses): use boost.format
7834 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7836 * converter.C (convert): if from and to files are the same, use a
7837 temporary files as intermediary
7839 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7842 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7844 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7846 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7848 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7850 * tabular.C (asciiPrintCell): use string(size, char) instead of
7853 * sgml.C (openTag): fix order of arguments to string constructor
7856 * lyxfunc.C (dispatch): use boost.format
7858 * lots of files: change "c" -> 'c'
7860 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7862 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7864 2002-11-25 Angus Leeming <leeming@lyx.org>
7866 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7868 * lyx_main.C (init): compile fix.
7870 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * lyx_cb.C (start): boost.formatify
7873 do not include <iostream>
7875 * lengthcommon.C: ws only
7877 * boost-inst.C,BoostFormat.h: add more explict instantations
7879 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * lots of files: handle USE_BOOST_FORMAT
7883 2002-11-21 John Levon <levon@movementarian.org>
7885 * pspell.C: fix compile
7887 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7889 * lyxfunc.C (dispatch): use boost::format
7893 * lyxfont.C (stateText): use boost::format
7895 * lyx_main.C (LyX): use boost::format
7897 (queryUserLyXDir): ditto
7900 (typedef boost::function): use the recommened syntax.
7902 * importer.C (Import): use boost::format
7904 * debug.C (showLevel): use boost::format
7906 * converter.C (view): use boost::format
7911 * bufferview_funcs.C (currentState): use boost::format
7913 * bufferlist.C (emergencyWrite): use boost::format
7915 * buffer.C (readLyXformat2): use boost::format
7916 (parseSingleLyXformat2Token): ditto
7918 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7920 * LaTeX.C (run): use boost::format
7922 * Chktex.C (scanLogFile): use boost::format
7924 * BufferView_pimpl.C (savePosition): use boost::format
7925 (restorePosition): ditto
7926 (MenuInsertLyXFile): ditto
7928 * BoostFormat.h: help file for explicit instation.
7930 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7932 * tabular.C (latex): Support for block alignment in fixed width
7935 2002-11-17 John Levon <levon@movementarian.org>
7937 * BufferView_pimpl.C:
7939 * lyxfunc.C: split filedialog into open/save
7941 2002-11-08 Juergen Vigna <jug@sad.it>
7943 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7944 by my last patch (hopefully).
7946 2002-11-08 John Levon <levon@movementarian.org>
7955 * toc.C: ParConstIterator, and use it (from Lars)
7957 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7959 * lyxtextclass.[Ch]: revise and add doxygen comments
7961 2002-11-07 John Levon <levon@movementarian.org>
7963 * text.C: fix progress value for spellchecker
7965 * toc.C: fix navigate menu for insetwrap inside minipage
7967 * paragraph_funcs.C: added FIXME for suspect code
7969 2002-11-07 John Levon <levon@movementarian.org>
7971 * BufferView_pimpl.C: fix redrawing of insets
7974 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7976 * text2.C (updateCounters): fix bug 668
7978 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7980 * text3.C (dispatch): Do not make the buffer dirty when moving the
7983 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7985 * vc-backend.C: STRCONV
7988 * text2.C (setCounter): STRCONV
7990 * paragraph.C (asString): STRCONV
7992 * lyxlength.C (asString): STRCONV
7993 (asLatexString): ditto
7995 * lyxgluelength.C (asString): STRCONV
7996 (asLatexString): ditto
7998 * lyxfunc.C (dispatch): STRCONV
8001 * lyxfont.C (stateText): STRCONV
8003 * importer.C (Import): STRCONV
8005 * counters.C (labelItem): STRCONV
8006 (numberLabel): ditto
8007 (numberLabel): remove unused ostringstream o
8012 * bufferview_funcs.C (currentState): STRCONV
8014 * buffer.C (readFile): STRCONV
8015 (asciiParagraph): ditto
8016 (makeLaTeXFile): ditto
8018 * Spacing.C (writeEnvirBegin): STRCONV
8020 * LaTeXFeatures.C (getLanguages): STRCONV
8021 (getPackages): ditto
8023 (getBabelOptions): ditto
8024 (getTClassPreamble): ditto
8025 (getLyXSGMLEntities): ditto
8026 (getIncludedFiles): ditto
8030 (scanAuxFile): ditto
8033 * LString.h: add the STRCONV macros
8035 * BufferView_pimpl.C (savePosition): STRCONV
8036 (restorePosition): ditto
8037 (MenuInsertLyXFile): ditto
8039 * vc-backend.C (scanMaster): change from submatch[...] to
8042 * funcrequest.C: include config.h
8044 * factory.C: include config.h
8046 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8048 * box.C: include config.h
8050 * LaTeX.C (scanAuxFile): change from submatch[...] to
8054 2002-10-25 Angus Leeming <leeming@lyx.org>
8056 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8058 * ispell.[Ch] (setError): new method.
8059 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8060 Use setError() insetead of goto END.
8062 * lyx_cb.C (AutoSave): move out child process into new class
8065 2002-10-30 John Levon <levon@movementarian.org>
8067 * text3.C: make start appendix undoable
8069 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8071 * lyxlength.C (inPixels): Fix returned value.
8073 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8076 2002-10-24 Angus Leeming <leeming@lyx.org>
8078 * lyxgluelength.h: no need to forward declare BufferParams
8079 or BufferView, so don't.
8081 2002-10-21 John Levon <levon@movementarian.org>
8083 * BufferView.C: menuUndo ->undo, redo
8085 * BufferView.h: document, remove dead, make some methods private
8087 * paragraph_funcs.h:
8088 * paragraph_funcs.C:
8089 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8094 * sgml.C: move sgml open/close tag into sgml.C
8096 * bufferview_funcs.h: unused prototype
8099 * lyxfunc.C: remove unused
8102 * text.C: remove unused
8104 2002-10-21 John Levon <levon@movementarian.org>
8108 * BufferView_pimpl.h:
8109 * BufferView_pimpl.C: fix mouse wheel handling based on
8110 patch from Darren Freeman
8112 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8114 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8116 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8118 * lyxlength.C (inPixels): Fix hanfling of negative length.
8119 Fix LyXLength::MU case.
8121 2002-10-16 John Levon <levon@movementarian.org>
8123 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8125 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8127 * converter.C (view): add support for $$i (file name) and $$p
8128 (file path) for the viewer command. If $$i is not specified, then
8129 it is appended to the command (for compatibility with old syntax)
8131 2002-10-14 Juergen Vigna <jug@sad.it>
8133 * undo_funcs.C (textHandleUndo): alter the order in which the
8134 new undopar is added to the LyXText, as we have to set first
8135 the right prev/next and then add it as otherwise the rebuild of
8136 LyXText is not correct. Also reset the cursor to the right paragraph,
8137 with this IMO we could remove the hack in "redoParagraphs()".
8139 2002-10-09 Angus Leeming <leeming@lyx.org>
8141 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8142 to turn off an optimisation if a new inset is to be inserted.
8144 2002-10-11 André Pönitz <poenitz@gmx.net>
8146 * lyxtext.h: make some functions public to allow access
8147 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8149 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8151 * text3.C (dispatch): when changing layout, avoid an infinite loop
8154 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8156 * lyxrc.C (read): treat a viewer or converter command of "none" as
8159 * MenuBackend.C (expandFormats): for an update, also allow the
8160 formats that are not viewable
8162 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8163 script if it is newer than the lyxrc.defaults in user directory
8165 2002-10-07 André Pönitz <poenitz@gmx.net>
8167 * text.C: Vitaly Lipatov's small i18n fix
8169 2002-09-25 Angus Leeming <leeming@lyx.org>
8171 * ispell.h: doxygen fix.
8173 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8175 * buffer.h (readFile): Add a new argument to the method, to allow
8176 reading of old-format templates.
8178 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8180 * toc.C (getTocList): Get TOC from InsetWrap.
8182 2002-09-16 John Levon <levon@movementarian.org>
8184 * lyxfunc.C: check tabular for cut/copy too
8186 2002-09-12 John Levon <levon@movementarian.org>
8191 * factory.C: add header
8193 * paragraph_funcs.h:
8194 * paragraph_funcs.C: cleanup
8196 2002-09-11 John Levon <levon@movementarian.org>
8198 * PrinterParams.h: odd/even default to true
8200 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8202 * PrinterParams.h: update printer parameters for new xforms dialog
8204 2002-09-11 Angus Leeming <leeming@lyx.org>
8206 * lyxserver.C (read_ready): re-write to make it more transparent
8207 and to make it work in coherent fashion under Tru64 Unix.
8209 2002-09-11 André Pönitz <poenitz@gmx.net>
8213 * text3.C: implement LFUN_WORDSEL
8215 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8217 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8218 make floatlist_ a boost::shared_ptr<FloatList>
8220 * lyxtextclass.C: include FloatList.h
8221 (LyXTextClass): initialize floatlist_
8222 (TextClassTags): add TC_NOFLOAT
8223 (Read): match "nofloat" to TC_NOFLOAT and use it.
8224 (readFloat): modify call to floatlist_
8228 * FloatList.[Ch] (FloatList): remove commented out float
8230 (erase): new function
8232 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8234 * MenuBackend.C (expandToc): fix crash when there is no document
8237 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8239 * many files: Add insetwrap.
8241 2002-09-09 John Levon <levon@movementarian.org>
8243 * text2.C: remove confusing and awkward depth wraparound
8245 2002-09-09 John Levon <levon@movementarian.org>
8247 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8250 * buffer.C: remove getIncludeonlyList()
8253 * lyxfunc.C: remove headers
8255 2002-09-09 Juergen Vigna <jug@sad.it>
8257 * text.C (getColumnNearX): fix form Michael this is most
8258 probably a cut&paste bug.
8260 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8262 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8264 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8265 references, ws changes.
8267 * text2.C (init): update counters after init
8268 (insertParagraph): no need to set counter on idividual paragraphs.
8269 (setCounter): access the counters object in the textclass object
8270 on in the buffer object.
8271 (updateCounters): ditto
8273 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8274 shared_ptr<Counters> to avoid loading counters.h in all
8276 (LyXTextClass): initialize ctrs_
8277 (TextClassTags): add TC_COUNTER, and ...
8278 (Read): use it here.
8279 (CounterTags): new tags
8280 (readCounter): new function
8281 (counters): new funtion
8282 (defaultLayoutName): return a const reference
8284 * counters.C (Counters): remove contructor
8285 (newCounter): remove a couple of unneeded statements.
8286 (newCounter): simplify a bit.
8287 (numberLabel): some small formatting changes.
8289 * buffer.[Ch]: remove all traces of counters, move the Counters
8290 object to the LyXTextClass.
8292 2002-09-06 Alain Castera <castera@in2p3.fr>
8294 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8295 package to set the horizontal alignment on fixed width columns.
8298 * lyx_sty.h: added tabularnewline macro def.
8300 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8302 2002-09-06 John Levon <levon@movementarian.org>
8304 * LyXAction.C: tooltips for sub/superscript
8306 * MenuBackend.C: a bit more verbose
8308 * lyxfunc.C: tiny clean
8310 * undo_funcs.C: document undo_frozen
8312 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8314 * counters.C (Counters): add missing algorithm counter.
8316 * text2.C (setCounter): lookup the counter with layouts latexname
8317 instead of by section number.
8318 (setCounter): use a hackish way to lookup the correct enum
8320 a float name->type change
8321 reset enum couners with counter name directly instead of depth value.
8323 * counters.C (Counters): remove the push_backs, change to use the
8324 float type not the float name.
8325 (labelItem): remove unused string, float name->type change
8327 * counters.h: don't include vector, loose the enums and sects vectors
8329 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8332 (Read): add float->TC_FLOAT to textclassTags
8333 (Read): and handle it in the switch
8334 (readFloat): new function
8336 * FloatList.C (FloatList): comment out the hardcoded float
8339 * lyxlayout.h: ws change.
8341 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8343 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8345 2002-09-03 Angus Leeming <leeming@lyx.org>
8347 * BufferView_pimpl.h: qualified name is not allowed in member
8348 declaration: WorkArea & Pimpl::workarea() const;
8350 * factory.C: added using std::endl directive.
8352 * text3.C: added using std::find and std::vector directives.
8354 2002-08-29 André Pönitz <poenitz@gmx.net>
8357 * text2.C: remove unused member number_of_rows
8360 * BufferView2.C: remove file, move contents to...
8361 * BufferView.C: ... here
8363 * BufferView_pimpl.C:
8364 * factory.C: move more inset creation to factory
8366 * vspace.C: avoid direct usage of LyXText, ws changes
8369 don't provide direct access to WorkArea, use two simple
8370 acessors haveSelction() and workHeight() instead
8373 2002-08-29 John Levon <levon@movementarian.org>
8375 * BufferView_pimpl.C (dispatch): do not continue when
8378 2002-08-28 André Pönitz <poenitz@gmx.net>
8380 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8383 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8385 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8387 * buffer.C: increment LYX_FORMAT to 221
8389 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8390 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8392 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8394 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8396 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8398 * factory.C (createInset): use LyXTextClass::floats
8400 * MenuBackend.C (expandFloatListInsert):
8401 (expandFloatInsert):
8404 * text2.C (setCounter):
8406 * LaTeXFeatures.C (useFloat):
8407 (getFloatDefinitions):
8409 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8411 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8412 floatlist_, with accessor floats().
8414 * FloatList.h: remove global FloatList
8416 2002-08-26 André Pönitz <poenitz@gmx.net>
8418 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8422 * BufferView_pimpl.C:
8423 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8425 2002-08-25 John Levon <levon@movementarian.org>
8427 * LyXAction.C: fix margin note description
8429 2002-08-24 John Levon <levon@movementarian.org>
8433 * bufferview_funcs.C:
8435 * undo_funcs.C: cleanups
8437 * lyxfunc.C: disable CUT/COPY when no selection
8439 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8441 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8442 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8444 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8445 Add backward compatibility to "mono", "gray" and "no".
8447 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8449 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8450 (and file_format >= 200).
8452 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8454 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8456 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8458 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8460 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8462 * BufferView_pimpl.C:
8469 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8470 inset and code to make it work with the paragraph code. The inset
8471 can be anywhere in the paragraph, but will only do the expected
8472 thing in LaTeX if the layout file contains the parameter line
8474 (or more generally, a nonzero value) for that layout.
8476 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8478 * paragraph.h: remove the declaration of undefined counters class
8481 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8483 * text2.C (setCounter): fixed enumeration mis-count as reported by
8484 Dr. Richard Hawkins.
8486 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8488 * paragraph_funcs.h: remove some unneeded includes
8490 * text.C (backspace): pasteParagraph now in global scipe
8492 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8493 (pasteSelection): ditto
8495 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8496 * paragraph_funcs.C (pasteParagraph): ... here
8498 2002-08-20 André Pönitz <poenitz@gmx.net>
8500 * commandtags.h: new LFUNs for swapping/copying table row/colums
8503 * lyxfunc.C: support for new lfuns
8505 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * buffer.[Ch]: remove NO_COMPABILITY stuff
8510 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8512 * boost.C (throw_exception): new file, with helper function for
8513 boost compiled without exceptions.
8518 * ParameterStruct.h:
8519 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8521 * bufferlist.C (emergencyWriteAll): use boost bind
8523 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8525 * text.C: include paragraph_funcs.h
8526 (breakParagraph): breakParagraph is now in global scope
8528 * paragraph_funcs.[Ch]: new files
8530 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8533 * buffer.C: include paragraph_funcs.h
8534 (insertStringAsLines): breakParagraph is now in global scope
8536 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8539 * CutAndPaste.C: include paragraph_funcs.h
8540 (cutSelection): breakParagraphConservative is now in global scope
8541 (pasteSelection): ditto
8543 * buffer.h: declare oprator== and operator!= for
8544 Buffer::inset_iterator
8546 * bufferlist.C (emergencyWrite): don't use fmt(...)
8548 * text3.C: add using std::endl
8550 * BufferView.C (moveCursorUpdate): remove default arg
8552 2002-08-20 André Pönitz <poenitz@gmx.net>
8554 * buffer.[Ch]: move inline functions to .C
8557 * BufferView_pimpl.C:
8559 * buffer.[Ch]: use improved inset_iterator
8562 * paragraph.[Ch]: write one paragraph at a time
8564 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8566 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8567 style if style is not specified.
8569 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8571 * text2.C (setCounter): when searching for right label for a
8572 caption, make sure to recurse to parent insets (so that a caption
8573 in a minipage in a figure float works) (bug #568)
8575 2002-08-20 André Pönitz <poenitz@gmx.net>
8577 * text3.C: new file for LyXText::dispatch() and helpers
8579 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8581 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8583 2002-08-19 André Pönitz <poenitz@gmx.net>
8586 * text.C: new LyXText::dispatch()
8588 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8590 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8592 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8594 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8597 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8599 * Makefile.am: use $(variables) instead of @substitutions@
8601 2002-08-15 André Pönitz <poenitz@gmx.net>
8604 * BufferView_pimpl.C: streamlining mathed <-> outer world
8608 * LyXAction.C: remove unused LFUN_MATH
8610 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8612 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8614 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8616 * paragraph.C (Paragraph): reformat a bit
8617 (cutIntoMinibuffer): use builtin InsetList function instad of
8621 * buffer.C: include boost/bind.hpp, add using std::for_each
8622 (writeFileAscii): use ParagraphList iterators
8623 (validate): use for_each for validate traversal of paragraphs
8624 (getBibkeyList): use ParagraphList iterators
8625 (resizeInsets): use for_each to resizeInsetsLyXText for all
8627 (getParFromID): use ParagraphList iterators
8629 * BufferView2.C (lockInset): use paragraph list and iterators
8631 2002-08-14 John Levon <levon@movementarian.org>
8633 * lyxserver.C: remove spurious xforms include
8635 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8637 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8639 2002-08-13 André Pönitz <poenitz@gmx.net>
8642 * lyxfunc.C: further cleaning
8644 2002-08-13 André Pönitz <poenitz@gmx.net>
8646 * funcrequest.h: new constructor
8648 * funcrequest.C: move stuff here from .h
8651 * BufferView_pimpl.C:
8654 * lyxfunc.C: subsequent changes
8656 * lyxfunc.h: new view() member function
8658 * lyxfunc.C: subsequent changes
8660 2002-08-13 Angus Leeming <leeming@lyx.org>
8663 * BufferView_pimpl.C:
8671 changes due to the changed LyXView interface that now returns references
8672 to member variables not pointers.
8674 2002-08-13 Angus Leeming <leeming@lyx.org>
8676 * WordLangTuple (word, lang_code): return references to strings,
8681 * lyxtext.h: forward-declare WordLangTuple.
8686 * text.C: #include "WordLangTuple.h".
8689 * text.C: (selectNextWordToSpellcheck): constify return type.
8691 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8697 * paragraph_pimpl.h:
8700 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8702 Made updateCounter always count from start of buffer, and removed
8703 second argument (par).
8704 Reverted floats number display to '#'. Perhaps I'll try again when the
8705 code base is sanitized a bit.
8707 2002-08-12 Angus Leeming <leeming@lyx.org>
8709 * buffer.[Ch] (getLabelList): constify.
8711 2002-08-07 André Pönitz <poenitz@gmx.net>
8713 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8715 * funcrequest.h: extension to keep mouse (x,y) position
8717 2002-08-12 Juergen Vigna <jug@sad.it>
8719 * BufferView2.C (insertErrors): forbid undo when inserting error
8722 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8724 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8726 * ParagraphList.[Ch]: new files
8728 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8730 * BufferView2.C (lockInset): ParagraphList changes
8733 * bufferlist.C: ditto
8737 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8739 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8740 unused class variable counter_,
8742 * paragraph.[Ch] (getFirstCounter): delete unused function
8744 * counters.C: include LAssert.h
8745 (reset): add a new function with no arg, change other version to
8746 not have def. arg and to not allow empty arg.
8748 * text2.C (setCounter): remove empty arg from call to Counters::reset
8750 2002-08-11 John Levon <levon@movementarian.org>
8752 * Makefile.am: add WordLangTuple.h
8754 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8756 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8757 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8759 * insets/insettext.C: InsetList changes
8761 * graphics/GraphicsSupport.C (operator()): InsetList changes
8763 * toc.C (getTocList): InsetList changes
8765 * paragraph_pimpl.[Ch]: InsetList changes
8767 * paragraph.[Ch]: InsetList changes
8769 * buffer.C (inset_iterator): InsetList changes
8770 (setParagraph): ditto
8771 * buffer.h (inset_iterator): ditto
8772 * iterators.C (operator++): ditto
8773 * iterators.h: ditto
8775 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8777 * InsetList.[Ch]: new files, most InsetList handling moved out of
8780 * BufferView2.C (removeAutoInsets): InsetList changes
8782 (ChangeInsets): ditto
8784 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8786 * paragraph_pimpl.h (empty): new function
8788 * paragraph.[Ch] (empty): new function
8790 * other files: use the new Paragraph::empty function
8792 2002-08-09 John Levon <levon@movementarian.org>
8794 * lyxtext.h: remove unused refresh_height
8796 2002-08-09 John Levon <levon@movementarian.org>
8803 * paragraph.C: move sgml char escaping out of paragraph
8806 * paragraph.C: remove id setter
8810 * paragraph_pimpl.C: remove dead tex_code_break_column
8812 * bufferview_funcs.C: small cleanup
8814 * lyxfunc.C: remove dead proto
8816 * lyxtext.h: make some stuff private. Remove some dead stuff.
8818 * lyxgluelength.C: make as[LyX]String() readable
8820 2002-08-08 John Levon <levon@movementarian.org>
8825 * ToolbarDefaults.C:
8828 * toc.C: lyxaction cleanup
8830 2002-08-08 John Levon <levon@movementarian.org>
8832 * BufferView2.C: small cleanup
8835 * lyxfind.C: move unnecessary header into the .C
8837 2002-08-08 John Levon <levon@movementarian.org>
8839 * funcrequest.h: just tedious nonsense
8842 * lyx_main.C: cleanups
8845 * vspace.C: remove dead header lyx_main.h
8847 2002-08-07 Angus Leeming <leeming@lyx.org>
8850 * paragraph_pimpl.h:
8851 Forward declare class Counters in paragraph.h by moving the ctrs member
8852 variable into Paragraph::Pimpl.
8853 (counters): new method, returning a reference to pimpl_->ctrs.
8855 * text2.C: ensuing changes.
8857 2002-08-07 John Levon <levon@movementarian.org>
8859 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8861 * BufferView_pimpl.C: announce X selection on double/triple
8864 * lyx_main.C: use correct bool in batch dispatch
8866 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8868 2002-08-07 André Pönitz <poenitz@gmx.net>
8870 * funcrequest.h: new class to wrap a kb_action and its argument
8873 * BufferView_pimpl[Ch]:
8877 * lyxrc.C: subsequent changes
8880 2002-08-07 John Levon <levon@movementarian.org>
8882 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8883 document options change.
8885 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8890 * makefile.am: move counters functionality over from
8891 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8893 2002-08-06 John Levon <levon@movementarian.org>
8895 * WordLangTuple.h: new file for word + language code tuple
8906 * BufferView2.C: use WordLangTuple
8909 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8911 2002-08-06 John Levon <levon@movementarian.org>
8913 * lyx_main.C: fix cmdline batch handling
8915 2002-08-06 André Pönitz <poenitz@gmx.net>
8917 * lyxrc.C: set default for show_banner to true
8919 2002-08-06 John Levon <levon@movementarian.org>
8921 * pspell.C: fix a crash, and allow new aspell to work
8923 2002-08-06 John Levon <levon@movementarian.org>
8926 * kbmap.C: small cleanup
8929 * vspace.C: add const
8931 2002-08-05 John Levon <levon@movementarian.org>
8933 * LyXAction.C: back to tabular-insert
8935 2002-08-04 John Levon <levon@movementarian.org>
8938 * BufferView.C: cosmetic change
8940 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8950 * BufferView2.C: purge all "Lyx" not "LyX" strings
8953 * lyxcursor.C: attempt to add some documentation
8958 * ToolbarDefaults.C:
8959 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8960 merge with LFUN_TABULAR_INSERT
8967 * pspell.C: split up i/pspell implementations into separate
8968 files, many cleanups
8970 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8972 * text2.C: some cleanup
8974 * lyxfunc.C: don't check for isp_command == "none" any more, it
8975 didn't make any sense
8977 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8982 * makefile.am: move counters functionality over
8983 from text2.C/paragraph.[Ch] to counters.[Ch], and
8985 2002-08-02 John Levon <levon@movementarian.org>
8987 * buffer.C: s/lyxconvert/lyx2lyx/
8989 2002-08-02 Angus Leeming <leeming@lyx.org>
8991 * lyxlex.C: revert John's change as it breaks reading of the user
8994 2002-08-02 Angus Leeming <leeming@lyx.org>
8996 * importer.C (Import):
8997 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8998 changes due to LyXView::view() now returning a boost::shared_ptr.
9000 2002-08-02 John Levon <levon@movementarian.org>
9002 * lyxlex.C: small cleanup
9004 2002-08-02 John Levon <levon@movementarian.org>
9006 * text2.C (status): small cleanup, no logic change
9008 2002-08-01 John Levon <levon@movementarian.org>
9011 * buffer.C (writeFile): don't output alerts, caller
9015 * lyx_cb.C: from above
9017 * lyxfunc.C: allow to open non-existent files
9019 2002-07-31 John Levon <levon@movementarian.org>
9021 * lyxserver.C: don't let incidental errors get
9024 2002-07-30 John Levon <levon@movementarian.org>
9026 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9028 2002-07-30 John Levon <levon@movementarian.org>
9031 * lyxserver.C: remove I/O callback too
9033 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9035 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9038 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9040 * many files: strip,frontStrip -> trim,ltrim,rtrim
9042 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9044 * PrinterParams.h: remove extern containsOnly, and include
9045 support/lstrings.h instead.
9047 * LaTeX.C (scanAuxFile): modify because of strip changes
9049 * buffer.C (makeLaTeXFile): ditto
9050 * bufferparams.C (writeFile): ditt
9051 * lyxfont.C (stateText): ditto
9052 * lyxserver.C (read_ready): ditto
9053 * vc-backend.C (scanMaster): ditto
9055 * BufferView_pimpl.h: ws changes
9057 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9059 2002-07-26 André Pönitz <poenitz@gmx.net>
9061 * kb_sequence.C: remove unnedred usings
9063 2002-07-26 Juergen Vigna <jug@sad.it>
9065 * lyxfind.C (LyXReplace): we have to check better if the returned
9066 text is not of theLockingInset()->getLockingInset().
9068 2002-07-25 Juergen Vigna <jug@sad.it>
9070 * lyxfind.C (LyXReplace): don't replace if we don't get the
9073 * undo_funcs.C (createUndo): remove debugging code.
9075 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9077 * buffer.C (parseSingleLyXformat2Token): Use default placement
9078 when reading old floats.
9080 * FloatList.C (FloatList): Change the default placement of figure
9081 and tables to "tbp".
9083 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9085 * MenuBackend.C: using std::max
9087 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9089 * MenuBackend.C (expandToc):
9090 (expandToc2): code moved from xforms menu frontend. It is now
9091 generic and TOCs are transparent to menu frontends.
9093 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9095 * toc.C (getTocList): protect against buf=0
9097 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9098 Menu as first parameter. Now, this calls itself recursively to
9099 expand a whole tree (this will be useful for TOC handling)
9100 (expandFloatInsert): remove 'wide' version of floats
9102 * MenuBackend.h (submenuname): returns the name of the submenu.
9103 (submenu): returns the submenu itself, provided it has been
9104 created by MenuBackend::expand
9106 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9108 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9109 insets which have noFontChange == true. (bug #172)
9111 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9113 * BufferView_pimpl.C: add connection objects and use them...
9116 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9118 * MenuBackend.C (expandLastfiles):
9121 (expandFloatListInsert):
9122 (expandFloatInsert):
9123 (expand): split expand in parts
9125 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9127 * lyx_gui.C: use lyx_gui::exit()
9129 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9131 * LyXAction.C: show the failing pseudo action
9133 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9135 * buffer.C (readFile): Run the lyxconvert script in order to read
9138 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9142 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9144 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9148 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9150 2002-07-22 Herbert Voss <voss@lyx.org>
9153 * lyxlength.[Ch]: add support for the vertical lengths
9155 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9157 * toc.[Ch]: std:: fixes
9159 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9161 * lyxrc.C: do not include lyx_main.h
9163 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9169 * BufferView2.C: include "lyxlex.h"
9172 * bufferparams.h: do not #include "lyxlex.h"
9174 * lyxtextclasslist.C (Add): remove method
9175 (classlist): renamed to classlist_
9177 * paragraph_pimpl.C:
9181 * bufferview_funcs.C:
9186 * toc.C (getTocList): use BufferParams::getLyXTextClass
9188 * toc.C (getTocList): use InsetFloat::addToToc
9190 * toc.[Ch]: new files, containing helper functions to handle table
9193 * lyxfunc.C (dispatch): no need to remove spaces around command
9195 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9196 first command of the sequence; it is not very clever, but I do not
9197 have a better idea, actually
9199 * LyXAction.C (LookupFunc): make sure to remove space at the
9200 beginning and end of the command
9202 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9204 * MenuBackend.C (getMenubar): new method: return the menubar of
9206 (read): treat differently reading of menu and menubar (in
9207 particular, the menubar has no name now)
9208 (Menu::menubar): remove
9210 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9213 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9215 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9216 a bibitem inset in a RTL paragraph.
9218 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9220 * paragraph_pimpl.C: constify
9222 * BufferView_pimpl.C:
9224 * lyxfunc.C: fix dispatch in a nicer way
9226 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * lyxfunc.C (dispatch):
9229 * BufferView_pimpl.C:
9230 * BufferView_pimpl.h:
9232 * BufferView.h: rename Dispatch() to dispatch()
9234 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9236 * lyxlayout.C (Read): honor DependsOn tag
9238 * lyxlayout.[Ch] (depends_on): new method
9240 * version.C.in: update lyx_docversion
9242 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9244 * paragraph.C (validate): remove from here...
9245 * paragraph_pimpl.C (validate): ... and move here
9246 (isTextAt): make it const
9248 * buffer.C (getLists): ws cleanup
9250 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9252 * language.C (read): Use iso8859-1 encoding in latex_lang
9253 (this prevents LyX from crashing when using iso10646-1 encoding).
9255 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9257 * text2.C (toggleInset): if cursor is inside an inset, close the
9258 inset and leave cursor _after_ it
9260 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9262 * lyxfunc.C: move minibuffer completion handling out of here
9264 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9266 * BufferView_pimpl.C:
9267 * LaTeX.C: fix dispatch calls
9269 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9271 * text.C (drawChars): Fix Arabic text rendering.
9273 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9277 * lyxfunc.C: remove message-push/pop
9281 * lyxfunc.C: rationalise some code by removing verboseDispatch
9282 in favour of a bool argument to dispatch()
9284 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9286 * lyx_main.C (init): make sure to read symlinks as absolute paths
9288 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9291 * lyxfunc.C: no need for commandshortcut to be a member
9293 2002-07-15 André Pönitz <poenitz@gmx.net>
9295 * converter.C: add support for $$s (scripts from lib/scripts dir)
9296 * lyx_main.C: white space
9298 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9302 * lyxrc.C: remove second exit confirmation
9304 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9309 * BufferView_pimpl.h:
9310 * BufferView_pimpl.C:
9311 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9313 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9315 * MenuBackend.C (expand): add numeric shortcuts to document menu
9317 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9319 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9321 * lyxfont.C (setLyXFamily):
9328 * buffer.C (asciiParagraph): use ascii_lowercase
9330 2002-07-15 Mike Fabian <mfabian@suse.de>
9332 * lyxlex_pimpl.C (search_kw):
9333 * lyxlex.C (getLongString):
9334 * converter.h (operator<):
9335 * converter.C (operator<):
9336 * buffer.C (parseSingleLyXformat2Token):
9338 * ToolbarDefaults.C (read):
9339 * MenuBackend.C (checkShortcuts):
9341 * LColor.C (getFromGUIName):
9342 (getFromLyXName): use the compare_ascii_no_case instead of
9343 compare_no_case, because in turkish, 'i' is not the lowercase
9344 version of 'I', and thus turkish locale breaks parsing of tags.
9346 2002-07-16 Angus Leeming <leeming@lyx.org>
9348 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9349 now takes a Buffer const & argument.
9351 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9353 * BufferView.C (resize): check there's a buffer to resize
9355 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9357 * lyxfunc.C: remove dead code
9360 * lyxserver.C: use lyx_guii::set_read_callback
9362 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9364 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9365 an inset in a RTL paragraph.
9367 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9369 * lyxfunc.C: repaint after a font size update
9371 2002-07-15 André Pönitz <poenitz@gmx.net>
9373 * lyxlength.C: inBP should be able to return negative values
9375 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9377 * lyxfunc.C: use lyx_gui::update_fonts()
9379 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9381 * lyxfunc.C: use lyx_gui::update_color()
9383 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9389 * lyxrc.C: remove file->new asks for name option, and let
9390 buffer-new take an argument
9392 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9394 * BufferView_pimpl.C: remove unneeded extra repaint()
9396 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9398 * LyXAction.C: allow command-sequence with NoBuffer
9400 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9402 2002-07-10 Angus Leeming <leeming@lyx.org>
9404 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9406 2002-07-09 Angus Leeming <leeming@lyx.org>
9408 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9410 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9412 * lengthcommon.h: whitespace
9414 * lyxfunc.C: update scrollbar after goto paragraph
9416 * lyxtext.h: factor out page break drawing, and fix it so
9417 page break/added space paints as selected nicely
9419 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9421 * BufferView_pimpl.C: add FIXMEs, clean up a little
9423 2002-07-09 André Pönitz <poenitz@gmx.net>
9425 * lyxfont.[Ch]: support for wasy symbols
9427 2002-07-08 André Pönitz <poenitz@gmx.net>
9429 * BufferView_pimpl.C: apply John's patch for #93.
9431 2002-07-05 Angus Leeming <leeming@lyx.org>
9433 * BufferView_pimpl.C (buffer): generate previews if desired.
9435 * LColor.h: add "preview" to the color enum.
9437 * LColor.C (LColor): add a corresponding entry to the items array.
9439 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9442 2002-07-05 Angus Leeming <leeming@lyx.org>
9444 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9445 The body of the code is now in the method that is passed an ostream &
9446 rather than a file name.
9447 Pass an additional only_preamble parameter, useful for the forthcoming
9450 2002-07-03 André Pönitz <poenitz@gmx.net>
9452 * lyxfunc.C: simplify getStatus() a bit for math stuff
9454 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9456 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9458 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9460 * text.C (changeRegionCase): do not change case of all the
9461 document when region ends at paragraph end (bug #461)
9463 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9465 * paragraph.C (startTeXParParams):
9466 (endTeXParParams): add \protect when necessary
9468 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9470 * BufferView_pimpl.C (workAreaExpose): remove warning
9472 2002-06-27 Angus Leeming <leeming@lyx.org>
9474 * Makefile.am: add lyxlayout_ptr_fwd.h.
9476 2002-06-26 André Pönitz <poenitz@gmx.net>
9478 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9480 2002-06-25 Angus Leeming <leeming@lyx.org>
9482 * lyxfunc.C (dispatch): Comment out the call to
9483 grfx::GCache::changeDisplay. The method no longer exists now that the
9484 pixmap generation part of the graphics loader has been moved into
9487 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9489 * text2.C: layout as layout
9491 * text.C: layout as layout
9493 * tabular.C (OldFormatRead): layout as layout
9495 * paragraph_pimpl.C (TeXDeeper): layout as layout
9496 (realizeFont): layout as layout
9498 * paragraph.C (writeFile): layout as layout
9499 (validate): layout as layout
9500 (getFont): layout as layout
9501 (getLabelFont): layout as layout
9502 (getLayoutFont): layout as layout
9503 (breakParagraph): layout as layout
9504 (stripLeadingSpaces): layout as layout
9505 (getEndLabel): layout as layout
9506 (getMaxDepthAfter): layout as layout
9507 (applyLayout): layout as layout
9508 (TeXOnePar): layout as layout
9509 (simpleTeXOnePar): layout as layout
9510 (TeXEnvironment): layout as layout
9511 (layout): layout as layout
9512 (layout): layout as layout
9514 * lyxtextclass.C (compare_name): new functor to work with
9515 shared_ptr, layout as layout
9516 (Read): layout as layout
9517 (hasLayout): layout as layout
9518 (operator): layout as layout
9519 (delete_layout): layout as layout
9520 (defaultLayout): layout as layout
9522 * lyxlayout_ptr_fwd.h: new file
9524 * lyxlayout.C (Read): layout as layout
9526 * lyx_cb.C (MenuInsertLabel): layout as layout
9528 * bufferlist.C (newFile): layout as layout
9530 * buffer.C (readLyXformat2): layout as layout
9531 (parseSingleLyXformat2Token): layout as layout
9532 (insertStringAsLines): layout as layout
9533 (asciiParagraph): layout as layout
9534 (latexParagraphs): layout as layout
9535 (makeLinuxDocFile): layout as layout
9536 (simpleLinuxDocOnePar): layout as layout
9537 (makeDocBookFile): layout as layout
9538 (simpleDocBookOnePar): layout as layout
9539 (getLists): layout as layout
9541 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9543 * CutAndPaste.C (cutSelection): layout as layout
9544 (pasteSelection): layout as layout
9545 (SwitchLayoutsBetweenClasses): layout as layout
9547 * BufferView_pimpl.C (Dispatch): layout as layout
9548 (smartQuote): layout as layout
9550 * BufferView2.C (unlockInset): layout as layout
9552 2002-06-24 André Pönitz <poenitz@gmx.net>
9554 * lyxfunc.C: fix #487
9556 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9560 * lyxfunc.C: remove display_shortcuts, show_banner
9562 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9564 * Buffer_pimpl.C: oops, update on resize
9566 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9573 * BufferView.C: use repaint()
9575 * BufferView_pimpl.h:
9576 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9577 as it's a clearer description. Remove superfluous
9580 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9582 * text.C: fix bug 488. Not ideal, but getting
9583 getWord() to work properly for the insets that
9584 matter is more difficult ...
9586 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9588 * BufferView_pimpl.C:
9591 * lyxfunc.C: remove the six million index lyxfuncs to just
9592 one, and DTRT (bug 458)
9594 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9598 * BufferView_pimpl.h:
9599 * BufferView_pimpl.C: clean up resize() stuff,
9600 and unnecessary updateScreen()s
9602 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9606 * BufferView_pimpl.h:
9607 * BufferView_pimpl.C:
9610 * minibuffer.C: remove focus management of workarea,
9611 not needed. Use screen's greyOut()
9613 2002-06-17 Herbert Voss <voss@lyx.org>
9615 * converter.C: (convert) do not post a message, when converting
9616 fails, let the calling function decide what to do in this case
9618 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9620 * lyxfunc.C: tidy up a little
9622 2002-06-16 <alstrup@diku.dk>
9624 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9625 Got rid of FORMS_H_LOCATION include. Now we are
9628 2002-06-15 LyX Development team <lyx@rilke>
9630 * buffer.[Ch] (sgmlOpenTag):
9631 (sgmlCloseTag): Added support for avoiding pernicious mixed
9632 content. Return number of lines written.
9635 (makeDocBookFile): Fixed calls to sgml*Tag.
9636 Simple white space clean.
9638 (simpleDocBookOnePar): Simple white space clean.
9640 * tabular.[Ch] (docBook): Renamed to docbook and got another
9641 argument to related with the pernicious mixed content.
9643 (docbookRow): Fixed calls for docbook inset method.
9645 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9647 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9648 so it's X11 independent.
9652 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9654 2002-06-15 Lyx Development team <lyx@electronia>
9656 * intl.h: Renamed getTrans to getTransManager.
9658 2002-06-14 Angus Leeming <leeming@lyx.org>
9660 * Makefile.am: nuke forgotten stl_string_fwd.h.
9662 2002-06-12 Angus Leeming <leeming@lyx.org>
9664 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9666 2002-06-13 Angus Leeming <leeming@lyx.org>
9669 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9671 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9673 * kbmap.C (getiso): add support for cyrillic and greek
9675 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9679 * BufferView_pimpl.h:
9680 * BufferView_pimpl.C: move bogus scrolling logic
9683 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9686 * BufferView_pimpl.C: view->resize() change
9688 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9690 * BufferView_pimpl.C: topCursorVisible
9693 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9697 * lyx_gui.C: move to frontends/
9701 * lyx_main.C: changes from above
9703 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9710 * lyx_main.C: minor tidy
9712 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9714 * BufferView_pimpl.h:
9715 * BufferView_pimpl.C:
9717 * BufferView.C: make painter() const,
9720 * BufferView2.C: use screen() accessor
9723 * lyx_main.C: some minor cleanup
9725 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9727 * BufferView_pimpl.h:
9728 * BufferView_pimpl.C: remove enter/leaveView,
9731 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9736 * BufferView_pimpl.h:
9737 * BufferView_pimpl.C: only construct screen once,
9740 * lyxrc.C: remove pointless comment
9742 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9745 * BufferView.C: remove active() and belowMouse()
9747 * BufferView_pimpl.h:
9748 * BufferView_pimpl.C: use workarea() not workarea_,
9749 and make it use a scoped_ptr instead
9751 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9753 * lyx_gui.C: add debug message on BadWindow
9755 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9757 * sp_spell.C: fdopen is not part of the C++ standard.
9759 * paragraph.C (InsetIterator): use >= instead of ==
9761 2002-06-07 Angus Leeming <leeming@lyx.org>
9763 Fixes needed to compile with Compaq cxx 6.5.
9764 * BufferView_pimpl.C:
9771 * lyxtextclasslist.C:
9776 all c-library variables have been moved into namespace std. Wrap
9777 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9782 Add a using std::abs declaration.
9784 * kbmap.h (modifier_pair):
9785 * paragraph.h (InsetTable, InsetList):
9786 * lyxfont.h (FontBits):
9787 type definition made public.
9789 * bufferlist.C (emergencyWriteAll): the compiler complains that
9790 there is more than one possible lyx::class_fun template to choose from.
9791 I re-named the void specialisation as lyx::void_class_fun.
9793 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9795 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9796 the compiler is is unable to find tostr in write_attribute.
9798 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9800 * buffer.C (sgmlError): hide #warning
9802 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * xtl/*: get rid of xtl, which is not in use anyway
9806 * LyXAction.C (init):
9807 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9808 were unimplemented xtl experimentation
9810 2002-06-04 André Pönitz <poenitz@gmx.net>
9812 * lyxfunc.C: disable array operation on simple formulae
9814 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9816 * converter.C: constify a bit
9818 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9820 * lyx_gui.C: check xforms version correctly
9822 2002-04-30 Herbert Voss <voss@lyx.org>
9824 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9827 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9829 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9830 attempt to register it with a VCS)
9832 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9834 * lyx_main.C (init): honor variables LYX_DIR_13x and
9837 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9841 * lyx_main.C: fix a crash on bad command line,
9842 and give a useful exit status on error
9844 * lyxfunc.C (doImport): allow -i lyx to work
9846 2002-03-30 André Pönitz <poenitz@gmx.net>
9848 * lyxfunc.C: mathed font changes
9850 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9865 * trans_mgr.h: srcdocs, and some minor cleanups
9867 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9869 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9870 call getFont all the time)
9872 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9874 * switch from SigC signals to boost::signals
9876 2002-05-29 André Pönitz <poenitz@gmx.net>
9878 * paragraph_pimpl.C (getChar): don't call size() too often...
9880 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9882 * paragraph_pimpl.C (insertChar): do not try to update tables when
9883 appending (pos == size())
9885 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9886 in order to reduce drastically the number of comparisons needed to
9887 parse a large document
9889 2002-05-29 André Pönitz <poenitz@gmx.net>
9895 * textclasslist.[Ch]:
9896 * sp_ispell.h: whitespace change
9898 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9900 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9901 lyxaction directly now.
9903 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9907 * lyxvc.C: remove unused headers
9909 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9916 * undo_funcs.C: some cleanups. Use shared_ptr
9917 and a template for the undo stacks.
9919 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9921 * BufferView_pimpl.h:
9922 * BufferView_pimpl.C:
9929 * text2.C: use key_state/mouse_state
9931 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9936 * chset.C: change include order
9937 (loadFile): use boost regex and get rid of LRegex and LSubstring
9939 * Makefile.am (BOOST_LIBS): new variable
9942 * LaTeX.C: change include order.
9943 (scanAuxFile): use boost regex and get rid of LRegex and
9947 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9952 * FontInfo.C: moved to frontends/xforms/
9955 * FontLoader.C: moved into frontends for GUIIzation
9960 * lyxfunc.C: changes from above
9962 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9964 * LColor.C: remove spurious X include
9966 * BufferView_pimpl.C:
9971 * text2.C: move font metrics to frontends/
9973 2002-05-24 Juergen Vigna <jug@sad.it>
9975 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9976 setting the undo_cursor.
9978 * ParagraphParameters.h: include local includes first.
9980 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9982 * BufferView_pimpl.C:
9983 * BufferView_pimpl.h:
9987 * screen.C: move WorkArea into frontends/
9993 * BufferView2.C: move LyXScreen into frontends/
9997 * lyx_gui.C: move lyxlookup into frontends/xforms/
9999 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10002 * BufferView_pimpl.C:
10012 * bufferview_funcs.C:
10025 * vc-backend.C: move LyX/XFormsView into frontends/
10027 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10039 * text2.C: move Painter to frontends/
10041 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * buffer.C: comment out some some code that depend upon lyx_format
10046 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10047 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10049 * buffer.h (NO_COMPABILITY): turn off compability
10051 * ColorHandler.C: include scoped_array.hpp
10053 * font.C: Use more specific smart_ptr header.
10056 * ShareContainer.h: ditto
10057 * lyx_main.h: ditto
10059 * FontInfo.h: ditto
10060 * BufferView_pimpl.h: ditto
10061 * ColorHandler.h: ditto
10063 * kbmap.C (defkey): change call to shared_ptr::reset
10065 2002-05-21 Juergen Vigna <jug@sad.it>
10067 * buffer.C (insertErtContents): fix to insert ert asis if it is
10068 non empty. Skip it completely if it contains only whitespaces.
10070 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10072 * BufferView_pimpl.C:
10073 * BufferView2.C: clear selection on paste (bug 393)
10075 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10077 * DepTable.C: include ctime
10079 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10081 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10083 2002-05-14 Juergen Vigna <jug@sad.it>
10085 * text.C (breakParagraph): fixed function to honor the keepempty
10086 layout in the right maner and also to permit the right breaking
10087 algorithm on empty or non empyt keepempty paragraphs.
10089 * paragraph.C (breakParagraph): we have to check also if the par
10090 is really empty (!size()) for isempty otherwise we do the wrong
10093 2002-05-10 Juergen Vigna <jug@sad.it>
10095 * buffer.[Ch] : The following are only changes to the ert
10096 compatibility read reading old LaTeX layout and font stuff and
10097 convert it to ERTInsets.
10099 * buffer.h: added isErtInset().
10101 * buffer.C (struct ErtComp): add a fromlayout bool to check
10102 if we're inside a LaTeX layout.
10103 (isErtInset): new helper function.
10104 (insertErtContents): look for other ert insets before this one
10105 and insert the contents there, so that we don't have subsequent
10106 ERT insets with nothing between them. This way we create only one
10107 inset with multiple paragraphs. Also check if we don't insert only
10108 spaces ' ' as they are ignored anyway afterwards in the .tex file
10109 so if we have only spaces we will ignore this latex part in the
10111 (parseSingleLyXformat2Token \\layout): better compatibility when
10112 reading layout-latex stuff.
10113 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10115 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10116 stuff after reading the inset only get the information back from
10119 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10121 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10123 * LaTeXFeatures.C (getBabelOptions): New method.
10125 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10127 * BufferView_pimpl.C (Dispatch): work around missing argument for
10130 2002-05-08 Juergen Vigna <jug@sad.it>
10132 * text.C (leftMargin): handle paragraph leftindent.
10134 * paragraph.C (writeFile): write the new \\leftindent tag.
10135 (validate): handle leftindent code.
10136 (TeXEnvironment): handle paragraphleftindent code again.
10138 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10140 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10141 for paragrap_extra indent code and new token \\leftindent.
10142 (latexParagraphs): handle the leftindent as environment.
10144 * ParameterStruct.h: added leftindent support.
10146 * ParagraphParameters.C (leftIndent): added support functions for
10147 the paragraph left indent.
10149 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10152 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10154 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10157 * text.C (computeBidiTables): No bidi in insetERT.
10159 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10162 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10164 * version.C.in: pre 5
10166 2002-05-02 José Matos <jamatos@fep.up.pt>
10167 * buffer.C (makeDocBookFile): white space changes, add newline to
10169 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10171 * tabular.C (docBook): fix typo.
10173 2002-05-03 Juergen Vigna <jug@sad.it>
10175 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10176 change in LyXText as we can not be sure it was not freed.
10177 (drawOneRow): remove unused code.
10179 * text.C (drawInset): redo the calculation of the need_break_row as
10180 it could have a row which was already freed.
10181 (draw): look at the return value of drawInset and return false if
10182 it also returned false.
10183 (paintRowText): look at the return value of draw and return false if
10184 it also returned false.
10186 * lyxtext.h: added bool return type to drawInset() and draw() so that
10187 if we have a change in the row so that the rowbreak has to be redone
10188 we abort drawing as it will be called again.
10190 2002-05-02 Juergen Vigna <jug@sad.it>
10192 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10193 a change in the maintext also if we're inside an inset.
10194 (Dispatch): set the cursor again after a break line and after the
10195 screen has been updated as it could be we're in a different row.
10197 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10198 to set the cursor behind the pargraph with > size().
10199 (setCursor): check also for the same paragraph when checking where
10200 to put the cursor if we have a NFR inset.
10202 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10203 parts of layout read further up as it still was in the wrong
10206 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10208 * screen.C (drawFromTo): change sine fullRebreak always return
10211 * buffer.C (parseSingleLyXformat2Token): reindent some
10213 * BufferView_pimpl.C (update): change since fullRebreak always
10215 (Dispatch): git rid of the last hardcoded "Standard"s.
10217 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10219 * text2.[Ch] (fullRebreak): make it return void now that we always
10222 2002-04-30 Juergen Vigna <jug@sad.it>
10224 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10225 ert compatibility check for "latex" layout.
10227 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10229 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10230 minipages: use col% instead of p%, and also use the current font.
10231 (makeLaTeXFile): Fix use babel condition.
10232 (parseSingleLyXformat2Token): Correct font when reading old floats.
10234 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10236 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10237 inserting list of floats.
10239 2002-04-25 Herbert Voss <voss@lyx.org>
10241 * MenuBackend.C (expand): don't add the graphics extensions to the
10244 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10246 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10247 non-existing layout, do not complain if it was the default layout
10248 of the original class (bug #342)
10250 2002-04-24 Juergen Vigna <jug@sad.it>
10252 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10253 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10255 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10257 * buffer.C (getBibkeyList): If using \bibliography, return the
10258 option field with the reference itself. Enables us to provide natbib
10259 support when using \bibliography.
10261 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10263 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10265 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10266 natbib is provided by the LaTeX class.
10268 2002-04-23 Juergen Vigna <jug@sad.it>
10270 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10273 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10275 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10277 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10279 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10280 ensuremath around textordmasculine, textordfeminine and
10283 2002-04-19 Juergen Vigna <jug@sad.it>
10285 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10286 reinitializing the buffer otherwise row-dimensions may be wrong.
10287 (update): reset also the selection cursors if they do exits otherwise
10288 their x/y positions may be wrong.
10290 * text2.C (cursorDown): don't enter the inset if we came from a row
10291 above and are one row over the inset.
10293 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10294 really leaving an inset.
10296 2002-04-18 Juergen Vigna <jug@sad.it>
10298 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10299 of the selected paragraph does not have the selected layout also if
10302 * text2.C (setLayout): fixed bug which did not change last selected
10305 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10306 changed the read and substituted \\end_float with \\end_inset!
10308 * BufferView_pimpl.C (cursorPrevious):
10309 (cursorNext): fixed to make it work with rows heigher than the work
10310 area without moving the cursor only the draw of the row.
10311 (workAreaMotionNotify): fix jumping over high rows.
10313 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10315 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10318 2002-04-16 Juergen Vigna <jug@sad.it>
10320 * text2.C (setCursor): set also the irow().
10321 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10323 (cursorDown): support for locking an inset if the x_fix value goes
10324 inside it. That way I can transverse insets too with cursor up/down.
10326 * lyxrow.h: added irow helper function same as other (i) functions.
10328 * BufferView_pimpl.C (cursorPrevious):
10329 (cursorNext): fixed for insets!
10331 2002-04-15 Juergen Vigna <jug@sad.it>
10333 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10334 position otherwise it is wrong in some cases.
10336 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10337 inside the inset before the call.
10339 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10341 * buffer.[Ch] (getBibkeyList): make it const.
10343 2002-04-12 Juergen Vigna <jug@sad.it>
10345 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10347 * text2.C (getCursorX): new helper function
10348 (setCursor): compute also ix_
10349 (setCursorFromCoordinates): set also ix.
10351 * lyxcursor.h: added ix_ and helper functions.
10353 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10355 * buffer.C (insertStringAsLines): dont break paragraph if the this
10356 paragraph is inside an inset which does not permit it!
10358 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10359 also with no chars on this paragraph.
10360 (paintRowText): only paint stuff if it's inside the workarea!
10362 * paragraph.C (breakParagraph): honor keepempty flag and break the
10363 paragraph always below not above.
10365 * BufferView2.C (unlockInset): update the paragraph layout on inset
10366 unlock as we changed paragraph in such a case.
10368 * lyxfind.C (LyXFind): clear the former selection if not found!
10370 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10371 again called in insertChar().
10373 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10374 an inset which uses the whole row!
10375 (rightMargin): ditto.
10376 (insertChar): force a rebreak if we inserted an inset!
10378 2002-03-28 Herbert Voss <voss@lyx.org>
10380 * lyxlength.[Ch]: add inBP() to get the right PS-point
10381 units (BigPoint). With inPixels we have rounding errors
10383 2002-04-11 Juergen Vigna <jug@sad.it>
10385 * text2.C (setCursorFromCoordinates): set iy to the right value.
10386 (setCursor): add check if row->previous exists!
10388 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10389 an old float_type as this was the case in the old code!
10391 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10393 * BufferView2.C (showLockedInsetCursor): use iy
10394 (fitLockedInsetCursor): ditto
10396 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10397 locked insets as there we have the right value now.
10399 * lyxcursor.C: added iy_ variable and iy functions to set to the
10400 baseline of cursor-y of the locked inset.
10402 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10403 (setCursor): fixed for insets which need a full row.
10405 * text.C (rowLastPrintable): don't ignore the last space when before
10406 an inset which needs a full row.
10407 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10408 as last character of a row when before a inset which needs a full row.
10410 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10412 * version.C.in: update date
10414 * text2.C (fullRebreak): try to always return true and see what
10417 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10419 * MenuBackend.C (expand): use Floating::listName
10421 * FloatList.C (FloatList): add listName argument to the built-in
10424 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10425 text associated with the float.
10427 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10429 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10431 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10433 * ShareContainer.h: add a couple of missing typenames.
10435 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10437 * lyxrc.C (getDescription): use _() correctly rather than N_().
10439 2002-03-28 Herbert Voss <voss@lyx.org>
10441 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10442 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10444 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10446 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10447 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10449 2002-03-29 Juergen Vigna <jug@sad.it>
10451 * lyxfunc.C (dispatch): add a missing fitCursor call.
10453 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10454 it was scrolled by a cursor move, so return the bool status.
10456 * BufferView.C (fitCursor): return the bool flag also to the outside
10457 world as this is needed.
10459 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10461 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10462 call the edit() as it is not needed (and wrong) IMO.
10463 (workAreaButtonPress): set the screen_first variable before evt.
10464 unlock the inset as this may change screen_first and then we have
10465 a wrong y position for the click!
10467 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10469 * MenuBackend.C (expand): another translation that I missed
10471 2002-03-28 Juergen Vigna <jug@sad.it>
10473 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10475 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10477 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10479 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10481 * MenuBackend.C (expand): fix export/view/update when there is no
10484 2002-03-27 Herbert Voss <voss@lyx.org>
10486 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10489 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10491 * bufferview_funcs.C (currentState): only show paragraph number
10492 for is DEVEL_VERSION is set.
10494 * lyxfunc.C (dispatch): put warning in INFO channel
10496 * MenuBackend.C (expand): translate the name of floats
10498 * FloatList.C (FloatList): mark the float names for translation
10500 * converter.C (convert): use LibScriptSearch
10502 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * MenuBackend.C (defaults): fix default menu (we might as well get
10507 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10509 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10512 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10514 * lyxvc.C: reorder includes.
10516 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10518 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10521 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10523 * CutAndPaste.C: change layouts earlier on paste
10524 to avoid crashing when calling getFont()
10526 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10528 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10531 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10533 * WorkArea.C: remove 'Pending' debug message.
10535 * most files: ws cleanup
10537 * buffer.[Ch]: ws changes
10539 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10541 2002-03-21 Juergen Vigna <jug@sad.it>
10543 * tabular.C (SetMultiColumn): collapse also the contents of the
10544 cells and set the last border right. Added a Buffer const * param.
10546 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10548 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10551 2002-03-19 Juergen Vigna <jug@sad.it>
10553 * text2.C (clearSelection): reset also xsel_cache.
10555 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10556 where it needs to be called (John tells us to do so too :)
10557 (selectionLost): reset sel_cache.
10559 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10561 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10563 * text2.C (setCursorIntern): put debuging code in INSETS channel
10565 2002-03-19 André Pönitz <poenitz@gmx.net>
10567 * lyxfunc.C: tiny whitespace change
10569 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10571 * ToolbarDefaults.C (init):
10572 * LyXAction.C (init):
10574 * BufferView_pimpl.C (Dispatch):
10575 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10577 2002-03-19 Allan Rae <rae@lyx.org>
10579 * exporter.C (Export): removeAutoInsets before doing anything else.
10580 While I've just introduced a dependency on BufferView this really is
10581 the best place to clean the buffer otherwise you need to cleanup in
10582 a dozen places before calling export or cleanup in a dozen functions
10585 * converter.C (runLaTeX):
10586 (scanLog): Better handling of removeAutoInsets and screen updates.
10588 * lyxfunc.C (dispatch): small whitespace changes
10590 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10592 * WorkArea.C (C_WorkAreaEvent): return a value.
10593 (event_cb): return 1 if we handled the event, 0 otherwise.
10595 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10597 2002-03-18 Juergen Vigna <jug@sad.it>
10599 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10600 (GetAdditionalWidth): ditto.
10601 (RightLine): ditto.
10604 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10605 inset if we're there actually (probably not used right now but this
10606 is the direction to go for unifying code).
10607 (paste): disable code to clear the selection.
10609 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10610 inside an InsetText and move the check further up as it is in the
10613 * text2.C (pasteSelection): set a selection over the pasted text.
10615 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10617 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10618 and libgraphics to build on Cygwin.
10620 2002-03-15 Juergen Vigna <jug@sad.it>
10622 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10623 inserting an Inset into the paragraph. I know this is not the best
10624 fix but we already use current_view in CutAndPaste so we will remove
10625 all of it's using at the same time.
10627 * buffer.C (sgmlError): deactivated function till it is rewritten in
10628 the right mode, now it can create problems.
10630 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10631 before accessing it.
10633 2002-03-14 Juergen Vigna <jug@sad.it>
10635 * undo_funcs.C (textHandleUndo): do the right thing when updating
10636 the inset after the undo/redo.
10638 * text2.C (setCursor): just some testcode for #44 not ready yet.
10640 * undo_funcs.C (textHandleUndo): set the next() and previous()
10641 pointers of the paragraph to 0 before deleting otherwise we have
10642 problems with the Paragraph::[destructor].
10644 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10645 on a paragraph insertion.
10647 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10649 * buffer.C (asciiParagraph): use += operator for char append to
10652 * paragraph.C (getFontSettings): compare >= not just >
10653 (highestFontInRange): ditto
10656 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10658 * paragraph.C: change several algorithm to be more appripriate for
10659 the problem domain. This is lookip in FontList and in the InsetList.
10661 2002-03-13 André Pönitz <poenitz@gmx.net>
10664 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10666 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10671 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10673 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10675 * Painter.C (display): anon helper function, adjust code for this
10677 (pixmap): remove function.
10679 * Painter.h: remove private display variable.
10681 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10683 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10685 * WorkArea.[Ch]: remove figinset_canvas cruft.
10687 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10689 * lyxtextclass.C (operator): add one item cache optimization.
10691 * bufferlist.h: doxy changes
10693 * bufferlist.C: ws changes
10695 * DepTable.[Ch] (ext_exist): place const in the right spot.
10697 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10699 (workAreaExpose): call resizeInsets when the with BufferView changes.
10700 (Dispatch): adjust for protectedBlank removal
10701 (specialChar): call updateInset if the insert went ok.
10703 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10704 specialChar instead.
10706 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10708 * BufferView.h: doxy change
10710 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10712 * lyxtextclass.C (operator[]): remove non-const version
10713 (defaultLayout): remove non-const version
10715 2002-03-12 Juergen Vigna <jug@sad.it>
10717 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10718 did resize the LyXText too.
10720 * buffer.C (readLyXformat2): set layout information on newly allocated
10723 * tabular.C (OldFormatRead): set layout information on the paragraph.
10725 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10727 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10729 2002-03-11 Juergen Vigna <jug@sad.it>
10731 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10733 (resizeCurrentBuffer): force also the insets to resize themselfes.
10734 (moveCursorUpdate): fixed up for InsetText.
10736 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10739 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10740 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10741 value of Dialogs::tooltipsEnabled().
10742 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10744 2002-03-08 Juergen Vigna <jug@sad.it>
10746 * BufferView_pimpl.C (updateInset): update inset inside inset also
10747 if it isn't inside theLockingInset().
10749 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * buffer.C (asciiParagraph): redo some of the word and line length
10753 (getLists): look for Caption instead of caption.
10755 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10757 * buffer.C (Buffer): initialize niceFile to true
10759 (makeLinuxDocFile):
10760 (makeDocBookFile): make sure niceFile is true on exit
10762 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10764 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10766 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10768 * LyXSendto.C: remove.
10769 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10770 * lyx_gui.C: remove now-redundant comment.
10771 * ColorHandler.h: remove forward declaration of class WorkArea.
10772 * lyxfunc.C: remove #include "WorkArea.h".
10774 2002-03-07 Juergen Vigna <jug@sad.it>
10776 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10777 got moved away with the DEPM and also set the inset_owner always
10778 right which before could have been omitted.
10780 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10782 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10783 wanted layout is not found.
10785 2002-03-07 Juergen Vigna <jug@sad.it>
10787 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10789 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10791 * paragraph.C (breakParagraph): use default layout not layout of
10793 (Paragraph): clear ParagraphParameters.
10795 2002-03-06 Juergen Vigna <jug@sad.it>
10797 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10798 otherwise it would not be a valid lenght. Fixed a special case in
10799 the minipage compatibility read where we end the document with a
10802 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10803 was set as it could be 0 for InsetTexts first entry.
10805 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * paragraph.C (writeFile): if layout is empty write out
10808 defaultLayoutName().
10810 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10811 file without named layout we set layout to defaultLayoutName().
10813 2002-03-06 Juergen Vigna <jug@sad.it>
10815 * CutAndPaste.C (copySelection): set layout for new paragraph.
10817 * text.C (prepareToPrint): leave ERT inset left aligned
10818 (leftMargin): don't indent paragraphs inside ERT insets
10820 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10822 * paragraph.C (breakParagraph): dont call clear do the work manually
10824 * paragraph.[Ch] (clear): remove function
10826 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10828 * paragraph.C (Paragraph): dont call clear, the work has already
10831 * lyxtextclass.C (operator): assert if n is empty
10833 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10834 work manually instead.
10836 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10838 * BufferView_pimpl.C: protect selectionLost against text == 0
10840 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10842 * text.C (breakParagraph): fix a setting layout to '0' problem.
10844 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10846 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10847 final location of file, for the included files, and graphics.
10849 2002-03-05 Juergen Vigna <jug@sad.it>
10851 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10853 2002-03-04 Juergen Vigna <jug@sad.it>
10855 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10857 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10858 last column of multicolumn cells.
10859 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10861 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10863 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10864 file if it doesn't go to a temporary file.
10866 * buffer.C (sgmlOpenTag):
10867 (sgmlCloseTag): remove extra newline insertion.
10869 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10871 * text.C (getRowNearY): comment out debug msg
10873 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10875 * text2.C: first -> first_y
10877 * text.C (getRowNearY): add some attemts at a possible
10878 optimization, not working.
10880 * tabular.[Ch]: add BufferParams to several function so that newly
10881 created paragraph can be initialized to he default layotu for the
10884 * tabular-old.C (ReadOld): add buf->params to call of Init
10886 * screen.C: rename text->first to text->first_y
10888 * paragraph.C (breakParagraph): always set layout in the broken
10891 * lyxtextclass.C (Read): remove lowercase
10894 (delete_layout): ditto
10896 * lyxtext.h: rename first -> first_y
10898 * lyxlayout.C (Read): remove lowercase
10901 (obsoleted_by): ditto
10903 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10905 * buffer.C (insertErtContents): add params are to InsetERT
10906 (parseSingleLyXformat2Token): add code to check if a paragraphs
10907 layout really exist.
10908 (parseSingleLyXformat2Token): add params to several inset
10910 (asciiParagraph): remove lowercase, do the layout comparisons with
10913 * BufferView_pimpl.C (cursorNext): first -> first_y
10914 (resizeCurrentBuffer): first -> first_y
10915 (updateScrollbar): first -> first_y
10916 (scrollCB): first -> first_y
10917 (workAreaMotionNotify): first -> first_y
10918 (workAreaButtonPress): first -> first_y
10919 (checkInsetHit): first -> first_y
10920 (cursorPrevious): first -> first_y
10921 (cursorNext): first -> first_y
10922 (Dispatch): add buffer_->params to severl inset contructors
10924 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10926 * lyxlayout.C (Read): remove some debug info that I forgot.
10928 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10929 clean up the code slightly.
10930 (makeLinuxDocFile): ditto
10931 (makeDocBookFile): ditto
10933 * text2.C: layout as string
10935 * text.C: layout as string
10937 * paragraph_pimpl.C: layout as string
10939 * paragraph.[Ch]: layout as string
10941 * lyxtextclasslist.[Ch]: layout as string
10943 * lyxtextclass.[Ch]: layout as string
10945 * lyxtext.h: layout as string
10947 * lyxlayout.[Ch]: layout as string
10949 * lyx_cb.C: layout as string
10951 * bufferview_funcs.C: layout as string
10953 * bufferparams.C: layout as string
10955 * buffer.C: layout as string
10957 * LyXView.[Ch]: layout as string
10959 * LaTeXFeatures.[Ch]: layout as string
10961 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10963 * BufferView_pimpl.C: change current_layout to string, remove
10968 (workAreaButtonRelease): layout as string
10970 * BufferView2.C (unlockInset): adjust
10972 * vspace.C (asLatexCommand): use an explict temp variable.
10974 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10976 * Makefile.am: use FRONTEND_*
10978 2002-03-01 Juergen Vigna <jug@sad.it>
10980 * tabular.C (SetWidthOfMulticolCell): changed to something better
10981 I hope but still work in progress.
10982 (recalculateMulticolumnsOfColumn): renamed function from
10983 recalculateMulticolCells as it is more appropriate now.
10984 (SetWidthOfCell): calculate multicols better.
10986 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10988 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10990 * lyxfunc.C (processKeySym): print sequence also if it is
10991 `deleted' (complete)
10993 * kbsequence.C (print): print sequence even if it is deleted
10994 (complete would be a better word, actually).
10996 * lyxfunc.C (dispatch): print complete options after a prefix key
10998 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11000 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11002 * text2.C (setCharFont): eliminate setCharFont code duplication.
11004 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11006 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11007 LFUN_TABULAR_FEATURE (bug #177)
11009 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11011 * Makefile.am: remove figure.h
11013 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11015 * Bufferview_pimpl.C:
11027 * text2.C: remove #include "lyx_gui_misc.h".
11029 * LaTeX.C: added #include <cstdio>
11031 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11033 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11034 that the paragraph following this one can have.
11036 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11038 * vspace.C (asLatexCommand): fix bogus gcc warning
11040 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11042 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11044 * text2.C (setLayout): get rid of redundant code
11046 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11048 * text2.C (incDepth): make sure depth cannot be increased beyond
11051 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11053 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11054 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11056 * PainterBase.h (image):
11057 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11058 a LyXImage const *.
11060 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11064 * BufferView_pimpl.C:
11065 * BufferView_pimpl.h:
11085 * sp_spell.C: remove fig inset, and the crap house of
11086 cards that follows it
11088 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11093 * os2_errortable.h:
11094 * nt_defines.h: move .h into support/
11096 * vms_defines.h: remove
11098 * WorkArea.C: add space in debug output
11102 * buffer.C: add WITH_WARNINGS
11106 * bufferlist.C: s/retrive/retrieve/, add docs
11115 * chset.C: add docs
11117 * lyxgui.C: add ID to X error handler
11119 * lyxtestclass.c: fix typo
11121 2002-02-26 Juergen Vigna <jug@sad.it>
11123 * tabular_funcs.C (write_attribute): changed so that some default
11124 attributes are not written at all.
11125 (getTokenValue): set default values before trying to read the
11126 value so we have the return value always set as default if we don't
11127 find the token we search for.
11129 * tabular.C (Write): write bools as bools not as strings!
11131 2002-02-22 Juergen Vigna <jug@sad.it>
11133 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11134 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11136 * text.C (leftMargin): don't add an indent for paragraphs inside
11137 tabular cells (fix #208).
11139 2002-02-21 José Matos <jamatos@fep.up.pt>
11141 * tabular.C (docBook): fixed support for long tables.
11143 2002-02-20 Juergen Vigna <jug@sad.it>
11145 * text2.C (getFont): get the drawing font of the Inset if this
11146 paragraph is inside an inset (only important for InsetERT for now).
11148 * buffer.C (insertErtContents): use new lanugage params in ERT
11151 * CutAndPaste.C: commenting out seemingly uneeded code.
11153 2002-02-19 Allan Rae <rae@lyx.org>
11155 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11156 Iterators might be simple to use but they also get invalidated.
11157 (removeAutoInsets): renamed saved cursor tracking variables and added
11158 some comments to clarify what everything does.
11160 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11167 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11168 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11171 * vc-backend.h: remove #include "support/syscall.h"
11175 * converter.C: rearrange #includes in Lars' approved fashion.
11177 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11178 forward declare class Timeout in the header file.
11180 * XFormsView.C: changes due to the above.
11182 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11183 similar to LyXView.
11185 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11186 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11188 2002-02-18 José Matos <jamatos@fep.up.pt>
11190 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11193 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11195 * a lot of small ws changes
11196 * add a lot of using std::XXX
11197 * use std construcs some places where approp.
11198 * use some exisint stuff from lyxfunctional where approp.
11199 * Make file changes to use partial linking (lets test this now...)
11201 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11205 remove #include "support/syscontr.h" as it's redundant. Always has been.
11213 change Systemcalls::System to Systemcalls::Wait and
11214 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11215 No change of functionality, just reflects the stripped down Systemcalls
11218 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11220 * debug.[Ch]: add a GRAPHICS type to the enum.
11222 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11224 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11226 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11229 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11231 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11232 match the changes below.
11234 * text2.C (toggleInset): if there is not editable inset at cursor
11235 position, try to see if cursor is _inside_ a collapsable inset
11238 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11240 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11241 document menu has a nice checkbox
11243 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11245 * lyxlength.C (asLatexString): change PW to output as percent of
11248 * lengthcommon.C: change '%' to 't%'
11250 * lyxfunc.C (dispatch): a few comments from Martin
11252 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11256 * BufferView_pimpl.h:
11257 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11260 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11262 * vspace.C (inPixels): fix compiler warning
11264 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11266 * lyxfunc.C (getStatus): fix status message for disabled commands.
11268 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11270 * BufferView_pimpl.C: fix crash on close buffer
11271 during selection (#227)
11273 2002-01-27 Herbert Voss <voss@lyx.org>
11275 * buffer.C: link old Figure to new graphic inset
11277 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11279 * FontLoader.C (getFontinfo): Change the latex font names in order
11280 to match the names of type1inst.
11282 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11284 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11286 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11287 (extchanged): ditto
11289 (remove_files_with_extension): ditto
11290 (remove_file): ditto
11293 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11294 document is smaller than the work area height. Do not initialize
11295 static variables to 0.
11297 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11299 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11301 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11302 LFUN_LAYOUT_PARAGRAPHS.
11304 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11305 tabular. It is possible to provide a possible cell, which will
11306 typically be the actcell from the corresponding insettabular
11308 * lyxfunc.C (getStatus): small cleanup; disable
11309 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11312 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11314 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11316 * paragraph.C (startTeXParParams):
11317 (endTeXParParams): new methods. The LaTeX code to
11318 start/end paragraph formatting
11319 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11320 empty (fixes bug #200)
11322 * vspace.C (inPixels): adapt to the change below
11323 (inPixels): [later] more cleanups (remove unused variables)
11325 * lyxlength.C (inPixels): change to use a width and a height as
11328 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11330 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11331 Replaced with \paperwidth
11333 * DepTable.C (insert): add std:: qualifier
11335 2002-01-18 Allan Rae <rae@lyx.org>
11337 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11340 * text.C (drawInset): Turned out I didn't know enough about how
11341 rebreaking worked. This fixes most of the redraw problems. I see
11342 an occasional cursor trail when a line is broken now and the cursor
11343 placement can seem out by a few pixels also after a rebreak.
11345 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11347 * buffer.C (parseSingleLyXformat2Token): update because minipage
11348 width is now a LyXLength
11350 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11352 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11355 2002-01-17 Juergen Vigna <jug@sad.it>
11357 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11359 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11360 is set correctly and the inset is updated correctly.
11362 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11364 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11365 the beginning of the loop.
11367 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11369 * lyxrc.C: improve help for use_scalable_fonts
11371 2002-01-17 Allan Rae <rae@lyx.org>
11373 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11375 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11377 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11378 make sure to set their inset_owner to the right value (bug #171)
11380 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11383 * DepTable.C: Implement mtime checking to reduce time spent doing
11386 2002-01-16 Juergen Vigna <jug@sad.it>
11388 * tabular.C (GetAdditionalHeight): one of error fixed.
11390 * lyxrc.C (output): small fix in writing use_pspell.
11392 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11394 * sp_base.h: #include LString.h
11396 2002-01-16 Allan Rae <rae@lyx.org>
11398 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11399 Can someone check this please?
11401 * text.C (drawInset): It was possible that p.row would be removed by
11402 breakAgainOneRow upsetting a few other settings. There may be another
11403 small tweak possible by setting need_break_row = 0 when p.row has been
11404 removed but I don't know enough about the logic here.
11406 2002-01-15 Allan Rae <rae@lyx.org>
11408 * text.C (insertChar): removed conditional truism.
11410 * BufferView2.C (removeAutoInsets): More tweaks.
11411 cur_par_prev could be a stray pointer. Check for trailing empty line
11412 in case last line was cur_par and only had an error inset on it.
11414 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11416 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11419 * vc-backend.C (most methods):
11420 * exporter.C (Export):
11421 * converter.C (convert):
11423 * LyXSendto.C (SendtoApplyCB):
11424 * lyxfunc.C (dispatch):
11428 * lyx_cb.C (AutoSave):
11430 * BufferView_pimpl.C (MenuInsertLyXFile):
11431 * buffer.C (runChktex): use Buffer::filePath().
11433 * buffer.h: rename filename to filename_; rename filepath to
11434 filepath_ and make it private
11435 (filePath): new method
11437 * buffer.C (writeFile): use fileName()
11440 * lyx_main.C (init): fix starting of LyX when the binary is a
11441 link from so,ewhere else.
11443 * minibuffer.C: include <cctype> for isprint
11445 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11447 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11448 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11449 name clash with InsetCollapsable's width function.
11451 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11453 * lastfiles.C: include <iterator>
11455 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11457 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11460 * buffer.C (makeLaTeXFile): ditto.
11461 Also make loop operation more transparent.
11463 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11465 * ToolbarDefaults.C: remove trailing comma closing namespace.
11467 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11469 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11472 * trans.C (Load): comment out unused variable, allowed.
11474 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11476 * minibuffer.[Ch] (append_char): new method to recieve input from the
11477 drop-down completion browser. If a key was pressed, then recieve this
11478 char and append it to the existing string.
11479 (peek_event): modify the positioning data passed to the completion
11480 browser so that it can be placed above the minibuffer rather than below.
11481 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11483 * LyXAction.C (init): alloe error-next for readonly documents.
11485 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11488 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11490 * bufferlist.C (readFile): create the buffer _after_ checking that
11493 * lyxfunc.C (verboseDispatch): fix handling of arguments
11495 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11497 * lyxrc.C: use string::erase() instead of initializing to "".
11500 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11502 * BufferView_pimpl.h:
11503 * BufferView_pimpl.C:
11506 * text2.C: tell X when we have made a selection for copying
11508 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11510 * BufferView_pimpl.C (MenuInsertLyXFile):
11511 * lyxfunc.C (menuNew):
11513 (doImport): add shortcuts to directory buttons
11515 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11518 * lyxfunc.C (setStatusMessage):
11519 (getStatusMessage): new methods
11520 (getStatus):use setStatusMessage instead of setErrorMessage
11521 (dispatch): when function is disabled, set error message here
11522 [instead of in getStatus previously]
11524 * BufferView_pimpl.C (workAreaButtonRelease): update
11525 toolbar/menubar here too.
11527 2002-01-13 Allan Rae <rae@lyx.org>
11529 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11530 Now seems indestructible. Remaining task is to audit all other
11531 code affected by deleteEmptyParagraphMechanism. One small quirk
11532 left is that an empty document with an error in the preamble can
11533 be made to report an error but no error box appears. I don't know
11535 (removeAutoInsets): Improved comments.
11537 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11540 * Thesaurus.C: update for Aiksaurus 0.14
11542 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11544 * text2.C (firstParagraph): removed member function, all uses
11545 replaces with ownerParagraph
11546 (redoParagraphs): here
11547 (updateInset): here
11548 (toggleAppendix): here
11549 * BufferView2.C (insertErrors): here
11550 (setCursorFromRow): here
11552 2002-01-13 Allan Rae <rae@lyx.org>
11554 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11555 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11556 There is still a way to segfault this although you may have to do this
11557 multiple times: Have an InsetERT with an unknown command in it.
11558 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11559 <down-arrow>, <Enter> again, View->DVI, BANG!
11561 * text2.C (setCursor):
11562 (deleteEmptyParagraphMechanism):
11563 * lyxtext.h (setCursor):
11564 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11565 Making use of the return value may help fix other bugs.
11567 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11569 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11571 * LyXView.C (updateMenubar): call MenuBar::update here
11572 (updateToolbar): but not here
11573 (showState): do not update toolbar/menubar
11575 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11576 should need to care about that.
11578 * lyxfunc.C (verboseDispatch): simplify a bit
11579 (getStatus): have a version which takes a pseudoaction, and
11580 another which requires a (kb_action,string).
11582 * LyXAction.C (retrieveActionArg): make it work also when action
11583 is not a pseudo-action.
11584 (getActionName): simplify a bit
11587 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11589 * lyxfunc.C (verboseDispatch): new families of methods with
11590 several ways to specify a command and a bool to indicate whether
11591 the command name and shortcut should be displayed in minibuffer
11592 (eventually, we could extend that to a finer bitmask like
11593 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11594 (dispatch): the pristine dispatch command which just, well,
11595 dispatchs! Note it still sets its result to minibuffer; I'm not
11598 * lyxfunc.h: remove setHintMessage
11600 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11602 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11604 * BufferView_pimpl.C (specialChar): delete new inset if we have
11605 not been able to insert it.
11607 * kbmap.C: revert to using int instead of kb_action, since all we
11608 are dealing with is pseudo-actions.
11610 * LyXAction.C (searchActionArg): change to return int instead of
11611 kb_action, since the result is a pseudoaction.
11613 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11615 * buffer.C (insertErtContents): Fix (partially) the font bug.
11617 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11619 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11620 as the other one is broken on my machine!
11622 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11625 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11627 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11629 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11630 reflect their actual use. Provide compatibility code for older lyxrc
11633 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11635 change names of popup font variables in line with the changes to lyxrc.C
11637 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11639 * buffer.C (asciiParagraph): avoid outputing a word twice after
11642 * lyxrc.C (getDescription): document that document_path and
11643 template_path can be empty.
11645 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11647 * LaTeXFeatures.C (getMacros):
11648 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11650 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11652 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11654 (getPackages): rename feature "floats" to "float". Use an array to
11655 iterate over 'simple' features (i.e. just a \usepackage). Add
11656 handling of "amsmath" (renamed from "amsstyle").
11658 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11660 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11663 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11665 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11666 FuncStaus::FuncStatus & FuncStaus::some_method().
11668 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11670 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11671 of the func_satus stuff. Edited and massaged in various ways by
11674 * lyxfunc.C (getStatus): use FuncStatus
11676 2002-01-08 Juergen Vigna <jug@sad.it>
11678 * text.C (nextBreakPoint): use function Inset::isChar().
11680 * paragraph.C (TeXOnePar): use function
11681 Inset::forceDefaultParagraphs.
11683 * buffer.C (latexParagraphs): use function
11684 Inset::forceDefaultParagraphs.
11686 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11688 * lyx_gui.C (init): set the style of the menu popups to
11689 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11691 2002-01-07 Juergen Vigna <jug@sad.it>
11693 * text.C (setHeightOfRow): small fix
11694 (prepareToPrint): don't look at alignment if we don't have the place
11697 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11699 * box.C: New file. Move the Box methods and functions out of box.h,
11700 following Lars' suggestion.
11702 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11704 * box.h: #include "support/LOstream.h", needed for inlined function.
11707 * lyxtextclasslist.C: added some using std declarations.
11709 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11711 * box.h: make signed dimensions to allow insets wider than
11712 the screen (bug #162)
11714 * BufferView_pimpl.C: add some insetHit debug
11716 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11718 * vc-backend.C: add FIXME
11720 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11722 * lyxfunc.C (getStatus): enable code for showing math font status
11725 2002-01-07 Juergen Vigna <jug@sad.it>
11727 * text.C (nextBreakPoint): removed debug output not needed anymore.
11729 2002-01-06 Juergen Vigna <jug@sad.it>
11731 * text.C (nextBreakPoint): fixed up this function we had this bug
11732 since ever but now hopefully we break row better.
11733 (insertChar): we have to check if an inset is the next char as it
11734 could now happen that a large inset is causing a break.
11736 2002-01-05 Juergen Vigna <jug@sad.it>
11738 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11739 if it doesn't like to be drawed.
11741 2002-01-04 Juergen Vigna <jug@sad.it>
11743 * BufferView2.C (lockInset): forgot to set a cursor.
11745 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11747 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11749 * FormMathsPanel.C:
11752 * form_maths_panel.C:
11753 * form_maths_panel.h:
11754 * form_maths_panel.fd: implemented sub- and super- buttons in math
11757 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11758 (or ^ space) to be used as in TeX (req'd by André).
11760 * lyxfunc.C: Allow ^ and _ again to be used both as
11761 super/subscript (mathed) and as themselves (in text).
11763 2002-01-03 Allan Rae <rae@lyx.org>
11765 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11766 "LyX" or the filename of the current buffer if it has one. This is a
11767 modified form of John Levon's patch.
11769 * XFormsView.C (setWindowTitle): also set icon title.
11771 * LyXView.h (setWindowTitle): signature changed.
11772 * XFormsView.h (setWindowTitle): ditto.
11774 2002-01-02 Juergen Vigna <jug@sad.it>
11776 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11778 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11780 * screen.C (topCursorVisible): introduce a temp var for
11781 text->cursor.row(), handle the case where this row is null. (kindo
11784 * text2.C (setCursor): add a couple of asserts.
11786 * paragraph.h (inset_iterator): add -> operator
11788 * paragraph.[Ch] (autoDeleteInsets): remove member function
11790 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11791 cursor pos correctly and handle inset deletion by itself.
11792 (insertErrors): move iterator declaration out of for expression
11794 * lyxtextclass.C: add <algorithm>
11796 * Makefile.am: added the new files to sources, removed layout.C
11798 * layout.C: removed file
11800 * layout.h: remove LYX_DUMMY_LAYOUT
11802 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11806 * lyxtextclass.[Ch]:
11807 * lyxtextclasslist.[Ch]: new files
11809 * include order changes to a lot of files, also changes because of
11812 2001-12-27 Juergen Vigna <jug@sad.it>
11814 * buffer.C (asciiParagraph): more fixes.
11816 * tabular.C (ascii): make ascii export support export of only the
11817 data separated by a column-delimiter.
11818 (ascii): better support for ascii export.
11820 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11822 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11824 * tabular_funcs.C: use a "using std::getline" instead of the
11825 previous fix from Angus (necessary for cxx + lyxstring)
11827 2001-12-24 Juergen Vigna <jug@sad.it>
11829 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11831 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11832 problems. First check a minipage also if we have some ert-contents
11833 (not only on par->size(), second set the right depth of the paragraph
11834 on the relink to the root-paragraph-list!
11836 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11837 which then did not anymore update the main paragraphs on undo/redo!
11839 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11841 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11842 code. Support all font-changing funcs (even those which are not in
11843 menu currently). Support for reporting font settings in
11844 mathed (disabled until Andre provides a function on mathed's side).
11846 * func_status.h (toggle): small helper function to set toggle
11849 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11851 * tabular_funcs.C: getline -> std::getline
11853 2001-12-21 Juergen Vigna <jug@sad.it>
11855 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11856 accessed and could be 0 (I couldn't generate this but it seems
11859 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11861 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11862 * tabular_funcs.h: here and include iosfwd
11864 2001-12-20 Juergen Vigna <jug@sad.it>
11866 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11867 inside inset but undo_par was.
11869 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11871 * Thesaurus.C: always include <config.h> in sources.
11875 * box.h: do not include <config.h> in header files
11877 * text.C (paintLastRow): remove unused variable
11879 * text.C (transformChar):
11881 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11883 * Painter.C (text):
11884 * font.C (width): rewrite to use uppercase() instead of
11887 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11889 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11891 * lyxfind.C: clean up of find failure position change
11893 2001-12-20 Juergen Vigna <jug@sad.it>
11895 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11897 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11898 (TeXRow): added to LaTeX a single tabular row.
11899 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11900 (Latex): simplified and finally good LT-h/f support.
11901 (various_functions): just small adaptions for LT-h/f support.
11903 * tabular_funcs.[hC]: added and moved here all not classfunctions
11906 2001-12-19 Juergen Vigna <jug@sad.it>
11908 * tabular.[Ch]: better support for longtabular options (not finished
11911 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11913 * text.C (paintLastRow): use the label font instead of the font of
11914 the last character to compute the size of *_BOX. This makes more
11915 sense and avoids a crash with empty paragraphs.
11916 Use Painter::rectangle to draw EMPTY_BOX.
11918 2001-12-19 Juergen Vigna <jug@sad.it>
11920 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11921 the paragraphs if the replaced paragraph is not the first one!
11922 Tried to delete not used paragraphs but does not work yet so for
11923 now it's inside #ifdef's and by default off!
11925 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11927 * MenuBackend.C: include "lyx_main.h" instead of declaring
11928 lastfiles (actually was declared as LastFiles* instead of a
11931 2001-12-17 Juergen Vigna <jug@sad.it>
11933 * tabular.C (AppendColumn): applied John's fix
11935 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11939 * BufferView_pimpl.h:
11940 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11943 * box.h: new start of class for above
11945 * lyxfunc.C: ignore space-only minibuffer dispatches.
11946 Show the command name when it doesn't exist
11948 * minibuffer.C: don't add empty lines to the history
11950 * minibuffer.C: add a space on dropdown completion
11952 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11954 * text.C: fix line above/below drawing in insets
11956 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11958 * lyxlength.C (LyXLength): Initialize private variables.
11960 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11962 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11963 when inserting error insets.
11965 2001-12-13 Juergen Vigna <jug@sad.it>
11967 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11968 actually sometimes the before-paragraph.
11969 (setUndo): don't clear the redostack if we're not actually undoing!
11971 2001-12-06 Juergen Vigna <jug@sad.it>
11973 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11974 and fixed redoing of main paragraph, so we can use it now ;)
11976 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11978 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11980 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11983 2001-12-13 André Pönitz <poenitz@gmx.net>
11986 * undo_func.C: minor cleanup
11988 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11990 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11991 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11992 font in urw-fonts package which is marked as -urw-fontspecific and
11993 does not work (incidentally, changing the encoding in the
11994 fonts.dir of this package to -adobe-fontspecific fixes the
11997 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11998 is a crash when undoing first paragraph (Juergen, please take a
11999 look). THis does not mean the undo fix is wrong, just that it
12002 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12003 the (Paragraph*) version when needed instead of duplicating the
12006 * text.C (workWidth): use Inset::parOwner to find out where the
12007 inset has been inserted. This is a huge performance gain for large
12008 documents with lots of insets. If Inset::parOwner is not set, fall
12009 back on the brute force method
12011 * paragraph_pimpl.C (insertInset):
12012 * paragraph.C (Paragraph):
12013 (cutIntoMinibuffer): set parOwner of insets when
12014 inserting/removing them
12016 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12018 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12024 * mathed/formulabase.C:
12025 * mathed/math_cursor.[Ch]:
12026 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12029 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12031 * lyxlength.[Ch] (operator!=): new function
12033 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12035 * text.C (workWidth): use Inset::parOwner to find out where the
12036 inset has been inserted. This is a huge performance gain for large
12037 documents with lots of insets. If Inset::parOwner is not set, fall
12038 back on the brute force method
12040 * paragraph_pimpl.C (insertInset):
12041 * paragraph.C (Paragraph):
12042 (cutIntoMinibuffer): set parOwner of insets when
12043 inserting/removing them
12045 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12047 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12049 * tabular-old.C (getTokenValue):
12050 * tabular.C (getTokenValue):
12051 (write_attribute): new versions for LyXLength
12052 (everywhere): adjust the use of widths
12054 * tabular.h: change the type of widths from string to LyXLength
12056 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12058 * paragraph.C: fixed missing line number count when exporting
12059 Environments to LaTeX file
12061 * buffer.C: added informational message for checking line numbers.
12063 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12065 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12066 paragraph, do the 'double space' part, but not the 'empty
12069 * text.C (workWidth): small optimization
12070 (getLengthMarkerHeight): use minimal size for negative lengths.
12072 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12074 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12076 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12078 2001-12-11 André Pönitz <poenitz@gmx.net>
12081 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12083 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12085 * text2.C: keep selection on a setFont()
12087 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12089 * lyx_cb.C: another bv->text misuse, from insert label
12091 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12094 * kbsequence.C: re-instate nmodifier mask
12096 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12098 * lyx_main.h: make lyxGUI private.
12100 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12102 * lyxfind.C: place the cursor correctly on failed search
12104 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12106 * text.C (getLengthMarkerHeight): for small heights, the arrows
12107 are not always on top/bottom of the text
12108 (drawLengthMarker): smaller arrows; take the left margin in
12109 account; draw also vfills.
12111 (paintLastRow): remove special code for vfill and standard spaces,
12112 since everything is handled in drawLengthMarker now.
12114 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12116 * buffer.C (insertErtContents): try to handle font and language
12117 interaction a bit better.g
12119 * ColorHandler.C (updateColor): change the hash to cover the whole
12120 LColor enum, ws cleanup
12121 (getGCLinepars): ditto
12122 (getGCLinepars): only lookup in the linecache once.
12124 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12126 * iterators.C (operator++): Make the iterator more robust
12128 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12130 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12132 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12135 * text.C: better added space drawing
12137 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12140 * BufferView2.C: fix layout combo update on inset unlock
12142 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12144 * Makefile.am: don't compile unused files
12146 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12150 * LyXAction.C: remove old LFUN_LAYOUTNO
12152 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12154 * paragraph_pimpl.h:
12155 * paragraph_pimpl.C: isTextAt() doesn't need font param
12157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12160 * lyxlex.C: little cleanup
12162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12164 * BufferView_pimpl.C: fix insertAscii for insets
12166 2001-12-05 Juergen Vigna <jug@sad.it>
12168 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12169 set the right font on the "multi" paragraph paste!
12171 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * lyxlength.C: remove out-commented code.
12179 * BufferView_pimpl:
12193 * vc-backend.C: change "while(" to "while ("
12195 * lyxlength.[Ch]: add zero function to check if length is zero or
12197 * lyxgluelength.C: use it
12199 2001-12-05 Allan Rae <rae@lyx.org>
12201 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12202 Works for 2.95.3, from what I understand of Garst's reports this should
12203 work for other g++ versions. We're screwed if the abs(int) definition
12204 changed between bugfix releases of gcc.
12206 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12208 * text.C: fix chapter label offset !
12210 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12213 * text.C: fix hfill at end of line, clean up
12215 2001-12-04 Juergen Vigna <jug@sad.it>
12217 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12218 that we force an update of the inset and it's owners if neccessary.
12220 2001-12-03 Juergen Vigna <jug@sad.it>
12222 * text.C (rowLast): simplified code
12224 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12226 * lyxfunc.C: fix show options on timeout
12228 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12230 * screen.C (topCursorVisible): scroll half a page when the cursor
12231 reached top of bottom of screen
12233 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12235 * minibuffer.C: deactivate on loss of focus
12237 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12239 * vspace.[Ch] (operator!=): add operator.
12241 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12243 * BufferView_pimpl.C: refuse to open an inset when
12244 there's a selection.
12246 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12248 * BufferView_pimpl.C: allow to click on RHS of full row insets
12250 2001-11-30 Juergen Vigna <jug@sad.it>
12252 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12253 insets for undo reasons.
12255 2001-11-28 André Pönitz <poenitz@gmx.net>
12257 * vspace.[Ch]: cosmetical changes
12259 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12269 * kbsequence.C: part re-write of old kb code
12272 * WorkArea.C: remove Lgb_bug_find_hack
12274 2001-11-30 José Matos <jamatos@fep.up.pt>
12276 * buffer.C (makeDocBookFile): add a comment to point a hack.
12277 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12278 Fixed a double write of labels.
12280 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12283 * LaTeX.h Fixed bug in LaTeX class where it would not
12284 re-run latex if no depfiles were changed, but the .dvi was removed.
12286 2001-11-28 André Pönitz <poenitz@gmx.net>
12288 * all the files from the change on 2001/11/26:
12289 use lyx::layout_type instead of LyXTextClass::size_type
12290 use lyx::textclass_type instead of LyXTextClassList::size_type
12292 2001-11-29 Juergen Vigna <jug@sad.it>
12294 * text.C: added support for paragraph::isFreeSpacing()
12296 * buffer.C: same as above
12298 * paragraph.h: inserted isFreeSpacing() function to enable
12299 FreeSpacing inside InsetERT.
12301 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12302 of the paragraph's in the cut/copy buffer to 0!
12304 * text2.C (removeRow): remove the assert as it can!
12306 * lyxtext.h: added helper function firstRow returning firstrow and
12307 made firstrow private again.
12309 * BufferView2.C (lockInset): don't relock if we're already locked!
12311 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12312 the only paragraph.
12313 (removeRow): added Assert::(firstrow)
12315 * debug.C: forgot to add INSETTEXT here.
12317 2001-11-28 Juergen Vigna <jug@sad.it>
12319 * sp_spell.C (initialize): changed error text to more general
12320 spellchecker command use (not only ispell!)
12322 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12324 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12326 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12328 * vspace.C: initialise lyxgluelength on failure
12330 2001-11-28 Allan Rae <rae@lyx.org>
12332 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12333 declaration & definition that looks like a function declaration.
12335 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12337 * BufferView2.C (copy):
12338 (copyEnvironment): do not clear the selection when doing a copy.
12340 * text.C (paintFirstRow): compilation fix
12342 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12344 * tabular.C (Latex): correct line count when writing latex.
12346 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12348 * paragraph_pimpl.h:
12349 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12352 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12356 * LColor.C: change vfillline->added_space
12358 * text.C: add markers and text for added space
12360 * vspace.C: fix comment
12362 2001-11-28 André Pönitz <poenitz@gmx.net>
12364 * paragraph.C: whitespace changes
12365 * all the other files from the change on 2001/11/26:
12366 change *::pos_type into lyx::pos_type
12368 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12370 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12371 language of the document when inserting error insets.
12373 2001-11-26 André Pönitz <poenitz@gmx.net>
12375 * BufferView_pimpl.[Ch]:
12383 * paragraph_pimpl.[Ch]:
12386 * text2.C: reduce header dependencies, introduce type for positions
12388 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12390 * <various>: change to use Alert.h
12392 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12394 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12395 when encountering an unknown token.
12396 (readLyXformat2): Show an error message if there were unknown tokens.
12398 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12401 * BufferView_pimpl.C:
12405 * text2.C: use par->isInset()
12407 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12409 * paragraph_pimpl.h:
12410 * paragraph_pimpl.C: cleanup
12412 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12414 * text2.C (removeRow):
12415 * text.C (setHeightOfRow): remove useless (and costly) call to
12418 2001-11-20 Allan Rae <rae@lyx.org>
12420 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12421 Now need Inset*::checkInsertChar() to return true for appropriate
12422 cases so that the characters in the minibuffer will actually be
12425 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12427 * text.C: change the order of the includes.
12428 (workWidth): initialize it at once.
12429 (workWidth): make maxw unsigned
12430 (setHeightOfRow): remove unused variable (inset)
12431 (selectSelectedWord): remove unused variable (inset)
12432 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12434 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12436 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12437 server is not running.
12439 (closeConnection): add debug info when server is disabled.
12441 * ColorHandler.C (getGCForeground): send debug message to GUI
12444 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12446 * kbmap.C (bind): modify because return conventions of
12447 kb_sequence::parse have changed.
12449 * kbsequence.C (parse): only ignore spaces and not any stupid
12450 control character. This avoids tests like s[i] <= ' ', which are
12451 guaranteed to fail with 8bit characters and signed chars.
12452 Change return code to string::npos when there have been no error
12453 (0 was a bad idea when error is at first character)
12455 2001-11-14 José Matos <jamatos@fep.up.pt>
12458 * buffer.C (simpleDocBookOnePar): removed unused argument.
12460 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12462 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12463 insets which are part of a word. Paragraph::isLetter takes care of
12464 that now. Use Paragraph::isInset to identify insets.
12465 (selectSelectedWord): do not test for hyphenation break.
12467 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12468 that protected spaces are considered as spaces.
12470 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12473 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12476 * lyxserver.C: fix it. and small cleanup.
12478 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12480 * BufferView_pimpl.C: use inline helpers
12483 * LaTeXFeatures.C: fix typos
12486 * Spacing.C: move spacing_string into class
12488 * ToolbarDefaults.C: move stuff into namespace anon
12490 * layout.h: update enum
12492 * lyxfunc.C: use better debug
12494 * minibuffer.h: fix typo
12498 * WorkArea.C: add and use Debug::WORKAREA
12502 * text2.C: code re-organisation, inline helpers
12504 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12506 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12507 std::vector.empty().
12509 2001-11-09 Allan Rae <rae@lyx.org>
12511 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12512 '\n's after tables. Tabular and ERT inset work now makes this no
12515 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12518 * minibuffer.C: fix crash, improve drop-down completion
12520 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12523 * lyxserver.C: invalidate fd's when doing endPipe()
12525 2001-11-08 José Matos <jamatos@fep.up.pt>
12527 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12528 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12531 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12533 2001-11-07 José Matos <jamatos@fep.up.pt>
12536 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12539 * buffer.C (sgmlOpenTag):
12540 * buffer.C (sgmlCloseTag): removed debug info.
12542 * buffer.h (sgmlOpenTag):
12543 * buffer.h (sgmlCloseTag): made public.
12545 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12547 * buffer.C (saveParamsAsDefaults):
12548 * lyx_cb.C (MenuLayoutSave): remove
12550 * LyXAction.C (init):
12552 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12554 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * buffer.C (setPaperStuff): removed from here...
12558 * bufferparams.C (setPaperStuff): ... and moved there.
12560 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12564 * XFormsView.C: add support for drop-down completion
12566 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12568 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12571 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12573 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12576 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12578 * lyx_main.C: change ref to known bugs
12580 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12582 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12583 to work around older babel problems.
12585 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12587 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12589 2001-10-24 Juergen Vigna <jug@sad.it>
12591 * tabular-old.C (ReadOld): below variable changes reflected.
12593 * tabular.[Ch]: added ltType struct for longtable header/footer
12594 defines and changed all instances where they are used. Added
12595 future support for double top/bottom rows.
12597 2001-10-24 José Matos <jamatos@fep.up.pt>
12599 * buffer.h (docbookHandleCaption):
12600 * buffer.C (docbookHandleCaption): removed unused function.
12601 (makeDocBookFile): moved docbook supported version to v4.1.
12603 2001-10-24 José Matos <jamatos@fep.up.pt>
12606 * tabular.C (docbookRow): new function to export docbook code of a row.
12607 (DocBook): now honors the longtable flags.
12609 2001-10-23 José Matos <jamatos@fep.up.pt>
12612 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12613 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12615 * buffer.C (makeLinuxDocFile):
12616 (makeDocBookFile): reworked the preamble, more clean, and with
12617 support for lyx defined entities. Changed the document declaration
12618 to be more XML friendly.
12620 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12621 if we need to output XML that should be done with a filter.
12623 2001-10-22 Juergen Vigna <jug@sad.it>
12625 * sp_pspell.h (class PSpell): add alive function needed in the
12626 controller to see if the spellchecker could be started.
12628 2001-10-22 Juergen Vigna <jug@sad.it>
12630 * buffer.C (insertStringAsLines): modify the font for inserting
12631 chars in certain conditions by calling checkInsertChar(font).
12633 2001-10-19 Juergen Vigna <jug@sad.it>
12635 * text.C (workWidth): use getRow instead of wrong algorithm.
12636 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12638 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12643 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12645 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12647 * text.C (workWidth): do not search for the exact row when
12648 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12649 optimization for big documents.
12651 2001-10-18 Juergen Vigna <jug@sad.it>
12653 * text.C (workWidth): new function with added Inset * parameter.
12655 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12657 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12659 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12660 change return type of getColumnNearX.
12663 * text.C (changeRegionCase): use uppercase/lowercase instead of
12666 (rightMargin): simplify code by factoring out the uses of
12671 (appendParagraph): use Paragraph::size_type
12673 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12675 * vspace.C (asLatexString): add a missing break
12677 2001-10-15 Herbert Voss <voss@perce.de>
12679 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12681 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12683 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12686 2001-10-10 André Pönitz <poenitz@gmx.net>
12688 * lyxfunc.C: removed greek_kb_flag.
12690 2001-10-10 Herbert Voss <voss@perce.de>
12692 * lyx_main.C: delete global string help_lyxdir.
12694 2001-10-09 Herbert Voss <voss@perce.de>
12696 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12698 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12700 * lyx_main.C: added global string help_lyxdir.
12702 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12704 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12706 * lyxrc.C (set_font_norm_type): support iso8859-4
12708 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12710 * LaTeX.C (deplog): add another regex for MikTeX
12712 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12714 * lyxrc.C (set_font_norm_type): support iso8859-3
12716 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12718 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12720 * LaTeXFeatures.C: remove special case of french and index
12722 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12723 before \begin{document}). This solves several incompatibilities.
12725 2001-10-03 Garst Reese <reese@isn.net>
12727 * lyx_cb.C: change CheckTex error msg.
12729 2001-10-03 José Matos <jamatos@fep.up.pt>
12731 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12733 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12735 * .cvsignore: update
12737 * lyx_main.C (commandLineVersionInfo): use new style version info.
12739 * buffer.C (writeFile):
12741 (makeLinuxDocFile):
12742 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12744 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12746 * version.h: update to use stuff in version.C
12748 * version.C.in: new file. Contains version information determined
12749 at compile time. This is a merging of version.h and
12752 2001-10-03 Juergen Vigna <jug@sad.it>
12754 * BufferView_pimpl.C (update): don't change "dirty" status in
12757 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12759 * WorkArea.C (c-tor): re-position version string slightly.
12761 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12763 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12764 revert to previous code.
12766 WorkArea.[Ch]: (show, destroySplash): methods removed.
12768 WorkArea.C: rework code so that it's an amalgam of the codes before and
12769 after the splash screen was moved to WorkArea.
12771 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12774 * vspace.C (inPixels):
12777 * buffer.C (insertStringAsLines):
12778 (asciiParagraph): fix types to be large enough
12780 * lyxlex_pimpl.h: change member status from short to int
12782 * layout.h: fix type of endlabeltype
12785 * kbsequence.C (parse): change return type to string::size_type
12787 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12790 * Bullet.C (bulletSize):
12791 (bulletEntry): do not use short ints as parameters
12793 * BufferView2.C (insertLyXFile): change a char to an int.
12795 * WorkArea.C (WorkArea): remove unneeded floats in computation
12797 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12799 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12801 * paragraph.C (asString): Do not ignore newline/hfill chars when
12802 copying to the clipboard.
12804 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12806 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12807 after a multi-line inset.
12809 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12811 * paragraph.C (validate): Set NeedLyXFootnoteCode
12813 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12815 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12816 and decrease-error to decrease.
12818 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12820 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12821 it more readable (should be equivalent)
12823 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12825 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12827 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12829 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12830 of a cursor (row, etc.) after a character has been deleted
12831 (deleteEmptyParagraphMechanism): call the method above on _all_
12832 cursors held by the LyXText when a double space has been
12835 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12837 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12839 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12841 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12842 background. Use greyOut() and the new show() methods to toggle between
12843 the foreground and background. Add code to remove the splash after
12844 its initial showing.
12846 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12847 (create_forms): no longer call Dialogs::showSplash.
12849 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * .cvsignore: add version_info.h
12853 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12855 * version_info.h.in: new file
12857 * Makefile.am: add version_info.h.in
12859 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12860 version_info.h instead of VERSION_INFO
12862 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12864 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12865 The ERT inset now returns string().
12867 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12869 * lyxtext.h, text.C (selectNextWord): renamed as
12870 selectNextWordToSpellcheck.
12872 * text.C (selectNextWordToSpellcheck): Modified to not select
12873 words inside an ERT inset.
12875 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12877 * lyx_cb.C (MenuLayoutSave): change a bit the question
12879 * sp_base.h: include <sys/types.h>
12881 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12883 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12885 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12887 * several files: fix typos in user-visible strings
12889 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12891 * text2.C (pasteSelection): do not set the selection, since it
12892 will be cleared later. Actually, the intent was to fix the way the
12893 selection was set, but I figured rmoving the code was just as good.
12895 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12897 * FontLoader.C (available): Check if font is available without
12900 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12902 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12904 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12906 * lyxrc.[Ch]: added display_graphics variable and associated code.
12908 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * bufferparams.C (hasClassDefaults): new method. Returns true if
12911 the buffer parameters correspond to known class defaults
12913 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12915 * XFormsView.C (show): set minimum size to the main window.
12917 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12919 * text2.C (copySelection):
12921 * lyxfind.C (LyXReplace):
12922 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12923 LyXText::selectionAsString.
12925 * paragraph.C (asString): add "label" argument to the second form
12927 * text2.C (selectionAsString): add "label" argument and pass it to
12928 Paragraph::asString.
12930 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12932 * lyx_main.C (commandLineHelp): remove version information
12934 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12936 * lyx_main.C: add -version commandline option
12938 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12940 * paragraph.h: make the optional constructor arg required instead.
12941 some modifications to other files because of this.
12943 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12945 * lyxserver.C (C_LyXComm_callback): make it static
12947 * lyx_main.C (error_handler): make it static
12949 * lyx_gui.C (LyX_XErrHandler): make it static
12951 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12953 * WorkArea.C: make the extern "C" methods static.
12955 * Makefile.am (lyx_LDADD): simplify
12957 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12959 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12960 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12962 * LyXAction.C (init):
12963 * lyxfunc.C (dispatch): associated code removal.
12965 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12967 * lyxfont.h (isSymbolFont): shut off warning
12969 * text.C (setHeightOfRow):
12970 (getVisibleRow): fix crash with empty paragraphs which have a
12973 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12975 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12978 2001-09-04 José Matos <jamatos@fep.up.pt>
12981 * tabular.C (docbook): rename docBook method to docbook.
12983 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12985 * Makefile.am: add dependencies to main.o.
12987 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12989 * FontLoader.C (available): Return false if !lyxrc.use_gui
12991 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12993 * FontInfo.C (query):
12994 * converter.C (view):
12995 * importer.C (Import):
12996 * exporter.C (Export): Can not -> cannot.
12998 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13000 * BufferView_pimpl.C: allow to create index inset even if
13003 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13005 * buffer.C (getLists): replace boost::tie code with an explicit pair
13006 as boost::tie can break some compilers.
13008 * iterators.h: Added a std:: declaration to the return type of
13011 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13013 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13016 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13018 * iterators.[Ch]: New files. Provide paragraph iterators.
13020 * buffer.C (changeLanguage): Use paragraph iterators.
13021 (isMultiLingual): ditto
13023 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13025 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13027 * FontLoader.C: Support for cmr font.
13029 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13031 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13032 (available): New method.
13034 * FontInfo.C (getFontname): Use scalable fonts even when
13035 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13038 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13040 * converter.C (Formats::view): reverted! Incorrect fix.
13042 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13044 * converter.C (Formats::view): only output the -paper option
13045 if the dvi viewer is xdvi, thereby fixing bug #233429.
13047 2001-08-23 Herbert Voss <voss@perce>
13049 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13051 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13053 * Spacing.h (Spacing): Set space to Default on in the default
13056 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * vc-backend.h (RCS::versionString): add RCS to version
13059 (CVS::versionString): add CVS to version
13061 * vc-backend.C (scanMaster): do not add CVS to version.
13062 (scanMaster): do not add RCS to version
13064 * lyxvc.C (versionString): new method
13066 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13068 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * Spacing.C (set): initialize fval
13072 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13074 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13077 2001-08-16 Juergen Vigna <jug@sad.it>
13079 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13081 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13083 * BufferView_pimpl.C:
13086 * text2.C: setParagraph takes linespacing now
13088 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13090 * LyxAction.C: add internal LFUN_CITATION_INSERT
13092 * LyXView.C: actually apply fix
13094 * bufferlist.C: fix open non-existent file
13096 * lyxfind.C: fix indentation
13098 * lyxfunc.C: remove unneeded assert, fix typo
13100 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13102 * MenuBackend.C: use "Floatname List"
13104 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13106 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13107 when converting LaTeX layout to insetERT.
13108 Generate a non-collapsed float when reading old float
13110 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13112 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13115 2001-08-13 Juergen Vigna <jug@sad.it>
13117 * text.C (fill): return 0 instead of 20 as this seems to be the more
13120 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13122 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13125 2001-08-13 Juergen Vigna <jug@sad.it>
13127 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13129 (SearchBackward): comment out the unlocking of the inset_owner this
13130 should not be needed!
13132 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13134 * Many files: Remove inherit_language, and add latex_language
13136 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13137 collapsible insets.
13139 2001-08-10 Juergen Vigna <jug@sad.it>
13141 * text.C (prepareToPrint): fixed hfill-width in draw!
13143 * BufferView2.C (selectLastWord): save the selection cursor as this
13144 now is cleared in the function LyXText::clearSelection!
13146 2001-08-08 Juergen Vigna <jug@sad.it>
13148 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13149 BACKSPACE type functions.
13151 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13152 is only cutted from the document but not put in the cut-buffer, where
13153 still the old stuff should be.
13155 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13157 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13159 * tabular.C (SetWidthOfCell): fixed special case where the width
13161 (LeftLine): handle '|' in align_special.
13163 (LeftAlreadyDrawed): ditto
13164 (SetWidthOfCell): ditto
13166 2001-08-07 Juergen Vigna <jug@sad.it>
13168 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13170 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13172 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13173 * lyxlex.[hC]: ditto
13175 2001-08-06 Juergen Vigna <jug@sad.it>
13177 * text.C (getVisibleRow): fix up row clearing a bit.
13179 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13181 * minibuffer.C: make sure the X server sees the changes in the input.
13183 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13185 * paragraph.C (getFont): split into...
13186 (getLabelFont): this
13187 (getLayoutFont): and this
13188 * paragraph_pimpl.C (realizeFont): calling this
13190 * text2.C (getFont): split into...
13191 (getLayoutFont): this
13192 (getLabelFont): and this
13193 (realizeFont): all three calling this
13195 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13198 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13200 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13202 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13204 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13205 layouts from the Quote inset insertion.
13207 2001-08-03 Juergen Vigna <jug@sad.it>
13209 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13211 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13212 only if status not is already CHANGED_IN_DRAW (second level).
13214 * text.C (draw): don't set the need_break_row when inside an
13217 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13219 * buffer.C (parseSingleLyXformat2Token): handle more latex
13222 * bufferview_funcs.[hC]: change function names to
13223 begin with small char, adjust other files.
13225 2001-08-02 André Pönitz <poenitz@gmx.net>
13228 BufferView_pimpl.C: remove broken special code for math-greek
13230 2001-08-02 Juergen Vigna <jug@sad.it>
13232 * BufferView_pimpl.C (update): redone this function so that we
13233 update the text again if there was a CHANGE_IN_DRAW.
13235 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13236 (drawFromTo): added a new internal bool which is used by draw() and
13238 (general): some cursor drawing problems fixed.
13240 2001-08-01 Juergen Vigna <jug@sad.it>
13242 * lyxfind.C (LyXFind): fixed
13243 (SearchForward): ditto
13244 (SearchBackward): ditto
13246 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13247 spurius drawing of the cursor in the main area.
13249 * text2.C (status): small fix which could lead to a segfault!
13250 (clearSelection): remove unneeded BufferView param.
13252 2001-08-01 André Pönitz <poenitz@gmx.net>
13254 * lyxfunc.C: small change due to changed mathed interface
13256 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13258 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13260 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13262 * lyxfunc.c: fail gracefully if file doesn't exist
13267 * BufferView_pimpl.C: IsDirWriteable() proto changed
13269 * LyXView.C: fix updateWindowTitle() to store the last title
13271 2001-07-31 Juergen Vigna <jug@sad.it>
13273 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13274 the font (wrong since using of Paragraph::highestFontInRange).
13276 * paragraph.C (highestFontInRange): added a default_size parameter.
13278 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13279 (setHeightOfRow): reformat
13281 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13283 * converter.[hC] + affected files: move to (inital-char)lowercase
13286 * ParagraphParameters.C (ParagraphParameters): remove commented code
13288 * PainterBase.[Ch]: remove commented code
13290 * LaTeXFeatures.h: add "bool floats" for float.sty
13292 * LaTeXFeatures.C (LaTeXFeatures): init floats
13293 (require): handle float
13294 (getPackages): do it with floats
13296 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13298 * BufferView_pimpl.C (Dispatch): improve handling of
13299 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13301 * commandtags.h: #include lyxfont.h here temporarily to avoid
13304 * bufferlist.h: include LString.h here.
13306 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13308 * text2.C (getStringToIndex): new method.
13310 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13312 * *: Reduced header file dependencies all over.
13314 2001-07-30 Baruch Even <baruch@lyx.org>
13316 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13318 2001-07-29 Baruch Even <baruch@lyx.org>
13320 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13322 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13324 * ParameterStruct.h (endif): add a default constructor to make
13325 sure that all variables is initialized.
13327 * ParagraphParameters.C (ParagraphParameters): adjust
13329 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13331 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13332 index; also, check that there is something to index, and that it
13333 does not span over several paragraphs.
13334 (doubleClick): use WHOLE_WORD_STRICT for double click.
13336 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13338 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13341 2001-07-26 Baruch Even <baruch@lyx.org>
13343 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13344 an InsetFig figure, backwards compatible reading of old figure code.
13346 2001-07-27 Juergen Vigna <jug@sad.it>
13348 * text2.C: font.realize function adaption.
13350 * text.C (draw): add a warnings lyxerr text if needed.
13352 * layout.C: font.realize function adaption.
13354 * language.C: add inherit_language and implement it's handlings
13356 * bufferview_funcs.C (StyleReset): remove language parameter from
13357 font creation (should be language_inherit now).
13359 * bufferparams.C (writeFile): handle ignore_language.
13361 * paragraph.C (getFontSettings): the language has to be resolved
13362 otherwise we have problems in LyXFont!
13364 * lyxfont.C (lyxWriteChanges): added document_language parameter
13365 (update): removed unneeded language parameter
13367 * paragraph.C (validate): fixed wrong output of color-package when
13368 using interface colors for certain fonts in certain environments,
13369 which should not seen as that on the final output.
13371 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13373 * BufferView_pimpl.C:
13378 * LyXAction.C: add thesaurus support
13381 * lyxfind.C: add "once" parameter, for thesaurus, to not
13382 move to the next match
13384 2001-07-26 Juergen Vigna <jug@sad.it>
13386 * lyxfont.C (realize): honor ignore_language too!
13389 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13391 * text.C (draw): one place more for ignore_language to not draw
13394 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13396 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13398 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13400 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13401 the minipage conversion problem.
13403 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13405 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13408 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13410 * BufferView.h: don't forward declare WorkArea
13412 * BufferView.C: don't include WorkArea.h
13414 2001-07-25 André Pönitz <poenitz@gmx.net>
13418 * lyxfunc.C: new LFUN 'math-space'
13420 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13422 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13424 * text2.C (toggleInset): call open/close
13426 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13428 * lyxfunc.C (dispatch): add debug for the disabled case
13430 * font.C (buttonText): make similar to rectText
13432 * buffer.C (readInset): comment out parsing of insetlist and
13435 * PainterBase.C (rectText): small correction
13437 * BufferView_pimpl.C: comment out insettheorem and insetlist
13438 * LyXAction.C: ditto
13439 * commandtags.h: ditto
13441 2001-07-24 Juergen Vigna <jug@sad.it>
13443 * text.C (draw): honor the ignore_language.
13445 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13447 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13449 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13452 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13454 * lyxtext.h: remove unused (and unimplemented) methods
13456 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13458 * text.C (getVisibleRow): honor background color
13461 * Painter.h: remove default color argument for fillRectangle
13463 * text.C (backgroundColor): new method
13465 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * text.C (getVisibleRow): adjust
13469 * font.[Ch] (rectText): new method, metrics
13470 (buttonText): new method, metrics
13472 * PainterBase.[hC]: make rectText and buttonText always draw and take
13475 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13477 * ToolbarDefaults.C (read):
13478 * MenuBackend.C (read): allow escaping in all strings
13480 * BufferView_pimpl.C (insertAndEditInset): new method.
13481 (Dispatch): use insertAndEditInset whenever appropriate.
13483 * BufferView_pimpl.C (insertNote): removed
13485 * BufferView_pimpl.C (smartQuote): new method, moved from
13486 BufferView; if an insetquote cannot be inserted, insert a '"'
13489 * BufferView2.C: remove insertCorrectQuote();
13491 * lyxfunc.C (getStatus): Add support for all remaingin
13492 inset-insert lfuns.
13494 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13496 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13497 command (necessary to pass " as parameter of self-insert.
13499 * text.C (selectWordWhenUnderCursor):
13500 (selectWord): add word_location parameter
13501 (selectWordWhenUnderCursor): same + remove special code for word
13503 (selectNextWord): use kind() to guess type of insetspecialchar,
13506 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13507 (insertErtContents): create ert insets as collapsed.
13508 (readInset): better compatibility code for Info inset.
13510 2001-07-20 Juergen Vigna <jug@sad.it>
13512 * lyxfunc.C (dispatch): use always LyXFind now!
13514 * text2.C (init): add a reinit flag so that the LyXText can be
13515 reinited instead of deleted and reallocated (used in InsetText).
13517 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13523 2001-07-18 Juergen Vigna <jug@sad.it>
13525 * text.C (selectNextWord): handle insets inside inset by calling
13526 always the bv->text functions so that we can go up the_locking_inset!
13528 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13529 in strange locations when inside an inset!
13531 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13532 handling to include insets.
13534 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13536 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13538 * LyXAction.C (init):
13540 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13541 LIGATURE_BREAK, since the name is so stupid.
13543 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13545 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13548 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13550 * sp_form.[Ch]: remove.
13552 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13554 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13557 * src/buffer.C (readInset): ditto.
13559 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13561 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13562 menuSeparator(), endOfSentenceDot(), ldots() and
13563 hyphenationPoint(), which are therefore removed.
13564 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13566 * LyXAction.C (init):
13567 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13569 * paragraph.C (getWord): removed.
13571 * BufferView_pimpl.C (Dispatch): use last word or selection for
13572 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13574 * lyx_main.C (queryUserLyXDir): do not ask before creating
13575 user_dir, except if it has been named explicitely.
13577 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13579 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13580 a document of zero size.
13582 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13584 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13585 approriately in the c-tor and in require().
13586 (getPackages): output the appropriate LaTeX for natbib support.
13588 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13589 variables "use_natbib" and "use_numerical_citations" when reading the
13591 (readInset): read the various natbib cite commands.
13592 (validate): white-space change.
13594 * bufferparams.[Ch]: new variables "bool use_natbib" and
13595 "bool use_numerical_citations".
13596 (writeFile): output them in the LyX file.
13598 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13600 * lyxfunc.C (getStatus): add support for all the inset insertion
13603 * text2.C (insertInset):
13604 * paragraph.C (insetAllowed):
13605 * BufferView_pimpl.C (insertInset): update to take in account the
13606 renaming of insertInsetAllowed
13608 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13610 * text2.C (getInset): new method. returns inset at cursor position.
13612 * BufferView_pimpl.C (Dispatch): changes because of this.
13614 * LyXAction.C (init): rename open-stuff to inset-toggle.
13616 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13618 * text2.C (toggleInset): renamed from openStuff; use
13621 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13623 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13625 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13627 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13629 * buffer.C (readLyXformat2): Add filename to the error dialog
13631 2001-07-18 Juergen Vigna <jug@sad.it>
13633 * tabular.C (GetCellNumber): put an assert here instead of the check!
13635 2001-07-17 Juergen Vigna <jug@sad.it>
13637 * BufferView_pimpl.C (toggleSelection): adapted too.
13639 * text.C (selectNextWord): adapted for use with insets.
13640 (selectSelectedWord): ditto
13642 2001-07-17 Juergen Vigna <jug@sad.it>
13644 * sp_spell.C (PSpell): fix initialitation order.
13646 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13648 * paragraph.C: spacing
13650 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13652 * sp_spell.C: repair language selection for pspell
13654 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13656 * lyxfunc.h: change more methods to begin with lower char.
13658 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13660 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13661 for unknown layouts.
13663 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13665 * buffer.C (readLyXformat2): Generate an error dialog if there are
13668 2001-07-16 Juergen Vigna <jug@sad.it>
13670 * sp_spell.C: always compile ISpell part.
13672 * lyxrc.C: added use_pspell entry and it's handling.
13674 2001-07-13 Juergen Vigna <jug@sad.it>
13676 * sp_spell.C: removed double includes.
13678 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13680 Consistent use of Lsstream.h:
13681 * Lsstream.h: added using std::stringstream for consistencies sake.
13683 * buffer.C: removed using std::stringstream
13685 * lyxfont.C (stateText):
13686 * paragraph.C (asString):
13687 * text.C (selectNextWord, selectSelectedWord):
13688 * text2.C (setCounter):
13689 * vspace.C (asString, asLatexString):
13690 std::ostringstream -> ostringstream.
13692 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13694 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13695 * commandtags.h: add LFUN_HELP_ABOUTLYX
13696 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13698 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13700 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13702 * lyx_gui_misc.C: remove spellchecker
13703 * lyxfunc.C: showSpellchecker
13705 * sp_ispell.h: added
13706 * sp_pspell.h: added
13707 * sp_spell.C: added
13708 * sp_form.[Ch]: removed
13709 * spellchecker.[Ch]: removed
13711 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13713 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13715 (simpleTeXSpecialChars): Simply print the input character without
13716 any special translation if pass_thru is set.
13718 * layout.h: Added bool pass_thru to layout class for being able to
13719 implement pass through of a paragraph for Literate Programming.
13721 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13722 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13723 * layout.C (Read): add "passthru" to list of layout tags and add
13724 code to set the pass_thru boolean when it is read.
13726 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13728 * trans_decl.h: remove allowed from KmodInfo
13730 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13731 remove allowed code
13734 * paragraph_pimpl.C (erase): use boost::prior
13736 * Painter.C (text): use data() instead of c_str() when length is
13738 * WorkArea.C (putClipboard): ditto
13739 * font.h (width): ditto
13741 * BufferView2.C: use it-> instead of (*it). for iterators
13743 * paragraph_pimpl.C: ditto
13744 * paragraph.C: ditto
13745 * minibuffer.C: ditto
13746 * language.C: ditto
13748 * encoding.C: ditto
13749 * counters.C: ditto
13750 * converter.C: ditto
13752 * Variables.C: ditto
13753 * TextCache.C: ditto
13754 * MenuBackend.C: ditto
13755 * LyXAction.C: ditto
13757 * FloatList.C: ditto
13758 * DepTable.C: ditto
13759 * ColorHandler.C (LyXColorHandler): ditto
13761 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13763 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13765 * text2.C (openStuff): reintroduce this method (which had been
13766 nuked in NEW_INSETS frenzy).
13768 * lyxfunc.C (Dispatch): when an action has not been handled, use
13769 its name in the error message, not its number.
13771 * paragraph.C (inInset): change method name to begin with lowercase.
13774 * text2.C: updates because of this.
13776 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13778 * ToolbarDefaults.C (add): add spaces in error message
13780 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13782 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13783 (readLyXformat2): rename return_par to first_par, use lyxlex's
13784 pushToken and remove the manual push handling.
13785 (parseSingleLyXformat2Token): add another ert comp. variable:
13786 in_tabular, rename return_par to first_par. handle newlines better
13788 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13792 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13794 * text2.C (getParFromID): removed
13796 * buffer.C (getParFromID): new method moved form lyxtext.
13797 * BufferView2.C (insertErrors): adjust
13798 (setCursorFromRow): adjust
13799 * BufferView_pimpl.C (restorePosition): adjust
13800 * lyxfunc.C (Dispatch): adjust
13801 * undo_funcs.C (textUndo): adjust
13803 (textHandleUndo): adjust
13804 (textHandleUndo): adjust
13806 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13808 * buffer.C: up' the LYX_FORMAT
13810 * lyxfont.h: turn NO_LATEX on as default
13812 * buffer.C (insertErtContents): new methods of tex style compability.
13813 (parseSingleLyXformat2Token): use it several places.
13814 * tabular.C (OldFormatRead): and here
13816 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13818 * text2.C: remove some commented code.
13821 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13822 * trans.C: changes because of the above.
13824 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13826 * text2.C (setCounter): Fix counters bug with bibliography layout.
13828 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13830 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13831 own member functions
13832 (simpleTeXSpecialChars): ditto
13834 2001-07-06 Juergen Vigna <jug@sad.it>
13836 * a lot of files: changed the access to LyXText::status and the
13837 call of undo-functions.
13839 * undo.[Ch]: added a inset_id to the undo informations.
13841 * undo_funcs.[Ch]: added and moved here all undo functions.
13843 * lyxtext.h: give the status enum a weight, made status_ a private
13844 variable and made accessor functions for it, removed the whole bunch
13845 of undo-functions as they are now in their own file, make some
13846 functions publically available. Added function ownerParagraph with
13849 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13850 made InInset() a const function, added getParFromID() function.
13852 * buffer.[Ch]: added const version for inset_iterator functions,
13853 added getInsetFromID() function.
13855 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13856 changed undo functions for new version.
13858 2001-07-05 Juergen Vigna <jug@sad.it>
13860 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13861 unknow mechanism does not call the proper constructor but only this
13862 one also if I request the other!?
13864 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13866 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13868 * text2.C (LyXText): use initialization lists.
13870 * lyxtext.h (Selection): initialize set_ and mark_
13871 (init): remove method
13873 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13875 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13877 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13879 * screen.[Ch]: change method names to begin with lowercase
13881 * BufferView_pimpl.C (updateScrollbar): simplify further and
13882 hopefully make it a bit faster.
13884 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13887 calling directly xforms functions.
13889 * Painter.C (Painter):
13890 * lyx_cb.C (MenuWrite):
13891 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13894 * lyx_gui.C: remove bogus guiruntime extern declaration.
13896 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13898 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13900 (redoDrawingOfParagraph): ditto
13901 (redoParagraphs): ditto
13902 (cutSelection): don't create a object for CutAndPaste use the
13903 static method directly
13904 (pasteSelection): ditto
13906 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13909 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13911 * modifications to some other files because of this.
13913 * Makefile.am (lyx_SOURCES): add XFormsView
13915 * XFormsView.[Ch]: new files
13917 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13918 the main window. Move the gui dependent stuff to XFormsView
13920 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13922 * tabular.C (GetCellInset): update cur_cell also in the row/col
13923 version of this function.
13925 * lyxfunc.C: no need to include figure_form.h here.
13931 * lyxvc.C: no need to include forms.h here.
13933 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13935 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13937 * lyxfunc.C (Dispatch):
13939 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13940 constructor argument.
13942 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13944 * paragraph.C (Paragraph): dont't clear, and just set layout.
13945 (makeSameLayout): use params's copy contructor.
13947 * ParagraphParameters.[Ch] (makeSame): delete method
13949 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13951 * Variables.[Ch]: fix indentation, rename set to isSet
13953 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13955 * lyxfunc.C (Dispatch): fix typo
13957 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13959 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13962 * bufferlist.C: include assert.h for emergencyWrite().
13964 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13966 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13967 give up at last (bug #425202) !
13969 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13975 * spellchecker.C: strip spellchecker options and bring up
13976 preferences tab instead
13978 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13980 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13981 the istringstream constructor
13983 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13985 * paragraph.C (getLayout): fix return value
13987 * paragraph.h: do not declare getLayout as inline.
13989 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13991 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * lyxcursor.h (operator<): new func
13994 (operator>): new func
13995 (operator>=): new func
13996 (operator<=): new func
13998 * text.C (changeCase): use selection.start and selection.end
13999 (changeRegionCase): require from to be <= to. Require par to be a
14002 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14004 2001-06-27 Juergen Vigna <jug@sad.it>
14006 * text.C (cursorLeftOneWord): changed to return the cursor and added
14007 overlay with BufferView * parameter which calls this one.
14009 (selectWord): use new getWord function.
14010 (changeCase): renamed from changeWordCase as and extended to work
14011 also on selections.
14013 * lyxtext.h: added enum word_location
14015 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14016 changeCase as this operates now also on selections.
14018 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14020 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14022 * many files: send debug output to Debug::INFO instead of
14025 * converter.C (View):
14027 (Move): send debug output to Debug::FILES instead of console.
14029 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14031 * lyxfunc.C (getStatus): use func_status
14033 * func_status.h: new header, describing the results of
14034 LyXFunc::getStatus;
14036 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14039 2001-06-25 The LyX Project <jug@sad.it>
14041 * buffer.C (sgmlOpenTag):
14043 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14045 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14047 * text2.C: remove some dead code
14049 * tabular.C (GetCellInset): store the last cell checked (gotten)
14051 * tabular.h: add the helper for the speedup
14053 * lyxtext.h: remove some dead code
14055 2001-06-26 The LyX Project <Asger>
14057 * paragraph.C: Change export to LaTeX of alignment to
14058 \begin{center} and family for better roundtrip work with reLyX.
14060 * Tune the math drawing a bit.
14062 2001-06-25 The LyX Project <Asger>
14064 * LColor.C (LColor): New color for math background. New color
14067 2001-06-25 The LyX Project <jug@sad.it>
14069 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14071 * lyxfunc.C (Open):
14072 * bufferlist.C (newFile): do not restrict to files ending with
14075 * BufferView_pimpl.C (MenuInsertLyXFile):
14077 2001-06-24 The LyX Project <jug@sad.it>
14079 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14082 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14084 * lyxtext.h: rename most methods to begin with a small char.
14085 Lots of changes because of this.
14087 * paragraph.C (Paragraph): do not call fitToSize
14088 (erase): call Pimpl::erase
14089 (insertChar): call Pimpl::insertChar
14090 (insertInset): call Pipl::insertInset
14091 (breakParagraph): do not call fitToSize
14092 (breakParagraphConservative): do not call fitToSize
14093 (fitToSize): remove method
14095 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14097 2001-06-24 The LyX Project <Asger>
14099 * Fix Qt compilation^2
14101 2001-06-24 The LyX Project <jug@sad.it>
14103 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14104 depthHook(getDepth()-1).
14107 * ParagraphParameters.h:
14108 * ParameterStruct.h: change type of depth to unsigned int ==
14109 depth_type. Many adaptations to other files before of that.
14111 2001-06-24 The LyX Project <Asger>
14113 * Fix Qt compilation.
14115 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14117 * paragraph.h: renamed several methods to begin with small letter.
14118 several changes to many parts of the code because of this.
14120 2001-06-23 The LyX Project <jug@sad.it>
14122 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14123 rewritten to discard all double spaces when KeepEmpty is off
14124 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14125 to only handle newlines but not fiddle with spaces and friends.
14127 * lyxfunc.C (MenuNew): when doing 'new from template', use
14128 template_path as default directory
14130 2001-06-23 The LyX Project <Asger>
14132 * Clean-up of header file includes all over
14133 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14135 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14137 * paragraph.h: renamed from lyxparagraph.h
14139 2001-06-23 Asger <lyx@violet.home.sad.it>
14141 * Buffer.h: Removed Buffer::resize
14142 * BufferList.h: Removed BufferList::resize
14143 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14144 the document lazily when we change the width, or the font settings.
14146 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14148 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14150 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14152 * buffer.h: remove out of date comment
14154 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14157 * screen.C: fix "theoretical" GC leak
14159 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * LaTeX.C (scanAuxFile):
14162 (deplog): remove trailing \r when reading stream (useful under
14165 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14167 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14168 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14169 and BufferView::theLockingInset(Inset*), so should use them and not
14170 access bv_->text->the_locking_inset directly.
14172 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14174 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14177 * tex-defs.h: remove old unused file
14179 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14181 * BufferView_pimpl.C: fix typo, remove minibuffer message
14182 when buffer has loaded
14184 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14186 * lyxfunc.C (Dispatch): use stringstream
14187 (MenuNew): use stringstream
14188 (Open): use stringstream
14190 * importer.C (Import): use stringstream
14192 * bufferview_funcs.C (CurrentState): use stringstream
14194 * LaTeX.C (run): use stringstream
14196 * BufferView_pimpl.C (savePosition): use stringstream
14197 (restorePosition): use stringstream
14198 (MenuInsertLyXFile): use stringstream
14200 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14213 * vspace.C: removed // -*- C++ -*- as first line.
14216 * version.h: added // -*- C++ -*- as first line.
14218 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14220 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14222 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14225 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14227 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14230 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * gettext.C: include LString.h even when --disable-nls is on.
14234 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14236 * converter.h (Get): changed argument type from int to
14237 FormatList::size_type to avoid unnecessary conversion.
14239 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14242 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14244 * gettext.h: include LString.h even when --disable-nls is on.
14246 2001-06-07 Juergen Vigna <jug@sad.it>
14248 * text.C (BreakAgain): subst spaces with tabs.
14250 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14251 (resizeInsetsLyXText): set force on resizeLyXText.
14253 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14255 * gettext.h (gettext_init):
14256 (locale_init): use a real definition instead of a macro
14258 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14260 * Bufferview_pimpl.C:
14262 * LColor.C: further lcolor tidies
14264 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14266 * BufferView_pimpl.C (updateScrollbar): simplify.
14268 * BufferView2.C: don't include insets/insetinfo.h, change
14269 prototype for insertInset and call the Pimpl version. let
14270 updateInset call Pimpl version.
14272 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14273 gotoInset to BufferView::Pimpl
14275 2001-06-01 Juergen Vigna <jug@sad.it>
14277 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14278 inside a LockingInset (is the update needed at all?).
14280 2001-05-31 Juergen Vigna <jug@sad.it>
14282 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14283 here not the old one otherwise how should we compare it afterwards
14286 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14291 * FontInfo.C: bring C functions into global namespace when
14294 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14296 * LString.h: make sure config.h has been loaded before LString.h.
14298 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14299 (one for each char read by EatLine!).
14301 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14304 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14306 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14307 to the same as the par we break from
14309 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14311 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14313 * MenuBackend.C (expand): also create menu entries for wide
14314 versions of the floats.
14316 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14318 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14320 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14321 frontends/Makefile.am
14327 * tabular.C (getTokenValue): add std::
14329 * tabular-old.C (getTokenValue): add std::
14330 (getTokenValue): ditto
14331 (getTokenValue): ditto
14333 * screen.C (ToggleSelection): adjust
14335 * lyxtext.h: put selection cursors inside a Selection struct.
14337 * lyxfunc.C (moveCursorUpdate): adjust
14339 * lyxfont.C (latexWriteStartChanges): add std::
14341 * lyxfind.C: adjust
14343 * font.h: delete with(char const *, LyXFont const &)
14345 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14347 * FontInfo.C (getFontname): add std::
14349 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14350 (workAreaButtonPress): adjust
14351 (tripleClick): adjust
14353 (moveCursorUpdate): adjust
14356 * BufferView2.C (gotoInset): adjust
14358 2001-05-30 Juergen Vigna <jug@sad.it>
14360 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14361 to check pspell I add this as default as I now have new pspell
14362 libraries and they seem to use this.
14364 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14366 * text2.C (CutSelection): make the cursor valid before the call to
14369 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14371 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14372 relied on 0 terminated strings and other horrors. Bug found due to
14373 the new assert in lyxstring!
14375 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14378 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14380 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14383 * lyxfunc.C (processKeySym): change method of getting to the
14386 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14387 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14388 * BufferView_pimpl.[Ch]: here as private methods.
14390 2001-05-28 Juergen Vigna <jug@sad.it>
14392 * text.C (SetHeightOfRow): added the update() call again as it is
14393 needed to initialize inset dimensions!
14395 2001-05-16 Juergen Vigna <jug@sad.it>
14397 * text2.C (SetCharFont): Add new function with BufferView * and
14398 bool toggleall parameters for setting insets internal fonts.
14399 (SetFont): Freeze the undo as we may change fonts in Insets and
14400 all this change should be inside only one Undo!
14402 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14403 setting font's in insets as for them we have the SetFont function!
14405 2001-05-15 Juergen Vigna <jug@sad.it>
14407 * text2.C (ClearSelection): to be sure we REALLY don't have any
14410 * tabular.C (TeXCellPreamble): fixed the left border problem for
14413 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14415 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14418 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14420 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14421 LFUN_BREAKPARAGRAPH.
14423 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14424 help test to "internal only", similar for LFUN_INSERT_URL
14426 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14427 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14428 auto_region_delete and deadkeys.
14430 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14433 * LColor.C: remove some dead entries, tidy a little
14435 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14437 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14439 (Dispatch): implement LFUN_ESCAPE
14441 * commandtags.h: add LFUN_ESCAPE
14443 * LyXAction.C (init): add entry for LFUN_ESCAPE
14445 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14446 Remove commented code.
14447 (insertNote): moved here
14448 (open_new_inset): moved here
14450 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14453 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14455 * kbmap.C (findbinding): clean it up and make it work correctly.
14457 * lyx_main.C (init): do not pass argc and argv as parameters
14459 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14461 * buffer.C: fix path for OS/2 & Win32
14465 * lyx_main.C: Added os:: class.
14467 * os2_defines.h: update
14469 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14471 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14472 better by trying again with reduced state.
14474 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14476 * lyxrc.C (read): print error about invalid key sequence only when
14477 debugging (because not all latinX keysyms are known to some X
14480 * kbsequence.C (getiso): add a few std:: qualifiers
14481 (getiso): comment out extra return statement.
14483 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14485 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14487 (Dispatch): enhance the accent inset a bit. (not perfect)
14489 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14493 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14495 * bufferlist.C (emergencyWrite): fix assert() call
14497 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14499 * text.C (InsertChar): Added trivial patch to only send the "you
14500 can not do multiple spaces this way" message once during a
14503 2001-05-08 Baruch Even <baruch@lyx.org>
14505 * Makefile.am: Changed order of libraries to get LyX to link properly
14506 with the gnome frontend.
14508 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14510 * LaTeXFeatures.h: add a std:: qualifier
14512 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14514 * paragraph.C (String): use stringstream
14516 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14518 * paragraph.C (writeFile): remove footflag arg
14520 * buffer.C (makeLaTeXFile): use stringstream
14521 (latexParagraphs): remove footnot gurba
14523 * LaTeXFeatures.C (getPackages): use stringstream
14524 (getMacros): likewise
14525 (getTClassPreamble): likewise
14526 (getFloatDefinitions): new method
14528 * paragraph.C (writeFile): reindent
14531 * WorkArea.h: revert the xpos + etc changes.
14533 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14535 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14537 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14538 (pasteSelection): likewise
14539 * text2.C (CreateUndo): likewise
14541 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14543 * minibuffer.C (peek_event): temporarily reduce the functionality
14544 of the minibuffer (to allow args on lfuns)
14546 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14547 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14549 * buffer.C (readInset): add compability reading of old float
14550 lists, add reading of new style float list.
14551 (readInset): avoid reevaluation of inscmd.getCmdName()
14552 (getLists): reindent
14554 * MenuBackend.C (MenuItem): implement parsing of
14555 md_floatlistinsert and md_floatinsert.
14556 (expand::LastFiles): move initalizaton of iterators out of loop,
14557 avoid reevaluation.
14558 (expand::Documents): introduce typdedef vector<string> Strings,
14560 (expand::ExportFormats): introduce typedef vector<Format const *>
14561 Formats, and use it.
14562 (expand): implement FloatListInsert and FloatInsert.
14564 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14565 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14566 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14568 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14570 (Dispatch::LFUN_FLOAT_LIST): implement
14572 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14574 * LaTeX.C (run): Fix problem with --export code.
14576 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14578 * BufferView.[Ch] (workarea): removed.
14579 (getClipboard) new method; wrapper for workarea()->getClipboard()
14581 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14584 * WorkArea.h (width, height, xpos, ypos): These methods all
14585 returned the dimensions of the work_area sub-area of WorkArea,
14586 resulting in a position error if the WorkArea were resized. Now
14587 return the dimensions of the entire WorkArea.
14589 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14591 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14593 * LaTeX.C (deplog): correct the syntax of regex reg1
14595 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14597 * undo.C: remove !NEW_INSETS cruft
14599 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14601 * text2.C: remove !NEW_INSETS cruft
14603 * text.C: remove !NEW_INSETS cruft
14605 * tabular.C: remove !NEW_INSETS cruft
14607 * spellchecker.C: remove !NEW_INSETS cruft
14609 * lyxtext.h: remove !NEW_INSETS cruft
14611 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14613 * lyxfunc.C: remove !NEW_INSETS cruft
14615 * lyxfind.C: remove !NEW_INSETS cruft
14617 * lyx_cb.C: remove !NEW_INSETS cruft
14619 * figureForm.C: remove !NEW_INSETS cruft
14621 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14623 * buffer.[Ch]: remove !NEW_INSETS cruft
14625 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14627 * CutAndPaste.C: remove !NEW_INSETS cruft
14629 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14631 * BufferView2.C: remove !NEW_INSETS cruft
14633 * BufferView.h: remove !NEW_INSETS cruft
14635 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14637 * Lsstream.h: include LString.h before the sstream headers to
14638 fix problem with gcc 2.95.3 and lyxstring
14640 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14642 * lyx_main.C: add using directives when needed for C functions
14643 declared in std:: namespace.
14645 2001-04-27 Juergen Vigna <jug@sad.it>
14647 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14648 (SetHeightOfRow): comment out the update call should not be needed!
14650 2001-04-13 Juergen Vigna <jug@sad.it>
14652 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14653 (LyXTabular): tried to minimize operator= operations (and realized
14654 hopfully Lars wish).
14656 2001-04-27 Juergen Vigna <jug@sad.it>
14658 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14660 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14662 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14664 * buffer.C (readInset): hack to make listof algorithm work
14666 * BufferView_pimpl.C: hack to make listof algorithm work
14668 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14670 * LyXAction.C: removed all !NEW_INSETS cruft
14671 (init): moved lfun_item in method
14673 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14675 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14677 * BufferView2.C (theLockingInset): white space.
14679 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14681 * minibuffer.C: include <iostream>
14683 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14685 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14687 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14689 * text.[Ch] (TransposeChars): new method
14691 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14693 * call message directly through LyXView instead of through LyXFunc
14694 * BufferView2.C: adjust
14695 * BufferView_pimpl.C: adjust
14696 * FontLoader.C: adjust
14698 * bufferview_funcs.C: adjust
14699 * converter.C: adjust
14700 * figureForm.C: adjust
14701 * importer.C: adjust
14703 * lyx_gui_misc.C: adjust
14704 * lyxfunc.C: adjust
14707 + more files in subdirs
14709 * lyxparagraph.h (size): move up int file
14712 * adjust all uses of Assert to lyx::Assert.
14714 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14715 lyxfunctional in namespace lyx
14716 * layout.C (hasLayout): ditto
14719 (delete_layout): ditto
14720 (NumberOfClass): ditto
14721 * converter.C (GetFormat): ditto
14726 * bufferlist.C (getFileNames): ditto
14727 (emergencyWriteAll): ditto
14730 * MenuBackend.C (hasSubmenu): ditto
14733 * BufferView_pimpl.C (getInsetByCode): ditto
14735 2001-04-18 Juergen Vigna <jug@sad.it>
14737 * vspace.C (asLatexString): fixed the 100% problem.
14739 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14741 * lyxfunc.C (Dispatch):
14743 * minibuffer.h: add a few std:: qualifiers
14745 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14747 * minibuffer.[Ch]: reimplement so that commands is initiated and
14748 run from lyxfunc, simplified som handling, and made the completion
14749 and history code for complete. wip.
14751 * lyxfunc.C (processKeySym): call message
14752 (miniDispatch): new temporary method
14753 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14754 (LFUN_MESSAGE): implement
14755 (LFUN_MESSAGE_PUSH): implement
14756 (LFUN_MESSAGE_POP): implement
14757 (initMiniBuffer): the initial/defualt minibuffer message.
14759 * lyxfont.[Ch]: inline some more getters
14761 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14763 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14765 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14766 (AutoSave): use LFUN_MESSAGE
14767 (Reconfigure): ditto
14769 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14771 * figureForm.C: use LFUN_MESSAGE
14773 * converter.C (runLaTeX): use LFUN_MESSAGE
14775 * bufferview_funcs.C: use LFUN_MESSAGE
14777 (changeDepth): ditto
14779 * bufferparams.h: use boost::
14781 * bufferlist.h: inherit privately from noncopyable
14783 * bufferlist.C (loadLyXFile): remove some commented code.
14785 * buffer.C (runChktex): use LFUN_MESSAGE
14787 * ShareContainer.h: inherit privately from noncopyable
14789 * ParagraphParameters.[hC] (depth): inline it.
14791 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14793 (message): new method
14794 (messagePush): ditto
14795 (messagePop): ditto
14796 (show): init minibuffer
14797 (showState): direct call
14799 * LaTeX.[Ch]: inherit privately from noncopyable
14800 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14801 instead of WriteStatus.
14803 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14805 * BufferView_pimpl.C (buffer): don't init minibuffer
14806 (workAreaButtonPress): use LFUN_MESSAGE
14807 (workAreaButtonRelease): ditto
14808 (savePosition): ditto
14809 (restorePosition): ditto
14810 (MenuInsertLyXFile): ditto
14811 (workAreaExpose): don't init minibuffer
14812 (update): remove commented code, simplify
14814 * BufferView2.C (openStuff): use LFUN_MESSAGE
14815 (toggleFloat): ditto
14818 (copyEnvironment): ditto
14819 (pasteEnvironment): ditto
14824 (updateInset): remove some commented code
14826 * lastfiles.h: inherit privately from noncopyable
14829 * lyx_main.h: ditto
14831 * lyxlex_pimpl.h: ditto
14833 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14834 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14835 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14837 * LyXAction.h: inherit privately from noncopyable, add methods
14838 func_begin, func_end, returning iterators to the func map.
14840 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14841 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14842 (func_begin): new method
14843 (func_end): new method
14845 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14847 (copySelection): ditto
14848 (pasteSelection): ditto
14850 * BufferView.C: whitespace change
14851 * BufferView.h: inherit privately from noncopyable
14853 2001-04-16 Allan Rae <rae@lyx.org>
14855 * tabular-old.C (l_getline):
14856 * spellchecker.C (sc_check_word):
14857 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14858 an unrecognised preprocessor directive. So ensure they're wrapped.
14860 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14862 * src/exporter.C (Export): Give an error message when path to file
14865 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14867 * LaTeX.C (deplog): Always check that foundfile exists.
14869 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14872 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14874 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * tabular.[Ch] (getLabelList): implement new method
14878 * minibuffer.h: comment ouf setTiimer
14880 * minibuffer.C (ExecutingCB): constify res
14881 (peek_event): constify s
14882 (Set): constify ntext
14883 (Init): constify nicename
14885 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14887 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14888 (savePosition): use two params to Minibuffer::Set
14889 (restorePosition): ditto
14891 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14893 * lyx_main.C: include language.h
14895 * Makefile.am (lyx_main.o): add language.h
14897 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14903 * CutAndPaste.C: include gettext.h
14905 * lyxfont.h: remove old hack with ON and OFF.
14908 * lyxfont.h: do not include language.h...
14913 * bufferview_funcs.C:
14919 * paragraph.C: ... but do it here instead
14921 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14923 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14925 * tabular.C: small reformat
14927 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14930 (BreakParagraph): ditto
14931 (SetOnlyLayout): ditto
14934 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14937 * lastfiles.C: removed most using decl, add std:: where needed
14939 * buffer.C: ws changes
14941 * MenuBackend.C (class compare_format): put into anon namespace
14942 (expand): constify label, names, action, action2
14945 * text.C (SingleWidth): constify font
14946 (IsBoundary): constify rtl2
14947 (GetVisibleRow): constify ww
14949 * LaTeX.C (deplog): constify logfile
14951 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14953 (workAreaExpose): constify widthChange, heightChange
14955 * lyxrow.C (par): moved
14958 * lyxrow.h: as inlines here
14960 * lyxfont.h (shape): moved from lyxfont.C
14961 (emph): moved from lyxfont.C
14963 * lyxfont.C (LyXFont): use initialization list for all
14965 (shape): move to lyxfont.h as inline
14966 (emph): move to lyxfont.h as inline
14969 2001-04-04 Juergen Vigna <jug@sad.it>
14971 * vspace.C: had to include stdio.h for use of sscanf
14973 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14976 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14977 independent of xforms.
14979 2001-04-02 Juergen Vigna <jug@sad.it>
14981 * spellchecker.C: fixed namespace placing!
14983 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14985 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14986 the LyXParagraph * is 0.
14988 2001-03-29 Juergen Vigna <jug@sad.it>
14990 * vspace.C: added support for %, c%, p%, l%.
14991 (stringFromUnit): added helper function.
14992 (asLatexString): changed to give right results for the %-values.
14994 * buffer.C: convert the widthp in a width%.
14996 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14998 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15001 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15002 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15004 * lyx_cb.[Ch]: see above.
15006 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15010 * lyx.[Ch]: replaced by figure_form.[Ch].
15014 * lyxfunc.C: changed headers associated with above changes.
15016 2001-03-27 Juergen Vigna <jug@sad.it>
15018 * BufferView_pimpl.C: set the temporary cursor right!
15020 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15022 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15024 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15026 * LString.h: removed "using std::getline"!
15028 * BufferView_pimpl.C (Dispatch): changes due to changes in
15029 InsetInclude::Params.
15031 * buffer.C (tag_name): removed redundant break statements as they were
15032 producing lots of warnings with my compiler.
15034 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15036 * LString.h: add "using std::getline" when using the real <string>.
15038 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15040 * buffer.C: removed bitset usage.
15041 PAR_TAG moved to an anonymous name space.
15042 (tag_name): new funtion, also in the anonymous namespace.
15043 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15044 (makeDocBookFile): clean code. Completed transition from string arrays
15046 (SimpleDocBookOnePar): code clean.
15048 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15050 * tabular.C: add some comments.
15052 2001-03-22 Juergen Vigna <jug@sad.it>
15054 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15055 compatibility read a bit and fixed bug with minipage in different
15058 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15060 * buffer.C (pop_tag): removed.
15061 (push_tag): removed.
15062 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15063 array replaced with vector. Added support for CDATA sections.
15064 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15066 (makeDocBookFile): XML conformant declaration of CDATA section,
15067 fixed bug related to <emphasis> in the first paragraph char.
15068 (sgmlOpenTag): exclude empty tags.
15069 (sgmlCloseTag): ditto.
15071 * buffer.h (pop_tag): removed.
15072 (push_tag): removed.
15074 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15076 * language.h (Languages): added size_type and size().
15078 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15080 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15081 response on compability reading of minipages. One probliem is that
15082 the old usage of minipages was «flertydig»
15084 * several files here and in subdirs: don't use static at file
15085 scope use anon namespaces instead.
15087 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15089 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15090 LaTeX output. This is necessary for Literate document
15093 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15095 * buffer.C: insert hfill when needed.
15097 * tabular.C (l_getline): use string::erase, small whitespace change.
15099 * BufferView_pimpl.C: try the anon namespace.
15100 * WorkArea.C: ditto
15102 2001-03-16 Juergen Vigna <jug@sad.it>
15104 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15105 otherwise it won't open options-dialogs.
15107 * buffer.C: honor pextraWidth(p) on converting minipages.
15109 * tabular.C (l_getline): changed the functions to strip trailing \r.
15111 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15113 * BufferView_pimpl.C:
15114 * minibuffer..C: added "using SigC::slot" declaration.
15116 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15118 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15124 * paragraph.C: ditto
15126 * lyxtext.h: NO_PEXTRA
15128 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15130 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15131 * ParameterStruct.h: ditto
15132 * ParagraphParameters.h: ditto
15133 * lyxparagraph.h: ditto
15135 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15137 * buffer.C: add compability for minipage alignment.
15138 (latexParagraphs): remove unwanted pextra check.
15140 * several files: remove CXX_WORKING_NAMESPACES
15142 * buffer.C (pop_tag): tie is in namespace boost
15144 * BufferView.h: noncopyable is in namespace boost
15146 * lyx_main.h: ditto
15149 * lastfiles.h: ditto
15150 * bufferlist.h: ditto
15151 * ShareContainer.h: ditto
15153 * LyXAction.h: ditto
15156 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15158 * Merging changes from BRANCH_MVC back into HEAD.
15160 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15162 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15164 * BufferView_pimpl.C: change from intl.C
15168 * Makefile.am: move combox.*
15174 * intl.C: remove dialog (covered by prefs)
15176 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15178 * lyxfunc.C (Dispatch): removed redundant break statement.
15180 2001-03-14 Juergen Vigna <jug@sad.it>
15182 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15184 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15186 * buffer.C: add hack to fix compability reading of minipages.
15188 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15190 * buffer.C (getLists): Cleanup.
15192 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * lyxfont.C (update): don't honor toggleall on font size.
15196 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15200 * Makefile.am: moved to frontends/xforms/
15204 * BufferView_pimpl.C: changes for moved mathpanel
15206 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15208 * gettext.h: fix gettext_init() in --disable-nls
15210 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15212 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15214 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15217 * lyx.h: strip external form
15219 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15221 * BufferView_pimpl.C: add comment, destroySplash()
15223 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15225 * BufferView_pimpl.C:
15229 * lyxfunc.C: use re-worked insetinclude
15231 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15233 * buffer.C: add using std::stringstream.
15235 * lyx_cb.C: readd using std::ios.
15237 * buffer.C: add using std::map.
15239 * BufferView_pimpl.C: add using std::vector.
15241 * ShareContainer.h: add std:: to swap.
15243 * buffer.h: add some typedefs
15244 * buffer.C (getLists): use them
15245 (getLists): renamed from getTocList.
15246 add a counter for the different float types and use it in the
15248 (getLists): use the same counter for the NEW_INSETS and the "non"
15251 * lyx_cb.h: remove unused items, includes, using etc.
15253 * ShareContainer.h: remove some commented code, add more comments
15254 and "documentation".
15256 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15258 * buffer.C (getTocList): make the list also when NEW_INSETS is
15261 * buffer.h: remove TocType
15263 * buffer.C (getTocList): change to return a map<string,
15264 vector<TocItem> >, implement for dynamic number of list.
15266 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15267 * text2.C (PasteSelection): adjust
15268 * CutAndPaste.C (pasteSelection): adjust
15270 * FloatList.C (FloatList): update from the new_insets branch.
15271 * Floating.[Ch]: ditto
15272 * LaTeXFeatures.C: ditto
15274 * lyxlex_pimpl.C: ditto
15276 * paragraph.C (Last): remove when NEW_INSETS is defined.
15278 * other file: changes because of the above.
15280 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15282 * lyxparagraph.h: rename next to next_, previous to previous_,
15283 make them private for NEW_INSETS. Rename Next() to next(),
15284 Previous() to previous().
15286 * other files: changes because of the above.
15288 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15291 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15294 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15296 * main.C (main): pass lyx_localedir to gettext_init().
15298 * gettext.h: remove locale_init and gettext_init macros
15300 * gettext.C (locale_init): new function
15301 (gettext_init): new function
15303 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15306 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15308 * Moved credits to frontends:
15309 * credits.[Ch]: removed
15310 * credits_form.[Ch]: removed
15311 * lyx_gui_misc.C: remove credits stuff
15314 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15316 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15318 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15319 unneeded destructor.
15321 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15322 a standalone pointer again.
15324 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15326 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15332 * ToolbarDefaults.C:
15341 * BufferView_pimpl.C: use new file dialog in GUII
15344 * lyx_cb.C: remove LayoutsCB to Toolbar
15346 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15348 * ShareContainer.h (get): add std:: qualifier
15350 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * ShareContainer.h: define a proper ShareContainer::value_type
15353 type (and use typename to please compaq cxx)
15355 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15357 * lyxparagraph.h: move serveral local vars to
15358 ParameterStruct/ParagraphParameters., use ShareContainer in
15359 FontTable., make vars in FontTable private and add getter and
15362 * paragraph.C: changes because of the above.
15364 * lyxfont.h: remove copy constructor and copy assignment. (the
15365 default ones is ok), move number inside FontBits. move inlines to
15368 * lyxfont.C: add number to initializaton of statics, move several
15369 inlines here. constify several local vars. some whitespace
15370 cleanup. Dont hide outerscope variables.
15372 * Spacing.h: add two new constructors to match the set methods.
15374 * ShareContainer.h: new file, will perhaps be moved to support
15376 * ParameterStruct.h: new file
15378 * ParagraphParameters.h: new file
15380 * ParagraphParameters.C: new file
15382 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15383 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15385 * BufferView_pimpl.C: ParagraphParameter changes.
15386 * buffer.C: Likewise.
15387 * bufferview_funcs.C: Likewise.
15388 * text.C: Likewise.
15389 * text2.C: Likewise.
15391 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15393 * lyxfind.C (LyXReplace): do not redefine default argument in
15395 (IsStringInText): ditto
15396 (SearchForward): ditto
15397 (SearchBackward): ditto
15399 2001-03-06 Juergen Vigna <jug@sad.it>
15401 * lyxfind.C (IsStringInText): put parentes around expressions.
15403 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15405 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15407 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15409 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15411 * stl_string_fwd.h: add comment
15413 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15416 * tabular.C: remove unused DocBook methods
15422 killed DO_USE_DEFAULT_LANGUAGE
15424 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15426 * lyx_gui.C: do not include language.h.
15428 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15429 arguments in function implementation.
15431 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15433 * BufferView_pimpl.C: add <ctime>
15435 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15437 * BufferView_pimpl.C: add using std::find_if
15439 2001-02-27 José Matos <jamatos@fep.up.pt>
15441 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15444 2001-02-11 José Matos <jamatos@fep.up.pt>
15446 * buffer.C (makeDocBookFile): command styles now have a parameter as
15447 "title" by default.
15449 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15451 * layout_forms.[Ch]: removed
15452 * lyx_cb.[Ch]: out character
15453 * lyx_gui.C: out character
15454 * lyx_gui_misc.C: out character
15455 * bufferview_funcs.C: : out character,
15456 added toggleall as parameter in ToggleAndShow
15458 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15460 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15462 * text2.C (SetCurrentFont): Disable number property at boundary.
15464 2001-02-26 Juergen Vigna <jug@sad.it>
15466 * lyxfunc.C (getStatus): added a string argument override function so
15467 that this is correctly called from LyXFunc::Dispatch if it contains a
15468 do_not_use_argument which is used!
15469 (Dispatch): added check for "custom" export and call appropriate func.
15471 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15473 * lyxrc.C: Add language_command_local, language_use_babel and
15474 language_global_options.
15476 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15478 * buffer.C (makeLaTeXFile): Use language_use_babel and
15479 language_global_options.
15481 2001-02-23 Juergen Vigna <jug@sad.it>
15483 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15484 which works with LyXText and putted it inside BufferView. Here now we
15485 only call for that part the BufferView::Dispatch() function.
15487 * BufferView.C (Dispatch): added.
15489 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15490 functions which needs to use a LyXText over from LyXFunc.
15491 (MenuInsertLyXFile): added
15492 (getInsetByCode): added
15493 (moveCursorUpdate): added
15494 (static TEXT): added
15496 2001-02-22 Juergen Vigna <jug@sad.it>
15498 * BufferView_pimpl.C (update): call a status update to see if LyXText
15501 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15503 * vc-backend.C (revert): implement for CVS
15504 (getLog): implement for CVS
15506 2001-02-20 Juergen Vigna <jug@sad.it>
15508 * text2.C (ClearSelection): added BufferView param for inset_owner call
15510 * lyxfunc.C (TEXT): added this function and use it instead of
15511 directly owner->view()-text of getLyXText().
15513 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15515 * src/layout_forms.C: out preamble
15516 * src/layout_forms.h: out preamble
15517 * src/lyx_cb.C: out preamble
15518 * src/lyx_cb.h: out preamble
15519 * src/lyx_gui.C: out preamble
15520 * src/lyx_gui_misc.C: out preamble
15521 * src/lyxfunc.C: connect with guii preamble
15523 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15525 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15527 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15529 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15530 whether to run bibtex.
15532 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15534 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15536 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15538 * Makefile.am (lyx_SOURCES): removed bibforms.h
15540 * vspace.h: doxygen
15542 * text.C (GetVisibleRow): make several local vars const
15544 * tabular.C: small cleanup.
15546 * lyxserver.C (callback): use compare instead of strncmp
15548 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15549 inlines to after class or to paragraph.C
15551 * lyxfont.h: remove friend operator!=
15553 * converter.h: move friend bool operator< to non friend and after
15556 * combox.h: small cleanup
15558 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15559 to inlines after class def.
15561 * buffer.C (pop_tag): use string operations instead of strcmp
15563 * bmtable.c: doxygen, small cleanup
15565 * LaTeX.h: remove friend operator==
15567 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15579 * BufferView_pimpl.C:
15580 * BufferView.[Ch]: remove cruft
15582 2001-02-14 Juergen Vigna <jug@sad.it>
15584 * lyxfunc.C: removed #if 0 unused code
15586 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15588 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15590 * text2.C (SetSelection): added a BufferView * parameter
15592 2001-02-13 Juergen Vigna <jug@sad.it>
15594 * lyxfunc.C (Dispatch): fixed protected blank problem.
15595 * BufferView2.C (protectedBlank): added LyxText * parameter.
15597 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15598 (AppendColumn): same as above for column_info.
15600 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15601 (moveCursorUpdate): use a LyXText param for support of InsetText.
15603 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15604 (tripleClick): ditto
15606 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15608 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15610 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15612 * text2.C (SetSelection): set correct update status if inset_owner
15613 (ToggleFree): ditto
15615 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15617 * tabular.C: remove some commented code.
15619 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15621 * BufferView_pimpl.C: call hideSplash()
15623 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15626 * bibforms.h: remove
15629 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15630 add LFUN_CHILD_CREATE
15632 * counters.h: fix tiny typo
15637 * lyx.C: move splash to frontends/xforms/
15639 * lyx_gui_misc.C: move Include and Bibform to frontends
15641 * lyxvc.h: clarify comment
15643 * vspace.C: tiny housekeeping
15645 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15647 * text.C (PrepareToPrint): RTL Fix.
15649 * paragraph.C (GetUChar): New method.
15650 (String): Use GetUChar.
15652 * buffer.C (asciiParagraph): Use GetUChar.
15654 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15656 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15658 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15661 * buffer.C: rename to getLogName(), handle
15662 build log / latex log nicely
15664 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15667 * MenuBackend.h: remove support for reference menuitem type.
15669 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15671 * BufferView_pimpl.C: housekeeping
15672 * BufferView_pimpl.h:
15677 * minibuffer.h: move Timeout GUI-I
15679 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15681 * lyxrc.C (read): Update converters data-structures.
15683 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15685 * LaTeX.h (operator!=): add operator != for Aux_Info
15687 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15689 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15691 * LaTeXLog.C: deleted, useful code moved to Buffer
15694 * buffer.C: new function getLatexLogName()
15700 * lyxfunc.C: use frontends for LaTeX and VC logs
15702 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15704 * LaTeX.h: yet another std:: that Allan forgot.
15706 * Variables.C (set): renamed from isset(), because this clashes
15707 with some HP-UX macros (grr).
15709 2001-02-06 Allan Rae <rae@lyx.org>
15711 * LaTeX.h: Another bug fix. Missing std:: this time.
15713 2001-02-04 Allan Rae <rae@lyx.org>
15715 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15716 floats problem. I've left it commented out because it's not quite
15717 correct. It should also test that the current object is a table or
15718 figure inset. But I haven't gotten around to figuring out how to do
15719 that. I *think* it'll be something like: "table" == inset.type()
15721 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15724 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15726 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15727 all the citation/databases/styles in the auxilary file.
15728 (run): Rerun latex if there was a babel language error.
15730 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15732 * text.C (Backspace): Preserve the font when changing newline char
15734 (BreakParagraph): If the cursor is before a space, delete the space.
15736 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15738 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15740 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15741 new argument (code).
15742 (ChangeCitationsIfUnique): New method.
15744 * paragraph.C (GetPositionOfInset): Handle bibkey.
15746 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15748 * BufferView_pimpl.h: change type of Position::par_pos to
15749 LyXParagraph::size_type.
15751 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15753 * BufferView_pimpl.C (savePosition, restorePosition): Write
15754 messages to minibuffer.
15756 2001-01-28 José Matos <jamatos@fep.up.pt>
15758 * buffer.C (makeDocBookFile): adds support for document language.
15759 A silly restriction on the name of LatexCommand types where removed.
15760 Added support for CDATA sections, allows to chars unescaped, used
15761 among others in code, to avoid escape < and >.
15763 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15765 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15766 saved positions instrad of a stack. Furthermore, a position is
15767 stored using paragraph id/paragraph position.
15769 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15770 Remove LFUN_REF_BACK.
15772 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15774 * converter.C (dvipdfm_options): New method.
15776 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15778 * vspace.C (isValidLength): Fix for empty input string.
15780 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15782 * LyXAction.C (init): change description of LFUN_FIGURE to
15785 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15787 * LaTeX.C: add using directive
15789 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15791 * MenuBackend.C (expand): Fix the sorting of the formats.
15793 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15795 * lyx_main.C: tiny error message fix
15797 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15799 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15800 calling fl_initialize(). This fixes the problem with ',' as
15801 decimal separator in text files.
15803 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15805 * trans.C (process): Fix the keymap bug.
15807 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15809 * LaTeX.C (scanAuxFiles): New method. Provides support for
15810 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15811 (scanLogFile) Scan for "run BibTeX" messages.
15813 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15814 OT1 font encoding. Also, load the aecompl package if the ae
15817 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15819 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15821 * texrow.C (increasePos): turn two error messages into debug
15824 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15826 * LaTeX.C (scanAux): Handle the \@input macro.
15827 (runBibTeX): Use scanAux().
15829 * language.C (latex_options_): New field.
15831 * LaTeXFeatures.C (getMacros): Add language macros.
15833 * buffer.C (makeLaTeXFile): Small fix.
15835 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15837 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15839 * text2.C: add a using directive.
15841 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15846 * lyxfunc.C: kill LyXBell.
15848 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15850 * text.C (IsBoundary): Remove the error message
15852 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15854 * lyxrc.C (setDefaults): Correct initialization value for
15857 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15859 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15862 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15863 and GotoNextNote().
15865 * src/LyXAction.C: Added reference-next.
15867 * text.C (InsertChar): Use contains instead of strchr.
15869 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15871 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15873 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15874 alignment commands (when needed).
15876 * text.C (InsertChar): Add ':' to number separator chars.