1 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * MenuBackend.C (Menu::operator[]): new method to access
5 (Menu::hasFunc): new method. search for an item that corresponds
7 (MenuBackend::specialMenu): new method
8 (MenuBackend::expand): if a special menu has been set, skip
9 entries whose func() appears in this menu
11 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
13 * text3.C: use Debug::DEBUG a bit more
15 * text.C (leftMargin): try to simplify a tiny bit change var x to
16 l_margin. Dont output the wide margins always.
17 (rightMargin): no margin in inner texts
19 * rowpainter.h (nestMargin): new func
20 (changebarMargin): new func
21 (rightMargin): new func
23 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
27 * factory.C (createInset): modify setDrawFrame
29 * cursor.C: use Debug::DEBUG a bit more
31 2004-08-14 André Pönitz <poenitz@gmx.net>
34 * Makefile.am: new files to accomodate an 'external' (x,y)-position
35 cache for all insets in (at least partially) visible (top-level)
38 * BufferView_pimpl.C: reset external coord cache before every update.
39 This means the coord cache only contains valid entries.
41 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
44 * BufferView_pimpl.C (getInsetByCode): move function out of class
45 and change in to a template in anon namespace. Also fix to do what
48 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
51 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
53 (breakParagraph): rename par to par_offset and use a local
54 reference. Add code to keep the language over a rebreak.
55 (breakParagraphConservative): rename par to par_offset, use a
57 (mergeParagraph): ditto
59 (isFirstInSequence): ditto
60 (outerFont): rename pit to par_offset
62 * paragraph.C: ws change
67 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
72 * paragraph.C (simpleTeXOnePar): when we have a \item with
73 optional argument, enclose the argument with curly brackets (in
74 case it contains a closing square bracket)
78 * text3.C (checkInsetHit): constify
80 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
82 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
85 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 Fix toggling of collapsable insets with the mouse (bug 1558)
89 * lyxfunc.C (dispatch): adapt to LCursor changes
91 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
92 make sure that dispatch is not invoked twice
94 * cursor.C (needsUpdate): new method
95 (dispatch): return void
96 (result): new method, to access the DispatchResult of the cursor.
98 2004-08-13 José Matos <jamatos@lyx.org>
100 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
102 2004-08-13 André Pönitz <poenitz@gmx.net>
104 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
106 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
109 2004-08-12 André Pönitz <poenitz@gmx.net>
111 * text3.C: take out the 'cursor right' form insertInset and only
112 do it in those places when it is really needed. Fixes crash on
115 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
119 * BufferView_pimpl.C (setBuffer): initialize the current font of
120 the underlying LyXText
122 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * kbsequence.C (print): use UI native formatting for menu
127 * text.C (insertChar): call Paragraph::insertChar with a font
130 * paragraph.C (insertInset, insertChar): the version that takes a
131 LyXFont argument is now a wrapper around the other one (the
132 opposite used to be true).
134 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
135 argument. Font setting is done in Paragraph now.
137 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
139 * outputparams.h: add new members intitle and lang.
141 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
142 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
144 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
146 * text3.C (dispatch): remove special handling of button 4 and 5,
147 it is now taken care of in the frontend code.
149 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
151 * Spacing.h: add <string> (STLPort compile fix)
153 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
155 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
157 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
159 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
162 * converter.C (showMessage): inherit from unary_function, make
165 * buffer.C (writeFile): initialize retval
167 * InsetList.h: rename private variable list to list_
168 * InsetList.[Ch]: adjust accordingly.
170 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
172 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
173 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
174 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
175 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
176 * ParagraphParameters.C, LaTeXFeatures.C: replace
177 "support/std_sstream.h" with <sstream>
179 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
181 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
182 * lyxsocket.C (LyXServerSocket): ditto
183 (serverCallback): ditto
185 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
187 * LaTeXFeatures.C: check release date when loading jurabib.
189 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
191 * lyxserver.C (startPipe): call register_socket_callback
192 (endPipe): call unregister_socket_callback
194 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
196 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
197 (LyXServerSocket): register the callback
198 (LyXServerSocket): unregister the callback
199 (fd): delete function
200 (serverCallback): improve error checking and setup the callbacks.
201 (dataCallback): change arg to fd.
202 (writeln): new func (copied fro the client socket) used for server
204 (LyXDataSocket): simplify
205 (~LyXDataSocket): close ann unregiser callback
206 (server): delete function
207 (fd): delete function
208 (readln): small changes, improve some std::string usage
209 (writeln): constify a bit
211 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
216 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * BufferView_pimpl.C (setBuffer): set the layout combox value only
219 after it has been populated
221 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * text2.C (insertInset): move cursor when inserting inset.
225 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * kbmap.C (findbindings): a couple of new methods. returns a
228 container of kb_sequence objects. The real work is done by the
229 private recursive version
230 (printbindings): uses findbindings to print out a bracketed list
231 of bindings (renamed from findbinding).
233 * MenuBackend.C (binding): use kb_keymap::findbindings
235 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
237 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
241 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * paragraph.C (isWord): return true on insets that report
246 * text.C (getWord): use Paragraph::isWord to decide what is in a
247 word and what is not; fix bug 1609.
249 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251 * tex-strings.C: add "none" to string_paperpackages[], fixes
252 off-by-one-error in the paperpackage selection.
255 * tex-strings.[Ch]: char const * string[n]
256 -> char const * const string[]
258 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
260 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
261 command, return early.
263 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
265 * debug.h: add DEBUG to enum and fix size of ANY.
267 * debug.C: add support for Debug::DEBUG
268 (showTags): cast errorTags.level to unsigned int
270 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
271 (redoCurrentBuffer): ditto
272 (updateScrollbar): ditto
273 * cursor.C (dispatch): ditto
274 * text2.C (setLayout): ditto
276 (updateCounters): ditto
278 (deleteEmptyParagraphMechanism): ditto
280 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
282 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
283 annotations to cleanup the Makefile slightly.
285 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
287 * lyxrc.C: do not set user_email to a default value but use empty
288 instead. The entry used to be translated, which does not work
289 since at the point where lyxrc is constructed there is no
290 translation service available
292 * messages.C (getLocaleDir): remove and use directly
293 lyx_localedir() instead
295 2004-06-02 Angus Leeming <leeming@lyx.org>
297 Fix crash caused by dereferencing null pointer 'exportdata' in
298 OutputParams by creating a new ExportData variable on the heap,
299 storing it in a boost::shared_ptr.
300 The crash was triggered when generating an Instant Preview
301 of an external inset.
303 * Makefile.am: add outputparams.C
305 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
306 (c-tor): allocate memory to it.
308 * exporter.C (c-tor): associated changes.
310 2004-06-01 Angus Leeming <leeming@lyx.org>
312 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
313 contains data before calling isInset(0). (Bug 1513.)
315 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
317 * exporter.C (checkOverwrite): new method
318 * exporter.C (copyFile): new method
319 * exporter.C (Export): copy referenced files to the document dir
320 * exporter.[Ch]: new class ExportedFile
321 * exporter.[Ch]: new class ExportData. Contains currently the
322 names of referenced external files
323 * outputparams.h: add exportdata member.
325 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
327 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
330 2004-05-19 Angus Leeming <leeming@lyx.org>
335 * lyxfunc.C: small changes due to the introduction of namespace
336 lyx::frontend and the moving of namespace biblio to lyx::biblio.
338 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
340 * text3.C (dispatch): supress update when only moving the cursor
341 * cursor.C (selHandle): remove commented code
343 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
345 * paragraph.C (startTeXParParams): correct column count
346 * CutAndPaste.C (pasteSelection): remove const_cast
347 * output_docbook.C (docbookParagraphs): remove const_cast
348 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
349 const_cast and return ParagraphList::const_iterator
350 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
351 * output_plaintext.C (writeFileAscii): remove const_cast
352 * paragraph.[Ch] (simpleTeXOnePar): make const
353 * paragraph_funcs.C (outerPar): use const iterators
354 * paragraph_pimpl.C (validate): use const iterators
355 * text.C (setHeightOfRow): use const iterators
357 2004-05-17 Angus Leeming <leeming@lyx.org>
360 * LyXAction.C (init): new LFUN_INSET_REFRESH.
362 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
363 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
364 if the citation engine has changed.
366 2004-05-14 José Matos <jamatos@lyx.org>
368 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
369 if the textclass does not provide it. Have it different for sgml and
371 support the language of document.
372 * output_docbook.C (docbookParagraphs):
373 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
374 first anchor as the id of the paragraph, remove special case code.
375 * sgml.C (escapeChar): escape only < & >.
377 2004-05-14 Angus Leeming <leeming@lyx.org>
379 * bufferparams.h: move biblio::CiteEngine enum here to minimize
380 dependencies on src/frontends/controllers/biblio.h. Define a
381 CiteEngine_enum wrapper class to enable the enum to be forward
384 2004-05-12 Angus Leeming <leeming@lyx.org>
386 * buffer.C: up LYX_FORMAT to 234.
387 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
388 use_numerical_citations with a single biblio::CiteEngine cite_engine
390 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
392 2004-05-13 José Matos <jamatos@lyx.org>
395 * converter.C (Converter, readFlags): add xml member.
396 * outputparams.h: add XML flavor.
397 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
399 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
401 * lyxfunc.C (dispatch):
402 (getStatus): fix handling of LFUN_SEQUENCE
404 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * debug.C (showLevel): do not forget the end-of-line marker
408 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * kbmap.C (read): do not stop parsing a bind file when an error
413 2004-04-29 Angus Leeming <leeming@lyx.org>
418 * text2.C: wrap a bunch of #warning statements
419 inside #ifdef WITH_WARNINGS blocks.
421 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
423 * buffer.C: increment format to 233.
425 2004-04-28 Angus Leeming <leeming@lyx.org>
427 * BufferView_pimpl.C:
430 s/updateToolbar()/updateToolbars()/
431 s/Toolbar.h/Toolbars.h/
433 2004-04-28 Angus Leeming <leeming@lyx.org>
435 * BufferView.[Ch] (c-tor):
436 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
437 No longer passes these data to the WorkArea generator.
439 2004-04-28 Angus Leeming <leeming@lyx.org>
441 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
443 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
445 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
447 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * output_latex.C (TeXEnvironment): make sure that there is a line
450 break before \end{foo} for the last paragraph of a document
451 (TeXOnePar): if the paragraph is at the end of the document (or
452 inset) and the language has to be reset, then make sure that the
453 line break is _before_ the language command, not after (fixes bug
454 1225); also make sure that the language reset command is the first
455 thing after the paragraph (to ensure proper nesting of
456 environments and thus fix bug 1404)
458 2004-04-21 John Levon <levon@movementarian.org>
461 * ToolbarBackend.C: make "name" be a programmatic name
462 and a gui_name field.
464 * lyxfunc.C: display the minibuffer on M-x
466 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
471 2004-04-19 Angus Leeming <leeming@lyx.org>
473 * BufferView_pimpl.C (setBuffer): changed preview interface.
475 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
478 2004-04-19 John Levon <levon@movementarian.org>
480 * BufferView_pimpl.C:
481 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
483 2004-04-05 Angus Leeming <leeming@lyx.org>
485 * text.C (redoParagraphs): add call to updateCounters(), thereby
486 fixing the missing "Figure #:" label from the caption of a
489 2004-04-13 Angus Leeming <leeming@lyx.org>
491 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
492 cursor is clicked out of an inset.
494 2004-04-13 Angus Leeming <leeming@lyx.org>
496 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
497 than an InsetOld one.
499 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
501 * format.[Ch]: add editor to Format
502 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
503 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
505 2004-04-08 André Pönitz <poenitz@gmx.net>
507 * metricsinfo.h: remove PainterInfo::width member
509 2004-04-08 Angus Leeming <leeming@lyx.org>
511 * lyx_sty.C (boldsymbol_def): modify so that it outputs
512 "\providecommand" rather than "\newcommand", thereby preventing
513 clashes with packages that define "\boldsymbol" themselves.
516 2004-04-08 Angus Leeming <leeming@lyx.org>
518 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
519 thereby squashing an unnecessary warning.
521 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
523 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
526 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
528 * BufferView.C (setCursor): call redoParagraph (some insets could
530 (putSelectionAt): remove the 'double update' trick
532 * BufferView_pimpl.C (fitCursor): call refreshPar
533 (workAreaDispatch): remove an uneeded update call
534 (dispatch): remove some manual update calls
536 * cursor.[Ch]: remove cached_y_, updatePos
537 (selHandle): set noUpdate when appropriate
539 * lyxfunc.C (dispatch): track if we need an update
541 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
543 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
544 (paintSelection): cheap optimization, do not call cursorX when not
546 (paintPars): change signature
549 (paintTextInset): adjust
553 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
555 * lengthcommon.C: compilation fix: remove explicit array size from
556 unit_name[] and friends
558 2004-04-05 Angus Leeming <leeming@lyx.org>
560 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
562 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
563 present only for the preferences dialog.
564 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
566 2004-04-05 Angus Leeming <leeming@lyx.org>
568 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
569 to enable the frontends to export changes to lyxrc correctly.
571 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
573 2004-04-07 André Pönitz <poenitz@gmx.net>
575 * cursor.[Ch] (selClear, adjust): remove math
577 * cursor_slice.C: more agressive assert
580 * BufferView_pimpl.C: rework mouse event dispatch
587 2004-04-05 André Pönitz <poenitz@gmx.net>
589 * cursor.[Ch] (valign, halign...): remove unneeded functions
591 2004-04-05 Angus Leeming <leeming@lyx.org>
593 * lyxlength.[Ch] (unit_name et al.): const-correct.
595 2004-04-05 Angus Leeming <leeming@lyx.org>
597 * BufferView_pimpl.C:
606 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
608 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
610 * text3.C (getStatus): add LFUN_BEGINNINGBUF
612 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
614 * lyxfind.C: add a couple of inTexted() tests + other small fixes
615 * BufferView_pimpl.[Ch] (getStatus)
616 * BufferView.[Ch] (getStatus): add
617 * lyxfunc.C (getStatus): move lfuns handled in
618 BufferView::dispatch to te function above
619 * Cursor.C (setSelection): set selection() = true
621 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
623 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
625 2004-03-31 Angus Leeming <leeming@lyx.org>
627 * lyxfunc.C (dispatch): Fall through to the generic
628 Dialogs::show("preamble").
630 2004-03-31 Angus Leeming <leeming@lyx.org>
632 * lyxfunc.C (dispatch): Fall through to the generic
633 Dialogs::show("spellchecker").
635 2004-03-31 Angus Leeming <leeming@lyx.org>
637 * lyxfunc.C (getStatus, dispatch): changed invocation of the
640 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
645 * insetiterator.[Ch]:
650 * undo.[Ch]: s/DocumentIterator/DocIterator/g
652 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
654 * BufferView.C (setCursor, putSelectionAt): call edit to open the
655 insets where we are putting the cursor.
657 2004-03-31 Angus Leeming <leeming@lyx.org>
660 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
662 * lyxrc.[Ch] (read, write): overloaded member functions taking
663 a std::[io]stream arguments.
665 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
667 2004-03-31 Angus Leeming <leeming@lyx.org>
669 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
670 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
672 * lyxtextclass.C (load): if the text class couldn't be loaded, then
673 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
675 2004-03-31 Angus Leeming <leeming@lyx.org>
677 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
678 the LFUN_ALL_INSETS_TOGGLE code.
680 2004-03-30 Angus Leeming <leeming@lyx.org>
682 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
683 has died. Fall through to the generic Dialogs::show("document").
685 2004-03-30 Angus Leeming <leeming@lyx.org>
688 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
689 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
691 * lyxfunc.C (getStatus, dispatch): define the actions for these
692 lfuns. Little more than a cut and pste job from ControlDocument.C
694 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
696 2004-03-30 Angus Leeming <leeming@lyx.org>
699 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
700 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
702 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
703 open/closed state of ollapsable insets. Usage:
705 all-inset-toggle <state> <name>, where
706 <state> == "open" || "closed" || "toggle" and
707 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
709 * lyxtext.h, text2.C (toggleInset): removed.
711 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
712 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
713 now passes LFUN_INSET_TOGGLE to the found inset.
715 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
716 is now invoked as "all-insets-toggle toggle branch".
718 2004-03-30 Angus Leeming <leeming@lyx.org>
722 * pariterator.[Ch]: added/corrected header blurb.
724 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
726 * dociterator.[Ch]: add an inset_ member
727 (backwardPos): implemented
728 (backwardPos, forwardPos): use inset_ when the stack is empty.
729 (doc_iterator_begin, doc_iterator_end): implemented
730 * pariterator.[Ch]: adjust, add begin, end
731 * insetiterator.[Ch]: adjust, add begin, end
735 * BufferView_pimpl.C:
736 * CutAndPaste.C: adjust
738 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
740 * buffer.C: increment file format to 232.
741 * LaTeXFeatures.C: add bibtopic package.
742 * bufferparams.[Ch]: param \use_bibtopic.
744 * lyxrc.[Ch]: add lyxrc bibtex_command
745 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
747 * buffer.C: increment file format to 231.
749 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
751 * dociterator.C: implement forwardPar
752 * iterators.[Ch]: remove, replaced by
753 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
755 * BufferView_pimpl.C:
758 * bufferview_funcs.C:
764 * Makefile.am: adjust
766 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
768 * CutAndPaste.C (pasteSelection): fix 2 crashes
769 (eraseSelection): fix a crash
770 * paragraph_funcs.C: remove a warning
772 2004-03-28 Angus Leeming <leeming@lyx.org>
775 * LyXAction.C (init): new LFUN_PRINT.
777 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
779 2004-03-27 Angus Leeming <leeming@lyx.org>
782 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
784 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
786 2004-03-27 Angus Leeming <leeming@lyx.org>
788 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
789 insetlist always contains non-null pointers to insets.
791 2004-03-26 Angus Leeming <leeming@lyx.org>
793 * src/BufferView_pimpl.C:
797 * src/output_plaintext.C:
798 * src/outputparams.h:
799 * src/paragraph_funcs.C:
803 * src/frontends/controllers/ControlErrorList.C:
804 * src/frontends/gtk/FileDialogPrivate.C:
805 * src/frontends/gtk/GPainter.C:
806 * src/frontends/gtk/GToolbar.C:
807 * src/frontends/qt2/QRef.C:
808 * src/mathed/math_scriptinset.C: squash compiler warnings.
810 2004-03-26 Angus Leeming <leeming@lyx.org>
812 * ispell.C (LaunchIspell::start):
813 * lyx_cb.C (AutoSaveBuffer::start):
814 invoke run(DontWait) rather than runNonBlocking().
816 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
818 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
820 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * kbsequence.C (print): adjust
824 * kbmap.C (printKeySym): rename and change signature
825 (printKey): use LyXKeySym::print()
827 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
829 * undo.C: add using std::advance to compile for stlport
831 2004-03-24 Angus Leeming <leeming@lyx.org>
833 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
834 it leads to a crash when no buffer is present.
836 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 Martin Vermeer <martin.vermeer@hut.fi>
839 * lyxfunc.C (dispatch):
840 * bufferparams.C (readToken): use the new LColor::setColor
842 * LColor.[Ch] (setColor): new version that takes two strings as
843 argument and creates a new color entry if necessary
845 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
847 * buffer.C (makeLaTeXFile): if the main latex file that is
848 processed is usually a subdocument of some master, then pretend
849 for a while that it is actually the master
851 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
853 * buffer.C (getLabelList):
854 (getBibkeyList): use getMasterBuffer()
855 (getMasterBuffer): new method. Returns the main document in the
856 case where one is using included documents.
858 2004-03-25 André Pönitz <poenitz@gmx.net>
862 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
864 * ParagraphList_fwd.h: change ParagraphList to a std::vector
866 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
867 text*.C over here. Rename namespace CutAndPaste to lyx::cap
869 * ParameterStruct.h: merge with ParagraphParameters
871 * lyxtext.h: remove LyXText::parOffset() and getPar()
873 * text3.C: Remove all 'manual' update calls. We do now one per user
874 interaction which is completely sufficient.
878 * BufferView_pimpl.C:
881 * ParagraphParameters.[Ch]:
893 * output_docbook.[Ch]:
895 * output_linuxdoc.[Ch]:
896 * output_plaintext.[Ch]:
898 * paragraph_funcs.[Ch]:
899 * paragraph_pimpl.[Ch]:
907 * frontends/controllers/ControlDocument.C:
908 * frontends/controllers/ControlErrorList.C:
909 * frontends/controllers/ControlSpellchecker.C:
912 * insets/insetbase.h:
913 * insets/insetbibitem.C:
915 * insets/insetbranch.C:
916 * insets/insetcaption.C:
917 * insets/insetcharstyle.C:
918 * insets/insetcharstyle.h:
919 * insets/insetcollapsable.C:
920 * insets/insetcollapsable.h:
922 * insets/insetfloat.C:
923 * insets/insetfoot.C:
924 * insets/insetmarginal.C:
925 * insets/insetnote.C:
926 * insets/insetoptarg.C:
927 * insets/insettabular.C:
928 * insets/insettext.C:
929 * insets/insettext.h:
930 * insets/insetwrap.C:
931 * mathed/math_mboxinset.C:
932 * mathed/math_nestinset.C:
933 * mathed/math_scriptinset.C:
934 * mathed/math_scriptinset.h:
937 2004-03-24 Angus Leeming <leeming@lyx.org>
939 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
940 deal with any child processes that have finished but are waiting to
941 communicate this fact to the rest of LyX.
943 2004-03-24 Angus Leeming <leeming@lyx.org>
945 64-bit compile fixes.
947 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
948 (c-tor): pass lyx::pos_types rather than ints.
950 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
953 * text.C (Delete): compile fix.
954 (getPar): ensure that function declaration is the same as that in
957 2004-03-23 Angus Leeming <leeming@lyx.org>
959 * ispell.C (LaunchIspell):
960 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
961 a boost::shred_ptr rather than a std::auto_ptr.
963 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * lyxfunc.C (getStatus): handle read-only buffers correctly;
966 handle LFUN_FILE_INSERT_*
968 * lyxrc.C (setDefaults, getDescription, output, read):
969 * lyxrc.h: remove ps_command
971 2004-03-22 Angus Leeming <leeming@lyx.org>
973 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
974 Ensure that error_handler is processed once only and that all data
975 is saved before attempting to output any warning messages.
977 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
979 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
981 * tabular.C (TeXRow): crash fix (from Kayvan and André)
983 2004-03-19 André Pönitz <poenitz@gmx.net>
985 * cursor.[Ch] (reset): take main text inset as argument
988 * BufferView_pimpl.C: adjust
990 * paragraph.[Ch]: fix completely broken operator=()
992 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
994 * LColor.C (getFromLyXName): make sure that the color name is used
997 2004-03-17 Angus Leeming <leeming@lyx.org>
1000 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1002 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1003 dialog and to kill a forked process.
1005 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1007 * text2.C (setCursorFromCoordinates): fix font problem
1009 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1011 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1012 bogus "rebuild cursor" code
1014 2004-03-11 André Pönitz <poenitz@gmx.net>
1016 * buffer.[Ch]: use InsetText instead of LyXText as container for
1019 * dociterator.[Ch]: drop the BufferView * member which is not needed
1020 anymore after the change to buffer.C
1022 * paragraph_funcs.C:
1026 * BufferView_pimpl.[Ch]:
1028 * cursor_slice.[Ch]: adjust
1030 * text3.C: fix bug in mathDispatch
1032 2004-03-08 André Pönitz <poenitz@gmx.net>
1034 * undo.[Ch]: use 'StableDocumentIterator' as base for
1037 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1040 * bufferparams.[Ch]: add jurabib support and param.
1042 * LaTeX.C: add FIXME/comment.
1044 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1046 * buffer.C: increment file format to 230.
1048 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1050 * cursor.C (dispatch): avoid infinite loops
1052 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1054 * rowpainter.C (paintSelection): fix x coordinates
1056 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1058 * text.C (rowBreakPoint): fix breaking before displayed insets
1060 2004-03-01 André Pönitz <poenitz@gmx.net>
1062 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1064 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1068 * BufferView_pimpl.C:
1076 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1082 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1083 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1085 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1087 * Bidi.[Ch] (computeTables): const correctness
1088 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1089 fill_hfill, fill_label_hfill and x from Row
1090 * lyxtext.h: prepareToPrint returns a RowMetrics
1091 * rowPainter.C: adjust
1092 * text.C (prepareToPrint): use width, not textWidth. adjust
1093 (redoParagraphInternal, cursorX): adjust
1094 * text2.C (getColumnNearX): adjust
1095 (init): put a default value to the top LyXText::width
1097 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1099 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1101 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1103 * lyxtext.h: add FontIterator class
1105 * text.C (FontIterator, operator*, operator->, operator++): add
1106 (rowBreakPoint, setRowWidth): adjust (fixing a
1109 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1111 * BufferView_pimpl.C (workAreaDispatch): allow also
1112 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1114 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1116 * text.C (rowBreakPoint): fix a bug showing with very large insets
1118 2004-02-25 André Pönitz <poenitz@gmx.net>
1121 * cursor.[Ch]: move some mathed specific code to mathed
1123 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1125 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1126 use_tempdir in preferences
1127 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1129 * lyx_main.C: ensure that tempdir is valid
1130 * lyxlex.h: correct typo
1131 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1132 * paragraph.[Ch] (isMultiLingual): make const
1133 * cursor.[Ch] (openable): make const
1135 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1137 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1139 2004-02-20 André Pönitz <poenitz@gmx.net>
1141 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1143 * cursor.[Ch]: prepare for localized getStatus()
1149 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1151 2004-02-20 André Pönitz <poenitz@gmx.net>
1153 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1155 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1157 * text2.C (setCursorFromCoordinates): switch to absolute coords
1159 (cursorDown): adjust
1160 * text3.C (dispatch): adjust
1162 2004-02-16 André Pönitz <poenitz@gmx.net>
1164 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1167 * cursor_slice.[Ch]: remove unneeded acessor function
1169 * lyxtext.h: rename rtl() to isRTL()
1177 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1179 * rowpainter.C (paintSelection): coord fix
1181 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1183 * Spacing.C: compile fix
1185 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1187 * cursor.C (dispatch): restore current_ before returning
1189 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1191 * text2.C (cursorUp, cursorDown): fix coords
1194 2004-02-12 André Pönitz <poenitz@gmx.net>
1199 * text3.C: add LCursor & parameter to most cursor movement functions
1200 remove usage of LyXText::cursorRow() and cursorPar()
1202 * cursor.[Ch]: add textRow() needed members
1205 * BufferView_pimpl.C:
1208 * BufferView_pimpl.C: adjust
1210 2004-02-11 André Pönitz <poenitz@gmx.net>
1214 * BufferView_pimpl.C: shift undo/redo handling
1216 * cursor.[Ch]: fix mathed crash
1219 * lyxtext.h: move selectionAsText to LCursor
1227 * rowpainter.C: fix excessive drawing
1229 2004-02-06 André Pönitz <poenitz@gmx.net>
1232 * BufferView_pimpl.[Ch]:
1233 * text3.C: move some text specific LFUN handling
1235 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1237 * text3.C (checkInsetHit): adjust coords
1238 * text2.C (getColumnNearX): adjust coords
1239 (edit): adjust coords
1240 * text.C (getRowNearY): add two asserts
1242 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1245 * format.C: add using std::distance to compile on gcc 2.95/stlport
1247 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1249 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1251 2004-02-04 André Pönitz <poenitz@gmx.net>
1253 * BufferView.[Ch] (insertInset):
1254 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1259 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1261 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1262 on the default clause of the switch
1263 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1264 wasn't catched by LCursor::dispatch
1266 2004-02-03 André Pönitz <poenitz@gmx.net>
1269 * cursor.[Ch]: some additional asserts
1271 * undo.[Ch]: remove LyXText dependency in interface
1275 * lyxtext.h (firstPar, lastPar): remove dead functions
1280 * paragraph.[Ch]: adjust
1282 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1284 * lyxfind.C (find): fix argument order in call to ::find
1286 2004-02-02 André Pönitz <poenitz@gmx.net>
1288 * cursor.[Ch]: remove direct access to anchor
1290 * text.C: remove findText() hack
1292 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1294 * iterators.[Ch] (lockPath): remove in favour of...
1295 * BufferView.[Ch] (setCursor): this addition
1296 * BufferView.C (putSelectionAt): adjust
1297 * undo.C (performUndoOrRedo): adjust
1298 * lyxfunc.C (dispatch): adjust
1300 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1302 * iterators.C (lockPath): add a missing slice
1303 * undo.C (performUndoOrRedo): remove redundant positioning code
1305 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1307 * vc-backend.C (scanMaster): ";" -> ';'
1309 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1311 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1312 std::binary_function
1314 * lyxtextclass.C (compare_name): rename to...
1315 (LayoutNamesEqual): ...this
1317 * lyxlex_pimpl.C (compare_tags): inherit from
1318 std::binary_function, put back into anon namespace
1320 * lyxfind.C (MatchString): inherig from std::binary_function
1321 (findChange): use empty() istead of !size()
1323 * format.C (FormatNamesEqual): new functor
1330 * converter.C (compare_Converter): rename to...
1331 (ConverterEqual): ...this, and fixup a bit.
1332 (getConverter): use it, and make function const
1333 (getNumber): use it, and make function const
1337 * bufferlist.C: add using boost::bind
1339 * MenuBackend.C (MenuNamesEqual): new functor
1340 (hasMenu): use it, and make function const
1341 (hasSubmenu): use nested bind to get rid of compare_memfun.
1343 2004-01-30 André Pönitz <poenitz@gmx.net>
1345 * BufferView_pimpl.C:
1348 * cursor_slice.[Ch]:
1351 * paragraph_funcs.C:
1352 * paragraph_funcs.h:
1356 * text3.C: move some of the edit(x,y) handling to the insets
1357 some coordinate changes.
1359 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1361 * text.C: add using statements for std::advance and std::distance
1363 * paragraph.C: add using statement for std::distance
1365 * lyxfind.C: add using statement for std::advance
1367 * cursor.C (region): remove std:: from swap
1368 (openable): use nucleus in stead of operator->
1370 * BufferView.C: add using statements for std::distance and std::swap
1372 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1374 * iterators.C: Remove the pimple, move the needed structures to
1375 the header file. Create accessor for the positions stack.
1376 (asPosIterator): remove function
1378 * PosIterator.C (PosIterator): move constructors to top of file
1379 (PosIterator): reimplement the constructor taking a ParIterator in
1381 (setFrom): new function
1382 (operator!=): inline it
1384 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1386 * lyxfind.C (replaceAll): use std::advance
1388 * iterators.h: inherit from std::iterator.
1390 * PosIterator.C (advance, distance): remove
1391 * PosIterator.h: interit from std::iterator.
1393 2004-01-26 André Pönitz <poenitz@gmx.net>
1396 * BufferView_pimpl.[Ch]:
1400 * bufferview_funcs.C:
1410 * output_linuxdoc.C:
1411 * output_plaintext.C:
1413 * paragraph_funcs.[Ch]:
1414 * paragraph_pimpl.[Ch]:
1420 * text3.C: more IU: dumps most of the rest of the mathcursor
1421 implementation into cursor.[Ch]; "globalize" a bit of it.
1423 2004-01-25 Angus Leeming <leeming@lyx.org>
1425 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1427 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1429 * LaTeXFeatures.h: add nice_ and nice() const
1430 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1432 2004-01-20 André Pönitz <poenitz@gmx.net>
1435 * BufferView_pimpl.C:
1437 * bufferview_funcs.C:
1439 * cursor_slice.[Ch]:
1450 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1451 LCursor and mathcursor parts to LCursor and InsetBase.
1453 2004-01-15 André Pönitz <poenitz@gmx.net>
1455 * cursor_slice.[Ch]: add a few covienience functions
1457 * funcrequest.[Ch]: remove BufferView * member
1459 * BufferView_pimpl.C:
1466 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1468 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1470 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1471 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1473 2004-01-13 André Pönitz <poenitz@gmx.net>
1476 * lyxtext.h: hide cursor and selection anchor behind accessor function
1479 * BufferView_pimpl.[Ch]:
1481 * bufferview_funcs.C:
1491 * cursor_slice.[Ch]: some integer type changes for inset unification
1493 * lyxcursor.[hC]: remove, it's CursorSlice now.
1496 * BufferView_pimpl.[Ch]:
1497 * bufferview_funcs.C:
1503 * textcursor.[Ch]: adjust
1505 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1507 * text2.C (undoSpan): add and use
1508 * text.C (breakParagraph): use undoSpan (fix bug 578)
1511 2004-01-08 Angus Leeming <leeming@lyx.org>
1513 * BufferView_pimpl.C (MenuInsertLyXFile):
1514 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1515 * lyxfunc.C (menuNew, open, doImport):
1516 FileFilterList change to the FileDialog open and save functions.
1518 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1520 * ShareContainer.h: make isEqual and isUnique adaptable
1522 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1524 2004-01-07 Angus Leeming <leeming@lyx.org>
1527 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1529 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1531 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1532 functions replacing find, replace and replaceAll.
1534 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1535 LFUN_WORDFIND(FORWARD|BACKWARD).
1537 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1539 * text.C (breakParagraph): remove an outdated #warning
1541 2004-01-07 André Pönitz <poenitz@gmx.net>
1543 * lyxfind.C: somewhat clearer logic
1545 * text.C: prevent crash in cursorX on unitialized row cache
1547 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1549 * lyxcursor.[Ch] (operator>): add
1550 * textcursor.C (selStart, selEnd): use std::min and std::max
1552 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1554 * Chktex.C: include boost/format.hpp
1556 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1558 * InsetList.C: replace functor MathcIt with adaptable functor
1560 (insetIterator): modify accordingly
1562 * BranchList.h: move the BranchNamesEqual functor here from...
1563 * BranchList.C: ... to here
1565 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1567 (add): replace a finding loop with std::find_if.
1569 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1571 * output_docbook.C: moving LatexParam functionality into
1574 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1576 * buffer.C: increment format to 229.
1578 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1581 * lyx_sty.[Ch]: remove minipageindent_def
1587 * text3.C: remove LFUN_INSET_MINIPAGE
1589 2003-12-28 Angus Leeming <leeming@lyx.org>
1591 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1593 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1595 * text2.C (setParagraph): fix off-by-one crash
1597 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1599 * output_docbook.C: header stuff for AGU
1601 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1603 * text2.C (redoCursor): remove
1606 * BufferView_pimpl.C: remove calls to redoCursor and
1607 setCursor(cursor.par(), cursor.pos()) all around
1609 2003-12-15 Angus Leeming <leeming@lyx.org>
1611 * buffer.C: up the format to 228.
1613 2003-12-15 André Pönitz <poenitz@gmx.net>
1615 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1620 * BufferView_pimpl.C:
1629 2003-12-15 Angus Leeming <leeming@lyx.org>
1631 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1632 than getFromGUIName to manipulate the color.
1634 2003-12-14 Angus Leeming <leeming@lyx.org>
1636 * BranchList.[Ch]: minimize the API.
1637 (Branch::getBranch, getColor): now return a 'const &'.
1638 (Branch::setSelected) now returns a bool set to true if the
1639 selection status changes.
1640 (BranchList::clear, size, getColor, setColor, setSelected,
1641 allBranches, allSelected, separator): removed.
1642 (BranchList::find): new functions, returning the Branch with
1644 (BranchList::add, remove): return a bool indicating that
1645 the operation was successful.
1647 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1648 new InsetBranch::isBranchSlected member function.
1650 * LColor.[Ch]: mimimize the API.
1651 (fill): renamed as addColor and made private.
1652 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1653 versions of these functions taking a string arg have been removed.
1655 * bufferparams.C (readToken):
1656 * lyxfunc.C (dispatch):
1657 * lyxrc.C (read): changes due to the altered BranchList and
1660 * factory.C (createInset, readInset): changes due to altered
1663 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1666 * lyxfunc.C: remove insetminipage. "minipage-insert"
1667 now produces a frameless minipage box inset.
1669 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1671 * textcursor.[Ch] (selStart,selEnd): add new methods
1672 remove selection::start, end, use LyXCursor::operator<
1673 * lyxcursor.[Ch] (operator<): add
1674 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1675 * BufferView.[Ch] (unsetXSel): add
1676 * text2.C (clearSelection): use unsetXSel,adjust
1679 * rowpainter.C: adjust
1680 * bufferview_funcs.C (put_selection_at): adjust
1682 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1684 * BufferView_pimpl.C: small coord. correction
1686 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1688 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1689 dragging over the splash screen.
1691 2003-12-11 Angus Leeming <leeming@lyx.org>
1693 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1694 as it is now handled in LyXText::dispatch.
1696 * text3.C (doInsertInset): remove a level of nesting.
1698 2003-12-11 Angus Leeming <leeming@lyx.org>
1700 * factory.C (createInset): changes due to the changed interface to
1701 InsetCommandMailer::string2params.
1703 2003-12-10 Angus Leeming <leeming@lyx.org>
1705 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1706 'dialog-show-new-inset <inset name>'
1708 2003-12-10 Angus Leeming <leeming@lyx.org>
1710 * buffer.C: up the format to 227.
1712 * factory.C: the box inset is now identified simply by 'Box'.
1714 2003-12-10 Angus Leeming <leeming@lyx.org>
1716 * buffer.C: up the format to 226.
1718 * factory.C: the note inset is now identified simply by 'Note'.
1720 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1722 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1723 when a pit is enough. Standarize a couple of loops.
1725 2003-12-05 Angus Leeming <leeming@lyx.org>
1727 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1728 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1729 data to the re-worked "log" dialog.
1731 2003-12-03 André Pönitz <poenitz@gmx.net>
1737 * paragraph_funcs.C:
1739 * text2.C: use Inset::getText instead of Inset::getParagraph
1741 2003-12-03 André Pönitz <poenitz@gmx.net>
1745 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1746 InsetText::read() as LyXText::read()
1748 2003-12-02 Angus Leeming <leeming@lyx.org>
1750 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1751 type. Add a comment in the implementation that the function uses
1752 the stream's bad() function rather than fail() as the std::streams
1755 2003-12-02 André Pönitz <poenitz@gmx.net>
1757 * lyxlex.[Ch]: make interface more similar to std::stream
1759 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1761 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1763 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1765 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1767 * vspace.[Ch]: remove VSpace::NONE
1769 2003-12-01 André Pönitz <poenitz@gmx.net>
1772 * lyxtext.h: move ParagraphList member to LyXText
1773 rename LyXText::ownerParagraphs to LyXText::paragraph
1776 * bufferview_funcs.C:
1786 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1788 * undo.C: fix cursor positioning
1790 2003-12-01 John Levon <levon@movementarian.org>
1792 * BufferView_pimpl.C: fix a crash on exit with
1795 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1797 * BranchList.C: fix setSelected() method.
1799 2003-11-28 André Pönitz <poenitz@gmx.net>
1801 * ParagraphParameters.[Ch]:
1802 * ParameterStruct.h: remove space above/below from Paragraph to
1805 * BufferView_pimpl.C:
1811 * paragraph_funcs.C:
1817 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1819 * factory.C: Syntax change for CharStyles
1821 2003-11-28 André Pönitz <poenitz@gmx.net>
1826 * buffer.[Ch]: move LyXText member
1828 2003-11-28 André Pönitz <poenitz@gmx.net>
1830 * BufferView.[Ch]: make LyXText * text a private member
1832 * BufferView_pimpl.C:
1843 * output_plaintext.C: cleanup
1845 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1848 * lyxtextclass.[Ch]: parametrize SGML document header
1850 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1853 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1856 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1858 * text2.C (setFont): rework using PosIterator (no more recursive)
1859 (setCharFont): no more needed
1860 (setLayout): no more selection cursors fiddling (done by redoCursor)
1861 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1862 destroy remaining ones)
1864 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1866 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1868 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1871 * text3.C: adjust + re-allow multi par depth changes
1872 * textcursor.C: simplify a bit
1874 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1880 * src/output_docbook.C:
1881 * src/output_latex.C:
1886 * src/text2.C: Introducing a number of tags parametrizing various
1887 XML formats that we may want to support
1889 2003-11-25 André Pönitz <poenitz@gmx.net>
1891 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1893 * lyxtext.h (leftMargin/rightMargin): simplify interface
1900 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1902 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1903 master file to any child files. Fixes bug 546.
1905 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1907 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1909 2003-11-24 André Pönitz <poenitz@gmx.net>
1911 * rowpainter.C: simplification
1913 * text2.C (updateCounters): remove call to redoParagraph on
1914 changed labels as this is far too expensive.
1916 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1918 * converter.C (convert): fix a crash: this function gets
1919 called with buffer == 0 from importer code.
1921 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1923 * text3.C (cursorPrevious): make sure that we do not compare
1924 iterators form different containers.
1927 * rowpainter.C (paintSelection): make sure that we do not compare
1928 iterators from different containers.
1930 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1931 iterators from different ParagraphList containers.
1934 * text2.C (LyXText): change order of initialization slightly
1935 (operator=): new function. copy all variables except cache_par_
1936 (moveUp): make sure that we do not compare iterators from
1937 different ParagraphList constainers.
1940 * text.C (firstPar): new function
1941 (lastPar): new function
1942 (endPar): new function
1944 * lyxtext.h: move things around and group public functions, public
1945 variables, private functions, private variables
1947 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1949 * factory.C: change call to InsetERT constructor to avoid
1950 additional invocation of method status
1951 * text2.C (toggleInset): remove redundant update() call
1952 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1953 instead of a Bufferview pointer
1955 2003-11-21 André Pönitz <poenitz@gmx.net>
1957 * rowpainter.C: simplification
1959 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1961 * text3.C (dispatch): make possible to extend a word/row selection
1964 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1966 * lyxtext.h: x0_,y0_ -> xo_,yo_
1967 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1968 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1969 * rowpainter.C (paintRows): paint full paragraphs
1971 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1973 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1976 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1978 * lyxtext.h: add x0_, y0_
1979 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1980 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1982 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1984 * text2.C (setCursorIntern): move the x_target update here *
1985 * text3.C: change some bv() to true/false in calls to
1986 cursorUp/Down/Right/Left
1987 * cursor.C: use helper function.
1989 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1991 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1992 * paragraph_funcs.[Ch]: correct comment
1993 * rowpainter.C: do not paint selections away from bv->cursor()
1994 Fix a long standing selection painting bug.
1995 * text3.C: generalize mouse-selection code to LyXTexts other that
1997 * textcursor.C: do not use y coords if we can use par offsets
1999 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2001 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2002 cursor position after e.g. inset insert)
2004 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2006 * lyxfind.C (replace): adjust to locking removal + some
2009 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2011 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2014 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2017 * output_docbook.C: XML sanitation: new layout
2018 parameters InnerTag and CommandDepth
2020 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2022 * BufferView_pimpl.C:
2024 * text3.C: Fix the insertion and modification of button-style
2027 2003-11-13 André Pönitz <poenitz@gmx.net>
2029 * InsetList.[Ch]: remove deleteLyXText
2031 * paragraph.[Ch]: cache beginOfBody position
2036 * text3.C: remove superfluous update() calls
2040 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2042 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2043 * BufferView.C (fitLockedInsetCursor): remove
2044 * cursor.[Ch] (getDim): add
2045 * text.C (getRowNearY): add faster version
2046 * text3.C: remove some update calls
2048 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2060 * text3.C: The Character Style /XML short element patch.
2062 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2065 * factory.C: Small step to solving 'unable to insert some insets'
2068 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2070 * cursor.[Ch] (updatePos): new function for updating the y
2071 position of the tip inset
2072 * bufferview_funcs.C (put_selection_at):
2073 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2075 2003-11-11 André Pönitz <poenitz@gmx.net>
2077 * text.C: remove big comment on invalid Paragraph pointers as it is
2080 2003-11-11 André Pönitz <poenitz@gmx.net>
2082 * text_funcs.[Ch]: merge with ...
2090 * Makefile.am: remove text_funcs.[Ch]
2092 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2094 * cursor.C (getPos): return absolute cached y coord
2096 * BufferView_pimpl.C (fitCursor): new simplistic code
2097 (workAreaDispatch): add a fitCursor call
2099 2003-11-10 André Pönitz <poenitz@gmx.net>
2102 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2104 2003-11-10 André Pönitz <poenitz@gmx.net>
2106 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2107 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2108 indicate that the cursor needs to leave an inset
2110 * lyxtext.h: remove inset locking
2112 * cursor.[Ch]: re-implement functionality provided by inset locking
2115 * BufferView_pimpl.[Ch]:
2117 * bufferview_funcs.[Ch]:
2129 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2131 * PosIterator.[Ch]: replace the stack with a vector, add inset
2133 * iterators.[C]: adjust
2135 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2137 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2139 * paragraph_funcs.C (readParToken): put the correct id in the
2140 error item, not the id of the top paragraph
2142 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2144 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2145 * bufferview_funcs.C (put_selection_at): use the above
2147 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2149 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2151 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * output_linuxdoc.h:
2154 * output_plaintext.h:
2156 * output_docbook.h: add #include statements
2158 2003-11-05 José Matos <jamatos@lyx.org>
2160 * output_docbook.[Ch]:
2161 * output_latex.[Ch]:
2162 * output_linuxdoc.[Ch]:
2163 * output_plaintext.[Ch]: New files for output formats.
2164 * output.[Ch]: New file for helper functions.
2167 * paragraph_funcs.[Ch]: output functions moved to new files.
2169 * outputparams.h: rename of latexrunparams.h
2177 * paragraph_funcs.[Ch]:
2178 * paragraph_pimpl.[Ch]:
2179 * tabular.[Ch]: rename ascii to plaintext
2180 and LatexRunParams to OutputParams.
2182 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2184 * iterators.[Ch] (text): require bv argument
2185 * undo.C (recordUndo):
2186 * lyxfunc.C (dispatch):
2187 * bufferview_funcs.C (put_selection_at): adjust
2189 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2191 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2193 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2195 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2198 2003-11-04 André Pönitz <poenitz@gmx.net>
2200 * cursor.[Ch]: restructure
2203 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2205 * iterators.[Ch] (asCursor): remove
2207 * lfuns.h: remove LFUN_INSET_EDIT
2213 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2215 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2217 * lyxfind.[Ch]: complete overhaul
2218 * BufferView_pimpl.C:
2220 * paragraph.[Ch] (insert): add
2222 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2226 * text.C: remove dead spellcheck code
2228 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2230 * dispatchresult.h: add a val setter
2232 * cursor.C (dispatch): use a tempvar for data_[i]
2234 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2236 * PosIterator.[Ch]: compile fix
2238 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2240 * text.C (cursorPar): deactivate the cursor cache
2242 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2244 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2246 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2248 * text3.C (dispatch): adjust for new DisptchResult semantics.
2250 * lyxfunc.C (dispatch): handle update when return from
2251 Cursor::dispatch, adjust for new DispatchResult semantics.
2253 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2254 DispatchResult(true) mean to not update. Add class functions for
2255 setting dispatched and update, as well as reading.
2257 * cursor.C (dispatch): don't handle update here
2259 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2261 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2262 * trans_mgr.C: adjust
2264 * paragraph_funcs.C (readParToken): exception safety
2266 * lyxvc.h: store the vcs pointer in a scoped_ptr
2269 * lyxsocket.C (serverCallback): exception safety
2271 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2273 * ispell.C (clone): make it return a auto_ptr
2275 * factory.C (createInset): exception safety
2276 (readInset): exception safety
2278 * bufferlist.C (newBuffer): exception safety
2280 * Thesaurus.C (Thesaurus): use initialization for aik_
2282 * MenuBackend.C (expandToc): exception safety.
2284 2003-11-03 André Pönitz <poenitz@gmx.net>
2288 * bufferview_funcs.C: remove getInsetFromId()
2291 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2297 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2299 * PosIterator.C (distance, advance): new
2300 * bufferview_funcs.[Ch] (put_selection_at): new
2301 * iterators.[Ch] (lockPath): new
2303 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2305 * iterators.[Ch] (asPosIterator): added
2306 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2307 * PosIterator.[Ch]: added
2309 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2313 * cursor.C (dispatch):
2314 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2316 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2317 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2318 contructor, add a class function dispatched. Remove operator>=
2320 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * debug.C: only use the default constructor for debugstream
2325 * main.C (main): include debug.h and setup the lyxerr streambuf
2328 2003-10-31 José Matos <jamatos@lyx.org>
2330 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2332 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2333 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2334 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2335 * paragraph_pimpl.C (simpleTeXSpecialC):
2336 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2337 add LatexRunParams argument.
2339 * exporter.C (Export): change call accordingly.
2341 * latexrunparams.h: add new member to take care of the other backends.
2342 2003-10-30 José Matos <jamatos@lyx.org>
2344 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2345 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2346 factorise code for paragraph output.
2348 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2351 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2353 * text3.C (dispatch):
2354 * lyxfunc.C (dispatch):
2355 * cursor.C (dispatch):
2356 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2358 * dispatchresult.h: make the dispatch_result_t ctor explicit
2360 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2363 * buffer.C: small refactoring of docbook stuff
2365 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2367 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2370 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2372 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2373 operator dispatch_result_t, and operators for == != and >=
2375 * cursor.C (dispatch): adjust for operator dispatch_result_t
2376 removal. comment out call to update
2378 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2380 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2388 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2391 * dispatchresult.h: new file, DispatchResult broken out of
2394 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2396 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2398 * text.C (rowBreakPoint): put a hack inside #if 0
2400 2003-10-28 André Pönitz <poenitz@gmx.net>
2404 * paragraph_funcs.C:
2407 * text2.C: general cleanup (lots of small stuff)
2409 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2411 * text2.C (cursorEnd): simple fix to the "end key goes to one
2412 before the end on last row" bug
2414 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2416 * text.C (backspace): fix the "zombie characters"
2418 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2420 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2422 2003-10-27 André Pönitz <poenitz@gmx.net>
2424 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2426 * factory.C: handle new InsetPagebreak, InsetLine
2428 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2429 and move handling into new InsetPagebreak, InsetLine
2431 * BufferView_pimpl.C:
2433 * ParagraphParameters.C:
2434 * ParameterStruct.h:
2439 * paragraph_funcs.C:
2440 * paragraph_pimpl.C:
2446 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2449 * lyxrow_funcs.[Ch]:
2455 * text3.C: remove lastPos uses in favour of Row::endpos
2457 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2459 * undo.C (performUndoOrRedo): fix two crashes by setting a
2460 cursor by hand and reordering some calls. Use bv->lockInset instead
2461 of inset->edit because the latter loses cursor information
2463 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2465 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2467 (rowBreakPoint): fix width. change point to point + 1.
2468 Add a missing check.
2470 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2473 * lyxfunc.C: fix (at least partly) the problems
2474 with the Nav menu and headers inside branch insets
2477 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2479 * paragraph.C (getChar): add strong asserts
2481 * lyxrow_funcs.C (lastPos): remove hideous hack
2483 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2484 (fill): adjust to that (avoid an infinite loop)
2486 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2488 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2490 2003-10-23 André Pönitz <poenitz@gmx.net>
2492 * RowList_fwd.h: change list<> to vector<> to gain speed
2493 after suggestion from Alfredo
2495 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2497 * lyxtext.h: move the bidi stuff from here...
2500 * Bidi.[Ch]: ... to here
2502 2003-10-23 André Pönitz <poenitz@gmx.net>
2505 * text.C (isLastRow, isFirstRow): new functions
2507 * paragraph.h: new width cache member
2509 * rowpainter.C: replace RowList::iterator with Row & where possible
2511 * lyxfunc.C: replace several view()->text with a single call
2513 * toc.C: fix 'unused' warning
2515 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2517 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2518 when woring with stream::pos_type
2519 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2521 2003-10-22 André Pönitz <poenitz@gmx.net>
2524 * text.C: use Row & instead of RowList::iterator
2526 * lyxrow.h: rename end() to endpos()
2532 2003-10-22 Angus Leeming <leeming@lyx.org>
2534 * buffer.[Ch] (fully_loaded): new member function, returning true
2535 only when the file has been loaded fully.
2536 Used to prevent the premature generation of previews and by the
2537 citation inset to prevent computation of the natbib-style label.
2539 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2540 templates are all set up.
2542 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2544 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2546 * text.C: fixed an "oops" in the "is a bit silly"
2549 2003-10-21 André Pönitz <poenitz@gmx.net>
2551 * FuncStatus.[Ch]: small stuff, whitespace
2553 * lyxfont.[Ch]: operator<<() for debug reasons
2557 * lyxtext.h: whitespace, spelling
2559 * paragraph.C: naming of variables
2562 * text2.C: small stuff
2565 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2567 * text.C: (1) finish off the inset display() work;
2568 (2) fix the "is a bit silly" bug (accessing char
2571 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2573 * text.C: re-introduce display() for insets, fixing the
2574 various bugs (stretch of line above, math inset
2577 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2579 * text.C (rightMargin): remove spurious semicolon
2581 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2584 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2586 * text3.C: fix one crash due to wrong cursor def
2588 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * vc-backend.C (scanMaster): make the regex static
2592 * LaTeX.C (scanAuxFile): make the regexs static
2594 * text3.C (doInsertInset, dispatch, dispatch):
2595 * text2.C (cursorUp, cursorDown):
2596 * text.C (selectNextWordToSpellcheck):
2597 * BufferView_pimpl.C (dispatch):
2598 * lyxfunc.C (dispatch): localDispatch -> dispatch
2600 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2602 * lyxsocket.C: include <cerrno>
2604 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2606 * lyxfunc.C (dispatch): remove textcache stuff
2608 * bufferlist.C (release): remove textcache stuff
2611 * TextCache.C: delete file
2612 * TextCache.h: delete file
2614 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2616 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2617 delete of the bv_->text.
2618 (resizeCurrentBuffer): remove texcache stuff
2619 (workAreaResize): ditto
2621 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2626 2003-10-16 André Pönitz <poenitz@gmx.net>
2633 * text3.C: speed up by storing y positions per paragraph plus per-row
2634 offset instead of having a 'full' y position in the row.
2636 2003-10-15 André Pönitz <poenitz@gmx.net>
2640 * undo.[Ch]: make undo aware of inner insets
2642 2003-10-14 Angus Leeming <leeming@lyx.org>
2644 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2645 static member functions LyX::ref() and LyX::cref.
2646 (lastfiles): new accessor functions for the new lastfiles_ member var.
2647 (addLyXView, views_): add a new LyXView to the list of views_.
2648 (updateInset): loop over all LyXViews to call their own updateInset
2649 member function, returning a pointer to the Buffer owning the inset.
2651 * BufferView_pimpl.C (loadLyXFile):
2652 * MenuBackend.C (expandLastfiles):
2653 * bufferlist.C (MenuWrite, QuitLyX):
2654 lastfiles is no longer a global variable.
2655 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2657 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2658 static function. Access through LyX::cref().emergencyCleanup().
2660 2003-10-14 André Pönitz <poenitz@gmx.net>
2662 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2664 * undo.[Ch]: restoring part of 'undo in insets'
2667 * undo_funcs.[Ch]: merge with undo.[Ch]
2669 * tabular.C: small cleansing stuff
2671 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2673 * paragraph_funcs.C (readParToken): report unknown insets as error
2674 boxes. Use the outer paragraph as location (also for unknown
2677 * factory.C (readInset): do not abort on reading an unknown inset.
2678 Eat it and return 0.
2680 2003-10-13 Angus Leeming <leeming@lyx.org>
2682 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2684 * lyxrc.C: displayTranslator is now a function,
2685 declared in GraphicsTypes.h.
2687 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2689 * format.C: new placeholder $$a to pass the socket address.
2691 * bufferlist.[Ch]: new function getBufferFromTmp.
2693 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2694 files in the temporary dir.
2696 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2698 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2700 * Makefile.am: add lyxsocket.[Ch].
2702 * lyx_main.C (error_handler): handle SIGPIPE.
2704 2003-10-13 André Pönitz <poenitz@gmx.net>
2706 * BufferView_pimpl.C:
2711 * undo_funcs.[Ch]: use paroffset_type instead of
2712 ParagraphList::iterators to prevent multiple conversion
2713 (and get a more robust interface)
2715 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2719 * text3.C (dispatch): ditto
2721 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2724 move the onlyfile, use onlyfile instead of foundfile in a couple
2727 * DepTable.C (update): flush the error stream a bit more
2729 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2731 * lyxserver.C (callback): adjust
2733 * lyxfunc.C (getStatus): add a missing brace in commented code
2734 (ensureBufferClean): reindent
2735 (dispatch): delete version taking a string
2737 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2739 * LaTeX.C (deplog): move found file handlig from here...
2740 (handleFoundFile): .. to new function here.
2741 (deplog): make sure to discover several files mentioned on the
2744 2003-10-10 André Pönitz <poenitz@gmx.net>
2751 * text3.C: fix some of the tabular crashes
2753 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2755 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2757 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2759 2003-10-09 André Pönitz <poenitz@gmx.net>
2761 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2764 * BufferView_pimpl.C:
2765 * bufferview_funcs.C:
2776 * undo_funcs.C: adjust
2778 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * text2.C (incrementItemDepth): new function, use a backtracking
2781 algorithm to discover the correct item depth.
2782 (resetEnumCounterIfNeeded): new function, use a backtracking
2783 algorithm to discover if counter reset is needed.
2784 (setCounter): use them. Simplify a bit. Add different labels for
2785 different item depths for itemize.
2787 * paragraph.C (Paragraph): remove initialization of enumdepth
2790 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2791 enumerate and itemize. Change the type of itemdepth to signed char.
2793 2003-10-08 André Pönitz <poenitz@gmx.net>
2795 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2800 * tabular.[Ch]: fix crash after 'row-insert'
2802 2003-10-08 Angus Leeming <leeming@lyx.org>
2804 Fix doxygen warnings.
2806 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2807 Remove CutAndPaste:: prefix from header file declaration.
2809 * LColor.h (fill): remove LColor:: prefix from declaration.
2811 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2812 use lyx::depth_type rather than Paragraph::depth_type so that
2813 header file and .C file match.
2815 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2817 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2818 * aspell.C: \file aspell_local.C -> \file aspell.C
2819 * gettext.C: \file gettext.C -> \file src/gettext.C
2820 * gettext.h: \file gettext.h -> \file src/gettext.h
2821 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2822 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2823 * text.C: \file text.C -> \file src/text.C
2825 * toc.C: move comment so that doxygen is not confused.
2827 2003-10-07 Angus Leeming <leeming@lyx.org>
2829 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2831 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2834 * aspell_local.h: add forgotten std::string's.
2836 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2843 * text3.C: The Box patch. Fancybox support, minipage, parbox
2845 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2851 * ParagraphParameters.h:
2861 * lyxtextclasslist.h:
2864 * paragraph_pimpl.C:
2865 * textcursor.h: add <string> and other small fixes to make Lars'
2866 std::string patch compile with STLport.
2868 2003-10-06 Angus Leeming <leeming@lyx.org>
2870 * LColor.h: Add missing #include <string>.
2872 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2874 * All most all file in all subdirs: Make <string> be the prefered
2875 way of getting to std::string, add using declarations.
2877 2003-10-06 André Pönitz <poenitz@gmx.net>
2879 * metricsinfo.C: initialize LyXFont before changing attribute.
2880 (fixes the 'math in \emph is upright' bug)
2882 2003-10-06 André Pönitz <poenitz@gmx.net>
2884 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2886 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2889 * paragraph_pimpl.C: Small fixes to build using STLport
2891 2003-10-02 André Pönitz <poenitz@gmx.net>
2894 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2896 2003-10-01 André Pönitz <poenitz@gmx.net>
2898 * factory.C: assert early
2900 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * lyx_main.C: remove the global debug object
2904 * debug.h: adjust for new debugstream
2906 * debug.C: adjust for new debugstream and keep the global debug
2909 2003-09-22 Angus Leeming <leeming@lyx.org>
2911 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2912 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2913 an incomplete class LyXFont.
2915 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2917 * factory.C: bug fix in branches
2919 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2921 * lyxfunc.C (processKeySym): adjust
2923 (dispatch): change arg name from ev to func, adjust
2924 (sendDispatchMessage): ditto
2926 * lyx_main.C (defaultKeyBindings): adjust keybindings
2927 (deadKeyBindings): ditto
2929 * kbsequence.C (addkey): return a FuncRequest
2931 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2933 * kbmap.C (bind): take a FuncRequest as arg, adjust
2936 (defkey): change to take a FuncRequest as arg, adjust
2937 (findbinding): take a FuncRequest as arg, adjust.
2939 * funcrequest.h (operator=): added
2941 * funcrequest.C (FuncRequest): default kb_action changed from
2942 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2944 * buffer.C (dispatch): simplify
2945 (dispatch): adjust to take a FuncRequest as arg, adjust
2947 * boost.C (assertion_failed): change assertion message slightly
2949 * ToolbarBackend.C (read): simplify
2951 * MenuBackend.C (binding): adjust call to findbinding, add a
2952 message if no binding is found.
2954 (expandToc): correct by adding a empty FuncRequest
2956 * LyXAction.C: include <boost/assert.hpp>
2957 (isPseudoAction): delete function
2958 (LookupFunc): change name to...
2959 (lookupFunc): this. change return type to FuncRequest.
2960 (getActionName): take kb_action as arg, simplify
2961 (funcHasFlag): add an assert, simplify.
2963 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2965 * toc.C (action): return a FuncRequest, simplify
2967 * lyxfunc.C (processKeySym): adjust
2968 (getStatus): delete version that takes an int.
2970 (dispatch): delete version that takes action as int
2972 (sendDispatchMessage): simplify and adjust
2974 * funcrequest.C (getArg): take unsigned int as arg
2976 * ToolbarBackend.C (read): adjust
2977 (add): delete version that takes func as a string.
2978 (getIton): take a FuncRequest as arg
2980 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2983 * MenuBackend.C (MenuItem): add a new construct that only takes a
2984 Kind, simplify the constructor use for submenus.
2986 (expandLastfiles): adjust
2987 (expandDocuments): adjust
2988 (expandFormats): adjust
2989 (expandFloatListInsert): adjust
2990 (expandFloatInsert): adjust
2991 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2993 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2994 Remove class variables lyx_pseudo_map and lyx_arg_map
2996 * LyXAction.C (searchActionArg): delete function
2997 (getPseudoAction): delete function
2998 (retrieveActionArg): delete function
2999 (LookupFunc): make it return kb_action, simplify.
3000 (getActionName): simplify
3002 * factory.C (createInset): fix new bug
3004 2003-09-19 Angus Leeming <leeming@lyx.org>
3006 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3007 masterFilename_ parameter in the include inset.
3009 * factory.C (createInset): changes due to the changes to InsetInclude.
3011 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3013 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3015 2003-09-18 Angus Leeming <leeming@lyx.org>
3018 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3019 Inset::fillWithBibKeys.
3020 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3022 2003-09-18 Angus Leeming <leeming@lyx.org>
3024 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3026 (ctor): pass and store a 'Buffer const &'
3027 (buffer): new member function.
3029 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3030 '*this' to the LaTeXFeatures ctor.
3032 2003-09-18 Angus Leeming <leeming@lyx.org>
3038 * text.C: rename EnumLColor as LColor_color.
3040 2003-09-18 Angus Leeming <leeming@lyx.org>
3042 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3043 remove #include "insets/insetbase.h" from cursor.h.
3045 2003-09-18 Angus Leeming <leeming@lyx.org>
3047 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3048 InsetOld_code to remove #include "inset.h".
3050 * iterators.C: add #include "insets/inset.h"
3052 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3054 * BufferView.C: remove more locking stuff that apparently doesn't
3055 do anything sensible.
3057 2003-09-16 André Pönitz <poenitz@gmx.net>
3060 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3063 2003-09-16 Angus Leeming <leeming@lyx.org>
3065 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3067 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3070 * paragraph.h: remove #include "lyxfont.h". Forward declare
3073 2003-09-16 Angus Leeming <leeming@lyx.org>
3075 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3076 of support/textutils.h.
3077 (isWord): move the contents of support/textutils.h's IsWordChar here.
3083 * text2.C: add #include "paragraph.h".
3086 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3088 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * LaTeX.C: use namespace alias for lyx::support::os
3096 2003-09-16 Angus Leeming <leeming@lyx.org>
3099 * bufferview_funcs.C:
3102 * paragraph_pimpl.C:
3104 * text.C: add #include "LColor.h".
3106 2003-09-16 Angus Leeming <leeming@lyx.org>
3108 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3109 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3111 Store the FontBits::color variable as an int rather than as an
3112 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3115 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3116 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3117 string calls together.
3119 * lyxrc.C: add #include "LColor.h".
3121 2003-09-15 Angus Leeming <leeming@lyx.org>
3123 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3126 2003-09-15 Angus Leeming <leeming@lyx.org>
3128 * LColor.h: add an EnumLColor wrapper for LColor::color.
3130 * lyxfont.[Ch] (color, setColor, realColor):
3131 * lyxtext.h, text.C (backgroundColor):
3132 pass EnumLColor args to/from the functions, rather than LColor::color
3136 * lyxtext.h: forward declare EnumLColor.
3138 * lyx_main.C: add #include "LColor.h".
3140 2003-09-15 Angus Leeming <leeming@lyx.org>
3142 * .cvsignore: add lyx-gtk.
3144 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3149 * ParagraphParameters.C
3153 * bufferview_funcs.C
3163 * vc-backend.C: remove usage of STRCONV
3165 2003-09-15 Angus Leeming <leeming@lyx.org>
3167 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3168 explicitly define the color passed to the painter.
3170 2003-09-15 Angus Leeming <leeming@lyx.org>
3172 * bufferparams.C (BufferParams): reorder member initializers to avoid
3175 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3177 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3178 * text.C (updateRowPositions): remove an unusual nop
3180 2003-09-12 André Pönitz <poenitz@gmx.net>
3182 * BufferView_pimpl.C:
3191 * Counters.[Ch]: finish the 'automatic counters' job
3193 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3195 * aspell.C: include <boost/assert.cpp> (compile fix)
3197 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3199 * boost.C (assertion_failed): use lyx::support::abort instead of
3202 2003-09-10 Angus Leeming <leeming@lyx.org>
3204 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3205 with their _fwd progeny.
3207 2003-09-09 Angus Leeming <leeming@lyx.org>
3209 134 files throughtout the source tree: replace 'using namespace abc;'
3210 directives with the appropriate 'using abc::xyz;' declarations.
3212 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3214 * boost.C (emergencyCleanup): moved here from LAssert.c
3215 (assertion_failed): new function, called by BOOST_ASSERT
3217 * several files: change Assert to BOOST_ASSERT
3219 2003-09-09 Angus Leeming <leeming@lyx.org>
3221 * buffer.[Ch]: Add an Impl class and move Buffer's member
3222 variables into it. As a result move several header files out of
3225 Add header files to lots of .C files all over the tree as a result.
3227 2003-09-09 Angus Leeming <leeming@lyx.org>
3229 * buffer.[Ch]: make Buffer's member variables private. Add
3232 Lots of changes all over the tree as a result.
3234 2003-09-08 Angus Leeming <leeming@lyx.org>
3236 * graph.C: #include <config.h>.
3238 2003-09-08 Angus Leeming <leeming@lyx.org>
3242 * BufferView_pimpl.C:
3271 * toc.C: remove redundant using directives.
3273 2003-09-07 Angus Leeming <leeming@lyx.org>
3275 * LaTeXFeatures.h: remove #include "support/types.h".
3276 * ToolbarBackend.h: remove #include <algorithm>.
3277 * changes.h: remove #include <ctime>.
3278 * debug.h: remove #include <iosfwd>.
3279 * graph.h: remove #include "support/std_string.h".
3280 * lyx_main.h: remove #include <csignal>.
3281 * lyxlex_pimpl.h: remove #include <fstream>.
3282 * sgml.h: remove #include <algorithm>, <utility>.
3283 * toc.h: remove #include "support/std_ostream.h".
3284 Add #include <iosfwd>.
3286 2003-09-07 Angus Leeming <leeming@lyx.org>
3288 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3290 * converter.h: forward declare LatexRunParams.
3291 * encoding.h: remove #include "lyxrc.h".
3292 * lyxtext.h: remove #include "LColor.h".
3293 * lyxtextclass.h: remove #include "support/types.h".
3294 * trans.h: remove #include "tex-accent.h".
3295 * trans_mgr.h: remove #include "tex-accent.h".
3296 * insets/inset.h: remove #include "support/types.h", <vector>.
3297 * insets/insetcollapsable.h: remove #include "LColor.h".
3298 * insets/insetinclude.h: remove #include "dimension.h".
3299 * insets/insetlatexaccent.h: remove #include "dimension.h".
3300 * insets/insetoptarg.h:: remove #include "insettext.h".
3301 * insets/insettext.h: remove #include "dimension.h",
3302 <boost/shared_ptr.hpp>
3304 * insets/renderers.h: add #include "dimension.h".
3305 * insets/updatableinset.h: add #include "support/types.h".
3307 * many .C files: Associated changes.
3309 2003-09-06 Angus Leeming <leeming@lyx.org>
3311 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3312 one, inside testInvariant.
3314 * PrinterParams.C: new file.
3315 * PrinterParams.[Ch]: move the function bodies out of line.
3317 2003-09-06 Angus Leeming <leeming@lyx.org>
3319 * ParagraphParameters.h: forward declare ParameterStruct rather than
3320 including its header file.
3321 (depth): moved out-of-line.
3323 2003-09-06 Angus Leeming <leeming@lyx.org>
3325 * BufferView_pimpl.h:
3328 * lyxfunc.h: forward declare LyXKeySym rather than
3329 #include "frontends/LyXKeySym.h".
3331 * BufferView_pimpl.C:
3334 * lyxfunc.C: associated changes.
3336 2003-09-06 Angus Leeming <leeming@lyx.org>
3338 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3339 As a result, can remove the #include "insets/inset.h" from BufferView.h
3341 2003-09-06 Angus Leeming <leeming@lyx.org>
3343 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3344 As a result, can remove the #include "insets/inset.h" from BufferView.h
3346 2003-09-06 Angus Leeming <leeming@lyx.org>
3352 * bufferview_funcs.C:
3353 * BufferView_pimpl.C:
3358 * ParagraphParameters.C:
3363 * frontends/controllers/ControlDocument.C:
3364 * insets/insetcaption.C: rearrange the #includes into some sort of
3367 * buffer.h: remove #includes ErrorList.h, undo.h
3369 2003-09-06 Angus Leeming <leeming@lyx.org>
3371 * support/types.h: add a 'depth_type' typedef, used to store the
3372 nesting depth of a paragraph.
3375 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3376 defining explicitly.
3379 * paragraph_funcs.h:
3380 * ParagraphParameters.h:
3381 * sgml.h: use lyx::depth_type rather than Paragraph or
3382 ParameterStruct's depth_type.
3385 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3388 * BufferView_pimpl.C:
3390 * ParagraphParameters.C:
3393 * bufferview_funcs.C:
3400 * frontends/LyXView.C:
3401 * frontends/controllers/ControlDocument.C:
3402 * frontends/controllers/ControlErrorList.C:
3403 * insets/insetbibitem.C:
3404 * insets/insetbranch.C:
3405 * insets/insetcaption.C:
3406 * insets/insetcollapsable.C:
3407 * insets/insetenv.C:
3408 * insets/insetert.C:
3409 * insets/insetfloat.C:
3410 * insets/insetfoot.C:
3411 * insets/insetfootlike.C:
3412 * insets/insetnewline.C:
3413 * insets/insetquotes.C:
3414 * insets/insettabular.C:
3415 * insets/insettext.C:
3416 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3418 * frontends/controllers/ControlChanges.C: #include "changes.h".
3420 2003-09-06 Angus Leeming <leeming@lyx.org>
3422 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3423 than #including paragraph.h.
3426 * RowList.h: deleted. Superfluous.
3436 * insets/insettext.h: use ParagraphList_fwd.h rather than
3439 * paragraph.h: don't forward declare ParagraphList.
3442 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3443 rather than ParagraphList.h. paragraph.h is still needed for the
3444 Paragraph::depth_type parameters.
3446 * textcursor.h: enable it to compile stand-alone in light of the
3449 * bufferview_funcs.C:
3461 * frontends/controllers/ControlParagraph.C:
3462 * frontends/controllers/ControlTabular.C:
3463 * insets/insetmarginal.C:
3464 * insets/insetminipage.C:
3465 * insets/insetnote.C:
3466 * insets/insetoptarg.C: add header files needed to compile again.
3468 2003-09-06 Angus Leeming <leeming@lyx.org>
3470 * RowList_fwd.h: new file, forward-declaring Row rather than
3471 #including lyxrow.h.
3476 * insets/insettext.h: use it instead of RowList.h
3478 * bufferview_funcs.C:
3485 * text3.C: #include "RowList.h".
3487 2003-09-05 Angus Leeming <leeming@lyx.org>
3489 * factory.C (createInset):
3490 * vspace.C (c-tor): replace sscanf call with an istringstream.
3491 * ispell.C: re-add missing HP/UX headers.
3492 * lyxserver.C: re-add missing os2 headers.
3494 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3503 * text3.C: re-add missing system headers, needed for 2.95.2.
3505 2003-09-05 Angus Leeming <leeming@lyx.org>
3507 Changes most place everywhere due to the removal of using directives
3508 from support/std_sstream.h.
3510 2003-09-05 Angus Leeming <leeming@lyx.org>
3512 Replace LString.h with support/std_string.h,
3513 Lsstream.h with support/std_sstream.h,
3514 support/LIstream.h with support/std_istream.h,
3515 support/LOstream.h with support/std_ostream.h.
3517 Changes resulting throughout the tree.
3519 2003-09-05 Angus Leeming <leeming@lyx.org>
3521 * sgml.h: ensure that the header file can be compiled stand-alone.
3522 * *.C: strip out redundant #includes. (320 in total.)
3524 2003-09-04 Angus Leeming <leeming@lyx.org>
3526 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3527 here (from getPackages).
3529 * debug.[Ch]: add a new EXTERNAL tag.
3531 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3533 * text2.C (cursorEnd): simplify
3535 (getColumnNearX): adjust
3537 * text.C (computeBidiTables): adjust
3540 * rowpainter.C (paintChars): adjust
3541 (paintSelection): adjust
3542 (paintChangeBar): adjust
3545 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3547 (numberOfSeparators): adjust
3549 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3555 * text3.C: Restricts the mouse click functionality
3556 of insets like bibtex, include, toc and floatlist to the visible
3557 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3558 up the dialogs. Cursor has to be in front of the inset (i.e.
3559 start of row) for this to function.
3561 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3563 * bufferview_funcs.C (currentState): output row information
3565 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3567 * bufferview_funcs.C (currentState): output paragraph position
3569 2003-09-04 Angus Leeming <leeming@lyx.org>
3571 * FloatList.h: move out #include "Floating.h".
3572 * LaTeX.h: move out #include "DepTable.h".
3573 * LyXAction.h: move out #include "funcrequest.h".
3574 * buffer.h: move out #include "author.h", "iterators.h".
3575 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3576 * lyx_main.h: move out #include "errorlist.h".
3577 * lyxfunc.h: move out #include "FuncStatus.h".
3578 * lyxtext: move out #include "lyxcursor.h".
3579 * paragraph_pimpl.h: move out #include "counters.h".
3581 2003-09-03 Angus Leeming <leeming@lyx.org>
3583 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3584 preamble_snippets list, enabling us to add snippets to the preamble
3585 only if the snippet was not there already.
3587 2003-09-04 Angus Leeming <leeming@lyx.org>
3589 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3591 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3596 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3598 * BranchList.C: point fix, earlier forgotten
3600 2003-09-02 Angus Leeming <leeming@lyx.org>
3602 * box.C (contains): renamed from 'contained' after a fantastic
3605 2003-09-02 John Levon <levon@movementarian.org>
3611 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3613 2003-09-02 John Levon <levon@movementarian.org>
3615 * text2.C: simplification of cursorEnd(), including partial
3618 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * buffer.C (readFile): add a space
3622 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3624 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3626 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * buffer.C (readFile): new function, take a filename and a
3629 ParagraphList::iterator
3631 (readFile): adjust, make it private. don't use setStream, make
3632 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3633 always contain the filename.
3635 * BufferView.C (insertLyXFile): simplify and make it work for
3638 2003-08-30 John Levon <levon@movementarian.org>
3640 * Makefile.am: fix dist (from Kayvan)
3642 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3644 * most files: change to use const Buffer refs
3646 2003-08-27 André Pönitz <poenitz@gmx.net>
3648 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3649 on top of ownerPar().
3651 2003-08-27 John Levon <levon@movementarian.org>
3653 * funcrequest.C: properly initialise POD members
3655 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3657 * lyxtext.h (top_y): move top_y from here
3662 * BufferView_pimpl.[Ch]: to here
3663 * frontends/screen.C:
3664 * insets/insettabular.C:
3665 * insets/insettext.C: adjust
3666 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3668 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3671 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3673 2003-08-26 André Pönitz <poenitz@gmx.net>
3675 * paragraph_func.[Ch] (outerPar): new function
3678 * paragraph_funcs.C:
3679 * paragraph_funcs.h:
3680 * paragraph_pimpl.C:
3681 * text2.C: remove Inset::par_owner
3683 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3688 * text2.C: eliminates the needFullRow/display() stuff
3689 altogether, putting the logic in metrics/draw in the insets.
3691 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3693 * text2.C (redoParagraphInternal, redoParagraphs):
3694 * text.C (redoParagraph): add a call to updateRowPositions at the
3695 end of each 'metrics-like' call. Remove all others.
3696 (getRow): remove the 'y-computing' version.
3697 (getRowNearY): do not compute nor return the real y. Solve the
3698 'y < 0' problem and simplify.
3700 2003-08-22 Angus Leeming <leeming@lyx.org>
3702 * *.[Ch]: clean-up of licence and author blurbs.
3703 Also move config.h out of a few .h files and into a few .C files.
3705 2003-08-22 André Pönitz <poenitz@gmx.net>
3707 * lyxrow.[Ch]: add x_ and *fill_ members
3712 * text2.C: adjust/remove prepareToPrint() calls
3714 2003-08-22 André Pönitz <poenitz@gmx.net>
3716 * lyxrow.[Ch]: add end_ member
3718 * lyxrow_funcs.C: use LyXRow::end_
3720 * lyxtext.h (singleWidth): add LyXFont parameter
3723 * text2.C: adjust LyXText::singleWidth() calls
3725 * text.C (redoParagraph): simplify row breaking logic
3728 2003-08-19 André Pönitz <poenitz@gmx.net>
3730 * funcrequest.C: initialize button_ member
3733 * rowpainter.[Ch]: interface consolidation
3735 2003-08-18 André Pönitz <poenitz@gmx.net>
3738 * BufferView_pimpl.C:
3740 * paragraph_funcs.C:
3742 * text3.C: remove LyXScreen::draw() and fitCursor calls
3744 * BranchList.h: remove spurious semicolons
3746 * MenuBackend.C: fix branchlist related crash
3748 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3756 * bufferparams.[Ch]:
3760 * text3.C: implements the 'branch inset'
3761 idea. This allows the output of various versions of a document
3762 from a single source version, selectively outputing or suppressing
3763 output of parts of the text.
3764 This implementation contains a 'branch list editor' in a separate
3765 tab of the document settings dialog. Branches are user definable
3766 and have a "display colour" to distinguish them on-screen.
3768 ColorHandler was somewhat cleaned up.
3769 (1) make possible a dynamically growing LColor list by allowing
3770 the graphic context cache to grow along (vector);
3771 (2) eliminate an IMHO unnecessary step in colour allocation.
3773 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3775 * BufferView_pimpl.C: compile fix
3777 2003-08-15 André Pönitz <poenitz@gmx.net>
3779 * rowpainter.C: remove extra metrics calls
3781 * lyxtext.h: merge the two constructors into a single one,
3782 pass reference to owner's par list
3784 * BufferView_pimpl.C:
3788 2003-08-15 André Pönitz <poenitz@gmx.net>
3790 * lyxrow_funcs.[Ch]:
3793 * paragraph_funcs.C:
3798 * text_funcs.C: split LyXText::rowlist_ into individual
3799 Paragraph::rows_ chunks
3802 * BufferView_pimpl.[Ch]:
3805 * text3.C: remove toggleSelection()
3807 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3809 * bufferlist.C: beautify two alerts (shorter text of buttons)
3810 * buffer.C: Remove redundant ' ' from message
3812 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3813 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3814 rename VALIGN_CENTER to VALIGN_MIDDLE
3816 2003-08-11 André Pönitz <poenitz@gmx.net>
3818 * lyxtext.h (getPar):
3819 * text.C: new function
3821 2003-08-11 André Pönitz <poenitz@gmx.net>
3824 * tracer.[Ch]: remove unneeded files
3826 * InsetList.[Ch]: remove resizeInsetsLyXText()
3831 * text3.C: merge insertParagraphs() and appendParagraph()
3832 remove breakAgain(), update()
3834 * BufferView_pimpl.[Ch]:
3835 * bufferview_funcs.[Ch]:
3839 * tabular.C: adjust after text & InsetList changes.
3841 2003-08-08 André Pönitz <poenitz@gmx.net>
3843 * text.C (insertChar, backspace): replace rowlist fiddling
3844 with rebreak of full par
3847 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3848 checkParagraph, updateInset): removed
3850 2003-08-07 André Pönitz <poenitz@gmx.net>
3853 * text3.C: merge some LFUN handlers, remove dead code
3855 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3857 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3859 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3861 * text2.C (DEPM): fix part of bug 1255 and 1256
3863 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3865 * BufferView_pimpl.C (workAreaDispatch): change to use
3866 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3867 that are no mouse related.
3869 2003-08-05 André Pönitz <poenitz@gmx.net>
3872 * BufferView_pimpl.[Ch]:
3873 * bufferview_funcs.C:
3875 * text3.C: rip out "deep update"
3877 * textcursor.[Ch] (last_sel_cursor): remove unused member
3879 2003-08-04 André Pönitz <poenitz@gmx.net>
3882 * BufferView_pimpl.[Ch]:
3883 * ParagraphParameters.C:
3884 * bufferview_funcs.C:
3890 * text3.C: replace "complicated" BufferView::update(...) calls with
3893 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3895 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3897 * Makefile.am (lyx_SOURCES): add paper.h
3899 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3901 * Makefile.am: move things around so that both lyx-qt and
3902 lyx-xforms can be built (according to --with-frontend). Then lyx
3903 is a symbolic link to lyx-[firstfrontend]
3905 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3907 * Always use std::endl with lyxerr
3909 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3911 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3913 2003-08-01 André Pönitz <poenitz@gmx.net>
3916 * BufferView_pimpl.[Ch]:
3918 * text3.C: merge BufferView::repaint() and BufferView::update()
3920 2003-08-01 José Matos <jamatos@lyx.org>
3922 * buffer.[Ch]: file_format is no longer a buffer data element.
3924 2003-08-01 André Pönitz <poenitz@gmx.net>
3929 * text2.C: make redoParagraph more independent of current cursor
3931 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3933 * text2.C: remove unneeded members
3935 2003-07-30 André Pönitz <poenitz@gmx.net>
3937 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3939 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3940 create a single function...
3942 * paragraph_funcs.C (moveItem): ... here.
3945 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3947 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3949 * LColor.[Ch]: Add comment and greyedout logical colors.
3951 2003-07-30 André Pönitz <poenitz@gmx.net>
3953 * tabular.C: don't use Assert too heavily. This crashes where it
3956 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3958 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3959 is disabled (bug 1232)
3961 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3963 * factory.C: limited 'arg' scope
3965 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3967 * factory.C: fixed Note submenu issues
3969 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3971 * factory.C: submenu for Note/Comment/Greyedout
3973 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3976 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3978 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3981 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3982 greyedout. Patch provided by Jürgen Spitzmüller.
3984 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3986 * kbmap.C (read): fix error message when reading bind files
3988 2003-07-29 Angus Leeming <leeming@lyx.org>
3990 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3991 certainly does not do what it purports to do. I am doing it, and
3992 us, a favour by killing it.
3994 2003-07-28 José Matos <jamatos@lyx.org>
3996 * buffer.C (readBody, do_writeFile):
3997 * paragraph.C(readParagraph): \end_document replaces \the_end.
3999 2003-07-29 André Pönitz <poenitz@gmx.net>
4002 * BufferView_pimpl.[Ch]:
4006 * textcursor.[Ch]: remove toggleToggle & Co
4008 2003-07-28 José Matos <jamatos@fep.up.pt>
4010 * buffer.C (readParagraph):
4011 * params_func (readParToken, readParagraph):
4012 * paragraph.C (write): \layout -> \begin_layout.
4014 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * lyxlex_pimpl.C (setFile): clean up slightly.
4018 * bufferparams.h: add compressed var
4020 * buffer_funcs.C (readFile): adjust for LyXLex change
4021 (newFile): ditto + simplify
4023 * buffer.C (writeFile): handle writing of compressed files
4025 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4026 Check if the file is compressed and set a bufferparm if so.
4028 * Makefile.am (lyx_LDADD): remove explicit -lz
4030 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4032 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4033 makeDocBookFile): put the real LyX version in the first line of
4037 * version.C.in: remove lyx_docversion
4039 * tabular.C (write_attribute): add a template-based version to
4040 write enums properly
4042 2003-07-28 André Pönitz <poenitz@gmx.net>
4047 * text3.C: use doubles again for x-coordinates. They are needed.
4049 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * messages.C (getLocaleDir): use lyx_localedir()
4053 * lyxlex_pimpl.C (setFile): compress stuff
4055 * buffer.C (writeFile): add some compression stuff
4056 (do_writeFile): new func, dont call expliti close... will this
4059 * Makefile.am (lyx_LDADD): add -lz
4061 2003-07-28 José Matos <jamatos@fep.up.pt>
4063 * buffer.C: increment file format.
4064 * paragraph_funcs (readParagraph, readParToken):
4065 * paragraph.C (readParagraph): add \end_layout.
4067 2003-07-27 Angus Leeming <leeming@lyx.org>
4069 * Makefile.am: remove special casing for configure-time setting of
4070 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4072 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4073 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4075 2003-07-26 André Pönitz <poenitz@gmx.net>
4077 * paragraph_func.[Ch]:
4078 * paragraph.C (realizeFont): inline it whereever it is used
4083 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4086 2003-07-26 André Pönitz <poenitz@gmx.net>
4090 * text2.C: get rid of LyXText::need_break_row
4092 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * toc.[Ch]: put namespace toc inside namespace lyx
4096 * MenuBackend.C (expandToc2): adjust for lyx::toc
4099 * lyxfunc.C (dispatch): adjust for lyx::find
4101 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4102 lyx::find instead. Reorganize a bit.
4103 (LyXReplace): rename to replace
4104 (LyXFind): rename to find
4106 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4109 2003-07-26 André Pönitz <poenitz@gmx.net>
4111 * text.C (setHeightOfRow): restrict scope of temporary variable
4113 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4114 code (never has been used?)
4116 2003-07-27 Asger Alstrup <alstrup@local>
4118 * text.C (fill): Optimise algorithm to exploit that we can reuse
4119 the LyXFont for many characters.
4120 (setHeightOfRow): Same thing.
4121 (rowBreakPoint): Same thing.
4123 2003-07-26 Asger Alstrup <alstrup@local>
4125 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4127 * text.C (singleWidth): Spurious font copying in hot-spot
4128 singleWidth avoided. Reorder tests for arabic for efficiency.
4130 * text.C (fill): handle empty paragraphs better.
4132 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4135 * encoding.h: add includes
4137 * lyxrc.C: remove reading of bind files
4139 * lyx_main.C (init): setup bindings and menus only if we have a
4142 * kbmap.C (read): new method. Do the actual reading of bind
4145 * converter.C (dvipdfm_options):
4148 (output): adapt PAPER_* enums.
4150 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4152 * bufferparams.h: remove paper-related enums from there
4154 * paper.h: New file. A trivial header file to hold paper-related
4155 enums. It should later expand to contain many paper-related
4158 * lyxrc.C: declare extern displayTranslator
4160 2003-07-27 José Matos <jamatos@fep.up.pt>
4162 * tabular.[Ch] (linuxdoc): add support for tables and figures
4165 2003-07-27 José Matos <jamatos@fep.up.pt>
4167 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4168 consistency in both functions.
4169 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4171 2003-07-26 Asger Alstrup <alstrup@local>
4173 * rowpainter.C (paintRows): Change algorithm to work directly on
4174 the insets rather than asking every character in the document
4175 whether its an inset.
4177 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4179 * buffer.C (openFileWrite): factorize some code
4181 2003-07-26 Angus Leeming <leeming@lyx.org>
4184 * lyx_main.[Ch]: replace occurances of system_tempdir with
4187 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * rename Inset to InsetOld
4191 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4193 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4194 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4195 which I think is a bit clearer. EDIT is gone, since it was
4196 premature optimisation, and broken for mathed anyway.
4197 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4198 with cursor positioning in insets as well (math insets still do not
4199 work, but that's a different story anyway.) It mysteriously
4200 crashes sometimes with undo in the first paragraph, but I'm fairly
4201 confident that this is a compiler bug.
4203 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4205 * paragraph.C (Paragraph): adjust for new clone return type
4207 (copyIntoMinibuffer): ditto
4209 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4211 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4212 by not having a special case, and always doing a full rebreak of
4213 the document after undo.
4215 2003-07-23 Angus Leeming <leeming@lyx.org>
4217 * factory.C (createInset): InsetExternal::setParams now takes a
4220 2003-07-23 Angus Leeming <leeming@lyx.org>
4222 * factory.C (createInset): changed interface to the external and
4223 graphics mailers' string2params functions.
4225 2003-07-23 Angus Leeming <leeming@lyx.org>
4227 * factory.C (createInset): pass a
4228 Buffer const * parameter to InsetExternalMailer's string2params.
4230 2003-07-22 John Levon <levon@movementarian.org>
4232 * Thesaurus.h: include the right aiksaurus header
4234 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4236 * MenuBackend.C (expand): check menu shortcuts unconditionally
4238 2003-07-21 Angus Leeming <leeming@lyx.org>
4240 * factory.C (createInset): pass a
4241 buffer_path parameter to InsetGraphicsMailer's string2params.
4243 2003-07-21 Angus Leeming <leeming@lyx.org>
4245 * BufferView_pimpl.C (buffer):
4248 * lyxfunc.C (dispatch):
4249 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4250 rather than the grfx shortcut.
4252 2003-07-21 André Pönitz <poenitz@gmx.net>
4254 * rowpainter.C: remove unused variables
4257 * tabular_funcs.h: move to tabular.C
4258 * Makefile.am: adjust
4260 * tabular.[Ch]: basic optical cleaning
4262 * author.h: pass references, not values
4264 2003-07-18 André Pönitz <poenitz@gmx.net>
4272 * text3.C: two-phase drawing for InsetText and InsetTabular
4273 some float -> int changes.
4275 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4277 * lyx_main.C: fix the fix
4279 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4281 * lyx_main.C: fix a crash in batch mode if no files specified
4284 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4286 * format.[Ch] (papersize): moved to BufferParams
4287 * converter.[Ch] (dvips_options): moved to BufferParams
4288 (dvipdfm_options): moved to anon namespace
4289 * bufferparams.[Ch]: added above functions.
4291 2003-07-17 André Pönitz <poenitz@gmx.net>
4295 * text2.C: don't call inset->update() anymore
4297 * metricsinfo.[Ch]: add convenience constructor
4299 2003-07-16 André Pönitz <poenitz@gmx.net>
4304 * text2.C: replace the LyXCursor::irow_ member with
4305 on-demand computation of the value
4307 2003-07-16 John Levon <levon@movementarian.org>
4309 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4311 2003-07-15 André Pönitz <poenitz@gmx.net>
4314 * text2.C: remove no more needed refresh_row
4316 2003-07-15 André Pönitz <poenitz@gmx.net>
4321 * text3.C: refresh_status tristate -> need_update bool
4323 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4325 * lyxtext.h (init): remove reinit argument (act as if always true)
4326 * text2.C: adjust to that
4328 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4330 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4331 * text3.C: use it to delete selections in some cases
4332 (bugs 441, 673, 702, 954).
4334 2003-07-14 André Pönitz <poenitz@gmx.net>
4336 * rowpainter.[Ch]: reduce interface
4338 2003-07-14 André Pönitz <poenitz@gmx.net>
4340 * BufferView_pimpl.C:
4341 * text2.C: adjust after removing unused BufferView * argument
4343 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4345 * text2.C (init): fix a crash fired on resize
4347 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4349 * buffer.[Ch]: added new closing signal
4350 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4351 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4352 BufferView::Pimpl via the closing the signal
4354 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4356 * buffer.[Ch]: take out all bv-related from buffer
4358 * BufferView_pimpl.[Ch]: connect to new signals
4359 * CutAndPaste.C: removed useless asserts
4360 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4363 * lyxfunc.C: moved view-related funciontality from vc here
4364 * paragraph.C: removed outdated comments
4367 2003-07-10 André Pönitz <poenitz@gmx.net>
4369 * BufferView_pimpl.C:
4373 * text2.C: remove InsetText::InnerCache, clean up consequences
4375 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4377 * ispell.C: fix two typos in error messages
4379 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4381 * Extend Note inset to other forms of annotation like Comment
4382 and Greyedout. Right button click gives dialog.
4384 Files modified or added (+):
4388 * ControlNote.[Ch] +
4390 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4391 frontends/controllers
4395 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4397 * aspell.C: add missing namespace lyx::support
4399 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4401 * BufferView.[Ch] (newFile): Add
4402 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4403 * LaTeX.[Ch] (message): added this signal and use it
4404 * buffer.[Ch] (busy, message): added these signals and use them
4405 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4409 * importer.C: use buffer signals instead of direct bv calling
4410 * lyx_cb.[Ch] (ShowMessage): removed
4413 * paragraph_funcs.C:
4414 * text2.C: use buffer signals
4416 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * introduce namespace lyx::graphics
4420 2003-07-02 André Pönitz <poenitz@gmx.net>
4422 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4424 2003-07-01 André Pönitz <poenitz@gmx.net>
4431 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4432 text*.C to text_func.C
4434 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * introduce namespace lyx::support
4438 2003-06-30 André Pönitz <poenitz@gmx.net>
4443 * text.C: re-enable --with-included-string
4445 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * textcursor.C: add <config.h>
4449 * text.C (getWord): remove const from word_location arg
4451 * lyxvc.C (getLogFile): fix const type order
4453 * lyxtext.h: remove const from word_location arg, add arg name
4455 * lyxlayout.h: currect type on labeltype.
4457 * importer.C: correct \file
4459 * converter.C (intToFormat): use std:: on ret val, ws changes
4461 * bufferlist.h: correct \file
4463 * buffer.C (makeLinuxDocFile): fix const type order
4464 (makeDocBookFile): ditto
4465 (fillWithBibKeys): use std:: on stdlib args.
4467 * CutAndPaste.C: fix authors.
4468 (availableSelections): use std:: on return vector
4470 2003-06-27 André Pönitz <poenitz@gmx.net>
4472 * BufferView_pimpl.C:
4473 * bufferview_funcs.C:
4481 * text3.C: remove LyXCursor::row_ member
4484 * text.C: rename fullRebreak() to partialRebreak() and implement
4485 a fullRebreak() that really bereks fully
4487 * textcursor.h: new struct for cursor-related data
4489 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4491 * lyx_main.C (LyX): get full path of document loaded on the
4494 2003-06-26 André Pönitz <poenitz@gmx.net>
4496 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4497 remove unused/broken operator>,<,>=.
4499 * text.C: remove only use of broken operator<= in an Assert().
4501 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4503 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4504 moved errorlist_.clear to showErrorList
4506 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4508 * converter.C (scanLog, runLaTeX):
4509 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4510 move the bv->showErrorList call to the callers
4511 * lyxfunc.C: i.e. here...
4513 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4514 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4515 namespace, the second to...
4516 * buffer_funcs (BufferFormat, parseErrors): added
4517 * errorlist.C (ErrorList(TeXErrors const &)): removed
4519 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4521 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4523 2003-06-24 "Garst R. Reese" <reese@isn.net>
4527 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4529 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4531 * version.C.in: change docversion to 1.4
4533 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4535 * buffer.C: fix a bug just introduced
4537 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4539 * buffer.[Ch]: added the parseError signal and use it, removed
4541 * BufferView.[Ch] (addError): moved to ...
4542 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4543 to the Buffer::parseError signal to catch (guess what) parse errors
4544 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4546 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4548 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4549 ability to create a buffer and to return an existing one from
4550 the list. Moved these functions to...
4551 * buffer_funcs.[Ch]: added
4552 * BufferView.[Ch] (loadLyXFile): added
4553 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4554 job removed from bufferlist::loadLyXFile.
4555 * buffer.C (setReadOnly): make it work without view
4556 (i.e added an if (users))
4558 2003-06-19 Angus Leeming <leeming@lyx.org>
4561 * LyXAction.C (init):
4562 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4563 with LFUN_DIALOG_SHOW <name> <data>.
4565 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4567 * CutAndPaste.C (availableSelections): small compilation fix for
4568 ancient (gcc 2.9x) compilers
4570 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4572 * text3.C (cursorNext): add tmp var
4574 * text2.C (updateCounters): for function calling out of for clause
4575 (replaceSelectionWithString): ditto
4576 (insertStringAsParagraphs): ditto
4577 (getColumnNearX): add tmp var
4578 (setCursorFromCoordinates): add tmp var
4579 (cursorDownParagraph): add tmp var
4580 (deleteEmptyParagraphMechanism): add tmp var
4582 * text.C (insertChar): add tmp var
4584 * rowpainter.C (paintDepthBar): add tmp var
4586 * CutAndPaste.C (availableSelections): potentially check all
4587 paragraphs in a cut to fill the shown strings.
4589 2003-06-18 André Pönitz <poenitz@gmx.net>
4591 * kbmap.[Ch]: use vector<> instead of list<>
4593 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4595 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4596 pasteSelection with index
4598 * text2.C (pasteSelection): modify, call pasteSelection with index
4600 * paragraph.C (asString): reimplement version with no interval to
4601 call the one with interval.
4603 * lyxtext.h: add index arg to pasteSelection
4605 * MenuBackend.C (MenuItem): handle PasteRecent
4606 (Menu::read::Menutags): add md_pasterecent
4608 (expandPasteRecent): new function
4611 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4613 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4615 (availableSelections): new function
4617 2003-06-17 Angus Leeming <leeming@lyx.org>
4619 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4621 2003-06-17 Angus Leeming <leeming@lyx.org>
4624 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4626 * lyxfunc.C (dispatch): invoke it.
4628 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4630 * iterators.C (operator++, ParPosition): reintroduce some
4631 const_cast for the benefit of older compilers.
4633 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4635 * text3.C (dispatch): do not modify clipboard when doing
4636 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4637 LFUN_DELETE_SKIP on a selection selection
4639 2003-06-16 André Pönitz <poenitz@gmx.net>
4645 * tabular.[Ch]: IU of clone() and getLabelList();
4647 2003-06-13 André Pönitz <poenitz@gmx.net>
4649 * tabular.h: compactification
4651 2003-06-12 André Pönitz <poenitz@gmx.net>
4655 * tabular_funcs.h: some renaming plus whitespace
4657 2003-06-12 André Pönitz <poenitz@gmx.net>
4660 * BufferView_pimpl.C:
4666 * toc.C: Return a Paragraph & for ParIterator::operator*()
4668 2003-06-11 John Levon <levon@movementarian.org>
4672 * ToolbarBackend.C: add "Toolbars" section and
4675 2003-06-10 Angus Leeming <leeming@lyx.org>
4678 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4680 * lyxfunc.C (dispatch): invoke it.
4682 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * main.C: protect <ios> with HAVE_IOS
4685 (main): protect sync_with_stdio with HAVE_IOS
4687 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4689 * text2.C (cutSelection): adjust
4690 (pasteSelection): adjust
4692 * messages.C: handle get of empty string
4694 * main.C (main): use sync_with_stdio(false)
4696 * lyxfunc.C (dispatch): adjust
4698 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4699 (WriteAs): remove unneeded BufferView arg.
4701 * bufferparams.h: use correct types on papersize, papersize2 and
4704 * bufferparams.C (readToken): adjust for type
4705 (writeLaTeX): add missing cases to switch.
4707 * bufferlist.C (quitWriteBuffer): adjust
4710 * buffer.C (asciiParagraph): remove some commented code.
4712 * CutAndPaste.C: remove current_view extern variable.
4713 (cutSelection): add BufferParams arg.
4714 (eraseSelection): add BufferParams arg.
4715 (pasteSelection): add Buffer const & arg
4717 2003-06-07 John Levon <levon@movementarian.org>
4720 * paragraph_funcs.C:
4721 * paragraph_pimpl.C:
4725 * paragraph.C: allow InsetERT to freely space lines,
4726 and some consolidation of code
4728 2003-06-06 José Matos <jamatos@fep.up.pt>
4730 * buffer.C (makeDocBookFile): fix bug #821
4732 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4734 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4736 2003-06-04 Angus Leeming <leeming@lyx.org>
4738 * buffer.C: bump format to 224.
4740 2003-06-05 André Pönitz <poenitz@gmx.net>
4742 * text2.C (redoParagraphs): remove two const_cast<>
4744 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4746 * ParagraphList.h: remove last remnants of NO_STD_LIST
4748 2003-06-03 Angus Leeming <leeming@lyx.org>
4750 * factory.C (createInset): small change to the way InsetExternal's params
4753 2003-06-04 André Pönitz <poenitz@gmx.net>
4755 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4757 * paragraph_pimpl.h:
4758 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4760 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4762 * undo_funcs.C: make some simple cases of undo work again
4764 2003-06-03 John Levon <levon@movementarian.org>
4766 * ispell.C: HPUX doesn't have sys/select.h
4769 2003-06-03 John Levon <levon@movementarian.org>
4771 * CutAndPaste.C: update tabular and include inset
4776 * paragraph.C: remove owningBuffer(), don't pass Buffer
4779 * factory.C: insetGraphicsParams changed
4781 2003-06-02 John Levon <levon@movementarian.org>
4787 * text3.C: remove insetparent
4789 2003-06-02 John Levon <levon@movementarian.org>
4792 * buffer.C: fix inset_iterator.end(), move out of line
4795 2003-06-01 John Levon <levon@movementarian.org>
4797 * text3.C: use a proper cut/paste when doing inset
4798 insert (from Jürgen Spitzmüller)
4800 2003-06-01 John Levon <levon@movementarian.org>
4802 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4804 2003-05-30 André Pönitz <poenitz@gmx.net>
4806 * rowpainter.C: unify second drawing phase
4808 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4810 * trans_mgr.C: remove one case of current_view
4812 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4814 * paragraph_funcs.h: remove paragraph.h include
4816 * paragraph.h: delete NO_STD_LIST stuff
4818 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4820 * buffer.h: remove paragraph.h include
4822 * ParagraphList.C: delete file
4824 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4826 * toc.C (getTocList): adjust
4828 * paragraph_pimpl.C (validate): adjust
4830 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4832 * paragraph.C (Paragraph): adjust
4833 (getPositionOfInset): use const_iterator, adjust
4834 (bibitem): use const_iterator, adjust
4835 (setInsetOwner): adjust
4837 * iterators.C (operator++): adjust
4839 * InsetList.[Ch]: Replace selfmade iterator with standard
4840 vector::iterator also introduce const_iterator. Remove getPos,
4841 getInset and setInset from InsetTable. Adjust accordingly.
4843 * BufferView.C (lockInset): adjust
4844 (ChangeInsets): adjust
4846 * tabular.[Ch]: delete commented same_id functions
4848 2003-05-28 John Levon <levon@movementarian.org>
4850 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4852 2003-05-28 André Pönitz <poenitz@gmx.net>
4854 * metricsinfo.[Ch]: remove 'fullredraw' member
4856 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4858 * lyxtextclass.C (operator): remove caching.
4860 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * text2.C (cursorBottom): adjust
4865 (setCounter): use ParagraphList::find, adjust
4867 * text.C (workWidth): use ParagraphList::find, adjust
4869 * lyxcursor.C (LyXCursor): adjust
4871 * buffer.C (inset_iterator): adjust
4873 * ParagraphList.h: make iterator(value_type) private, make
4874 ParagraphList a friend of iterator.
4876 * ParagraphList.C (find): new function
4878 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4880 2003-05-27 André Pönitz <poenitz@gmx.net>
4882 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4884 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4886 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4888 2003-05-26 John Levon <levon@movementarian.org>
4890 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4892 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * remove same_id from function signatures, adjust.
4896 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4898 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4900 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4902 * paragraph.C (Paragraph): get rid of same_ids parameter
4904 * ParagraphList.C (insert): adjust
4907 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * paragraph_funcs.C (breakParagraph): adjust
4910 (breakParagraphConservative): adjust
4912 * buffer.C (readParagraph): adjust
4914 * ParagraphList.C (insert): take a reference instead of a pointer
4917 * paragraph.[Ch] (id): new function
4919 * bufferlist.C (newFile): adjust
4921 * ParagraphList.C (ParagraphList): adjust
4923 (push_back): take a reference instead of a pointer.
4925 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4927 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4930 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4931 set else use old code.
4933 * ParagraphList.C: remove all NO_NEXT code and only compile this
4934 code of NO_STD_LIST is set.
4936 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4938 * BufferView_pimpl.C:
4948 * graphics/GraphicsConverter.C:
4949 * graphics/PreviewLoader.C: header adjustment
4951 2003-05-23 Angus Leeming <leeming@lyx.org>
4953 * LaTeXFeatures.[Ch] (useBabel): new method.
4954 * bufferparams.C (writeLaTeX): use it.
4956 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4958 * ParagraphList.h (set): remove unused function.
4960 2003-05-23 André Pönitz <poenitz@gmx.net>
4963 * BufferView_pimpl.C:
4967 * undo_funcs.C: setUndo reworked
4969 * iterators.[Ch]: add access to topmost ParagraphList
4971 * lyxtext.[Ch] (workWidth): add a const
4973 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4975 * texrow.[Ch] (increasePos): remove function
4976 * exporter.C (export): removed unused var and outdated comment
4978 2003-05-23 Angus Leeming <leeming@lyx.org>
4980 * latexrunparams.h: rename fragile as moving_arg.
4981 * paragraph.C (simpleTeXOnePar): ditto.
4982 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4984 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4988 (textUndoOrRedo): comment out a currently unused var.
4990 * paragraph.h (NO_NEXT): enable NO_NEXT
4992 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4994 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4996 * exporter.C (Export): adjust for removeAutoInsets removal.
4998 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5000 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5002 * BufferView.[Ch] (removeAutoInsets): delete function
5004 2003-05-22 Angus Leeming <leeming@lyx.org>
5006 * latexrunparams.h: add a free_spacing variable.
5008 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5009 to pass moving_arg, as the data is stored in runparams.fragile.
5011 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5012 to Inset::latexOptional or to simpleTeXOnePar.
5014 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5015 free_spacing arg to Inset::latexOptional.
5017 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5020 2003-05-22 Angus Leeming <leeming@lyx.org>
5022 * latexrunparams.h: add fragile and use_babel variables.
5024 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5025 * buffer.C (makeLaTeXFile): store this returned value in
5026 runparams.use_babel, thus passing it to the inset::latex methods.
5028 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5029 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5031 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5032 longer has a fragile arg, as it is stored in runparams.fragile.
5034 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5035 moving_arg parameter as the data is stored in runparams.fragile.
5037 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5038 a fragile parameter as the data is stored in runparams.fragile.
5040 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5044 2003-05-22 Angus Leeming <leeming@lyx.org>
5046 * latexrunparams.h: add a 'bool nice' which defaults to false.
5048 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5049 now encapsulated within runparams.
5051 * bufferlist.C (updateIncludedTeXfiles):
5052 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5054 2003-05-22 Angus Leeming <leeming@lyx.org>
5056 * latexrunparams.h: new file containing struct LatexRunParams.
5057 * Makefile.am: add new file.
5059 * LaTeX.[Ch] (c-tor, run):
5060 * buffer.[Ch] (makeLaTeXFile):
5061 * bufferlist.[Ch] (updateIncludedTeXfiles):
5062 * converter.C (convert, scanLog):
5063 * converter.[Ch] (runLaTeX):
5064 * exporter.C (Export):
5065 * paragraph.[Ch] (simpleTeXOnePar):
5066 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5067 * paragraph_funcs.[Ch] (latexParagraphs):
5068 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5069 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5070 pass around a LatexRunParams parameter.
5072 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * paragraph.[Ch]: remove unused constructor
5076 * ParagraphList.C (erase): new function, taking two iterators
5078 2003-05-22 André Pönitz <poenitz@gmx.net>
5080 * undo_funcs.C: remove duplicated code
5082 * iterator.[Ch]: operator=
5084 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5086 * tabular.C (SetMultiColumn): ws changes
5088 * rowpainter.C (paintFirst): get rid of a ->previous
5090 * lyx_cb.C (getPossibleLabel): parlist simplification
5092 * BufferView.C (ChangeInsets): simplify slightly.
5094 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5096 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5097 * lfuns.h: new LFUN_SPACE
5098 * lyxfunc.C: protected space has a new lfun
5099 * paragraph_funcs.C: read new space insets
5101 * factory.C: handle new space insets
5103 2003-05-22 André Pönitz <poenitz@gmx.net>
5106 * BufferView_pimpl.C:
5109 * undo_funcs.C: return a ParIterator from getParFromID.
5111 * iterators.[Ch]: add two const's
5113 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * toc.C (getTocList): adjust
5117 * iterators.[Ch]: rework for parlist
5119 * buffer.C (par_iterator_begin): adjust
5120 (par_iterator_end): adjust
5122 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5124 * BufferView.C (removeAutoInsets): adjust
5125 (ChangeInsets): adjust
5127 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5129 * text.C (top_y): fix bug 1110
5131 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5133 * errorlist.[Ch]: added
5136 * BufferView_pimpl.C:
5137 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5140 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5142 * Makefile.am: ensure that lyx is relinked upon changes to the
5143 various "convenience" libs.
5145 2003-05-20 Angus Leeming <leeming@lyx.org>
5147 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5148 files are compiled in alphabetical order again.
5150 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5152 2003-05-19 Angus Leeming <leeming@lyx.org>
5154 * gettext.[Ch]: remove "char const * _(char const *)".
5156 2003-05-19 André Pönitz <poenitz@gmx.net>
5158 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5167 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5169 2003-05-19 André Pönitz <poenitz@gmx.net>
5173 * lyxtextclass.[Ch]:
5175 * paragraph_funcs.[Ch]:
5177 * text3.C: more insetenv work
5179 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5181 * ParagraphParameters.C (params2string): small bug fixed
5183 2003-05-16 André Pönitz <poenitz@gmx.net>
5186 * bufferview_funcs.C: patch from Kornel Benko to prevent
5187 crash when _(...) is called twice in a statement
5189 2003-05-16 André Pönitz <poenitz@gmx.net>
5196 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5198 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5200 * lyx_main.C (init): remove spurious static_cast
5202 2003-05-14 André Pönitz <poenitz@gmx.net>
5204 * BufferView.C: fix format string
5206 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5208 * BufferView.[Ch] (insertErrors): removed
5209 * BufferView.[Ch] (showErrorList): added
5210 * buffer.C (runChkTeX):
5211 * converter.C (scanLog): call showErrorList instead of inserterrors
5213 2003-05-13 André Pönitz <poenitz@gmx.net>
5215 * BufferView_pimpl.C:
5217 * bufferview_func.C:
5224 * tabular_funcs.h: tostr() from its own header
5226 * ParagraphParameters.C:
5231 * text3.C: STRCONV()
5233 2003-05-12 André Pönitz <poenitz@gmx.net>
5236 * BufferView_pimpl.C:
5240 * ParagraphParameters.C:
5244 * bufferview_funcs.C:
5257 * paragraph_funcs.C:
5261 * text3.C: boost::format -> bformat all over the place
5264 2003-05-09 André Pönitz <poenitz@gmx.net>
5266 * LColor.[Ch]: Pimpl the #include <map> away
5268 2003-05-09 John Levon <levon@movementarian.org>
5270 * bufferlist.C: never remove emergency saves
5272 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5274 * Makefile.am: better lib building
5276 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5278 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5280 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5281 (simpleTeXSpecialChars): adjust
5282 (simpleTeXSpecialChars): adjust
5283 * paragraph.C (simpleTeXOnePar): adjust
5284 * buffer.C (makeLaTeXFile): adjust
5286 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5288 * text2.C (changeDepth): parlist cleanup
5289 (getColumnNearX): ditto
5291 * rowpainter.C (getLabelFont): parlist cleanup
5293 * bufferlist.C (newFile): parlist cleanup
5295 * CutAndPaste.C (eraseSelection): parlist cleanup
5297 * BufferView_pimpl.C (trackChanges): parlist cleanup
5300 * BufferView.C (lockInset): parlist cleanup.
5301 (ChangeInsets): ditto
5303 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * CutAndPaste.h: Update file header.
5307 * CutAndPaste.C: Update file header.
5308 Store the parts cut out of the Document in a limited_stack.
5309 (copySelection): adjust
5310 (pasteSelection): new function, takes the index in the limited stack.
5311 (nrOfParagraphs): adjust
5312 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5313 simplify error inset insertion.
5314 (checkPastePossible): adjust
5316 2003-05-06 John Levon <levon@movementarian.org>
5318 * text2.C: don't cast wrap inset to float
5320 2003-05-05 André Pönitz <poenitz@gmx.net>
5323 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5325 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5326 few naked Paragraph *.
5328 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5330 * bufferparams.C: Output warning if a document with missing
5331 TeX document class is loaded
5332 * exporter.C: Disable TeX exports if the document class is missing
5335 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5336 isTeXClassAvailable()
5338 2003-05-03 John Levon <levon@movementarian.org>
5341 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5342 explicit cursor show/hide
5344 * BufferView_pimpl.h:
5345 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5346 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5348 * lyxfunc.C: hide cursor before dispatching.
5353 * text3.C: remove explicit cursor hides
5355 2003-05-02 André Pönitz <poenitz@gmx.net>
5357 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5360 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5363 * text2.C: tiny whitespace
5365 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * undo_funcs.C: almost only ws changes.
5369 * ParagraphList.C (splice): just return if pl is empty.
5371 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5373 * ParagraphList.C (splice): new function.
5375 * CutAndPaste.C (pasteSelection): use it
5377 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5379 * CutAndPaste.C (pasteSelection): remove the last next and
5380 previous from this file.
5382 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * CutAndPaste.C (pasteSelection): more clean up, user proper
5385 ParagraphList functions for pasteing.
5387 * ParagraphList.C (insert): new function, three arg insert
5389 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5391 * ParagraphList.C (insert): new function, three arg insert
5393 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5396 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5400 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5402 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5404 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5406 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5407 (copySelection): clean up a bit.
5408 (pasteSelection): use make_pair
5410 * ParagraphList.C (ParagraphList): implement copy constructor
5411 (operator=): implement, base on copy constructor.
5414 * paragraph.C (erase): return a bool
5416 * paragraph_pimpl.C (erasePos): remove function, move contents...
5417 (erase): ... here. Return a bool.
5418 (erase): call erase instead of erasePos.
5420 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5422 * ParagraphList.h: define PitPosPair
5423 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5424 ParagraphList, fix a bug on pasting multiple pars
5425 * text2.C: change interface to C&P
5427 2003-04-30 André Pönitz <poenitz@gmx.net>
5429 * undo_func.C: revert part of yesterday's patch 2
5431 2003-04-30 John Levon <levon@movementarian.org>
5433 * LColor.C: s/tabular/table/
5435 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * text3.C (dispatch): do not convert iterator -> pointer
5438 * undo_funcs.C (setCursorParUndo): ditto
5439 * text_funcs.C (transposeChars): ditto
5441 * text2.C (setLayout): ws changes only
5443 * text.C (breakParagraph): do not convert iterator -> pointer
5445 (acceptChange): ditto
5446 (rejectChange): ditto
5451 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5454 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5456 * text3.C (gotoInset): YABG (yet another bad getChar)
5458 2003-04-29 André Pönitz <poenitz@gmx.net>
5460 * paragraph.h: make operator= private unimplemented as long as
5463 * ParagraphList.C: whitespace
5466 * paragraph_pimpl.[Ch]:
5467 * paragraph_funcs.C:
5469 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5472 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5474 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5476 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5477 * paragraph.[Ch] (erase):
5478 * paragraph_pimpl.[Ch] (erase): change return type and value
5479 * text2.C (cutSelection): some rework
5481 2003-04-28 John Levon <levon@movementarian.org>
5483 * bufferlist.C: changes for unsaved changes dialog
5485 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5487 * bufferlist.C (newFile): set language (messages_) for new
5490 * buffer.C (readFile): ws changes only.
5492 2003-04-28 André Pönitz <poenitz@gmx.net>
5497 * BufferView_pimpl.C:
5498 * BufferView.C: getParFromID related ParagraphList::iterator changes
5500 2003-04-28 André Pönitz <poenitz@gmx.net>
5502 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5505 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * messages.C: remove one more localedir class variable.
5509 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5511 * messages.C (getLocaleDir): singleton generation function
5513 (Messages): add a default constructor.
5515 * main.C (main): do not setup localedir here, do not call
5518 * gettext.C (_): use it.
5519 (gettext_init): delete funciton
5521 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * gettext.C (getLyXMessages): new singleton generating function.
5525 * buffer.C (updateDocLang): adjust
5527 * Makefile.am (messages.o): add target
5528 (main.o): remove target
5530 2003-04-27 John Levon <levon@movementarian.org>
5535 * lyxvc.C: specify cancel button in Alert::prompt
5537 2003-04-26 John Levon <levon@movementarian.org>
5542 * LyXAction.C: add LFUN_INSET_SETTINGS
5544 * lyxfunc.C: don't enable tabular-feature when there's
5545 just any locking inset
5547 2003-04-26 John Levon <levon@movementarian.org>
5549 * bufferlist.C: re-add Cancel to buffer close question
5551 * lyxfunc.C: fix import UI a bit
5553 2003-04-25 John Levon <levon@movementarian.org>
5555 * gettext.C: remove the broken asserts for now
5557 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * messages.C: make case where setlocale cannot comply work better.
5561 * buffer.C (updateDocLang): new function
5562 (changeLanguage): use it
5565 * text2.C (setCounter): use B_ a bit.
5567 * lyxlayout.C (Read): be sure to trim the label strings.
5569 * messages.C (Messages): fix typo in comment
5571 * buffer.C (readFile): set message_ after file is loaded.
5572 (makeDocBookFile): remove double return
5573 (changeLanguage): reset message_ upon language change.
5574 (B_): new func, use this to get translated buffer strings.
5576 * main.C: add myself and Jean Marc as authors.
5578 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5580 * messages.[hC]: pimplify Messages, and three different pimpls to be
5581 used in different circumstances.
5583 * gettext.[Ch]: change for use with new message code.
5585 2003-04-24 André Pönitz <poenitz@gmx.net>
5587 * factory.C: support for eqref
5589 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * messages.[Ch]: add missing char
5593 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5595 * messages.[Ch]: New files
5597 2003-04-18 John Levon <levon@movementarian.org>
5601 * BufferView_pimpl.C:
5605 * text2.C: remove layout-copy/paste (bug 778)
5607 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5609 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5611 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5613 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5614 if they succeed. Act accordingly.
5616 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * text2.C (setCharFont): adjust
5619 (setCounter): adjust
5620 (insertStringAsLines): adjust
5622 * text.C (leftMargin): adjust
5623 (setHeightOfRow): adjust
5625 * rowpainter.C (paintFirst): adjust
5628 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5630 (isFirstInSequence): ditto
5631 (getEndLabel): ditto
5634 * paragraph.C (getParLanguage): comment out some hard stuff.
5636 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5638 (simpleDocBookOnePar): ditto
5639 (makeDocBookFile): use ParagraphList::iterator
5641 * CutAndPaste.C (pasteSelection): adjust
5643 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5645 * text2.C (getFont): adjust
5646 (getLayoutFont): adjust
5647 (getLabelFont): adjust
5649 * paragraph_funcs.C (TeXOnePar): adjust
5651 * buffer.C (simpleLinuxDocOnePar): adjust
5652 (simpleDocBookOnePar): adjust
5654 * CutAndPaste.C (pasteSelection): adjust
5656 * BufferView.C (getEncoding): adjust
5658 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5660 2003-04-16 John Levon <levon@movementarian.org>
5662 * lyxfind.C: use parlist stuff for search/changes
5664 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5668 * text2.C (deleteEmptyParagraphMechanism): adjust
5670 * text2.[Ch] (ownerParagraph): delete func (both of them
5672 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5676 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * ParagraphList.C: prepare for NO_NEXT
5680 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * text2.C (getFont): adjust
5683 (getLayoutFont): adjust
5684 (getLabelFont): adjust
5686 * paragraph.C (getFont): adjust
5687 (getLabelFont): adjust
5688 (getLayoutFont): adjust
5690 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5692 2003-04-15 John Levon <levon@movementarian.org>
5696 * lyx_main.C: handle Include in .ui files
5698 2003-04-15 John Levon <levon@movementarian.org>
5700 * MenuBackend.C: make the doc files length shorter
5703 * ToolbarBackend.C: handle toolbar placement flags,
5706 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5711 * paragraph_funcs.C (TeXOnePar): adjust
5713 * paragraph.C (getLabelFont): add outerfont arg, adjust
5714 (getLayoutFont): ditto
5715 (simpleTeXOnePar): adjust
5717 * paragraph_pimpl.C (realizeFont): delete func
5719 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5721 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5722 row argument, constify cur argument.
5724 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * text2.C (getFont): adjust
5727 (getLayoutFont): adjust
5728 (getLabelFont): adjust
5730 * paragraph_funcs.C (TeXOnePar): adjust
5731 (outerFont): new func...
5732 (realizeFont): ...moved out from here, changed this to facilitate
5735 * paragraph.C (getFont): take outerfont as arg, adjust
5736 (simpleTeXOnePar): add outerfont arg, adjust
5738 * buffer.C (simpleLinuxDocOnePar): adjust
5739 (simpleDocBookOnePar): adjust
5741 * CutAndPaste.C (pasteSelection): adjust
5743 * BufferView.C (getEncoding): adjust
5745 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5747 * text2.C (setCharFont): adjust
5748 (setCounter): adjust
5750 * text.C (leftMargin): adjust
5751 (setHeightOfRow): adjust
5753 * rowpainter.C (paintFirst): adjust
5756 * paragraph_pimpl.C (realizeFont): adjust
5758 * paragraph.C (isFirstInSequence): move from here...
5759 * paragraph_funcs.C (isFirstInSequence): ...to here
5761 * paragraph.C (outerHook): move from here...
5762 * paragraph_funcs.C (outerHook): ...to here
5764 * paragraph.C (depthHook): move from here...
5765 * paragraph_funcs.C (depthHook): ...to here
5767 * paragraph.C (getEndLabel): move from here...
5768 * paragraph_funcs.C (getEndLabel): ...to here
5770 * text2.C (realizeFont): move from here...
5771 * paragraph_funcs.C (realizeFont): ...to here
5773 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5775 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5777 2003-04-14 Angus Leeming <leeming@lyx.org>
5779 * LColor.[Ch]: scrap LColor mathcursor.
5781 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * lyxlex.[Ch] (text): delete function
5784 * trans.C (Load): adjust
5785 * paragraph_funcs.C (readParToken): adjust
5787 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5789 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5790 vector<char> instead of a char[].
5792 * lyxlex_pimpl.C (getString): adjust
5794 (lex): use getString
5798 * lyxlex.C (text): use pimpl_->getString()
5802 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5804 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5805 (makeFontEntriesLayoutSpecific): temp var for par.size()
5806 (setLayout): temp var for ownerParagraphs().end()
5807 (fullRebreak): temp var for rows().end()
5808 (selectionAsString): temp var for boost::next(startpit), realize
5809 that the while really is a regular for loop.
5810 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5811 setCursor in one place.
5812 (setParagraph): temp vr for ownerParagraphs().end()
5813 (updateCounters): make the while loop a for loop
5814 (cutSelection): temp var for ownerParagraphs().end()
5815 (updateInset): make the do {} while() a regular for loop
5816 (getCursorX): use temp vars
5817 (setCurrentFont): use temp vars
5818 (getColumnNearX): use temp vars
5820 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * text.C (transformChar): use temp var for getChar
5823 (computeBidiTables): use temp var for row->par()
5824 (fill): move temp vars for row->par() and pit->layout() earlier in
5826 (labelFill): use temp var for row->par()
5827 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5828 asc and desc, realize that pit never changes and that firstpit is
5829 just a duplicate and not needed. Exchange rit->par() with pit in a
5831 (breakAgain): use a temp var for boost::next(rit)
5832 (breakAgainOneRow): ditto
5833 (breakParagraph): use a temp var for rows().begin()
5834 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5835 (cursorRightOneWord): use temp var for cursor.par() and
5836 cursor.pos(), remove usage of tmpcursor.
5837 (cursorLeftOneWord): use temp var for cursor.par() and
5838 cursor.pos() only set cur at end of function.
5840 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5842 * text.C, text2.C: exchange all usage of Paragraph::next with
5843 boost::next(ParagraphList::iterator)
5845 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5847 * text2.C (cursorTop): simplify implementation
5848 (cursorBottom): ditto
5849 (setParagraph): use ParagraphList::iterator
5850 (setCurrentFont): adjust
5851 (getColumnNearX): adjust
5852 (cursorRight): adjust
5853 (cursorLeft): remove usage of Paragraph::previous
5854 (cursorUpParagraph): ditto
5855 (deleteEmptyParagraphMechanism): slight cleanup
5857 * text.C (isBoundary): take a Paragraph const & instead of a
5859 (addressBreakPoint): ditto
5860 (leftMargin): remove usage of Paragraph::previous.
5861 (setHeightOfRow): ditto
5862 (cursorLeftOneWord): ditto
5863 (selectNextWordToSpellcheck): ditto
5866 (breakParagraph): remove one usage of Paragraph::next
5867 (redoParagraph): ditto
5868 (acceptChange): ditto
5869 (insertChar): adjust
5870 (rowBreakPoint): adjust
5872 * bufferview_funcs.C (toggleAndShow): adjust
5874 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5876 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5877 methods to access it.
5879 * text.C: Added updateRowPositions to compute all row positions.
5880 Make top_y and getRowNearY() to use the cached y position
5882 2003-04-11 John Levon <levon@movementarian.org>
5884 * text.C (rowBreakPoint): reintroduce the labelEnd
5885 checks, code copied from the row fill stuff. Deep voodoo.
5887 * text.C (fill): add a comment and debugging for the
5890 2003-04-11 John Levon <levon@movementarian.org>
5892 * text.C: make sure fullrow insets get wrapped to the next line,
5893 even when they're in a manual label
5895 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5897 * text2.C (insertParagraph): make it take ParagraphList::iterator
5899 (setLayout): make it return ParagraphList::iterator
5900 (redoParagraphs): ditto
5902 (checkParagraph): ditto
5904 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5906 * text2.C: adjust several funcs.
5907 (realizeFont): take a ParagraphList::iterator as arg.
5908 (getLayoutFont): ditto
5909 (getLabelFont): ditto
5910 (setCharFont): ditto
5912 * text.C: adjust several funcs.
5914 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5916 * text.C (selectNextWordToSpellcheck): don't accidentally
5919 2003-04-10 John Levon <levon@movementarian.org>
5921 * ToolbarBackend.C (getIcon): special handling for
5924 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5926 * text2.C (cursorRight): a getChar assert fixed
5928 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5930 * text2.C (getFont): change to take a ParagraphList::iterator
5931 instead of Paragraph*
5932 Adjust several functions.
5934 * text.C (transformChar): change to take a ParagraphList::iterator
5935 instead of Paragraph*
5936 (singleWidth): ditto
5937 Adjust several functions.
5939 * rowpainter.C: adjust several functions
5940 * rowpainter.h:store a ParagraphList::iterator and not a
5944 2003-04-09 John Levon <levon@movementarian.org>
5949 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5950 and the "help" bits as well
5952 2003-04-09 John Levon <levon@movementarian.org>
5955 * ToolbarBackend.C: allow multiple toolbars
5957 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5959 * undo_funcs.C (setCursorParUndo): adjust
5961 * text_funcs.C (transposeChars): adjust
5963 * text3.C (gotoNextInset): adjust
5966 * text2.C (setLayout): adjust
5967 (changeDepth): adjust
5969 (redoParagraphs): adjust
5970 (selectionAsString): adjust
5971 (setParagraph): adjust
5972 (insertInset): adjust
5973 (cutSelection): adjust
5974 (copySelection): adjust
5975 (pasteSelection): adjust
5976 (insertStringAsLines): adjust
5977 (updateInset): adjust
5978 (setCursor): change to take a ParagraphList::iterator parameter
5979 (setCursorIntern): change to take a ParagraphList::iterator parameter
5980 (setCurrentFont): adjust
5981 (cursorLeft): adjust
5982 (cursorRight): adjust
5983 (deleteEmptyParagraphMechanism): adjust
5985 * text.C (breakParagraph): adjust
5986 (insertChar): adjust
5987 (acceptChange): adjust
5988 (rejectChange): adjust
5989 (selectNextWordToSpellcheck): adjust
5990 (changeCase): adjust
5994 * lyxfind.C (SearchForward): adjust
5995 (SearchBackward): adjust
5996 (nextChange): adjust
5998 * lyxcursor.C (par): adjust
6000 * lyxcursor.h: store a ParagraphList::iterator instead of a
6003 * lyx_cb.C (getPossibleLabel): adjust
6005 * bufferview_funcs.C (toggleAndShow): adjust
6007 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6010 * BufferView.C (removeAutoInsets): adjust
6011 (lockedInsetStoreUndo): adjust
6013 2003-04-09 John Levon <levon@movementarian.org>
6015 * ToolbarBackend.C: try icon without argument
6016 if with argument fails
6018 2003-04-08 John Levon <levon@movementarian.org>
6021 * ToolbarBackend.C: add getIcon(), handle tooltip,
6022 and change from "Icon" to "Item".
6024 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6026 * BufferView.C (lockInset): another bad getchar crunched
6028 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6030 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6033 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6035 * lyxfind.C (searchForward, searchBackwards): bug 782
6037 2003-04-07 John Levon <levon@movementarian.org>
6039 * paragraph.C: remove dead comment
6041 * text.C: remove troublesome depth-fiddling code
6042 in leftMargin() and rightMargin() (bug 1017)
6044 * text.C: fix breaking of rows in nested lists
6047 * text2.C (updateCounters): fix up depth values
6050 2003-04-07 John Levon <levon@movementarian.org>
6052 * BufferView_pimpl.C: clear message when doc finishes resizing,
6053 and after a mouse event
6055 * lyxfunc.C: clear message after exiting inset
6057 2003-04-07 John Levon <levon@movementarian.org>
6059 * bufferview_funcs.C: show math status not outside
6060 status in the statusbar
6062 2003-04-07 John Levon <levon@movementarian.org>
6064 * lyxfunc.C: note status changed after a depth change
6066 2003-04-04 Angus Leeming <leeming@lyx.org>
6068 * LaTeX.h: move AuxInfo operator==, != out of line.
6069 Remove LaTeX virtual destructor; nothing derives from it.
6070 Move operator()() out of public area and rename it startscript().
6071 Change protected for private.
6073 2003-04-04 Angus Leeming <leeming@lyx.org>
6076 * text2.C: remove unneeded #includes.
6078 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6080 * text2.C (dEPM): fix the heigth of the next row
6082 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6084 * text.C: squashed an invalid getChar requester + some ws changes
6086 2003-04-03 John Levon <levon@movementarian.org>
6088 * bufferview_funcs.h:
6089 * bufferview_funcs.C:
6092 * text2.C: make getStatus work for the env depth lfuns
6094 2003-04-03 John Levon <levon@movementarian.org>
6096 * bufferview_funcs.h:
6097 * bufferview_funcs.C:
6100 * text2.C: parlistize decDepth(), by merging it with incDepth()
6102 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6104 * lyxrow.h: store a ParagraphList::iterator instead of a
6105 Paragraph* and adjust other class functions to suit.
6107 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6110 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6112 * text2.C (setCursor): do not anchor to cursor row for the time being
6114 2003-04-02 John Levon <levon@movementarian.org>
6121 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6123 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6125 * paragraph.h: make ParagraphList and ParagraphList::iterator
6126 friends of Paragraph.
6128 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6130 * ParagraphList.C: Use the private next_ and previous_ from
6133 2003-04-01 John Levon <levon@movementarian.org>
6137 * Makefile.am: rename, remove defaults gunk
6140 * MenuBackend.C: remove defaults gunk
6143 * Languages.C: remove defaults gunk
6146 * lyx_main.C: error out if files couldn't be found.
6148 2003-04-02 John Levon <levon@movementarian.org>
6150 * text2.C: make incDepth() use parlist
6152 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6154 * undo_funcs.C (firstUndoParagraph): adjust
6156 * text3.C (gotoInset): adjust
6157 (dispatch): adjust, and rewrite loop.
6159 * text2.C (init): adjust, and rewrite loop.
6160 (redoParagraphs): adjust
6161 (updateInset): adjust, and rewrite loop.
6162 (deleteEmptyParagraphMechanism): adjust
6164 * tabular.C (LyXTabular): adjust
6165 (SetMultiColumn): adjust
6168 * lyxtext.[Ch] (ownerParagraph): delete function
6169 (ownerParagraphs): new function returns a ParagraphList.
6171 * BufferView.C (removeAutoInsets): adjust
6172 (insertErrors): adjust
6173 (setCursorFromRow): adjust
6175 2003-04-01 Angus Leeming <leeming@lyx.org>
6177 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6180 2003-04-02 John Levon <levon@movementarian.org>
6186 * text_funcs.C: make transposeChars a free function
6188 * lyxrow_funcs.C: remove wrong comment
6190 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6193 * rowpainter.C: adjust
6198 * lyxrow_funcs. [Ch]: new files
6200 * lyxrow.[Ch]: remove next and previous pointers
6201 (next,previous): remove accessor functions
6202 (isParEnd): move to lyxrow_funcs
6203 (lastPos): move to lyxrow_funcs
6204 (nextRowIsAllInset): move to lyxrow_funcs
6205 (lastPrintablePos): move to lyxrow_funcs
6206 (numberOfSeparators): move to lyxrow_funcs
6207 (numberOfHfills): move to lyxrow_funcs
6208 (numberOfLabelHfills): move to lyxrow_funcs
6209 (hfillExpansion): move to lyxrow_funcs
6213 * bufferview_funcs.C (toggleAndShow): adjust
6215 * RowList.h: Remove class RowList from file leave just a
6218 * RowList.C: delete file
6220 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6223 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * text3.C (cursorPrevious): adjust
6226 (cursorNext): adjust
6229 * text2.C (redoHeightOfParagraph): adjust
6230 (redoDrawingOfParagraph): adjust
6233 * text.C (breakParagraph): adjust
6234 (insertChar): adjust
6237 * rowpainter.C (RowPainter): adjust
6238 (leftMargin): simplify and adjust
6239 (most rowpainter functions): adjust.
6241 * rowpainter.h: store the row as RowList::iterator not as Row*
6243 * lyxcursor.C (row): taka RowList::iterator as arg
6246 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6249 2003-04-01 Angus Leeming <leeming@lyx.org>
6251 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6252 stuff like bool Bool.
6254 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6256 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6259 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6261 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6264 * lyxtext.h (rows): drop one version and leve a const variant that
6265 returns a RowList::iterator.
6267 2003-03-31 Angus Leeming <leeming@lyx.org>
6269 * text.C (fill): ensure that the signature is the same as that in the
6272 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6274 * text2.C (redoParagraphs): adjust
6275 (updateCounters): adjust
6276 (checkParagraph): adjust
6277 (getColumnNearX): adjust and reformat a bit.
6279 * text.C (top_y): adjust
6281 (leftMargin): adjust
6282 (prepareToPrint): adjust
6284 (getRowNearY): adjust
6286 * lyxtext.h: make rowlist_ mutable.
6288 * RowList.h: add const_iterator
6289 * RowList.C: adjust for RowList::const_iterator.
6291 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6294 2003-03-31 John Levon <levon@movementarian.org>
6297 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6299 * lyx_main.C: set default fonts from using lyx_gui funcs
6301 * exporter.C: pdf_mode moved from lyxrc
6304 * lyxfunc.C: changes from above
6306 2003-03-31 John Levon <levon@movementarian.org>
6308 * lyx_main.C: fix to the last fix
6310 2003-03-31 John Levon <levon@movementarian.org>
6312 * bufferlist.C: "Load original" -> "Load Original"
6318 * format.C: more Alert cleanups
6320 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * text2.C (removeParagraph): make it take a RowList::iterator as
6324 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6325 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6327 * text.C (anchor_row): make it take a RowList::iterator as arg,
6329 (computeBidiTables): make it take a const reference to Row instead
6330 of Row pointer, adjust.
6331 (leftMargin): make it take a RowList::iterator as arg, adjust.
6332 (rowBreakPoint): adjust
6333 (breakAgainOneRow): make it take a RowList::iterator as arg,
6335 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6337 * bufferview_funcs.C (toggleAndShow): adjust
6339 2003-03-30 John Levon <levon@movementarian.org>
6343 * boost-inst.C: moved to support
6345 * several files: changes as a result
6347 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6349 * text2.C (LyXText): adjust.
6351 (removeRow): make it take a RowList::iterator as arg, adjust.
6352 (fullRebreak): adjust
6353 (deleteEmptyParagraphMechanism): adjust
6354 (clearPaint): adjust
6357 * text.C (top_y): adjust
6358 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6359 (breakAgain): make it take a RowList::iterator as arg, adjust.
6360 (breakParagraph): adjust
6361 (insertChar): adjust
6364 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6365 need_break_row, and refresh_row.
6367 * text3.C (dispatch): adjust
6369 * text2.C (checkParagraph): adjust
6371 (setCursorFromCoordinates): adjust
6373 * text.C (top_y): adjust
6375 (getRow): make it return a RowList::iterator, adjust
6376 (getRowNearY): make it return a RowList::iterator, adjust
6378 * text2.C (init): adjust
6379 (insertRow): remove function
6380 (insertParagraph): adjust
6381 (redoParagraphs): adjust
6382 (fullRebreak): adjust
6383 (updateCounters): adjust
6385 * text.C (top_y): rewrite to use RowList iterators.
6387 (setHeightOfRow): rewrite to sue RowList iterators.
6388 (appendParagraph): adjust
6389 (breakAgain): adjust
6390 (breakAgainOneRow): adjust
6391 (breakParagraph): adjust
6393 (getRowNearY): adjust, and remove commented code.
6395 * lyxtext.h (firstRow): delete function
6396 (lastRow): delete function
6397 (rows): new function (const and non-const versions.)
6398 (insertRow): delete function
6400 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6402 2003-03-29 John Levon <levon@movementarian.org>
6404 * BufferView_pimpl.C: always update scrollbar top
6405 because pasting text when we're anchored could mean we
6406 miss an update altogether
6408 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * text2.C (init): use rowlist_.end() and not 0.
6411 (insertRow): change to take a RowList::iterator as arg, adjust
6413 (insertParagraph): change to take a RowList::iterator as arg,
6415 (redoParagraphs): remove some debug msgs.
6417 * text.C (appendParagraph): change to take a RowList::iterator
6418 arg, adjust for this.
6419 (breakAgain): add an assert
6420 (breakAgainOneRow): ditto
6422 2003-03-29 John Levon <levon@movementarian.org>
6424 * text2.C: do not clear selection after inc/decDepth
6427 2003-03-29 John Levon <levon@movementarian.org>
6430 * buffer.C: fix broken strerrors according to Lars
6432 2003-03-29 John Levon <levon@movementarian.org>
6434 * converters.C: more Alert cleanups
6436 2003-03-29 John Levon <levon@movementarian.org>
6438 * bufferview_funcs.C: remove pointless Alert
6440 * buffer.C: fix confusing error message when
6441 a template is chmoded 000
6443 2003-03-29 John Levon <levon@movementarian.org>
6447 * BufferView_pimpl.C: Alert fixes
6451 * tabular-old.C: remove unused table compat reading
6453 2003-03-29 John Levon <levon@movementarian.org>
6458 * lyx_cb.C: more Alert cleanups
6460 * lyxfunc.C: don't allow chktex if not latex document
6462 2003-03-29 John Levon <levon@movementarian.org>
6466 * buffer.C: warnings pushed down from support/,
6469 2003-03-29 John Levon <levon@movementarian.org>
6471 * lyxfunc.C: safety check for C-r (revert)
6473 2003-03-29 John Levon <levon@movementarian.org>
6476 * bufferlist.C: several UI fixes using Alert::prompt.
6477 Fix the pointless looping quit code. Fix stupid revert
6482 * lyx_cb.C: use Alert::prompt
6484 * lyx_main.C: remove a silly question
6486 * lyxfunc.C: remove a couple of silly questions,
6489 2003-03-28 John Levon <levon@movementarian.org>
6491 * text2.C: fix bug 974 (End on empty par)
6493 2003-03-28 John Levon <levon@movementarian.org>
6495 * BufferView_pimpl.C:
6497 * lfuns.h: remove do-nothing math greek lfuns
6499 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6501 * lyxgluelength.h (isValidGlueLength): add default arg on
6502 parameter 2. Remove default arg from friend in class.
6504 * lyxlength.h (isValidLength): add default arg on parameter 2.
6505 Remove default arg from friend in class.
6507 * text2.C (LyXText): adjust, initialize refresh_row.
6511 (insertParagraph): adjst
6512 (redoParagraphs): adjust
6513 (fullRebreak): adjust
6514 (updateCounters): adjust
6515 (deleteEmptyParagraphMechanism): first attempt at fixing a
6518 * text.C (top_y): adjust
6519 (setHeightOfRow): adjust
6521 (getRowNearY): adjust
6523 * lyxtext.h: include RowList.h
6524 (~LyXText): not needed anymore, deleted.
6525 (firstRow): modify for RowList
6526 (lastRow): new function
6527 Delete firstrow and lastrow class variables, add a Rowlist
6528 rowlist_ class variable.
6530 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6533 * RowList.C (insert): fix case where it == begin().
6535 2003-03-26 Angus Leeming <leeming@lyx.org>
6537 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6538 the thesaurus dialog.
6540 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6542 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6544 * RowList.[Ch]: new files
6546 * ParagraphList.C (erase): handle the case where it == begin
6549 2003-03-25 John Levon <levon@movementarian.org>
6553 * aspell.C: add new aspell support
6556 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6559 2003-03-25 Angus Leeming <leeming@lyx.org>
6562 * LyXAction.C (init): new LFUN_INSET_INSERT.
6564 * BufferView_pimpl.C (dispatch): split out part of the
6565 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6567 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6570 2003-03-25 Angus Leeming <leeming@lyx.org>
6572 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6574 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6577 * text3.C: remove useless row->height(0)
6579 2003-03-25 John Levon <levon@movementarian.org>
6583 * text3.C: rename the refreshing stuff to better names
6585 2003-03-24 John Levon <levon@movementarian.org>
6587 * BufferView_pimpl.h:
6588 * BufferView_pimpl.C: update layout choice on a mouse
6591 2003-03-23 John Levon <levon@movementarian.org>
6593 * Makefile.am: fix commandtags.h reference
6595 2003-03-22 John Levon <levon@movementarian.org>
6597 * BufferView_pimpl.C:
6602 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6604 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6607 * text.C: take the rtl methods out of line
6609 2003-03-21 André Pönitz <poenitz@gmx.net>
6611 * metricsinfo.[Ch]: new files containing structures to be passed around
6612 during the two-phase-drawing...
6614 2003-03-21 André Pönitz <poenitz@gmx.net>
6616 * lyxtextclass.C: read 'environment' tag.
6618 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6620 * text2.C (removeRow): fix bug 964
6622 2003-03-20 John Levon <levon@movementarian.org>
6626 * text2.C: paint cleanups. Inset::update() dropped font
6629 2003-03-19 John Levon <levon@movementarian.org>
6631 * lyxfunc.C: only fitcursor/markDirty if available()
6633 2003-03-19 John Levon <levon@movementarian.org>
6635 * commandtags.h: rename to ...
6637 * lfuns.h: ... this, and renumber / cleanup
6639 2003-03-19 John Levon <levon@movementarian.org>
6641 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6642 fit the cursor after an lfun
6646 * BufferView_pimpl.h:
6647 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6649 * LyXAction.C: layout-character should have ReadOnly
6651 * ParagraphParameters.C:
6653 * bufferview_funcs.C:
6660 * undo_funcs.C: changes from above
6662 2003-03-18 John Levon <levon@movementarian.org>
6664 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6665 remove it from update()
6667 * lyxfunc.C: update layout choice after an lfun
6669 * text3.C: remove extra updateLayoutChoice()s
6671 2003-03-18 John Levon <levon@movementarian.org>
6673 * text.C: top_y change means full repaint, fix
6674 a drawing bug with cursor movement
6676 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6680 * text2.C: anchor row on setCursor
6682 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6684 * lyxtext.h: remove almost all mutable keywords
6687 * text3.C: remove const keywords accordingly
6689 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6691 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6693 (TeXEnvironment): ditto
6696 2003-03-17 John Levon <levon@movementarian.org>
6698 * text.C (rowBreakPoint): remove attempt to fix displayed
6699 math insets inside a manual label
6701 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6703 * lyxtext.h: remove BufferView* as first arg from almost all class
6705 * other files: adjust.
6707 2003-03-17 John Levon <levon@movementarian.org>
6711 * text2.C: more paint cleanups
6713 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6716 * rowpainter.C: remove "smart" background painting code
6718 2003-03-16 John Levon <levon@movementarian.org>
6723 * text3.C: add helper functions for setting refresh_row/y
6725 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6727 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6728 newline inset which *can* get inserted in the pass_thru layouts.
6729 This is primarily for literate documents.
6731 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6733 * buffer.C: increment LYX_FORMAT to 223
6735 2003-03-14 André Pönitz <poenitz@gmx.net>
6737 * textclass.h: prepare for environment handling, ws changes
6738 * lyxlayout.C: read latexheader and latexfooter tags
6740 2003-03-14 John Levon <levon@movementarian.org>
6742 * text2.C: rewrite ::status() a bit
6744 2003-03-13 John Levon <levon@movementarian.org>
6746 * lyxtext.h: add some docs
6748 2003-03-13 John Levon <levon@movementarian.org>
6753 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6755 2003-03-13 John Levon <levon@movementarian.org>
6757 * text3.C: fix appendix redrawing
6759 2003-03-13 John Levon <levon@movementarian.org>
6761 * text.C (setHeightOfRow):
6763 * rowpainter.C: make appendix mark have the text
6764 "Appendix" so the user knows what it is
6767 * LColor.C: s/appendixline/appendix/ from above
6769 2003-03-13 John Levon <levon@movementarian.org>
6771 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6773 * text.C: fix a getChar(pos) bug properly
6775 2003-03-13 Angus Leeming <leeming@lyx.org>
6778 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6779 Probably only temporary. Let's see how things pan out.
6781 * BufferView.C (unlockInset):
6782 * BufferView_pimpl.C (fitCursor):
6783 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6785 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6786 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6788 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6789 new functions that convert ParagraphParameters to and from a string.
6791 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6792 BufferView::Pimpl's dispatch.
6793 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6795 2003-03-13 André Pönitz <poenitz@gmx.net>
6799 * factory.C: make it aware of InsetEnv
6801 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6803 * text2.C (setCursor): never ask for one past last
6804 (setCursor): add some debugging messages.
6806 * text.C (singleWidth): never ask for one past last
6807 (singleWidth): ditto
6809 (rightMargin): ditto
6810 (rowBreakPoint): ditto
6811 (setHeightOfRow): ditto
6812 (prepareToPrint): ditto
6814 * rowpainter.C (paintBackground): never ask for one past last
6815 (paintText): never ask for one past last
6817 * paragraph_pimpl.C (getChar): make the assert stricter, never
6818 allow the one past last pos to be taken
6820 * paragraph.C (getChar): ws changes only
6822 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6823 (numberOfSeparators): ditto
6824 (numberOfHfills): ditto
6826 2003-03-12 John Levon <levon@movementarian.org>
6832 * paragraph_funcs.C: fix per-buffer authorlists
6834 2003-03-12 John Levon <levon@movementarian.org>
6836 * text.C: fix newline in right address
6838 2003-03-12 Angus Leeming <leeming@lyx.org>
6840 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6841 duplicate those in LyXFunc::dispatch.
6845 * ToolbarDefaults.C:
6846 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6847 Add LFUN_FONTFREE_UPDATE.
6849 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6850 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6852 * bufferview_func.[Ch]: several new functions to facilliate
6853 transfer of data to and from the character dialog.
6855 2003-03-12 John Levon <levon@movementarian.org>
6860 * paragraph_funcs.C:
6861 * paragraph_pimpl.C:
6865 * text3.C: remove META_NEWLINE in favour of an inset
6868 * rowpainter.C: remove paintNewline (done by inset)
6870 2003-03-12 John Levon <levon@movementarian.org>
6872 * paragraph_pimpl.C: complain about bad getChar()s
6873 for a while at least
6875 2003-03-12 John Levon <levon@movementarian.org>
6878 * buffer.C: move paragraph read into a separate function,
6879 a little renaming to reflect that.
6882 * bufferparams.C: remove the author_ids map, not necessary now
6885 * factory.C: moved Buffer::readInset to here
6887 * paragraph_funcs.h:
6888 * paragraph_funcs.C: readParagraph free function moved from
6891 * tabular.C: name change
6893 2003-03-12 John Levon <levon@movementarian.org>
6896 * ParagraphParameters.C: move par params input to
6899 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6900 behave like a normal read from the stream wrt reading
6901 a line vs. a \\token
6903 2003-03-12 John Levon <levon@movementarian.org>
6906 * ParagraphParameters.h:
6907 * ParagraphParameters.C: move output code to a
6910 2003-03-12 John Levon <levon@movementarian.org>
6912 * BufferView.C (insertLyXFile):
6915 * tabular.C: use a parlist iterator for creating the
6918 2003-03-12 John Levon <levon@movementarian.org>
6920 * buffer.C: make current_change static local not
6923 2003-03-12 John Levon <levon@movementarian.org>
6925 * buffer.C: fix insertStringAsLines for change tracking
6927 2003-03-12 John Levon <levon@movementarian.org>
6934 * bufferparams.C: move author list into params. Rename some
6935 functions. Move the header reading into a separate token
6936 loop. Move the header token reading into BufferParams.
6938 2003-03-12 John Levon <levon@movementarian.org>
6940 * changes.C: put debug inside lyxerr.debugging() checks
6942 2003-03-11 André Pönitz <poenitz@gmx.net>
6944 * factory.C: make it aware of InsetHFill
6946 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6948 * buffer.C (latexParagraphs): move function from here...
6949 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6952 2003-03-10 Angus Leeming <leeming@lyx.org>
6954 * LyXAction.C (init): fix bug in poplating array with multiple entries
6955 with the same LFUN (spotted by JMarc).
6957 2003-03-10 John Levon <levon@movementarian.org>
6960 * text2.C: move getColumnNearX() near its
6963 2003-03-10 John Levon <levon@movementarian.org>
6965 * text.C: fix break before a minipage
6967 2003-03-10 John Levon <levon@movementarian.org>
6969 * text.C: fix the last commit
6971 2003-03-09 John Levon <levon@movementarian.org>
6975 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6976 bug 365 (don't break before insets unless needed). Don't
6977 return a value > last under any circumstances.
6979 2003-03-09 Angus Leeming <leeming@lyx.org>
6981 * BufferView_pimpl.C (trackChanges, dispatch): call
6982 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6984 2003-03-09 Angus Leeming <leeming@lyx.org>
6986 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6987 than Dialogs::showAboutlyx().
6989 2003-03-09 Angus Leeming <leeming@lyx.org>
6991 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6992 than Dialogs::showTabularCreate().
6994 2003-03-09 John Levon <levon@movementarian.org>
6998 * text2.C: 3rd arg to nextBreakPoint was always the same.
7001 2003-03-08 John Levon <levon@movementarian.org>
7008 * text2.C: Remove the "main" bit from the "main body"
7011 2003-03-08 John Levon <levon@movementarian.org>
7013 * text.C (leftMargin): The left margin of an empty
7014 manual label paragraph should not include the label width
7017 * text.C (prepareToPrint): don't attempt to measure hfills
7018 for empty manual label paragraphs - the answer should be 0
7020 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7022 * CutAndPaste.C: remove commented code and reindent.
7024 2003-03-08 John Levon <levon@movementarian.org>
7027 * lyxfunc.C: move reloadBuffer()
7030 * BufferView.C: to here
7032 * lyxvc.C: add comment
7035 * vc-backend.C: call bv->reload() to avoid
7036 getStatus() check on MENURELOAD
7038 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7040 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7041 to an old format .dep file.
7043 2003-03-07 Angus Leeming <leeming@lyx.org>
7045 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7046 when the LFUN_MOUSE_RELEASE should have been handled by
7047 inset->localDispatch.
7049 2003-03-07 Angus Leeming <leeming@lyx.org>
7051 * BufferView_pimpl.C (dispatch):
7052 * LyXAction.C (init):
7053 * ToolbarDefaults.C (init):
7055 * lyxfunc.C (getStatus):
7056 remove LFUN_INSET_GRAPHICS.
7058 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7060 2003-03-07 Angus Leeming <leeming@lyx.org>
7063 * LyXAction.C (init):
7064 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7066 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7069 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7071 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7072 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7074 2003-03-07 Angus Leeming <leeming@lyx.org>
7076 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7079 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7081 * ParagraphList.C (front): new function
7084 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7086 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7087 and top_row_offset_. removed var first_y.
7089 * text2.C (LyXText, removeRow):
7091 * BufferView_pimpl.C:
7092 use these methods instead of using first_y
7094 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7096 * text2.C (pasteSelection): adjust for checkPastePossible
7098 * CutAndPaste.C: remove Paragraph * buf and replace with
7099 ParagraphList paragraphs.
7100 (DeleteBuffer): delete
7101 (cutSelection): change the tc type to textclass_type
7102 (copySelection): change the tc type to textclass_type
7103 (copySelection): adjust for ParagraphList
7104 (pasteSelection): change the tc type to textclass_type
7105 (pasteSelection): adjust for Paragraphlist
7106 (nrOfParagraphs): simplify for ParagraphList
7107 (checkPastePossible): simplify for ParagraphList
7108 (checkPastePossible): remove unused arg
7110 * ParagraphList.C (insert): handle the case where there are no
7113 * CutAndPaste.h: make CutAndPaste a namespace.
7115 * text3.C (dispatch): adjust
7117 * text.C (breakParagraph): add a ParagraphList as arg
7119 * paragraph_funcs.C (breakParagraph): change to take a
7120 BufferParams and a ParagraphList as args.
7121 (breakParagraphConservative): ditto
7122 (mergeParagraph): ditto
7123 (TeXDeeper): add a ParagraphList arg
7124 (TeXEnvironment): ditto
7127 * buffer.C (readLyXformat2): adjust
7128 (insertStringAsLines): adjust
7129 (latexParagraphs): adjust
7131 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7132 (cutSelection): adjust
7133 (pasteSelection): adjust
7135 * BufferView_pimpl.C (insertInset): adjust
7137 2003-03-05 Angus Leeming <leeming@lyx.org>
7140 * LyXAction.C (init):
7141 * BufferView_pimpl.C (dispatch):
7142 * lyxfunc.C (getStatus):
7143 remove LFUN_CHILD_INSERT.
7145 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7147 2003-03-05 Angus Leeming <leeming@lyx.org>
7150 * LyXAction.C (init):
7151 * src/factory.C (createInset):
7152 * lyxfunc.C (getStatus):
7153 * text3.C (dispatch):
7154 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7156 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7158 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7160 * ParagraphList.C (insert): handle insert right before end()
7161 (erase): fix cases where it can be first or last paragraph.
7163 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7165 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7166 Paragraph::next and Paragraph::previous
7169 * text.C (breakParagraph): adjust
7171 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7172 BufferParams& as arg.
7173 (breakParagraph): use ParagraphList::insert
7174 (breakParagraphConservative): take a Buffer* instead of a
7175 BufferParams& as arg.
7176 (breakParagraphConservative): use ParagraphList::insert.
7178 * buffer.C (insertStringAsLines): un-const it
7179 (insertStringAsLines): adjust
7181 * ParagraphList.C (insert): new function
7183 * CutAndPaste.C (pasteSelection): adjust
7185 * text.C (backspace): adjust
7187 * tabular.C (SetMultiColumn): adjust
7189 * CutAndPaste.C (cutSelection): adjust
7190 (pasteSelection): adjust
7192 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7193 Buffer const * as arg
7195 * ParagraphList.C (erase): new function
7196 * paragraph_funcs.C (mergeParagraph): use it
7197 (mergeParagraph): make it take a Buffer* instead of a
7198 BufferParams* as arg
7200 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7202 (breakParagraphConservative): ditto
7204 * paragraph.h: remove the breakParagraph friend
7206 * paragraph.C (eraseIntern): new function
7207 (setChange): new function
7209 * paragraph_funcs.C (mergeParagraph): make it take a
7210 ParagraphList::iterator instead of a Paragraph *, adjust
7213 * paragraph.h: move an #endif so that the change tracking stuff
7214 also works in the NO_NEXT case.
7216 2003-03-04 Angus Leeming <leeming@lyx.org>
7219 * LyXAction.C: new LFUN_INSET_MODIFY.
7221 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7222 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7224 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * several files: ws changes only
7228 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7229 (TeXEnvironment): ditto
7232 * buffer.C (makeLaTeXFile): adjust
7233 (latexParagraphs): make it take ParagraphList::iterator as args
7235 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7237 * buffer.C (latexParagraphs): adjust
7239 * paragraph.C (TeXOnePar): move function...
7240 (optArgInset): move function...
7241 (TeXEnvironment): move function...
7242 * paragraph_pimpl.C (TeXDeeper): move function...
7243 * paragraph_funcs.C: ...here
7245 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7247 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7249 * buffer.C (readInset): remove compability code for old Figure and
7252 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * buffer.C: ws changes
7257 * BufferView_pimpl.C: ditto
7260 * bufferlist.h: ditto
7264 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7266 * converter.[Ch]: split into itself +
7269 * Makefile.am: += graph.[Ch] + format.[Ch]
7276 * lyxrc.C: added #include "format.h"
7278 2003-02-27 Angus Leeming <leeming@lyx.org>
7280 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7283 * factory.C (createInset): add "label" to the factory.
7285 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7286 string and do no more.
7288 2003-02-27 Angus Leeming <leeming@lyx.org>
7291 * LyXAction.C (init):
7292 * factory.C (createInset):
7293 * BufferView_pimpl.C (dispatch):
7294 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7296 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7298 * lyxfunc.C (dispatch):
7299 * text3.C (dispatch): pass name to params2string.
7301 2003-02-26 Angus Leeming <leeming@lyx.org>
7303 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7305 Rearrange the ~includes. Strip out the unnecessary ones.
7307 * factory.C (createInset): reformat.
7308 create new insets for the various LFUN_XYZ_APPLY lfuns.
7310 2003-02-26 John Levon <levon@movementarian.org>
7313 * lyxrow.C: add isParStart,isParEnd helpers
7315 * paragraph.h: make isInserted/DeletedText take refs
7317 * paragraph_funcs.h:
7318 * paragraph_funcs.C: remove #if 0'd code
7323 * text.C: use lyxrow helpers above.
7324 Move draw and paint routines to RowPainter.
7325 Make several methods use refs not pointers.
7326 Make backgroundColor() const.
7327 Add markChangeInDraw(), isInInset().
7328 Merge changeRegionCase into changeCase.
7329 Make workWidth() shouldn't-happen code into an Assert.
7332 * rowpainter.C: new class for painting a row.
7335 * vspace.C: make inPixels take a ref
7337 2003-02-26 Angus Leeming <leeming@lyx.org>
7339 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7342 2003-02-25 John Levon <levon@movementarian.org>
7344 * ispell.C: give the forked command a more accurate name
7346 2003-02-22 John Levon <levon@movementarian.org>
7349 * toc.C: make TocItem store an id not a Paragraph *
7352 2003-02-21 Angus Leeming <leeming@lyx.org>
7354 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7355 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7356 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7357 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7358 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7359 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7361 * BufferView_pimpl.C (dispatch):
7362 * LyXAction.C (init):
7363 * factory.C (createInset):
7364 * lyxfunc.C (getStatus, dispatch):
7365 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7367 2003-02-21 Angus Leeming <leeming@lyx.org>
7369 * BufferView_pimpl.C (MenuInsertLyXFile):
7370 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7371 * lyxfunc.C (menuNew, open, doImport):
7372 no longer pass a LyXView & to fileDlg.
7374 2003-02-21 Angus Leeming <leeming@lyx.org>
7376 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7377 * LyXAction.C: change, BIBKEY to BIBITEM.
7378 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7379 Change InsetBibKey to InsetBibitem.
7380 Change BIBKEY_CODE to BIBITEM_CODE.
7381 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7382 * factory.C: replace insetbib.h with insetbibitem.h.
7383 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7384 * paragraph.C: replace insetbib.h with insetbibitem.h.
7385 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7386 Change bibkey() to bibitem().
7387 * text.C: remove insetbib.h.
7388 * text2.C: replace insetbib.h with insetbibitem.h.
7389 change bibkey() to bibitem().
7390 * text3.C: remove insetbib.h.
7391 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7393 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7395 * lyxrc.C (output): enclose user email in quotes (in case there are
7398 2003-02-18 John Levon <levon@movementarian.org>
7400 * buffer.h: add std::
7402 2003-02-17 John Levon <levon@movementarian.org>
7408 * pspell.C: reworking. Especially in ispell, a large
7409 number of clean ups and bug fixes.
7411 * lyxfunc.C: fix revert to behave sensibly
7413 2003-02-17 André Pönitz <poenitz@gmx.net>
7416 * commandtags.h: new LFUN_INSERT_BIBKEY
7426 * paragraph_func.C: remove special bibkey handling
7428 2003-02-17 John Levon <levon@movementarian.org>
7430 * text.C (Delete): fix case where delete at the end of
7431 the very first paragraph would not merge the pars
7433 2003-02-17 John Levon <levon@movementarian.org>
7435 * lyxrow.C: fix lastPrintablePos()
7437 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7439 * bufferparams.C (writeLaTeX): add a std:here
7441 * buffer.C: and remove a using directive there
7443 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7445 * buffer.C (makeLaTeXFile): move the code that generates the
7448 * bufferparams.C (writeLaTeX): ... in this new method
7450 * LaTeXFeatures.C (getEncodingSet): make const
7451 (getLanguages): make const
7453 * MenuBackend.C (binding): returns the binding associated to this
7455 (add): sets the status of each item by calling getStatus. Adds
7457 (read): add support for OptSubMenu
7458 (expand): remove extra separator at the end of expanded menu
7460 2003-02-15 John Levon <levon@movementarian.org>
7463 * BufferView_pimpl.C:
7465 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7466 inset code that had no actual effect. Remove unneeded status
7469 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7471 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7474 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7476 * text.C (drawLengthMarker): also draw an arrow marker for
7477 symbolic lengths (medskip...)
7479 2003-02-14 John Levon <levon@movementarian.org>
7482 * tabular.C: better method names
7484 2003-02-14 John Levon <levon@movementarian.org>
7486 * BufferView_pimpl.C:
7491 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7492 it's a more accurate name. Remove some pointless uses.
7494 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7496 * text2.C (LyXText): change order of initilizers to shut off
7499 2003-02-14 John Levon <levon@movementarian.org>
7501 * buffer.C: use ParIterator for getParFromID()
7505 * paragraph_pimpl.h:
7506 * paragraph_pimpl.C: remove unused getParFromID()
7508 2003-02-14 John Levon <levon@movementarian.org>
7510 * buffer.C: remove some very old #if 0'd parse code
7512 2003-02-13 John Levon <levon@movementarian.org>
7516 * text2.C: move hfillExpansion(), numberOfSeparators(),
7517 rowLast(), rowLastPrintable(), numberofHfills(),
7518 numberOfLabelHfills() ...
7521 * lyxrow.C: ... to member functions here.
7526 * text.C: remove LyXText::beginningOfMainBody(), and call
7527 p->beginningOfMainBody() directly. Move the check for
7528 LABEL_MANUAL into the latter.
7535 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7541 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7542 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7544 2003-02-13 John Levon <levon@movementarian.org>
7546 * CutAndPaste.C: remove debug
7548 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7550 * paragraph.C (asString): remove two unused variables
7552 * lyxtextclass.C (readTitleType):
7554 (LyXTextClass): handle new members titletype_ and titlename_
7556 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7558 2003-02-09 John Levon <levon@movementarian.org>
7561 * buffer.C: replace hand-coded list with a map for the dep clean
7563 2003-02-08 John Levon <levon@movementarian.org>
7565 * LaTeX.C: consolidate code into showRunMessage() helper
7567 2003-02-08 John Levon <levon@movementarian.org>
7572 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7573 and pass the size in explicitly
7575 * BufferView_pimpl.h:
7576 * BufferView_pimpl.C:
7578 * BufferView.C: add getCurrentChange()
7580 * BufferView_pimpl.h:
7581 * BufferView_pimpl.C: handle change lfuns
7583 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7584 for changes. Mark pasted paragraphs as new.
7586 * support/lyxtime.h:
7587 * support/lyxtime.C:
7588 * DepTable.C: abstract time_t as lyx::time_type
7591 * LColor.C: add colours for new text, deleted text, changebars
7593 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7594 package use "usenames" option.
7598 * LyXAction.C: add change lfuns
7602 * author.C: author handling
7605 * buffer.C: add a per-buffer author list, with first entry as
7606 current author. Handle new .lyx tokens for change tracking. Output
7607 author list to .lyx file. Output dvipost stuff to .tex preamble.
7608 Bump lyx format to 222.
7611 * bufferlist.C: add setCurrentAuthor() to reset current author details
7615 * bufferparams.C: add param for tracking
7617 * bufferview_funcs.C: output change info in minibuffer
7621 * changes.C: add change-tracking structure
7624 * debug.C: add CHANGES debug flag
7627 * lyxfind.C: add code for finding the next change piece
7630 * lyxrc.C: add user_name and user_email
7633 * lyxrow.C: add a metric for the top of the text line
7636 * text.C: implement accept/rejectChange()
7639 * text.C: paint changebars. Paint new/deleted text in the chosen
7640 colours. Strike through deleted text.
7644 * paragraph_pimpl.h:
7645 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7646 in the current change to the insert functions. Rework erase to
7647 mark text as deleted, adding an eraseIntern() and a range-based
7648 erase(). Implement per-paragraph change lookup and
7651 * paragraph_funcs.C: Fixup paste for change tracking.
7653 * tabular.C: mark added row/columns as new.
7655 * text.C: fix rowLast() to never return -1. Don't allow
7656 spellchecking of deleted text. Track transpose changes. Don't
7657 allow paragraph break or merge where appropriate.
7659 * text2.C: leave cursor at end of selection after a cut.
7661 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7663 * text.C (getLengthMarkerHeight):
7664 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7665 visible on screen too.
7667 2003-02-07 John Levon <levon@movementarian.org>
7669 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7671 2003-02-05 Angus Leeming <leeming@lyx.org>
7673 * lyxserver.C (read_ready): revert my patch of 11 September last year
7674 as it sends PC cpu through the roof. Presumably this means that
7675 the lyxserver will no longer run on an Alpha...
7677 2003-01-30 Angus Leeming <leeming@lyx.org>
7679 * factory.C (createInset): create an InsetCommandParam of type "index"
7680 and use it to 'do the right thing'.
7682 * text2.C (getStringToIndex): ensure that cursor position is always
7683 reset to the reset_cursor position.
7685 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7687 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7690 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7694 * lyxfunc.C: Output messages with identical spelling, punctuation,
7697 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7699 * MenuBackend.C (expandFormats): List only viewable export formats
7702 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7705 * lyxfunc.C (getStatus): Make sure that formats other than
7706 "fax" can also be disabled
7708 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7710 * text3.C (dispatch): put the lfuns that insert insets in 3
7711 groups, and call doInsertInset with appropriate arguments.
7712 (doInsertInset): new function, that creates an inset and inserts
7713 it according to some boolean parameters.
7715 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * buffer.C (readFile): remember to pass on 'par' when calling
7718 readFile recursively.
7720 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7722 * MenuBackend.C (expandFormats): add "..." to import formats.
7724 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7726 * paragraph.C (asString): Remove XForms RTL hacks.
7728 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7729 * buffer.C: fix typo
7731 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * Makefile.am (LIBS): delete var
7734 (lyx_LDADD): add @LIBS@ here instead.
7736 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7738 * Clarify the meaning of "wheel mouse jump"
7740 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7742 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7745 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7747 * importer.C (Loaders): do not preallocate 3 elements in the
7748 vector, since one ends up with 6 elements otherwise
7750 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7752 * DepTable.C (write): write the file name as last element of the
7753 .dep file (because it may contain spaces)
7754 (read): read info in the right order
7756 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7758 * paragraph_pimpl.C (simpleTeXBlanks):
7759 (simpleTeXSpecialChars):
7760 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7762 * tabular.C (latex): add some missing case statements. Reindent.
7764 * MenuBackend.C (expandToc): remove unused variable.
7766 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7775 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7778 2003-01-05 John Levon <levon@movementarian.org>
7781 * BufferView.C: add getEncoding()
7784 * kbsequence.C: do not store last keypress
7787 * lyxfunc.C: store last keypress here instead. Pass encoding
7790 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7792 * lyx_main.C (init): remove annoying error message when following
7793 symbolic links (bug #780)
7795 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7797 * text.C (insertChar):
7798 * lyxrc.C (getDescription): remove extra spaces
7800 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7802 * lyxrc.C (getDescription): remove extra spaces
7804 2002-12-20 John Levon <levon@movementarian.org>
7806 * text3.C: hack fix for page up/down across tall rows
7808 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7810 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7813 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7815 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7816 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7817 thesaurus is not compiled in
7819 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7821 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7823 2002-12-16 Angus Leeming <leeming@lyx.org>
7826 * lyx_main.C (init): remove override_x_deadkeys stuff.
7828 2002-12-12 John Levon <levon@movementarian.org>
7830 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7831 insert. Only remove shift modifier under strict
7834 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7836 * MenuBackend.C (expandToc): fix crash.
7838 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7840 * MenuBackend.C (expandToc): gettext on float names.
7842 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7844 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7845 implement bool empty() [bug 490]
7847 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7849 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7851 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * several files: ws changes
7855 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7857 * text2.C (setCounter): clean up a bit, use boost.format.
7858 (updateCounters): initialize par upon declaration.
7860 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7861 if the layout exists. We do not just store the layout any more.
7862 (SwitchLayoutsBetweenClasses): use boost.format
7864 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7866 * converter.C (convert): if from and to files are the same, use a
7867 temporary files as intermediary
7869 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7872 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7874 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7876 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7878 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7880 * tabular.C (asciiPrintCell): use string(size, char) instead of
7883 * sgml.C (openTag): fix order of arguments to string constructor
7886 * lyxfunc.C (dispatch): use boost.format
7888 * lots of files: change "c" -> 'c'
7890 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7892 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7894 2002-11-25 Angus Leeming <leeming@lyx.org>
7896 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7898 * lyx_main.C (init): compile fix.
7900 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * lyx_cb.C (start): boost.formatify
7903 do not include <iostream>
7905 * lengthcommon.C: ws only
7907 * boost-inst.C,BoostFormat.h: add more explict instantations
7909 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7911 * lots of files: handle USE_BOOST_FORMAT
7913 2002-11-21 John Levon <levon@movementarian.org>
7915 * pspell.C: fix compile
7917 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7919 * lyxfunc.C (dispatch): use boost::format
7923 * lyxfont.C (stateText): use boost::format
7925 * lyx_main.C (LyX): use boost::format
7927 (queryUserLyXDir): ditto
7930 (typedef boost::function): use the recommened syntax.
7932 * importer.C (Import): use boost::format
7934 * debug.C (showLevel): use boost::format
7936 * converter.C (view): use boost::format
7941 * bufferview_funcs.C (currentState): use boost::format
7943 * bufferlist.C (emergencyWrite): use boost::format
7945 * buffer.C (readLyXformat2): use boost::format
7946 (parseSingleLyXformat2Token): ditto
7948 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7950 * LaTeX.C (run): use boost::format
7952 * Chktex.C (scanLogFile): use boost::format
7954 * BufferView_pimpl.C (savePosition): use boost::format
7955 (restorePosition): ditto
7956 (MenuInsertLyXFile): ditto
7958 * BoostFormat.h: help file for explicit instation.
7960 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7962 * tabular.C (latex): Support for block alignment in fixed width
7965 2002-11-17 John Levon <levon@movementarian.org>
7967 * BufferView_pimpl.C:
7969 * lyxfunc.C: split filedialog into open/save
7971 2002-11-08 Juergen Vigna <jug@sad.it>
7973 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7974 by my last patch (hopefully).
7976 2002-11-08 John Levon <levon@movementarian.org>
7985 * toc.C: ParConstIterator, and use it (from Lars)
7987 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7989 * lyxtextclass.[Ch]: revise and add doxygen comments
7991 2002-11-07 John Levon <levon@movementarian.org>
7993 * text.C: fix progress value for spellchecker
7995 * toc.C: fix navigate menu for insetwrap inside minipage
7997 * paragraph_funcs.C: added FIXME for suspect code
7999 2002-11-07 John Levon <levon@movementarian.org>
8001 * BufferView_pimpl.C: fix redrawing of insets
8004 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8006 * text2.C (updateCounters): fix bug 668
8008 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8010 * text3.C (dispatch): Do not make the buffer dirty when moving the
8013 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8015 * vc-backend.C: STRCONV
8018 * text2.C (setCounter): STRCONV
8020 * paragraph.C (asString): STRCONV
8022 * lyxlength.C (asString): STRCONV
8023 (asLatexString): ditto
8025 * lyxgluelength.C (asString): STRCONV
8026 (asLatexString): ditto
8028 * lyxfunc.C (dispatch): STRCONV
8031 * lyxfont.C (stateText): STRCONV
8033 * importer.C (Import): STRCONV
8035 * counters.C (labelItem): STRCONV
8036 (numberLabel): ditto
8037 (numberLabel): remove unused ostringstream o
8042 * bufferview_funcs.C (currentState): STRCONV
8044 * buffer.C (readFile): STRCONV
8045 (asciiParagraph): ditto
8046 (makeLaTeXFile): ditto
8048 * Spacing.C (writeEnvirBegin): STRCONV
8050 * LaTeXFeatures.C (getLanguages): STRCONV
8051 (getPackages): ditto
8053 (getBabelOptions): ditto
8054 (getTClassPreamble): ditto
8055 (getLyXSGMLEntities): ditto
8056 (getIncludedFiles): ditto
8060 (scanAuxFile): ditto
8063 * LString.h: add the STRCONV macros
8065 * BufferView_pimpl.C (savePosition): STRCONV
8066 (restorePosition): ditto
8067 (MenuInsertLyXFile): ditto
8069 * vc-backend.C (scanMaster): change from submatch[...] to
8072 * funcrequest.C: include config.h
8074 * factory.C: include config.h
8076 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8078 * box.C: include config.h
8080 * LaTeX.C (scanAuxFile): change from submatch[...] to
8084 2002-10-25 Angus Leeming <leeming@lyx.org>
8086 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8088 * ispell.[Ch] (setError): new method.
8089 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8090 Use setError() insetead of goto END.
8092 * lyx_cb.C (AutoSave): move out child process into new class
8095 2002-10-30 John Levon <levon@movementarian.org>
8097 * text3.C: make start appendix undoable
8099 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8101 * lyxlength.C (inPixels): Fix returned value.
8103 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8106 2002-10-24 Angus Leeming <leeming@lyx.org>
8108 * lyxgluelength.h: no need to forward declare BufferParams
8109 or BufferView, so don't.
8111 2002-10-21 John Levon <levon@movementarian.org>
8113 * BufferView.C: menuUndo ->undo, redo
8115 * BufferView.h: document, remove dead, make some methods private
8117 * paragraph_funcs.h:
8118 * paragraph_funcs.C:
8119 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8124 * sgml.C: move sgml open/close tag into sgml.C
8126 * bufferview_funcs.h: unused prototype
8129 * lyxfunc.C: remove unused
8132 * text.C: remove unused
8134 2002-10-21 John Levon <levon@movementarian.org>
8138 * BufferView_pimpl.h:
8139 * BufferView_pimpl.C: fix mouse wheel handling based on
8140 patch from Darren Freeman
8142 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8144 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8146 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8148 * lyxlength.C (inPixels): Fix hanfling of negative length.
8149 Fix LyXLength::MU case.
8151 2002-10-16 John Levon <levon@movementarian.org>
8153 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8155 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8157 * converter.C (view): add support for $$i (file name) and $$p
8158 (file path) for the viewer command. If $$i is not specified, then
8159 it is appended to the command (for compatibility with old syntax)
8161 2002-10-14 Juergen Vigna <jug@sad.it>
8163 * undo_funcs.C (textHandleUndo): alter the order in which the
8164 new undopar is added to the LyXText, as we have to set first
8165 the right prev/next and then add it as otherwise the rebuild of
8166 LyXText is not correct. Also reset the cursor to the right paragraph,
8167 with this IMO we could remove the hack in "redoParagraphs()".
8169 2002-10-09 Angus Leeming <leeming@lyx.org>
8171 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8172 to turn off an optimisation if a new inset is to be inserted.
8174 2002-10-11 André Pönitz <poenitz@gmx.net>
8176 * lyxtext.h: make some functions public to allow access
8177 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8179 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8181 * text3.C (dispatch): when changing layout, avoid an infinite loop
8184 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8186 * lyxrc.C (read): treat a viewer or converter command of "none" as
8189 * MenuBackend.C (expandFormats): for an update, also allow the
8190 formats that are not viewable
8192 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8193 script if it is newer than the lyxrc.defaults in user directory
8195 2002-10-07 André Pönitz <poenitz@gmx.net>
8197 * text.C: Vitaly Lipatov's small i18n fix
8199 2002-09-25 Angus Leeming <leeming@lyx.org>
8201 * ispell.h: doxygen fix.
8203 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8205 * buffer.h (readFile): Add a new argument to the method, to allow
8206 reading of old-format templates.
8208 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8210 * toc.C (getTocList): Get TOC from InsetWrap.
8212 2002-09-16 John Levon <levon@movementarian.org>
8214 * lyxfunc.C: check tabular for cut/copy too
8216 2002-09-12 John Levon <levon@movementarian.org>
8221 * factory.C: add header
8223 * paragraph_funcs.h:
8224 * paragraph_funcs.C: cleanup
8226 2002-09-11 John Levon <levon@movementarian.org>
8228 * PrinterParams.h: odd/even default to true
8230 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8232 * PrinterParams.h: update printer parameters for new xforms dialog
8234 2002-09-11 Angus Leeming <leeming@lyx.org>
8236 * lyxserver.C (read_ready): re-write to make it more transparent
8237 and to make it work in coherent fashion under Tru64 Unix.
8239 2002-09-11 André Pönitz <poenitz@gmx.net>
8243 * text3.C: implement LFUN_WORDSEL
8245 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8247 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8248 make floatlist_ a boost::shared_ptr<FloatList>
8250 * lyxtextclass.C: include FloatList.h
8251 (LyXTextClass): initialize floatlist_
8252 (TextClassTags): add TC_NOFLOAT
8253 (Read): match "nofloat" to TC_NOFLOAT and use it.
8254 (readFloat): modify call to floatlist_
8258 * FloatList.[Ch] (FloatList): remove commented out float
8260 (erase): new function
8262 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8264 * MenuBackend.C (expandToc): fix crash when there is no document
8267 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8269 * many files: Add insetwrap.
8271 2002-09-09 John Levon <levon@movementarian.org>
8273 * text2.C: remove confusing and awkward depth wraparound
8275 2002-09-09 John Levon <levon@movementarian.org>
8277 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8280 * buffer.C: remove getIncludeonlyList()
8283 * lyxfunc.C: remove headers
8285 2002-09-09 Juergen Vigna <jug@sad.it>
8287 * text.C (getColumnNearX): fix form Michael this is most
8288 probably a cut&paste bug.
8290 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8292 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8294 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8295 references, ws changes.
8297 * text2.C (init): update counters after init
8298 (insertParagraph): no need to set counter on idividual paragraphs.
8299 (setCounter): access the counters object in the textclass object
8300 on in the buffer object.
8301 (updateCounters): ditto
8303 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8304 shared_ptr<Counters> to avoid loading counters.h in all
8306 (LyXTextClass): initialize ctrs_
8307 (TextClassTags): add TC_COUNTER, and ...
8308 (Read): use it here.
8309 (CounterTags): new tags
8310 (readCounter): new function
8311 (counters): new funtion
8312 (defaultLayoutName): return a const reference
8314 * counters.C (Counters): remove contructor
8315 (newCounter): remove a couple of unneeded statements.
8316 (newCounter): simplify a bit.
8317 (numberLabel): some small formatting changes.
8319 * buffer.[Ch]: remove all traces of counters, move the Counters
8320 object to the LyXTextClass.
8322 2002-09-06 Alain Castera <castera@in2p3.fr>
8324 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8325 package to set the horizontal alignment on fixed width columns.
8328 * lyx_sty.h: added tabularnewline macro def.
8330 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8332 2002-09-06 John Levon <levon@movementarian.org>
8334 * LyXAction.C: tooltips for sub/superscript
8336 * MenuBackend.C: a bit more verbose
8338 * lyxfunc.C: tiny clean
8340 * undo_funcs.C: document undo_frozen
8342 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8344 * counters.C (Counters): add missing algorithm counter.
8346 * text2.C (setCounter): lookup the counter with layouts latexname
8347 instead of by section number.
8348 (setCounter): use a hackish way to lookup the correct enum
8350 a float name->type change
8351 reset enum couners with counter name directly instead of depth value.
8353 * counters.C (Counters): remove the push_backs, change to use the
8354 float type not the float name.
8355 (labelItem): remove unused string, float name->type change
8357 * counters.h: don't include vector, loose the enums and sects vectors
8359 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8361 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8362 (Read): add float->TC_FLOAT to textclassTags
8363 (Read): and handle it in the switch
8364 (readFloat): new function
8366 * FloatList.C (FloatList): comment out the hardcoded float
8369 * lyxlayout.h: ws change.
8371 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8373 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8375 2002-09-03 Angus Leeming <leeming@lyx.org>
8377 * BufferView_pimpl.h: qualified name is not allowed in member
8378 declaration: WorkArea & Pimpl::workarea() const;
8380 * factory.C: added using std::endl directive.
8382 * text3.C: added using std::find and std::vector directives.
8384 2002-08-29 André Pönitz <poenitz@gmx.net>
8387 * text2.C: remove unused member number_of_rows
8390 * BufferView2.C: remove file, move contents to...
8391 * BufferView.C: ... here
8393 * BufferView_pimpl.C:
8394 * factory.C: move more inset creation to factory
8396 * vspace.C: avoid direct usage of LyXText, ws changes
8399 don't provide direct access to WorkArea, use two simple
8400 acessors haveSelction() and workHeight() instead
8403 2002-08-29 John Levon <levon@movementarian.org>
8405 * BufferView_pimpl.C (dispatch): do not continue when
8408 2002-08-28 André Pönitz <poenitz@gmx.net>
8410 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8413 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8415 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8417 * buffer.C: increment LYX_FORMAT to 221
8419 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8420 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8422 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8424 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8426 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8428 * factory.C (createInset): use LyXTextClass::floats
8430 * MenuBackend.C (expandFloatListInsert):
8431 (expandFloatInsert):
8434 * text2.C (setCounter):
8436 * LaTeXFeatures.C (useFloat):
8437 (getFloatDefinitions):
8439 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8441 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8442 floatlist_, with accessor floats().
8444 * FloatList.h: remove global FloatList
8446 2002-08-26 André Pönitz <poenitz@gmx.net>
8448 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8452 * BufferView_pimpl.C:
8453 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8455 2002-08-25 John Levon <levon@movementarian.org>
8457 * LyXAction.C: fix margin note description
8459 2002-08-24 John Levon <levon@movementarian.org>
8463 * bufferview_funcs.C:
8465 * undo_funcs.C: cleanups
8467 * lyxfunc.C: disable CUT/COPY when no selection
8469 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8471 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8472 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8474 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8475 Add backward compatibility to "mono", "gray" and "no".
8477 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8479 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8480 (and file_format >= 200).
8482 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8484 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8486 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8488 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8490 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8492 * BufferView_pimpl.C:
8499 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8500 inset and code to make it work with the paragraph code. The inset
8501 can be anywhere in the paragraph, but will only do the expected
8502 thing in LaTeX if the layout file contains the parameter line
8504 (or more generally, a nonzero value) for that layout.
8506 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * paragraph.h: remove the declaration of undefined counters class
8511 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8513 * text2.C (setCounter): fixed enumeration mis-count as reported by
8514 Dr. Richard Hawkins.
8516 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8518 * paragraph_funcs.h: remove some unneeded includes
8520 * text.C (backspace): pasteParagraph now in global scipe
8522 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8523 (pasteSelection): ditto
8525 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8526 * paragraph_funcs.C (pasteParagraph): ... here
8528 2002-08-20 André Pönitz <poenitz@gmx.net>
8530 * commandtags.h: new LFUNs for swapping/copying table row/colums
8533 * lyxfunc.C: support for new lfuns
8535 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8538 * buffer.[Ch]: remove NO_COMPABILITY stuff
8540 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8542 * boost.C (throw_exception): new file, with helper function for
8543 boost compiled without exceptions.
8548 * ParameterStruct.h:
8549 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8551 * bufferlist.C (emergencyWriteAll): use boost bind
8553 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8555 * text.C: include paragraph_funcs.h
8556 (breakParagraph): breakParagraph is now in global scope
8558 * paragraph_funcs.[Ch]: new files
8560 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8563 * buffer.C: include paragraph_funcs.h
8564 (insertStringAsLines): breakParagraph is now in global scope
8566 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8569 * CutAndPaste.C: include paragraph_funcs.h
8570 (cutSelection): breakParagraphConservative is now in global scope
8571 (pasteSelection): ditto
8573 * buffer.h: declare oprator== and operator!= for
8574 Buffer::inset_iterator
8576 * bufferlist.C (emergencyWrite): don't use fmt(...)
8578 * text3.C: add using std::endl
8580 * BufferView.C (moveCursorUpdate): remove default arg
8582 2002-08-20 André Pönitz <poenitz@gmx.net>
8584 * buffer.[Ch]: move inline functions to .C
8587 * BufferView_pimpl.C:
8589 * buffer.[Ch]: use improved inset_iterator
8592 * paragraph.[Ch]: write one paragraph at a time
8594 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8596 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8597 style if style is not specified.
8599 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8601 * text2.C (setCounter): when searching for right label for a
8602 caption, make sure to recurse to parent insets (so that a caption
8603 in a minipage in a figure float works) (bug #568)
8605 2002-08-20 André Pönitz <poenitz@gmx.net>
8607 * text3.C: new file for LyXText::dispatch() and helpers
8609 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8611 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8613 2002-08-19 André Pönitz <poenitz@gmx.net>
8616 * text.C: new LyXText::dispatch()
8618 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8620 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8622 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8624 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8627 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8629 * Makefile.am: use $(variables) instead of @substitutions@
8631 2002-08-15 André Pönitz <poenitz@gmx.net>
8634 * BufferView_pimpl.C: streamlining mathed <-> outer world
8638 * LyXAction.C: remove unused LFUN_MATH
8640 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8642 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8644 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8646 * paragraph.C (Paragraph): reformat a bit
8647 (cutIntoMinibuffer): use builtin InsetList function instad of
8651 * buffer.C: include boost/bind.hpp, add using std::for_each
8652 (writeFileAscii): use ParagraphList iterators
8653 (validate): use for_each for validate traversal of paragraphs
8654 (getBibkeyList): use ParagraphList iterators
8655 (resizeInsets): use for_each to resizeInsetsLyXText for all
8657 (getParFromID): use ParagraphList iterators
8659 * BufferView2.C (lockInset): use paragraph list and iterators
8661 2002-08-14 John Levon <levon@movementarian.org>
8663 * lyxserver.C: remove spurious xforms include
8665 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8667 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8669 2002-08-13 André Pönitz <poenitz@gmx.net>
8672 * lyxfunc.C: further cleaning
8674 2002-08-13 André Pönitz <poenitz@gmx.net>
8676 * funcrequest.h: new constructor
8678 * funcrequest.C: move stuff here from .h
8681 * BufferView_pimpl.C:
8684 * lyxfunc.C: subsequent changes
8686 * lyxfunc.h: new view() member function
8688 * lyxfunc.C: subsequent changes
8690 2002-08-13 Angus Leeming <leeming@lyx.org>
8693 * BufferView_pimpl.C:
8701 changes due to the changed LyXView interface that now returns references
8702 to member variables not pointers.
8704 2002-08-13 Angus Leeming <leeming@lyx.org>
8706 * WordLangTuple (word, lang_code): return references to strings,
8711 * lyxtext.h: forward-declare WordLangTuple.
8716 * text.C: #include "WordLangTuple.h".
8719 * text.C: (selectNextWordToSpellcheck): constify return type.
8721 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8727 * paragraph_pimpl.h:
8730 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8732 Made updateCounter always count from start of buffer, and removed
8733 second argument (par).
8734 Reverted floats number display to '#'. Perhaps I'll try again when the
8735 code base is sanitized a bit.
8737 2002-08-12 Angus Leeming <leeming@lyx.org>
8739 * buffer.[Ch] (getLabelList): constify.
8741 2002-08-07 André Pönitz <poenitz@gmx.net>
8743 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8745 * funcrequest.h: extension to keep mouse (x,y) position
8747 2002-08-12 Juergen Vigna <jug@sad.it>
8749 * BufferView2.C (insertErrors): forbid undo when inserting error
8752 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8754 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8756 * ParagraphList.[Ch]: new files
8758 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8760 * BufferView2.C (lockInset): ParagraphList changes
8763 * bufferlist.C: ditto
8767 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8769 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8770 unused class variable counter_,
8772 * paragraph.[Ch] (getFirstCounter): delete unused function
8774 * counters.C: include LAssert.h
8775 (reset): add a new function with no arg, change other version to
8776 not have def. arg and to not allow empty arg.
8778 * text2.C (setCounter): remove empty arg from call to Counters::reset
8780 2002-08-11 John Levon <levon@movementarian.org>
8782 * Makefile.am: add WordLangTuple.h
8784 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8786 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8787 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8789 * insets/insettext.C: InsetList changes
8791 * graphics/GraphicsSupport.C (operator()): InsetList changes
8793 * toc.C (getTocList): InsetList changes
8795 * paragraph_pimpl.[Ch]: InsetList changes
8797 * paragraph.[Ch]: InsetList changes
8799 * buffer.C (inset_iterator): InsetList changes
8800 (setParagraph): ditto
8801 * buffer.h (inset_iterator): ditto
8802 * iterators.C (operator++): ditto
8803 * iterators.h: ditto
8805 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8807 * InsetList.[Ch]: new files, most InsetList handling moved out of
8810 * BufferView2.C (removeAutoInsets): InsetList changes
8812 (ChangeInsets): ditto
8814 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8816 * paragraph_pimpl.h (empty): new function
8818 * paragraph.[Ch] (empty): new function
8820 * other files: use the new Paragraph::empty function
8822 2002-08-09 John Levon <levon@movementarian.org>
8824 * lyxtext.h: remove unused refresh_height
8826 2002-08-09 John Levon <levon@movementarian.org>
8833 * paragraph.C: move sgml char escaping out of paragraph
8836 * paragraph.C: remove id setter
8840 * paragraph_pimpl.C: remove dead tex_code_break_column
8842 * bufferview_funcs.C: small cleanup
8844 * lyxfunc.C: remove dead proto
8846 * lyxtext.h: make some stuff private. Remove some dead stuff.
8848 * lyxgluelength.C: make as[LyX]String() readable
8850 2002-08-08 John Levon <levon@movementarian.org>
8855 * ToolbarDefaults.C:
8858 * toc.C: lyxaction cleanup
8860 2002-08-08 John Levon <levon@movementarian.org>
8862 * BufferView2.C: small cleanup
8865 * lyxfind.C: move unnecessary header into the .C
8867 2002-08-08 John Levon <levon@movementarian.org>
8869 * funcrequest.h: just tedious nonsense
8872 * lyx_main.C: cleanups
8875 * vspace.C: remove dead header lyx_main.h
8877 2002-08-07 Angus Leeming <leeming@lyx.org>
8880 * paragraph_pimpl.h:
8881 Forward declare class Counters in paragraph.h by moving the ctrs member
8882 variable into Paragraph::Pimpl.
8883 (counters): new method, returning a reference to pimpl_->ctrs.
8885 * text2.C: ensuing changes.
8887 2002-08-07 John Levon <levon@movementarian.org>
8889 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8891 * BufferView_pimpl.C: announce X selection on double/triple
8894 * lyx_main.C: use correct bool in batch dispatch
8896 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8898 2002-08-07 André Pönitz <poenitz@gmx.net>
8900 * funcrequest.h: new class to wrap a kb_action and its argument
8903 * BufferView_pimpl[Ch]:
8907 * lyxrc.C: subsequent changes
8910 2002-08-07 John Levon <levon@movementarian.org>
8912 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8913 document options change.
8915 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8920 * makefile.am: move counters functionality over from
8921 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8923 2002-08-06 John Levon <levon@movementarian.org>
8925 * WordLangTuple.h: new file for word + language code tuple
8936 * BufferView2.C: use WordLangTuple
8939 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8941 2002-08-06 John Levon <levon@movementarian.org>
8943 * lyx_main.C: fix cmdline batch handling
8945 2002-08-06 André Pönitz <poenitz@gmx.net>
8947 * lyxrc.C: set default for show_banner to true
8949 2002-08-06 John Levon <levon@movementarian.org>
8951 * pspell.C: fix a crash, and allow new aspell to work
8953 2002-08-06 John Levon <levon@movementarian.org>
8956 * kbmap.C: small cleanup
8959 * vspace.C: add const
8961 2002-08-05 John Levon <levon@movementarian.org>
8963 * LyXAction.C: back to tabular-insert
8965 2002-08-04 John Levon <levon@movementarian.org>
8968 * BufferView.C: cosmetic change
8970 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8980 * BufferView2.C: purge all "Lyx" not "LyX" strings
8983 * lyxcursor.C: attempt to add some documentation
8988 * ToolbarDefaults.C:
8989 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8990 merge with LFUN_TABULAR_INSERT
8997 * pspell.C: split up i/pspell implementations into separate
8998 files, many cleanups
9000 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9002 * text2.C: some cleanup
9004 * lyxfunc.C: don't check for isp_command == "none" any more, it
9005 didn't make any sense
9007 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9012 * makefile.am: move counters functionality over
9013 from text2.C/paragraph.[Ch] to counters.[Ch], and
9015 2002-08-02 John Levon <levon@movementarian.org>
9017 * buffer.C: s/lyxconvert/lyx2lyx/
9019 2002-08-02 Angus Leeming <leeming@lyx.org>
9021 * lyxlex.C: revert John's change as it breaks reading of the user
9024 2002-08-02 Angus Leeming <leeming@lyx.org>
9026 * importer.C (Import):
9027 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9028 changes due to LyXView::view() now returning a boost::shared_ptr.
9030 2002-08-02 John Levon <levon@movementarian.org>
9032 * lyxlex.C: small cleanup
9034 2002-08-02 John Levon <levon@movementarian.org>
9036 * text2.C (status): small cleanup, no logic change
9038 2002-08-01 John Levon <levon@movementarian.org>
9041 * buffer.C (writeFile): don't output alerts, caller
9045 * lyx_cb.C: from above
9047 * lyxfunc.C: allow to open non-existent files
9049 2002-07-31 John Levon <levon@movementarian.org>
9051 * lyxserver.C: don't let incidental errors get
9054 2002-07-30 John Levon <levon@movementarian.org>
9056 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9058 2002-07-30 John Levon <levon@movementarian.org>
9061 * lyxserver.C: remove I/O callback too
9063 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9065 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9068 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9070 * many files: strip,frontStrip -> trim,ltrim,rtrim
9072 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9074 * PrinterParams.h: remove extern containsOnly, and include
9075 support/lstrings.h instead.
9077 * LaTeX.C (scanAuxFile): modify because of strip changes
9079 * buffer.C (makeLaTeXFile): ditto
9080 * bufferparams.C (writeFile): ditt
9081 * lyxfont.C (stateText): ditto
9082 * lyxserver.C (read_ready): ditto
9083 * vc-backend.C (scanMaster): ditto
9085 * BufferView_pimpl.h: ws changes
9087 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9089 2002-07-26 André Pönitz <poenitz@gmx.net>
9091 * kb_sequence.C: remove unnedred usings
9093 2002-07-26 Juergen Vigna <jug@sad.it>
9095 * lyxfind.C (LyXReplace): we have to check better if the returned
9096 text is not of theLockingInset()->getLockingInset().
9098 2002-07-25 Juergen Vigna <jug@sad.it>
9100 * lyxfind.C (LyXReplace): don't replace if we don't get the
9103 * undo_funcs.C (createUndo): remove debugging code.
9105 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9107 * buffer.C (parseSingleLyXformat2Token): Use default placement
9108 when reading old floats.
9110 * FloatList.C (FloatList): Change the default placement of figure
9111 and tables to "tbp".
9113 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9115 * MenuBackend.C: using std::max
9117 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9119 * MenuBackend.C (expandToc):
9120 (expandToc2): code moved from xforms menu frontend. It is now
9121 generic and TOCs are transparent to menu frontends.
9123 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9125 * toc.C (getTocList): protect against buf=0
9127 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9128 Menu as first parameter. Now, this calls itself recursively to
9129 expand a whole tree (this will be useful for TOC handling)
9130 (expandFloatInsert): remove 'wide' version of floats
9132 * MenuBackend.h (submenuname): returns the name of the submenu.
9133 (submenu): returns the submenu itself, provided it has been
9134 created by MenuBackend::expand
9136 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9138 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9139 insets which have noFontChange == true. (bug #172)
9141 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * BufferView_pimpl.C: add connection objects and use them...
9146 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9148 * MenuBackend.C (expandLastfiles):
9151 (expandFloatListInsert):
9152 (expandFloatInsert):
9153 (expand): split expand in parts
9155 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9157 * lyx_gui.C: use lyx_gui::exit()
9159 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9161 * LyXAction.C: show the failing pseudo action
9163 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9165 * buffer.C (readFile): Run the lyxconvert script in order to read
9168 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9172 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9174 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9178 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9180 2002-07-22 Herbert Voss <voss@lyx.org>
9183 * lyxlength.[Ch]: add support for the vertical lengths
9185 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9187 * toc.[Ch]: std:: fixes
9189 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9191 * lyxrc.C: do not include lyx_main.h
9193 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9199 * BufferView2.C: include "lyxlex.h"
9202 * bufferparams.h: do not #include "lyxlex.h"
9204 * lyxtextclasslist.C (Add): remove method
9205 (classlist): renamed to classlist_
9207 * paragraph_pimpl.C:
9211 * bufferview_funcs.C:
9216 * toc.C (getTocList): use BufferParams::getLyXTextClass
9218 * toc.C (getTocList): use InsetFloat::addToToc
9220 * toc.[Ch]: new files, containing helper functions to handle table
9223 * lyxfunc.C (dispatch): no need to remove spaces around command
9225 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9226 first command of the sequence; it is not very clever, but I do not
9227 have a better idea, actually
9229 * LyXAction.C (LookupFunc): make sure to remove space at the
9230 beginning and end of the command
9232 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9234 * MenuBackend.C (getMenubar): new method: return the menubar of
9236 (read): treat differently reading of menu and menubar (in
9237 particular, the menubar has no name now)
9238 (Menu::menubar): remove
9240 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9243 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9245 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9246 a bibitem inset in a RTL paragraph.
9248 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9250 * paragraph_pimpl.C: constify
9252 * BufferView_pimpl.C:
9254 * lyxfunc.C: fix dispatch in a nicer way
9256 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9258 * lyxfunc.C (dispatch):
9259 * BufferView_pimpl.C:
9260 * BufferView_pimpl.h:
9262 * BufferView.h: rename Dispatch() to dispatch()
9264 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9266 * lyxlayout.C (Read): honor DependsOn tag
9268 * lyxlayout.[Ch] (depends_on): new method
9270 * version.C.in: update lyx_docversion
9272 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9274 * paragraph.C (validate): remove from here...
9275 * paragraph_pimpl.C (validate): ... and move here
9276 (isTextAt): make it const
9278 * buffer.C (getLists): ws cleanup
9280 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9282 * language.C (read): Use iso8859-1 encoding in latex_lang
9283 (this prevents LyX from crashing when using iso10646-1 encoding).
9285 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9287 * text2.C (toggleInset): if cursor is inside an inset, close the
9288 inset and leave cursor _after_ it
9290 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9292 * lyxfunc.C: move minibuffer completion handling out of here
9294 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9296 * BufferView_pimpl.C:
9297 * LaTeX.C: fix dispatch calls
9299 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9301 * text.C (drawChars): Fix Arabic text rendering.
9303 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9307 * lyxfunc.C: remove message-push/pop
9311 * lyxfunc.C: rationalise some code by removing verboseDispatch
9312 in favour of a bool argument to dispatch()
9314 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9316 * lyx_main.C (init): make sure to read symlinks as absolute paths
9318 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9321 * lyxfunc.C: no need for commandshortcut to be a member
9323 2002-07-15 André Pönitz <poenitz@gmx.net>
9325 * converter.C: add support for $$s (scripts from lib/scripts dir)
9326 * lyx_main.C: white space
9328 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9332 * lyxrc.C: remove second exit confirmation
9334 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9339 * BufferView_pimpl.h:
9340 * BufferView_pimpl.C:
9341 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9343 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9345 * MenuBackend.C (expand): add numeric shortcuts to document menu
9347 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9349 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9351 * lyxfont.C (setLyXFamily):
9358 * buffer.C (asciiParagraph): use ascii_lowercase
9360 2002-07-15 Mike Fabian <mfabian@suse.de>
9362 * lyxlex_pimpl.C (search_kw):
9363 * lyxlex.C (getLongString):
9364 * converter.h (operator<):
9365 * converter.C (operator<):
9366 * buffer.C (parseSingleLyXformat2Token):
9368 * ToolbarDefaults.C (read):
9369 * MenuBackend.C (checkShortcuts):
9371 * LColor.C (getFromGUIName):
9372 (getFromLyXName): use the compare_ascii_no_case instead of
9373 compare_no_case, because in turkish, 'i' is not the lowercase
9374 version of 'I', and thus turkish locale breaks parsing of tags.
9376 2002-07-16 Angus Leeming <leeming@lyx.org>
9378 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9379 now takes a Buffer const & argument.
9381 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9383 * BufferView.C (resize): check there's a buffer to resize
9385 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9387 * lyxfunc.C: remove dead code
9390 * lyxserver.C: use lyx_guii::set_read_callback
9392 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9394 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9395 an inset in a RTL paragraph.
9397 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9399 * lyxfunc.C: repaint after a font size update
9401 2002-07-15 André Pönitz <poenitz@gmx.net>
9403 * lyxlength.C: inBP should be able to return negative values
9405 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9407 * lyxfunc.C: use lyx_gui::update_fonts()
9409 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9411 * lyxfunc.C: use lyx_gui::update_color()
9413 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9419 * lyxrc.C: remove file->new asks for name option, and let
9420 buffer-new take an argument
9422 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9424 * BufferView_pimpl.C: remove unneeded extra repaint()
9426 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9428 * LyXAction.C: allow command-sequence with NoBuffer
9430 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9432 2002-07-10 Angus Leeming <leeming@lyx.org>
9434 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9436 2002-07-09 Angus Leeming <leeming@lyx.org>
9438 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9440 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9442 * lengthcommon.h: whitespace
9444 * lyxfunc.C: update scrollbar after goto paragraph
9446 * lyxtext.h: factor out page break drawing, and fix it so
9447 page break/added space paints as selected nicely
9449 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9451 * BufferView_pimpl.C: add FIXMEs, clean up a little
9453 2002-07-09 André Pönitz <poenitz@gmx.net>
9455 * lyxfont.[Ch]: support for wasy symbols
9457 2002-07-08 André Pönitz <poenitz@gmx.net>
9459 * BufferView_pimpl.C: apply John's patch for #93.
9461 2002-07-05 Angus Leeming <leeming@lyx.org>
9463 * BufferView_pimpl.C (buffer): generate previews if desired.
9465 * LColor.h: add "preview" to the color enum.
9467 * LColor.C (LColor): add a corresponding entry to the items array.
9469 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9472 2002-07-05 Angus Leeming <leeming@lyx.org>
9474 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9475 The body of the code is now in the method that is passed an ostream &
9476 rather than a file name.
9477 Pass an additional only_preamble parameter, useful for the forthcoming
9480 2002-07-03 André Pönitz <poenitz@gmx.net>
9482 * lyxfunc.C: simplify getStatus() a bit for math stuff
9484 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9486 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9488 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9490 * text.C (changeRegionCase): do not change case of all the
9491 document when region ends at paragraph end (bug #461)
9493 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * paragraph.C (startTeXParParams):
9496 (endTeXParParams): add \protect when necessary
9498 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9500 * BufferView_pimpl.C (workAreaExpose): remove warning
9502 2002-06-27 Angus Leeming <leeming@lyx.org>
9504 * Makefile.am: add lyxlayout_ptr_fwd.h.
9506 2002-06-26 André Pönitz <poenitz@gmx.net>
9508 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9510 2002-06-25 Angus Leeming <leeming@lyx.org>
9512 * lyxfunc.C (dispatch): Comment out the call to
9513 grfx::GCache::changeDisplay. The method no longer exists now that the
9514 pixmap generation part of the graphics loader has been moved into
9517 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9519 * text2.C: layout as layout
9521 * text.C: layout as layout
9523 * tabular.C (OldFormatRead): layout as layout
9525 * paragraph_pimpl.C (TeXDeeper): layout as layout
9526 (realizeFont): layout as layout
9528 * paragraph.C (writeFile): layout as layout
9529 (validate): layout as layout
9530 (getFont): layout as layout
9531 (getLabelFont): layout as layout
9532 (getLayoutFont): layout as layout
9533 (breakParagraph): layout as layout
9534 (stripLeadingSpaces): layout as layout
9535 (getEndLabel): layout as layout
9536 (getMaxDepthAfter): layout as layout
9537 (applyLayout): layout as layout
9538 (TeXOnePar): layout as layout
9539 (simpleTeXOnePar): layout as layout
9540 (TeXEnvironment): layout as layout
9541 (layout): layout as layout
9542 (layout): layout as layout
9544 * lyxtextclass.C (compare_name): new functor to work with
9545 shared_ptr, layout as layout
9546 (Read): layout as layout
9547 (hasLayout): layout as layout
9548 (operator): layout as layout
9549 (delete_layout): layout as layout
9550 (defaultLayout): layout as layout
9552 * lyxlayout_ptr_fwd.h: new file
9554 * lyxlayout.C (Read): layout as layout
9556 * lyx_cb.C (MenuInsertLabel): layout as layout
9558 * bufferlist.C (newFile): layout as layout
9560 * buffer.C (readLyXformat2): layout as layout
9561 (parseSingleLyXformat2Token): layout as layout
9562 (insertStringAsLines): layout as layout
9563 (asciiParagraph): layout as layout
9564 (latexParagraphs): layout as layout
9565 (makeLinuxDocFile): layout as layout
9566 (simpleLinuxDocOnePar): layout as layout
9567 (makeDocBookFile): layout as layout
9568 (simpleDocBookOnePar): layout as layout
9569 (getLists): layout as layout
9571 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9573 * CutAndPaste.C (cutSelection): layout as layout
9574 (pasteSelection): layout as layout
9575 (SwitchLayoutsBetweenClasses): layout as layout
9577 * BufferView_pimpl.C (Dispatch): layout as layout
9578 (smartQuote): layout as layout
9580 * BufferView2.C (unlockInset): layout as layout
9582 2002-06-24 André Pönitz <poenitz@gmx.net>
9584 * lyxfunc.C: fix #487
9586 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9590 * lyxfunc.C: remove display_shortcuts, show_banner
9592 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9594 * Buffer_pimpl.C: oops, update on resize
9596 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9603 * BufferView.C: use repaint()
9605 * BufferView_pimpl.h:
9606 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9607 as it's a clearer description. Remove superfluous
9610 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9612 * text.C: fix bug 488. Not ideal, but getting
9613 getWord() to work properly for the insets that
9614 matter is more difficult ...
9616 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9618 * BufferView_pimpl.C:
9621 * lyxfunc.C: remove the six million index lyxfuncs to just
9622 one, and DTRT (bug 458)
9624 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9628 * BufferView_pimpl.h:
9629 * BufferView_pimpl.C: clean up resize() stuff,
9630 and unnecessary updateScreen()s
9632 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9636 * BufferView_pimpl.h:
9637 * BufferView_pimpl.C:
9640 * minibuffer.C: remove focus management of workarea,
9641 not needed. Use screen's greyOut()
9643 2002-06-17 Herbert Voss <voss@lyx.org>
9645 * converter.C: (convert) do not post a message, when converting
9646 fails, let the calling function decide what to do in this case
9648 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9650 * lyxfunc.C: tidy up a little
9652 2002-06-16 <alstrup@diku.dk>
9654 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9655 Got rid of FORMS_H_LOCATION include. Now we are
9658 2002-06-15 LyX Development team <lyx@rilke>
9660 * buffer.[Ch] (sgmlOpenTag):
9661 (sgmlCloseTag): Added support for avoiding pernicious mixed
9662 content. Return number of lines written.
9665 (makeDocBookFile): Fixed calls to sgml*Tag.
9666 Simple white space clean.
9668 (simpleDocBookOnePar): Simple white space clean.
9670 * tabular.[Ch] (docBook): Renamed to docbook and got another
9671 argument to related with the pernicious mixed content.
9673 (docbookRow): Fixed calls for docbook inset method.
9675 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9677 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9678 so it's X11 independent.
9682 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9684 2002-06-15 Lyx Development team <lyx@electronia>
9686 * intl.h: Renamed getTrans to getTransManager.
9688 2002-06-14 Angus Leeming <leeming@lyx.org>
9690 * Makefile.am: nuke forgotten stl_string_fwd.h.
9692 2002-06-12 Angus Leeming <leeming@lyx.org>
9694 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9696 2002-06-13 Angus Leeming <leeming@lyx.org>
9699 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9701 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9703 * kbmap.C (getiso): add support for cyrillic and greek
9705 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9709 * BufferView_pimpl.h:
9710 * BufferView_pimpl.C: move bogus scrolling logic
9713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9716 * BufferView_pimpl.C: view->resize() change
9718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9720 * BufferView_pimpl.C: topCursorVisible
9723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9727 * lyx_gui.C: move to frontends/
9731 * lyx_main.C: changes from above
9733 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9740 * lyx_main.C: minor tidy
9742 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9744 * BufferView_pimpl.h:
9745 * BufferView_pimpl.C:
9747 * BufferView.C: make painter() const,
9750 * BufferView2.C: use screen() accessor
9753 * lyx_main.C: some minor cleanup
9755 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9757 * BufferView_pimpl.h:
9758 * BufferView_pimpl.C: remove enter/leaveView,
9761 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9766 * BufferView_pimpl.h:
9767 * BufferView_pimpl.C: only construct screen once,
9770 * lyxrc.C: remove pointless comment
9772 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9775 * BufferView.C: remove active() and belowMouse()
9777 * BufferView_pimpl.h:
9778 * BufferView_pimpl.C: use workarea() not workarea_,
9779 and make it use a scoped_ptr instead
9781 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9783 * lyx_gui.C: add debug message on BadWindow
9785 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9787 * sp_spell.C: fdopen is not part of the C++ standard.
9789 * paragraph.C (InsetIterator): use >= instead of ==
9791 2002-06-07 Angus Leeming <leeming@lyx.org>
9793 Fixes needed to compile with Compaq cxx 6.5.
9794 * BufferView_pimpl.C:
9801 * lyxtextclasslist.C:
9806 all c-library variables have been moved into namespace std. Wrap
9807 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9812 Add a using std::abs declaration.
9814 * kbmap.h (modifier_pair):
9815 * paragraph.h (InsetTable, InsetList):
9816 * lyxfont.h (FontBits):
9817 type definition made public.
9819 * bufferlist.C (emergencyWriteAll): the compiler complains that
9820 there is more than one possible lyx::class_fun template to choose from.
9821 I re-named the void specialisation as lyx::void_class_fun.
9823 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9825 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9826 the compiler is is unable to find tostr in write_attribute.
9828 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9830 * buffer.C (sgmlError): hide #warning
9832 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9834 * xtl/*: get rid of xtl, which is not in use anyway
9836 * LyXAction.C (init):
9837 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9838 were unimplemented xtl experimentation
9840 2002-06-04 André Pönitz <poenitz@gmx.net>
9842 * lyxfunc.C: disable array operation on simple formulae
9844 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9846 * converter.C: constify a bit
9848 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9850 * lyx_gui.C: check xforms version correctly
9852 2002-04-30 Herbert Voss <voss@lyx.org>
9854 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9857 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9859 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9860 attempt to register it with a VCS)
9862 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9864 * lyx_main.C (init): honor variables LYX_DIR_13x and
9867 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9871 * lyx_main.C: fix a crash on bad command line,
9872 and give a useful exit status on error
9874 * lyxfunc.C (doImport): allow -i lyx to work
9876 2002-03-30 André Pönitz <poenitz@gmx.net>
9878 * lyxfunc.C: mathed font changes
9880 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9895 * trans_mgr.h: srcdocs, and some minor cleanups
9897 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9899 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9900 call getFont all the time)
9902 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9904 * switch from SigC signals to boost::signals
9906 2002-05-29 André Pönitz <poenitz@gmx.net>
9908 * paragraph_pimpl.C (getChar): don't call size() too often...
9910 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9912 * paragraph_pimpl.C (insertChar): do not try to update tables when
9913 appending (pos == size())
9915 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9916 in order to reduce drastically the number of comparisons needed to
9917 parse a large document
9919 2002-05-29 André Pönitz <poenitz@gmx.net>
9925 * textclasslist.[Ch]:
9926 * sp_ispell.h: whitespace change
9928 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9930 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9931 lyxaction directly now.
9933 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9937 * lyxvc.C: remove unused headers
9939 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9946 * undo_funcs.C: some cleanups. Use shared_ptr
9947 and a template for the undo stacks.
9949 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9951 * BufferView_pimpl.h:
9952 * BufferView_pimpl.C:
9959 * text2.C: use key_state/mouse_state
9961 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9963 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9966 * chset.C: change include order
9967 (loadFile): use boost regex and get rid of LRegex and LSubstring
9969 * Makefile.am (BOOST_LIBS): new variable
9972 * LaTeX.C: change include order.
9973 (scanAuxFile): use boost regex and get rid of LRegex and
9977 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9982 * FontInfo.C: moved to frontends/xforms/
9985 * FontLoader.C: moved into frontends for GUIIzation
9990 * lyxfunc.C: changes from above
9992 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9994 * LColor.C: remove spurious X include
9996 * BufferView_pimpl.C:
10001 * text2.C: move font metrics to frontends/
10003 2002-05-24 Juergen Vigna <jug@sad.it>
10005 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10006 setting the undo_cursor.
10008 * ParagraphParameters.h: include local includes first.
10010 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10012 * BufferView_pimpl.C:
10013 * BufferView_pimpl.h:
10017 * screen.C: move WorkArea into frontends/
10023 * BufferView2.C: move LyXScreen into frontends/
10027 * lyx_gui.C: move lyxlookup into frontends/xforms/
10029 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10032 * BufferView_pimpl.C:
10042 * bufferview_funcs.C:
10055 * vc-backend.C: move LyX/XFormsView into frontends/
10057 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10069 * text2.C: move Painter to frontends/
10071 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * buffer.C: comment out some some code that depend upon lyx_format
10076 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10077 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10079 * buffer.h (NO_COMPABILITY): turn off compability
10081 * ColorHandler.C: include scoped_array.hpp
10083 * font.C: Use more specific smart_ptr header.
10086 * ShareContainer.h: ditto
10087 * lyx_main.h: ditto
10089 * FontInfo.h: ditto
10090 * BufferView_pimpl.h: ditto
10091 * ColorHandler.h: ditto
10093 * kbmap.C (defkey): change call to shared_ptr::reset
10095 2002-05-21 Juergen Vigna <jug@sad.it>
10097 * buffer.C (insertErtContents): fix to insert ert asis if it is
10098 non empty. Skip it completely if it contains only whitespaces.
10100 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10102 * BufferView_pimpl.C:
10103 * BufferView2.C: clear selection on paste (bug 393)
10105 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10107 * DepTable.C: include ctime
10109 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10111 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10113 2002-05-14 Juergen Vigna <jug@sad.it>
10115 * text.C (breakParagraph): fixed function to honor the keepempty
10116 layout in the right maner and also to permit the right breaking
10117 algorithm on empty or non empyt keepempty paragraphs.
10119 * paragraph.C (breakParagraph): we have to check also if the par
10120 is really empty (!size()) for isempty otherwise we do the wrong
10123 2002-05-10 Juergen Vigna <jug@sad.it>
10125 * buffer.[Ch] : The following are only changes to the ert
10126 compatibility read reading old LaTeX layout and font stuff and
10127 convert it to ERTInsets.
10129 * buffer.h: added isErtInset().
10131 * buffer.C (struct ErtComp): add a fromlayout bool to check
10132 if we're inside a LaTeX layout.
10133 (isErtInset): new helper function.
10134 (insertErtContents): look for other ert insets before this one
10135 and insert the contents there, so that we don't have subsequent
10136 ERT insets with nothing between them. This way we create only one
10137 inset with multiple paragraphs. Also check if we don't insert only
10138 spaces ' ' as they are ignored anyway afterwards in the .tex file
10139 so if we have only spaces we will ignore this latex part in the
10141 (parseSingleLyXformat2Token \\layout): better compatibility when
10142 reading layout-latex stuff.
10143 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10145 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10146 stuff after reading the inset only get the information back from
10149 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10151 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10153 * LaTeXFeatures.C (getBabelOptions): New method.
10155 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10157 * BufferView_pimpl.C (Dispatch): work around missing argument for
10160 2002-05-08 Juergen Vigna <jug@sad.it>
10162 * text.C (leftMargin): handle paragraph leftindent.
10164 * paragraph.C (writeFile): write the new \\leftindent tag.
10165 (validate): handle leftindent code.
10166 (TeXEnvironment): handle paragraphleftindent code again.
10168 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10170 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10171 for paragrap_extra indent code and new token \\leftindent.
10172 (latexParagraphs): handle the leftindent as environment.
10174 * ParameterStruct.h: added leftindent support.
10176 * ParagraphParameters.C (leftIndent): added support functions for
10177 the paragraph left indent.
10179 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10182 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10184 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10187 * text.C (computeBidiTables): No bidi in insetERT.
10189 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10192 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10194 * version.C.in: pre 5
10196 2002-05-02 José Matos <jamatos@fep.up.pt>
10197 * buffer.C (makeDocBookFile): white space changes, add newline to
10199 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10201 * tabular.C (docBook): fix typo.
10203 2002-05-03 Juergen Vigna <jug@sad.it>
10205 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10206 change in LyXText as we can not be sure it was not freed.
10207 (drawOneRow): remove unused code.
10209 * text.C (drawInset): redo the calculation of the need_break_row as
10210 it could have a row which was already freed.
10211 (draw): look at the return value of drawInset and return false if
10212 it also returned false.
10213 (paintRowText): look at the return value of draw and return false if
10214 it also returned false.
10216 * lyxtext.h: added bool return type to drawInset() and draw() so that
10217 if we have a change in the row so that the rowbreak has to be redone
10218 we abort drawing as it will be called again.
10220 2002-05-02 Juergen Vigna <jug@sad.it>
10222 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10223 a change in the maintext also if we're inside an inset.
10224 (Dispatch): set the cursor again after a break line and after the
10225 screen has been updated as it could be we're in a different row.
10227 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10228 to set the cursor behind the pargraph with > size().
10229 (setCursor): check also for the same paragraph when checking where
10230 to put the cursor if we have a NFR inset.
10232 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10233 parts of layout read further up as it still was in the wrong
10236 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10238 * screen.C (drawFromTo): change sine fullRebreak always return
10241 * buffer.C (parseSingleLyXformat2Token): reindent some
10243 * BufferView_pimpl.C (update): change since fullRebreak always
10245 (Dispatch): git rid of the last hardcoded "Standard"s.
10247 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * text2.[Ch] (fullRebreak): make it return void now that we always
10252 2002-04-30 Juergen Vigna <jug@sad.it>
10254 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10255 ert compatibility check for "latex" layout.
10257 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10259 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10260 minipages: use col% instead of p%, and also use the current font.
10261 (makeLaTeXFile): Fix use babel condition.
10262 (parseSingleLyXformat2Token): Correct font when reading old floats.
10264 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10266 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10267 inserting list of floats.
10269 2002-04-25 Herbert Voss <voss@lyx.org>
10271 * MenuBackend.C (expand): don't add the graphics extensions to the
10274 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10276 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10277 non-existing layout, do not complain if it was the default layout
10278 of the original class (bug #342)
10280 2002-04-24 Juergen Vigna <jug@sad.it>
10282 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10283 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10285 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10287 * buffer.C (getBibkeyList): If using \bibliography, return the
10288 option field with the reference itself. Enables us to provide natbib
10289 support when using \bibliography.
10291 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10293 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10295 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10296 natbib is provided by the LaTeX class.
10298 2002-04-23 Juergen Vigna <jug@sad.it>
10300 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10303 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10305 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10307 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10309 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10310 ensuremath around textordmasculine, textordfeminine and
10313 2002-04-19 Juergen Vigna <jug@sad.it>
10315 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10316 reinitializing the buffer otherwise row-dimensions may be wrong.
10317 (update): reset also the selection cursors if they do exits otherwise
10318 their x/y positions may be wrong.
10320 * text2.C (cursorDown): don't enter the inset if we came from a row
10321 above and are one row over the inset.
10323 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10324 really leaving an inset.
10326 2002-04-18 Juergen Vigna <jug@sad.it>
10328 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10329 of the selected paragraph does not have the selected layout also if
10332 * text2.C (setLayout): fixed bug which did not change last selected
10335 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10336 changed the read and substituted \\end_float with \\end_inset!
10338 * BufferView_pimpl.C (cursorPrevious):
10339 (cursorNext): fixed to make it work with rows heigher than the work
10340 area without moving the cursor only the draw of the row.
10341 (workAreaMotionNotify): fix jumping over high rows.
10343 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10345 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10348 2002-04-16 Juergen Vigna <jug@sad.it>
10350 * text2.C (setCursor): set also the irow().
10351 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10353 (cursorDown): support for locking an inset if the x_fix value goes
10354 inside it. That way I can transverse insets too with cursor up/down.
10356 * lyxrow.h: added irow helper function same as other (i) functions.
10358 * BufferView_pimpl.C (cursorPrevious):
10359 (cursorNext): fixed for insets!
10361 2002-04-15 Juergen Vigna <jug@sad.it>
10363 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10364 position otherwise it is wrong in some cases.
10366 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10367 inside the inset before the call.
10369 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10371 * buffer.[Ch] (getBibkeyList): make it const.
10373 2002-04-12 Juergen Vigna <jug@sad.it>
10375 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10377 * text2.C (getCursorX): new helper function
10378 (setCursor): compute also ix_
10379 (setCursorFromCoordinates): set also ix.
10381 * lyxcursor.h: added ix_ and helper functions.
10383 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10385 * buffer.C (insertStringAsLines): dont break paragraph if the this
10386 paragraph is inside an inset which does not permit it!
10388 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10389 also with no chars on this paragraph.
10390 (paintRowText): only paint stuff if it's inside the workarea!
10392 * paragraph.C (breakParagraph): honor keepempty flag and break the
10393 paragraph always below not above.
10395 * BufferView2.C (unlockInset): update the paragraph layout on inset
10396 unlock as we changed paragraph in such a case.
10398 * lyxfind.C (LyXFind): clear the former selection if not found!
10400 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10401 again called in insertChar().
10403 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10404 an inset which uses the whole row!
10405 (rightMargin): ditto.
10406 (insertChar): force a rebreak if we inserted an inset!
10408 2002-03-28 Herbert Voss <voss@lyx.org>
10410 * lyxlength.[Ch]: add inBP() to get the right PS-point
10411 units (BigPoint). With inPixels we have rounding errors
10413 2002-04-11 Juergen Vigna <jug@sad.it>
10415 * text2.C (setCursorFromCoordinates): set iy to the right value.
10416 (setCursor): add check if row->previous exists!
10418 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10419 an old float_type as this was the case in the old code!
10421 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10423 * BufferView2.C (showLockedInsetCursor): use iy
10424 (fitLockedInsetCursor): ditto
10426 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10427 locked insets as there we have the right value now.
10429 * lyxcursor.C: added iy_ variable and iy functions to set to the
10430 baseline of cursor-y of the locked inset.
10432 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10433 (setCursor): fixed for insets which need a full row.
10435 * text.C (rowLastPrintable): don't ignore the last space when before
10436 an inset which needs a full row.
10437 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10438 as last character of a row when before a inset which needs a full row.
10440 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10442 * version.C.in: update date
10444 * text2.C (fullRebreak): try to always return true and see what
10447 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10449 * MenuBackend.C (expand): use Floating::listName
10451 * FloatList.C (FloatList): add listName argument to the built-in
10454 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10455 text associated with the float.
10457 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10459 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10461 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10463 * ShareContainer.h: add a couple of missing typenames.
10465 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10467 * lyxrc.C (getDescription): use _() correctly rather than N_().
10469 2002-03-28 Herbert Voss <voss@lyx.org>
10471 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10472 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10474 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10476 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10477 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10479 2002-03-29 Juergen Vigna <jug@sad.it>
10481 * lyxfunc.C (dispatch): add a missing fitCursor call.
10483 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10484 it was scrolled by a cursor move, so return the bool status.
10486 * BufferView.C (fitCursor): return the bool flag also to the outside
10487 world as this is needed.
10489 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10491 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10492 call the edit() as it is not needed (and wrong) IMO.
10493 (workAreaButtonPress): set the screen_first variable before evt.
10494 unlock the inset as this may change screen_first and then we have
10495 a wrong y position for the click!
10497 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10499 * MenuBackend.C (expand): another translation that I missed
10501 2002-03-28 Juergen Vigna <jug@sad.it>
10503 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10505 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10507 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10509 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10511 * MenuBackend.C (expand): fix export/view/update when there is no
10514 2002-03-27 Herbert Voss <voss@lyx.org>
10516 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10519 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10521 * bufferview_funcs.C (currentState): only show paragraph number
10522 for is DEVEL_VERSION is set.
10524 * lyxfunc.C (dispatch): put warning in INFO channel
10526 * MenuBackend.C (expand): translate the name of floats
10528 * FloatList.C (FloatList): mark the float names for translation
10530 * converter.C (convert): use LibScriptSearch
10532 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10534 * MenuBackend.C (defaults): fix default menu (we might as well get
10537 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10539 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10542 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10544 * lyxvc.C: reorder includes.
10546 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10548 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10551 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10553 * CutAndPaste.C: change layouts earlier on paste
10554 to avoid crashing when calling getFont()
10556 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10558 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10561 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10563 * WorkArea.C: remove 'Pending' debug message.
10565 * most files: ws cleanup
10567 * buffer.[Ch]: ws changes
10569 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10571 2002-03-21 Juergen Vigna <jug@sad.it>
10573 * tabular.C (SetMultiColumn): collapse also the contents of the
10574 cells and set the last border right. Added a Buffer const * param.
10576 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10581 2002-03-19 Juergen Vigna <jug@sad.it>
10583 * text2.C (clearSelection): reset also xsel_cache.
10585 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10586 where it needs to be called (John tells us to do so too :)
10587 (selectionLost): reset sel_cache.
10589 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10591 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10593 * text2.C (setCursorIntern): put debuging code in INSETS channel
10595 2002-03-19 André Pönitz <poenitz@gmx.net>
10597 * lyxfunc.C: tiny whitespace change
10599 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10601 * ToolbarDefaults.C (init):
10602 * LyXAction.C (init):
10604 * BufferView_pimpl.C (Dispatch):
10605 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10607 2002-03-19 Allan Rae <rae@lyx.org>
10609 * exporter.C (Export): removeAutoInsets before doing anything else.
10610 While I've just introduced a dependency on BufferView this really is
10611 the best place to clean the buffer otherwise you need to cleanup in
10612 a dozen places before calling export or cleanup in a dozen functions
10615 * converter.C (runLaTeX):
10616 (scanLog): Better handling of removeAutoInsets and screen updates.
10618 * lyxfunc.C (dispatch): small whitespace changes
10620 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10622 * WorkArea.C (C_WorkAreaEvent): return a value.
10623 (event_cb): return 1 if we handled the event, 0 otherwise.
10625 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10627 2002-03-18 Juergen Vigna <jug@sad.it>
10629 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10630 (GetAdditionalWidth): ditto.
10631 (RightLine): ditto.
10634 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10635 inset if we're there actually (probably not used right now but this
10636 is the direction to go for unifying code).
10637 (paste): disable code to clear the selection.
10639 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10640 inside an InsetText and move the check further up as it is in the
10643 * text2.C (pasteSelection): set a selection over the pasted text.
10645 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10647 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10648 and libgraphics to build on Cygwin.
10650 2002-03-15 Juergen Vigna <jug@sad.it>
10652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10653 inserting an Inset into the paragraph. I know this is not the best
10654 fix but we already use current_view in CutAndPaste so we will remove
10655 all of it's using at the same time.
10657 * buffer.C (sgmlError): deactivated function till it is rewritten in
10658 the right mode, now it can create problems.
10660 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10661 before accessing it.
10663 2002-03-14 Juergen Vigna <jug@sad.it>
10665 * undo_funcs.C (textHandleUndo): do the right thing when updating
10666 the inset after the undo/redo.
10668 * text2.C (setCursor): just some testcode for #44 not ready yet.
10670 * undo_funcs.C (textHandleUndo): set the next() and previous()
10671 pointers of the paragraph to 0 before deleting otherwise we have
10672 problems with the Paragraph::[destructor].
10674 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10675 on a paragraph insertion.
10677 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10679 * buffer.C (asciiParagraph): use += operator for char append to
10682 * paragraph.C (getFontSettings): compare >= not just >
10683 (highestFontInRange): ditto
10686 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10688 * paragraph.C: change several algorithm to be more appripriate for
10689 the problem domain. This is lookip in FontList and in the InsetList.
10691 2002-03-13 André Pönitz <poenitz@gmx.net>
10694 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10696 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10701 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10703 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10705 * Painter.C (display): anon helper function, adjust code for this
10707 (pixmap): remove function.
10709 * Painter.h: remove private display variable.
10711 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10713 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10715 * WorkArea.[Ch]: remove figinset_canvas cruft.
10717 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10719 * lyxtextclass.C (operator): add one item cache optimization.
10721 * bufferlist.h: doxy changes
10723 * bufferlist.C: ws changes
10725 * DepTable.[Ch] (ext_exist): place const in the right spot.
10727 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10729 (workAreaExpose): call resizeInsets when the with BufferView changes.
10730 (Dispatch): adjust for protectedBlank removal
10731 (specialChar): call updateInset if the insert went ok.
10733 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10734 specialChar instead.
10736 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10738 * BufferView.h: doxy change
10740 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10742 * lyxtextclass.C (operator[]): remove non-const version
10743 (defaultLayout): remove non-const version
10745 2002-03-12 Juergen Vigna <jug@sad.it>
10747 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10748 did resize the LyXText too.
10750 * buffer.C (readLyXformat2): set layout information on newly allocated
10753 * tabular.C (OldFormatRead): set layout information on the paragraph.
10755 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10757 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10759 2002-03-11 Juergen Vigna <jug@sad.it>
10761 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10763 (resizeCurrentBuffer): force also the insets to resize themselfes.
10764 (moveCursorUpdate): fixed up for InsetText.
10766 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10769 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10770 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10771 value of Dialogs::tooltipsEnabled().
10772 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10774 2002-03-08 Juergen Vigna <jug@sad.it>
10776 * BufferView_pimpl.C (updateInset): update inset inside inset also
10777 if it isn't inside theLockingInset().
10779 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10781 * buffer.C (asciiParagraph): redo some of the word and line length
10783 (getLists): look for Caption instead of caption.
10785 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10787 * buffer.C (Buffer): initialize niceFile to true
10789 (makeLinuxDocFile):
10790 (makeDocBookFile): make sure niceFile is true on exit
10792 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10794 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10796 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10798 * LyXSendto.C: remove.
10799 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10800 * lyx_gui.C: remove now-redundant comment.
10801 * ColorHandler.h: remove forward declaration of class WorkArea.
10802 * lyxfunc.C: remove #include "WorkArea.h".
10804 2002-03-07 Juergen Vigna <jug@sad.it>
10806 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10807 got moved away with the DEPM and also set the inset_owner always
10808 right which before could have been omitted.
10810 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10812 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10813 wanted layout is not found.
10815 2002-03-07 Juergen Vigna <jug@sad.it>
10817 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10819 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10821 * paragraph.C (breakParagraph): use default layout not layout of
10823 (Paragraph): clear ParagraphParameters.
10825 2002-03-06 Juergen Vigna <jug@sad.it>
10827 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10828 otherwise it would not be a valid lenght. Fixed a special case in
10829 the minipage compatibility read where we end the document with a
10832 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10833 was set as it could be 0 for InsetTexts first entry.
10835 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10837 * paragraph.C (writeFile): if layout is empty write out
10838 defaultLayoutName().
10840 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10841 file without named layout we set layout to defaultLayoutName().
10843 2002-03-06 Juergen Vigna <jug@sad.it>
10845 * CutAndPaste.C (copySelection): set layout for new paragraph.
10847 * text.C (prepareToPrint): leave ERT inset left aligned
10848 (leftMargin): don't indent paragraphs inside ERT insets
10850 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10852 * paragraph.C (breakParagraph): dont call clear do the work manually
10854 * paragraph.[Ch] (clear): remove function
10856 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10858 * paragraph.C (Paragraph): dont call clear, the work has already
10861 * lyxtextclass.C (operator): assert if n is empty
10863 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10864 work manually instead.
10866 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10868 * BufferView_pimpl.C: protect selectionLost against text == 0
10870 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10872 * text.C (breakParagraph): fix a setting layout to '0' problem.
10874 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10876 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10877 final location of file, for the included files, and graphics.
10879 2002-03-05 Juergen Vigna <jug@sad.it>
10881 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10883 2002-03-04 Juergen Vigna <jug@sad.it>
10885 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10887 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10888 last column of multicolumn cells.
10889 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10891 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10893 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10894 file if it doesn't go to a temporary file.
10896 * buffer.C (sgmlOpenTag):
10897 (sgmlCloseTag): remove extra newline insertion.
10899 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10901 * text.C (getRowNearY): comment out debug msg
10903 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10905 * text2.C: first -> first_y
10907 * text.C (getRowNearY): add some attemts at a possible
10908 optimization, not working.
10910 * tabular.[Ch]: add BufferParams to several function so that newly
10911 created paragraph can be initialized to he default layotu for the
10914 * tabular-old.C (ReadOld): add buf->params to call of Init
10916 * screen.C: rename text->first to text->first_y
10918 * paragraph.C (breakParagraph): always set layout in the broken
10921 * lyxtextclass.C (Read): remove lowercase
10924 (delete_layout): ditto
10926 * lyxtext.h: rename first -> first_y
10928 * lyxlayout.C (Read): remove lowercase
10931 (obsoleted_by): ditto
10933 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10935 * buffer.C (insertErtContents): add params are to InsetERT
10936 (parseSingleLyXformat2Token): add code to check if a paragraphs
10937 layout really exist.
10938 (parseSingleLyXformat2Token): add params to several inset
10940 (asciiParagraph): remove lowercase, do the layout comparisons with
10943 * BufferView_pimpl.C (cursorNext): first -> first_y
10944 (resizeCurrentBuffer): first -> first_y
10945 (updateScrollbar): first -> first_y
10946 (scrollCB): first -> first_y
10947 (workAreaMotionNotify): first -> first_y
10948 (workAreaButtonPress): first -> first_y
10949 (checkInsetHit): first -> first_y
10950 (cursorPrevious): first -> first_y
10951 (cursorNext): first -> first_y
10952 (Dispatch): add buffer_->params to severl inset contructors
10954 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10956 * lyxlayout.C (Read): remove some debug info that I forgot.
10958 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10959 clean up the code slightly.
10960 (makeLinuxDocFile): ditto
10961 (makeDocBookFile): ditto
10963 * text2.C: layout as string
10965 * text.C: layout as string
10967 * paragraph_pimpl.C: layout as string
10969 * paragraph.[Ch]: layout as string
10971 * lyxtextclasslist.[Ch]: layout as string
10973 * lyxtextclass.[Ch]: layout as string
10975 * lyxtext.h: layout as string
10977 * lyxlayout.[Ch]: layout as string
10979 * lyx_cb.C: layout as string
10981 * bufferview_funcs.C: layout as string
10983 * bufferparams.C: layout as string
10985 * buffer.C: layout as string
10987 * LyXView.[Ch]: layout as string
10989 * LaTeXFeatures.[Ch]: layout as string
10991 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10993 * BufferView_pimpl.C: change current_layout to string, remove
10998 (workAreaButtonRelease): layout as string
11000 * BufferView2.C (unlockInset): adjust
11002 * vspace.C (asLatexCommand): use an explict temp variable.
11004 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11006 * Makefile.am: use FRONTEND_*
11008 2002-03-01 Juergen Vigna <jug@sad.it>
11010 * tabular.C (SetWidthOfMulticolCell): changed to something better
11011 I hope but still work in progress.
11012 (recalculateMulticolumnsOfColumn): renamed function from
11013 recalculateMulticolCells as it is more appropriate now.
11014 (SetWidthOfCell): calculate multicols better.
11016 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11018 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11020 * lyxfunc.C (processKeySym): print sequence also if it is
11021 `deleted' (complete)
11023 * kbsequence.C (print): print sequence even if it is deleted
11024 (complete would be a better word, actually).
11026 * lyxfunc.C (dispatch): print complete options after a prefix key
11028 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11030 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11032 * text2.C (setCharFont): eliminate setCharFont code duplication.
11034 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11036 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11037 LFUN_TABULAR_FEATURE (bug #177)
11039 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11041 * Makefile.am: remove figure.h
11043 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11045 * Bufferview_pimpl.C:
11057 * text2.C: remove #include "lyx_gui_misc.h".
11059 * LaTeX.C: added #include <cstdio>
11061 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11063 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11064 that the paragraph following this one can have.
11066 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11068 * vspace.C (asLatexCommand): fix bogus gcc warning
11070 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11072 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11074 * text2.C (setLayout): get rid of redundant code
11076 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11078 * text2.C (incDepth): make sure depth cannot be increased beyond
11081 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11083 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11084 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11086 * PainterBase.h (image):
11087 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11088 a LyXImage const *.
11090 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11094 * BufferView_pimpl.C:
11095 * BufferView_pimpl.h:
11115 * sp_spell.C: remove fig inset, and the crap house of
11116 cards that follows it
11118 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11123 * os2_errortable.h:
11124 * nt_defines.h: move .h into support/
11126 * vms_defines.h: remove
11128 * WorkArea.C: add space in debug output
11132 * buffer.C: add WITH_WARNINGS
11136 * bufferlist.C: s/retrive/retrieve/, add docs
11145 * chset.C: add docs
11147 * lyxgui.C: add ID to X error handler
11149 * lyxtestclass.c: fix typo
11151 2002-02-26 Juergen Vigna <jug@sad.it>
11153 * tabular_funcs.C (write_attribute): changed so that some default
11154 attributes are not written at all.
11155 (getTokenValue): set default values before trying to read the
11156 value so we have the return value always set as default if we don't
11157 find the token we search for.
11159 * tabular.C (Write): write bools as bools not as strings!
11161 2002-02-22 Juergen Vigna <jug@sad.it>
11163 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11164 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11166 * text.C (leftMargin): don't add an indent for paragraphs inside
11167 tabular cells (fix #208).
11169 2002-02-21 José Matos <jamatos@fep.up.pt>
11171 * tabular.C (docBook): fixed support for long tables.
11173 2002-02-20 Juergen Vigna <jug@sad.it>
11175 * text2.C (getFont): get the drawing font of the Inset if this
11176 paragraph is inside an inset (only important for InsetERT for now).
11178 * buffer.C (insertErtContents): use new lanugage params in ERT
11181 * CutAndPaste.C: commenting out seemingly uneeded code.
11183 2002-02-19 Allan Rae <rae@lyx.org>
11185 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11186 Iterators might be simple to use but they also get invalidated.
11187 (removeAutoInsets): renamed saved cursor tracking variables and added
11188 some comments to clarify what everything does.
11190 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11197 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11198 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11201 * vc-backend.h: remove #include "support/syscall.h"
11205 * converter.C: rearrange #includes in Lars' approved fashion.
11207 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11208 forward declare class Timeout in the header file.
11210 * XFormsView.C: changes due to the above.
11212 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11213 similar to LyXView.
11215 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11216 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11218 2002-02-18 José Matos <jamatos@fep.up.pt>
11220 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11223 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11225 * a lot of small ws changes
11226 * add a lot of using std::XXX
11227 * use std construcs some places where approp.
11228 * use some exisint stuff from lyxfunctional where approp.
11229 * Make file changes to use partial linking (lets test this now...)
11231 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11235 remove #include "support/syscontr.h" as it's redundant. Always has been.
11243 change Systemcalls::System to Systemcalls::Wait and
11244 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11245 No change of functionality, just reflects the stripped down Systemcalls
11248 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11250 * debug.[Ch]: add a GRAPHICS type to the enum.
11252 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11254 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11256 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11259 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11261 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11262 match the changes below.
11264 * text2.C (toggleInset): if there is not editable inset at cursor
11265 position, try to see if cursor is _inside_ a collapsable inset
11268 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11270 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11271 document menu has a nice checkbox
11273 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11275 * lyxlength.C (asLatexString): change PW to output as percent of
11278 * lengthcommon.C: change '%' to 't%'
11280 * lyxfunc.C (dispatch): a few comments from Martin
11282 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11286 * BufferView_pimpl.h:
11287 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11290 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * vspace.C (inPixels): fix compiler warning
11294 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11296 * lyxfunc.C (getStatus): fix status message for disabled commands.
11298 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11300 * BufferView_pimpl.C: fix crash on close buffer
11301 during selection (#227)
11303 2002-01-27 Herbert Voss <voss@lyx.org>
11305 * buffer.C: link old Figure to new graphic inset
11307 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11309 * FontLoader.C (getFontinfo): Change the latex font names in order
11310 to match the names of type1inst.
11312 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11314 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11316 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11317 (extchanged): ditto
11319 (remove_files_with_extension): ditto
11320 (remove_file): ditto
11323 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11324 document is smaller than the work area height. Do not initialize
11325 static variables to 0.
11327 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11329 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11331 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11332 LFUN_LAYOUT_PARAGRAPHS.
11334 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11335 tabular. It is possible to provide a possible cell, which will
11336 typically be the actcell from the corresponding insettabular
11338 * lyxfunc.C (getStatus): small cleanup; disable
11339 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11342 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11344 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11346 * paragraph.C (startTeXParParams):
11347 (endTeXParParams): new methods. The LaTeX code to
11348 start/end paragraph formatting
11349 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11350 empty (fixes bug #200)
11352 * vspace.C (inPixels): adapt to the change below
11353 (inPixels): [later] more cleanups (remove unused variables)
11355 * lyxlength.C (inPixels): change to use a width and a height as
11358 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11360 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11361 Replaced with \paperwidth
11363 * DepTable.C (insert): add std:: qualifier
11365 2002-01-18 Allan Rae <rae@lyx.org>
11367 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11370 * text.C (drawInset): Turned out I didn't know enough about how
11371 rebreaking worked. This fixes most of the redraw problems. I see
11372 an occasional cursor trail when a line is broken now and the cursor
11373 placement can seem out by a few pixels also after a rebreak.
11375 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11377 * buffer.C (parseSingleLyXformat2Token): update because minipage
11378 width is now a LyXLength
11380 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11382 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11385 2002-01-17 Juergen Vigna <jug@sad.it>
11387 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11389 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11390 is set correctly and the inset is updated correctly.
11392 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11394 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11395 the beginning of the loop.
11397 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11399 * lyxrc.C: improve help for use_scalable_fonts
11401 2002-01-17 Allan Rae <rae@lyx.org>
11403 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11405 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11407 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11408 make sure to set their inset_owner to the right value (bug #171)
11410 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11413 * DepTable.C: Implement mtime checking to reduce time spent doing
11416 2002-01-16 Juergen Vigna <jug@sad.it>
11418 * tabular.C (GetAdditionalHeight): one of error fixed.
11420 * lyxrc.C (output): small fix in writing use_pspell.
11422 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11424 * sp_base.h: #include LString.h
11426 2002-01-16 Allan Rae <rae@lyx.org>
11428 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11429 Can someone check this please?
11431 * text.C (drawInset): It was possible that p.row would be removed by
11432 breakAgainOneRow upsetting a few other settings. There may be another
11433 small tweak possible by setting need_break_row = 0 when p.row has been
11434 removed but I don't know enough about the logic here.
11436 2002-01-15 Allan Rae <rae@lyx.org>
11438 * text.C (insertChar): removed conditional truism.
11440 * BufferView2.C (removeAutoInsets): More tweaks.
11441 cur_par_prev could be a stray pointer. Check for trailing empty line
11442 in case last line was cur_par and only had an error inset on it.
11444 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11446 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11449 * vc-backend.C (most methods):
11450 * exporter.C (Export):
11451 * converter.C (convert):
11453 * LyXSendto.C (SendtoApplyCB):
11454 * lyxfunc.C (dispatch):
11458 * lyx_cb.C (AutoSave):
11460 * BufferView_pimpl.C (MenuInsertLyXFile):
11461 * buffer.C (runChktex): use Buffer::filePath().
11463 * buffer.h: rename filename to filename_; rename filepath to
11464 filepath_ and make it private
11465 (filePath): new method
11467 * buffer.C (writeFile): use fileName()
11470 * lyx_main.C (init): fix starting of LyX when the binary is a
11471 link from so,ewhere else.
11473 * minibuffer.C: include <cctype> for isprint
11475 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11477 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11478 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11479 name clash with InsetCollapsable's width function.
11481 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11483 * lastfiles.C: include <iterator>
11485 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11487 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11490 * buffer.C (makeLaTeXFile): ditto.
11491 Also make loop operation more transparent.
11493 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11495 * ToolbarDefaults.C: remove trailing comma closing namespace.
11497 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11499 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11502 * trans.C (Load): comment out unused variable, allowed.
11504 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11506 * minibuffer.[Ch] (append_char): new method to recieve input from the
11507 drop-down completion browser. If a key was pressed, then recieve this
11508 char and append it to the existing string.
11509 (peek_event): modify the positioning data passed to the completion
11510 browser so that it can be placed above the minibuffer rather than below.
11511 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * LyXAction.C (init): alloe error-next for readonly documents.
11515 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11518 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11520 * bufferlist.C (readFile): create the buffer _after_ checking that
11523 * lyxfunc.C (verboseDispatch): fix handling of arguments
11525 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11527 * lyxrc.C: use string::erase() instead of initializing to "".
11530 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11532 * BufferView_pimpl.h:
11533 * BufferView_pimpl.C:
11536 * text2.C: tell X when we have made a selection for copying
11538 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11540 * BufferView_pimpl.C (MenuInsertLyXFile):
11541 * lyxfunc.C (menuNew):
11543 (doImport): add shortcuts to directory buttons
11545 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11548 * lyxfunc.C (setStatusMessage):
11549 (getStatusMessage): new methods
11550 (getStatus):use setStatusMessage instead of setErrorMessage
11551 (dispatch): when function is disabled, set error message here
11552 [instead of in getStatus previously]
11554 * BufferView_pimpl.C (workAreaButtonRelease): update
11555 toolbar/menubar here too.
11557 2002-01-13 Allan Rae <rae@lyx.org>
11559 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11560 Now seems indestructible. Remaining task is to audit all other
11561 code affected by deleteEmptyParagraphMechanism. One small quirk
11562 left is that an empty document with an error in the preamble can
11563 be made to report an error but no error box appears. I don't know
11565 (removeAutoInsets): Improved comments.
11567 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11570 * Thesaurus.C: update for Aiksaurus 0.14
11572 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11574 * text2.C (firstParagraph): removed member function, all uses
11575 replaces with ownerParagraph
11576 (redoParagraphs): here
11577 (updateInset): here
11578 (toggleAppendix): here
11579 * BufferView2.C (insertErrors): here
11580 (setCursorFromRow): here
11582 2002-01-13 Allan Rae <rae@lyx.org>
11584 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11585 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11586 There is still a way to segfault this although you may have to do this
11587 multiple times: Have an InsetERT with an unknown command in it.
11588 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11589 <down-arrow>, <Enter> again, View->DVI, BANG!
11591 * text2.C (setCursor):
11592 (deleteEmptyParagraphMechanism):
11593 * lyxtext.h (setCursor):
11594 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11595 Making use of the return value may help fix other bugs.
11597 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11601 * LyXView.C (updateMenubar): call MenuBar::update here
11602 (updateToolbar): but not here
11603 (showState): do not update toolbar/menubar
11605 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11606 should need to care about that.
11608 * lyxfunc.C (verboseDispatch): simplify a bit
11609 (getStatus): have a version which takes a pseudoaction, and
11610 another which requires a (kb_action,string).
11612 * LyXAction.C (retrieveActionArg): make it work also when action
11613 is not a pseudo-action.
11614 (getActionName): simplify a bit
11617 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11619 * lyxfunc.C (verboseDispatch): new families of methods with
11620 several ways to specify a command and a bool to indicate whether
11621 the command name and shortcut should be displayed in minibuffer
11622 (eventually, we could extend that to a finer bitmask like
11623 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11624 (dispatch): the pristine dispatch command which just, well,
11625 dispatchs! Note it still sets its result to minibuffer; I'm not
11628 * lyxfunc.h: remove setHintMessage
11630 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11632 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11634 * BufferView_pimpl.C (specialChar): delete new inset if we have
11635 not been able to insert it.
11637 * kbmap.C: revert to using int instead of kb_action, since all we
11638 are dealing with is pseudo-actions.
11640 * LyXAction.C (searchActionArg): change to return int instead of
11641 kb_action, since the result is a pseudoaction.
11643 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11645 * buffer.C (insertErtContents): Fix (partially) the font bug.
11647 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11649 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11650 as the other one is broken on my machine!
11652 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11655 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11657 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11659 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11660 reflect their actual use. Provide compatibility code for older lyxrc
11663 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11665 change names of popup font variables in line with the changes to lyxrc.C
11667 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11669 * buffer.C (asciiParagraph): avoid outputing a word twice after
11672 * lyxrc.C (getDescription): document that document_path and
11673 template_path can be empty.
11675 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11677 * LaTeXFeatures.C (getMacros):
11678 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11680 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11682 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11684 (getPackages): rename feature "floats" to "float". Use an array to
11685 iterate over 'simple' features (i.e. just a \usepackage). Add
11686 handling of "amsmath" (renamed from "amsstyle").
11688 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11690 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11693 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11695 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11696 FuncStaus::FuncStatus & FuncStaus::some_method().
11698 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11700 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11701 of the func_satus stuff. Edited and massaged in various ways by
11704 * lyxfunc.C (getStatus): use FuncStatus
11706 2002-01-08 Juergen Vigna <jug@sad.it>
11708 * text.C (nextBreakPoint): use function Inset::isChar().
11710 * paragraph.C (TeXOnePar): use function
11711 Inset::forceDefaultParagraphs.
11713 * buffer.C (latexParagraphs): use function
11714 Inset::forceDefaultParagraphs.
11716 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11718 * lyx_gui.C (init): set the style of the menu popups to
11719 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11721 2002-01-07 Juergen Vigna <jug@sad.it>
11723 * text.C (setHeightOfRow): small fix
11724 (prepareToPrint): don't look at alignment if we don't have the place
11727 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11729 * box.C: New file. Move the Box methods and functions out of box.h,
11730 following Lars' suggestion.
11732 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11734 * box.h: #include "support/LOstream.h", needed for inlined function.
11737 * lyxtextclasslist.C: added some using std declarations.
11739 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11741 * box.h: make signed dimensions to allow insets wider than
11742 the screen (bug #162)
11744 * BufferView_pimpl.C: add some insetHit debug
11746 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11748 * vc-backend.C: add FIXME
11750 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11752 * lyxfunc.C (getStatus): enable code for showing math font status
11755 2002-01-07 Juergen Vigna <jug@sad.it>
11757 * text.C (nextBreakPoint): removed debug output not needed anymore.
11759 2002-01-06 Juergen Vigna <jug@sad.it>
11761 * text.C (nextBreakPoint): fixed up this function we had this bug
11762 since ever but now hopefully we break row better.
11763 (insertChar): we have to check if an inset is the next char as it
11764 could now happen that a large inset is causing a break.
11766 2002-01-05 Juergen Vigna <jug@sad.it>
11768 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11769 if it doesn't like to be drawed.
11771 2002-01-04 Juergen Vigna <jug@sad.it>
11773 * BufferView2.C (lockInset): forgot to set a cursor.
11775 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11777 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11779 * FormMathsPanel.C:
11782 * form_maths_panel.C:
11783 * form_maths_panel.h:
11784 * form_maths_panel.fd: implemented sub- and super- buttons in math
11787 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11788 (or ^ space) to be used as in TeX (req'd by André).
11790 * lyxfunc.C: Allow ^ and _ again to be used both as
11791 super/subscript (mathed) and as themselves (in text).
11793 2002-01-03 Allan Rae <rae@lyx.org>
11795 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11796 "LyX" or the filename of the current buffer if it has one. This is a
11797 modified form of John Levon's patch.
11799 * XFormsView.C (setWindowTitle): also set icon title.
11801 * LyXView.h (setWindowTitle): signature changed.
11802 * XFormsView.h (setWindowTitle): ditto.
11804 2002-01-02 Juergen Vigna <jug@sad.it>
11806 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11808 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11810 * screen.C (topCursorVisible): introduce a temp var for
11811 text->cursor.row(), handle the case where this row is null. (kindo
11814 * text2.C (setCursor): add a couple of asserts.
11816 * paragraph.h (inset_iterator): add -> operator
11818 * paragraph.[Ch] (autoDeleteInsets): remove member function
11820 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11821 cursor pos correctly and handle inset deletion by itself.
11822 (insertErrors): move iterator declaration out of for expression
11824 * lyxtextclass.C: add <algorithm>
11826 * Makefile.am: added the new files to sources, removed layout.C
11828 * layout.C: removed file
11830 * layout.h: remove LYX_DUMMY_LAYOUT
11832 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11836 * lyxtextclass.[Ch]:
11837 * lyxtextclasslist.[Ch]: new files
11839 * include order changes to a lot of files, also changes because of
11842 2001-12-27 Juergen Vigna <jug@sad.it>
11844 * buffer.C (asciiParagraph): more fixes.
11846 * tabular.C (ascii): make ascii export support export of only the
11847 data separated by a column-delimiter.
11848 (ascii): better support for ascii export.
11850 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11852 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11854 * tabular_funcs.C: use a "using std::getline" instead of the
11855 previous fix from Angus (necessary for cxx + lyxstring)
11857 2001-12-24 Juergen Vigna <jug@sad.it>
11859 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11861 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11862 problems. First check a minipage also if we have some ert-contents
11863 (not only on par->size(), second set the right depth of the paragraph
11864 on the relink to the root-paragraph-list!
11866 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11867 which then did not anymore update the main paragraphs on undo/redo!
11869 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11871 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11872 code. Support all font-changing funcs (even those which are not in
11873 menu currently). Support for reporting font settings in
11874 mathed (disabled until Andre provides a function on mathed's side).
11876 * func_status.h (toggle): small helper function to set toggle
11879 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11881 * tabular_funcs.C: getline -> std::getline
11883 2001-12-21 Juergen Vigna <jug@sad.it>
11885 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11886 accessed and could be 0 (I couldn't generate this but it seems
11889 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11891 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11892 * tabular_funcs.h: here and include iosfwd
11894 2001-12-20 Juergen Vigna <jug@sad.it>
11896 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11897 inside inset but undo_par was.
11899 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11901 * Thesaurus.C: always include <config.h> in sources.
11905 * box.h: do not include <config.h> in header files
11907 * text.C (paintLastRow): remove unused variable
11909 * text.C (transformChar):
11911 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11913 * Painter.C (text):
11914 * font.C (width): rewrite to use uppercase() instead of
11917 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11919 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11921 * lyxfind.C: clean up of find failure position change
11923 2001-12-20 Juergen Vigna <jug@sad.it>
11925 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11927 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11928 (TeXRow): added to LaTeX a single tabular row.
11929 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11930 (Latex): simplified and finally good LT-h/f support.
11931 (various_functions): just small adaptions for LT-h/f support.
11933 * tabular_funcs.[hC]: added and moved here all not classfunctions
11936 2001-12-19 Juergen Vigna <jug@sad.it>
11938 * tabular.[Ch]: better support for longtabular options (not finished
11941 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11943 * text.C (paintLastRow): use the label font instead of the font of
11944 the last character to compute the size of *_BOX. This makes more
11945 sense and avoids a crash with empty paragraphs.
11946 Use Painter::rectangle to draw EMPTY_BOX.
11948 2001-12-19 Juergen Vigna <jug@sad.it>
11950 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11951 the paragraphs if the replaced paragraph is not the first one!
11952 Tried to delete not used paragraphs but does not work yet so for
11953 now it's inside #ifdef's and by default off!
11955 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11957 * MenuBackend.C: include "lyx_main.h" instead of declaring
11958 lastfiles (actually was declared as LastFiles* instead of a
11961 2001-12-17 Juergen Vigna <jug@sad.it>
11963 * tabular.C (AppendColumn): applied John's fix
11965 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11969 * BufferView_pimpl.h:
11970 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11973 * box.h: new start of class for above
11975 * lyxfunc.C: ignore space-only minibuffer dispatches.
11976 Show the command name when it doesn't exist
11978 * minibuffer.C: don't add empty lines to the history
11980 * minibuffer.C: add a space on dropdown completion
11982 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11984 * text.C: fix line above/below drawing in insets
11986 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11988 * lyxlength.C (LyXLength): Initialize private variables.
11990 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11992 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11993 when inserting error insets.
11995 2001-12-13 Juergen Vigna <jug@sad.it>
11997 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11998 actually sometimes the before-paragraph.
11999 (setUndo): don't clear the redostack if we're not actually undoing!
12001 2001-12-06 Juergen Vigna <jug@sad.it>
12003 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12004 and fixed redoing of main paragraph, so we can use it now ;)
12006 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12008 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12010 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12013 2001-12-13 André Pönitz <poenitz@gmx.net>
12016 * undo_func.C: minor cleanup
12018 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12020 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12021 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12022 font in urw-fonts package which is marked as -urw-fontspecific and
12023 does not work (incidentally, changing the encoding in the
12024 fonts.dir of this package to -adobe-fontspecific fixes the
12027 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12028 is a crash when undoing first paragraph (Juergen, please take a
12029 look). THis does not mean the undo fix is wrong, just that it
12032 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12033 the (Paragraph*) version when needed instead of duplicating the
12036 * text.C (workWidth): use Inset::parOwner to find out where the
12037 inset has been inserted. This is a huge performance gain for large
12038 documents with lots of insets. If Inset::parOwner is not set, fall
12039 back on the brute force method
12041 * paragraph_pimpl.C (insertInset):
12042 * paragraph.C (Paragraph):
12043 (cutIntoMinibuffer): set parOwner of insets when
12044 inserting/removing them
12046 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12048 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12054 * mathed/formulabase.C:
12055 * mathed/math_cursor.[Ch]:
12056 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12059 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12061 * lyxlength.[Ch] (operator!=): new function
12063 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12065 * text.C (workWidth): use Inset::parOwner to find out where the
12066 inset has been inserted. This is a huge performance gain for large
12067 documents with lots of insets. If Inset::parOwner is not set, fall
12068 back on the brute force method
12070 * paragraph_pimpl.C (insertInset):
12071 * paragraph.C (Paragraph):
12072 (cutIntoMinibuffer): set parOwner of insets when
12073 inserting/removing them
12075 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12077 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12079 * tabular-old.C (getTokenValue):
12080 * tabular.C (getTokenValue):
12081 (write_attribute): new versions for LyXLength
12082 (everywhere): adjust the use of widths
12084 * tabular.h: change the type of widths from string to LyXLength
12086 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12088 * paragraph.C: fixed missing line number count when exporting
12089 Environments to LaTeX file
12091 * buffer.C: added informational message for checking line numbers.
12093 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12095 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12096 paragraph, do the 'double space' part, but not the 'empty
12099 * text.C (workWidth): small optimization
12100 (getLengthMarkerHeight): use minimal size for negative lengths.
12102 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12104 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12106 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12108 2001-12-11 André Pönitz <poenitz@gmx.net>
12111 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12113 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12115 * text2.C: keep selection on a setFont()
12117 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12119 * lyx_cb.C: another bv->text misuse, from insert label
12121 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12124 * kbsequence.C: re-instate nmodifier mask
12126 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12128 * lyx_main.h: make lyxGUI private.
12130 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12132 * lyxfind.C: place the cursor correctly on failed search
12134 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12136 * text.C (getLengthMarkerHeight): for small heights, the arrows
12137 are not always on top/bottom of the text
12138 (drawLengthMarker): smaller arrows; take the left margin in
12139 account; draw also vfills.
12141 (paintLastRow): remove special code for vfill and standard spaces,
12142 since everything is handled in drawLengthMarker now.
12144 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * buffer.C (insertErtContents): try to handle font and language
12147 interaction a bit better.g
12149 * ColorHandler.C (updateColor): change the hash to cover the whole
12150 LColor enum, ws cleanup
12151 (getGCLinepars): ditto
12152 (getGCLinepars): only lookup in the linecache once.
12154 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12156 * iterators.C (operator++): Make the iterator more robust
12158 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12160 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12165 * text.C: better added space drawing
12167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12170 * BufferView2.C: fix layout combo update on inset unlock
12172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12174 * Makefile.am: don't compile unused files
12176 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12180 * LyXAction.C: remove old LFUN_LAYOUTNO
12182 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12184 * paragraph_pimpl.h:
12185 * paragraph_pimpl.C: isTextAt() doesn't need font param
12187 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12190 * lyxlex.C: little cleanup
12192 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12194 * BufferView_pimpl.C: fix insertAscii for insets
12196 2001-12-05 Juergen Vigna <jug@sad.it>
12198 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12199 set the right font on the "multi" paragraph paste!
12201 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12207 * lyxlength.C: remove out-commented code.
12209 * BufferView_pimpl:
12223 * vc-backend.C: change "while(" to "while ("
12225 * lyxlength.[Ch]: add zero function to check if length is zero or
12227 * lyxgluelength.C: use it
12229 2001-12-05 Allan Rae <rae@lyx.org>
12231 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12232 Works for 2.95.3, from what I understand of Garst's reports this should
12233 work for other g++ versions. We're screwed if the abs(int) definition
12234 changed between bugfix releases of gcc.
12236 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12238 * text.C: fix chapter label offset !
12240 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12243 * text.C: fix hfill at end of line, clean up
12245 2001-12-04 Juergen Vigna <jug@sad.it>
12247 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12248 that we force an update of the inset and it's owners if neccessary.
12250 2001-12-03 Juergen Vigna <jug@sad.it>
12252 * text.C (rowLast): simplified code
12254 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12256 * lyxfunc.C: fix show options on timeout
12258 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * screen.C (topCursorVisible): scroll half a page when the cursor
12261 reached top of bottom of screen
12263 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12265 * minibuffer.C: deactivate on loss of focus
12267 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12269 * vspace.[Ch] (operator!=): add operator.
12271 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12273 * BufferView_pimpl.C: refuse to open an inset when
12274 there's a selection.
12276 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12278 * BufferView_pimpl.C: allow to click on RHS of full row insets
12280 2001-11-30 Juergen Vigna <jug@sad.it>
12282 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12283 insets for undo reasons.
12285 2001-11-28 André Pönitz <poenitz@gmx.net>
12287 * vspace.[Ch]: cosmetical changes
12289 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12299 * kbsequence.C: part re-write of old kb code
12302 * WorkArea.C: remove Lgb_bug_find_hack
12304 2001-11-30 José Matos <jamatos@fep.up.pt>
12306 * buffer.C (makeDocBookFile): add a comment to point a hack.
12307 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12308 Fixed a double write of labels.
12310 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12313 * LaTeX.h Fixed bug in LaTeX class where it would not
12314 re-run latex if no depfiles were changed, but the .dvi was removed.
12316 2001-11-28 André Pönitz <poenitz@gmx.net>
12318 * all the files from the change on 2001/11/26:
12319 use lyx::layout_type instead of LyXTextClass::size_type
12320 use lyx::textclass_type instead of LyXTextClassList::size_type
12322 2001-11-29 Juergen Vigna <jug@sad.it>
12324 * text.C: added support for paragraph::isFreeSpacing()
12326 * buffer.C: same as above
12328 * paragraph.h: inserted isFreeSpacing() function to enable
12329 FreeSpacing inside InsetERT.
12331 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12332 of the paragraph's in the cut/copy buffer to 0!
12334 * text2.C (removeRow): remove the assert as it can!
12336 * lyxtext.h: added helper function firstRow returning firstrow and
12337 made firstrow private again.
12339 * BufferView2.C (lockInset): don't relock if we're already locked!
12341 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12342 the only paragraph.
12343 (removeRow): added Assert::(firstrow)
12345 * debug.C: forgot to add INSETTEXT here.
12347 2001-11-28 Juergen Vigna <jug@sad.it>
12349 * sp_spell.C (initialize): changed error text to more general
12350 spellchecker command use (not only ispell!)
12352 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12354 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12356 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12358 * vspace.C: initialise lyxgluelength on failure
12360 2001-11-28 Allan Rae <rae@lyx.org>
12362 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12363 declaration & definition that looks like a function declaration.
12365 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12367 * BufferView2.C (copy):
12368 (copyEnvironment): do not clear the selection when doing a copy.
12370 * text.C (paintFirstRow): compilation fix
12372 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12374 * tabular.C (Latex): correct line count when writing latex.
12376 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12378 * paragraph_pimpl.h:
12379 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12382 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12386 * LColor.C: change vfillline->added_space
12388 * text.C: add markers and text for added space
12390 * vspace.C: fix comment
12392 2001-11-28 André Pönitz <poenitz@gmx.net>
12394 * paragraph.C: whitespace changes
12395 * all the other files from the change on 2001/11/26:
12396 change *::pos_type into lyx::pos_type
12398 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12400 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12401 language of the document when inserting error insets.
12403 2001-11-26 André Pönitz <poenitz@gmx.net>
12405 * BufferView_pimpl.[Ch]:
12413 * paragraph_pimpl.[Ch]:
12416 * text2.C: reduce header dependencies, introduce type for positions
12418 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12420 * <various>: change to use Alert.h
12422 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12424 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12425 when encountering an unknown token.
12426 (readLyXformat2): Show an error message if there were unknown tokens.
12428 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12431 * BufferView_pimpl.C:
12435 * text2.C: use par->isInset()
12437 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12439 * paragraph_pimpl.h:
12440 * paragraph_pimpl.C: cleanup
12442 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12444 * text2.C (removeRow):
12445 * text.C (setHeightOfRow): remove useless (and costly) call to
12448 2001-11-20 Allan Rae <rae@lyx.org>
12450 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12451 Now need Inset*::checkInsertChar() to return true for appropriate
12452 cases so that the characters in the minibuffer will actually be
12455 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12457 * text.C: change the order of the includes.
12458 (workWidth): initialize it at once.
12459 (workWidth): make maxw unsigned
12460 (setHeightOfRow): remove unused variable (inset)
12461 (selectSelectedWord): remove unused variable (inset)
12462 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12464 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12466 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12467 server is not running.
12469 (closeConnection): add debug info when server is disabled.
12471 * ColorHandler.C (getGCForeground): send debug message to GUI
12474 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12476 * kbmap.C (bind): modify because return conventions of
12477 kb_sequence::parse have changed.
12479 * kbsequence.C (parse): only ignore spaces and not any stupid
12480 control character. This avoids tests like s[i] <= ' ', which are
12481 guaranteed to fail with 8bit characters and signed chars.
12482 Change return code to string::npos when there have been no error
12483 (0 was a bad idea when error is at first character)
12485 2001-11-14 José Matos <jamatos@fep.up.pt>
12488 * buffer.C (simpleDocBookOnePar): removed unused argument.
12490 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12492 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12493 insets which are part of a word. Paragraph::isLetter takes care of
12494 that now. Use Paragraph::isInset to identify insets.
12495 (selectSelectedWord): do not test for hyphenation break.
12497 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12498 that protected spaces are considered as spaces.
12500 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12503 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12506 * lyxserver.C: fix it. and small cleanup.
12508 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12510 * BufferView_pimpl.C: use inline helpers
12513 * LaTeXFeatures.C: fix typos
12516 * Spacing.C: move spacing_string into class
12518 * ToolbarDefaults.C: move stuff into namespace anon
12520 * layout.h: update enum
12522 * lyxfunc.C: use better debug
12524 * minibuffer.h: fix typo
12528 * WorkArea.C: add and use Debug::WORKAREA
12532 * text2.C: code re-organisation, inline helpers
12534 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12536 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12537 std::vector.empty().
12539 2001-11-09 Allan Rae <rae@lyx.org>
12541 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12542 '\n's after tables. Tabular and ERT inset work now makes this no
12545 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12548 * minibuffer.C: fix crash, improve drop-down completion
12550 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12553 * lyxserver.C: invalidate fd's when doing endPipe()
12555 2001-11-08 José Matos <jamatos@fep.up.pt>
12557 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12558 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12561 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12563 2001-11-07 José Matos <jamatos@fep.up.pt>
12566 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12569 * buffer.C (sgmlOpenTag):
12570 * buffer.C (sgmlCloseTag): removed debug info.
12572 * buffer.h (sgmlOpenTag):
12573 * buffer.h (sgmlCloseTag): made public.
12575 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12577 * buffer.C (saveParamsAsDefaults):
12578 * lyx_cb.C (MenuLayoutSave): remove
12580 * LyXAction.C (init):
12582 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12584 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12586 * buffer.C (setPaperStuff): removed from here...
12588 * bufferparams.C (setPaperStuff): ... and moved there.
12590 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12594 * XFormsView.C: add support for drop-down completion
12596 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12598 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12601 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12603 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12606 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12608 * lyx_main.C: change ref to known bugs
12610 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12612 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12613 to work around older babel problems.
12615 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12617 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12619 2001-10-24 Juergen Vigna <jug@sad.it>
12621 * tabular-old.C (ReadOld): below variable changes reflected.
12623 * tabular.[Ch]: added ltType struct for longtable header/footer
12624 defines and changed all instances where they are used. Added
12625 future support for double top/bottom rows.
12627 2001-10-24 José Matos <jamatos@fep.up.pt>
12629 * buffer.h (docbookHandleCaption):
12630 * buffer.C (docbookHandleCaption): removed unused function.
12631 (makeDocBookFile): moved docbook supported version to v4.1.
12633 2001-10-24 José Matos <jamatos@fep.up.pt>
12636 * tabular.C (docbookRow): new function to export docbook code of a row.
12637 (DocBook): now honors the longtable flags.
12639 2001-10-23 José Matos <jamatos@fep.up.pt>
12642 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12643 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12645 * buffer.C (makeLinuxDocFile):
12646 (makeDocBookFile): reworked the preamble, more clean, and with
12647 support for lyx defined entities. Changed the document declaration
12648 to be more XML friendly.
12650 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12651 if we need to output XML that should be done with a filter.
12653 2001-10-22 Juergen Vigna <jug@sad.it>
12655 * sp_pspell.h (class PSpell): add alive function needed in the
12656 controller to see if the spellchecker could be started.
12658 2001-10-22 Juergen Vigna <jug@sad.it>
12660 * buffer.C (insertStringAsLines): modify the font for inserting
12661 chars in certain conditions by calling checkInsertChar(font).
12663 2001-10-19 Juergen Vigna <jug@sad.it>
12665 * text.C (workWidth): use getRow instead of wrong algorithm.
12666 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12668 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12673 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12675 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12677 * text.C (workWidth): do not search for the exact row when
12678 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12679 optimization for big documents.
12681 2001-10-18 Juergen Vigna <jug@sad.it>
12683 * text.C (workWidth): new function with added Inset * parameter.
12685 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12687 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12689 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12690 change return type of getColumnNearX.
12693 * text.C (changeRegionCase): use uppercase/lowercase instead of
12696 (rightMargin): simplify code by factoring out the uses of
12701 (appendParagraph): use Paragraph::size_type
12703 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12705 * vspace.C (asLatexString): add a missing break
12707 2001-10-15 Herbert Voss <voss@perce.de>
12709 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12711 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12713 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12716 2001-10-10 André Pönitz <poenitz@gmx.net>
12718 * lyxfunc.C: removed greek_kb_flag.
12720 2001-10-10 Herbert Voss <voss@perce.de>
12722 * lyx_main.C: delete global string help_lyxdir.
12724 2001-10-09 Herbert Voss <voss@perce.de>
12726 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12728 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12730 * lyx_main.C: added global string help_lyxdir.
12732 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12734 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12736 * lyxrc.C (set_font_norm_type): support iso8859-4
12738 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12740 * LaTeX.C (deplog): add another regex for MikTeX
12742 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12744 * lyxrc.C (set_font_norm_type): support iso8859-3
12746 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12748 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12750 * LaTeXFeatures.C: remove special case of french and index
12752 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12753 before \begin{document}). This solves several incompatibilities.
12755 2001-10-03 Garst Reese <reese@isn.net>
12757 * lyx_cb.C: change CheckTex error msg.
12759 2001-10-03 José Matos <jamatos@fep.up.pt>
12761 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12763 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12765 * .cvsignore: update
12767 * lyx_main.C (commandLineVersionInfo): use new style version info.
12769 * buffer.C (writeFile):
12771 (makeLinuxDocFile):
12772 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12774 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12776 * version.h: update to use stuff in version.C
12778 * version.C.in: new file. Contains version information determined
12779 at compile time. This is a merging of version.h and
12782 2001-10-03 Juergen Vigna <jug@sad.it>
12784 * BufferView_pimpl.C (update): don't change "dirty" status in
12787 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12789 * WorkArea.C (c-tor): re-position version string slightly.
12791 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12793 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12794 revert to previous code.
12796 WorkArea.[Ch]: (show, destroySplash): methods removed.
12798 WorkArea.C: rework code so that it's an amalgam of the codes before and
12799 after the splash screen was moved to WorkArea.
12801 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12804 * vspace.C (inPixels):
12807 * buffer.C (insertStringAsLines):
12808 (asciiParagraph): fix types to be large enough
12810 * lyxlex_pimpl.h: change member status from short to int
12812 * layout.h: fix type of endlabeltype
12815 * kbsequence.C (parse): change return type to string::size_type
12817 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12820 * Bullet.C (bulletSize):
12821 (bulletEntry): do not use short ints as parameters
12823 * BufferView2.C (insertLyXFile): change a char to an int.
12825 * WorkArea.C (WorkArea): remove unneeded floats in computation
12827 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12829 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12831 * paragraph.C (asString): Do not ignore newline/hfill chars when
12832 copying to the clipboard.
12834 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12836 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12837 after a multi-line inset.
12839 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12841 * paragraph.C (validate): Set NeedLyXFootnoteCode
12843 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12845 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12846 and decrease-error to decrease.
12848 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12850 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12851 it more readable (should be equivalent)
12853 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12855 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12857 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12859 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12860 of a cursor (row, etc.) after a character has been deleted
12861 (deleteEmptyParagraphMechanism): call the method above on _all_
12862 cursors held by the LyXText when a double space has been
12865 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12867 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12869 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12871 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12872 background. Use greyOut() and the new show() methods to toggle between
12873 the foreground and background. Add code to remove the splash after
12874 its initial showing.
12876 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12877 (create_forms): no longer call Dialogs::showSplash.
12879 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12881 * .cvsignore: add version_info.h
12883 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12885 * version_info.h.in: new file
12887 * Makefile.am: add version_info.h.in
12889 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12890 version_info.h instead of VERSION_INFO
12892 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12894 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12895 The ERT inset now returns string().
12897 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12899 * lyxtext.h, text.C (selectNextWord): renamed as
12900 selectNextWordToSpellcheck.
12902 * text.C (selectNextWordToSpellcheck): Modified to not select
12903 words inside an ERT inset.
12905 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12907 * lyx_cb.C (MenuLayoutSave): change a bit the question
12909 * sp_base.h: include <sys/types.h>
12911 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12913 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12915 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12917 * several files: fix typos in user-visible strings
12919 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12921 * text2.C (pasteSelection): do not set the selection, since it
12922 will be cleared later. Actually, the intent was to fix the way the
12923 selection was set, but I figured rmoving the code was just as good.
12925 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12927 * FontLoader.C (available): Check if font is available without
12930 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12932 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12934 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12936 * lyxrc.[Ch]: added display_graphics variable and associated code.
12938 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12940 * bufferparams.C (hasClassDefaults): new method. Returns true if
12941 the buffer parameters correspond to known class defaults
12943 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12945 * XFormsView.C (show): set minimum size to the main window.
12947 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12949 * text2.C (copySelection):
12951 * lyxfind.C (LyXReplace):
12952 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12953 LyXText::selectionAsString.
12955 * paragraph.C (asString): add "label" argument to the second form
12957 * text2.C (selectionAsString): add "label" argument and pass it to
12958 Paragraph::asString.
12960 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12962 * lyx_main.C (commandLineHelp): remove version information
12964 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12966 * lyx_main.C: add -version commandline option
12968 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * paragraph.h: make the optional constructor arg required instead.
12971 some modifications to other files because of this.
12973 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12975 * lyxserver.C (C_LyXComm_callback): make it static
12977 * lyx_main.C (error_handler): make it static
12979 * lyx_gui.C (LyX_XErrHandler): make it static
12981 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12983 * WorkArea.C: make the extern "C" methods static.
12985 * Makefile.am (lyx_LDADD): simplify
12987 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12989 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12990 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12992 * LyXAction.C (init):
12993 * lyxfunc.C (dispatch): associated code removal.
12995 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12997 * lyxfont.h (isSymbolFont): shut off warning
12999 * text.C (setHeightOfRow):
13000 (getVisibleRow): fix crash with empty paragraphs which have a
13003 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13005 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13008 2001-09-04 José Matos <jamatos@fep.up.pt>
13011 * tabular.C (docbook): rename docBook method to docbook.
13013 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13015 * Makefile.am: add dependencies to main.o.
13017 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13019 * FontLoader.C (available): Return false if !lyxrc.use_gui
13021 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13023 * FontInfo.C (query):
13024 * converter.C (view):
13025 * importer.C (Import):
13026 * exporter.C (Export): Can not -> cannot.
13028 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13030 * BufferView_pimpl.C: allow to create index inset even if
13033 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13035 * buffer.C (getLists): replace boost::tie code with an explicit pair
13036 as boost::tie can break some compilers.
13038 * iterators.h: Added a std:: declaration to the return type of
13041 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13043 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13046 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13048 * iterators.[Ch]: New files. Provide paragraph iterators.
13050 * buffer.C (changeLanguage): Use paragraph iterators.
13051 (isMultiLingual): ditto
13053 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13055 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13057 * FontLoader.C: Support for cmr font.
13059 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13061 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13062 (available): New method.
13064 * FontInfo.C (getFontname): Use scalable fonts even when
13065 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13068 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13070 * converter.C (Formats::view): reverted! Incorrect fix.
13072 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13074 * converter.C (Formats::view): only output the -paper option
13075 if the dvi viewer is xdvi, thereby fixing bug #233429.
13077 2001-08-23 Herbert Voss <voss@perce>
13079 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13081 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13083 * Spacing.h (Spacing): Set space to Default on in the default
13086 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13088 * vc-backend.h (RCS::versionString): add RCS to version
13089 (CVS::versionString): add CVS to version
13091 * vc-backend.C (scanMaster): do not add CVS to version.
13092 (scanMaster): do not add RCS to version
13094 * lyxvc.C (versionString): new method
13096 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13098 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13100 * Spacing.C (set): initialize fval
13102 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13104 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13107 2001-08-16 Juergen Vigna <jug@sad.it>
13109 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13111 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13113 * BufferView_pimpl.C:
13116 * text2.C: setParagraph takes linespacing now
13118 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13120 * LyxAction.C: add internal LFUN_CITATION_INSERT
13122 * LyXView.C: actually apply fix
13124 * bufferlist.C: fix open non-existent file
13126 * lyxfind.C: fix indentation
13128 * lyxfunc.C: remove unneeded assert, fix typo
13130 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13132 * MenuBackend.C: use "Floatname List"
13134 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13136 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13137 when converting LaTeX layout to insetERT.
13138 Generate a non-collapsed float when reading old float
13140 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13142 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13145 2001-08-13 Juergen Vigna <jug@sad.it>
13147 * text.C (fill): return 0 instead of 20 as this seems to be the more
13150 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13152 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13155 2001-08-13 Juergen Vigna <jug@sad.it>
13157 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13159 (SearchBackward): comment out the unlocking of the inset_owner this
13160 should not be needed!
13162 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13164 * Many files: Remove inherit_language, and add latex_language
13166 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13167 collapsible insets.
13169 2001-08-10 Juergen Vigna <jug@sad.it>
13171 * text.C (prepareToPrint): fixed hfill-width in draw!
13173 * BufferView2.C (selectLastWord): save the selection cursor as this
13174 now is cleared in the function LyXText::clearSelection!
13176 2001-08-08 Juergen Vigna <jug@sad.it>
13178 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13179 BACKSPACE type functions.
13181 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13182 is only cutted from the document but not put in the cut-buffer, where
13183 still the old stuff should be.
13185 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13187 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13189 * tabular.C (SetWidthOfCell): fixed special case where the width
13191 (LeftLine): handle '|' in align_special.
13193 (LeftAlreadyDrawed): ditto
13194 (SetWidthOfCell): ditto
13196 2001-08-07 Juergen Vigna <jug@sad.it>
13198 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13200 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13203 * lyxlex.[hC]: ditto
13205 2001-08-06 Juergen Vigna <jug@sad.it>
13207 * text.C (getVisibleRow): fix up row clearing a bit.
13209 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * minibuffer.C: make sure the X server sees the changes in the input.
13213 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13215 * paragraph.C (getFont): split into...
13216 (getLabelFont): this
13217 (getLayoutFont): and this
13218 * paragraph_pimpl.C (realizeFont): calling this
13220 * text2.C (getFont): split into...
13221 (getLayoutFont): this
13222 (getLabelFont): and this
13223 (realizeFont): all three calling this
13225 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13228 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13232 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13234 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13235 layouts from the Quote inset insertion.
13237 2001-08-03 Juergen Vigna <jug@sad.it>
13239 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13241 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13242 only if status not is already CHANGED_IN_DRAW (second level).
13244 * text.C (draw): don't set the need_break_row when inside an
13247 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13249 * buffer.C (parseSingleLyXformat2Token): handle more latex
13252 * bufferview_funcs.[hC]: change function names to
13253 begin with small char, adjust other files.
13255 2001-08-02 André Pönitz <poenitz@gmx.net>
13258 BufferView_pimpl.C: remove broken special code for math-greek
13260 2001-08-02 Juergen Vigna <jug@sad.it>
13262 * BufferView_pimpl.C (update): redone this function so that we
13263 update the text again if there was a CHANGE_IN_DRAW.
13265 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13266 (drawFromTo): added a new internal bool which is used by draw() and
13268 (general): some cursor drawing problems fixed.
13270 2001-08-01 Juergen Vigna <jug@sad.it>
13272 * lyxfind.C (LyXFind): fixed
13273 (SearchForward): ditto
13274 (SearchBackward): ditto
13276 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13277 spurius drawing of the cursor in the main area.
13279 * text2.C (status): small fix which could lead to a segfault!
13280 (clearSelection): remove unneeded BufferView param.
13282 2001-08-01 André Pönitz <poenitz@gmx.net>
13284 * lyxfunc.C: small change due to changed mathed interface
13286 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13288 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13290 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13292 * lyxfunc.c: fail gracefully if file doesn't exist
13297 * BufferView_pimpl.C: IsDirWriteable() proto changed
13299 * LyXView.C: fix updateWindowTitle() to store the last title
13301 2001-07-31 Juergen Vigna <jug@sad.it>
13303 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13304 the font (wrong since using of Paragraph::highestFontInRange).
13306 * paragraph.C (highestFontInRange): added a default_size parameter.
13308 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13309 (setHeightOfRow): reformat
13311 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13313 * converter.[hC] + affected files: move to (inital-char)lowercase
13316 * ParagraphParameters.C (ParagraphParameters): remove commented code
13318 * PainterBase.[Ch]: remove commented code
13320 * LaTeXFeatures.h: add "bool floats" for float.sty
13322 * LaTeXFeatures.C (LaTeXFeatures): init floats
13323 (require): handle float
13324 (getPackages): do it with floats
13326 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13328 * BufferView_pimpl.C (Dispatch): improve handling of
13329 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13331 * commandtags.h: #include lyxfont.h here temporarily to avoid
13334 * bufferlist.h: include LString.h here.
13336 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13338 * text2.C (getStringToIndex): new method.
13340 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13342 * *: Reduced header file dependencies all over.
13344 2001-07-30 Baruch Even <baruch@lyx.org>
13346 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13348 2001-07-29 Baruch Even <baruch@lyx.org>
13350 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13352 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * ParameterStruct.h (endif): add a default constructor to make
13355 sure that all variables is initialized.
13357 * ParagraphParameters.C (ParagraphParameters): adjust
13359 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13361 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13362 index; also, check that there is something to index, and that it
13363 does not span over several paragraphs.
13364 (doubleClick): use WHOLE_WORD_STRICT for double click.
13366 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13368 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13371 2001-07-26 Baruch Even <baruch@lyx.org>
13373 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13374 an InsetFig figure, backwards compatible reading of old figure code.
13376 2001-07-27 Juergen Vigna <jug@sad.it>
13378 * text2.C: font.realize function adaption.
13380 * text.C (draw): add a warnings lyxerr text if needed.
13382 * layout.C: font.realize function adaption.
13384 * language.C: add inherit_language and implement it's handlings
13386 * bufferview_funcs.C (StyleReset): remove language parameter from
13387 font creation (should be language_inherit now).
13389 * bufferparams.C (writeFile): handle ignore_language.
13391 * paragraph.C (getFontSettings): the language has to be resolved
13392 otherwise we have problems in LyXFont!
13394 * lyxfont.C (lyxWriteChanges): added document_language parameter
13395 (update): removed unneeded language parameter
13397 * paragraph.C (validate): fixed wrong output of color-package when
13398 using interface colors for certain fonts in certain environments,
13399 which should not seen as that on the final output.
13401 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13403 * BufferView_pimpl.C:
13408 * LyXAction.C: add thesaurus support
13411 * lyxfind.C: add "once" parameter, for thesaurus, to not
13412 move to the next match
13414 2001-07-26 Juergen Vigna <jug@sad.it>
13416 * lyxfont.C (realize): honor ignore_language too!
13419 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13421 * text.C (draw): one place more for ignore_language to not draw
13424 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13426 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13428 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13431 the minipage conversion problem.
13433 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13435 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13438 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * BufferView.h: don't forward declare WorkArea
13442 * BufferView.C: don't include WorkArea.h
13444 2001-07-25 André Pönitz <poenitz@gmx.net>
13448 * lyxfunc.C: new LFUN 'math-space'
13450 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13452 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13454 * text2.C (toggleInset): call open/close
13456 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13458 * lyxfunc.C (dispatch): add debug for the disabled case
13460 * font.C (buttonText): make similar to rectText
13462 * buffer.C (readInset): comment out parsing of insetlist and
13465 * PainterBase.C (rectText): small correction
13467 * BufferView_pimpl.C: comment out insettheorem and insetlist
13468 * LyXAction.C: ditto
13469 * commandtags.h: ditto
13471 2001-07-24 Juergen Vigna <jug@sad.it>
13473 * text.C (draw): honor the ignore_language.
13475 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13477 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13479 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13482 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13484 * lyxtext.h: remove unused (and unimplemented) methods
13486 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13488 * text.C (getVisibleRow): honor background color
13491 * Painter.h: remove default color argument for fillRectangle
13493 * text.C (backgroundColor): new method
13495 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * text.C (getVisibleRow): adjust
13499 * font.[Ch] (rectText): new method, metrics
13500 (buttonText): new method, metrics
13502 * PainterBase.[hC]: make rectText and buttonText always draw and take
13505 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13507 * ToolbarDefaults.C (read):
13508 * MenuBackend.C (read): allow escaping in all strings
13510 * BufferView_pimpl.C (insertAndEditInset): new method.
13511 (Dispatch): use insertAndEditInset whenever appropriate.
13513 * BufferView_pimpl.C (insertNote): removed
13515 * BufferView_pimpl.C (smartQuote): new method, moved from
13516 BufferView; if an insetquote cannot be inserted, insert a '"'
13519 * BufferView2.C: remove insertCorrectQuote();
13521 * lyxfunc.C (getStatus): Add support for all remaingin
13522 inset-insert lfuns.
13524 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13526 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13527 command (necessary to pass " as parameter of self-insert.
13529 * text.C (selectWordWhenUnderCursor):
13530 (selectWord): add word_location parameter
13531 (selectWordWhenUnderCursor): same + remove special code for word
13533 (selectNextWord): use kind() to guess type of insetspecialchar,
13536 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13537 (insertErtContents): create ert insets as collapsed.
13538 (readInset): better compatibility code for Info inset.
13540 2001-07-20 Juergen Vigna <jug@sad.it>
13542 * lyxfunc.C (dispatch): use always LyXFind now!
13544 * text2.C (init): add a reinit flag so that the LyXText can be
13545 reinited instead of deleted and reallocated (used in InsetText).
13547 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13553 2001-07-18 Juergen Vigna <jug@sad.it>
13555 * text.C (selectNextWord): handle insets inside inset by calling
13556 always the bv->text functions so that we can go up the_locking_inset!
13558 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13559 in strange locations when inside an inset!
13561 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13562 handling to include insets.
13564 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13566 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13568 * LyXAction.C (init):
13570 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13571 LIGATURE_BREAK, since the name is so stupid.
13573 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13575 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13578 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13580 * sp_form.[Ch]: remove.
13582 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13584 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13587 * src/buffer.C (readInset): ditto.
13589 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13591 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13592 menuSeparator(), endOfSentenceDot(), ldots() and
13593 hyphenationPoint(), which are therefore removed.
13594 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13596 * LyXAction.C (init):
13597 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13599 * paragraph.C (getWord): removed.
13601 * BufferView_pimpl.C (Dispatch): use last word or selection for
13602 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13604 * lyx_main.C (queryUserLyXDir): do not ask before creating
13605 user_dir, except if it has been named explicitely.
13607 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13609 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13610 a document of zero size.
13612 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13614 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13615 approriately in the c-tor and in require().
13616 (getPackages): output the appropriate LaTeX for natbib support.
13618 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13619 variables "use_natbib" and "use_numerical_citations" when reading the
13621 (readInset): read the various natbib cite commands.
13622 (validate): white-space change.
13624 * bufferparams.[Ch]: new variables "bool use_natbib" and
13625 "bool use_numerical_citations".
13626 (writeFile): output them in the LyX file.
13628 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13630 * lyxfunc.C (getStatus): add support for all the inset insertion
13633 * text2.C (insertInset):
13634 * paragraph.C (insetAllowed):
13635 * BufferView_pimpl.C (insertInset): update to take in account the
13636 renaming of insertInsetAllowed
13638 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13640 * text2.C (getInset): new method. returns inset at cursor position.
13642 * BufferView_pimpl.C (Dispatch): changes because of this.
13644 * LyXAction.C (init): rename open-stuff to inset-toggle.
13646 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13648 * text2.C (toggleInset): renamed from openStuff; use
13651 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13653 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13655 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13657 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13659 * buffer.C (readLyXformat2): Add filename to the error dialog
13661 2001-07-18 Juergen Vigna <jug@sad.it>
13663 * tabular.C (GetCellNumber): put an assert here instead of the check!
13665 2001-07-17 Juergen Vigna <jug@sad.it>
13667 * BufferView_pimpl.C (toggleSelection): adapted too.
13669 * text.C (selectNextWord): adapted for use with insets.
13670 (selectSelectedWord): ditto
13672 2001-07-17 Juergen Vigna <jug@sad.it>
13674 * sp_spell.C (PSpell): fix initialitation order.
13676 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13678 * paragraph.C: spacing
13680 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13682 * sp_spell.C: repair language selection for pspell
13684 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * lyxfunc.h: change more methods to begin with lower char.
13688 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13690 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13691 for unknown layouts.
13693 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13695 * buffer.C (readLyXformat2): Generate an error dialog if there are
13698 2001-07-16 Juergen Vigna <jug@sad.it>
13700 * sp_spell.C: always compile ISpell part.
13702 * lyxrc.C: added use_pspell entry and it's handling.
13704 2001-07-13 Juergen Vigna <jug@sad.it>
13706 * sp_spell.C: removed double includes.
13708 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13710 Consistent use of Lsstream.h:
13711 * Lsstream.h: added using std::stringstream for consistencies sake.
13713 * buffer.C: removed using std::stringstream
13715 * lyxfont.C (stateText):
13716 * paragraph.C (asString):
13717 * text.C (selectNextWord, selectSelectedWord):
13718 * text2.C (setCounter):
13719 * vspace.C (asString, asLatexString):
13720 std::ostringstream -> ostringstream.
13722 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13724 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13725 * commandtags.h: add LFUN_HELP_ABOUTLYX
13726 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13728 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13730 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13732 * lyx_gui_misc.C: remove spellchecker
13733 * lyxfunc.C: showSpellchecker
13735 * sp_ispell.h: added
13736 * sp_pspell.h: added
13737 * sp_spell.C: added
13738 * sp_form.[Ch]: removed
13739 * spellchecker.[Ch]: removed
13741 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13743 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13745 (simpleTeXSpecialChars): Simply print the input character without
13746 any special translation if pass_thru is set.
13748 * layout.h: Added bool pass_thru to layout class for being able to
13749 implement pass through of a paragraph for Literate Programming.
13751 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13752 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13753 * layout.C (Read): add "passthru" to list of layout tags and add
13754 code to set the pass_thru boolean when it is read.
13756 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * trans_decl.h: remove allowed from KmodInfo
13760 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13761 remove allowed code
13764 * paragraph_pimpl.C (erase): use boost::prior
13766 * Painter.C (text): use data() instead of c_str() when length is
13768 * WorkArea.C (putClipboard): ditto
13769 * font.h (width): ditto
13771 * BufferView2.C: use it-> instead of (*it). for iterators
13773 * paragraph_pimpl.C: ditto
13774 * paragraph.C: ditto
13775 * minibuffer.C: ditto
13776 * language.C: ditto
13778 * encoding.C: ditto
13779 * counters.C: ditto
13780 * converter.C: ditto
13782 * Variables.C: ditto
13783 * TextCache.C: ditto
13784 * MenuBackend.C: ditto
13785 * LyXAction.C: ditto
13787 * FloatList.C: ditto
13788 * DepTable.C: ditto
13789 * ColorHandler.C (LyXColorHandler): ditto
13791 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13793 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13795 * text2.C (openStuff): reintroduce this method (which had been
13796 nuked in NEW_INSETS frenzy).
13798 * lyxfunc.C (Dispatch): when an action has not been handled, use
13799 its name in the error message, not its number.
13801 * paragraph.C (inInset): change method name to begin with lowercase.
13804 * text2.C: updates because of this.
13806 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13808 * ToolbarDefaults.C (add): add spaces in error message
13810 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13812 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13813 (readLyXformat2): rename return_par to first_par, use lyxlex's
13814 pushToken and remove the manual push handling.
13815 (parseSingleLyXformat2Token): add another ert comp. variable:
13816 in_tabular, rename return_par to first_par. handle newlines better
13818 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13820 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13822 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13824 * text2.C (getParFromID): removed
13826 * buffer.C (getParFromID): new method moved form lyxtext.
13827 * BufferView2.C (insertErrors): adjust
13828 (setCursorFromRow): adjust
13829 * BufferView_pimpl.C (restorePosition): adjust
13830 * lyxfunc.C (Dispatch): adjust
13831 * undo_funcs.C (textUndo): adjust
13833 (textHandleUndo): adjust
13834 (textHandleUndo): adjust
13836 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * buffer.C: up' the LYX_FORMAT
13840 * lyxfont.h: turn NO_LATEX on as default
13842 * buffer.C (insertErtContents): new methods of tex style compability.
13843 (parseSingleLyXformat2Token): use it several places.
13844 * tabular.C (OldFormatRead): and here
13846 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13848 * text2.C: remove some commented code.
13851 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13852 * trans.C: changes because of the above.
13854 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13856 * text2.C (setCounter): Fix counters bug with bibliography layout.
13858 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13860 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13861 own member functions
13862 (simpleTeXSpecialChars): ditto
13864 2001-07-06 Juergen Vigna <jug@sad.it>
13866 * a lot of files: changed the access to LyXText::status and the
13867 call of undo-functions.
13869 * undo.[Ch]: added a inset_id to the undo informations.
13871 * undo_funcs.[Ch]: added and moved here all undo functions.
13873 * lyxtext.h: give the status enum a weight, made status_ a private
13874 variable and made accessor functions for it, removed the whole bunch
13875 of undo-functions as they are now in their own file, make some
13876 functions publically available. Added function ownerParagraph with
13879 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13880 made InInset() a const function, added getParFromID() function.
13882 * buffer.[Ch]: added const version for inset_iterator functions,
13883 added getInsetFromID() function.
13885 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13886 changed undo functions for new version.
13888 2001-07-05 Juergen Vigna <jug@sad.it>
13890 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13891 unknow mechanism does not call the proper constructor but only this
13892 one also if I request the other!?
13894 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13896 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13898 * text2.C (LyXText): use initialization lists.
13900 * lyxtext.h (Selection): initialize set_ and mark_
13901 (init): remove method
13903 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13905 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13907 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13909 * screen.[Ch]: change method names to begin with lowercase
13911 * BufferView_pimpl.C (updateScrollbar): simplify further and
13912 hopefully make it a bit faster.
13914 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13916 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13917 calling directly xforms functions.
13919 * Painter.C (Painter):
13920 * lyx_cb.C (MenuWrite):
13921 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13924 * lyx_gui.C: remove bogus guiruntime extern declaration.
13926 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13928 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13930 (redoDrawingOfParagraph): ditto
13931 (redoParagraphs): ditto
13932 (cutSelection): don't create a object for CutAndPaste use the
13933 static method directly
13934 (pasteSelection): ditto
13936 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13939 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13941 * modifications to some other files because of this.
13943 * Makefile.am (lyx_SOURCES): add XFormsView
13945 * XFormsView.[Ch]: new files
13947 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13948 the main window. Move the gui dependent stuff to XFormsView
13950 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * tabular.C (GetCellInset): update cur_cell also in the row/col
13953 version of this function.
13955 * lyxfunc.C: no need to include figure_form.h here.
13961 * lyxvc.C: no need to include forms.h here.
13963 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13965 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13967 * lyxfunc.C (Dispatch):
13969 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13970 constructor argument.
13972 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13974 * paragraph.C (Paragraph): dont't clear, and just set layout.
13975 (makeSameLayout): use params's copy contructor.
13977 * ParagraphParameters.[Ch] (makeSame): delete method
13979 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13981 * Variables.[Ch]: fix indentation, rename set to isSet
13983 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13985 * lyxfunc.C (Dispatch): fix typo
13987 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13989 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13992 * bufferlist.C: include assert.h for emergencyWrite().
13994 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13996 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13997 give up at last (bug #425202) !
13999 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14005 * spellchecker.C: strip spellchecker options and bring up
14006 preferences tab instead
14008 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14010 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14011 the istringstream constructor
14013 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14015 * paragraph.C (getLayout): fix return value
14017 * paragraph.h: do not declare getLayout as inline.
14019 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14021 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14023 * lyxcursor.h (operator<): new func
14024 (operator>): new func
14025 (operator>=): new func
14026 (operator<=): new func
14028 * text.C (changeCase): use selection.start and selection.end
14029 (changeRegionCase): require from to be <= to. Require par to be a
14032 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14034 2001-06-27 Juergen Vigna <jug@sad.it>
14036 * text.C (cursorLeftOneWord): changed to return the cursor and added
14037 overlay with BufferView * parameter which calls this one.
14039 (selectWord): use new getWord function.
14040 (changeCase): renamed from changeWordCase as and extended to work
14041 also on selections.
14043 * lyxtext.h: added enum word_location
14045 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14046 changeCase as this operates now also on selections.
14048 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14050 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14052 * many files: send debug output to Debug::INFO instead of
14055 * converter.C (View):
14057 (Move): send debug output to Debug::FILES instead of console.
14059 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14061 * lyxfunc.C (getStatus): use func_status
14063 * func_status.h: new header, describing the results of
14064 LyXFunc::getStatus;
14066 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14069 2001-06-25 The LyX Project <jug@sad.it>
14071 * buffer.C (sgmlOpenTag):
14073 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14075 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14077 * text2.C: remove some dead code
14079 * tabular.C (GetCellInset): store the last cell checked (gotten)
14081 * tabular.h: add the helper for the speedup
14083 * lyxtext.h: remove some dead code
14085 2001-06-26 The LyX Project <Asger>
14087 * paragraph.C: Change export to LaTeX of alignment to
14088 \begin{center} and family for better roundtrip work with reLyX.
14090 * Tune the math drawing a bit.
14092 2001-06-25 The LyX Project <Asger>
14094 * LColor.C (LColor): New color for math background. New color
14097 2001-06-25 The LyX Project <jug@sad.it>
14099 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14101 * lyxfunc.C (Open):
14102 * bufferlist.C (newFile): do not restrict to files ending with
14105 * BufferView_pimpl.C (MenuInsertLyXFile):
14107 2001-06-24 The LyX Project <jug@sad.it>
14109 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14112 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14114 * lyxtext.h: rename most methods to begin with a small char.
14115 Lots of changes because of this.
14117 * paragraph.C (Paragraph): do not call fitToSize
14118 (erase): call Pimpl::erase
14119 (insertChar): call Pimpl::insertChar
14120 (insertInset): call Pipl::insertInset
14121 (breakParagraph): do not call fitToSize
14122 (breakParagraphConservative): do not call fitToSize
14123 (fitToSize): remove method
14125 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14127 2001-06-24 The LyX Project <Asger>
14129 * Fix Qt compilation^2
14131 2001-06-24 The LyX Project <jug@sad.it>
14133 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14134 depthHook(getDepth()-1).
14137 * ParagraphParameters.h:
14138 * ParameterStruct.h: change type of depth to unsigned int ==
14139 depth_type. Many adaptations to other files before of that.
14141 2001-06-24 The LyX Project <Asger>
14143 * Fix Qt compilation.
14145 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14147 * paragraph.h: renamed several methods to begin with small letter.
14148 several changes to many parts of the code because of this.
14150 2001-06-23 The LyX Project <jug@sad.it>
14152 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14153 rewritten to discard all double spaces when KeepEmpty is off
14154 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14155 to only handle newlines but not fiddle with spaces and friends.
14157 * lyxfunc.C (MenuNew): when doing 'new from template', use
14158 template_path as default directory
14160 2001-06-23 The LyX Project <Asger>
14162 * Clean-up of header file includes all over
14163 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14165 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14167 * paragraph.h: renamed from lyxparagraph.h
14169 2001-06-23 Asger <lyx@violet.home.sad.it>
14171 * Buffer.h: Removed Buffer::resize
14172 * BufferList.h: Removed BufferList::resize
14173 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14174 the document lazily when we change the width, or the font settings.
14176 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14178 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14180 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14182 * buffer.h: remove out of date comment
14184 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14187 * screen.C: fix "theoretical" GC leak
14189 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14191 * LaTeX.C (scanAuxFile):
14192 (deplog): remove trailing \r when reading stream (useful under
14195 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14197 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14198 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14199 and BufferView::theLockingInset(Inset*), so should use them and not
14200 access bv_->text->the_locking_inset directly.
14202 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14204 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14207 * tex-defs.h: remove old unused file
14209 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14211 * BufferView_pimpl.C: fix typo, remove minibuffer message
14212 when buffer has loaded
14214 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14216 * lyxfunc.C (Dispatch): use stringstream
14217 (MenuNew): use stringstream
14218 (Open): use stringstream
14220 * importer.C (Import): use stringstream
14222 * bufferview_funcs.C (CurrentState): use stringstream
14224 * LaTeX.C (run): use stringstream
14226 * BufferView_pimpl.C (savePosition): use stringstream
14227 (restorePosition): use stringstream
14228 (MenuInsertLyXFile): use stringstream
14230 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14243 * vspace.C: removed // -*- C++ -*- as first line.
14246 * version.h: added // -*- C++ -*- as first line.
14248 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14250 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14252 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14255 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14257 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14260 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14262 * gettext.C: include LString.h even when --disable-nls is on.
14264 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14266 * converter.h (Get): changed argument type from int to
14267 FormatList::size_type to avoid unnecessary conversion.
14269 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14272 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14274 * gettext.h: include LString.h even when --disable-nls is on.
14276 2001-06-07 Juergen Vigna <jug@sad.it>
14278 * text.C (BreakAgain): subst spaces with tabs.
14280 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14281 (resizeInsetsLyXText): set force on resizeLyXText.
14283 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14285 * gettext.h (gettext_init):
14286 (locale_init): use a real definition instead of a macro
14288 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14290 * Bufferview_pimpl.C:
14292 * LColor.C: further lcolor tidies
14294 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14296 * BufferView_pimpl.C (updateScrollbar): simplify.
14298 * BufferView2.C: don't include insets/insetinfo.h, change
14299 prototype for insertInset and call the Pimpl version. let
14300 updateInset call Pimpl version.
14302 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14303 gotoInset to BufferView::Pimpl
14305 2001-06-01 Juergen Vigna <jug@sad.it>
14307 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14308 inside a LockingInset (is the update needed at all?).
14310 2001-05-31 Juergen Vigna <jug@sad.it>
14312 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14313 here not the old one otherwise how should we compare it afterwards
14316 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14321 * FontInfo.C: bring C functions into global namespace when
14324 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14326 * LString.h: make sure config.h has been loaded before LString.h.
14328 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14329 (one for each char read by EatLine!).
14331 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14334 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14336 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14337 to the same as the par we break from
14339 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14341 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14343 * MenuBackend.C (expand): also create menu entries for wide
14344 versions of the floats.
14346 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14348 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14350 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14351 frontends/Makefile.am
14357 * tabular.C (getTokenValue): add std::
14359 * tabular-old.C (getTokenValue): add std::
14360 (getTokenValue): ditto
14361 (getTokenValue): ditto
14363 * screen.C (ToggleSelection): adjust
14365 * lyxtext.h: put selection cursors inside a Selection struct.
14367 * lyxfunc.C (moveCursorUpdate): adjust
14369 * lyxfont.C (latexWriteStartChanges): add std::
14371 * lyxfind.C: adjust
14373 * font.h: delete with(char const *, LyXFont const &)
14375 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14377 * FontInfo.C (getFontname): add std::
14379 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14380 (workAreaButtonPress): adjust
14381 (tripleClick): adjust
14383 (moveCursorUpdate): adjust
14386 * BufferView2.C (gotoInset): adjust
14388 2001-05-30 Juergen Vigna <jug@sad.it>
14390 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14391 to check pspell I add this as default as I now have new pspell
14392 libraries and they seem to use this.
14394 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14396 * text2.C (CutSelection): make the cursor valid before the call to
14399 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14401 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14402 relied on 0 terminated strings and other horrors. Bug found due to
14403 the new assert in lyxstring!
14405 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14408 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14410 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14413 * lyxfunc.C (processKeySym): change method of getting to the
14416 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14417 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14418 * BufferView_pimpl.[Ch]: here as private methods.
14420 2001-05-28 Juergen Vigna <jug@sad.it>
14422 * text.C (SetHeightOfRow): added the update() call again as it is
14423 needed to initialize inset dimensions!
14425 2001-05-16 Juergen Vigna <jug@sad.it>
14427 * text2.C (SetCharFont): Add new function with BufferView * and
14428 bool toggleall parameters for setting insets internal fonts.
14429 (SetFont): Freeze the undo as we may change fonts in Insets and
14430 all this change should be inside only one Undo!
14432 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14433 setting font's in insets as for them we have the SetFont function!
14435 2001-05-15 Juergen Vigna <jug@sad.it>
14437 * text2.C (ClearSelection): to be sure we REALLY don't have any
14440 * tabular.C (TeXCellPreamble): fixed the left border problem for
14443 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14445 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14448 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14450 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14451 LFUN_BREAKPARAGRAPH.
14453 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14454 help test to "internal only", similar for LFUN_INSERT_URL
14456 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14457 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14458 auto_region_delete and deadkeys.
14460 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14463 * LColor.C: remove some dead entries, tidy a little
14465 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14467 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14469 (Dispatch): implement LFUN_ESCAPE
14471 * commandtags.h: add LFUN_ESCAPE
14473 * LyXAction.C (init): add entry for LFUN_ESCAPE
14475 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14476 Remove commented code.
14477 (insertNote): moved here
14478 (open_new_inset): moved here
14480 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14483 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14485 * kbmap.C (findbinding): clean it up and make it work correctly.
14487 * lyx_main.C (init): do not pass argc and argv as parameters
14489 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14491 * buffer.C: fix path for OS/2 & Win32
14495 * lyx_main.C: Added os:: class.
14497 * os2_defines.h: update
14499 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14501 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14502 better by trying again with reduced state.
14504 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14506 * lyxrc.C (read): print error about invalid key sequence only when
14507 debugging (because not all latinX keysyms are known to some X
14510 * kbsequence.C (getiso): add a few std:: qualifiers
14511 (getiso): comment out extra return statement.
14513 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14515 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14517 (Dispatch): enhance the accent inset a bit. (not perfect)
14519 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14521 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14523 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * bufferlist.C (emergencyWrite): fix assert() call
14527 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14529 * text.C (InsertChar): Added trivial patch to only send the "you
14530 can not do multiple spaces this way" message once during a
14533 2001-05-08 Baruch Even <baruch@lyx.org>
14535 * Makefile.am: Changed order of libraries to get LyX to link properly
14536 with the gnome frontend.
14538 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14540 * LaTeXFeatures.h: add a std:: qualifier
14542 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14544 * paragraph.C (String): use stringstream
14546 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14548 * paragraph.C (writeFile): remove footflag arg
14550 * buffer.C (makeLaTeXFile): use stringstream
14551 (latexParagraphs): remove footnot gurba
14553 * LaTeXFeatures.C (getPackages): use stringstream
14554 (getMacros): likewise
14555 (getTClassPreamble): likewise
14556 (getFloatDefinitions): new method
14558 * paragraph.C (writeFile): reindent
14561 * WorkArea.h: revert the xpos + etc changes.
14563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14565 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14567 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14568 (pasteSelection): likewise
14569 * text2.C (CreateUndo): likewise
14571 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14573 * minibuffer.C (peek_event): temporarily reduce the functionality
14574 of the minibuffer (to allow args on lfuns)
14576 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14577 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14579 * buffer.C (readInset): add compability reading of old float
14580 lists, add reading of new style float list.
14581 (readInset): avoid reevaluation of inscmd.getCmdName()
14582 (getLists): reindent
14584 * MenuBackend.C (MenuItem): implement parsing of
14585 md_floatlistinsert and md_floatinsert.
14586 (expand::LastFiles): move initalizaton of iterators out of loop,
14587 avoid reevaluation.
14588 (expand::Documents): introduce typdedef vector<string> Strings,
14590 (expand::ExportFormats): introduce typedef vector<Format const *>
14591 Formats, and use it.
14592 (expand): implement FloatListInsert and FloatInsert.
14594 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14595 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14596 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14598 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14600 (Dispatch::LFUN_FLOAT_LIST): implement
14602 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14604 * LaTeX.C (run): Fix problem with --export code.
14606 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14608 * BufferView.[Ch] (workarea): removed.
14609 (getClipboard) new method; wrapper for workarea()->getClipboard()
14611 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14614 * WorkArea.h (width, height, xpos, ypos): These methods all
14615 returned the dimensions of the work_area sub-area of WorkArea,
14616 resulting in a position error if the WorkArea were resized. Now
14617 return the dimensions of the entire WorkArea.
14619 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14621 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14623 * LaTeX.C (deplog): correct the syntax of regex reg1
14625 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14627 * undo.C: remove !NEW_INSETS cruft
14629 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14631 * text2.C: remove !NEW_INSETS cruft
14633 * text.C: remove !NEW_INSETS cruft
14635 * tabular.C: remove !NEW_INSETS cruft
14637 * spellchecker.C: remove !NEW_INSETS cruft
14639 * lyxtext.h: remove !NEW_INSETS cruft
14641 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14643 * lyxfunc.C: remove !NEW_INSETS cruft
14645 * lyxfind.C: remove !NEW_INSETS cruft
14647 * lyx_cb.C: remove !NEW_INSETS cruft
14649 * figureForm.C: remove !NEW_INSETS cruft
14651 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14653 * buffer.[Ch]: remove !NEW_INSETS cruft
14655 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14657 * CutAndPaste.C: remove !NEW_INSETS cruft
14659 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14661 * BufferView2.C: remove !NEW_INSETS cruft
14663 * BufferView.h: remove !NEW_INSETS cruft
14665 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14667 * Lsstream.h: include LString.h before the sstream headers to
14668 fix problem with gcc 2.95.3 and lyxstring
14670 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14672 * lyx_main.C: add using directives when needed for C functions
14673 declared in std:: namespace.
14675 2001-04-27 Juergen Vigna <jug@sad.it>
14677 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14678 (SetHeightOfRow): comment out the update call should not be needed!
14680 2001-04-13 Juergen Vigna <jug@sad.it>
14682 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14683 (LyXTabular): tried to minimize operator= operations (and realized
14684 hopfully Lars wish).
14686 2001-04-27 Juergen Vigna <jug@sad.it>
14688 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14690 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14692 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14694 * buffer.C (readInset): hack to make listof algorithm work
14696 * BufferView_pimpl.C: hack to make listof algorithm work
14698 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14700 * LyXAction.C: removed all !NEW_INSETS cruft
14701 (init): moved lfun_item in method
14703 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14705 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14707 * BufferView2.C (theLockingInset): white space.
14709 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14711 * minibuffer.C: include <iostream>
14713 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14715 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14717 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14719 * text.[Ch] (TransposeChars): new method
14721 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14723 * call message directly through LyXView instead of through LyXFunc
14724 * BufferView2.C: adjust
14725 * BufferView_pimpl.C: adjust
14726 * FontLoader.C: adjust
14728 * bufferview_funcs.C: adjust
14729 * converter.C: adjust
14730 * figureForm.C: adjust
14731 * importer.C: adjust
14733 * lyx_gui_misc.C: adjust
14734 * lyxfunc.C: adjust
14737 + more files in subdirs
14739 * lyxparagraph.h (size): move up int file
14742 * adjust all uses of Assert to lyx::Assert.
14744 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14745 lyxfunctional in namespace lyx
14746 * layout.C (hasLayout): ditto
14749 (delete_layout): ditto
14750 (NumberOfClass): ditto
14751 * converter.C (GetFormat): ditto
14756 * bufferlist.C (getFileNames): ditto
14757 (emergencyWriteAll): ditto
14760 * MenuBackend.C (hasSubmenu): ditto
14763 * BufferView_pimpl.C (getInsetByCode): ditto
14765 2001-04-18 Juergen Vigna <jug@sad.it>
14767 * vspace.C (asLatexString): fixed the 100% problem.
14769 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14771 * lyxfunc.C (Dispatch):
14773 * minibuffer.h: add a few std:: qualifiers
14775 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14777 * minibuffer.[Ch]: reimplement so that commands is initiated and
14778 run from lyxfunc, simplified som handling, and made the completion
14779 and history code for complete. wip.
14781 * lyxfunc.C (processKeySym): call message
14782 (miniDispatch): new temporary method
14783 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14784 (LFUN_MESSAGE): implement
14785 (LFUN_MESSAGE_PUSH): implement
14786 (LFUN_MESSAGE_POP): implement
14787 (initMiniBuffer): the initial/defualt minibuffer message.
14789 * lyxfont.[Ch]: inline some more getters
14791 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14793 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14795 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14796 (AutoSave): use LFUN_MESSAGE
14797 (Reconfigure): ditto
14799 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14801 * figureForm.C: use LFUN_MESSAGE
14803 * converter.C (runLaTeX): use LFUN_MESSAGE
14805 * bufferview_funcs.C: use LFUN_MESSAGE
14807 (changeDepth): ditto
14809 * bufferparams.h: use boost::
14811 * bufferlist.h: inherit privately from noncopyable
14813 * bufferlist.C (loadLyXFile): remove some commented code.
14815 * buffer.C (runChktex): use LFUN_MESSAGE
14817 * ShareContainer.h: inherit privately from noncopyable
14819 * ParagraphParameters.[hC] (depth): inline it.
14821 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14823 (message): new method
14824 (messagePush): ditto
14825 (messagePop): ditto
14826 (show): init minibuffer
14827 (showState): direct call
14829 * LaTeX.[Ch]: inherit privately from noncopyable
14830 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14831 instead of WriteStatus.
14833 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14835 * BufferView_pimpl.C (buffer): don't init minibuffer
14836 (workAreaButtonPress): use LFUN_MESSAGE
14837 (workAreaButtonRelease): ditto
14838 (savePosition): ditto
14839 (restorePosition): ditto
14840 (MenuInsertLyXFile): ditto
14841 (workAreaExpose): don't init minibuffer
14842 (update): remove commented code, simplify
14844 * BufferView2.C (openStuff): use LFUN_MESSAGE
14845 (toggleFloat): ditto
14848 (copyEnvironment): ditto
14849 (pasteEnvironment): ditto
14854 (updateInset): remove some commented code
14856 * lastfiles.h: inherit privately from noncopyable
14859 * lyx_main.h: ditto
14861 * lyxlex_pimpl.h: ditto
14863 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14864 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14865 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14867 * LyXAction.h: inherit privately from noncopyable, add methods
14868 func_begin, func_end, returning iterators to the func map.
14870 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14871 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14872 (func_begin): new method
14873 (func_end): new method
14875 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14877 (copySelection): ditto
14878 (pasteSelection): ditto
14880 * BufferView.C: whitespace change
14881 * BufferView.h: inherit privately from noncopyable
14883 2001-04-16 Allan Rae <rae@lyx.org>
14885 * tabular-old.C (l_getline):
14886 * spellchecker.C (sc_check_word):
14887 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14888 an unrecognised preprocessor directive. So ensure they're wrapped.
14890 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14892 * src/exporter.C (Export): Give an error message when path to file
14895 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14897 * LaTeX.C (deplog): Always check that foundfile exists.
14899 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14902 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14904 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14906 * tabular.[Ch] (getLabelList): implement new method
14908 * minibuffer.h: comment ouf setTiimer
14910 * minibuffer.C (ExecutingCB): constify res
14911 (peek_event): constify s
14912 (Set): constify ntext
14913 (Init): constify nicename
14915 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14917 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14918 (savePosition): use two params to Minibuffer::Set
14919 (restorePosition): ditto
14921 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * lyx_main.C: include language.h
14925 * Makefile.am (lyx_main.o): add language.h
14927 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14933 * CutAndPaste.C: include gettext.h
14935 * lyxfont.h: remove old hack with ON and OFF.
14938 * lyxfont.h: do not include language.h...
14943 * bufferview_funcs.C:
14949 * paragraph.C: ... but do it here instead
14951 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14953 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14955 * tabular.C: small reformat
14957 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14960 (BreakParagraph): ditto
14961 (SetOnlyLayout): ditto
14964 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14967 * lastfiles.C: removed most using decl, add std:: where needed
14969 * buffer.C: ws changes
14971 * MenuBackend.C (class compare_format): put into anon namespace
14972 (expand): constify label, names, action, action2
14975 * text.C (SingleWidth): constify font
14976 (IsBoundary): constify rtl2
14977 (GetVisibleRow): constify ww
14979 * LaTeX.C (deplog): constify logfile
14981 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14983 (workAreaExpose): constify widthChange, heightChange
14985 * lyxrow.C (par): moved
14988 * lyxrow.h: as inlines here
14990 * lyxfont.h (shape): moved from lyxfont.C
14991 (emph): moved from lyxfont.C
14993 * lyxfont.C (LyXFont): use initialization list for all
14995 (shape): move to lyxfont.h as inline
14996 (emph): move to lyxfont.h as inline
14999 2001-04-04 Juergen Vigna <jug@sad.it>
15001 * vspace.C: had to include stdio.h for use of sscanf
15003 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15006 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15007 independent of xforms.
15009 2001-04-02 Juergen Vigna <jug@sad.it>
15011 * spellchecker.C: fixed namespace placing!
15013 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15015 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15016 the LyXParagraph * is 0.
15018 2001-03-29 Juergen Vigna <jug@sad.it>
15020 * vspace.C: added support for %, c%, p%, l%.
15021 (stringFromUnit): added helper function.
15022 (asLatexString): changed to give right results for the %-values.
15024 * buffer.C: convert the widthp in a width%.
15026 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15028 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15031 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15032 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15034 * lyx_cb.[Ch]: see above.
15036 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15040 * lyx.[Ch]: replaced by figure_form.[Ch].
15044 * lyxfunc.C: changed headers associated with above changes.
15046 2001-03-27 Juergen Vigna <jug@sad.it>
15048 * BufferView_pimpl.C: set the temporary cursor right!
15050 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15052 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15054 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15056 * LString.h: removed "using std::getline"!
15058 * BufferView_pimpl.C (Dispatch): changes due to changes in
15059 InsetInclude::Params.
15061 * buffer.C (tag_name): removed redundant break statements as they were
15062 producing lots of warnings with my compiler.
15064 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15066 * LString.h: add "using std::getline" when using the real <string>.
15068 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15070 * buffer.C: removed bitset usage.
15071 PAR_TAG moved to an anonymous name space.
15072 (tag_name): new funtion, also in the anonymous namespace.
15073 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15074 (makeDocBookFile): clean code. Completed transition from string arrays
15076 (SimpleDocBookOnePar): code clean.
15078 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15080 * tabular.C: add some comments.
15082 2001-03-22 Juergen Vigna <jug@sad.it>
15084 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15085 compatibility read a bit and fixed bug with minipage in different
15088 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15090 * buffer.C (pop_tag): removed.
15091 (push_tag): removed.
15092 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15093 array replaced with vector. Added support for CDATA sections.
15094 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15096 (makeDocBookFile): XML conformant declaration of CDATA section,
15097 fixed bug related to <emphasis> in the first paragraph char.
15098 (sgmlOpenTag): exclude empty tags.
15099 (sgmlCloseTag): ditto.
15101 * buffer.h (pop_tag): removed.
15102 (push_tag): removed.
15104 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15106 * language.h (Languages): added size_type and size().
15108 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15110 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15111 response on compability reading of minipages. One probliem is that
15112 the old usage of minipages was «flertydig»
15114 * several files here and in subdirs: don't use static at file
15115 scope use anon namespaces instead.
15117 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15119 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15120 LaTeX output. This is necessary for Literate document
15123 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15125 * buffer.C: insert hfill when needed.
15127 * tabular.C (l_getline): use string::erase, small whitespace change.
15129 * BufferView_pimpl.C: try the anon namespace.
15130 * WorkArea.C: ditto
15132 2001-03-16 Juergen Vigna <jug@sad.it>
15134 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15135 otherwise it won't open options-dialogs.
15137 * buffer.C: honor pextraWidth(p) on converting minipages.
15139 * tabular.C (l_getline): changed the functions to strip trailing \r.
15141 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15143 * BufferView_pimpl.C:
15144 * minibuffer..C: added "using SigC::slot" declaration.
15146 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15148 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15154 * paragraph.C: ditto
15156 * lyxtext.h: NO_PEXTRA
15158 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15160 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15161 * ParameterStruct.h: ditto
15162 * ParagraphParameters.h: ditto
15163 * lyxparagraph.h: ditto
15165 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15167 * buffer.C: add compability for minipage alignment.
15168 (latexParagraphs): remove unwanted pextra check.
15170 * several files: remove CXX_WORKING_NAMESPACES
15172 * buffer.C (pop_tag): tie is in namespace boost
15174 * BufferView.h: noncopyable is in namespace boost
15176 * lyx_main.h: ditto
15179 * lastfiles.h: ditto
15180 * bufferlist.h: ditto
15181 * ShareContainer.h: ditto
15183 * LyXAction.h: ditto
15186 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15188 * Merging changes from BRANCH_MVC back into HEAD.
15190 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15192 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15194 * BufferView_pimpl.C: change from intl.C
15198 * Makefile.am: move combox.*
15204 * intl.C: remove dialog (covered by prefs)
15206 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15208 * lyxfunc.C (Dispatch): removed redundant break statement.
15210 2001-03-14 Juergen Vigna <jug@sad.it>
15212 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15214 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15216 * buffer.C: add hack to fix compability reading of minipages.
15218 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15220 * buffer.C (getLists): Cleanup.
15222 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15224 * lyxfont.C (update): don't honor toggleall on font size.
15226 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15230 * Makefile.am: moved to frontends/xforms/
15234 * BufferView_pimpl.C: changes for moved mathpanel
15236 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15238 * gettext.h: fix gettext_init() in --disable-nls
15240 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15242 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15244 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15247 * lyx.h: strip external form
15249 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15251 * BufferView_pimpl.C: add comment, destroySplash()
15253 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15255 * BufferView_pimpl.C:
15259 * lyxfunc.C: use re-worked insetinclude
15261 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15263 * buffer.C: add using std::stringstream.
15265 * lyx_cb.C: readd using std::ios.
15267 * buffer.C: add using std::map.
15269 * BufferView_pimpl.C: add using std::vector.
15271 * ShareContainer.h: add std:: to swap.
15273 * buffer.h: add some typedefs
15274 * buffer.C (getLists): use them
15275 (getLists): renamed from getTocList.
15276 add a counter for the different float types and use it in the
15278 (getLists): use the same counter for the NEW_INSETS and the "non"
15281 * lyx_cb.h: remove unused items, includes, using etc.
15283 * ShareContainer.h: remove some commented code, add more comments
15284 and "documentation".
15286 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15288 * buffer.C (getTocList): make the list also when NEW_INSETS is
15291 * buffer.h: remove TocType
15293 * buffer.C (getTocList): change to return a map<string,
15294 vector<TocItem> >, implement for dynamic number of list.
15296 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15297 * text2.C (PasteSelection): adjust
15298 * CutAndPaste.C (pasteSelection): adjust
15300 * FloatList.C (FloatList): update from the new_insets branch.
15301 * Floating.[Ch]: ditto
15302 * LaTeXFeatures.C: ditto
15304 * lyxlex_pimpl.C: ditto
15306 * paragraph.C (Last): remove when NEW_INSETS is defined.
15308 * other file: changes because of the above.
15310 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15312 * lyxparagraph.h: rename next to next_, previous to previous_,
15313 make them private for NEW_INSETS. Rename Next() to next(),
15314 Previous() to previous().
15316 * other files: changes because of the above.
15318 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15321 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15324 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * main.C (main): pass lyx_localedir to gettext_init().
15328 * gettext.h: remove locale_init and gettext_init macros
15330 * gettext.C (locale_init): new function
15331 (gettext_init): new function
15333 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15336 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15338 * Moved credits to frontends:
15339 * credits.[Ch]: removed
15340 * credits_form.[Ch]: removed
15341 * lyx_gui_misc.C: remove credits stuff
15344 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15346 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15348 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15349 unneeded destructor.
15351 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15352 a standalone pointer again.
15354 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15356 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15362 * ToolbarDefaults.C:
15371 * BufferView_pimpl.C: use new file dialog in GUII
15374 * lyx_cb.C: remove LayoutsCB to Toolbar
15376 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15378 * ShareContainer.h (get): add std:: qualifier
15380 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15382 * ShareContainer.h: define a proper ShareContainer::value_type
15383 type (and use typename to please compaq cxx)
15385 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15387 * lyxparagraph.h: move serveral local vars to
15388 ParameterStruct/ParagraphParameters., use ShareContainer in
15389 FontTable., make vars in FontTable private and add getter and
15392 * paragraph.C: changes because of the above.
15394 * lyxfont.h: remove copy constructor and copy assignment. (the
15395 default ones is ok), move number inside FontBits. move inlines to
15398 * lyxfont.C: add number to initializaton of statics, move several
15399 inlines here. constify several local vars. some whitespace
15400 cleanup. Dont hide outerscope variables.
15402 * Spacing.h: add two new constructors to match the set methods.
15404 * ShareContainer.h: new file, will perhaps be moved to support
15406 * ParameterStruct.h: new file
15408 * ParagraphParameters.h: new file
15410 * ParagraphParameters.C: new file
15412 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15413 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15415 * BufferView_pimpl.C: ParagraphParameter changes.
15416 * buffer.C: Likewise.
15417 * bufferview_funcs.C: Likewise.
15418 * text.C: Likewise.
15419 * text2.C: Likewise.
15421 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15423 * lyxfind.C (LyXReplace): do not redefine default argument in
15425 (IsStringInText): ditto
15426 (SearchForward): ditto
15427 (SearchBackward): ditto
15429 2001-03-06 Juergen Vigna <jug@sad.it>
15431 * lyxfind.C (IsStringInText): put parentes around expressions.
15433 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15435 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15437 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15439 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15441 * stl_string_fwd.h: add comment
15443 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15446 * tabular.C: remove unused DocBook methods
15452 killed DO_USE_DEFAULT_LANGUAGE
15454 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15456 * lyx_gui.C: do not include language.h.
15458 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15459 arguments in function implementation.
15461 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15463 * BufferView_pimpl.C: add <ctime>
15465 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15467 * BufferView_pimpl.C: add using std::find_if
15469 2001-02-27 José Matos <jamatos@fep.up.pt>
15471 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15474 2001-02-11 José Matos <jamatos@fep.up.pt>
15476 * buffer.C (makeDocBookFile): command styles now have a parameter as
15477 "title" by default.
15479 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15481 * layout_forms.[Ch]: removed
15482 * lyx_cb.[Ch]: out character
15483 * lyx_gui.C: out character
15484 * lyx_gui_misc.C: out character
15485 * bufferview_funcs.C: : out character,
15486 added toggleall as parameter in ToggleAndShow
15488 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15490 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15492 * text2.C (SetCurrentFont): Disable number property at boundary.
15494 2001-02-26 Juergen Vigna <jug@sad.it>
15496 * lyxfunc.C (getStatus): added a string argument override function so
15497 that this is correctly called from LyXFunc::Dispatch if it contains a
15498 do_not_use_argument which is used!
15499 (Dispatch): added check for "custom" export and call appropriate func.
15501 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15503 * lyxrc.C: Add language_command_local, language_use_babel and
15504 language_global_options.
15506 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15508 * buffer.C (makeLaTeXFile): Use language_use_babel and
15509 language_global_options.
15511 2001-02-23 Juergen Vigna <jug@sad.it>
15513 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15514 which works with LyXText and putted it inside BufferView. Here now we
15515 only call for that part the BufferView::Dispatch() function.
15517 * BufferView.C (Dispatch): added.
15519 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15520 functions which needs to use a LyXText over from LyXFunc.
15521 (MenuInsertLyXFile): added
15522 (getInsetByCode): added
15523 (moveCursorUpdate): added
15524 (static TEXT): added
15526 2001-02-22 Juergen Vigna <jug@sad.it>
15528 * BufferView_pimpl.C (update): call a status update to see if LyXText
15531 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15533 * vc-backend.C (revert): implement for CVS
15534 (getLog): implement for CVS
15536 2001-02-20 Juergen Vigna <jug@sad.it>
15538 * text2.C (ClearSelection): added BufferView param for inset_owner call
15540 * lyxfunc.C (TEXT): added this function and use it instead of
15541 directly owner->view()-text of getLyXText().
15543 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15545 * src/layout_forms.C: out preamble
15546 * src/layout_forms.h: out preamble
15547 * src/lyx_cb.C: out preamble
15548 * src/lyx_cb.h: out preamble
15549 * src/lyx_gui.C: out preamble
15550 * src/lyx_gui_misc.C: out preamble
15551 * src/lyxfunc.C: connect with guii preamble
15553 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15555 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15557 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15559 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15560 whether to run bibtex.
15562 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15564 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15566 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15568 * Makefile.am (lyx_SOURCES): removed bibforms.h
15570 * vspace.h: doxygen
15572 * text.C (GetVisibleRow): make several local vars const
15574 * tabular.C: small cleanup.
15576 * lyxserver.C (callback): use compare instead of strncmp
15578 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15579 inlines to after class or to paragraph.C
15581 * lyxfont.h: remove friend operator!=
15583 * converter.h: move friend bool operator< to non friend and after
15586 * combox.h: small cleanup
15588 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15589 to inlines after class def.
15591 * buffer.C (pop_tag): use string operations instead of strcmp
15593 * bmtable.c: doxygen, small cleanup
15595 * LaTeX.h: remove friend operator==
15597 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15609 * BufferView_pimpl.C:
15610 * BufferView.[Ch]: remove cruft
15612 2001-02-14 Juergen Vigna <jug@sad.it>
15614 * lyxfunc.C: removed #if 0 unused code
15616 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15618 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15620 * text2.C (SetSelection): added a BufferView * parameter
15622 2001-02-13 Juergen Vigna <jug@sad.it>
15624 * lyxfunc.C (Dispatch): fixed protected blank problem.
15625 * BufferView2.C (protectedBlank): added LyxText * parameter.
15627 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15628 (AppendColumn): same as above for column_info.
15630 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15631 (moveCursorUpdate): use a LyXText param for support of InsetText.
15633 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15634 (tripleClick): ditto
15636 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15638 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15640 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15642 * text2.C (SetSelection): set correct update status if inset_owner
15643 (ToggleFree): ditto
15645 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15647 * tabular.C: remove some commented code.
15649 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15651 * BufferView_pimpl.C: call hideSplash()
15653 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15656 * bibforms.h: remove
15659 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15660 add LFUN_CHILD_CREATE
15662 * counters.h: fix tiny typo
15667 * lyx.C: move splash to frontends/xforms/
15669 * lyx_gui_misc.C: move Include and Bibform to frontends
15671 * lyxvc.h: clarify comment
15673 * vspace.C: tiny housekeeping
15675 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15677 * text.C (PrepareToPrint): RTL Fix.
15679 * paragraph.C (GetUChar): New method.
15680 (String): Use GetUChar.
15682 * buffer.C (asciiParagraph): Use GetUChar.
15684 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15686 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15688 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15691 * buffer.C: rename to getLogName(), handle
15692 build log / latex log nicely
15694 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15697 * MenuBackend.h: remove support for reference menuitem type.
15699 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15701 * BufferView_pimpl.C: housekeeping
15702 * BufferView_pimpl.h:
15707 * minibuffer.h: move Timeout GUI-I
15709 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15711 * lyxrc.C (read): Update converters data-structures.
15713 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15715 * LaTeX.h (operator!=): add operator != for Aux_Info
15717 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15719 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15721 * LaTeXLog.C: deleted, useful code moved to Buffer
15724 * buffer.C: new function getLatexLogName()
15730 * lyxfunc.C: use frontends for LaTeX and VC logs
15732 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15734 * LaTeX.h: yet another std:: that Allan forgot.
15736 * Variables.C (set): renamed from isset(), because this clashes
15737 with some HP-UX macros (grr).
15739 2001-02-06 Allan Rae <rae@lyx.org>
15741 * LaTeX.h: Another bug fix. Missing std:: this time.
15743 2001-02-04 Allan Rae <rae@lyx.org>
15745 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15746 floats problem. I've left it commented out because it's not quite
15747 correct. It should also test that the current object is a table or
15748 figure inset. But I haven't gotten around to figuring out how to do
15749 that. I *think* it'll be something like: "table" == inset.type()
15751 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15754 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15756 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15757 all the citation/databases/styles in the auxilary file.
15758 (run): Rerun latex if there was a babel language error.
15760 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15762 * text.C (Backspace): Preserve the font when changing newline char
15764 (BreakParagraph): If the cursor is before a space, delete the space.
15766 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15768 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15770 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15771 new argument (code).
15772 (ChangeCitationsIfUnique): New method.
15774 * paragraph.C (GetPositionOfInset): Handle bibkey.
15776 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15778 * BufferView_pimpl.h: change type of Position::par_pos to
15779 LyXParagraph::size_type.
15781 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15783 * BufferView_pimpl.C (savePosition, restorePosition): Write
15784 messages to minibuffer.
15786 2001-01-28 José Matos <jamatos@fep.up.pt>
15788 * buffer.C (makeDocBookFile): adds support for document language.
15789 A silly restriction on the name of LatexCommand types where removed.
15790 Added support for CDATA sections, allows to chars unescaped, used
15791 among others in code, to avoid escape < and >.
15793 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15795 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15796 saved positions instrad of a stack. Furthermore, a position is
15797 stored using paragraph id/paragraph position.
15799 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15800 Remove LFUN_REF_BACK.
15802 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15804 * converter.C (dvipdfm_options): New method.
15806 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15808 * vspace.C (isValidLength): Fix for empty input string.
15810 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15812 * LyXAction.C (init): change description of LFUN_FIGURE to
15815 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15817 * LaTeX.C: add using directive
15819 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15821 * MenuBackend.C (expand): Fix the sorting of the formats.
15823 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15825 * lyx_main.C: tiny error message fix
15827 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15829 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15830 calling fl_initialize(). This fixes the problem with ',' as
15831 decimal separator in text files.
15833 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15835 * trans.C (process): Fix the keymap bug.
15837 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15839 * LaTeX.C (scanAuxFiles): New method. Provides support for
15840 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15841 (scanLogFile) Scan for "run BibTeX" messages.
15843 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15844 OT1 font encoding. Also, load the aecompl package if the ae
15847 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15849 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15851 * texrow.C (increasePos): turn two error messages into debug
15854 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15856 * LaTeX.C (scanAux): Handle the \@input macro.
15857 (runBibTeX): Use scanAux().
15859 * language.C (latex_options_): New field.
15861 * LaTeXFeatures.C (getMacros): Add language macros.
15863 * buffer.C (makeLaTeXFile): Small fix.
15865 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15867 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15869 * text2.C: add a using directive.
15871 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15876 * lyxfunc.C: kill LyXBell.
15878 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15880 * text.C (IsBoundary): Remove the error message
15882 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15884 * lyxrc.C (setDefaults): Correct initialization value for
15887 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15889 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15892 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15893 and GotoNextNote().
15895 * src/LyXAction.C: Added reference-next.
15897 * text.C (InsertChar): Use contains instead of strchr.
15899 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15901 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15903 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15904 alignment commands (when needed).
15906 * text.C (InsertChar): Add ':' to number separator chars.