1 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
4 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
6 (breakParagraph): rename par to par_offset and use a local
7 reference. Add code to keep the language over a rebreak.
8 (breakParagraphConservative): rename par to par_offset, use a
10 (mergeParagraph): ditto
12 (isFirstInSequence): ditto
13 (outerFont): rename pit to par_offset
15 * paragraph.C: ws change
20 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * text3.C (checkInsetHit): constify
25 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
30 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 Fix toggling of collapsable insets with the mouse (bug 1558)
34 * lyxfunc.C (dispatch): adapt to LCursor changes
36 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
37 make sure that dispatch is not invoked twice
39 * cursor.C (needsUpdate): new method
40 (dispatch): return void
41 (result): new method, to access the DispatchResult of the cursor.
43 2004-08-13 José Matos <jamatos@lyx.org>
45 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
47 2004-08-13 André Pönitz <poenitz@gmx.net>
49 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
51 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
54 2004-08-12 André Pönitz <poenitz@gmx.net>
56 * text3.C: take out the 'cursor right' form insertInset and only
57 do it in those places when it is really needed. Fixes crash on
60 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
64 * BufferView_pimpl.C (setBuffer): initialize the current font of
65 the underlying LyXText
67 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * kbsequence.C (print): use UI native formatting for menu
72 * text.C (insertChar): call Paragraph::insertChar with a font
75 * paragraph.C (insertInset, insertChar): the version that takes a
76 LyXFont argument is now a wrapper around the other one (the
77 opposite used to be true).
79 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
80 argument. Font setting is done in Paragraph now.
82 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * outputparams.h: add new members intitle and lang.
86 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
87 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
89 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
91 * text3.C (dispatch): remove special handling of button 4 and 5,
92 it is now taken care of in the frontend code.
94 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
96 * Spacing.h: add <string> (STLPort compile fix)
98 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
100 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
102 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
104 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
107 * converter.C (showMessage): inherit from unary_function, make
110 * buffer.C (writeFile): initialize retval
112 * InsetList.h: rename private variable list to list_
113 * InsetList.[Ch]: adjust accordingly.
115 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
117 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
118 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
119 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
120 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
121 * ParagraphParameters.C, LaTeXFeatures.C: replace
122 "support/std_sstream.h" with <sstream>
124 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
126 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
127 * lyxsocket.C (LyXServerSocket): ditto
128 (serverCallback): ditto
130 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
132 * LaTeXFeatures.C: check release date when loading jurabib.
134 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
136 * lyxserver.C (startPipe): call register_socket_callback
137 (endPipe): call unregister_socket_callback
139 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
141 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
142 (LyXServerSocket): register the callback
143 (LyXServerSocket): unregister the callback
144 (fd): delete function
145 (serverCallback): improve error checking and setup the callbacks.
146 (dataCallback): change arg to fd.
147 (writeln): new func (copied fro the client socket) used for server
149 (LyXDataSocket): simplify
150 (~LyXDataSocket): close ann unregiser callback
151 (server): delete function
152 (fd): delete function
153 (readln): small changes, improve some std::string usage
154 (writeln): constify a bit
156 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
161 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
163 * BufferView_pimpl.C (setBuffer): set the layout combox value only
164 after it has been populated
166 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * text2.C (insertInset): move cursor when inserting inset.
170 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * kbmap.C (findbindings): a couple of new methods. returns a
173 container of kb_sequence objects. The real work is done by the
174 private recursive version
175 (printbindings): uses findbindings to print out a bracketed list
176 of bindings (renamed from findbinding).
178 * MenuBackend.C (binding): use kb_keymap::findbindings
180 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
182 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
184 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
186 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * paragraph.C (isWord): return true on insets that report
191 * text.C (getWord): use Paragraph::isWord to decide what is in a
192 word and what is not; fix bug 1609.
194 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
196 * tex-strings.C: add "none" to string_paperpackages[], fixes
197 off-by-one-error in the paperpackage selection.
200 * tex-strings.[Ch]: char const * string[n]
201 -> char const * const string[]
203 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
206 command, return early.
208 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
210 * debug.h: add DEBUG to enum and fix size of ANY.
212 * debug.C: add support for Debug::DEBUG
213 (showTags): cast errorTags.level to unsigned int
215 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
216 (redoCurrentBuffer): ditto
217 (updateScrollbar): ditto
218 * cursor.C (dispatch): ditto
219 * text2.C (setLayout): ditto
221 (updateCounters): ditto
223 (deleteEmptyParagraphMechanism): ditto
225 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
227 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
228 annotations to cleanup the Makefile slightly.
230 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * lyxrc.C: do not set user_email to a default value but use empty
233 instead. The entry used to be translated, which does not work
234 since at the point where lyxrc is constructed there is no
235 translation service available
237 * messages.C (getLocaleDir): remove and use directly
238 lyx_localedir() instead
240 2004-06-02 Angus Leeming <leeming@lyx.org>
242 Fix crash caused by dereferencing null pointer 'exportdata' in
243 OutputParams by creating a new ExportData variable on the heap,
244 storing it in a boost::shared_ptr.
245 The crash was triggered when generating an Instant Preview
246 of an external inset.
248 * Makefile.am: add outputparams.C
250 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
251 (c-tor): allocate memory to it.
253 * exporter.C (c-tor): associated changes.
255 2004-06-01 Angus Leeming <leeming@lyx.org>
257 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
258 contains data before calling isInset(0). (Bug 1513.)
260 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
262 * exporter.C (checkOverwrite): new method
263 * exporter.C (copyFile): new method
264 * exporter.C (Export): copy referenced files to the document dir
265 * exporter.[Ch]: new class ExportedFile
266 * exporter.[Ch]: new class ExportData. Contains currently the
267 names of referenced external files
268 * outputparams.h: add exportdata member.
270 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
272 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
275 2004-05-19 Angus Leeming <leeming@lyx.org>
280 * lyxfunc.C: small changes due to the introduction of namespace
281 lyx::frontend and the moving of namespace biblio to lyx::biblio.
283 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
285 * text3.C (dispatch): supress update when only moving the cursor
286 * cursor.C (selHandle): remove commented code
288 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
290 * paragraph.C (startTeXParParams): correct column count
291 * CutAndPaste.C (pasteSelection): remove const_cast
292 * output_docbook.C (docbookParagraphs): remove const_cast
293 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
294 const_cast and return ParagraphList::const_iterator
295 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
296 * output_plaintext.C (writeFileAscii): remove const_cast
297 * paragraph.[Ch] (simpleTeXOnePar): make const
298 * paragraph_funcs.C (outerPar): use const iterators
299 * paragraph_pimpl.C (validate): use const iterators
300 * text.C (setHeightOfRow): use const iterators
302 2004-05-17 Angus Leeming <leeming@lyx.org>
305 * LyXAction.C (init): new LFUN_INSET_REFRESH.
307 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
308 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
309 if the citation engine has changed.
311 2004-05-14 José Matos <jamatos@lyx.org>
313 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
314 if the textclass does not provide it. Have it different for sgml and
316 support the language of document.
317 * output_docbook.C (docbookParagraphs):
318 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
319 first anchor as the id of the paragraph, remove special case code.
320 * sgml.C (escapeChar): escape only < & >.
322 2004-05-14 Angus Leeming <leeming@lyx.org>
324 * bufferparams.h: move biblio::CiteEngine enum here to minimize
325 dependencies on src/frontends/controllers/biblio.h. Define a
326 CiteEngine_enum wrapper class to enable the enum to be forward
329 2004-05-12 Angus Leeming <leeming@lyx.org>
331 * buffer.C: up LYX_FORMAT to 234.
332 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
333 use_numerical_citations with a single biblio::CiteEngine cite_engine
335 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
337 2004-05-13 José Matos <jamatos@lyx.org>
340 * converter.C (Converter, readFlags): add xml member.
341 * outputparams.h: add XML flavor.
342 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
344 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * lyxfunc.C (dispatch):
347 (getStatus): fix handling of LFUN_SEQUENCE
349 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * debug.C (showLevel): do not forget the end-of-line marker
353 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
355 * kbmap.C (read): do not stop parsing a bind file when an error
358 2004-04-29 Angus Leeming <leeming@lyx.org>
363 * text2.C: wrap a bunch of #warning statements
364 inside #ifdef WITH_WARNINGS blocks.
366 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
368 * buffer.C: increment format to 233.
370 2004-04-28 Angus Leeming <leeming@lyx.org>
372 * BufferView_pimpl.C:
375 s/updateToolbar()/updateToolbars()/
376 s/Toolbar.h/Toolbars.h/
378 2004-04-28 Angus Leeming <leeming@lyx.org>
380 * BufferView.[Ch] (c-tor):
381 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
382 No longer passes these data to the WorkArea generator.
384 2004-04-28 Angus Leeming <leeming@lyx.org>
386 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
388 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
390 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
392 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * output_latex.C (TeXEnvironment): make sure that there is a line
395 break before \end{foo} for the last paragraph of a document
396 (TeXOnePar): if the paragraph is at the end of the document (or
397 inset) and the language has to be reset, then make sure that the
398 line break is _before_ the language command, not after (fixes bug
399 1225); also make sure that the language reset command is the first
400 thing after the paragraph (to ensure proper nesting of
401 environments and thus fix bug 1404)
403 2004-04-21 John Levon <levon@movementarian.org>
406 * ToolbarBackend.C: make "name" be a programmatic name
407 and a gui_name field.
409 * lyxfunc.C: display the minibuffer on M-x
411 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
413 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
416 2004-04-19 Angus Leeming <leeming@lyx.org>
418 * BufferView_pimpl.C (setBuffer): changed preview interface.
420 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
423 2004-04-19 John Levon <levon@movementarian.org>
425 * BufferView_pimpl.C:
426 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
428 2004-04-05 Angus Leeming <leeming@lyx.org>
430 * text.C (redoParagraphs): add call to updateCounters(), thereby
431 fixing the missing "Figure #:" label from the caption of a
434 2004-04-13 Angus Leeming <leeming@lyx.org>
436 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
437 cursor is clicked out of an inset.
439 2004-04-13 Angus Leeming <leeming@lyx.org>
441 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
442 than an InsetOld one.
444 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
446 * format.[Ch]: add editor to Format
447 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
448 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
450 2004-04-08 André Pönitz <poenitz@gmx.net>
452 * metricsinfo.h: remove PainterInfo::width member
454 2004-04-08 Angus Leeming <leeming@lyx.org>
456 * lyx_sty.C (boldsymbol_def): modify so that it outputs
457 "\providecommand" rather than "\newcommand", thereby preventing
458 clashes with packages that define "\boldsymbol" themselves.
461 2004-04-08 Angus Leeming <leeming@lyx.org>
463 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
464 thereby squashing an unnecessary warning.
466 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
468 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
471 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
473 * BufferView.C (setCursor): call redoParagraph (some insets could
475 (putSelectionAt): remove the 'double update' trick
477 * BufferView_pimpl.C (fitCursor): call refreshPar
478 (workAreaDispatch): remove an uneeded update call
479 (dispatch): remove some manual update calls
481 * cursor.[Ch]: remove cached_y_, updatePos
482 (selHandle): set noUpdate when appropriate
484 * lyxfunc.C (dispatch): track if we need an update
486 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
488 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
489 (paintSelection): cheap optimization, do not call cursorX when not
491 (paintPars): change signature
494 (paintTextInset): adjust
498 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * lengthcommon.C: compilation fix: remove explicit array size from
501 unit_name[] and friends
503 2004-04-05 Angus Leeming <leeming@lyx.org>
505 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
507 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
508 present only for the preferences dialog.
509 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
511 2004-04-05 Angus Leeming <leeming@lyx.org>
513 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
514 to enable the frontends to export changes to lyxrc correctly.
516 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
518 2004-04-07 André Pönitz <poenitz@gmx.net>
520 * cursor.[Ch] (selClear, adjust): remove math
522 * cursor_slice.C: more agressive assert
525 * BufferView_pimpl.C: rework mouse event dispatch
532 2004-04-05 André Pönitz <poenitz@gmx.net>
534 * cursor.[Ch] (valign, halign...): remove unneeded functions
536 2004-04-05 Angus Leeming <leeming@lyx.org>
538 * lyxlength.[Ch] (unit_name et al.): const-correct.
540 2004-04-05 Angus Leeming <leeming@lyx.org>
542 * BufferView_pimpl.C:
551 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
553 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
555 * text3.C (getStatus): add LFUN_BEGINNINGBUF
557 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
559 * lyxfind.C: add a couple of inTexted() tests + other small fixes
560 * BufferView_pimpl.[Ch] (getStatus)
561 * BufferView.[Ch] (getStatus): add
562 * lyxfunc.C (getStatus): move lfuns handled in
563 BufferView::dispatch to te function above
564 * Cursor.C (setSelection): set selection() = true
566 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
568 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
570 2004-03-31 Angus Leeming <leeming@lyx.org>
572 * lyxfunc.C (dispatch): Fall through to the generic
573 Dialogs::show("preamble").
575 2004-03-31 Angus Leeming <leeming@lyx.org>
577 * lyxfunc.C (dispatch): Fall through to the generic
578 Dialogs::show("spellchecker").
580 2004-03-31 Angus Leeming <leeming@lyx.org>
582 * lyxfunc.C (getStatus, dispatch): changed invocation of the
585 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
590 * insetiterator.[Ch]:
595 * undo.[Ch]: s/DocumentIterator/DocIterator/g
597 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
599 * BufferView.C (setCursor, putSelectionAt): call edit to open the
600 insets where we are putting the cursor.
602 2004-03-31 Angus Leeming <leeming@lyx.org>
605 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
607 * lyxrc.[Ch] (read, write): overloaded member functions taking
608 a std::[io]stream arguments.
610 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
612 2004-03-31 Angus Leeming <leeming@lyx.org>
614 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
615 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
617 * lyxtextclass.C (load): if the text class couldn't be loaded, then
618 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
620 2004-03-31 Angus Leeming <leeming@lyx.org>
622 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
623 the LFUN_ALL_INSETS_TOGGLE code.
625 2004-03-30 Angus Leeming <leeming@lyx.org>
627 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
628 has died. Fall through to the generic Dialogs::show("document").
630 2004-03-30 Angus Leeming <leeming@lyx.org>
633 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
634 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
636 * lyxfunc.C (getStatus, dispatch): define the actions for these
637 lfuns. Little more than a cut and pste job from ControlDocument.C
639 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
641 2004-03-30 Angus Leeming <leeming@lyx.org>
644 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
645 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
647 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
648 open/closed state of ollapsable insets. Usage:
650 all-inset-toggle <state> <name>, where
651 <state> == "open" || "closed" || "toggle" and
652 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
654 * lyxtext.h, text2.C (toggleInset): removed.
656 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
657 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
658 now passes LFUN_INSET_TOGGLE to the found inset.
660 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
661 is now invoked as "all-insets-toggle toggle branch".
663 2004-03-30 Angus Leeming <leeming@lyx.org>
667 * pariterator.[Ch]: added/corrected header blurb.
669 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
671 * dociterator.[Ch]: add an inset_ member
672 (backwardPos): implemented
673 (backwardPos, forwardPos): use inset_ when the stack is empty.
674 (doc_iterator_begin, doc_iterator_end): implemented
675 * pariterator.[Ch]: adjust, add begin, end
676 * insetiterator.[Ch]: adjust, add begin, end
680 * BufferView_pimpl.C:
681 * CutAndPaste.C: adjust
683 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
685 * buffer.C: increment file format to 232.
686 * LaTeXFeatures.C: add bibtopic package.
687 * bufferparams.[Ch]: param \use_bibtopic.
689 * lyxrc.[Ch]: add lyxrc bibtex_command
690 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
692 * buffer.C: increment file format to 231.
694 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
696 * dociterator.C: implement forwardPar
697 * iterators.[Ch]: remove, replaced by
698 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
700 * BufferView_pimpl.C:
703 * bufferview_funcs.C:
709 * Makefile.am: adjust
711 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
713 * CutAndPaste.C (pasteSelection): fix 2 crashes
714 (eraseSelection): fix a crash
715 * paragraph_funcs.C: remove a warning
717 2004-03-28 Angus Leeming <leeming@lyx.org>
720 * LyXAction.C (init): new LFUN_PRINT.
722 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
724 2004-03-27 Angus Leeming <leeming@lyx.org>
727 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
729 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
731 2004-03-27 Angus Leeming <leeming@lyx.org>
733 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
734 insetlist always contains non-null pointers to insets.
736 2004-03-26 Angus Leeming <leeming@lyx.org>
738 * src/BufferView_pimpl.C:
742 * src/output_plaintext.C:
743 * src/outputparams.h:
744 * src/paragraph_funcs.C:
748 * src/frontends/controllers/ControlErrorList.C:
749 * src/frontends/gtk/FileDialogPrivate.C:
750 * src/frontends/gtk/GPainter.C:
751 * src/frontends/gtk/GToolbar.C:
752 * src/frontends/qt2/QRef.C:
753 * src/mathed/math_scriptinset.C: squash compiler warnings.
755 2004-03-26 Angus Leeming <leeming@lyx.org>
757 * ispell.C (LaunchIspell::start):
758 * lyx_cb.C (AutoSaveBuffer::start):
759 invoke run(DontWait) rather than runNonBlocking().
761 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
763 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
765 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
767 * kbsequence.C (print): adjust
769 * kbmap.C (printKeySym): rename and change signature
770 (printKey): use LyXKeySym::print()
772 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
774 * undo.C: add using std::advance to compile for stlport
776 2004-03-24 Angus Leeming <leeming@lyx.org>
778 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
779 it leads to a crash when no buffer is present.
781 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 Martin Vermeer <martin.vermeer@hut.fi>
784 * lyxfunc.C (dispatch):
785 * bufferparams.C (readToken): use the new LColor::setColor
787 * LColor.[Ch] (setColor): new version that takes two strings as
788 argument and creates a new color entry if necessary
790 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
792 * buffer.C (makeLaTeXFile): if the main latex file that is
793 processed is usually a subdocument of some master, then pretend
794 for a while that it is actually the master
796 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
798 * buffer.C (getLabelList):
799 (getBibkeyList): use getMasterBuffer()
800 (getMasterBuffer): new method. Returns the main document in the
801 case where one is using included documents.
803 2004-03-25 André Pönitz <poenitz@gmx.net>
807 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
809 * ParagraphList_fwd.h: change ParagraphList to a std::vector
811 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
812 text*.C over here. Rename namespace CutAndPaste to lyx::cap
814 * ParameterStruct.h: merge with ParagraphParameters
816 * lyxtext.h: remove LyXText::parOffset() and getPar()
818 * text3.C: Remove all 'manual' update calls. We do now one per user
819 interaction which is completely sufficient.
823 * BufferView_pimpl.C:
826 * ParagraphParameters.[Ch]:
838 * output_docbook.[Ch]:
840 * output_linuxdoc.[Ch]:
841 * output_plaintext.[Ch]:
843 * paragraph_funcs.[Ch]:
844 * paragraph_pimpl.[Ch]:
852 * frontends/controllers/ControlDocument.C:
853 * frontends/controllers/ControlErrorList.C:
854 * frontends/controllers/ControlSpellchecker.C:
857 * insets/insetbase.h:
858 * insets/insetbibitem.C:
860 * insets/insetbranch.C:
861 * insets/insetcaption.C:
862 * insets/insetcharstyle.C:
863 * insets/insetcharstyle.h:
864 * insets/insetcollapsable.C:
865 * insets/insetcollapsable.h:
867 * insets/insetfloat.C:
868 * insets/insetfoot.C:
869 * insets/insetmarginal.C:
870 * insets/insetnote.C:
871 * insets/insetoptarg.C:
872 * insets/insettabular.C:
873 * insets/insettext.C:
874 * insets/insettext.h:
875 * insets/insetwrap.C:
876 * mathed/math_mboxinset.C:
877 * mathed/math_nestinset.C:
878 * mathed/math_scriptinset.C:
879 * mathed/math_scriptinset.h:
882 2004-03-24 Angus Leeming <leeming@lyx.org>
884 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
885 deal with any child processes that have finished but are waiting to
886 communicate this fact to the rest of LyX.
888 2004-03-24 Angus Leeming <leeming@lyx.org>
890 64-bit compile fixes.
892 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
893 (c-tor): pass lyx::pos_types rather than ints.
895 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
898 * text.C (Delete): compile fix.
899 (getPar): ensure that function declaration is the same as that in
902 2004-03-23 Angus Leeming <leeming@lyx.org>
904 * ispell.C (LaunchIspell):
905 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
906 a boost::shred_ptr rather than a std::auto_ptr.
908 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
910 * lyxfunc.C (getStatus): handle read-only buffers correctly;
911 handle LFUN_FILE_INSERT_*
913 * lyxrc.C (setDefaults, getDescription, output, read):
914 * lyxrc.h: remove ps_command
916 2004-03-22 Angus Leeming <leeming@lyx.org>
918 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
919 Ensure that error_handler is processed once only and that all data
920 is saved before attempting to output any warning messages.
922 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
924 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
926 * tabular.C (TeXRow): crash fix (from Kayvan and André)
928 2004-03-19 André Pönitz <poenitz@gmx.net>
930 * cursor.[Ch] (reset): take main text inset as argument
933 * BufferView_pimpl.C: adjust
935 * paragraph.[Ch]: fix completely broken operator=()
937 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
939 * LColor.C (getFromLyXName): make sure that the color name is used
942 2004-03-17 Angus Leeming <leeming@lyx.org>
945 * LyXAction.C (init): remove LFUN_FORKS_KILL.
947 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
948 dialog and to kill a forked process.
950 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
952 * text2.C (setCursorFromCoordinates): fix font problem
954 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
956 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
957 bogus "rebuild cursor" code
959 2004-03-11 André Pönitz <poenitz@gmx.net>
961 * buffer.[Ch]: use InsetText instead of LyXText as container for
964 * dociterator.[Ch]: drop the BufferView * member which is not needed
965 anymore after the change to buffer.C
971 * BufferView_pimpl.[Ch]:
973 * cursor_slice.[Ch]: adjust
975 * text3.C: fix bug in mathDispatch
977 2004-03-08 André Pönitz <poenitz@gmx.net>
979 * undo.[Ch]: use 'StableDocumentIterator' as base for
982 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
985 * bufferparams.[Ch]: add jurabib support and param.
987 * LaTeX.C: add FIXME/comment.
989 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
991 * buffer.C: increment file format to 230.
993 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
995 * cursor.C (dispatch): avoid infinite loops
997 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
999 * rowpainter.C (paintSelection): fix x coordinates
1001 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1003 * text.C (rowBreakPoint): fix breaking before displayed insets
1005 2004-03-01 André Pönitz <poenitz@gmx.net>
1007 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1009 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1013 * BufferView_pimpl.C:
1021 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1027 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1028 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1030 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1032 * Bidi.[Ch] (computeTables): const correctness
1033 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1034 fill_hfill, fill_label_hfill and x from Row
1035 * lyxtext.h: prepareToPrint returns a RowMetrics
1036 * rowPainter.C: adjust
1037 * text.C (prepareToPrint): use width, not textWidth. adjust
1038 (redoParagraphInternal, cursorX): adjust
1039 * text2.C (getColumnNearX): adjust
1040 (init): put a default value to the top LyXText::width
1042 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1044 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1046 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1048 * lyxtext.h: add FontIterator class
1050 * text.C (FontIterator, operator*, operator->, operator++): add
1051 (rowBreakPoint, setRowWidth): adjust (fixing a
1054 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * BufferView_pimpl.C (workAreaDispatch): allow also
1057 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1059 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1061 * text.C (rowBreakPoint): fix a bug showing with very large insets
1063 2004-02-25 André Pönitz <poenitz@gmx.net>
1066 * cursor.[Ch]: move some mathed specific code to mathed
1068 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1070 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1071 use_tempdir in preferences
1072 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1074 * lyx_main.C: ensure that tempdir is valid
1075 * lyxlex.h: correct typo
1076 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1077 * paragraph.[Ch] (isMultiLingual): make const
1078 * cursor.[Ch] (openable): make const
1080 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1082 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1084 2004-02-20 André Pönitz <poenitz@gmx.net>
1086 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1088 * cursor.[Ch]: prepare for localized getStatus()
1094 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1096 2004-02-20 André Pönitz <poenitz@gmx.net>
1098 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1100 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1102 * text2.C (setCursorFromCoordinates): switch to absolute coords
1104 (cursorDown): adjust
1105 * text3.C (dispatch): adjust
1107 2004-02-16 André Pönitz <poenitz@gmx.net>
1109 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1112 * cursor_slice.[Ch]: remove unneeded acessor function
1114 * lyxtext.h: rename rtl() to isRTL()
1122 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1124 * rowpainter.C (paintSelection): coord fix
1126 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1128 * Spacing.C: compile fix
1130 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1132 * cursor.C (dispatch): restore current_ before returning
1134 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1136 * text2.C (cursorUp, cursorDown): fix coords
1139 2004-02-12 André Pönitz <poenitz@gmx.net>
1144 * text3.C: add LCursor & parameter to most cursor movement functions
1145 remove usage of LyXText::cursorRow() and cursorPar()
1147 * cursor.[Ch]: add textRow() needed members
1150 * BufferView_pimpl.C:
1153 * BufferView_pimpl.C: adjust
1155 2004-02-11 André Pönitz <poenitz@gmx.net>
1159 * BufferView_pimpl.C: shift undo/redo handling
1161 * cursor.[Ch]: fix mathed crash
1164 * lyxtext.h: move selectionAsText to LCursor
1172 * rowpainter.C: fix excessive drawing
1174 2004-02-06 André Pönitz <poenitz@gmx.net>
1177 * BufferView_pimpl.[Ch]:
1178 * text3.C: move some text specific LFUN handling
1180 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1182 * text3.C (checkInsetHit): adjust coords
1183 * text2.C (getColumnNearX): adjust coords
1184 (edit): adjust coords
1185 * text.C (getRowNearY): add two asserts
1187 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1190 * format.C: add using std::distance to compile on gcc 2.95/stlport
1192 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1194 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1196 2004-02-04 André Pönitz <poenitz@gmx.net>
1198 * BufferView.[Ch] (insertInset):
1199 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1204 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1206 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1207 on the default clause of the switch
1208 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1209 wasn't catched by LCursor::dispatch
1211 2004-02-03 André Pönitz <poenitz@gmx.net>
1214 * cursor.[Ch]: some additional asserts
1216 * undo.[Ch]: remove LyXText dependency in interface
1220 * lyxtext.h (firstPar, lastPar): remove dead functions
1225 * paragraph.[Ch]: adjust
1227 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1229 * lyxfind.C (find): fix argument order in call to ::find
1231 2004-02-02 André Pönitz <poenitz@gmx.net>
1233 * cursor.[Ch]: remove direct access to anchor
1235 * text.C: remove findText() hack
1237 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1239 * iterators.[Ch] (lockPath): remove in favour of...
1240 * BufferView.[Ch] (setCursor): this addition
1241 * BufferView.C (putSelectionAt): adjust
1242 * undo.C (performUndoOrRedo): adjust
1243 * lyxfunc.C (dispatch): adjust
1245 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1247 * iterators.C (lockPath): add a missing slice
1248 * undo.C (performUndoOrRedo): remove redundant positioning code
1250 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1252 * vc-backend.C (scanMaster): ";" -> ';'
1254 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1256 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1257 std::binary_function
1259 * lyxtextclass.C (compare_name): rename to...
1260 (LayoutNamesEqual): ...this
1262 * lyxlex_pimpl.C (compare_tags): inherit from
1263 std::binary_function, put back into anon namespace
1265 * lyxfind.C (MatchString): inherig from std::binary_function
1266 (findChange): use empty() istead of !size()
1268 * format.C (FormatNamesEqual): new functor
1275 * converter.C (compare_Converter): rename to...
1276 (ConverterEqual): ...this, and fixup a bit.
1277 (getConverter): use it, and make function const
1278 (getNumber): use it, and make function const
1282 * bufferlist.C: add using boost::bind
1284 * MenuBackend.C (MenuNamesEqual): new functor
1285 (hasMenu): use it, and make function const
1286 (hasSubmenu): use nested bind to get rid of compare_memfun.
1288 2004-01-30 André Pönitz <poenitz@gmx.net>
1290 * BufferView_pimpl.C:
1293 * cursor_slice.[Ch]:
1296 * paragraph_funcs.C:
1297 * paragraph_funcs.h:
1301 * text3.C: move some of the edit(x,y) handling to the insets
1302 some coordinate changes.
1304 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1306 * text.C: add using statements for std::advance and std::distance
1308 * paragraph.C: add using statement for std::distance
1310 * lyxfind.C: add using statement for std::advance
1312 * cursor.C (region): remove std:: from swap
1313 (openable): use nucleus in stead of operator->
1315 * BufferView.C: add using statements for std::distance and std::swap
1317 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1319 * iterators.C: Remove the pimple, move the needed structures to
1320 the header file. Create accessor for the positions stack.
1321 (asPosIterator): remove function
1323 * PosIterator.C (PosIterator): move constructors to top of file
1324 (PosIterator): reimplement the constructor taking a ParIterator in
1326 (setFrom): new function
1327 (operator!=): inline it
1329 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1331 * lyxfind.C (replaceAll): use std::advance
1333 * iterators.h: inherit from std::iterator.
1335 * PosIterator.C (advance, distance): remove
1336 * PosIterator.h: interit from std::iterator.
1338 2004-01-26 André Pönitz <poenitz@gmx.net>
1341 * BufferView_pimpl.[Ch]:
1345 * bufferview_funcs.C:
1355 * output_linuxdoc.C:
1356 * output_plaintext.C:
1358 * paragraph_funcs.[Ch]:
1359 * paragraph_pimpl.[Ch]:
1365 * text3.C: more IU: dumps most of the rest of the mathcursor
1366 implementation into cursor.[Ch]; "globalize" a bit of it.
1368 2004-01-25 Angus Leeming <leeming@lyx.org>
1370 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1372 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1374 * LaTeXFeatures.h: add nice_ and nice() const
1375 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1377 2004-01-20 André Pönitz <poenitz@gmx.net>
1380 * BufferView_pimpl.C:
1382 * bufferview_funcs.C:
1384 * cursor_slice.[Ch]:
1395 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1396 LCursor and mathcursor parts to LCursor and InsetBase.
1398 2004-01-15 André Pönitz <poenitz@gmx.net>
1400 * cursor_slice.[Ch]: add a few covienience functions
1402 * funcrequest.[Ch]: remove BufferView * member
1404 * BufferView_pimpl.C:
1411 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1413 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1415 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1416 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1418 2004-01-13 André Pönitz <poenitz@gmx.net>
1421 * lyxtext.h: hide cursor and selection anchor behind accessor function
1424 * BufferView_pimpl.[Ch]:
1426 * bufferview_funcs.C:
1436 * cursor_slice.[Ch]: some integer type changes for inset unification
1438 * lyxcursor.[hC]: remove, it's CursorSlice now.
1441 * BufferView_pimpl.[Ch]:
1442 * bufferview_funcs.C:
1448 * textcursor.[Ch]: adjust
1450 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1452 * text2.C (undoSpan): add and use
1453 * text.C (breakParagraph): use undoSpan (fix bug 578)
1456 2004-01-08 Angus Leeming <leeming@lyx.org>
1458 * BufferView_pimpl.C (MenuInsertLyXFile):
1459 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1460 * lyxfunc.C (menuNew, open, doImport):
1461 FileFilterList change to the FileDialog open and save functions.
1463 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1465 * ShareContainer.h: make isEqual and isUnique adaptable
1467 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1469 2004-01-07 Angus Leeming <leeming@lyx.org>
1472 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1474 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1476 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1477 functions replacing find, replace and replaceAll.
1479 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1480 LFUN_WORDFIND(FORWARD|BACKWARD).
1482 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1484 * text.C (breakParagraph): remove an outdated #warning
1486 2004-01-07 André Pönitz <poenitz@gmx.net>
1488 * lyxfind.C: somewhat clearer logic
1490 * text.C: prevent crash in cursorX on unitialized row cache
1492 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1494 * lyxcursor.[Ch] (operator>): add
1495 * textcursor.C (selStart, selEnd): use std::min and std::max
1497 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1499 * Chktex.C: include boost/format.hpp
1501 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1503 * InsetList.C: replace functor MathcIt with adaptable functor
1505 (insetIterator): modify accordingly
1507 * BranchList.h: move the BranchNamesEqual functor here from...
1508 * BranchList.C: ... to here
1510 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1512 (add): replace a finding loop with std::find_if.
1514 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1516 * output_docbook.C: moving LatexParam functionality into
1519 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1521 * buffer.C: increment format to 229.
1523 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1526 * lyx_sty.[Ch]: remove minipageindent_def
1532 * text3.C: remove LFUN_INSET_MINIPAGE
1534 2003-12-28 Angus Leeming <leeming@lyx.org>
1536 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1538 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1540 * text2.C (setParagraph): fix off-by-one crash
1542 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1544 * output_docbook.C: header stuff for AGU
1546 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1548 * text2.C (redoCursor): remove
1551 * BufferView_pimpl.C: remove calls to redoCursor and
1552 setCursor(cursor.par(), cursor.pos()) all around
1554 2003-12-15 Angus Leeming <leeming@lyx.org>
1556 * buffer.C: up the format to 228.
1558 2003-12-15 André Pönitz <poenitz@gmx.net>
1560 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1565 * BufferView_pimpl.C:
1574 2003-12-15 Angus Leeming <leeming@lyx.org>
1576 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1577 than getFromGUIName to manipulate the color.
1579 2003-12-14 Angus Leeming <leeming@lyx.org>
1581 * BranchList.[Ch]: minimize the API.
1582 (Branch::getBranch, getColor): now return a 'const &'.
1583 (Branch::setSelected) now returns a bool set to true if the
1584 selection status changes.
1585 (BranchList::clear, size, getColor, setColor, setSelected,
1586 allBranches, allSelected, separator): removed.
1587 (BranchList::find): new functions, returning the Branch with
1589 (BranchList::add, remove): return a bool indicating that
1590 the operation was successful.
1592 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1593 new InsetBranch::isBranchSlected member function.
1595 * LColor.[Ch]: mimimize the API.
1596 (fill): renamed as addColor and made private.
1597 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1598 versions of these functions taking a string arg have been removed.
1600 * bufferparams.C (readToken):
1601 * lyxfunc.C (dispatch):
1602 * lyxrc.C (read): changes due to the altered BranchList and
1605 * factory.C (createInset, readInset): changes due to altered
1608 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1611 * lyxfunc.C: remove insetminipage. "minipage-insert"
1612 now produces a frameless minipage box inset.
1614 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1616 * textcursor.[Ch] (selStart,selEnd): add new methods
1617 remove selection::start, end, use LyXCursor::operator<
1618 * lyxcursor.[Ch] (operator<): add
1619 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1620 * BufferView.[Ch] (unsetXSel): add
1621 * text2.C (clearSelection): use unsetXSel,adjust
1624 * rowpainter.C: adjust
1625 * bufferview_funcs.C (put_selection_at): adjust
1627 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1629 * BufferView_pimpl.C: small coord. correction
1631 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1633 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1634 dragging over the splash screen.
1636 2003-12-11 Angus Leeming <leeming@lyx.org>
1638 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1639 as it is now handled in LyXText::dispatch.
1641 * text3.C (doInsertInset): remove a level of nesting.
1643 2003-12-11 Angus Leeming <leeming@lyx.org>
1645 * factory.C (createInset): changes due to the changed interface to
1646 InsetCommandMailer::string2params.
1648 2003-12-10 Angus Leeming <leeming@lyx.org>
1650 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1651 'dialog-show-new-inset <inset name>'
1653 2003-12-10 Angus Leeming <leeming@lyx.org>
1655 * buffer.C: up the format to 227.
1657 * factory.C: the box inset is now identified simply by 'Box'.
1659 2003-12-10 Angus Leeming <leeming@lyx.org>
1661 * buffer.C: up the format to 226.
1663 * factory.C: the note inset is now identified simply by 'Note'.
1665 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1667 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1668 when a pit is enough. Standarize a couple of loops.
1670 2003-12-05 Angus Leeming <leeming@lyx.org>
1672 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1673 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1674 data to the re-worked "log" dialog.
1676 2003-12-03 André Pönitz <poenitz@gmx.net>
1682 * paragraph_funcs.C:
1684 * text2.C: use Inset::getText instead of Inset::getParagraph
1686 2003-12-03 André Pönitz <poenitz@gmx.net>
1690 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1691 InsetText::read() as LyXText::read()
1693 2003-12-02 Angus Leeming <leeming@lyx.org>
1695 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1696 type. Add a comment in the implementation that the function uses
1697 the stream's bad() function rather than fail() as the std::streams
1700 2003-12-02 André Pönitz <poenitz@gmx.net>
1702 * lyxlex.[Ch]: make interface more similar to std::stream
1704 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1706 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1708 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1710 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1712 * vspace.[Ch]: remove VSpace::NONE
1714 2003-12-01 André Pönitz <poenitz@gmx.net>
1717 * lyxtext.h: move ParagraphList member to LyXText
1718 rename LyXText::ownerParagraphs to LyXText::paragraph
1721 * bufferview_funcs.C:
1731 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1733 * undo.C: fix cursor positioning
1735 2003-12-01 John Levon <levon@movementarian.org>
1737 * BufferView_pimpl.C: fix a crash on exit with
1740 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1742 * BranchList.C: fix setSelected() method.
1744 2003-11-28 André Pönitz <poenitz@gmx.net>
1746 * ParagraphParameters.[Ch]:
1747 * ParameterStruct.h: remove space above/below from Paragraph to
1750 * BufferView_pimpl.C:
1756 * paragraph_funcs.C:
1762 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1764 * factory.C: Syntax change for CharStyles
1766 2003-11-28 André Pönitz <poenitz@gmx.net>
1771 * buffer.[Ch]: move LyXText member
1773 2003-11-28 André Pönitz <poenitz@gmx.net>
1775 * BufferView.[Ch]: make LyXText * text a private member
1777 * BufferView_pimpl.C:
1788 * output_plaintext.C: cleanup
1790 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1793 * lyxtextclass.[Ch]: parametrize SGML document header
1795 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1798 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1801 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1803 * text2.C (setFont): rework using PosIterator (no more recursive)
1804 (setCharFont): no more needed
1805 (setLayout): no more selection cursors fiddling (done by redoCursor)
1806 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1807 destroy remaining ones)
1809 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1811 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1813 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1816 * text3.C: adjust + re-allow multi par depth changes
1817 * textcursor.C: simplify a bit
1819 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1825 * src/output_docbook.C:
1826 * src/output_latex.C:
1831 * src/text2.C: Introducing a number of tags parametrizing various
1832 XML formats that we may want to support
1834 2003-11-25 André Pönitz <poenitz@gmx.net>
1836 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1838 * lyxtext.h (leftMargin/rightMargin): simplify interface
1845 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1847 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1848 master file to any child files. Fixes bug 546.
1850 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1852 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1854 2003-11-24 André Pönitz <poenitz@gmx.net>
1856 * rowpainter.C: simplification
1858 * text2.C (updateCounters): remove call to redoParagraph on
1859 changed labels as this is far too expensive.
1861 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1863 * converter.C (convert): fix a crash: this function gets
1864 called with buffer == 0 from importer code.
1866 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1868 * text3.C (cursorPrevious): make sure that we do not compare
1869 iterators form different containers.
1872 * rowpainter.C (paintSelection): make sure that we do not compare
1873 iterators from different containers.
1875 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1876 iterators from different ParagraphList containers.
1879 * text2.C (LyXText): change order of initialization slightly
1880 (operator=): new function. copy all variables except cache_par_
1881 (moveUp): make sure that we do not compare iterators from
1882 different ParagraphList constainers.
1885 * text.C (firstPar): new function
1886 (lastPar): new function
1887 (endPar): new function
1889 * lyxtext.h: move things around and group public functions, public
1890 variables, private functions, private variables
1892 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1894 * factory.C: change call to InsetERT constructor to avoid
1895 additional invocation of method status
1896 * text2.C (toggleInset): remove redundant update() call
1897 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1898 instead of a Bufferview pointer
1900 2003-11-21 André Pönitz <poenitz@gmx.net>
1902 * rowpainter.C: simplification
1904 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1906 * text3.C (dispatch): make possible to extend a word/row selection
1909 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1911 * lyxtext.h: x0_,y0_ -> xo_,yo_
1912 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1913 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1914 * rowpainter.C (paintRows): paint full paragraphs
1916 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1918 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1921 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1923 * lyxtext.h: add x0_, y0_
1924 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1925 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1927 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1929 * text2.C (setCursorIntern): move the x_target update here *
1930 * text3.C: change some bv() to true/false in calls to
1931 cursorUp/Down/Right/Left
1932 * cursor.C: use helper function.
1934 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1936 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1937 * paragraph_funcs.[Ch]: correct comment
1938 * rowpainter.C: do not paint selections away from bv->cursor()
1939 Fix a long standing selection painting bug.
1940 * text3.C: generalize mouse-selection code to LyXTexts other that
1942 * textcursor.C: do not use y coords if we can use par offsets
1944 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1946 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1947 cursor position after e.g. inset insert)
1949 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1951 * lyxfind.C (replace): adjust to locking removal + some
1954 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1956 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1959 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1962 * output_docbook.C: XML sanitation: new layout
1963 parameters InnerTag and CommandDepth
1965 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1967 * BufferView_pimpl.C:
1969 * text3.C: Fix the insertion and modification of button-style
1972 2003-11-13 André Pönitz <poenitz@gmx.net>
1974 * InsetList.[Ch]: remove deleteLyXText
1976 * paragraph.[Ch]: cache beginOfBody position
1981 * text3.C: remove superfluous update() calls
1985 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1987 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1988 * BufferView.C (fitLockedInsetCursor): remove
1989 * cursor.[Ch] (getDim): add
1990 * text.C (getRowNearY): add faster version
1991 * text3.C: remove some update calls
1993 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2005 * text3.C: The Character Style /XML short element patch.
2007 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2010 * factory.C: Small step to solving 'unable to insert some insets'
2013 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2015 * cursor.[Ch] (updatePos): new function for updating the y
2016 position of the tip inset
2017 * bufferview_funcs.C (put_selection_at):
2018 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2020 2003-11-11 André Pönitz <poenitz@gmx.net>
2022 * text.C: remove big comment on invalid Paragraph pointers as it is
2025 2003-11-11 André Pönitz <poenitz@gmx.net>
2027 * text_funcs.[Ch]: merge with ...
2035 * Makefile.am: remove text_funcs.[Ch]
2037 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2039 * cursor.C (getPos): return absolute cached y coord
2041 * BufferView_pimpl.C (fitCursor): new simplistic code
2042 (workAreaDispatch): add a fitCursor call
2044 2003-11-10 André Pönitz <poenitz@gmx.net>
2047 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2049 2003-11-10 André Pönitz <poenitz@gmx.net>
2051 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2052 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2053 indicate that the cursor needs to leave an inset
2055 * lyxtext.h: remove inset locking
2057 * cursor.[Ch]: re-implement functionality provided by inset locking
2060 * BufferView_pimpl.[Ch]:
2062 * bufferview_funcs.[Ch]:
2074 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2076 * PosIterator.[Ch]: replace the stack with a vector, add inset
2078 * iterators.[C]: adjust
2080 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2082 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2084 * paragraph_funcs.C (readParToken): put the correct id in the
2085 error item, not the id of the top paragraph
2087 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2089 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2090 * bufferview_funcs.C (put_selection_at): use the above
2092 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2094 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2096 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2098 * output_linuxdoc.h:
2099 * output_plaintext.h:
2101 * output_docbook.h: add #include statements
2103 2003-11-05 José Matos <jamatos@lyx.org>
2105 * output_docbook.[Ch]:
2106 * output_latex.[Ch]:
2107 * output_linuxdoc.[Ch]:
2108 * output_plaintext.[Ch]: New files for output formats.
2109 * output.[Ch]: New file for helper functions.
2112 * paragraph_funcs.[Ch]: output functions moved to new files.
2114 * outputparams.h: rename of latexrunparams.h
2122 * paragraph_funcs.[Ch]:
2123 * paragraph_pimpl.[Ch]:
2124 * tabular.[Ch]: rename ascii to plaintext
2125 and LatexRunParams to OutputParams.
2127 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2129 * iterators.[Ch] (text): require bv argument
2130 * undo.C (recordUndo):
2131 * lyxfunc.C (dispatch):
2132 * bufferview_funcs.C (put_selection_at): adjust
2134 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2136 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2138 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2140 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2143 2003-11-04 André Pönitz <poenitz@gmx.net>
2145 * cursor.[Ch]: restructure
2148 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2150 * iterators.[Ch] (asCursor): remove
2152 * lfuns.h: remove LFUN_INSET_EDIT
2158 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2160 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2162 * lyxfind.[Ch]: complete overhaul
2163 * BufferView_pimpl.C:
2165 * paragraph.[Ch] (insert): add
2167 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2171 * text.C: remove dead spellcheck code
2173 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2175 * dispatchresult.h: add a val setter
2177 * cursor.C (dispatch): use a tempvar for data_[i]
2179 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2181 * PosIterator.[Ch]: compile fix
2183 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2185 * text.C (cursorPar): deactivate the cursor cache
2187 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2189 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2191 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2193 * text3.C (dispatch): adjust for new DisptchResult semantics.
2195 * lyxfunc.C (dispatch): handle update when return from
2196 Cursor::dispatch, adjust for new DispatchResult semantics.
2198 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2199 DispatchResult(true) mean to not update. Add class functions for
2200 setting dispatched and update, as well as reading.
2202 * cursor.C (dispatch): don't handle update here
2204 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2206 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2207 * trans_mgr.C: adjust
2209 * paragraph_funcs.C (readParToken): exception safety
2211 * lyxvc.h: store the vcs pointer in a scoped_ptr
2214 * lyxsocket.C (serverCallback): exception safety
2216 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2218 * ispell.C (clone): make it return a auto_ptr
2220 * factory.C (createInset): exception safety
2221 (readInset): exception safety
2223 * bufferlist.C (newBuffer): exception safety
2225 * Thesaurus.C (Thesaurus): use initialization for aik_
2227 * MenuBackend.C (expandToc): exception safety.
2229 2003-11-03 André Pönitz <poenitz@gmx.net>
2233 * bufferview_funcs.C: remove getInsetFromId()
2236 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2242 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2244 * PosIterator.C (distance, advance): new
2245 * bufferview_funcs.[Ch] (put_selection_at): new
2246 * iterators.[Ch] (lockPath): new
2248 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2250 * iterators.[Ch] (asPosIterator): added
2251 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2252 * PosIterator.[Ch]: added
2254 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * cursor.C (dispatch):
2259 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2261 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2262 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2263 contructor, add a class function dispatched. Remove operator>=
2265 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2267 * debug.C: only use the default constructor for debugstream
2270 * main.C (main): include debug.h and setup the lyxerr streambuf
2273 2003-10-31 José Matos <jamatos@lyx.org>
2275 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2277 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2278 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2279 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2280 * paragraph_pimpl.C (simpleTeXSpecialC):
2281 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2282 add LatexRunParams argument.
2284 * exporter.C (Export): change call accordingly.
2286 * latexrunparams.h: add new member to take care of the other backends.
2287 2003-10-30 José Matos <jamatos@lyx.org>
2289 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2290 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2291 factorise code for paragraph output.
2293 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2296 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2298 * text3.C (dispatch):
2299 * lyxfunc.C (dispatch):
2300 * cursor.C (dispatch):
2301 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2303 * dispatchresult.h: make the dispatch_result_t ctor explicit
2305 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2308 * buffer.C: small refactoring of docbook stuff
2310 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2315 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2317 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2318 operator dispatch_result_t, and operators for == != and >=
2320 * cursor.C (dispatch): adjust for operator dispatch_result_t
2321 removal. comment out call to update
2323 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2325 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2333 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2336 * dispatchresult.h: new file, DispatchResult broken out of
2339 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2341 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2343 * text.C (rowBreakPoint): put a hack inside #if 0
2345 2003-10-28 André Pönitz <poenitz@gmx.net>
2349 * paragraph_funcs.C:
2352 * text2.C: general cleanup (lots of small stuff)
2354 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2356 * text2.C (cursorEnd): simple fix to the "end key goes to one
2357 before the end on last row" bug
2359 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2361 * text.C (backspace): fix the "zombie characters"
2363 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2365 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2367 2003-10-27 André Pönitz <poenitz@gmx.net>
2369 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2371 * factory.C: handle new InsetPagebreak, InsetLine
2373 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2374 and move handling into new InsetPagebreak, InsetLine
2376 * BufferView_pimpl.C:
2378 * ParagraphParameters.C:
2379 * ParameterStruct.h:
2384 * paragraph_funcs.C:
2385 * paragraph_pimpl.C:
2391 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2394 * lyxrow_funcs.[Ch]:
2400 * text3.C: remove lastPos uses in favour of Row::endpos
2402 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2404 * undo.C (performUndoOrRedo): fix two crashes by setting a
2405 cursor by hand and reordering some calls. Use bv->lockInset instead
2406 of inset->edit because the latter loses cursor information
2408 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2410 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2412 (rowBreakPoint): fix width. change point to point + 1.
2413 Add a missing check.
2415 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2418 * lyxfunc.C: fix (at least partly) the problems
2419 with the Nav menu and headers inside branch insets
2422 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2424 * paragraph.C (getChar): add strong asserts
2426 * lyxrow_funcs.C (lastPos): remove hideous hack
2428 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2429 (fill): adjust to that (avoid an infinite loop)
2431 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2433 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2435 2003-10-23 André Pönitz <poenitz@gmx.net>
2437 * RowList_fwd.h: change list<> to vector<> to gain speed
2438 after suggestion from Alfredo
2440 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2442 * lyxtext.h: move the bidi stuff from here...
2445 * Bidi.[Ch]: ... to here
2447 2003-10-23 André Pönitz <poenitz@gmx.net>
2450 * text.C (isLastRow, isFirstRow): new functions
2452 * paragraph.h: new width cache member
2454 * rowpainter.C: replace RowList::iterator with Row & where possible
2456 * lyxfunc.C: replace several view()->text with a single call
2458 * toc.C: fix 'unused' warning
2460 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2462 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2463 when woring with stream::pos_type
2464 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2466 2003-10-22 André Pönitz <poenitz@gmx.net>
2469 * text.C: use Row & instead of RowList::iterator
2471 * lyxrow.h: rename end() to endpos()
2477 2003-10-22 Angus Leeming <leeming@lyx.org>
2479 * buffer.[Ch] (fully_loaded): new member function, returning true
2480 only when the file has been loaded fully.
2481 Used to prevent the premature generation of previews and by the
2482 citation inset to prevent computation of the natbib-style label.
2484 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2485 templates are all set up.
2487 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2489 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2491 * text.C: fixed an "oops" in the "is a bit silly"
2494 2003-10-21 André Pönitz <poenitz@gmx.net>
2496 * FuncStatus.[Ch]: small stuff, whitespace
2498 * lyxfont.[Ch]: operator<<() for debug reasons
2502 * lyxtext.h: whitespace, spelling
2504 * paragraph.C: naming of variables
2507 * text2.C: small stuff
2510 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2512 * text.C: (1) finish off the inset display() work;
2513 (2) fix the "is a bit silly" bug (accessing char
2516 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2518 * text.C: re-introduce display() for insets, fixing the
2519 various bugs (stretch of line above, math inset
2522 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2524 * text.C (rightMargin): remove spurious semicolon
2526 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2529 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2531 * text3.C: fix one crash due to wrong cursor def
2533 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * vc-backend.C (scanMaster): make the regex static
2537 * LaTeX.C (scanAuxFile): make the regexs static
2539 * text3.C (doInsertInset, dispatch, dispatch):
2540 * text2.C (cursorUp, cursorDown):
2541 * text.C (selectNextWordToSpellcheck):
2542 * BufferView_pimpl.C (dispatch):
2543 * lyxfunc.C (dispatch): localDispatch -> dispatch
2545 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2547 * lyxsocket.C: include <cerrno>
2549 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2551 * lyxfunc.C (dispatch): remove textcache stuff
2553 * bufferlist.C (release): remove textcache stuff
2556 * TextCache.C: delete file
2557 * TextCache.h: delete file
2559 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2561 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2562 delete of the bv_->text.
2563 (resizeCurrentBuffer): remove texcache stuff
2564 (workAreaResize): ditto
2566 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2571 2003-10-16 André Pönitz <poenitz@gmx.net>
2578 * text3.C: speed up by storing y positions per paragraph plus per-row
2579 offset instead of having a 'full' y position in the row.
2581 2003-10-15 André Pönitz <poenitz@gmx.net>
2585 * undo.[Ch]: make undo aware of inner insets
2587 2003-10-14 Angus Leeming <leeming@lyx.org>
2589 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2590 static member functions LyX::ref() and LyX::cref.
2591 (lastfiles): new accessor functions for the new lastfiles_ member var.
2592 (addLyXView, views_): add a new LyXView to the list of views_.
2593 (updateInset): loop over all LyXViews to call their own updateInset
2594 member function, returning a pointer to the Buffer owning the inset.
2596 * BufferView_pimpl.C (loadLyXFile):
2597 * MenuBackend.C (expandLastfiles):
2598 * bufferlist.C (MenuWrite, QuitLyX):
2599 lastfiles is no longer a global variable.
2600 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2602 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2603 static function. Access through LyX::cref().emergencyCleanup().
2605 2003-10-14 André Pönitz <poenitz@gmx.net>
2607 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2609 * undo.[Ch]: restoring part of 'undo in insets'
2612 * undo_funcs.[Ch]: merge with undo.[Ch]
2614 * tabular.C: small cleansing stuff
2616 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2618 * paragraph_funcs.C (readParToken): report unknown insets as error
2619 boxes. Use the outer paragraph as location (also for unknown
2622 * factory.C (readInset): do not abort on reading an unknown inset.
2623 Eat it and return 0.
2625 2003-10-13 Angus Leeming <leeming@lyx.org>
2627 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2629 * lyxrc.C: displayTranslator is now a function,
2630 declared in GraphicsTypes.h.
2632 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2634 * format.C: new placeholder $$a to pass the socket address.
2636 * bufferlist.[Ch]: new function getBufferFromTmp.
2638 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2639 files in the temporary dir.
2641 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2643 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2645 * Makefile.am: add lyxsocket.[Ch].
2647 * lyx_main.C (error_handler): handle SIGPIPE.
2649 2003-10-13 André Pönitz <poenitz@gmx.net>
2651 * BufferView_pimpl.C:
2656 * undo_funcs.[Ch]: use paroffset_type instead of
2657 ParagraphList::iterators to prevent multiple conversion
2658 (and get a more robust interface)
2660 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2662 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2664 * text3.C (dispatch): ditto
2666 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2669 move the onlyfile, use onlyfile instead of foundfile in a couple
2672 * DepTable.C (update): flush the error stream a bit more
2674 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * lyxserver.C (callback): adjust
2678 * lyxfunc.C (getStatus): add a missing brace in commented code
2679 (ensureBufferClean): reindent
2680 (dispatch): delete version taking a string
2682 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2684 * LaTeX.C (deplog): move found file handlig from here...
2685 (handleFoundFile): .. to new function here.
2686 (deplog): make sure to discover several files mentioned on the
2689 2003-10-10 André Pönitz <poenitz@gmx.net>
2696 * text3.C: fix some of the tabular crashes
2698 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2700 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2702 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2704 2003-10-09 André Pönitz <poenitz@gmx.net>
2706 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2709 * BufferView_pimpl.C:
2710 * bufferview_funcs.C:
2721 * undo_funcs.C: adjust
2723 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2725 * text2.C (incrementItemDepth): new function, use a backtracking
2726 algorithm to discover the correct item depth.
2727 (resetEnumCounterIfNeeded): new function, use a backtracking
2728 algorithm to discover if counter reset is needed.
2729 (setCounter): use them. Simplify a bit. Add different labels for
2730 different item depths for itemize.
2732 * paragraph.C (Paragraph): remove initialization of enumdepth
2735 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2736 enumerate and itemize. Change the type of itemdepth to signed char.
2738 2003-10-08 André Pönitz <poenitz@gmx.net>
2740 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2745 * tabular.[Ch]: fix crash after 'row-insert'
2747 2003-10-08 Angus Leeming <leeming@lyx.org>
2749 Fix doxygen warnings.
2751 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2752 Remove CutAndPaste:: prefix from header file declaration.
2754 * LColor.h (fill): remove LColor:: prefix from declaration.
2756 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2757 use lyx::depth_type rather than Paragraph::depth_type so that
2758 header file and .C file match.
2760 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2762 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2763 * aspell.C: \file aspell_local.C -> \file aspell.C
2764 * gettext.C: \file gettext.C -> \file src/gettext.C
2765 * gettext.h: \file gettext.h -> \file src/gettext.h
2766 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2767 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2768 * text.C: \file text.C -> \file src/text.C
2770 * toc.C: move comment so that doxygen is not confused.
2772 2003-10-07 Angus Leeming <leeming@lyx.org>
2774 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2776 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2779 * aspell_local.h: add forgotten std::string's.
2781 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2788 * text3.C: The Box patch. Fancybox support, minipage, parbox
2790 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2796 * ParagraphParameters.h:
2806 * lyxtextclasslist.h:
2809 * paragraph_pimpl.C:
2810 * textcursor.h: add <string> and other small fixes to make Lars'
2811 std::string patch compile with STLport.
2813 2003-10-06 Angus Leeming <leeming@lyx.org>
2815 * LColor.h: Add missing #include <string>.
2817 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2819 * All most all file in all subdirs: Make <string> be the prefered
2820 way of getting to std::string, add using declarations.
2822 2003-10-06 André Pönitz <poenitz@gmx.net>
2824 * metricsinfo.C: initialize LyXFont before changing attribute.
2825 (fixes the 'math in \emph is upright' bug)
2827 2003-10-06 André Pönitz <poenitz@gmx.net>
2829 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2831 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2834 * paragraph_pimpl.C: Small fixes to build using STLport
2836 2003-10-02 André Pönitz <poenitz@gmx.net>
2839 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2841 2003-10-01 André Pönitz <poenitz@gmx.net>
2843 * factory.C: assert early
2845 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2847 * lyx_main.C: remove the global debug object
2849 * debug.h: adjust for new debugstream
2851 * debug.C: adjust for new debugstream and keep the global debug
2854 2003-09-22 Angus Leeming <leeming@lyx.org>
2856 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2857 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2858 an incomplete class LyXFont.
2860 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2862 * factory.C: bug fix in branches
2864 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2866 * lyxfunc.C (processKeySym): adjust
2868 (dispatch): change arg name from ev to func, adjust
2869 (sendDispatchMessage): ditto
2871 * lyx_main.C (defaultKeyBindings): adjust keybindings
2872 (deadKeyBindings): ditto
2874 * kbsequence.C (addkey): return a FuncRequest
2876 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2878 * kbmap.C (bind): take a FuncRequest as arg, adjust
2881 (defkey): change to take a FuncRequest as arg, adjust
2882 (findbinding): take a FuncRequest as arg, adjust.
2884 * funcrequest.h (operator=): added
2886 * funcrequest.C (FuncRequest): default kb_action changed from
2887 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2889 * buffer.C (dispatch): simplify
2890 (dispatch): adjust to take a FuncRequest as arg, adjust
2892 * boost.C (assertion_failed): change assertion message slightly
2894 * ToolbarBackend.C (read): simplify
2896 * MenuBackend.C (binding): adjust call to findbinding, add a
2897 message if no binding is found.
2899 (expandToc): correct by adding a empty FuncRequest
2901 * LyXAction.C: include <boost/assert.hpp>
2902 (isPseudoAction): delete function
2903 (LookupFunc): change name to...
2904 (lookupFunc): this. change return type to FuncRequest.
2905 (getActionName): take kb_action as arg, simplify
2906 (funcHasFlag): add an assert, simplify.
2908 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2910 * toc.C (action): return a FuncRequest, simplify
2912 * lyxfunc.C (processKeySym): adjust
2913 (getStatus): delete version that takes an int.
2915 (dispatch): delete version that takes action as int
2917 (sendDispatchMessage): simplify and adjust
2919 * funcrequest.C (getArg): take unsigned int as arg
2921 * ToolbarBackend.C (read): adjust
2922 (add): delete version that takes func as a string.
2923 (getIton): take a FuncRequest as arg
2925 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2928 * MenuBackend.C (MenuItem): add a new construct that only takes a
2929 Kind, simplify the constructor use for submenus.
2931 (expandLastfiles): adjust
2932 (expandDocuments): adjust
2933 (expandFormats): adjust
2934 (expandFloatListInsert): adjust
2935 (expandFloatInsert): adjust
2936 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2938 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2939 Remove class variables lyx_pseudo_map and lyx_arg_map
2941 * LyXAction.C (searchActionArg): delete function
2942 (getPseudoAction): delete function
2943 (retrieveActionArg): delete function
2944 (LookupFunc): make it return kb_action, simplify.
2945 (getActionName): simplify
2947 * factory.C (createInset): fix new bug
2949 2003-09-19 Angus Leeming <leeming@lyx.org>
2951 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2952 masterFilename_ parameter in the include inset.
2954 * factory.C (createInset): changes due to the changes to InsetInclude.
2956 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2958 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2960 2003-09-18 Angus Leeming <leeming@lyx.org>
2963 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2964 Inset::fillWithBibKeys.
2965 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2967 2003-09-18 Angus Leeming <leeming@lyx.org>
2969 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2971 (ctor): pass and store a 'Buffer const &'
2972 (buffer): new member function.
2974 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2975 '*this' to the LaTeXFeatures ctor.
2977 2003-09-18 Angus Leeming <leeming@lyx.org>
2983 * text.C: rename EnumLColor as LColor_color.
2985 2003-09-18 Angus Leeming <leeming@lyx.org>
2987 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2988 remove #include "insets/insetbase.h" from cursor.h.
2990 2003-09-18 Angus Leeming <leeming@lyx.org>
2992 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2993 InsetOld_code to remove #include "inset.h".
2995 * iterators.C: add #include "insets/inset.h"
2997 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2999 * BufferView.C: remove more locking stuff that apparently doesn't
3000 do anything sensible.
3002 2003-09-16 André Pönitz <poenitz@gmx.net>
3005 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3008 2003-09-16 Angus Leeming <leeming@lyx.org>
3010 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3012 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3015 * paragraph.h: remove #include "lyxfont.h". Forward declare
3018 2003-09-16 Angus Leeming <leeming@lyx.org>
3020 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3021 of support/textutils.h.
3022 (isWord): move the contents of support/textutils.h's IsWordChar here.
3028 * text2.C: add #include "paragraph.h".
3031 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3033 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3039 * LaTeX.C: use namespace alias for lyx::support::os
3041 2003-09-16 Angus Leeming <leeming@lyx.org>
3044 * bufferview_funcs.C:
3047 * paragraph_pimpl.C:
3049 * text.C: add #include "LColor.h".
3051 2003-09-16 Angus Leeming <leeming@lyx.org>
3053 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3054 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3056 Store the FontBits::color variable as an int rather than as an
3057 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3060 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3061 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3062 string calls together.
3064 * lyxrc.C: add #include "LColor.h".
3066 2003-09-15 Angus Leeming <leeming@lyx.org>
3068 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3071 2003-09-15 Angus Leeming <leeming@lyx.org>
3073 * LColor.h: add an EnumLColor wrapper for LColor::color.
3075 * lyxfont.[Ch] (color, setColor, realColor):
3076 * lyxtext.h, text.C (backgroundColor):
3077 pass EnumLColor args to/from the functions, rather than LColor::color
3081 * lyxtext.h: forward declare EnumLColor.
3083 * lyx_main.C: add #include "LColor.h".
3085 2003-09-15 Angus Leeming <leeming@lyx.org>
3087 * .cvsignore: add lyx-gtk.
3089 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * ParagraphParameters.C
3098 * bufferview_funcs.C
3108 * vc-backend.C: remove usage of STRCONV
3110 2003-09-15 Angus Leeming <leeming@lyx.org>
3112 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3113 explicitly define the color passed to the painter.
3115 2003-09-15 Angus Leeming <leeming@lyx.org>
3117 * bufferparams.C (BufferParams): reorder member initializers to avoid
3120 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3122 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3123 * text.C (updateRowPositions): remove an unusual nop
3125 2003-09-12 André Pönitz <poenitz@gmx.net>
3127 * BufferView_pimpl.C:
3136 * Counters.[Ch]: finish the 'automatic counters' job
3138 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3140 * aspell.C: include <boost/assert.cpp> (compile fix)
3142 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3144 * boost.C (assertion_failed): use lyx::support::abort instead of
3147 2003-09-10 Angus Leeming <leeming@lyx.org>
3149 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3150 with their _fwd progeny.
3152 2003-09-09 Angus Leeming <leeming@lyx.org>
3154 134 files throughtout the source tree: replace 'using namespace abc;'
3155 directives with the appropriate 'using abc::xyz;' declarations.
3157 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3159 * boost.C (emergencyCleanup): moved here from LAssert.c
3160 (assertion_failed): new function, called by BOOST_ASSERT
3162 * several files: change Assert to BOOST_ASSERT
3164 2003-09-09 Angus Leeming <leeming@lyx.org>
3166 * buffer.[Ch]: Add an Impl class and move Buffer's member
3167 variables into it. As a result move several header files out of
3170 Add header files to lots of .C files all over the tree as a result.
3172 2003-09-09 Angus Leeming <leeming@lyx.org>
3174 * buffer.[Ch]: make Buffer's member variables private. Add
3177 Lots of changes all over the tree as a result.
3179 2003-09-08 Angus Leeming <leeming@lyx.org>
3181 * graph.C: #include <config.h>.
3183 2003-09-08 Angus Leeming <leeming@lyx.org>
3187 * BufferView_pimpl.C:
3216 * toc.C: remove redundant using directives.
3218 2003-09-07 Angus Leeming <leeming@lyx.org>
3220 * LaTeXFeatures.h: remove #include "support/types.h".
3221 * ToolbarBackend.h: remove #include <algorithm>.
3222 * changes.h: remove #include <ctime>.
3223 * debug.h: remove #include <iosfwd>.
3224 * graph.h: remove #include "support/std_string.h".
3225 * lyx_main.h: remove #include <csignal>.
3226 * lyxlex_pimpl.h: remove #include <fstream>.
3227 * sgml.h: remove #include <algorithm>, <utility>.
3228 * toc.h: remove #include "support/std_ostream.h".
3229 Add #include <iosfwd>.
3231 2003-09-07 Angus Leeming <leeming@lyx.org>
3233 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3235 * converter.h: forward declare LatexRunParams.
3236 * encoding.h: remove #include "lyxrc.h".
3237 * lyxtext.h: remove #include "LColor.h".
3238 * lyxtextclass.h: remove #include "support/types.h".
3239 * trans.h: remove #include "tex-accent.h".
3240 * trans_mgr.h: remove #include "tex-accent.h".
3241 * insets/inset.h: remove #include "support/types.h", <vector>.
3242 * insets/insetcollapsable.h: remove #include "LColor.h".
3243 * insets/insetinclude.h: remove #include "dimension.h".
3244 * insets/insetlatexaccent.h: remove #include "dimension.h".
3245 * insets/insetoptarg.h:: remove #include "insettext.h".
3246 * insets/insettext.h: remove #include "dimension.h",
3247 <boost/shared_ptr.hpp>
3249 * insets/renderers.h: add #include "dimension.h".
3250 * insets/updatableinset.h: add #include "support/types.h".
3252 * many .C files: Associated changes.
3254 2003-09-06 Angus Leeming <leeming@lyx.org>
3256 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3257 one, inside testInvariant.
3259 * PrinterParams.C: new file.
3260 * PrinterParams.[Ch]: move the function bodies out of line.
3262 2003-09-06 Angus Leeming <leeming@lyx.org>
3264 * ParagraphParameters.h: forward declare ParameterStruct rather than
3265 including its header file.
3266 (depth): moved out-of-line.
3268 2003-09-06 Angus Leeming <leeming@lyx.org>
3270 * BufferView_pimpl.h:
3273 * lyxfunc.h: forward declare LyXKeySym rather than
3274 #include "frontends/LyXKeySym.h".
3276 * BufferView_pimpl.C:
3279 * lyxfunc.C: associated changes.
3281 2003-09-06 Angus Leeming <leeming@lyx.org>
3283 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3284 As a result, can remove the #include "insets/inset.h" from BufferView.h
3286 2003-09-06 Angus Leeming <leeming@lyx.org>
3288 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3289 As a result, can remove the #include "insets/inset.h" from BufferView.h
3291 2003-09-06 Angus Leeming <leeming@lyx.org>
3297 * bufferview_funcs.C:
3298 * BufferView_pimpl.C:
3303 * ParagraphParameters.C:
3308 * frontends/controllers/ControlDocument.C:
3309 * insets/insetcaption.C: rearrange the #includes into some sort of
3312 * buffer.h: remove #includes ErrorList.h, undo.h
3314 2003-09-06 Angus Leeming <leeming@lyx.org>
3316 * support/types.h: add a 'depth_type' typedef, used to store the
3317 nesting depth of a paragraph.
3320 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3321 defining explicitly.
3324 * paragraph_funcs.h:
3325 * ParagraphParameters.h:
3326 * sgml.h: use lyx::depth_type rather than Paragraph or
3327 ParameterStruct's depth_type.
3330 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3333 * BufferView_pimpl.C:
3335 * ParagraphParameters.C:
3338 * bufferview_funcs.C:
3345 * frontends/LyXView.C:
3346 * frontends/controllers/ControlDocument.C:
3347 * frontends/controllers/ControlErrorList.C:
3348 * insets/insetbibitem.C:
3349 * insets/insetbranch.C:
3350 * insets/insetcaption.C:
3351 * insets/insetcollapsable.C:
3352 * insets/insetenv.C:
3353 * insets/insetert.C:
3354 * insets/insetfloat.C:
3355 * insets/insetfoot.C:
3356 * insets/insetfootlike.C:
3357 * insets/insetnewline.C:
3358 * insets/insetquotes.C:
3359 * insets/insettabular.C:
3360 * insets/insettext.C:
3361 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3363 * frontends/controllers/ControlChanges.C: #include "changes.h".
3365 2003-09-06 Angus Leeming <leeming@lyx.org>
3367 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3368 than #including paragraph.h.
3371 * RowList.h: deleted. Superfluous.
3381 * insets/insettext.h: use ParagraphList_fwd.h rather than
3384 * paragraph.h: don't forward declare ParagraphList.
3387 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3388 rather than ParagraphList.h. paragraph.h is still needed for the
3389 Paragraph::depth_type parameters.
3391 * textcursor.h: enable it to compile stand-alone in light of the
3394 * bufferview_funcs.C:
3406 * frontends/controllers/ControlParagraph.C:
3407 * frontends/controllers/ControlTabular.C:
3408 * insets/insetmarginal.C:
3409 * insets/insetminipage.C:
3410 * insets/insetnote.C:
3411 * insets/insetoptarg.C: add header files needed to compile again.
3413 2003-09-06 Angus Leeming <leeming@lyx.org>
3415 * RowList_fwd.h: new file, forward-declaring Row rather than
3416 #including lyxrow.h.
3421 * insets/insettext.h: use it instead of RowList.h
3423 * bufferview_funcs.C:
3430 * text3.C: #include "RowList.h".
3432 2003-09-05 Angus Leeming <leeming@lyx.org>
3434 * factory.C (createInset):
3435 * vspace.C (c-tor): replace sscanf call with an istringstream.
3436 * ispell.C: re-add missing HP/UX headers.
3437 * lyxserver.C: re-add missing os2 headers.
3439 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3448 * text3.C: re-add missing system headers, needed for 2.95.2.
3450 2003-09-05 Angus Leeming <leeming@lyx.org>
3452 Changes most place everywhere due to the removal of using directives
3453 from support/std_sstream.h.
3455 2003-09-05 Angus Leeming <leeming@lyx.org>
3457 Replace LString.h with support/std_string.h,
3458 Lsstream.h with support/std_sstream.h,
3459 support/LIstream.h with support/std_istream.h,
3460 support/LOstream.h with support/std_ostream.h.
3462 Changes resulting throughout the tree.
3464 2003-09-05 Angus Leeming <leeming@lyx.org>
3466 * sgml.h: ensure that the header file can be compiled stand-alone.
3467 * *.C: strip out redundant #includes. (320 in total.)
3469 2003-09-04 Angus Leeming <leeming@lyx.org>
3471 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3472 here (from getPackages).
3474 * debug.[Ch]: add a new EXTERNAL tag.
3476 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3478 * text2.C (cursorEnd): simplify
3480 (getColumnNearX): adjust
3482 * text.C (computeBidiTables): adjust
3485 * rowpainter.C (paintChars): adjust
3486 (paintSelection): adjust
3487 (paintChangeBar): adjust
3490 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3492 (numberOfSeparators): adjust
3494 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3500 * text3.C: Restricts the mouse click functionality
3501 of insets like bibtex, include, toc and floatlist to the visible
3502 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3503 up the dialogs. Cursor has to be in front of the inset (i.e.
3504 start of row) for this to function.
3506 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3508 * bufferview_funcs.C (currentState): output row information
3510 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3512 * bufferview_funcs.C (currentState): output paragraph position
3514 2003-09-04 Angus Leeming <leeming@lyx.org>
3516 * FloatList.h: move out #include "Floating.h".
3517 * LaTeX.h: move out #include "DepTable.h".
3518 * LyXAction.h: move out #include "funcrequest.h".
3519 * buffer.h: move out #include "author.h", "iterators.h".
3520 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3521 * lyx_main.h: move out #include "errorlist.h".
3522 * lyxfunc.h: move out #include "FuncStatus.h".
3523 * lyxtext: move out #include "lyxcursor.h".
3524 * paragraph_pimpl.h: move out #include "counters.h".
3526 2003-09-03 Angus Leeming <leeming@lyx.org>
3528 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3529 preamble_snippets list, enabling us to add snippets to the preamble
3530 only if the snippet was not there already.
3532 2003-09-04 Angus Leeming <leeming@lyx.org>
3534 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3536 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3541 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3543 * BranchList.C: point fix, earlier forgotten
3545 2003-09-02 Angus Leeming <leeming@lyx.org>
3547 * box.C (contains): renamed from 'contained' after a fantastic
3550 2003-09-02 John Levon <levon@movementarian.org>
3556 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3558 2003-09-02 John Levon <levon@movementarian.org>
3560 * text2.C: simplification of cursorEnd(), including partial
3563 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * buffer.C (readFile): add a space
3567 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3569 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3571 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * buffer.C (readFile): new function, take a filename and a
3574 ParagraphList::iterator
3576 (readFile): adjust, make it private. don't use setStream, make
3577 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3578 always contain the filename.
3580 * BufferView.C (insertLyXFile): simplify and make it work for
3583 2003-08-30 John Levon <levon@movementarian.org>
3585 * Makefile.am: fix dist (from Kayvan)
3587 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * most files: change to use const Buffer refs
3591 2003-08-27 André Pönitz <poenitz@gmx.net>
3593 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3594 on top of ownerPar().
3596 2003-08-27 John Levon <levon@movementarian.org>
3598 * funcrequest.C: properly initialise POD members
3600 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3602 * lyxtext.h (top_y): move top_y from here
3607 * BufferView_pimpl.[Ch]: to here
3608 * frontends/screen.C:
3609 * insets/insettabular.C:
3610 * insets/insettext.C: adjust
3611 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3613 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3616 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3618 2003-08-26 André Pönitz <poenitz@gmx.net>
3620 * paragraph_func.[Ch] (outerPar): new function
3623 * paragraph_funcs.C:
3624 * paragraph_funcs.h:
3625 * paragraph_pimpl.C:
3626 * text2.C: remove Inset::par_owner
3628 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3633 * text2.C: eliminates the needFullRow/display() stuff
3634 altogether, putting the logic in metrics/draw in the insets.
3636 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3638 * text2.C (redoParagraphInternal, redoParagraphs):
3639 * text.C (redoParagraph): add a call to updateRowPositions at the
3640 end of each 'metrics-like' call. Remove all others.
3641 (getRow): remove the 'y-computing' version.
3642 (getRowNearY): do not compute nor return the real y. Solve the
3643 'y < 0' problem and simplify.
3645 2003-08-22 Angus Leeming <leeming@lyx.org>
3647 * *.[Ch]: clean-up of licence and author blurbs.
3648 Also move config.h out of a few .h files and into a few .C files.
3650 2003-08-22 André Pönitz <poenitz@gmx.net>
3652 * lyxrow.[Ch]: add x_ and *fill_ members
3657 * text2.C: adjust/remove prepareToPrint() calls
3659 2003-08-22 André Pönitz <poenitz@gmx.net>
3661 * lyxrow.[Ch]: add end_ member
3663 * lyxrow_funcs.C: use LyXRow::end_
3665 * lyxtext.h (singleWidth): add LyXFont parameter
3668 * text2.C: adjust LyXText::singleWidth() calls
3670 * text.C (redoParagraph): simplify row breaking logic
3673 2003-08-19 André Pönitz <poenitz@gmx.net>
3675 * funcrequest.C: initialize button_ member
3678 * rowpainter.[Ch]: interface consolidation
3680 2003-08-18 André Pönitz <poenitz@gmx.net>
3683 * BufferView_pimpl.C:
3685 * paragraph_funcs.C:
3687 * text3.C: remove LyXScreen::draw() and fitCursor calls
3689 * BranchList.h: remove spurious semicolons
3691 * MenuBackend.C: fix branchlist related crash
3693 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3701 * bufferparams.[Ch]:
3705 * text3.C: implements the 'branch inset'
3706 idea. This allows the output of various versions of a document
3707 from a single source version, selectively outputing or suppressing
3708 output of parts of the text.
3709 This implementation contains a 'branch list editor' in a separate
3710 tab of the document settings dialog. Branches are user definable
3711 and have a "display colour" to distinguish them on-screen.
3713 ColorHandler was somewhat cleaned up.
3714 (1) make possible a dynamically growing LColor list by allowing
3715 the graphic context cache to grow along (vector);
3716 (2) eliminate an IMHO unnecessary step in colour allocation.
3718 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3720 * BufferView_pimpl.C: compile fix
3722 2003-08-15 André Pönitz <poenitz@gmx.net>
3724 * rowpainter.C: remove extra metrics calls
3726 * lyxtext.h: merge the two constructors into a single one,
3727 pass reference to owner's par list
3729 * BufferView_pimpl.C:
3733 2003-08-15 André Pönitz <poenitz@gmx.net>
3735 * lyxrow_funcs.[Ch]:
3738 * paragraph_funcs.C:
3743 * text_funcs.C: split LyXText::rowlist_ into individual
3744 Paragraph::rows_ chunks
3747 * BufferView_pimpl.[Ch]:
3750 * text3.C: remove toggleSelection()
3752 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3754 * bufferlist.C: beautify two alerts (shorter text of buttons)
3755 * buffer.C: Remove redundant ' ' from message
3757 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3758 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3759 rename VALIGN_CENTER to VALIGN_MIDDLE
3761 2003-08-11 André Pönitz <poenitz@gmx.net>
3763 * lyxtext.h (getPar):
3764 * text.C: new function
3766 2003-08-11 André Pönitz <poenitz@gmx.net>
3769 * tracer.[Ch]: remove unneeded files
3771 * InsetList.[Ch]: remove resizeInsetsLyXText()
3776 * text3.C: merge insertParagraphs() and appendParagraph()
3777 remove breakAgain(), update()
3779 * BufferView_pimpl.[Ch]:
3780 * bufferview_funcs.[Ch]:
3784 * tabular.C: adjust after text & InsetList changes.
3786 2003-08-08 André Pönitz <poenitz@gmx.net>
3788 * text.C (insertChar, backspace): replace rowlist fiddling
3789 with rebreak of full par
3792 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3793 checkParagraph, updateInset): removed
3795 2003-08-07 André Pönitz <poenitz@gmx.net>
3798 * text3.C: merge some LFUN handlers, remove dead code
3800 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3802 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3804 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3806 * text2.C (DEPM): fix part of bug 1255 and 1256
3808 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3810 * BufferView_pimpl.C (workAreaDispatch): change to use
3811 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3812 that are no mouse related.
3814 2003-08-05 André Pönitz <poenitz@gmx.net>
3817 * BufferView_pimpl.[Ch]:
3818 * bufferview_funcs.C:
3820 * text3.C: rip out "deep update"
3822 * textcursor.[Ch] (last_sel_cursor): remove unused member
3824 2003-08-04 André Pönitz <poenitz@gmx.net>
3827 * BufferView_pimpl.[Ch]:
3828 * ParagraphParameters.C:
3829 * bufferview_funcs.C:
3835 * text3.C: replace "complicated" BufferView::update(...) calls with
3838 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3840 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3842 * Makefile.am (lyx_SOURCES): add paper.h
3844 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3846 * Makefile.am: move things around so that both lyx-qt and
3847 lyx-xforms can be built (according to --with-frontend). Then lyx
3848 is a symbolic link to lyx-[firstfrontend]
3850 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3852 * Always use std::endl with lyxerr
3854 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3856 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3858 2003-08-01 André Pönitz <poenitz@gmx.net>
3861 * BufferView_pimpl.[Ch]:
3863 * text3.C: merge BufferView::repaint() and BufferView::update()
3865 2003-08-01 José Matos <jamatos@lyx.org>
3867 * buffer.[Ch]: file_format is no longer a buffer data element.
3869 2003-08-01 André Pönitz <poenitz@gmx.net>
3874 * text2.C: make redoParagraph more independent of current cursor
3876 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3878 * text2.C: remove unneeded members
3880 2003-07-30 André Pönitz <poenitz@gmx.net>
3882 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3884 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3885 create a single function...
3887 * paragraph_funcs.C (moveItem): ... here.
3890 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3892 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3894 * LColor.[Ch]: Add comment and greyedout logical colors.
3896 2003-07-30 André Pönitz <poenitz@gmx.net>
3898 * tabular.C: don't use Assert too heavily. This crashes where it
3901 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3903 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3904 is disabled (bug 1232)
3906 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3908 * factory.C: limited 'arg' scope
3910 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3912 * factory.C: fixed Note submenu issues
3914 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3916 * factory.C: submenu for Note/Comment/Greyedout
3918 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3921 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3923 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3926 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3927 greyedout. Patch provided by Jürgen Spitzmüller.
3929 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3931 * kbmap.C (read): fix error message when reading bind files
3933 2003-07-29 Angus Leeming <leeming@lyx.org>
3935 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3936 certainly does not do what it purports to do. I am doing it, and
3937 us, a favour by killing it.
3939 2003-07-28 José Matos <jamatos@lyx.org>
3941 * buffer.C (readBody, do_writeFile):
3942 * paragraph.C(readParagraph): \end_document replaces \the_end.
3944 2003-07-29 André Pönitz <poenitz@gmx.net>
3947 * BufferView_pimpl.[Ch]:
3951 * textcursor.[Ch]: remove toggleToggle & Co
3953 2003-07-28 José Matos <jamatos@fep.up.pt>
3955 * buffer.C (readParagraph):
3956 * params_func (readParToken, readParagraph):
3957 * paragraph.C (write): \layout -> \begin_layout.
3959 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * lyxlex_pimpl.C (setFile): clean up slightly.
3963 * bufferparams.h: add compressed var
3965 * buffer_funcs.C (readFile): adjust for LyXLex change
3966 (newFile): ditto + simplify
3968 * buffer.C (writeFile): handle writing of compressed files
3970 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3971 Check if the file is compressed and set a bufferparm if so.
3973 * Makefile.am (lyx_LDADD): remove explicit -lz
3975 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3977 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3978 makeDocBookFile): put the real LyX version in the first line of
3982 * version.C.in: remove lyx_docversion
3984 * tabular.C (write_attribute): add a template-based version to
3985 write enums properly
3987 2003-07-28 André Pönitz <poenitz@gmx.net>
3992 * text3.C: use doubles again for x-coordinates. They are needed.
3994 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3996 * messages.C (getLocaleDir): use lyx_localedir()
3998 * lyxlex_pimpl.C (setFile): compress stuff
4000 * buffer.C (writeFile): add some compression stuff
4001 (do_writeFile): new func, dont call expliti close... will this
4004 * Makefile.am (lyx_LDADD): add -lz
4006 2003-07-28 José Matos <jamatos@fep.up.pt>
4008 * buffer.C: increment file format.
4009 * paragraph_funcs (readParagraph, readParToken):
4010 * paragraph.C (readParagraph): add \end_layout.
4012 2003-07-27 Angus Leeming <leeming@lyx.org>
4014 * Makefile.am: remove special casing for configure-time setting of
4015 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4017 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4018 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4020 2003-07-26 André Pönitz <poenitz@gmx.net>
4022 * paragraph_func.[Ch]:
4023 * paragraph.C (realizeFont): inline it whereever it is used
4028 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4031 2003-07-26 André Pönitz <poenitz@gmx.net>
4035 * text2.C: get rid of LyXText::need_break_row
4037 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * toc.[Ch]: put namespace toc inside namespace lyx
4041 * MenuBackend.C (expandToc2): adjust for lyx::toc
4044 * lyxfunc.C (dispatch): adjust for lyx::find
4046 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4047 lyx::find instead. Reorganize a bit.
4048 (LyXReplace): rename to replace
4049 (LyXFind): rename to find
4051 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4054 2003-07-26 André Pönitz <poenitz@gmx.net>
4056 * text.C (setHeightOfRow): restrict scope of temporary variable
4058 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4059 code (never has been used?)
4061 2003-07-27 Asger Alstrup <alstrup@local>
4063 * text.C (fill): Optimise algorithm to exploit that we can reuse
4064 the LyXFont for many characters.
4065 (setHeightOfRow): Same thing.
4066 (rowBreakPoint): Same thing.
4068 2003-07-26 Asger Alstrup <alstrup@local>
4070 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4072 * text.C (singleWidth): Spurious font copying in hot-spot
4073 singleWidth avoided. Reorder tests for arabic for efficiency.
4075 * text.C (fill): handle empty paragraphs better.
4077 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4080 * encoding.h: add includes
4082 * lyxrc.C: remove reading of bind files
4084 * lyx_main.C (init): setup bindings and menus only if we have a
4087 * kbmap.C (read): new method. Do the actual reading of bind
4090 * converter.C (dvipdfm_options):
4093 (output): adapt PAPER_* enums.
4095 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4097 * bufferparams.h: remove paper-related enums from there
4099 * paper.h: New file. A trivial header file to hold paper-related
4100 enums. It should later expand to contain many paper-related
4103 * lyxrc.C: declare extern displayTranslator
4105 2003-07-27 José Matos <jamatos@fep.up.pt>
4107 * tabular.[Ch] (linuxdoc): add support for tables and figures
4110 2003-07-27 José Matos <jamatos@fep.up.pt>
4112 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4113 consistency in both functions.
4114 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4116 2003-07-26 Asger Alstrup <alstrup@local>
4118 * rowpainter.C (paintRows): Change algorithm to work directly on
4119 the insets rather than asking every character in the document
4120 whether its an inset.
4122 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4124 * buffer.C (openFileWrite): factorize some code
4126 2003-07-26 Angus Leeming <leeming@lyx.org>
4129 * lyx_main.[Ch]: replace occurances of system_tempdir with
4132 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * rename Inset to InsetOld
4136 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4138 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4139 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4140 which I think is a bit clearer. EDIT is gone, since it was
4141 premature optimisation, and broken for mathed anyway.
4142 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4143 with cursor positioning in insets as well (math insets still do not
4144 work, but that's a different story anyway.) It mysteriously
4145 crashes sometimes with undo in the first paragraph, but I'm fairly
4146 confident that this is a compiler bug.
4148 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * paragraph.C (Paragraph): adjust for new clone return type
4152 (copyIntoMinibuffer): ditto
4154 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4156 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4157 by not having a special case, and always doing a full rebreak of
4158 the document after undo.
4160 2003-07-23 Angus Leeming <leeming@lyx.org>
4162 * factory.C (createInset): InsetExternal::setParams now takes a
4165 2003-07-23 Angus Leeming <leeming@lyx.org>
4167 * factory.C (createInset): changed interface to the external and
4168 graphics mailers' string2params functions.
4170 2003-07-23 Angus Leeming <leeming@lyx.org>
4172 * factory.C (createInset): pass a
4173 Buffer const * parameter to InsetExternalMailer's string2params.
4175 2003-07-22 John Levon <levon@movementarian.org>
4177 * Thesaurus.h: include the right aiksaurus header
4179 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4181 * MenuBackend.C (expand): check menu shortcuts unconditionally
4183 2003-07-21 Angus Leeming <leeming@lyx.org>
4185 * factory.C (createInset): pass a
4186 buffer_path parameter to InsetGraphicsMailer's string2params.
4188 2003-07-21 Angus Leeming <leeming@lyx.org>
4190 * BufferView_pimpl.C (buffer):
4193 * lyxfunc.C (dispatch):
4194 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4195 rather than the grfx shortcut.
4197 2003-07-21 André Pönitz <poenitz@gmx.net>
4199 * rowpainter.C: remove unused variables
4202 * tabular_funcs.h: move to tabular.C
4203 * Makefile.am: adjust
4205 * tabular.[Ch]: basic optical cleaning
4207 * author.h: pass references, not values
4209 2003-07-18 André Pönitz <poenitz@gmx.net>
4217 * text3.C: two-phase drawing for InsetText and InsetTabular
4218 some float -> int changes.
4220 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4222 * lyx_main.C: fix the fix
4224 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4226 * lyx_main.C: fix a crash in batch mode if no files specified
4229 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4231 * format.[Ch] (papersize): moved to BufferParams
4232 * converter.[Ch] (dvips_options): moved to BufferParams
4233 (dvipdfm_options): moved to anon namespace
4234 * bufferparams.[Ch]: added above functions.
4236 2003-07-17 André Pönitz <poenitz@gmx.net>
4240 * text2.C: don't call inset->update() anymore
4242 * metricsinfo.[Ch]: add convenience constructor
4244 2003-07-16 André Pönitz <poenitz@gmx.net>
4249 * text2.C: replace the LyXCursor::irow_ member with
4250 on-demand computation of the value
4252 2003-07-16 John Levon <levon@movementarian.org>
4254 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4256 2003-07-15 André Pönitz <poenitz@gmx.net>
4259 * text2.C: remove no more needed refresh_row
4261 2003-07-15 André Pönitz <poenitz@gmx.net>
4266 * text3.C: refresh_status tristate -> need_update bool
4268 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4270 * lyxtext.h (init): remove reinit argument (act as if always true)
4271 * text2.C: adjust to that
4273 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4275 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4276 * text3.C: use it to delete selections in some cases
4277 (bugs 441, 673, 702, 954).
4279 2003-07-14 André Pönitz <poenitz@gmx.net>
4281 * rowpainter.[Ch]: reduce interface
4283 2003-07-14 André Pönitz <poenitz@gmx.net>
4285 * BufferView_pimpl.C:
4286 * text2.C: adjust after removing unused BufferView * argument
4288 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4290 * text2.C (init): fix a crash fired on resize
4292 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4294 * buffer.[Ch]: added new closing signal
4295 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4296 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4297 BufferView::Pimpl via the closing the signal
4299 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4301 * buffer.[Ch]: take out all bv-related from buffer
4303 * BufferView_pimpl.[Ch]: connect to new signals
4304 * CutAndPaste.C: removed useless asserts
4305 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4308 * lyxfunc.C: moved view-related funciontality from vc here
4309 * paragraph.C: removed outdated comments
4312 2003-07-10 André Pönitz <poenitz@gmx.net>
4314 * BufferView_pimpl.C:
4318 * text2.C: remove InsetText::InnerCache, clean up consequences
4320 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4322 * ispell.C: fix two typos in error messages
4324 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4326 * Extend Note inset to other forms of annotation like Comment
4327 and Greyedout. Right button click gives dialog.
4329 Files modified or added (+):
4333 * ControlNote.[Ch] +
4335 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4336 frontends/controllers
4340 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4342 * aspell.C: add missing namespace lyx::support
4344 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4346 * BufferView.[Ch] (newFile): Add
4347 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4348 * LaTeX.[Ch] (message): added this signal and use it
4349 * buffer.[Ch] (busy, message): added these signals and use them
4350 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4354 * importer.C: use buffer signals instead of direct bv calling
4355 * lyx_cb.[Ch] (ShowMessage): removed
4358 * paragraph_funcs.C:
4359 * text2.C: use buffer signals
4361 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * introduce namespace lyx::graphics
4365 2003-07-02 André Pönitz <poenitz@gmx.net>
4367 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4369 2003-07-01 André Pönitz <poenitz@gmx.net>
4376 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4377 text*.C to text_func.C
4379 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4381 * introduce namespace lyx::support
4383 2003-06-30 André Pönitz <poenitz@gmx.net>
4388 * text.C: re-enable --with-included-string
4390 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * textcursor.C: add <config.h>
4394 * text.C (getWord): remove const from word_location arg
4396 * lyxvc.C (getLogFile): fix const type order
4398 * lyxtext.h: remove const from word_location arg, add arg name
4400 * lyxlayout.h: currect type on labeltype.
4402 * importer.C: correct \file
4404 * converter.C (intToFormat): use std:: on ret val, ws changes
4406 * bufferlist.h: correct \file
4408 * buffer.C (makeLinuxDocFile): fix const type order
4409 (makeDocBookFile): ditto
4410 (fillWithBibKeys): use std:: on stdlib args.
4412 * CutAndPaste.C: fix authors.
4413 (availableSelections): use std:: on return vector
4415 2003-06-27 André Pönitz <poenitz@gmx.net>
4417 * BufferView_pimpl.C:
4418 * bufferview_funcs.C:
4426 * text3.C: remove LyXCursor::row_ member
4429 * text.C: rename fullRebreak() to partialRebreak() and implement
4430 a fullRebreak() that really bereks fully
4432 * textcursor.h: new struct for cursor-related data
4434 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4436 * lyx_main.C (LyX): get full path of document loaded on the
4439 2003-06-26 André Pönitz <poenitz@gmx.net>
4441 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4442 remove unused/broken operator>,<,>=.
4444 * text.C: remove only use of broken operator<= in an Assert().
4446 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4448 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4449 moved errorlist_.clear to showErrorList
4451 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4453 * converter.C (scanLog, runLaTeX):
4454 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4455 move the bv->showErrorList call to the callers
4456 * lyxfunc.C: i.e. here...
4458 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4459 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4460 namespace, the second to...
4461 * buffer_funcs (BufferFormat, parseErrors): added
4462 * errorlist.C (ErrorList(TeXErrors const &)): removed
4464 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4466 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4468 2003-06-24 "Garst R. Reese" <reese@isn.net>
4472 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4474 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4476 * version.C.in: change docversion to 1.4
4478 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4480 * buffer.C: fix a bug just introduced
4482 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4484 * buffer.[Ch]: added the parseError signal and use it, removed
4486 * BufferView.[Ch] (addError): moved to ...
4487 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4488 to the Buffer::parseError signal to catch (guess what) parse errors
4489 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4491 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4493 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4494 ability to create a buffer and to return an existing one from
4495 the list. Moved these functions to...
4496 * buffer_funcs.[Ch]: added
4497 * BufferView.[Ch] (loadLyXFile): added
4498 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4499 job removed from bufferlist::loadLyXFile.
4500 * buffer.C (setReadOnly): make it work without view
4501 (i.e added an if (users))
4503 2003-06-19 Angus Leeming <leeming@lyx.org>
4506 * LyXAction.C (init):
4507 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4508 with LFUN_DIALOG_SHOW <name> <data>.
4510 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4512 * CutAndPaste.C (availableSelections): small compilation fix for
4513 ancient (gcc 2.9x) compilers
4515 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * text3.C (cursorNext): add tmp var
4519 * text2.C (updateCounters): for function calling out of for clause
4520 (replaceSelectionWithString): ditto
4521 (insertStringAsParagraphs): ditto
4522 (getColumnNearX): add tmp var
4523 (setCursorFromCoordinates): add tmp var
4524 (cursorDownParagraph): add tmp var
4525 (deleteEmptyParagraphMechanism): add tmp var
4527 * text.C (insertChar): add tmp var
4529 * rowpainter.C (paintDepthBar): add tmp var
4531 * CutAndPaste.C (availableSelections): potentially check all
4532 paragraphs in a cut to fill the shown strings.
4534 2003-06-18 André Pönitz <poenitz@gmx.net>
4536 * kbmap.[Ch]: use vector<> instead of list<>
4538 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4540 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4541 pasteSelection with index
4543 * text2.C (pasteSelection): modify, call pasteSelection with index
4545 * paragraph.C (asString): reimplement version with no interval to
4546 call the one with interval.
4548 * lyxtext.h: add index arg to pasteSelection
4550 * MenuBackend.C (MenuItem): handle PasteRecent
4551 (Menu::read::Menutags): add md_pasterecent
4553 (expandPasteRecent): new function
4556 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4558 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4560 (availableSelections): new function
4562 2003-06-17 Angus Leeming <leeming@lyx.org>
4564 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4566 2003-06-17 Angus Leeming <leeming@lyx.org>
4569 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4571 * lyxfunc.C (dispatch): invoke it.
4573 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4575 * iterators.C (operator++, ParPosition): reintroduce some
4576 const_cast for the benefit of older compilers.
4578 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4580 * text3.C (dispatch): do not modify clipboard when doing
4581 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4582 LFUN_DELETE_SKIP on a selection selection
4584 2003-06-16 André Pönitz <poenitz@gmx.net>
4590 * tabular.[Ch]: IU of clone() and getLabelList();
4592 2003-06-13 André Pönitz <poenitz@gmx.net>
4594 * tabular.h: compactification
4596 2003-06-12 André Pönitz <poenitz@gmx.net>
4600 * tabular_funcs.h: some renaming plus whitespace
4602 2003-06-12 André Pönitz <poenitz@gmx.net>
4605 * BufferView_pimpl.C:
4611 * toc.C: Return a Paragraph & for ParIterator::operator*()
4613 2003-06-11 John Levon <levon@movementarian.org>
4617 * ToolbarBackend.C: add "Toolbars" section and
4620 2003-06-10 Angus Leeming <leeming@lyx.org>
4623 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4625 * lyxfunc.C (dispatch): invoke it.
4627 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4629 * main.C: protect <ios> with HAVE_IOS
4630 (main): protect sync_with_stdio with HAVE_IOS
4632 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4634 * text2.C (cutSelection): adjust
4635 (pasteSelection): adjust
4637 * messages.C: handle get of empty string
4639 * main.C (main): use sync_with_stdio(false)
4641 * lyxfunc.C (dispatch): adjust
4643 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4644 (WriteAs): remove unneeded BufferView arg.
4646 * bufferparams.h: use correct types on papersize, papersize2 and
4649 * bufferparams.C (readToken): adjust for type
4650 (writeLaTeX): add missing cases to switch.
4652 * bufferlist.C (quitWriteBuffer): adjust
4655 * buffer.C (asciiParagraph): remove some commented code.
4657 * CutAndPaste.C: remove current_view extern variable.
4658 (cutSelection): add BufferParams arg.
4659 (eraseSelection): add BufferParams arg.
4660 (pasteSelection): add Buffer const & arg
4662 2003-06-07 John Levon <levon@movementarian.org>
4665 * paragraph_funcs.C:
4666 * paragraph_pimpl.C:
4670 * paragraph.C: allow InsetERT to freely space lines,
4671 and some consolidation of code
4673 2003-06-06 José Matos <jamatos@fep.up.pt>
4675 * buffer.C (makeDocBookFile): fix bug #821
4677 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4679 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4681 2003-06-04 Angus Leeming <leeming@lyx.org>
4683 * buffer.C: bump format to 224.
4685 2003-06-05 André Pönitz <poenitz@gmx.net>
4687 * text2.C (redoParagraphs): remove two const_cast<>
4689 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4691 * ParagraphList.h: remove last remnants of NO_STD_LIST
4693 2003-06-03 Angus Leeming <leeming@lyx.org>
4695 * factory.C (createInset): small change to the way InsetExternal's params
4698 2003-06-04 André Pönitz <poenitz@gmx.net>
4700 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4702 * paragraph_pimpl.h:
4703 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4705 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4707 * undo_funcs.C: make some simple cases of undo work again
4709 2003-06-03 John Levon <levon@movementarian.org>
4711 * ispell.C: HPUX doesn't have sys/select.h
4714 2003-06-03 John Levon <levon@movementarian.org>
4716 * CutAndPaste.C: update tabular and include inset
4721 * paragraph.C: remove owningBuffer(), don't pass Buffer
4724 * factory.C: insetGraphicsParams changed
4726 2003-06-02 John Levon <levon@movementarian.org>
4732 * text3.C: remove insetparent
4734 2003-06-02 John Levon <levon@movementarian.org>
4737 * buffer.C: fix inset_iterator.end(), move out of line
4740 2003-06-01 John Levon <levon@movementarian.org>
4742 * text3.C: use a proper cut/paste when doing inset
4743 insert (from Jürgen Spitzmüller)
4745 2003-06-01 John Levon <levon@movementarian.org>
4747 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4749 2003-05-30 André Pönitz <poenitz@gmx.net>
4751 * rowpainter.C: unify second drawing phase
4753 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * trans_mgr.C: remove one case of current_view
4757 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4759 * paragraph_funcs.h: remove paragraph.h include
4761 * paragraph.h: delete NO_STD_LIST stuff
4763 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4765 * buffer.h: remove paragraph.h include
4767 * ParagraphList.C: delete file
4769 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4771 * toc.C (getTocList): adjust
4773 * paragraph_pimpl.C (validate): adjust
4775 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4777 * paragraph.C (Paragraph): adjust
4778 (getPositionOfInset): use const_iterator, adjust
4779 (bibitem): use const_iterator, adjust
4780 (setInsetOwner): adjust
4782 * iterators.C (operator++): adjust
4784 * InsetList.[Ch]: Replace selfmade iterator with standard
4785 vector::iterator also introduce const_iterator. Remove getPos,
4786 getInset and setInset from InsetTable. Adjust accordingly.
4788 * BufferView.C (lockInset): adjust
4789 (ChangeInsets): adjust
4791 * tabular.[Ch]: delete commented same_id functions
4793 2003-05-28 John Levon <levon@movementarian.org>
4795 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4797 2003-05-28 André Pönitz <poenitz@gmx.net>
4799 * metricsinfo.[Ch]: remove 'fullredraw' member
4801 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4803 * lyxtextclass.C (operator): remove caching.
4805 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * text2.C (cursorBottom): adjust
4810 (setCounter): use ParagraphList::find, adjust
4812 * text.C (workWidth): use ParagraphList::find, adjust
4814 * lyxcursor.C (LyXCursor): adjust
4816 * buffer.C (inset_iterator): adjust
4818 * ParagraphList.h: make iterator(value_type) private, make
4819 ParagraphList a friend of iterator.
4821 * ParagraphList.C (find): new function
4823 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4825 2003-05-27 André Pönitz <poenitz@gmx.net>
4827 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4829 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4831 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4833 2003-05-26 John Levon <levon@movementarian.org>
4835 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4837 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * remove same_id from function signatures, adjust.
4841 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4843 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4845 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4847 * paragraph.C (Paragraph): get rid of same_ids parameter
4849 * ParagraphList.C (insert): adjust
4852 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * paragraph_funcs.C (breakParagraph): adjust
4855 (breakParagraphConservative): adjust
4857 * buffer.C (readParagraph): adjust
4859 * ParagraphList.C (insert): take a reference instead of a pointer
4862 * paragraph.[Ch] (id): new function
4864 * bufferlist.C (newFile): adjust
4866 * ParagraphList.C (ParagraphList): adjust
4868 (push_back): take a reference instead of a pointer.
4870 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4872 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4875 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4876 set else use old code.
4878 * ParagraphList.C: remove all NO_NEXT code and only compile this
4879 code of NO_STD_LIST is set.
4881 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4883 * BufferView_pimpl.C:
4893 * graphics/GraphicsConverter.C:
4894 * graphics/PreviewLoader.C: header adjustment
4896 2003-05-23 Angus Leeming <leeming@lyx.org>
4898 * LaTeXFeatures.[Ch] (useBabel): new method.
4899 * bufferparams.C (writeLaTeX): use it.
4901 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * ParagraphList.h (set): remove unused function.
4905 2003-05-23 André Pönitz <poenitz@gmx.net>
4908 * BufferView_pimpl.C:
4912 * undo_funcs.C: setUndo reworked
4914 * iterators.[Ch]: add access to topmost ParagraphList
4916 * lyxtext.[Ch] (workWidth): add a const
4918 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4920 * texrow.[Ch] (increasePos): remove function
4921 * exporter.C (export): removed unused var and outdated comment
4923 2003-05-23 Angus Leeming <leeming@lyx.org>
4925 * latexrunparams.h: rename fragile as moving_arg.
4926 * paragraph.C (simpleTeXOnePar): ditto.
4927 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4929 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4933 (textUndoOrRedo): comment out a currently unused var.
4935 * paragraph.h (NO_NEXT): enable NO_NEXT
4937 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4939 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4941 * exporter.C (Export): adjust for removeAutoInsets removal.
4943 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4945 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4947 * BufferView.[Ch] (removeAutoInsets): delete function
4949 2003-05-22 Angus Leeming <leeming@lyx.org>
4951 * latexrunparams.h: add a free_spacing variable.
4953 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4954 to pass moving_arg, as the data is stored in runparams.fragile.
4956 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4957 to Inset::latexOptional or to simpleTeXOnePar.
4959 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4960 free_spacing arg to Inset::latexOptional.
4962 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4965 2003-05-22 Angus Leeming <leeming@lyx.org>
4967 * latexrunparams.h: add fragile and use_babel variables.
4969 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4970 * buffer.C (makeLaTeXFile): store this returned value in
4971 runparams.use_babel, thus passing it to the inset::latex methods.
4973 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4974 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4976 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4977 longer has a fragile arg, as it is stored in runparams.fragile.
4979 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4980 moving_arg parameter as the data is stored in runparams.fragile.
4982 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4983 a fragile parameter as the data is stored in runparams.fragile.
4985 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4989 2003-05-22 Angus Leeming <leeming@lyx.org>
4991 * latexrunparams.h: add a 'bool nice' which defaults to false.
4993 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4994 now encapsulated within runparams.
4996 * bufferlist.C (updateIncludedTeXfiles):
4997 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4999 2003-05-22 Angus Leeming <leeming@lyx.org>
5001 * latexrunparams.h: new file containing struct LatexRunParams.
5002 * Makefile.am: add new file.
5004 * LaTeX.[Ch] (c-tor, run):
5005 * buffer.[Ch] (makeLaTeXFile):
5006 * bufferlist.[Ch] (updateIncludedTeXfiles):
5007 * converter.C (convert, scanLog):
5008 * converter.[Ch] (runLaTeX):
5009 * exporter.C (Export):
5010 * paragraph.[Ch] (simpleTeXOnePar):
5011 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5012 * paragraph_funcs.[Ch] (latexParagraphs):
5013 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5014 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5015 pass around a LatexRunParams parameter.
5017 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5019 * paragraph.[Ch]: remove unused constructor
5021 * ParagraphList.C (erase): new function, taking two iterators
5023 2003-05-22 André Pönitz <poenitz@gmx.net>
5025 * undo_funcs.C: remove duplicated code
5027 * iterator.[Ch]: operator=
5029 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5031 * tabular.C (SetMultiColumn): ws changes
5033 * rowpainter.C (paintFirst): get rid of a ->previous
5035 * lyx_cb.C (getPossibleLabel): parlist simplification
5037 * BufferView.C (ChangeInsets): simplify slightly.
5039 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5041 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5042 * lfuns.h: new LFUN_SPACE
5043 * lyxfunc.C: protected space has a new lfun
5044 * paragraph_funcs.C: read new space insets
5046 * factory.C: handle new space insets
5048 2003-05-22 André Pönitz <poenitz@gmx.net>
5051 * BufferView_pimpl.C:
5054 * undo_funcs.C: return a ParIterator from getParFromID.
5056 * iterators.[Ch]: add two const's
5058 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5060 * toc.C (getTocList): adjust
5062 * iterators.[Ch]: rework for parlist
5064 * buffer.C (par_iterator_begin): adjust
5065 (par_iterator_end): adjust
5067 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5069 * BufferView.C (removeAutoInsets): adjust
5070 (ChangeInsets): adjust
5072 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5074 * text.C (top_y): fix bug 1110
5076 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5078 * errorlist.[Ch]: added
5081 * BufferView_pimpl.C:
5082 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5085 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5087 * Makefile.am: ensure that lyx is relinked upon changes to the
5088 various "convenience" libs.
5090 2003-05-20 Angus Leeming <leeming@lyx.org>
5092 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5093 files are compiled in alphabetical order again.
5095 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5097 2003-05-19 Angus Leeming <leeming@lyx.org>
5099 * gettext.[Ch]: remove "char const * _(char const *)".
5101 2003-05-19 André Pönitz <poenitz@gmx.net>
5103 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5112 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5114 2003-05-19 André Pönitz <poenitz@gmx.net>
5118 * lyxtextclass.[Ch]:
5120 * paragraph_funcs.[Ch]:
5122 * text3.C: more insetenv work
5124 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5126 * ParagraphParameters.C (params2string): small bug fixed
5128 2003-05-16 André Pönitz <poenitz@gmx.net>
5131 * bufferview_funcs.C: patch from Kornel Benko to prevent
5132 crash when _(...) is called twice in a statement
5134 2003-05-16 André Pönitz <poenitz@gmx.net>
5141 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5143 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5145 * lyx_main.C (init): remove spurious static_cast
5147 2003-05-14 André Pönitz <poenitz@gmx.net>
5149 * BufferView.C: fix format string
5151 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5153 * BufferView.[Ch] (insertErrors): removed
5154 * BufferView.[Ch] (showErrorList): added
5155 * buffer.C (runChkTeX):
5156 * converter.C (scanLog): call showErrorList instead of inserterrors
5158 2003-05-13 André Pönitz <poenitz@gmx.net>
5160 * BufferView_pimpl.C:
5162 * bufferview_func.C:
5169 * tabular_funcs.h: tostr() from its own header
5171 * ParagraphParameters.C:
5176 * text3.C: STRCONV()
5178 2003-05-12 André Pönitz <poenitz@gmx.net>
5181 * BufferView_pimpl.C:
5185 * ParagraphParameters.C:
5189 * bufferview_funcs.C:
5202 * paragraph_funcs.C:
5206 * text3.C: boost::format -> bformat all over the place
5209 2003-05-09 André Pönitz <poenitz@gmx.net>
5211 * LColor.[Ch]: Pimpl the #include <map> away
5213 2003-05-09 John Levon <levon@movementarian.org>
5215 * bufferlist.C: never remove emergency saves
5217 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5219 * Makefile.am: better lib building
5221 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5225 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5226 (simpleTeXSpecialChars): adjust
5227 (simpleTeXSpecialChars): adjust
5228 * paragraph.C (simpleTeXOnePar): adjust
5229 * buffer.C (makeLaTeXFile): adjust
5231 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5233 * text2.C (changeDepth): parlist cleanup
5234 (getColumnNearX): ditto
5236 * rowpainter.C (getLabelFont): parlist cleanup
5238 * bufferlist.C (newFile): parlist cleanup
5240 * CutAndPaste.C (eraseSelection): parlist cleanup
5242 * BufferView_pimpl.C (trackChanges): parlist cleanup
5245 * BufferView.C (lockInset): parlist cleanup.
5246 (ChangeInsets): ditto
5248 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * CutAndPaste.h: Update file header.
5252 * CutAndPaste.C: Update file header.
5253 Store the parts cut out of the Document in a limited_stack.
5254 (copySelection): adjust
5255 (pasteSelection): new function, takes the index in the limited stack.
5256 (nrOfParagraphs): adjust
5257 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5258 simplify error inset insertion.
5259 (checkPastePossible): adjust
5261 2003-05-06 John Levon <levon@movementarian.org>
5263 * text2.C: don't cast wrap inset to float
5265 2003-05-05 André Pönitz <poenitz@gmx.net>
5268 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5270 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5271 few naked Paragraph *.
5273 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5275 * bufferparams.C: Output warning if a document with missing
5276 TeX document class is loaded
5277 * exporter.C: Disable TeX exports if the document class is missing
5280 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5281 isTeXClassAvailable()
5283 2003-05-03 John Levon <levon@movementarian.org>
5286 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5287 explicit cursor show/hide
5289 * BufferView_pimpl.h:
5290 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5291 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5293 * lyxfunc.C: hide cursor before dispatching.
5298 * text3.C: remove explicit cursor hides
5300 2003-05-02 André Pönitz <poenitz@gmx.net>
5302 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5305 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5308 * text2.C: tiny whitespace
5310 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5312 * undo_funcs.C: almost only ws changes.
5314 * ParagraphList.C (splice): just return if pl is empty.
5316 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * ParagraphList.C (splice): new function.
5320 * CutAndPaste.C (pasteSelection): use it
5322 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * CutAndPaste.C (pasteSelection): remove the last next and
5325 previous from this file.
5327 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5329 * CutAndPaste.C (pasteSelection): more clean up, user proper
5330 ParagraphList functions for pasteing.
5332 * ParagraphList.C (insert): new function, three arg insert
5334 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5336 * ParagraphList.C (insert): new function, three arg insert
5338 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5341 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5343 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5345 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5347 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5349 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5352 (copySelection): clean up a bit.
5353 (pasteSelection): use make_pair
5355 * ParagraphList.C (ParagraphList): implement copy constructor
5356 (operator=): implement, base on copy constructor.
5359 * paragraph.C (erase): return a bool
5361 * paragraph_pimpl.C (erasePos): remove function, move contents...
5362 (erase): ... here. Return a bool.
5363 (erase): call erase instead of erasePos.
5365 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5367 * ParagraphList.h: define PitPosPair
5368 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5369 ParagraphList, fix a bug on pasting multiple pars
5370 * text2.C: change interface to C&P
5372 2003-04-30 André Pönitz <poenitz@gmx.net>
5374 * undo_func.C: revert part of yesterday's patch 2
5376 2003-04-30 John Levon <levon@movementarian.org>
5378 * LColor.C: s/tabular/table/
5380 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5382 * text3.C (dispatch): do not convert iterator -> pointer
5383 * undo_funcs.C (setCursorParUndo): ditto
5384 * text_funcs.C (transposeChars): ditto
5386 * text2.C (setLayout): ws changes only
5388 * text.C (breakParagraph): do not convert iterator -> pointer
5390 (acceptChange): ditto
5391 (rejectChange): ditto
5396 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5399 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5401 * text3.C (gotoInset): YABG (yet another bad getChar)
5403 2003-04-29 André Pönitz <poenitz@gmx.net>
5405 * paragraph.h: make operator= private unimplemented as long as
5408 * ParagraphList.C: whitespace
5411 * paragraph_pimpl.[Ch]:
5412 * paragraph_funcs.C:
5414 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5417 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5419 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5421 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5422 * paragraph.[Ch] (erase):
5423 * paragraph_pimpl.[Ch] (erase): change return type and value
5424 * text2.C (cutSelection): some rework
5426 2003-04-28 John Levon <levon@movementarian.org>
5428 * bufferlist.C: changes for unsaved changes dialog
5430 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5432 * bufferlist.C (newFile): set language (messages_) for new
5435 * buffer.C (readFile): ws changes only.
5437 2003-04-28 André Pönitz <poenitz@gmx.net>
5442 * BufferView_pimpl.C:
5443 * BufferView.C: getParFromID related ParagraphList::iterator changes
5445 2003-04-28 André Pönitz <poenitz@gmx.net>
5447 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5450 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5452 * messages.C: remove one more localedir class variable.
5454 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5456 * messages.C (getLocaleDir): singleton generation function
5458 (Messages): add a default constructor.
5460 * main.C (main): do not setup localedir here, do not call
5463 * gettext.C (_): use it.
5464 (gettext_init): delete funciton
5466 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * gettext.C (getLyXMessages): new singleton generating function.
5470 * buffer.C (updateDocLang): adjust
5472 * Makefile.am (messages.o): add target
5473 (main.o): remove target
5475 2003-04-27 John Levon <levon@movementarian.org>
5480 * lyxvc.C: specify cancel button in Alert::prompt
5482 2003-04-26 John Levon <levon@movementarian.org>
5487 * LyXAction.C: add LFUN_INSET_SETTINGS
5489 * lyxfunc.C: don't enable tabular-feature when there's
5490 just any locking inset
5492 2003-04-26 John Levon <levon@movementarian.org>
5494 * bufferlist.C: re-add Cancel to buffer close question
5496 * lyxfunc.C: fix import UI a bit
5498 2003-04-25 John Levon <levon@movementarian.org>
5500 * gettext.C: remove the broken asserts for now
5502 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * messages.C: make case where setlocale cannot comply work better.
5506 * buffer.C (updateDocLang): new function
5507 (changeLanguage): use it
5510 * text2.C (setCounter): use B_ a bit.
5512 * lyxlayout.C (Read): be sure to trim the label strings.
5514 * messages.C (Messages): fix typo in comment
5516 * buffer.C (readFile): set message_ after file is loaded.
5517 (makeDocBookFile): remove double return
5518 (changeLanguage): reset message_ upon language change.
5519 (B_): new func, use this to get translated buffer strings.
5521 * main.C: add myself and Jean Marc as authors.
5523 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * messages.[hC]: pimplify Messages, and three different pimpls to be
5526 used in different circumstances.
5528 * gettext.[Ch]: change for use with new message code.
5530 2003-04-24 André Pönitz <poenitz@gmx.net>
5532 * factory.C: support for eqref
5534 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5536 * messages.[Ch]: add missing char
5538 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5540 * messages.[Ch]: New files
5542 2003-04-18 John Levon <levon@movementarian.org>
5546 * BufferView_pimpl.C:
5550 * text2.C: remove layout-copy/paste (bug 778)
5552 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5554 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5556 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5558 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5559 if they succeed. Act accordingly.
5561 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5563 * text2.C (setCharFont): adjust
5564 (setCounter): adjust
5565 (insertStringAsLines): adjust
5567 * text.C (leftMargin): adjust
5568 (setHeightOfRow): adjust
5570 * rowpainter.C (paintFirst): adjust
5573 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5575 (isFirstInSequence): ditto
5576 (getEndLabel): ditto
5579 * paragraph.C (getParLanguage): comment out some hard stuff.
5581 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5583 (simpleDocBookOnePar): ditto
5584 (makeDocBookFile): use ParagraphList::iterator
5586 * CutAndPaste.C (pasteSelection): adjust
5588 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5590 * text2.C (getFont): adjust
5591 (getLayoutFont): adjust
5592 (getLabelFont): adjust
5594 * paragraph_funcs.C (TeXOnePar): adjust
5596 * buffer.C (simpleLinuxDocOnePar): adjust
5597 (simpleDocBookOnePar): adjust
5599 * CutAndPaste.C (pasteSelection): adjust
5601 * BufferView.C (getEncoding): adjust
5603 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5605 2003-04-16 John Levon <levon@movementarian.org>
5607 * lyxfind.C: use parlist stuff for search/changes
5609 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5611 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5613 * text2.C (deleteEmptyParagraphMechanism): adjust
5615 * text2.[Ch] (ownerParagraph): delete func (both of them
5617 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5619 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5621 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5623 * ParagraphList.C: prepare for NO_NEXT
5625 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5627 * text2.C (getFont): adjust
5628 (getLayoutFont): adjust
5629 (getLabelFont): adjust
5631 * paragraph.C (getFont): adjust
5632 (getLabelFont): adjust
5633 (getLayoutFont): adjust
5635 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5637 2003-04-15 John Levon <levon@movementarian.org>
5641 * lyx_main.C: handle Include in .ui files
5643 2003-04-15 John Levon <levon@movementarian.org>
5645 * MenuBackend.C: make the doc files length shorter
5648 * ToolbarBackend.C: handle toolbar placement flags,
5651 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5656 * paragraph_funcs.C (TeXOnePar): adjust
5658 * paragraph.C (getLabelFont): add outerfont arg, adjust
5659 (getLayoutFont): ditto
5660 (simpleTeXOnePar): adjust
5662 * paragraph_pimpl.C (realizeFont): delete func
5664 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5666 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5667 row argument, constify cur argument.
5669 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * text2.C (getFont): adjust
5672 (getLayoutFont): adjust
5673 (getLabelFont): adjust
5675 * paragraph_funcs.C (TeXOnePar): adjust
5676 (outerFont): new func...
5677 (realizeFont): ...moved out from here, changed this to facilitate
5680 * paragraph.C (getFont): take outerfont as arg, adjust
5681 (simpleTeXOnePar): add outerfont arg, adjust
5683 * buffer.C (simpleLinuxDocOnePar): adjust
5684 (simpleDocBookOnePar): adjust
5686 * CutAndPaste.C (pasteSelection): adjust
5688 * BufferView.C (getEncoding): adjust
5690 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * text2.C (setCharFont): adjust
5693 (setCounter): adjust
5695 * text.C (leftMargin): adjust
5696 (setHeightOfRow): adjust
5698 * rowpainter.C (paintFirst): adjust
5701 * paragraph_pimpl.C (realizeFont): adjust
5703 * paragraph.C (isFirstInSequence): move from here...
5704 * paragraph_funcs.C (isFirstInSequence): ...to here
5706 * paragraph.C (outerHook): move from here...
5707 * paragraph_funcs.C (outerHook): ...to here
5709 * paragraph.C (depthHook): move from here...
5710 * paragraph_funcs.C (depthHook): ...to here
5712 * paragraph.C (getEndLabel): move from here...
5713 * paragraph_funcs.C (getEndLabel): ...to here
5715 * text2.C (realizeFont): move from here...
5716 * paragraph_funcs.C (realizeFont): ...to here
5718 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5720 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5722 2003-04-14 Angus Leeming <leeming@lyx.org>
5724 * LColor.[Ch]: scrap LColor mathcursor.
5726 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * lyxlex.[Ch] (text): delete function
5729 * trans.C (Load): adjust
5730 * paragraph_funcs.C (readParToken): adjust
5732 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5735 vector<char> instead of a char[].
5737 * lyxlex_pimpl.C (getString): adjust
5739 (lex): use getString
5743 * lyxlex.C (text): use pimpl_->getString()
5747 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5749 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5750 (makeFontEntriesLayoutSpecific): temp var for par.size()
5751 (setLayout): temp var for ownerParagraphs().end()
5752 (fullRebreak): temp var for rows().end()
5753 (selectionAsString): temp var for boost::next(startpit), realize
5754 that the while really is a regular for loop.
5755 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5756 setCursor in one place.
5757 (setParagraph): temp vr for ownerParagraphs().end()
5758 (updateCounters): make the while loop a for loop
5759 (cutSelection): temp var for ownerParagraphs().end()
5760 (updateInset): make the do {} while() a regular for loop
5761 (getCursorX): use temp vars
5762 (setCurrentFont): use temp vars
5763 (getColumnNearX): use temp vars
5765 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5767 * text.C (transformChar): use temp var for getChar
5768 (computeBidiTables): use temp var for row->par()
5769 (fill): move temp vars for row->par() and pit->layout() earlier in
5771 (labelFill): use temp var for row->par()
5772 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5773 asc and desc, realize that pit never changes and that firstpit is
5774 just a duplicate and not needed. Exchange rit->par() with pit in a
5776 (breakAgain): use a temp var for boost::next(rit)
5777 (breakAgainOneRow): ditto
5778 (breakParagraph): use a temp var for rows().begin()
5779 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5780 (cursorRightOneWord): use temp var for cursor.par() and
5781 cursor.pos(), remove usage of tmpcursor.
5782 (cursorLeftOneWord): use temp var for cursor.par() and
5783 cursor.pos() only set cur at end of function.
5785 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * text.C, text2.C: exchange all usage of Paragraph::next with
5788 boost::next(ParagraphList::iterator)
5790 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5792 * text2.C (cursorTop): simplify implementation
5793 (cursorBottom): ditto
5794 (setParagraph): use ParagraphList::iterator
5795 (setCurrentFont): adjust
5796 (getColumnNearX): adjust
5797 (cursorRight): adjust
5798 (cursorLeft): remove usage of Paragraph::previous
5799 (cursorUpParagraph): ditto
5800 (deleteEmptyParagraphMechanism): slight cleanup
5802 * text.C (isBoundary): take a Paragraph const & instead of a
5804 (addressBreakPoint): ditto
5805 (leftMargin): remove usage of Paragraph::previous.
5806 (setHeightOfRow): ditto
5807 (cursorLeftOneWord): ditto
5808 (selectNextWordToSpellcheck): ditto
5811 (breakParagraph): remove one usage of Paragraph::next
5812 (redoParagraph): ditto
5813 (acceptChange): ditto
5814 (insertChar): adjust
5815 (rowBreakPoint): adjust
5817 * bufferview_funcs.C (toggleAndShow): adjust
5819 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5821 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5822 methods to access it.
5824 * text.C: Added updateRowPositions to compute all row positions.
5825 Make top_y and getRowNearY() to use the cached y position
5827 2003-04-11 John Levon <levon@movementarian.org>
5829 * text.C (rowBreakPoint): reintroduce the labelEnd
5830 checks, code copied from the row fill stuff. Deep voodoo.
5832 * text.C (fill): add a comment and debugging for the
5835 2003-04-11 John Levon <levon@movementarian.org>
5837 * text.C: make sure fullrow insets get wrapped to the next line,
5838 even when they're in a manual label
5840 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5842 * text2.C (insertParagraph): make it take ParagraphList::iterator
5844 (setLayout): make it return ParagraphList::iterator
5845 (redoParagraphs): ditto
5847 (checkParagraph): ditto
5849 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5851 * text2.C: adjust several funcs.
5852 (realizeFont): take a ParagraphList::iterator as arg.
5853 (getLayoutFont): ditto
5854 (getLabelFont): ditto
5855 (setCharFont): ditto
5857 * text.C: adjust several funcs.
5859 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5861 * text.C (selectNextWordToSpellcheck): don't accidentally
5864 2003-04-10 John Levon <levon@movementarian.org>
5866 * ToolbarBackend.C (getIcon): special handling for
5869 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5871 * text2.C (cursorRight): a getChar assert fixed
5873 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5875 * text2.C (getFont): change to take a ParagraphList::iterator
5876 instead of Paragraph*
5877 Adjust several functions.
5879 * text.C (transformChar): change to take a ParagraphList::iterator
5880 instead of Paragraph*
5881 (singleWidth): ditto
5882 Adjust several functions.
5884 * rowpainter.C: adjust several functions
5885 * rowpainter.h:store a ParagraphList::iterator and not a
5889 2003-04-09 John Levon <levon@movementarian.org>
5894 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5895 and the "help" bits as well
5897 2003-04-09 John Levon <levon@movementarian.org>
5900 * ToolbarBackend.C: allow multiple toolbars
5902 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * undo_funcs.C (setCursorParUndo): adjust
5906 * text_funcs.C (transposeChars): adjust
5908 * text3.C (gotoNextInset): adjust
5911 * text2.C (setLayout): adjust
5912 (changeDepth): adjust
5914 (redoParagraphs): adjust
5915 (selectionAsString): adjust
5916 (setParagraph): adjust
5917 (insertInset): adjust
5918 (cutSelection): adjust
5919 (copySelection): adjust
5920 (pasteSelection): adjust
5921 (insertStringAsLines): adjust
5922 (updateInset): adjust
5923 (setCursor): change to take a ParagraphList::iterator parameter
5924 (setCursorIntern): change to take a ParagraphList::iterator parameter
5925 (setCurrentFont): adjust
5926 (cursorLeft): adjust
5927 (cursorRight): adjust
5928 (deleteEmptyParagraphMechanism): adjust
5930 * text.C (breakParagraph): adjust
5931 (insertChar): adjust
5932 (acceptChange): adjust
5933 (rejectChange): adjust
5934 (selectNextWordToSpellcheck): adjust
5935 (changeCase): adjust
5939 * lyxfind.C (SearchForward): adjust
5940 (SearchBackward): adjust
5941 (nextChange): adjust
5943 * lyxcursor.C (par): adjust
5945 * lyxcursor.h: store a ParagraphList::iterator instead of a
5948 * lyx_cb.C (getPossibleLabel): adjust
5950 * bufferview_funcs.C (toggleAndShow): adjust
5952 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5955 * BufferView.C (removeAutoInsets): adjust
5956 (lockedInsetStoreUndo): adjust
5958 2003-04-09 John Levon <levon@movementarian.org>
5960 * ToolbarBackend.C: try icon without argument
5961 if with argument fails
5963 2003-04-08 John Levon <levon@movementarian.org>
5966 * ToolbarBackend.C: add getIcon(), handle tooltip,
5967 and change from "Icon" to "Item".
5969 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5971 * BufferView.C (lockInset): another bad getchar crunched
5973 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5975 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5978 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5980 * lyxfind.C (searchForward, searchBackwards): bug 782
5982 2003-04-07 John Levon <levon@movementarian.org>
5984 * paragraph.C: remove dead comment
5986 * text.C: remove troublesome depth-fiddling code
5987 in leftMargin() and rightMargin() (bug 1017)
5989 * text.C: fix breaking of rows in nested lists
5992 * text2.C (updateCounters): fix up depth values
5995 2003-04-07 John Levon <levon@movementarian.org>
5997 * BufferView_pimpl.C: clear message when doc finishes resizing,
5998 and after a mouse event
6000 * lyxfunc.C: clear message after exiting inset
6002 2003-04-07 John Levon <levon@movementarian.org>
6004 * bufferview_funcs.C: show math status not outside
6005 status in the statusbar
6007 2003-04-07 John Levon <levon@movementarian.org>
6009 * lyxfunc.C: note status changed after a depth change
6011 2003-04-04 Angus Leeming <leeming@lyx.org>
6013 * LaTeX.h: move AuxInfo operator==, != out of line.
6014 Remove LaTeX virtual destructor; nothing derives from it.
6015 Move operator()() out of public area and rename it startscript().
6016 Change protected for private.
6018 2003-04-04 Angus Leeming <leeming@lyx.org>
6021 * text2.C: remove unneeded #includes.
6023 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6025 * text2.C (dEPM): fix the heigth of the next row
6027 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6029 * text.C: squashed an invalid getChar requester + some ws changes
6031 2003-04-03 John Levon <levon@movementarian.org>
6033 * bufferview_funcs.h:
6034 * bufferview_funcs.C:
6037 * text2.C: make getStatus work for the env depth lfuns
6039 2003-04-03 John Levon <levon@movementarian.org>
6041 * bufferview_funcs.h:
6042 * bufferview_funcs.C:
6045 * text2.C: parlistize decDepth(), by merging it with incDepth()
6047 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6049 * lyxrow.h: store a ParagraphList::iterator instead of a
6050 Paragraph* and adjust other class functions to suit.
6052 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6055 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6057 * text2.C (setCursor): do not anchor to cursor row for the time being
6059 2003-04-02 John Levon <levon@movementarian.org>
6066 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6068 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6070 * paragraph.h: make ParagraphList and ParagraphList::iterator
6071 friends of Paragraph.
6073 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6075 * ParagraphList.C: Use the private next_ and previous_ from
6078 2003-04-01 John Levon <levon@movementarian.org>
6082 * Makefile.am: rename, remove defaults gunk
6085 * MenuBackend.C: remove defaults gunk
6088 * Languages.C: remove defaults gunk
6091 * lyx_main.C: error out if files couldn't be found.
6093 2003-04-02 John Levon <levon@movementarian.org>
6095 * text2.C: make incDepth() use parlist
6097 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * undo_funcs.C (firstUndoParagraph): adjust
6101 * text3.C (gotoInset): adjust
6102 (dispatch): adjust, and rewrite loop.
6104 * text2.C (init): adjust, and rewrite loop.
6105 (redoParagraphs): adjust
6106 (updateInset): adjust, and rewrite loop.
6107 (deleteEmptyParagraphMechanism): adjust
6109 * tabular.C (LyXTabular): adjust
6110 (SetMultiColumn): adjust
6113 * lyxtext.[Ch] (ownerParagraph): delete function
6114 (ownerParagraphs): new function returns a ParagraphList.
6116 * BufferView.C (removeAutoInsets): adjust
6117 (insertErrors): adjust
6118 (setCursorFromRow): adjust
6120 2003-04-01 Angus Leeming <leeming@lyx.org>
6122 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6125 2003-04-02 John Levon <levon@movementarian.org>
6131 * text_funcs.C: make transposeChars a free function
6133 * lyxrow_funcs.C: remove wrong comment
6135 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * rowpainter.C: adjust
6143 * lyxrow_funcs. [Ch]: new files
6145 * lyxrow.[Ch]: remove next and previous pointers
6146 (next,previous): remove accessor functions
6147 (isParEnd): move to lyxrow_funcs
6148 (lastPos): move to lyxrow_funcs
6149 (nextRowIsAllInset): move to lyxrow_funcs
6150 (lastPrintablePos): move to lyxrow_funcs
6151 (numberOfSeparators): move to lyxrow_funcs
6152 (numberOfHfills): move to lyxrow_funcs
6153 (numberOfLabelHfills): move to lyxrow_funcs
6154 (hfillExpansion): move to lyxrow_funcs
6158 * bufferview_funcs.C (toggleAndShow): adjust
6160 * RowList.h: Remove class RowList from file leave just a
6163 * RowList.C: delete file
6165 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6168 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6170 * text3.C (cursorPrevious): adjust
6171 (cursorNext): adjust
6174 * text2.C (redoHeightOfParagraph): adjust
6175 (redoDrawingOfParagraph): adjust
6178 * text.C (breakParagraph): adjust
6179 (insertChar): adjust
6182 * rowpainter.C (RowPainter): adjust
6183 (leftMargin): simplify and adjust
6184 (most rowpainter functions): adjust.
6186 * rowpainter.h: store the row as RowList::iterator not as Row*
6188 * lyxcursor.C (row): taka RowList::iterator as arg
6191 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6194 2003-04-01 Angus Leeming <leeming@lyx.org>
6196 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6197 stuff like bool Bool.
6199 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6201 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6204 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6206 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6209 * lyxtext.h (rows): drop one version and leve a const variant that
6210 returns a RowList::iterator.
6212 2003-03-31 Angus Leeming <leeming@lyx.org>
6214 * text.C (fill): ensure that the signature is the same as that in the
6217 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6219 * text2.C (redoParagraphs): adjust
6220 (updateCounters): adjust
6221 (checkParagraph): adjust
6222 (getColumnNearX): adjust and reformat a bit.
6224 * text.C (top_y): adjust
6226 (leftMargin): adjust
6227 (prepareToPrint): adjust
6229 (getRowNearY): adjust
6231 * lyxtext.h: make rowlist_ mutable.
6233 * RowList.h: add const_iterator
6234 * RowList.C: adjust for RowList::const_iterator.
6236 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6239 2003-03-31 John Levon <levon@movementarian.org>
6242 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6244 * lyx_main.C: set default fonts from using lyx_gui funcs
6246 * exporter.C: pdf_mode moved from lyxrc
6249 * lyxfunc.C: changes from above
6251 2003-03-31 John Levon <levon@movementarian.org>
6253 * lyx_main.C: fix to the last fix
6255 2003-03-31 John Levon <levon@movementarian.org>
6257 * bufferlist.C: "Load original" -> "Load Original"
6263 * format.C: more Alert cleanups
6265 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6267 * text2.C (removeParagraph): make it take a RowList::iterator as
6269 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6270 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6272 * text.C (anchor_row): make it take a RowList::iterator as arg,
6274 (computeBidiTables): make it take a const reference to Row instead
6275 of Row pointer, adjust.
6276 (leftMargin): make it take a RowList::iterator as arg, adjust.
6277 (rowBreakPoint): adjust
6278 (breakAgainOneRow): make it take a RowList::iterator as arg,
6280 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6282 * bufferview_funcs.C (toggleAndShow): adjust
6284 2003-03-30 John Levon <levon@movementarian.org>
6288 * boost-inst.C: moved to support
6290 * several files: changes as a result
6292 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * text2.C (LyXText): adjust.
6296 (removeRow): make it take a RowList::iterator as arg, adjust.
6297 (fullRebreak): adjust
6298 (deleteEmptyParagraphMechanism): adjust
6299 (clearPaint): adjust
6302 * text.C (top_y): adjust
6303 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6304 (breakAgain): make it take a RowList::iterator as arg, adjust.
6305 (breakParagraph): adjust
6306 (insertChar): adjust
6309 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6310 need_break_row, and refresh_row.
6312 * text3.C (dispatch): adjust
6314 * text2.C (checkParagraph): adjust
6316 (setCursorFromCoordinates): adjust
6318 * text.C (top_y): adjust
6320 (getRow): make it return a RowList::iterator, adjust
6321 (getRowNearY): make it return a RowList::iterator, adjust
6323 * text2.C (init): adjust
6324 (insertRow): remove function
6325 (insertParagraph): adjust
6326 (redoParagraphs): adjust
6327 (fullRebreak): adjust
6328 (updateCounters): adjust
6330 * text.C (top_y): rewrite to use RowList iterators.
6332 (setHeightOfRow): rewrite to sue RowList iterators.
6333 (appendParagraph): adjust
6334 (breakAgain): adjust
6335 (breakAgainOneRow): adjust
6336 (breakParagraph): adjust
6338 (getRowNearY): adjust, and remove commented code.
6340 * lyxtext.h (firstRow): delete function
6341 (lastRow): delete function
6342 (rows): new function (const and non-const versions.)
6343 (insertRow): delete function
6345 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6347 2003-03-29 John Levon <levon@movementarian.org>
6349 * BufferView_pimpl.C: always update scrollbar top
6350 because pasting text when we're anchored could mean we
6351 miss an update altogether
6353 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6355 * text2.C (init): use rowlist_.end() and not 0.
6356 (insertRow): change to take a RowList::iterator as arg, adjust
6358 (insertParagraph): change to take a RowList::iterator as arg,
6360 (redoParagraphs): remove some debug msgs.
6362 * text.C (appendParagraph): change to take a RowList::iterator
6363 arg, adjust for this.
6364 (breakAgain): add an assert
6365 (breakAgainOneRow): ditto
6367 2003-03-29 John Levon <levon@movementarian.org>
6369 * text2.C: do not clear selection after inc/decDepth
6372 2003-03-29 John Levon <levon@movementarian.org>
6375 * buffer.C: fix broken strerrors according to Lars
6377 2003-03-29 John Levon <levon@movementarian.org>
6379 * converters.C: more Alert cleanups
6381 2003-03-29 John Levon <levon@movementarian.org>
6383 * bufferview_funcs.C: remove pointless Alert
6385 * buffer.C: fix confusing error message when
6386 a template is chmoded 000
6388 2003-03-29 John Levon <levon@movementarian.org>
6392 * BufferView_pimpl.C: Alert fixes
6396 * tabular-old.C: remove unused table compat reading
6398 2003-03-29 John Levon <levon@movementarian.org>
6403 * lyx_cb.C: more Alert cleanups
6405 * lyxfunc.C: don't allow chktex if not latex document
6407 2003-03-29 John Levon <levon@movementarian.org>
6411 * buffer.C: warnings pushed down from support/,
6414 2003-03-29 John Levon <levon@movementarian.org>
6416 * lyxfunc.C: safety check for C-r (revert)
6418 2003-03-29 John Levon <levon@movementarian.org>
6421 * bufferlist.C: several UI fixes using Alert::prompt.
6422 Fix the pointless looping quit code. Fix stupid revert
6427 * lyx_cb.C: use Alert::prompt
6429 * lyx_main.C: remove a silly question
6431 * lyxfunc.C: remove a couple of silly questions,
6434 2003-03-28 John Levon <levon@movementarian.org>
6436 * text2.C: fix bug 974 (End on empty par)
6438 2003-03-28 John Levon <levon@movementarian.org>
6440 * BufferView_pimpl.C:
6442 * lfuns.h: remove do-nothing math greek lfuns
6444 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6446 * lyxgluelength.h (isValidGlueLength): add default arg on
6447 parameter 2. Remove default arg from friend in class.
6449 * lyxlength.h (isValidLength): add default arg on parameter 2.
6450 Remove default arg from friend in class.
6452 * text2.C (LyXText): adjust, initialize refresh_row.
6456 (insertParagraph): adjst
6457 (redoParagraphs): adjust
6458 (fullRebreak): adjust
6459 (updateCounters): adjust
6460 (deleteEmptyParagraphMechanism): first attempt at fixing a
6463 * text.C (top_y): adjust
6464 (setHeightOfRow): adjust
6466 (getRowNearY): adjust
6468 * lyxtext.h: include RowList.h
6469 (~LyXText): not needed anymore, deleted.
6470 (firstRow): modify for RowList
6471 (lastRow): new function
6472 Delete firstrow and lastrow class variables, add a Rowlist
6473 rowlist_ class variable.
6475 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6478 * RowList.C (insert): fix case where it == begin().
6480 2003-03-26 Angus Leeming <leeming@lyx.org>
6482 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6483 the thesaurus dialog.
6485 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6489 * RowList.[Ch]: new files
6491 * ParagraphList.C (erase): handle the case where it == begin
6494 2003-03-25 John Levon <levon@movementarian.org>
6498 * aspell.C: add new aspell support
6501 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6504 2003-03-25 Angus Leeming <leeming@lyx.org>
6507 * LyXAction.C (init): new LFUN_INSET_INSERT.
6509 * BufferView_pimpl.C (dispatch): split out part of the
6510 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6512 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6515 2003-03-25 Angus Leeming <leeming@lyx.org>
6517 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6519 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6522 * text3.C: remove useless row->height(0)
6524 2003-03-25 John Levon <levon@movementarian.org>
6528 * text3.C: rename the refreshing stuff to better names
6530 2003-03-24 John Levon <levon@movementarian.org>
6532 * BufferView_pimpl.h:
6533 * BufferView_pimpl.C: update layout choice on a mouse
6536 2003-03-23 John Levon <levon@movementarian.org>
6538 * Makefile.am: fix commandtags.h reference
6540 2003-03-22 John Levon <levon@movementarian.org>
6542 * BufferView_pimpl.C:
6547 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6549 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6552 * text.C: take the rtl methods out of line
6554 2003-03-21 André Pönitz <poenitz@gmx.net>
6556 * metricsinfo.[Ch]: new files containing structures to be passed around
6557 during the two-phase-drawing...
6559 2003-03-21 André Pönitz <poenitz@gmx.net>
6561 * lyxtextclass.C: read 'environment' tag.
6563 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6565 * text2.C (removeRow): fix bug 964
6567 2003-03-20 John Levon <levon@movementarian.org>
6571 * text2.C: paint cleanups. Inset::update() dropped font
6574 2003-03-19 John Levon <levon@movementarian.org>
6576 * lyxfunc.C: only fitcursor/markDirty if available()
6578 2003-03-19 John Levon <levon@movementarian.org>
6580 * commandtags.h: rename to ...
6582 * lfuns.h: ... this, and renumber / cleanup
6584 2003-03-19 John Levon <levon@movementarian.org>
6586 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6587 fit the cursor after an lfun
6591 * BufferView_pimpl.h:
6592 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6594 * LyXAction.C: layout-character should have ReadOnly
6596 * ParagraphParameters.C:
6598 * bufferview_funcs.C:
6605 * undo_funcs.C: changes from above
6607 2003-03-18 John Levon <levon@movementarian.org>
6609 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6610 remove it from update()
6612 * lyxfunc.C: update layout choice after an lfun
6614 * text3.C: remove extra updateLayoutChoice()s
6616 2003-03-18 John Levon <levon@movementarian.org>
6618 * text.C: top_y change means full repaint, fix
6619 a drawing bug with cursor movement
6621 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6625 * text2.C: anchor row on setCursor
6627 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6629 * lyxtext.h: remove almost all mutable keywords
6632 * text3.C: remove const keywords accordingly
6634 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6638 (TeXEnvironment): ditto
6641 2003-03-17 John Levon <levon@movementarian.org>
6643 * text.C (rowBreakPoint): remove attempt to fix displayed
6644 math insets inside a manual label
6646 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6648 * lyxtext.h: remove BufferView* as first arg from almost all class
6650 * other files: adjust.
6652 2003-03-17 John Levon <levon@movementarian.org>
6656 * text2.C: more paint cleanups
6658 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6661 * rowpainter.C: remove "smart" background painting code
6663 2003-03-16 John Levon <levon@movementarian.org>
6668 * text3.C: add helper functions for setting refresh_row/y
6670 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6672 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6673 newline inset which *can* get inserted in the pass_thru layouts.
6674 This is primarily for literate documents.
6676 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6678 * buffer.C: increment LYX_FORMAT to 223
6680 2003-03-14 André Pönitz <poenitz@gmx.net>
6682 * textclass.h: prepare for environment handling, ws changes
6683 * lyxlayout.C: read latexheader and latexfooter tags
6685 2003-03-14 John Levon <levon@movementarian.org>
6687 * text2.C: rewrite ::status() a bit
6689 2003-03-13 John Levon <levon@movementarian.org>
6691 * lyxtext.h: add some docs
6693 2003-03-13 John Levon <levon@movementarian.org>
6698 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6700 2003-03-13 John Levon <levon@movementarian.org>
6702 * text3.C: fix appendix redrawing
6704 2003-03-13 John Levon <levon@movementarian.org>
6706 * text.C (setHeightOfRow):
6708 * rowpainter.C: make appendix mark have the text
6709 "Appendix" so the user knows what it is
6712 * LColor.C: s/appendixline/appendix/ from above
6714 2003-03-13 John Levon <levon@movementarian.org>
6716 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6718 * text.C: fix a getChar(pos) bug properly
6720 2003-03-13 Angus Leeming <leeming@lyx.org>
6723 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6724 Probably only temporary. Let's see how things pan out.
6726 * BufferView.C (unlockInset):
6727 * BufferView_pimpl.C (fitCursor):
6728 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6730 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6731 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6733 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6734 new functions that convert ParagraphParameters to and from a string.
6736 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6737 BufferView::Pimpl's dispatch.
6738 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6740 2003-03-13 André Pönitz <poenitz@gmx.net>
6744 * factory.C: make it aware of InsetEnv
6746 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * text2.C (setCursor): never ask for one past last
6749 (setCursor): add some debugging messages.
6751 * text.C (singleWidth): never ask for one past last
6752 (singleWidth): ditto
6754 (rightMargin): ditto
6755 (rowBreakPoint): ditto
6756 (setHeightOfRow): ditto
6757 (prepareToPrint): ditto
6759 * rowpainter.C (paintBackground): never ask for one past last
6760 (paintText): never ask for one past last
6762 * paragraph_pimpl.C (getChar): make the assert stricter, never
6763 allow the one past last pos to be taken
6765 * paragraph.C (getChar): ws changes only
6767 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6768 (numberOfSeparators): ditto
6769 (numberOfHfills): ditto
6771 2003-03-12 John Levon <levon@movementarian.org>
6777 * paragraph_funcs.C: fix per-buffer authorlists
6779 2003-03-12 John Levon <levon@movementarian.org>
6781 * text.C: fix newline in right address
6783 2003-03-12 Angus Leeming <leeming@lyx.org>
6785 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6786 duplicate those in LyXFunc::dispatch.
6790 * ToolbarDefaults.C:
6791 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6792 Add LFUN_FONTFREE_UPDATE.
6794 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6795 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6797 * bufferview_func.[Ch]: several new functions to facilliate
6798 transfer of data to and from the character dialog.
6800 2003-03-12 John Levon <levon@movementarian.org>
6805 * paragraph_funcs.C:
6806 * paragraph_pimpl.C:
6810 * text3.C: remove META_NEWLINE in favour of an inset
6813 * rowpainter.C: remove paintNewline (done by inset)
6815 2003-03-12 John Levon <levon@movementarian.org>
6817 * paragraph_pimpl.C: complain about bad getChar()s
6818 for a while at least
6820 2003-03-12 John Levon <levon@movementarian.org>
6823 * buffer.C: move paragraph read into a separate function,
6824 a little renaming to reflect that.
6827 * bufferparams.C: remove the author_ids map, not necessary now
6830 * factory.C: moved Buffer::readInset to here
6832 * paragraph_funcs.h:
6833 * paragraph_funcs.C: readParagraph free function moved from
6836 * tabular.C: name change
6838 2003-03-12 John Levon <levon@movementarian.org>
6841 * ParagraphParameters.C: move par params input to
6844 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6845 behave like a normal read from the stream wrt reading
6846 a line vs. a \\token
6848 2003-03-12 John Levon <levon@movementarian.org>
6851 * ParagraphParameters.h:
6852 * ParagraphParameters.C: move output code to a
6855 2003-03-12 John Levon <levon@movementarian.org>
6857 * BufferView.C (insertLyXFile):
6860 * tabular.C: use a parlist iterator for creating the
6863 2003-03-12 John Levon <levon@movementarian.org>
6865 * buffer.C: make current_change static local not
6868 2003-03-12 John Levon <levon@movementarian.org>
6870 * buffer.C: fix insertStringAsLines for change tracking
6872 2003-03-12 John Levon <levon@movementarian.org>
6879 * bufferparams.C: move author list into params. Rename some
6880 functions. Move the header reading into a separate token
6881 loop. Move the header token reading into BufferParams.
6883 2003-03-12 John Levon <levon@movementarian.org>
6885 * changes.C: put debug inside lyxerr.debugging() checks
6887 2003-03-11 André Pönitz <poenitz@gmx.net>
6889 * factory.C: make it aware of InsetHFill
6891 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6893 * buffer.C (latexParagraphs): move function from here...
6894 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6897 2003-03-10 Angus Leeming <leeming@lyx.org>
6899 * LyXAction.C (init): fix bug in poplating array with multiple entries
6900 with the same LFUN (spotted by JMarc).
6902 2003-03-10 John Levon <levon@movementarian.org>
6905 * text2.C: move getColumnNearX() near its
6908 2003-03-10 John Levon <levon@movementarian.org>
6910 * text.C: fix break before a minipage
6912 2003-03-10 John Levon <levon@movementarian.org>
6914 * text.C: fix the last commit
6916 2003-03-09 John Levon <levon@movementarian.org>
6920 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6921 bug 365 (don't break before insets unless needed). Don't
6922 return a value > last under any circumstances.
6924 2003-03-09 Angus Leeming <leeming@lyx.org>
6926 * BufferView_pimpl.C (trackChanges, dispatch): call
6927 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6929 2003-03-09 Angus Leeming <leeming@lyx.org>
6931 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6932 than Dialogs::showAboutlyx().
6934 2003-03-09 Angus Leeming <leeming@lyx.org>
6936 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6937 than Dialogs::showTabularCreate().
6939 2003-03-09 John Levon <levon@movementarian.org>
6943 * text2.C: 3rd arg to nextBreakPoint was always the same.
6946 2003-03-08 John Levon <levon@movementarian.org>
6953 * text2.C: Remove the "main" bit from the "main body"
6956 2003-03-08 John Levon <levon@movementarian.org>
6958 * text.C (leftMargin): The left margin of an empty
6959 manual label paragraph should not include the label width
6962 * text.C (prepareToPrint): don't attempt to measure hfills
6963 for empty manual label paragraphs - the answer should be 0
6965 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6967 * CutAndPaste.C: remove commented code and reindent.
6969 2003-03-08 John Levon <levon@movementarian.org>
6972 * lyxfunc.C: move reloadBuffer()
6975 * BufferView.C: to here
6977 * lyxvc.C: add comment
6980 * vc-backend.C: call bv->reload() to avoid
6981 getStatus() check on MENURELOAD
6983 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6985 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6986 to an old format .dep file.
6988 2003-03-07 Angus Leeming <leeming@lyx.org>
6990 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6991 when the LFUN_MOUSE_RELEASE should have been handled by
6992 inset->localDispatch.
6994 2003-03-07 Angus Leeming <leeming@lyx.org>
6996 * BufferView_pimpl.C (dispatch):
6997 * LyXAction.C (init):
6998 * ToolbarDefaults.C (init):
7000 * lyxfunc.C (getStatus):
7001 remove LFUN_INSET_GRAPHICS.
7003 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7005 2003-03-07 Angus Leeming <leeming@lyx.org>
7008 * LyXAction.C (init):
7009 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7011 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7014 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7016 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7017 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7019 2003-03-07 Angus Leeming <leeming@lyx.org>
7021 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7024 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7026 * ParagraphList.C (front): new function
7029 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7031 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7032 and top_row_offset_. removed var first_y.
7034 * text2.C (LyXText, removeRow):
7036 * BufferView_pimpl.C:
7037 use these methods instead of using first_y
7039 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7041 * text2.C (pasteSelection): adjust for checkPastePossible
7043 * CutAndPaste.C: remove Paragraph * buf and replace with
7044 ParagraphList paragraphs.
7045 (DeleteBuffer): delete
7046 (cutSelection): change the tc type to textclass_type
7047 (copySelection): change the tc type to textclass_type
7048 (copySelection): adjust for ParagraphList
7049 (pasteSelection): change the tc type to textclass_type
7050 (pasteSelection): adjust for Paragraphlist
7051 (nrOfParagraphs): simplify for ParagraphList
7052 (checkPastePossible): simplify for ParagraphList
7053 (checkPastePossible): remove unused arg
7055 * ParagraphList.C (insert): handle the case where there are no
7058 * CutAndPaste.h: make CutAndPaste a namespace.
7060 * text3.C (dispatch): adjust
7062 * text.C (breakParagraph): add a ParagraphList as arg
7064 * paragraph_funcs.C (breakParagraph): change to take a
7065 BufferParams and a ParagraphList as args.
7066 (breakParagraphConservative): ditto
7067 (mergeParagraph): ditto
7068 (TeXDeeper): add a ParagraphList arg
7069 (TeXEnvironment): ditto
7072 * buffer.C (readLyXformat2): adjust
7073 (insertStringAsLines): adjust
7074 (latexParagraphs): adjust
7076 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7077 (cutSelection): adjust
7078 (pasteSelection): adjust
7080 * BufferView_pimpl.C (insertInset): adjust
7082 2003-03-05 Angus Leeming <leeming@lyx.org>
7085 * LyXAction.C (init):
7086 * BufferView_pimpl.C (dispatch):
7087 * lyxfunc.C (getStatus):
7088 remove LFUN_CHILD_INSERT.
7090 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7092 2003-03-05 Angus Leeming <leeming@lyx.org>
7095 * LyXAction.C (init):
7096 * src/factory.C (createInset):
7097 * lyxfunc.C (getStatus):
7098 * text3.C (dispatch):
7099 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7101 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7103 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7105 * ParagraphList.C (insert): handle insert right before end()
7106 (erase): fix cases where it can be first or last paragraph.
7108 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7111 Paragraph::next and Paragraph::previous
7114 * text.C (breakParagraph): adjust
7116 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7117 BufferParams& as arg.
7118 (breakParagraph): use ParagraphList::insert
7119 (breakParagraphConservative): take a Buffer* instead of a
7120 BufferParams& as arg.
7121 (breakParagraphConservative): use ParagraphList::insert.
7123 * buffer.C (insertStringAsLines): un-const it
7124 (insertStringAsLines): adjust
7126 * ParagraphList.C (insert): new function
7128 * CutAndPaste.C (pasteSelection): adjust
7130 * text.C (backspace): adjust
7132 * tabular.C (SetMultiColumn): adjust
7134 * CutAndPaste.C (cutSelection): adjust
7135 (pasteSelection): adjust
7137 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7138 Buffer const * as arg
7140 * ParagraphList.C (erase): new function
7141 * paragraph_funcs.C (mergeParagraph): use it
7142 (mergeParagraph): make it take a Buffer* instead of a
7143 BufferParams* as arg
7145 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7147 (breakParagraphConservative): ditto
7149 * paragraph.h: remove the breakParagraph friend
7151 * paragraph.C (eraseIntern): new function
7152 (setChange): new function
7154 * paragraph_funcs.C (mergeParagraph): make it take a
7155 ParagraphList::iterator instead of a Paragraph *, adjust
7158 * paragraph.h: move an #endif so that the change tracking stuff
7159 also works in the NO_NEXT case.
7161 2003-03-04 Angus Leeming <leeming@lyx.org>
7164 * LyXAction.C: new LFUN_INSET_MODIFY.
7166 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7167 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7169 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7171 * several files: ws changes only
7173 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7174 (TeXEnvironment): ditto
7177 * buffer.C (makeLaTeXFile): adjust
7178 (latexParagraphs): make it take ParagraphList::iterator as args
7180 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7182 * buffer.C (latexParagraphs): adjust
7184 * paragraph.C (TeXOnePar): move function...
7185 (optArgInset): move function...
7186 (TeXEnvironment): move function...
7187 * paragraph_pimpl.C (TeXDeeper): move function...
7188 * paragraph_funcs.C: ...here
7190 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7192 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7194 * buffer.C (readInset): remove compability code for old Figure and
7197 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7199 * buffer.C: ws changes
7202 * BufferView_pimpl.C: ditto
7205 * bufferlist.h: ditto
7209 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7211 * converter.[Ch]: split into itself +
7214 * Makefile.am: += graph.[Ch] + format.[Ch]
7221 * lyxrc.C: added #include "format.h"
7223 2003-02-27 Angus Leeming <leeming@lyx.org>
7225 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7228 * factory.C (createInset): add "label" to the factory.
7230 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7231 string and do no more.
7233 2003-02-27 Angus Leeming <leeming@lyx.org>
7236 * LyXAction.C (init):
7237 * factory.C (createInset):
7238 * BufferView_pimpl.C (dispatch):
7239 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7241 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7243 * lyxfunc.C (dispatch):
7244 * text3.C (dispatch): pass name to params2string.
7246 2003-02-26 Angus Leeming <leeming@lyx.org>
7248 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7250 Rearrange the ~includes. Strip out the unnecessary ones.
7252 * factory.C (createInset): reformat.
7253 create new insets for the various LFUN_XYZ_APPLY lfuns.
7255 2003-02-26 John Levon <levon@movementarian.org>
7258 * lyxrow.C: add isParStart,isParEnd helpers
7260 * paragraph.h: make isInserted/DeletedText take refs
7262 * paragraph_funcs.h:
7263 * paragraph_funcs.C: remove #if 0'd code
7268 * text.C: use lyxrow helpers above.
7269 Move draw and paint routines to RowPainter.
7270 Make several methods use refs not pointers.
7271 Make backgroundColor() const.
7272 Add markChangeInDraw(), isInInset().
7273 Merge changeRegionCase into changeCase.
7274 Make workWidth() shouldn't-happen code into an Assert.
7277 * rowpainter.C: new class for painting a row.
7280 * vspace.C: make inPixels take a ref
7282 2003-02-26 Angus Leeming <leeming@lyx.org>
7284 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7287 2003-02-25 John Levon <levon@movementarian.org>
7289 * ispell.C: give the forked command a more accurate name
7291 2003-02-22 John Levon <levon@movementarian.org>
7294 * toc.C: make TocItem store an id not a Paragraph *
7297 2003-02-21 Angus Leeming <leeming@lyx.org>
7299 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7300 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7301 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7302 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7303 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7304 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7306 * BufferView_pimpl.C (dispatch):
7307 * LyXAction.C (init):
7308 * factory.C (createInset):
7309 * lyxfunc.C (getStatus, dispatch):
7310 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7312 2003-02-21 Angus Leeming <leeming@lyx.org>
7314 * BufferView_pimpl.C (MenuInsertLyXFile):
7315 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7316 * lyxfunc.C (menuNew, open, doImport):
7317 no longer pass a LyXView & to fileDlg.
7319 2003-02-21 Angus Leeming <leeming@lyx.org>
7321 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7322 * LyXAction.C: change, BIBKEY to BIBITEM.
7323 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7324 Change InsetBibKey to InsetBibitem.
7325 Change BIBKEY_CODE to BIBITEM_CODE.
7326 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7327 * factory.C: replace insetbib.h with insetbibitem.h.
7328 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7329 * paragraph.C: replace insetbib.h with insetbibitem.h.
7330 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7331 Change bibkey() to bibitem().
7332 * text.C: remove insetbib.h.
7333 * text2.C: replace insetbib.h with insetbibitem.h.
7334 change bibkey() to bibitem().
7335 * text3.C: remove insetbib.h.
7336 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7338 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7340 * lyxrc.C (output): enclose user email in quotes (in case there are
7343 2003-02-18 John Levon <levon@movementarian.org>
7345 * buffer.h: add std::
7347 2003-02-17 John Levon <levon@movementarian.org>
7353 * pspell.C: reworking. Especially in ispell, a large
7354 number of clean ups and bug fixes.
7356 * lyxfunc.C: fix revert to behave sensibly
7358 2003-02-17 André Pönitz <poenitz@gmx.net>
7361 * commandtags.h: new LFUN_INSERT_BIBKEY
7371 * paragraph_func.C: remove special bibkey handling
7373 2003-02-17 John Levon <levon@movementarian.org>
7375 * text.C (Delete): fix case where delete at the end of
7376 the very first paragraph would not merge the pars
7378 2003-02-17 John Levon <levon@movementarian.org>
7380 * lyxrow.C: fix lastPrintablePos()
7382 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7384 * bufferparams.C (writeLaTeX): add a std:here
7386 * buffer.C: and remove a using directive there
7388 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7390 * buffer.C (makeLaTeXFile): move the code that generates the
7393 * bufferparams.C (writeLaTeX): ... in this new method
7395 * LaTeXFeatures.C (getEncodingSet): make const
7396 (getLanguages): make const
7398 * MenuBackend.C (binding): returns the binding associated to this
7400 (add): sets the status of each item by calling getStatus. Adds
7402 (read): add support for OptSubMenu
7403 (expand): remove extra separator at the end of expanded menu
7405 2003-02-15 John Levon <levon@movementarian.org>
7408 * BufferView_pimpl.C:
7410 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7411 inset code that had no actual effect. Remove unneeded status
7414 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7416 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7419 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7421 * text.C (drawLengthMarker): also draw an arrow marker for
7422 symbolic lengths (medskip...)
7424 2003-02-14 John Levon <levon@movementarian.org>
7427 * tabular.C: better method names
7429 2003-02-14 John Levon <levon@movementarian.org>
7431 * BufferView_pimpl.C:
7436 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7437 it's a more accurate name. Remove some pointless uses.
7439 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7441 * text2.C (LyXText): change order of initilizers to shut off
7444 2003-02-14 John Levon <levon@movementarian.org>
7446 * buffer.C: use ParIterator for getParFromID()
7450 * paragraph_pimpl.h:
7451 * paragraph_pimpl.C: remove unused getParFromID()
7453 2003-02-14 John Levon <levon@movementarian.org>
7455 * buffer.C: remove some very old #if 0'd parse code
7457 2003-02-13 John Levon <levon@movementarian.org>
7461 * text2.C: move hfillExpansion(), numberOfSeparators(),
7462 rowLast(), rowLastPrintable(), numberofHfills(),
7463 numberOfLabelHfills() ...
7466 * lyxrow.C: ... to member functions here.
7471 * text.C: remove LyXText::beginningOfMainBody(), and call
7472 p->beginningOfMainBody() directly. Move the check for
7473 LABEL_MANUAL into the latter.
7480 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7486 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7487 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7489 2003-02-13 John Levon <levon@movementarian.org>
7491 * CutAndPaste.C: remove debug
7493 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7495 * paragraph.C (asString): remove two unused variables
7497 * lyxtextclass.C (readTitleType):
7499 (LyXTextClass): handle new members titletype_ and titlename_
7501 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7503 2003-02-09 John Levon <levon@movementarian.org>
7506 * buffer.C: replace hand-coded list with a map for the dep clean
7508 2003-02-08 John Levon <levon@movementarian.org>
7510 * LaTeX.C: consolidate code into showRunMessage() helper
7512 2003-02-08 John Levon <levon@movementarian.org>
7517 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7518 and pass the size in explicitly
7520 * BufferView_pimpl.h:
7521 * BufferView_pimpl.C:
7523 * BufferView.C: add getCurrentChange()
7525 * BufferView_pimpl.h:
7526 * BufferView_pimpl.C: handle change lfuns
7528 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7529 for changes. Mark pasted paragraphs as new.
7531 * support/lyxtime.h:
7532 * support/lyxtime.C:
7533 * DepTable.C: abstract time_t as lyx::time_type
7536 * LColor.C: add colours for new text, deleted text, changebars
7538 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7539 package use "usenames" option.
7543 * LyXAction.C: add change lfuns
7547 * author.C: author handling
7550 * buffer.C: add a per-buffer author list, with first entry as
7551 current author. Handle new .lyx tokens for change tracking. Output
7552 author list to .lyx file. Output dvipost stuff to .tex preamble.
7553 Bump lyx format to 222.
7556 * bufferlist.C: add setCurrentAuthor() to reset current author details
7560 * bufferparams.C: add param for tracking
7562 * bufferview_funcs.C: output change info in minibuffer
7566 * changes.C: add change-tracking structure
7569 * debug.C: add CHANGES debug flag
7572 * lyxfind.C: add code for finding the next change piece
7575 * lyxrc.C: add user_name and user_email
7578 * lyxrow.C: add a metric for the top of the text line
7581 * text.C: implement accept/rejectChange()
7584 * text.C: paint changebars. Paint new/deleted text in the chosen
7585 colours. Strike through deleted text.
7589 * paragraph_pimpl.h:
7590 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7591 in the current change to the insert functions. Rework erase to
7592 mark text as deleted, adding an eraseIntern() and a range-based
7593 erase(). Implement per-paragraph change lookup and
7596 * paragraph_funcs.C: Fixup paste for change tracking.
7598 * tabular.C: mark added row/columns as new.
7600 * text.C: fix rowLast() to never return -1. Don't allow
7601 spellchecking of deleted text. Track transpose changes. Don't
7602 allow paragraph break or merge where appropriate.
7604 * text2.C: leave cursor at end of selection after a cut.
7606 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7608 * text.C (getLengthMarkerHeight):
7609 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7610 visible on screen too.
7612 2003-02-07 John Levon <levon@movementarian.org>
7614 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7616 2003-02-05 Angus Leeming <leeming@lyx.org>
7618 * lyxserver.C (read_ready): revert my patch of 11 September last year
7619 as it sends PC cpu through the roof. Presumably this means that
7620 the lyxserver will no longer run on an Alpha...
7622 2003-01-30 Angus Leeming <leeming@lyx.org>
7624 * factory.C (createInset): create an InsetCommandParam of type "index"
7625 and use it to 'do the right thing'.
7627 * text2.C (getStringToIndex): ensure that cursor position is always
7628 reset to the reset_cursor position.
7630 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7632 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7635 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7639 * lyxfunc.C: Output messages with identical spelling, punctuation,
7642 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7644 * MenuBackend.C (expandFormats): List only viewable export formats
7647 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7650 * lyxfunc.C (getStatus): Make sure that formats other than
7651 "fax" can also be disabled
7653 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7655 * text3.C (dispatch): put the lfuns that insert insets in 3
7656 groups, and call doInsertInset with appropriate arguments.
7657 (doInsertInset): new function, that creates an inset and inserts
7658 it according to some boolean parameters.
7660 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7662 * buffer.C (readFile): remember to pass on 'par' when calling
7663 readFile recursively.
7665 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7667 * MenuBackend.C (expandFormats): add "..." to import formats.
7669 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7671 * paragraph.C (asString): Remove XForms RTL hacks.
7673 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7674 * buffer.C: fix typo
7676 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * Makefile.am (LIBS): delete var
7679 (lyx_LDADD): add @LIBS@ here instead.
7681 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7683 * Clarify the meaning of "wheel mouse jump"
7685 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7687 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7690 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7692 * importer.C (Loaders): do not preallocate 3 elements in the
7693 vector, since one ends up with 6 elements otherwise
7695 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7697 * DepTable.C (write): write the file name as last element of the
7698 .dep file (because it may contain spaces)
7699 (read): read info in the right order
7701 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7703 * paragraph_pimpl.C (simpleTeXBlanks):
7704 (simpleTeXSpecialChars):
7705 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7707 * tabular.C (latex): add some missing case statements. Reindent.
7709 * MenuBackend.C (expandToc): remove unused variable.
7711 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7720 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7723 2003-01-05 John Levon <levon@movementarian.org>
7726 * BufferView.C: add getEncoding()
7729 * kbsequence.C: do not store last keypress
7732 * lyxfunc.C: store last keypress here instead. Pass encoding
7735 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7737 * lyx_main.C (init): remove annoying error message when following
7738 symbolic links (bug #780)
7740 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7742 * text.C (insertChar):
7743 * lyxrc.C (getDescription): remove extra spaces
7745 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7747 * lyxrc.C (getDescription): remove extra spaces
7749 2002-12-20 John Levon <levon@movementarian.org>
7751 * text3.C: hack fix for page up/down across tall rows
7753 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7755 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7758 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7760 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7761 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7762 thesaurus is not compiled in
7764 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7766 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7768 2002-12-16 Angus Leeming <leeming@lyx.org>
7771 * lyx_main.C (init): remove override_x_deadkeys stuff.
7773 2002-12-12 John Levon <levon@movementarian.org>
7775 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7776 insert. Only remove shift modifier under strict
7779 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7781 * MenuBackend.C (expandToc): fix crash.
7783 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7785 * MenuBackend.C (expandToc): gettext on float names.
7787 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7789 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7790 implement bool empty() [bug 490]
7792 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7796 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * several files: ws changes
7800 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * text2.C (setCounter): clean up a bit, use boost.format.
7803 (updateCounters): initialize par upon declaration.
7805 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7806 if the layout exists. We do not just store the layout any more.
7807 (SwitchLayoutsBetweenClasses): use boost.format
7809 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7811 * converter.C (convert): if from and to files are the same, use a
7812 temporary files as intermediary
7814 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7817 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7819 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7821 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7823 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7825 * tabular.C (asciiPrintCell): use string(size, char) instead of
7828 * sgml.C (openTag): fix order of arguments to string constructor
7831 * lyxfunc.C (dispatch): use boost.format
7833 * lots of files: change "c" -> 'c'
7835 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7837 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7839 2002-11-25 Angus Leeming <leeming@lyx.org>
7841 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7843 * lyx_main.C (init): compile fix.
7845 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7847 * lyx_cb.C (start): boost.formatify
7848 do not include <iostream>
7850 * lengthcommon.C: ws only
7852 * boost-inst.C,BoostFormat.h: add more explict instantations
7854 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7856 * lots of files: handle USE_BOOST_FORMAT
7858 2002-11-21 John Levon <levon@movementarian.org>
7860 * pspell.C: fix compile
7862 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7864 * lyxfunc.C (dispatch): use boost::format
7868 * lyxfont.C (stateText): use boost::format
7870 * lyx_main.C (LyX): use boost::format
7872 (queryUserLyXDir): ditto
7875 (typedef boost::function): use the recommened syntax.
7877 * importer.C (Import): use boost::format
7879 * debug.C (showLevel): use boost::format
7881 * converter.C (view): use boost::format
7886 * bufferview_funcs.C (currentState): use boost::format
7888 * bufferlist.C (emergencyWrite): use boost::format
7890 * buffer.C (readLyXformat2): use boost::format
7891 (parseSingleLyXformat2Token): ditto
7893 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7895 * LaTeX.C (run): use boost::format
7897 * Chktex.C (scanLogFile): use boost::format
7899 * BufferView_pimpl.C (savePosition): use boost::format
7900 (restorePosition): ditto
7901 (MenuInsertLyXFile): ditto
7903 * BoostFormat.h: help file for explicit instation.
7905 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7907 * tabular.C (latex): Support for block alignment in fixed width
7910 2002-11-17 John Levon <levon@movementarian.org>
7912 * BufferView_pimpl.C:
7914 * lyxfunc.C: split filedialog into open/save
7916 2002-11-08 Juergen Vigna <jug@sad.it>
7918 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7919 by my last patch (hopefully).
7921 2002-11-08 John Levon <levon@movementarian.org>
7930 * toc.C: ParConstIterator, and use it (from Lars)
7932 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7934 * lyxtextclass.[Ch]: revise and add doxygen comments
7936 2002-11-07 John Levon <levon@movementarian.org>
7938 * text.C: fix progress value for spellchecker
7940 * toc.C: fix navigate menu for insetwrap inside minipage
7942 * paragraph_funcs.C: added FIXME for suspect code
7944 2002-11-07 John Levon <levon@movementarian.org>
7946 * BufferView_pimpl.C: fix redrawing of insets
7949 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7951 * text2.C (updateCounters): fix bug 668
7953 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7955 * text3.C (dispatch): Do not make the buffer dirty when moving the
7958 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7960 * vc-backend.C: STRCONV
7963 * text2.C (setCounter): STRCONV
7965 * paragraph.C (asString): STRCONV
7967 * lyxlength.C (asString): STRCONV
7968 (asLatexString): ditto
7970 * lyxgluelength.C (asString): STRCONV
7971 (asLatexString): ditto
7973 * lyxfunc.C (dispatch): STRCONV
7976 * lyxfont.C (stateText): STRCONV
7978 * importer.C (Import): STRCONV
7980 * counters.C (labelItem): STRCONV
7981 (numberLabel): ditto
7982 (numberLabel): remove unused ostringstream o
7987 * bufferview_funcs.C (currentState): STRCONV
7989 * buffer.C (readFile): STRCONV
7990 (asciiParagraph): ditto
7991 (makeLaTeXFile): ditto
7993 * Spacing.C (writeEnvirBegin): STRCONV
7995 * LaTeXFeatures.C (getLanguages): STRCONV
7996 (getPackages): ditto
7998 (getBabelOptions): ditto
7999 (getTClassPreamble): ditto
8000 (getLyXSGMLEntities): ditto
8001 (getIncludedFiles): ditto
8005 (scanAuxFile): ditto
8008 * LString.h: add the STRCONV macros
8010 * BufferView_pimpl.C (savePosition): STRCONV
8011 (restorePosition): ditto
8012 (MenuInsertLyXFile): ditto
8014 * vc-backend.C (scanMaster): change from submatch[...] to
8017 * funcrequest.C: include config.h
8019 * factory.C: include config.h
8021 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8023 * box.C: include config.h
8025 * LaTeX.C (scanAuxFile): change from submatch[...] to
8029 2002-10-25 Angus Leeming <leeming@lyx.org>
8031 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8033 * ispell.[Ch] (setError): new method.
8034 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8035 Use setError() insetead of goto END.
8037 * lyx_cb.C (AutoSave): move out child process into new class
8040 2002-10-30 John Levon <levon@movementarian.org>
8042 * text3.C: make start appendix undoable
8044 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8046 * lyxlength.C (inPixels): Fix returned value.
8048 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8051 2002-10-24 Angus Leeming <leeming@lyx.org>
8053 * lyxgluelength.h: no need to forward declare BufferParams
8054 or BufferView, so don't.
8056 2002-10-21 John Levon <levon@movementarian.org>
8058 * BufferView.C: menuUndo ->undo, redo
8060 * BufferView.h: document, remove dead, make some methods private
8062 * paragraph_funcs.h:
8063 * paragraph_funcs.C:
8064 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8069 * sgml.C: move sgml open/close tag into sgml.C
8071 * bufferview_funcs.h: unused prototype
8074 * lyxfunc.C: remove unused
8077 * text.C: remove unused
8079 2002-10-21 John Levon <levon@movementarian.org>
8083 * BufferView_pimpl.h:
8084 * BufferView_pimpl.C: fix mouse wheel handling based on
8085 patch from Darren Freeman
8087 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8089 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8091 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8093 * lyxlength.C (inPixels): Fix hanfling of negative length.
8094 Fix LyXLength::MU case.
8096 2002-10-16 John Levon <levon@movementarian.org>
8098 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8100 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8102 * converter.C (view): add support for $$i (file name) and $$p
8103 (file path) for the viewer command. If $$i is not specified, then
8104 it is appended to the command (for compatibility with old syntax)
8106 2002-10-14 Juergen Vigna <jug@sad.it>
8108 * undo_funcs.C (textHandleUndo): alter the order in which the
8109 new undopar is added to the LyXText, as we have to set first
8110 the right prev/next and then add it as otherwise the rebuild of
8111 LyXText is not correct. Also reset the cursor to the right paragraph,
8112 with this IMO we could remove the hack in "redoParagraphs()".
8114 2002-10-09 Angus Leeming <leeming@lyx.org>
8116 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8117 to turn off an optimisation if a new inset is to be inserted.
8119 2002-10-11 André Pönitz <poenitz@gmx.net>
8121 * lyxtext.h: make some functions public to allow access
8122 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8124 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8126 * text3.C (dispatch): when changing layout, avoid an infinite loop
8129 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8131 * lyxrc.C (read): treat a viewer or converter command of "none" as
8134 * MenuBackend.C (expandFormats): for an update, also allow the
8135 formats that are not viewable
8137 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8138 script if it is newer than the lyxrc.defaults in user directory
8140 2002-10-07 André Pönitz <poenitz@gmx.net>
8142 * text.C: Vitaly Lipatov's small i18n fix
8144 2002-09-25 Angus Leeming <leeming@lyx.org>
8146 * ispell.h: doxygen fix.
8148 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8150 * buffer.h (readFile): Add a new argument to the method, to allow
8151 reading of old-format templates.
8153 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8155 * toc.C (getTocList): Get TOC from InsetWrap.
8157 2002-09-16 John Levon <levon@movementarian.org>
8159 * lyxfunc.C: check tabular for cut/copy too
8161 2002-09-12 John Levon <levon@movementarian.org>
8166 * factory.C: add header
8168 * paragraph_funcs.h:
8169 * paragraph_funcs.C: cleanup
8171 2002-09-11 John Levon <levon@movementarian.org>
8173 * PrinterParams.h: odd/even default to true
8175 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8177 * PrinterParams.h: update printer parameters for new xforms dialog
8179 2002-09-11 Angus Leeming <leeming@lyx.org>
8181 * lyxserver.C (read_ready): re-write to make it more transparent
8182 and to make it work in coherent fashion under Tru64 Unix.
8184 2002-09-11 André Pönitz <poenitz@gmx.net>
8188 * text3.C: implement LFUN_WORDSEL
8190 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8193 make floatlist_ a boost::shared_ptr<FloatList>
8195 * lyxtextclass.C: include FloatList.h
8196 (LyXTextClass): initialize floatlist_
8197 (TextClassTags): add TC_NOFLOAT
8198 (Read): match "nofloat" to TC_NOFLOAT and use it.
8199 (readFloat): modify call to floatlist_
8203 * FloatList.[Ch] (FloatList): remove commented out float
8205 (erase): new function
8207 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8209 * MenuBackend.C (expandToc): fix crash when there is no document
8212 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8214 * many files: Add insetwrap.
8216 2002-09-09 John Levon <levon@movementarian.org>
8218 * text2.C: remove confusing and awkward depth wraparound
8220 2002-09-09 John Levon <levon@movementarian.org>
8222 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8225 * buffer.C: remove getIncludeonlyList()
8228 * lyxfunc.C: remove headers
8230 2002-09-09 Juergen Vigna <jug@sad.it>
8232 * text.C (getColumnNearX): fix form Michael this is most
8233 probably a cut&paste bug.
8235 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8237 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8239 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8240 references, ws changes.
8242 * text2.C (init): update counters after init
8243 (insertParagraph): no need to set counter on idividual paragraphs.
8244 (setCounter): access the counters object in the textclass object
8245 on in the buffer object.
8246 (updateCounters): ditto
8248 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8249 shared_ptr<Counters> to avoid loading counters.h in all
8251 (LyXTextClass): initialize ctrs_
8252 (TextClassTags): add TC_COUNTER, and ...
8253 (Read): use it here.
8254 (CounterTags): new tags
8255 (readCounter): new function
8256 (counters): new funtion
8257 (defaultLayoutName): return a const reference
8259 * counters.C (Counters): remove contructor
8260 (newCounter): remove a couple of unneeded statements.
8261 (newCounter): simplify a bit.
8262 (numberLabel): some small formatting changes.
8264 * buffer.[Ch]: remove all traces of counters, move the Counters
8265 object to the LyXTextClass.
8267 2002-09-06 Alain Castera <castera@in2p3.fr>
8269 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8270 package to set the horizontal alignment on fixed width columns.
8273 * lyx_sty.h: added tabularnewline macro def.
8275 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8277 2002-09-06 John Levon <levon@movementarian.org>
8279 * LyXAction.C: tooltips for sub/superscript
8281 * MenuBackend.C: a bit more verbose
8283 * lyxfunc.C: tiny clean
8285 * undo_funcs.C: document undo_frozen
8287 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8289 * counters.C (Counters): add missing algorithm counter.
8291 * text2.C (setCounter): lookup the counter with layouts latexname
8292 instead of by section number.
8293 (setCounter): use a hackish way to lookup the correct enum
8295 a float name->type change
8296 reset enum couners with counter name directly instead of depth value.
8298 * counters.C (Counters): remove the push_backs, change to use the
8299 float type not the float name.
8300 (labelItem): remove unused string, float name->type change
8302 * counters.h: don't include vector, loose the enums and sects vectors
8304 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8306 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8307 (Read): add float->TC_FLOAT to textclassTags
8308 (Read): and handle it in the switch
8309 (readFloat): new function
8311 * FloatList.C (FloatList): comment out the hardcoded float
8314 * lyxlayout.h: ws change.
8316 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8318 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8320 2002-09-03 Angus Leeming <leeming@lyx.org>
8322 * BufferView_pimpl.h: qualified name is not allowed in member
8323 declaration: WorkArea & Pimpl::workarea() const;
8325 * factory.C: added using std::endl directive.
8327 * text3.C: added using std::find and std::vector directives.
8329 2002-08-29 André Pönitz <poenitz@gmx.net>
8332 * text2.C: remove unused member number_of_rows
8335 * BufferView2.C: remove file, move contents to...
8336 * BufferView.C: ... here
8338 * BufferView_pimpl.C:
8339 * factory.C: move more inset creation to factory
8341 * vspace.C: avoid direct usage of LyXText, ws changes
8344 don't provide direct access to WorkArea, use two simple
8345 acessors haveSelction() and workHeight() instead
8348 2002-08-29 John Levon <levon@movementarian.org>
8350 * BufferView_pimpl.C (dispatch): do not continue when
8353 2002-08-28 André Pönitz <poenitz@gmx.net>
8355 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8358 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8360 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8362 * buffer.C: increment LYX_FORMAT to 221
8364 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8365 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8367 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8369 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8371 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8373 * factory.C (createInset): use LyXTextClass::floats
8375 * MenuBackend.C (expandFloatListInsert):
8376 (expandFloatInsert):
8379 * text2.C (setCounter):
8381 * LaTeXFeatures.C (useFloat):
8382 (getFloatDefinitions):
8384 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8386 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8387 floatlist_, with accessor floats().
8389 * FloatList.h: remove global FloatList
8391 2002-08-26 André Pönitz <poenitz@gmx.net>
8393 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8397 * BufferView_pimpl.C:
8398 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8400 2002-08-25 John Levon <levon@movementarian.org>
8402 * LyXAction.C: fix margin note description
8404 2002-08-24 John Levon <levon@movementarian.org>
8408 * bufferview_funcs.C:
8410 * undo_funcs.C: cleanups
8412 * lyxfunc.C: disable CUT/COPY when no selection
8414 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8416 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8417 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8419 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8420 Add backward compatibility to "mono", "gray" and "no".
8422 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8424 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8425 (and file_format >= 200).
8427 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8429 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8431 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8433 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8435 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8437 * BufferView_pimpl.C:
8444 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8445 inset and code to make it work with the paragraph code. The inset
8446 can be anywhere in the paragraph, but will only do the expected
8447 thing in LaTeX if the layout file contains the parameter line
8449 (or more generally, a nonzero value) for that layout.
8451 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8453 * paragraph.h: remove the declaration of undefined counters class
8456 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8458 * text2.C (setCounter): fixed enumeration mis-count as reported by
8459 Dr. Richard Hawkins.
8461 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8463 * paragraph_funcs.h: remove some unneeded includes
8465 * text.C (backspace): pasteParagraph now in global scipe
8467 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8468 (pasteSelection): ditto
8470 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8471 * paragraph_funcs.C (pasteParagraph): ... here
8473 2002-08-20 André Pönitz <poenitz@gmx.net>
8475 * commandtags.h: new LFUNs for swapping/copying table row/colums
8478 * lyxfunc.C: support for new lfuns
8480 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8483 * buffer.[Ch]: remove NO_COMPABILITY stuff
8485 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8487 * boost.C (throw_exception): new file, with helper function for
8488 boost compiled without exceptions.
8493 * ParameterStruct.h:
8494 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8496 * bufferlist.C (emergencyWriteAll): use boost bind
8498 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8500 * text.C: include paragraph_funcs.h
8501 (breakParagraph): breakParagraph is now in global scope
8503 * paragraph_funcs.[Ch]: new files
8505 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8508 * buffer.C: include paragraph_funcs.h
8509 (insertStringAsLines): breakParagraph is now in global scope
8511 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8514 * CutAndPaste.C: include paragraph_funcs.h
8515 (cutSelection): breakParagraphConservative is now in global scope
8516 (pasteSelection): ditto
8518 * buffer.h: declare oprator== and operator!= for
8519 Buffer::inset_iterator
8521 * bufferlist.C (emergencyWrite): don't use fmt(...)
8523 * text3.C: add using std::endl
8525 * BufferView.C (moveCursorUpdate): remove default arg
8527 2002-08-20 André Pönitz <poenitz@gmx.net>
8529 * buffer.[Ch]: move inline functions to .C
8532 * BufferView_pimpl.C:
8534 * buffer.[Ch]: use improved inset_iterator
8537 * paragraph.[Ch]: write one paragraph at a time
8539 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8541 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8542 style if style is not specified.
8544 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8546 * text2.C (setCounter): when searching for right label for a
8547 caption, make sure to recurse to parent insets (so that a caption
8548 in a minipage in a figure float works) (bug #568)
8550 2002-08-20 André Pönitz <poenitz@gmx.net>
8552 * text3.C: new file for LyXText::dispatch() and helpers
8554 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8556 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8558 2002-08-19 André Pönitz <poenitz@gmx.net>
8561 * text.C: new LyXText::dispatch()
8563 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8565 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8567 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8569 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8572 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8574 * Makefile.am: use $(variables) instead of @substitutions@
8576 2002-08-15 André Pönitz <poenitz@gmx.net>
8579 * BufferView_pimpl.C: streamlining mathed <-> outer world
8583 * LyXAction.C: remove unused LFUN_MATH
8585 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8587 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8589 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8591 * paragraph.C (Paragraph): reformat a bit
8592 (cutIntoMinibuffer): use builtin InsetList function instad of
8596 * buffer.C: include boost/bind.hpp, add using std::for_each
8597 (writeFileAscii): use ParagraphList iterators
8598 (validate): use for_each for validate traversal of paragraphs
8599 (getBibkeyList): use ParagraphList iterators
8600 (resizeInsets): use for_each to resizeInsetsLyXText for all
8602 (getParFromID): use ParagraphList iterators
8604 * BufferView2.C (lockInset): use paragraph list and iterators
8606 2002-08-14 John Levon <levon@movementarian.org>
8608 * lyxserver.C: remove spurious xforms include
8610 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8612 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8614 2002-08-13 André Pönitz <poenitz@gmx.net>
8617 * lyxfunc.C: further cleaning
8619 2002-08-13 André Pönitz <poenitz@gmx.net>
8621 * funcrequest.h: new constructor
8623 * funcrequest.C: move stuff here from .h
8626 * BufferView_pimpl.C:
8629 * lyxfunc.C: subsequent changes
8631 * lyxfunc.h: new view() member function
8633 * lyxfunc.C: subsequent changes
8635 2002-08-13 Angus Leeming <leeming@lyx.org>
8638 * BufferView_pimpl.C:
8646 changes due to the changed LyXView interface that now returns references
8647 to member variables not pointers.
8649 2002-08-13 Angus Leeming <leeming@lyx.org>
8651 * WordLangTuple (word, lang_code): return references to strings,
8656 * lyxtext.h: forward-declare WordLangTuple.
8661 * text.C: #include "WordLangTuple.h".
8664 * text.C: (selectNextWordToSpellcheck): constify return type.
8666 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8672 * paragraph_pimpl.h:
8675 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8677 Made updateCounter always count from start of buffer, and removed
8678 second argument (par).
8679 Reverted floats number display to '#'. Perhaps I'll try again when the
8680 code base is sanitized a bit.
8682 2002-08-12 Angus Leeming <leeming@lyx.org>
8684 * buffer.[Ch] (getLabelList): constify.
8686 2002-08-07 André Pönitz <poenitz@gmx.net>
8688 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8690 * funcrequest.h: extension to keep mouse (x,y) position
8692 2002-08-12 Juergen Vigna <jug@sad.it>
8694 * BufferView2.C (insertErrors): forbid undo when inserting error
8697 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8699 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8701 * ParagraphList.[Ch]: new files
8703 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8705 * BufferView2.C (lockInset): ParagraphList changes
8708 * bufferlist.C: ditto
8712 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8714 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8715 unused class variable counter_,
8717 * paragraph.[Ch] (getFirstCounter): delete unused function
8719 * counters.C: include LAssert.h
8720 (reset): add a new function with no arg, change other version to
8721 not have def. arg and to not allow empty arg.
8723 * text2.C (setCounter): remove empty arg from call to Counters::reset
8725 2002-08-11 John Levon <levon@movementarian.org>
8727 * Makefile.am: add WordLangTuple.h
8729 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8731 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8732 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8734 * insets/insettext.C: InsetList changes
8736 * graphics/GraphicsSupport.C (operator()): InsetList changes
8738 * toc.C (getTocList): InsetList changes
8740 * paragraph_pimpl.[Ch]: InsetList changes
8742 * paragraph.[Ch]: InsetList changes
8744 * buffer.C (inset_iterator): InsetList changes
8745 (setParagraph): ditto
8746 * buffer.h (inset_iterator): ditto
8747 * iterators.C (operator++): ditto
8748 * iterators.h: ditto
8750 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8752 * InsetList.[Ch]: new files, most InsetList handling moved out of
8755 * BufferView2.C (removeAutoInsets): InsetList changes
8757 (ChangeInsets): ditto
8759 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8761 * paragraph_pimpl.h (empty): new function
8763 * paragraph.[Ch] (empty): new function
8765 * other files: use the new Paragraph::empty function
8767 2002-08-09 John Levon <levon@movementarian.org>
8769 * lyxtext.h: remove unused refresh_height
8771 2002-08-09 John Levon <levon@movementarian.org>
8778 * paragraph.C: move sgml char escaping out of paragraph
8781 * paragraph.C: remove id setter
8785 * paragraph_pimpl.C: remove dead tex_code_break_column
8787 * bufferview_funcs.C: small cleanup
8789 * lyxfunc.C: remove dead proto
8791 * lyxtext.h: make some stuff private. Remove some dead stuff.
8793 * lyxgluelength.C: make as[LyX]String() readable
8795 2002-08-08 John Levon <levon@movementarian.org>
8800 * ToolbarDefaults.C:
8803 * toc.C: lyxaction cleanup
8805 2002-08-08 John Levon <levon@movementarian.org>
8807 * BufferView2.C: small cleanup
8810 * lyxfind.C: move unnecessary header into the .C
8812 2002-08-08 John Levon <levon@movementarian.org>
8814 * funcrequest.h: just tedious nonsense
8817 * lyx_main.C: cleanups
8820 * vspace.C: remove dead header lyx_main.h
8822 2002-08-07 Angus Leeming <leeming@lyx.org>
8825 * paragraph_pimpl.h:
8826 Forward declare class Counters in paragraph.h by moving the ctrs member
8827 variable into Paragraph::Pimpl.
8828 (counters): new method, returning a reference to pimpl_->ctrs.
8830 * text2.C: ensuing changes.
8832 2002-08-07 John Levon <levon@movementarian.org>
8834 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8836 * BufferView_pimpl.C: announce X selection on double/triple
8839 * lyx_main.C: use correct bool in batch dispatch
8841 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8843 2002-08-07 André Pönitz <poenitz@gmx.net>
8845 * funcrequest.h: new class to wrap a kb_action and its argument
8848 * BufferView_pimpl[Ch]:
8852 * lyxrc.C: subsequent changes
8855 2002-08-07 John Levon <levon@movementarian.org>
8857 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8858 document options change.
8860 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8865 * makefile.am: move counters functionality over from
8866 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8868 2002-08-06 John Levon <levon@movementarian.org>
8870 * WordLangTuple.h: new file for word + language code tuple
8881 * BufferView2.C: use WordLangTuple
8884 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8886 2002-08-06 John Levon <levon@movementarian.org>
8888 * lyx_main.C: fix cmdline batch handling
8890 2002-08-06 André Pönitz <poenitz@gmx.net>
8892 * lyxrc.C: set default for show_banner to true
8894 2002-08-06 John Levon <levon@movementarian.org>
8896 * pspell.C: fix a crash, and allow new aspell to work
8898 2002-08-06 John Levon <levon@movementarian.org>
8901 * kbmap.C: small cleanup
8904 * vspace.C: add const
8906 2002-08-05 John Levon <levon@movementarian.org>
8908 * LyXAction.C: back to tabular-insert
8910 2002-08-04 John Levon <levon@movementarian.org>
8913 * BufferView.C: cosmetic change
8915 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8925 * BufferView2.C: purge all "Lyx" not "LyX" strings
8928 * lyxcursor.C: attempt to add some documentation
8933 * ToolbarDefaults.C:
8934 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8935 merge with LFUN_TABULAR_INSERT
8942 * pspell.C: split up i/pspell implementations into separate
8943 files, many cleanups
8945 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8947 * text2.C: some cleanup
8949 * lyxfunc.C: don't check for isp_command == "none" any more, it
8950 didn't make any sense
8952 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8957 * makefile.am: move counters functionality over
8958 from text2.C/paragraph.[Ch] to counters.[Ch], and
8960 2002-08-02 John Levon <levon@movementarian.org>
8962 * buffer.C: s/lyxconvert/lyx2lyx/
8964 2002-08-02 Angus Leeming <leeming@lyx.org>
8966 * lyxlex.C: revert John's change as it breaks reading of the user
8969 2002-08-02 Angus Leeming <leeming@lyx.org>
8971 * importer.C (Import):
8972 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8973 changes due to LyXView::view() now returning a boost::shared_ptr.
8975 2002-08-02 John Levon <levon@movementarian.org>
8977 * lyxlex.C: small cleanup
8979 2002-08-02 John Levon <levon@movementarian.org>
8981 * text2.C (status): small cleanup, no logic change
8983 2002-08-01 John Levon <levon@movementarian.org>
8986 * buffer.C (writeFile): don't output alerts, caller
8990 * lyx_cb.C: from above
8992 * lyxfunc.C: allow to open non-existent files
8994 2002-07-31 John Levon <levon@movementarian.org>
8996 * lyxserver.C: don't let incidental errors get
8999 2002-07-30 John Levon <levon@movementarian.org>
9001 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9003 2002-07-30 John Levon <levon@movementarian.org>
9006 * lyxserver.C: remove I/O callback too
9008 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9010 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9013 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9015 * many files: strip,frontStrip -> trim,ltrim,rtrim
9017 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9019 * PrinterParams.h: remove extern containsOnly, and include
9020 support/lstrings.h instead.
9022 * LaTeX.C (scanAuxFile): modify because of strip changes
9024 * buffer.C (makeLaTeXFile): ditto
9025 * bufferparams.C (writeFile): ditt
9026 * lyxfont.C (stateText): ditto
9027 * lyxserver.C (read_ready): ditto
9028 * vc-backend.C (scanMaster): ditto
9030 * BufferView_pimpl.h: ws changes
9032 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9034 2002-07-26 André Pönitz <poenitz@gmx.net>
9036 * kb_sequence.C: remove unnedred usings
9038 2002-07-26 Juergen Vigna <jug@sad.it>
9040 * lyxfind.C (LyXReplace): we have to check better if the returned
9041 text is not of theLockingInset()->getLockingInset().
9043 2002-07-25 Juergen Vigna <jug@sad.it>
9045 * lyxfind.C (LyXReplace): don't replace if we don't get the
9048 * undo_funcs.C (createUndo): remove debugging code.
9050 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9052 * buffer.C (parseSingleLyXformat2Token): Use default placement
9053 when reading old floats.
9055 * FloatList.C (FloatList): Change the default placement of figure
9056 and tables to "tbp".
9058 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9060 * MenuBackend.C: using std::max
9062 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9064 * MenuBackend.C (expandToc):
9065 (expandToc2): code moved from xforms menu frontend. It is now
9066 generic and TOCs are transparent to menu frontends.
9068 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * toc.C (getTocList): protect against buf=0
9072 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9073 Menu as first parameter. Now, this calls itself recursively to
9074 expand a whole tree (this will be useful for TOC handling)
9075 (expandFloatInsert): remove 'wide' version of floats
9077 * MenuBackend.h (submenuname): returns the name of the submenu.
9078 (submenu): returns the submenu itself, provided it has been
9079 created by MenuBackend::expand
9081 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9083 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9084 insets which have noFontChange == true. (bug #172)
9086 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9088 * BufferView_pimpl.C: add connection objects and use them...
9091 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9093 * MenuBackend.C (expandLastfiles):
9096 (expandFloatListInsert):
9097 (expandFloatInsert):
9098 (expand): split expand in parts
9100 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9102 * lyx_gui.C: use lyx_gui::exit()
9104 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9106 * LyXAction.C: show the failing pseudo action
9108 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9110 * buffer.C (readFile): Run the lyxconvert script in order to read
9113 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9117 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9119 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9123 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9125 2002-07-22 Herbert Voss <voss@lyx.org>
9128 * lyxlength.[Ch]: add support for the vertical lengths
9130 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9132 * toc.[Ch]: std:: fixes
9134 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9136 * lyxrc.C: do not include lyx_main.h
9138 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9144 * BufferView2.C: include "lyxlex.h"
9147 * bufferparams.h: do not #include "lyxlex.h"
9149 * lyxtextclasslist.C (Add): remove method
9150 (classlist): renamed to classlist_
9152 * paragraph_pimpl.C:
9156 * bufferview_funcs.C:
9161 * toc.C (getTocList): use BufferParams::getLyXTextClass
9163 * toc.C (getTocList): use InsetFloat::addToToc
9165 * toc.[Ch]: new files, containing helper functions to handle table
9168 * lyxfunc.C (dispatch): no need to remove spaces around command
9170 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9171 first command of the sequence; it is not very clever, but I do not
9172 have a better idea, actually
9174 * LyXAction.C (LookupFunc): make sure to remove space at the
9175 beginning and end of the command
9177 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9179 * MenuBackend.C (getMenubar): new method: return the menubar of
9181 (read): treat differently reading of menu and menubar (in
9182 particular, the menubar has no name now)
9183 (Menu::menubar): remove
9185 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9188 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9190 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9191 a bibitem inset in a RTL paragraph.
9193 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9195 * paragraph_pimpl.C: constify
9197 * BufferView_pimpl.C:
9199 * lyxfunc.C: fix dispatch in a nicer way
9201 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9203 * lyxfunc.C (dispatch):
9204 * BufferView_pimpl.C:
9205 * BufferView_pimpl.h:
9207 * BufferView.h: rename Dispatch() to dispatch()
9209 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9211 * lyxlayout.C (Read): honor DependsOn tag
9213 * lyxlayout.[Ch] (depends_on): new method
9215 * version.C.in: update lyx_docversion
9217 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9219 * paragraph.C (validate): remove from here...
9220 * paragraph_pimpl.C (validate): ... and move here
9221 (isTextAt): make it const
9223 * buffer.C (getLists): ws cleanup
9225 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9227 * language.C (read): Use iso8859-1 encoding in latex_lang
9228 (this prevents LyX from crashing when using iso10646-1 encoding).
9230 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * text2.C (toggleInset): if cursor is inside an inset, close the
9233 inset and leave cursor _after_ it
9235 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9237 * lyxfunc.C: move minibuffer completion handling out of here
9239 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9241 * BufferView_pimpl.C:
9242 * LaTeX.C: fix dispatch calls
9244 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9246 * text.C (drawChars): Fix Arabic text rendering.
9248 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9252 * lyxfunc.C: remove message-push/pop
9256 * lyxfunc.C: rationalise some code by removing verboseDispatch
9257 in favour of a bool argument to dispatch()
9259 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9261 * lyx_main.C (init): make sure to read symlinks as absolute paths
9263 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9266 * lyxfunc.C: no need for commandshortcut to be a member
9268 2002-07-15 André Pönitz <poenitz@gmx.net>
9270 * converter.C: add support for $$s (scripts from lib/scripts dir)
9271 * lyx_main.C: white space
9273 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9277 * lyxrc.C: remove second exit confirmation
9279 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9284 * BufferView_pimpl.h:
9285 * BufferView_pimpl.C:
9286 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9288 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9290 * MenuBackend.C (expand): add numeric shortcuts to document menu
9292 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9294 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * lyxfont.C (setLyXFamily):
9303 * buffer.C (asciiParagraph): use ascii_lowercase
9305 2002-07-15 Mike Fabian <mfabian@suse.de>
9307 * lyxlex_pimpl.C (search_kw):
9308 * lyxlex.C (getLongString):
9309 * converter.h (operator<):
9310 * converter.C (operator<):
9311 * buffer.C (parseSingleLyXformat2Token):
9313 * ToolbarDefaults.C (read):
9314 * MenuBackend.C (checkShortcuts):
9316 * LColor.C (getFromGUIName):
9317 (getFromLyXName): use the compare_ascii_no_case instead of
9318 compare_no_case, because in turkish, 'i' is not the lowercase
9319 version of 'I', and thus turkish locale breaks parsing of tags.
9321 2002-07-16 Angus Leeming <leeming@lyx.org>
9323 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9324 now takes a Buffer const & argument.
9326 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9328 * BufferView.C (resize): check there's a buffer to resize
9330 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9332 * lyxfunc.C: remove dead code
9335 * lyxserver.C: use lyx_guii::set_read_callback
9337 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9339 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9340 an inset in a RTL paragraph.
9342 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9344 * lyxfunc.C: repaint after a font size update
9346 2002-07-15 André Pönitz <poenitz@gmx.net>
9348 * lyxlength.C: inBP should be able to return negative values
9350 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9352 * lyxfunc.C: use lyx_gui::update_fonts()
9354 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9356 * lyxfunc.C: use lyx_gui::update_color()
9358 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9364 * lyxrc.C: remove file->new asks for name option, and let
9365 buffer-new take an argument
9367 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9369 * BufferView_pimpl.C: remove unneeded extra repaint()
9371 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9373 * LyXAction.C: allow command-sequence with NoBuffer
9375 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9377 2002-07-10 Angus Leeming <leeming@lyx.org>
9379 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9381 2002-07-09 Angus Leeming <leeming@lyx.org>
9383 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9385 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9387 * lengthcommon.h: whitespace
9389 * lyxfunc.C: update scrollbar after goto paragraph
9391 * lyxtext.h: factor out page break drawing, and fix it so
9392 page break/added space paints as selected nicely
9394 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9396 * BufferView_pimpl.C: add FIXMEs, clean up a little
9398 2002-07-09 André Pönitz <poenitz@gmx.net>
9400 * lyxfont.[Ch]: support for wasy symbols
9402 2002-07-08 André Pönitz <poenitz@gmx.net>
9404 * BufferView_pimpl.C: apply John's patch for #93.
9406 2002-07-05 Angus Leeming <leeming@lyx.org>
9408 * BufferView_pimpl.C (buffer): generate previews if desired.
9410 * LColor.h: add "preview" to the color enum.
9412 * LColor.C (LColor): add a corresponding entry to the items array.
9414 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9417 2002-07-05 Angus Leeming <leeming@lyx.org>
9419 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9420 The body of the code is now in the method that is passed an ostream &
9421 rather than a file name.
9422 Pass an additional only_preamble parameter, useful for the forthcoming
9425 2002-07-03 André Pönitz <poenitz@gmx.net>
9427 * lyxfunc.C: simplify getStatus() a bit for math stuff
9429 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9431 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9433 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9435 * text.C (changeRegionCase): do not change case of all the
9436 document when region ends at paragraph end (bug #461)
9438 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9440 * paragraph.C (startTeXParParams):
9441 (endTeXParParams): add \protect when necessary
9443 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9445 * BufferView_pimpl.C (workAreaExpose): remove warning
9447 2002-06-27 Angus Leeming <leeming@lyx.org>
9449 * Makefile.am: add lyxlayout_ptr_fwd.h.
9451 2002-06-26 André Pönitz <poenitz@gmx.net>
9453 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9455 2002-06-25 Angus Leeming <leeming@lyx.org>
9457 * lyxfunc.C (dispatch): Comment out the call to
9458 grfx::GCache::changeDisplay. The method no longer exists now that the
9459 pixmap generation part of the graphics loader has been moved into
9462 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9464 * text2.C: layout as layout
9466 * text.C: layout as layout
9468 * tabular.C (OldFormatRead): layout as layout
9470 * paragraph_pimpl.C (TeXDeeper): layout as layout
9471 (realizeFont): layout as layout
9473 * paragraph.C (writeFile): layout as layout
9474 (validate): layout as layout
9475 (getFont): layout as layout
9476 (getLabelFont): layout as layout
9477 (getLayoutFont): layout as layout
9478 (breakParagraph): layout as layout
9479 (stripLeadingSpaces): layout as layout
9480 (getEndLabel): layout as layout
9481 (getMaxDepthAfter): layout as layout
9482 (applyLayout): layout as layout
9483 (TeXOnePar): layout as layout
9484 (simpleTeXOnePar): layout as layout
9485 (TeXEnvironment): layout as layout
9486 (layout): layout as layout
9487 (layout): layout as layout
9489 * lyxtextclass.C (compare_name): new functor to work with
9490 shared_ptr, layout as layout
9491 (Read): layout as layout
9492 (hasLayout): layout as layout
9493 (operator): layout as layout
9494 (delete_layout): layout as layout
9495 (defaultLayout): layout as layout
9497 * lyxlayout_ptr_fwd.h: new file
9499 * lyxlayout.C (Read): layout as layout
9501 * lyx_cb.C (MenuInsertLabel): layout as layout
9503 * bufferlist.C (newFile): layout as layout
9505 * buffer.C (readLyXformat2): layout as layout
9506 (parseSingleLyXformat2Token): layout as layout
9507 (insertStringAsLines): layout as layout
9508 (asciiParagraph): layout as layout
9509 (latexParagraphs): layout as layout
9510 (makeLinuxDocFile): layout as layout
9511 (simpleLinuxDocOnePar): layout as layout
9512 (makeDocBookFile): layout as layout
9513 (simpleDocBookOnePar): layout as layout
9514 (getLists): layout as layout
9516 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9518 * CutAndPaste.C (cutSelection): layout as layout
9519 (pasteSelection): layout as layout
9520 (SwitchLayoutsBetweenClasses): layout as layout
9522 * BufferView_pimpl.C (Dispatch): layout as layout
9523 (smartQuote): layout as layout
9525 * BufferView2.C (unlockInset): layout as layout
9527 2002-06-24 André Pönitz <poenitz@gmx.net>
9529 * lyxfunc.C: fix #487
9531 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9535 * lyxfunc.C: remove display_shortcuts, show_banner
9537 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9539 * Buffer_pimpl.C: oops, update on resize
9541 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9548 * BufferView.C: use repaint()
9550 * BufferView_pimpl.h:
9551 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9552 as it's a clearer description. Remove superfluous
9555 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9557 * text.C: fix bug 488. Not ideal, but getting
9558 getWord() to work properly for the insets that
9559 matter is more difficult ...
9561 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9563 * BufferView_pimpl.C:
9566 * lyxfunc.C: remove the six million index lyxfuncs to just
9567 one, and DTRT (bug 458)
9569 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9573 * BufferView_pimpl.h:
9574 * BufferView_pimpl.C: clean up resize() stuff,
9575 and unnecessary updateScreen()s
9577 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9581 * BufferView_pimpl.h:
9582 * BufferView_pimpl.C:
9585 * minibuffer.C: remove focus management of workarea,
9586 not needed. Use screen's greyOut()
9588 2002-06-17 Herbert Voss <voss@lyx.org>
9590 * converter.C: (convert) do not post a message, when converting
9591 fails, let the calling function decide what to do in this case
9593 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9595 * lyxfunc.C: tidy up a little
9597 2002-06-16 <alstrup@diku.dk>
9599 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9600 Got rid of FORMS_H_LOCATION include. Now we are
9603 2002-06-15 LyX Development team <lyx@rilke>
9605 * buffer.[Ch] (sgmlOpenTag):
9606 (sgmlCloseTag): Added support for avoiding pernicious mixed
9607 content. Return number of lines written.
9610 (makeDocBookFile): Fixed calls to sgml*Tag.
9611 Simple white space clean.
9613 (simpleDocBookOnePar): Simple white space clean.
9615 * tabular.[Ch] (docBook): Renamed to docbook and got another
9616 argument to related with the pernicious mixed content.
9618 (docbookRow): Fixed calls for docbook inset method.
9620 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9622 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9623 so it's X11 independent.
9627 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9629 2002-06-15 Lyx Development team <lyx@electronia>
9631 * intl.h: Renamed getTrans to getTransManager.
9633 2002-06-14 Angus Leeming <leeming@lyx.org>
9635 * Makefile.am: nuke forgotten stl_string_fwd.h.
9637 2002-06-12 Angus Leeming <leeming@lyx.org>
9639 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9641 2002-06-13 Angus Leeming <leeming@lyx.org>
9644 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9646 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9648 * kbmap.C (getiso): add support for cyrillic and greek
9650 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9654 * BufferView_pimpl.h:
9655 * BufferView_pimpl.C: move bogus scrolling logic
9658 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9661 * BufferView_pimpl.C: view->resize() change
9663 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9665 * BufferView_pimpl.C: topCursorVisible
9668 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9672 * lyx_gui.C: move to frontends/
9676 * lyx_main.C: changes from above
9678 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9685 * lyx_main.C: minor tidy
9687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9689 * BufferView_pimpl.h:
9690 * BufferView_pimpl.C:
9692 * BufferView.C: make painter() const,
9695 * BufferView2.C: use screen() accessor
9698 * lyx_main.C: some minor cleanup
9700 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9702 * BufferView_pimpl.h:
9703 * BufferView_pimpl.C: remove enter/leaveView,
9706 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9711 * BufferView_pimpl.h:
9712 * BufferView_pimpl.C: only construct screen once,
9715 * lyxrc.C: remove pointless comment
9717 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9720 * BufferView.C: remove active() and belowMouse()
9722 * BufferView_pimpl.h:
9723 * BufferView_pimpl.C: use workarea() not workarea_,
9724 and make it use a scoped_ptr instead
9726 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9728 * lyx_gui.C: add debug message on BadWindow
9730 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9732 * sp_spell.C: fdopen is not part of the C++ standard.
9734 * paragraph.C (InsetIterator): use >= instead of ==
9736 2002-06-07 Angus Leeming <leeming@lyx.org>
9738 Fixes needed to compile with Compaq cxx 6.5.
9739 * BufferView_pimpl.C:
9746 * lyxtextclasslist.C:
9751 all c-library variables have been moved into namespace std. Wrap
9752 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9757 Add a using std::abs declaration.
9759 * kbmap.h (modifier_pair):
9760 * paragraph.h (InsetTable, InsetList):
9761 * lyxfont.h (FontBits):
9762 type definition made public.
9764 * bufferlist.C (emergencyWriteAll): the compiler complains that
9765 there is more than one possible lyx::class_fun template to choose from.
9766 I re-named the void specialisation as lyx::void_class_fun.
9768 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9770 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9771 the compiler is is unable to find tostr in write_attribute.
9773 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * buffer.C (sgmlError): hide #warning
9777 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9779 * xtl/*: get rid of xtl, which is not in use anyway
9781 * LyXAction.C (init):
9782 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9783 were unimplemented xtl experimentation
9785 2002-06-04 André Pönitz <poenitz@gmx.net>
9787 * lyxfunc.C: disable array operation on simple formulae
9789 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9791 * converter.C: constify a bit
9793 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9795 * lyx_gui.C: check xforms version correctly
9797 2002-04-30 Herbert Voss <voss@lyx.org>
9799 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9802 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9804 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9805 attempt to register it with a VCS)
9807 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * lyx_main.C (init): honor variables LYX_DIR_13x and
9812 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9816 * lyx_main.C: fix a crash on bad command line,
9817 and give a useful exit status on error
9819 * lyxfunc.C (doImport): allow -i lyx to work
9821 2002-03-30 André Pönitz <poenitz@gmx.net>
9823 * lyxfunc.C: mathed font changes
9825 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9840 * trans_mgr.h: srcdocs, and some minor cleanups
9842 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9844 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9845 call getFont all the time)
9847 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9849 * switch from SigC signals to boost::signals
9851 2002-05-29 André Pönitz <poenitz@gmx.net>
9853 * paragraph_pimpl.C (getChar): don't call size() too often...
9855 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9857 * paragraph_pimpl.C (insertChar): do not try to update tables when
9858 appending (pos == size())
9860 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9861 in order to reduce drastically the number of comparisons needed to
9862 parse a large document
9864 2002-05-29 André Pönitz <poenitz@gmx.net>
9870 * textclasslist.[Ch]:
9871 * sp_ispell.h: whitespace change
9873 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9875 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9876 lyxaction directly now.
9878 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9882 * lyxvc.C: remove unused headers
9884 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9891 * undo_funcs.C: some cleanups. Use shared_ptr
9892 and a template for the undo stacks.
9894 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9896 * BufferView_pimpl.h:
9897 * BufferView_pimpl.C:
9904 * text2.C: use key_state/mouse_state
9906 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9908 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9911 * chset.C: change include order
9912 (loadFile): use boost regex and get rid of LRegex and LSubstring
9914 * Makefile.am (BOOST_LIBS): new variable
9917 * LaTeX.C: change include order.
9918 (scanAuxFile): use boost regex and get rid of LRegex and
9922 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9927 * FontInfo.C: moved to frontends/xforms/
9930 * FontLoader.C: moved into frontends for GUIIzation
9935 * lyxfunc.C: changes from above
9937 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9939 * LColor.C: remove spurious X include
9941 * BufferView_pimpl.C:
9946 * text2.C: move font metrics to frontends/
9948 2002-05-24 Juergen Vigna <jug@sad.it>
9950 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9951 setting the undo_cursor.
9953 * ParagraphParameters.h: include local includes first.
9955 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9957 * BufferView_pimpl.C:
9958 * BufferView_pimpl.h:
9962 * screen.C: move WorkArea into frontends/
9968 * BufferView2.C: move LyXScreen into frontends/
9972 * lyx_gui.C: move lyxlookup into frontends/xforms/
9974 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9977 * BufferView_pimpl.C:
9987 * bufferview_funcs.C:
10000 * vc-backend.C: move LyX/XFormsView into frontends/
10002 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10014 * text2.C: move Painter to frontends/
10016 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10018 * buffer.C: comment out some some code that depend upon lyx_format
10021 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10022 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10024 * buffer.h (NO_COMPABILITY): turn off compability
10026 * ColorHandler.C: include scoped_array.hpp
10028 * font.C: Use more specific smart_ptr header.
10031 * ShareContainer.h: ditto
10032 * lyx_main.h: ditto
10034 * FontInfo.h: ditto
10035 * BufferView_pimpl.h: ditto
10036 * ColorHandler.h: ditto
10038 * kbmap.C (defkey): change call to shared_ptr::reset
10040 2002-05-21 Juergen Vigna <jug@sad.it>
10042 * buffer.C (insertErtContents): fix to insert ert asis if it is
10043 non empty. Skip it completely if it contains only whitespaces.
10045 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10047 * BufferView_pimpl.C:
10048 * BufferView2.C: clear selection on paste (bug 393)
10050 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10052 * DepTable.C: include ctime
10054 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10056 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10058 2002-05-14 Juergen Vigna <jug@sad.it>
10060 * text.C (breakParagraph): fixed function to honor the keepempty
10061 layout in the right maner and also to permit the right breaking
10062 algorithm on empty or non empyt keepempty paragraphs.
10064 * paragraph.C (breakParagraph): we have to check also if the par
10065 is really empty (!size()) for isempty otherwise we do the wrong
10068 2002-05-10 Juergen Vigna <jug@sad.it>
10070 * buffer.[Ch] : The following are only changes to the ert
10071 compatibility read reading old LaTeX layout and font stuff and
10072 convert it to ERTInsets.
10074 * buffer.h: added isErtInset().
10076 * buffer.C (struct ErtComp): add a fromlayout bool to check
10077 if we're inside a LaTeX layout.
10078 (isErtInset): new helper function.
10079 (insertErtContents): look for other ert insets before this one
10080 and insert the contents there, so that we don't have subsequent
10081 ERT insets with nothing between them. This way we create only one
10082 inset with multiple paragraphs. Also check if we don't insert only
10083 spaces ' ' as they are ignored anyway afterwards in the .tex file
10084 so if we have only spaces we will ignore this latex part in the
10086 (parseSingleLyXformat2Token \\layout): better compatibility when
10087 reading layout-latex stuff.
10088 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10090 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10091 stuff after reading the inset only get the information back from
10094 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10096 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10098 * LaTeXFeatures.C (getBabelOptions): New method.
10100 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10102 * BufferView_pimpl.C (Dispatch): work around missing argument for
10105 2002-05-08 Juergen Vigna <jug@sad.it>
10107 * text.C (leftMargin): handle paragraph leftindent.
10109 * paragraph.C (writeFile): write the new \\leftindent tag.
10110 (validate): handle leftindent code.
10111 (TeXEnvironment): handle paragraphleftindent code again.
10113 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10115 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10116 for paragrap_extra indent code and new token \\leftindent.
10117 (latexParagraphs): handle the leftindent as environment.
10119 * ParameterStruct.h: added leftindent support.
10121 * ParagraphParameters.C (leftIndent): added support functions for
10122 the paragraph left indent.
10124 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10127 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10129 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10132 * text.C (computeBidiTables): No bidi in insetERT.
10134 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10137 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10139 * version.C.in: pre 5
10141 2002-05-02 José Matos <jamatos@fep.up.pt>
10142 * buffer.C (makeDocBookFile): white space changes, add newline to
10144 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10146 * tabular.C (docBook): fix typo.
10148 2002-05-03 Juergen Vigna <jug@sad.it>
10150 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10151 change in LyXText as we can not be sure it was not freed.
10152 (drawOneRow): remove unused code.
10154 * text.C (drawInset): redo the calculation of the need_break_row as
10155 it could have a row which was already freed.
10156 (draw): look at the return value of drawInset and return false if
10157 it also returned false.
10158 (paintRowText): look at the return value of draw and return false if
10159 it also returned false.
10161 * lyxtext.h: added bool return type to drawInset() and draw() so that
10162 if we have a change in the row so that the rowbreak has to be redone
10163 we abort drawing as it will be called again.
10165 2002-05-02 Juergen Vigna <jug@sad.it>
10167 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10168 a change in the maintext also if we're inside an inset.
10169 (Dispatch): set the cursor again after a break line and after the
10170 screen has been updated as it could be we're in a different row.
10172 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10173 to set the cursor behind the pargraph with > size().
10174 (setCursor): check also for the same paragraph when checking where
10175 to put the cursor if we have a NFR inset.
10177 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10178 parts of layout read further up as it still was in the wrong
10181 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10183 * screen.C (drawFromTo): change sine fullRebreak always return
10186 * buffer.C (parseSingleLyXformat2Token): reindent some
10188 * BufferView_pimpl.C (update): change since fullRebreak always
10190 (Dispatch): git rid of the last hardcoded "Standard"s.
10192 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10194 * text2.[Ch] (fullRebreak): make it return void now that we always
10197 2002-04-30 Juergen Vigna <jug@sad.it>
10199 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10200 ert compatibility check for "latex" layout.
10202 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10204 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10205 minipages: use col% instead of p%, and also use the current font.
10206 (makeLaTeXFile): Fix use babel condition.
10207 (parseSingleLyXformat2Token): Correct font when reading old floats.
10209 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10211 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10212 inserting list of floats.
10214 2002-04-25 Herbert Voss <voss@lyx.org>
10216 * MenuBackend.C (expand): don't add the graphics extensions to the
10219 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10221 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10222 non-existing layout, do not complain if it was the default layout
10223 of the original class (bug #342)
10225 2002-04-24 Juergen Vigna <jug@sad.it>
10227 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10228 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10230 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10232 * buffer.C (getBibkeyList): If using \bibliography, return the
10233 option field with the reference itself. Enables us to provide natbib
10234 support when using \bibliography.
10236 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10238 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10240 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10241 natbib is provided by the LaTeX class.
10243 2002-04-23 Juergen Vigna <jug@sad.it>
10245 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10248 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10250 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10252 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10254 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10255 ensuremath around textordmasculine, textordfeminine and
10258 2002-04-19 Juergen Vigna <jug@sad.it>
10260 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10261 reinitializing the buffer otherwise row-dimensions may be wrong.
10262 (update): reset also the selection cursors if they do exits otherwise
10263 their x/y positions may be wrong.
10265 * text2.C (cursorDown): don't enter the inset if we came from a row
10266 above and are one row over the inset.
10268 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10269 really leaving an inset.
10271 2002-04-18 Juergen Vigna <jug@sad.it>
10273 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10274 of the selected paragraph does not have the selected layout also if
10277 * text2.C (setLayout): fixed bug which did not change last selected
10280 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10281 changed the read and substituted \\end_float with \\end_inset!
10283 * BufferView_pimpl.C (cursorPrevious):
10284 (cursorNext): fixed to make it work with rows heigher than the work
10285 area without moving the cursor only the draw of the row.
10286 (workAreaMotionNotify): fix jumping over high rows.
10288 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10290 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10293 2002-04-16 Juergen Vigna <jug@sad.it>
10295 * text2.C (setCursor): set also the irow().
10296 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10298 (cursorDown): support for locking an inset if the x_fix value goes
10299 inside it. That way I can transverse insets too with cursor up/down.
10301 * lyxrow.h: added irow helper function same as other (i) functions.
10303 * BufferView_pimpl.C (cursorPrevious):
10304 (cursorNext): fixed for insets!
10306 2002-04-15 Juergen Vigna <jug@sad.it>
10308 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10309 position otherwise it is wrong in some cases.
10311 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10312 inside the inset before the call.
10314 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10316 * buffer.[Ch] (getBibkeyList): make it const.
10318 2002-04-12 Juergen Vigna <jug@sad.it>
10320 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10322 * text2.C (getCursorX): new helper function
10323 (setCursor): compute also ix_
10324 (setCursorFromCoordinates): set also ix.
10326 * lyxcursor.h: added ix_ and helper functions.
10328 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10330 * buffer.C (insertStringAsLines): dont break paragraph if the this
10331 paragraph is inside an inset which does not permit it!
10333 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10334 also with no chars on this paragraph.
10335 (paintRowText): only paint stuff if it's inside the workarea!
10337 * paragraph.C (breakParagraph): honor keepempty flag and break the
10338 paragraph always below not above.
10340 * BufferView2.C (unlockInset): update the paragraph layout on inset
10341 unlock as we changed paragraph in such a case.
10343 * lyxfind.C (LyXFind): clear the former selection if not found!
10345 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10346 again called in insertChar().
10348 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10349 an inset which uses the whole row!
10350 (rightMargin): ditto.
10351 (insertChar): force a rebreak if we inserted an inset!
10353 2002-03-28 Herbert Voss <voss@lyx.org>
10355 * lyxlength.[Ch]: add inBP() to get the right PS-point
10356 units (BigPoint). With inPixels we have rounding errors
10358 2002-04-11 Juergen Vigna <jug@sad.it>
10360 * text2.C (setCursorFromCoordinates): set iy to the right value.
10361 (setCursor): add check if row->previous exists!
10363 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10364 an old float_type as this was the case in the old code!
10366 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10368 * BufferView2.C (showLockedInsetCursor): use iy
10369 (fitLockedInsetCursor): ditto
10371 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10372 locked insets as there we have the right value now.
10374 * lyxcursor.C: added iy_ variable and iy functions to set to the
10375 baseline of cursor-y of the locked inset.
10377 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10378 (setCursor): fixed for insets which need a full row.
10380 * text.C (rowLastPrintable): don't ignore the last space when before
10381 an inset which needs a full row.
10382 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10383 as last character of a row when before a inset which needs a full row.
10385 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10387 * version.C.in: update date
10389 * text2.C (fullRebreak): try to always return true and see what
10392 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10394 * MenuBackend.C (expand): use Floating::listName
10396 * FloatList.C (FloatList): add listName argument to the built-in
10399 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10400 text associated with the float.
10402 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10404 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10406 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10408 * ShareContainer.h: add a couple of missing typenames.
10410 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10412 * lyxrc.C (getDescription): use _() correctly rather than N_().
10414 2002-03-28 Herbert Voss <voss@lyx.org>
10416 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10417 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10419 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10421 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10422 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10424 2002-03-29 Juergen Vigna <jug@sad.it>
10426 * lyxfunc.C (dispatch): add a missing fitCursor call.
10428 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10429 it was scrolled by a cursor move, so return the bool status.
10431 * BufferView.C (fitCursor): return the bool flag also to the outside
10432 world as this is needed.
10434 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10436 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10437 call the edit() as it is not needed (and wrong) IMO.
10438 (workAreaButtonPress): set the screen_first variable before evt.
10439 unlock the inset as this may change screen_first and then we have
10440 a wrong y position for the click!
10442 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * MenuBackend.C (expand): another translation that I missed
10446 2002-03-28 Juergen Vigna <jug@sad.it>
10448 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10450 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10452 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10454 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10456 * MenuBackend.C (expand): fix export/view/update when there is no
10459 2002-03-27 Herbert Voss <voss@lyx.org>
10461 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10464 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10466 * bufferview_funcs.C (currentState): only show paragraph number
10467 for is DEVEL_VERSION is set.
10469 * lyxfunc.C (dispatch): put warning in INFO channel
10471 * MenuBackend.C (expand): translate the name of floats
10473 * FloatList.C (FloatList): mark the float names for translation
10475 * converter.C (convert): use LibScriptSearch
10477 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10479 * MenuBackend.C (defaults): fix default menu (we might as well get
10482 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10484 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10487 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10489 * lyxvc.C: reorder includes.
10491 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10493 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10496 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10498 * CutAndPaste.C: change layouts earlier on paste
10499 to avoid crashing when calling getFont()
10501 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10503 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10506 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10508 * WorkArea.C: remove 'Pending' debug message.
10510 * most files: ws cleanup
10512 * buffer.[Ch]: ws changes
10514 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10516 2002-03-21 Juergen Vigna <jug@sad.it>
10518 * tabular.C (SetMultiColumn): collapse also the contents of the
10519 cells and set the last border right. Added a Buffer const * param.
10521 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10523 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10526 2002-03-19 Juergen Vigna <jug@sad.it>
10528 * text2.C (clearSelection): reset also xsel_cache.
10530 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10531 where it needs to be called (John tells us to do so too :)
10532 (selectionLost): reset sel_cache.
10534 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10536 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10538 * text2.C (setCursorIntern): put debuging code in INSETS channel
10540 2002-03-19 André Pönitz <poenitz@gmx.net>
10542 * lyxfunc.C: tiny whitespace change
10544 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10546 * ToolbarDefaults.C (init):
10547 * LyXAction.C (init):
10549 * BufferView_pimpl.C (Dispatch):
10550 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10552 2002-03-19 Allan Rae <rae@lyx.org>
10554 * exporter.C (Export): removeAutoInsets before doing anything else.
10555 While I've just introduced a dependency on BufferView this really is
10556 the best place to clean the buffer otherwise you need to cleanup in
10557 a dozen places before calling export or cleanup in a dozen functions
10560 * converter.C (runLaTeX):
10561 (scanLog): Better handling of removeAutoInsets and screen updates.
10563 * lyxfunc.C (dispatch): small whitespace changes
10565 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10567 * WorkArea.C (C_WorkAreaEvent): return a value.
10568 (event_cb): return 1 if we handled the event, 0 otherwise.
10570 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10572 2002-03-18 Juergen Vigna <jug@sad.it>
10574 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10575 (GetAdditionalWidth): ditto.
10576 (RightLine): ditto.
10579 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10580 inset if we're there actually (probably not used right now but this
10581 is the direction to go for unifying code).
10582 (paste): disable code to clear the selection.
10584 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10585 inside an InsetText and move the check further up as it is in the
10588 * text2.C (pasteSelection): set a selection over the pasted text.
10590 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10592 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10593 and libgraphics to build on Cygwin.
10595 2002-03-15 Juergen Vigna <jug@sad.it>
10597 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10598 inserting an Inset into the paragraph. I know this is not the best
10599 fix but we already use current_view in CutAndPaste so we will remove
10600 all of it's using at the same time.
10602 * buffer.C (sgmlError): deactivated function till it is rewritten in
10603 the right mode, now it can create problems.
10605 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10606 before accessing it.
10608 2002-03-14 Juergen Vigna <jug@sad.it>
10610 * undo_funcs.C (textHandleUndo): do the right thing when updating
10611 the inset after the undo/redo.
10613 * text2.C (setCursor): just some testcode for #44 not ready yet.
10615 * undo_funcs.C (textHandleUndo): set the next() and previous()
10616 pointers of the paragraph to 0 before deleting otherwise we have
10617 problems with the Paragraph::[destructor].
10619 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10620 on a paragraph insertion.
10622 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10624 * buffer.C (asciiParagraph): use += operator for char append to
10627 * paragraph.C (getFontSettings): compare >= not just >
10628 (highestFontInRange): ditto
10631 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10633 * paragraph.C: change several algorithm to be more appripriate for
10634 the problem domain. This is lookip in FontList and in the InsetList.
10636 2002-03-13 André Pönitz <poenitz@gmx.net>
10639 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10641 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10646 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10648 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10650 * Painter.C (display): anon helper function, adjust code for this
10652 (pixmap): remove function.
10654 * Painter.h: remove private display variable.
10656 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10658 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10660 * WorkArea.[Ch]: remove figinset_canvas cruft.
10662 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10664 * lyxtextclass.C (operator): add one item cache optimization.
10666 * bufferlist.h: doxy changes
10668 * bufferlist.C: ws changes
10670 * DepTable.[Ch] (ext_exist): place const in the right spot.
10672 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10674 (workAreaExpose): call resizeInsets when the with BufferView changes.
10675 (Dispatch): adjust for protectedBlank removal
10676 (specialChar): call updateInset if the insert went ok.
10678 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10679 specialChar instead.
10681 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10683 * BufferView.h: doxy change
10685 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10687 * lyxtextclass.C (operator[]): remove non-const version
10688 (defaultLayout): remove non-const version
10690 2002-03-12 Juergen Vigna <jug@sad.it>
10692 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10693 did resize the LyXText too.
10695 * buffer.C (readLyXformat2): set layout information on newly allocated
10698 * tabular.C (OldFormatRead): set layout information on the paragraph.
10700 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10702 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10704 2002-03-11 Juergen Vigna <jug@sad.it>
10706 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10708 (resizeCurrentBuffer): force also the insets to resize themselfes.
10709 (moveCursorUpdate): fixed up for InsetText.
10711 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10714 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10715 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10716 value of Dialogs::tooltipsEnabled().
10717 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10719 2002-03-08 Juergen Vigna <jug@sad.it>
10721 * BufferView_pimpl.C (updateInset): update inset inside inset also
10722 if it isn't inside theLockingInset().
10724 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10726 * buffer.C (asciiParagraph): redo some of the word and line length
10728 (getLists): look for Caption instead of caption.
10730 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10732 * buffer.C (Buffer): initialize niceFile to true
10734 (makeLinuxDocFile):
10735 (makeDocBookFile): make sure niceFile is true on exit
10737 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10739 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10741 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10743 * LyXSendto.C: remove.
10744 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10745 * lyx_gui.C: remove now-redundant comment.
10746 * ColorHandler.h: remove forward declaration of class WorkArea.
10747 * lyxfunc.C: remove #include "WorkArea.h".
10749 2002-03-07 Juergen Vigna <jug@sad.it>
10751 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10752 got moved away with the DEPM and also set the inset_owner always
10753 right which before could have been omitted.
10755 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10757 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10758 wanted layout is not found.
10760 2002-03-07 Juergen Vigna <jug@sad.it>
10762 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10764 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * paragraph.C (breakParagraph): use default layout not layout of
10768 (Paragraph): clear ParagraphParameters.
10770 2002-03-06 Juergen Vigna <jug@sad.it>
10772 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10773 otherwise it would not be a valid lenght. Fixed a special case in
10774 the minipage compatibility read where we end the document with a
10777 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10778 was set as it could be 0 for InsetTexts first entry.
10780 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10782 * paragraph.C (writeFile): if layout is empty write out
10783 defaultLayoutName().
10785 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10786 file without named layout we set layout to defaultLayoutName().
10788 2002-03-06 Juergen Vigna <jug@sad.it>
10790 * CutAndPaste.C (copySelection): set layout for new paragraph.
10792 * text.C (prepareToPrint): leave ERT inset left aligned
10793 (leftMargin): don't indent paragraphs inside ERT insets
10795 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * paragraph.C (breakParagraph): dont call clear do the work manually
10799 * paragraph.[Ch] (clear): remove function
10801 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10803 * paragraph.C (Paragraph): dont call clear, the work has already
10806 * lyxtextclass.C (operator): assert if n is empty
10808 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10809 work manually instead.
10811 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10813 * BufferView_pimpl.C: protect selectionLost against text == 0
10815 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10817 * text.C (breakParagraph): fix a setting layout to '0' problem.
10819 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10821 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10822 final location of file, for the included files, and graphics.
10824 2002-03-05 Juergen Vigna <jug@sad.it>
10826 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10828 2002-03-04 Juergen Vigna <jug@sad.it>
10830 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10832 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10833 last column of multicolumn cells.
10834 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10836 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10838 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10839 file if it doesn't go to a temporary file.
10841 * buffer.C (sgmlOpenTag):
10842 (sgmlCloseTag): remove extra newline insertion.
10844 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10846 * text.C (getRowNearY): comment out debug msg
10848 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10850 * text2.C: first -> first_y
10852 * text.C (getRowNearY): add some attemts at a possible
10853 optimization, not working.
10855 * tabular.[Ch]: add BufferParams to several function so that newly
10856 created paragraph can be initialized to he default layotu for the
10859 * tabular-old.C (ReadOld): add buf->params to call of Init
10861 * screen.C: rename text->first to text->first_y
10863 * paragraph.C (breakParagraph): always set layout in the broken
10866 * lyxtextclass.C (Read): remove lowercase
10869 (delete_layout): ditto
10871 * lyxtext.h: rename first -> first_y
10873 * lyxlayout.C (Read): remove lowercase
10876 (obsoleted_by): ditto
10878 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10880 * buffer.C (insertErtContents): add params are to InsetERT
10881 (parseSingleLyXformat2Token): add code to check if a paragraphs
10882 layout really exist.
10883 (parseSingleLyXformat2Token): add params to several inset
10885 (asciiParagraph): remove lowercase, do the layout comparisons with
10888 * BufferView_pimpl.C (cursorNext): first -> first_y
10889 (resizeCurrentBuffer): first -> first_y
10890 (updateScrollbar): first -> first_y
10891 (scrollCB): first -> first_y
10892 (workAreaMotionNotify): first -> first_y
10893 (workAreaButtonPress): first -> first_y
10894 (checkInsetHit): first -> first_y
10895 (cursorPrevious): first -> first_y
10896 (cursorNext): first -> first_y
10897 (Dispatch): add buffer_->params to severl inset contructors
10899 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10901 * lyxlayout.C (Read): remove some debug info that I forgot.
10903 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10904 clean up the code slightly.
10905 (makeLinuxDocFile): ditto
10906 (makeDocBookFile): ditto
10908 * text2.C: layout as string
10910 * text.C: layout as string
10912 * paragraph_pimpl.C: layout as string
10914 * paragraph.[Ch]: layout as string
10916 * lyxtextclasslist.[Ch]: layout as string
10918 * lyxtextclass.[Ch]: layout as string
10920 * lyxtext.h: layout as string
10922 * lyxlayout.[Ch]: layout as string
10924 * lyx_cb.C: layout as string
10926 * bufferview_funcs.C: layout as string
10928 * bufferparams.C: layout as string
10930 * buffer.C: layout as string
10932 * LyXView.[Ch]: layout as string
10934 * LaTeXFeatures.[Ch]: layout as string
10936 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10938 * BufferView_pimpl.C: change current_layout to string, remove
10943 (workAreaButtonRelease): layout as string
10945 * BufferView2.C (unlockInset): adjust
10947 * vspace.C (asLatexCommand): use an explict temp variable.
10949 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10951 * Makefile.am: use FRONTEND_*
10953 2002-03-01 Juergen Vigna <jug@sad.it>
10955 * tabular.C (SetWidthOfMulticolCell): changed to something better
10956 I hope but still work in progress.
10957 (recalculateMulticolumnsOfColumn): renamed function from
10958 recalculateMulticolCells as it is more appropriate now.
10959 (SetWidthOfCell): calculate multicols better.
10961 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10963 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10965 * lyxfunc.C (processKeySym): print sequence also if it is
10966 `deleted' (complete)
10968 * kbsequence.C (print): print sequence even if it is deleted
10969 (complete would be a better word, actually).
10971 * lyxfunc.C (dispatch): print complete options after a prefix key
10973 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10975 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10977 * text2.C (setCharFont): eliminate setCharFont code duplication.
10979 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10982 LFUN_TABULAR_FEATURE (bug #177)
10984 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10986 * Makefile.am: remove figure.h
10988 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10990 * Bufferview_pimpl.C:
11002 * text2.C: remove #include "lyx_gui_misc.h".
11004 * LaTeX.C: added #include <cstdio>
11006 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11008 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11009 that the paragraph following this one can have.
11011 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11013 * vspace.C (asLatexCommand): fix bogus gcc warning
11015 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11017 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11019 * text2.C (setLayout): get rid of redundant code
11021 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11023 * text2.C (incDepth): make sure depth cannot be increased beyond
11026 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11028 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11029 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11031 * PainterBase.h (image):
11032 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11033 a LyXImage const *.
11035 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11039 * BufferView_pimpl.C:
11040 * BufferView_pimpl.h:
11060 * sp_spell.C: remove fig inset, and the crap house of
11061 cards that follows it
11063 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11068 * os2_errortable.h:
11069 * nt_defines.h: move .h into support/
11071 * vms_defines.h: remove
11073 * WorkArea.C: add space in debug output
11077 * buffer.C: add WITH_WARNINGS
11081 * bufferlist.C: s/retrive/retrieve/, add docs
11090 * chset.C: add docs
11092 * lyxgui.C: add ID to X error handler
11094 * lyxtestclass.c: fix typo
11096 2002-02-26 Juergen Vigna <jug@sad.it>
11098 * tabular_funcs.C (write_attribute): changed so that some default
11099 attributes are not written at all.
11100 (getTokenValue): set default values before trying to read the
11101 value so we have the return value always set as default if we don't
11102 find the token we search for.
11104 * tabular.C (Write): write bools as bools not as strings!
11106 2002-02-22 Juergen Vigna <jug@sad.it>
11108 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11109 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11111 * text.C (leftMargin): don't add an indent for paragraphs inside
11112 tabular cells (fix #208).
11114 2002-02-21 José Matos <jamatos@fep.up.pt>
11116 * tabular.C (docBook): fixed support for long tables.
11118 2002-02-20 Juergen Vigna <jug@sad.it>
11120 * text2.C (getFont): get the drawing font of the Inset if this
11121 paragraph is inside an inset (only important for InsetERT for now).
11123 * buffer.C (insertErtContents): use new lanugage params in ERT
11126 * CutAndPaste.C: commenting out seemingly uneeded code.
11128 2002-02-19 Allan Rae <rae@lyx.org>
11130 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11131 Iterators might be simple to use but they also get invalidated.
11132 (removeAutoInsets): renamed saved cursor tracking variables and added
11133 some comments to clarify what everything does.
11135 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11142 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11143 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11146 * vc-backend.h: remove #include "support/syscall.h"
11150 * converter.C: rearrange #includes in Lars' approved fashion.
11152 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11153 forward declare class Timeout in the header file.
11155 * XFormsView.C: changes due to the above.
11157 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11158 similar to LyXView.
11160 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11161 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11163 2002-02-18 José Matos <jamatos@fep.up.pt>
11165 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11168 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11170 * a lot of small ws changes
11171 * add a lot of using std::XXX
11172 * use std construcs some places where approp.
11173 * use some exisint stuff from lyxfunctional where approp.
11174 * Make file changes to use partial linking (lets test this now...)
11176 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11180 remove #include "support/syscontr.h" as it's redundant. Always has been.
11188 change Systemcalls::System to Systemcalls::Wait and
11189 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11190 No change of functionality, just reflects the stripped down Systemcalls
11193 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11195 * debug.[Ch]: add a GRAPHICS type to the enum.
11197 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11199 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11201 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11204 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11206 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11207 match the changes below.
11209 * text2.C (toggleInset): if there is not editable inset at cursor
11210 position, try to see if cursor is _inside_ a collapsable inset
11213 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11215 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11216 document menu has a nice checkbox
11218 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11220 * lyxlength.C (asLatexString): change PW to output as percent of
11223 * lengthcommon.C: change '%' to 't%'
11225 * lyxfunc.C (dispatch): a few comments from Martin
11227 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11231 * BufferView_pimpl.h:
11232 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11235 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11237 * vspace.C (inPixels): fix compiler warning
11239 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11241 * lyxfunc.C (getStatus): fix status message for disabled commands.
11243 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11245 * BufferView_pimpl.C: fix crash on close buffer
11246 during selection (#227)
11248 2002-01-27 Herbert Voss <voss@lyx.org>
11250 * buffer.C: link old Figure to new graphic inset
11252 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11254 * FontLoader.C (getFontinfo): Change the latex font names in order
11255 to match the names of type1inst.
11257 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11259 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11261 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11262 (extchanged): ditto
11264 (remove_files_with_extension): ditto
11265 (remove_file): ditto
11268 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11269 document is smaller than the work area height. Do not initialize
11270 static variables to 0.
11272 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11274 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11276 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11277 LFUN_LAYOUT_PARAGRAPHS.
11279 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11280 tabular. It is possible to provide a possible cell, which will
11281 typically be the actcell from the corresponding insettabular
11283 * lyxfunc.C (getStatus): small cleanup; disable
11284 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11287 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11289 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11291 * paragraph.C (startTeXParParams):
11292 (endTeXParParams): new methods. The LaTeX code to
11293 start/end paragraph formatting
11294 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11295 empty (fixes bug #200)
11297 * vspace.C (inPixels): adapt to the change below
11298 (inPixels): [later] more cleanups (remove unused variables)
11300 * lyxlength.C (inPixels): change to use a width and a height as
11303 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11305 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11306 Replaced with \paperwidth
11308 * DepTable.C (insert): add std:: qualifier
11310 2002-01-18 Allan Rae <rae@lyx.org>
11312 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11315 * text.C (drawInset): Turned out I didn't know enough about how
11316 rebreaking worked. This fixes most of the redraw problems. I see
11317 an occasional cursor trail when a line is broken now and the cursor
11318 placement can seem out by a few pixels also after a rebreak.
11320 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11322 * buffer.C (parseSingleLyXformat2Token): update because minipage
11323 width is now a LyXLength
11325 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11327 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11330 2002-01-17 Juergen Vigna <jug@sad.it>
11332 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11334 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11335 is set correctly and the inset is updated correctly.
11337 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11339 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11340 the beginning of the loop.
11342 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11344 * lyxrc.C: improve help for use_scalable_fonts
11346 2002-01-17 Allan Rae <rae@lyx.org>
11348 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11350 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11352 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11353 make sure to set their inset_owner to the right value (bug #171)
11355 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11358 * DepTable.C: Implement mtime checking to reduce time spent doing
11361 2002-01-16 Juergen Vigna <jug@sad.it>
11363 * tabular.C (GetAdditionalHeight): one of error fixed.
11365 * lyxrc.C (output): small fix in writing use_pspell.
11367 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11369 * sp_base.h: #include LString.h
11371 2002-01-16 Allan Rae <rae@lyx.org>
11373 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11374 Can someone check this please?
11376 * text.C (drawInset): It was possible that p.row would be removed by
11377 breakAgainOneRow upsetting a few other settings. There may be another
11378 small tweak possible by setting need_break_row = 0 when p.row has been
11379 removed but I don't know enough about the logic here.
11381 2002-01-15 Allan Rae <rae@lyx.org>
11383 * text.C (insertChar): removed conditional truism.
11385 * BufferView2.C (removeAutoInsets): More tweaks.
11386 cur_par_prev could be a stray pointer. Check for trailing empty line
11387 in case last line was cur_par and only had an error inset on it.
11389 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11391 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11394 * vc-backend.C (most methods):
11395 * exporter.C (Export):
11396 * converter.C (convert):
11398 * LyXSendto.C (SendtoApplyCB):
11399 * lyxfunc.C (dispatch):
11403 * lyx_cb.C (AutoSave):
11405 * BufferView_pimpl.C (MenuInsertLyXFile):
11406 * buffer.C (runChktex): use Buffer::filePath().
11408 * buffer.h: rename filename to filename_; rename filepath to
11409 filepath_ and make it private
11410 (filePath): new method
11412 * buffer.C (writeFile): use fileName()
11415 * lyx_main.C (init): fix starting of LyX when the binary is a
11416 link from so,ewhere else.
11418 * minibuffer.C: include <cctype> for isprint
11420 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11422 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11423 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11424 name clash with InsetCollapsable's width function.
11426 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * lastfiles.C: include <iterator>
11430 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11432 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11435 * buffer.C (makeLaTeXFile): ditto.
11436 Also make loop operation more transparent.
11438 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11440 * ToolbarDefaults.C: remove trailing comma closing namespace.
11442 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11444 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11447 * trans.C (Load): comment out unused variable, allowed.
11449 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11451 * minibuffer.[Ch] (append_char): new method to recieve input from the
11452 drop-down completion browser. If a key was pressed, then recieve this
11453 char and append it to the existing string.
11454 (peek_event): modify the positioning data passed to the completion
11455 browser so that it can be placed above the minibuffer rather than below.
11456 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11458 * LyXAction.C (init): alloe error-next for readonly documents.
11460 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11463 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11465 * bufferlist.C (readFile): create the buffer _after_ checking that
11468 * lyxfunc.C (verboseDispatch): fix handling of arguments
11470 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11472 * lyxrc.C: use string::erase() instead of initializing to "".
11475 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11477 * BufferView_pimpl.h:
11478 * BufferView_pimpl.C:
11481 * text2.C: tell X when we have made a selection for copying
11483 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11485 * BufferView_pimpl.C (MenuInsertLyXFile):
11486 * lyxfunc.C (menuNew):
11488 (doImport): add shortcuts to directory buttons
11490 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11493 * lyxfunc.C (setStatusMessage):
11494 (getStatusMessage): new methods
11495 (getStatus):use setStatusMessage instead of setErrorMessage
11496 (dispatch): when function is disabled, set error message here
11497 [instead of in getStatus previously]
11499 * BufferView_pimpl.C (workAreaButtonRelease): update
11500 toolbar/menubar here too.
11502 2002-01-13 Allan Rae <rae@lyx.org>
11504 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11505 Now seems indestructible. Remaining task is to audit all other
11506 code affected by deleteEmptyParagraphMechanism. One small quirk
11507 left is that an empty document with an error in the preamble can
11508 be made to report an error but no error box appears. I don't know
11510 (removeAutoInsets): Improved comments.
11512 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11515 * Thesaurus.C: update for Aiksaurus 0.14
11517 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * text2.C (firstParagraph): removed member function, all uses
11520 replaces with ownerParagraph
11521 (redoParagraphs): here
11522 (updateInset): here
11523 (toggleAppendix): here
11524 * BufferView2.C (insertErrors): here
11525 (setCursorFromRow): here
11527 2002-01-13 Allan Rae <rae@lyx.org>
11529 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11530 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11531 There is still a way to segfault this although you may have to do this
11532 multiple times: Have an InsetERT with an unknown command in it.
11533 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11534 <down-arrow>, <Enter> again, View->DVI, BANG!
11536 * text2.C (setCursor):
11537 (deleteEmptyParagraphMechanism):
11538 * lyxtext.h (setCursor):
11539 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11540 Making use of the return value may help fix other bugs.
11542 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11544 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11546 * LyXView.C (updateMenubar): call MenuBar::update here
11547 (updateToolbar): but not here
11548 (showState): do not update toolbar/menubar
11550 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11551 should need to care about that.
11553 * lyxfunc.C (verboseDispatch): simplify a bit
11554 (getStatus): have a version which takes a pseudoaction, and
11555 another which requires a (kb_action,string).
11557 * LyXAction.C (retrieveActionArg): make it work also when action
11558 is not a pseudo-action.
11559 (getActionName): simplify a bit
11562 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11564 * lyxfunc.C (verboseDispatch): new families of methods with
11565 several ways to specify a command and a bool to indicate whether
11566 the command name and shortcut should be displayed in minibuffer
11567 (eventually, we could extend that to a finer bitmask like
11568 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11569 (dispatch): the pristine dispatch command which just, well,
11570 dispatchs! Note it still sets its result to minibuffer; I'm not
11573 * lyxfunc.h: remove setHintMessage
11575 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11577 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11579 * BufferView_pimpl.C (specialChar): delete new inset if we have
11580 not been able to insert it.
11582 * kbmap.C: revert to using int instead of kb_action, since all we
11583 are dealing with is pseudo-actions.
11585 * LyXAction.C (searchActionArg): change to return int instead of
11586 kb_action, since the result is a pseudoaction.
11588 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11590 * buffer.C (insertErtContents): Fix (partially) the font bug.
11592 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11594 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11595 as the other one is broken on my machine!
11597 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11600 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11602 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11604 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11605 reflect their actual use. Provide compatibility code for older lyxrc
11608 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11610 change names of popup font variables in line with the changes to lyxrc.C
11612 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11614 * buffer.C (asciiParagraph): avoid outputing a word twice after
11617 * lyxrc.C (getDescription): document that document_path and
11618 template_path can be empty.
11620 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11622 * LaTeXFeatures.C (getMacros):
11623 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11625 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11627 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11629 (getPackages): rename feature "floats" to "float". Use an array to
11630 iterate over 'simple' features (i.e. just a \usepackage). Add
11631 handling of "amsmath" (renamed from "amsstyle").
11633 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11635 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11638 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11640 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11641 FuncStaus::FuncStatus & FuncStaus::some_method().
11643 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11645 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11646 of the func_satus stuff. Edited and massaged in various ways by
11649 * lyxfunc.C (getStatus): use FuncStatus
11651 2002-01-08 Juergen Vigna <jug@sad.it>
11653 * text.C (nextBreakPoint): use function Inset::isChar().
11655 * paragraph.C (TeXOnePar): use function
11656 Inset::forceDefaultParagraphs.
11658 * buffer.C (latexParagraphs): use function
11659 Inset::forceDefaultParagraphs.
11661 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11663 * lyx_gui.C (init): set the style of the menu popups to
11664 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11666 2002-01-07 Juergen Vigna <jug@sad.it>
11668 * text.C (setHeightOfRow): small fix
11669 (prepareToPrint): don't look at alignment if we don't have the place
11672 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11674 * box.C: New file. Move the Box methods and functions out of box.h,
11675 following Lars' suggestion.
11677 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11679 * box.h: #include "support/LOstream.h", needed for inlined function.
11682 * lyxtextclasslist.C: added some using std declarations.
11684 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11686 * box.h: make signed dimensions to allow insets wider than
11687 the screen (bug #162)
11689 * BufferView_pimpl.C: add some insetHit debug
11691 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11693 * vc-backend.C: add FIXME
11695 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11697 * lyxfunc.C (getStatus): enable code for showing math font status
11700 2002-01-07 Juergen Vigna <jug@sad.it>
11702 * text.C (nextBreakPoint): removed debug output not needed anymore.
11704 2002-01-06 Juergen Vigna <jug@sad.it>
11706 * text.C (nextBreakPoint): fixed up this function we had this bug
11707 since ever but now hopefully we break row better.
11708 (insertChar): we have to check if an inset is the next char as it
11709 could now happen that a large inset is causing a break.
11711 2002-01-05 Juergen Vigna <jug@sad.it>
11713 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11714 if it doesn't like to be drawed.
11716 2002-01-04 Juergen Vigna <jug@sad.it>
11718 * BufferView2.C (lockInset): forgot to set a cursor.
11720 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11722 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11724 * FormMathsPanel.C:
11727 * form_maths_panel.C:
11728 * form_maths_panel.h:
11729 * form_maths_panel.fd: implemented sub- and super- buttons in math
11732 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11733 (or ^ space) to be used as in TeX (req'd by André).
11735 * lyxfunc.C: Allow ^ and _ again to be used both as
11736 super/subscript (mathed) and as themselves (in text).
11738 2002-01-03 Allan Rae <rae@lyx.org>
11740 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11741 "LyX" or the filename of the current buffer if it has one. This is a
11742 modified form of John Levon's patch.
11744 * XFormsView.C (setWindowTitle): also set icon title.
11746 * LyXView.h (setWindowTitle): signature changed.
11747 * XFormsView.h (setWindowTitle): ditto.
11749 2002-01-02 Juergen Vigna <jug@sad.it>
11751 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11753 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11755 * screen.C (topCursorVisible): introduce a temp var for
11756 text->cursor.row(), handle the case where this row is null. (kindo
11759 * text2.C (setCursor): add a couple of asserts.
11761 * paragraph.h (inset_iterator): add -> operator
11763 * paragraph.[Ch] (autoDeleteInsets): remove member function
11765 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11766 cursor pos correctly and handle inset deletion by itself.
11767 (insertErrors): move iterator declaration out of for expression
11769 * lyxtextclass.C: add <algorithm>
11771 * Makefile.am: added the new files to sources, removed layout.C
11773 * layout.C: removed file
11775 * layout.h: remove LYX_DUMMY_LAYOUT
11777 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11781 * lyxtextclass.[Ch]:
11782 * lyxtextclasslist.[Ch]: new files
11784 * include order changes to a lot of files, also changes because of
11787 2001-12-27 Juergen Vigna <jug@sad.it>
11789 * buffer.C (asciiParagraph): more fixes.
11791 * tabular.C (ascii): make ascii export support export of only the
11792 data separated by a column-delimiter.
11793 (ascii): better support for ascii export.
11795 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11797 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11799 * tabular_funcs.C: use a "using std::getline" instead of the
11800 previous fix from Angus (necessary for cxx + lyxstring)
11802 2001-12-24 Juergen Vigna <jug@sad.it>
11804 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11806 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11807 problems. First check a minipage also if we have some ert-contents
11808 (not only on par->size(), second set the right depth of the paragraph
11809 on the relink to the root-paragraph-list!
11811 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11812 which then did not anymore update the main paragraphs on undo/redo!
11814 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11816 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11817 code. Support all font-changing funcs (even those which are not in
11818 menu currently). Support for reporting font settings in
11819 mathed (disabled until Andre provides a function on mathed's side).
11821 * func_status.h (toggle): small helper function to set toggle
11824 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11826 * tabular_funcs.C: getline -> std::getline
11828 2001-12-21 Juergen Vigna <jug@sad.it>
11830 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11831 accessed and could be 0 (I couldn't generate this but it seems
11834 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11836 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11837 * tabular_funcs.h: here and include iosfwd
11839 2001-12-20 Juergen Vigna <jug@sad.it>
11841 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11842 inside inset but undo_par was.
11844 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11846 * Thesaurus.C: always include <config.h> in sources.
11850 * box.h: do not include <config.h> in header files
11852 * text.C (paintLastRow): remove unused variable
11854 * text.C (transformChar):
11856 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11858 * Painter.C (text):
11859 * font.C (width): rewrite to use uppercase() instead of
11862 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11864 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11866 * lyxfind.C: clean up of find failure position change
11868 2001-12-20 Juergen Vigna <jug@sad.it>
11870 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11872 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11873 (TeXRow): added to LaTeX a single tabular row.
11874 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11875 (Latex): simplified and finally good LT-h/f support.
11876 (various_functions): just small adaptions for LT-h/f support.
11878 * tabular_funcs.[hC]: added and moved here all not classfunctions
11881 2001-12-19 Juergen Vigna <jug@sad.it>
11883 * tabular.[Ch]: better support for longtabular options (not finished
11886 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11888 * text.C (paintLastRow): use the label font instead of the font of
11889 the last character to compute the size of *_BOX. This makes more
11890 sense and avoids a crash with empty paragraphs.
11891 Use Painter::rectangle to draw EMPTY_BOX.
11893 2001-12-19 Juergen Vigna <jug@sad.it>
11895 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11896 the paragraphs if the replaced paragraph is not the first one!
11897 Tried to delete not used paragraphs but does not work yet so for
11898 now it's inside #ifdef's and by default off!
11900 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * MenuBackend.C: include "lyx_main.h" instead of declaring
11903 lastfiles (actually was declared as LastFiles* instead of a
11906 2001-12-17 Juergen Vigna <jug@sad.it>
11908 * tabular.C (AppendColumn): applied John's fix
11910 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11914 * BufferView_pimpl.h:
11915 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11918 * box.h: new start of class for above
11920 * lyxfunc.C: ignore space-only minibuffer dispatches.
11921 Show the command name when it doesn't exist
11923 * minibuffer.C: don't add empty lines to the history
11925 * minibuffer.C: add a space on dropdown completion
11927 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11929 * text.C: fix line above/below drawing in insets
11931 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11933 * lyxlength.C (LyXLength): Initialize private variables.
11935 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11937 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11938 when inserting error insets.
11940 2001-12-13 Juergen Vigna <jug@sad.it>
11942 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11943 actually sometimes the before-paragraph.
11944 (setUndo): don't clear the redostack if we're not actually undoing!
11946 2001-12-06 Juergen Vigna <jug@sad.it>
11948 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11949 and fixed redoing of main paragraph, so we can use it now ;)
11951 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11953 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11955 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11958 2001-12-13 André Pönitz <poenitz@gmx.net>
11961 * undo_func.C: minor cleanup
11963 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11965 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11966 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11967 font in urw-fonts package which is marked as -urw-fontspecific and
11968 does not work (incidentally, changing the encoding in the
11969 fonts.dir of this package to -adobe-fontspecific fixes the
11972 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11973 is a crash when undoing first paragraph (Juergen, please take a
11974 look). THis does not mean the undo fix is wrong, just that it
11977 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11978 the (Paragraph*) version when needed instead of duplicating the
11981 * text.C (workWidth): use Inset::parOwner to find out where the
11982 inset has been inserted. This is a huge performance gain for large
11983 documents with lots of insets. If Inset::parOwner is not set, fall
11984 back on the brute force method
11986 * paragraph_pimpl.C (insertInset):
11987 * paragraph.C (Paragraph):
11988 (cutIntoMinibuffer): set parOwner of insets when
11989 inserting/removing them
11991 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11993 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11999 * mathed/formulabase.C:
12000 * mathed/math_cursor.[Ch]:
12001 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12004 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12006 * lyxlength.[Ch] (operator!=): new function
12008 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12010 * text.C (workWidth): use Inset::parOwner to find out where the
12011 inset has been inserted. This is a huge performance gain for large
12012 documents with lots of insets. If Inset::parOwner is not set, fall
12013 back on the brute force method
12015 * paragraph_pimpl.C (insertInset):
12016 * paragraph.C (Paragraph):
12017 (cutIntoMinibuffer): set parOwner of insets when
12018 inserting/removing them
12020 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12022 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12024 * tabular-old.C (getTokenValue):
12025 * tabular.C (getTokenValue):
12026 (write_attribute): new versions for LyXLength
12027 (everywhere): adjust the use of widths
12029 * tabular.h: change the type of widths from string to LyXLength
12031 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12033 * paragraph.C: fixed missing line number count when exporting
12034 Environments to LaTeX file
12036 * buffer.C: added informational message for checking line numbers.
12038 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12040 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12041 paragraph, do the 'double space' part, but not the 'empty
12044 * text.C (workWidth): small optimization
12045 (getLengthMarkerHeight): use minimal size for negative lengths.
12047 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12049 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12051 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12053 2001-12-11 André Pönitz <poenitz@gmx.net>
12056 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12058 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12060 * text2.C: keep selection on a setFont()
12062 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12064 * lyx_cb.C: another bv->text misuse, from insert label
12066 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12069 * kbsequence.C: re-instate nmodifier mask
12071 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12073 * lyx_main.h: make lyxGUI private.
12075 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12077 * lyxfind.C: place the cursor correctly on failed search
12079 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12081 * text.C (getLengthMarkerHeight): for small heights, the arrows
12082 are not always on top/bottom of the text
12083 (drawLengthMarker): smaller arrows; take the left margin in
12084 account; draw also vfills.
12086 (paintLastRow): remove special code for vfill and standard spaces,
12087 since everything is handled in drawLengthMarker now.
12089 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * buffer.C (insertErtContents): try to handle font and language
12092 interaction a bit better.g
12094 * ColorHandler.C (updateColor): change the hash to cover the whole
12095 LColor enum, ws cleanup
12096 (getGCLinepars): ditto
12097 (getGCLinepars): only lookup in the linecache once.
12099 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12101 * iterators.C (operator++): Make the iterator more robust
12103 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12107 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12110 * text.C: better added space drawing
12112 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12115 * BufferView2.C: fix layout combo update on inset unlock
12117 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12119 * Makefile.am: don't compile unused files
12121 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12125 * LyXAction.C: remove old LFUN_LAYOUTNO
12127 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12129 * paragraph_pimpl.h:
12130 * paragraph_pimpl.C: isTextAt() doesn't need font param
12132 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12135 * lyxlex.C: little cleanup
12137 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12139 * BufferView_pimpl.C: fix insertAscii for insets
12141 2001-12-05 Juergen Vigna <jug@sad.it>
12143 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12144 set the right font on the "multi" paragraph paste!
12146 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12152 * lyxlength.C: remove out-commented code.
12154 * BufferView_pimpl:
12168 * vc-backend.C: change "while(" to "while ("
12170 * lyxlength.[Ch]: add zero function to check if length is zero or
12172 * lyxgluelength.C: use it
12174 2001-12-05 Allan Rae <rae@lyx.org>
12176 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12177 Works for 2.95.3, from what I understand of Garst's reports this should
12178 work for other g++ versions. We're screwed if the abs(int) definition
12179 changed between bugfix releases of gcc.
12181 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12183 * text.C: fix chapter label offset !
12185 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12188 * text.C: fix hfill at end of line, clean up
12190 2001-12-04 Juergen Vigna <jug@sad.it>
12192 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12193 that we force an update of the inset and it's owners if neccessary.
12195 2001-12-03 Juergen Vigna <jug@sad.it>
12197 * text.C (rowLast): simplified code
12199 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12201 * lyxfunc.C: fix show options on timeout
12203 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12205 * screen.C (topCursorVisible): scroll half a page when the cursor
12206 reached top of bottom of screen
12208 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12210 * minibuffer.C: deactivate on loss of focus
12212 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * vspace.[Ch] (operator!=): add operator.
12216 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12218 * BufferView_pimpl.C: refuse to open an inset when
12219 there's a selection.
12221 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12223 * BufferView_pimpl.C: allow to click on RHS of full row insets
12225 2001-11-30 Juergen Vigna <jug@sad.it>
12227 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12228 insets for undo reasons.
12230 2001-11-28 André Pönitz <poenitz@gmx.net>
12232 * vspace.[Ch]: cosmetical changes
12234 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12244 * kbsequence.C: part re-write of old kb code
12247 * WorkArea.C: remove Lgb_bug_find_hack
12249 2001-11-30 José Matos <jamatos@fep.up.pt>
12251 * buffer.C (makeDocBookFile): add a comment to point a hack.
12252 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12253 Fixed a double write of labels.
12255 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12258 * LaTeX.h Fixed bug in LaTeX class where it would not
12259 re-run latex if no depfiles were changed, but the .dvi was removed.
12261 2001-11-28 André Pönitz <poenitz@gmx.net>
12263 * all the files from the change on 2001/11/26:
12264 use lyx::layout_type instead of LyXTextClass::size_type
12265 use lyx::textclass_type instead of LyXTextClassList::size_type
12267 2001-11-29 Juergen Vigna <jug@sad.it>
12269 * text.C: added support for paragraph::isFreeSpacing()
12271 * buffer.C: same as above
12273 * paragraph.h: inserted isFreeSpacing() function to enable
12274 FreeSpacing inside InsetERT.
12276 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12277 of the paragraph's in the cut/copy buffer to 0!
12279 * text2.C (removeRow): remove the assert as it can!
12281 * lyxtext.h: added helper function firstRow returning firstrow and
12282 made firstrow private again.
12284 * BufferView2.C (lockInset): don't relock if we're already locked!
12286 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12287 the only paragraph.
12288 (removeRow): added Assert::(firstrow)
12290 * debug.C: forgot to add INSETTEXT here.
12292 2001-11-28 Juergen Vigna <jug@sad.it>
12294 * sp_spell.C (initialize): changed error text to more general
12295 spellchecker command use (not only ispell!)
12297 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12299 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12301 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12303 * vspace.C: initialise lyxgluelength on failure
12305 2001-11-28 Allan Rae <rae@lyx.org>
12307 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12308 declaration & definition that looks like a function declaration.
12310 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12312 * BufferView2.C (copy):
12313 (copyEnvironment): do not clear the selection when doing a copy.
12315 * text.C (paintFirstRow): compilation fix
12317 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12319 * tabular.C (Latex): correct line count when writing latex.
12321 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12323 * paragraph_pimpl.h:
12324 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12327 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12331 * LColor.C: change vfillline->added_space
12333 * text.C: add markers and text for added space
12335 * vspace.C: fix comment
12337 2001-11-28 André Pönitz <poenitz@gmx.net>
12339 * paragraph.C: whitespace changes
12340 * all the other files from the change on 2001/11/26:
12341 change *::pos_type into lyx::pos_type
12343 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12345 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12346 language of the document when inserting error insets.
12348 2001-11-26 André Pönitz <poenitz@gmx.net>
12350 * BufferView_pimpl.[Ch]:
12358 * paragraph_pimpl.[Ch]:
12361 * text2.C: reduce header dependencies, introduce type for positions
12363 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12365 * <various>: change to use Alert.h
12367 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12369 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12370 when encountering an unknown token.
12371 (readLyXformat2): Show an error message if there were unknown tokens.
12373 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12376 * BufferView_pimpl.C:
12380 * text2.C: use par->isInset()
12382 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12384 * paragraph_pimpl.h:
12385 * paragraph_pimpl.C: cleanup
12387 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12389 * text2.C (removeRow):
12390 * text.C (setHeightOfRow): remove useless (and costly) call to
12393 2001-11-20 Allan Rae <rae@lyx.org>
12395 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12396 Now need Inset*::checkInsertChar() to return true for appropriate
12397 cases so that the characters in the minibuffer will actually be
12400 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12402 * text.C: change the order of the includes.
12403 (workWidth): initialize it at once.
12404 (workWidth): make maxw unsigned
12405 (setHeightOfRow): remove unused variable (inset)
12406 (selectSelectedWord): remove unused variable (inset)
12407 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12409 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12411 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12412 server is not running.
12414 (closeConnection): add debug info when server is disabled.
12416 * ColorHandler.C (getGCForeground): send debug message to GUI
12419 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12421 * kbmap.C (bind): modify because return conventions of
12422 kb_sequence::parse have changed.
12424 * kbsequence.C (parse): only ignore spaces and not any stupid
12425 control character. This avoids tests like s[i] <= ' ', which are
12426 guaranteed to fail with 8bit characters and signed chars.
12427 Change return code to string::npos when there have been no error
12428 (0 was a bad idea when error is at first character)
12430 2001-11-14 José Matos <jamatos@fep.up.pt>
12433 * buffer.C (simpleDocBookOnePar): removed unused argument.
12435 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12437 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12438 insets which are part of a word. Paragraph::isLetter takes care of
12439 that now. Use Paragraph::isInset to identify insets.
12440 (selectSelectedWord): do not test for hyphenation break.
12442 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12443 that protected spaces are considered as spaces.
12445 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12448 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12451 * lyxserver.C: fix it. and small cleanup.
12453 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12455 * BufferView_pimpl.C: use inline helpers
12458 * LaTeXFeatures.C: fix typos
12461 * Spacing.C: move spacing_string into class
12463 * ToolbarDefaults.C: move stuff into namespace anon
12465 * layout.h: update enum
12467 * lyxfunc.C: use better debug
12469 * minibuffer.h: fix typo
12473 * WorkArea.C: add and use Debug::WORKAREA
12477 * text2.C: code re-organisation, inline helpers
12479 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12481 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12482 std::vector.empty().
12484 2001-11-09 Allan Rae <rae@lyx.org>
12486 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12487 '\n's after tables. Tabular and ERT inset work now makes this no
12490 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12493 * minibuffer.C: fix crash, improve drop-down completion
12495 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12498 * lyxserver.C: invalidate fd's when doing endPipe()
12500 2001-11-08 José Matos <jamatos@fep.up.pt>
12502 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12503 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12506 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12508 2001-11-07 José Matos <jamatos@fep.up.pt>
12511 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12514 * buffer.C (sgmlOpenTag):
12515 * buffer.C (sgmlCloseTag): removed debug info.
12517 * buffer.h (sgmlOpenTag):
12518 * buffer.h (sgmlCloseTag): made public.
12520 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12522 * buffer.C (saveParamsAsDefaults):
12523 * lyx_cb.C (MenuLayoutSave): remove
12525 * LyXAction.C (init):
12527 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12529 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12531 * buffer.C (setPaperStuff): removed from here...
12533 * bufferparams.C (setPaperStuff): ... and moved there.
12535 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12539 * XFormsView.C: add support for drop-down completion
12541 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12543 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12546 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12548 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12551 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12553 * lyx_main.C: change ref to known bugs
12555 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12557 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12558 to work around older babel problems.
12560 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12562 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12564 2001-10-24 Juergen Vigna <jug@sad.it>
12566 * tabular-old.C (ReadOld): below variable changes reflected.
12568 * tabular.[Ch]: added ltType struct for longtable header/footer
12569 defines and changed all instances where they are used. Added
12570 future support for double top/bottom rows.
12572 2001-10-24 José Matos <jamatos@fep.up.pt>
12574 * buffer.h (docbookHandleCaption):
12575 * buffer.C (docbookHandleCaption): removed unused function.
12576 (makeDocBookFile): moved docbook supported version to v4.1.
12578 2001-10-24 José Matos <jamatos@fep.up.pt>
12581 * tabular.C (docbookRow): new function to export docbook code of a row.
12582 (DocBook): now honors the longtable flags.
12584 2001-10-23 José Matos <jamatos@fep.up.pt>
12587 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12588 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12590 * buffer.C (makeLinuxDocFile):
12591 (makeDocBookFile): reworked the preamble, more clean, and with
12592 support for lyx defined entities. Changed the document declaration
12593 to be more XML friendly.
12595 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12596 if we need to output XML that should be done with a filter.
12598 2001-10-22 Juergen Vigna <jug@sad.it>
12600 * sp_pspell.h (class PSpell): add alive function needed in the
12601 controller to see if the spellchecker could be started.
12603 2001-10-22 Juergen Vigna <jug@sad.it>
12605 * buffer.C (insertStringAsLines): modify the font for inserting
12606 chars in certain conditions by calling checkInsertChar(font).
12608 2001-10-19 Juergen Vigna <jug@sad.it>
12610 * text.C (workWidth): use getRow instead of wrong algorithm.
12611 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12613 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12618 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12620 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12622 * text.C (workWidth): do not search for the exact row when
12623 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12624 optimization for big documents.
12626 2001-10-18 Juergen Vigna <jug@sad.it>
12628 * text.C (workWidth): new function with added Inset * parameter.
12630 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12632 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12634 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12635 change return type of getColumnNearX.
12638 * text.C (changeRegionCase): use uppercase/lowercase instead of
12641 (rightMargin): simplify code by factoring out the uses of
12646 (appendParagraph): use Paragraph::size_type
12648 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12650 * vspace.C (asLatexString): add a missing break
12652 2001-10-15 Herbert Voss <voss@perce.de>
12654 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12656 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12658 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12661 2001-10-10 André Pönitz <poenitz@gmx.net>
12663 * lyxfunc.C: removed greek_kb_flag.
12665 2001-10-10 Herbert Voss <voss@perce.de>
12667 * lyx_main.C: delete global string help_lyxdir.
12669 2001-10-09 Herbert Voss <voss@perce.de>
12671 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12673 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12675 * lyx_main.C: added global string help_lyxdir.
12677 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12679 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12681 * lyxrc.C (set_font_norm_type): support iso8859-4
12683 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12685 * LaTeX.C (deplog): add another regex for MikTeX
12687 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12689 * lyxrc.C (set_font_norm_type): support iso8859-3
12691 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12693 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12695 * LaTeXFeatures.C: remove special case of french and index
12697 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12698 before \begin{document}). This solves several incompatibilities.
12700 2001-10-03 Garst Reese <reese@isn.net>
12702 * lyx_cb.C: change CheckTex error msg.
12704 2001-10-03 José Matos <jamatos@fep.up.pt>
12706 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12708 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12710 * .cvsignore: update
12712 * lyx_main.C (commandLineVersionInfo): use new style version info.
12714 * buffer.C (writeFile):
12716 (makeLinuxDocFile):
12717 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12719 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12721 * version.h: update to use stuff in version.C
12723 * version.C.in: new file. Contains version information determined
12724 at compile time. This is a merging of version.h and
12727 2001-10-03 Juergen Vigna <jug@sad.it>
12729 * BufferView_pimpl.C (update): don't change "dirty" status in
12732 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12734 * WorkArea.C (c-tor): re-position version string slightly.
12736 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12738 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12739 revert to previous code.
12741 WorkArea.[Ch]: (show, destroySplash): methods removed.
12743 WorkArea.C: rework code so that it's an amalgam of the codes before and
12744 after the splash screen was moved to WorkArea.
12746 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * vspace.C (inPixels):
12752 * buffer.C (insertStringAsLines):
12753 (asciiParagraph): fix types to be large enough
12755 * lyxlex_pimpl.h: change member status from short to int
12757 * layout.h: fix type of endlabeltype
12760 * kbsequence.C (parse): change return type to string::size_type
12762 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12765 * Bullet.C (bulletSize):
12766 (bulletEntry): do not use short ints as parameters
12768 * BufferView2.C (insertLyXFile): change a char to an int.
12770 * WorkArea.C (WorkArea): remove unneeded floats in computation
12772 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12774 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12776 * paragraph.C (asString): Do not ignore newline/hfill chars when
12777 copying to the clipboard.
12779 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12781 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12782 after a multi-line inset.
12784 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12786 * paragraph.C (validate): Set NeedLyXFootnoteCode
12788 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12790 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12791 and decrease-error to decrease.
12793 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12795 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12796 it more readable (should be equivalent)
12798 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12800 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12802 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12804 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12805 of a cursor (row, etc.) after a character has been deleted
12806 (deleteEmptyParagraphMechanism): call the method above on _all_
12807 cursors held by the LyXText when a double space has been
12810 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12812 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12814 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12816 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12817 background. Use greyOut() and the new show() methods to toggle between
12818 the foreground and background. Add code to remove the splash after
12819 its initial showing.
12821 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12822 (create_forms): no longer call Dialogs::showSplash.
12824 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12826 * .cvsignore: add version_info.h
12828 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12830 * version_info.h.in: new file
12832 * Makefile.am: add version_info.h.in
12834 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12835 version_info.h instead of VERSION_INFO
12837 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12839 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12840 The ERT inset now returns string().
12842 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12844 * lyxtext.h, text.C (selectNextWord): renamed as
12845 selectNextWordToSpellcheck.
12847 * text.C (selectNextWordToSpellcheck): Modified to not select
12848 words inside an ERT inset.
12850 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12852 * lyx_cb.C (MenuLayoutSave): change a bit the question
12854 * sp_base.h: include <sys/types.h>
12856 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12858 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12860 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12862 * several files: fix typos in user-visible strings
12864 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12866 * text2.C (pasteSelection): do not set the selection, since it
12867 will be cleared later. Actually, the intent was to fix the way the
12868 selection was set, but I figured rmoving the code was just as good.
12870 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12872 * FontLoader.C (available): Check if font is available without
12875 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12877 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12879 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12881 * lyxrc.[Ch]: added display_graphics variable and associated code.
12883 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12885 * bufferparams.C (hasClassDefaults): new method. Returns true if
12886 the buffer parameters correspond to known class defaults
12888 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12890 * XFormsView.C (show): set minimum size to the main window.
12892 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12894 * text2.C (copySelection):
12896 * lyxfind.C (LyXReplace):
12897 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12898 LyXText::selectionAsString.
12900 * paragraph.C (asString): add "label" argument to the second form
12902 * text2.C (selectionAsString): add "label" argument and pass it to
12903 Paragraph::asString.
12905 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12907 * lyx_main.C (commandLineHelp): remove version information
12909 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12911 * lyx_main.C: add -version commandline option
12913 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * paragraph.h: make the optional constructor arg required instead.
12916 some modifications to other files because of this.
12918 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12920 * lyxserver.C (C_LyXComm_callback): make it static
12922 * lyx_main.C (error_handler): make it static
12924 * lyx_gui.C (LyX_XErrHandler): make it static
12926 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12928 * WorkArea.C: make the extern "C" methods static.
12930 * Makefile.am (lyx_LDADD): simplify
12932 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12934 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12935 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12937 * LyXAction.C (init):
12938 * lyxfunc.C (dispatch): associated code removal.
12940 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * lyxfont.h (isSymbolFont): shut off warning
12944 * text.C (setHeightOfRow):
12945 (getVisibleRow): fix crash with empty paragraphs which have a
12948 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12950 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12953 2001-09-04 José Matos <jamatos@fep.up.pt>
12956 * tabular.C (docbook): rename docBook method to docbook.
12958 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12960 * Makefile.am: add dependencies to main.o.
12962 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12964 * FontLoader.C (available): Return false if !lyxrc.use_gui
12966 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12968 * FontInfo.C (query):
12969 * converter.C (view):
12970 * importer.C (Import):
12971 * exporter.C (Export): Can not -> cannot.
12973 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12975 * BufferView_pimpl.C: allow to create index inset even if
12978 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12980 * buffer.C (getLists): replace boost::tie code with an explicit pair
12981 as boost::tie can break some compilers.
12983 * iterators.h: Added a std:: declaration to the return type of
12986 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12988 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12991 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12993 * iterators.[Ch]: New files. Provide paragraph iterators.
12995 * buffer.C (changeLanguage): Use paragraph iterators.
12996 (isMultiLingual): ditto
12998 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13000 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13002 * FontLoader.C: Support for cmr font.
13004 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13006 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13007 (available): New method.
13009 * FontInfo.C (getFontname): Use scalable fonts even when
13010 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13013 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13015 * converter.C (Formats::view): reverted! Incorrect fix.
13017 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13019 * converter.C (Formats::view): only output the -paper option
13020 if the dvi viewer is xdvi, thereby fixing bug #233429.
13022 2001-08-23 Herbert Voss <voss@perce>
13024 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13026 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13028 * Spacing.h (Spacing): Set space to Default on in the default
13031 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13033 * vc-backend.h (RCS::versionString): add RCS to version
13034 (CVS::versionString): add CVS to version
13036 * vc-backend.C (scanMaster): do not add CVS to version.
13037 (scanMaster): do not add RCS to version
13039 * lyxvc.C (versionString): new method
13041 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13043 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13045 * Spacing.C (set): initialize fval
13047 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13049 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13052 2001-08-16 Juergen Vigna <jug@sad.it>
13054 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13056 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13058 * BufferView_pimpl.C:
13061 * text2.C: setParagraph takes linespacing now
13063 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13065 * LyxAction.C: add internal LFUN_CITATION_INSERT
13067 * LyXView.C: actually apply fix
13069 * bufferlist.C: fix open non-existent file
13071 * lyxfind.C: fix indentation
13073 * lyxfunc.C: remove unneeded assert, fix typo
13075 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13077 * MenuBackend.C: use "Floatname List"
13079 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13081 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13082 when converting LaTeX layout to insetERT.
13083 Generate a non-collapsed float when reading old float
13085 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13087 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13090 2001-08-13 Juergen Vigna <jug@sad.it>
13092 * text.C (fill): return 0 instead of 20 as this seems to be the more
13095 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13097 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13100 2001-08-13 Juergen Vigna <jug@sad.it>
13102 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13104 (SearchBackward): comment out the unlocking of the inset_owner this
13105 should not be needed!
13107 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13109 * Many files: Remove inherit_language, and add latex_language
13111 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13112 collapsible insets.
13114 2001-08-10 Juergen Vigna <jug@sad.it>
13116 * text.C (prepareToPrint): fixed hfill-width in draw!
13118 * BufferView2.C (selectLastWord): save the selection cursor as this
13119 now is cleared in the function LyXText::clearSelection!
13121 2001-08-08 Juergen Vigna <jug@sad.it>
13123 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13124 BACKSPACE type functions.
13126 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13127 is only cutted from the document but not put in the cut-buffer, where
13128 still the old stuff should be.
13130 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13132 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13134 * tabular.C (SetWidthOfCell): fixed special case where the width
13136 (LeftLine): handle '|' in align_special.
13138 (LeftAlreadyDrawed): ditto
13139 (SetWidthOfCell): ditto
13141 2001-08-07 Juergen Vigna <jug@sad.it>
13143 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13145 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13147 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13148 * lyxlex.[hC]: ditto
13150 2001-08-06 Juergen Vigna <jug@sad.it>
13152 * text.C (getVisibleRow): fix up row clearing a bit.
13154 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13156 * minibuffer.C: make sure the X server sees the changes in the input.
13158 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * paragraph.C (getFont): split into...
13161 (getLabelFont): this
13162 (getLayoutFont): and this
13163 * paragraph_pimpl.C (realizeFont): calling this
13165 * text2.C (getFont): split into...
13166 (getLayoutFont): this
13167 (getLabelFont): and this
13168 (realizeFont): all three calling this
13170 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13173 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13177 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13179 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13180 layouts from the Quote inset insertion.
13182 2001-08-03 Juergen Vigna <jug@sad.it>
13184 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13186 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13187 only if status not is already CHANGED_IN_DRAW (second level).
13189 * text.C (draw): don't set the need_break_row when inside an
13192 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13194 * buffer.C (parseSingleLyXformat2Token): handle more latex
13197 * bufferview_funcs.[hC]: change function names to
13198 begin with small char, adjust other files.
13200 2001-08-02 André Pönitz <poenitz@gmx.net>
13203 BufferView_pimpl.C: remove broken special code for math-greek
13205 2001-08-02 Juergen Vigna <jug@sad.it>
13207 * BufferView_pimpl.C (update): redone this function so that we
13208 update the text again if there was a CHANGE_IN_DRAW.
13210 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13211 (drawFromTo): added a new internal bool which is used by draw() and
13213 (general): some cursor drawing problems fixed.
13215 2001-08-01 Juergen Vigna <jug@sad.it>
13217 * lyxfind.C (LyXFind): fixed
13218 (SearchForward): ditto
13219 (SearchBackward): ditto
13221 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13222 spurius drawing of the cursor in the main area.
13224 * text2.C (status): small fix which could lead to a segfault!
13225 (clearSelection): remove unneeded BufferView param.
13227 2001-08-01 André Pönitz <poenitz@gmx.net>
13229 * lyxfunc.C: small change due to changed mathed interface
13231 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13233 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13235 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13237 * lyxfunc.c: fail gracefully if file doesn't exist
13242 * BufferView_pimpl.C: IsDirWriteable() proto changed
13244 * LyXView.C: fix updateWindowTitle() to store the last title
13246 2001-07-31 Juergen Vigna <jug@sad.it>
13248 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13249 the font (wrong since using of Paragraph::highestFontInRange).
13251 * paragraph.C (highestFontInRange): added a default_size parameter.
13253 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13254 (setHeightOfRow): reformat
13256 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13258 * converter.[hC] + affected files: move to (inital-char)lowercase
13261 * ParagraphParameters.C (ParagraphParameters): remove commented code
13263 * PainterBase.[Ch]: remove commented code
13265 * LaTeXFeatures.h: add "bool floats" for float.sty
13267 * LaTeXFeatures.C (LaTeXFeatures): init floats
13268 (require): handle float
13269 (getPackages): do it with floats
13271 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * BufferView_pimpl.C (Dispatch): improve handling of
13274 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13276 * commandtags.h: #include lyxfont.h here temporarily to avoid
13279 * bufferlist.h: include LString.h here.
13281 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13283 * text2.C (getStringToIndex): new method.
13285 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13287 * *: Reduced header file dependencies all over.
13289 2001-07-30 Baruch Even <baruch@lyx.org>
13291 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13293 2001-07-29 Baruch Even <baruch@lyx.org>
13295 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13297 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * ParameterStruct.h (endif): add a default constructor to make
13300 sure that all variables is initialized.
13302 * ParagraphParameters.C (ParagraphParameters): adjust
13304 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13306 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13307 index; also, check that there is something to index, and that it
13308 does not span over several paragraphs.
13309 (doubleClick): use WHOLE_WORD_STRICT for double click.
13311 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13313 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13316 2001-07-26 Baruch Even <baruch@lyx.org>
13318 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13319 an InsetFig figure, backwards compatible reading of old figure code.
13321 2001-07-27 Juergen Vigna <jug@sad.it>
13323 * text2.C: font.realize function adaption.
13325 * text.C (draw): add a warnings lyxerr text if needed.
13327 * layout.C: font.realize function adaption.
13329 * language.C: add inherit_language and implement it's handlings
13331 * bufferview_funcs.C (StyleReset): remove language parameter from
13332 font creation (should be language_inherit now).
13334 * bufferparams.C (writeFile): handle ignore_language.
13336 * paragraph.C (getFontSettings): the language has to be resolved
13337 otherwise we have problems in LyXFont!
13339 * lyxfont.C (lyxWriteChanges): added document_language parameter
13340 (update): removed unneeded language parameter
13342 * paragraph.C (validate): fixed wrong output of color-package when
13343 using interface colors for certain fonts in certain environments,
13344 which should not seen as that on the final output.
13346 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13348 * BufferView_pimpl.C:
13353 * LyXAction.C: add thesaurus support
13356 * lyxfind.C: add "once" parameter, for thesaurus, to not
13357 move to the next match
13359 2001-07-26 Juergen Vigna <jug@sad.it>
13361 * lyxfont.C (realize): honor ignore_language too!
13364 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13366 * text.C (draw): one place more for ignore_language to not draw
13369 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13371 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13373 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13375 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13376 the minipage conversion problem.
13378 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13380 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13383 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13385 * BufferView.h: don't forward declare WorkArea
13387 * BufferView.C: don't include WorkArea.h
13389 2001-07-25 André Pönitz <poenitz@gmx.net>
13393 * lyxfunc.C: new LFUN 'math-space'
13395 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13397 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13399 * text2.C (toggleInset): call open/close
13401 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * lyxfunc.C (dispatch): add debug for the disabled case
13405 * font.C (buttonText): make similar to rectText
13407 * buffer.C (readInset): comment out parsing of insetlist and
13410 * PainterBase.C (rectText): small correction
13412 * BufferView_pimpl.C: comment out insettheorem and insetlist
13413 * LyXAction.C: ditto
13414 * commandtags.h: ditto
13416 2001-07-24 Juergen Vigna <jug@sad.it>
13418 * text.C (draw): honor the ignore_language.
13420 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13422 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13424 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13427 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13429 * lyxtext.h: remove unused (and unimplemented) methods
13431 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13433 * text.C (getVisibleRow): honor background color
13436 * Painter.h: remove default color argument for fillRectangle
13438 * text.C (backgroundColor): new method
13440 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13442 * text.C (getVisibleRow): adjust
13444 * font.[Ch] (rectText): new method, metrics
13445 (buttonText): new method, metrics
13447 * PainterBase.[hC]: make rectText and buttonText always draw and take
13450 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13452 * ToolbarDefaults.C (read):
13453 * MenuBackend.C (read): allow escaping in all strings
13455 * BufferView_pimpl.C (insertAndEditInset): new method.
13456 (Dispatch): use insertAndEditInset whenever appropriate.
13458 * BufferView_pimpl.C (insertNote): removed
13460 * BufferView_pimpl.C (smartQuote): new method, moved from
13461 BufferView; if an insetquote cannot be inserted, insert a '"'
13464 * BufferView2.C: remove insertCorrectQuote();
13466 * lyxfunc.C (getStatus): Add support for all remaingin
13467 inset-insert lfuns.
13469 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13471 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13472 command (necessary to pass " as parameter of self-insert.
13474 * text.C (selectWordWhenUnderCursor):
13475 (selectWord): add word_location parameter
13476 (selectWordWhenUnderCursor): same + remove special code for word
13478 (selectNextWord): use kind() to guess type of insetspecialchar,
13481 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13482 (insertErtContents): create ert insets as collapsed.
13483 (readInset): better compatibility code for Info inset.
13485 2001-07-20 Juergen Vigna <jug@sad.it>
13487 * lyxfunc.C (dispatch): use always LyXFind now!
13489 * text2.C (init): add a reinit flag so that the LyXText can be
13490 reinited instead of deleted and reallocated (used in InsetText).
13492 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13498 2001-07-18 Juergen Vigna <jug@sad.it>
13500 * text.C (selectNextWord): handle insets inside inset by calling
13501 always the bv->text functions so that we can go up the_locking_inset!
13503 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13504 in strange locations when inside an inset!
13506 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13507 handling to include insets.
13509 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13511 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13513 * LyXAction.C (init):
13515 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13516 LIGATURE_BREAK, since the name is so stupid.
13518 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13520 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13523 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13525 * sp_form.[Ch]: remove.
13527 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13529 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13532 * src/buffer.C (readInset): ditto.
13534 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13536 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13537 menuSeparator(), endOfSentenceDot(), ldots() and
13538 hyphenationPoint(), which are therefore removed.
13539 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13541 * LyXAction.C (init):
13542 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13544 * paragraph.C (getWord): removed.
13546 * BufferView_pimpl.C (Dispatch): use last word or selection for
13547 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13549 * lyx_main.C (queryUserLyXDir): do not ask before creating
13550 user_dir, except if it has been named explicitely.
13552 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13554 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13555 a document of zero size.
13557 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13559 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13560 approriately in the c-tor and in require().
13561 (getPackages): output the appropriate LaTeX for natbib support.
13563 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13564 variables "use_natbib" and "use_numerical_citations" when reading the
13566 (readInset): read the various natbib cite commands.
13567 (validate): white-space change.
13569 * bufferparams.[Ch]: new variables "bool use_natbib" and
13570 "bool use_numerical_citations".
13571 (writeFile): output them in the LyX file.
13573 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13575 * lyxfunc.C (getStatus): add support for all the inset insertion
13578 * text2.C (insertInset):
13579 * paragraph.C (insetAllowed):
13580 * BufferView_pimpl.C (insertInset): update to take in account the
13581 renaming of insertInsetAllowed
13583 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13585 * text2.C (getInset): new method. returns inset at cursor position.
13587 * BufferView_pimpl.C (Dispatch): changes because of this.
13589 * LyXAction.C (init): rename open-stuff to inset-toggle.
13591 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13593 * text2.C (toggleInset): renamed from openStuff; use
13596 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13598 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13600 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13602 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13604 * buffer.C (readLyXformat2): Add filename to the error dialog
13606 2001-07-18 Juergen Vigna <jug@sad.it>
13608 * tabular.C (GetCellNumber): put an assert here instead of the check!
13610 2001-07-17 Juergen Vigna <jug@sad.it>
13612 * BufferView_pimpl.C (toggleSelection): adapted too.
13614 * text.C (selectNextWord): adapted for use with insets.
13615 (selectSelectedWord): ditto
13617 2001-07-17 Juergen Vigna <jug@sad.it>
13619 * sp_spell.C (PSpell): fix initialitation order.
13621 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13623 * paragraph.C: spacing
13625 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13627 * sp_spell.C: repair language selection for pspell
13629 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13631 * lyxfunc.h: change more methods to begin with lower char.
13633 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13635 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13636 for unknown layouts.
13638 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13640 * buffer.C (readLyXformat2): Generate an error dialog if there are
13643 2001-07-16 Juergen Vigna <jug@sad.it>
13645 * sp_spell.C: always compile ISpell part.
13647 * lyxrc.C: added use_pspell entry and it's handling.
13649 2001-07-13 Juergen Vigna <jug@sad.it>
13651 * sp_spell.C: removed double includes.
13653 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13655 Consistent use of Lsstream.h:
13656 * Lsstream.h: added using std::stringstream for consistencies sake.
13658 * buffer.C: removed using std::stringstream
13660 * lyxfont.C (stateText):
13661 * paragraph.C (asString):
13662 * text.C (selectNextWord, selectSelectedWord):
13663 * text2.C (setCounter):
13664 * vspace.C (asString, asLatexString):
13665 std::ostringstream -> ostringstream.
13667 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13669 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13670 * commandtags.h: add LFUN_HELP_ABOUTLYX
13671 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13673 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13675 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13677 * lyx_gui_misc.C: remove spellchecker
13678 * lyxfunc.C: showSpellchecker
13680 * sp_ispell.h: added
13681 * sp_pspell.h: added
13682 * sp_spell.C: added
13683 * sp_form.[Ch]: removed
13684 * spellchecker.[Ch]: removed
13686 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13688 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13690 (simpleTeXSpecialChars): Simply print the input character without
13691 any special translation if pass_thru is set.
13693 * layout.h: Added bool pass_thru to layout class for being able to
13694 implement pass through of a paragraph for Literate Programming.
13696 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13697 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13698 * layout.C (Read): add "passthru" to list of layout tags and add
13699 code to set the pass_thru boolean when it is read.
13701 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13703 * trans_decl.h: remove allowed from KmodInfo
13705 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13706 remove allowed code
13709 * paragraph_pimpl.C (erase): use boost::prior
13711 * Painter.C (text): use data() instead of c_str() when length is
13713 * WorkArea.C (putClipboard): ditto
13714 * font.h (width): ditto
13716 * BufferView2.C: use it-> instead of (*it). for iterators
13718 * paragraph_pimpl.C: ditto
13719 * paragraph.C: ditto
13720 * minibuffer.C: ditto
13721 * language.C: ditto
13723 * encoding.C: ditto
13724 * counters.C: ditto
13725 * converter.C: ditto
13727 * Variables.C: ditto
13728 * TextCache.C: ditto
13729 * MenuBackend.C: ditto
13730 * LyXAction.C: ditto
13732 * FloatList.C: ditto
13733 * DepTable.C: ditto
13734 * ColorHandler.C (LyXColorHandler): ditto
13736 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13738 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13740 * text2.C (openStuff): reintroduce this method (which had been
13741 nuked in NEW_INSETS frenzy).
13743 * lyxfunc.C (Dispatch): when an action has not been handled, use
13744 its name in the error message, not its number.
13746 * paragraph.C (inInset): change method name to begin with lowercase.
13749 * text2.C: updates because of this.
13751 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * ToolbarDefaults.C (add): add spaces in error message
13755 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13757 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13758 (readLyXformat2): rename return_par to first_par, use lyxlex's
13759 pushToken and remove the manual push handling.
13760 (parseSingleLyXformat2Token): add another ert comp. variable:
13761 in_tabular, rename return_par to first_par. handle newlines better
13763 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13765 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13767 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13769 * text2.C (getParFromID): removed
13771 * buffer.C (getParFromID): new method moved form lyxtext.
13772 * BufferView2.C (insertErrors): adjust
13773 (setCursorFromRow): adjust
13774 * BufferView_pimpl.C (restorePosition): adjust
13775 * lyxfunc.C (Dispatch): adjust
13776 * undo_funcs.C (textUndo): adjust
13778 (textHandleUndo): adjust
13779 (textHandleUndo): adjust
13781 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13783 * buffer.C: up' the LYX_FORMAT
13785 * lyxfont.h: turn NO_LATEX on as default
13787 * buffer.C (insertErtContents): new methods of tex style compability.
13788 (parseSingleLyXformat2Token): use it several places.
13789 * tabular.C (OldFormatRead): and here
13791 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13793 * text2.C: remove some commented code.
13796 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13797 * trans.C: changes because of the above.
13799 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13801 * text2.C (setCounter): Fix counters bug with bibliography layout.
13803 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13805 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13806 own member functions
13807 (simpleTeXSpecialChars): ditto
13809 2001-07-06 Juergen Vigna <jug@sad.it>
13811 * a lot of files: changed the access to LyXText::status and the
13812 call of undo-functions.
13814 * undo.[Ch]: added a inset_id to the undo informations.
13816 * undo_funcs.[Ch]: added and moved here all undo functions.
13818 * lyxtext.h: give the status enum a weight, made status_ a private
13819 variable and made accessor functions for it, removed the whole bunch
13820 of undo-functions as they are now in their own file, make some
13821 functions publically available. Added function ownerParagraph with
13824 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13825 made InInset() a const function, added getParFromID() function.
13827 * buffer.[Ch]: added const version for inset_iterator functions,
13828 added getInsetFromID() function.
13830 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13831 changed undo functions for new version.
13833 2001-07-05 Juergen Vigna <jug@sad.it>
13835 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13836 unknow mechanism does not call the proper constructor but only this
13837 one also if I request the other!?
13839 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13841 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13843 * text2.C (LyXText): use initialization lists.
13845 * lyxtext.h (Selection): initialize set_ and mark_
13846 (init): remove method
13848 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13850 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13852 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13854 * screen.[Ch]: change method names to begin with lowercase
13856 * BufferView_pimpl.C (updateScrollbar): simplify further and
13857 hopefully make it a bit faster.
13859 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13861 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13862 calling directly xforms functions.
13864 * Painter.C (Painter):
13865 * lyx_cb.C (MenuWrite):
13866 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13869 * lyx_gui.C: remove bogus guiruntime extern declaration.
13871 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13873 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13875 (redoDrawingOfParagraph): ditto
13876 (redoParagraphs): ditto
13877 (cutSelection): don't create a object for CutAndPaste use the
13878 static method directly
13879 (pasteSelection): ditto
13881 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13884 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * modifications to some other files because of this.
13888 * Makefile.am (lyx_SOURCES): add XFormsView
13890 * XFormsView.[Ch]: new files
13892 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13893 the main window. Move the gui dependent stuff to XFormsView
13895 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13897 * tabular.C (GetCellInset): update cur_cell also in the row/col
13898 version of this function.
13900 * lyxfunc.C: no need to include figure_form.h here.
13906 * lyxvc.C: no need to include forms.h here.
13908 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13910 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13912 * lyxfunc.C (Dispatch):
13914 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13915 constructor argument.
13917 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13919 * paragraph.C (Paragraph): dont't clear, and just set layout.
13920 (makeSameLayout): use params's copy contructor.
13922 * ParagraphParameters.[Ch] (makeSame): delete method
13924 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13926 * Variables.[Ch]: fix indentation, rename set to isSet
13928 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * lyxfunc.C (Dispatch): fix typo
13932 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13934 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13937 * bufferlist.C: include assert.h for emergencyWrite().
13939 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13941 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13942 give up at last (bug #425202) !
13944 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13950 * spellchecker.C: strip spellchecker options and bring up
13951 preferences tab instead
13953 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13955 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13956 the istringstream constructor
13958 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13960 * paragraph.C (getLayout): fix return value
13962 * paragraph.h: do not declare getLayout as inline.
13964 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13966 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13968 * lyxcursor.h (operator<): new func
13969 (operator>): new func
13970 (operator>=): new func
13971 (operator<=): new func
13973 * text.C (changeCase): use selection.start and selection.end
13974 (changeRegionCase): require from to be <= to. Require par to be a
13977 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13979 2001-06-27 Juergen Vigna <jug@sad.it>
13981 * text.C (cursorLeftOneWord): changed to return the cursor and added
13982 overlay with BufferView * parameter which calls this one.
13984 (selectWord): use new getWord function.
13985 (changeCase): renamed from changeWordCase as and extended to work
13986 also on selections.
13988 * lyxtext.h: added enum word_location
13990 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13991 changeCase as this operates now also on selections.
13993 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13995 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13997 * many files: send debug output to Debug::INFO instead of
14000 * converter.C (View):
14002 (Move): send debug output to Debug::FILES instead of console.
14004 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14006 * lyxfunc.C (getStatus): use func_status
14008 * func_status.h: new header, describing the results of
14009 LyXFunc::getStatus;
14011 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14014 2001-06-25 The LyX Project <jug@sad.it>
14016 * buffer.C (sgmlOpenTag):
14018 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14020 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14022 * text2.C: remove some dead code
14024 * tabular.C (GetCellInset): store the last cell checked (gotten)
14026 * tabular.h: add the helper for the speedup
14028 * lyxtext.h: remove some dead code
14030 2001-06-26 The LyX Project <Asger>
14032 * paragraph.C: Change export to LaTeX of alignment to
14033 \begin{center} and family for better roundtrip work with reLyX.
14035 * Tune the math drawing a bit.
14037 2001-06-25 The LyX Project <Asger>
14039 * LColor.C (LColor): New color for math background. New color
14042 2001-06-25 The LyX Project <jug@sad.it>
14044 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14046 * lyxfunc.C (Open):
14047 * bufferlist.C (newFile): do not restrict to files ending with
14050 * BufferView_pimpl.C (MenuInsertLyXFile):
14052 2001-06-24 The LyX Project <jug@sad.it>
14054 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14057 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14059 * lyxtext.h: rename most methods to begin with a small char.
14060 Lots of changes because of this.
14062 * paragraph.C (Paragraph): do not call fitToSize
14063 (erase): call Pimpl::erase
14064 (insertChar): call Pimpl::insertChar
14065 (insertInset): call Pipl::insertInset
14066 (breakParagraph): do not call fitToSize
14067 (breakParagraphConservative): do not call fitToSize
14068 (fitToSize): remove method
14070 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14072 2001-06-24 The LyX Project <Asger>
14074 * Fix Qt compilation^2
14076 2001-06-24 The LyX Project <jug@sad.it>
14078 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14079 depthHook(getDepth()-1).
14082 * ParagraphParameters.h:
14083 * ParameterStruct.h: change type of depth to unsigned int ==
14084 depth_type. Many adaptations to other files before of that.
14086 2001-06-24 The LyX Project <Asger>
14088 * Fix Qt compilation.
14090 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14092 * paragraph.h: renamed several methods to begin with small letter.
14093 several changes to many parts of the code because of this.
14095 2001-06-23 The LyX Project <jug@sad.it>
14097 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14098 rewritten to discard all double spaces when KeepEmpty is off
14099 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14100 to only handle newlines but not fiddle with spaces and friends.
14102 * lyxfunc.C (MenuNew): when doing 'new from template', use
14103 template_path as default directory
14105 2001-06-23 The LyX Project <Asger>
14107 * Clean-up of header file includes all over
14108 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14110 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14112 * paragraph.h: renamed from lyxparagraph.h
14114 2001-06-23 Asger <lyx@violet.home.sad.it>
14116 * Buffer.h: Removed Buffer::resize
14117 * BufferList.h: Removed BufferList::resize
14118 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14119 the document lazily when we change the width, or the font settings.
14121 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14123 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14125 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14127 * buffer.h: remove out of date comment
14129 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14132 * screen.C: fix "theoretical" GC leak
14134 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14136 * LaTeX.C (scanAuxFile):
14137 (deplog): remove trailing \r when reading stream (useful under
14140 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14142 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14143 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14144 and BufferView::theLockingInset(Inset*), so should use them and not
14145 access bv_->text->the_locking_inset directly.
14147 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14149 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14152 * tex-defs.h: remove old unused file
14154 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14156 * BufferView_pimpl.C: fix typo, remove minibuffer message
14157 when buffer has loaded
14159 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14161 * lyxfunc.C (Dispatch): use stringstream
14162 (MenuNew): use stringstream
14163 (Open): use stringstream
14165 * importer.C (Import): use stringstream
14167 * bufferview_funcs.C (CurrentState): use stringstream
14169 * LaTeX.C (run): use stringstream
14171 * BufferView_pimpl.C (savePosition): use stringstream
14172 (restorePosition): use stringstream
14173 (MenuInsertLyXFile): use stringstream
14175 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14188 * vspace.C: removed // -*- C++ -*- as first line.
14191 * version.h: added // -*- C++ -*- as first line.
14193 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14195 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14197 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14200 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14202 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14205 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * gettext.C: include LString.h even when --disable-nls is on.
14209 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14211 * converter.h (Get): changed argument type from int to
14212 FormatList::size_type to avoid unnecessary conversion.
14214 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14217 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14219 * gettext.h: include LString.h even when --disable-nls is on.
14221 2001-06-07 Juergen Vigna <jug@sad.it>
14223 * text.C (BreakAgain): subst spaces with tabs.
14225 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14226 (resizeInsetsLyXText): set force on resizeLyXText.
14228 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14230 * gettext.h (gettext_init):
14231 (locale_init): use a real definition instead of a macro
14233 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14235 * Bufferview_pimpl.C:
14237 * LColor.C: further lcolor tidies
14239 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14241 * BufferView_pimpl.C (updateScrollbar): simplify.
14243 * BufferView2.C: don't include insets/insetinfo.h, change
14244 prototype for insertInset and call the Pimpl version. let
14245 updateInset call Pimpl version.
14247 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14248 gotoInset to BufferView::Pimpl
14250 2001-06-01 Juergen Vigna <jug@sad.it>
14252 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14253 inside a LockingInset (is the update needed at all?).
14255 2001-05-31 Juergen Vigna <jug@sad.it>
14257 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14258 here not the old one otherwise how should we compare it afterwards
14261 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14266 * FontInfo.C: bring C functions into global namespace when
14269 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14271 * LString.h: make sure config.h has been loaded before LString.h.
14273 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14274 (one for each char read by EatLine!).
14276 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14279 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14282 to the same as the par we break from
14284 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14286 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14288 * MenuBackend.C (expand): also create menu entries for wide
14289 versions of the floats.
14291 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14293 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14295 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14296 frontends/Makefile.am
14302 * tabular.C (getTokenValue): add std::
14304 * tabular-old.C (getTokenValue): add std::
14305 (getTokenValue): ditto
14306 (getTokenValue): ditto
14308 * screen.C (ToggleSelection): adjust
14310 * lyxtext.h: put selection cursors inside a Selection struct.
14312 * lyxfunc.C (moveCursorUpdate): adjust
14314 * lyxfont.C (latexWriteStartChanges): add std::
14316 * lyxfind.C: adjust
14318 * font.h: delete with(char const *, LyXFont const &)
14320 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14322 * FontInfo.C (getFontname): add std::
14324 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14325 (workAreaButtonPress): adjust
14326 (tripleClick): adjust
14328 (moveCursorUpdate): adjust
14331 * BufferView2.C (gotoInset): adjust
14333 2001-05-30 Juergen Vigna <jug@sad.it>
14335 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14336 to check pspell I add this as default as I now have new pspell
14337 libraries and they seem to use this.
14339 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14341 * text2.C (CutSelection): make the cursor valid before the call to
14344 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14346 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14347 relied on 0 terminated strings and other horrors. Bug found due to
14348 the new assert in lyxstring!
14350 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14353 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14355 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14358 * lyxfunc.C (processKeySym): change method of getting to the
14361 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14362 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14363 * BufferView_pimpl.[Ch]: here as private methods.
14365 2001-05-28 Juergen Vigna <jug@sad.it>
14367 * text.C (SetHeightOfRow): added the update() call again as it is
14368 needed to initialize inset dimensions!
14370 2001-05-16 Juergen Vigna <jug@sad.it>
14372 * text2.C (SetCharFont): Add new function with BufferView * and
14373 bool toggleall parameters for setting insets internal fonts.
14374 (SetFont): Freeze the undo as we may change fonts in Insets and
14375 all this change should be inside only one Undo!
14377 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14378 setting font's in insets as for them we have the SetFont function!
14380 2001-05-15 Juergen Vigna <jug@sad.it>
14382 * text2.C (ClearSelection): to be sure we REALLY don't have any
14385 * tabular.C (TeXCellPreamble): fixed the left border problem for
14388 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14390 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14393 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14395 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14396 LFUN_BREAKPARAGRAPH.
14398 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14399 help test to "internal only", similar for LFUN_INSERT_URL
14401 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14402 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14403 auto_region_delete and deadkeys.
14405 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14408 * LColor.C: remove some dead entries, tidy a little
14410 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14412 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14414 (Dispatch): implement LFUN_ESCAPE
14416 * commandtags.h: add LFUN_ESCAPE
14418 * LyXAction.C (init): add entry for LFUN_ESCAPE
14420 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14421 Remove commented code.
14422 (insertNote): moved here
14423 (open_new_inset): moved here
14425 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14428 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * kbmap.C (findbinding): clean it up and make it work correctly.
14432 * lyx_main.C (init): do not pass argc and argv as parameters
14434 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14436 * buffer.C: fix path for OS/2 & Win32
14440 * lyx_main.C: Added os:: class.
14442 * os2_defines.h: update
14444 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14446 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14447 better by trying again with reduced state.
14449 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14451 * lyxrc.C (read): print error about invalid key sequence only when
14452 debugging (because not all latinX keysyms are known to some X
14455 * kbsequence.C (getiso): add a few std:: qualifiers
14456 (getiso): comment out extra return statement.
14458 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14460 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14462 (Dispatch): enhance the accent inset a bit. (not perfect)
14464 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14468 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14470 * bufferlist.C (emergencyWrite): fix assert() call
14472 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14474 * text.C (InsertChar): Added trivial patch to only send the "you
14475 can not do multiple spaces this way" message once during a
14478 2001-05-08 Baruch Even <baruch@lyx.org>
14480 * Makefile.am: Changed order of libraries to get LyX to link properly
14481 with the gnome frontend.
14483 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14485 * LaTeXFeatures.h: add a std:: qualifier
14487 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14489 * paragraph.C (String): use stringstream
14491 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14493 * paragraph.C (writeFile): remove footflag arg
14495 * buffer.C (makeLaTeXFile): use stringstream
14496 (latexParagraphs): remove footnot gurba
14498 * LaTeXFeatures.C (getPackages): use stringstream
14499 (getMacros): likewise
14500 (getTClassPreamble): likewise
14501 (getFloatDefinitions): new method
14503 * paragraph.C (writeFile): reindent
14506 * WorkArea.h: revert the xpos + etc changes.
14508 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14510 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14512 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14513 (pasteSelection): likewise
14514 * text2.C (CreateUndo): likewise
14516 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14518 * minibuffer.C (peek_event): temporarily reduce the functionality
14519 of the minibuffer (to allow args on lfuns)
14521 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14522 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14524 * buffer.C (readInset): add compability reading of old float
14525 lists, add reading of new style float list.
14526 (readInset): avoid reevaluation of inscmd.getCmdName()
14527 (getLists): reindent
14529 * MenuBackend.C (MenuItem): implement parsing of
14530 md_floatlistinsert and md_floatinsert.
14531 (expand::LastFiles): move initalizaton of iterators out of loop,
14532 avoid reevaluation.
14533 (expand::Documents): introduce typdedef vector<string> Strings,
14535 (expand::ExportFormats): introduce typedef vector<Format const *>
14536 Formats, and use it.
14537 (expand): implement FloatListInsert and FloatInsert.
14539 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14540 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14541 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14543 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14545 (Dispatch::LFUN_FLOAT_LIST): implement
14547 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14549 * LaTeX.C (run): Fix problem with --export code.
14551 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14553 * BufferView.[Ch] (workarea): removed.
14554 (getClipboard) new method; wrapper for workarea()->getClipboard()
14556 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14559 * WorkArea.h (width, height, xpos, ypos): These methods all
14560 returned the dimensions of the work_area sub-area of WorkArea,
14561 resulting in a position error if the WorkArea were resized. Now
14562 return the dimensions of the entire WorkArea.
14564 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14566 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14568 * LaTeX.C (deplog): correct the syntax of regex reg1
14570 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14572 * undo.C: remove !NEW_INSETS cruft
14574 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14576 * text2.C: remove !NEW_INSETS cruft
14578 * text.C: remove !NEW_INSETS cruft
14580 * tabular.C: remove !NEW_INSETS cruft
14582 * spellchecker.C: remove !NEW_INSETS cruft
14584 * lyxtext.h: remove !NEW_INSETS cruft
14586 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14588 * lyxfunc.C: remove !NEW_INSETS cruft
14590 * lyxfind.C: remove !NEW_INSETS cruft
14592 * lyx_cb.C: remove !NEW_INSETS cruft
14594 * figureForm.C: remove !NEW_INSETS cruft
14596 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14598 * buffer.[Ch]: remove !NEW_INSETS cruft
14600 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14602 * CutAndPaste.C: remove !NEW_INSETS cruft
14604 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14606 * BufferView2.C: remove !NEW_INSETS cruft
14608 * BufferView.h: remove !NEW_INSETS cruft
14610 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14612 * Lsstream.h: include LString.h before the sstream headers to
14613 fix problem with gcc 2.95.3 and lyxstring
14615 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14617 * lyx_main.C: add using directives when needed for C functions
14618 declared in std:: namespace.
14620 2001-04-27 Juergen Vigna <jug@sad.it>
14622 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14623 (SetHeightOfRow): comment out the update call should not be needed!
14625 2001-04-13 Juergen Vigna <jug@sad.it>
14627 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14628 (LyXTabular): tried to minimize operator= operations (and realized
14629 hopfully Lars wish).
14631 2001-04-27 Juergen Vigna <jug@sad.it>
14633 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14635 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14637 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14639 * buffer.C (readInset): hack to make listof algorithm work
14641 * BufferView_pimpl.C: hack to make listof algorithm work
14643 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14645 * LyXAction.C: removed all !NEW_INSETS cruft
14646 (init): moved lfun_item in method
14648 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14650 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14652 * BufferView2.C (theLockingInset): white space.
14654 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14656 * minibuffer.C: include <iostream>
14658 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14660 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14662 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14664 * text.[Ch] (TransposeChars): new method
14666 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14668 * call message directly through LyXView instead of through LyXFunc
14669 * BufferView2.C: adjust
14670 * BufferView_pimpl.C: adjust
14671 * FontLoader.C: adjust
14673 * bufferview_funcs.C: adjust
14674 * converter.C: adjust
14675 * figureForm.C: adjust
14676 * importer.C: adjust
14678 * lyx_gui_misc.C: adjust
14679 * lyxfunc.C: adjust
14682 + more files in subdirs
14684 * lyxparagraph.h (size): move up int file
14687 * adjust all uses of Assert to lyx::Assert.
14689 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14690 lyxfunctional in namespace lyx
14691 * layout.C (hasLayout): ditto
14694 (delete_layout): ditto
14695 (NumberOfClass): ditto
14696 * converter.C (GetFormat): ditto
14701 * bufferlist.C (getFileNames): ditto
14702 (emergencyWriteAll): ditto
14705 * MenuBackend.C (hasSubmenu): ditto
14708 * BufferView_pimpl.C (getInsetByCode): ditto
14710 2001-04-18 Juergen Vigna <jug@sad.it>
14712 * vspace.C (asLatexString): fixed the 100% problem.
14714 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14716 * lyxfunc.C (Dispatch):
14718 * minibuffer.h: add a few std:: qualifiers
14720 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14722 * minibuffer.[Ch]: reimplement so that commands is initiated and
14723 run from lyxfunc, simplified som handling, and made the completion
14724 and history code for complete. wip.
14726 * lyxfunc.C (processKeySym): call message
14727 (miniDispatch): new temporary method
14728 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14729 (LFUN_MESSAGE): implement
14730 (LFUN_MESSAGE_PUSH): implement
14731 (LFUN_MESSAGE_POP): implement
14732 (initMiniBuffer): the initial/defualt minibuffer message.
14734 * lyxfont.[Ch]: inline some more getters
14736 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14738 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14740 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14741 (AutoSave): use LFUN_MESSAGE
14742 (Reconfigure): ditto
14744 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14746 * figureForm.C: use LFUN_MESSAGE
14748 * converter.C (runLaTeX): use LFUN_MESSAGE
14750 * bufferview_funcs.C: use LFUN_MESSAGE
14752 (changeDepth): ditto
14754 * bufferparams.h: use boost::
14756 * bufferlist.h: inherit privately from noncopyable
14758 * bufferlist.C (loadLyXFile): remove some commented code.
14760 * buffer.C (runChktex): use LFUN_MESSAGE
14762 * ShareContainer.h: inherit privately from noncopyable
14764 * ParagraphParameters.[hC] (depth): inline it.
14766 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14768 (message): new method
14769 (messagePush): ditto
14770 (messagePop): ditto
14771 (show): init minibuffer
14772 (showState): direct call
14774 * LaTeX.[Ch]: inherit privately from noncopyable
14775 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14776 instead of WriteStatus.
14778 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14780 * BufferView_pimpl.C (buffer): don't init minibuffer
14781 (workAreaButtonPress): use LFUN_MESSAGE
14782 (workAreaButtonRelease): ditto
14783 (savePosition): ditto
14784 (restorePosition): ditto
14785 (MenuInsertLyXFile): ditto
14786 (workAreaExpose): don't init minibuffer
14787 (update): remove commented code, simplify
14789 * BufferView2.C (openStuff): use LFUN_MESSAGE
14790 (toggleFloat): ditto
14793 (copyEnvironment): ditto
14794 (pasteEnvironment): ditto
14799 (updateInset): remove some commented code
14801 * lastfiles.h: inherit privately from noncopyable
14804 * lyx_main.h: ditto
14806 * lyxlex_pimpl.h: ditto
14808 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14809 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14810 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14812 * LyXAction.h: inherit privately from noncopyable, add methods
14813 func_begin, func_end, returning iterators to the func map.
14815 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14816 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14817 (func_begin): new method
14818 (func_end): new method
14820 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14822 (copySelection): ditto
14823 (pasteSelection): ditto
14825 * BufferView.C: whitespace change
14826 * BufferView.h: inherit privately from noncopyable
14828 2001-04-16 Allan Rae <rae@lyx.org>
14830 * tabular-old.C (l_getline):
14831 * spellchecker.C (sc_check_word):
14832 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14833 an unrecognised preprocessor directive. So ensure they're wrapped.
14835 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14837 * src/exporter.C (Export): Give an error message when path to file
14840 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14842 * LaTeX.C (deplog): Always check that foundfile exists.
14844 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14847 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14849 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14851 * tabular.[Ch] (getLabelList): implement new method
14853 * minibuffer.h: comment ouf setTiimer
14855 * minibuffer.C (ExecutingCB): constify res
14856 (peek_event): constify s
14857 (Set): constify ntext
14858 (Init): constify nicename
14860 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14862 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14863 (savePosition): use two params to Minibuffer::Set
14864 (restorePosition): ditto
14866 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14868 * lyx_main.C: include language.h
14870 * Makefile.am (lyx_main.o): add language.h
14872 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * CutAndPaste.C: include gettext.h
14880 * lyxfont.h: remove old hack with ON and OFF.
14883 * lyxfont.h: do not include language.h...
14888 * bufferview_funcs.C:
14894 * paragraph.C: ... but do it here instead
14896 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14898 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14900 * tabular.C: small reformat
14902 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14905 (BreakParagraph): ditto
14906 (SetOnlyLayout): ditto
14909 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14912 * lastfiles.C: removed most using decl, add std:: where needed
14914 * buffer.C: ws changes
14916 * MenuBackend.C (class compare_format): put into anon namespace
14917 (expand): constify label, names, action, action2
14920 * text.C (SingleWidth): constify font
14921 (IsBoundary): constify rtl2
14922 (GetVisibleRow): constify ww
14924 * LaTeX.C (deplog): constify logfile
14926 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14928 (workAreaExpose): constify widthChange, heightChange
14930 * lyxrow.C (par): moved
14933 * lyxrow.h: as inlines here
14935 * lyxfont.h (shape): moved from lyxfont.C
14936 (emph): moved from lyxfont.C
14938 * lyxfont.C (LyXFont): use initialization list for all
14940 (shape): move to lyxfont.h as inline
14941 (emph): move to lyxfont.h as inline
14944 2001-04-04 Juergen Vigna <jug@sad.it>
14946 * vspace.C: had to include stdio.h for use of sscanf
14948 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14951 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14952 independent of xforms.
14954 2001-04-02 Juergen Vigna <jug@sad.it>
14956 * spellchecker.C: fixed namespace placing!
14958 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14960 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14961 the LyXParagraph * is 0.
14963 2001-03-29 Juergen Vigna <jug@sad.it>
14965 * vspace.C: added support for %, c%, p%, l%.
14966 (stringFromUnit): added helper function.
14967 (asLatexString): changed to give right results for the %-values.
14969 * buffer.C: convert the widthp in a width%.
14971 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14973 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14976 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14977 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14979 * lyx_cb.[Ch]: see above.
14981 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14985 * lyx.[Ch]: replaced by figure_form.[Ch].
14989 * lyxfunc.C: changed headers associated with above changes.
14991 2001-03-27 Juergen Vigna <jug@sad.it>
14993 * BufferView_pimpl.C: set the temporary cursor right!
14995 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14997 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14999 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15001 * LString.h: removed "using std::getline"!
15003 * BufferView_pimpl.C (Dispatch): changes due to changes in
15004 InsetInclude::Params.
15006 * buffer.C (tag_name): removed redundant break statements as they were
15007 producing lots of warnings with my compiler.
15009 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15011 * LString.h: add "using std::getline" when using the real <string>.
15013 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15015 * buffer.C: removed bitset usage.
15016 PAR_TAG moved to an anonymous name space.
15017 (tag_name): new funtion, also in the anonymous namespace.
15018 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15019 (makeDocBookFile): clean code. Completed transition from string arrays
15021 (SimpleDocBookOnePar): code clean.
15023 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15025 * tabular.C: add some comments.
15027 2001-03-22 Juergen Vigna <jug@sad.it>
15029 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15030 compatibility read a bit and fixed bug with minipage in different
15033 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15035 * buffer.C (pop_tag): removed.
15036 (push_tag): removed.
15037 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15038 array replaced with vector. Added support for CDATA sections.
15039 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15041 (makeDocBookFile): XML conformant declaration of CDATA section,
15042 fixed bug related to <emphasis> in the first paragraph char.
15043 (sgmlOpenTag): exclude empty tags.
15044 (sgmlCloseTag): ditto.
15046 * buffer.h (pop_tag): removed.
15047 (push_tag): removed.
15049 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15051 * language.h (Languages): added size_type and size().
15053 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15055 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15056 response on compability reading of minipages. One probliem is that
15057 the old usage of minipages was «flertydig»
15059 * several files here and in subdirs: don't use static at file
15060 scope use anon namespaces instead.
15062 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15064 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15065 LaTeX output. This is necessary for Literate document
15068 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15070 * buffer.C: insert hfill when needed.
15072 * tabular.C (l_getline): use string::erase, small whitespace change.
15074 * BufferView_pimpl.C: try the anon namespace.
15075 * WorkArea.C: ditto
15077 2001-03-16 Juergen Vigna <jug@sad.it>
15079 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15080 otherwise it won't open options-dialogs.
15082 * buffer.C: honor pextraWidth(p) on converting minipages.
15084 * tabular.C (l_getline): changed the functions to strip trailing \r.
15086 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15088 * BufferView_pimpl.C:
15089 * minibuffer..C: added "using SigC::slot" declaration.
15091 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15093 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15099 * paragraph.C: ditto
15101 * lyxtext.h: NO_PEXTRA
15103 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15105 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15106 * ParameterStruct.h: ditto
15107 * ParagraphParameters.h: ditto
15108 * lyxparagraph.h: ditto
15110 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15112 * buffer.C: add compability for minipage alignment.
15113 (latexParagraphs): remove unwanted pextra check.
15115 * several files: remove CXX_WORKING_NAMESPACES
15117 * buffer.C (pop_tag): tie is in namespace boost
15119 * BufferView.h: noncopyable is in namespace boost
15121 * lyx_main.h: ditto
15124 * lastfiles.h: ditto
15125 * bufferlist.h: ditto
15126 * ShareContainer.h: ditto
15128 * LyXAction.h: ditto
15131 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15133 * Merging changes from BRANCH_MVC back into HEAD.
15135 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15137 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15139 * BufferView_pimpl.C: change from intl.C
15143 * Makefile.am: move combox.*
15149 * intl.C: remove dialog (covered by prefs)
15151 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15153 * lyxfunc.C (Dispatch): removed redundant break statement.
15155 2001-03-14 Juergen Vigna <jug@sad.it>
15157 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15159 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15161 * buffer.C: add hack to fix compability reading of minipages.
15163 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15165 * buffer.C (getLists): Cleanup.
15167 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15169 * lyxfont.C (update): don't honor toggleall on font size.
15171 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15175 * Makefile.am: moved to frontends/xforms/
15179 * BufferView_pimpl.C: changes for moved mathpanel
15181 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15183 * gettext.h: fix gettext_init() in --disable-nls
15185 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15187 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15189 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15192 * lyx.h: strip external form
15194 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15196 * BufferView_pimpl.C: add comment, destroySplash()
15198 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15200 * BufferView_pimpl.C:
15204 * lyxfunc.C: use re-worked insetinclude
15206 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15208 * buffer.C: add using std::stringstream.
15210 * lyx_cb.C: readd using std::ios.
15212 * buffer.C: add using std::map.
15214 * BufferView_pimpl.C: add using std::vector.
15216 * ShareContainer.h: add std:: to swap.
15218 * buffer.h: add some typedefs
15219 * buffer.C (getLists): use them
15220 (getLists): renamed from getTocList.
15221 add a counter for the different float types and use it in the
15223 (getLists): use the same counter for the NEW_INSETS and the "non"
15226 * lyx_cb.h: remove unused items, includes, using etc.
15228 * ShareContainer.h: remove some commented code, add more comments
15229 and "documentation".
15231 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15233 * buffer.C (getTocList): make the list also when NEW_INSETS is
15236 * buffer.h: remove TocType
15238 * buffer.C (getTocList): change to return a map<string,
15239 vector<TocItem> >, implement for dynamic number of list.
15241 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15242 * text2.C (PasteSelection): adjust
15243 * CutAndPaste.C (pasteSelection): adjust
15245 * FloatList.C (FloatList): update from the new_insets branch.
15246 * Floating.[Ch]: ditto
15247 * LaTeXFeatures.C: ditto
15249 * lyxlex_pimpl.C: ditto
15251 * paragraph.C (Last): remove when NEW_INSETS is defined.
15253 * other file: changes because of the above.
15255 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15257 * lyxparagraph.h: rename next to next_, previous to previous_,
15258 make them private for NEW_INSETS. Rename Next() to next(),
15259 Previous() to previous().
15261 * other files: changes because of the above.
15263 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15266 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15269 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15271 * main.C (main): pass lyx_localedir to gettext_init().
15273 * gettext.h: remove locale_init and gettext_init macros
15275 * gettext.C (locale_init): new function
15276 (gettext_init): new function
15278 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15281 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15283 * Moved credits to frontends:
15284 * credits.[Ch]: removed
15285 * credits_form.[Ch]: removed
15286 * lyx_gui_misc.C: remove credits stuff
15289 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15291 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15293 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15294 unneeded destructor.
15296 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15297 a standalone pointer again.
15299 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15301 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15307 * ToolbarDefaults.C:
15316 * BufferView_pimpl.C: use new file dialog in GUII
15319 * lyx_cb.C: remove LayoutsCB to Toolbar
15321 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15323 * ShareContainer.h (get): add std:: qualifier
15325 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15327 * ShareContainer.h: define a proper ShareContainer::value_type
15328 type (and use typename to please compaq cxx)
15330 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15332 * lyxparagraph.h: move serveral local vars to
15333 ParameterStruct/ParagraphParameters., use ShareContainer in
15334 FontTable., make vars in FontTable private and add getter and
15337 * paragraph.C: changes because of the above.
15339 * lyxfont.h: remove copy constructor and copy assignment. (the
15340 default ones is ok), move number inside FontBits. move inlines to
15343 * lyxfont.C: add number to initializaton of statics, move several
15344 inlines here. constify several local vars. some whitespace
15345 cleanup. Dont hide outerscope variables.
15347 * Spacing.h: add two new constructors to match the set methods.
15349 * ShareContainer.h: new file, will perhaps be moved to support
15351 * ParameterStruct.h: new file
15353 * ParagraphParameters.h: new file
15355 * ParagraphParameters.C: new file
15357 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15358 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15360 * BufferView_pimpl.C: ParagraphParameter changes.
15361 * buffer.C: Likewise.
15362 * bufferview_funcs.C: Likewise.
15363 * text.C: Likewise.
15364 * text2.C: Likewise.
15366 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15368 * lyxfind.C (LyXReplace): do not redefine default argument in
15370 (IsStringInText): ditto
15371 (SearchForward): ditto
15372 (SearchBackward): ditto
15374 2001-03-06 Juergen Vigna <jug@sad.it>
15376 * lyxfind.C (IsStringInText): put parentes around expressions.
15378 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15380 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15382 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15384 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15386 * stl_string_fwd.h: add comment
15388 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15391 * tabular.C: remove unused DocBook methods
15397 killed DO_USE_DEFAULT_LANGUAGE
15399 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15401 * lyx_gui.C: do not include language.h.
15403 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15404 arguments in function implementation.
15406 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15408 * BufferView_pimpl.C: add <ctime>
15410 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15412 * BufferView_pimpl.C: add using std::find_if
15414 2001-02-27 José Matos <jamatos@fep.up.pt>
15416 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15419 2001-02-11 José Matos <jamatos@fep.up.pt>
15421 * buffer.C (makeDocBookFile): command styles now have a parameter as
15422 "title" by default.
15424 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15426 * layout_forms.[Ch]: removed
15427 * lyx_cb.[Ch]: out character
15428 * lyx_gui.C: out character
15429 * lyx_gui_misc.C: out character
15430 * bufferview_funcs.C: : out character,
15431 added toggleall as parameter in ToggleAndShow
15433 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15435 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15437 * text2.C (SetCurrentFont): Disable number property at boundary.
15439 2001-02-26 Juergen Vigna <jug@sad.it>
15441 * lyxfunc.C (getStatus): added a string argument override function so
15442 that this is correctly called from LyXFunc::Dispatch if it contains a
15443 do_not_use_argument which is used!
15444 (Dispatch): added check for "custom" export and call appropriate func.
15446 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15448 * lyxrc.C: Add language_command_local, language_use_babel and
15449 language_global_options.
15451 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15453 * buffer.C (makeLaTeXFile): Use language_use_babel and
15454 language_global_options.
15456 2001-02-23 Juergen Vigna <jug@sad.it>
15458 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15459 which works with LyXText and putted it inside BufferView. Here now we
15460 only call for that part the BufferView::Dispatch() function.
15462 * BufferView.C (Dispatch): added.
15464 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15465 functions which needs to use a LyXText over from LyXFunc.
15466 (MenuInsertLyXFile): added
15467 (getInsetByCode): added
15468 (moveCursorUpdate): added
15469 (static TEXT): added
15471 2001-02-22 Juergen Vigna <jug@sad.it>
15473 * BufferView_pimpl.C (update): call a status update to see if LyXText
15476 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15478 * vc-backend.C (revert): implement for CVS
15479 (getLog): implement for CVS
15481 2001-02-20 Juergen Vigna <jug@sad.it>
15483 * text2.C (ClearSelection): added BufferView param for inset_owner call
15485 * lyxfunc.C (TEXT): added this function and use it instead of
15486 directly owner->view()-text of getLyXText().
15488 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15490 * src/layout_forms.C: out preamble
15491 * src/layout_forms.h: out preamble
15492 * src/lyx_cb.C: out preamble
15493 * src/lyx_cb.h: out preamble
15494 * src/lyx_gui.C: out preamble
15495 * src/lyx_gui_misc.C: out preamble
15496 * src/lyxfunc.C: connect with guii preamble
15498 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15500 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15502 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15504 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15505 whether to run bibtex.
15507 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15509 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15511 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15513 * Makefile.am (lyx_SOURCES): removed bibforms.h
15515 * vspace.h: doxygen
15517 * text.C (GetVisibleRow): make several local vars const
15519 * tabular.C: small cleanup.
15521 * lyxserver.C (callback): use compare instead of strncmp
15523 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15524 inlines to after class or to paragraph.C
15526 * lyxfont.h: remove friend operator!=
15528 * converter.h: move friend bool operator< to non friend and after
15531 * combox.h: small cleanup
15533 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15534 to inlines after class def.
15536 * buffer.C (pop_tag): use string operations instead of strcmp
15538 * bmtable.c: doxygen, small cleanup
15540 * LaTeX.h: remove friend operator==
15542 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15554 * BufferView_pimpl.C:
15555 * BufferView.[Ch]: remove cruft
15557 2001-02-14 Juergen Vigna <jug@sad.it>
15559 * lyxfunc.C: removed #if 0 unused code
15561 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15563 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15565 * text2.C (SetSelection): added a BufferView * parameter
15567 2001-02-13 Juergen Vigna <jug@sad.it>
15569 * lyxfunc.C (Dispatch): fixed protected blank problem.
15570 * BufferView2.C (protectedBlank): added LyxText * parameter.
15572 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15573 (AppendColumn): same as above for column_info.
15575 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15576 (moveCursorUpdate): use a LyXText param for support of InsetText.
15578 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15579 (tripleClick): ditto
15581 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15583 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15585 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15587 * text2.C (SetSelection): set correct update status if inset_owner
15588 (ToggleFree): ditto
15590 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15592 * tabular.C: remove some commented code.
15594 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15596 * BufferView_pimpl.C: call hideSplash()
15598 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15601 * bibforms.h: remove
15604 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15605 add LFUN_CHILD_CREATE
15607 * counters.h: fix tiny typo
15612 * lyx.C: move splash to frontends/xforms/
15614 * lyx_gui_misc.C: move Include and Bibform to frontends
15616 * lyxvc.h: clarify comment
15618 * vspace.C: tiny housekeeping
15620 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15622 * text.C (PrepareToPrint): RTL Fix.
15624 * paragraph.C (GetUChar): New method.
15625 (String): Use GetUChar.
15627 * buffer.C (asciiParagraph): Use GetUChar.
15629 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15631 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15633 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15636 * buffer.C: rename to getLogName(), handle
15637 build log / latex log nicely
15639 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * MenuBackend.h: remove support for reference menuitem type.
15644 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15646 * BufferView_pimpl.C: housekeeping
15647 * BufferView_pimpl.h:
15652 * minibuffer.h: move Timeout GUI-I
15654 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15656 * lyxrc.C (read): Update converters data-structures.
15658 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15660 * LaTeX.h (operator!=): add operator != for Aux_Info
15662 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15664 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15666 * LaTeXLog.C: deleted, useful code moved to Buffer
15669 * buffer.C: new function getLatexLogName()
15675 * lyxfunc.C: use frontends for LaTeX and VC logs
15677 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15679 * LaTeX.h: yet another std:: that Allan forgot.
15681 * Variables.C (set): renamed from isset(), because this clashes
15682 with some HP-UX macros (grr).
15684 2001-02-06 Allan Rae <rae@lyx.org>
15686 * LaTeX.h: Another bug fix. Missing std:: this time.
15688 2001-02-04 Allan Rae <rae@lyx.org>
15690 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15691 floats problem. I've left it commented out because it's not quite
15692 correct. It should also test that the current object is a table or
15693 figure inset. But I haven't gotten around to figuring out how to do
15694 that. I *think* it'll be something like: "table" == inset.type()
15696 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15699 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15701 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15702 all the citation/databases/styles in the auxilary file.
15703 (run): Rerun latex if there was a babel language error.
15705 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15707 * text.C (Backspace): Preserve the font when changing newline char
15709 (BreakParagraph): If the cursor is before a space, delete the space.
15711 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15713 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15715 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15716 new argument (code).
15717 (ChangeCitationsIfUnique): New method.
15719 * paragraph.C (GetPositionOfInset): Handle bibkey.
15721 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15723 * BufferView_pimpl.h: change type of Position::par_pos to
15724 LyXParagraph::size_type.
15726 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15728 * BufferView_pimpl.C (savePosition, restorePosition): Write
15729 messages to minibuffer.
15731 2001-01-28 José Matos <jamatos@fep.up.pt>
15733 * buffer.C (makeDocBookFile): adds support for document language.
15734 A silly restriction on the name of LatexCommand types where removed.
15735 Added support for CDATA sections, allows to chars unescaped, used
15736 among others in code, to avoid escape < and >.
15738 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15740 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15741 saved positions instrad of a stack. Furthermore, a position is
15742 stored using paragraph id/paragraph position.
15744 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15745 Remove LFUN_REF_BACK.
15747 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15749 * converter.C (dvipdfm_options): New method.
15751 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15753 * vspace.C (isValidLength): Fix for empty input string.
15755 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15757 * LyXAction.C (init): change description of LFUN_FIGURE to
15760 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15762 * LaTeX.C: add using directive
15764 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15766 * MenuBackend.C (expand): Fix the sorting of the formats.
15768 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15770 * lyx_main.C: tiny error message fix
15772 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15775 calling fl_initialize(). This fixes the problem with ',' as
15776 decimal separator in text files.
15778 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15780 * trans.C (process): Fix the keymap bug.
15782 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15784 * LaTeX.C (scanAuxFiles): New method. Provides support for
15785 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15786 (scanLogFile) Scan for "run BibTeX" messages.
15788 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15789 OT1 font encoding. Also, load the aecompl package if the ae
15792 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15794 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15796 * texrow.C (increasePos): turn two error messages into debug
15799 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15801 * LaTeX.C (scanAux): Handle the \@input macro.
15802 (runBibTeX): Use scanAux().
15804 * language.C (latex_options_): New field.
15806 * LaTeXFeatures.C (getMacros): Add language macros.
15808 * buffer.C (makeLaTeXFile): Small fix.
15810 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15812 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15814 * text2.C: add a using directive.
15816 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15821 * lyxfunc.C: kill LyXBell.
15823 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15825 * text.C (IsBoundary): Remove the error message
15827 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15829 * lyxrc.C (setDefaults): Correct initialization value for
15832 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15834 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15837 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15838 and GotoNextNote().
15840 * src/LyXAction.C: Added reference-next.
15842 * text.C (InsertChar): Use contains instead of strchr.
15844 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15846 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15848 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15849 alignment commands (when needed).
15851 * text.C (InsertChar): Add ':' to number separator chars.