2 2004-08-13 André Pönitz <poenitz@gmx.net>
4 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
6 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
9 2004-08-12 André Pönitz <poenitz@gmx.net>
11 * text3.C: take out the 'cursor right' form insertInset and only
12 do it in those places when it is really needed. Fixes crash on C-m...
14 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
18 * BufferView_pimpl.C (setBuffer): initialize the current font of
19 the underlying LyXText
21 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * kbsequence.C (print): use UI native formatting for menu
26 * text.C (insertChar): call Paragraph::insertChar with a font
29 * paragraph.C (insertInset, insertChar): the version that takes a
30 LyXFont argument is now a wrapper around the other one (the
31 opposite used to be true).
33 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
34 argument. Font setting is done in Paragraph now.
36 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * outputparams.h: add new members intitle and lang.
40 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
41 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
43 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
45 * text3.C (dispatch): remove special handling of button 4 and 5,
46 it is now taken care of in the frontend code.
48 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
50 * Spacing.h: add <string> (STLPort compile fix)
52 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
54 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
56 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
58 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
61 * converter.C (showMessage): inherit from unary_function, make
64 * buffer.C (writeFile): initialize retval
66 * InsetList.h: rename private variable list to list_
67 * InsetList.[Ch]: adjust accordingly.
69 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
71 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
72 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
73 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
74 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
75 * ParagraphParameters.C, LaTeXFeatures.C: replace
76 "support/std_sstream.h" with <sstream>
78 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
80 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
81 * lyxsocket.C (LyXServerSocket): ditto
82 (serverCallback): ditto
84 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
86 * LaTeXFeatures.C: check release date when loading jurabib.
88 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
90 * lyxserver.C (startPipe): call register_socket_callback
91 (endPipe): call unregister_socket_callback
93 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
95 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
96 (LyXServerSocket): register the callback
97 (LyXServerSocket): unregister the callback
99 (serverCallback): improve error checking and setup the callbacks.
100 (dataCallback): change arg to fd.
101 (writeln): new func (copied fro the client socket) used for server
103 (LyXDataSocket): simplify
104 (~LyXDataSocket): close ann unregiser callback
105 (server): delete function
106 (fd): delete function
107 (readln): small changes, improve some std::string usage
108 (writeln): constify a bit
110 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
115 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * BufferView_pimpl.C (setBuffer): set the layout combox value only
118 after it has been populated
120 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
122 * text2.C (insertInset): move cursor when inserting inset.
124 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * kbmap.C (findbindings): a couple of new methods. returns a
127 container of kb_sequence objects. The real work is done by the
128 private recursive version
129 (printbindings): uses findbindings to print out a bracketed list
130 of bindings (renamed from findbinding).
132 * MenuBackend.C (binding): use kb_keymap::findbindings
134 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
136 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
138 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
140 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
142 * paragraph.C (isWord): return true on insets that report
145 * text.C (getWord): use Paragraph::isWord to decide what is in a
146 word and what is not; fix bug 1609.
148 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
150 * tex-strings.C: add "none" to string_paperpackages[], fixes
151 off-by-one-error in the paperpackage selection.
154 * tex-strings.[Ch]: char const * string[n]
155 -> char const * const string[]
157 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
160 command, return early.
162 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
164 * debug.h: add DEBUG to enum and fix size of ANY.
166 * debug.C: add support for Debug::DEBUG
167 (showTags): cast errorTags.level to unsigned int
169 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
170 (redoCurrentBuffer): ditto
171 (updateScrollbar): ditto
172 * cursor.C (dispatch): ditto
173 * text2.C (setLayout): ditto
175 (updateCounters): ditto
177 (deleteEmptyParagraphMechanism): ditto
179 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
181 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
182 annotations to cleanup the Makefile slightly.
184 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * lyxrc.C: do not set user_email to a default value but use empty
187 instead. The entry used to be translated, which does not work
188 since at the point where lyxrc is constructed there is no
189 translation service available
191 * messages.C (getLocaleDir): remove and use directly
192 lyx_localedir() instead
194 2004-06-02 Angus Leeming <leeming@lyx.org>
196 Fix crash caused by dereferencing null pointer 'exportdata' in
197 OutputParams by creating a new ExportData variable on the heap,
198 storing it in a boost::shared_ptr.
199 The crash was triggered when generating an Instant Preview
200 of an external inset.
202 * Makefile.am: add outputparams.C
204 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
205 (c-tor): allocate memory to it.
207 * exporter.C (c-tor): associated changes.
209 2004-06-01 Angus Leeming <leeming@lyx.org>
211 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
212 contains data before calling isInset(0). (Bug 1513.)
214 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
216 * exporter.C (checkOverwrite): new method
217 * exporter.C (copyFile): new method
218 * exporter.C (Export): copy referenced files to the document dir
219 * exporter.[Ch]: new class ExportedFile
220 * exporter.[Ch]: new class ExportData. Contains currently the
221 names of referenced external files
222 * outputparams.h: add exportdata member.
224 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
226 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
229 2004-05-19 Angus Leeming <leeming@lyx.org>
234 * lyxfunc.C: small changes due to the introduction of namespace
235 lyx::frontend and the moving of namespace biblio to lyx::biblio.
237 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
239 * text3.C (dispatch): supress update when only moving the cursor
240 * cursor.C (selHandle): remove commented code
242 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
244 * paragraph.C (startTeXParParams): correct column count
245 * CutAndPaste.C (pasteSelection): remove const_cast
246 * output_docbook.C (docbookParagraphs): remove const_cast
247 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
248 const_cast and return ParagraphList::const_iterator
249 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
250 * output_plaintext.C (writeFileAscii): remove const_cast
251 * paragraph.[Ch] (simpleTeXOnePar): make const
252 * paragraph_funcs.C (outerPar): use const iterators
253 * paragraph_pimpl.C (validate): use const iterators
254 * text.C (setHeightOfRow): use const iterators
256 2004-05-17 Angus Leeming <leeming@lyx.org>
259 * LyXAction.C (init): new LFUN_INSET_REFRESH.
261 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
262 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
263 if the citation engine has changed.
265 2004-05-14 José Matos <jamatos@lyx.org>
267 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
268 if the textclass does not provide it. Have it different for sgml and
270 support the language of document.
271 * output_docbook.C (docbookParagraphs):
272 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
273 first anchor as the id of the paragraph, remove special case code.
274 * sgml.C (escapeChar): escape only < & >.
276 2004-05-14 Angus Leeming <leeming@lyx.org>
278 * bufferparams.h: move biblio::CiteEngine enum here to minimize
279 dependencies on src/frontends/controllers/biblio.h. Define a
280 CiteEngine_enum wrapper class to enable the enum to be forward
283 2004-05-12 Angus Leeming <leeming@lyx.org>
285 * buffer.C: up LYX_FORMAT to 234.
286 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
287 use_numerical_citations with a single biblio::CiteEngine cite_engine
289 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
291 2004-05-13 José Matos <jamatos@lyx.org>
294 * converter.C (Converter, readFlags): add xml member.
295 * outputparams.h: add XML flavor.
296 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
298 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
300 * lyxfunc.C (dispatch):
301 (getStatus): fix handling of LFUN_SEQUENCE
303 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * debug.C (showLevel): do not forget the end-of-line marker
307 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * kbmap.C (read): do not stop parsing a bind file when an error
312 2004-04-29 Angus Leeming <leeming@lyx.org>
317 * text2.C: wrap a bunch of #warning statements
318 inside #ifdef WITH_WARNINGS blocks.
320 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
322 * buffer.C: increment format to 233.
324 2004-04-28 Angus Leeming <leeming@lyx.org>
326 * BufferView_pimpl.C:
329 s/updateToolbar()/updateToolbars()/
330 s/Toolbar.h/Toolbars.h/
332 2004-04-28 Angus Leeming <leeming@lyx.org>
334 * BufferView.[Ch] (c-tor):
335 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
336 No longer passes these data to the WorkArea generator.
338 2004-04-28 Angus Leeming <leeming@lyx.org>
340 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
342 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
344 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
346 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * output_latex.C (TeXEnvironment): make sure that there is a line
349 break before \end{foo} for the last paragraph of a document
350 (TeXOnePar): if the paragraph is at the end of the document (or
351 inset) and the language has to be reset, then make sure that the
352 line break is _before_ the language command, not after (fixes bug
353 1225); also make sure that the language reset command is the first
354 thing after the paragraph (to ensure proper nesting of
355 environments and thus fix bug 1404)
357 2004-04-21 John Levon <levon@movementarian.org>
360 * ToolbarBackend.C: make "name" be a programmatic name
361 and a gui_name field.
363 * lyxfunc.C: display the minibuffer on M-x
365 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
370 2004-04-19 Angus Leeming <leeming@lyx.org>
372 * BufferView_pimpl.C (setBuffer): changed preview interface.
374 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
377 2004-04-19 John Levon <levon@movementarian.org>
379 * BufferView_pimpl.C:
380 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
382 2004-04-05 Angus Leeming <leeming@lyx.org>
384 * text.C (redoParagraphs): add call to updateCounters(), thereby
385 fixing the missing "Figure #:" label from the caption of a
388 2004-04-13 Angus Leeming <leeming@lyx.org>
390 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
391 cursor is clicked out of an inset.
393 2004-04-13 Angus Leeming <leeming@lyx.org>
395 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
396 than an InsetOld one.
398 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
400 * format.[Ch]: add editor to Format
401 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
402 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
404 2004-04-08 André Pönitz <poenitz@gmx.net>
406 * metricsinfo.h: remove PainterInfo::width member
408 2004-04-08 Angus Leeming <leeming@lyx.org>
410 * lyx_sty.C (boldsymbol_def): modify so that it outputs
411 "\providecommand" rather than "\newcommand", thereby preventing
412 clashes with packages that define "\boldsymbol" themselves.
415 2004-04-08 Angus Leeming <leeming@lyx.org>
417 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
418 thereby squashing an unnecessary warning.
420 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
422 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
425 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
427 * BufferView.C (setCursor): call redoParagraph (some insets could
429 (putSelectionAt): remove the 'double update' trick
431 * BufferView_pimpl.C (fitCursor): call refreshPar
432 (workAreaDispatch): remove an uneeded update call
433 (dispatch): remove some manual update calls
435 * cursor.[Ch]: remove cached_y_, updatePos
436 (selHandle): set noUpdate when appropriate
438 * lyxfunc.C (dispatch): track if we need an update
440 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
442 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
443 (paintSelection): cheap optimization, do not call cursorX when not
445 (paintPars): change signature
448 (paintTextInset): adjust
452 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * lengthcommon.C: compilation fix: remove explicit array size from
455 unit_name[] and friends
457 2004-04-05 Angus Leeming <leeming@lyx.org>
459 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
461 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
462 present only for the preferences dialog.
463 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
465 2004-04-05 Angus Leeming <leeming@lyx.org>
467 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
468 to enable the frontends to export changes to lyxrc correctly.
470 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
472 2004-04-07 André Pönitz <poenitz@gmx.net>
474 * cursor.[Ch] (selClear, adjust): remove math
476 * cursor_slice.C: more agressive assert
479 * BufferView_pimpl.C: rework mouse event dispatch
486 2004-04-05 André Pönitz <poenitz@gmx.net>
488 * cursor.[Ch] (valign, halign...): remove unneeded functions
490 2004-04-05 Angus Leeming <leeming@lyx.org>
492 * lyxlength.[Ch] (unit_name et al.): const-correct.
494 2004-04-05 Angus Leeming <leeming@lyx.org>
496 * BufferView_pimpl.C:
505 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
507 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
509 * text3.C (getStatus): add LFUN_BEGINNINGBUF
511 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
513 * lyxfind.C: add a couple of inTexted() tests + other small fixes
514 * BufferView_pimpl.[Ch] (getStatus)
515 * BufferView.[Ch] (getStatus): add
516 * lyxfunc.C (getStatus): move lfuns handled in
517 BufferView::dispatch to te function above
518 * Cursor.C (setSelection): set selection() = true
520 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
522 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
524 2004-03-31 Angus Leeming <leeming@lyx.org>
526 * lyxfunc.C (dispatch): Fall through to the generic
527 Dialogs::show("preamble").
529 2004-03-31 Angus Leeming <leeming@lyx.org>
531 * lyxfunc.C (dispatch): Fall through to the generic
532 Dialogs::show("spellchecker").
534 2004-03-31 Angus Leeming <leeming@lyx.org>
536 * lyxfunc.C (getStatus, dispatch): changed invocation of the
539 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
544 * insetiterator.[Ch]:
549 * undo.[Ch]: s/DocumentIterator/DocIterator/g
551 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
553 * BufferView.C (setCursor, putSelectionAt): call edit to open the
554 insets where we are putting the cursor.
556 2004-03-31 Angus Leeming <leeming@lyx.org>
559 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
561 * lyxrc.[Ch] (read, write): overloaded member functions taking
562 a std::[io]stream arguments.
564 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
566 2004-03-31 Angus Leeming <leeming@lyx.org>
568 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
569 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
571 * lyxtextclass.C (load): if the text class couldn't be loaded, then
572 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
574 2004-03-31 Angus Leeming <leeming@lyx.org>
576 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
577 the LFUN_ALL_INSETS_TOGGLE code.
579 2004-03-30 Angus Leeming <leeming@lyx.org>
581 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
582 has died. Fall through to the generic Dialogs::show("document").
584 2004-03-30 Angus Leeming <leeming@lyx.org>
587 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
588 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
590 * lyxfunc.C (getStatus, dispatch): define the actions for these
591 lfuns. Little more than a cut and pste job from ControlDocument.C
593 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
595 2004-03-30 Angus Leeming <leeming@lyx.org>
598 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
599 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
601 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
602 open/closed state of ollapsable insets. Usage:
604 all-inset-toggle <state> <name>, where
605 <state> == "open" || "closed" || "toggle" and
606 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
608 * lyxtext.h, text2.C (toggleInset): removed.
610 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
611 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
612 now passes LFUN_INSET_TOGGLE to the found inset.
614 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
615 is now invoked as "all-insets-toggle toggle branch".
617 2004-03-30 Angus Leeming <leeming@lyx.org>
621 * pariterator.[Ch]: added/corrected header blurb.
623 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
625 * dociterator.[Ch]: add an inset_ member
626 (backwardPos): implemented
627 (backwardPos, forwardPos): use inset_ when the stack is empty.
628 (doc_iterator_begin, doc_iterator_end): implemented
629 * pariterator.[Ch]: adjust, add begin, end
630 * insetiterator.[Ch]: adjust, add begin, end
634 * BufferView_pimpl.C:
635 * CutAndPaste.C: adjust
637 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
639 * buffer.C: increment file format to 232.
640 * LaTeXFeatures.C: add bibtopic package.
641 * bufferparams.[Ch]: param \use_bibtopic.
643 * lyxrc.[Ch]: add lyxrc bibtex_command
644 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
646 * buffer.C: increment file format to 231.
648 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
650 * dociterator.C: implement forwardPar
651 * iterators.[Ch]: remove, replaced by
652 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
654 * BufferView_pimpl.C:
657 * bufferview_funcs.C:
663 * Makefile.am: adjust
665 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
667 * CutAndPaste.C (pasteSelection): fix 2 crashes
668 (eraseSelection): fix a crash
669 * paragraph_funcs.C: remove a warning
671 2004-03-28 Angus Leeming <leeming@lyx.org>
674 * LyXAction.C (init): new LFUN_PRINT.
676 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
678 2004-03-27 Angus Leeming <leeming@lyx.org>
681 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
683 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
685 2004-03-27 Angus Leeming <leeming@lyx.org>
687 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
688 insetlist always contains non-null pointers to insets.
690 2004-03-26 Angus Leeming <leeming@lyx.org>
692 * src/BufferView_pimpl.C:
696 * src/output_plaintext.C:
697 * src/outputparams.h:
698 * src/paragraph_funcs.C:
702 * src/frontends/controllers/ControlErrorList.C:
703 * src/frontends/gtk/FileDialogPrivate.C:
704 * src/frontends/gtk/GPainter.C:
705 * src/frontends/gtk/GToolbar.C:
706 * src/frontends/qt2/QRef.C:
707 * src/mathed/math_scriptinset.C: squash compiler warnings.
709 2004-03-26 Angus Leeming <leeming@lyx.org>
711 * ispell.C (LaunchIspell::start):
712 * lyx_cb.C (AutoSaveBuffer::start):
713 invoke run(DontWait) rather than runNonBlocking().
715 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
717 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
719 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
721 * kbsequence.C (print): adjust
723 * kbmap.C (printKeySym): rename and change signature
724 (printKey): use LyXKeySym::print()
726 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
728 * undo.C: add using std::advance to compile for stlport
730 2004-03-24 Angus Leeming <leeming@lyx.org>
732 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
733 it leads to a crash when no buffer is present.
735 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
736 Martin Vermeer <martin.vermeer@hut.fi>
738 * lyxfunc.C (dispatch):
739 * bufferparams.C (readToken): use the new LColor::setColor
741 * LColor.[Ch] (setColor): new version that takes two strings as
742 argument and creates a new color entry if necessary
744 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
746 * buffer.C (makeLaTeXFile): if the main latex file that is
747 processed is usually a subdocument of some master, then pretend
748 for a while that it is actually the master
750 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
752 * buffer.C (getLabelList):
753 (getBibkeyList): use getMasterBuffer()
754 (getMasterBuffer): new method. Returns the main document in the
755 case where one is using included documents.
757 2004-03-25 André Pönitz <poenitz@gmx.net>
761 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
763 * ParagraphList_fwd.h: change ParagraphList to a std::vector
765 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
766 text*.C over here. Rename namespace CutAndPaste to lyx::cap
768 * ParameterStruct.h: merge with ParagraphParameters
770 * lyxtext.h: remove LyXText::parOffset() and getPar()
772 * text3.C: Remove all 'manual' update calls. We do now one per user
773 interaction which is completely sufficient.
777 * BufferView_pimpl.C:
780 * ParagraphParameters.[Ch]:
792 * output_docbook.[Ch]:
794 * output_linuxdoc.[Ch]:
795 * output_plaintext.[Ch]:
797 * paragraph_funcs.[Ch]:
798 * paragraph_pimpl.[Ch]:
806 * frontends/controllers/ControlDocument.C:
807 * frontends/controllers/ControlErrorList.C:
808 * frontends/controllers/ControlSpellchecker.C:
811 * insets/insetbase.h:
812 * insets/insetbibitem.C:
814 * insets/insetbranch.C:
815 * insets/insetcaption.C:
816 * insets/insetcharstyle.C:
817 * insets/insetcharstyle.h:
818 * insets/insetcollapsable.C:
819 * insets/insetcollapsable.h:
821 * insets/insetfloat.C:
822 * insets/insetfoot.C:
823 * insets/insetmarginal.C:
824 * insets/insetnote.C:
825 * insets/insetoptarg.C:
826 * insets/insettabular.C:
827 * insets/insettext.C:
828 * insets/insettext.h:
829 * insets/insetwrap.C:
830 * mathed/math_mboxinset.C:
831 * mathed/math_nestinset.C:
832 * mathed/math_scriptinset.C:
833 * mathed/math_scriptinset.h:
836 2004-03-24 Angus Leeming <leeming@lyx.org>
838 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
839 deal with any child processes that have finished but are waiting to
840 communicate this fact to the rest of LyX.
842 2004-03-24 Angus Leeming <leeming@lyx.org>
844 64-bit compile fixes.
846 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
847 (c-tor): pass lyx::pos_types rather than ints.
849 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
852 * text.C (Delete): compile fix.
853 (getPar): ensure that function declaration is the same as that in
856 2004-03-23 Angus Leeming <leeming@lyx.org>
858 * ispell.C (LaunchIspell):
859 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
860 a boost::shred_ptr rather than a std::auto_ptr.
862 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
864 * lyxfunc.C (getStatus): handle read-only buffers correctly;
865 handle LFUN_FILE_INSERT_*
867 * lyxrc.C (setDefaults, getDescription, output, read):
868 * lyxrc.h: remove ps_command
870 2004-03-22 Angus Leeming <leeming@lyx.org>
872 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
873 Ensure that error_handler is processed once only and that all data
874 is saved before attempting to output any warning messages.
876 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
878 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
880 * tabular.C (TeXRow): crash fix (from Kayvan and André)
882 2004-03-19 André Pönitz <poenitz@gmx.net>
884 * cursor.[Ch] (reset): take main text inset as argument
887 * BufferView_pimpl.C: adjust
889 * paragraph.[Ch]: fix completely broken operator=()
891 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
893 * LColor.C (getFromLyXName): make sure that the color name is used
896 2004-03-17 Angus Leeming <leeming@lyx.org>
899 * LyXAction.C (init): remove LFUN_FORKS_KILL.
901 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
902 dialog and to kill a forked process.
904 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
906 * text2.C (setCursorFromCoordinates): fix font problem
908 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
910 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
911 bogus "rebuild cursor" code
913 2004-03-11 André Pönitz <poenitz@gmx.net>
915 * buffer.[Ch]: use InsetText instead of LyXText as container for
918 * dociterator.[Ch]: drop the BufferView * member which is not needed
919 anymore after the change to buffer.C
925 * BufferView_pimpl.[Ch]:
927 * cursor_slice.[Ch]: adjust
929 * text3.C: fix bug in mathDispatch
931 2004-03-08 André Pönitz <poenitz@gmx.net>
933 * undo.[Ch]: use 'StableDocumentIterator' as base for
936 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
939 * bufferparams.[Ch]: add jurabib support and param.
941 * LaTeX.C: add FIXME/comment.
943 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
945 * buffer.C: increment file format to 230.
947 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
949 * cursor.C (dispatch): avoid infinite loops
951 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
953 * rowpainter.C (paintSelection): fix x coordinates
955 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
957 * text.C (rowBreakPoint): fix breaking before displayed insets
959 2004-03-01 André Pönitz <poenitz@gmx.net>
961 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
963 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
967 * BufferView_pimpl.C:
975 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
981 * BufferView_pimpl.C: rename textwidth -> maxwidth,
982 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
984 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
986 * Bidi.[Ch] (computeTables): const correctness
987 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
988 fill_hfill, fill_label_hfill and x from Row
989 * lyxtext.h: prepareToPrint returns a RowMetrics
990 * rowPainter.C: adjust
991 * text.C (prepareToPrint): use width, not textWidth. adjust
992 (redoParagraphInternal, cursorX): adjust
993 * text2.C (getColumnNearX): adjust
994 (init): put a default value to the top LyXText::width
996 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
998 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1000 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1002 * lyxtext.h: add FontIterator class
1004 * text.C (FontIterator, operator*, operator->, operator++): add
1005 (rowBreakPoint, setRowWidth): adjust (fixing a
1008 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1010 * BufferView_pimpl.C (workAreaDispatch): allow also
1011 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1013 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1015 * text.C (rowBreakPoint): fix a bug showing with very large insets
1017 2004-02-25 André Pönitz <poenitz@gmx.net>
1020 * cursor.[Ch]: move some mathed specific code to mathed
1022 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1024 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1025 use_tempdir in preferences
1026 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1028 * lyx_main.C: ensure that tempdir is valid
1029 * lyxlex.h: correct typo
1030 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1031 * paragraph.[Ch] (isMultiLingual): make const
1032 * cursor.[Ch] (openable): make const
1034 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1036 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1038 2004-02-20 André Pönitz <poenitz@gmx.net>
1040 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1042 * cursor.[Ch]: prepare for localized getStatus()
1048 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1050 2004-02-20 André Pönitz <poenitz@gmx.net>
1052 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1054 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1056 * text2.C (setCursorFromCoordinates): switch to absolute coords
1058 (cursorDown): adjust
1059 * text3.C (dispatch): adjust
1061 2004-02-16 André Pönitz <poenitz@gmx.net>
1063 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1066 * cursor_slice.[Ch]: remove unneeded acessor function
1068 * lyxtext.h: rename rtl() to isRTL()
1076 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1078 * rowpainter.C (paintSelection): coord fix
1080 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1082 * Spacing.C: compile fix
1084 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1086 * cursor.C (dispatch): restore current_ before returning
1088 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1090 * text2.C (cursorUp, cursorDown): fix coords
1093 2004-02-12 André Pönitz <poenitz@gmx.net>
1098 * text3.C: add LCursor & parameter to most cursor movement functions
1099 remove usage of LyXText::cursorRow() and cursorPar()
1101 * cursor.[Ch]: add textRow() needed members
1104 * BufferView_pimpl.C:
1107 * BufferView_pimpl.C: adjust
1109 2004-02-11 André Pönitz <poenitz@gmx.net>
1113 * BufferView_pimpl.C: shift undo/redo handling
1115 * cursor.[Ch]: fix mathed crash
1118 * lyxtext.h: move selectionAsText to LCursor
1126 * rowpainter.C: fix excessive drawing
1128 2004-02-06 André Pönitz <poenitz@gmx.net>
1131 * BufferView_pimpl.[Ch]:
1132 * text3.C: move some text specific LFUN handling
1134 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1136 * text3.C (checkInsetHit): adjust coords
1137 * text2.C (getColumnNearX): adjust coords
1138 (edit): adjust coords
1139 * text.C (getRowNearY): add two asserts
1141 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1144 * format.C: add using std::distance to compile on gcc 2.95/stlport
1146 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1148 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1150 2004-02-04 André Pönitz <poenitz@gmx.net>
1152 * BufferView.[Ch] (insertInset):
1153 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1158 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1160 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1161 on the default clause of the switch
1162 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1163 wasn't catched by LCursor::dispatch
1165 2004-02-03 André Pönitz <poenitz@gmx.net>
1168 * cursor.[Ch]: some additional asserts
1170 * undo.[Ch]: remove LyXText dependency in interface
1174 * lyxtext.h (firstPar, lastPar): remove dead functions
1179 * paragraph.[Ch]: adjust
1181 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1183 * lyxfind.C (find): fix argument order in call to ::find
1185 2004-02-02 André Pönitz <poenitz@gmx.net>
1187 * cursor.[Ch]: remove direct access to anchor
1189 * text.C: remove findText() hack
1191 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1193 * iterators.[Ch] (lockPath): remove in favour of...
1194 * BufferView.[Ch] (setCursor): this addition
1195 * BufferView.C (putSelectionAt): adjust
1196 * undo.C (performUndoOrRedo): adjust
1197 * lyxfunc.C (dispatch): adjust
1199 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1201 * iterators.C (lockPath): add a missing slice
1202 * undo.C (performUndoOrRedo): remove redundant positioning code
1204 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1206 * vc-backend.C (scanMaster): ";" -> ';'
1208 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1210 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1211 std::binary_function
1213 * lyxtextclass.C (compare_name): rename to...
1214 (LayoutNamesEqual): ...this
1216 * lyxlex_pimpl.C (compare_tags): inherit from
1217 std::binary_function, put back into anon namespace
1219 * lyxfind.C (MatchString): inherig from std::binary_function
1220 (findChange): use empty() istead of !size()
1222 * format.C (FormatNamesEqual): new functor
1229 * converter.C (compare_Converter): rename to...
1230 (ConverterEqual): ...this, and fixup a bit.
1231 (getConverter): use it, and make function const
1232 (getNumber): use it, and make function const
1236 * bufferlist.C: add using boost::bind
1238 * MenuBackend.C (MenuNamesEqual): new functor
1239 (hasMenu): use it, and make function const
1240 (hasSubmenu): use nested bind to get rid of compare_memfun.
1242 2004-01-30 André Pönitz <poenitz@gmx.net>
1244 * BufferView_pimpl.C:
1247 * cursor_slice.[Ch]:
1250 * paragraph_funcs.C:
1251 * paragraph_funcs.h:
1255 * text3.C: move some of the edit(x,y) handling to the insets
1256 some coordinate changes.
1258 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1260 * text.C: add using statements for std::advance and std::distance
1262 * paragraph.C: add using statement for std::distance
1264 * lyxfind.C: add using statement for std::advance
1266 * cursor.C (region): remove std:: from swap
1267 (openable): use nucleus in stead of operator->
1269 * BufferView.C: add using statements for std::distance and std::swap
1271 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1273 * iterators.C: Remove the pimple, move the needed structures to
1274 the header file. Create accessor for the positions stack.
1275 (asPosIterator): remove function
1277 * PosIterator.C (PosIterator): move constructors to top of file
1278 (PosIterator): reimplement the constructor taking a ParIterator in
1280 (setFrom): new function
1281 (operator!=): inline it
1283 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1285 * lyxfind.C (replaceAll): use std::advance
1287 * iterators.h: inherit from std::iterator.
1289 * PosIterator.C (advance, distance): remove
1290 * PosIterator.h: interit from std::iterator.
1292 2004-01-26 André Pönitz <poenitz@gmx.net>
1295 * BufferView_pimpl.[Ch]:
1299 * bufferview_funcs.C:
1309 * output_linuxdoc.C:
1310 * output_plaintext.C:
1312 * paragraph_funcs.[Ch]:
1313 * paragraph_pimpl.[Ch]:
1319 * text3.C: more IU: dumps most of the rest of the mathcursor
1320 implementation into cursor.[Ch]; "globalize" a bit of it.
1322 2004-01-25 Angus Leeming <leeming@lyx.org>
1324 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1326 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1328 * LaTeXFeatures.h: add nice_ and nice() const
1329 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1331 2004-01-20 André Pönitz <poenitz@gmx.net>
1334 * BufferView_pimpl.C:
1336 * bufferview_funcs.C:
1338 * cursor_slice.[Ch]:
1349 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1350 LCursor and mathcursor parts to LCursor and InsetBase.
1352 2004-01-15 André Pönitz <poenitz@gmx.net>
1354 * cursor_slice.[Ch]: add a few covienience functions
1356 * funcrequest.[Ch]: remove BufferView * member
1358 * BufferView_pimpl.C:
1365 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1367 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1369 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1370 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1372 2004-01-13 André Pönitz <poenitz@gmx.net>
1375 * lyxtext.h: hide cursor and selection anchor behind accessor function
1378 * BufferView_pimpl.[Ch]:
1380 * bufferview_funcs.C:
1390 * cursor_slice.[Ch]: some integer type changes for inset unification
1392 * lyxcursor.[hC]: remove, it's CursorSlice now.
1395 * BufferView_pimpl.[Ch]:
1396 * bufferview_funcs.C:
1402 * textcursor.[Ch]: adjust
1404 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1406 * text2.C (undoSpan): add and use
1407 * text.C (breakParagraph): use undoSpan (fix bug 578)
1410 2004-01-08 Angus Leeming <leeming@lyx.org>
1412 * BufferView_pimpl.C (MenuInsertLyXFile):
1413 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1414 * lyxfunc.C (menuNew, open, doImport):
1415 FileFilterList change to the FileDialog open and save functions.
1417 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1419 * ShareContainer.h: make isEqual and isUnique adaptable
1421 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1423 2004-01-07 Angus Leeming <leeming@lyx.org>
1426 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1428 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1430 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1431 functions replacing find, replace and replaceAll.
1433 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1434 LFUN_WORDFIND(FORWARD|BACKWARD).
1436 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1438 * text.C (breakParagraph): remove an outdated #warning
1440 2004-01-07 André Pönitz <poenitz@gmx.net>
1442 * lyxfind.C: somewhat clearer logic
1444 * text.C: prevent crash in cursorX on unitialized row cache
1446 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1448 * lyxcursor.[Ch] (operator>): add
1449 * textcursor.C (selStart, selEnd): use std::min and std::max
1451 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1453 * Chktex.C: include boost/format.hpp
1455 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1457 * InsetList.C: replace functor MathcIt with adaptable functor
1459 (insetIterator): modify accordingly
1461 * BranchList.h: move the BranchNamesEqual functor here from...
1462 * BranchList.C: ... to here
1464 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1466 (add): replace a finding loop with std::find_if.
1468 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1470 * output_docbook.C: moving LatexParam functionality into
1473 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1475 * buffer.C: increment format to 229.
1477 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1480 * lyx_sty.[Ch]: remove minipageindent_def
1486 * text3.C: remove LFUN_INSET_MINIPAGE
1488 2003-12-28 Angus Leeming <leeming@lyx.org>
1490 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1492 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1494 * text2.C (setParagraph): fix off-by-one crash
1496 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1498 * output_docbook.C: header stuff for AGU
1500 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1502 * text2.C (redoCursor): remove
1505 * BufferView_pimpl.C: remove calls to redoCursor and
1506 setCursor(cursor.par(), cursor.pos()) all around
1508 2003-12-15 Angus Leeming <leeming@lyx.org>
1510 * buffer.C: up the format to 228.
1512 2003-12-15 André Pönitz <poenitz@gmx.net>
1514 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1519 * BufferView_pimpl.C:
1528 2003-12-15 Angus Leeming <leeming@lyx.org>
1530 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1531 than getFromGUIName to manipulate the color.
1533 2003-12-14 Angus Leeming <leeming@lyx.org>
1535 * BranchList.[Ch]: minimize the API.
1536 (Branch::getBranch, getColor): now return a 'const &'.
1537 (Branch::setSelected) now returns a bool set to true if the
1538 selection status changes.
1539 (BranchList::clear, size, getColor, setColor, setSelected,
1540 allBranches, allSelected, separator): removed.
1541 (BranchList::find): new functions, returning the Branch with
1543 (BranchList::add, remove): return a bool indicating that
1544 the operation was successful.
1546 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1547 new InsetBranch::isBranchSlected member function.
1549 * LColor.[Ch]: mimimize the API.
1550 (fill): renamed as addColor and made private.
1551 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1552 versions of these functions taking a string arg have been removed.
1554 * bufferparams.C (readToken):
1555 * lyxfunc.C (dispatch):
1556 * lyxrc.C (read): changes due to the altered BranchList and
1559 * factory.C (createInset, readInset): changes due to altered
1562 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1565 * lyxfunc.C: remove insetminipage. "minipage-insert"
1566 now produces a frameless minipage box inset.
1568 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1570 * textcursor.[Ch] (selStart,selEnd): add new methods
1571 remove selection::start, end, use LyXCursor::operator<
1572 * lyxcursor.[Ch] (operator<): add
1573 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1574 * BufferView.[Ch] (unsetXSel): add
1575 * text2.C (clearSelection): use unsetXSel,adjust
1578 * rowpainter.C: adjust
1579 * bufferview_funcs.C (put_selection_at): adjust
1581 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1583 * BufferView_pimpl.C: small coord. correction
1585 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1587 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1588 dragging over the splash screen.
1590 2003-12-11 Angus Leeming <leeming@lyx.org>
1592 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1593 as it is now handled in LyXText::dispatch.
1595 * text3.C (doInsertInset): remove a level of nesting.
1597 2003-12-11 Angus Leeming <leeming@lyx.org>
1599 * factory.C (createInset): changes due to the changed interface to
1600 InsetCommandMailer::string2params.
1602 2003-12-10 Angus Leeming <leeming@lyx.org>
1604 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1605 'dialog-show-new-inset <inset name>'
1607 2003-12-10 Angus Leeming <leeming@lyx.org>
1609 * buffer.C: up the format to 227.
1611 * factory.C: the box inset is now identified simply by 'Box'.
1613 2003-12-10 Angus Leeming <leeming@lyx.org>
1615 * buffer.C: up the format to 226.
1617 * factory.C: the note inset is now identified simply by 'Note'.
1619 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1621 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1622 when a pit is enough. Standarize a couple of loops.
1624 2003-12-05 Angus Leeming <leeming@lyx.org>
1626 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1627 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1628 data to the re-worked "log" dialog.
1630 2003-12-03 André Pönitz <poenitz@gmx.net>
1636 * paragraph_funcs.C:
1638 * text2.C: use Inset::getText instead of Inset::getParagraph
1640 2003-12-03 André Pönitz <poenitz@gmx.net>
1644 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1645 InsetText::read() as LyXText::read()
1647 2003-12-02 Angus Leeming <leeming@lyx.org>
1649 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1650 type. Add a comment in the implementation that the function uses
1651 the stream's bad() function rather than fail() as the std::streams
1654 2003-12-02 André Pönitz <poenitz@gmx.net>
1656 * lyxlex.[Ch]: make interface more similar to std::stream
1658 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1660 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1662 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1664 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1666 * vspace.[Ch]: remove VSpace::NONE
1668 2003-12-01 André Pönitz <poenitz@gmx.net>
1671 * lyxtext.h: move ParagraphList member to LyXText
1672 rename LyXText::ownerParagraphs to LyXText::paragraph
1675 * bufferview_funcs.C:
1685 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1687 * undo.C: fix cursor positioning
1689 2003-12-01 John Levon <levon@movementarian.org>
1691 * BufferView_pimpl.C: fix a crash on exit with
1694 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1696 * BranchList.C: fix setSelected() method.
1698 2003-11-28 André Pönitz <poenitz@gmx.net>
1700 * ParagraphParameters.[Ch]:
1701 * ParameterStruct.h: remove space above/below from Paragraph to
1704 * BufferView_pimpl.C:
1710 * paragraph_funcs.C:
1716 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1718 * factory.C: Syntax change for CharStyles
1720 2003-11-28 André Pönitz <poenitz@gmx.net>
1725 * buffer.[Ch]: move LyXText member
1727 2003-11-28 André Pönitz <poenitz@gmx.net>
1729 * BufferView.[Ch]: make LyXText * text a private member
1731 * BufferView_pimpl.C:
1742 * output_plaintext.C: cleanup
1744 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1747 * lyxtextclass.[Ch]: parametrize SGML document header
1749 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1752 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1755 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1757 * text2.C (setFont): rework using PosIterator (no more recursive)
1758 (setCharFont): no more needed
1759 (setLayout): no more selection cursors fiddling (done by redoCursor)
1760 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1761 destroy remaining ones)
1763 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1765 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1767 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1770 * text3.C: adjust + re-allow multi par depth changes
1771 * textcursor.C: simplify a bit
1773 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1779 * src/output_docbook.C:
1780 * src/output_latex.C:
1785 * src/text2.C: Introducing a number of tags parametrizing various
1786 XML formats that we may want to support
1788 2003-11-25 André Pönitz <poenitz@gmx.net>
1790 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1792 * lyxtext.h (leftMargin/rightMargin): simplify interface
1799 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1801 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1802 master file to any child files. Fixes bug 546.
1804 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1806 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1808 2003-11-24 André Pönitz <poenitz@gmx.net>
1810 * rowpainter.C: simplification
1812 * text2.C (updateCounters): remove call to redoParagraph on
1813 changed labels as this is far too expensive.
1815 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1817 * converter.C (convert): fix a crash: this function gets
1818 called with buffer == 0 from importer code.
1820 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1822 * text3.C (cursorPrevious): make sure that we do not compare
1823 iterators form different containers.
1826 * rowpainter.C (paintSelection): make sure that we do not compare
1827 iterators from different containers.
1829 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1830 iterators from different ParagraphList containers.
1833 * text2.C (LyXText): change order of initialization slightly
1834 (operator=): new function. copy all variables except cache_par_
1835 (moveUp): make sure that we do not compare iterators from
1836 different ParagraphList constainers.
1839 * text.C (firstPar): new function
1840 (lastPar): new function
1841 (endPar): new function
1843 * lyxtext.h: move things around and group public functions, public
1844 variables, private functions, private variables
1846 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1848 * factory.C: change call to InsetERT constructor to avoid
1849 additional invocation of method status
1850 * text2.C (toggleInset): remove redundant update() call
1851 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1852 instead of a Bufferview pointer
1854 2003-11-21 André Pönitz <poenitz@gmx.net>
1856 * rowpainter.C: simplification
1858 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1860 * text3.C (dispatch): make possible to extend a word/row selection
1863 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1865 * lyxtext.h: x0_,y0_ -> xo_,yo_
1866 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1867 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1868 * rowpainter.C (paintRows): paint full paragraphs
1870 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1872 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1875 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1877 * lyxtext.h: add x0_, y0_
1878 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1879 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1881 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1883 * text2.C (setCursorIntern): move the x_target update here *
1884 * text3.C: change some bv() to true/false in calls to
1885 cursorUp/Down/Right/Left
1886 * cursor.C: use helper function.
1888 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1890 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1891 * paragraph_funcs.[Ch]: correct comment
1892 * rowpainter.C: do not paint selections away from bv->cursor()
1893 Fix a long standing selection painting bug.
1894 * text3.C: generalize mouse-selection code to LyXTexts other that
1896 * textcursor.C: do not use y coords if we can use par offsets
1898 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1900 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1901 cursor position after e.g. inset insert)
1903 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1905 * lyxfind.C (replace): adjust to locking removal + some
1908 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1910 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1913 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1916 * output_docbook.C: XML sanitation: new layout
1917 parameters InnerTag and CommandDepth
1919 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1921 * BufferView_pimpl.C:
1923 * text3.C: Fix the insertion and modification of button-style
1926 2003-11-13 André Pönitz <poenitz@gmx.net>
1928 * InsetList.[Ch]: remove deleteLyXText
1930 * paragraph.[Ch]: cache beginOfBody position
1935 * text3.C: remove superfluous update() calls
1939 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1941 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1942 * BufferView.C (fitLockedInsetCursor): remove
1943 * cursor.[Ch] (getDim): add
1944 * text.C (getRowNearY): add faster version
1945 * text3.C: remove some update calls
1947 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1959 * text3.C: The Character Style /XML short element patch.
1961 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1964 * factory.C: Small step to solving 'unable to insert some insets'
1967 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1969 * cursor.[Ch] (updatePos): new function for updating the y
1970 position of the tip inset
1971 * bufferview_funcs.C (put_selection_at):
1972 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1974 2003-11-11 André Pönitz <poenitz@gmx.net>
1976 * text.C: remove big comment on invalid Paragraph pointers as it is
1979 2003-11-11 André Pönitz <poenitz@gmx.net>
1981 * text_funcs.[Ch]: merge with ...
1989 * Makefile.am: remove text_funcs.[Ch]
1991 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1993 * cursor.C (getPos): return absolute cached y coord
1995 * BufferView_pimpl.C (fitCursor): new simplistic code
1996 (workAreaDispatch): add a fitCursor call
1998 2003-11-10 André Pönitz <poenitz@gmx.net>
2001 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2003 2003-11-10 André Pönitz <poenitz@gmx.net>
2005 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2006 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2007 indicate that the cursor needs to leave an inset
2009 * lyxtext.h: remove inset locking
2011 * cursor.[Ch]: re-implement functionality provided by inset locking
2014 * BufferView_pimpl.[Ch]:
2016 * bufferview_funcs.[Ch]:
2028 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2030 * PosIterator.[Ch]: replace the stack with a vector, add inset
2032 * iterators.[C]: adjust
2034 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2036 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2038 * paragraph_funcs.C (readParToken): put the correct id in the
2039 error item, not the id of the top paragraph
2041 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2043 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2044 * bufferview_funcs.C (put_selection_at): use the above
2046 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2048 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2050 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2052 * output_linuxdoc.h:
2053 * output_plaintext.h:
2055 * output_docbook.h: add #include statements
2057 2003-11-05 José Matos <jamatos@lyx.org>
2059 * output_docbook.[Ch]:
2060 * output_latex.[Ch]:
2061 * output_linuxdoc.[Ch]:
2062 * output_plaintext.[Ch]: New files for output formats.
2063 * output.[Ch]: New file for helper functions.
2066 * paragraph_funcs.[Ch]: output functions moved to new files.
2068 * outputparams.h: rename of latexrunparams.h
2076 * paragraph_funcs.[Ch]:
2077 * paragraph_pimpl.[Ch]:
2078 * tabular.[Ch]: rename ascii to plaintext
2079 and LatexRunParams to OutputParams.
2081 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2083 * iterators.[Ch] (text): require bv argument
2084 * undo.C (recordUndo):
2085 * lyxfunc.C (dispatch):
2086 * bufferview_funcs.C (put_selection_at): adjust
2088 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2090 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2092 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2094 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2097 2003-11-04 André Pönitz <poenitz@gmx.net>
2099 * cursor.[Ch]: restructure
2102 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2104 * iterators.[Ch] (asCursor): remove
2106 * lfuns.h: remove LFUN_INSET_EDIT
2112 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2114 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2116 * lyxfind.[Ch]: complete overhaul
2117 * BufferView_pimpl.C:
2119 * paragraph.[Ch] (insert): add
2121 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2125 * text.C: remove dead spellcheck code
2127 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * dispatchresult.h: add a val setter
2131 * cursor.C (dispatch): use a tempvar for data_[i]
2133 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2135 * PosIterator.[Ch]: compile fix
2137 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2139 * text.C (cursorPar): deactivate the cursor cache
2141 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2143 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2145 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2147 * text3.C (dispatch): adjust for new DisptchResult semantics.
2149 * lyxfunc.C (dispatch): handle update when return from
2150 Cursor::dispatch, adjust for new DispatchResult semantics.
2152 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2153 DispatchResult(true) mean to not update. Add class functions for
2154 setting dispatched and update, as well as reading.
2156 * cursor.C (dispatch): don't handle update here
2158 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2161 * trans_mgr.C: adjust
2163 * paragraph_funcs.C (readParToken): exception safety
2165 * lyxvc.h: store the vcs pointer in a scoped_ptr
2168 * lyxsocket.C (serverCallback): exception safety
2170 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2172 * ispell.C (clone): make it return a auto_ptr
2174 * factory.C (createInset): exception safety
2175 (readInset): exception safety
2177 * bufferlist.C (newBuffer): exception safety
2179 * Thesaurus.C (Thesaurus): use initialization for aik_
2181 * MenuBackend.C (expandToc): exception safety.
2183 2003-11-03 André Pönitz <poenitz@gmx.net>
2187 * bufferview_funcs.C: remove getInsetFromId()
2190 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2196 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2198 * PosIterator.C (distance, advance): new
2199 * bufferview_funcs.[Ch] (put_selection_at): new
2200 * iterators.[Ch] (lockPath): new
2202 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2204 * iterators.[Ch] (asPosIterator): added
2205 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2206 * PosIterator.[Ch]: added
2208 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2212 * cursor.C (dispatch):
2213 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2215 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2216 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2217 contructor, add a class function dispatched. Remove operator>=
2219 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2221 * debug.C: only use the default constructor for debugstream
2224 * main.C (main): include debug.h and setup the lyxerr streambuf
2227 2003-10-31 José Matos <jamatos@lyx.org>
2229 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2231 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2232 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2233 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2234 * paragraph_pimpl.C (simpleTeXSpecialC):
2235 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2236 add LatexRunParams argument.
2238 * exporter.C (Export): change call accordingly.
2240 * latexrunparams.h: add new member to take care of the other backends.
2241 2003-10-30 José Matos <jamatos@lyx.org>
2243 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2244 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2245 factorise code for paragraph output.
2247 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2250 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2252 * text3.C (dispatch):
2253 * lyxfunc.C (dispatch):
2254 * cursor.C (dispatch):
2255 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2257 * dispatchresult.h: make the dispatch_result_t ctor explicit
2259 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2262 * buffer.C: small refactoring of docbook stuff
2264 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2266 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2269 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2272 operator dispatch_result_t, and operators for == != and >=
2274 * cursor.C (dispatch): adjust for operator dispatch_result_t
2275 removal. comment out call to update
2277 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2279 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2290 * dispatchresult.h: new file, DispatchResult broken out of
2293 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2295 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2297 * text.C (rowBreakPoint): put a hack inside #if 0
2299 2003-10-28 André Pönitz <poenitz@gmx.net>
2303 * paragraph_funcs.C:
2306 * text2.C: general cleanup (lots of small stuff)
2308 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2310 * text2.C (cursorEnd): simple fix to the "end key goes to one
2311 before the end on last row" bug
2313 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2315 * text.C (backspace): fix the "zombie characters"
2317 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2319 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2321 2003-10-27 André Pönitz <poenitz@gmx.net>
2323 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2325 * factory.C: handle new InsetPagebreak, InsetLine
2327 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2328 and move handling into new InsetPagebreak, InsetLine
2330 * BufferView_pimpl.C:
2332 * ParagraphParameters.C:
2333 * ParameterStruct.h:
2338 * paragraph_funcs.C:
2339 * paragraph_pimpl.C:
2345 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2348 * lyxrow_funcs.[Ch]:
2354 * text3.C: remove lastPos uses in favour of Row::endpos
2356 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2358 * undo.C (performUndoOrRedo): fix two crashes by setting a
2359 cursor by hand and reordering some calls. Use bv->lockInset instead
2360 of inset->edit because the latter loses cursor information
2362 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2364 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2366 (rowBreakPoint): fix width. change point to point + 1.
2367 Add a missing check.
2369 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2372 * lyxfunc.C: fix (at least partly) the problems
2373 with the Nav menu and headers inside branch insets
2376 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2378 * paragraph.C (getChar): add strong asserts
2380 * lyxrow_funcs.C (lastPos): remove hideous hack
2382 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2383 (fill): adjust to that (avoid an infinite loop)
2385 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2387 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2389 2003-10-23 André Pönitz <poenitz@gmx.net>
2391 * RowList_fwd.h: change list<> to vector<> to gain speed
2392 after suggestion from Alfredo
2394 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2396 * lyxtext.h: move the bidi stuff from here...
2399 * Bidi.[Ch]: ... to here
2401 2003-10-23 André Pönitz <poenitz@gmx.net>
2404 * text.C (isLastRow, isFirstRow): new functions
2406 * paragraph.h: new width cache member
2408 * rowpainter.C: replace RowList::iterator with Row & where possible
2410 * lyxfunc.C: replace several view()->text with a single call
2412 * toc.C: fix 'unused' warning
2414 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2416 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2417 when woring with stream::pos_type
2418 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2420 2003-10-22 André Pönitz <poenitz@gmx.net>
2423 * text.C: use Row & instead of RowList::iterator
2425 * lyxrow.h: rename end() to endpos()
2431 2003-10-22 Angus Leeming <leeming@lyx.org>
2433 * buffer.[Ch] (fully_loaded): new member function, returning true
2434 only when the file has been loaded fully.
2435 Used to prevent the premature generation of previews and by the
2436 citation inset to prevent computation of the natbib-style label.
2438 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2439 templates are all set up.
2441 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2443 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2445 * text.C: fixed an "oops" in the "is a bit silly"
2448 2003-10-21 André Pönitz <poenitz@gmx.net>
2450 * FuncStatus.[Ch]: small stuff, whitespace
2452 * lyxfont.[Ch]: operator<<() for debug reasons
2456 * lyxtext.h: whitespace, spelling
2458 * paragraph.C: naming of variables
2461 * text2.C: small stuff
2464 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2466 * text.C: (1) finish off the inset display() work;
2467 (2) fix the "is a bit silly" bug (accessing char
2470 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2472 * text.C: re-introduce display() for insets, fixing the
2473 various bugs (stretch of line above, math inset
2476 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2478 * text.C (rightMargin): remove spurious semicolon
2480 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2483 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2485 * text3.C: fix one crash due to wrong cursor def
2487 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * vc-backend.C (scanMaster): make the regex static
2491 * LaTeX.C (scanAuxFile): make the regexs static
2493 * text3.C (doInsertInset, dispatch, dispatch):
2494 * text2.C (cursorUp, cursorDown):
2495 * text.C (selectNextWordToSpellcheck):
2496 * BufferView_pimpl.C (dispatch):
2497 * lyxfunc.C (dispatch): localDispatch -> dispatch
2499 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2501 * lyxsocket.C: include <cerrno>
2503 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2505 * lyxfunc.C (dispatch): remove textcache stuff
2507 * bufferlist.C (release): remove textcache stuff
2510 * TextCache.C: delete file
2511 * TextCache.h: delete file
2513 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2515 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2516 delete of the bv_->text.
2517 (resizeCurrentBuffer): remove texcache stuff
2518 (workAreaResize): ditto
2520 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2522 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2525 2003-10-16 André Pönitz <poenitz@gmx.net>
2532 * text3.C: speed up by storing y positions per paragraph plus per-row
2533 offset instead of having a 'full' y position in the row.
2535 2003-10-15 André Pönitz <poenitz@gmx.net>
2539 * undo.[Ch]: make undo aware of inner insets
2541 2003-10-14 Angus Leeming <leeming@lyx.org>
2543 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2544 static member functions LyX::ref() and LyX::cref.
2545 (lastfiles): new accessor functions for the new lastfiles_ member var.
2546 (addLyXView, views_): add a new LyXView to the list of views_.
2547 (updateInset): loop over all LyXViews to call their own updateInset
2548 member function, returning a pointer to the Buffer owning the inset.
2550 * BufferView_pimpl.C (loadLyXFile):
2551 * MenuBackend.C (expandLastfiles):
2552 * bufferlist.C (MenuWrite, QuitLyX):
2553 lastfiles is no longer a global variable.
2554 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2556 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2557 static function. Access through LyX::cref().emergencyCleanup().
2559 2003-10-14 André Pönitz <poenitz@gmx.net>
2561 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2563 * undo.[Ch]: restoring part of 'undo in insets'
2566 * undo_funcs.[Ch]: merge with undo.[Ch]
2568 * tabular.C: small cleansing stuff
2570 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2572 * paragraph_funcs.C (readParToken): report unknown insets as error
2573 boxes. Use the outer paragraph as location (also for unknown
2576 * factory.C (readInset): do not abort on reading an unknown inset.
2577 Eat it and return 0.
2579 2003-10-13 Angus Leeming <leeming@lyx.org>
2581 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2583 * lyxrc.C: displayTranslator is now a function,
2584 declared in GraphicsTypes.h.
2586 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2588 * format.C: new placeholder $$a to pass the socket address.
2590 * bufferlist.[Ch]: new function getBufferFromTmp.
2592 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2593 files in the temporary dir.
2595 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2597 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2599 * Makefile.am: add lyxsocket.[Ch].
2601 * lyx_main.C (error_handler): handle SIGPIPE.
2603 2003-10-13 André Pönitz <poenitz@gmx.net>
2605 * BufferView_pimpl.C:
2610 * undo_funcs.[Ch]: use paroffset_type instead of
2611 ParagraphList::iterators to prevent multiple conversion
2612 (and get a more robust interface)
2614 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2616 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2618 * text3.C (dispatch): ditto
2620 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2622 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2623 move the onlyfile, use onlyfile instead of foundfile in a couple
2626 * DepTable.C (update): flush the error stream a bit more
2628 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2630 * lyxserver.C (callback): adjust
2632 * lyxfunc.C (getStatus): add a missing brace in commented code
2633 (ensureBufferClean): reindent
2634 (dispatch): delete version taking a string
2636 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2638 * LaTeX.C (deplog): move found file handlig from here...
2639 (handleFoundFile): .. to new function here.
2640 (deplog): make sure to discover several files mentioned on the
2643 2003-10-10 André Pönitz <poenitz@gmx.net>
2650 * text3.C: fix some of the tabular crashes
2652 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2654 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2656 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2658 2003-10-09 André Pönitz <poenitz@gmx.net>
2660 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2663 * BufferView_pimpl.C:
2664 * bufferview_funcs.C:
2675 * undo_funcs.C: adjust
2677 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * text2.C (incrementItemDepth): new function, use a backtracking
2680 algorithm to discover the correct item depth.
2681 (resetEnumCounterIfNeeded): new function, use a backtracking
2682 algorithm to discover if counter reset is needed.
2683 (setCounter): use them. Simplify a bit. Add different labels for
2684 different item depths for itemize.
2686 * paragraph.C (Paragraph): remove initialization of enumdepth
2689 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2690 enumerate and itemize. Change the type of itemdepth to signed char.
2692 2003-10-08 André Pönitz <poenitz@gmx.net>
2694 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2699 * tabular.[Ch]: fix crash after 'row-insert'
2701 2003-10-08 Angus Leeming <leeming@lyx.org>
2703 Fix doxygen warnings.
2705 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2706 Remove CutAndPaste:: prefix from header file declaration.
2708 * LColor.h (fill): remove LColor:: prefix from declaration.
2710 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2711 use lyx::depth_type rather than Paragraph::depth_type so that
2712 header file and .C file match.
2714 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2716 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2717 * aspell.C: \file aspell_local.C -> \file aspell.C
2718 * gettext.C: \file gettext.C -> \file src/gettext.C
2719 * gettext.h: \file gettext.h -> \file src/gettext.h
2720 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2721 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2722 * text.C: \file text.C -> \file src/text.C
2724 * toc.C: move comment so that doxygen is not confused.
2726 2003-10-07 Angus Leeming <leeming@lyx.org>
2728 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2730 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2733 * aspell_local.h: add forgotten std::string's.
2735 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2742 * text3.C: The Box patch. Fancybox support, minipage, parbox
2744 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2750 * ParagraphParameters.h:
2760 * lyxtextclasslist.h:
2763 * paragraph_pimpl.C:
2764 * textcursor.h: add <string> and other small fixes to make Lars'
2765 std::string patch compile with STLport.
2767 2003-10-06 Angus Leeming <leeming@lyx.org>
2769 * LColor.h: Add missing #include <string>.
2771 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2773 * All most all file in all subdirs: Make <string> be the prefered
2774 way of getting to std::string, add using declarations.
2776 2003-10-06 André Pönitz <poenitz@gmx.net>
2778 * metricsinfo.C: initialize LyXFont before changing attribute.
2779 (fixes the 'math in \emph is upright' bug)
2781 2003-10-06 André Pönitz <poenitz@gmx.net>
2783 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2785 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2788 * paragraph_pimpl.C: Small fixes to build using STLport
2790 2003-10-02 André Pönitz <poenitz@gmx.net>
2793 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2795 2003-10-01 André Pönitz <poenitz@gmx.net>
2797 * factory.C: assert early
2799 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2801 * lyx_main.C: remove the global debug object
2803 * debug.h: adjust for new debugstream
2805 * debug.C: adjust for new debugstream and keep the global debug
2808 2003-09-22 Angus Leeming <leeming@lyx.org>
2810 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2811 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2812 an incomplete class LyXFont.
2814 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2816 * factory.C: bug fix in branches
2818 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * lyxfunc.C (processKeySym): adjust
2822 (dispatch): change arg name from ev to func, adjust
2823 (sendDispatchMessage): ditto
2825 * lyx_main.C (defaultKeyBindings): adjust keybindings
2826 (deadKeyBindings): ditto
2828 * kbsequence.C (addkey): return a FuncRequest
2830 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2832 * kbmap.C (bind): take a FuncRequest as arg, adjust
2835 (defkey): change to take a FuncRequest as arg, adjust
2836 (findbinding): take a FuncRequest as arg, adjust.
2838 * funcrequest.h (operator=): added
2840 * funcrequest.C (FuncRequest): default kb_action changed from
2841 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2843 * buffer.C (dispatch): simplify
2844 (dispatch): adjust to take a FuncRequest as arg, adjust
2846 * boost.C (assertion_failed): change assertion message slightly
2848 * ToolbarBackend.C (read): simplify
2850 * MenuBackend.C (binding): adjust call to findbinding, add a
2851 message if no binding is found.
2853 (expandToc): correct by adding a empty FuncRequest
2855 * LyXAction.C: include <boost/assert.hpp>
2856 (isPseudoAction): delete function
2857 (LookupFunc): change name to...
2858 (lookupFunc): this. change return type to FuncRequest.
2859 (getActionName): take kb_action as arg, simplify
2860 (funcHasFlag): add an assert, simplify.
2862 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * toc.C (action): return a FuncRequest, simplify
2866 * lyxfunc.C (processKeySym): adjust
2867 (getStatus): delete version that takes an int.
2869 (dispatch): delete version that takes action as int
2871 (sendDispatchMessage): simplify and adjust
2873 * funcrequest.C (getArg): take unsigned int as arg
2875 * ToolbarBackend.C (read): adjust
2876 (add): delete version that takes func as a string.
2877 (getIton): take a FuncRequest as arg
2879 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2882 * MenuBackend.C (MenuItem): add a new construct that only takes a
2883 Kind, simplify the constructor use for submenus.
2885 (expandLastfiles): adjust
2886 (expandDocuments): adjust
2887 (expandFormats): adjust
2888 (expandFloatListInsert): adjust
2889 (expandFloatInsert): adjust
2890 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2892 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2893 Remove class variables lyx_pseudo_map and lyx_arg_map
2895 * LyXAction.C (searchActionArg): delete function
2896 (getPseudoAction): delete function
2897 (retrieveActionArg): delete function
2898 (LookupFunc): make it return kb_action, simplify.
2899 (getActionName): simplify
2901 * factory.C (createInset): fix new bug
2903 2003-09-19 Angus Leeming <leeming@lyx.org>
2905 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2906 masterFilename_ parameter in the include inset.
2908 * factory.C (createInset): changes due to the changes to InsetInclude.
2910 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2912 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2914 2003-09-18 Angus Leeming <leeming@lyx.org>
2917 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2918 Inset::fillWithBibKeys.
2919 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2921 2003-09-18 Angus Leeming <leeming@lyx.org>
2923 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2925 (ctor): pass and store a 'Buffer const &'
2926 (buffer): new member function.
2928 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2929 '*this' to the LaTeXFeatures ctor.
2931 2003-09-18 Angus Leeming <leeming@lyx.org>
2937 * text.C: rename EnumLColor as LColor_color.
2939 2003-09-18 Angus Leeming <leeming@lyx.org>
2941 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2942 remove #include "insets/insetbase.h" from cursor.h.
2944 2003-09-18 Angus Leeming <leeming@lyx.org>
2946 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2947 InsetOld_code to remove #include "inset.h".
2949 * iterators.C: add #include "insets/inset.h"
2951 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2953 * BufferView.C: remove more locking stuff that apparently doesn't
2954 do anything sensible.
2956 2003-09-16 André Pönitz <poenitz@gmx.net>
2959 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2962 2003-09-16 Angus Leeming <leeming@lyx.org>
2964 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2966 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2969 * paragraph.h: remove #include "lyxfont.h". Forward declare
2972 2003-09-16 Angus Leeming <leeming@lyx.org>
2974 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2975 of support/textutils.h.
2976 (isWord): move the contents of support/textutils.h's IsWordChar here.
2982 * text2.C: add #include "paragraph.h".
2985 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2987 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * LaTeX.C: use namespace alias for lyx::support::os
2995 2003-09-16 Angus Leeming <leeming@lyx.org>
2998 * bufferview_funcs.C:
3001 * paragraph_pimpl.C:
3003 * text.C: add #include "LColor.h".
3005 2003-09-16 Angus Leeming <leeming@lyx.org>
3007 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3008 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3010 Store the FontBits::color variable as an int rather than as an
3011 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3014 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3015 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3016 string calls together.
3018 * lyxrc.C: add #include "LColor.h".
3020 2003-09-15 Angus Leeming <leeming@lyx.org>
3022 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3025 2003-09-15 Angus Leeming <leeming@lyx.org>
3027 * LColor.h: add an EnumLColor wrapper for LColor::color.
3029 * lyxfont.[Ch] (color, setColor, realColor):
3030 * lyxtext.h, text.C (backgroundColor):
3031 pass EnumLColor args to/from the functions, rather than LColor::color
3035 * lyxtext.h: forward declare EnumLColor.
3037 * lyx_main.C: add #include "LColor.h".
3039 2003-09-15 Angus Leeming <leeming@lyx.org>
3041 * .cvsignore: add lyx-gtk.
3043 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3048 * ParagraphParameters.C
3052 * bufferview_funcs.C
3062 * vc-backend.C: remove usage of STRCONV
3064 2003-09-15 Angus Leeming <leeming@lyx.org>
3066 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3067 explicitly define the color passed to the painter.
3069 2003-09-15 Angus Leeming <leeming@lyx.org>
3071 * bufferparams.C (BufferParams): reorder member initializers to avoid
3074 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3076 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3077 * text.C (updateRowPositions): remove an unusual nop
3079 2003-09-12 André Pönitz <poenitz@gmx.net>
3081 * BufferView_pimpl.C:
3090 * Counters.[Ch]: finish the 'automatic counters' job
3092 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3094 * aspell.C: include <boost/assert.cpp> (compile fix)
3096 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3098 * boost.C (assertion_failed): use lyx::support::abort instead of
3101 2003-09-10 Angus Leeming <leeming@lyx.org>
3103 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3104 with their _fwd progeny.
3106 2003-09-09 Angus Leeming <leeming@lyx.org>
3108 134 files throughtout the source tree: replace 'using namespace abc;'
3109 directives with the appropriate 'using abc::xyz;' declarations.
3111 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3113 * boost.C (emergencyCleanup): moved here from LAssert.c
3114 (assertion_failed): new function, called by BOOST_ASSERT
3116 * several files: change Assert to BOOST_ASSERT
3118 2003-09-09 Angus Leeming <leeming@lyx.org>
3120 * buffer.[Ch]: Add an Impl class and move Buffer's member
3121 variables into it. As a result move several header files out of
3124 Add header files to lots of .C files all over the tree as a result.
3126 2003-09-09 Angus Leeming <leeming@lyx.org>
3128 * buffer.[Ch]: make Buffer's member variables private. Add
3131 Lots of changes all over the tree as a result.
3133 2003-09-08 Angus Leeming <leeming@lyx.org>
3135 * graph.C: #include <config.h>.
3137 2003-09-08 Angus Leeming <leeming@lyx.org>
3141 * BufferView_pimpl.C:
3170 * toc.C: remove redundant using directives.
3172 2003-09-07 Angus Leeming <leeming@lyx.org>
3174 * LaTeXFeatures.h: remove #include "support/types.h".
3175 * ToolbarBackend.h: remove #include <algorithm>.
3176 * changes.h: remove #include <ctime>.
3177 * debug.h: remove #include <iosfwd>.
3178 * graph.h: remove #include "support/std_string.h".
3179 * lyx_main.h: remove #include <csignal>.
3180 * lyxlex_pimpl.h: remove #include <fstream>.
3181 * sgml.h: remove #include <algorithm>, <utility>.
3182 * toc.h: remove #include "support/std_ostream.h".
3183 Add #include <iosfwd>.
3185 2003-09-07 Angus Leeming <leeming@lyx.org>
3187 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3189 * converter.h: forward declare LatexRunParams.
3190 * encoding.h: remove #include "lyxrc.h".
3191 * lyxtext.h: remove #include "LColor.h".
3192 * lyxtextclass.h: remove #include "support/types.h".
3193 * trans.h: remove #include "tex-accent.h".
3194 * trans_mgr.h: remove #include "tex-accent.h".
3195 * insets/inset.h: remove #include "support/types.h", <vector>.
3196 * insets/insetcollapsable.h: remove #include "LColor.h".
3197 * insets/insetinclude.h: remove #include "dimension.h".
3198 * insets/insetlatexaccent.h: remove #include "dimension.h".
3199 * insets/insetoptarg.h:: remove #include "insettext.h".
3200 * insets/insettext.h: remove #include "dimension.h",
3201 <boost/shared_ptr.hpp>
3203 * insets/renderers.h: add #include "dimension.h".
3204 * insets/updatableinset.h: add #include "support/types.h".
3206 * many .C files: Associated changes.
3208 2003-09-06 Angus Leeming <leeming@lyx.org>
3210 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3211 one, inside testInvariant.
3213 * PrinterParams.C: new file.
3214 * PrinterParams.[Ch]: move the function bodies out of line.
3216 2003-09-06 Angus Leeming <leeming@lyx.org>
3218 * ParagraphParameters.h: forward declare ParameterStruct rather than
3219 including its header file.
3220 (depth): moved out-of-line.
3222 2003-09-06 Angus Leeming <leeming@lyx.org>
3224 * BufferView_pimpl.h:
3227 * lyxfunc.h: forward declare LyXKeySym rather than
3228 #include "frontends/LyXKeySym.h".
3230 * BufferView_pimpl.C:
3233 * lyxfunc.C: associated changes.
3235 2003-09-06 Angus Leeming <leeming@lyx.org>
3237 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3238 As a result, can remove the #include "insets/inset.h" from BufferView.h
3240 2003-09-06 Angus Leeming <leeming@lyx.org>
3242 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3243 As a result, can remove the #include "insets/inset.h" from BufferView.h
3245 2003-09-06 Angus Leeming <leeming@lyx.org>
3251 * bufferview_funcs.C:
3252 * BufferView_pimpl.C:
3257 * ParagraphParameters.C:
3262 * frontends/controllers/ControlDocument.C:
3263 * insets/insetcaption.C: rearrange the #includes into some sort of
3266 * buffer.h: remove #includes ErrorList.h, undo.h
3268 2003-09-06 Angus Leeming <leeming@lyx.org>
3270 * support/types.h: add a 'depth_type' typedef, used to store the
3271 nesting depth of a paragraph.
3274 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3275 defining explicitly.
3278 * paragraph_funcs.h:
3279 * ParagraphParameters.h:
3280 * sgml.h: use lyx::depth_type rather than Paragraph or
3281 ParameterStruct's depth_type.
3284 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3287 * BufferView_pimpl.C:
3289 * ParagraphParameters.C:
3292 * bufferview_funcs.C:
3299 * frontends/LyXView.C:
3300 * frontends/controllers/ControlDocument.C:
3301 * frontends/controllers/ControlErrorList.C:
3302 * insets/insetbibitem.C:
3303 * insets/insetbranch.C:
3304 * insets/insetcaption.C:
3305 * insets/insetcollapsable.C:
3306 * insets/insetenv.C:
3307 * insets/insetert.C:
3308 * insets/insetfloat.C:
3309 * insets/insetfoot.C:
3310 * insets/insetfootlike.C:
3311 * insets/insetnewline.C:
3312 * insets/insetquotes.C:
3313 * insets/insettabular.C:
3314 * insets/insettext.C:
3315 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3317 * frontends/controllers/ControlChanges.C: #include "changes.h".
3319 2003-09-06 Angus Leeming <leeming@lyx.org>
3321 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3322 than #including paragraph.h.
3325 * RowList.h: deleted. Superfluous.
3335 * insets/insettext.h: use ParagraphList_fwd.h rather than
3338 * paragraph.h: don't forward declare ParagraphList.
3341 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3342 rather than ParagraphList.h. paragraph.h is still needed for the
3343 Paragraph::depth_type parameters.
3345 * textcursor.h: enable it to compile stand-alone in light of the
3348 * bufferview_funcs.C:
3360 * frontends/controllers/ControlParagraph.C:
3361 * frontends/controllers/ControlTabular.C:
3362 * insets/insetmarginal.C:
3363 * insets/insetminipage.C:
3364 * insets/insetnote.C:
3365 * insets/insetoptarg.C: add header files needed to compile again.
3367 2003-09-06 Angus Leeming <leeming@lyx.org>
3369 * RowList_fwd.h: new file, forward-declaring Row rather than
3370 #including lyxrow.h.
3375 * insets/insettext.h: use it instead of RowList.h
3377 * bufferview_funcs.C:
3384 * text3.C: #include "RowList.h".
3386 2003-09-05 Angus Leeming <leeming@lyx.org>
3388 * factory.C (createInset):
3389 * vspace.C (c-tor): replace sscanf call with an istringstream.
3390 * ispell.C: re-add missing HP/UX headers.
3391 * lyxserver.C: re-add missing os2 headers.
3393 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3402 * text3.C: re-add missing system headers, needed for 2.95.2.
3404 2003-09-05 Angus Leeming <leeming@lyx.org>
3406 Changes most place everywhere due to the removal of using directives
3407 from support/std_sstream.h.
3409 2003-09-05 Angus Leeming <leeming@lyx.org>
3411 Replace LString.h with support/std_string.h,
3412 Lsstream.h with support/std_sstream.h,
3413 support/LIstream.h with support/std_istream.h,
3414 support/LOstream.h with support/std_ostream.h.
3416 Changes resulting throughout the tree.
3418 2003-09-05 Angus Leeming <leeming@lyx.org>
3420 * sgml.h: ensure that the header file can be compiled stand-alone.
3421 * *.C: strip out redundant #includes. (320 in total.)
3423 2003-09-04 Angus Leeming <leeming@lyx.org>
3425 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3426 here (from getPackages).
3428 * debug.[Ch]: add a new EXTERNAL tag.
3430 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3432 * text2.C (cursorEnd): simplify
3434 (getColumnNearX): adjust
3436 * text.C (computeBidiTables): adjust
3439 * rowpainter.C (paintChars): adjust
3440 (paintSelection): adjust
3441 (paintChangeBar): adjust
3444 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3446 (numberOfSeparators): adjust
3448 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3454 * text3.C: Restricts the mouse click functionality
3455 of insets like bibtex, include, toc and floatlist to the visible
3456 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3457 up the dialogs. Cursor has to be in front of the inset (i.e.
3458 start of row) for this to function.
3460 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3462 * bufferview_funcs.C (currentState): output row information
3464 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3466 * bufferview_funcs.C (currentState): output paragraph position
3468 2003-09-04 Angus Leeming <leeming@lyx.org>
3470 * FloatList.h: move out #include "Floating.h".
3471 * LaTeX.h: move out #include "DepTable.h".
3472 * LyXAction.h: move out #include "funcrequest.h".
3473 * buffer.h: move out #include "author.h", "iterators.h".
3474 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3475 * lyx_main.h: move out #include "errorlist.h".
3476 * lyxfunc.h: move out #include "FuncStatus.h".
3477 * lyxtext: move out #include "lyxcursor.h".
3478 * paragraph_pimpl.h: move out #include "counters.h".
3480 2003-09-03 Angus Leeming <leeming@lyx.org>
3482 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3483 preamble_snippets list, enabling us to add snippets to the preamble
3484 only if the snippet was not there already.
3486 2003-09-04 Angus Leeming <leeming@lyx.org>
3488 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3490 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3492 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3495 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3497 * BranchList.C: point fix, earlier forgotten
3499 2003-09-02 Angus Leeming <leeming@lyx.org>
3501 * box.C (contains): renamed from 'contained' after a fantastic
3504 2003-09-02 John Levon <levon@movementarian.org>
3510 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3512 2003-09-02 John Levon <levon@movementarian.org>
3514 * text2.C: simplification of cursorEnd(), including partial
3517 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * buffer.C (readFile): add a space
3521 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3523 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3525 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * buffer.C (readFile): new function, take a filename and a
3528 ParagraphList::iterator
3530 (readFile): adjust, make it private. don't use setStream, make
3531 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3532 always contain the filename.
3534 * BufferView.C (insertLyXFile): simplify and make it work for
3537 2003-08-30 John Levon <levon@movementarian.org>
3539 * Makefile.am: fix dist (from Kayvan)
3541 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3543 * most files: change to use const Buffer refs
3545 2003-08-27 André Pönitz <poenitz@gmx.net>
3547 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3548 on top of ownerPar().
3550 2003-08-27 John Levon <levon@movementarian.org>
3552 * funcrequest.C: properly initialise POD members
3554 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3556 * lyxtext.h (top_y): move top_y from here
3561 * BufferView_pimpl.[Ch]: to here
3562 * frontends/screen.C:
3563 * insets/insettabular.C:
3564 * insets/insettext.C: adjust
3565 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3567 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3570 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3572 2003-08-26 André Pönitz <poenitz@gmx.net>
3574 * paragraph_func.[Ch] (outerPar): new function
3577 * paragraph_funcs.C:
3578 * paragraph_funcs.h:
3579 * paragraph_pimpl.C:
3580 * text2.C: remove Inset::par_owner
3582 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3587 * text2.C: eliminates the needFullRow/display() stuff
3588 altogether, putting the logic in metrics/draw in the insets.
3590 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3592 * text2.C (redoParagraphInternal, redoParagraphs):
3593 * text.C (redoParagraph): add a call to updateRowPositions at the
3594 end of each 'metrics-like' call. Remove all others.
3595 (getRow): remove the 'y-computing' version.
3596 (getRowNearY): do not compute nor return the real y. Solve the
3597 'y < 0' problem and simplify.
3599 2003-08-22 Angus Leeming <leeming@lyx.org>
3601 * *.[Ch]: clean-up of licence and author blurbs.
3602 Also move config.h out of a few .h files and into a few .C files.
3604 2003-08-22 André Pönitz <poenitz@gmx.net>
3606 * lyxrow.[Ch]: add x_ and *fill_ members
3611 * text2.C: adjust/remove prepareToPrint() calls
3613 2003-08-22 André Pönitz <poenitz@gmx.net>
3615 * lyxrow.[Ch]: add end_ member
3617 * lyxrow_funcs.C: use LyXRow::end_
3619 * lyxtext.h (singleWidth): add LyXFont parameter
3622 * text2.C: adjust LyXText::singleWidth() calls
3624 * text.C (redoParagraph): simplify row breaking logic
3627 2003-08-19 André Pönitz <poenitz@gmx.net>
3629 * funcrequest.C: initialize button_ member
3632 * rowpainter.[Ch]: interface consolidation
3634 2003-08-18 André Pönitz <poenitz@gmx.net>
3637 * BufferView_pimpl.C:
3639 * paragraph_funcs.C:
3641 * text3.C: remove LyXScreen::draw() and fitCursor calls
3643 * BranchList.h: remove spurious semicolons
3645 * MenuBackend.C: fix branchlist related crash
3647 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3655 * bufferparams.[Ch]:
3659 * text3.C: implements the 'branch inset'
3660 idea. This allows the output of various versions of a document
3661 from a single source version, selectively outputing or suppressing
3662 output of parts of the text.
3663 This implementation contains a 'branch list editor' in a separate
3664 tab of the document settings dialog. Branches are user definable
3665 and have a "display colour" to distinguish them on-screen.
3667 ColorHandler was somewhat cleaned up.
3668 (1) make possible a dynamically growing LColor list by allowing
3669 the graphic context cache to grow along (vector);
3670 (2) eliminate an IMHO unnecessary step in colour allocation.
3672 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3674 * BufferView_pimpl.C: compile fix
3676 2003-08-15 André Pönitz <poenitz@gmx.net>
3678 * rowpainter.C: remove extra metrics calls
3680 * lyxtext.h: merge the two constructors into a single one,
3681 pass reference to owner's par list
3683 * BufferView_pimpl.C:
3687 2003-08-15 André Pönitz <poenitz@gmx.net>
3689 * lyxrow_funcs.[Ch]:
3692 * paragraph_funcs.C:
3697 * text_funcs.C: split LyXText::rowlist_ into individual
3698 Paragraph::rows_ chunks
3701 * BufferView_pimpl.[Ch]:
3704 * text3.C: remove toggleSelection()
3706 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3708 * bufferlist.C: beautify two alerts (shorter text of buttons)
3709 * buffer.C: Remove redundant ' ' from message
3711 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3712 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3713 rename VALIGN_CENTER to VALIGN_MIDDLE
3715 2003-08-11 André Pönitz <poenitz@gmx.net>
3717 * lyxtext.h (getPar):
3718 * text.C: new function
3720 2003-08-11 André Pönitz <poenitz@gmx.net>
3723 * tracer.[Ch]: remove unneeded files
3725 * InsetList.[Ch]: remove resizeInsetsLyXText()
3730 * text3.C: merge insertParagraphs() and appendParagraph()
3731 remove breakAgain(), update()
3733 * BufferView_pimpl.[Ch]:
3734 * bufferview_funcs.[Ch]:
3738 * tabular.C: adjust after text & InsetList changes.
3740 2003-08-08 André Pönitz <poenitz@gmx.net>
3742 * text.C (insertChar, backspace): replace rowlist fiddling
3743 with rebreak of full par
3746 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3747 checkParagraph, updateInset): removed
3749 2003-08-07 André Pönitz <poenitz@gmx.net>
3752 * text3.C: merge some LFUN handlers, remove dead code
3754 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3756 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3758 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3760 * text2.C (DEPM): fix part of bug 1255 and 1256
3762 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3764 * BufferView_pimpl.C (workAreaDispatch): change to use
3765 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3766 that are no mouse related.
3768 2003-08-05 André Pönitz <poenitz@gmx.net>
3771 * BufferView_pimpl.[Ch]:
3772 * bufferview_funcs.C:
3774 * text3.C: rip out "deep update"
3776 * textcursor.[Ch] (last_sel_cursor): remove unused member
3778 2003-08-04 André Pönitz <poenitz@gmx.net>
3781 * BufferView_pimpl.[Ch]:
3782 * ParagraphParameters.C:
3783 * bufferview_funcs.C:
3789 * text3.C: replace "complicated" BufferView::update(...) calls with
3792 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3794 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3796 * Makefile.am (lyx_SOURCES): add paper.h
3798 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3800 * Makefile.am: move things around so that both lyx-qt and
3801 lyx-xforms can be built (according to --with-frontend). Then lyx
3802 is a symbolic link to lyx-[firstfrontend]
3804 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3806 * Always use std::endl with lyxerr
3808 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3810 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3812 2003-08-01 André Pönitz <poenitz@gmx.net>
3815 * BufferView_pimpl.[Ch]:
3817 * text3.C: merge BufferView::repaint() and BufferView::update()
3819 2003-08-01 José Matos <jamatos@lyx.org>
3821 * buffer.[Ch]: file_format is no longer a buffer data element.
3823 2003-08-01 André Pönitz <poenitz@gmx.net>
3828 * text2.C: make redoParagraph more independent of current cursor
3830 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3832 * text2.C: remove unneeded members
3834 2003-07-30 André Pönitz <poenitz@gmx.net>
3836 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3838 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3839 create a single function...
3841 * paragraph_funcs.C (moveItem): ... here.
3844 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3846 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3848 * LColor.[Ch]: Add comment and greyedout logical colors.
3850 2003-07-30 André Pönitz <poenitz@gmx.net>
3852 * tabular.C: don't use Assert too heavily. This crashes where it
3855 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3857 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3858 is disabled (bug 1232)
3860 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3862 * factory.C: limited 'arg' scope
3864 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3866 * factory.C: fixed Note submenu issues
3868 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3870 * factory.C: submenu for Note/Comment/Greyedout
3872 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3875 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3877 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3880 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3881 greyedout. Patch provided by Jürgen Spitzmüller.
3883 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3885 * kbmap.C (read): fix error message when reading bind files
3887 2003-07-29 Angus Leeming <leeming@lyx.org>
3889 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3890 certainly does not do what it purports to do. I am doing it, and
3891 us, a favour by killing it.
3893 2003-07-28 José Matos <jamatos@lyx.org>
3895 * buffer.C (readBody, do_writeFile):
3896 * paragraph.C(readParagraph): \end_document replaces \the_end.
3898 2003-07-29 André Pönitz <poenitz@gmx.net>
3901 * BufferView_pimpl.[Ch]:
3905 * textcursor.[Ch]: remove toggleToggle & Co
3907 2003-07-28 José Matos <jamatos@fep.up.pt>
3909 * buffer.C (readParagraph):
3910 * params_func (readParToken, readParagraph):
3911 * paragraph.C (write): \layout -> \begin_layout.
3913 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * lyxlex_pimpl.C (setFile): clean up slightly.
3917 * bufferparams.h: add compressed var
3919 * buffer_funcs.C (readFile): adjust for LyXLex change
3920 (newFile): ditto + simplify
3922 * buffer.C (writeFile): handle writing of compressed files
3924 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3925 Check if the file is compressed and set a bufferparm if so.
3927 * Makefile.am (lyx_LDADD): remove explicit -lz
3929 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3931 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3932 makeDocBookFile): put the real LyX version in the first line of
3936 * version.C.in: remove lyx_docversion
3938 * tabular.C (write_attribute): add a template-based version to
3939 write enums properly
3941 2003-07-28 André Pönitz <poenitz@gmx.net>
3946 * text3.C: use doubles again for x-coordinates. They are needed.
3948 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3950 * messages.C (getLocaleDir): use lyx_localedir()
3952 * lyxlex_pimpl.C (setFile): compress stuff
3954 * buffer.C (writeFile): add some compression stuff
3955 (do_writeFile): new func, dont call expliti close... will this
3958 * Makefile.am (lyx_LDADD): add -lz
3960 2003-07-28 José Matos <jamatos@fep.up.pt>
3962 * buffer.C: increment file format.
3963 * paragraph_funcs (readParagraph, readParToken):
3964 * paragraph.C (readParagraph): add \end_layout.
3966 2003-07-27 Angus Leeming <leeming@lyx.org>
3968 * Makefile.am: remove special casing for configure-time setting of
3969 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3971 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3972 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3974 2003-07-26 André Pönitz <poenitz@gmx.net>
3976 * paragraph_func.[Ch]:
3977 * paragraph.C (realizeFont): inline it whereever it is used
3982 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3985 2003-07-26 André Pönitz <poenitz@gmx.net>
3989 * text2.C: get rid of LyXText::need_break_row
3991 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * toc.[Ch]: put namespace toc inside namespace lyx
3995 * MenuBackend.C (expandToc2): adjust for lyx::toc
3998 * lyxfunc.C (dispatch): adjust for lyx::find
4000 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4001 lyx::find instead. Reorganize a bit.
4002 (LyXReplace): rename to replace
4003 (LyXFind): rename to find
4005 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4008 2003-07-26 André Pönitz <poenitz@gmx.net>
4010 * text.C (setHeightOfRow): restrict scope of temporary variable
4012 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4013 code (never has been used?)
4015 2003-07-27 Asger Alstrup <alstrup@local>
4017 * text.C (fill): Optimise algorithm to exploit that we can reuse
4018 the LyXFont for many characters.
4019 (setHeightOfRow): Same thing.
4020 (rowBreakPoint): Same thing.
4022 2003-07-26 Asger Alstrup <alstrup@local>
4024 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4026 * text.C (singleWidth): Spurious font copying in hot-spot
4027 singleWidth avoided. Reorder tests for arabic for efficiency.
4029 * text.C (fill): handle empty paragraphs better.
4031 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4034 * encoding.h: add includes
4036 * lyxrc.C: remove reading of bind files
4038 * lyx_main.C (init): setup bindings and menus only if we have a
4041 * kbmap.C (read): new method. Do the actual reading of bind
4044 * converter.C (dvipdfm_options):
4047 (output): adapt PAPER_* enums.
4049 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4051 * bufferparams.h: remove paper-related enums from there
4053 * paper.h: New file. A trivial header file to hold paper-related
4054 enums. It should later expand to contain many paper-related
4057 * lyxrc.C: declare extern displayTranslator
4059 2003-07-27 José Matos <jamatos@fep.up.pt>
4061 * tabular.[Ch] (linuxdoc): add support for tables and figures
4064 2003-07-27 José Matos <jamatos@fep.up.pt>
4066 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4067 consistency in both functions.
4068 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4070 2003-07-26 Asger Alstrup <alstrup@local>
4072 * rowpainter.C (paintRows): Change algorithm to work directly on
4073 the insets rather than asking every character in the document
4074 whether its an inset.
4076 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4078 * buffer.C (openFileWrite): factorize some code
4080 2003-07-26 Angus Leeming <leeming@lyx.org>
4083 * lyx_main.[Ch]: replace occurances of system_tempdir with
4086 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4088 * rename Inset to InsetOld
4090 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4092 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4093 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4094 which I think is a bit clearer. EDIT is gone, since it was
4095 premature optimisation, and broken for mathed anyway.
4096 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4097 with cursor positioning in insets as well (math insets still do not
4098 work, but that's a different story anyway.) It mysteriously
4099 crashes sometimes with undo in the first paragraph, but I'm fairly
4100 confident that this is a compiler bug.
4102 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * paragraph.C (Paragraph): adjust for new clone return type
4106 (copyIntoMinibuffer): ditto
4108 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4110 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4111 by not having a special case, and always doing a full rebreak of
4112 the document after undo.
4114 2003-07-23 Angus Leeming <leeming@lyx.org>
4116 * factory.C (createInset): InsetExternal::setParams now takes a
4119 2003-07-23 Angus Leeming <leeming@lyx.org>
4121 * factory.C (createInset): changed interface to the external and
4122 graphics mailers' string2params functions.
4124 2003-07-23 Angus Leeming <leeming@lyx.org>
4126 * factory.C (createInset): pass a
4127 Buffer const * parameter to InsetExternalMailer's string2params.
4129 2003-07-22 John Levon <levon@movementarian.org>
4131 * Thesaurus.h: include the right aiksaurus header
4133 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4135 * MenuBackend.C (expand): check menu shortcuts unconditionally
4137 2003-07-21 Angus Leeming <leeming@lyx.org>
4139 * factory.C (createInset): pass a
4140 buffer_path parameter to InsetGraphicsMailer's string2params.
4142 2003-07-21 Angus Leeming <leeming@lyx.org>
4144 * BufferView_pimpl.C (buffer):
4147 * lyxfunc.C (dispatch):
4148 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4149 rather than the grfx shortcut.
4151 2003-07-21 André Pönitz <poenitz@gmx.net>
4153 * rowpainter.C: remove unused variables
4156 * tabular_funcs.h: move to tabular.C
4157 * Makefile.am: adjust
4159 * tabular.[Ch]: basic optical cleaning
4161 * author.h: pass references, not values
4163 2003-07-18 André Pönitz <poenitz@gmx.net>
4171 * text3.C: two-phase drawing for InsetText and InsetTabular
4172 some float -> int changes.
4174 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4176 * lyx_main.C: fix the fix
4178 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4180 * lyx_main.C: fix a crash in batch mode if no files specified
4183 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4185 * format.[Ch] (papersize): moved to BufferParams
4186 * converter.[Ch] (dvips_options): moved to BufferParams
4187 (dvipdfm_options): moved to anon namespace
4188 * bufferparams.[Ch]: added above functions.
4190 2003-07-17 André Pönitz <poenitz@gmx.net>
4194 * text2.C: don't call inset->update() anymore
4196 * metricsinfo.[Ch]: add convenience constructor
4198 2003-07-16 André Pönitz <poenitz@gmx.net>
4203 * text2.C: replace the LyXCursor::irow_ member with
4204 on-demand computation of the value
4206 2003-07-16 John Levon <levon@movementarian.org>
4208 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4210 2003-07-15 André Pönitz <poenitz@gmx.net>
4213 * text2.C: remove no more needed refresh_row
4215 2003-07-15 André Pönitz <poenitz@gmx.net>
4220 * text3.C: refresh_status tristate -> need_update bool
4222 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4224 * lyxtext.h (init): remove reinit argument (act as if always true)
4225 * text2.C: adjust to that
4227 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4229 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4230 * text3.C: use it to delete selections in some cases
4231 (bugs 441, 673, 702, 954).
4233 2003-07-14 André Pönitz <poenitz@gmx.net>
4235 * rowpainter.[Ch]: reduce interface
4237 2003-07-14 André Pönitz <poenitz@gmx.net>
4239 * BufferView_pimpl.C:
4240 * text2.C: adjust after removing unused BufferView * argument
4242 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4244 * text2.C (init): fix a crash fired on resize
4246 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4248 * buffer.[Ch]: added new closing signal
4249 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4250 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4251 BufferView::Pimpl via the closing the signal
4253 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4255 * buffer.[Ch]: take out all bv-related from buffer
4257 * BufferView_pimpl.[Ch]: connect to new signals
4258 * CutAndPaste.C: removed useless asserts
4259 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4262 * lyxfunc.C: moved view-related funciontality from vc here
4263 * paragraph.C: removed outdated comments
4266 2003-07-10 André Pönitz <poenitz@gmx.net>
4268 * BufferView_pimpl.C:
4272 * text2.C: remove InsetText::InnerCache, clean up consequences
4274 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4276 * ispell.C: fix two typos in error messages
4278 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4280 * Extend Note inset to other forms of annotation like Comment
4281 and Greyedout. Right button click gives dialog.
4283 Files modified or added (+):
4287 * ControlNote.[Ch] +
4289 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4290 frontends/controllers
4294 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4296 * aspell.C: add missing namespace lyx::support
4298 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4300 * BufferView.[Ch] (newFile): Add
4301 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4302 * LaTeX.[Ch] (message): added this signal and use it
4303 * buffer.[Ch] (busy, message): added these signals and use them
4304 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4308 * importer.C: use buffer signals instead of direct bv calling
4309 * lyx_cb.[Ch] (ShowMessage): removed
4312 * paragraph_funcs.C:
4313 * text2.C: use buffer signals
4315 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4317 * introduce namespace lyx::graphics
4319 2003-07-02 André Pönitz <poenitz@gmx.net>
4321 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4323 2003-07-01 André Pönitz <poenitz@gmx.net>
4330 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4331 text*.C to text_func.C
4333 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * introduce namespace lyx::support
4337 2003-06-30 André Pönitz <poenitz@gmx.net>
4342 * text.C: re-enable --with-included-string
4344 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4346 * textcursor.C: add <config.h>
4348 * text.C (getWord): remove const from word_location arg
4350 * lyxvc.C (getLogFile): fix const type order
4352 * lyxtext.h: remove const from word_location arg, add arg name
4354 * lyxlayout.h: currect type on labeltype.
4356 * importer.C: correct \file
4358 * converter.C (intToFormat): use std:: on ret val, ws changes
4360 * bufferlist.h: correct \file
4362 * buffer.C (makeLinuxDocFile): fix const type order
4363 (makeDocBookFile): ditto
4364 (fillWithBibKeys): use std:: on stdlib args.
4366 * CutAndPaste.C: fix authors.
4367 (availableSelections): use std:: on return vector
4369 2003-06-27 André Pönitz <poenitz@gmx.net>
4371 * BufferView_pimpl.C:
4372 * bufferview_funcs.C:
4380 * text3.C: remove LyXCursor::row_ member
4383 * text.C: rename fullRebreak() to partialRebreak() and implement
4384 a fullRebreak() that really bereks fully
4386 * textcursor.h: new struct for cursor-related data
4388 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4390 * lyx_main.C (LyX): get full path of document loaded on the
4393 2003-06-26 André Pönitz <poenitz@gmx.net>
4395 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4396 remove unused/broken operator>,<,>=.
4398 * text.C: remove only use of broken operator<= in an Assert().
4400 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4402 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4403 moved errorlist_.clear to showErrorList
4405 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4407 * converter.C (scanLog, runLaTeX):
4408 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4409 move the bv->showErrorList call to the callers
4410 * lyxfunc.C: i.e. here...
4412 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4413 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4414 namespace, the second to...
4415 * buffer_funcs (BufferFormat, parseErrors): added
4416 * errorlist.C (ErrorList(TeXErrors const &)): removed
4418 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4420 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4422 2003-06-24 "Garst R. Reese" <reese@isn.net>
4426 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4428 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4430 * version.C.in: change docversion to 1.4
4432 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4434 * buffer.C: fix a bug just introduced
4436 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4438 * buffer.[Ch]: added the parseError signal and use it, removed
4440 * BufferView.[Ch] (addError): moved to ...
4441 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4442 to the Buffer::parseError signal to catch (guess what) parse errors
4443 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4445 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4447 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4448 ability to create a buffer and to return an existing one from
4449 the list. Moved these functions to...
4450 * buffer_funcs.[Ch]: added
4451 * BufferView.[Ch] (loadLyXFile): added
4452 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4453 job removed from bufferlist::loadLyXFile.
4454 * buffer.C (setReadOnly): make it work without view
4455 (i.e added an if (users))
4457 2003-06-19 Angus Leeming <leeming@lyx.org>
4460 * LyXAction.C (init):
4461 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4462 with LFUN_DIALOG_SHOW <name> <data>.
4464 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4466 * CutAndPaste.C (availableSelections): small compilation fix for
4467 ancient (gcc 2.9x) compilers
4469 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4471 * text3.C (cursorNext): add tmp var
4473 * text2.C (updateCounters): for function calling out of for clause
4474 (replaceSelectionWithString): ditto
4475 (insertStringAsParagraphs): ditto
4476 (getColumnNearX): add tmp var
4477 (setCursorFromCoordinates): add tmp var
4478 (cursorDownParagraph): add tmp var
4479 (deleteEmptyParagraphMechanism): add tmp var
4481 * text.C (insertChar): add tmp var
4483 * rowpainter.C (paintDepthBar): add tmp var
4485 * CutAndPaste.C (availableSelections): potentially check all
4486 paragraphs in a cut to fill the shown strings.
4488 2003-06-18 André Pönitz <poenitz@gmx.net>
4490 * kbmap.[Ch]: use vector<> instead of list<>
4492 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4494 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4495 pasteSelection with index
4497 * text2.C (pasteSelection): modify, call pasteSelection with index
4499 * paragraph.C (asString): reimplement version with no interval to
4500 call the one with interval.
4502 * lyxtext.h: add index arg to pasteSelection
4504 * MenuBackend.C (MenuItem): handle PasteRecent
4505 (Menu::read::Menutags): add md_pasterecent
4507 (expandPasteRecent): new function
4510 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4512 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4514 (availableSelections): new function
4516 2003-06-17 Angus Leeming <leeming@lyx.org>
4518 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4520 2003-06-17 Angus Leeming <leeming@lyx.org>
4523 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4525 * lyxfunc.C (dispatch): invoke it.
4527 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4529 * iterators.C (operator++, ParPosition): reintroduce some
4530 const_cast for the benefit of older compilers.
4532 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4534 * text3.C (dispatch): do not modify clipboard when doing
4535 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4536 LFUN_DELETE_SKIP on a selection selection
4538 2003-06-16 André Pönitz <poenitz@gmx.net>
4544 * tabular.[Ch]: IU of clone() and getLabelList();
4546 2003-06-13 André Pönitz <poenitz@gmx.net>
4548 * tabular.h: compactification
4550 2003-06-12 André Pönitz <poenitz@gmx.net>
4554 * tabular_funcs.h: some renaming plus whitespace
4556 2003-06-12 André Pönitz <poenitz@gmx.net>
4559 * BufferView_pimpl.C:
4565 * toc.C: Return a Paragraph & for ParIterator::operator*()
4567 2003-06-11 John Levon <levon@movementarian.org>
4571 * ToolbarBackend.C: add "Toolbars" section and
4574 2003-06-10 Angus Leeming <leeming@lyx.org>
4577 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4579 * lyxfunc.C (dispatch): invoke it.
4581 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * main.C: protect <ios> with HAVE_IOS
4584 (main): protect sync_with_stdio with HAVE_IOS
4586 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4588 * text2.C (cutSelection): adjust
4589 (pasteSelection): adjust
4591 * messages.C: handle get of empty string
4593 * main.C (main): use sync_with_stdio(false)
4595 * lyxfunc.C (dispatch): adjust
4597 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4598 (WriteAs): remove unneeded BufferView arg.
4600 * bufferparams.h: use correct types on papersize, papersize2 and
4603 * bufferparams.C (readToken): adjust for type
4604 (writeLaTeX): add missing cases to switch.
4606 * bufferlist.C (quitWriteBuffer): adjust
4609 * buffer.C (asciiParagraph): remove some commented code.
4611 * CutAndPaste.C: remove current_view extern variable.
4612 (cutSelection): add BufferParams arg.
4613 (eraseSelection): add BufferParams arg.
4614 (pasteSelection): add Buffer const & arg
4616 2003-06-07 John Levon <levon@movementarian.org>
4619 * paragraph_funcs.C:
4620 * paragraph_pimpl.C:
4624 * paragraph.C: allow InsetERT to freely space lines,
4625 and some consolidation of code
4627 2003-06-06 José Matos <jamatos@fep.up.pt>
4629 * buffer.C (makeDocBookFile): fix bug #821
4631 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4633 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4635 2003-06-04 Angus Leeming <leeming@lyx.org>
4637 * buffer.C: bump format to 224.
4639 2003-06-05 André Pönitz <poenitz@gmx.net>
4641 * text2.C (redoParagraphs): remove two const_cast<>
4643 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4645 * ParagraphList.h: remove last remnants of NO_STD_LIST
4647 2003-06-03 Angus Leeming <leeming@lyx.org>
4649 * factory.C (createInset): small change to the way InsetExternal's params
4652 2003-06-04 André Pönitz <poenitz@gmx.net>
4654 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4656 * paragraph_pimpl.h:
4657 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4659 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4661 * undo_funcs.C: make some simple cases of undo work again
4663 2003-06-03 John Levon <levon@movementarian.org>
4665 * ispell.C: HPUX doesn't have sys/select.h
4668 2003-06-03 John Levon <levon@movementarian.org>
4670 * CutAndPaste.C: update tabular and include inset
4675 * paragraph.C: remove owningBuffer(), don't pass Buffer
4678 * factory.C: insetGraphicsParams changed
4680 2003-06-02 John Levon <levon@movementarian.org>
4686 * text3.C: remove insetparent
4688 2003-06-02 John Levon <levon@movementarian.org>
4691 * buffer.C: fix inset_iterator.end(), move out of line
4694 2003-06-01 John Levon <levon@movementarian.org>
4696 * text3.C: use a proper cut/paste when doing inset
4697 insert (from Jürgen Spitzmüller)
4699 2003-06-01 John Levon <levon@movementarian.org>
4701 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4703 2003-05-30 André Pönitz <poenitz@gmx.net>
4705 * rowpainter.C: unify second drawing phase
4707 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4709 * trans_mgr.C: remove one case of current_view
4711 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4713 * paragraph_funcs.h: remove paragraph.h include
4715 * paragraph.h: delete NO_STD_LIST stuff
4717 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4719 * buffer.h: remove paragraph.h include
4721 * ParagraphList.C: delete file
4723 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4725 * toc.C (getTocList): adjust
4727 * paragraph_pimpl.C (validate): adjust
4729 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4731 * paragraph.C (Paragraph): adjust
4732 (getPositionOfInset): use const_iterator, adjust
4733 (bibitem): use const_iterator, adjust
4734 (setInsetOwner): adjust
4736 * iterators.C (operator++): adjust
4738 * InsetList.[Ch]: Replace selfmade iterator with standard
4739 vector::iterator also introduce const_iterator. Remove getPos,
4740 getInset and setInset from InsetTable. Adjust accordingly.
4742 * BufferView.C (lockInset): adjust
4743 (ChangeInsets): adjust
4745 * tabular.[Ch]: delete commented same_id functions
4747 2003-05-28 John Levon <levon@movementarian.org>
4749 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4751 2003-05-28 André Pönitz <poenitz@gmx.net>
4753 * metricsinfo.[Ch]: remove 'fullredraw' member
4755 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4757 * lyxtextclass.C (operator): remove caching.
4759 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * text2.C (cursorBottom): adjust
4764 (setCounter): use ParagraphList::find, adjust
4766 * text.C (workWidth): use ParagraphList::find, adjust
4768 * lyxcursor.C (LyXCursor): adjust
4770 * buffer.C (inset_iterator): adjust
4772 * ParagraphList.h: make iterator(value_type) private, make
4773 ParagraphList a friend of iterator.
4775 * ParagraphList.C (find): new function
4777 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4779 2003-05-27 André Pönitz <poenitz@gmx.net>
4781 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4783 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4785 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4787 2003-05-26 John Levon <levon@movementarian.org>
4789 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4791 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4793 * remove same_id from function signatures, adjust.
4795 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4797 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4799 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4801 * paragraph.C (Paragraph): get rid of same_ids parameter
4803 * ParagraphList.C (insert): adjust
4806 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * paragraph_funcs.C (breakParagraph): adjust
4809 (breakParagraphConservative): adjust
4811 * buffer.C (readParagraph): adjust
4813 * ParagraphList.C (insert): take a reference instead of a pointer
4816 * paragraph.[Ch] (id): new function
4818 * bufferlist.C (newFile): adjust
4820 * ParagraphList.C (ParagraphList): adjust
4822 (push_back): take a reference instead of a pointer.
4824 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4826 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4829 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4830 set else use old code.
4832 * ParagraphList.C: remove all NO_NEXT code and only compile this
4833 code of NO_STD_LIST is set.
4835 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4837 * BufferView_pimpl.C:
4847 * graphics/GraphicsConverter.C:
4848 * graphics/PreviewLoader.C: header adjustment
4850 2003-05-23 Angus Leeming <leeming@lyx.org>
4852 * LaTeXFeatures.[Ch] (useBabel): new method.
4853 * bufferparams.C (writeLaTeX): use it.
4855 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * ParagraphList.h (set): remove unused function.
4859 2003-05-23 André Pönitz <poenitz@gmx.net>
4862 * BufferView_pimpl.C:
4866 * undo_funcs.C: setUndo reworked
4868 * iterators.[Ch]: add access to topmost ParagraphList
4870 * lyxtext.[Ch] (workWidth): add a const
4872 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4874 * texrow.[Ch] (increasePos): remove function
4875 * exporter.C (export): removed unused var and outdated comment
4877 2003-05-23 Angus Leeming <leeming@lyx.org>
4879 * latexrunparams.h: rename fragile as moving_arg.
4880 * paragraph.C (simpleTeXOnePar): ditto.
4881 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4883 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4887 (textUndoOrRedo): comment out a currently unused var.
4889 * paragraph.h (NO_NEXT): enable NO_NEXT
4891 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4893 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4895 * exporter.C (Export): adjust for removeAutoInsets removal.
4897 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4899 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4901 * BufferView.[Ch] (removeAutoInsets): delete function
4903 2003-05-22 Angus Leeming <leeming@lyx.org>
4905 * latexrunparams.h: add a free_spacing variable.
4907 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4908 to pass moving_arg, as the data is stored in runparams.fragile.
4910 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4911 to Inset::latexOptional or to simpleTeXOnePar.
4913 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4914 free_spacing arg to Inset::latexOptional.
4916 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4919 2003-05-22 Angus Leeming <leeming@lyx.org>
4921 * latexrunparams.h: add fragile and use_babel variables.
4923 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4924 * buffer.C (makeLaTeXFile): store this returned value in
4925 runparams.use_babel, thus passing it to the inset::latex methods.
4927 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4928 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4930 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4931 longer has a fragile arg, as it is stored in runparams.fragile.
4933 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4934 moving_arg parameter as the data is stored in runparams.fragile.
4936 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4937 a fragile parameter as the data is stored in runparams.fragile.
4939 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4943 2003-05-22 Angus Leeming <leeming@lyx.org>
4945 * latexrunparams.h: add a 'bool nice' which defaults to false.
4947 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4948 now encapsulated within runparams.
4950 * bufferlist.C (updateIncludedTeXfiles):
4951 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4953 2003-05-22 Angus Leeming <leeming@lyx.org>
4955 * latexrunparams.h: new file containing struct LatexRunParams.
4956 * Makefile.am: add new file.
4958 * LaTeX.[Ch] (c-tor, run):
4959 * buffer.[Ch] (makeLaTeXFile):
4960 * bufferlist.[Ch] (updateIncludedTeXfiles):
4961 * converter.C (convert, scanLog):
4962 * converter.[Ch] (runLaTeX):
4963 * exporter.C (Export):
4964 * paragraph.[Ch] (simpleTeXOnePar):
4965 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4966 * paragraph_funcs.[Ch] (latexParagraphs):
4967 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4968 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4969 pass around a LatexRunParams parameter.
4971 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * paragraph.[Ch]: remove unused constructor
4975 * ParagraphList.C (erase): new function, taking two iterators
4977 2003-05-22 André Pönitz <poenitz@gmx.net>
4979 * undo_funcs.C: remove duplicated code
4981 * iterator.[Ch]: operator=
4983 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4985 * tabular.C (SetMultiColumn): ws changes
4987 * rowpainter.C (paintFirst): get rid of a ->previous
4989 * lyx_cb.C (getPossibleLabel): parlist simplification
4991 * BufferView.C (ChangeInsets): simplify slightly.
4993 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4995 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4996 * lfuns.h: new LFUN_SPACE
4997 * lyxfunc.C: protected space has a new lfun
4998 * paragraph_funcs.C: read new space insets
5000 * factory.C: handle new space insets
5002 2003-05-22 André Pönitz <poenitz@gmx.net>
5005 * BufferView_pimpl.C:
5008 * undo_funcs.C: return a ParIterator from getParFromID.
5010 * iterators.[Ch]: add two const's
5012 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * toc.C (getTocList): adjust
5016 * iterators.[Ch]: rework for parlist
5018 * buffer.C (par_iterator_begin): adjust
5019 (par_iterator_end): adjust
5021 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5023 * BufferView.C (removeAutoInsets): adjust
5024 (ChangeInsets): adjust
5026 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5028 * text.C (top_y): fix bug 1110
5030 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5032 * errorlist.[Ch]: added
5035 * BufferView_pimpl.C:
5036 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5039 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5041 * Makefile.am: ensure that lyx is relinked upon changes to the
5042 various "convenience" libs.
5044 2003-05-20 Angus Leeming <leeming@lyx.org>
5046 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5047 files are compiled in alphabetical order again.
5049 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5051 2003-05-19 Angus Leeming <leeming@lyx.org>
5053 * gettext.[Ch]: remove "char const * _(char const *)".
5055 2003-05-19 André Pönitz <poenitz@gmx.net>
5057 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5066 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5068 2003-05-19 André Pönitz <poenitz@gmx.net>
5072 * lyxtextclass.[Ch]:
5074 * paragraph_funcs.[Ch]:
5076 * text3.C: more insetenv work
5078 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5080 * ParagraphParameters.C (params2string): small bug fixed
5082 2003-05-16 André Pönitz <poenitz@gmx.net>
5085 * bufferview_funcs.C: patch from Kornel Benko to prevent
5086 crash when _(...) is called twice in a statement
5088 2003-05-16 André Pönitz <poenitz@gmx.net>
5095 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5097 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5099 * lyx_main.C (init): remove spurious static_cast
5101 2003-05-14 André Pönitz <poenitz@gmx.net>
5103 * BufferView.C: fix format string
5105 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5107 * BufferView.[Ch] (insertErrors): removed
5108 * BufferView.[Ch] (showErrorList): added
5109 * buffer.C (runChkTeX):
5110 * converter.C (scanLog): call showErrorList instead of inserterrors
5112 2003-05-13 André Pönitz <poenitz@gmx.net>
5114 * BufferView_pimpl.C:
5116 * bufferview_func.C:
5123 * tabular_funcs.h: tostr() from its own header
5125 * ParagraphParameters.C:
5130 * text3.C: STRCONV()
5132 2003-05-12 André Pönitz <poenitz@gmx.net>
5135 * BufferView_pimpl.C:
5139 * ParagraphParameters.C:
5143 * bufferview_funcs.C:
5156 * paragraph_funcs.C:
5160 * text3.C: boost::format -> bformat all over the place
5163 2003-05-09 André Pönitz <poenitz@gmx.net>
5165 * LColor.[Ch]: Pimpl the #include <map> away
5167 2003-05-09 John Levon <levon@movementarian.org>
5169 * bufferlist.C: never remove emergency saves
5171 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5173 * Makefile.am: better lib building
5175 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5177 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5179 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5180 (simpleTeXSpecialChars): adjust
5181 (simpleTeXSpecialChars): adjust
5182 * paragraph.C (simpleTeXOnePar): adjust
5183 * buffer.C (makeLaTeXFile): adjust
5185 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5187 * text2.C (changeDepth): parlist cleanup
5188 (getColumnNearX): ditto
5190 * rowpainter.C (getLabelFont): parlist cleanup
5192 * bufferlist.C (newFile): parlist cleanup
5194 * CutAndPaste.C (eraseSelection): parlist cleanup
5196 * BufferView_pimpl.C (trackChanges): parlist cleanup
5199 * BufferView.C (lockInset): parlist cleanup.
5200 (ChangeInsets): ditto
5202 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5204 * CutAndPaste.h: Update file header.
5206 * CutAndPaste.C: Update file header.
5207 Store the parts cut out of the Document in a limited_stack.
5208 (copySelection): adjust
5209 (pasteSelection): new function, takes the index in the limited stack.
5210 (nrOfParagraphs): adjust
5211 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5212 simplify error inset insertion.
5213 (checkPastePossible): adjust
5215 2003-05-06 John Levon <levon@movementarian.org>
5217 * text2.C: don't cast wrap inset to float
5219 2003-05-05 André Pönitz <poenitz@gmx.net>
5222 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5224 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5225 few naked Paragraph *.
5227 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5229 * bufferparams.C: Output warning if a document with missing
5230 TeX document class is loaded
5231 * exporter.C: Disable TeX exports if the document class is missing
5234 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5235 isTeXClassAvailable()
5237 2003-05-03 John Levon <levon@movementarian.org>
5240 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5241 explicit cursor show/hide
5243 * BufferView_pimpl.h:
5244 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5245 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5247 * lyxfunc.C: hide cursor before dispatching.
5252 * text3.C: remove explicit cursor hides
5254 2003-05-02 André Pönitz <poenitz@gmx.net>
5256 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5259 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5262 * text2.C: tiny whitespace
5264 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * undo_funcs.C: almost only ws changes.
5268 * ParagraphList.C (splice): just return if pl is empty.
5270 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5272 * ParagraphList.C (splice): new function.
5274 * CutAndPaste.C (pasteSelection): use it
5276 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5278 * CutAndPaste.C (pasteSelection): remove the last next and
5279 previous from this file.
5281 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5283 * CutAndPaste.C (pasteSelection): more clean up, user proper
5284 ParagraphList functions for pasteing.
5286 * ParagraphList.C (insert): new function, three arg insert
5288 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5290 * ParagraphList.C (insert): new function, three arg insert
5292 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5295 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5299 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5301 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5303 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5305 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5306 (copySelection): clean up a bit.
5307 (pasteSelection): use make_pair
5309 * ParagraphList.C (ParagraphList): implement copy constructor
5310 (operator=): implement, base on copy constructor.
5313 * paragraph.C (erase): return a bool
5315 * paragraph_pimpl.C (erasePos): remove function, move contents...
5316 (erase): ... here. Return a bool.
5317 (erase): call erase instead of erasePos.
5319 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5321 * ParagraphList.h: define PitPosPair
5322 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5323 ParagraphList, fix a bug on pasting multiple pars
5324 * text2.C: change interface to C&P
5326 2003-04-30 André Pönitz <poenitz@gmx.net>
5328 * undo_func.C: revert part of yesterday's patch 2
5330 2003-04-30 John Levon <levon@movementarian.org>
5332 * LColor.C: s/tabular/table/
5334 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5336 * text3.C (dispatch): do not convert iterator -> pointer
5337 * undo_funcs.C (setCursorParUndo): ditto
5338 * text_funcs.C (transposeChars): ditto
5340 * text2.C (setLayout): ws changes only
5342 * text.C (breakParagraph): do not convert iterator -> pointer
5344 (acceptChange): ditto
5345 (rejectChange): ditto
5350 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5353 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5355 * text3.C (gotoInset): YABG (yet another bad getChar)
5357 2003-04-29 André Pönitz <poenitz@gmx.net>
5359 * paragraph.h: make operator= private unimplemented as long as
5362 * ParagraphList.C: whitespace
5365 * paragraph_pimpl.[Ch]:
5366 * paragraph_funcs.C:
5368 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5371 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5373 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5375 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5376 * paragraph.[Ch] (erase):
5377 * paragraph_pimpl.[Ch] (erase): change return type and value
5378 * text2.C (cutSelection): some rework
5380 2003-04-28 John Levon <levon@movementarian.org>
5382 * bufferlist.C: changes for unsaved changes dialog
5384 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5386 * bufferlist.C (newFile): set language (messages_) for new
5389 * buffer.C (readFile): ws changes only.
5391 2003-04-28 André Pönitz <poenitz@gmx.net>
5396 * BufferView_pimpl.C:
5397 * BufferView.C: getParFromID related ParagraphList::iterator changes
5399 2003-04-28 André Pönitz <poenitz@gmx.net>
5401 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5404 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5406 * messages.C: remove one more localedir class variable.
5408 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5410 * messages.C (getLocaleDir): singleton generation function
5412 (Messages): add a default constructor.
5414 * main.C (main): do not setup localedir here, do not call
5417 * gettext.C (_): use it.
5418 (gettext_init): delete funciton
5420 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * gettext.C (getLyXMessages): new singleton generating function.
5424 * buffer.C (updateDocLang): adjust
5426 * Makefile.am (messages.o): add target
5427 (main.o): remove target
5429 2003-04-27 John Levon <levon@movementarian.org>
5434 * lyxvc.C: specify cancel button in Alert::prompt
5436 2003-04-26 John Levon <levon@movementarian.org>
5441 * LyXAction.C: add LFUN_INSET_SETTINGS
5443 * lyxfunc.C: don't enable tabular-feature when there's
5444 just any locking inset
5446 2003-04-26 John Levon <levon@movementarian.org>
5448 * bufferlist.C: re-add Cancel to buffer close question
5450 * lyxfunc.C: fix import UI a bit
5452 2003-04-25 John Levon <levon@movementarian.org>
5454 * gettext.C: remove the broken asserts for now
5456 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * messages.C: make case where setlocale cannot comply work better.
5460 * buffer.C (updateDocLang): new function
5461 (changeLanguage): use it
5464 * text2.C (setCounter): use B_ a bit.
5466 * lyxlayout.C (Read): be sure to trim the label strings.
5468 * messages.C (Messages): fix typo in comment
5470 * buffer.C (readFile): set message_ after file is loaded.
5471 (makeDocBookFile): remove double return
5472 (changeLanguage): reset message_ upon language change.
5473 (B_): new func, use this to get translated buffer strings.
5475 * main.C: add myself and Jean Marc as authors.
5477 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * messages.[hC]: pimplify Messages, and three different pimpls to be
5480 used in different circumstances.
5482 * gettext.[Ch]: change for use with new message code.
5484 2003-04-24 André Pönitz <poenitz@gmx.net>
5486 * factory.C: support for eqref
5488 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5490 * messages.[Ch]: add missing char
5492 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5494 * messages.[Ch]: New files
5496 2003-04-18 John Levon <levon@movementarian.org>
5500 * BufferView_pimpl.C:
5504 * text2.C: remove layout-copy/paste (bug 778)
5506 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5508 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5510 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5512 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5513 if they succeed. Act accordingly.
5515 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5517 * text2.C (setCharFont): adjust
5518 (setCounter): adjust
5519 (insertStringAsLines): adjust
5521 * text.C (leftMargin): adjust
5522 (setHeightOfRow): adjust
5524 * rowpainter.C (paintFirst): adjust
5527 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5529 (isFirstInSequence): ditto
5530 (getEndLabel): ditto
5533 * paragraph.C (getParLanguage): comment out some hard stuff.
5535 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5537 (simpleDocBookOnePar): ditto
5538 (makeDocBookFile): use ParagraphList::iterator
5540 * CutAndPaste.C (pasteSelection): adjust
5542 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * text2.C (getFont): adjust
5545 (getLayoutFont): adjust
5546 (getLabelFont): adjust
5548 * paragraph_funcs.C (TeXOnePar): adjust
5550 * buffer.C (simpleLinuxDocOnePar): adjust
5551 (simpleDocBookOnePar): adjust
5553 * CutAndPaste.C (pasteSelection): adjust
5555 * BufferView.C (getEncoding): adjust
5557 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5559 2003-04-16 John Levon <levon@movementarian.org>
5561 * lyxfind.C: use parlist stuff for search/changes
5563 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5567 * text2.C (deleteEmptyParagraphMechanism): adjust
5569 * text2.[Ch] (ownerParagraph): delete func (both of them
5571 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5573 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5575 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * ParagraphList.C: prepare for NO_NEXT
5579 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5581 * text2.C (getFont): adjust
5582 (getLayoutFont): adjust
5583 (getLabelFont): adjust
5585 * paragraph.C (getFont): adjust
5586 (getLabelFont): adjust
5587 (getLayoutFont): adjust
5589 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5591 2003-04-15 John Levon <levon@movementarian.org>
5595 * lyx_main.C: handle Include in .ui files
5597 2003-04-15 John Levon <levon@movementarian.org>
5599 * MenuBackend.C: make the doc files length shorter
5602 * ToolbarBackend.C: handle toolbar placement flags,
5605 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5607 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5610 * paragraph_funcs.C (TeXOnePar): adjust
5612 * paragraph.C (getLabelFont): add outerfont arg, adjust
5613 (getLayoutFont): ditto
5614 (simpleTeXOnePar): adjust
5616 * paragraph_pimpl.C (realizeFont): delete func
5618 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5620 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5621 row argument, constify cur argument.
5623 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5625 * text2.C (getFont): adjust
5626 (getLayoutFont): adjust
5627 (getLabelFont): adjust
5629 * paragraph_funcs.C (TeXOnePar): adjust
5630 (outerFont): new func...
5631 (realizeFont): ...moved out from here, changed this to facilitate
5634 * paragraph.C (getFont): take outerfont as arg, adjust
5635 (simpleTeXOnePar): add outerfont arg, adjust
5637 * buffer.C (simpleLinuxDocOnePar): adjust
5638 (simpleDocBookOnePar): adjust
5640 * CutAndPaste.C (pasteSelection): adjust
5642 * BufferView.C (getEncoding): adjust
5644 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * text2.C (setCharFont): adjust
5647 (setCounter): adjust
5649 * text.C (leftMargin): adjust
5650 (setHeightOfRow): adjust
5652 * rowpainter.C (paintFirst): adjust
5655 * paragraph_pimpl.C (realizeFont): adjust
5657 * paragraph.C (isFirstInSequence): move from here...
5658 * paragraph_funcs.C (isFirstInSequence): ...to here
5660 * paragraph.C (outerHook): move from here...
5661 * paragraph_funcs.C (outerHook): ...to here
5663 * paragraph.C (depthHook): move from here...
5664 * paragraph_funcs.C (depthHook): ...to here
5666 * paragraph.C (getEndLabel): move from here...
5667 * paragraph_funcs.C (getEndLabel): ...to here
5669 * text2.C (realizeFont): move from here...
5670 * paragraph_funcs.C (realizeFont): ...to here
5672 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5676 2003-04-14 Angus Leeming <leeming@lyx.org>
5678 * LColor.[Ch]: scrap LColor mathcursor.
5680 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * lyxlex.[Ch] (text): delete function
5683 * trans.C (Load): adjust
5684 * paragraph_funcs.C (readParToken): adjust
5686 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5688 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5689 vector<char> instead of a char[].
5691 * lyxlex_pimpl.C (getString): adjust
5693 (lex): use getString
5697 * lyxlex.C (text): use pimpl_->getString()
5701 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5703 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5704 (makeFontEntriesLayoutSpecific): temp var for par.size()
5705 (setLayout): temp var for ownerParagraphs().end()
5706 (fullRebreak): temp var for rows().end()
5707 (selectionAsString): temp var for boost::next(startpit), realize
5708 that the while really is a regular for loop.
5709 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5710 setCursor in one place.
5711 (setParagraph): temp vr for ownerParagraphs().end()
5712 (updateCounters): make the while loop a for loop
5713 (cutSelection): temp var for ownerParagraphs().end()
5714 (updateInset): make the do {} while() a regular for loop
5715 (getCursorX): use temp vars
5716 (setCurrentFont): use temp vars
5717 (getColumnNearX): use temp vars
5719 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5721 * text.C (transformChar): use temp var for getChar
5722 (computeBidiTables): use temp var for row->par()
5723 (fill): move temp vars for row->par() and pit->layout() earlier in
5725 (labelFill): use temp var for row->par()
5726 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5727 asc and desc, realize that pit never changes and that firstpit is
5728 just a duplicate and not needed. Exchange rit->par() with pit in a
5730 (breakAgain): use a temp var for boost::next(rit)
5731 (breakAgainOneRow): ditto
5732 (breakParagraph): use a temp var for rows().begin()
5733 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5734 (cursorRightOneWord): use temp var for cursor.par() and
5735 cursor.pos(), remove usage of tmpcursor.
5736 (cursorLeftOneWord): use temp var for cursor.par() and
5737 cursor.pos() only set cur at end of function.
5739 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5741 * text.C, text2.C: exchange all usage of Paragraph::next with
5742 boost::next(ParagraphList::iterator)
5744 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5746 * text2.C (cursorTop): simplify implementation
5747 (cursorBottom): ditto
5748 (setParagraph): use ParagraphList::iterator
5749 (setCurrentFont): adjust
5750 (getColumnNearX): adjust
5751 (cursorRight): adjust
5752 (cursorLeft): remove usage of Paragraph::previous
5753 (cursorUpParagraph): ditto
5754 (deleteEmptyParagraphMechanism): slight cleanup
5756 * text.C (isBoundary): take a Paragraph const & instead of a
5758 (addressBreakPoint): ditto
5759 (leftMargin): remove usage of Paragraph::previous.
5760 (setHeightOfRow): ditto
5761 (cursorLeftOneWord): ditto
5762 (selectNextWordToSpellcheck): ditto
5765 (breakParagraph): remove one usage of Paragraph::next
5766 (redoParagraph): ditto
5767 (acceptChange): ditto
5768 (insertChar): adjust
5769 (rowBreakPoint): adjust
5771 * bufferview_funcs.C (toggleAndShow): adjust
5773 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5775 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5776 methods to access it.
5778 * text.C: Added updateRowPositions to compute all row positions.
5779 Make top_y and getRowNearY() to use the cached y position
5781 2003-04-11 John Levon <levon@movementarian.org>
5783 * text.C (rowBreakPoint): reintroduce the labelEnd
5784 checks, code copied from the row fill stuff. Deep voodoo.
5786 * text.C (fill): add a comment and debugging for the
5789 2003-04-11 John Levon <levon@movementarian.org>
5791 * text.C: make sure fullrow insets get wrapped to the next line,
5792 even when they're in a manual label
5794 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * text2.C (insertParagraph): make it take ParagraphList::iterator
5798 (setLayout): make it return ParagraphList::iterator
5799 (redoParagraphs): ditto
5801 (checkParagraph): ditto
5803 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5805 * text2.C: adjust several funcs.
5806 (realizeFont): take a ParagraphList::iterator as arg.
5807 (getLayoutFont): ditto
5808 (getLabelFont): ditto
5809 (setCharFont): ditto
5811 * text.C: adjust several funcs.
5813 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5815 * text.C (selectNextWordToSpellcheck): don't accidentally
5818 2003-04-10 John Levon <levon@movementarian.org>
5820 * ToolbarBackend.C (getIcon): special handling for
5823 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5825 * text2.C (cursorRight): a getChar assert fixed
5827 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5829 * text2.C (getFont): change to take a ParagraphList::iterator
5830 instead of Paragraph*
5831 Adjust several functions.
5833 * text.C (transformChar): change to take a ParagraphList::iterator
5834 instead of Paragraph*
5835 (singleWidth): ditto
5836 Adjust several functions.
5838 * rowpainter.C: adjust several functions
5839 * rowpainter.h:store a ParagraphList::iterator and not a
5843 2003-04-09 John Levon <levon@movementarian.org>
5848 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5849 and the "help" bits as well
5851 2003-04-09 John Levon <levon@movementarian.org>
5854 * ToolbarBackend.C: allow multiple toolbars
5856 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5858 * undo_funcs.C (setCursorParUndo): adjust
5860 * text_funcs.C (transposeChars): adjust
5862 * text3.C (gotoNextInset): adjust
5865 * text2.C (setLayout): adjust
5866 (changeDepth): adjust
5868 (redoParagraphs): adjust
5869 (selectionAsString): adjust
5870 (setParagraph): adjust
5871 (insertInset): adjust
5872 (cutSelection): adjust
5873 (copySelection): adjust
5874 (pasteSelection): adjust
5875 (insertStringAsLines): adjust
5876 (updateInset): adjust
5877 (setCursor): change to take a ParagraphList::iterator parameter
5878 (setCursorIntern): change to take a ParagraphList::iterator parameter
5879 (setCurrentFont): adjust
5880 (cursorLeft): adjust
5881 (cursorRight): adjust
5882 (deleteEmptyParagraphMechanism): adjust
5884 * text.C (breakParagraph): adjust
5885 (insertChar): adjust
5886 (acceptChange): adjust
5887 (rejectChange): adjust
5888 (selectNextWordToSpellcheck): adjust
5889 (changeCase): adjust
5893 * lyxfind.C (SearchForward): adjust
5894 (SearchBackward): adjust
5895 (nextChange): adjust
5897 * lyxcursor.C (par): adjust
5899 * lyxcursor.h: store a ParagraphList::iterator instead of a
5902 * lyx_cb.C (getPossibleLabel): adjust
5904 * bufferview_funcs.C (toggleAndShow): adjust
5906 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5909 * BufferView.C (removeAutoInsets): adjust
5910 (lockedInsetStoreUndo): adjust
5912 2003-04-09 John Levon <levon@movementarian.org>
5914 * ToolbarBackend.C: try icon without argument
5915 if with argument fails
5917 2003-04-08 John Levon <levon@movementarian.org>
5920 * ToolbarBackend.C: add getIcon(), handle tooltip,
5921 and change from "Icon" to "Item".
5923 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5925 * BufferView.C (lockInset): another bad getchar crunched
5927 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5929 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5932 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5934 * lyxfind.C (searchForward, searchBackwards): bug 782
5936 2003-04-07 John Levon <levon@movementarian.org>
5938 * paragraph.C: remove dead comment
5940 * text.C: remove troublesome depth-fiddling code
5941 in leftMargin() and rightMargin() (bug 1017)
5943 * text.C: fix breaking of rows in nested lists
5946 * text2.C (updateCounters): fix up depth values
5949 2003-04-07 John Levon <levon@movementarian.org>
5951 * BufferView_pimpl.C: clear message when doc finishes resizing,
5952 and after a mouse event
5954 * lyxfunc.C: clear message after exiting inset
5956 2003-04-07 John Levon <levon@movementarian.org>
5958 * bufferview_funcs.C: show math status not outside
5959 status in the statusbar
5961 2003-04-07 John Levon <levon@movementarian.org>
5963 * lyxfunc.C: note status changed after a depth change
5965 2003-04-04 Angus Leeming <leeming@lyx.org>
5967 * LaTeX.h: move AuxInfo operator==, != out of line.
5968 Remove LaTeX virtual destructor; nothing derives from it.
5969 Move operator()() out of public area and rename it startscript().
5970 Change protected for private.
5972 2003-04-04 Angus Leeming <leeming@lyx.org>
5975 * text2.C: remove unneeded #includes.
5977 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5979 * text2.C (dEPM): fix the heigth of the next row
5981 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5983 * text.C: squashed an invalid getChar requester + some ws changes
5985 2003-04-03 John Levon <levon@movementarian.org>
5987 * bufferview_funcs.h:
5988 * bufferview_funcs.C:
5991 * text2.C: make getStatus work for the env depth lfuns
5993 2003-04-03 John Levon <levon@movementarian.org>
5995 * bufferview_funcs.h:
5996 * bufferview_funcs.C:
5999 * text2.C: parlistize decDepth(), by merging it with incDepth()
6001 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6003 * lyxrow.h: store a ParagraphList::iterator instead of a
6004 Paragraph* and adjust other class functions to suit.
6006 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6009 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6011 * text2.C (setCursor): do not anchor to cursor row for the time being
6013 2003-04-02 John Levon <levon@movementarian.org>
6020 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6022 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * paragraph.h: make ParagraphList and ParagraphList::iterator
6025 friends of Paragraph.
6027 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6029 * ParagraphList.C: Use the private next_ and previous_ from
6032 2003-04-01 John Levon <levon@movementarian.org>
6036 * Makefile.am: rename, remove defaults gunk
6039 * MenuBackend.C: remove defaults gunk
6042 * Languages.C: remove defaults gunk
6045 * lyx_main.C: error out if files couldn't be found.
6047 2003-04-02 John Levon <levon@movementarian.org>
6049 * text2.C: make incDepth() use parlist
6051 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6053 * undo_funcs.C (firstUndoParagraph): adjust
6055 * text3.C (gotoInset): adjust
6056 (dispatch): adjust, and rewrite loop.
6058 * text2.C (init): adjust, and rewrite loop.
6059 (redoParagraphs): adjust
6060 (updateInset): adjust, and rewrite loop.
6061 (deleteEmptyParagraphMechanism): adjust
6063 * tabular.C (LyXTabular): adjust
6064 (SetMultiColumn): adjust
6067 * lyxtext.[Ch] (ownerParagraph): delete function
6068 (ownerParagraphs): new function returns a ParagraphList.
6070 * BufferView.C (removeAutoInsets): adjust
6071 (insertErrors): adjust
6072 (setCursorFromRow): adjust
6074 2003-04-01 Angus Leeming <leeming@lyx.org>
6076 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6079 2003-04-02 John Levon <levon@movementarian.org>
6085 * text_funcs.C: make transposeChars a free function
6087 * lyxrow_funcs.C: remove wrong comment
6089 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6092 * rowpainter.C: adjust
6097 * lyxrow_funcs. [Ch]: new files
6099 * lyxrow.[Ch]: remove next and previous pointers
6100 (next,previous): remove accessor functions
6101 (isParEnd): move to lyxrow_funcs
6102 (lastPos): move to lyxrow_funcs
6103 (nextRowIsAllInset): move to lyxrow_funcs
6104 (lastPrintablePos): move to lyxrow_funcs
6105 (numberOfSeparators): move to lyxrow_funcs
6106 (numberOfHfills): move to lyxrow_funcs
6107 (numberOfLabelHfills): move to lyxrow_funcs
6108 (hfillExpansion): move to lyxrow_funcs
6112 * bufferview_funcs.C (toggleAndShow): adjust
6114 * RowList.h: Remove class RowList from file leave just a
6117 * RowList.C: delete file
6119 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6122 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * text3.C (cursorPrevious): adjust
6125 (cursorNext): adjust
6128 * text2.C (redoHeightOfParagraph): adjust
6129 (redoDrawingOfParagraph): adjust
6132 * text.C (breakParagraph): adjust
6133 (insertChar): adjust
6136 * rowpainter.C (RowPainter): adjust
6137 (leftMargin): simplify and adjust
6138 (most rowpainter functions): adjust.
6140 * rowpainter.h: store the row as RowList::iterator not as Row*
6142 * lyxcursor.C (row): taka RowList::iterator as arg
6145 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6148 2003-04-01 Angus Leeming <leeming@lyx.org>
6150 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6151 stuff like bool Bool.
6153 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6155 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6158 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6160 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6163 * lyxtext.h (rows): drop one version and leve a const variant that
6164 returns a RowList::iterator.
6166 2003-03-31 Angus Leeming <leeming@lyx.org>
6168 * text.C (fill): ensure that the signature is the same as that in the
6171 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * text2.C (redoParagraphs): adjust
6174 (updateCounters): adjust
6175 (checkParagraph): adjust
6176 (getColumnNearX): adjust and reformat a bit.
6178 * text.C (top_y): adjust
6180 (leftMargin): adjust
6181 (prepareToPrint): adjust
6183 (getRowNearY): adjust
6185 * lyxtext.h: make rowlist_ mutable.
6187 * RowList.h: add const_iterator
6188 * RowList.C: adjust for RowList::const_iterator.
6190 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6193 2003-03-31 John Levon <levon@movementarian.org>
6196 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6198 * lyx_main.C: set default fonts from using lyx_gui funcs
6200 * exporter.C: pdf_mode moved from lyxrc
6203 * lyxfunc.C: changes from above
6205 2003-03-31 John Levon <levon@movementarian.org>
6207 * lyx_main.C: fix to the last fix
6209 2003-03-31 John Levon <levon@movementarian.org>
6211 * bufferlist.C: "Load original" -> "Load Original"
6217 * format.C: more Alert cleanups
6219 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * text2.C (removeParagraph): make it take a RowList::iterator as
6223 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6224 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6226 * text.C (anchor_row): make it take a RowList::iterator as arg,
6228 (computeBidiTables): make it take a const reference to Row instead
6229 of Row pointer, adjust.
6230 (leftMargin): make it take a RowList::iterator as arg, adjust.
6231 (rowBreakPoint): adjust
6232 (breakAgainOneRow): make it take a RowList::iterator as arg,
6234 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6236 * bufferview_funcs.C (toggleAndShow): adjust
6238 2003-03-30 John Levon <levon@movementarian.org>
6242 * boost-inst.C: moved to support
6244 * several files: changes as a result
6246 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * text2.C (LyXText): adjust.
6250 (removeRow): make it take a RowList::iterator as arg, adjust.
6251 (fullRebreak): adjust
6252 (deleteEmptyParagraphMechanism): adjust
6253 (clearPaint): adjust
6256 * text.C (top_y): adjust
6257 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6258 (breakAgain): make it take a RowList::iterator as arg, adjust.
6259 (breakParagraph): adjust
6260 (insertChar): adjust
6263 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6264 need_break_row, and refresh_row.
6266 * text3.C (dispatch): adjust
6268 * text2.C (checkParagraph): adjust
6270 (setCursorFromCoordinates): adjust
6272 * text.C (top_y): adjust
6274 (getRow): make it return a RowList::iterator, adjust
6275 (getRowNearY): make it return a RowList::iterator, adjust
6277 * text2.C (init): adjust
6278 (insertRow): remove function
6279 (insertParagraph): adjust
6280 (redoParagraphs): adjust
6281 (fullRebreak): adjust
6282 (updateCounters): adjust
6284 * text.C (top_y): rewrite to use RowList iterators.
6286 (setHeightOfRow): rewrite to sue RowList iterators.
6287 (appendParagraph): adjust
6288 (breakAgain): adjust
6289 (breakAgainOneRow): adjust
6290 (breakParagraph): adjust
6292 (getRowNearY): adjust, and remove commented code.
6294 * lyxtext.h (firstRow): delete function
6295 (lastRow): delete function
6296 (rows): new function (const and non-const versions.)
6297 (insertRow): delete function
6299 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6301 2003-03-29 John Levon <levon@movementarian.org>
6303 * BufferView_pimpl.C: always update scrollbar top
6304 because pasting text when we're anchored could mean we
6305 miss an update altogether
6307 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6309 * text2.C (init): use rowlist_.end() and not 0.
6310 (insertRow): change to take a RowList::iterator as arg, adjust
6312 (insertParagraph): change to take a RowList::iterator as arg,
6314 (redoParagraphs): remove some debug msgs.
6316 * text.C (appendParagraph): change to take a RowList::iterator
6317 arg, adjust for this.
6318 (breakAgain): add an assert
6319 (breakAgainOneRow): ditto
6321 2003-03-29 John Levon <levon@movementarian.org>
6323 * text2.C: do not clear selection after inc/decDepth
6326 2003-03-29 John Levon <levon@movementarian.org>
6329 * buffer.C: fix broken strerrors according to Lars
6331 2003-03-29 John Levon <levon@movementarian.org>
6333 * converters.C: more Alert cleanups
6335 2003-03-29 John Levon <levon@movementarian.org>
6337 * bufferview_funcs.C: remove pointless Alert
6339 * buffer.C: fix confusing error message when
6340 a template is chmoded 000
6342 2003-03-29 John Levon <levon@movementarian.org>
6346 * BufferView_pimpl.C: Alert fixes
6350 * tabular-old.C: remove unused table compat reading
6352 2003-03-29 John Levon <levon@movementarian.org>
6357 * lyx_cb.C: more Alert cleanups
6359 * lyxfunc.C: don't allow chktex if not latex document
6361 2003-03-29 John Levon <levon@movementarian.org>
6365 * buffer.C: warnings pushed down from support/,
6368 2003-03-29 John Levon <levon@movementarian.org>
6370 * lyxfunc.C: safety check for C-r (revert)
6372 2003-03-29 John Levon <levon@movementarian.org>
6375 * bufferlist.C: several UI fixes using Alert::prompt.
6376 Fix the pointless looping quit code. Fix stupid revert
6381 * lyx_cb.C: use Alert::prompt
6383 * lyx_main.C: remove a silly question
6385 * lyxfunc.C: remove a couple of silly questions,
6388 2003-03-28 John Levon <levon@movementarian.org>
6390 * text2.C: fix bug 974 (End on empty par)
6392 2003-03-28 John Levon <levon@movementarian.org>
6394 * BufferView_pimpl.C:
6396 * lfuns.h: remove do-nothing math greek lfuns
6398 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6400 * lyxgluelength.h (isValidGlueLength): add default arg on
6401 parameter 2. Remove default arg from friend in class.
6403 * lyxlength.h (isValidLength): add default arg on parameter 2.
6404 Remove default arg from friend in class.
6406 * text2.C (LyXText): adjust, initialize refresh_row.
6410 (insertParagraph): adjst
6411 (redoParagraphs): adjust
6412 (fullRebreak): adjust
6413 (updateCounters): adjust
6414 (deleteEmptyParagraphMechanism): first attempt at fixing a
6417 * text.C (top_y): adjust
6418 (setHeightOfRow): adjust
6420 (getRowNearY): adjust
6422 * lyxtext.h: include RowList.h
6423 (~LyXText): not needed anymore, deleted.
6424 (firstRow): modify for RowList
6425 (lastRow): new function
6426 Delete firstrow and lastrow class variables, add a Rowlist
6427 rowlist_ class variable.
6429 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6432 * RowList.C (insert): fix case where it == begin().
6434 2003-03-26 Angus Leeming <leeming@lyx.org>
6436 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6437 the thesaurus dialog.
6439 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6443 * RowList.[Ch]: new files
6445 * ParagraphList.C (erase): handle the case where it == begin
6448 2003-03-25 John Levon <levon@movementarian.org>
6452 * aspell.C: add new aspell support
6455 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6458 2003-03-25 Angus Leeming <leeming@lyx.org>
6461 * LyXAction.C (init): new LFUN_INSET_INSERT.
6463 * BufferView_pimpl.C (dispatch): split out part of the
6464 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6466 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6469 2003-03-25 Angus Leeming <leeming@lyx.org>
6471 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6473 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6476 * text3.C: remove useless row->height(0)
6478 2003-03-25 John Levon <levon@movementarian.org>
6482 * text3.C: rename the refreshing stuff to better names
6484 2003-03-24 John Levon <levon@movementarian.org>
6486 * BufferView_pimpl.h:
6487 * BufferView_pimpl.C: update layout choice on a mouse
6490 2003-03-23 John Levon <levon@movementarian.org>
6492 * Makefile.am: fix commandtags.h reference
6494 2003-03-22 John Levon <levon@movementarian.org>
6496 * BufferView_pimpl.C:
6501 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6503 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6506 * text.C: take the rtl methods out of line
6508 2003-03-21 André Pönitz <poenitz@gmx.net>
6510 * metricsinfo.[Ch]: new files containing structures to be passed around
6511 during the two-phase-drawing...
6513 2003-03-21 André Pönitz <poenitz@gmx.net>
6515 * lyxtextclass.C: read 'environment' tag.
6517 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6519 * text2.C (removeRow): fix bug 964
6521 2003-03-20 John Levon <levon@movementarian.org>
6525 * text2.C: paint cleanups. Inset::update() dropped font
6528 2003-03-19 John Levon <levon@movementarian.org>
6530 * lyxfunc.C: only fitcursor/markDirty if available()
6532 2003-03-19 John Levon <levon@movementarian.org>
6534 * commandtags.h: rename to ...
6536 * lfuns.h: ... this, and renumber / cleanup
6538 2003-03-19 John Levon <levon@movementarian.org>
6540 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6541 fit the cursor after an lfun
6545 * BufferView_pimpl.h:
6546 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6548 * LyXAction.C: layout-character should have ReadOnly
6550 * ParagraphParameters.C:
6552 * bufferview_funcs.C:
6559 * undo_funcs.C: changes from above
6561 2003-03-18 John Levon <levon@movementarian.org>
6563 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6564 remove it from update()
6566 * lyxfunc.C: update layout choice after an lfun
6568 * text3.C: remove extra updateLayoutChoice()s
6570 2003-03-18 John Levon <levon@movementarian.org>
6572 * text.C: top_y change means full repaint, fix
6573 a drawing bug with cursor movement
6575 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6579 * text2.C: anchor row on setCursor
6581 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6583 * lyxtext.h: remove almost all mutable keywords
6586 * text3.C: remove const keywords accordingly
6588 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6590 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6592 (TeXEnvironment): ditto
6595 2003-03-17 John Levon <levon@movementarian.org>
6597 * text.C (rowBreakPoint): remove attempt to fix displayed
6598 math insets inside a manual label
6600 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * lyxtext.h: remove BufferView* as first arg from almost all class
6604 * other files: adjust.
6606 2003-03-17 John Levon <levon@movementarian.org>
6610 * text2.C: more paint cleanups
6612 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6615 * rowpainter.C: remove "smart" background painting code
6617 2003-03-16 John Levon <levon@movementarian.org>
6622 * text3.C: add helper functions for setting refresh_row/y
6624 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6626 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6627 newline inset which *can* get inserted in the pass_thru layouts.
6628 This is primarily for literate documents.
6630 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6632 * buffer.C: increment LYX_FORMAT to 223
6634 2003-03-14 André Pönitz <poenitz@gmx.net>
6636 * textclass.h: prepare for environment handling, ws changes
6637 * lyxlayout.C: read latexheader and latexfooter tags
6639 2003-03-14 John Levon <levon@movementarian.org>
6641 * text2.C: rewrite ::status() a bit
6643 2003-03-13 John Levon <levon@movementarian.org>
6645 * lyxtext.h: add some docs
6647 2003-03-13 John Levon <levon@movementarian.org>
6652 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6654 2003-03-13 John Levon <levon@movementarian.org>
6656 * text3.C: fix appendix redrawing
6658 2003-03-13 John Levon <levon@movementarian.org>
6660 * text.C (setHeightOfRow):
6662 * rowpainter.C: make appendix mark have the text
6663 "Appendix" so the user knows what it is
6666 * LColor.C: s/appendixline/appendix/ from above
6668 2003-03-13 John Levon <levon@movementarian.org>
6670 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6672 * text.C: fix a getChar(pos) bug properly
6674 2003-03-13 Angus Leeming <leeming@lyx.org>
6677 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6678 Probably only temporary. Let's see how things pan out.
6680 * BufferView.C (unlockInset):
6681 * BufferView_pimpl.C (fitCursor):
6682 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6684 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6685 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6687 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6688 new functions that convert ParagraphParameters to and from a string.
6690 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6691 BufferView::Pimpl's dispatch.
6692 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6694 2003-03-13 André Pönitz <poenitz@gmx.net>
6698 * factory.C: make it aware of InsetEnv
6700 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * text2.C (setCursor): never ask for one past last
6703 (setCursor): add some debugging messages.
6705 * text.C (singleWidth): never ask for one past last
6706 (singleWidth): ditto
6708 (rightMargin): ditto
6709 (rowBreakPoint): ditto
6710 (setHeightOfRow): ditto
6711 (prepareToPrint): ditto
6713 * rowpainter.C (paintBackground): never ask for one past last
6714 (paintText): never ask for one past last
6716 * paragraph_pimpl.C (getChar): make the assert stricter, never
6717 allow the one past last pos to be taken
6719 * paragraph.C (getChar): ws changes only
6721 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6722 (numberOfSeparators): ditto
6723 (numberOfHfills): ditto
6725 2003-03-12 John Levon <levon@movementarian.org>
6731 * paragraph_funcs.C: fix per-buffer authorlists
6733 2003-03-12 John Levon <levon@movementarian.org>
6735 * text.C: fix newline in right address
6737 2003-03-12 Angus Leeming <leeming@lyx.org>
6739 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6740 duplicate those in LyXFunc::dispatch.
6744 * ToolbarDefaults.C:
6745 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6746 Add LFUN_FONTFREE_UPDATE.
6748 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6749 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6751 * bufferview_func.[Ch]: several new functions to facilliate
6752 transfer of data to and from the character dialog.
6754 2003-03-12 John Levon <levon@movementarian.org>
6759 * paragraph_funcs.C:
6760 * paragraph_pimpl.C:
6764 * text3.C: remove META_NEWLINE in favour of an inset
6767 * rowpainter.C: remove paintNewline (done by inset)
6769 2003-03-12 John Levon <levon@movementarian.org>
6771 * paragraph_pimpl.C: complain about bad getChar()s
6772 for a while at least
6774 2003-03-12 John Levon <levon@movementarian.org>
6777 * buffer.C: move paragraph read into a separate function,
6778 a little renaming to reflect that.
6781 * bufferparams.C: remove the author_ids map, not necessary now
6784 * factory.C: moved Buffer::readInset to here
6786 * paragraph_funcs.h:
6787 * paragraph_funcs.C: readParagraph free function moved from
6790 * tabular.C: name change
6792 2003-03-12 John Levon <levon@movementarian.org>
6795 * ParagraphParameters.C: move par params input to
6798 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6799 behave like a normal read from the stream wrt reading
6800 a line vs. a \\token
6802 2003-03-12 John Levon <levon@movementarian.org>
6805 * ParagraphParameters.h:
6806 * ParagraphParameters.C: move output code to a
6809 2003-03-12 John Levon <levon@movementarian.org>
6811 * BufferView.C (insertLyXFile):
6814 * tabular.C: use a parlist iterator for creating the
6817 2003-03-12 John Levon <levon@movementarian.org>
6819 * buffer.C: make current_change static local not
6822 2003-03-12 John Levon <levon@movementarian.org>
6824 * buffer.C: fix insertStringAsLines for change tracking
6826 2003-03-12 John Levon <levon@movementarian.org>
6833 * bufferparams.C: move author list into params. Rename some
6834 functions. Move the header reading into a separate token
6835 loop. Move the header token reading into BufferParams.
6837 2003-03-12 John Levon <levon@movementarian.org>
6839 * changes.C: put debug inside lyxerr.debugging() checks
6841 2003-03-11 André Pönitz <poenitz@gmx.net>
6843 * factory.C: make it aware of InsetHFill
6845 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6847 * buffer.C (latexParagraphs): move function from here...
6848 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6851 2003-03-10 Angus Leeming <leeming@lyx.org>
6853 * LyXAction.C (init): fix bug in poplating array with multiple entries
6854 with the same LFUN (spotted by JMarc).
6856 2003-03-10 John Levon <levon@movementarian.org>
6859 * text2.C: move getColumnNearX() near its
6862 2003-03-10 John Levon <levon@movementarian.org>
6864 * text.C: fix break before a minipage
6866 2003-03-10 John Levon <levon@movementarian.org>
6868 * text.C: fix the last commit
6870 2003-03-09 John Levon <levon@movementarian.org>
6874 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6875 bug 365 (don't break before insets unless needed). Don't
6876 return a value > last under any circumstances.
6878 2003-03-09 Angus Leeming <leeming@lyx.org>
6880 * BufferView_pimpl.C (trackChanges, dispatch): call
6881 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6883 2003-03-09 Angus Leeming <leeming@lyx.org>
6885 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6886 than Dialogs::showAboutlyx().
6888 2003-03-09 Angus Leeming <leeming@lyx.org>
6890 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6891 than Dialogs::showTabularCreate().
6893 2003-03-09 John Levon <levon@movementarian.org>
6897 * text2.C: 3rd arg to nextBreakPoint was always the same.
6900 2003-03-08 John Levon <levon@movementarian.org>
6907 * text2.C: Remove the "main" bit from the "main body"
6910 2003-03-08 John Levon <levon@movementarian.org>
6912 * text.C (leftMargin): The left margin of an empty
6913 manual label paragraph should not include the label width
6916 * text.C (prepareToPrint): don't attempt to measure hfills
6917 for empty manual label paragraphs - the answer should be 0
6919 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * CutAndPaste.C: remove commented code and reindent.
6923 2003-03-08 John Levon <levon@movementarian.org>
6926 * lyxfunc.C: move reloadBuffer()
6929 * BufferView.C: to here
6931 * lyxvc.C: add comment
6934 * vc-backend.C: call bv->reload() to avoid
6935 getStatus() check on MENURELOAD
6937 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6939 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6940 to an old format .dep file.
6942 2003-03-07 Angus Leeming <leeming@lyx.org>
6944 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6945 when the LFUN_MOUSE_RELEASE should have been handled by
6946 inset->localDispatch.
6948 2003-03-07 Angus Leeming <leeming@lyx.org>
6950 * BufferView_pimpl.C (dispatch):
6951 * LyXAction.C (init):
6952 * ToolbarDefaults.C (init):
6954 * lyxfunc.C (getStatus):
6955 remove LFUN_INSET_GRAPHICS.
6957 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6959 2003-03-07 Angus Leeming <leeming@lyx.org>
6962 * LyXAction.C (init):
6963 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6965 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6968 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6970 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6971 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6973 2003-03-07 Angus Leeming <leeming@lyx.org>
6975 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6978 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6980 * ParagraphList.C (front): new function
6983 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6985 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6986 and top_row_offset_. removed var first_y.
6988 * text2.C (LyXText, removeRow):
6990 * BufferView_pimpl.C:
6991 use these methods instead of using first_y
6993 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6995 * text2.C (pasteSelection): adjust for checkPastePossible
6997 * CutAndPaste.C: remove Paragraph * buf and replace with
6998 ParagraphList paragraphs.
6999 (DeleteBuffer): delete
7000 (cutSelection): change the tc type to textclass_type
7001 (copySelection): change the tc type to textclass_type
7002 (copySelection): adjust for ParagraphList
7003 (pasteSelection): change the tc type to textclass_type
7004 (pasteSelection): adjust for Paragraphlist
7005 (nrOfParagraphs): simplify for ParagraphList
7006 (checkPastePossible): simplify for ParagraphList
7007 (checkPastePossible): remove unused arg
7009 * ParagraphList.C (insert): handle the case where there are no
7012 * CutAndPaste.h: make CutAndPaste a namespace.
7014 * text3.C (dispatch): adjust
7016 * text.C (breakParagraph): add a ParagraphList as arg
7018 * paragraph_funcs.C (breakParagraph): change to take a
7019 BufferParams and a ParagraphList as args.
7020 (breakParagraphConservative): ditto
7021 (mergeParagraph): ditto
7022 (TeXDeeper): add a ParagraphList arg
7023 (TeXEnvironment): ditto
7026 * buffer.C (readLyXformat2): adjust
7027 (insertStringAsLines): adjust
7028 (latexParagraphs): adjust
7030 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7031 (cutSelection): adjust
7032 (pasteSelection): adjust
7034 * BufferView_pimpl.C (insertInset): adjust
7036 2003-03-05 Angus Leeming <leeming@lyx.org>
7039 * LyXAction.C (init):
7040 * BufferView_pimpl.C (dispatch):
7041 * lyxfunc.C (getStatus):
7042 remove LFUN_CHILD_INSERT.
7044 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7046 2003-03-05 Angus Leeming <leeming@lyx.org>
7049 * LyXAction.C (init):
7050 * src/factory.C (createInset):
7051 * lyxfunc.C (getStatus):
7052 * text3.C (dispatch):
7053 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7055 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7057 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7059 * ParagraphList.C (insert): handle insert right before end()
7060 (erase): fix cases where it can be first or last paragraph.
7062 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7064 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7065 Paragraph::next and Paragraph::previous
7068 * text.C (breakParagraph): adjust
7070 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7071 BufferParams& as arg.
7072 (breakParagraph): use ParagraphList::insert
7073 (breakParagraphConservative): take a Buffer* instead of a
7074 BufferParams& as arg.
7075 (breakParagraphConservative): use ParagraphList::insert.
7077 * buffer.C (insertStringAsLines): un-const it
7078 (insertStringAsLines): adjust
7080 * ParagraphList.C (insert): new function
7082 * CutAndPaste.C (pasteSelection): adjust
7084 * text.C (backspace): adjust
7086 * tabular.C (SetMultiColumn): adjust
7088 * CutAndPaste.C (cutSelection): adjust
7089 (pasteSelection): adjust
7091 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7092 Buffer const * as arg
7094 * ParagraphList.C (erase): new function
7095 * paragraph_funcs.C (mergeParagraph): use it
7096 (mergeParagraph): make it take a Buffer* instead of a
7097 BufferParams* as arg
7099 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7101 (breakParagraphConservative): ditto
7103 * paragraph.h: remove the breakParagraph friend
7105 * paragraph.C (eraseIntern): new function
7106 (setChange): new function
7108 * paragraph_funcs.C (mergeParagraph): make it take a
7109 ParagraphList::iterator instead of a Paragraph *, adjust
7112 * paragraph.h: move an #endif so that the change tracking stuff
7113 also works in the NO_NEXT case.
7115 2003-03-04 Angus Leeming <leeming@lyx.org>
7118 * LyXAction.C: new LFUN_INSET_MODIFY.
7120 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7121 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7123 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7125 * several files: ws changes only
7127 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7128 (TeXEnvironment): ditto
7131 * buffer.C (makeLaTeXFile): adjust
7132 (latexParagraphs): make it take ParagraphList::iterator as args
7134 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * buffer.C (latexParagraphs): adjust
7138 * paragraph.C (TeXOnePar): move function...
7139 (optArgInset): move function...
7140 (TeXEnvironment): move function...
7141 * paragraph_pimpl.C (TeXDeeper): move function...
7142 * paragraph_funcs.C: ...here
7144 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7146 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7148 * buffer.C (readInset): remove compability code for old Figure and
7151 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7153 * buffer.C: ws changes
7156 * BufferView_pimpl.C: ditto
7159 * bufferlist.h: ditto
7163 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7165 * converter.[Ch]: split into itself +
7168 * Makefile.am: += graph.[Ch] + format.[Ch]
7175 * lyxrc.C: added #include "format.h"
7177 2003-02-27 Angus Leeming <leeming@lyx.org>
7179 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7182 * factory.C (createInset): add "label" to the factory.
7184 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7185 string and do no more.
7187 2003-02-27 Angus Leeming <leeming@lyx.org>
7190 * LyXAction.C (init):
7191 * factory.C (createInset):
7192 * BufferView_pimpl.C (dispatch):
7193 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7195 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7197 * lyxfunc.C (dispatch):
7198 * text3.C (dispatch): pass name to params2string.
7200 2003-02-26 Angus Leeming <leeming@lyx.org>
7202 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7204 Rearrange the ~includes. Strip out the unnecessary ones.
7206 * factory.C (createInset): reformat.
7207 create new insets for the various LFUN_XYZ_APPLY lfuns.
7209 2003-02-26 John Levon <levon@movementarian.org>
7212 * lyxrow.C: add isParStart,isParEnd helpers
7214 * paragraph.h: make isInserted/DeletedText take refs
7216 * paragraph_funcs.h:
7217 * paragraph_funcs.C: remove #if 0'd code
7222 * text.C: use lyxrow helpers above.
7223 Move draw and paint routines to RowPainter.
7224 Make several methods use refs not pointers.
7225 Make backgroundColor() const.
7226 Add markChangeInDraw(), isInInset().
7227 Merge changeRegionCase into changeCase.
7228 Make workWidth() shouldn't-happen code into an Assert.
7231 * rowpainter.C: new class for painting a row.
7234 * vspace.C: make inPixels take a ref
7236 2003-02-26 Angus Leeming <leeming@lyx.org>
7238 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7241 2003-02-25 John Levon <levon@movementarian.org>
7243 * ispell.C: give the forked command a more accurate name
7245 2003-02-22 John Levon <levon@movementarian.org>
7248 * toc.C: make TocItem store an id not a Paragraph *
7251 2003-02-21 Angus Leeming <leeming@lyx.org>
7253 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7254 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7255 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7256 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7257 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7258 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7260 * BufferView_pimpl.C (dispatch):
7261 * LyXAction.C (init):
7262 * factory.C (createInset):
7263 * lyxfunc.C (getStatus, dispatch):
7264 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7266 2003-02-21 Angus Leeming <leeming@lyx.org>
7268 * BufferView_pimpl.C (MenuInsertLyXFile):
7269 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7270 * lyxfunc.C (menuNew, open, doImport):
7271 no longer pass a LyXView & to fileDlg.
7273 2003-02-21 Angus Leeming <leeming@lyx.org>
7275 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7276 * LyXAction.C: change, BIBKEY to BIBITEM.
7277 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7278 Change InsetBibKey to InsetBibitem.
7279 Change BIBKEY_CODE to BIBITEM_CODE.
7280 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7281 * factory.C: replace insetbib.h with insetbibitem.h.
7282 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7283 * paragraph.C: replace insetbib.h with insetbibitem.h.
7284 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7285 Change bibkey() to bibitem().
7286 * text.C: remove insetbib.h.
7287 * text2.C: replace insetbib.h with insetbibitem.h.
7288 change bibkey() to bibitem().
7289 * text3.C: remove insetbib.h.
7290 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7292 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7294 * lyxrc.C (output): enclose user email in quotes (in case there are
7297 2003-02-18 John Levon <levon@movementarian.org>
7299 * buffer.h: add std::
7301 2003-02-17 John Levon <levon@movementarian.org>
7307 * pspell.C: reworking. Especially in ispell, a large
7308 number of clean ups and bug fixes.
7310 * lyxfunc.C: fix revert to behave sensibly
7312 2003-02-17 André Pönitz <poenitz@gmx.net>
7315 * commandtags.h: new LFUN_INSERT_BIBKEY
7325 * paragraph_func.C: remove special bibkey handling
7327 2003-02-17 John Levon <levon@movementarian.org>
7329 * text.C (Delete): fix case where delete at the end of
7330 the very first paragraph would not merge the pars
7332 2003-02-17 John Levon <levon@movementarian.org>
7334 * lyxrow.C: fix lastPrintablePos()
7336 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7338 * bufferparams.C (writeLaTeX): add a std:here
7340 * buffer.C: and remove a using directive there
7342 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7344 * buffer.C (makeLaTeXFile): move the code that generates the
7347 * bufferparams.C (writeLaTeX): ... in this new method
7349 * LaTeXFeatures.C (getEncodingSet): make const
7350 (getLanguages): make const
7352 * MenuBackend.C (binding): returns the binding associated to this
7354 (add): sets the status of each item by calling getStatus. Adds
7356 (read): add support for OptSubMenu
7357 (expand): remove extra separator at the end of expanded menu
7359 2003-02-15 John Levon <levon@movementarian.org>
7362 * BufferView_pimpl.C:
7364 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7365 inset code that had no actual effect. Remove unneeded status
7368 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7370 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7373 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7375 * text.C (drawLengthMarker): also draw an arrow marker for
7376 symbolic lengths (medskip...)
7378 2003-02-14 John Levon <levon@movementarian.org>
7381 * tabular.C: better method names
7383 2003-02-14 John Levon <levon@movementarian.org>
7385 * BufferView_pimpl.C:
7390 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7391 it's a more accurate name. Remove some pointless uses.
7393 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7395 * text2.C (LyXText): change order of initilizers to shut off
7398 2003-02-14 John Levon <levon@movementarian.org>
7400 * buffer.C: use ParIterator for getParFromID()
7404 * paragraph_pimpl.h:
7405 * paragraph_pimpl.C: remove unused getParFromID()
7407 2003-02-14 John Levon <levon@movementarian.org>
7409 * buffer.C: remove some very old #if 0'd parse code
7411 2003-02-13 John Levon <levon@movementarian.org>
7415 * text2.C: move hfillExpansion(), numberOfSeparators(),
7416 rowLast(), rowLastPrintable(), numberofHfills(),
7417 numberOfLabelHfills() ...
7420 * lyxrow.C: ... to member functions here.
7425 * text.C: remove LyXText::beginningOfMainBody(), and call
7426 p->beginningOfMainBody() directly. Move the check for
7427 LABEL_MANUAL into the latter.
7434 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7440 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7441 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7443 2003-02-13 John Levon <levon@movementarian.org>
7445 * CutAndPaste.C: remove debug
7447 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7449 * paragraph.C (asString): remove two unused variables
7451 * lyxtextclass.C (readTitleType):
7453 (LyXTextClass): handle new members titletype_ and titlename_
7455 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7457 2003-02-09 John Levon <levon@movementarian.org>
7460 * buffer.C: replace hand-coded list with a map for the dep clean
7462 2003-02-08 John Levon <levon@movementarian.org>
7464 * LaTeX.C: consolidate code into showRunMessage() helper
7466 2003-02-08 John Levon <levon@movementarian.org>
7471 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7472 and pass the size in explicitly
7474 * BufferView_pimpl.h:
7475 * BufferView_pimpl.C:
7477 * BufferView.C: add getCurrentChange()
7479 * BufferView_pimpl.h:
7480 * BufferView_pimpl.C: handle change lfuns
7482 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7483 for changes. Mark pasted paragraphs as new.
7485 * support/lyxtime.h:
7486 * support/lyxtime.C:
7487 * DepTable.C: abstract time_t as lyx::time_type
7490 * LColor.C: add colours for new text, deleted text, changebars
7492 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7493 package use "usenames" option.
7497 * LyXAction.C: add change lfuns
7501 * author.C: author handling
7504 * buffer.C: add a per-buffer author list, with first entry as
7505 current author. Handle new .lyx tokens for change tracking. Output
7506 author list to .lyx file. Output dvipost stuff to .tex preamble.
7507 Bump lyx format to 222.
7510 * bufferlist.C: add setCurrentAuthor() to reset current author details
7514 * bufferparams.C: add param for tracking
7516 * bufferview_funcs.C: output change info in minibuffer
7520 * changes.C: add change-tracking structure
7523 * debug.C: add CHANGES debug flag
7526 * lyxfind.C: add code for finding the next change piece
7529 * lyxrc.C: add user_name and user_email
7532 * lyxrow.C: add a metric for the top of the text line
7535 * text.C: implement accept/rejectChange()
7538 * text.C: paint changebars. Paint new/deleted text in the chosen
7539 colours. Strike through deleted text.
7543 * paragraph_pimpl.h:
7544 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7545 in the current change to the insert functions. Rework erase to
7546 mark text as deleted, adding an eraseIntern() and a range-based
7547 erase(). Implement per-paragraph change lookup and
7550 * paragraph_funcs.C: Fixup paste for change tracking.
7552 * tabular.C: mark added row/columns as new.
7554 * text.C: fix rowLast() to never return -1. Don't allow
7555 spellchecking of deleted text. Track transpose changes. Don't
7556 allow paragraph break or merge where appropriate.
7558 * text2.C: leave cursor at end of selection after a cut.
7560 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7562 * text.C (getLengthMarkerHeight):
7563 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7564 visible on screen too.
7566 2003-02-07 John Levon <levon@movementarian.org>
7568 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7570 2003-02-05 Angus Leeming <leeming@lyx.org>
7572 * lyxserver.C (read_ready): revert my patch of 11 September last year
7573 as it sends PC cpu through the roof. Presumably this means that
7574 the lyxserver will no longer run on an Alpha...
7576 2003-01-30 Angus Leeming <leeming@lyx.org>
7578 * factory.C (createInset): create an InsetCommandParam of type "index"
7579 and use it to 'do the right thing'.
7581 * text2.C (getStringToIndex): ensure that cursor position is always
7582 reset to the reset_cursor position.
7584 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7586 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7589 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7593 * lyxfunc.C: Output messages with identical spelling, punctuation,
7596 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7598 * MenuBackend.C (expandFormats): List only viewable export formats
7601 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7604 * lyxfunc.C (getStatus): Make sure that formats other than
7605 "fax" can also be disabled
7607 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7609 * text3.C (dispatch): put the lfuns that insert insets in 3
7610 groups, and call doInsertInset with appropriate arguments.
7611 (doInsertInset): new function, that creates an inset and inserts
7612 it according to some boolean parameters.
7614 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * buffer.C (readFile): remember to pass on 'par' when calling
7617 readFile recursively.
7619 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7621 * MenuBackend.C (expandFormats): add "..." to import formats.
7623 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7625 * paragraph.C (asString): Remove XForms RTL hacks.
7627 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7628 * buffer.C: fix typo
7630 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7632 * Makefile.am (LIBS): delete var
7633 (lyx_LDADD): add @LIBS@ here instead.
7635 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7637 * Clarify the meaning of "wheel mouse jump"
7639 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7641 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7644 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7646 * importer.C (Loaders): do not preallocate 3 elements in the
7647 vector, since one ends up with 6 elements otherwise
7649 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7651 * DepTable.C (write): write the file name as last element of the
7652 .dep file (because it may contain spaces)
7653 (read): read info in the right order
7655 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7657 * paragraph_pimpl.C (simpleTeXBlanks):
7658 (simpleTeXSpecialChars):
7659 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7661 * tabular.C (latex): add some missing case statements. Reindent.
7663 * MenuBackend.C (expandToc): remove unused variable.
7665 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7674 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7677 2003-01-05 John Levon <levon@movementarian.org>
7680 * BufferView.C: add getEncoding()
7683 * kbsequence.C: do not store last keypress
7686 * lyxfunc.C: store last keypress here instead. Pass encoding
7689 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7691 * lyx_main.C (init): remove annoying error message when following
7692 symbolic links (bug #780)
7694 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7696 * text.C (insertChar):
7697 * lyxrc.C (getDescription): remove extra spaces
7699 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7701 * lyxrc.C (getDescription): remove extra spaces
7703 2002-12-20 John Levon <levon@movementarian.org>
7705 * text3.C: hack fix for page up/down across tall rows
7707 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7709 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7712 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7714 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7715 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7716 thesaurus is not compiled in
7718 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7720 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7722 2002-12-16 Angus Leeming <leeming@lyx.org>
7725 * lyx_main.C (init): remove override_x_deadkeys stuff.
7727 2002-12-12 John Levon <levon@movementarian.org>
7729 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7730 insert. Only remove shift modifier under strict
7733 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7735 * MenuBackend.C (expandToc): fix crash.
7737 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * MenuBackend.C (expandToc): gettext on float names.
7741 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7743 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7744 implement bool empty() [bug 490]
7746 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7748 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7750 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * several files: ws changes
7754 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7756 * text2.C (setCounter): clean up a bit, use boost.format.
7757 (updateCounters): initialize par upon declaration.
7759 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7760 if the layout exists. We do not just store the layout any more.
7761 (SwitchLayoutsBetweenClasses): use boost.format
7763 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7765 * converter.C (convert): if from and to files are the same, use a
7766 temporary files as intermediary
7768 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7771 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7773 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7775 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7777 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7779 * tabular.C (asciiPrintCell): use string(size, char) instead of
7782 * sgml.C (openTag): fix order of arguments to string constructor
7785 * lyxfunc.C (dispatch): use boost.format
7787 * lots of files: change "c" -> 'c'
7789 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7791 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7793 2002-11-25 Angus Leeming <leeming@lyx.org>
7795 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7797 * lyx_main.C (init): compile fix.
7799 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7801 * lyx_cb.C (start): boost.formatify
7802 do not include <iostream>
7804 * lengthcommon.C: ws only
7806 * boost-inst.C,BoostFormat.h: add more explict instantations
7808 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7810 * lots of files: handle USE_BOOST_FORMAT
7812 2002-11-21 John Levon <levon@movementarian.org>
7814 * pspell.C: fix compile
7816 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7818 * lyxfunc.C (dispatch): use boost::format
7822 * lyxfont.C (stateText): use boost::format
7824 * lyx_main.C (LyX): use boost::format
7826 (queryUserLyXDir): ditto
7829 (typedef boost::function): use the recommened syntax.
7831 * importer.C (Import): use boost::format
7833 * debug.C (showLevel): use boost::format
7835 * converter.C (view): use boost::format
7840 * bufferview_funcs.C (currentState): use boost::format
7842 * bufferlist.C (emergencyWrite): use boost::format
7844 * buffer.C (readLyXformat2): use boost::format
7845 (parseSingleLyXformat2Token): ditto
7847 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7849 * LaTeX.C (run): use boost::format
7851 * Chktex.C (scanLogFile): use boost::format
7853 * BufferView_pimpl.C (savePosition): use boost::format
7854 (restorePosition): ditto
7855 (MenuInsertLyXFile): ditto
7857 * BoostFormat.h: help file for explicit instation.
7859 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7861 * tabular.C (latex): Support for block alignment in fixed width
7864 2002-11-17 John Levon <levon@movementarian.org>
7866 * BufferView_pimpl.C:
7868 * lyxfunc.C: split filedialog into open/save
7870 2002-11-08 Juergen Vigna <jug@sad.it>
7872 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7873 by my last patch (hopefully).
7875 2002-11-08 John Levon <levon@movementarian.org>
7884 * toc.C: ParConstIterator, and use it (from Lars)
7886 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7888 * lyxtextclass.[Ch]: revise and add doxygen comments
7890 2002-11-07 John Levon <levon@movementarian.org>
7892 * text.C: fix progress value for spellchecker
7894 * toc.C: fix navigate menu for insetwrap inside minipage
7896 * paragraph_funcs.C: added FIXME for suspect code
7898 2002-11-07 John Levon <levon@movementarian.org>
7900 * BufferView_pimpl.C: fix redrawing of insets
7903 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7905 * text2.C (updateCounters): fix bug 668
7907 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7909 * text3.C (dispatch): Do not make the buffer dirty when moving the
7912 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * vc-backend.C: STRCONV
7917 * text2.C (setCounter): STRCONV
7919 * paragraph.C (asString): STRCONV
7921 * lyxlength.C (asString): STRCONV
7922 (asLatexString): ditto
7924 * lyxgluelength.C (asString): STRCONV
7925 (asLatexString): ditto
7927 * lyxfunc.C (dispatch): STRCONV
7930 * lyxfont.C (stateText): STRCONV
7932 * importer.C (Import): STRCONV
7934 * counters.C (labelItem): STRCONV
7935 (numberLabel): ditto
7936 (numberLabel): remove unused ostringstream o
7941 * bufferview_funcs.C (currentState): STRCONV
7943 * buffer.C (readFile): STRCONV
7944 (asciiParagraph): ditto
7945 (makeLaTeXFile): ditto
7947 * Spacing.C (writeEnvirBegin): STRCONV
7949 * LaTeXFeatures.C (getLanguages): STRCONV
7950 (getPackages): ditto
7952 (getBabelOptions): ditto
7953 (getTClassPreamble): ditto
7954 (getLyXSGMLEntities): ditto
7955 (getIncludedFiles): ditto
7959 (scanAuxFile): ditto
7962 * LString.h: add the STRCONV macros
7964 * BufferView_pimpl.C (savePosition): STRCONV
7965 (restorePosition): ditto
7966 (MenuInsertLyXFile): ditto
7968 * vc-backend.C (scanMaster): change from submatch[...] to
7971 * funcrequest.C: include config.h
7973 * factory.C: include config.h
7975 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7977 * box.C: include config.h
7979 * LaTeX.C (scanAuxFile): change from submatch[...] to
7983 2002-10-25 Angus Leeming <leeming@lyx.org>
7985 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7987 * ispell.[Ch] (setError): new method.
7988 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7989 Use setError() insetead of goto END.
7991 * lyx_cb.C (AutoSave): move out child process into new class
7994 2002-10-30 John Levon <levon@movementarian.org>
7996 * text3.C: make start appendix undoable
7998 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8000 * lyxlength.C (inPixels): Fix returned value.
8002 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8005 2002-10-24 Angus Leeming <leeming@lyx.org>
8007 * lyxgluelength.h: no need to forward declare BufferParams
8008 or BufferView, so don't.
8010 2002-10-21 John Levon <levon@movementarian.org>
8012 * BufferView.C: menuUndo ->undo, redo
8014 * BufferView.h: document, remove dead, make some methods private
8016 * paragraph_funcs.h:
8017 * paragraph_funcs.C:
8018 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8023 * sgml.C: move sgml open/close tag into sgml.C
8025 * bufferview_funcs.h: unused prototype
8028 * lyxfunc.C: remove unused
8031 * text.C: remove unused
8033 2002-10-21 John Levon <levon@movementarian.org>
8037 * BufferView_pimpl.h:
8038 * BufferView_pimpl.C: fix mouse wheel handling based on
8039 patch from Darren Freeman
8041 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8043 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8045 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8047 * lyxlength.C (inPixels): Fix hanfling of negative length.
8048 Fix LyXLength::MU case.
8050 2002-10-16 John Levon <levon@movementarian.org>
8052 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8054 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8056 * converter.C (view): add support for $$i (file name) and $$p
8057 (file path) for the viewer command. If $$i is not specified, then
8058 it is appended to the command (for compatibility with old syntax)
8060 2002-10-14 Juergen Vigna <jug@sad.it>
8062 * undo_funcs.C (textHandleUndo): alter the order in which the
8063 new undopar is added to the LyXText, as we have to set first
8064 the right prev/next and then add it as otherwise the rebuild of
8065 LyXText is not correct. Also reset the cursor to the right paragraph,
8066 with this IMO we could remove the hack in "redoParagraphs()".
8068 2002-10-09 Angus Leeming <leeming@lyx.org>
8070 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8071 to turn off an optimisation if a new inset is to be inserted.
8073 2002-10-11 André Pönitz <poenitz@gmx.net>
8075 * lyxtext.h: make some functions public to allow access
8076 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8078 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8080 * text3.C (dispatch): when changing layout, avoid an infinite loop
8083 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8085 * lyxrc.C (read): treat a viewer or converter command of "none" as
8088 * MenuBackend.C (expandFormats): for an update, also allow the
8089 formats that are not viewable
8091 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8092 script if it is newer than the lyxrc.defaults in user directory
8094 2002-10-07 André Pönitz <poenitz@gmx.net>
8096 * text.C: Vitaly Lipatov's small i18n fix
8098 2002-09-25 Angus Leeming <leeming@lyx.org>
8100 * ispell.h: doxygen fix.
8102 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8104 * buffer.h (readFile): Add a new argument to the method, to allow
8105 reading of old-format templates.
8107 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8109 * toc.C (getTocList): Get TOC from InsetWrap.
8111 2002-09-16 John Levon <levon@movementarian.org>
8113 * lyxfunc.C: check tabular for cut/copy too
8115 2002-09-12 John Levon <levon@movementarian.org>
8120 * factory.C: add header
8122 * paragraph_funcs.h:
8123 * paragraph_funcs.C: cleanup
8125 2002-09-11 John Levon <levon@movementarian.org>
8127 * PrinterParams.h: odd/even default to true
8129 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8131 * PrinterParams.h: update printer parameters for new xforms dialog
8133 2002-09-11 Angus Leeming <leeming@lyx.org>
8135 * lyxserver.C (read_ready): re-write to make it more transparent
8136 and to make it work in coherent fashion under Tru64 Unix.
8138 2002-09-11 André Pönitz <poenitz@gmx.net>
8142 * text3.C: implement LFUN_WORDSEL
8144 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8146 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8147 make floatlist_ a boost::shared_ptr<FloatList>
8149 * lyxtextclass.C: include FloatList.h
8150 (LyXTextClass): initialize floatlist_
8151 (TextClassTags): add TC_NOFLOAT
8152 (Read): match "nofloat" to TC_NOFLOAT and use it.
8153 (readFloat): modify call to floatlist_
8157 * FloatList.[Ch] (FloatList): remove commented out float
8159 (erase): new function
8161 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8163 * MenuBackend.C (expandToc): fix crash when there is no document
8166 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8168 * many files: Add insetwrap.
8170 2002-09-09 John Levon <levon@movementarian.org>
8172 * text2.C: remove confusing and awkward depth wraparound
8174 2002-09-09 John Levon <levon@movementarian.org>
8176 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8179 * buffer.C: remove getIncludeonlyList()
8182 * lyxfunc.C: remove headers
8184 2002-09-09 Juergen Vigna <jug@sad.it>
8186 * text.C (getColumnNearX): fix form Michael this is most
8187 probably a cut&paste bug.
8189 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8191 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8193 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8194 references, ws changes.
8196 * text2.C (init): update counters after init
8197 (insertParagraph): no need to set counter on idividual paragraphs.
8198 (setCounter): access the counters object in the textclass object
8199 on in the buffer object.
8200 (updateCounters): ditto
8202 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8203 shared_ptr<Counters> to avoid loading counters.h in all
8205 (LyXTextClass): initialize ctrs_
8206 (TextClassTags): add TC_COUNTER, and ...
8207 (Read): use it here.
8208 (CounterTags): new tags
8209 (readCounter): new function
8210 (counters): new funtion
8211 (defaultLayoutName): return a const reference
8213 * counters.C (Counters): remove contructor
8214 (newCounter): remove a couple of unneeded statements.
8215 (newCounter): simplify a bit.
8216 (numberLabel): some small formatting changes.
8218 * buffer.[Ch]: remove all traces of counters, move the Counters
8219 object to the LyXTextClass.
8221 2002-09-06 Alain Castera <castera@in2p3.fr>
8223 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8224 package to set the horizontal alignment on fixed width columns.
8227 * lyx_sty.h: added tabularnewline macro def.
8229 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8231 2002-09-06 John Levon <levon@movementarian.org>
8233 * LyXAction.C: tooltips for sub/superscript
8235 * MenuBackend.C: a bit more verbose
8237 * lyxfunc.C: tiny clean
8239 * undo_funcs.C: document undo_frozen
8241 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8243 * counters.C (Counters): add missing algorithm counter.
8245 * text2.C (setCounter): lookup the counter with layouts latexname
8246 instead of by section number.
8247 (setCounter): use a hackish way to lookup the correct enum
8249 a float name->type change
8250 reset enum couners with counter name directly instead of depth value.
8252 * counters.C (Counters): remove the push_backs, change to use the
8253 float type not the float name.
8254 (labelItem): remove unused string, float name->type change
8256 * counters.h: don't include vector, loose the enums and sects vectors
8258 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8260 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8261 (Read): add float->TC_FLOAT to textclassTags
8262 (Read): and handle it in the switch
8263 (readFloat): new function
8265 * FloatList.C (FloatList): comment out the hardcoded float
8268 * lyxlayout.h: ws change.
8270 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8272 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8274 2002-09-03 Angus Leeming <leeming@lyx.org>
8276 * BufferView_pimpl.h: qualified name is not allowed in member
8277 declaration: WorkArea & Pimpl::workarea() const;
8279 * factory.C: added using std::endl directive.
8281 * text3.C: added using std::find and std::vector directives.
8283 2002-08-29 André Pönitz <poenitz@gmx.net>
8286 * text2.C: remove unused member number_of_rows
8289 * BufferView2.C: remove file, move contents to...
8290 * BufferView.C: ... here
8292 * BufferView_pimpl.C:
8293 * factory.C: move more inset creation to factory
8295 * vspace.C: avoid direct usage of LyXText, ws changes
8298 don't provide direct access to WorkArea, use two simple
8299 acessors haveSelction() and workHeight() instead
8302 2002-08-29 John Levon <levon@movementarian.org>
8304 * BufferView_pimpl.C (dispatch): do not continue when
8307 2002-08-28 André Pönitz <poenitz@gmx.net>
8309 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8312 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8314 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8316 * buffer.C: increment LYX_FORMAT to 221
8318 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8319 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8321 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8323 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8325 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8327 * factory.C (createInset): use LyXTextClass::floats
8329 * MenuBackend.C (expandFloatListInsert):
8330 (expandFloatInsert):
8333 * text2.C (setCounter):
8335 * LaTeXFeatures.C (useFloat):
8336 (getFloatDefinitions):
8338 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8340 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8341 floatlist_, with accessor floats().
8343 * FloatList.h: remove global FloatList
8345 2002-08-26 André Pönitz <poenitz@gmx.net>
8347 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8351 * BufferView_pimpl.C:
8352 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8354 2002-08-25 John Levon <levon@movementarian.org>
8356 * LyXAction.C: fix margin note description
8358 2002-08-24 John Levon <levon@movementarian.org>
8362 * bufferview_funcs.C:
8364 * undo_funcs.C: cleanups
8366 * lyxfunc.C: disable CUT/COPY when no selection
8368 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8370 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8371 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8373 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8374 Add backward compatibility to "mono", "gray" and "no".
8376 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8378 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8379 (and file_format >= 200).
8381 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8383 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8385 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8387 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8389 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8391 * BufferView_pimpl.C:
8398 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8399 inset and code to make it work with the paragraph code. The inset
8400 can be anywhere in the paragraph, but will only do the expected
8401 thing in LaTeX if the layout file contains the parameter line
8403 (or more generally, a nonzero value) for that layout.
8405 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * paragraph.h: remove the declaration of undefined counters class
8410 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8412 * text2.C (setCounter): fixed enumeration mis-count as reported by
8413 Dr. Richard Hawkins.
8415 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8417 * paragraph_funcs.h: remove some unneeded includes
8419 * text.C (backspace): pasteParagraph now in global scipe
8421 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8422 (pasteSelection): ditto
8424 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8425 * paragraph_funcs.C (pasteParagraph): ... here
8427 2002-08-20 André Pönitz <poenitz@gmx.net>
8429 * commandtags.h: new LFUNs for swapping/copying table row/colums
8432 * lyxfunc.C: support for new lfuns
8434 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8437 * buffer.[Ch]: remove NO_COMPABILITY stuff
8439 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8441 * boost.C (throw_exception): new file, with helper function for
8442 boost compiled without exceptions.
8447 * ParameterStruct.h:
8448 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8450 * bufferlist.C (emergencyWriteAll): use boost bind
8452 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8454 * text.C: include paragraph_funcs.h
8455 (breakParagraph): breakParagraph is now in global scope
8457 * paragraph_funcs.[Ch]: new files
8459 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8462 * buffer.C: include paragraph_funcs.h
8463 (insertStringAsLines): breakParagraph is now in global scope
8465 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8468 * CutAndPaste.C: include paragraph_funcs.h
8469 (cutSelection): breakParagraphConservative is now in global scope
8470 (pasteSelection): ditto
8472 * buffer.h: declare oprator== and operator!= for
8473 Buffer::inset_iterator
8475 * bufferlist.C (emergencyWrite): don't use fmt(...)
8477 * text3.C: add using std::endl
8479 * BufferView.C (moveCursorUpdate): remove default arg
8481 2002-08-20 André Pönitz <poenitz@gmx.net>
8483 * buffer.[Ch]: move inline functions to .C
8486 * BufferView_pimpl.C:
8488 * buffer.[Ch]: use improved inset_iterator
8491 * paragraph.[Ch]: write one paragraph at a time
8493 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8495 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8496 style if style is not specified.
8498 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8500 * text2.C (setCounter): when searching for right label for a
8501 caption, make sure to recurse to parent insets (so that a caption
8502 in a minipage in a figure float works) (bug #568)
8504 2002-08-20 André Pönitz <poenitz@gmx.net>
8506 * text3.C: new file for LyXText::dispatch() and helpers
8508 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8510 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8512 2002-08-19 André Pönitz <poenitz@gmx.net>
8515 * text.C: new LyXText::dispatch()
8517 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8519 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8521 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8523 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8526 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8528 * Makefile.am: use $(variables) instead of @substitutions@
8530 2002-08-15 André Pönitz <poenitz@gmx.net>
8533 * BufferView_pimpl.C: streamlining mathed <-> outer world
8537 * LyXAction.C: remove unused LFUN_MATH
8539 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8541 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8543 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8545 * paragraph.C (Paragraph): reformat a bit
8546 (cutIntoMinibuffer): use builtin InsetList function instad of
8550 * buffer.C: include boost/bind.hpp, add using std::for_each
8551 (writeFileAscii): use ParagraphList iterators
8552 (validate): use for_each for validate traversal of paragraphs
8553 (getBibkeyList): use ParagraphList iterators
8554 (resizeInsets): use for_each to resizeInsetsLyXText for all
8556 (getParFromID): use ParagraphList iterators
8558 * BufferView2.C (lockInset): use paragraph list and iterators
8560 2002-08-14 John Levon <levon@movementarian.org>
8562 * lyxserver.C: remove spurious xforms include
8564 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8566 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8568 2002-08-13 André Pönitz <poenitz@gmx.net>
8571 * lyxfunc.C: further cleaning
8573 2002-08-13 André Pönitz <poenitz@gmx.net>
8575 * funcrequest.h: new constructor
8577 * funcrequest.C: move stuff here from .h
8580 * BufferView_pimpl.C:
8583 * lyxfunc.C: subsequent changes
8585 * lyxfunc.h: new view() member function
8587 * lyxfunc.C: subsequent changes
8589 2002-08-13 Angus Leeming <leeming@lyx.org>
8592 * BufferView_pimpl.C:
8600 changes due to the changed LyXView interface that now returns references
8601 to member variables not pointers.
8603 2002-08-13 Angus Leeming <leeming@lyx.org>
8605 * WordLangTuple (word, lang_code): return references to strings,
8610 * lyxtext.h: forward-declare WordLangTuple.
8615 * text.C: #include "WordLangTuple.h".
8618 * text.C: (selectNextWordToSpellcheck): constify return type.
8620 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8626 * paragraph_pimpl.h:
8629 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8631 Made updateCounter always count from start of buffer, and removed
8632 second argument (par).
8633 Reverted floats number display to '#'. Perhaps I'll try again when the
8634 code base is sanitized a bit.
8636 2002-08-12 Angus Leeming <leeming@lyx.org>
8638 * buffer.[Ch] (getLabelList): constify.
8640 2002-08-07 André Pönitz <poenitz@gmx.net>
8642 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8644 * funcrequest.h: extension to keep mouse (x,y) position
8646 2002-08-12 Juergen Vigna <jug@sad.it>
8648 * BufferView2.C (insertErrors): forbid undo when inserting error
8651 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8653 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8655 * ParagraphList.[Ch]: new files
8657 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8659 * BufferView2.C (lockInset): ParagraphList changes
8662 * bufferlist.C: ditto
8666 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8668 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8669 unused class variable counter_,
8671 * paragraph.[Ch] (getFirstCounter): delete unused function
8673 * counters.C: include LAssert.h
8674 (reset): add a new function with no arg, change other version to
8675 not have def. arg and to not allow empty arg.
8677 * text2.C (setCounter): remove empty arg from call to Counters::reset
8679 2002-08-11 John Levon <levon@movementarian.org>
8681 * Makefile.am: add WordLangTuple.h
8683 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8685 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8686 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8688 * insets/insettext.C: InsetList changes
8690 * graphics/GraphicsSupport.C (operator()): InsetList changes
8692 * toc.C (getTocList): InsetList changes
8694 * paragraph_pimpl.[Ch]: InsetList changes
8696 * paragraph.[Ch]: InsetList changes
8698 * buffer.C (inset_iterator): InsetList changes
8699 (setParagraph): ditto
8700 * buffer.h (inset_iterator): ditto
8701 * iterators.C (operator++): ditto
8702 * iterators.h: ditto
8704 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8706 * InsetList.[Ch]: new files, most InsetList handling moved out of
8709 * BufferView2.C (removeAutoInsets): InsetList changes
8711 (ChangeInsets): ditto
8713 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8715 * paragraph_pimpl.h (empty): new function
8717 * paragraph.[Ch] (empty): new function
8719 * other files: use the new Paragraph::empty function
8721 2002-08-09 John Levon <levon@movementarian.org>
8723 * lyxtext.h: remove unused refresh_height
8725 2002-08-09 John Levon <levon@movementarian.org>
8732 * paragraph.C: move sgml char escaping out of paragraph
8735 * paragraph.C: remove id setter
8739 * paragraph_pimpl.C: remove dead tex_code_break_column
8741 * bufferview_funcs.C: small cleanup
8743 * lyxfunc.C: remove dead proto
8745 * lyxtext.h: make some stuff private. Remove some dead stuff.
8747 * lyxgluelength.C: make as[LyX]String() readable
8749 2002-08-08 John Levon <levon@movementarian.org>
8754 * ToolbarDefaults.C:
8757 * toc.C: lyxaction cleanup
8759 2002-08-08 John Levon <levon@movementarian.org>
8761 * BufferView2.C: small cleanup
8764 * lyxfind.C: move unnecessary header into the .C
8766 2002-08-08 John Levon <levon@movementarian.org>
8768 * funcrequest.h: just tedious nonsense
8771 * lyx_main.C: cleanups
8774 * vspace.C: remove dead header lyx_main.h
8776 2002-08-07 Angus Leeming <leeming@lyx.org>
8779 * paragraph_pimpl.h:
8780 Forward declare class Counters in paragraph.h by moving the ctrs member
8781 variable into Paragraph::Pimpl.
8782 (counters): new method, returning a reference to pimpl_->ctrs.
8784 * text2.C: ensuing changes.
8786 2002-08-07 John Levon <levon@movementarian.org>
8788 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8790 * BufferView_pimpl.C: announce X selection on double/triple
8793 * lyx_main.C: use correct bool in batch dispatch
8795 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8797 2002-08-07 André Pönitz <poenitz@gmx.net>
8799 * funcrequest.h: new class to wrap a kb_action and its argument
8802 * BufferView_pimpl[Ch]:
8806 * lyxrc.C: subsequent changes
8809 2002-08-07 John Levon <levon@movementarian.org>
8811 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8812 document options change.
8814 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8819 * makefile.am: move counters functionality over from
8820 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8822 2002-08-06 John Levon <levon@movementarian.org>
8824 * WordLangTuple.h: new file for word + language code tuple
8835 * BufferView2.C: use WordLangTuple
8838 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8840 2002-08-06 John Levon <levon@movementarian.org>
8842 * lyx_main.C: fix cmdline batch handling
8844 2002-08-06 André Pönitz <poenitz@gmx.net>
8846 * lyxrc.C: set default for show_banner to true
8848 2002-08-06 John Levon <levon@movementarian.org>
8850 * pspell.C: fix a crash, and allow new aspell to work
8852 2002-08-06 John Levon <levon@movementarian.org>
8855 * kbmap.C: small cleanup
8858 * vspace.C: add const
8860 2002-08-05 John Levon <levon@movementarian.org>
8862 * LyXAction.C: back to tabular-insert
8864 2002-08-04 John Levon <levon@movementarian.org>
8867 * BufferView.C: cosmetic change
8869 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8879 * BufferView2.C: purge all "Lyx" not "LyX" strings
8882 * lyxcursor.C: attempt to add some documentation
8887 * ToolbarDefaults.C:
8888 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8889 merge with LFUN_TABULAR_INSERT
8896 * pspell.C: split up i/pspell implementations into separate
8897 files, many cleanups
8899 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8901 * text2.C: some cleanup
8903 * lyxfunc.C: don't check for isp_command == "none" any more, it
8904 didn't make any sense
8906 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8911 * makefile.am: move counters functionality over
8912 from text2.C/paragraph.[Ch] to counters.[Ch], and
8914 2002-08-02 John Levon <levon@movementarian.org>
8916 * buffer.C: s/lyxconvert/lyx2lyx/
8918 2002-08-02 Angus Leeming <leeming@lyx.org>
8920 * lyxlex.C: revert John's change as it breaks reading of the user
8923 2002-08-02 Angus Leeming <leeming@lyx.org>
8925 * importer.C (Import):
8926 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8927 changes due to LyXView::view() now returning a boost::shared_ptr.
8929 2002-08-02 John Levon <levon@movementarian.org>
8931 * lyxlex.C: small cleanup
8933 2002-08-02 John Levon <levon@movementarian.org>
8935 * text2.C (status): small cleanup, no logic change
8937 2002-08-01 John Levon <levon@movementarian.org>
8940 * buffer.C (writeFile): don't output alerts, caller
8944 * lyx_cb.C: from above
8946 * lyxfunc.C: allow to open non-existent files
8948 2002-07-31 John Levon <levon@movementarian.org>
8950 * lyxserver.C: don't let incidental errors get
8953 2002-07-30 John Levon <levon@movementarian.org>
8955 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8957 2002-07-30 John Levon <levon@movementarian.org>
8960 * lyxserver.C: remove I/O callback too
8962 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8964 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8967 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8969 * many files: strip,frontStrip -> trim,ltrim,rtrim
8971 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8973 * PrinterParams.h: remove extern containsOnly, and include
8974 support/lstrings.h instead.
8976 * LaTeX.C (scanAuxFile): modify because of strip changes
8978 * buffer.C (makeLaTeXFile): ditto
8979 * bufferparams.C (writeFile): ditt
8980 * lyxfont.C (stateText): ditto
8981 * lyxserver.C (read_ready): ditto
8982 * vc-backend.C (scanMaster): ditto
8984 * BufferView_pimpl.h: ws changes
8986 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8988 2002-07-26 André Pönitz <poenitz@gmx.net>
8990 * kb_sequence.C: remove unnedred usings
8992 2002-07-26 Juergen Vigna <jug@sad.it>
8994 * lyxfind.C (LyXReplace): we have to check better if the returned
8995 text is not of theLockingInset()->getLockingInset().
8997 2002-07-25 Juergen Vigna <jug@sad.it>
8999 * lyxfind.C (LyXReplace): don't replace if we don't get the
9002 * undo_funcs.C (createUndo): remove debugging code.
9004 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9006 * buffer.C (parseSingleLyXformat2Token): Use default placement
9007 when reading old floats.
9009 * FloatList.C (FloatList): Change the default placement of figure
9010 and tables to "tbp".
9012 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9014 * MenuBackend.C: using std::max
9016 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9018 * MenuBackend.C (expandToc):
9019 (expandToc2): code moved from xforms menu frontend. It is now
9020 generic and TOCs are transparent to menu frontends.
9022 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9024 * toc.C (getTocList): protect against buf=0
9026 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9027 Menu as first parameter. Now, this calls itself recursively to
9028 expand a whole tree (this will be useful for TOC handling)
9029 (expandFloatInsert): remove 'wide' version of floats
9031 * MenuBackend.h (submenuname): returns the name of the submenu.
9032 (submenu): returns the submenu itself, provided it has been
9033 created by MenuBackend::expand
9035 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9037 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9038 insets which have noFontChange == true. (bug #172)
9040 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9042 * BufferView_pimpl.C: add connection objects and use them...
9045 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9047 * MenuBackend.C (expandLastfiles):
9050 (expandFloatListInsert):
9051 (expandFloatInsert):
9052 (expand): split expand in parts
9054 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9056 * lyx_gui.C: use lyx_gui::exit()
9058 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9060 * LyXAction.C: show the failing pseudo action
9062 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9064 * buffer.C (readFile): Run the lyxconvert script in order to read
9067 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9071 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9073 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9077 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9079 2002-07-22 Herbert Voss <voss@lyx.org>
9082 * lyxlength.[Ch]: add support for the vertical lengths
9084 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9086 * toc.[Ch]: std:: fixes
9088 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9090 * lyxrc.C: do not include lyx_main.h
9092 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9098 * BufferView2.C: include "lyxlex.h"
9101 * bufferparams.h: do not #include "lyxlex.h"
9103 * lyxtextclasslist.C (Add): remove method
9104 (classlist): renamed to classlist_
9106 * paragraph_pimpl.C:
9110 * bufferview_funcs.C:
9115 * toc.C (getTocList): use BufferParams::getLyXTextClass
9117 * toc.C (getTocList): use InsetFloat::addToToc
9119 * toc.[Ch]: new files, containing helper functions to handle table
9122 * lyxfunc.C (dispatch): no need to remove spaces around command
9124 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9125 first command of the sequence; it is not very clever, but I do not
9126 have a better idea, actually
9128 * LyXAction.C (LookupFunc): make sure to remove space at the
9129 beginning and end of the command
9131 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9133 * MenuBackend.C (getMenubar): new method: return the menubar of
9135 (read): treat differently reading of menu and menubar (in
9136 particular, the menubar has no name now)
9137 (Menu::menubar): remove
9139 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9142 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9144 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9145 a bibitem inset in a RTL paragraph.
9147 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9149 * paragraph_pimpl.C: constify
9151 * BufferView_pimpl.C:
9153 * lyxfunc.C: fix dispatch in a nicer way
9155 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9157 * lyxfunc.C (dispatch):
9158 * BufferView_pimpl.C:
9159 * BufferView_pimpl.h:
9161 * BufferView.h: rename Dispatch() to dispatch()
9163 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9165 * lyxlayout.C (Read): honor DependsOn tag
9167 * lyxlayout.[Ch] (depends_on): new method
9169 * version.C.in: update lyx_docversion
9171 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9173 * paragraph.C (validate): remove from here...
9174 * paragraph_pimpl.C (validate): ... and move here
9175 (isTextAt): make it const
9177 * buffer.C (getLists): ws cleanup
9179 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9181 * language.C (read): Use iso8859-1 encoding in latex_lang
9182 (this prevents LyX from crashing when using iso10646-1 encoding).
9184 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9186 * text2.C (toggleInset): if cursor is inside an inset, close the
9187 inset and leave cursor _after_ it
9189 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9191 * lyxfunc.C: move minibuffer completion handling out of here
9193 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9195 * BufferView_pimpl.C:
9196 * LaTeX.C: fix dispatch calls
9198 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9200 * text.C (drawChars): Fix Arabic text rendering.
9202 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9206 * lyxfunc.C: remove message-push/pop
9210 * lyxfunc.C: rationalise some code by removing verboseDispatch
9211 in favour of a bool argument to dispatch()
9213 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9215 * lyx_main.C (init): make sure to read symlinks as absolute paths
9217 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9220 * lyxfunc.C: no need for commandshortcut to be a member
9222 2002-07-15 André Pönitz <poenitz@gmx.net>
9224 * converter.C: add support for $$s (scripts from lib/scripts dir)
9225 * lyx_main.C: white space
9227 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9231 * lyxrc.C: remove second exit confirmation
9233 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9238 * BufferView_pimpl.h:
9239 * BufferView_pimpl.C:
9240 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9242 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9244 * MenuBackend.C (expand): add numeric shortcuts to document menu
9246 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9248 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9250 * lyxfont.C (setLyXFamily):
9257 * buffer.C (asciiParagraph): use ascii_lowercase
9259 2002-07-15 Mike Fabian <mfabian@suse.de>
9261 * lyxlex_pimpl.C (search_kw):
9262 * lyxlex.C (getLongString):
9263 * converter.h (operator<):
9264 * converter.C (operator<):
9265 * buffer.C (parseSingleLyXformat2Token):
9267 * ToolbarDefaults.C (read):
9268 * MenuBackend.C (checkShortcuts):
9270 * LColor.C (getFromGUIName):
9271 (getFromLyXName): use the compare_ascii_no_case instead of
9272 compare_no_case, because in turkish, 'i' is not the lowercase
9273 version of 'I', and thus turkish locale breaks parsing of tags.
9275 2002-07-16 Angus Leeming <leeming@lyx.org>
9277 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9278 now takes a Buffer const & argument.
9280 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9282 * BufferView.C (resize): check there's a buffer to resize
9284 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9286 * lyxfunc.C: remove dead code
9289 * lyxserver.C: use lyx_guii::set_read_callback
9291 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9293 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9294 an inset in a RTL paragraph.
9296 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9298 * lyxfunc.C: repaint after a font size update
9300 2002-07-15 André Pönitz <poenitz@gmx.net>
9302 * lyxlength.C: inBP should be able to return negative values
9304 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9306 * lyxfunc.C: use lyx_gui::update_fonts()
9308 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9310 * lyxfunc.C: use lyx_gui::update_color()
9312 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9318 * lyxrc.C: remove file->new asks for name option, and let
9319 buffer-new take an argument
9321 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9323 * BufferView_pimpl.C: remove unneeded extra repaint()
9325 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9327 * LyXAction.C: allow command-sequence with NoBuffer
9329 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9331 2002-07-10 Angus Leeming <leeming@lyx.org>
9333 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9335 2002-07-09 Angus Leeming <leeming@lyx.org>
9337 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9339 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9341 * lengthcommon.h: whitespace
9343 * lyxfunc.C: update scrollbar after goto paragraph
9345 * lyxtext.h: factor out page break drawing, and fix it so
9346 page break/added space paints as selected nicely
9348 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9350 * BufferView_pimpl.C: add FIXMEs, clean up a little
9352 2002-07-09 André Pönitz <poenitz@gmx.net>
9354 * lyxfont.[Ch]: support for wasy symbols
9356 2002-07-08 André Pönitz <poenitz@gmx.net>
9358 * BufferView_pimpl.C: apply John's patch for #93.
9360 2002-07-05 Angus Leeming <leeming@lyx.org>
9362 * BufferView_pimpl.C (buffer): generate previews if desired.
9364 * LColor.h: add "preview" to the color enum.
9366 * LColor.C (LColor): add a corresponding entry to the items array.
9368 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9371 2002-07-05 Angus Leeming <leeming@lyx.org>
9373 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9374 The body of the code is now in the method that is passed an ostream &
9375 rather than a file name.
9376 Pass an additional only_preamble parameter, useful for the forthcoming
9379 2002-07-03 André Pönitz <poenitz@gmx.net>
9381 * lyxfunc.C: simplify getStatus() a bit for math stuff
9383 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9385 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9387 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9389 * text.C (changeRegionCase): do not change case of all the
9390 document when region ends at paragraph end (bug #461)
9392 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9394 * paragraph.C (startTeXParParams):
9395 (endTeXParParams): add \protect when necessary
9397 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9399 * BufferView_pimpl.C (workAreaExpose): remove warning
9401 2002-06-27 Angus Leeming <leeming@lyx.org>
9403 * Makefile.am: add lyxlayout_ptr_fwd.h.
9405 2002-06-26 André Pönitz <poenitz@gmx.net>
9407 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9409 2002-06-25 Angus Leeming <leeming@lyx.org>
9411 * lyxfunc.C (dispatch): Comment out the call to
9412 grfx::GCache::changeDisplay. The method no longer exists now that the
9413 pixmap generation part of the graphics loader has been moved into
9416 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9418 * text2.C: layout as layout
9420 * text.C: layout as layout
9422 * tabular.C (OldFormatRead): layout as layout
9424 * paragraph_pimpl.C (TeXDeeper): layout as layout
9425 (realizeFont): layout as layout
9427 * paragraph.C (writeFile): layout as layout
9428 (validate): layout as layout
9429 (getFont): layout as layout
9430 (getLabelFont): layout as layout
9431 (getLayoutFont): layout as layout
9432 (breakParagraph): layout as layout
9433 (stripLeadingSpaces): layout as layout
9434 (getEndLabel): layout as layout
9435 (getMaxDepthAfter): layout as layout
9436 (applyLayout): layout as layout
9437 (TeXOnePar): layout as layout
9438 (simpleTeXOnePar): layout as layout
9439 (TeXEnvironment): layout as layout
9440 (layout): layout as layout
9441 (layout): layout as layout
9443 * lyxtextclass.C (compare_name): new functor to work with
9444 shared_ptr, layout as layout
9445 (Read): layout as layout
9446 (hasLayout): layout as layout
9447 (operator): layout as layout
9448 (delete_layout): layout as layout
9449 (defaultLayout): layout as layout
9451 * lyxlayout_ptr_fwd.h: new file
9453 * lyxlayout.C (Read): layout as layout
9455 * lyx_cb.C (MenuInsertLabel): layout as layout
9457 * bufferlist.C (newFile): layout as layout
9459 * buffer.C (readLyXformat2): layout as layout
9460 (parseSingleLyXformat2Token): layout as layout
9461 (insertStringAsLines): layout as layout
9462 (asciiParagraph): layout as layout
9463 (latexParagraphs): layout as layout
9464 (makeLinuxDocFile): layout as layout
9465 (simpleLinuxDocOnePar): layout as layout
9466 (makeDocBookFile): layout as layout
9467 (simpleDocBookOnePar): layout as layout
9468 (getLists): layout as layout
9470 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9472 * CutAndPaste.C (cutSelection): layout as layout
9473 (pasteSelection): layout as layout
9474 (SwitchLayoutsBetweenClasses): layout as layout
9476 * BufferView_pimpl.C (Dispatch): layout as layout
9477 (smartQuote): layout as layout
9479 * BufferView2.C (unlockInset): layout as layout
9481 2002-06-24 André Pönitz <poenitz@gmx.net>
9483 * lyxfunc.C: fix #487
9485 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9489 * lyxfunc.C: remove display_shortcuts, show_banner
9491 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9493 * Buffer_pimpl.C: oops, update on resize
9495 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9502 * BufferView.C: use repaint()
9504 * BufferView_pimpl.h:
9505 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9506 as it's a clearer description. Remove superfluous
9509 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9511 * text.C: fix bug 488. Not ideal, but getting
9512 getWord() to work properly for the insets that
9513 matter is more difficult ...
9515 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9517 * BufferView_pimpl.C:
9520 * lyxfunc.C: remove the six million index lyxfuncs to just
9521 one, and DTRT (bug 458)
9523 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9527 * BufferView_pimpl.h:
9528 * BufferView_pimpl.C: clean up resize() stuff,
9529 and unnecessary updateScreen()s
9531 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9535 * BufferView_pimpl.h:
9536 * BufferView_pimpl.C:
9539 * minibuffer.C: remove focus management of workarea,
9540 not needed. Use screen's greyOut()
9542 2002-06-17 Herbert Voss <voss@lyx.org>
9544 * converter.C: (convert) do not post a message, when converting
9545 fails, let the calling function decide what to do in this case
9547 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9549 * lyxfunc.C: tidy up a little
9551 2002-06-16 <alstrup@diku.dk>
9553 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9554 Got rid of FORMS_H_LOCATION include. Now we are
9557 2002-06-15 LyX Development team <lyx@rilke>
9559 * buffer.[Ch] (sgmlOpenTag):
9560 (sgmlCloseTag): Added support for avoiding pernicious mixed
9561 content. Return number of lines written.
9564 (makeDocBookFile): Fixed calls to sgml*Tag.
9565 Simple white space clean.
9567 (simpleDocBookOnePar): Simple white space clean.
9569 * tabular.[Ch] (docBook): Renamed to docbook and got another
9570 argument to related with the pernicious mixed content.
9572 (docbookRow): Fixed calls for docbook inset method.
9574 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9576 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9577 so it's X11 independent.
9581 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9583 2002-06-15 Lyx Development team <lyx@electronia>
9585 * intl.h: Renamed getTrans to getTransManager.
9587 2002-06-14 Angus Leeming <leeming@lyx.org>
9589 * Makefile.am: nuke forgotten stl_string_fwd.h.
9591 2002-06-12 Angus Leeming <leeming@lyx.org>
9593 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9595 2002-06-13 Angus Leeming <leeming@lyx.org>
9598 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9600 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9602 * kbmap.C (getiso): add support for cyrillic and greek
9604 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9608 * BufferView_pimpl.h:
9609 * BufferView_pimpl.C: move bogus scrolling logic
9612 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9615 * BufferView_pimpl.C: view->resize() change
9617 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9619 * BufferView_pimpl.C: topCursorVisible
9622 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9626 * lyx_gui.C: move to frontends/
9630 * lyx_main.C: changes from above
9632 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9639 * lyx_main.C: minor tidy
9641 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9643 * BufferView_pimpl.h:
9644 * BufferView_pimpl.C:
9646 * BufferView.C: make painter() const,
9649 * BufferView2.C: use screen() accessor
9652 * lyx_main.C: some minor cleanup
9654 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9656 * BufferView_pimpl.h:
9657 * BufferView_pimpl.C: remove enter/leaveView,
9660 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9665 * BufferView_pimpl.h:
9666 * BufferView_pimpl.C: only construct screen once,
9669 * lyxrc.C: remove pointless comment
9671 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9674 * BufferView.C: remove active() and belowMouse()
9676 * BufferView_pimpl.h:
9677 * BufferView_pimpl.C: use workarea() not workarea_,
9678 and make it use a scoped_ptr instead
9680 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9682 * lyx_gui.C: add debug message on BadWindow
9684 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9686 * sp_spell.C: fdopen is not part of the C++ standard.
9688 * paragraph.C (InsetIterator): use >= instead of ==
9690 2002-06-07 Angus Leeming <leeming@lyx.org>
9692 Fixes needed to compile with Compaq cxx 6.5.
9693 * BufferView_pimpl.C:
9700 * lyxtextclasslist.C:
9705 all c-library variables have been moved into namespace std. Wrap
9706 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9711 Add a using std::abs declaration.
9713 * kbmap.h (modifier_pair):
9714 * paragraph.h (InsetTable, InsetList):
9715 * lyxfont.h (FontBits):
9716 type definition made public.
9718 * bufferlist.C (emergencyWriteAll): the compiler complains that
9719 there is more than one possible lyx::class_fun template to choose from.
9720 I re-named the void specialisation as lyx::void_class_fun.
9722 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9724 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9725 the compiler is is unable to find tostr in write_attribute.
9727 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9729 * buffer.C (sgmlError): hide #warning
9731 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9733 * xtl/*: get rid of xtl, which is not in use anyway
9735 * LyXAction.C (init):
9736 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9737 were unimplemented xtl experimentation
9739 2002-06-04 André Pönitz <poenitz@gmx.net>
9741 * lyxfunc.C: disable array operation on simple formulae
9743 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9745 * converter.C: constify a bit
9747 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9749 * lyx_gui.C: check xforms version correctly
9751 2002-04-30 Herbert Voss <voss@lyx.org>
9753 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9756 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9758 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9759 attempt to register it with a VCS)
9761 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9763 * lyx_main.C (init): honor variables LYX_DIR_13x and
9766 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9770 * lyx_main.C: fix a crash on bad command line,
9771 and give a useful exit status on error
9773 * lyxfunc.C (doImport): allow -i lyx to work
9775 2002-03-30 André Pönitz <poenitz@gmx.net>
9777 * lyxfunc.C: mathed font changes
9779 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9794 * trans_mgr.h: srcdocs, and some minor cleanups
9796 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9798 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9799 call getFont all the time)
9801 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9803 * switch from SigC signals to boost::signals
9805 2002-05-29 André Pönitz <poenitz@gmx.net>
9807 * paragraph_pimpl.C (getChar): don't call size() too often...
9809 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9811 * paragraph_pimpl.C (insertChar): do not try to update tables when
9812 appending (pos == size())
9814 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9815 in order to reduce drastically the number of comparisons needed to
9816 parse a large document
9818 2002-05-29 André Pönitz <poenitz@gmx.net>
9824 * textclasslist.[Ch]:
9825 * sp_ispell.h: whitespace change
9827 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9830 lyxaction directly now.
9832 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9836 * lyxvc.C: remove unused headers
9838 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9845 * undo_funcs.C: some cleanups. Use shared_ptr
9846 and a template for the undo stacks.
9848 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9850 * BufferView_pimpl.h:
9851 * BufferView_pimpl.C:
9858 * text2.C: use key_state/mouse_state
9860 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9862 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9865 * chset.C: change include order
9866 (loadFile): use boost regex and get rid of LRegex and LSubstring
9868 * Makefile.am (BOOST_LIBS): new variable
9871 * LaTeX.C: change include order.
9872 (scanAuxFile): use boost regex and get rid of LRegex and
9876 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9881 * FontInfo.C: moved to frontends/xforms/
9884 * FontLoader.C: moved into frontends for GUIIzation
9889 * lyxfunc.C: changes from above
9891 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9893 * LColor.C: remove spurious X include
9895 * BufferView_pimpl.C:
9900 * text2.C: move font metrics to frontends/
9902 2002-05-24 Juergen Vigna <jug@sad.it>
9904 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9905 setting the undo_cursor.
9907 * ParagraphParameters.h: include local includes first.
9909 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9911 * BufferView_pimpl.C:
9912 * BufferView_pimpl.h:
9916 * screen.C: move WorkArea into frontends/
9922 * BufferView2.C: move LyXScreen into frontends/
9926 * lyx_gui.C: move lyxlookup into frontends/xforms/
9928 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9931 * BufferView_pimpl.C:
9941 * bufferview_funcs.C:
9954 * vc-backend.C: move LyX/XFormsView into frontends/
9956 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9968 * text2.C: move Painter to frontends/
9970 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9972 * buffer.C: comment out some some code that depend upon lyx_format
9975 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9976 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9978 * buffer.h (NO_COMPABILITY): turn off compability
9980 * ColorHandler.C: include scoped_array.hpp
9982 * font.C: Use more specific smart_ptr header.
9985 * ShareContainer.h: ditto
9989 * BufferView_pimpl.h: ditto
9990 * ColorHandler.h: ditto
9992 * kbmap.C (defkey): change call to shared_ptr::reset
9994 2002-05-21 Juergen Vigna <jug@sad.it>
9996 * buffer.C (insertErtContents): fix to insert ert asis if it is
9997 non empty. Skip it completely if it contains only whitespaces.
9999 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10001 * BufferView_pimpl.C:
10002 * BufferView2.C: clear selection on paste (bug 393)
10004 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10006 * DepTable.C: include ctime
10008 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10010 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10012 2002-05-14 Juergen Vigna <jug@sad.it>
10014 * text.C (breakParagraph): fixed function to honor the keepempty
10015 layout in the right maner and also to permit the right breaking
10016 algorithm on empty or non empyt keepempty paragraphs.
10018 * paragraph.C (breakParagraph): we have to check also if the par
10019 is really empty (!size()) for isempty otherwise we do the wrong
10022 2002-05-10 Juergen Vigna <jug@sad.it>
10024 * buffer.[Ch] : The following are only changes to the ert
10025 compatibility read reading old LaTeX layout and font stuff and
10026 convert it to ERTInsets.
10028 * buffer.h: added isErtInset().
10030 * buffer.C (struct ErtComp): add a fromlayout bool to check
10031 if we're inside a LaTeX layout.
10032 (isErtInset): new helper function.
10033 (insertErtContents): look for other ert insets before this one
10034 and insert the contents there, so that we don't have subsequent
10035 ERT insets with nothing between them. This way we create only one
10036 inset with multiple paragraphs. Also check if we don't insert only
10037 spaces ' ' as they are ignored anyway afterwards in the .tex file
10038 so if we have only spaces we will ignore this latex part in the
10040 (parseSingleLyXformat2Token \\layout): better compatibility when
10041 reading layout-latex stuff.
10042 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10044 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10045 stuff after reading the inset only get the information back from
10048 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10050 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10052 * LaTeXFeatures.C (getBabelOptions): New method.
10054 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10056 * BufferView_pimpl.C (Dispatch): work around missing argument for
10059 2002-05-08 Juergen Vigna <jug@sad.it>
10061 * text.C (leftMargin): handle paragraph leftindent.
10063 * paragraph.C (writeFile): write the new \\leftindent tag.
10064 (validate): handle leftindent code.
10065 (TeXEnvironment): handle paragraphleftindent code again.
10067 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10069 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10070 for paragrap_extra indent code and new token \\leftindent.
10071 (latexParagraphs): handle the leftindent as environment.
10073 * ParameterStruct.h: added leftindent support.
10075 * ParagraphParameters.C (leftIndent): added support functions for
10076 the paragraph left indent.
10078 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10081 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10083 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10086 * text.C (computeBidiTables): No bidi in insetERT.
10088 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10091 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10093 * version.C.in: pre 5
10095 2002-05-02 José Matos <jamatos@fep.up.pt>
10096 * buffer.C (makeDocBookFile): white space changes, add newline to
10098 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10100 * tabular.C (docBook): fix typo.
10102 2002-05-03 Juergen Vigna <jug@sad.it>
10104 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10105 change in LyXText as we can not be sure it was not freed.
10106 (drawOneRow): remove unused code.
10108 * text.C (drawInset): redo the calculation of the need_break_row as
10109 it could have a row which was already freed.
10110 (draw): look at the return value of drawInset and return false if
10111 it also returned false.
10112 (paintRowText): look at the return value of draw and return false if
10113 it also returned false.
10115 * lyxtext.h: added bool return type to drawInset() and draw() so that
10116 if we have a change in the row so that the rowbreak has to be redone
10117 we abort drawing as it will be called again.
10119 2002-05-02 Juergen Vigna <jug@sad.it>
10121 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10122 a change in the maintext also if we're inside an inset.
10123 (Dispatch): set the cursor again after a break line and after the
10124 screen has been updated as it could be we're in a different row.
10126 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10127 to set the cursor behind the pargraph with > size().
10128 (setCursor): check also for the same paragraph when checking where
10129 to put the cursor if we have a NFR inset.
10131 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10132 parts of layout read further up as it still was in the wrong
10135 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10137 * screen.C (drawFromTo): change sine fullRebreak always return
10140 * buffer.C (parseSingleLyXformat2Token): reindent some
10142 * BufferView_pimpl.C (update): change since fullRebreak always
10144 (Dispatch): git rid of the last hardcoded "Standard"s.
10146 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10148 * text2.[Ch] (fullRebreak): make it return void now that we always
10151 2002-04-30 Juergen Vigna <jug@sad.it>
10153 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10154 ert compatibility check for "latex" layout.
10156 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10158 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10159 minipages: use col% instead of p%, and also use the current font.
10160 (makeLaTeXFile): Fix use babel condition.
10161 (parseSingleLyXformat2Token): Correct font when reading old floats.
10163 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10165 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10166 inserting list of floats.
10168 2002-04-25 Herbert Voss <voss@lyx.org>
10170 * MenuBackend.C (expand): don't add the graphics extensions to the
10173 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10176 non-existing layout, do not complain if it was the default layout
10177 of the original class (bug #342)
10179 2002-04-24 Juergen Vigna <jug@sad.it>
10181 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10182 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10184 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10186 * buffer.C (getBibkeyList): If using \bibliography, return the
10187 option field with the reference itself. Enables us to provide natbib
10188 support when using \bibliography.
10190 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10192 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10194 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10195 natbib is provided by the LaTeX class.
10197 2002-04-23 Juergen Vigna <jug@sad.it>
10199 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10202 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10204 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10206 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10208 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10209 ensuremath around textordmasculine, textordfeminine and
10212 2002-04-19 Juergen Vigna <jug@sad.it>
10214 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10215 reinitializing the buffer otherwise row-dimensions may be wrong.
10216 (update): reset also the selection cursors if they do exits otherwise
10217 their x/y positions may be wrong.
10219 * text2.C (cursorDown): don't enter the inset if we came from a row
10220 above and are one row over the inset.
10222 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10223 really leaving an inset.
10225 2002-04-18 Juergen Vigna <jug@sad.it>
10227 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10228 of the selected paragraph does not have the selected layout also if
10231 * text2.C (setLayout): fixed bug which did not change last selected
10234 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10235 changed the read and substituted \\end_float with \\end_inset!
10237 * BufferView_pimpl.C (cursorPrevious):
10238 (cursorNext): fixed to make it work with rows heigher than the work
10239 area without moving the cursor only the draw of the row.
10240 (workAreaMotionNotify): fix jumping over high rows.
10242 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10244 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10247 2002-04-16 Juergen Vigna <jug@sad.it>
10249 * text2.C (setCursor): set also the irow().
10250 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10252 (cursorDown): support for locking an inset if the x_fix value goes
10253 inside it. That way I can transverse insets too with cursor up/down.
10255 * lyxrow.h: added irow helper function same as other (i) functions.
10257 * BufferView_pimpl.C (cursorPrevious):
10258 (cursorNext): fixed for insets!
10260 2002-04-15 Juergen Vigna <jug@sad.it>
10262 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10263 position otherwise it is wrong in some cases.
10265 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10266 inside the inset before the call.
10268 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10270 * buffer.[Ch] (getBibkeyList): make it const.
10272 2002-04-12 Juergen Vigna <jug@sad.it>
10274 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10276 * text2.C (getCursorX): new helper function
10277 (setCursor): compute also ix_
10278 (setCursorFromCoordinates): set also ix.
10280 * lyxcursor.h: added ix_ and helper functions.
10282 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10284 * buffer.C (insertStringAsLines): dont break paragraph if the this
10285 paragraph is inside an inset which does not permit it!
10287 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10288 also with no chars on this paragraph.
10289 (paintRowText): only paint stuff if it's inside the workarea!
10291 * paragraph.C (breakParagraph): honor keepempty flag and break the
10292 paragraph always below not above.
10294 * BufferView2.C (unlockInset): update the paragraph layout on inset
10295 unlock as we changed paragraph in such a case.
10297 * lyxfind.C (LyXFind): clear the former selection if not found!
10299 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10300 again called in insertChar().
10302 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10303 an inset which uses the whole row!
10304 (rightMargin): ditto.
10305 (insertChar): force a rebreak if we inserted an inset!
10307 2002-03-28 Herbert Voss <voss@lyx.org>
10309 * lyxlength.[Ch]: add inBP() to get the right PS-point
10310 units (BigPoint). With inPixels we have rounding errors
10312 2002-04-11 Juergen Vigna <jug@sad.it>
10314 * text2.C (setCursorFromCoordinates): set iy to the right value.
10315 (setCursor): add check if row->previous exists!
10317 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10318 an old float_type as this was the case in the old code!
10320 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10322 * BufferView2.C (showLockedInsetCursor): use iy
10323 (fitLockedInsetCursor): ditto
10325 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10326 locked insets as there we have the right value now.
10328 * lyxcursor.C: added iy_ variable and iy functions to set to the
10329 baseline of cursor-y of the locked inset.
10331 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10332 (setCursor): fixed for insets which need a full row.
10334 * text.C (rowLastPrintable): don't ignore the last space when before
10335 an inset which needs a full row.
10336 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10337 as last character of a row when before a inset which needs a full row.
10339 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10341 * version.C.in: update date
10343 * text2.C (fullRebreak): try to always return true and see what
10346 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10348 * MenuBackend.C (expand): use Floating::listName
10350 * FloatList.C (FloatList): add listName argument to the built-in
10353 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10354 text associated with the float.
10356 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10358 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10360 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10362 * ShareContainer.h: add a couple of missing typenames.
10364 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10366 * lyxrc.C (getDescription): use _() correctly rather than N_().
10368 2002-03-28 Herbert Voss <voss@lyx.org>
10370 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10371 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10373 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10375 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10376 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10378 2002-03-29 Juergen Vigna <jug@sad.it>
10380 * lyxfunc.C (dispatch): add a missing fitCursor call.
10382 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10383 it was scrolled by a cursor move, so return the bool status.
10385 * BufferView.C (fitCursor): return the bool flag also to the outside
10386 world as this is needed.
10388 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10390 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10391 call the edit() as it is not needed (and wrong) IMO.
10392 (workAreaButtonPress): set the screen_first variable before evt.
10393 unlock the inset as this may change screen_first and then we have
10394 a wrong y position for the click!
10396 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10398 * MenuBackend.C (expand): another translation that I missed
10400 2002-03-28 Juergen Vigna <jug@sad.it>
10402 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10404 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10406 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10408 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10410 * MenuBackend.C (expand): fix export/view/update when there is no
10413 2002-03-27 Herbert Voss <voss@lyx.org>
10415 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10418 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10420 * bufferview_funcs.C (currentState): only show paragraph number
10421 for is DEVEL_VERSION is set.
10423 * lyxfunc.C (dispatch): put warning in INFO channel
10425 * MenuBackend.C (expand): translate the name of floats
10427 * FloatList.C (FloatList): mark the float names for translation
10429 * converter.C (convert): use LibScriptSearch
10431 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10433 * MenuBackend.C (defaults): fix default menu (we might as well get
10436 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10438 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10441 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10443 * lyxvc.C: reorder includes.
10445 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10447 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10450 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10452 * CutAndPaste.C: change layouts earlier on paste
10453 to avoid crashing when calling getFont()
10455 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10457 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10460 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10462 * WorkArea.C: remove 'Pending' debug message.
10464 * most files: ws cleanup
10466 * buffer.[Ch]: ws changes
10468 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10470 2002-03-21 Juergen Vigna <jug@sad.it>
10472 * tabular.C (SetMultiColumn): collapse also the contents of the
10473 cells and set the last border right. Added a Buffer const * param.
10475 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10477 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10480 2002-03-19 Juergen Vigna <jug@sad.it>
10482 * text2.C (clearSelection): reset also xsel_cache.
10484 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10485 where it needs to be called (John tells us to do so too :)
10486 (selectionLost): reset sel_cache.
10488 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10490 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10492 * text2.C (setCursorIntern): put debuging code in INSETS channel
10494 2002-03-19 André Pönitz <poenitz@gmx.net>
10496 * lyxfunc.C: tiny whitespace change
10498 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10500 * ToolbarDefaults.C (init):
10501 * LyXAction.C (init):
10503 * BufferView_pimpl.C (Dispatch):
10504 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10506 2002-03-19 Allan Rae <rae@lyx.org>
10508 * exporter.C (Export): removeAutoInsets before doing anything else.
10509 While I've just introduced a dependency on BufferView this really is
10510 the best place to clean the buffer otherwise you need to cleanup in
10511 a dozen places before calling export or cleanup in a dozen functions
10514 * converter.C (runLaTeX):
10515 (scanLog): Better handling of removeAutoInsets and screen updates.
10517 * lyxfunc.C (dispatch): small whitespace changes
10519 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10521 * WorkArea.C (C_WorkAreaEvent): return a value.
10522 (event_cb): return 1 if we handled the event, 0 otherwise.
10524 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10526 2002-03-18 Juergen Vigna <jug@sad.it>
10528 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10529 (GetAdditionalWidth): ditto.
10530 (RightLine): ditto.
10533 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10534 inset if we're there actually (probably not used right now but this
10535 is the direction to go for unifying code).
10536 (paste): disable code to clear the selection.
10538 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10539 inside an InsetText and move the check further up as it is in the
10542 * text2.C (pasteSelection): set a selection over the pasted text.
10544 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10546 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10547 and libgraphics to build on Cygwin.
10549 2002-03-15 Juergen Vigna <jug@sad.it>
10551 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10552 inserting an Inset into the paragraph. I know this is not the best
10553 fix but we already use current_view in CutAndPaste so we will remove
10554 all of it's using at the same time.
10556 * buffer.C (sgmlError): deactivated function till it is rewritten in
10557 the right mode, now it can create problems.
10559 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10560 before accessing it.
10562 2002-03-14 Juergen Vigna <jug@sad.it>
10564 * undo_funcs.C (textHandleUndo): do the right thing when updating
10565 the inset after the undo/redo.
10567 * text2.C (setCursor): just some testcode for #44 not ready yet.
10569 * undo_funcs.C (textHandleUndo): set the next() and previous()
10570 pointers of the paragraph to 0 before deleting otherwise we have
10571 problems with the Paragraph::[destructor].
10573 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10574 on a paragraph insertion.
10576 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10578 * buffer.C (asciiParagraph): use += operator for char append to
10581 * paragraph.C (getFontSettings): compare >= not just >
10582 (highestFontInRange): ditto
10585 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10587 * paragraph.C: change several algorithm to be more appripriate for
10588 the problem domain. This is lookip in FontList and in the InsetList.
10590 2002-03-13 André Pönitz <poenitz@gmx.net>
10593 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10595 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10600 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10602 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10604 * Painter.C (display): anon helper function, adjust code for this
10606 (pixmap): remove function.
10608 * Painter.h: remove private display variable.
10610 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10612 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10614 * WorkArea.[Ch]: remove figinset_canvas cruft.
10616 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10618 * lyxtextclass.C (operator): add one item cache optimization.
10620 * bufferlist.h: doxy changes
10622 * bufferlist.C: ws changes
10624 * DepTable.[Ch] (ext_exist): place const in the right spot.
10626 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10628 (workAreaExpose): call resizeInsets when the with BufferView changes.
10629 (Dispatch): adjust for protectedBlank removal
10630 (specialChar): call updateInset if the insert went ok.
10632 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10633 specialChar instead.
10635 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10637 * BufferView.h: doxy change
10639 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10641 * lyxtextclass.C (operator[]): remove non-const version
10642 (defaultLayout): remove non-const version
10644 2002-03-12 Juergen Vigna <jug@sad.it>
10646 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10647 did resize the LyXText too.
10649 * buffer.C (readLyXformat2): set layout information on newly allocated
10652 * tabular.C (OldFormatRead): set layout information on the paragraph.
10654 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10656 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10658 2002-03-11 Juergen Vigna <jug@sad.it>
10660 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10662 (resizeCurrentBuffer): force also the insets to resize themselfes.
10663 (moveCursorUpdate): fixed up for InsetText.
10665 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10668 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10669 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10670 value of Dialogs::tooltipsEnabled().
10671 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10673 2002-03-08 Juergen Vigna <jug@sad.it>
10675 * BufferView_pimpl.C (updateInset): update inset inside inset also
10676 if it isn't inside theLockingInset().
10678 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10680 * buffer.C (asciiParagraph): redo some of the word and line length
10682 (getLists): look for Caption instead of caption.
10684 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * buffer.C (Buffer): initialize niceFile to true
10688 (makeLinuxDocFile):
10689 (makeDocBookFile): make sure niceFile is true on exit
10691 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10693 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10695 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10697 * LyXSendto.C: remove.
10698 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10699 * lyx_gui.C: remove now-redundant comment.
10700 * ColorHandler.h: remove forward declaration of class WorkArea.
10701 * lyxfunc.C: remove #include "WorkArea.h".
10703 2002-03-07 Juergen Vigna <jug@sad.it>
10705 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10706 got moved away with the DEPM and also set the inset_owner always
10707 right which before could have been omitted.
10709 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10711 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10712 wanted layout is not found.
10714 2002-03-07 Juergen Vigna <jug@sad.it>
10716 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10718 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10720 * paragraph.C (breakParagraph): use default layout not layout of
10722 (Paragraph): clear ParagraphParameters.
10724 2002-03-06 Juergen Vigna <jug@sad.it>
10726 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10727 otherwise it would not be a valid lenght. Fixed a special case in
10728 the minipage compatibility read where we end the document with a
10731 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10732 was set as it could be 0 for InsetTexts first entry.
10734 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10736 * paragraph.C (writeFile): if layout is empty write out
10737 defaultLayoutName().
10739 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10740 file without named layout we set layout to defaultLayoutName().
10742 2002-03-06 Juergen Vigna <jug@sad.it>
10744 * CutAndPaste.C (copySelection): set layout for new paragraph.
10746 * text.C (prepareToPrint): leave ERT inset left aligned
10747 (leftMargin): don't indent paragraphs inside ERT insets
10749 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * paragraph.C (breakParagraph): dont call clear do the work manually
10753 * paragraph.[Ch] (clear): remove function
10755 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10757 * paragraph.C (Paragraph): dont call clear, the work has already
10760 * lyxtextclass.C (operator): assert if n is empty
10762 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10763 work manually instead.
10765 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10767 * BufferView_pimpl.C: protect selectionLost against text == 0
10769 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10771 * text.C (breakParagraph): fix a setting layout to '0' problem.
10773 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10775 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10776 final location of file, for the included files, and graphics.
10778 2002-03-05 Juergen Vigna <jug@sad.it>
10780 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10782 2002-03-04 Juergen Vigna <jug@sad.it>
10784 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10786 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10787 last column of multicolumn cells.
10788 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10790 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10792 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10793 file if it doesn't go to a temporary file.
10795 * buffer.C (sgmlOpenTag):
10796 (sgmlCloseTag): remove extra newline insertion.
10798 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10800 * text.C (getRowNearY): comment out debug msg
10802 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * text2.C: first -> first_y
10806 * text.C (getRowNearY): add some attemts at a possible
10807 optimization, not working.
10809 * tabular.[Ch]: add BufferParams to several function so that newly
10810 created paragraph can be initialized to he default layotu for the
10813 * tabular-old.C (ReadOld): add buf->params to call of Init
10815 * screen.C: rename text->first to text->first_y
10817 * paragraph.C (breakParagraph): always set layout in the broken
10820 * lyxtextclass.C (Read): remove lowercase
10823 (delete_layout): ditto
10825 * lyxtext.h: rename first -> first_y
10827 * lyxlayout.C (Read): remove lowercase
10830 (obsoleted_by): ditto
10832 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10834 * buffer.C (insertErtContents): add params are to InsetERT
10835 (parseSingleLyXformat2Token): add code to check if a paragraphs
10836 layout really exist.
10837 (parseSingleLyXformat2Token): add params to several inset
10839 (asciiParagraph): remove lowercase, do the layout comparisons with
10842 * BufferView_pimpl.C (cursorNext): first -> first_y
10843 (resizeCurrentBuffer): first -> first_y
10844 (updateScrollbar): first -> first_y
10845 (scrollCB): first -> first_y
10846 (workAreaMotionNotify): first -> first_y
10847 (workAreaButtonPress): first -> first_y
10848 (checkInsetHit): first -> first_y
10849 (cursorPrevious): first -> first_y
10850 (cursorNext): first -> first_y
10851 (Dispatch): add buffer_->params to severl inset contructors
10853 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10855 * lyxlayout.C (Read): remove some debug info that I forgot.
10857 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10858 clean up the code slightly.
10859 (makeLinuxDocFile): ditto
10860 (makeDocBookFile): ditto
10862 * text2.C: layout as string
10864 * text.C: layout as string
10866 * paragraph_pimpl.C: layout as string
10868 * paragraph.[Ch]: layout as string
10870 * lyxtextclasslist.[Ch]: layout as string
10872 * lyxtextclass.[Ch]: layout as string
10874 * lyxtext.h: layout as string
10876 * lyxlayout.[Ch]: layout as string
10878 * lyx_cb.C: layout as string
10880 * bufferview_funcs.C: layout as string
10882 * bufferparams.C: layout as string
10884 * buffer.C: layout as string
10886 * LyXView.[Ch]: layout as string
10888 * LaTeXFeatures.[Ch]: layout as string
10890 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10892 * BufferView_pimpl.C: change current_layout to string, remove
10897 (workAreaButtonRelease): layout as string
10899 * BufferView2.C (unlockInset): adjust
10901 * vspace.C (asLatexCommand): use an explict temp variable.
10903 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10905 * Makefile.am: use FRONTEND_*
10907 2002-03-01 Juergen Vigna <jug@sad.it>
10909 * tabular.C (SetWidthOfMulticolCell): changed to something better
10910 I hope but still work in progress.
10911 (recalculateMulticolumnsOfColumn): renamed function from
10912 recalculateMulticolCells as it is more appropriate now.
10913 (SetWidthOfCell): calculate multicols better.
10915 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10917 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10919 * lyxfunc.C (processKeySym): print sequence also if it is
10920 `deleted' (complete)
10922 * kbsequence.C (print): print sequence even if it is deleted
10923 (complete would be a better word, actually).
10925 * lyxfunc.C (dispatch): print complete options after a prefix key
10927 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10929 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10931 * text2.C (setCharFont): eliminate setCharFont code duplication.
10933 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10935 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10936 LFUN_TABULAR_FEATURE (bug #177)
10938 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10940 * Makefile.am: remove figure.h
10942 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10944 * Bufferview_pimpl.C:
10956 * text2.C: remove #include "lyx_gui_misc.h".
10958 * LaTeX.C: added #include <cstdio>
10960 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10963 that the paragraph following this one can have.
10965 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10967 * vspace.C (asLatexCommand): fix bogus gcc warning
10969 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10971 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10973 * text2.C (setLayout): get rid of redundant code
10975 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10977 * text2.C (incDepth): make sure depth cannot be increased beyond
10980 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10982 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10983 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10985 * PainterBase.h (image):
10986 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10987 a LyXImage const *.
10989 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10993 * BufferView_pimpl.C:
10994 * BufferView_pimpl.h:
11014 * sp_spell.C: remove fig inset, and the crap house of
11015 cards that follows it
11017 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11022 * os2_errortable.h:
11023 * nt_defines.h: move .h into support/
11025 * vms_defines.h: remove
11027 * WorkArea.C: add space in debug output
11031 * buffer.C: add WITH_WARNINGS
11035 * bufferlist.C: s/retrive/retrieve/, add docs
11044 * chset.C: add docs
11046 * lyxgui.C: add ID to X error handler
11048 * lyxtestclass.c: fix typo
11050 2002-02-26 Juergen Vigna <jug@sad.it>
11052 * tabular_funcs.C (write_attribute): changed so that some default
11053 attributes are not written at all.
11054 (getTokenValue): set default values before trying to read the
11055 value so we have the return value always set as default if we don't
11056 find the token we search for.
11058 * tabular.C (Write): write bools as bools not as strings!
11060 2002-02-22 Juergen Vigna <jug@sad.it>
11062 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11063 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11065 * text.C (leftMargin): don't add an indent for paragraphs inside
11066 tabular cells (fix #208).
11068 2002-02-21 José Matos <jamatos@fep.up.pt>
11070 * tabular.C (docBook): fixed support for long tables.
11072 2002-02-20 Juergen Vigna <jug@sad.it>
11074 * text2.C (getFont): get the drawing font of the Inset if this
11075 paragraph is inside an inset (only important for InsetERT for now).
11077 * buffer.C (insertErtContents): use new lanugage params in ERT
11080 * CutAndPaste.C: commenting out seemingly uneeded code.
11082 2002-02-19 Allan Rae <rae@lyx.org>
11084 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11085 Iterators might be simple to use but they also get invalidated.
11086 (removeAutoInsets): renamed saved cursor tracking variables and added
11087 some comments to clarify what everything does.
11089 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11096 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11097 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11100 * vc-backend.h: remove #include "support/syscall.h"
11104 * converter.C: rearrange #includes in Lars' approved fashion.
11106 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11107 forward declare class Timeout in the header file.
11109 * XFormsView.C: changes due to the above.
11111 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11112 similar to LyXView.
11114 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11115 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11117 2002-02-18 José Matos <jamatos@fep.up.pt>
11119 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11122 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11124 * a lot of small ws changes
11125 * add a lot of using std::XXX
11126 * use std construcs some places where approp.
11127 * use some exisint stuff from lyxfunctional where approp.
11128 * Make file changes to use partial linking (lets test this now...)
11130 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11134 remove #include "support/syscontr.h" as it's redundant. Always has been.
11142 change Systemcalls::System to Systemcalls::Wait and
11143 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11144 No change of functionality, just reflects the stripped down Systemcalls
11147 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11149 * debug.[Ch]: add a GRAPHICS type to the enum.
11151 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11153 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11155 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11158 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11161 match the changes below.
11163 * text2.C (toggleInset): if there is not editable inset at cursor
11164 position, try to see if cursor is _inside_ a collapsable inset
11167 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11169 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11170 document menu has a nice checkbox
11172 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11174 * lyxlength.C (asLatexString): change PW to output as percent of
11177 * lengthcommon.C: change '%' to 't%'
11179 * lyxfunc.C (dispatch): a few comments from Martin
11181 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11185 * BufferView_pimpl.h:
11186 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11189 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11191 * vspace.C (inPixels): fix compiler warning
11193 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11195 * lyxfunc.C (getStatus): fix status message for disabled commands.
11197 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11199 * BufferView_pimpl.C: fix crash on close buffer
11200 during selection (#227)
11202 2002-01-27 Herbert Voss <voss@lyx.org>
11204 * buffer.C: link old Figure to new graphic inset
11206 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11208 * FontLoader.C (getFontinfo): Change the latex font names in order
11209 to match the names of type1inst.
11211 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11215 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11216 (extchanged): ditto
11218 (remove_files_with_extension): ditto
11219 (remove_file): ditto
11222 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11223 document is smaller than the work area height. Do not initialize
11224 static variables to 0.
11226 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11228 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11230 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11231 LFUN_LAYOUT_PARAGRAPHS.
11233 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11234 tabular. It is possible to provide a possible cell, which will
11235 typically be the actcell from the corresponding insettabular
11237 * lyxfunc.C (getStatus): small cleanup; disable
11238 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11241 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11243 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11245 * paragraph.C (startTeXParParams):
11246 (endTeXParParams): new methods. The LaTeX code to
11247 start/end paragraph formatting
11248 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11249 empty (fixes bug #200)
11251 * vspace.C (inPixels): adapt to the change below
11252 (inPixels): [later] more cleanups (remove unused variables)
11254 * lyxlength.C (inPixels): change to use a width and a height as
11257 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11259 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11260 Replaced with \paperwidth
11262 * DepTable.C (insert): add std:: qualifier
11264 2002-01-18 Allan Rae <rae@lyx.org>
11266 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11269 * text.C (drawInset): Turned out I didn't know enough about how
11270 rebreaking worked. This fixes most of the redraw problems. I see
11271 an occasional cursor trail when a line is broken now and the cursor
11272 placement can seem out by a few pixels also after a rebreak.
11274 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11276 * buffer.C (parseSingleLyXformat2Token): update because minipage
11277 width is now a LyXLength
11279 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11281 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11284 2002-01-17 Juergen Vigna <jug@sad.it>
11286 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11288 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11289 is set correctly and the inset is updated correctly.
11291 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11294 the beginning of the loop.
11296 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11298 * lyxrc.C: improve help for use_scalable_fonts
11300 2002-01-17 Allan Rae <rae@lyx.org>
11302 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11304 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11306 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11307 make sure to set their inset_owner to the right value (bug #171)
11309 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11312 * DepTable.C: Implement mtime checking to reduce time spent doing
11315 2002-01-16 Juergen Vigna <jug@sad.it>
11317 * tabular.C (GetAdditionalHeight): one of error fixed.
11319 * lyxrc.C (output): small fix in writing use_pspell.
11321 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11323 * sp_base.h: #include LString.h
11325 2002-01-16 Allan Rae <rae@lyx.org>
11327 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11328 Can someone check this please?
11330 * text.C (drawInset): It was possible that p.row would be removed by
11331 breakAgainOneRow upsetting a few other settings. There may be another
11332 small tweak possible by setting need_break_row = 0 when p.row has been
11333 removed but I don't know enough about the logic here.
11335 2002-01-15 Allan Rae <rae@lyx.org>
11337 * text.C (insertChar): removed conditional truism.
11339 * BufferView2.C (removeAutoInsets): More tweaks.
11340 cur_par_prev could be a stray pointer. Check for trailing empty line
11341 in case last line was cur_par and only had an error inset on it.
11343 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11345 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11348 * vc-backend.C (most methods):
11349 * exporter.C (Export):
11350 * converter.C (convert):
11352 * LyXSendto.C (SendtoApplyCB):
11353 * lyxfunc.C (dispatch):
11357 * lyx_cb.C (AutoSave):
11359 * BufferView_pimpl.C (MenuInsertLyXFile):
11360 * buffer.C (runChktex): use Buffer::filePath().
11362 * buffer.h: rename filename to filename_; rename filepath to
11363 filepath_ and make it private
11364 (filePath): new method
11366 * buffer.C (writeFile): use fileName()
11369 * lyx_main.C (init): fix starting of LyX when the binary is a
11370 link from so,ewhere else.
11372 * minibuffer.C: include <cctype> for isprint
11374 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11376 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11377 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11378 name clash with InsetCollapsable's width function.
11380 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * lastfiles.C: include <iterator>
11384 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11386 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11389 * buffer.C (makeLaTeXFile): ditto.
11390 Also make loop operation more transparent.
11392 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11394 * ToolbarDefaults.C: remove trailing comma closing namespace.
11396 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11398 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11401 * trans.C (Load): comment out unused variable, allowed.
11403 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11405 * minibuffer.[Ch] (append_char): new method to recieve input from the
11406 drop-down completion browser. If a key was pressed, then recieve this
11407 char and append it to the existing string.
11408 (peek_event): modify the positioning data passed to the completion
11409 browser so that it can be placed above the minibuffer rather than below.
11410 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11412 * LyXAction.C (init): alloe error-next for readonly documents.
11414 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11417 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11419 * bufferlist.C (readFile): create the buffer _after_ checking that
11422 * lyxfunc.C (verboseDispatch): fix handling of arguments
11424 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11426 * lyxrc.C: use string::erase() instead of initializing to "".
11429 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11431 * BufferView_pimpl.h:
11432 * BufferView_pimpl.C:
11435 * text2.C: tell X when we have made a selection for copying
11437 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * BufferView_pimpl.C (MenuInsertLyXFile):
11440 * lyxfunc.C (menuNew):
11442 (doImport): add shortcuts to directory buttons
11444 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11447 * lyxfunc.C (setStatusMessage):
11448 (getStatusMessage): new methods
11449 (getStatus):use setStatusMessage instead of setErrorMessage
11450 (dispatch): when function is disabled, set error message here
11451 [instead of in getStatus previously]
11453 * BufferView_pimpl.C (workAreaButtonRelease): update
11454 toolbar/menubar here too.
11456 2002-01-13 Allan Rae <rae@lyx.org>
11458 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11459 Now seems indestructible. Remaining task is to audit all other
11460 code affected by deleteEmptyParagraphMechanism. One small quirk
11461 left is that an empty document with an error in the preamble can
11462 be made to report an error but no error box appears. I don't know
11464 (removeAutoInsets): Improved comments.
11466 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11469 * Thesaurus.C: update for Aiksaurus 0.14
11471 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11473 * text2.C (firstParagraph): removed member function, all uses
11474 replaces with ownerParagraph
11475 (redoParagraphs): here
11476 (updateInset): here
11477 (toggleAppendix): here
11478 * BufferView2.C (insertErrors): here
11479 (setCursorFromRow): here
11481 2002-01-13 Allan Rae <rae@lyx.org>
11483 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11484 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11485 There is still a way to segfault this although you may have to do this
11486 multiple times: Have an InsetERT with an unknown command in it.
11487 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11488 <down-arrow>, <Enter> again, View->DVI, BANG!
11490 * text2.C (setCursor):
11491 (deleteEmptyParagraphMechanism):
11492 * lyxtext.h (setCursor):
11493 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11494 Making use of the return value may help fix other bugs.
11496 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11498 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11500 * LyXView.C (updateMenubar): call MenuBar::update here
11501 (updateToolbar): but not here
11502 (showState): do not update toolbar/menubar
11504 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11505 should need to care about that.
11507 * lyxfunc.C (verboseDispatch): simplify a bit
11508 (getStatus): have a version which takes a pseudoaction, and
11509 another which requires a (kb_action,string).
11511 * LyXAction.C (retrieveActionArg): make it work also when action
11512 is not a pseudo-action.
11513 (getActionName): simplify a bit
11516 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11518 * lyxfunc.C (verboseDispatch): new families of methods with
11519 several ways to specify a command and a bool to indicate whether
11520 the command name and shortcut should be displayed in minibuffer
11521 (eventually, we could extend that to a finer bitmask like
11522 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11523 (dispatch): the pristine dispatch command which just, well,
11524 dispatchs! Note it still sets its result to minibuffer; I'm not
11527 * lyxfunc.h: remove setHintMessage
11529 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11531 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11533 * BufferView_pimpl.C (specialChar): delete new inset if we have
11534 not been able to insert it.
11536 * kbmap.C: revert to using int instead of kb_action, since all we
11537 are dealing with is pseudo-actions.
11539 * LyXAction.C (searchActionArg): change to return int instead of
11540 kb_action, since the result is a pseudoaction.
11542 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11544 * buffer.C (insertErtContents): Fix (partially) the font bug.
11546 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11548 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11549 as the other one is broken on my machine!
11551 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11554 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11556 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11558 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11559 reflect their actual use. Provide compatibility code for older lyxrc
11562 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11564 change names of popup font variables in line with the changes to lyxrc.C
11566 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11568 * buffer.C (asciiParagraph): avoid outputing a word twice after
11571 * lyxrc.C (getDescription): document that document_path and
11572 template_path can be empty.
11574 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11576 * LaTeXFeatures.C (getMacros):
11577 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11579 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11581 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11583 (getPackages): rename feature "floats" to "float". Use an array to
11584 iterate over 'simple' features (i.e. just a \usepackage). Add
11585 handling of "amsmath" (renamed from "amsstyle").
11587 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11589 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11592 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11594 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11595 FuncStaus::FuncStatus & FuncStaus::some_method().
11597 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11599 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11600 of the func_satus stuff. Edited and massaged in various ways by
11603 * lyxfunc.C (getStatus): use FuncStatus
11605 2002-01-08 Juergen Vigna <jug@sad.it>
11607 * text.C (nextBreakPoint): use function Inset::isChar().
11609 * paragraph.C (TeXOnePar): use function
11610 Inset::forceDefaultParagraphs.
11612 * buffer.C (latexParagraphs): use function
11613 Inset::forceDefaultParagraphs.
11615 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11617 * lyx_gui.C (init): set the style of the menu popups to
11618 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11620 2002-01-07 Juergen Vigna <jug@sad.it>
11622 * text.C (setHeightOfRow): small fix
11623 (prepareToPrint): don't look at alignment if we don't have the place
11626 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11628 * box.C: New file. Move the Box methods and functions out of box.h,
11629 following Lars' suggestion.
11631 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11633 * box.h: #include "support/LOstream.h", needed for inlined function.
11636 * lyxtextclasslist.C: added some using std declarations.
11638 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11640 * box.h: make signed dimensions to allow insets wider than
11641 the screen (bug #162)
11643 * BufferView_pimpl.C: add some insetHit debug
11645 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11647 * vc-backend.C: add FIXME
11649 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11651 * lyxfunc.C (getStatus): enable code for showing math font status
11654 2002-01-07 Juergen Vigna <jug@sad.it>
11656 * text.C (nextBreakPoint): removed debug output not needed anymore.
11658 2002-01-06 Juergen Vigna <jug@sad.it>
11660 * text.C (nextBreakPoint): fixed up this function we had this bug
11661 since ever but now hopefully we break row better.
11662 (insertChar): we have to check if an inset is the next char as it
11663 could now happen that a large inset is causing a break.
11665 2002-01-05 Juergen Vigna <jug@sad.it>
11667 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11668 if it doesn't like to be drawed.
11670 2002-01-04 Juergen Vigna <jug@sad.it>
11672 * BufferView2.C (lockInset): forgot to set a cursor.
11674 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11676 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11678 * FormMathsPanel.C:
11681 * form_maths_panel.C:
11682 * form_maths_panel.h:
11683 * form_maths_panel.fd: implemented sub- and super- buttons in math
11686 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11687 (or ^ space) to be used as in TeX (req'd by André).
11689 * lyxfunc.C: Allow ^ and _ again to be used both as
11690 super/subscript (mathed) and as themselves (in text).
11692 2002-01-03 Allan Rae <rae@lyx.org>
11694 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11695 "LyX" or the filename of the current buffer if it has one. This is a
11696 modified form of John Levon's patch.
11698 * XFormsView.C (setWindowTitle): also set icon title.
11700 * LyXView.h (setWindowTitle): signature changed.
11701 * XFormsView.h (setWindowTitle): ditto.
11703 2002-01-02 Juergen Vigna <jug@sad.it>
11705 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11707 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11709 * screen.C (topCursorVisible): introduce a temp var for
11710 text->cursor.row(), handle the case where this row is null. (kindo
11713 * text2.C (setCursor): add a couple of asserts.
11715 * paragraph.h (inset_iterator): add -> operator
11717 * paragraph.[Ch] (autoDeleteInsets): remove member function
11719 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11720 cursor pos correctly and handle inset deletion by itself.
11721 (insertErrors): move iterator declaration out of for expression
11723 * lyxtextclass.C: add <algorithm>
11725 * Makefile.am: added the new files to sources, removed layout.C
11727 * layout.C: removed file
11729 * layout.h: remove LYX_DUMMY_LAYOUT
11731 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11735 * lyxtextclass.[Ch]:
11736 * lyxtextclasslist.[Ch]: new files
11738 * include order changes to a lot of files, also changes because of
11741 2001-12-27 Juergen Vigna <jug@sad.it>
11743 * buffer.C (asciiParagraph): more fixes.
11745 * tabular.C (ascii): make ascii export support export of only the
11746 data separated by a column-delimiter.
11747 (ascii): better support for ascii export.
11749 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11751 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11753 * tabular_funcs.C: use a "using std::getline" instead of the
11754 previous fix from Angus (necessary for cxx + lyxstring)
11756 2001-12-24 Juergen Vigna <jug@sad.it>
11758 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11760 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11761 problems. First check a minipage also if we have some ert-contents
11762 (not only on par->size(), second set the right depth of the paragraph
11763 on the relink to the root-paragraph-list!
11765 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11766 which then did not anymore update the main paragraphs on undo/redo!
11768 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11770 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11771 code. Support all font-changing funcs (even those which are not in
11772 menu currently). Support for reporting font settings in
11773 mathed (disabled until Andre provides a function on mathed's side).
11775 * func_status.h (toggle): small helper function to set toggle
11778 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11780 * tabular_funcs.C: getline -> std::getline
11782 2001-12-21 Juergen Vigna <jug@sad.it>
11784 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11785 accessed and could be 0 (I couldn't generate this but it seems
11788 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11790 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11791 * tabular_funcs.h: here and include iosfwd
11793 2001-12-20 Juergen Vigna <jug@sad.it>
11795 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11796 inside inset but undo_par was.
11798 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * Thesaurus.C: always include <config.h> in sources.
11804 * box.h: do not include <config.h> in header files
11806 * text.C (paintLastRow): remove unused variable
11808 * text.C (transformChar):
11810 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11812 * Painter.C (text):
11813 * font.C (width): rewrite to use uppercase() instead of
11816 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11818 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11820 * lyxfind.C: clean up of find failure position change
11822 2001-12-20 Juergen Vigna <jug@sad.it>
11824 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11826 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11827 (TeXRow): added to LaTeX a single tabular row.
11828 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11829 (Latex): simplified and finally good LT-h/f support.
11830 (various_functions): just small adaptions for LT-h/f support.
11832 * tabular_funcs.[hC]: added and moved here all not classfunctions
11835 2001-12-19 Juergen Vigna <jug@sad.it>
11837 * tabular.[Ch]: better support for longtabular options (not finished
11840 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11842 * text.C (paintLastRow): use the label font instead of the font of
11843 the last character to compute the size of *_BOX. This makes more
11844 sense and avoids a crash with empty paragraphs.
11845 Use Painter::rectangle to draw EMPTY_BOX.
11847 2001-12-19 Juergen Vigna <jug@sad.it>
11849 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11850 the paragraphs if the replaced paragraph is not the first one!
11851 Tried to delete not used paragraphs but does not work yet so for
11852 now it's inside #ifdef's and by default off!
11854 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11856 * MenuBackend.C: include "lyx_main.h" instead of declaring
11857 lastfiles (actually was declared as LastFiles* instead of a
11860 2001-12-17 Juergen Vigna <jug@sad.it>
11862 * tabular.C (AppendColumn): applied John's fix
11864 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11868 * BufferView_pimpl.h:
11869 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11872 * box.h: new start of class for above
11874 * lyxfunc.C: ignore space-only minibuffer dispatches.
11875 Show the command name when it doesn't exist
11877 * minibuffer.C: don't add empty lines to the history
11879 * minibuffer.C: add a space on dropdown completion
11881 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11883 * text.C: fix line above/below drawing in insets
11885 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11887 * lyxlength.C (LyXLength): Initialize private variables.
11889 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11891 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11892 when inserting error insets.
11894 2001-12-13 Juergen Vigna <jug@sad.it>
11896 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11897 actually sometimes the before-paragraph.
11898 (setUndo): don't clear the redostack if we're not actually undoing!
11900 2001-12-06 Juergen Vigna <jug@sad.it>
11902 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11903 and fixed redoing of main paragraph, so we can use it now ;)
11905 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11907 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11909 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11912 2001-12-13 André Pönitz <poenitz@gmx.net>
11915 * undo_func.C: minor cleanup
11917 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11919 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11920 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11921 font in urw-fonts package which is marked as -urw-fontspecific and
11922 does not work (incidentally, changing the encoding in the
11923 fonts.dir of this package to -adobe-fontspecific fixes the
11926 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11927 is a crash when undoing first paragraph (Juergen, please take a
11928 look). THis does not mean the undo fix is wrong, just that it
11931 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11932 the (Paragraph*) version when needed instead of duplicating the
11935 * text.C (workWidth): use Inset::parOwner to find out where the
11936 inset has been inserted. This is a huge performance gain for large
11937 documents with lots of insets. If Inset::parOwner is not set, fall
11938 back on the brute force method
11940 * paragraph_pimpl.C (insertInset):
11941 * paragraph.C (Paragraph):
11942 (cutIntoMinibuffer): set parOwner of insets when
11943 inserting/removing them
11945 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11947 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11953 * mathed/formulabase.C:
11954 * mathed/math_cursor.[Ch]:
11955 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11958 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11960 * lyxlength.[Ch] (operator!=): new function
11962 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11964 * text.C (workWidth): use Inset::parOwner to find out where the
11965 inset has been inserted. This is a huge performance gain for large
11966 documents with lots of insets. If Inset::parOwner is not set, fall
11967 back on the brute force method
11969 * paragraph_pimpl.C (insertInset):
11970 * paragraph.C (Paragraph):
11971 (cutIntoMinibuffer): set parOwner of insets when
11972 inserting/removing them
11974 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11976 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11978 * tabular-old.C (getTokenValue):
11979 * tabular.C (getTokenValue):
11980 (write_attribute): new versions for LyXLength
11981 (everywhere): adjust the use of widths
11983 * tabular.h: change the type of widths from string to LyXLength
11985 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11987 * paragraph.C: fixed missing line number count when exporting
11988 Environments to LaTeX file
11990 * buffer.C: added informational message for checking line numbers.
11992 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11994 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11995 paragraph, do the 'double space' part, but not the 'empty
11998 * text.C (workWidth): small optimization
11999 (getLengthMarkerHeight): use minimal size for negative lengths.
12001 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12003 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12005 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12007 2001-12-11 André Pönitz <poenitz@gmx.net>
12010 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12012 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12014 * text2.C: keep selection on a setFont()
12016 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12018 * lyx_cb.C: another bv->text misuse, from insert label
12020 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12023 * kbsequence.C: re-instate nmodifier mask
12025 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12027 * lyx_main.h: make lyxGUI private.
12029 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12031 * lyxfind.C: place the cursor correctly on failed search
12033 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12035 * text.C (getLengthMarkerHeight): for small heights, the arrows
12036 are not always on top/bottom of the text
12037 (drawLengthMarker): smaller arrows; take the left margin in
12038 account; draw also vfills.
12040 (paintLastRow): remove special code for vfill and standard spaces,
12041 since everything is handled in drawLengthMarker now.
12043 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * buffer.C (insertErtContents): try to handle font and language
12046 interaction a bit better.g
12048 * ColorHandler.C (updateColor): change the hash to cover the whole
12049 LColor enum, ws cleanup
12050 (getGCLinepars): ditto
12051 (getGCLinepars): only lookup in the linecache once.
12053 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12055 * iterators.C (operator++): Make the iterator more robust
12057 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12059 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12061 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12064 * text.C: better added space drawing
12066 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12069 * BufferView2.C: fix layout combo update on inset unlock
12071 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12073 * Makefile.am: don't compile unused files
12075 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12079 * LyXAction.C: remove old LFUN_LAYOUTNO
12081 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12083 * paragraph_pimpl.h:
12084 * paragraph_pimpl.C: isTextAt() doesn't need font param
12086 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12089 * lyxlex.C: little cleanup
12091 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12093 * BufferView_pimpl.C: fix insertAscii for insets
12095 2001-12-05 Juergen Vigna <jug@sad.it>
12097 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12098 set the right font on the "multi" paragraph paste!
12100 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12106 * lyxlength.C: remove out-commented code.
12108 * BufferView_pimpl:
12122 * vc-backend.C: change "while(" to "while ("
12124 * lyxlength.[Ch]: add zero function to check if length is zero or
12126 * lyxgluelength.C: use it
12128 2001-12-05 Allan Rae <rae@lyx.org>
12130 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12131 Works for 2.95.3, from what I understand of Garst's reports this should
12132 work for other g++ versions. We're screwed if the abs(int) definition
12133 changed between bugfix releases of gcc.
12135 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12137 * text.C: fix chapter label offset !
12139 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12142 * text.C: fix hfill at end of line, clean up
12144 2001-12-04 Juergen Vigna <jug@sad.it>
12146 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12147 that we force an update of the inset and it's owners if neccessary.
12149 2001-12-03 Juergen Vigna <jug@sad.it>
12151 * text.C (rowLast): simplified code
12153 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12155 * lyxfunc.C: fix show options on timeout
12157 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12159 * screen.C (topCursorVisible): scroll half a page when the cursor
12160 reached top of bottom of screen
12162 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12164 * minibuffer.C: deactivate on loss of focus
12166 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12168 * vspace.[Ch] (operator!=): add operator.
12170 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12172 * BufferView_pimpl.C: refuse to open an inset when
12173 there's a selection.
12175 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12177 * BufferView_pimpl.C: allow to click on RHS of full row insets
12179 2001-11-30 Juergen Vigna <jug@sad.it>
12181 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12182 insets for undo reasons.
12184 2001-11-28 André Pönitz <poenitz@gmx.net>
12186 * vspace.[Ch]: cosmetical changes
12188 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12198 * kbsequence.C: part re-write of old kb code
12201 * WorkArea.C: remove Lgb_bug_find_hack
12203 2001-11-30 José Matos <jamatos@fep.up.pt>
12205 * buffer.C (makeDocBookFile): add a comment to point a hack.
12206 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12207 Fixed a double write of labels.
12209 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12212 * LaTeX.h Fixed bug in LaTeX class where it would not
12213 re-run latex if no depfiles were changed, but the .dvi was removed.
12215 2001-11-28 André Pönitz <poenitz@gmx.net>
12217 * all the files from the change on 2001/11/26:
12218 use lyx::layout_type instead of LyXTextClass::size_type
12219 use lyx::textclass_type instead of LyXTextClassList::size_type
12221 2001-11-29 Juergen Vigna <jug@sad.it>
12223 * text.C: added support for paragraph::isFreeSpacing()
12225 * buffer.C: same as above
12227 * paragraph.h: inserted isFreeSpacing() function to enable
12228 FreeSpacing inside InsetERT.
12230 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12231 of the paragraph's in the cut/copy buffer to 0!
12233 * text2.C (removeRow): remove the assert as it can!
12235 * lyxtext.h: added helper function firstRow returning firstrow and
12236 made firstrow private again.
12238 * BufferView2.C (lockInset): don't relock if we're already locked!
12240 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12241 the only paragraph.
12242 (removeRow): added Assert::(firstrow)
12244 * debug.C: forgot to add INSETTEXT here.
12246 2001-11-28 Juergen Vigna <jug@sad.it>
12248 * sp_spell.C (initialize): changed error text to more general
12249 spellchecker command use (not only ispell!)
12251 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12253 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12255 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12257 * vspace.C: initialise lyxgluelength on failure
12259 2001-11-28 Allan Rae <rae@lyx.org>
12261 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12262 declaration & definition that looks like a function declaration.
12264 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12266 * BufferView2.C (copy):
12267 (copyEnvironment): do not clear the selection when doing a copy.
12269 * text.C (paintFirstRow): compilation fix
12271 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12273 * tabular.C (Latex): correct line count when writing latex.
12275 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12277 * paragraph_pimpl.h:
12278 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12281 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12285 * LColor.C: change vfillline->added_space
12287 * text.C: add markers and text for added space
12289 * vspace.C: fix comment
12291 2001-11-28 André Pönitz <poenitz@gmx.net>
12293 * paragraph.C: whitespace changes
12294 * all the other files from the change on 2001/11/26:
12295 change *::pos_type into lyx::pos_type
12297 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12299 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12300 language of the document when inserting error insets.
12302 2001-11-26 André Pönitz <poenitz@gmx.net>
12304 * BufferView_pimpl.[Ch]:
12312 * paragraph_pimpl.[Ch]:
12315 * text2.C: reduce header dependencies, introduce type for positions
12317 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12319 * <various>: change to use Alert.h
12321 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12323 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12324 when encountering an unknown token.
12325 (readLyXformat2): Show an error message if there were unknown tokens.
12327 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12330 * BufferView_pimpl.C:
12334 * text2.C: use par->isInset()
12336 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12338 * paragraph_pimpl.h:
12339 * paragraph_pimpl.C: cleanup
12341 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12343 * text2.C (removeRow):
12344 * text.C (setHeightOfRow): remove useless (and costly) call to
12347 2001-11-20 Allan Rae <rae@lyx.org>
12349 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12350 Now need Inset*::checkInsertChar() to return true for appropriate
12351 cases so that the characters in the minibuffer will actually be
12354 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12356 * text.C: change the order of the includes.
12357 (workWidth): initialize it at once.
12358 (workWidth): make maxw unsigned
12359 (setHeightOfRow): remove unused variable (inset)
12360 (selectSelectedWord): remove unused variable (inset)
12361 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12363 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12365 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12366 server is not running.
12368 (closeConnection): add debug info when server is disabled.
12370 * ColorHandler.C (getGCForeground): send debug message to GUI
12373 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12375 * kbmap.C (bind): modify because return conventions of
12376 kb_sequence::parse have changed.
12378 * kbsequence.C (parse): only ignore spaces and not any stupid
12379 control character. This avoids tests like s[i] <= ' ', which are
12380 guaranteed to fail with 8bit characters and signed chars.
12381 Change return code to string::npos when there have been no error
12382 (0 was a bad idea when error is at first character)
12384 2001-11-14 José Matos <jamatos@fep.up.pt>
12387 * buffer.C (simpleDocBookOnePar): removed unused argument.
12389 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12391 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12392 insets which are part of a word. Paragraph::isLetter takes care of
12393 that now. Use Paragraph::isInset to identify insets.
12394 (selectSelectedWord): do not test for hyphenation break.
12396 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12397 that protected spaces are considered as spaces.
12399 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12402 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12405 * lyxserver.C: fix it. and small cleanup.
12407 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12409 * BufferView_pimpl.C: use inline helpers
12412 * LaTeXFeatures.C: fix typos
12415 * Spacing.C: move spacing_string into class
12417 * ToolbarDefaults.C: move stuff into namespace anon
12419 * layout.h: update enum
12421 * lyxfunc.C: use better debug
12423 * minibuffer.h: fix typo
12427 * WorkArea.C: add and use Debug::WORKAREA
12431 * text2.C: code re-organisation, inline helpers
12433 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12435 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12436 std::vector.empty().
12438 2001-11-09 Allan Rae <rae@lyx.org>
12440 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12441 '\n's after tables. Tabular and ERT inset work now makes this no
12444 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12447 * minibuffer.C: fix crash, improve drop-down completion
12449 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12452 * lyxserver.C: invalidate fd's when doing endPipe()
12454 2001-11-08 José Matos <jamatos@fep.up.pt>
12456 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12457 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12460 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12462 2001-11-07 José Matos <jamatos@fep.up.pt>
12465 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12468 * buffer.C (sgmlOpenTag):
12469 * buffer.C (sgmlCloseTag): removed debug info.
12471 * buffer.h (sgmlOpenTag):
12472 * buffer.h (sgmlCloseTag): made public.
12474 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12476 * buffer.C (saveParamsAsDefaults):
12477 * lyx_cb.C (MenuLayoutSave): remove
12479 * LyXAction.C (init):
12481 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12483 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12485 * buffer.C (setPaperStuff): removed from here...
12487 * bufferparams.C (setPaperStuff): ... and moved there.
12489 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12493 * XFormsView.C: add support for drop-down completion
12495 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12497 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12500 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12502 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12505 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12507 * lyx_main.C: change ref to known bugs
12509 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12511 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12512 to work around older babel problems.
12514 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12516 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12518 2001-10-24 Juergen Vigna <jug@sad.it>
12520 * tabular-old.C (ReadOld): below variable changes reflected.
12522 * tabular.[Ch]: added ltType struct for longtable header/footer
12523 defines and changed all instances where they are used. Added
12524 future support for double top/bottom rows.
12526 2001-10-24 José Matos <jamatos@fep.up.pt>
12528 * buffer.h (docbookHandleCaption):
12529 * buffer.C (docbookHandleCaption): removed unused function.
12530 (makeDocBookFile): moved docbook supported version to v4.1.
12532 2001-10-24 José Matos <jamatos@fep.up.pt>
12535 * tabular.C (docbookRow): new function to export docbook code of a row.
12536 (DocBook): now honors the longtable flags.
12538 2001-10-23 José Matos <jamatos@fep.up.pt>
12541 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12542 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12544 * buffer.C (makeLinuxDocFile):
12545 (makeDocBookFile): reworked the preamble, more clean, and with
12546 support for lyx defined entities. Changed the document declaration
12547 to be more XML friendly.
12549 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12550 if we need to output XML that should be done with a filter.
12552 2001-10-22 Juergen Vigna <jug@sad.it>
12554 * sp_pspell.h (class PSpell): add alive function needed in the
12555 controller to see if the spellchecker could be started.
12557 2001-10-22 Juergen Vigna <jug@sad.it>
12559 * buffer.C (insertStringAsLines): modify the font for inserting
12560 chars in certain conditions by calling checkInsertChar(font).
12562 2001-10-19 Juergen Vigna <jug@sad.it>
12564 * text.C (workWidth): use getRow instead of wrong algorithm.
12565 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12567 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12572 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12574 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12576 * text.C (workWidth): do not search for the exact row when
12577 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12578 optimization for big documents.
12580 2001-10-18 Juergen Vigna <jug@sad.it>
12582 * text.C (workWidth): new function with added Inset * parameter.
12584 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12586 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12588 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12589 change return type of getColumnNearX.
12592 * text.C (changeRegionCase): use uppercase/lowercase instead of
12595 (rightMargin): simplify code by factoring out the uses of
12600 (appendParagraph): use Paragraph::size_type
12602 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12604 * vspace.C (asLatexString): add a missing break
12606 2001-10-15 Herbert Voss <voss@perce.de>
12608 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12610 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12612 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12615 2001-10-10 André Pönitz <poenitz@gmx.net>
12617 * lyxfunc.C: removed greek_kb_flag.
12619 2001-10-10 Herbert Voss <voss@perce.de>
12621 * lyx_main.C: delete global string help_lyxdir.
12623 2001-10-09 Herbert Voss <voss@perce.de>
12625 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12627 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12629 * lyx_main.C: added global string help_lyxdir.
12631 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12633 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12635 * lyxrc.C (set_font_norm_type): support iso8859-4
12637 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12639 * LaTeX.C (deplog): add another regex for MikTeX
12641 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12643 * lyxrc.C (set_font_norm_type): support iso8859-3
12645 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12647 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12649 * LaTeXFeatures.C: remove special case of french and index
12651 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12652 before \begin{document}). This solves several incompatibilities.
12654 2001-10-03 Garst Reese <reese@isn.net>
12656 * lyx_cb.C: change CheckTex error msg.
12658 2001-10-03 José Matos <jamatos@fep.up.pt>
12660 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12662 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12664 * .cvsignore: update
12666 * lyx_main.C (commandLineVersionInfo): use new style version info.
12668 * buffer.C (writeFile):
12670 (makeLinuxDocFile):
12671 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12673 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12675 * version.h: update to use stuff in version.C
12677 * version.C.in: new file. Contains version information determined
12678 at compile time. This is a merging of version.h and
12681 2001-10-03 Juergen Vigna <jug@sad.it>
12683 * BufferView_pimpl.C (update): don't change "dirty" status in
12686 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12688 * WorkArea.C (c-tor): re-position version string slightly.
12690 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12692 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12693 revert to previous code.
12695 WorkArea.[Ch]: (show, destroySplash): methods removed.
12697 WorkArea.C: rework code so that it's an amalgam of the codes before and
12698 after the splash screen was moved to WorkArea.
12700 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * vspace.C (inPixels):
12706 * buffer.C (insertStringAsLines):
12707 (asciiParagraph): fix types to be large enough
12709 * lyxlex_pimpl.h: change member status from short to int
12711 * layout.h: fix type of endlabeltype
12714 * kbsequence.C (parse): change return type to string::size_type
12716 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12719 * Bullet.C (bulletSize):
12720 (bulletEntry): do not use short ints as parameters
12722 * BufferView2.C (insertLyXFile): change a char to an int.
12724 * WorkArea.C (WorkArea): remove unneeded floats in computation
12726 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12728 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12730 * paragraph.C (asString): Do not ignore newline/hfill chars when
12731 copying to the clipboard.
12733 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12735 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12736 after a multi-line inset.
12738 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12740 * paragraph.C (validate): Set NeedLyXFootnoteCode
12742 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12744 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12745 and decrease-error to decrease.
12747 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12750 it more readable (should be equivalent)
12752 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12754 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12756 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12758 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12759 of a cursor (row, etc.) after a character has been deleted
12760 (deleteEmptyParagraphMechanism): call the method above on _all_
12761 cursors held by the LyXText when a double space has been
12764 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12766 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12768 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12770 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12771 background. Use greyOut() and the new show() methods to toggle between
12772 the foreground and background. Add code to remove the splash after
12773 its initial showing.
12775 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12776 (create_forms): no longer call Dialogs::showSplash.
12778 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12780 * .cvsignore: add version_info.h
12782 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12784 * version_info.h.in: new file
12786 * Makefile.am: add version_info.h.in
12788 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12789 version_info.h instead of VERSION_INFO
12791 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12793 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12794 The ERT inset now returns string().
12796 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12798 * lyxtext.h, text.C (selectNextWord): renamed as
12799 selectNextWordToSpellcheck.
12801 * text.C (selectNextWordToSpellcheck): Modified to not select
12802 words inside an ERT inset.
12804 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12806 * lyx_cb.C (MenuLayoutSave): change a bit the question
12808 * sp_base.h: include <sys/types.h>
12810 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12812 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12814 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12816 * several files: fix typos in user-visible strings
12818 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12820 * text2.C (pasteSelection): do not set the selection, since it
12821 will be cleared later. Actually, the intent was to fix the way the
12822 selection was set, but I figured rmoving the code was just as good.
12824 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12826 * FontLoader.C (available): Check if font is available without
12829 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12831 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12833 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12835 * lyxrc.[Ch]: added display_graphics variable and associated code.
12837 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12839 * bufferparams.C (hasClassDefaults): new method. Returns true if
12840 the buffer parameters correspond to known class defaults
12842 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12844 * XFormsView.C (show): set minimum size to the main window.
12846 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12848 * text2.C (copySelection):
12850 * lyxfind.C (LyXReplace):
12851 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12852 LyXText::selectionAsString.
12854 * paragraph.C (asString): add "label" argument to the second form
12856 * text2.C (selectionAsString): add "label" argument and pass it to
12857 Paragraph::asString.
12859 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12861 * lyx_main.C (commandLineHelp): remove version information
12863 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12865 * lyx_main.C: add -version commandline option
12867 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * paragraph.h: make the optional constructor arg required instead.
12870 some modifications to other files because of this.
12872 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12874 * lyxserver.C (C_LyXComm_callback): make it static
12876 * lyx_main.C (error_handler): make it static
12878 * lyx_gui.C (LyX_XErrHandler): make it static
12880 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12882 * WorkArea.C: make the extern "C" methods static.
12884 * Makefile.am (lyx_LDADD): simplify
12886 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12888 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12889 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12891 * LyXAction.C (init):
12892 * lyxfunc.C (dispatch): associated code removal.
12894 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12896 * lyxfont.h (isSymbolFont): shut off warning
12898 * text.C (setHeightOfRow):
12899 (getVisibleRow): fix crash with empty paragraphs which have a
12902 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12904 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12907 2001-09-04 José Matos <jamatos@fep.up.pt>
12910 * tabular.C (docbook): rename docBook method to docbook.
12912 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12914 * Makefile.am: add dependencies to main.o.
12916 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12918 * FontLoader.C (available): Return false if !lyxrc.use_gui
12920 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12922 * FontInfo.C (query):
12923 * converter.C (view):
12924 * importer.C (Import):
12925 * exporter.C (Export): Can not -> cannot.
12927 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12929 * BufferView_pimpl.C: allow to create index inset even if
12932 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12934 * buffer.C (getLists): replace boost::tie code with an explicit pair
12935 as boost::tie can break some compilers.
12937 * iterators.h: Added a std:: declaration to the return type of
12940 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12942 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12945 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12947 * iterators.[Ch]: New files. Provide paragraph iterators.
12949 * buffer.C (changeLanguage): Use paragraph iterators.
12950 (isMultiLingual): ditto
12952 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12954 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12956 * FontLoader.C: Support for cmr font.
12958 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12960 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12961 (available): New method.
12963 * FontInfo.C (getFontname): Use scalable fonts even when
12964 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12967 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12969 * converter.C (Formats::view): reverted! Incorrect fix.
12971 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12973 * converter.C (Formats::view): only output the -paper option
12974 if the dvi viewer is xdvi, thereby fixing bug #233429.
12976 2001-08-23 Herbert Voss <voss@perce>
12978 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12980 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12982 * Spacing.h (Spacing): Set space to Default on in the default
12985 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * vc-backend.h (RCS::versionString): add RCS to version
12988 (CVS::versionString): add CVS to version
12990 * vc-backend.C (scanMaster): do not add CVS to version.
12991 (scanMaster): do not add RCS to version
12993 * lyxvc.C (versionString): new method
12995 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12997 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * Spacing.C (set): initialize fval
13001 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13003 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13006 2001-08-16 Juergen Vigna <jug@sad.it>
13008 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13010 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13012 * BufferView_pimpl.C:
13015 * text2.C: setParagraph takes linespacing now
13017 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13019 * LyxAction.C: add internal LFUN_CITATION_INSERT
13021 * LyXView.C: actually apply fix
13023 * bufferlist.C: fix open non-existent file
13025 * lyxfind.C: fix indentation
13027 * lyxfunc.C: remove unneeded assert, fix typo
13029 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13031 * MenuBackend.C: use "Floatname List"
13033 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13035 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13036 when converting LaTeX layout to insetERT.
13037 Generate a non-collapsed float when reading old float
13039 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13041 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13044 2001-08-13 Juergen Vigna <jug@sad.it>
13046 * text.C (fill): return 0 instead of 20 as this seems to be the more
13049 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13051 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13054 2001-08-13 Juergen Vigna <jug@sad.it>
13056 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13058 (SearchBackward): comment out the unlocking of the inset_owner this
13059 should not be needed!
13061 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13063 * Many files: Remove inherit_language, and add latex_language
13065 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13066 collapsible insets.
13068 2001-08-10 Juergen Vigna <jug@sad.it>
13070 * text.C (prepareToPrint): fixed hfill-width in draw!
13072 * BufferView2.C (selectLastWord): save the selection cursor as this
13073 now is cleared in the function LyXText::clearSelection!
13075 2001-08-08 Juergen Vigna <jug@sad.it>
13077 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13078 BACKSPACE type functions.
13080 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13081 is only cutted from the document but not put in the cut-buffer, where
13082 still the old stuff should be.
13084 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13086 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13088 * tabular.C (SetWidthOfCell): fixed special case where the width
13090 (LeftLine): handle '|' in align_special.
13092 (LeftAlreadyDrawed): ditto
13093 (SetWidthOfCell): ditto
13095 2001-08-07 Juergen Vigna <jug@sad.it>
13097 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13099 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13101 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13102 * lyxlex.[hC]: ditto
13104 2001-08-06 Juergen Vigna <jug@sad.it>
13106 * text.C (getVisibleRow): fix up row clearing a bit.
13108 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13110 * minibuffer.C: make sure the X server sees the changes in the input.
13112 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13114 * paragraph.C (getFont): split into...
13115 (getLabelFont): this
13116 (getLayoutFont): and this
13117 * paragraph_pimpl.C (realizeFont): calling this
13119 * text2.C (getFont): split into...
13120 (getLayoutFont): this
13121 (getLabelFont): and this
13122 (realizeFont): all three calling this
13124 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13127 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13129 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13131 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13133 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13134 layouts from the Quote inset insertion.
13136 2001-08-03 Juergen Vigna <jug@sad.it>
13138 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13140 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13141 only if status not is already CHANGED_IN_DRAW (second level).
13143 * text.C (draw): don't set the need_break_row when inside an
13146 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * buffer.C (parseSingleLyXformat2Token): handle more latex
13151 * bufferview_funcs.[hC]: change function names to
13152 begin with small char, adjust other files.
13154 2001-08-02 André Pönitz <poenitz@gmx.net>
13157 BufferView_pimpl.C: remove broken special code for math-greek
13159 2001-08-02 Juergen Vigna <jug@sad.it>
13161 * BufferView_pimpl.C (update): redone this function so that we
13162 update the text again if there was a CHANGE_IN_DRAW.
13164 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13165 (drawFromTo): added a new internal bool which is used by draw() and
13167 (general): some cursor drawing problems fixed.
13169 2001-08-01 Juergen Vigna <jug@sad.it>
13171 * lyxfind.C (LyXFind): fixed
13172 (SearchForward): ditto
13173 (SearchBackward): ditto
13175 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13176 spurius drawing of the cursor in the main area.
13178 * text2.C (status): small fix which could lead to a segfault!
13179 (clearSelection): remove unneeded BufferView param.
13181 2001-08-01 André Pönitz <poenitz@gmx.net>
13183 * lyxfunc.C: small change due to changed mathed interface
13185 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13187 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13189 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13191 * lyxfunc.c: fail gracefully if file doesn't exist
13196 * BufferView_pimpl.C: IsDirWriteable() proto changed
13198 * LyXView.C: fix updateWindowTitle() to store the last title
13200 2001-07-31 Juergen Vigna <jug@sad.it>
13202 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13203 the font (wrong since using of Paragraph::highestFontInRange).
13205 * paragraph.C (highestFontInRange): added a default_size parameter.
13207 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13208 (setHeightOfRow): reformat
13210 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * converter.[hC] + affected files: move to (inital-char)lowercase
13215 * ParagraphParameters.C (ParagraphParameters): remove commented code
13217 * PainterBase.[Ch]: remove commented code
13219 * LaTeXFeatures.h: add "bool floats" for float.sty
13221 * LaTeXFeatures.C (LaTeXFeatures): init floats
13222 (require): handle float
13223 (getPackages): do it with floats
13225 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13227 * BufferView_pimpl.C (Dispatch): improve handling of
13228 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13230 * commandtags.h: #include lyxfont.h here temporarily to avoid
13233 * bufferlist.h: include LString.h here.
13235 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13237 * text2.C (getStringToIndex): new method.
13239 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13241 * *: Reduced header file dependencies all over.
13243 2001-07-30 Baruch Even <baruch@lyx.org>
13245 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13247 2001-07-29 Baruch Even <baruch@lyx.org>
13249 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13251 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13253 * ParameterStruct.h (endif): add a default constructor to make
13254 sure that all variables is initialized.
13256 * ParagraphParameters.C (ParagraphParameters): adjust
13258 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13260 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13261 index; also, check that there is something to index, and that it
13262 does not span over several paragraphs.
13263 (doubleClick): use WHOLE_WORD_STRICT for double click.
13265 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13267 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13270 2001-07-26 Baruch Even <baruch@lyx.org>
13272 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13273 an InsetFig figure, backwards compatible reading of old figure code.
13275 2001-07-27 Juergen Vigna <jug@sad.it>
13277 * text2.C: font.realize function adaption.
13279 * text.C (draw): add a warnings lyxerr text if needed.
13281 * layout.C: font.realize function adaption.
13283 * language.C: add inherit_language and implement it's handlings
13285 * bufferview_funcs.C (StyleReset): remove language parameter from
13286 font creation (should be language_inherit now).
13288 * bufferparams.C (writeFile): handle ignore_language.
13290 * paragraph.C (getFontSettings): the language has to be resolved
13291 otherwise we have problems in LyXFont!
13293 * lyxfont.C (lyxWriteChanges): added document_language parameter
13294 (update): removed unneeded language parameter
13296 * paragraph.C (validate): fixed wrong output of color-package when
13297 using interface colors for certain fonts in certain environments,
13298 which should not seen as that on the final output.
13300 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13302 * BufferView_pimpl.C:
13307 * LyXAction.C: add thesaurus support
13310 * lyxfind.C: add "once" parameter, for thesaurus, to not
13311 move to the next match
13313 2001-07-26 Juergen Vigna <jug@sad.it>
13315 * lyxfont.C (realize): honor ignore_language too!
13318 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13320 * text.C (draw): one place more for ignore_language to not draw
13323 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13325 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13327 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13329 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13330 the minipage conversion problem.
13332 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13334 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13337 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13339 * BufferView.h: don't forward declare WorkArea
13341 * BufferView.C: don't include WorkArea.h
13343 2001-07-25 André Pönitz <poenitz@gmx.net>
13347 * lyxfunc.C: new LFUN 'math-space'
13349 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13351 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * text2.C (toggleInset): call open/close
13355 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13357 * lyxfunc.C (dispatch): add debug for the disabled case
13359 * font.C (buttonText): make similar to rectText
13361 * buffer.C (readInset): comment out parsing of insetlist and
13364 * PainterBase.C (rectText): small correction
13366 * BufferView_pimpl.C: comment out insettheorem and insetlist
13367 * LyXAction.C: ditto
13368 * commandtags.h: ditto
13370 2001-07-24 Juergen Vigna <jug@sad.it>
13372 * text.C (draw): honor the ignore_language.
13374 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13376 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13378 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13381 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13383 * lyxtext.h: remove unused (and unimplemented) methods
13385 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13387 * text.C (getVisibleRow): honor background color
13390 * Painter.h: remove default color argument for fillRectangle
13392 * text.C (backgroundColor): new method
13394 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13396 * text.C (getVisibleRow): adjust
13398 * font.[Ch] (rectText): new method, metrics
13399 (buttonText): new method, metrics
13401 * PainterBase.[hC]: make rectText and buttonText always draw and take
13404 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13406 * ToolbarDefaults.C (read):
13407 * MenuBackend.C (read): allow escaping in all strings
13409 * BufferView_pimpl.C (insertAndEditInset): new method.
13410 (Dispatch): use insertAndEditInset whenever appropriate.
13412 * BufferView_pimpl.C (insertNote): removed
13414 * BufferView_pimpl.C (smartQuote): new method, moved from
13415 BufferView; if an insetquote cannot be inserted, insert a '"'
13418 * BufferView2.C: remove insertCorrectQuote();
13420 * lyxfunc.C (getStatus): Add support for all remaingin
13421 inset-insert lfuns.
13423 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13425 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13426 command (necessary to pass " as parameter of self-insert.
13428 * text.C (selectWordWhenUnderCursor):
13429 (selectWord): add word_location parameter
13430 (selectWordWhenUnderCursor): same + remove special code for word
13432 (selectNextWord): use kind() to guess type of insetspecialchar,
13435 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13436 (insertErtContents): create ert insets as collapsed.
13437 (readInset): better compatibility code for Info inset.
13439 2001-07-20 Juergen Vigna <jug@sad.it>
13441 * lyxfunc.C (dispatch): use always LyXFind now!
13443 * text2.C (init): add a reinit flag so that the LyXText can be
13444 reinited instead of deleted and reallocated (used in InsetText).
13446 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13452 2001-07-18 Juergen Vigna <jug@sad.it>
13454 * text.C (selectNextWord): handle insets inside inset by calling
13455 always the bv->text functions so that we can go up the_locking_inset!
13457 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13458 in strange locations when inside an inset!
13460 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13461 handling to include insets.
13463 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13465 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13467 * LyXAction.C (init):
13469 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13470 LIGATURE_BREAK, since the name is so stupid.
13472 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13474 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13477 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13479 * sp_form.[Ch]: remove.
13481 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13483 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13486 * src/buffer.C (readInset): ditto.
13488 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13490 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13491 menuSeparator(), endOfSentenceDot(), ldots() and
13492 hyphenationPoint(), which are therefore removed.
13493 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13495 * LyXAction.C (init):
13496 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13498 * paragraph.C (getWord): removed.
13500 * BufferView_pimpl.C (Dispatch): use last word or selection for
13501 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13503 * lyx_main.C (queryUserLyXDir): do not ask before creating
13504 user_dir, except if it has been named explicitely.
13506 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13508 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13509 a document of zero size.
13511 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13513 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13514 approriately in the c-tor and in require().
13515 (getPackages): output the appropriate LaTeX for natbib support.
13517 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13518 variables "use_natbib" and "use_numerical_citations" when reading the
13520 (readInset): read the various natbib cite commands.
13521 (validate): white-space change.
13523 * bufferparams.[Ch]: new variables "bool use_natbib" and
13524 "bool use_numerical_citations".
13525 (writeFile): output them in the LyX file.
13527 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13529 * lyxfunc.C (getStatus): add support for all the inset insertion
13532 * text2.C (insertInset):
13533 * paragraph.C (insetAllowed):
13534 * BufferView_pimpl.C (insertInset): update to take in account the
13535 renaming of insertInsetAllowed
13537 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13539 * text2.C (getInset): new method. returns inset at cursor position.
13541 * BufferView_pimpl.C (Dispatch): changes because of this.
13543 * LyXAction.C (init): rename open-stuff to inset-toggle.
13545 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13547 * text2.C (toggleInset): renamed from openStuff; use
13550 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13552 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13554 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13556 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13558 * buffer.C (readLyXformat2): Add filename to the error dialog
13560 2001-07-18 Juergen Vigna <jug@sad.it>
13562 * tabular.C (GetCellNumber): put an assert here instead of the check!
13564 2001-07-17 Juergen Vigna <jug@sad.it>
13566 * BufferView_pimpl.C (toggleSelection): adapted too.
13568 * text.C (selectNextWord): adapted for use with insets.
13569 (selectSelectedWord): ditto
13571 2001-07-17 Juergen Vigna <jug@sad.it>
13573 * sp_spell.C (PSpell): fix initialitation order.
13575 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * paragraph.C: spacing
13579 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13581 * sp_spell.C: repair language selection for pspell
13583 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13585 * lyxfunc.h: change more methods to begin with lower char.
13587 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13589 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13590 for unknown layouts.
13592 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13594 * buffer.C (readLyXformat2): Generate an error dialog if there are
13597 2001-07-16 Juergen Vigna <jug@sad.it>
13599 * sp_spell.C: always compile ISpell part.
13601 * lyxrc.C: added use_pspell entry and it's handling.
13603 2001-07-13 Juergen Vigna <jug@sad.it>
13605 * sp_spell.C: removed double includes.
13607 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13609 Consistent use of Lsstream.h:
13610 * Lsstream.h: added using std::stringstream for consistencies sake.
13612 * buffer.C: removed using std::stringstream
13614 * lyxfont.C (stateText):
13615 * paragraph.C (asString):
13616 * text.C (selectNextWord, selectSelectedWord):
13617 * text2.C (setCounter):
13618 * vspace.C (asString, asLatexString):
13619 std::ostringstream -> ostringstream.
13621 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13623 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13624 * commandtags.h: add LFUN_HELP_ABOUTLYX
13625 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13627 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13629 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13631 * lyx_gui_misc.C: remove spellchecker
13632 * lyxfunc.C: showSpellchecker
13634 * sp_ispell.h: added
13635 * sp_pspell.h: added
13636 * sp_spell.C: added
13637 * sp_form.[Ch]: removed
13638 * spellchecker.[Ch]: removed
13640 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13642 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13644 (simpleTeXSpecialChars): Simply print the input character without
13645 any special translation if pass_thru is set.
13647 * layout.h: Added bool pass_thru to layout class for being able to
13648 implement pass through of a paragraph for Literate Programming.
13650 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13651 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13652 * layout.C (Read): add "passthru" to list of layout tags and add
13653 code to set the pass_thru boolean when it is read.
13655 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * trans_decl.h: remove allowed from KmodInfo
13659 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13660 remove allowed code
13663 * paragraph_pimpl.C (erase): use boost::prior
13665 * Painter.C (text): use data() instead of c_str() when length is
13667 * WorkArea.C (putClipboard): ditto
13668 * font.h (width): ditto
13670 * BufferView2.C: use it-> instead of (*it). for iterators
13672 * paragraph_pimpl.C: ditto
13673 * paragraph.C: ditto
13674 * minibuffer.C: ditto
13675 * language.C: ditto
13677 * encoding.C: ditto
13678 * counters.C: ditto
13679 * converter.C: ditto
13681 * Variables.C: ditto
13682 * TextCache.C: ditto
13683 * MenuBackend.C: ditto
13684 * LyXAction.C: ditto
13686 * FloatList.C: ditto
13687 * DepTable.C: ditto
13688 * ColorHandler.C (LyXColorHandler): ditto
13690 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13692 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13694 * text2.C (openStuff): reintroduce this method (which had been
13695 nuked in NEW_INSETS frenzy).
13697 * lyxfunc.C (Dispatch): when an action has not been handled, use
13698 its name in the error message, not its number.
13700 * paragraph.C (inInset): change method name to begin with lowercase.
13703 * text2.C: updates because of this.
13705 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13707 * ToolbarDefaults.C (add): add spaces in error message
13709 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13711 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13712 (readLyXformat2): rename return_par to first_par, use lyxlex's
13713 pushToken and remove the manual push handling.
13714 (parseSingleLyXformat2Token): add another ert comp. variable:
13715 in_tabular, rename return_par to first_par. handle newlines better
13717 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13719 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13721 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13723 * text2.C (getParFromID): removed
13725 * buffer.C (getParFromID): new method moved form lyxtext.
13726 * BufferView2.C (insertErrors): adjust
13727 (setCursorFromRow): adjust
13728 * BufferView_pimpl.C (restorePosition): adjust
13729 * lyxfunc.C (Dispatch): adjust
13730 * undo_funcs.C (textUndo): adjust
13732 (textHandleUndo): adjust
13733 (textHandleUndo): adjust
13735 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13737 * buffer.C: up' the LYX_FORMAT
13739 * lyxfont.h: turn NO_LATEX on as default
13741 * buffer.C (insertErtContents): new methods of tex style compability.
13742 (parseSingleLyXformat2Token): use it several places.
13743 * tabular.C (OldFormatRead): and here
13745 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13747 * text2.C: remove some commented code.
13750 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13751 * trans.C: changes because of the above.
13753 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13755 * text2.C (setCounter): Fix counters bug with bibliography layout.
13757 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13759 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13760 own member functions
13761 (simpleTeXSpecialChars): ditto
13763 2001-07-06 Juergen Vigna <jug@sad.it>
13765 * a lot of files: changed the access to LyXText::status and the
13766 call of undo-functions.
13768 * undo.[Ch]: added a inset_id to the undo informations.
13770 * undo_funcs.[Ch]: added and moved here all undo functions.
13772 * lyxtext.h: give the status enum a weight, made status_ a private
13773 variable and made accessor functions for it, removed the whole bunch
13774 of undo-functions as they are now in their own file, make some
13775 functions publically available. Added function ownerParagraph with
13778 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13779 made InInset() a const function, added getParFromID() function.
13781 * buffer.[Ch]: added const version for inset_iterator functions,
13782 added getInsetFromID() function.
13784 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13785 changed undo functions for new version.
13787 2001-07-05 Juergen Vigna <jug@sad.it>
13789 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13790 unknow mechanism does not call the proper constructor but only this
13791 one also if I request the other!?
13793 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13795 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13797 * text2.C (LyXText): use initialization lists.
13799 * lyxtext.h (Selection): initialize set_ and mark_
13800 (init): remove method
13802 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13804 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13806 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13808 * screen.[Ch]: change method names to begin with lowercase
13810 * BufferView_pimpl.C (updateScrollbar): simplify further and
13811 hopefully make it a bit faster.
13813 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13815 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13816 calling directly xforms functions.
13818 * Painter.C (Painter):
13819 * lyx_cb.C (MenuWrite):
13820 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13823 * lyx_gui.C: remove bogus guiruntime extern declaration.
13825 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13827 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13829 (redoDrawingOfParagraph): ditto
13830 (redoParagraphs): ditto
13831 (cutSelection): don't create a object for CutAndPaste use the
13832 static method directly
13833 (pasteSelection): ditto
13835 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13838 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13840 * modifications to some other files because of this.
13842 * Makefile.am (lyx_SOURCES): add XFormsView
13844 * XFormsView.[Ch]: new files
13846 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13847 the main window. Move the gui dependent stuff to XFormsView
13849 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13851 * tabular.C (GetCellInset): update cur_cell also in the row/col
13852 version of this function.
13854 * lyxfunc.C: no need to include figure_form.h here.
13860 * lyxvc.C: no need to include forms.h here.
13862 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13864 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13866 * lyxfunc.C (Dispatch):
13868 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13869 constructor argument.
13871 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13873 * paragraph.C (Paragraph): dont't clear, and just set layout.
13874 (makeSameLayout): use params's copy contructor.
13876 * ParagraphParameters.[Ch] (makeSame): delete method
13878 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13880 * Variables.[Ch]: fix indentation, rename set to isSet
13882 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13884 * lyxfunc.C (Dispatch): fix typo
13886 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13888 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13891 * bufferlist.C: include assert.h for emergencyWrite().
13893 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13895 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13896 give up at last (bug #425202) !
13898 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13904 * spellchecker.C: strip spellchecker options and bring up
13905 preferences tab instead
13907 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13909 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13910 the istringstream constructor
13912 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13914 * paragraph.C (getLayout): fix return value
13916 * paragraph.h: do not declare getLayout as inline.
13918 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13920 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13922 * lyxcursor.h (operator<): new func
13923 (operator>): new func
13924 (operator>=): new func
13925 (operator<=): new func
13927 * text.C (changeCase): use selection.start and selection.end
13928 (changeRegionCase): require from to be <= to. Require par to be a
13931 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13933 2001-06-27 Juergen Vigna <jug@sad.it>
13935 * text.C (cursorLeftOneWord): changed to return the cursor and added
13936 overlay with BufferView * parameter which calls this one.
13938 (selectWord): use new getWord function.
13939 (changeCase): renamed from changeWordCase as and extended to work
13940 also on selections.
13942 * lyxtext.h: added enum word_location
13944 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13945 changeCase as this operates now also on selections.
13947 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13949 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13951 * many files: send debug output to Debug::INFO instead of
13954 * converter.C (View):
13956 (Move): send debug output to Debug::FILES instead of console.
13958 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13960 * lyxfunc.C (getStatus): use func_status
13962 * func_status.h: new header, describing the results of
13963 LyXFunc::getStatus;
13965 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13968 2001-06-25 The LyX Project <jug@sad.it>
13970 * buffer.C (sgmlOpenTag):
13972 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13974 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13976 * text2.C: remove some dead code
13978 * tabular.C (GetCellInset): store the last cell checked (gotten)
13980 * tabular.h: add the helper for the speedup
13982 * lyxtext.h: remove some dead code
13984 2001-06-26 The LyX Project <Asger>
13986 * paragraph.C: Change export to LaTeX of alignment to
13987 \begin{center} and family for better roundtrip work with reLyX.
13989 * Tune the math drawing a bit.
13991 2001-06-25 The LyX Project <Asger>
13993 * LColor.C (LColor): New color for math background. New color
13996 2001-06-25 The LyX Project <jug@sad.it>
13998 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14000 * lyxfunc.C (Open):
14001 * bufferlist.C (newFile): do not restrict to files ending with
14004 * BufferView_pimpl.C (MenuInsertLyXFile):
14006 2001-06-24 The LyX Project <jug@sad.it>
14008 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14011 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14013 * lyxtext.h: rename most methods to begin with a small char.
14014 Lots of changes because of this.
14016 * paragraph.C (Paragraph): do not call fitToSize
14017 (erase): call Pimpl::erase
14018 (insertChar): call Pimpl::insertChar
14019 (insertInset): call Pipl::insertInset
14020 (breakParagraph): do not call fitToSize
14021 (breakParagraphConservative): do not call fitToSize
14022 (fitToSize): remove method
14024 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14026 2001-06-24 The LyX Project <Asger>
14028 * Fix Qt compilation^2
14030 2001-06-24 The LyX Project <jug@sad.it>
14032 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14033 depthHook(getDepth()-1).
14036 * ParagraphParameters.h:
14037 * ParameterStruct.h: change type of depth to unsigned int ==
14038 depth_type. Many adaptations to other files before of that.
14040 2001-06-24 The LyX Project <Asger>
14042 * Fix Qt compilation.
14044 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14046 * paragraph.h: renamed several methods to begin with small letter.
14047 several changes to many parts of the code because of this.
14049 2001-06-23 The LyX Project <jug@sad.it>
14051 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14052 rewritten to discard all double spaces when KeepEmpty is off
14053 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14054 to only handle newlines but not fiddle with spaces and friends.
14056 * lyxfunc.C (MenuNew): when doing 'new from template', use
14057 template_path as default directory
14059 2001-06-23 The LyX Project <Asger>
14061 * Clean-up of header file includes all over
14062 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14064 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14066 * paragraph.h: renamed from lyxparagraph.h
14068 2001-06-23 Asger <lyx@violet.home.sad.it>
14070 * Buffer.h: Removed Buffer::resize
14071 * BufferList.h: Removed BufferList::resize
14072 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14073 the document lazily when we change the width, or the font settings.
14075 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14077 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14079 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14081 * buffer.h: remove out of date comment
14083 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14086 * screen.C: fix "theoretical" GC leak
14088 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14090 * LaTeX.C (scanAuxFile):
14091 (deplog): remove trailing \r when reading stream (useful under
14094 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14096 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14097 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14098 and BufferView::theLockingInset(Inset*), so should use them and not
14099 access bv_->text->the_locking_inset directly.
14101 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14103 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14106 * tex-defs.h: remove old unused file
14108 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14110 * BufferView_pimpl.C: fix typo, remove minibuffer message
14111 when buffer has loaded
14113 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14115 * lyxfunc.C (Dispatch): use stringstream
14116 (MenuNew): use stringstream
14117 (Open): use stringstream
14119 * importer.C (Import): use stringstream
14121 * bufferview_funcs.C (CurrentState): use stringstream
14123 * LaTeX.C (run): use stringstream
14125 * BufferView_pimpl.C (savePosition): use stringstream
14126 (restorePosition): use stringstream
14127 (MenuInsertLyXFile): use stringstream
14129 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14142 * vspace.C: removed // -*- C++ -*- as first line.
14145 * version.h: added // -*- C++ -*- as first line.
14147 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14151 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14154 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14156 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14159 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * gettext.C: include LString.h even when --disable-nls is on.
14163 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14165 * converter.h (Get): changed argument type from int to
14166 FormatList::size_type to avoid unnecessary conversion.
14168 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14171 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14173 * gettext.h: include LString.h even when --disable-nls is on.
14175 2001-06-07 Juergen Vigna <jug@sad.it>
14177 * text.C (BreakAgain): subst spaces with tabs.
14179 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14180 (resizeInsetsLyXText): set force on resizeLyXText.
14182 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14184 * gettext.h (gettext_init):
14185 (locale_init): use a real definition instead of a macro
14187 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14189 * Bufferview_pimpl.C:
14191 * LColor.C: further lcolor tidies
14193 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14195 * BufferView_pimpl.C (updateScrollbar): simplify.
14197 * BufferView2.C: don't include insets/insetinfo.h, change
14198 prototype for insertInset and call the Pimpl version. let
14199 updateInset call Pimpl version.
14201 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14202 gotoInset to BufferView::Pimpl
14204 2001-06-01 Juergen Vigna <jug@sad.it>
14206 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14207 inside a LockingInset (is the update needed at all?).
14209 2001-05-31 Juergen Vigna <jug@sad.it>
14211 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14212 here not the old one otherwise how should we compare it afterwards
14215 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14220 * FontInfo.C: bring C functions into global namespace when
14223 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14225 * LString.h: make sure config.h has been loaded before LString.h.
14227 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14228 (one for each char read by EatLine!).
14230 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14233 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14235 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14236 to the same as the par we break from
14238 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14240 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14242 * MenuBackend.C (expand): also create menu entries for wide
14243 versions of the floats.
14245 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14247 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14249 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14250 frontends/Makefile.am
14256 * tabular.C (getTokenValue): add std::
14258 * tabular-old.C (getTokenValue): add std::
14259 (getTokenValue): ditto
14260 (getTokenValue): ditto
14262 * screen.C (ToggleSelection): adjust
14264 * lyxtext.h: put selection cursors inside a Selection struct.
14266 * lyxfunc.C (moveCursorUpdate): adjust
14268 * lyxfont.C (latexWriteStartChanges): add std::
14270 * lyxfind.C: adjust
14272 * font.h: delete with(char const *, LyXFont const &)
14274 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14276 * FontInfo.C (getFontname): add std::
14278 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14279 (workAreaButtonPress): adjust
14280 (tripleClick): adjust
14282 (moveCursorUpdate): adjust
14285 * BufferView2.C (gotoInset): adjust
14287 2001-05-30 Juergen Vigna <jug@sad.it>
14289 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14290 to check pspell I add this as default as I now have new pspell
14291 libraries and they seem to use this.
14293 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14295 * text2.C (CutSelection): make the cursor valid before the call to
14298 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14300 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14301 relied on 0 terminated strings and other horrors. Bug found due to
14302 the new assert in lyxstring!
14304 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14307 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14309 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14312 * lyxfunc.C (processKeySym): change method of getting to the
14315 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14316 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14317 * BufferView_pimpl.[Ch]: here as private methods.
14319 2001-05-28 Juergen Vigna <jug@sad.it>
14321 * text.C (SetHeightOfRow): added the update() call again as it is
14322 needed to initialize inset dimensions!
14324 2001-05-16 Juergen Vigna <jug@sad.it>
14326 * text2.C (SetCharFont): Add new function with BufferView * and
14327 bool toggleall parameters for setting insets internal fonts.
14328 (SetFont): Freeze the undo as we may change fonts in Insets and
14329 all this change should be inside only one Undo!
14331 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14332 setting font's in insets as for them we have the SetFont function!
14334 2001-05-15 Juergen Vigna <jug@sad.it>
14336 * text2.C (ClearSelection): to be sure we REALLY don't have any
14339 * tabular.C (TeXCellPreamble): fixed the left border problem for
14342 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14344 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14347 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14349 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14350 LFUN_BREAKPARAGRAPH.
14352 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14353 help test to "internal only", similar for LFUN_INSERT_URL
14355 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14356 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14357 auto_region_delete and deadkeys.
14359 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14362 * LColor.C: remove some dead entries, tidy a little
14364 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14366 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14368 (Dispatch): implement LFUN_ESCAPE
14370 * commandtags.h: add LFUN_ESCAPE
14372 * LyXAction.C (init): add entry for LFUN_ESCAPE
14374 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14375 Remove commented code.
14376 (insertNote): moved here
14377 (open_new_inset): moved here
14379 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14382 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14384 * kbmap.C (findbinding): clean it up and make it work correctly.
14386 * lyx_main.C (init): do not pass argc and argv as parameters
14388 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14390 * buffer.C: fix path for OS/2 & Win32
14394 * lyx_main.C: Added os:: class.
14396 * os2_defines.h: update
14398 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14400 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14401 better by trying again with reduced state.
14403 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14405 * lyxrc.C (read): print error about invalid key sequence only when
14406 debugging (because not all latinX keysyms are known to some X
14409 * kbsequence.C (getiso): add a few std:: qualifiers
14410 (getiso): comment out extra return statement.
14412 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14414 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14416 (Dispatch): enhance the accent inset a bit. (not perfect)
14418 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14420 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14422 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14424 * bufferlist.C (emergencyWrite): fix assert() call
14426 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14428 * text.C (InsertChar): Added trivial patch to only send the "you
14429 can not do multiple spaces this way" message once during a
14432 2001-05-08 Baruch Even <baruch@lyx.org>
14434 * Makefile.am: Changed order of libraries to get LyX to link properly
14435 with the gnome frontend.
14437 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14439 * LaTeXFeatures.h: add a std:: qualifier
14441 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14443 * paragraph.C (String): use stringstream
14445 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14447 * paragraph.C (writeFile): remove footflag arg
14449 * buffer.C (makeLaTeXFile): use stringstream
14450 (latexParagraphs): remove footnot gurba
14452 * LaTeXFeatures.C (getPackages): use stringstream
14453 (getMacros): likewise
14454 (getTClassPreamble): likewise
14455 (getFloatDefinitions): new method
14457 * paragraph.C (writeFile): reindent
14460 * WorkArea.h: revert the xpos + etc changes.
14462 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14464 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14466 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14467 (pasteSelection): likewise
14468 * text2.C (CreateUndo): likewise
14470 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14472 * minibuffer.C (peek_event): temporarily reduce the functionality
14473 of the minibuffer (to allow args on lfuns)
14475 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14476 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14478 * buffer.C (readInset): add compability reading of old float
14479 lists, add reading of new style float list.
14480 (readInset): avoid reevaluation of inscmd.getCmdName()
14481 (getLists): reindent
14483 * MenuBackend.C (MenuItem): implement parsing of
14484 md_floatlistinsert and md_floatinsert.
14485 (expand::LastFiles): move initalizaton of iterators out of loop,
14486 avoid reevaluation.
14487 (expand::Documents): introduce typdedef vector<string> Strings,
14489 (expand::ExportFormats): introduce typedef vector<Format const *>
14490 Formats, and use it.
14491 (expand): implement FloatListInsert and FloatInsert.
14493 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14494 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14495 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14497 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14499 (Dispatch::LFUN_FLOAT_LIST): implement
14501 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14503 * LaTeX.C (run): Fix problem with --export code.
14505 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14507 * BufferView.[Ch] (workarea): removed.
14508 (getClipboard) new method; wrapper for workarea()->getClipboard()
14510 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14513 * WorkArea.h (width, height, xpos, ypos): These methods all
14514 returned the dimensions of the work_area sub-area of WorkArea,
14515 resulting in a position error if the WorkArea were resized. Now
14516 return the dimensions of the entire WorkArea.
14518 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14520 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14522 * LaTeX.C (deplog): correct the syntax of regex reg1
14524 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14526 * undo.C: remove !NEW_INSETS cruft
14528 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14530 * text2.C: remove !NEW_INSETS cruft
14532 * text.C: remove !NEW_INSETS cruft
14534 * tabular.C: remove !NEW_INSETS cruft
14536 * spellchecker.C: remove !NEW_INSETS cruft
14538 * lyxtext.h: remove !NEW_INSETS cruft
14540 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14542 * lyxfunc.C: remove !NEW_INSETS cruft
14544 * lyxfind.C: remove !NEW_INSETS cruft
14546 * lyx_cb.C: remove !NEW_INSETS cruft
14548 * figureForm.C: remove !NEW_INSETS cruft
14550 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14552 * buffer.[Ch]: remove !NEW_INSETS cruft
14554 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14556 * CutAndPaste.C: remove !NEW_INSETS cruft
14558 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14560 * BufferView2.C: remove !NEW_INSETS cruft
14562 * BufferView.h: remove !NEW_INSETS cruft
14564 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14566 * Lsstream.h: include LString.h before the sstream headers to
14567 fix problem with gcc 2.95.3 and lyxstring
14569 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14571 * lyx_main.C: add using directives when needed for C functions
14572 declared in std:: namespace.
14574 2001-04-27 Juergen Vigna <jug@sad.it>
14576 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14577 (SetHeightOfRow): comment out the update call should not be needed!
14579 2001-04-13 Juergen Vigna <jug@sad.it>
14581 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14582 (LyXTabular): tried to minimize operator= operations (and realized
14583 hopfully Lars wish).
14585 2001-04-27 Juergen Vigna <jug@sad.it>
14587 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14589 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14591 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14593 * buffer.C (readInset): hack to make listof algorithm work
14595 * BufferView_pimpl.C: hack to make listof algorithm work
14597 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14599 * LyXAction.C: removed all !NEW_INSETS cruft
14600 (init): moved lfun_item in method
14602 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14604 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14606 * BufferView2.C (theLockingInset): white space.
14608 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14610 * minibuffer.C: include <iostream>
14612 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14614 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14616 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14618 * text.[Ch] (TransposeChars): new method
14620 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14622 * call message directly through LyXView instead of through LyXFunc
14623 * BufferView2.C: adjust
14624 * BufferView_pimpl.C: adjust
14625 * FontLoader.C: adjust
14627 * bufferview_funcs.C: adjust
14628 * converter.C: adjust
14629 * figureForm.C: adjust
14630 * importer.C: adjust
14632 * lyx_gui_misc.C: adjust
14633 * lyxfunc.C: adjust
14636 + more files in subdirs
14638 * lyxparagraph.h (size): move up int file
14641 * adjust all uses of Assert to lyx::Assert.
14643 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14644 lyxfunctional in namespace lyx
14645 * layout.C (hasLayout): ditto
14648 (delete_layout): ditto
14649 (NumberOfClass): ditto
14650 * converter.C (GetFormat): ditto
14655 * bufferlist.C (getFileNames): ditto
14656 (emergencyWriteAll): ditto
14659 * MenuBackend.C (hasSubmenu): ditto
14662 * BufferView_pimpl.C (getInsetByCode): ditto
14664 2001-04-18 Juergen Vigna <jug@sad.it>
14666 * vspace.C (asLatexString): fixed the 100% problem.
14668 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14670 * lyxfunc.C (Dispatch):
14672 * minibuffer.h: add a few std:: qualifiers
14674 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14676 * minibuffer.[Ch]: reimplement so that commands is initiated and
14677 run from lyxfunc, simplified som handling, and made the completion
14678 and history code for complete. wip.
14680 * lyxfunc.C (processKeySym): call message
14681 (miniDispatch): new temporary method
14682 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14683 (LFUN_MESSAGE): implement
14684 (LFUN_MESSAGE_PUSH): implement
14685 (LFUN_MESSAGE_POP): implement
14686 (initMiniBuffer): the initial/defualt minibuffer message.
14688 * lyxfont.[Ch]: inline some more getters
14690 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14692 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14694 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14695 (AutoSave): use LFUN_MESSAGE
14696 (Reconfigure): ditto
14698 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14700 * figureForm.C: use LFUN_MESSAGE
14702 * converter.C (runLaTeX): use LFUN_MESSAGE
14704 * bufferview_funcs.C: use LFUN_MESSAGE
14706 (changeDepth): ditto
14708 * bufferparams.h: use boost::
14710 * bufferlist.h: inherit privately from noncopyable
14712 * bufferlist.C (loadLyXFile): remove some commented code.
14714 * buffer.C (runChktex): use LFUN_MESSAGE
14716 * ShareContainer.h: inherit privately from noncopyable
14718 * ParagraphParameters.[hC] (depth): inline it.
14720 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14722 (message): new method
14723 (messagePush): ditto
14724 (messagePop): ditto
14725 (show): init minibuffer
14726 (showState): direct call
14728 * LaTeX.[Ch]: inherit privately from noncopyable
14729 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14730 instead of WriteStatus.
14732 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14734 * BufferView_pimpl.C (buffer): don't init minibuffer
14735 (workAreaButtonPress): use LFUN_MESSAGE
14736 (workAreaButtonRelease): ditto
14737 (savePosition): ditto
14738 (restorePosition): ditto
14739 (MenuInsertLyXFile): ditto
14740 (workAreaExpose): don't init minibuffer
14741 (update): remove commented code, simplify
14743 * BufferView2.C (openStuff): use LFUN_MESSAGE
14744 (toggleFloat): ditto
14747 (copyEnvironment): ditto
14748 (pasteEnvironment): ditto
14753 (updateInset): remove some commented code
14755 * lastfiles.h: inherit privately from noncopyable
14758 * lyx_main.h: ditto
14760 * lyxlex_pimpl.h: ditto
14762 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14763 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14764 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14766 * LyXAction.h: inherit privately from noncopyable, add methods
14767 func_begin, func_end, returning iterators to the func map.
14769 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14770 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14771 (func_begin): new method
14772 (func_end): new method
14774 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14776 (copySelection): ditto
14777 (pasteSelection): ditto
14779 * BufferView.C: whitespace change
14780 * BufferView.h: inherit privately from noncopyable
14782 2001-04-16 Allan Rae <rae@lyx.org>
14784 * tabular-old.C (l_getline):
14785 * spellchecker.C (sc_check_word):
14786 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14787 an unrecognised preprocessor directive. So ensure they're wrapped.
14789 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14791 * src/exporter.C (Export): Give an error message when path to file
14794 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14796 * LaTeX.C (deplog): Always check that foundfile exists.
14798 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14801 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14803 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14805 * tabular.[Ch] (getLabelList): implement new method
14807 * minibuffer.h: comment ouf setTiimer
14809 * minibuffer.C (ExecutingCB): constify res
14810 (peek_event): constify s
14811 (Set): constify ntext
14812 (Init): constify nicename
14814 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14816 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14817 (savePosition): use two params to Minibuffer::Set
14818 (restorePosition): ditto
14820 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * lyx_main.C: include language.h
14824 * Makefile.am (lyx_main.o): add language.h
14826 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14832 * CutAndPaste.C: include gettext.h
14834 * lyxfont.h: remove old hack with ON and OFF.
14837 * lyxfont.h: do not include language.h...
14842 * bufferview_funcs.C:
14848 * paragraph.C: ... but do it here instead
14850 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14852 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14854 * tabular.C: small reformat
14856 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14859 (BreakParagraph): ditto
14860 (SetOnlyLayout): ditto
14863 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14866 * lastfiles.C: removed most using decl, add std:: where needed
14868 * buffer.C: ws changes
14870 * MenuBackend.C (class compare_format): put into anon namespace
14871 (expand): constify label, names, action, action2
14874 * text.C (SingleWidth): constify font
14875 (IsBoundary): constify rtl2
14876 (GetVisibleRow): constify ww
14878 * LaTeX.C (deplog): constify logfile
14880 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14882 (workAreaExpose): constify widthChange, heightChange
14884 * lyxrow.C (par): moved
14887 * lyxrow.h: as inlines here
14889 * lyxfont.h (shape): moved from lyxfont.C
14890 (emph): moved from lyxfont.C
14892 * lyxfont.C (LyXFont): use initialization list for all
14894 (shape): move to lyxfont.h as inline
14895 (emph): move to lyxfont.h as inline
14898 2001-04-04 Juergen Vigna <jug@sad.it>
14900 * vspace.C: had to include stdio.h for use of sscanf
14902 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14905 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14906 independent of xforms.
14908 2001-04-02 Juergen Vigna <jug@sad.it>
14910 * spellchecker.C: fixed namespace placing!
14912 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14914 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14915 the LyXParagraph * is 0.
14917 2001-03-29 Juergen Vigna <jug@sad.it>
14919 * vspace.C: added support for %, c%, p%, l%.
14920 (stringFromUnit): added helper function.
14921 (asLatexString): changed to give right results for the %-values.
14923 * buffer.C: convert the widthp in a width%.
14925 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14927 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14930 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14931 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14933 * lyx_cb.[Ch]: see above.
14935 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14939 * lyx.[Ch]: replaced by figure_form.[Ch].
14943 * lyxfunc.C: changed headers associated with above changes.
14945 2001-03-27 Juergen Vigna <jug@sad.it>
14947 * BufferView_pimpl.C: set the temporary cursor right!
14949 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14951 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14953 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14955 * LString.h: removed "using std::getline"!
14957 * BufferView_pimpl.C (Dispatch): changes due to changes in
14958 InsetInclude::Params.
14960 * buffer.C (tag_name): removed redundant break statements as they were
14961 producing lots of warnings with my compiler.
14963 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14965 * LString.h: add "using std::getline" when using the real <string>.
14967 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14969 * buffer.C: removed bitset usage.
14970 PAR_TAG moved to an anonymous name space.
14971 (tag_name): new funtion, also in the anonymous namespace.
14972 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14973 (makeDocBookFile): clean code. Completed transition from string arrays
14975 (SimpleDocBookOnePar): code clean.
14977 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14979 * tabular.C: add some comments.
14981 2001-03-22 Juergen Vigna <jug@sad.it>
14983 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14984 compatibility read a bit and fixed bug with minipage in different
14987 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14989 * buffer.C (pop_tag): removed.
14990 (push_tag): removed.
14991 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14992 array replaced with vector. Added support for CDATA sections.
14993 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14995 (makeDocBookFile): XML conformant declaration of CDATA section,
14996 fixed bug related to <emphasis> in the first paragraph char.
14997 (sgmlOpenTag): exclude empty tags.
14998 (sgmlCloseTag): ditto.
15000 * buffer.h (pop_tag): removed.
15001 (push_tag): removed.
15003 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15005 * language.h (Languages): added size_type and size().
15007 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15009 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15010 response on compability reading of minipages. One probliem is that
15011 the old usage of minipages was «flertydig»
15013 * several files here and in subdirs: don't use static at file
15014 scope use anon namespaces instead.
15016 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15018 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15019 LaTeX output. This is necessary for Literate document
15022 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15024 * buffer.C: insert hfill when needed.
15026 * tabular.C (l_getline): use string::erase, small whitespace change.
15028 * BufferView_pimpl.C: try the anon namespace.
15029 * WorkArea.C: ditto
15031 2001-03-16 Juergen Vigna <jug@sad.it>
15033 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15034 otherwise it won't open options-dialogs.
15036 * buffer.C: honor pextraWidth(p) on converting minipages.
15038 * tabular.C (l_getline): changed the functions to strip trailing \r.
15040 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15042 * BufferView_pimpl.C:
15043 * minibuffer..C: added "using SigC::slot" declaration.
15045 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15047 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15053 * paragraph.C: ditto
15055 * lyxtext.h: NO_PEXTRA
15057 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15059 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15060 * ParameterStruct.h: ditto
15061 * ParagraphParameters.h: ditto
15062 * lyxparagraph.h: ditto
15064 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15066 * buffer.C: add compability for minipage alignment.
15067 (latexParagraphs): remove unwanted pextra check.
15069 * several files: remove CXX_WORKING_NAMESPACES
15071 * buffer.C (pop_tag): tie is in namespace boost
15073 * BufferView.h: noncopyable is in namespace boost
15075 * lyx_main.h: ditto
15078 * lastfiles.h: ditto
15079 * bufferlist.h: ditto
15080 * ShareContainer.h: ditto
15082 * LyXAction.h: ditto
15085 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15087 * Merging changes from BRANCH_MVC back into HEAD.
15089 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15091 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15093 * BufferView_pimpl.C: change from intl.C
15097 * Makefile.am: move combox.*
15103 * intl.C: remove dialog (covered by prefs)
15105 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15107 * lyxfunc.C (Dispatch): removed redundant break statement.
15109 2001-03-14 Juergen Vigna <jug@sad.it>
15111 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15113 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15115 * buffer.C: add hack to fix compability reading of minipages.
15117 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15119 * buffer.C (getLists): Cleanup.
15121 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15123 * lyxfont.C (update): don't honor toggleall on font size.
15125 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15129 * Makefile.am: moved to frontends/xforms/
15133 * BufferView_pimpl.C: changes for moved mathpanel
15135 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15137 * gettext.h: fix gettext_init() in --disable-nls
15139 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15141 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15143 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15146 * lyx.h: strip external form
15148 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15150 * BufferView_pimpl.C: add comment, destroySplash()
15152 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15154 * BufferView_pimpl.C:
15158 * lyxfunc.C: use re-worked insetinclude
15160 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15162 * buffer.C: add using std::stringstream.
15164 * lyx_cb.C: readd using std::ios.
15166 * buffer.C: add using std::map.
15168 * BufferView_pimpl.C: add using std::vector.
15170 * ShareContainer.h: add std:: to swap.
15172 * buffer.h: add some typedefs
15173 * buffer.C (getLists): use them
15174 (getLists): renamed from getTocList.
15175 add a counter for the different float types and use it in the
15177 (getLists): use the same counter for the NEW_INSETS and the "non"
15180 * lyx_cb.h: remove unused items, includes, using etc.
15182 * ShareContainer.h: remove some commented code, add more comments
15183 and "documentation".
15185 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15187 * buffer.C (getTocList): make the list also when NEW_INSETS is
15190 * buffer.h: remove TocType
15192 * buffer.C (getTocList): change to return a map<string,
15193 vector<TocItem> >, implement for dynamic number of list.
15195 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15196 * text2.C (PasteSelection): adjust
15197 * CutAndPaste.C (pasteSelection): adjust
15199 * FloatList.C (FloatList): update from the new_insets branch.
15200 * Floating.[Ch]: ditto
15201 * LaTeXFeatures.C: ditto
15203 * lyxlex_pimpl.C: ditto
15205 * paragraph.C (Last): remove when NEW_INSETS is defined.
15207 * other file: changes because of the above.
15209 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15211 * lyxparagraph.h: rename next to next_, previous to previous_,
15212 make them private for NEW_INSETS. Rename Next() to next(),
15213 Previous() to previous().
15215 * other files: changes because of the above.
15217 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15220 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15223 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15225 * main.C (main): pass lyx_localedir to gettext_init().
15227 * gettext.h: remove locale_init and gettext_init macros
15229 * gettext.C (locale_init): new function
15230 (gettext_init): new function
15232 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15235 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15237 * Moved credits to frontends:
15238 * credits.[Ch]: removed
15239 * credits_form.[Ch]: removed
15240 * lyx_gui_misc.C: remove credits stuff
15243 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15245 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15247 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15248 unneeded destructor.
15250 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15251 a standalone pointer again.
15253 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15255 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15261 * ToolbarDefaults.C:
15270 * BufferView_pimpl.C: use new file dialog in GUII
15273 * lyx_cb.C: remove LayoutsCB to Toolbar
15275 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15277 * ShareContainer.h (get): add std:: qualifier
15279 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15281 * ShareContainer.h: define a proper ShareContainer::value_type
15282 type (and use typename to please compaq cxx)
15284 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15286 * lyxparagraph.h: move serveral local vars to
15287 ParameterStruct/ParagraphParameters., use ShareContainer in
15288 FontTable., make vars in FontTable private and add getter and
15291 * paragraph.C: changes because of the above.
15293 * lyxfont.h: remove copy constructor and copy assignment. (the
15294 default ones is ok), move number inside FontBits. move inlines to
15297 * lyxfont.C: add number to initializaton of statics, move several
15298 inlines here. constify several local vars. some whitespace
15299 cleanup. Dont hide outerscope variables.
15301 * Spacing.h: add two new constructors to match the set methods.
15303 * ShareContainer.h: new file, will perhaps be moved to support
15305 * ParameterStruct.h: new file
15307 * ParagraphParameters.h: new file
15309 * ParagraphParameters.C: new file
15311 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15312 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15314 * BufferView_pimpl.C: ParagraphParameter changes.
15315 * buffer.C: Likewise.
15316 * bufferview_funcs.C: Likewise.
15317 * text.C: Likewise.
15318 * text2.C: Likewise.
15320 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15322 * lyxfind.C (LyXReplace): do not redefine default argument in
15324 (IsStringInText): ditto
15325 (SearchForward): ditto
15326 (SearchBackward): ditto
15328 2001-03-06 Juergen Vigna <jug@sad.it>
15330 * lyxfind.C (IsStringInText): put parentes around expressions.
15332 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15334 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15336 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15338 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15340 * stl_string_fwd.h: add comment
15342 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15345 * tabular.C: remove unused DocBook methods
15351 killed DO_USE_DEFAULT_LANGUAGE
15353 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15355 * lyx_gui.C: do not include language.h.
15357 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15358 arguments in function implementation.
15360 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15362 * BufferView_pimpl.C: add <ctime>
15364 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15366 * BufferView_pimpl.C: add using std::find_if
15368 2001-02-27 José Matos <jamatos@fep.up.pt>
15370 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15373 2001-02-11 José Matos <jamatos@fep.up.pt>
15375 * buffer.C (makeDocBookFile): command styles now have a parameter as
15376 "title" by default.
15378 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15380 * layout_forms.[Ch]: removed
15381 * lyx_cb.[Ch]: out character
15382 * lyx_gui.C: out character
15383 * lyx_gui_misc.C: out character
15384 * bufferview_funcs.C: : out character,
15385 added toggleall as parameter in ToggleAndShow
15387 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15389 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15391 * text2.C (SetCurrentFont): Disable number property at boundary.
15393 2001-02-26 Juergen Vigna <jug@sad.it>
15395 * lyxfunc.C (getStatus): added a string argument override function so
15396 that this is correctly called from LyXFunc::Dispatch if it contains a
15397 do_not_use_argument which is used!
15398 (Dispatch): added check for "custom" export and call appropriate func.
15400 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15402 * lyxrc.C: Add language_command_local, language_use_babel and
15403 language_global_options.
15405 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15407 * buffer.C (makeLaTeXFile): Use language_use_babel and
15408 language_global_options.
15410 2001-02-23 Juergen Vigna <jug@sad.it>
15412 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15413 which works with LyXText and putted it inside BufferView. Here now we
15414 only call for that part the BufferView::Dispatch() function.
15416 * BufferView.C (Dispatch): added.
15418 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15419 functions which needs to use a LyXText over from LyXFunc.
15420 (MenuInsertLyXFile): added
15421 (getInsetByCode): added
15422 (moveCursorUpdate): added
15423 (static TEXT): added
15425 2001-02-22 Juergen Vigna <jug@sad.it>
15427 * BufferView_pimpl.C (update): call a status update to see if LyXText
15430 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15432 * vc-backend.C (revert): implement for CVS
15433 (getLog): implement for CVS
15435 2001-02-20 Juergen Vigna <jug@sad.it>
15437 * text2.C (ClearSelection): added BufferView param for inset_owner call
15439 * lyxfunc.C (TEXT): added this function and use it instead of
15440 directly owner->view()-text of getLyXText().
15442 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15444 * src/layout_forms.C: out preamble
15445 * src/layout_forms.h: out preamble
15446 * src/lyx_cb.C: out preamble
15447 * src/lyx_cb.h: out preamble
15448 * src/lyx_gui.C: out preamble
15449 * src/lyx_gui_misc.C: out preamble
15450 * src/lyxfunc.C: connect with guii preamble
15452 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15454 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15456 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15458 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15459 whether to run bibtex.
15461 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15463 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15465 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15467 * Makefile.am (lyx_SOURCES): removed bibforms.h
15469 * vspace.h: doxygen
15471 * text.C (GetVisibleRow): make several local vars const
15473 * tabular.C: small cleanup.
15475 * lyxserver.C (callback): use compare instead of strncmp
15477 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15478 inlines to after class or to paragraph.C
15480 * lyxfont.h: remove friend operator!=
15482 * converter.h: move friend bool operator< to non friend and after
15485 * combox.h: small cleanup
15487 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15488 to inlines after class def.
15490 * buffer.C (pop_tag): use string operations instead of strcmp
15492 * bmtable.c: doxygen, small cleanup
15494 * LaTeX.h: remove friend operator==
15496 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15508 * BufferView_pimpl.C:
15509 * BufferView.[Ch]: remove cruft
15511 2001-02-14 Juergen Vigna <jug@sad.it>
15513 * lyxfunc.C: removed #if 0 unused code
15515 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15517 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15519 * text2.C (SetSelection): added a BufferView * parameter
15521 2001-02-13 Juergen Vigna <jug@sad.it>
15523 * lyxfunc.C (Dispatch): fixed protected blank problem.
15524 * BufferView2.C (protectedBlank): added LyxText * parameter.
15526 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15527 (AppendColumn): same as above for column_info.
15529 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15530 (moveCursorUpdate): use a LyXText param for support of InsetText.
15532 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15533 (tripleClick): ditto
15535 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15537 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15539 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15541 * text2.C (SetSelection): set correct update status if inset_owner
15542 (ToggleFree): ditto
15544 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15546 * tabular.C: remove some commented code.
15548 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15550 * BufferView_pimpl.C: call hideSplash()
15552 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15555 * bibforms.h: remove
15558 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15559 add LFUN_CHILD_CREATE
15561 * counters.h: fix tiny typo
15566 * lyx.C: move splash to frontends/xforms/
15568 * lyx_gui_misc.C: move Include and Bibform to frontends
15570 * lyxvc.h: clarify comment
15572 * vspace.C: tiny housekeeping
15574 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15576 * text.C (PrepareToPrint): RTL Fix.
15578 * paragraph.C (GetUChar): New method.
15579 (String): Use GetUChar.
15581 * buffer.C (asciiParagraph): Use GetUChar.
15583 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15585 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15587 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15590 * buffer.C: rename to getLogName(), handle
15591 build log / latex log nicely
15593 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15596 * MenuBackend.h: remove support for reference menuitem type.
15598 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15600 * BufferView_pimpl.C: housekeeping
15601 * BufferView_pimpl.h:
15606 * minibuffer.h: move Timeout GUI-I
15608 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15610 * lyxrc.C (read): Update converters data-structures.
15612 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15614 * LaTeX.h (operator!=): add operator != for Aux_Info
15616 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15618 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15620 * LaTeXLog.C: deleted, useful code moved to Buffer
15623 * buffer.C: new function getLatexLogName()
15629 * lyxfunc.C: use frontends for LaTeX and VC logs
15631 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15633 * LaTeX.h: yet another std:: that Allan forgot.
15635 * Variables.C (set): renamed from isset(), because this clashes
15636 with some HP-UX macros (grr).
15638 2001-02-06 Allan Rae <rae@lyx.org>
15640 * LaTeX.h: Another bug fix. Missing std:: this time.
15642 2001-02-04 Allan Rae <rae@lyx.org>
15644 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15645 floats problem. I've left it commented out because it's not quite
15646 correct. It should also test that the current object is a table or
15647 figure inset. But I haven't gotten around to figuring out how to do
15648 that. I *think* it'll be something like: "table" == inset.type()
15650 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15653 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15655 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15656 all the citation/databases/styles in the auxilary file.
15657 (run): Rerun latex if there was a babel language error.
15659 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15661 * text.C (Backspace): Preserve the font when changing newline char
15663 (BreakParagraph): If the cursor is before a space, delete the space.
15665 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15667 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15669 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15670 new argument (code).
15671 (ChangeCitationsIfUnique): New method.
15673 * paragraph.C (GetPositionOfInset): Handle bibkey.
15675 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15677 * BufferView_pimpl.h: change type of Position::par_pos to
15678 LyXParagraph::size_type.
15680 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15682 * BufferView_pimpl.C (savePosition, restorePosition): Write
15683 messages to minibuffer.
15685 2001-01-28 José Matos <jamatos@fep.up.pt>
15687 * buffer.C (makeDocBookFile): adds support for document language.
15688 A silly restriction on the name of LatexCommand types where removed.
15689 Added support for CDATA sections, allows to chars unescaped, used
15690 among others in code, to avoid escape < and >.
15692 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15694 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15695 saved positions instrad of a stack. Furthermore, a position is
15696 stored using paragraph id/paragraph position.
15698 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15699 Remove LFUN_REF_BACK.
15701 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15703 * converter.C (dvipdfm_options): New method.
15705 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15707 * vspace.C (isValidLength): Fix for empty input string.
15709 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15711 * LyXAction.C (init): change description of LFUN_FIGURE to
15714 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15716 * LaTeX.C: add using directive
15718 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15720 * MenuBackend.C (expand): Fix the sorting of the formats.
15722 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15724 * lyx_main.C: tiny error message fix
15726 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15728 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15729 calling fl_initialize(). This fixes the problem with ',' as
15730 decimal separator in text files.
15732 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15734 * trans.C (process): Fix the keymap bug.
15736 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15738 * LaTeX.C (scanAuxFiles): New method. Provides support for
15739 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15740 (scanLogFile) Scan for "run BibTeX" messages.
15742 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15743 OT1 font encoding. Also, load the aecompl package if the ae
15746 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15748 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15750 * texrow.C (increasePos): turn two error messages into debug
15753 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15755 * LaTeX.C (scanAux): Handle the \@input macro.
15756 (runBibTeX): Use scanAux().
15758 * language.C (latex_options_): New field.
15760 * LaTeXFeatures.C (getMacros): Add language macros.
15762 * buffer.C (makeLaTeXFile): Small fix.
15764 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15766 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15768 * text2.C: add a using directive.
15770 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15775 * lyxfunc.C: kill LyXBell.
15777 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15779 * text.C (IsBoundary): Remove the error message
15781 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15783 * lyxrc.C (setDefaults): Correct initialization value for
15786 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15788 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15791 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15792 and GotoNextNote().
15794 * src/LyXAction.C: Added reference-next.
15796 * text.C (InsertChar): Use contains instead of strchr.
15798 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15800 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15802 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15803 alignment commands (when needed).
15805 * text.C (InsertChar): Add ':' to number separator chars.