1 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
6 * converter.C (showMessage): inherit from unary_function, make
9 * buffer.C (writeFile): initialize retval
11 * InsetList.h: rename private variable list to list_
12 * InsetList.[Ch]: adjust accordingly.
14 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
16 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
17 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
18 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
19 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
20 * ParagraphParameters.C, LaTeXFeatures.C: replace
21 "support/std_sstream.h" with <sstream>
23 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
25 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
26 * lyxsocket.C (LyXServerSocket): ditto
27 (serverCallback): ditto
29 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
31 * LaTeXFeatures.C: check release date when loading jurabib.
33 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
35 * lyxserver.C (startPipe): call register_socket_callback
36 (endPipe): call unregister_socket_callback
38 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
40 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
41 (LyXServerSocket): register the callback
42 (LyXServerSocket): unregister the callback
44 (serverCallback): improve error checking and setup the callbacks.
45 (dataCallback): change arg to fd.
46 (writeln): new func (copied fro the client socket) used for server
48 (LyXDataSocket): simplify
49 (~LyXDataSocket): close ann unregiser callback
50 (server): delete function
52 (readln): small changes, improve some std::string usage
53 (writeln): constify a bit
55 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
57 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
60 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * BufferView_pimpl.C (setBuffer): set the layout combox value only
63 after it has been populated
65 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * text2.C (insertInset): move cursor when inserting inset.
69 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * kbmap.C (findbindings): a couple of new methods. returns a
72 container of kb_sequence objects. The real work is done by the
73 private recursive version
74 (printbindings): uses findbindings to print out a bracketed list
75 of bindings (renamed from findbinding).
77 * MenuBackend.C (binding): use kb_keymap::findbindings
79 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
81 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
85 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
87 * paragraph.C (isWord): return true on insets that report
90 * text.C (getWord): use Paragraph::isWord to decide what is in a
91 word and what is not; fix bug 1609.
93 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
95 * tex-strings.C: add "none" to string_paperpackages[], fixes
96 off-by-one-error in the paperpackage selection.
99 * tex-strings.[Ch]: char const * string[n]
100 -> char const * const string[]
102 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
105 command, return early.
107 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
109 * debug.h: add DEBUG to enum and fix size of ANY.
111 * debug.C: add support for Debug::DEBUG
112 (showTags): cast errorTags.level to unsigned int
114 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
115 (redoCurrentBuffer): ditto
116 (updateScrollbar): ditto
117 * cursor.C (dispatch): ditto
118 * text2.C (setLayout): ditto
120 (updateCounters): ditto
122 (deleteEmptyParagraphMechanism): ditto
124 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
126 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
127 annotations to cleanup the Makefile slightly.
129 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
131 * lyxrc.C: do not set user_email to a default value but use empty
132 instead. The entry used to be translated, which does not work
133 since at the point where lyxrc is constructed there is no
134 translation service available
136 * messages.C (getLocaleDir): remove and use directly
137 lyx_localedir() instead
139 2004-06-02 Angus Leeming <leeming@lyx.org>
141 Fix crash caused by dereferencing null pointer 'exportdata' in
142 OutputParams by creating a new ExportData variable on the heap,
143 storing it in a boost::shared_ptr.
144 The crash was triggered when generating an Instant Preview
145 of an external inset.
147 * Makefile.am: add outputparams.C
149 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
150 (c-tor): allocate memory to it.
152 * exporter.C (c-tor): associated changes.
154 2004-06-01 Angus Leeming <leeming@lyx.org>
156 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
157 contains data before calling isInset(0). (Bug 1513.)
159 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * exporter.C (checkOverwrite): new method
162 * exporter.C (copyFile): new method
163 * exporter.C (Export): copy referenced files to the document dir
164 * exporter.[Ch]: new class ExportedFile
165 * exporter.[Ch]: new class ExportData. Contains currently the
166 names of referenced external files
167 * outputparams.h: add exportdata member.
169 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
171 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
174 2004-05-19 Angus Leeming <leeming@lyx.org>
179 * lyxfunc.C: small changes due to the introduction of namespace
180 lyx::frontend and the moving of namespace biblio to lyx::biblio.
182 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
184 * text3.C (dispatch): supress update when only moving the cursor
185 * cursor.C (selHandle): remove commented code
187 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
189 * paragraph.C (startTeXParParams): correct column count
190 * CutAndPaste.C (pasteSelection): remove const_cast
191 * output_docbook.C (docbookParagraphs): remove const_cast
192 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
193 const_cast and return ParagraphList::const_iterator
194 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
195 * output_plaintext.C (writeFileAscii): remove const_cast
196 * paragraph.[Ch] (simpleTeXOnePar): make const
197 * paragraph_funcs.C (outerPar): use const iterators
198 * paragraph_pimpl.C (validate): use const iterators
199 * text.C (setHeightOfRow): use const iterators
201 2004-05-17 Angus Leeming <leeming@lyx.org>
204 * LyXAction.C (init): new LFUN_INSET_REFRESH.
206 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
207 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
208 if the citation engine has changed.
210 2004-05-14 José Matos <jamatos@lyx.org>
212 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
213 if the textclass does not provide it. Have it different for sgml and
215 support the language of document.
216 * output_docbook.C (docbookParagraphs):
217 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
218 first anchor as the id of the paragraph, remove special case code.
219 * sgml.C (escapeChar): escape only < & >.
221 2004-05-14 Angus Leeming <leeming@lyx.org>
223 * bufferparams.h: move biblio::CiteEngine enum here to minimize
224 dependencies on src/frontends/controllers/biblio.h. Define a
225 CiteEngine_enum wrapper class to enable the enum to be forward
228 2004-05-12 Angus Leeming <leeming@lyx.org>
230 * buffer.C: up LYX_FORMAT to 234.
231 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
232 use_numerical_citations with a single biblio::CiteEngine cite_engine
234 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
236 2004-05-13 José Matos <jamatos@lyx.org>
239 * converter.C (Converter, readFlags): add xml member.
240 * outputparams.h: add XML flavor.
241 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
243 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * lyxfunc.C (dispatch):
246 (getStatus): fix handling of LFUN_SEQUENCE
248 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
250 * debug.C (showLevel): do not forget the end-of-line marker
252 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * kbmap.C (read): do not stop parsing a bind file when an error
257 2004-04-29 Angus Leeming <leeming@lyx.org>
262 * text2.C: wrap a bunch of #warning statements
263 inside #ifdef WITH_WARNINGS blocks.
265 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
267 * buffer.C: increment format to 233.
269 2004-04-28 Angus Leeming <leeming@lyx.org>
271 * BufferView_pimpl.C:
274 s/updateToolbar()/updateToolbars()/
275 s/Toolbar.h/Toolbars.h/
277 2004-04-28 Angus Leeming <leeming@lyx.org>
279 * BufferView.[Ch] (c-tor):
280 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
281 No longer passes these data to the WorkArea generator.
283 2004-04-28 Angus Leeming <leeming@lyx.org>
285 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
287 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
289 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
291 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * output_latex.C (TeXEnvironment): make sure that there is a line
294 break before \end{foo} for the last paragraph of a document
295 (TeXOnePar): if the paragraph is at the end of the document (or
296 inset) and the language has to be reset, then make sure that the
297 line break is _before_ the language command, not after (fixes bug
298 1225); also make sure that the language reset command is the first
299 thing after the paragraph (to ensure proper nesting of
300 environments and thus fix bug 1404)
302 2004-04-21 John Levon <levon@movementarian.org>
305 * ToolbarBackend.C: make "name" be a programmatic name
306 and a gui_name field.
308 * lyxfunc.C: display the minibuffer on M-x
310 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
315 2004-04-19 Angus Leeming <leeming@lyx.org>
317 * BufferView_pimpl.C (setBuffer): changed preview interface.
319 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
322 2004-04-19 John Levon <levon@movementarian.org>
324 * BufferView_pimpl.C:
325 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
327 2004-04-05 Angus Leeming <leeming@lyx.org>
329 * text.C (redoParagraphs): add call to updateCounters(), thereby
330 fixing the missing "Figure #:" label from the caption of a
333 2004-04-13 Angus Leeming <leeming@lyx.org>
335 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
336 cursor is clicked out of an inset.
338 2004-04-13 Angus Leeming <leeming@lyx.org>
340 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
341 than an InsetOld one.
343 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
345 * format.[Ch]: add editor to Format
346 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
347 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
349 2004-04-08 André Pönitz <poenitz@gmx.net>
351 * metricsinfo.h: remove PainterInfo::width member
353 2004-04-08 Angus Leeming <leeming@lyx.org>
355 * lyx_sty.C (boldsymbol_def): modify so that it outputs
356 "\providecommand" rather than "\newcommand", thereby preventing
357 clashes with packages that define "\boldsymbol" themselves.
360 2004-04-08 Angus Leeming <leeming@lyx.org>
362 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
363 thereby squashing an unnecessary warning.
365 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
367 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
370 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
372 * BufferView.C (setCursor): call redoParagraph (some insets could
374 (putSelectionAt): remove the 'double update' trick
376 * BufferView_pimpl.C (fitCursor): call refreshPar
377 (workAreaDispatch): remove an uneeded update call
378 (dispatch): remove some manual update calls
380 * cursor.[Ch]: remove cached_y_, updatePos
381 (selHandle): set noUpdate when appropriate
383 * lyxfunc.C (dispatch): track if we need an update
385 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
387 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
388 (paintSelection): cheap optimization, do not call cursorX when not
390 (paintPars): change signature
393 (paintTextInset): adjust
397 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
399 * lengthcommon.C: compilation fix: remove explicit array size from
400 unit_name[] and friends
402 2004-04-05 Angus Leeming <leeming@lyx.org>
404 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
406 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
407 present only for the preferences dialog.
408 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
410 2004-04-05 Angus Leeming <leeming@lyx.org>
412 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
413 to enable the frontends to export changes to lyxrc correctly.
415 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
417 2004-04-07 André Pönitz <poenitz@gmx.net>
419 * cursor.[Ch] (selClear, adjust): remove math
421 * cursor_slice.C: more agressive assert
424 * BufferView_pimpl.C: rework mouse event dispatch
431 2004-04-05 André Pönitz <poenitz@gmx.net>
433 * cursor.[Ch] (valign, halign...): remove unneeded functions
435 2004-04-05 Angus Leeming <leeming@lyx.org>
437 * lyxlength.[Ch] (unit_name et al.): const-correct.
439 2004-04-05 Angus Leeming <leeming@lyx.org>
441 * BufferView_pimpl.C:
450 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
452 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
454 * text3.C (getStatus): add LFUN_BEGINNINGBUF
456 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
458 * lyxfind.C: add a couple of inTexted() tests + other small fixes
459 * BufferView_pimpl.[Ch] (getStatus)
460 * BufferView.[Ch] (getStatus): add
461 * lyxfunc.C (getStatus): move lfuns handled in
462 BufferView::dispatch to te function above
463 * Cursor.C (setSelection): set selection() = true
465 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
467 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
469 2004-03-31 Angus Leeming <leeming@lyx.org>
471 * lyxfunc.C (dispatch): Fall through to the generic
472 Dialogs::show("preamble").
474 2004-03-31 Angus Leeming <leeming@lyx.org>
476 * lyxfunc.C (dispatch): Fall through to the generic
477 Dialogs::show("spellchecker").
479 2004-03-31 Angus Leeming <leeming@lyx.org>
481 * lyxfunc.C (getStatus, dispatch): changed invocation of the
484 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
489 * insetiterator.[Ch]:
494 * undo.[Ch]: s/DocumentIterator/DocIterator/g
496 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
498 * BufferView.C (setCursor, putSelectionAt): call edit to open the
499 insets where we are putting the cursor.
501 2004-03-31 Angus Leeming <leeming@lyx.org>
504 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
506 * lyxrc.[Ch] (read, write): overloaded member functions taking
507 a std::[io]stream arguments.
509 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
511 2004-03-31 Angus Leeming <leeming@lyx.org>
513 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
514 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
516 * lyxtextclass.C (load): if the text class couldn't be loaded, then
517 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
519 2004-03-31 Angus Leeming <leeming@lyx.org>
521 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
522 the LFUN_ALL_INSETS_TOGGLE code.
524 2004-03-30 Angus Leeming <leeming@lyx.org>
526 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
527 has died. Fall through to the generic Dialogs::show("document").
529 2004-03-30 Angus Leeming <leeming@lyx.org>
532 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
533 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
535 * lyxfunc.C (getStatus, dispatch): define the actions for these
536 lfuns. Little more than a cut and pste job from ControlDocument.C
538 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
540 2004-03-30 Angus Leeming <leeming@lyx.org>
543 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
544 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
546 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
547 open/closed state of ollapsable insets. Usage:
549 all-inset-toggle <state> <name>, where
550 <state> == "open" || "closed" || "toggle" and
551 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
553 * lyxtext.h, text2.C (toggleInset): removed.
555 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
556 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
557 now passes LFUN_INSET_TOGGLE to the found inset.
559 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
560 is now invoked as "all-insets-toggle toggle branch".
562 2004-03-30 Angus Leeming <leeming@lyx.org>
566 * pariterator.[Ch]: added/corrected header blurb.
568 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
570 * dociterator.[Ch]: add an inset_ member
571 (backwardPos): implemented
572 (backwardPos, forwardPos): use inset_ when the stack is empty.
573 (doc_iterator_begin, doc_iterator_end): implemented
574 * pariterator.[Ch]: adjust, add begin, end
575 * insetiterator.[Ch]: adjust, add begin, end
579 * BufferView_pimpl.C:
580 * CutAndPaste.C: adjust
582 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
584 * buffer.C: increment file format to 232.
585 * LaTeXFeatures.C: add bibtopic package.
586 * bufferparams.[Ch]: param \use_bibtopic.
588 * lyxrc.[Ch]: add lyxrc bibtex_command
589 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
591 * buffer.C: increment file format to 231.
593 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
595 * dociterator.C: implement forwardPar
596 * iterators.[Ch]: remove, replaced by
597 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
599 * BufferView_pimpl.C:
602 * bufferview_funcs.C:
608 * Makefile.am: adjust
610 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
612 * CutAndPaste.C (pasteSelection): fix 2 crashes
613 (eraseSelection): fix a crash
614 * paragraph_funcs.C: remove a warning
616 2004-03-28 Angus Leeming <leeming@lyx.org>
619 * LyXAction.C (init): new LFUN_PRINT.
621 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
623 2004-03-27 Angus Leeming <leeming@lyx.org>
626 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
628 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
630 2004-03-27 Angus Leeming <leeming@lyx.org>
632 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
633 insetlist always contains non-null pointers to insets.
635 2004-03-26 Angus Leeming <leeming@lyx.org>
637 * src/BufferView_pimpl.C:
641 * src/output_plaintext.C:
642 * src/outputparams.h:
643 * src/paragraph_funcs.C:
647 * src/frontends/controllers/ControlErrorList.C:
648 * src/frontends/gtk/FileDialogPrivate.C:
649 * src/frontends/gtk/GPainter.C:
650 * src/frontends/gtk/GToolbar.C:
651 * src/frontends/qt2/QRef.C:
652 * src/mathed/math_scriptinset.C: squash compiler warnings.
654 2004-03-26 Angus Leeming <leeming@lyx.org>
656 * ispell.C (LaunchIspell::start):
657 * lyx_cb.C (AutoSaveBuffer::start):
658 invoke run(DontWait) rather than runNonBlocking().
660 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
662 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
664 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
666 * kbsequence.C (print): adjust
668 * kbmap.C (printKeySym): rename and change signature
669 (printKey): use LyXKeySym::print()
671 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
673 * undo.C: add using std::advance to compile for stlport
675 2004-03-24 Angus Leeming <leeming@lyx.org>
677 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
678 it leads to a crash when no buffer is present.
680 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 Martin Vermeer <martin.vermeer@hut.fi>
683 * lyxfunc.C (dispatch):
684 * bufferparams.C (readToken): use the new LColor::setColor
686 * LColor.[Ch] (setColor): new version that takes two strings as
687 argument and creates a new color entry if necessary
689 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
691 * buffer.C (makeLaTeXFile): if the main latex file that is
692 processed is usually a subdocument of some master, then pretend
693 for a while that it is actually the master
695 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
697 * buffer.C (getLabelList):
698 (getBibkeyList): use getMasterBuffer()
699 (getMasterBuffer): new method. Returns the main document in the
700 case where one is using included documents.
702 2004-03-25 André Pönitz <poenitz@gmx.net>
706 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
708 * ParagraphList_fwd.h: change ParagraphList to a std::vector
710 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
711 text*.C over here. Rename namespace CutAndPaste to lyx::cap
713 * ParameterStruct.h: merge with ParagraphParameters
715 * lyxtext.h: remove LyXText::parOffset() and getPar()
717 * text3.C: Remove all 'manual' update calls. We do now one per user
718 interaction which is completely sufficient.
722 * BufferView_pimpl.C:
725 * ParagraphParameters.[Ch]:
737 * output_docbook.[Ch]:
739 * output_linuxdoc.[Ch]:
740 * output_plaintext.[Ch]:
742 * paragraph_funcs.[Ch]:
743 * paragraph_pimpl.[Ch]:
751 * frontends/controllers/ControlDocument.C:
752 * frontends/controllers/ControlErrorList.C:
753 * frontends/controllers/ControlSpellchecker.C:
756 * insets/insetbase.h:
757 * insets/insetbibitem.C:
759 * insets/insetbranch.C:
760 * insets/insetcaption.C:
761 * insets/insetcharstyle.C:
762 * insets/insetcharstyle.h:
763 * insets/insetcollapsable.C:
764 * insets/insetcollapsable.h:
766 * insets/insetfloat.C:
767 * insets/insetfoot.C:
768 * insets/insetmarginal.C:
769 * insets/insetnote.C:
770 * insets/insetoptarg.C:
771 * insets/insettabular.C:
772 * insets/insettext.C:
773 * insets/insettext.h:
774 * insets/insetwrap.C:
775 * mathed/math_mboxinset.C:
776 * mathed/math_nestinset.C:
777 * mathed/math_scriptinset.C:
778 * mathed/math_scriptinset.h:
781 2004-03-24 Angus Leeming <leeming@lyx.org>
783 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
784 deal with any child processes that have finished but are waiting to
785 communicate this fact to the rest of LyX.
787 2004-03-24 Angus Leeming <leeming@lyx.org>
789 64-bit compile fixes.
791 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
792 (c-tor): pass lyx::pos_types rather than ints.
794 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
797 * text.C (Delete): compile fix.
798 (getPar): ensure that function declaration is the same as that in
801 2004-03-23 Angus Leeming <leeming@lyx.org>
803 * ispell.C (LaunchIspell):
804 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
805 a boost::shred_ptr rather than a std::auto_ptr.
807 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * lyxfunc.C (getStatus): handle read-only buffers correctly;
810 handle LFUN_FILE_INSERT_*
812 * lyxrc.C (setDefaults, getDescription, output, read):
813 * lyxrc.h: remove ps_command
815 2004-03-22 Angus Leeming <leeming@lyx.org>
817 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
818 Ensure that error_handler is processed once only and that all data
819 is saved before attempting to output any warning messages.
821 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
823 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
825 * tabular.C (TeXRow): crash fix (from Kayvan and André)
827 2004-03-19 André Pönitz <poenitz@gmx.net>
829 * cursor.[Ch] (reset): take main text inset as argument
832 * BufferView_pimpl.C: adjust
834 * paragraph.[Ch]: fix completely broken operator=()
836 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
838 * LColor.C (getFromLyXName): make sure that the color name is used
841 2004-03-17 Angus Leeming <leeming@lyx.org>
844 * LyXAction.C (init): remove LFUN_FORKS_KILL.
846 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
847 dialog and to kill a forked process.
849 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
851 * text2.C (setCursorFromCoordinates): fix font problem
853 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
855 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
856 bogus "rebuild cursor" code
858 2004-03-11 André Pönitz <poenitz@gmx.net>
860 * buffer.[Ch]: use InsetText instead of LyXText as container for
863 * dociterator.[Ch]: drop the BufferView * member which is not needed
864 anymore after the change to buffer.C
870 * BufferView_pimpl.[Ch]:
872 * cursor_slice.[Ch]: adjust
874 * text3.C: fix bug in mathDispatch
876 2004-03-08 André Pönitz <poenitz@gmx.net>
878 * undo.[Ch]: use 'StableDocumentIterator' as base for
881 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
884 * bufferparams.[Ch]: add jurabib support and param.
886 * LaTeX.C: add FIXME/comment.
888 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
890 * buffer.C: increment file format to 230.
892 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
894 * cursor.C (dispatch): avoid infinite loops
896 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
898 * rowpainter.C (paintSelection): fix x coordinates
900 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
902 * text.C (rowBreakPoint): fix breaking before displayed insets
904 2004-03-01 André Pönitz <poenitz@gmx.net>
906 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
908 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
912 * BufferView_pimpl.C:
920 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
926 * BufferView_pimpl.C: rename textwidth -> maxwidth,
927 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
929 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
931 * Bidi.[Ch] (computeTables): const correctness
932 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
933 fill_hfill, fill_label_hfill and x from Row
934 * lyxtext.h: prepareToPrint returns a RowMetrics
935 * rowPainter.C: adjust
936 * text.C (prepareToPrint): use width, not textWidth. adjust
937 (redoParagraphInternal, cursorX): adjust
938 * text2.C (getColumnNearX): adjust
939 (init): put a default value to the top LyXText::width
941 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
943 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
945 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
947 * lyxtext.h: add FontIterator class
949 * text.C (FontIterator, operator*, operator->, operator++): add
950 (rowBreakPoint, setRowWidth): adjust (fixing a
953 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
955 * BufferView_pimpl.C (workAreaDispatch): allow also
956 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
958 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
960 * text.C (rowBreakPoint): fix a bug showing with very large insets
962 2004-02-25 André Pönitz <poenitz@gmx.net>
965 * cursor.[Ch]: move some mathed specific code to mathed
967 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
969 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
970 use_tempdir in preferences
971 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
973 * lyx_main.C: ensure that tempdir is valid
974 * lyxlex.h: correct typo
975 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
976 * paragraph.[Ch] (isMultiLingual): make const
977 * cursor.[Ch] (openable): make const
979 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
981 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
983 2004-02-20 André Pönitz <poenitz@gmx.net>
985 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
987 * cursor.[Ch]: prepare for localized getStatus()
993 * text3.C: streamlines the LyXText cursor movement handlers a bit.
995 2004-02-20 André Pönitz <poenitz@gmx.net>
997 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
999 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1001 * text2.C (setCursorFromCoordinates): switch to absolute coords
1003 (cursorDown): adjust
1004 * text3.C (dispatch): adjust
1006 2004-02-16 André Pönitz <poenitz@gmx.net>
1008 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1011 * cursor_slice.[Ch]: remove unneeded acessor function
1013 * lyxtext.h: rename rtl() to isRTL()
1021 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1023 * rowpainter.C (paintSelection): coord fix
1025 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1027 * Spacing.C: compile fix
1029 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1031 * cursor.C (dispatch): restore current_ before returning
1033 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1035 * text2.C (cursorUp, cursorDown): fix coords
1038 2004-02-12 André Pönitz <poenitz@gmx.net>
1043 * text3.C: add LCursor & parameter to most cursor movement functions
1044 remove usage of LyXText::cursorRow() and cursorPar()
1046 * cursor.[Ch]: add textRow() needed members
1049 * BufferView_pimpl.C:
1052 * BufferView_pimpl.C: adjust
1054 2004-02-11 André Pönitz <poenitz@gmx.net>
1058 * BufferView_pimpl.C: shift undo/redo handling
1060 * cursor.[Ch]: fix mathed crash
1063 * lyxtext.h: move selectionAsText to LCursor
1071 * rowpainter.C: fix excessive drawing
1073 2004-02-06 André Pönitz <poenitz@gmx.net>
1076 * BufferView_pimpl.[Ch]:
1077 * text3.C: move some text specific LFUN handling
1079 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1081 * text3.C (checkInsetHit): adjust coords
1082 * text2.C (getColumnNearX): adjust coords
1083 (edit): adjust coords
1084 * text.C (getRowNearY): add two asserts
1086 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1089 * format.C: add using std::distance to compile on gcc 2.95/stlport
1091 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1093 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1095 2004-02-04 André Pönitz <poenitz@gmx.net>
1097 * BufferView.[Ch] (insertInset):
1098 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1103 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1105 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1106 on the default clause of the switch
1107 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1108 wasn't catched by LCursor::dispatch
1110 2004-02-03 André Pönitz <poenitz@gmx.net>
1113 * cursor.[Ch]: some additional asserts
1115 * undo.[Ch]: remove LyXText dependency in interface
1119 * lyxtext.h (firstPar, lastPar): remove dead functions
1124 * paragraph.[Ch]: adjust
1126 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1128 * lyxfind.C (find): fix argument order in call to ::find
1130 2004-02-02 André Pönitz <poenitz@gmx.net>
1132 * cursor.[Ch]: remove direct access to anchor
1134 * text.C: remove findText() hack
1136 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1138 * iterators.[Ch] (lockPath): remove in favour of...
1139 * BufferView.[Ch] (setCursor): this addition
1140 * BufferView.C (putSelectionAt): adjust
1141 * undo.C (performUndoOrRedo): adjust
1142 * lyxfunc.C (dispatch): adjust
1144 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1146 * iterators.C (lockPath): add a missing slice
1147 * undo.C (performUndoOrRedo): remove redundant positioning code
1149 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1151 * vc-backend.C (scanMaster): ";" -> ';'
1153 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1155 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1156 std::binary_function
1158 * lyxtextclass.C (compare_name): rename to...
1159 (LayoutNamesEqual): ...this
1161 * lyxlex_pimpl.C (compare_tags): inherit from
1162 std::binary_function, put back into anon namespace
1164 * lyxfind.C (MatchString): inherig from std::binary_function
1165 (findChange): use empty() istead of !size()
1167 * format.C (FormatNamesEqual): new functor
1174 * converter.C (compare_Converter): rename to...
1175 (ConverterEqual): ...this, and fixup a bit.
1176 (getConverter): use it, and make function const
1177 (getNumber): use it, and make function const
1181 * bufferlist.C: add using boost::bind
1183 * MenuBackend.C (MenuNamesEqual): new functor
1184 (hasMenu): use it, and make function const
1185 (hasSubmenu): use nested bind to get rid of compare_memfun.
1187 2004-01-30 André Pönitz <poenitz@gmx.net>
1189 * BufferView_pimpl.C:
1192 * cursor_slice.[Ch]:
1195 * paragraph_funcs.C:
1196 * paragraph_funcs.h:
1200 * text3.C: move some of the edit(x,y) handling to the insets
1201 some coordinate changes.
1203 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1205 * text.C: add using statements for std::advance and std::distance
1207 * paragraph.C: add using statement for std::distance
1209 * lyxfind.C: add using statement for std::advance
1211 * cursor.C (region): remove std:: from swap
1212 (openable): use nucleus in stead of operator->
1214 * BufferView.C: add using statements for std::distance and std::swap
1216 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1218 * iterators.C: Remove the pimple, move the needed structures to
1219 the header file. Create accessor for the positions stack.
1220 (asPosIterator): remove function
1222 * PosIterator.C (PosIterator): move constructors to top of file
1223 (PosIterator): reimplement the constructor taking a ParIterator in
1225 (setFrom): new function
1226 (operator!=): inline it
1228 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1230 * lyxfind.C (replaceAll): use std::advance
1232 * iterators.h: inherit from std::iterator.
1234 * PosIterator.C (advance, distance): remove
1235 * PosIterator.h: interit from std::iterator.
1237 2004-01-26 André Pönitz <poenitz@gmx.net>
1240 * BufferView_pimpl.[Ch]:
1244 * bufferview_funcs.C:
1254 * output_linuxdoc.C:
1255 * output_plaintext.C:
1257 * paragraph_funcs.[Ch]:
1258 * paragraph_pimpl.[Ch]:
1264 * text3.C: more IU: dumps most of the rest of the mathcursor
1265 implementation into cursor.[Ch]; "globalize" a bit of it.
1267 2004-01-25 Angus Leeming <leeming@lyx.org>
1269 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1271 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1273 * LaTeXFeatures.h: add nice_ and nice() const
1274 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1276 2004-01-20 André Pönitz <poenitz@gmx.net>
1279 * BufferView_pimpl.C:
1281 * bufferview_funcs.C:
1283 * cursor_slice.[Ch]:
1294 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1295 LCursor and mathcursor parts to LCursor and InsetBase.
1297 2004-01-15 André Pönitz <poenitz@gmx.net>
1299 * cursor_slice.[Ch]: add a few covienience functions
1301 * funcrequest.[Ch]: remove BufferView * member
1303 * BufferView_pimpl.C:
1310 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1312 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1314 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1315 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1317 2004-01-13 André Pönitz <poenitz@gmx.net>
1320 * lyxtext.h: hide cursor and selection anchor behind accessor function
1323 * BufferView_pimpl.[Ch]:
1325 * bufferview_funcs.C:
1335 * cursor_slice.[Ch]: some integer type changes for inset unification
1337 * lyxcursor.[hC]: remove, it's CursorSlice now.
1340 * BufferView_pimpl.[Ch]:
1341 * bufferview_funcs.C:
1347 * textcursor.[Ch]: adjust
1349 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1351 * text2.C (undoSpan): add and use
1352 * text.C (breakParagraph): use undoSpan (fix bug 578)
1355 2004-01-08 Angus Leeming <leeming@lyx.org>
1357 * BufferView_pimpl.C (MenuInsertLyXFile):
1358 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1359 * lyxfunc.C (menuNew, open, doImport):
1360 FileFilterList change to the FileDialog open and save functions.
1362 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1364 * ShareContainer.h: make isEqual and isUnique adaptable
1366 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1368 2004-01-07 Angus Leeming <leeming@lyx.org>
1371 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1373 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1375 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1376 functions replacing find, replace and replaceAll.
1378 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1379 LFUN_WORDFIND(FORWARD|BACKWARD).
1381 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1383 * text.C (breakParagraph): remove an outdated #warning
1385 2004-01-07 André Pönitz <poenitz@gmx.net>
1387 * lyxfind.C: somewhat clearer logic
1389 * text.C: prevent crash in cursorX on unitialized row cache
1391 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1393 * lyxcursor.[Ch] (operator>): add
1394 * textcursor.C (selStart, selEnd): use std::min and std::max
1396 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1398 * Chktex.C: include boost/format.hpp
1400 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1402 * InsetList.C: replace functor MathcIt with adaptable functor
1404 (insetIterator): modify accordingly
1406 * BranchList.h: move the BranchNamesEqual functor here from...
1407 * BranchList.C: ... to here
1409 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1411 (add): replace a finding loop with std::find_if.
1413 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1415 * output_docbook.C: moving LatexParam functionality into
1418 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1420 * buffer.C: increment format to 229.
1422 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1425 * lyx_sty.[Ch]: remove minipageindent_def
1431 * text3.C: remove LFUN_INSET_MINIPAGE
1433 2003-12-28 Angus Leeming <leeming@lyx.org>
1435 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1437 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1439 * text2.C (setParagraph): fix off-by-one crash
1441 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1443 * output_docbook.C: header stuff for AGU
1445 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1447 * text2.C (redoCursor): remove
1450 * BufferView_pimpl.C: remove calls to redoCursor and
1451 setCursor(cursor.par(), cursor.pos()) all around
1453 2003-12-15 Angus Leeming <leeming@lyx.org>
1455 * buffer.C: up the format to 228.
1457 2003-12-15 André Pönitz <poenitz@gmx.net>
1459 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1464 * BufferView_pimpl.C:
1473 2003-12-15 Angus Leeming <leeming@lyx.org>
1475 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1476 than getFromGUIName to manipulate the color.
1478 2003-12-14 Angus Leeming <leeming@lyx.org>
1480 * BranchList.[Ch]: minimize the API.
1481 (Branch::getBranch, getColor): now return a 'const &'.
1482 (Branch::setSelected) now returns a bool set to true if the
1483 selection status changes.
1484 (BranchList::clear, size, getColor, setColor, setSelected,
1485 allBranches, allSelected, separator): removed.
1486 (BranchList::find): new functions, returning the Branch with
1488 (BranchList::add, remove): return a bool indicating that
1489 the operation was successful.
1491 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1492 new InsetBranch::isBranchSlected member function.
1494 * LColor.[Ch]: mimimize the API.
1495 (fill): renamed as addColor and made private.
1496 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1497 versions of these functions taking a string arg have been removed.
1499 * bufferparams.C (readToken):
1500 * lyxfunc.C (dispatch):
1501 * lyxrc.C (read): changes due to the altered BranchList and
1504 * factory.C (createInset, readInset): changes due to altered
1507 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1510 * lyxfunc.C: remove insetminipage. "minipage-insert"
1511 now produces a frameless minipage box inset.
1513 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1515 * textcursor.[Ch] (selStart,selEnd): add new methods
1516 remove selection::start, end, use LyXCursor::operator<
1517 * lyxcursor.[Ch] (operator<): add
1518 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1519 * BufferView.[Ch] (unsetXSel): add
1520 * text2.C (clearSelection): use unsetXSel,adjust
1523 * rowpainter.C: adjust
1524 * bufferview_funcs.C (put_selection_at): adjust
1526 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1528 * BufferView_pimpl.C: small coord. correction
1530 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1532 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1533 dragging over the splash screen.
1535 2003-12-11 Angus Leeming <leeming@lyx.org>
1537 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1538 as it is now handled in LyXText::dispatch.
1540 * text3.C (doInsertInset): remove a level of nesting.
1542 2003-12-11 Angus Leeming <leeming@lyx.org>
1544 * factory.C (createInset): changes due to the changed interface to
1545 InsetCommandMailer::string2params.
1547 2003-12-10 Angus Leeming <leeming@lyx.org>
1549 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1550 'dialog-show-new-inset <inset name>'
1552 2003-12-10 Angus Leeming <leeming@lyx.org>
1554 * buffer.C: up the format to 227.
1556 * factory.C: the box inset is now identified simply by 'Box'.
1558 2003-12-10 Angus Leeming <leeming@lyx.org>
1560 * buffer.C: up the format to 226.
1562 * factory.C: the note inset is now identified simply by 'Note'.
1564 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1566 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1567 when a pit is enough. Standarize a couple of loops.
1569 2003-12-05 Angus Leeming <leeming@lyx.org>
1571 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1572 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1573 data to the re-worked "log" dialog.
1575 2003-12-03 André Pönitz <poenitz@gmx.net>
1581 * paragraph_funcs.C:
1583 * text2.C: use Inset::getText instead of Inset::getParagraph
1585 2003-12-03 André Pönitz <poenitz@gmx.net>
1589 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1590 InsetText::read() as LyXText::read()
1592 2003-12-02 Angus Leeming <leeming@lyx.org>
1594 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1595 type. Add a comment in the implementation that the function uses
1596 the stream's bad() function rather than fail() as the std::streams
1599 2003-12-02 André Pönitz <poenitz@gmx.net>
1601 * lyxlex.[Ch]: make interface more similar to std::stream
1603 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1605 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1607 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1609 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1611 * vspace.[Ch]: remove VSpace::NONE
1613 2003-12-01 André Pönitz <poenitz@gmx.net>
1616 * lyxtext.h: move ParagraphList member to LyXText
1617 rename LyXText::ownerParagraphs to LyXText::paragraph
1620 * bufferview_funcs.C:
1630 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1632 * undo.C: fix cursor positioning
1634 2003-12-01 John Levon <levon@movementarian.org>
1636 * BufferView_pimpl.C: fix a crash on exit with
1639 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1641 * BranchList.C: fix setSelected() method.
1643 2003-11-28 André Pönitz <poenitz@gmx.net>
1645 * ParagraphParameters.[Ch]:
1646 * ParameterStruct.h: remove space above/below from Paragraph to
1649 * BufferView_pimpl.C:
1655 * paragraph_funcs.C:
1661 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1663 * factory.C: Syntax change for CharStyles
1665 2003-11-28 André Pönitz <poenitz@gmx.net>
1670 * buffer.[Ch]: move LyXText member
1672 2003-11-28 André Pönitz <poenitz@gmx.net>
1674 * BufferView.[Ch]: make LyXText * text a private member
1676 * BufferView_pimpl.C:
1687 * output_plaintext.C: cleanup
1689 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1692 * lyxtextclass.[Ch]: parametrize SGML document header
1694 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1697 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1700 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1702 * text2.C (setFont): rework using PosIterator (no more recursive)
1703 (setCharFont): no more needed
1704 (setLayout): no more selection cursors fiddling (done by redoCursor)
1705 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1706 destroy remaining ones)
1708 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1710 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1712 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1715 * text3.C: adjust + re-allow multi par depth changes
1716 * textcursor.C: simplify a bit
1718 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1724 * src/output_docbook.C:
1725 * src/output_latex.C:
1730 * src/text2.C: Introducing a number of tags parametrizing various
1731 XML formats that we may want to support
1733 2003-11-25 André Pönitz <poenitz@gmx.net>
1735 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1737 * lyxtext.h (leftMargin/rightMargin): simplify interface
1744 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1746 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1747 master file to any child files. Fixes bug 546.
1749 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1751 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1753 2003-11-24 André Pönitz <poenitz@gmx.net>
1755 * rowpainter.C: simplification
1757 * text2.C (updateCounters): remove call to redoParagraph on
1758 changed labels as this is far too expensive.
1760 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1762 * converter.C (convert): fix a crash: this function gets
1763 called with buffer == 0 from importer code.
1765 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1767 * text3.C (cursorPrevious): make sure that we do not compare
1768 iterators form different containers.
1771 * rowpainter.C (paintSelection): make sure that we do not compare
1772 iterators from different containers.
1774 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1775 iterators from different ParagraphList containers.
1778 * text2.C (LyXText): change order of initialization slightly
1779 (operator=): new function. copy all variables except cache_par_
1780 (moveUp): make sure that we do not compare iterators from
1781 different ParagraphList constainers.
1784 * text.C (firstPar): new function
1785 (lastPar): new function
1786 (endPar): new function
1788 * lyxtext.h: move things around and group public functions, public
1789 variables, private functions, private variables
1791 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1793 * factory.C: change call to InsetERT constructor to avoid
1794 additional invocation of method status
1795 * text2.C (toggleInset): remove redundant update() call
1796 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1797 instead of a Bufferview pointer
1799 2003-11-21 André Pönitz <poenitz@gmx.net>
1801 * rowpainter.C: simplification
1803 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1805 * text3.C (dispatch): make possible to extend a word/row selection
1808 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1810 * lyxtext.h: x0_,y0_ -> xo_,yo_
1811 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1812 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1813 * rowpainter.C (paintRows): paint full paragraphs
1815 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1817 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1820 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1822 * lyxtext.h: add x0_, y0_
1823 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1824 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1826 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1828 * text2.C (setCursorIntern): move the x_target update here *
1829 * text3.C: change some bv() to true/false in calls to
1830 cursorUp/Down/Right/Left
1831 * cursor.C: use helper function.
1833 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1835 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1836 * paragraph_funcs.[Ch]: correct comment
1837 * rowpainter.C: do not paint selections away from bv->cursor()
1838 Fix a long standing selection painting bug.
1839 * text3.C: generalize mouse-selection code to LyXTexts other that
1841 * textcursor.C: do not use y coords if we can use par offsets
1843 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1845 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1846 cursor position after e.g. inset insert)
1848 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1850 * lyxfind.C (replace): adjust to locking removal + some
1853 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1855 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1858 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1861 * output_docbook.C: XML sanitation: new layout
1862 parameters InnerTag and CommandDepth
1864 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1866 * BufferView_pimpl.C:
1868 * text3.C: Fix the insertion and modification of button-style
1871 2003-11-13 André Pönitz <poenitz@gmx.net>
1873 * InsetList.[Ch]: remove deleteLyXText
1875 * paragraph.[Ch]: cache beginOfBody position
1880 * text3.C: remove superfluous update() calls
1884 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1886 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1887 * BufferView.C (fitLockedInsetCursor): remove
1888 * cursor.[Ch] (getDim): add
1889 * text.C (getRowNearY): add faster version
1890 * text3.C: remove some update calls
1892 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1904 * text3.C: The Character Style /XML short element patch.
1906 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1909 * factory.C: Small step to solving 'unable to insert some insets'
1912 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1914 * cursor.[Ch] (updatePos): new function for updating the y
1915 position of the tip inset
1916 * bufferview_funcs.C (put_selection_at):
1917 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1919 2003-11-11 André Pönitz <poenitz@gmx.net>
1921 * text.C: remove big comment on invalid Paragraph pointers as it is
1924 2003-11-11 André Pönitz <poenitz@gmx.net>
1926 * text_funcs.[Ch]: merge with ...
1934 * Makefile.am: remove text_funcs.[Ch]
1936 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1938 * cursor.C (getPos): return absolute cached y coord
1940 * BufferView_pimpl.C (fitCursor): new simplistic code
1941 (workAreaDispatch): add a fitCursor call
1943 2003-11-10 André Pönitz <poenitz@gmx.net>
1946 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1948 2003-11-10 André Pönitz <poenitz@gmx.net>
1950 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1951 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1952 indicate that the cursor needs to leave an inset
1954 * lyxtext.h: remove inset locking
1956 * cursor.[Ch]: re-implement functionality provided by inset locking
1959 * BufferView_pimpl.[Ch]:
1961 * bufferview_funcs.[Ch]:
1973 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1975 * PosIterator.[Ch]: replace the stack with a vector, add inset
1977 * iterators.[C]: adjust
1979 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1981 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1983 * paragraph_funcs.C (readParToken): put the correct id in the
1984 error item, not the id of the top paragraph
1986 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1988 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1989 * bufferview_funcs.C (put_selection_at): use the above
1991 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1993 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1995 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1997 * output_linuxdoc.h:
1998 * output_plaintext.h:
2000 * output_docbook.h: add #include statements
2002 2003-11-05 José Matos <jamatos@lyx.org>
2004 * output_docbook.[Ch]:
2005 * output_latex.[Ch]:
2006 * output_linuxdoc.[Ch]:
2007 * output_plaintext.[Ch]: New files for output formats.
2008 * output.[Ch]: New file for helper functions.
2011 * paragraph_funcs.[Ch]: output functions moved to new files.
2013 * outputparams.h: rename of latexrunparams.h
2021 * paragraph_funcs.[Ch]:
2022 * paragraph_pimpl.[Ch]:
2023 * tabular.[Ch]: rename ascii to plaintext
2024 and LatexRunParams to OutputParams.
2026 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2028 * iterators.[Ch] (text): require bv argument
2029 * undo.C (recordUndo):
2030 * lyxfunc.C (dispatch):
2031 * bufferview_funcs.C (put_selection_at): adjust
2033 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2035 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2037 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2039 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2042 2003-11-04 André Pönitz <poenitz@gmx.net>
2044 * cursor.[Ch]: restructure
2047 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2049 * iterators.[Ch] (asCursor): remove
2051 * lfuns.h: remove LFUN_INSET_EDIT
2057 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2059 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2061 * lyxfind.[Ch]: complete overhaul
2062 * BufferView_pimpl.C:
2064 * paragraph.[Ch] (insert): add
2066 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2070 * text.C: remove dead spellcheck code
2072 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2074 * dispatchresult.h: add a val setter
2076 * cursor.C (dispatch): use a tempvar for data_[i]
2078 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2080 * PosIterator.[Ch]: compile fix
2082 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2084 * text.C (cursorPar): deactivate the cursor cache
2086 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2088 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2090 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2092 * text3.C (dispatch): adjust for new DisptchResult semantics.
2094 * lyxfunc.C (dispatch): handle update when return from
2095 Cursor::dispatch, adjust for new DispatchResult semantics.
2097 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2098 DispatchResult(true) mean to not update. Add class functions for
2099 setting dispatched and update, as well as reading.
2101 * cursor.C (dispatch): don't handle update here
2103 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2106 * trans_mgr.C: adjust
2108 * paragraph_funcs.C (readParToken): exception safety
2110 * lyxvc.h: store the vcs pointer in a scoped_ptr
2113 * lyxsocket.C (serverCallback): exception safety
2115 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2117 * ispell.C (clone): make it return a auto_ptr
2119 * factory.C (createInset): exception safety
2120 (readInset): exception safety
2122 * bufferlist.C (newBuffer): exception safety
2124 * Thesaurus.C (Thesaurus): use initialization for aik_
2126 * MenuBackend.C (expandToc): exception safety.
2128 2003-11-03 André Pönitz <poenitz@gmx.net>
2132 * bufferview_funcs.C: remove getInsetFromId()
2135 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2141 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2143 * PosIterator.C (distance, advance): new
2144 * bufferview_funcs.[Ch] (put_selection_at): new
2145 * iterators.[Ch] (lockPath): new
2147 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2149 * iterators.[Ch] (asPosIterator): added
2150 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2151 * PosIterator.[Ch]: added
2153 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2157 * cursor.C (dispatch):
2158 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2160 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2161 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2162 contructor, add a class function dispatched. Remove operator>=
2164 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2166 * debug.C: only use the default constructor for debugstream
2169 * main.C (main): include debug.h and setup the lyxerr streambuf
2172 2003-10-31 José Matos <jamatos@lyx.org>
2174 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2176 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2177 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2178 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2179 * paragraph_pimpl.C (simpleTeXSpecialC):
2180 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2181 add LatexRunParams argument.
2183 * exporter.C (Export): change call accordingly.
2185 * latexrunparams.h: add new member to take care of the other backends.
2186 2003-10-30 José Matos <jamatos@lyx.org>
2188 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2189 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2190 factorise code for paragraph output.
2192 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2195 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2197 * text3.C (dispatch):
2198 * lyxfunc.C (dispatch):
2199 * cursor.C (dispatch):
2200 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2202 * dispatchresult.h: make the dispatch_result_t ctor explicit
2204 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2207 * buffer.C: small refactoring of docbook stuff
2209 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2211 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2214 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2216 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2217 operator dispatch_result_t, and operators for == != and >=
2219 * cursor.C (dispatch): adjust for operator dispatch_result_t
2220 removal. comment out call to update
2222 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2224 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2232 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2235 * dispatchresult.h: new file, DispatchResult broken out of
2238 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2240 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2242 * text.C (rowBreakPoint): put a hack inside #if 0
2244 2003-10-28 André Pönitz <poenitz@gmx.net>
2248 * paragraph_funcs.C:
2251 * text2.C: general cleanup (lots of small stuff)
2253 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2255 * text2.C (cursorEnd): simple fix to the "end key goes to one
2256 before the end on last row" bug
2258 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2260 * text.C (backspace): fix the "zombie characters"
2262 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2264 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2266 2003-10-27 André Pönitz <poenitz@gmx.net>
2268 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2270 * factory.C: handle new InsetPagebreak, InsetLine
2272 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2273 and move handling into new InsetPagebreak, InsetLine
2275 * BufferView_pimpl.C:
2277 * ParagraphParameters.C:
2278 * ParameterStruct.h:
2283 * paragraph_funcs.C:
2284 * paragraph_pimpl.C:
2290 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2293 * lyxrow_funcs.[Ch]:
2299 * text3.C: remove lastPos uses in favour of Row::endpos
2301 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2303 * undo.C (performUndoOrRedo): fix two crashes by setting a
2304 cursor by hand and reordering some calls. Use bv->lockInset instead
2305 of inset->edit because the latter loses cursor information
2307 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2309 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2311 (rowBreakPoint): fix width. change point to point + 1.
2312 Add a missing check.
2314 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2317 * lyxfunc.C: fix (at least partly) the problems
2318 with the Nav menu and headers inside branch insets
2321 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2323 * paragraph.C (getChar): add strong asserts
2325 * lyxrow_funcs.C (lastPos): remove hideous hack
2327 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2328 (fill): adjust to that (avoid an infinite loop)
2330 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2332 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2334 2003-10-23 André Pönitz <poenitz@gmx.net>
2336 * RowList_fwd.h: change list<> to vector<> to gain speed
2337 after suggestion from Alfredo
2339 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2341 * lyxtext.h: move the bidi stuff from here...
2344 * Bidi.[Ch]: ... to here
2346 2003-10-23 André Pönitz <poenitz@gmx.net>
2349 * text.C (isLastRow, isFirstRow): new functions
2351 * paragraph.h: new width cache member
2353 * rowpainter.C: replace RowList::iterator with Row & where possible
2355 * lyxfunc.C: replace several view()->text with a single call
2357 * toc.C: fix 'unused' warning
2359 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2361 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2362 when woring with stream::pos_type
2363 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2365 2003-10-22 André Pönitz <poenitz@gmx.net>
2368 * text.C: use Row & instead of RowList::iterator
2370 * lyxrow.h: rename end() to endpos()
2376 2003-10-22 Angus Leeming <leeming@lyx.org>
2378 * buffer.[Ch] (fully_loaded): new member function, returning true
2379 only when the file has been loaded fully.
2380 Used to prevent the premature generation of previews and by the
2381 citation inset to prevent computation of the natbib-style label.
2383 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2384 templates are all set up.
2386 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2388 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2390 * text.C: fixed an "oops" in the "is a bit silly"
2393 2003-10-21 André Pönitz <poenitz@gmx.net>
2395 * FuncStatus.[Ch]: small stuff, whitespace
2397 * lyxfont.[Ch]: operator<<() for debug reasons
2401 * lyxtext.h: whitespace, spelling
2403 * paragraph.C: naming of variables
2406 * text2.C: small stuff
2409 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2411 * text.C: (1) finish off the inset display() work;
2412 (2) fix the "is a bit silly" bug (accessing char
2415 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2417 * text.C: re-introduce display() for insets, fixing the
2418 various bugs (stretch of line above, math inset
2421 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2423 * text.C (rightMargin): remove spurious semicolon
2425 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2428 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2430 * text3.C: fix one crash due to wrong cursor def
2432 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2434 * vc-backend.C (scanMaster): make the regex static
2436 * LaTeX.C (scanAuxFile): make the regexs static
2438 * text3.C (doInsertInset, dispatch, dispatch):
2439 * text2.C (cursorUp, cursorDown):
2440 * text.C (selectNextWordToSpellcheck):
2441 * BufferView_pimpl.C (dispatch):
2442 * lyxfunc.C (dispatch): localDispatch -> dispatch
2444 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2446 * lyxsocket.C: include <cerrno>
2448 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2450 * lyxfunc.C (dispatch): remove textcache stuff
2452 * bufferlist.C (release): remove textcache stuff
2455 * TextCache.C: delete file
2456 * TextCache.h: delete file
2458 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2460 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2461 delete of the bv_->text.
2462 (resizeCurrentBuffer): remove texcache stuff
2463 (workAreaResize): ditto
2465 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2467 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2470 2003-10-16 André Pönitz <poenitz@gmx.net>
2477 * text3.C: speed up by storing y positions per paragraph plus per-row
2478 offset instead of having a 'full' y position in the row.
2480 2003-10-15 André Pönitz <poenitz@gmx.net>
2484 * undo.[Ch]: make undo aware of inner insets
2486 2003-10-14 Angus Leeming <leeming@lyx.org>
2488 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2489 static member functions LyX::ref() and LyX::cref.
2490 (lastfiles): new accessor functions for the new lastfiles_ member var.
2491 (addLyXView, views_): add a new LyXView to the list of views_.
2492 (updateInset): loop over all LyXViews to call their own updateInset
2493 member function, returning a pointer to the Buffer owning the inset.
2495 * BufferView_pimpl.C (loadLyXFile):
2496 * MenuBackend.C (expandLastfiles):
2497 * bufferlist.C (MenuWrite, QuitLyX):
2498 lastfiles is no longer a global variable.
2499 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2501 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2502 static function. Access through LyX::cref().emergencyCleanup().
2504 2003-10-14 André Pönitz <poenitz@gmx.net>
2506 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2508 * undo.[Ch]: restoring part of 'undo in insets'
2511 * undo_funcs.[Ch]: merge with undo.[Ch]
2513 * tabular.C: small cleansing stuff
2515 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2517 * paragraph_funcs.C (readParToken): report unknown insets as error
2518 boxes. Use the outer paragraph as location (also for unknown
2521 * factory.C (readInset): do not abort on reading an unknown inset.
2522 Eat it and return 0.
2524 2003-10-13 Angus Leeming <leeming@lyx.org>
2526 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2528 * lyxrc.C: displayTranslator is now a function,
2529 declared in GraphicsTypes.h.
2531 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2533 * format.C: new placeholder $$a to pass the socket address.
2535 * bufferlist.[Ch]: new function getBufferFromTmp.
2537 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2538 files in the temporary dir.
2540 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2542 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2544 * Makefile.am: add lyxsocket.[Ch].
2546 * lyx_main.C (error_handler): handle SIGPIPE.
2548 2003-10-13 André Pönitz <poenitz@gmx.net>
2550 * BufferView_pimpl.C:
2555 * undo_funcs.[Ch]: use paroffset_type instead of
2556 ParagraphList::iterators to prevent multiple conversion
2557 (and get a more robust interface)
2559 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2563 * text3.C (dispatch): ditto
2565 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2567 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2568 move the onlyfile, use onlyfile instead of foundfile in a couple
2571 * DepTable.C (update): flush the error stream a bit more
2573 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2575 * lyxserver.C (callback): adjust
2577 * lyxfunc.C (getStatus): add a missing brace in commented code
2578 (ensureBufferClean): reindent
2579 (dispatch): delete version taking a string
2581 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2583 * LaTeX.C (deplog): move found file handlig from here...
2584 (handleFoundFile): .. to new function here.
2585 (deplog): make sure to discover several files mentioned on the
2588 2003-10-10 André Pönitz <poenitz@gmx.net>
2595 * text3.C: fix some of the tabular crashes
2597 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2599 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2601 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2603 2003-10-09 André Pönitz <poenitz@gmx.net>
2605 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2608 * BufferView_pimpl.C:
2609 * bufferview_funcs.C:
2620 * undo_funcs.C: adjust
2622 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * text2.C (incrementItemDepth): new function, use a backtracking
2625 algorithm to discover the correct item depth.
2626 (resetEnumCounterIfNeeded): new function, use a backtracking
2627 algorithm to discover if counter reset is needed.
2628 (setCounter): use them. Simplify a bit. Add different labels for
2629 different item depths for itemize.
2631 * paragraph.C (Paragraph): remove initialization of enumdepth
2634 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2635 enumerate and itemize. Change the type of itemdepth to signed char.
2637 2003-10-08 André Pönitz <poenitz@gmx.net>
2639 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2644 * tabular.[Ch]: fix crash after 'row-insert'
2646 2003-10-08 Angus Leeming <leeming@lyx.org>
2648 Fix doxygen warnings.
2650 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2651 Remove CutAndPaste:: prefix from header file declaration.
2653 * LColor.h (fill): remove LColor:: prefix from declaration.
2655 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2656 use lyx::depth_type rather than Paragraph::depth_type so that
2657 header file and .C file match.
2659 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2661 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2662 * aspell.C: \file aspell_local.C -> \file aspell.C
2663 * gettext.C: \file gettext.C -> \file src/gettext.C
2664 * gettext.h: \file gettext.h -> \file src/gettext.h
2665 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2666 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2667 * text.C: \file text.C -> \file src/text.C
2669 * toc.C: move comment so that doxygen is not confused.
2671 2003-10-07 Angus Leeming <leeming@lyx.org>
2673 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2675 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2678 * aspell_local.h: add forgotten std::string's.
2680 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2687 * text3.C: The Box patch. Fancybox support, minipage, parbox
2689 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2695 * ParagraphParameters.h:
2705 * lyxtextclasslist.h:
2708 * paragraph_pimpl.C:
2709 * textcursor.h: add <string> and other small fixes to make Lars'
2710 std::string patch compile with STLport.
2712 2003-10-06 Angus Leeming <leeming@lyx.org>
2714 * LColor.h: Add missing #include <string>.
2716 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * All most all file in all subdirs: Make <string> be the prefered
2719 way of getting to std::string, add using declarations.
2721 2003-10-06 André Pönitz <poenitz@gmx.net>
2723 * metricsinfo.C: initialize LyXFont before changing attribute.
2724 (fixes the 'math in \emph is upright' bug)
2726 2003-10-06 André Pönitz <poenitz@gmx.net>
2728 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2730 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2733 * paragraph_pimpl.C: Small fixes to build using STLport
2735 2003-10-02 André Pönitz <poenitz@gmx.net>
2738 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2740 2003-10-01 André Pönitz <poenitz@gmx.net>
2742 * factory.C: assert early
2744 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2746 * lyx_main.C: remove the global debug object
2748 * debug.h: adjust for new debugstream
2750 * debug.C: adjust for new debugstream and keep the global debug
2753 2003-09-22 Angus Leeming <leeming@lyx.org>
2755 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2756 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2757 an incomplete class LyXFont.
2759 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2761 * factory.C: bug fix in branches
2763 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * lyxfunc.C (processKeySym): adjust
2767 (dispatch): change arg name from ev to func, adjust
2768 (sendDispatchMessage): ditto
2770 * lyx_main.C (defaultKeyBindings): adjust keybindings
2771 (deadKeyBindings): ditto
2773 * kbsequence.C (addkey): return a FuncRequest
2775 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2777 * kbmap.C (bind): take a FuncRequest as arg, adjust
2780 (defkey): change to take a FuncRequest as arg, adjust
2781 (findbinding): take a FuncRequest as arg, adjust.
2783 * funcrequest.h (operator=): added
2785 * funcrequest.C (FuncRequest): default kb_action changed from
2786 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2788 * buffer.C (dispatch): simplify
2789 (dispatch): adjust to take a FuncRequest as arg, adjust
2791 * boost.C (assertion_failed): change assertion message slightly
2793 * ToolbarBackend.C (read): simplify
2795 * MenuBackend.C (binding): adjust call to findbinding, add a
2796 message if no binding is found.
2798 (expandToc): correct by adding a empty FuncRequest
2800 * LyXAction.C: include <boost/assert.hpp>
2801 (isPseudoAction): delete function
2802 (LookupFunc): change name to...
2803 (lookupFunc): this. change return type to FuncRequest.
2804 (getActionName): take kb_action as arg, simplify
2805 (funcHasFlag): add an assert, simplify.
2807 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2809 * toc.C (action): return a FuncRequest, simplify
2811 * lyxfunc.C (processKeySym): adjust
2812 (getStatus): delete version that takes an int.
2814 (dispatch): delete version that takes action as int
2816 (sendDispatchMessage): simplify and adjust
2818 * funcrequest.C (getArg): take unsigned int as arg
2820 * ToolbarBackend.C (read): adjust
2821 (add): delete version that takes func as a string.
2822 (getIton): take a FuncRequest as arg
2824 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2827 * MenuBackend.C (MenuItem): add a new construct that only takes a
2828 Kind, simplify the constructor use for submenus.
2830 (expandLastfiles): adjust
2831 (expandDocuments): adjust
2832 (expandFormats): adjust
2833 (expandFloatListInsert): adjust
2834 (expandFloatInsert): adjust
2835 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2837 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2838 Remove class variables lyx_pseudo_map and lyx_arg_map
2840 * LyXAction.C (searchActionArg): delete function
2841 (getPseudoAction): delete function
2842 (retrieveActionArg): delete function
2843 (LookupFunc): make it return kb_action, simplify.
2844 (getActionName): simplify
2846 * factory.C (createInset): fix new bug
2848 2003-09-19 Angus Leeming <leeming@lyx.org>
2850 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2851 masterFilename_ parameter in the include inset.
2853 * factory.C (createInset): changes due to the changes to InsetInclude.
2855 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2857 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2859 2003-09-18 Angus Leeming <leeming@lyx.org>
2862 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2863 Inset::fillWithBibKeys.
2864 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2866 2003-09-18 Angus Leeming <leeming@lyx.org>
2868 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2870 (ctor): pass and store a 'Buffer const &'
2871 (buffer): new member function.
2873 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2874 '*this' to the LaTeXFeatures ctor.
2876 2003-09-18 Angus Leeming <leeming@lyx.org>
2882 * text.C: rename EnumLColor as LColor_color.
2884 2003-09-18 Angus Leeming <leeming@lyx.org>
2886 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2887 remove #include "insets/insetbase.h" from cursor.h.
2889 2003-09-18 Angus Leeming <leeming@lyx.org>
2891 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2892 InsetOld_code to remove #include "inset.h".
2894 * iterators.C: add #include "insets/inset.h"
2896 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2898 * BufferView.C: remove more locking stuff that apparently doesn't
2899 do anything sensible.
2901 2003-09-16 André Pönitz <poenitz@gmx.net>
2904 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2907 2003-09-16 Angus Leeming <leeming@lyx.org>
2909 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2911 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2914 * paragraph.h: remove #include "lyxfont.h". Forward declare
2917 2003-09-16 Angus Leeming <leeming@lyx.org>
2919 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2920 of support/textutils.h.
2921 (isWord): move the contents of support/textutils.h's IsWordChar here.
2927 * text2.C: add #include "paragraph.h".
2930 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2932 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2938 * LaTeX.C: use namespace alias for lyx::support::os
2940 2003-09-16 Angus Leeming <leeming@lyx.org>
2943 * bufferview_funcs.C:
2946 * paragraph_pimpl.C:
2948 * text.C: add #include "LColor.h".
2950 2003-09-16 Angus Leeming <leeming@lyx.org>
2952 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2953 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2955 Store the FontBits::color variable as an int rather than as an
2956 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2959 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2960 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2961 string calls together.
2963 * lyxrc.C: add #include "LColor.h".
2965 2003-09-15 Angus Leeming <leeming@lyx.org>
2967 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2970 2003-09-15 Angus Leeming <leeming@lyx.org>
2972 * LColor.h: add an EnumLColor wrapper for LColor::color.
2974 * lyxfont.[Ch] (color, setColor, realColor):
2975 * lyxtext.h, text.C (backgroundColor):
2976 pass EnumLColor args to/from the functions, rather than LColor::color
2980 * lyxtext.h: forward declare EnumLColor.
2982 * lyx_main.C: add #include "LColor.h".
2984 2003-09-15 Angus Leeming <leeming@lyx.org>
2986 * .cvsignore: add lyx-gtk.
2988 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * ParagraphParameters.C
2997 * bufferview_funcs.C
3007 * vc-backend.C: remove usage of STRCONV
3009 2003-09-15 Angus Leeming <leeming@lyx.org>
3011 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3012 explicitly define the color passed to the painter.
3014 2003-09-15 Angus Leeming <leeming@lyx.org>
3016 * bufferparams.C (BufferParams): reorder member initializers to avoid
3019 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3021 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3022 * text.C (updateRowPositions): remove an unusual nop
3024 2003-09-12 André Pönitz <poenitz@gmx.net>
3026 * BufferView_pimpl.C:
3035 * Counters.[Ch]: finish the 'automatic counters' job
3037 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3039 * aspell.C: include <boost/assert.cpp> (compile fix)
3041 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3043 * boost.C (assertion_failed): use lyx::support::abort instead of
3046 2003-09-10 Angus Leeming <leeming@lyx.org>
3048 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3049 with their _fwd progeny.
3051 2003-09-09 Angus Leeming <leeming@lyx.org>
3053 134 files throughtout the source tree: replace 'using namespace abc;'
3054 directives with the appropriate 'using abc::xyz;' declarations.
3056 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3058 * boost.C (emergencyCleanup): moved here from LAssert.c
3059 (assertion_failed): new function, called by BOOST_ASSERT
3061 * several files: change Assert to BOOST_ASSERT
3063 2003-09-09 Angus Leeming <leeming@lyx.org>
3065 * buffer.[Ch]: Add an Impl class and move Buffer's member
3066 variables into it. As a result move several header files out of
3069 Add header files to lots of .C files all over the tree as a result.
3071 2003-09-09 Angus Leeming <leeming@lyx.org>
3073 * buffer.[Ch]: make Buffer's member variables private. Add
3076 Lots of changes all over the tree as a result.
3078 2003-09-08 Angus Leeming <leeming@lyx.org>
3080 * graph.C: #include <config.h>.
3082 2003-09-08 Angus Leeming <leeming@lyx.org>
3086 * BufferView_pimpl.C:
3115 * toc.C: remove redundant using directives.
3117 2003-09-07 Angus Leeming <leeming@lyx.org>
3119 * LaTeXFeatures.h: remove #include "support/types.h".
3120 * ToolbarBackend.h: remove #include <algorithm>.
3121 * changes.h: remove #include <ctime>.
3122 * debug.h: remove #include <iosfwd>.
3123 * graph.h: remove #include "support/std_string.h".
3124 * lyx_main.h: remove #include <csignal>.
3125 * lyxlex_pimpl.h: remove #include <fstream>.
3126 * sgml.h: remove #include <algorithm>, <utility>.
3127 * toc.h: remove #include "support/std_ostream.h".
3128 Add #include <iosfwd>.
3130 2003-09-07 Angus Leeming <leeming@lyx.org>
3132 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3134 * converter.h: forward declare LatexRunParams.
3135 * encoding.h: remove #include "lyxrc.h".
3136 * lyxtext.h: remove #include "LColor.h".
3137 * lyxtextclass.h: remove #include "support/types.h".
3138 * trans.h: remove #include "tex-accent.h".
3139 * trans_mgr.h: remove #include "tex-accent.h".
3140 * insets/inset.h: remove #include "support/types.h", <vector>.
3141 * insets/insetcollapsable.h: remove #include "LColor.h".
3142 * insets/insetinclude.h: remove #include "dimension.h".
3143 * insets/insetlatexaccent.h: remove #include "dimension.h".
3144 * insets/insetoptarg.h:: remove #include "insettext.h".
3145 * insets/insettext.h: remove #include "dimension.h",
3146 <boost/shared_ptr.hpp>
3148 * insets/renderers.h: add #include "dimension.h".
3149 * insets/updatableinset.h: add #include "support/types.h".
3151 * many .C files: Associated changes.
3153 2003-09-06 Angus Leeming <leeming@lyx.org>
3155 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3156 one, inside testInvariant.
3158 * PrinterParams.C: new file.
3159 * PrinterParams.[Ch]: move the function bodies out of line.
3161 2003-09-06 Angus Leeming <leeming@lyx.org>
3163 * ParagraphParameters.h: forward declare ParameterStruct rather than
3164 including its header file.
3165 (depth): moved out-of-line.
3167 2003-09-06 Angus Leeming <leeming@lyx.org>
3169 * BufferView_pimpl.h:
3172 * lyxfunc.h: forward declare LyXKeySym rather than
3173 #include "frontends/LyXKeySym.h".
3175 * BufferView_pimpl.C:
3178 * lyxfunc.C: associated changes.
3180 2003-09-06 Angus Leeming <leeming@lyx.org>
3182 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3183 As a result, can remove the #include "insets/inset.h" from BufferView.h
3185 2003-09-06 Angus Leeming <leeming@lyx.org>
3187 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3188 As a result, can remove the #include "insets/inset.h" from BufferView.h
3190 2003-09-06 Angus Leeming <leeming@lyx.org>
3196 * bufferview_funcs.C:
3197 * BufferView_pimpl.C:
3202 * ParagraphParameters.C:
3207 * frontends/controllers/ControlDocument.C:
3208 * insets/insetcaption.C: rearrange the #includes into some sort of
3211 * buffer.h: remove #includes ErrorList.h, undo.h
3213 2003-09-06 Angus Leeming <leeming@lyx.org>
3215 * support/types.h: add a 'depth_type' typedef, used to store the
3216 nesting depth of a paragraph.
3219 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3220 defining explicitly.
3223 * paragraph_funcs.h:
3224 * ParagraphParameters.h:
3225 * sgml.h: use lyx::depth_type rather than Paragraph or
3226 ParameterStruct's depth_type.
3229 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3232 * BufferView_pimpl.C:
3234 * ParagraphParameters.C:
3237 * bufferview_funcs.C:
3244 * frontends/LyXView.C:
3245 * frontends/controllers/ControlDocument.C:
3246 * frontends/controllers/ControlErrorList.C:
3247 * insets/insetbibitem.C:
3248 * insets/insetbranch.C:
3249 * insets/insetcaption.C:
3250 * insets/insetcollapsable.C:
3251 * insets/insetenv.C:
3252 * insets/insetert.C:
3253 * insets/insetfloat.C:
3254 * insets/insetfoot.C:
3255 * insets/insetfootlike.C:
3256 * insets/insetnewline.C:
3257 * insets/insetquotes.C:
3258 * insets/insettabular.C:
3259 * insets/insettext.C:
3260 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3262 * frontends/controllers/ControlChanges.C: #include "changes.h".
3264 2003-09-06 Angus Leeming <leeming@lyx.org>
3266 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3267 than #including paragraph.h.
3270 * RowList.h: deleted. Superfluous.
3280 * insets/insettext.h: use ParagraphList_fwd.h rather than
3283 * paragraph.h: don't forward declare ParagraphList.
3286 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3287 rather than ParagraphList.h. paragraph.h is still needed for the
3288 Paragraph::depth_type parameters.
3290 * textcursor.h: enable it to compile stand-alone in light of the
3293 * bufferview_funcs.C:
3305 * frontends/controllers/ControlParagraph.C:
3306 * frontends/controllers/ControlTabular.C:
3307 * insets/insetmarginal.C:
3308 * insets/insetminipage.C:
3309 * insets/insetnote.C:
3310 * insets/insetoptarg.C: add header files needed to compile again.
3312 2003-09-06 Angus Leeming <leeming@lyx.org>
3314 * RowList_fwd.h: new file, forward-declaring Row rather than
3315 #including lyxrow.h.
3320 * insets/insettext.h: use it instead of RowList.h
3322 * bufferview_funcs.C:
3329 * text3.C: #include "RowList.h".
3331 2003-09-05 Angus Leeming <leeming@lyx.org>
3333 * factory.C (createInset):
3334 * vspace.C (c-tor): replace sscanf call with an istringstream.
3335 * ispell.C: re-add missing HP/UX headers.
3336 * lyxserver.C: re-add missing os2 headers.
3338 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3347 * text3.C: re-add missing system headers, needed for 2.95.2.
3349 2003-09-05 Angus Leeming <leeming@lyx.org>
3351 Changes most place everywhere due to the removal of using directives
3352 from support/std_sstream.h.
3354 2003-09-05 Angus Leeming <leeming@lyx.org>
3356 Replace LString.h with support/std_string.h,
3357 Lsstream.h with support/std_sstream.h,
3358 support/LIstream.h with support/std_istream.h,
3359 support/LOstream.h with support/std_ostream.h.
3361 Changes resulting throughout the tree.
3363 2003-09-05 Angus Leeming <leeming@lyx.org>
3365 * sgml.h: ensure that the header file can be compiled stand-alone.
3366 * *.C: strip out redundant #includes. (320 in total.)
3368 2003-09-04 Angus Leeming <leeming@lyx.org>
3370 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3371 here (from getPackages).
3373 * debug.[Ch]: add a new EXTERNAL tag.
3375 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3377 * text2.C (cursorEnd): simplify
3379 (getColumnNearX): adjust
3381 * text.C (computeBidiTables): adjust
3384 * rowpainter.C (paintChars): adjust
3385 (paintSelection): adjust
3386 (paintChangeBar): adjust
3389 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3391 (numberOfSeparators): adjust
3393 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3399 * text3.C: Restricts the mouse click functionality
3400 of insets like bibtex, include, toc and floatlist to the visible
3401 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3402 up the dialogs. Cursor has to be in front of the inset (i.e.
3403 start of row) for this to function.
3405 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3407 * bufferview_funcs.C (currentState): output row information
3409 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3411 * bufferview_funcs.C (currentState): output paragraph position
3413 2003-09-04 Angus Leeming <leeming@lyx.org>
3415 * FloatList.h: move out #include "Floating.h".
3416 * LaTeX.h: move out #include "DepTable.h".
3417 * LyXAction.h: move out #include "funcrequest.h".
3418 * buffer.h: move out #include "author.h", "iterators.h".
3419 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3420 * lyx_main.h: move out #include "errorlist.h".
3421 * lyxfunc.h: move out #include "FuncStatus.h".
3422 * lyxtext: move out #include "lyxcursor.h".
3423 * paragraph_pimpl.h: move out #include "counters.h".
3425 2003-09-03 Angus Leeming <leeming@lyx.org>
3427 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3428 preamble_snippets list, enabling us to add snippets to the preamble
3429 only if the snippet was not there already.
3431 2003-09-04 Angus Leeming <leeming@lyx.org>
3433 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3435 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3437 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3440 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3442 * BranchList.C: point fix, earlier forgotten
3444 2003-09-02 Angus Leeming <leeming@lyx.org>
3446 * box.C (contains): renamed from 'contained' after a fantastic
3449 2003-09-02 John Levon <levon@movementarian.org>
3455 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3457 2003-09-02 John Levon <levon@movementarian.org>
3459 * text2.C: simplification of cursorEnd(), including partial
3462 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * buffer.C (readFile): add a space
3466 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3468 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3470 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3472 * buffer.C (readFile): new function, take a filename and a
3473 ParagraphList::iterator
3475 (readFile): adjust, make it private. don't use setStream, make
3476 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3477 always contain the filename.
3479 * BufferView.C (insertLyXFile): simplify and make it work for
3482 2003-08-30 John Levon <levon@movementarian.org>
3484 * Makefile.am: fix dist (from Kayvan)
3486 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3488 * most files: change to use const Buffer refs
3490 2003-08-27 André Pönitz <poenitz@gmx.net>
3492 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3493 on top of ownerPar().
3495 2003-08-27 John Levon <levon@movementarian.org>
3497 * funcrequest.C: properly initialise POD members
3499 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3501 * lyxtext.h (top_y): move top_y from here
3506 * BufferView_pimpl.[Ch]: to here
3507 * frontends/screen.C:
3508 * insets/insettabular.C:
3509 * insets/insettext.C: adjust
3510 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3512 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3515 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3517 2003-08-26 André Pönitz <poenitz@gmx.net>
3519 * paragraph_func.[Ch] (outerPar): new function
3522 * paragraph_funcs.C:
3523 * paragraph_funcs.h:
3524 * paragraph_pimpl.C:
3525 * text2.C: remove Inset::par_owner
3527 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3532 * text2.C: eliminates the needFullRow/display() stuff
3533 altogether, putting the logic in metrics/draw in the insets.
3535 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3537 * text2.C (redoParagraphInternal, redoParagraphs):
3538 * text.C (redoParagraph): add a call to updateRowPositions at the
3539 end of each 'metrics-like' call. Remove all others.
3540 (getRow): remove the 'y-computing' version.
3541 (getRowNearY): do not compute nor return the real y. Solve the
3542 'y < 0' problem and simplify.
3544 2003-08-22 Angus Leeming <leeming@lyx.org>
3546 * *.[Ch]: clean-up of licence and author blurbs.
3547 Also move config.h out of a few .h files and into a few .C files.
3549 2003-08-22 André Pönitz <poenitz@gmx.net>
3551 * lyxrow.[Ch]: add x_ and *fill_ members
3556 * text2.C: adjust/remove prepareToPrint() calls
3558 2003-08-22 André Pönitz <poenitz@gmx.net>
3560 * lyxrow.[Ch]: add end_ member
3562 * lyxrow_funcs.C: use LyXRow::end_
3564 * lyxtext.h (singleWidth): add LyXFont parameter
3567 * text2.C: adjust LyXText::singleWidth() calls
3569 * text.C (redoParagraph): simplify row breaking logic
3572 2003-08-19 André Pönitz <poenitz@gmx.net>
3574 * funcrequest.C: initialize button_ member
3577 * rowpainter.[Ch]: interface consolidation
3579 2003-08-18 André Pönitz <poenitz@gmx.net>
3582 * BufferView_pimpl.C:
3584 * paragraph_funcs.C:
3586 * text3.C: remove LyXScreen::draw() and fitCursor calls
3588 * BranchList.h: remove spurious semicolons
3590 * MenuBackend.C: fix branchlist related crash
3592 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3600 * bufferparams.[Ch]:
3604 * text3.C: implements the 'branch inset'
3605 idea. This allows the output of various versions of a document
3606 from a single source version, selectively outputing or suppressing
3607 output of parts of the text.
3608 This implementation contains a 'branch list editor' in a separate
3609 tab of the document settings dialog. Branches are user definable
3610 and have a "display colour" to distinguish them on-screen.
3612 ColorHandler was somewhat cleaned up.
3613 (1) make possible a dynamically growing LColor list by allowing
3614 the graphic context cache to grow along (vector);
3615 (2) eliminate an IMHO unnecessary step in colour allocation.
3617 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3619 * BufferView_pimpl.C: compile fix
3621 2003-08-15 André Pönitz <poenitz@gmx.net>
3623 * rowpainter.C: remove extra metrics calls
3625 * lyxtext.h: merge the two constructors into a single one,
3626 pass reference to owner's par list
3628 * BufferView_pimpl.C:
3632 2003-08-15 André Pönitz <poenitz@gmx.net>
3634 * lyxrow_funcs.[Ch]:
3637 * paragraph_funcs.C:
3642 * text_funcs.C: split LyXText::rowlist_ into individual
3643 Paragraph::rows_ chunks
3646 * BufferView_pimpl.[Ch]:
3649 * text3.C: remove toggleSelection()
3651 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3653 * bufferlist.C: beautify two alerts (shorter text of buttons)
3654 * buffer.C: Remove redundant ' ' from message
3656 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3657 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3658 rename VALIGN_CENTER to VALIGN_MIDDLE
3660 2003-08-11 André Pönitz <poenitz@gmx.net>
3662 * lyxtext.h (getPar):
3663 * text.C: new function
3665 2003-08-11 André Pönitz <poenitz@gmx.net>
3668 * tracer.[Ch]: remove unneeded files
3670 * InsetList.[Ch]: remove resizeInsetsLyXText()
3675 * text3.C: merge insertParagraphs() and appendParagraph()
3676 remove breakAgain(), update()
3678 * BufferView_pimpl.[Ch]:
3679 * bufferview_funcs.[Ch]:
3683 * tabular.C: adjust after text & InsetList changes.
3685 2003-08-08 André Pönitz <poenitz@gmx.net>
3687 * text.C (insertChar, backspace): replace rowlist fiddling
3688 with rebreak of full par
3691 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3692 checkParagraph, updateInset): removed
3694 2003-08-07 André Pönitz <poenitz@gmx.net>
3697 * text3.C: merge some LFUN handlers, remove dead code
3699 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3701 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3703 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3705 * text2.C (DEPM): fix part of bug 1255 and 1256
3707 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3709 * BufferView_pimpl.C (workAreaDispatch): change to use
3710 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3711 that are no mouse related.
3713 2003-08-05 André Pönitz <poenitz@gmx.net>
3716 * BufferView_pimpl.[Ch]:
3717 * bufferview_funcs.C:
3719 * text3.C: rip out "deep update"
3721 * textcursor.[Ch] (last_sel_cursor): remove unused member
3723 2003-08-04 André Pönitz <poenitz@gmx.net>
3726 * BufferView_pimpl.[Ch]:
3727 * ParagraphParameters.C:
3728 * bufferview_funcs.C:
3734 * text3.C: replace "complicated" BufferView::update(...) calls with
3737 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3739 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3741 * Makefile.am (lyx_SOURCES): add paper.h
3743 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3745 * Makefile.am: move things around so that both lyx-qt and
3746 lyx-xforms can be built (according to --with-frontend). Then lyx
3747 is a symbolic link to lyx-[firstfrontend]
3749 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3751 * Always use std::endl with lyxerr
3753 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3755 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3757 2003-08-01 André Pönitz <poenitz@gmx.net>
3760 * BufferView_pimpl.[Ch]:
3762 * text3.C: merge BufferView::repaint() and BufferView::update()
3764 2003-08-01 José Matos <jamatos@lyx.org>
3766 * buffer.[Ch]: file_format is no longer a buffer data element.
3768 2003-08-01 André Pönitz <poenitz@gmx.net>
3773 * text2.C: make redoParagraph more independent of current cursor
3775 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3777 * text2.C: remove unneeded members
3779 2003-07-30 André Pönitz <poenitz@gmx.net>
3781 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3783 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3784 create a single function...
3786 * paragraph_funcs.C (moveItem): ... here.
3789 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3791 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3793 * LColor.[Ch]: Add comment and greyedout logical colors.
3795 2003-07-30 André Pönitz <poenitz@gmx.net>
3797 * tabular.C: don't use Assert too heavily. This crashes where it
3800 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3802 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3803 is disabled (bug 1232)
3805 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3807 * factory.C: limited 'arg' scope
3809 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3811 * factory.C: fixed Note submenu issues
3813 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3815 * factory.C: submenu for Note/Comment/Greyedout
3817 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3820 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3822 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3825 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3826 greyedout. Patch provided by Jürgen Spitzmüller.
3828 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3830 * kbmap.C (read): fix error message when reading bind files
3832 2003-07-29 Angus Leeming <leeming@lyx.org>
3834 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3835 certainly does not do what it purports to do. I am doing it, and
3836 us, a favour by killing it.
3838 2003-07-28 José Matos <jamatos@lyx.org>
3840 * buffer.C (readBody, do_writeFile):
3841 * paragraph.C(readParagraph): \end_document replaces \the_end.
3843 2003-07-29 André Pönitz <poenitz@gmx.net>
3846 * BufferView_pimpl.[Ch]:
3850 * textcursor.[Ch]: remove toggleToggle & Co
3852 2003-07-28 José Matos <jamatos@fep.up.pt>
3854 * buffer.C (readParagraph):
3855 * params_func (readParToken, readParagraph):
3856 * paragraph.C (write): \layout -> \begin_layout.
3858 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * lyxlex_pimpl.C (setFile): clean up slightly.
3862 * bufferparams.h: add compressed var
3864 * buffer_funcs.C (readFile): adjust for LyXLex change
3865 (newFile): ditto + simplify
3867 * buffer.C (writeFile): handle writing of compressed files
3869 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3870 Check if the file is compressed and set a bufferparm if so.
3872 * Makefile.am (lyx_LDADD): remove explicit -lz
3874 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3876 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3877 makeDocBookFile): put the real LyX version in the first line of
3881 * version.C.in: remove lyx_docversion
3883 * tabular.C (write_attribute): add a template-based version to
3884 write enums properly
3886 2003-07-28 André Pönitz <poenitz@gmx.net>
3891 * text3.C: use doubles again for x-coordinates. They are needed.
3893 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3895 * messages.C (getLocaleDir): use lyx_localedir()
3897 * lyxlex_pimpl.C (setFile): compress stuff
3899 * buffer.C (writeFile): add some compression stuff
3900 (do_writeFile): new func, dont call expliti close... will this
3903 * Makefile.am (lyx_LDADD): add -lz
3905 2003-07-28 José Matos <jamatos@fep.up.pt>
3907 * buffer.C: increment file format.
3908 * paragraph_funcs (readParagraph, readParToken):
3909 * paragraph.C (readParagraph): add \end_layout.
3911 2003-07-27 Angus Leeming <leeming@lyx.org>
3913 * Makefile.am: remove special casing for configure-time setting of
3914 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3916 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3917 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3919 2003-07-26 André Pönitz <poenitz@gmx.net>
3921 * paragraph_func.[Ch]:
3922 * paragraph.C (realizeFont): inline it whereever it is used
3927 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3930 2003-07-26 André Pönitz <poenitz@gmx.net>
3934 * text2.C: get rid of LyXText::need_break_row
3936 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * toc.[Ch]: put namespace toc inside namespace lyx
3940 * MenuBackend.C (expandToc2): adjust for lyx::toc
3943 * lyxfunc.C (dispatch): adjust for lyx::find
3945 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3946 lyx::find instead. Reorganize a bit.
3947 (LyXReplace): rename to replace
3948 (LyXFind): rename to find
3950 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3953 2003-07-26 André Pönitz <poenitz@gmx.net>
3955 * text.C (setHeightOfRow): restrict scope of temporary variable
3957 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3958 code (never has been used?)
3960 2003-07-27 Asger Alstrup <alstrup@local>
3962 * text.C (fill): Optimise algorithm to exploit that we can reuse
3963 the LyXFont for many characters.
3964 (setHeightOfRow): Same thing.
3965 (rowBreakPoint): Same thing.
3967 2003-07-26 Asger Alstrup <alstrup@local>
3969 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3971 * text.C (singleWidth): Spurious font copying in hot-spot
3972 singleWidth avoided. Reorder tests for arabic for efficiency.
3974 * text.C (fill): handle empty paragraphs better.
3976 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3979 * encoding.h: add includes
3981 * lyxrc.C: remove reading of bind files
3983 * lyx_main.C (init): setup bindings and menus only if we have a
3986 * kbmap.C (read): new method. Do the actual reading of bind
3989 * converter.C (dvipdfm_options):
3992 (output): adapt PAPER_* enums.
3994 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3996 * bufferparams.h: remove paper-related enums from there
3998 * paper.h: New file. A trivial header file to hold paper-related
3999 enums. It should later expand to contain many paper-related
4002 * lyxrc.C: declare extern displayTranslator
4004 2003-07-27 José Matos <jamatos@fep.up.pt>
4006 * tabular.[Ch] (linuxdoc): add support for tables and figures
4009 2003-07-27 José Matos <jamatos@fep.up.pt>
4011 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4012 consistency in both functions.
4013 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4015 2003-07-26 Asger Alstrup <alstrup@local>
4017 * rowpainter.C (paintRows): Change algorithm to work directly on
4018 the insets rather than asking every character in the document
4019 whether its an inset.
4021 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4023 * buffer.C (openFileWrite): factorize some code
4025 2003-07-26 Angus Leeming <leeming@lyx.org>
4028 * lyx_main.[Ch]: replace occurances of system_tempdir with
4031 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * rename Inset to InsetOld
4035 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4037 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4038 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4039 which I think is a bit clearer. EDIT is gone, since it was
4040 premature optimisation, and broken for mathed anyway.
4041 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4042 with cursor positioning in insets as well (math insets still do not
4043 work, but that's a different story anyway.) It mysteriously
4044 crashes sometimes with undo in the first paragraph, but I'm fairly
4045 confident that this is a compiler bug.
4047 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4049 * paragraph.C (Paragraph): adjust for new clone return type
4051 (copyIntoMinibuffer): ditto
4053 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4055 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4056 by not having a special case, and always doing a full rebreak of
4057 the document after undo.
4059 2003-07-23 Angus Leeming <leeming@lyx.org>
4061 * factory.C (createInset): InsetExternal::setParams now takes a
4064 2003-07-23 Angus Leeming <leeming@lyx.org>
4066 * factory.C (createInset): changed interface to the external and
4067 graphics mailers' string2params functions.
4069 2003-07-23 Angus Leeming <leeming@lyx.org>
4071 * factory.C (createInset): pass a
4072 Buffer const * parameter to InsetExternalMailer's string2params.
4074 2003-07-22 John Levon <levon@movementarian.org>
4076 * Thesaurus.h: include the right aiksaurus header
4078 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4080 * MenuBackend.C (expand): check menu shortcuts unconditionally
4082 2003-07-21 Angus Leeming <leeming@lyx.org>
4084 * factory.C (createInset): pass a
4085 buffer_path parameter to InsetGraphicsMailer's string2params.
4087 2003-07-21 Angus Leeming <leeming@lyx.org>
4089 * BufferView_pimpl.C (buffer):
4092 * lyxfunc.C (dispatch):
4093 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4094 rather than the grfx shortcut.
4096 2003-07-21 André Pönitz <poenitz@gmx.net>
4098 * rowpainter.C: remove unused variables
4101 * tabular_funcs.h: move to tabular.C
4102 * Makefile.am: adjust
4104 * tabular.[Ch]: basic optical cleaning
4106 * author.h: pass references, not values
4108 2003-07-18 André Pönitz <poenitz@gmx.net>
4116 * text3.C: two-phase drawing for InsetText and InsetTabular
4117 some float -> int changes.
4119 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4121 * lyx_main.C: fix the fix
4123 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4125 * lyx_main.C: fix a crash in batch mode if no files specified
4128 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4130 * format.[Ch] (papersize): moved to BufferParams
4131 * converter.[Ch] (dvips_options): moved to BufferParams
4132 (dvipdfm_options): moved to anon namespace
4133 * bufferparams.[Ch]: added above functions.
4135 2003-07-17 André Pönitz <poenitz@gmx.net>
4139 * text2.C: don't call inset->update() anymore
4141 * metricsinfo.[Ch]: add convenience constructor
4143 2003-07-16 André Pönitz <poenitz@gmx.net>
4148 * text2.C: replace the LyXCursor::irow_ member with
4149 on-demand computation of the value
4151 2003-07-16 John Levon <levon@movementarian.org>
4153 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4155 2003-07-15 André Pönitz <poenitz@gmx.net>
4158 * text2.C: remove no more needed refresh_row
4160 2003-07-15 André Pönitz <poenitz@gmx.net>
4165 * text3.C: refresh_status tristate -> need_update bool
4167 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4169 * lyxtext.h (init): remove reinit argument (act as if always true)
4170 * text2.C: adjust to that
4172 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4174 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4175 * text3.C: use it to delete selections in some cases
4176 (bugs 441, 673, 702, 954).
4178 2003-07-14 André Pönitz <poenitz@gmx.net>
4180 * rowpainter.[Ch]: reduce interface
4182 2003-07-14 André Pönitz <poenitz@gmx.net>
4184 * BufferView_pimpl.C:
4185 * text2.C: adjust after removing unused BufferView * argument
4187 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4189 * text2.C (init): fix a crash fired on resize
4191 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4193 * buffer.[Ch]: added new closing signal
4194 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4195 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4196 BufferView::Pimpl via the closing the signal
4198 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4200 * buffer.[Ch]: take out all bv-related from buffer
4202 * BufferView_pimpl.[Ch]: connect to new signals
4203 * CutAndPaste.C: removed useless asserts
4204 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4207 * lyxfunc.C: moved view-related funciontality from vc here
4208 * paragraph.C: removed outdated comments
4211 2003-07-10 André Pönitz <poenitz@gmx.net>
4213 * BufferView_pimpl.C:
4217 * text2.C: remove InsetText::InnerCache, clean up consequences
4219 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4221 * ispell.C: fix two typos in error messages
4223 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4225 * Extend Note inset to other forms of annotation like Comment
4226 and Greyedout. Right button click gives dialog.
4228 Files modified or added (+):
4232 * ControlNote.[Ch] +
4234 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4235 frontends/controllers
4239 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4241 * aspell.C: add missing namespace lyx::support
4243 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4245 * BufferView.[Ch] (newFile): Add
4246 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4247 * LaTeX.[Ch] (message): added this signal and use it
4248 * buffer.[Ch] (busy, message): added these signals and use them
4249 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4253 * importer.C: use buffer signals instead of direct bv calling
4254 * lyx_cb.[Ch] (ShowMessage): removed
4257 * paragraph_funcs.C:
4258 * text2.C: use buffer signals
4260 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * introduce namespace lyx::graphics
4264 2003-07-02 André Pönitz <poenitz@gmx.net>
4266 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4268 2003-07-01 André Pönitz <poenitz@gmx.net>
4275 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4276 text*.C to text_func.C
4278 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * introduce namespace lyx::support
4282 2003-06-30 André Pönitz <poenitz@gmx.net>
4287 * text.C: re-enable --with-included-string
4289 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4291 * textcursor.C: add <config.h>
4293 * text.C (getWord): remove const from word_location arg
4295 * lyxvc.C (getLogFile): fix const type order
4297 * lyxtext.h: remove const from word_location arg, add arg name
4299 * lyxlayout.h: currect type on labeltype.
4301 * importer.C: correct \file
4303 * converter.C (intToFormat): use std:: on ret val, ws changes
4305 * bufferlist.h: correct \file
4307 * buffer.C (makeLinuxDocFile): fix const type order
4308 (makeDocBookFile): ditto
4309 (fillWithBibKeys): use std:: on stdlib args.
4311 * CutAndPaste.C: fix authors.
4312 (availableSelections): use std:: on return vector
4314 2003-06-27 André Pönitz <poenitz@gmx.net>
4316 * BufferView_pimpl.C:
4317 * bufferview_funcs.C:
4325 * text3.C: remove LyXCursor::row_ member
4328 * text.C: rename fullRebreak() to partialRebreak() and implement
4329 a fullRebreak() that really bereks fully
4331 * textcursor.h: new struct for cursor-related data
4333 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4335 * lyx_main.C (LyX): get full path of document loaded on the
4338 2003-06-26 André Pönitz <poenitz@gmx.net>
4340 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4341 remove unused/broken operator>,<,>=.
4343 * text.C: remove only use of broken operator<= in an Assert().
4345 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4347 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4348 moved errorlist_.clear to showErrorList
4350 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4352 * converter.C (scanLog, runLaTeX):
4353 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4354 move the bv->showErrorList call to the callers
4355 * lyxfunc.C: i.e. here...
4357 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4358 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4359 namespace, the second to...
4360 * buffer_funcs (BufferFormat, parseErrors): added
4361 * errorlist.C (ErrorList(TeXErrors const &)): removed
4363 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4365 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4367 2003-06-24 "Garst R. Reese" <reese@isn.net>
4371 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4373 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4375 * version.C.in: change docversion to 1.4
4377 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4379 * buffer.C: fix a bug just introduced
4381 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4383 * buffer.[Ch]: added the parseError signal and use it, removed
4385 * BufferView.[Ch] (addError): moved to ...
4386 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4387 to the Buffer::parseError signal to catch (guess what) parse errors
4388 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4390 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4392 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4393 ability to create a buffer and to return an existing one from
4394 the list. Moved these functions to...
4395 * buffer_funcs.[Ch]: added
4396 * BufferView.[Ch] (loadLyXFile): added
4397 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4398 job removed from bufferlist::loadLyXFile.
4399 * buffer.C (setReadOnly): make it work without view
4400 (i.e added an if (users))
4402 2003-06-19 Angus Leeming <leeming@lyx.org>
4405 * LyXAction.C (init):
4406 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4407 with LFUN_DIALOG_SHOW <name> <data>.
4409 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4411 * CutAndPaste.C (availableSelections): small compilation fix for
4412 ancient (gcc 2.9x) compilers
4414 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * text3.C (cursorNext): add tmp var
4418 * text2.C (updateCounters): for function calling out of for clause
4419 (replaceSelectionWithString): ditto
4420 (insertStringAsParagraphs): ditto
4421 (getColumnNearX): add tmp var
4422 (setCursorFromCoordinates): add tmp var
4423 (cursorDownParagraph): add tmp var
4424 (deleteEmptyParagraphMechanism): add tmp var
4426 * text.C (insertChar): add tmp var
4428 * rowpainter.C (paintDepthBar): add tmp var
4430 * CutAndPaste.C (availableSelections): potentially check all
4431 paragraphs in a cut to fill the shown strings.
4433 2003-06-18 André Pönitz <poenitz@gmx.net>
4435 * kbmap.[Ch]: use vector<> instead of list<>
4437 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4439 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4440 pasteSelection with index
4442 * text2.C (pasteSelection): modify, call pasteSelection with index
4444 * paragraph.C (asString): reimplement version with no interval to
4445 call the one with interval.
4447 * lyxtext.h: add index arg to pasteSelection
4449 * MenuBackend.C (MenuItem): handle PasteRecent
4450 (Menu::read::Menutags): add md_pasterecent
4452 (expandPasteRecent): new function
4455 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4457 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4459 (availableSelections): new function
4461 2003-06-17 Angus Leeming <leeming@lyx.org>
4463 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4465 2003-06-17 Angus Leeming <leeming@lyx.org>
4468 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4470 * lyxfunc.C (dispatch): invoke it.
4472 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4474 * iterators.C (operator++, ParPosition): reintroduce some
4475 const_cast for the benefit of older compilers.
4477 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4479 * text3.C (dispatch): do not modify clipboard when doing
4480 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4481 LFUN_DELETE_SKIP on a selection selection
4483 2003-06-16 André Pönitz <poenitz@gmx.net>
4489 * tabular.[Ch]: IU of clone() and getLabelList();
4491 2003-06-13 André Pönitz <poenitz@gmx.net>
4493 * tabular.h: compactification
4495 2003-06-12 André Pönitz <poenitz@gmx.net>
4499 * tabular_funcs.h: some renaming plus whitespace
4501 2003-06-12 André Pönitz <poenitz@gmx.net>
4504 * BufferView_pimpl.C:
4510 * toc.C: Return a Paragraph & for ParIterator::operator*()
4512 2003-06-11 John Levon <levon@movementarian.org>
4516 * ToolbarBackend.C: add "Toolbars" section and
4519 2003-06-10 Angus Leeming <leeming@lyx.org>
4522 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4524 * lyxfunc.C (dispatch): invoke it.
4526 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4528 * main.C: protect <ios> with HAVE_IOS
4529 (main): protect sync_with_stdio with HAVE_IOS
4531 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4533 * text2.C (cutSelection): adjust
4534 (pasteSelection): adjust
4536 * messages.C: handle get of empty string
4538 * main.C (main): use sync_with_stdio(false)
4540 * lyxfunc.C (dispatch): adjust
4542 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4543 (WriteAs): remove unneeded BufferView arg.
4545 * bufferparams.h: use correct types on papersize, papersize2 and
4548 * bufferparams.C (readToken): adjust for type
4549 (writeLaTeX): add missing cases to switch.
4551 * bufferlist.C (quitWriteBuffer): adjust
4554 * buffer.C (asciiParagraph): remove some commented code.
4556 * CutAndPaste.C: remove current_view extern variable.
4557 (cutSelection): add BufferParams arg.
4558 (eraseSelection): add BufferParams arg.
4559 (pasteSelection): add Buffer const & arg
4561 2003-06-07 John Levon <levon@movementarian.org>
4564 * paragraph_funcs.C:
4565 * paragraph_pimpl.C:
4569 * paragraph.C: allow InsetERT to freely space lines,
4570 and some consolidation of code
4572 2003-06-06 José Matos <jamatos@fep.up.pt>
4574 * buffer.C (makeDocBookFile): fix bug #821
4576 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4578 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4580 2003-06-04 Angus Leeming <leeming@lyx.org>
4582 * buffer.C: bump format to 224.
4584 2003-06-05 André Pönitz <poenitz@gmx.net>
4586 * text2.C (redoParagraphs): remove two const_cast<>
4588 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4590 * ParagraphList.h: remove last remnants of NO_STD_LIST
4592 2003-06-03 Angus Leeming <leeming@lyx.org>
4594 * factory.C (createInset): small change to the way InsetExternal's params
4597 2003-06-04 André Pönitz <poenitz@gmx.net>
4599 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4601 * paragraph_pimpl.h:
4602 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4604 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4606 * undo_funcs.C: make some simple cases of undo work again
4608 2003-06-03 John Levon <levon@movementarian.org>
4610 * ispell.C: HPUX doesn't have sys/select.h
4613 2003-06-03 John Levon <levon@movementarian.org>
4615 * CutAndPaste.C: update tabular and include inset
4620 * paragraph.C: remove owningBuffer(), don't pass Buffer
4623 * factory.C: insetGraphicsParams changed
4625 2003-06-02 John Levon <levon@movementarian.org>
4631 * text3.C: remove insetparent
4633 2003-06-02 John Levon <levon@movementarian.org>
4636 * buffer.C: fix inset_iterator.end(), move out of line
4639 2003-06-01 John Levon <levon@movementarian.org>
4641 * text3.C: use a proper cut/paste when doing inset
4642 insert (from Jürgen Spitzmüller)
4644 2003-06-01 John Levon <levon@movementarian.org>
4646 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4648 2003-05-30 André Pönitz <poenitz@gmx.net>
4650 * rowpainter.C: unify second drawing phase
4652 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * trans_mgr.C: remove one case of current_view
4656 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4658 * paragraph_funcs.h: remove paragraph.h include
4660 * paragraph.h: delete NO_STD_LIST stuff
4662 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4664 * buffer.h: remove paragraph.h include
4666 * ParagraphList.C: delete file
4668 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4670 * toc.C (getTocList): adjust
4672 * paragraph_pimpl.C (validate): adjust
4674 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4676 * paragraph.C (Paragraph): adjust
4677 (getPositionOfInset): use const_iterator, adjust
4678 (bibitem): use const_iterator, adjust
4679 (setInsetOwner): adjust
4681 * iterators.C (operator++): adjust
4683 * InsetList.[Ch]: Replace selfmade iterator with standard
4684 vector::iterator also introduce const_iterator. Remove getPos,
4685 getInset and setInset from InsetTable. Adjust accordingly.
4687 * BufferView.C (lockInset): adjust
4688 (ChangeInsets): adjust
4690 * tabular.[Ch]: delete commented same_id functions
4692 2003-05-28 John Levon <levon@movementarian.org>
4694 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4696 2003-05-28 André Pönitz <poenitz@gmx.net>
4698 * metricsinfo.[Ch]: remove 'fullredraw' member
4700 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4702 * lyxtextclass.C (operator): remove caching.
4704 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4708 * text2.C (cursorBottom): adjust
4709 (setCounter): use ParagraphList::find, adjust
4711 * text.C (workWidth): use ParagraphList::find, adjust
4713 * lyxcursor.C (LyXCursor): adjust
4715 * buffer.C (inset_iterator): adjust
4717 * ParagraphList.h: make iterator(value_type) private, make
4718 ParagraphList a friend of iterator.
4720 * ParagraphList.C (find): new function
4722 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4724 2003-05-27 André Pönitz <poenitz@gmx.net>
4726 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4728 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4730 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4732 2003-05-26 John Levon <levon@movementarian.org>
4734 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4736 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * remove same_id from function signatures, adjust.
4740 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4744 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4746 * paragraph.C (Paragraph): get rid of same_ids parameter
4748 * ParagraphList.C (insert): adjust
4751 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4753 * paragraph_funcs.C (breakParagraph): adjust
4754 (breakParagraphConservative): adjust
4756 * buffer.C (readParagraph): adjust
4758 * ParagraphList.C (insert): take a reference instead of a pointer
4761 * paragraph.[Ch] (id): new function
4763 * bufferlist.C (newFile): adjust
4765 * ParagraphList.C (ParagraphList): adjust
4767 (push_back): take a reference instead of a pointer.
4769 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4771 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4774 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4775 set else use old code.
4777 * ParagraphList.C: remove all NO_NEXT code and only compile this
4778 code of NO_STD_LIST is set.
4780 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4782 * BufferView_pimpl.C:
4792 * graphics/GraphicsConverter.C:
4793 * graphics/PreviewLoader.C: header adjustment
4795 2003-05-23 Angus Leeming <leeming@lyx.org>
4797 * LaTeXFeatures.[Ch] (useBabel): new method.
4798 * bufferparams.C (writeLaTeX): use it.
4800 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4802 * ParagraphList.h (set): remove unused function.
4804 2003-05-23 André Pönitz <poenitz@gmx.net>
4807 * BufferView_pimpl.C:
4811 * undo_funcs.C: setUndo reworked
4813 * iterators.[Ch]: add access to topmost ParagraphList
4815 * lyxtext.[Ch] (workWidth): add a const
4817 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4819 * texrow.[Ch] (increasePos): remove function
4820 * exporter.C (export): removed unused var and outdated comment
4822 2003-05-23 Angus Leeming <leeming@lyx.org>
4824 * latexrunparams.h: rename fragile as moving_arg.
4825 * paragraph.C (simpleTeXOnePar): ditto.
4826 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4828 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4830 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4832 (textUndoOrRedo): comment out a currently unused var.
4834 * paragraph.h (NO_NEXT): enable NO_NEXT
4836 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4838 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4840 * exporter.C (Export): adjust for removeAutoInsets removal.
4842 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4844 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4846 * BufferView.[Ch] (removeAutoInsets): delete function
4848 2003-05-22 Angus Leeming <leeming@lyx.org>
4850 * latexrunparams.h: add a free_spacing variable.
4852 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4853 to pass moving_arg, as the data is stored in runparams.fragile.
4855 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4856 to Inset::latexOptional or to simpleTeXOnePar.
4858 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4859 free_spacing arg to Inset::latexOptional.
4861 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4864 2003-05-22 Angus Leeming <leeming@lyx.org>
4866 * latexrunparams.h: add fragile and use_babel variables.
4868 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4869 * buffer.C (makeLaTeXFile): store this returned value in
4870 runparams.use_babel, thus passing it to the inset::latex methods.
4872 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4873 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4875 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4876 longer has a fragile arg, as it is stored in runparams.fragile.
4878 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4879 moving_arg parameter as the data is stored in runparams.fragile.
4881 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4882 a fragile parameter as the data is stored in runparams.fragile.
4884 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4886 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4888 2003-05-22 Angus Leeming <leeming@lyx.org>
4890 * latexrunparams.h: add a 'bool nice' which defaults to false.
4892 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4893 now encapsulated within runparams.
4895 * bufferlist.C (updateIncludedTeXfiles):
4896 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4898 2003-05-22 Angus Leeming <leeming@lyx.org>
4900 * latexrunparams.h: new file containing struct LatexRunParams.
4901 * Makefile.am: add new file.
4903 * LaTeX.[Ch] (c-tor, run):
4904 * buffer.[Ch] (makeLaTeXFile):
4905 * bufferlist.[Ch] (updateIncludedTeXfiles):
4906 * converter.C (convert, scanLog):
4907 * converter.[Ch] (runLaTeX):
4908 * exporter.C (Export):
4909 * paragraph.[Ch] (simpleTeXOnePar):
4910 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4911 * paragraph_funcs.[Ch] (latexParagraphs):
4912 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4913 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4914 pass around a LatexRunParams parameter.
4916 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * paragraph.[Ch]: remove unused constructor
4920 * ParagraphList.C (erase): new function, taking two iterators
4922 2003-05-22 André Pönitz <poenitz@gmx.net>
4924 * undo_funcs.C: remove duplicated code
4926 * iterator.[Ch]: operator=
4928 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * tabular.C (SetMultiColumn): ws changes
4932 * rowpainter.C (paintFirst): get rid of a ->previous
4934 * lyx_cb.C (getPossibleLabel): parlist simplification
4936 * BufferView.C (ChangeInsets): simplify slightly.
4938 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4940 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4941 * lfuns.h: new LFUN_SPACE
4942 * lyxfunc.C: protected space has a new lfun
4943 * paragraph_funcs.C: read new space insets
4945 * factory.C: handle new space insets
4947 2003-05-22 André Pönitz <poenitz@gmx.net>
4950 * BufferView_pimpl.C:
4953 * undo_funcs.C: return a ParIterator from getParFromID.
4955 * iterators.[Ch]: add two const's
4957 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4959 * toc.C (getTocList): adjust
4961 * iterators.[Ch]: rework for parlist
4963 * buffer.C (par_iterator_begin): adjust
4964 (par_iterator_end): adjust
4966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4968 * BufferView.C (removeAutoInsets): adjust
4969 (ChangeInsets): adjust
4971 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4973 * text.C (top_y): fix bug 1110
4975 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4977 * errorlist.[Ch]: added
4980 * BufferView_pimpl.C:
4981 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4984 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * Makefile.am: ensure that lyx is relinked upon changes to the
4987 various "convenience" libs.
4989 2003-05-20 Angus Leeming <leeming@lyx.org>
4991 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4992 files are compiled in alphabetical order again.
4994 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4996 2003-05-19 Angus Leeming <leeming@lyx.org>
4998 * gettext.[Ch]: remove "char const * _(char const *)".
5000 2003-05-19 André Pönitz <poenitz@gmx.net>
5002 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5011 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5013 2003-05-19 André Pönitz <poenitz@gmx.net>
5017 * lyxtextclass.[Ch]:
5019 * paragraph_funcs.[Ch]:
5021 * text3.C: more insetenv work
5023 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5025 * ParagraphParameters.C (params2string): small bug fixed
5027 2003-05-16 André Pönitz <poenitz@gmx.net>
5030 * bufferview_funcs.C: patch from Kornel Benko to prevent
5031 crash when _(...) is called twice in a statement
5033 2003-05-16 André Pönitz <poenitz@gmx.net>
5040 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5042 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5044 * lyx_main.C (init): remove spurious static_cast
5046 2003-05-14 André Pönitz <poenitz@gmx.net>
5048 * BufferView.C: fix format string
5050 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5052 * BufferView.[Ch] (insertErrors): removed
5053 * BufferView.[Ch] (showErrorList): added
5054 * buffer.C (runChkTeX):
5055 * converter.C (scanLog): call showErrorList instead of inserterrors
5057 2003-05-13 André Pönitz <poenitz@gmx.net>
5059 * BufferView_pimpl.C:
5061 * bufferview_func.C:
5068 * tabular_funcs.h: tostr() from its own header
5070 * ParagraphParameters.C:
5075 * text3.C: STRCONV()
5077 2003-05-12 André Pönitz <poenitz@gmx.net>
5080 * BufferView_pimpl.C:
5084 * ParagraphParameters.C:
5088 * bufferview_funcs.C:
5101 * paragraph_funcs.C:
5105 * text3.C: boost::format -> bformat all over the place
5108 2003-05-09 André Pönitz <poenitz@gmx.net>
5110 * LColor.[Ch]: Pimpl the #include <map> away
5112 2003-05-09 John Levon <levon@movementarian.org>
5114 * bufferlist.C: never remove emergency saves
5116 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * Makefile.am: better lib building
5120 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5124 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5125 (simpleTeXSpecialChars): adjust
5126 (simpleTeXSpecialChars): adjust
5127 * paragraph.C (simpleTeXOnePar): adjust
5128 * buffer.C (makeLaTeXFile): adjust
5130 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5132 * text2.C (changeDepth): parlist cleanup
5133 (getColumnNearX): ditto
5135 * rowpainter.C (getLabelFont): parlist cleanup
5137 * bufferlist.C (newFile): parlist cleanup
5139 * CutAndPaste.C (eraseSelection): parlist cleanup
5141 * BufferView_pimpl.C (trackChanges): parlist cleanup
5144 * BufferView.C (lockInset): parlist cleanup.
5145 (ChangeInsets): ditto
5147 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5149 * CutAndPaste.h: Update file header.
5151 * CutAndPaste.C: Update file header.
5152 Store the parts cut out of the Document in a limited_stack.
5153 (copySelection): adjust
5154 (pasteSelection): new function, takes the index in the limited stack.
5155 (nrOfParagraphs): adjust
5156 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5157 simplify error inset insertion.
5158 (checkPastePossible): adjust
5160 2003-05-06 John Levon <levon@movementarian.org>
5162 * text2.C: don't cast wrap inset to float
5164 2003-05-05 André Pönitz <poenitz@gmx.net>
5167 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5169 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5170 few naked Paragraph *.
5172 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5174 * bufferparams.C: Output warning if a document with missing
5175 TeX document class is loaded
5176 * exporter.C: Disable TeX exports if the document class is missing
5179 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5180 isTeXClassAvailable()
5182 2003-05-03 John Levon <levon@movementarian.org>
5185 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5186 explicit cursor show/hide
5188 * BufferView_pimpl.h:
5189 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5190 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5192 * lyxfunc.C: hide cursor before dispatching.
5197 * text3.C: remove explicit cursor hides
5199 2003-05-02 André Pönitz <poenitz@gmx.net>
5201 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5204 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5207 * text2.C: tiny whitespace
5209 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5211 * undo_funcs.C: almost only ws changes.
5213 * ParagraphList.C (splice): just return if pl is empty.
5215 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * ParagraphList.C (splice): new function.
5219 * CutAndPaste.C (pasteSelection): use it
5221 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * CutAndPaste.C (pasteSelection): remove the last next and
5224 previous from this file.
5226 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5228 * CutAndPaste.C (pasteSelection): more clean up, user proper
5229 ParagraphList functions for pasteing.
5231 * ParagraphList.C (insert): new function, three arg insert
5233 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5235 * ParagraphList.C (insert): new function, three arg insert
5237 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5240 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5242 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5244 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5246 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5248 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5251 (copySelection): clean up a bit.
5252 (pasteSelection): use make_pair
5254 * ParagraphList.C (ParagraphList): implement copy constructor
5255 (operator=): implement, base on copy constructor.
5258 * paragraph.C (erase): return a bool
5260 * paragraph_pimpl.C (erasePos): remove function, move contents...
5261 (erase): ... here. Return a bool.
5262 (erase): call erase instead of erasePos.
5264 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5266 * ParagraphList.h: define PitPosPair
5267 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5268 ParagraphList, fix a bug on pasting multiple pars
5269 * text2.C: change interface to C&P
5271 2003-04-30 André Pönitz <poenitz@gmx.net>
5273 * undo_func.C: revert part of yesterday's patch 2
5275 2003-04-30 John Levon <levon@movementarian.org>
5277 * LColor.C: s/tabular/table/
5279 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * text3.C (dispatch): do not convert iterator -> pointer
5282 * undo_funcs.C (setCursorParUndo): ditto
5283 * text_funcs.C (transposeChars): ditto
5285 * text2.C (setLayout): ws changes only
5287 * text.C (breakParagraph): do not convert iterator -> pointer
5289 (acceptChange): ditto
5290 (rejectChange): ditto
5295 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5298 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5300 * text3.C (gotoInset): YABG (yet another bad getChar)
5302 2003-04-29 André Pönitz <poenitz@gmx.net>
5304 * paragraph.h: make operator= private unimplemented as long as
5307 * ParagraphList.C: whitespace
5310 * paragraph_pimpl.[Ch]:
5311 * paragraph_funcs.C:
5313 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5316 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5318 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5320 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5321 * paragraph.[Ch] (erase):
5322 * paragraph_pimpl.[Ch] (erase): change return type and value
5323 * text2.C (cutSelection): some rework
5325 2003-04-28 John Levon <levon@movementarian.org>
5327 * bufferlist.C: changes for unsaved changes dialog
5329 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5331 * bufferlist.C (newFile): set language (messages_) for new
5334 * buffer.C (readFile): ws changes only.
5336 2003-04-28 André Pönitz <poenitz@gmx.net>
5341 * BufferView_pimpl.C:
5342 * BufferView.C: getParFromID related ParagraphList::iterator changes
5344 2003-04-28 André Pönitz <poenitz@gmx.net>
5346 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5349 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * messages.C: remove one more localedir class variable.
5353 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * messages.C (getLocaleDir): singleton generation function
5357 (Messages): add a default constructor.
5359 * main.C (main): do not setup localedir here, do not call
5362 * gettext.C (_): use it.
5363 (gettext_init): delete funciton
5365 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * gettext.C (getLyXMessages): new singleton generating function.
5369 * buffer.C (updateDocLang): adjust
5371 * Makefile.am (messages.o): add target
5372 (main.o): remove target
5374 2003-04-27 John Levon <levon@movementarian.org>
5379 * lyxvc.C: specify cancel button in Alert::prompt
5381 2003-04-26 John Levon <levon@movementarian.org>
5386 * LyXAction.C: add LFUN_INSET_SETTINGS
5388 * lyxfunc.C: don't enable tabular-feature when there's
5389 just any locking inset
5391 2003-04-26 John Levon <levon@movementarian.org>
5393 * bufferlist.C: re-add Cancel to buffer close question
5395 * lyxfunc.C: fix import UI a bit
5397 2003-04-25 John Levon <levon@movementarian.org>
5399 * gettext.C: remove the broken asserts for now
5401 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5403 * messages.C: make case where setlocale cannot comply work better.
5405 * buffer.C (updateDocLang): new function
5406 (changeLanguage): use it
5409 * text2.C (setCounter): use B_ a bit.
5411 * lyxlayout.C (Read): be sure to trim the label strings.
5413 * messages.C (Messages): fix typo in comment
5415 * buffer.C (readFile): set message_ after file is loaded.
5416 (makeDocBookFile): remove double return
5417 (changeLanguage): reset message_ upon language change.
5418 (B_): new func, use this to get translated buffer strings.
5420 * main.C: add myself and Jean Marc as authors.
5422 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5424 * messages.[hC]: pimplify Messages, and three different pimpls to be
5425 used in different circumstances.
5427 * gettext.[Ch]: change for use with new message code.
5429 2003-04-24 André Pönitz <poenitz@gmx.net>
5431 * factory.C: support for eqref
5433 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5435 * messages.[Ch]: add missing char
5437 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5439 * messages.[Ch]: New files
5441 2003-04-18 John Levon <levon@movementarian.org>
5445 * BufferView_pimpl.C:
5449 * text2.C: remove layout-copy/paste (bug 778)
5451 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5453 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5455 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5457 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5458 if they succeed. Act accordingly.
5460 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5462 * text2.C (setCharFont): adjust
5463 (setCounter): adjust
5464 (insertStringAsLines): adjust
5466 * text.C (leftMargin): adjust
5467 (setHeightOfRow): adjust
5469 * rowpainter.C (paintFirst): adjust
5472 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5474 (isFirstInSequence): ditto
5475 (getEndLabel): ditto
5478 * paragraph.C (getParLanguage): comment out some hard stuff.
5480 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5482 (simpleDocBookOnePar): ditto
5483 (makeDocBookFile): use ParagraphList::iterator
5485 * CutAndPaste.C (pasteSelection): adjust
5487 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * text2.C (getFont): adjust
5490 (getLayoutFont): adjust
5491 (getLabelFont): adjust
5493 * paragraph_funcs.C (TeXOnePar): adjust
5495 * buffer.C (simpleLinuxDocOnePar): adjust
5496 (simpleDocBookOnePar): adjust
5498 * CutAndPaste.C (pasteSelection): adjust
5500 * BufferView.C (getEncoding): adjust
5502 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5504 2003-04-16 John Levon <levon@movementarian.org>
5506 * lyxfind.C: use parlist stuff for search/changes
5508 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5512 * text2.C (deleteEmptyParagraphMechanism): adjust
5514 * text2.[Ch] (ownerParagraph): delete func (both of them
5516 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5520 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5522 * ParagraphList.C: prepare for NO_NEXT
5524 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5526 * text2.C (getFont): adjust
5527 (getLayoutFont): adjust
5528 (getLabelFont): adjust
5530 * paragraph.C (getFont): adjust
5531 (getLabelFont): adjust
5532 (getLayoutFont): adjust
5534 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5536 2003-04-15 John Levon <levon@movementarian.org>
5540 * lyx_main.C: handle Include in .ui files
5542 2003-04-15 John Levon <levon@movementarian.org>
5544 * MenuBackend.C: make the doc files length shorter
5547 * ToolbarBackend.C: handle toolbar placement flags,
5550 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5555 * paragraph_funcs.C (TeXOnePar): adjust
5557 * paragraph.C (getLabelFont): add outerfont arg, adjust
5558 (getLayoutFont): ditto
5559 (simpleTeXOnePar): adjust
5561 * paragraph_pimpl.C (realizeFont): delete func
5563 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5565 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5566 row argument, constify cur argument.
5568 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * text2.C (getFont): adjust
5571 (getLayoutFont): adjust
5572 (getLabelFont): adjust
5574 * paragraph_funcs.C (TeXOnePar): adjust
5575 (outerFont): new func...
5576 (realizeFont): ...moved out from here, changed this to facilitate
5579 * paragraph.C (getFont): take outerfont as arg, adjust
5580 (simpleTeXOnePar): add outerfont arg, adjust
5582 * buffer.C (simpleLinuxDocOnePar): adjust
5583 (simpleDocBookOnePar): adjust
5585 * CutAndPaste.C (pasteSelection): adjust
5587 * BufferView.C (getEncoding): adjust
5589 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5591 * text2.C (setCharFont): adjust
5592 (setCounter): adjust
5594 * text.C (leftMargin): adjust
5595 (setHeightOfRow): adjust
5597 * rowpainter.C (paintFirst): adjust
5600 * paragraph_pimpl.C (realizeFont): adjust
5602 * paragraph.C (isFirstInSequence): move from here...
5603 * paragraph_funcs.C (isFirstInSequence): ...to here
5605 * paragraph.C (outerHook): move from here...
5606 * paragraph_funcs.C (outerHook): ...to here
5608 * paragraph.C (depthHook): move from here...
5609 * paragraph_funcs.C (depthHook): ...to here
5611 * paragraph.C (getEndLabel): move from here...
5612 * paragraph_funcs.C (getEndLabel): ...to here
5614 * text2.C (realizeFont): move from here...
5615 * paragraph_funcs.C (realizeFont): ...to here
5617 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5619 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5621 2003-04-14 Angus Leeming <leeming@lyx.org>
5623 * LColor.[Ch]: scrap LColor mathcursor.
5625 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5627 * lyxlex.[Ch] (text): delete function
5628 * trans.C (Load): adjust
5629 * paragraph_funcs.C (readParToken): adjust
5631 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5633 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5634 vector<char> instead of a char[].
5636 * lyxlex_pimpl.C (getString): adjust
5638 (lex): use getString
5642 * lyxlex.C (text): use pimpl_->getString()
5646 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5648 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5649 (makeFontEntriesLayoutSpecific): temp var for par.size()
5650 (setLayout): temp var for ownerParagraphs().end()
5651 (fullRebreak): temp var for rows().end()
5652 (selectionAsString): temp var for boost::next(startpit), realize
5653 that the while really is a regular for loop.
5654 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5655 setCursor in one place.
5656 (setParagraph): temp vr for ownerParagraphs().end()
5657 (updateCounters): make the while loop a for loop
5658 (cutSelection): temp var for ownerParagraphs().end()
5659 (updateInset): make the do {} while() a regular for loop
5660 (getCursorX): use temp vars
5661 (setCurrentFont): use temp vars
5662 (getColumnNearX): use temp vars
5664 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * text.C (transformChar): use temp var for getChar
5667 (computeBidiTables): use temp var for row->par()
5668 (fill): move temp vars for row->par() and pit->layout() earlier in
5670 (labelFill): use temp var for row->par()
5671 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5672 asc and desc, realize that pit never changes and that firstpit is
5673 just a duplicate and not needed. Exchange rit->par() with pit in a
5675 (breakAgain): use a temp var for boost::next(rit)
5676 (breakAgainOneRow): ditto
5677 (breakParagraph): use a temp var for rows().begin()
5678 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5679 (cursorRightOneWord): use temp var for cursor.par() and
5680 cursor.pos(), remove usage of tmpcursor.
5681 (cursorLeftOneWord): use temp var for cursor.par() and
5682 cursor.pos() only set cur at end of function.
5684 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * text.C, text2.C: exchange all usage of Paragraph::next with
5687 boost::next(ParagraphList::iterator)
5689 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5691 * text2.C (cursorTop): simplify implementation
5692 (cursorBottom): ditto
5693 (setParagraph): use ParagraphList::iterator
5694 (setCurrentFont): adjust
5695 (getColumnNearX): adjust
5696 (cursorRight): adjust
5697 (cursorLeft): remove usage of Paragraph::previous
5698 (cursorUpParagraph): ditto
5699 (deleteEmptyParagraphMechanism): slight cleanup
5701 * text.C (isBoundary): take a Paragraph const & instead of a
5703 (addressBreakPoint): ditto
5704 (leftMargin): remove usage of Paragraph::previous.
5705 (setHeightOfRow): ditto
5706 (cursorLeftOneWord): ditto
5707 (selectNextWordToSpellcheck): ditto
5710 (breakParagraph): remove one usage of Paragraph::next
5711 (redoParagraph): ditto
5712 (acceptChange): ditto
5713 (insertChar): adjust
5714 (rowBreakPoint): adjust
5716 * bufferview_funcs.C (toggleAndShow): adjust
5718 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5720 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5721 methods to access it.
5723 * text.C: Added updateRowPositions to compute all row positions.
5724 Make top_y and getRowNearY() to use the cached y position
5726 2003-04-11 John Levon <levon@movementarian.org>
5728 * text.C (rowBreakPoint): reintroduce the labelEnd
5729 checks, code copied from the row fill stuff. Deep voodoo.
5731 * text.C (fill): add a comment and debugging for the
5734 2003-04-11 John Levon <levon@movementarian.org>
5736 * text.C: make sure fullrow insets get wrapped to the next line,
5737 even when they're in a manual label
5739 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5741 * text2.C (insertParagraph): make it take ParagraphList::iterator
5743 (setLayout): make it return ParagraphList::iterator
5744 (redoParagraphs): ditto
5746 (checkParagraph): ditto
5748 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5750 * text2.C: adjust several funcs.
5751 (realizeFont): take a ParagraphList::iterator as arg.
5752 (getLayoutFont): ditto
5753 (getLabelFont): ditto
5754 (setCharFont): ditto
5756 * text.C: adjust several funcs.
5758 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5760 * text.C (selectNextWordToSpellcheck): don't accidentally
5763 2003-04-10 John Levon <levon@movementarian.org>
5765 * ToolbarBackend.C (getIcon): special handling for
5768 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5770 * text2.C (cursorRight): a getChar assert fixed
5772 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * text2.C (getFont): change to take a ParagraphList::iterator
5775 instead of Paragraph*
5776 Adjust several functions.
5778 * text.C (transformChar): change to take a ParagraphList::iterator
5779 instead of Paragraph*
5780 (singleWidth): ditto
5781 Adjust several functions.
5783 * rowpainter.C: adjust several functions
5784 * rowpainter.h:store a ParagraphList::iterator and not a
5788 2003-04-09 John Levon <levon@movementarian.org>
5793 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5794 and the "help" bits as well
5796 2003-04-09 John Levon <levon@movementarian.org>
5799 * ToolbarBackend.C: allow multiple toolbars
5801 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5803 * undo_funcs.C (setCursorParUndo): adjust
5805 * text_funcs.C (transposeChars): adjust
5807 * text3.C (gotoNextInset): adjust
5810 * text2.C (setLayout): adjust
5811 (changeDepth): adjust
5813 (redoParagraphs): adjust
5814 (selectionAsString): adjust
5815 (setParagraph): adjust
5816 (insertInset): adjust
5817 (cutSelection): adjust
5818 (copySelection): adjust
5819 (pasteSelection): adjust
5820 (insertStringAsLines): adjust
5821 (updateInset): adjust
5822 (setCursor): change to take a ParagraphList::iterator parameter
5823 (setCursorIntern): change to take a ParagraphList::iterator parameter
5824 (setCurrentFont): adjust
5825 (cursorLeft): adjust
5826 (cursorRight): adjust
5827 (deleteEmptyParagraphMechanism): adjust
5829 * text.C (breakParagraph): adjust
5830 (insertChar): adjust
5831 (acceptChange): adjust
5832 (rejectChange): adjust
5833 (selectNextWordToSpellcheck): adjust
5834 (changeCase): adjust
5838 * lyxfind.C (SearchForward): adjust
5839 (SearchBackward): adjust
5840 (nextChange): adjust
5842 * lyxcursor.C (par): adjust
5844 * lyxcursor.h: store a ParagraphList::iterator instead of a
5847 * lyx_cb.C (getPossibleLabel): adjust
5849 * bufferview_funcs.C (toggleAndShow): adjust
5851 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5854 * BufferView.C (removeAutoInsets): adjust
5855 (lockedInsetStoreUndo): adjust
5857 2003-04-09 John Levon <levon@movementarian.org>
5859 * ToolbarBackend.C: try icon without argument
5860 if with argument fails
5862 2003-04-08 John Levon <levon@movementarian.org>
5865 * ToolbarBackend.C: add getIcon(), handle tooltip,
5866 and change from "Icon" to "Item".
5868 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5870 * BufferView.C (lockInset): another bad getchar crunched
5872 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5874 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5877 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5879 * lyxfind.C (searchForward, searchBackwards): bug 782
5881 2003-04-07 John Levon <levon@movementarian.org>
5883 * paragraph.C: remove dead comment
5885 * text.C: remove troublesome depth-fiddling code
5886 in leftMargin() and rightMargin() (bug 1017)
5888 * text.C: fix breaking of rows in nested lists
5891 * text2.C (updateCounters): fix up depth values
5894 2003-04-07 John Levon <levon@movementarian.org>
5896 * BufferView_pimpl.C: clear message when doc finishes resizing,
5897 and after a mouse event
5899 * lyxfunc.C: clear message after exiting inset
5901 2003-04-07 John Levon <levon@movementarian.org>
5903 * bufferview_funcs.C: show math status not outside
5904 status in the statusbar
5906 2003-04-07 John Levon <levon@movementarian.org>
5908 * lyxfunc.C: note status changed after a depth change
5910 2003-04-04 Angus Leeming <leeming@lyx.org>
5912 * LaTeX.h: move AuxInfo operator==, != out of line.
5913 Remove LaTeX virtual destructor; nothing derives from it.
5914 Move operator()() out of public area and rename it startscript().
5915 Change protected for private.
5917 2003-04-04 Angus Leeming <leeming@lyx.org>
5920 * text2.C: remove unneeded #includes.
5922 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5924 * text2.C (dEPM): fix the heigth of the next row
5926 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5928 * text.C: squashed an invalid getChar requester + some ws changes
5930 2003-04-03 John Levon <levon@movementarian.org>
5932 * bufferview_funcs.h:
5933 * bufferview_funcs.C:
5936 * text2.C: make getStatus work for the env depth lfuns
5938 2003-04-03 John Levon <levon@movementarian.org>
5940 * bufferview_funcs.h:
5941 * bufferview_funcs.C:
5944 * text2.C: parlistize decDepth(), by merging it with incDepth()
5946 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * lyxrow.h: store a ParagraphList::iterator instead of a
5949 Paragraph* and adjust other class functions to suit.
5951 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5954 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5956 * text2.C (setCursor): do not anchor to cursor row for the time being
5958 2003-04-02 John Levon <levon@movementarian.org>
5965 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5967 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * paragraph.h: make ParagraphList and ParagraphList::iterator
5970 friends of Paragraph.
5972 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5974 * ParagraphList.C: Use the private next_ and previous_ from
5977 2003-04-01 John Levon <levon@movementarian.org>
5981 * Makefile.am: rename, remove defaults gunk
5984 * MenuBackend.C: remove defaults gunk
5987 * Languages.C: remove defaults gunk
5990 * lyx_main.C: error out if files couldn't be found.
5992 2003-04-02 John Levon <levon@movementarian.org>
5994 * text2.C: make incDepth() use parlist
5996 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5998 * undo_funcs.C (firstUndoParagraph): adjust
6000 * text3.C (gotoInset): adjust
6001 (dispatch): adjust, and rewrite loop.
6003 * text2.C (init): adjust, and rewrite loop.
6004 (redoParagraphs): adjust
6005 (updateInset): adjust, and rewrite loop.
6006 (deleteEmptyParagraphMechanism): adjust
6008 * tabular.C (LyXTabular): adjust
6009 (SetMultiColumn): adjust
6012 * lyxtext.[Ch] (ownerParagraph): delete function
6013 (ownerParagraphs): new function returns a ParagraphList.
6015 * BufferView.C (removeAutoInsets): adjust
6016 (insertErrors): adjust
6017 (setCursorFromRow): adjust
6019 2003-04-01 Angus Leeming <leeming@lyx.org>
6021 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6024 2003-04-02 John Levon <levon@movementarian.org>
6030 * text_funcs.C: make transposeChars a free function
6032 * lyxrow_funcs.C: remove wrong comment
6034 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6037 * rowpainter.C: adjust
6042 * lyxrow_funcs. [Ch]: new files
6044 * lyxrow.[Ch]: remove next and previous pointers
6045 (next,previous): remove accessor functions
6046 (isParEnd): move to lyxrow_funcs
6047 (lastPos): move to lyxrow_funcs
6048 (nextRowIsAllInset): move to lyxrow_funcs
6049 (lastPrintablePos): move to lyxrow_funcs
6050 (numberOfSeparators): move to lyxrow_funcs
6051 (numberOfHfills): move to lyxrow_funcs
6052 (numberOfLabelHfills): move to lyxrow_funcs
6053 (hfillExpansion): move to lyxrow_funcs
6057 * bufferview_funcs.C (toggleAndShow): adjust
6059 * RowList.h: Remove class RowList from file leave just a
6062 * RowList.C: delete file
6064 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6067 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * text3.C (cursorPrevious): adjust
6070 (cursorNext): adjust
6073 * text2.C (redoHeightOfParagraph): adjust
6074 (redoDrawingOfParagraph): adjust
6077 * text.C (breakParagraph): adjust
6078 (insertChar): adjust
6081 * rowpainter.C (RowPainter): adjust
6082 (leftMargin): simplify and adjust
6083 (most rowpainter functions): adjust.
6085 * rowpainter.h: store the row as RowList::iterator not as Row*
6087 * lyxcursor.C (row): taka RowList::iterator as arg
6090 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6093 2003-04-01 Angus Leeming <leeming@lyx.org>
6095 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6096 stuff like bool Bool.
6098 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6100 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6103 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6108 * lyxtext.h (rows): drop one version and leve a const variant that
6109 returns a RowList::iterator.
6111 2003-03-31 Angus Leeming <leeming@lyx.org>
6113 * text.C (fill): ensure that the signature is the same as that in the
6116 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * text2.C (redoParagraphs): adjust
6119 (updateCounters): adjust
6120 (checkParagraph): adjust
6121 (getColumnNearX): adjust and reformat a bit.
6123 * text.C (top_y): adjust
6125 (leftMargin): adjust
6126 (prepareToPrint): adjust
6128 (getRowNearY): adjust
6130 * lyxtext.h: make rowlist_ mutable.
6132 * RowList.h: add const_iterator
6133 * RowList.C: adjust for RowList::const_iterator.
6135 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6138 2003-03-31 John Levon <levon@movementarian.org>
6141 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6143 * lyx_main.C: set default fonts from using lyx_gui funcs
6145 * exporter.C: pdf_mode moved from lyxrc
6148 * lyxfunc.C: changes from above
6150 2003-03-31 John Levon <levon@movementarian.org>
6152 * lyx_main.C: fix to the last fix
6154 2003-03-31 John Levon <levon@movementarian.org>
6156 * bufferlist.C: "Load original" -> "Load Original"
6162 * format.C: more Alert cleanups
6164 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * text2.C (removeParagraph): make it take a RowList::iterator as
6168 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6169 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6171 * text.C (anchor_row): make it take a RowList::iterator as arg,
6173 (computeBidiTables): make it take a const reference to Row instead
6174 of Row pointer, adjust.
6175 (leftMargin): make it take a RowList::iterator as arg, adjust.
6176 (rowBreakPoint): adjust
6177 (breakAgainOneRow): make it take a RowList::iterator as arg,
6179 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6181 * bufferview_funcs.C (toggleAndShow): adjust
6183 2003-03-30 John Levon <levon@movementarian.org>
6187 * boost-inst.C: moved to support
6189 * several files: changes as a result
6191 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6193 * text2.C (LyXText): adjust.
6195 (removeRow): make it take a RowList::iterator as arg, adjust.
6196 (fullRebreak): adjust
6197 (deleteEmptyParagraphMechanism): adjust
6198 (clearPaint): adjust
6201 * text.C (top_y): adjust
6202 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6203 (breakAgain): make it take a RowList::iterator as arg, adjust.
6204 (breakParagraph): adjust
6205 (insertChar): adjust
6208 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6209 need_break_row, and refresh_row.
6211 * text3.C (dispatch): adjust
6213 * text2.C (checkParagraph): adjust
6215 (setCursorFromCoordinates): adjust
6217 * text.C (top_y): adjust
6219 (getRow): make it return a RowList::iterator, adjust
6220 (getRowNearY): make it return a RowList::iterator, adjust
6222 * text2.C (init): adjust
6223 (insertRow): remove function
6224 (insertParagraph): adjust
6225 (redoParagraphs): adjust
6226 (fullRebreak): adjust
6227 (updateCounters): adjust
6229 * text.C (top_y): rewrite to use RowList iterators.
6231 (setHeightOfRow): rewrite to sue RowList iterators.
6232 (appendParagraph): adjust
6233 (breakAgain): adjust
6234 (breakAgainOneRow): adjust
6235 (breakParagraph): adjust
6237 (getRowNearY): adjust, and remove commented code.
6239 * lyxtext.h (firstRow): delete function
6240 (lastRow): delete function
6241 (rows): new function (const and non-const versions.)
6242 (insertRow): delete function
6244 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6246 2003-03-29 John Levon <levon@movementarian.org>
6248 * BufferView_pimpl.C: always update scrollbar top
6249 because pasting text when we're anchored could mean we
6250 miss an update altogether
6252 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6254 * text2.C (init): use rowlist_.end() and not 0.
6255 (insertRow): change to take a RowList::iterator as arg, adjust
6257 (insertParagraph): change to take a RowList::iterator as arg,
6259 (redoParagraphs): remove some debug msgs.
6261 * text.C (appendParagraph): change to take a RowList::iterator
6262 arg, adjust for this.
6263 (breakAgain): add an assert
6264 (breakAgainOneRow): ditto
6266 2003-03-29 John Levon <levon@movementarian.org>
6268 * text2.C: do not clear selection after inc/decDepth
6271 2003-03-29 John Levon <levon@movementarian.org>
6274 * buffer.C: fix broken strerrors according to Lars
6276 2003-03-29 John Levon <levon@movementarian.org>
6278 * converters.C: more Alert cleanups
6280 2003-03-29 John Levon <levon@movementarian.org>
6282 * bufferview_funcs.C: remove pointless Alert
6284 * buffer.C: fix confusing error message when
6285 a template is chmoded 000
6287 2003-03-29 John Levon <levon@movementarian.org>
6291 * BufferView_pimpl.C: Alert fixes
6295 * tabular-old.C: remove unused table compat reading
6297 2003-03-29 John Levon <levon@movementarian.org>
6302 * lyx_cb.C: more Alert cleanups
6304 * lyxfunc.C: don't allow chktex if not latex document
6306 2003-03-29 John Levon <levon@movementarian.org>
6310 * buffer.C: warnings pushed down from support/,
6313 2003-03-29 John Levon <levon@movementarian.org>
6315 * lyxfunc.C: safety check for C-r (revert)
6317 2003-03-29 John Levon <levon@movementarian.org>
6320 * bufferlist.C: several UI fixes using Alert::prompt.
6321 Fix the pointless looping quit code. Fix stupid revert
6326 * lyx_cb.C: use Alert::prompt
6328 * lyx_main.C: remove a silly question
6330 * lyxfunc.C: remove a couple of silly questions,
6333 2003-03-28 John Levon <levon@movementarian.org>
6335 * text2.C: fix bug 974 (End on empty par)
6337 2003-03-28 John Levon <levon@movementarian.org>
6339 * BufferView_pimpl.C:
6341 * lfuns.h: remove do-nothing math greek lfuns
6343 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6345 * lyxgluelength.h (isValidGlueLength): add default arg on
6346 parameter 2. Remove default arg from friend in class.
6348 * lyxlength.h (isValidLength): add default arg on parameter 2.
6349 Remove default arg from friend in class.
6351 * text2.C (LyXText): adjust, initialize refresh_row.
6355 (insertParagraph): adjst
6356 (redoParagraphs): adjust
6357 (fullRebreak): adjust
6358 (updateCounters): adjust
6359 (deleteEmptyParagraphMechanism): first attempt at fixing a
6362 * text.C (top_y): adjust
6363 (setHeightOfRow): adjust
6365 (getRowNearY): adjust
6367 * lyxtext.h: include RowList.h
6368 (~LyXText): not needed anymore, deleted.
6369 (firstRow): modify for RowList
6370 (lastRow): new function
6371 Delete firstrow and lastrow class variables, add a Rowlist
6372 rowlist_ class variable.
6374 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6377 * RowList.C (insert): fix case where it == begin().
6379 2003-03-26 Angus Leeming <leeming@lyx.org>
6381 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6382 the thesaurus dialog.
6384 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6386 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6388 * RowList.[Ch]: new files
6390 * ParagraphList.C (erase): handle the case where it == begin
6393 2003-03-25 John Levon <levon@movementarian.org>
6397 * aspell.C: add new aspell support
6400 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6403 2003-03-25 Angus Leeming <leeming@lyx.org>
6406 * LyXAction.C (init): new LFUN_INSET_INSERT.
6408 * BufferView_pimpl.C (dispatch): split out part of the
6409 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6411 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6414 2003-03-25 Angus Leeming <leeming@lyx.org>
6416 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6418 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6421 * text3.C: remove useless row->height(0)
6423 2003-03-25 John Levon <levon@movementarian.org>
6427 * text3.C: rename the refreshing stuff to better names
6429 2003-03-24 John Levon <levon@movementarian.org>
6431 * BufferView_pimpl.h:
6432 * BufferView_pimpl.C: update layout choice on a mouse
6435 2003-03-23 John Levon <levon@movementarian.org>
6437 * Makefile.am: fix commandtags.h reference
6439 2003-03-22 John Levon <levon@movementarian.org>
6441 * BufferView_pimpl.C:
6446 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6448 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6451 * text.C: take the rtl methods out of line
6453 2003-03-21 André Pönitz <poenitz@gmx.net>
6455 * metricsinfo.[Ch]: new files containing structures to be passed around
6456 during the two-phase-drawing...
6458 2003-03-21 André Pönitz <poenitz@gmx.net>
6460 * lyxtextclass.C: read 'environment' tag.
6462 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6464 * text2.C (removeRow): fix bug 964
6466 2003-03-20 John Levon <levon@movementarian.org>
6470 * text2.C: paint cleanups. Inset::update() dropped font
6473 2003-03-19 John Levon <levon@movementarian.org>
6475 * lyxfunc.C: only fitcursor/markDirty if available()
6477 2003-03-19 John Levon <levon@movementarian.org>
6479 * commandtags.h: rename to ...
6481 * lfuns.h: ... this, and renumber / cleanup
6483 2003-03-19 John Levon <levon@movementarian.org>
6485 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6486 fit the cursor after an lfun
6490 * BufferView_pimpl.h:
6491 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6493 * LyXAction.C: layout-character should have ReadOnly
6495 * ParagraphParameters.C:
6497 * bufferview_funcs.C:
6504 * undo_funcs.C: changes from above
6506 2003-03-18 John Levon <levon@movementarian.org>
6508 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6509 remove it from update()
6511 * lyxfunc.C: update layout choice after an lfun
6513 * text3.C: remove extra updateLayoutChoice()s
6515 2003-03-18 John Levon <levon@movementarian.org>
6517 * text.C: top_y change means full repaint, fix
6518 a drawing bug with cursor movement
6520 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6524 * text2.C: anchor row on setCursor
6526 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6528 * lyxtext.h: remove almost all mutable keywords
6531 * text3.C: remove const keywords accordingly
6533 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6535 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6537 (TeXEnvironment): ditto
6540 2003-03-17 John Levon <levon@movementarian.org>
6542 * text.C (rowBreakPoint): remove attempt to fix displayed
6543 math insets inside a manual label
6545 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6547 * lyxtext.h: remove BufferView* as first arg from almost all class
6549 * other files: adjust.
6551 2003-03-17 John Levon <levon@movementarian.org>
6555 * text2.C: more paint cleanups
6557 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6560 * rowpainter.C: remove "smart" background painting code
6562 2003-03-16 John Levon <levon@movementarian.org>
6567 * text3.C: add helper functions for setting refresh_row/y
6569 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6571 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6572 newline inset which *can* get inserted in the pass_thru layouts.
6573 This is primarily for literate documents.
6575 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6577 * buffer.C: increment LYX_FORMAT to 223
6579 2003-03-14 André Pönitz <poenitz@gmx.net>
6581 * textclass.h: prepare for environment handling, ws changes
6582 * lyxlayout.C: read latexheader and latexfooter tags
6584 2003-03-14 John Levon <levon@movementarian.org>
6586 * text2.C: rewrite ::status() a bit
6588 2003-03-13 John Levon <levon@movementarian.org>
6590 * lyxtext.h: add some docs
6592 2003-03-13 John Levon <levon@movementarian.org>
6597 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6599 2003-03-13 John Levon <levon@movementarian.org>
6601 * text3.C: fix appendix redrawing
6603 2003-03-13 John Levon <levon@movementarian.org>
6605 * text.C (setHeightOfRow):
6607 * rowpainter.C: make appendix mark have the text
6608 "Appendix" so the user knows what it is
6611 * LColor.C: s/appendixline/appendix/ from above
6613 2003-03-13 John Levon <levon@movementarian.org>
6615 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6617 * text.C: fix a getChar(pos) bug properly
6619 2003-03-13 Angus Leeming <leeming@lyx.org>
6622 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6623 Probably only temporary. Let's see how things pan out.
6625 * BufferView.C (unlockInset):
6626 * BufferView_pimpl.C (fitCursor):
6627 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6629 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6630 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6632 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6633 new functions that convert ParagraphParameters to and from a string.
6635 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6636 BufferView::Pimpl's dispatch.
6637 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6639 2003-03-13 André Pönitz <poenitz@gmx.net>
6643 * factory.C: make it aware of InsetEnv
6645 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6647 * text2.C (setCursor): never ask for one past last
6648 (setCursor): add some debugging messages.
6650 * text.C (singleWidth): never ask for one past last
6651 (singleWidth): ditto
6653 (rightMargin): ditto
6654 (rowBreakPoint): ditto
6655 (setHeightOfRow): ditto
6656 (prepareToPrint): ditto
6658 * rowpainter.C (paintBackground): never ask for one past last
6659 (paintText): never ask for one past last
6661 * paragraph_pimpl.C (getChar): make the assert stricter, never
6662 allow the one past last pos to be taken
6664 * paragraph.C (getChar): ws changes only
6666 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6667 (numberOfSeparators): ditto
6668 (numberOfHfills): ditto
6670 2003-03-12 John Levon <levon@movementarian.org>
6676 * paragraph_funcs.C: fix per-buffer authorlists
6678 2003-03-12 John Levon <levon@movementarian.org>
6680 * text.C: fix newline in right address
6682 2003-03-12 Angus Leeming <leeming@lyx.org>
6684 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6685 duplicate those in LyXFunc::dispatch.
6689 * ToolbarDefaults.C:
6690 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6691 Add LFUN_FONTFREE_UPDATE.
6693 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6694 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6696 * bufferview_func.[Ch]: several new functions to facilliate
6697 transfer of data to and from the character dialog.
6699 2003-03-12 John Levon <levon@movementarian.org>
6704 * paragraph_funcs.C:
6705 * paragraph_pimpl.C:
6709 * text3.C: remove META_NEWLINE in favour of an inset
6712 * rowpainter.C: remove paintNewline (done by inset)
6714 2003-03-12 John Levon <levon@movementarian.org>
6716 * paragraph_pimpl.C: complain about bad getChar()s
6717 for a while at least
6719 2003-03-12 John Levon <levon@movementarian.org>
6722 * buffer.C: move paragraph read into a separate function,
6723 a little renaming to reflect that.
6726 * bufferparams.C: remove the author_ids map, not necessary now
6729 * factory.C: moved Buffer::readInset to here
6731 * paragraph_funcs.h:
6732 * paragraph_funcs.C: readParagraph free function moved from
6735 * tabular.C: name change
6737 2003-03-12 John Levon <levon@movementarian.org>
6740 * ParagraphParameters.C: move par params input to
6743 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6744 behave like a normal read from the stream wrt reading
6745 a line vs. a \\token
6747 2003-03-12 John Levon <levon@movementarian.org>
6750 * ParagraphParameters.h:
6751 * ParagraphParameters.C: move output code to a
6754 2003-03-12 John Levon <levon@movementarian.org>
6756 * BufferView.C (insertLyXFile):
6759 * tabular.C: use a parlist iterator for creating the
6762 2003-03-12 John Levon <levon@movementarian.org>
6764 * buffer.C: make current_change static local not
6767 2003-03-12 John Levon <levon@movementarian.org>
6769 * buffer.C: fix insertStringAsLines for change tracking
6771 2003-03-12 John Levon <levon@movementarian.org>
6778 * bufferparams.C: move author list into params. Rename some
6779 functions. Move the header reading into a separate token
6780 loop. Move the header token reading into BufferParams.
6782 2003-03-12 John Levon <levon@movementarian.org>
6784 * changes.C: put debug inside lyxerr.debugging() checks
6786 2003-03-11 André Pönitz <poenitz@gmx.net>
6788 * factory.C: make it aware of InsetHFill
6790 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6792 * buffer.C (latexParagraphs): move function from here...
6793 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6796 2003-03-10 Angus Leeming <leeming@lyx.org>
6798 * LyXAction.C (init): fix bug in poplating array with multiple entries
6799 with the same LFUN (spotted by JMarc).
6801 2003-03-10 John Levon <levon@movementarian.org>
6804 * text2.C: move getColumnNearX() near its
6807 2003-03-10 John Levon <levon@movementarian.org>
6809 * text.C: fix break before a minipage
6811 2003-03-10 John Levon <levon@movementarian.org>
6813 * text.C: fix the last commit
6815 2003-03-09 John Levon <levon@movementarian.org>
6819 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6820 bug 365 (don't break before insets unless needed). Don't
6821 return a value > last under any circumstances.
6823 2003-03-09 Angus Leeming <leeming@lyx.org>
6825 * BufferView_pimpl.C (trackChanges, dispatch): call
6826 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6828 2003-03-09 Angus Leeming <leeming@lyx.org>
6830 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6831 than Dialogs::showAboutlyx().
6833 2003-03-09 Angus Leeming <leeming@lyx.org>
6835 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6836 than Dialogs::showTabularCreate().
6838 2003-03-09 John Levon <levon@movementarian.org>
6842 * text2.C: 3rd arg to nextBreakPoint was always the same.
6845 2003-03-08 John Levon <levon@movementarian.org>
6852 * text2.C: Remove the "main" bit from the "main body"
6855 2003-03-08 John Levon <levon@movementarian.org>
6857 * text.C (leftMargin): The left margin of an empty
6858 manual label paragraph should not include the label width
6861 * text.C (prepareToPrint): don't attempt to measure hfills
6862 for empty manual label paragraphs - the answer should be 0
6864 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * CutAndPaste.C: remove commented code and reindent.
6868 2003-03-08 John Levon <levon@movementarian.org>
6871 * lyxfunc.C: move reloadBuffer()
6874 * BufferView.C: to here
6876 * lyxvc.C: add comment
6879 * vc-backend.C: call bv->reload() to avoid
6880 getStatus() check on MENURELOAD
6882 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6884 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6885 to an old format .dep file.
6887 2003-03-07 Angus Leeming <leeming@lyx.org>
6889 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6890 when the LFUN_MOUSE_RELEASE should have been handled by
6891 inset->localDispatch.
6893 2003-03-07 Angus Leeming <leeming@lyx.org>
6895 * BufferView_pimpl.C (dispatch):
6896 * LyXAction.C (init):
6897 * ToolbarDefaults.C (init):
6899 * lyxfunc.C (getStatus):
6900 remove LFUN_INSET_GRAPHICS.
6902 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6904 2003-03-07 Angus Leeming <leeming@lyx.org>
6907 * LyXAction.C (init):
6908 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6910 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6913 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6915 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6916 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6918 2003-03-07 Angus Leeming <leeming@lyx.org>
6920 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6923 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * ParagraphList.C (front): new function
6928 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6930 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6931 and top_row_offset_. removed var first_y.
6933 * text2.C (LyXText, removeRow):
6935 * BufferView_pimpl.C:
6936 use these methods instead of using first_y
6938 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * text2.C (pasteSelection): adjust for checkPastePossible
6942 * CutAndPaste.C: remove Paragraph * buf and replace with
6943 ParagraphList paragraphs.
6944 (DeleteBuffer): delete
6945 (cutSelection): change the tc type to textclass_type
6946 (copySelection): change the tc type to textclass_type
6947 (copySelection): adjust for ParagraphList
6948 (pasteSelection): change the tc type to textclass_type
6949 (pasteSelection): adjust for Paragraphlist
6950 (nrOfParagraphs): simplify for ParagraphList
6951 (checkPastePossible): simplify for ParagraphList
6952 (checkPastePossible): remove unused arg
6954 * ParagraphList.C (insert): handle the case where there are no
6957 * CutAndPaste.h: make CutAndPaste a namespace.
6959 * text3.C (dispatch): adjust
6961 * text.C (breakParagraph): add a ParagraphList as arg
6963 * paragraph_funcs.C (breakParagraph): change to take a
6964 BufferParams and a ParagraphList as args.
6965 (breakParagraphConservative): ditto
6966 (mergeParagraph): ditto
6967 (TeXDeeper): add a ParagraphList arg
6968 (TeXEnvironment): ditto
6971 * buffer.C (readLyXformat2): adjust
6972 (insertStringAsLines): adjust
6973 (latexParagraphs): adjust
6975 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6976 (cutSelection): adjust
6977 (pasteSelection): adjust
6979 * BufferView_pimpl.C (insertInset): adjust
6981 2003-03-05 Angus Leeming <leeming@lyx.org>
6984 * LyXAction.C (init):
6985 * BufferView_pimpl.C (dispatch):
6986 * lyxfunc.C (getStatus):
6987 remove LFUN_CHILD_INSERT.
6989 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6991 2003-03-05 Angus Leeming <leeming@lyx.org>
6994 * LyXAction.C (init):
6995 * src/factory.C (createInset):
6996 * lyxfunc.C (getStatus):
6997 * text3.C (dispatch):
6998 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7000 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7002 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7004 * ParagraphList.C (insert): handle insert right before end()
7005 (erase): fix cases where it can be first or last paragraph.
7007 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7009 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7010 Paragraph::next and Paragraph::previous
7013 * text.C (breakParagraph): adjust
7015 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7016 BufferParams& as arg.
7017 (breakParagraph): use ParagraphList::insert
7018 (breakParagraphConservative): take a Buffer* instead of a
7019 BufferParams& as arg.
7020 (breakParagraphConservative): use ParagraphList::insert.
7022 * buffer.C (insertStringAsLines): un-const it
7023 (insertStringAsLines): adjust
7025 * ParagraphList.C (insert): new function
7027 * CutAndPaste.C (pasteSelection): adjust
7029 * text.C (backspace): adjust
7031 * tabular.C (SetMultiColumn): adjust
7033 * CutAndPaste.C (cutSelection): adjust
7034 (pasteSelection): adjust
7036 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7037 Buffer const * as arg
7039 * ParagraphList.C (erase): new function
7040 * paragraph_funcs.C (mergeParagraph): use it
7041 (mergeParagraph): make it take a Buffer* instead of a
7042 BufferParams* as arg
7044 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7046 (breakParagraphConservative): ditto
7048 * paragraph.h: remove the breakParagraph friend
7050 * paragraph.C (eraseIntern): new function
7051 (setChange): new function
7053 * paragraph_funcs.C (mergeParagraph): make it take a
7054 ParagraphList::iterator instead of a Paragraph *, adjust
7057 * paragraph.h: move an #endif so that the change tracking stuff
7058 also works in the NO_NEXT case.
7060 2003-03-04 Angus Leeming <leeming@lyx.org>
7063 * LyXAction.C: new LFUN_INSET_MODIFY.
7065 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7066 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7068 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7070 * several files: ws changes only
7072 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7073 (TeXEnvironment): ditto
7076 * buffer.C (makeLaTeXFile): adjust
7077 (latexParagraphs): make it take ParagraphList::iterator as args
7079 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7081 * buffer.C (latexParagraphs): adjust
7083 * paragraph.C (TeXOnePar): move function...
7084 (optArgInset): move function...
7085 (TeXEnvironment): move function...
7086 * paragraph_pimpl.C (TeXDeeper): move function...
7087 * paragraph_funcs.C: ...here
7089 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7091 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7093 * buffer.C (readInset): remove compability code for old Figure and
7096 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7098 * buffer.C: ws changes
7101 * BufferView_pimpl.C: ditto
7104 * bufferlist.h: ditto
7108 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7110 * converter.[Ch]: split into itself +
7113 * Makefile.am: += graph.[Ch] + format.[Ch]
7120 * lyxrc.C: added #include "format.h"
7122 2003-02-27 Angus Leeming <leeming@lyx.org>
7124 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7127 * factory.C (createInset): add "label" to the factory.
7129 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7130 string and do no more.
7132 2003-02-27 Angus Leeming <leeming@lyx.org>
7135 * LyXAction.C (init):
7136 * factory.C (createInset):
7137 * BufferView_pimpl.C (dispatch):
7138 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7140 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7142 * lyxfunc.C (dispatch):
7143 * text3.C (dispatch): pass name to params2string.
7145 2003-02-26 Angus Leeming <leeming@lyx.org>
7147 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7149 Rearrange the ~includes. Strip out the unnecessary ones.
7151 * factory.C (createInset): reformat.
7152 create new insets for the various LFUN_XYZ_APPLY lfuns.
7154 2003-02-26 John Levon <levon@movementarian.org>
7157 * lyxrow.C: add isParStart,isParEnd helpers
7159 * paragraph.h: make isInserted/DeletedText take refs
7161 * paragraph_funcs.h:
7162 * paragraph_funcs.C: remove #if 0'd code
7167 * text.C: use lyxrow helpers above.
7168 Move draw and paint routines to RowPainter.
7169 Make several methods use refs not pointers.
7170 Make backgroundColor() const.
7171 Add markChangeInDraw(), isInInset().
7172 Merge changeRegionCase into changeCase.
7173 Make workWidth() shouldn't-happen code into an Assert.
7176 * rowpainter.C: new class for painting a row.
7179 * vspace.C: make inPixels take a ref
7181 2003-02-26 Angus Leeming <leeming@lyx.org>
7183 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7186 2003-02-25 John Levon <levon@movementarian.org>
7188 * ispell.C: give the forked command a more accurate name
7190 2003-02-22 John Levon <levon@movementarian.org>
7193 * toc.C: make TocItem store an id not a Paragraph *
7196 2003-02-21 Angus Leeming <leeming@lyx.org>
7198 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7199 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7200 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7201 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7202 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7203 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7205 * BufferView_pimpl.C (dispatch):
7206 * LyXAction.C (init):
7207 * factory.C (createInset):
7208 * lyxfunc.C (getStatus, dispatch):
7209 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7211 2003-02-21 Angus Leeming <leeming@lyx.org>
7213 * BufferView_pimpl.C (MenuInsertLyXFile):
7214 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7215 * lyxfunc.C (menuNew, open, doImport):
7216 no longer pass a LyXView & to fileDlg.
7218 2003-02-21 Angus Leeming <leeming@lyx.org>
7220 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7221 * LyXAction.C: change, BIBKEY to BIBITEM.
7222 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7223 Change InsetBibKey to InsetBibitem.
7224 Change BIBKEY_CODE to BIBITEM_CODE.
7225 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7226 * factory.C: replace insetbib.h with insetbibitem.h.
7227 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7228 * paragraph.C: replace insetbib.h with insetbibitem.h.
7229 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7230 Change bibkey() to bibitem().
7231 * text.C: remove insetbib.h.
7232 * text2.C: replace insetbib.h with insetbibitem.h.
7233 change bibkey() to bibitem().
7234 * text3.C: remove insetbib.h.
7235 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7237 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7239 * lyxrc.C (output): enclose user email in quotes (in case there are
7242 2003-02-18 John Levon <levon@movementarian.org>
7244 * buffer.h: add std::
7246 2003-02-17 John Levon <levon@movementarian.org>
7252 * pspell.C: reworking. Especially in ispell, a large
7253 number of clean ups and bug fixes.
7255 * lyxfunc.C: fix revert to behave sensibly
7257 2003-02-17 André Pönitz <poenitz@gmx.net>
7260 * commandtags.h: new LFUN_INSERT_BIBKEY
7270 * paragraph_func.C: remove special bibkey handling
7272 2003-02-17 John Levon <levon@movementarian.org>
7274 * text.C (Delete): fix case where delete at the end of
7275 the very first paragraph would not merge the pars
7277 2003-02-17 John Levon <levon@movementarian.org>
7279 * lyxrow.C: fix lastPrintablePos()
7281 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7283 * bufferparams.C (writeLaTeX): add a std:here
7285 * buffer.C: and remove a using directive there
7287 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7289 * buffer.C (makeLaTeXFile): move the code that generates the
7292 * bufferparams.C (writeLaTeX): ... in this new method
7294 * LaTeXFeatures.C (getEncodingSet): make const
7295 (getLanguages): make const
7297 * MenuBackend.C (binding): returns the binding associated to this
7299 (add): sets the status of each item by calling getStatus. Adds
7301 (read): add support for OptSubMenu
7302 (expand): remove extra separator at the end of expanded menu
7304 2003-02-15 John Levon <levon@movementarian.org>
7307 * BufferView_pimpl.C:
7309 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7310 inset code that had no actual effect. Remove unneeded status
7313 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7315 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7318 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7320 * text.C (drawLengthMarker): also draw an arrow marker for
7321 symbolic lengths (medskip...)
7323 2003-02-14 John Levon <levon@movementarian.org>
7326 * tabular.C: better method names
7328 2003-02-14 John Levon <levon@movementarian.org>
7330 * BufferView_pimpl.C:
7335 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7336 it's a more accurate name. Remove some pointless uses.
7338 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7340 * text2.C (LyXText): change order of initilizers to shut off
7343 2003-02-14 John Levon <levon@movementarian.org>
7345 * buffer.C: use ParIterator for getParFromID()
7349 * paragraph_pimpl.h:
7350 * paragraph_pimpl.C: remove unused getParFromID()
7352 2003-02-14 John Levon <levon@movementarian.org>
7354 * buffer.C: remove some very old #if 0'd parse code
7356 2003-02-13 John Levon <levon@movementarian.org>
7360 * text2.C: move hfillExpansion(), numberOfSeparators(),
7361 rowLast(), rowLastPrintable(), numberofHfills(),
7362 numberOfLabelHfills() ...
7365 * lyxrow.C: ... to member functions here.
7370 * text.C: remove LyXText::beginningOfMainBody(), and call
7371 p->beginningOfMainBody() directly. Move the check for
7372 LABEL_MANUAL into the latter.
7379 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7385 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7386 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7388 2003-02-13 John Levon <levon@movementarian.org>
7390 * CutAndPaste.C: remove debug
7392 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7394 * paragraph.C (asString): remove two unused variables
7396 * lyxtextclass.C (readTitleType):
7398 (LyXTextClass): handle new members titletype_ and titlename_
7400 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7402 2003-02-09 John Levon <levon@movementarian.org>
7405 * buffer.C: replace hand-coded list with a map for the dep clean
7407 2003-02-08 John Levon <levon@movementarian.org>
7409 * LaTeX.C: consolidate code into showRunMessage() helper
7411 2003-02-08 John Levon <levon@movementarian.org>
7416 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7417 and pass the size in explicitly
7419 * BufferView_pimpl.h:
7420 * BufferView_pimpl.C:
7422 * BufferView.C: add getCurrentChange()
7424 * BufferView_pimpl.h:
7425 * BufferView_pimpl.C: handle change lfuns
7427 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7428 for changes. Mark pasted paragraphs as new.
7430 * support/lyxtime.h:
7431 * support/lyxtime.C:
7432 * DepTable.C: abstract time_t as lyx::time_type
7435 * LColor.C: add colours for new text, deleted text, changebars
7437 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7438 package use "usenames" option.
7442 * LyXAction.C: add change lfuns
7446 * author.C: author handling
7449 * buffer.C: add a per-buffer author list, with first entry as
7450 current author. Handle new .lyx tokens for change tracking. Output
7451 author list to .lyx file. Output dvipost stuff to .tex preamble.
7452 Bump lyx format to 222.
7455 * bufferlist.C: add setCurrentAuthor() to reset current author details
7459 * bufferparams.C: add param for tracking
7461 * bufferview_funcs.C: output change info in minibuffer
7465 * changes.C: add change-tracking structure
7468 * debug.C: add CHANGES debug flag
7471 * lyxfind.C: add code for finding the next change piece
7474 * lyxrc.C: add user_name and user_email
7477 * lyxrow.C: add a metric for the top of the text line
7480 * text.C: implement accept/rejectChange()
7483 * text.C: paint changebars. Paint new/deleted text in the chosen
7484 colours. Strike through deleted text.
7488 * paragraph_pimpl.h:
7489 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7490 in the current change to the insert functions. Rework erase to
7491 mark text as deleted, adding an eraseIntern() and a range-based
7492 erase(). Implement per-paragraph change lookup and
7495 * paragraph_funcs.C: Fixup paste for change tracking.
7497 * tabular.C: mark added row/columns as new.
7499 * text.C: fix rowLast() to never return -1. Don't allow
7500 spellchecking of deleted text. Track transpose changes. Don't
7501 allow paragraph break or merge where appropriate.
7503 * text2.C: leave cursor at end of selection after a cut.
7505 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7507 * text.C (getLengthMarkerHeight):
7508 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7509 visible on screen too.
7511 2003-02-07 John Levon <levon@movementarian.org>
7513 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7515 2003-02-05 Angus Leeming <leeming@lyx.org>
7517 * lyxserver.C (read_ready): revert my patch of 11 September last year
7518 as it sends PC cpu through the roof. Presumably this means that
7519 the lyxserver will no longer run on an Alpha...
7521 2003-01-30 Angus Leeming <leeming@lyx.org>
7523 * factory.C (createInset): create an InsetCommandParam of type "index"
7524 and use it to 'do the right thing'.
7526 * text2.C (getStringToIndex): ensure that cursor position is always
7527 reset to the reset_cursor position.
7529 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7531 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7534 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7538 * lyxfunc.C: Output messages with identical spelling, punctuation,
7541 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7543 * MenuBackend.C (expandFormats): List only viewable export formats
7546 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7549 * lyxfunc.C (getStatus): Make sure that formats other than
7550 "fax" can also be disabled
7552 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7554 * text3.C (dispatch): put the lfuns that insert insets in 3
7555 groups, and call doInsertInset with appropriate arguments.
7556 (doInsertInset): new function, that creates an inset and inserts
7557 it according to some boolean parameters.
7559 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7561 * buffer.C (readFile): remember to pass on 'par' when calling
7562 readFile recursively.
7564 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7566 * MenuBackend.C (expandFormats): add "..." to import formats.
7568 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7570 * paragraph.C (asString): Remove XForms RTL hacks.
7572 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7573 * buffer.C: fix typo
7575 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7577 * Makefile.am (LIBS): delete var
7578 (lyx_LDADD): add @LIBS@ here instead.
7580 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7582 * Clarify the meaning of "wheel mouse jump"
7584 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7586 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7589 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7591 * importer.C (Loaders): do not preallocate 3 elements in the
7592 vector, since one ends up with 6 elements otherwise
7594 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7596 * DepTable.C (write): write the file name as last element of the
7597 .dep file (because it may contain spaces)
7598 (read): read info in the right order
7600 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7602 * paragraph_pimpl.C (simpleTeXBlanks):
7603 (simpleTeXSpecialChars):
7604 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7606 * tabular.C (latex): add some missing case statements. Reindent.
7608 * MenuBackend.C (expandToc): remove unused variable.
7610 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7619 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7622 2003-01-05 John Levon <levon@movementarian.org>
7625 * BufferView.C: add getEncoding()
7628 * kbsequence.C: do not store last keypress
7631 * lyxfunc.C: store last keypress here instead. Pass encoding
7634 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7636 * lyx_main.C (init): remove annoying error message when following
7637 symbolic links (bug #780)
7639 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7641 * text.C (insertChar):
7642 * lyxrc.C (getDescription): remove extra spaces
7644 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7646 * lyxrc.C (getDescription): remove extra spaces
7648 2002-12-20 John Levon <levon@movementarian.org>
7650 * text3.C: hack fix for page up/down across tall rows
7652 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7654 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7657 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7659 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7660 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7661 thesaurus is not compiled in
7663 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7665 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7667 2002-12-16 Angus Leeming <leeming@lyx.org>
7670 * lyx_main.C (init): remove override_x_deadkeys stuff.
7672 2002-12-12 John Levon <levon@movementarian.org>
7674 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7675 insert. Only remove shift modifier under strict
7678 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * MenuBackend.C (expandToc): fix crash.
7682 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7684 * MenuBackend.C (expandToc): gettext on float names.
7686 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7688 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7689 implement bool empty() [bug 490]
7691 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7693 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7695 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7697 * several files: ws changes
7699 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * text2.C (setCounter): clean up a bit, use boost.format.
7702 (updateCounters): initialize par upon declaration.
7704 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7705 if the layout exists. We do not just store the layout any more.
7706 (SwitchLayoutsBetweenClasses): use boost.format
7708 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7710 * converter.C (convert): if from and to files are the same, use a
7711 temporary files as intermediary
7713 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7716 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7718 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7720 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7722 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7724 * tabular.C (asciiPrintCell): use string(size, char) instead of
7727 * sgml.C (openTag): fix order of arguments to string constructor
7730 * lyxfunc.C (dispatch): use boost.format
7732 * lots of files: change "c" -> 'c'
7734 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7736 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7738 2002-11-25 Angus Leeming <leeming@lyx.org>
7740 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7742 * lyx_main.C (init): compile fix.
7744 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7746 * lyx_cb.C (start): boost.formatify
7747 do not include <iostream>
7749 * lengthcommon.C: ws only
7751 * boost-inst.C,BoostFormat.h: add more explict instantations
7753 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7755 * lots of files: handle USE_BOOST_FORMAT
7757 2002-11-21 John Levon <levon@movementarian.org>
7759 * pspell.C: fix compile
7761 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7763 * lyxfunc.C (dispatch): use boost::format
7767 * lyxfont.C (stateText): use boost::format
7769 * lyx_main.C (LyX): use boost::format
7771 (queryUserLyXDir): ditto
7774 (typedef boost::function): use the recommened syntax.
7776 * importer.C (Import): use boost::format
7778 * debug.C (showLevel): use boost::format
7780 * converter.C (view): use boost::format
7785 * bufferview_funcs.C (currentState): use boost::format
7787 * bufferlist.C (emergencyWrite): use boost::format
7789 * buffer.C (readLyXformat2): use boost::format
7790 (parseSingleLyXformat2Token): ditto
7792 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7794 * LaTeX.C (run): use boost::format
7796 * Chktex.C (scanLogFile): use boost::format
7798 * BufferView_pimpl.C (savePosition): use boost::format
7799 (restorePosition): ditto
7800 (MenuInsertLyXFile): ditto
7802 * BoostFormat.h: help file for explicit instation.
7804 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7806 * tabular.C (latex): Support for block alignment in fixed width
7809 2002-11-17 John Levon <levon@movementarian.org>
7811 * BufferView_pimpl.C:
7813 * lyxfunc.C: split filedialog into open/save
7815 2002-11-08 Juergen Vigna <jug@sad.it>
7817 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7818 by my last patch (hopefully).
7820 2002-11-08 John Levon <levon@movementarian.org>
7829 * toc.C: ParConstIterator, and use it (from Lars)
7831 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7833 * lyxtextclass.[Ch]: revise and add doxygen comments
7835 2002-11-07 John Levon <levon@movementarian.org>
7837 * text.C: fix progress value for spellchecker
7839 * toc.C: fix navigate menu for insetwrap inside minipage
7841 * paragraph_funcs.C: added FIXME for suspect code
7843 2002-11-07 John Levon <levon@movementarian.org>
7845 * BufferView_pimpl.C: fix redrawing of insets
7848 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7850 * text2.C (updateCounters): fix bug 668
7852 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7854 * text3.C (dispatch): Do not make the buffer dirty when moving the
7857 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7859 * vc-backend.C: STRCONV
7862 * text2.C (setCounter): STRCONV
7864 * paragraph.C (asString): STRCONV
7866 * lyxlength.C (asString): STRCONV
7867 (asLatexString): ditto
7869 * lyxgluelength.C (asString): STRCONV
7870 (asLatexString): ditto
7872 * lyxfunc.C (dispatch): STRCONV
7875 * lyxfont.C (stateText): STRCONV
7877 * importer.C (Import): STRCONV
7879 * counters.C (labelItem): STRCONV
7880 (numberLabel): ditto
7881 (numberLabel): remove unused ostringstream o
7886 * bufferview_funcs.C (currentState): STRCONV
7888 * buffer.C (readFile): STRCONV
7889 (asciiParagraph): ditto
7890 (makeLaTeXFile): ditto
7892 * Spacing.C (writeEnvirBegin): STRCONV
7894 * LaTeXFeatures.C (getLanguages): STRCONV
7895 (getPackages): ditto
7897 (getBabelOptions): ditto
7898 (getTClassPreamble): ditto
7899 (getLyXSGMLEntities): ditto
7900 (getIncludedFiles): ditto
7904 (scanAuxFile): ditto
7907 * LString.h: add the STRCONV macros
7909 * BufferView_pimpl.C (savePosition): STRCONV
7910 (restorePosition): ditto
7911 (MenuInsertLyXFile): ditto
7913 * vc-backend.C (scanMaster): change from submatch[...] to
7916 * funcrequest.C: include config.h
7918 * factory.C: include config.h
7920 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7922 * box.C: include config.h
7924 * LaTeX.C (scanAuxFile): change from submatch[...] to
7928 2002-10-25 Angus Leeming <leeming@lyx.org>
7930 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7932 * ispell.[Ch] (setError): new method.
7933 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7934 Use setError() insetead of goto END.
7936 * lyx_cb.C (AutoSave): move out child process into new class
7939 2002-10-30 John Levon <levon@movementarian.org>
7941 * text3.C: make start appendix undoable
7943 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7945 * lyxlength.C (inPixels): Fix returned value.
7947 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7950 2002-10-24 Angus Leeming <leeming@lyx.org>
7952 * lyxgluelength.h: no need to forward declare BufferParams
7953 or BufferView, so don't.
7955 2002-10-21 John Levon <levon@movementarian.org>
7957 * BufferView.C: menuUndo ->undo, redo
7959 * BufferView.h: document, remove dead, make some methods private
7961 * paragraph_funcs.h:
7962 * paragraph_funcs.C:
7963 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7968 * sgml.C: move sgml open/close tag into sgml.C
7970 * bufferview_funcs.h: unused prototype
7973 * lyxfunc.C: remove unused
7976 * text.C: remove unused
7978 2002-10-21 John Levon <levon@movementarian.org>
7982 * BufferView_pimpl.h:
7983 * BufferView_pimpl.C: fix mouse wheel handling based on
7984 patch from Darren Freeman
7986 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7988 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7990 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7992 * lyxlength.C (inPixels): Fix hanfling of negative length.
7993 Fix LyXLength::MU case.
7995 2002-10-16 John Levon <levon@movementarian.org>
7997 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7999 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8001 * converter.C (view): add support for $$i (file name) and $$p
8002 (file path) for the viewer command. If $$i is not specified, then
8003 it is appended to the command (for compatibility with old syntax)
8005 2002-10-14 Juergen Vigna <jug@sad.it>
8007 * undo_funcs.C (textHandleUndo): alter the order in which the
8008 new undopar is added to the LyXText, as we have to set first
8009 the right prev/next and then add it as otherwise the rebuild of
8010 LyXText is not correct. Also reset the cursor to the right paragraph,
8011 with this IMO we could remove the hack in "redoParagraphs()".
8013 2002-10-09 Angus Leeming <leeming@lyx.org>
8015 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8016 to turn off an optimisation if a new inset is to be inserted.
8018 2002-10-11 André Pönitz <poenitz@gmx.net>
8020 * lyxtext.h: make some functions public to allow access
8021 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8023 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8025 * text3.C (dispatch): when changing layout, avoid an infinite loop
8028 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8030 * lyxrc.C (read): treat a viewer or converter command of "none" as
8033 * MenuBackend.C (expandFormats): for an update, also allow the
8034 formats that are not viewable
8036 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8037 script if it is newer than the lyxrc.defaults in user directory
8039 2002-10-07 André Pönitz <poenitz@gmx.net>
8041 * text.C: Vitaly Lipatov's small i18n fix
8043 2002-09-25 Angus Leeming <leeming@lyx.org>
8045 * ispell.h: doxygen fix.
8047 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8049 * buffer.h (readFile): Add a new argument to the method, to allow
8050 reading of old-format templates.
8052 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8054 * toc.C (getTocList): Get TOC from InsetWrap.
8056 2002-09-16 John Levon <levon@movementarian.org>
8058 * lyxfunc.C: check tabular for cut/copy too
8060 2002-09-12 John Levon <levon@movementarian.org>
8065 * factory.C: add header
8067 * paragraph_funcs.h:
8068 * paragraph_funcs.C: cleanup
8070 2002-09-11 John Levon <levon@movementarian.org>
8072 * PrinterParams.h: odd/even default to true
8074 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8076 * PrinterParams.h: update printer parameters for new xforms dialog
8078 2002-09-11 Angus Leeming <leeming@lyx.org>
8080 * lyxserver.C (read_ready): re-write to make it more transparent
8081 and to make it work in coherent fashion under Tru64 Unix.
8083 2002-09-11 André Pönitz <poenitz@gmx.net>
8087 * text3.C: implement LFUN_WORDSEL
8089 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8091 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8092 make floatlist_ a boost::shared_ptr<FloatList>
8094 * lyxtextclass.C: include FloatList.h
8095 (LyXTextClass): initialize floatlist_
8096 (TextClassTags): add TC_NOFLOAT
8097 (Read): match "nofloat" to TC_NOFLOAT and use it.
8098 (readFloat): modify call to floatlist_
8102 * FloatList.[Ch] (FloatList): remove commented out float
8104 (erase): new function
8106 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8108 * MenuBackend.C (expandToc): fix crash when there is no document
8111 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8113 * many files: Add insetwrap.
8115 2002-09-09 John Levon <levon@movementarian.org>
8117 * text2.C: remove confusing and awkward depth wraparound
8119 2002-09-09 John Levon <levon@movementarian.org>
8121 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8124 * buffer.C: remove getIncludeonlyList()
8127 * lyxfunc.C: remove headers
8129 2002-09-09 Juergen Vigna <jug@sad.it>
8131 * text.C (getColumnNearX): fix form Michael this is most
8132 probably a cut&paste bug.
8134 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8136 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8138 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8139 references, ws changes.
8141 * text2.C (init): update counters after init
8142 (insertParagraph): no need to set counter on idividual paragraphs.
8143 (setCounter): access the counters object in the textclass object
8144 on in the buffer object.
8145 (updateCounters): ditto
8147 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8148 shared_ptr<Counters> to avoid loading counters.h in all
8150 (LyXTextClass): initialize ctrs_
8151 (TextClassTags): add TC_COUNTER, and ...
8152 (Read): use it here.
8153 (CounterTags): new tags
8154 (readCounter): new function
8155 (counters): new funtion
8156 (defaultLayoutName): return a const reference
8158 * counters.C (Counters): remove contructor
8159 (newCounter): remove a couple of unneeded statements.
8160 (newCounter): simplify a bit.
8161 (numberLabel): some small formatting changes.
8163 * buffer.[Ch]: remove all traces of counters, move the Counters
8164 object to the LyXTextClass.
8166 2002-09-06 Alain Castera <castera@in2p3.fr>
8168 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8169 package to set the horizontal alignment on fixed width columns.
8172 * lyx_sty.h: added tabularnewline macro def.
8174 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8176 2002-09-06 John Levon <levon@movementarian.org>
8178 * LyXAction.C: tooltips for sub/superscript
8180 * MenuBackend.C: a bit more verbose
8182 * lyxfunc.C: tiny clean
8184 * undo_funcs.C: document undo_frozen
8186 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8188 * counters.C (Counters): add missing algorithm counter.
8190 * text2.C (setCounter): lookup the counter with layouts latexname
8191 instead of by section number.
8192 (setCounter): use a hackish way to lookup the correct enum
8194 a float name->type change
8195 reset enum couners with counter name directly instead of depth value.
8197 * counters.C (Counters): remove the push_backs, change to use the
8198 float type not the float name.
8199 (labelItem): remove unused string, float name->type change
8201 * counters.h: don't include vector, loose the enums and sects vectors
8203 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8205 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8206 (Read): add float->TC_FLOAT to textclassTags
8207 (Read): and handle it in the switch
8208 (readFloat): new function
8210 * FloatList.C (FloatList): comment out the hardcoded float
8213 * lyxlayout.h: ws change.
8215 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8217 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8219 2002-09-03 Angus Leeming <leeming@lyx.org>
8221 * BufferView_pimpl.h: qualified name is not allowed in member
8222 declaration: WorkArea & Pimpl::workarea() const;
8224 * factory.C: added using std::endl directive.
8226 * text3.C: added using std::find and std::vector directives.
8228 2002-08-29 André Pönitz <poenitz@gmx.net>
8231 * text2.C: remove unused member number_of_rows
8234 * BufferView2.C: remove file, move contents to...
8235 * BufferView.C: ... here
8237 * BufferView_pimpl.C:
8238 * factory.C: move more inset creation to factory
8240 * vspace.C: avoid direct usage of LyXText, ws changes
8243 don't provide direct access to WorkArea, use two simple
8244 acessors haveSelction() and workHeight() instead
8247 2002-08-29 John Levon <levon@movementarian.org>
8249 * BufferView_pimpl.C (dispatch): do not continue when
8252 2002-08-28 André Pönitz <poenitz@gmx.net>
8254 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8257 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8259 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8261 * buffer.C: increment LYX_FORMAT to 221
8263 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8264 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8266 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8268 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8270 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8272 * factory.C (createInset): use LyXTextClass::floats
8274 * MenuBackend.C (expandFloatListInsert):
8275 (expandFloatInsert):
8278 * text2.C (setCounter):
8280 * LaTeXFeatures.C (useFloat):
8281 (getFloatDefinitions):
8283 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8285 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8286 floatlist_, with accessor floats().
8288 * FloatList.h: remove global FloatList
8290 2002-08-26 André Pönitz <poenitz@gmx.net>
8292 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8296 * BufferView_pimpl.C:
8297 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8299 2002-08-25 John Levon <levon@movementarian.org>
8301 * LyXAction.C: fix margin note description
8303 2002-08-24 John Levon <levon@movementarian.org>
8307 * bufferview_funcs.C:
8309 * undo_funcs.C: cleanups
8311 * lyxfunc.C: disable CUT/COPY when no selection
8313 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8315 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8316 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8318 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8319 Add backward compatibility to "mono", "gray" and "no".
8321 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8323 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8324 (and file_format >= 200).
8326 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8328 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8330 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8332 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8334 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8336 * BufferView_pimpl.C:
8343 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8344 inset and code to make it work with the paragraph code. The inset
8345 can be anywhere in the paragraph, but will only do the expected
8346 thing in LaTeX if the layout file contains the parameter line
8348 (or more generally, a nonzero value) for that layout.
8350 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * paragraph.h: remove the declaration of undefined counters class
8355 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8357 * text2.C (setCounter): fixed enumeration mis-count as reported by
8358 Dr. Richard Hawkins.
8360 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8362 * paragraph_funcs.h: remove some unneeded includes
8364 * text.C (backspace): pasteParagraph now in global scipe
8366 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8367 (pasteSelection): ditto
8369 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8370 * paragraph_funcs.C (pasteParagraph): ... here
8372 2002-08-20 André Pönitz <poenitz@gmx.net>
8374 * commandtags.h: new LFUNs for swapping/copying table row/colums
8377 * lyxfunc.C: support for new lfuns
8379 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8382 * buffer.[Ch]: remove NO_COMPABILITY stuff
8384 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8386 * boost.C (throw_exception): new file, with helper function for
8387 boost compiled without exceptions.
8392 * ParameterStruct.h:
8393 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8395 * bufferlist.C (emergencyWriteAll): use boost bind
8397 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8399 * text.C: include paragraph_funcs.h
8400 (breakParagraph): breakParagraph is now in global scope
8402 * paragraph_funcs.[Ch]: new files
8404 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8407 * buffer.C: include paragraph_funcs.h
8408 (insertStringAsLines): breakParagraph is now in global scope
8410 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8413 * CutAndPaste.C: include paragraph_funcs.h
8414 (cutSelection): breakParagraphConservative is now in global scope
8415 (pasteSelection): ditto
8417 * buffer.h: declare oprator== and operator!= for
8418 Buffer::inset_iterator
8420 * bufferlist.C (emergencyWrite): don't use fmt(...)
8422 * text3.C: add using std::endl
8424 * BufferView.C (moveCursorUpdate): remove default arg
8426 2002-08-20 André Pönitz <poenitz@gmx.net>
8428 * buffer.[Ch]: move inline functions to .C
8431 * BufferView_pimpl.C:
8433 * buffer.[Ch]: use improved inset_iterator
8436 * paragraph.[Ch]: write one paragraph at a time
8438 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8440 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8441 style if style is not specified.
8443 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8445 * text2.C (setCounter): when searching for right label for a
8446 caption, make sure to recurse to parent insets (so that a caption
8447 in a minipage in a figure float works) (bug #568)
8449 2002-08-20 André Pönitz <poenitz@gmx.net>
8451 * text3.C: new file for LyXText::dispatch() and helpers
8453 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8455 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8457 2002-08-19 André Pönitz <poenitz@gmx.net>
8460 * text.C: new LyXText::dispatch()
8462 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8464 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8466 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8468 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8471 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8473 * Makefile.am: use $(variables) instead of @substitutions@
8475 2002-08-15 André Pönitz <poenitz@gmx.net>
8478 * BufferView_pimpl.C: streamlining mathed <-> outer world
8482 * LyXAction.C: remove unused LFUN_MATH
8484 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8488 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * paragraph.C (Paragraph): reformat a bit
8491 (cutIntoMinibuffer): use builtin InsetList function instad of
8495 * buffer.C: include boost/bind.hpp, add using std::for_each
8496 (writeFileAscii): use ParagraphList iterators
8497 (validate): use for_each for validate traversal of paragraphs
8498 (getBibkeyList): use ParagraphList iterators
8499 (resizeInsets): use for_each to resizeInsetsLyXText for all
8501 (getParFromID): use ParagraphList iterators
8503 * BufferView2.C (lockInset): use paragraph list and iterators
8505 2002-08-14 John Levon <levon@movementarian.org>
8507 * lyxserver.C: remove spurious xforms include
8509 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8511 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8513 2002-08-13 André Pönitz <poenitz@gmx.net>
8516 * lyxfunc.C: further cleaning
8518 2002-08-13 André Pönitz <poenitz@gmx.net>
8520 * funcrequest.h: new constructor
8522 * funcrequest.C: move stuff here from .h
8525 * BufferView_pimpl.C:
8528 * lyxfunc.C: subsequent changes
8530 * lyxfunc.h: new view() member function
8532 * lyxfunc.C: subsequent changes
8534 2002-08-13 Angus Leeming <leeming@lyx.org>
8537 * BufferView_pimpl.C:
8545 changes due to the changed LyXView interface that now returns references
8546 to member variables not pointers.
8548 2002-08-13 Angus Leeming <leeming@lyx.org>
8550 * WordLangTuple (word, lang_code): return references to strings,
8555 * lyxtext.h: forward-declare WordLangTuple.
8560 * text.C: #include "WordLangTuple.h".
8563 * text.C: (selectNextWordToSpellcheck): constify return type.
8565 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8571 * paragraph_pimpl.h:
8574 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8576 Made updateCounter always count from start of buffer, and removed
8577 second argument (par).
8578 Reverted floats number display to '#'. Perhaps I'll try again when the
8579 code base is sanitized a bit.
8581 2002-08-12 Angus Leeming <leeming@lyx.org>
8583 * buffer.[Ch] (getLabelList): constify.
8585 2002-08-07 André Pönitz <poenitz@gmx.net>
8587 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8589 * funcrequest.h: extension to keep mouse (x,y) position
8591 2002-08-12 Juergen Vigna <jug@sad.it>
8593 * BufferView2.C (insertErrors): forbid undo when inserting error
8596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8598 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8600 * ParagraphList.[Ch]: new files
8602 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8604 * BufferView2.C (lockInset): ParagraphList changes
8607 * bufferlist.C: ditto
8611 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8613 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8614 unused class variable counter_,
8616 * paragraph.[Ch] (getFirstCounter): delete unused function
8618 * counters.C: include LAssert.h
8619 (reset): add a new function with no arg, change other version to
8620 not have def. arg and to not allow empty arg.
8622 * text2.C (setCounter): remove empty arg from call to Counters::reset
8624 2002-08-11 John Levon <levon@movementarian.org>
8626 * Makefile.am: add WordLangTuple.h
8628 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8630 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8631 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8633 * insets/insettext.C: InsetList changes
8635 * graphics/GraphicsSupport.C (operator()): InsetList changes
8637 * toc.C (getTocList): InsetList changes
8639 * paragraph_pimpl.[Ch]: InsetList changes
8641 * paragraph.[Ch]: InsetList changes
8643 * buffer.C (inset_iterator): InsetList changes
8644 (setParagraph): ditto
8645 * buffer.h (inset_iterator): ditto
8646 * iterators.C (operator++): ditto
8647 * iterators.h: ditto
8649 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8651 * InsetList.[Ch]: new files, most InsetList handling moved out of
8654 * BufferView2.C (removeAutoInsets): InsetList changes
8656 (ChangeInsets): ditto
8658 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8660 * paragraph_pimpl.h (empty): new function
8662 * paragraph.[Ch] (empty): new function
8664 * other files: use the new Paragraph::empty function
8666 2002-08-09 John Levon <levon@movementarian.org>
8668 * lyxtext.h: remove unused refresh_height
8670 2002-08-09 John Levon <levon@movementarian.org>
8677 * paragraph.C: move sgml char escaping out of paragraph
8680 * paragraph.C: remove id setter
8684 * paragraph_pimpl.C: remove dead tex_code_break_column
8686 * bufferview_funcs.C: small cleanup
8688 * lyxfunc.C: remove dead proto
8690 * lyxtext.h: make some stuff private. Remove some dead stuff.
8692 * lyxgluelength.C: make as[LyX]String() readable
8694 2002-08-08 John Levon <levon@movementarian.org>
8699 * ToolbarDefaults.C:
8702 * toc.C: lyxaction cleanup
8704 2002-08-08 John Levon <levon@movementarian.org>
8706 * BufferView2.C: small cleanup
8709 * lyxfind.C: move unnecessary header into the .C
8711 2002-08-08 John Levon <levon@movementarian.org>
8713 * funcrequest.h: just tedious nonsense
8716 * lyx_main.C: cleanups
8719 * vspace.C: remove dead header lyx_main.h
8721 2002-08-07 Angus Leeming <leeming@lyx.org>
8724 * paragraph_pimpl.h:
8725 Forward declare class Counters in paragraph.h by moving the ctrs member
8726 variable into Paragraph::Pimpl.
8727 (counters): new method, returning a reference to pimpl_->ctrs.
8729 * text2.C: ensuing changes.
8731 2002-08-07 John Levon <levon@movementarian.org>
8733 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8735 * BufferView_pimpl.C: announce X selection on double/triple
8738 * lyx_main.C: use correct bool in batch dispatch
8740 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8742 2002-08-07 André Pönitz <poenitz@gmx.net>
8744 * funcrequest.h: new class to wrap a kb_action and its argument
8747 * BufferView_pimpl[Ch]:
8751 * lyxrc.C: subsequent changes
8754 2002-08-07 John Levon <levon@movementarian.org>
8756 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8757 document options change.
8759 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8764 * makefile.am: move counters functionality over from
8765 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8767 2002-08-06 John Levon <levon@movementarian.org>
8769 * WordLangTuple.h: new file for word + language code tuple
8780 * BufferView2.C: use WordLangTuple
8783 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8785 2002-08-06 John Levon <levon@movementarian.org>
8787 * lyx_main.C: fix cmdline batch handling
8789 2002-08-06 André Pönitz <poenitz@gmx.net>
8791 * lyxrc.C: set default for show_banner to true
8793 2002-08-06 John Levon <levon@movementarian.org>
8795 * pspell.C: fix a crash, and allow new aspell to work
8797 2002-08-06 John Levon <levon@movementarian.org>
8800 * kbmap.C: small cleanup
8803 * vspace.C: add const
8805 2002-08-05 John Levon <levon@movementarian.org>
8807 * LyXAction.C: back to tabular-insert
8809 2002-08-04 John Levon <levon@movementarian.org>
8812 * BufferView.C: cosmetic change
8814 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8824 * BufferView2.C: purge all "Lyx" not "LyX" strings
8827 * lyxcursor.C: attempt to add some documentation
8832 * ToolbarDefaults.C:
8833 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8834 merge with LFUN_TABULAR_INSERT
8841 * pspell.C: split up i/pspell implementations into separate
8842 files, many cleanups
8844 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8846 * text2.C: some cleanup
8848 * lyxfunc.C: don't check for isp_command == "none" any more, it
8849 didn't make any sense
8851 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8856 * makefile.am: move counters functionality over
8857 from text2.C/paragraph.[Ch] to counters.[Ch], and
8859 2002-08-02 John Levon <levon@movementarian.org>
8861 * buffer.C: s/lyxconvert/lyx2lyx/
8863 2002-08-02 Angus Leeming <leeming@lyx.org>
8865 * lyxlex.C: revert John's change as it breaks reading of the user
8868 2002-08-02 Angus Leeming <leeming@lyx.org>
8870 * importer.C (Import):
8871 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8872 changes due to LyXView::view() now returning a boost::shared_ptr.
8874 2002-08-02 John Levon <levon@movementarian.org>
8876 * lyxlex.C: small cleanup
8878 2002-08-02 John Levon <levon@movementarian.org>
8880 * text2.C (status): small cleanup, no logic change
8882 2002-08-01 John Levon <levon@movementarian.org>
8885 * buffer.C (writeFile): don't output alerts, caller
8889 * lyx_cb.C: from above
8891 * lyxfunc.C: allow to open non-existent files
8893 2002-07-31 John Levon <levon@movementarian.org>
8895 * lyxserver.C: don't let incidental errors get
8898 2002-07-30 John Levon <levon@movementarian.org>
8900 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8902 2002-07-30 John Levon <levon@movementarian.org>
8905 * lyxserver.C: remove I/O callback too
8907 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8909 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8912 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8914 * many files: strip,frontStrip -> trim,ltrim,rtrim
8916 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8918 * PrinterParams.h: remove extern containsOnly, and include
8919 support/lstrings.h instead.
8921 * LaTeX.C (scanAuxFile): modify because of strip changes
8923 * buffer.C (makeLaTeXFile): ditto
8924 * bufferparams.C (writeFile): ditt
8925 * lyxfont.C (stateText): ditto
8926 * lyxserver.C (read_ready): ditto
8927 * vc-backend.C (scanMaster): ditto
8929 * BufferView_pimpl.h: ws changes
8931 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8933 2002-07-26 André Pönitz <poenitz@gmx.net>
8935 * kb_sequence.C: remove unnedred usings
8937 2002-07-26 Juergen Vigna <jug@sad.it>
8939 * lyxfind.C (LyXReplace): we have to check better if the returned
8940 text is not of theLockingInset()->getLockingInset().
8942 2002-07-25 Juergen Vigna <jug@sad.it>
8944 * lyxfind.C (LyXReplace): don't replace if we don't get the
8947 * undo_funcs.C (createUndo): remove debugging code.
8949 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8951 * buffer.C (parseSingleLyXformat2Token): Use default placement
8952 when reading old floats.
8954 * FloatList.C (FloatList): Change the default placement of figure
8955 and tables to "tbp".
8957 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8959 * MenuBackend.C: using std::max
8961 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8963 * MenuBackend.C (expandToc):
8964 (expandToc2): code moved from xforms menu frontend. It is now
8965 generic and TOCs are transparent to menu frontends.
8967 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8969 * toc.C (getTocList): protect against buf=0
8971 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8972 Menu as first parameter. Now, this calls itself recursively to
8973 expand a whole tree (this will be useful for TOC handling)
8974 (expandFloatInsert): remove 'wide' version of floats
8976 * MenuBackend.h (submenuname): returns the name of the submenu.
8977 (submenu): returns the submenu itself, provided it has been
8978 created by MenuBackend::expand
8980 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8982 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8983 insets which have noFontChange == true. (bug #172)
8985 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8987 * BufferView_pimpl.C: add connection objects and use them...
8990 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8992 * MenuBackend.C (expandLastfiles):
8995 (expandFloatListInsert):
8996 (expandFloatInsert):
8997 (expand): split expand in parts
8999 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9001 * lyx_gui.C: use lyx_gui::exit()
9003 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9005 * LyXAction.C: show the failing pseudo action
9007 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9009 * buffer.C (readFile): Run the lyxconvert script in order to read
9012 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9016 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9018 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9022 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9024 2002-07-22 Herbert Voss <voss@lyx.org>
9027 * lyxlength.[Ch]: add support for the vertical lengths
9029 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9031 * toc.[Ch]: std:: fixes
9033 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9035 * lyxrc.C: do not include lyx_main.h
9037 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9043 * BufferView2.C: include "lyxlex.h"
9046 * bufferparams.h: do not #include "lyxlex.h"
9048 * lyxtextclasslist.C (Add): remove method
9049 (classlist): renamed to classlist_
9051 * paragraph_pimpl.C:
9055 * bufferview_funcs.C:
9060 * toc.C (getTocList): use BufferParams::getLyXTextClass
9062 * toc.C (getTocList): use InsetFloat::addToToc
9064 * toc.[Ch]: new files, containing helper functions to handle table
9067 * lyxfunc.C (dispatch): no need to remove spaces around command
9069 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9070 first command of the sequence; it is not very clever, but I do not
9071 have a better idea, actually
9073 * LyXAction.C (LookupFunc): make sure to remove space at the
9074 beginning and end of the command
9076 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9078 * MenuBackend.C (getMenubar): new method: return the menubar of
9080 (read): treat differently reading of menu and menubar (in
9081 particular, the menubar has no name now)
9082 (Menu::menubar): remove
9084 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9087 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9089 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9090 a bibitem inset in a RTL paragraph.
9092 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9094 * paragraph_pimpl.C: constify
9096 * BufferView_pimpl.C:
9098 * lyxfunc.C: fix dispatch in a nicer way
9100 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9102 * lyxfunc.C (dispatch):
9103 * BufferView_pimpl.C:
9104 * BufferView_pimpl.h:
9106 * BufferView.h: rename Dispatch() to dispatch()
9108 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9110 * lyxlayout.C (Read): honor DependsOn tag
9112 * lyxlayout.[Ch] (depends_on): new method
9114 * version.C.in: update lyx_docversion
9116 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9118 * paragraph.C (validate): remove from here...
9119 * paragraph_pimpl.C (validate): ... and move here
9120 (isTextAt): make it const
9122 * buffer.C (getLists): ws cleanup
9124 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9126 * language.C (read): Use iso8859-1 encoding in latex_lang
9127 (this prevents LyX from crashing when using iso10646-1 encoding).
9129 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9131 * text2.C (toggleInset): if cursor is inside an inset, close the
9132 inset and leave cursor _after_ it
9134 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9136 * lyxfunc.C: move minibuffer completion handling out of here
9138 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9140 * BufferView_pimpl.C:
9141 * LaTeX.C: fix dispatch calls
9143 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9145 * text.C (drawChars): Fix Arabic text rendering.
9147 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9151 * lyxfunc.C: remove message-push/pop
9155 * lyxfunc.C: rationalise some code by removing verboseDispatch
9156 in favour of a bool argument to dispatch()
9158 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9160 * lyx_main.C (init): make sure to read symlinks as absolute paths
9162 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9165 * lyxfunc.C: no need for commandshortcut to be a member
9167 2002-07-15 André Pönitz <poenitz@gmx.net>
9169 * converter.C: add support for $$s (scripts from lib/scripts dir)
9170 * lyx_main.C: white space
9172 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9176 * lyxrc.C: remove second exit confirmation
9178 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9183 * BufferView_pimpl.h:
9184 * BufferView_pimpl.C:
9185 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9187 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9189 * MenuBackend.C (expand): add numeric shortcuts to document menu
9191 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9193 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9195 * lyxfont.C (setLyXFamily):
9202 * buffer.C (asciiParagraph): use ascii_lowercase
9204 2002-07-15 Mike Fabian <mfabian@suse.de>
9206 * lyxlex_pimpl.C (search_kw):
9207 * lyxlex.C (getLongString):
9208 * converter.h (operator<):
9209 * converter.C (operator<):
9210 * buffer.C (parseSingleLyXformat2Token):
9212 * ToolbarDefaults.C (read):
9213 * MenuBackend.C (checkShortcuts):
9215 * LColor.C (getFromGUIName):
9216 (getFromLyXName): use the compare_ascii_no_case instead of
9217 compare_no_case, because in turkish, 'i' is not the lowercase
9218 version of 'I', and thus turkish locale breaks parsing of tags.
9220 2002-07-16 Angus Leeming <leeming@lyx.org>
9222 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9223 now takes a Buffer const & argument.
9225 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9227 * BufferView.C (resize): check there's a buffer to resize
9229 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9231 * lyxfunc.C: remove dead code
9234 * lyxserver.C: use lyx_guii::set_read_callback
9236 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9238 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9239 an inset in a RTL paragraph.
9241 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9243 * lyxfunc.C: repaint after a font size update
9245 2002-07-15 André Pönitz <poenitz@gmx.net>
9247 * lyxlength.C: inBP should be able to return negative values
9249 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9251 * lyxfunc.C: use lyx_gui::update_fonts()
9253 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9255 * lyxfunc.C: use lyx_gui::update_color()
9257 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9263 * lyxrc.C: remove file->new asks for name option, and let
9264 buffer-new take an argument
9266 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9268 * BufferView_pimpl.C: remove unneeded extra repaint()
9270 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9272 * LyXAction.C: allow command-sequence with NoBuffer
9274 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9276 2002-07-10 Angus Leeming <leeming@lyx.org>
9278 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9280 2002-07-09 Angus Leeming <leeming@lyx.org>
9282 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9284 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9286 * lengthcommon.h: whitespace
9288 * lyxfunc.C: update scrollbar after goto paragraph
9290 * lyxtext.h: factor out page break drawing, and fix it so
9291 page break/added space paints as selected nicely
9293 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9295 * BufferView_pimpl.C: add FIXMEs, clean up a little
9297 2002-07-09 André Pönitz <poenitz@gmx.net>
9299 * lyxfont.[Ch]: support for wasy symbols
9301 2002-07-08 André Pönitz <poenitz@gmx.net>
9303 * BufferView_pimpl.C: apply John's patch for #93.
9305 2002-07-05 Angus Leeming <leeming@lyx.org>
9307 * BufferView_pimpl.C (buffer): generate previews if desired.
9309 * LColor.h: add "preview" to the color enum.
9311 * LColor.C (LColor): add a corresponding entry to the items array.
9313 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9316 2002-07-05 Angus Leeming <leeming@lyx.org>
9318 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9319 The body of the code is now in the method that is passed an ostream &
9320 rather than a file name.
9321 Pass an additional only_preamble parameter, useful for the forthcoming
9324 2002-07-03 André Pönitz <poenitz@gmx.net>
9326 * lyxfunc.C: simplify getStatus() a bit for math stuff
9328 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9330 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9332 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9334 * text.C (changeRegionCase): do not change case of all the
9335 document when region ends at paragraph end (bug #461)
9337 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9339 * paragraph.C (startTeXParParams):
9340 (endTeXParParams): add \protect when necessary
9342 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9344 * BufferView_pimpl.C (workAreaExpose): remove warning
9346 2002-06-27 Angus Leeming <leeming@lyx.org>
9348 * Makefile.am: add lyxlayout_ptr_fwd.h.
9350 2002-06-26 André Pönitz <poenitz@gmx.net>
9352 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9354 2002-06-25 Angus Leeming <leeming@lyx.org>
9356 * lyxfunc.C (dispatch): Comment out the call to
9357 grfx::GCache::changeDisplay. The method no longer exists now that the
9358 pixmap generation part of the graphics loader has been moved into
9361 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9363 * text2.C: layout as layout
9365 * text.C: layout as layout
9367 * tabular.C (OldFormatRead): layout as layout
9369 * paragraph_pimpl.C (TeXDeeper): layout as layout
9370 (realizeFont): layout as layout
9372 * paragraph.C (writeFile): layout as layout
9373 (validate): layout as layout
9374 (getFont): layout as layout
9375 (getLabelFont): layout as layout
9376 (getLayoutFont): layout as layout
9377 (breakParagraph): layout as layout
9378 (stripLeadingSpaces): layout as layout
9379 (getEndLabel): layout as layout
9380 (getMaxDepthAfter): layout as layout
9381 (applyLayout): layout as layout
9382 (TeXOnePar): layout as layout
9383 (simpleTeXOnePar): layout as layout
9384 (TeXEnvironment): layout as layout
9385 (layout): layout as layout
9386 (layout): layout as layout
9388 * lyxtextclass.C (compare_name): new functor to work with
9389 shared_ptr, layout as layout
9390 (Read): layout as layout
9391 (hasLayout): layout as layout
9392 (operator): layout as layout
9393 (delete_layout): layout as layout
9394 (defaultLayout): layout as layout
9396 * lyxlayout_ptr_fwd.h: new file
9398 * lyxlayout.C (Read): layout as layout
9400 * lyx_cb.C (MenuInsertLabel): layout as layout
9402 * bufferlist.C (newFile): layout as layout
9404 * buffer.C (readLyXformat2): layout as layout
9405 (parseSingleLyXformat2Token): layout as layout
9406 (insertStringAsLines): layout as layout
9407 (asciiParagraph): layout as layout
9408 (latexParagraphs): layout as layout
9409 (makeLinuxDocFile): layout as layout
9410 (simpleLinuxDocOnePar): layout as layout
9411 (makeDocBookFile): layout as layout
9412 (simpleDocBookOnePar): layout as layout
9413 (getLists): layout as layout
9415 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9417 * CutAndPaste.C (cutSelection): layout as layout
9418 (pasteSelection): layout as layout
9419 (SwitchLayoutsBetweenClasses): layout as layout
9421 * BufferView_pimpl.C (Dispatch): layout as layout
9422 (smartQuote): layout as layout
9424 * BufferView2.C (unlockInset): layout as layout
9426 2002-06-24 André Pönitz <poenitz@gmx.net>
9428 * lyxfunc.C: fix #487
9430 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9434 * lyxfunc.C: remove display_shortcuts, show_banner
9436 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9438 * Buffer_pimpl.C: oops, update on resize
9440 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9447 * BufferView.C: use repaint()
9449 * BufferView_pimpl.h:
9450 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9451 as it's a clearer description. Remove superfluous
9454 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9456 * text.C: fix bug 488. Not ideal, but getting
9457 getWord() to work properly for the insets that
9458 matter is more difficult ...
9460 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9462 * BufferView_pimpl.C:
9465 * lyxfunc.C: remove the six million index lyxfuncs to just
9466 one, and DTRT (bug 458)
9468 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9472 * BufferView_pimpl.h:
9473 * BufferView_pimpl.C: clean up resize() stuff,
9474 and unnecessary updateScreen()s
9476 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9480 * BufferView_pimpl.h:
9481 * BufferView_pimpl.C:
9484 * minibuffer.C: remove focus management of workarea,
9485 not needed. Use screen's greyOut()
9487 2002-06-17 Herbert Voss <voss@lyx.org>
9489 * converter.C: (convert) do not post a message, when converting
9490 fails, let the calling function decide what to do in this case
9492 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9494 * lyxfunc.C: tidy up a little
9496 2002-06-16 <alstrup@diku.dk>
9498 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9499 Got rid of FORMS_H_LOCATION include. Now we are
9502 2002-06-15 LyX Development team <lyx@rilke>
9504 * buffer.[Ch] (sgmlOpenTag):
9505 (sgmlCloseTag): Added support for avoiding pernicious mixed
9506 content. Return number of lines written.
9509 (makeDocBookFile): Fixed calls to sgml*Tag.
9510 Simple white space clean.
9512 (simpleDocBookOnePar): Simple white space clean.
9514 * tabular.[Ch] (docBook): Renamed to docbook and got another
9515 argument to related with the pernicious mixed content.
9517 (docbookRow): Fixed calls for docbook inset method.
9519 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9521 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9522 so it's X11 independent.
9526 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9528 2002-06-15 Lyx Development team <lyx@electronia>
9530 * intl.h: Renamed getTrans to getTransManager.
9532 2002-06-14 Angus Leeming <leeming@lyx.org>
9534 * Makefile.am: nuke forgotten stl_string_fwd.h.
9536 2002-06-12 Angus Leeming <leeming@lyx.org>
9538 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9540 2002-06-13 Angus Leeming <leeming@lyx.org>
9543 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9545 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9547 * kbmap.C (getiso): add support for cyrillic and greek
9549 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9553 * BufferView_pimpl.h:
9554 * BufferView_pimpl.C: move bogus scrolling logic
9557 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9560 * BufferView_pimpl.C: view->resize() change
9562 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9564 * BufferView_pimpl.C: topCursorVisible
9567 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9571 * lyx_gui.C: move to frontends/
9575 * lyx_main.C: changes from above
9577 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9584 * lyx_main.C: minor tidy
9586 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9588 * BufferView_pimpl.h:
9589 * BufferView_pimpl.C:
9591 * BufferView.C: make painter() const,
9594 * BufferView2.C: use screen() accessor
9597 * lyx_main.C: some minor cleanup
9599 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9601 * BufferView_pimpl.h:
9602 * BufferView_pimpl.C: remove enter/leaveView,
9605 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9610 * BufferView_pimpl.h:
9611 * BufferView_pimpl.C: only construct screen once,
9614 * lyxrc.C: remove pointless comment
9616 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9619 * BufferView.C: remove active() and belowMouse()
9621 * BufferView_pimpl.h:
9622 * BufferView_pimpl.C: use workarea() not workarea_,
9623 and make it use a scoped_ptr instead
9625 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9627 * lyx_gui.C: add debug message on BadWindow
9629 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9631 * sp_spell.C: fdopen is not part of the C++ standard.
9633 * paragraph.C (InsetIterator): use >= instead of ==
9635 2002-06-07 Angus Leeming <leeming@lyx.org>
9637 Fixes needed to compile with Compaq cxx 6.5.
9638 * BufferView_pimpl.C:
9645 * lyxtextclasslist.C:
9650 all c-library variables have been moved into namespace std. Wrap
9651 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9656 Add a using std::abs declaration.
9658 * kbmap.h (modifier_pair):
9659 * paragraph.h (InsetTable, InsetList):
9660 * lyxfont.h (FontBits):
9661 type definition made public.
9663 * bufferlist.C (emergencyWriteAll): the compiler complains that
9664 there is more than one possible lyx::class_fun template to choose from.
9665 I re-named the void specialisation as lyx::void_class_fun.
9667 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9669 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9670 the compiler is is unable to find tostr in write_attribute.
9672 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9674 * buffer.C (sgmlError): hide #warning
9676 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9678 * xtl/*: get rid of xtl, which is not in use anyway
9680 * LyXAction.C (init):
9681 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9682 were unimplemented xtl experimentation
9684 2002-06-04 André Pönitz <poenitz@gmx.net>
9686 * lyxfunc.C: disable array operation on simple formulae
9688 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9690 * converter.C: constify a bit
9692 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9694 * lyx_gui.C: check xforms version correctly
9696 2002-04-30 Herbert Voss <voss@lyx.org>
9698 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9701 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9703 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9704 attempt to register it with a VCS)
9706 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9708 * lyx_main.C (init): honor variables LYX_DIR_13x and
9711 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9715 * lyx_main.C: fix a crash on bad command line,
9716 and give a useful exit status on error
9718 * lyxfunc.C (doImport): allow -i lyx to work
9720 2002-03-30 André Pönitz <poenitz@gmx.net>
9722 * lyxfunc.C: mathed font changes
9724 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9739 * trans_mgr.h: srcdocs, and some minor cleanups
9741 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9743 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9744 call getFont all the time)
9746 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9748 * switch from SigC signals to boost::signals
9750 2002-05-29 André Pönitz <poenitz@gmx.net>
9752 * paragraph_pimpl.C (getChar): don't call size() too often...
9754 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * paragraph_pimpl.C (insertChar): do not try to update tables when
9757 appending (pos == size())
9759 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9760 in order to reduce drastically the number of comparisons needed to
9761 parse a large document
9763 2002-05-29 André Pönitz <poenitz@gmx.net>
9769 * textclasslist.[Ch]:
9770 * sp_ispell.h: whitespace change
9772 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9774 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9775 lyxaction directly now.
9777 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9781 * lyxvc.C: remove unused headers
9783 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9790 * undo_funcs.C: some cleanups. Use shared_ptr
9791 and a template for the undo stacks.
9793 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9795 * BufferView_pimpl.h:
9796 * BufferView_pimpl.C:
9803 * text2.C: use key_state/mouse_state
9805 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9807 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9810 * chset.C: change include order
9811 (loadFile): use boost regex and get rid of LRegex and LSubstring
9813 * Makefile.am (BOOST_LIBS): new variable
9816 * LaTeX.C: change include order.
9817 (scanAuxFile): use boost regex and get rid of LRegex and
9821 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9826 * FontInfo.C: moved to frontends/xforms/
9829 * FontLoader.C: moved into frontends for GUIIzation
9834 * lyxfunc.C: changes from above
9836 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9838 * LColor.C: remove spurious X include
9840 * BufferView_pimpl.C:
9845 * text2.C: move font metrics to frontends/
9847 2002-05-24 Juergen Vigna <jug@sad.it>
9849 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9850 setting the undo_cursor.
9852 * ParagraphParameters.h: include local includes first.
9854 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9856 * BufferView_pimpl.C:
9857 * BufferView_pimpl.h:
9861 * screen.C: move WorkArea into frontends/
9867 * BufferView2.C: move LyXScreen into frontends/
9871 * lyx_gui.C: move lyxlookup into frontends/xforms/
9873 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9876 * BufferView_pimpl.C:
9886 * bufferview_funcs.C:
9899 * vc-backend.C: move LyX/XFormsView into frontends/
9901 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9913 * text2.C: move Painter to frontends/
9915 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9917 * buffer.C: comment out some some code that depend upon lyx_format
9920 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9921 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9923 * buffer.h (NO_COMPABILITY): turn off compability
9925 * ColorHandler.C: include scoped_array.hpp
9927 * font.C: Use more specific smart_ptr header.
9930 * ShareContainer.h: ditto
9934 * BufferView_pimpl.h: ditto
9935 * ColorHandler.h: ditto
9937 * kbmap.C (defkey): change call to shared_ptr::reset
9939 2002-05-21 Juergen Vigna <jug@sad.it>
9941 * buffer.C (insertErtContents): fix to insert ert asis if it is
9942 non empty. Skip it completely if it contains only whitespaces.
9944 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9946 * BufferView_pimpl.C:
9947 * BufferView2.C: clear selection on paste (bug 393)
9949 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9951 * DepTable.C: include ctime
9953 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9955 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9957 2002-05-14 Juergen Vigna <jug@sad.it>
9959 * text.C (breakParagraph): fixed function to honor the keepempty
9960 layout in the right maner and also to permit the right breaking
9961 algorithm on empty or non empyt keepempty paragraphs.
9963 * paragraph.C (breakParagraph): we have to check also if the par
9964 is really empty (!size()) for isempty otherwise we do the wrong
9967 2002-05-10 Juergen Vigna <jug@sad.it>
9969 * buffer.[Ch] : The following are only changes to the ert
9970 compatibility read reading old LaTeX layout and font stuff and
9971 convert it to ERTInsets.
9973 * buffer.h: added isErtInset().
9975 * buffer.C (struct ErtComp): add a fromlayout bool to check
9976 if we're inside a LaTeX layout.
9977 (isErtInset): new helper function.
9978 (insertErtContents): look for other ert insets before this one
9979 and insert the contents there, so that we don't have subsequent
9980 ERT insets with nothing between them. This way we create only one
9981 inset with multiple paragraphs. Also check if we don't insert only
9982 spaces ' ' as they are ignored anyway afterwards in the .tex file
9983 so if we have only spaces we will ignore this latex part in the
9985 (parseSingleLyXformat2Token \\layout): better compatibility when
9986 reading layout-latex stuff.
9987 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9989 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9990 stuff after reading the inset only get the information back from
9993 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9995 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9997 * LaTeXFeatures.C (getBabelOptions): New method.
9999 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10001 * BufferView_pimpl.C (Dispatch): work around missing argument for
10004 2002-05-08 Juergen Vigna <jug@sad.it>
10006 * text.C (leftMargin): handle paragraph leftindent.
10008 * paragraph.C (writeFile): write the new \\leftindent tag.
10009 (validate): handle leftindent code.
10010 (TeXEnvironment): handle paragraphleftindent code again.
10012 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10014 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10015 for paragrap_extra indent code and new token \\leftindent.
10016 (latexParagraphs): handle the leftindent as environment.
10018 * ParameterStruct.h: added leftindent support.
10020 * ParagraphParameters.C (leftIndent): added support functions for
10021 the paragraph left indent.
10023 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10026 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10028 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10031 * text.C (computeBidiTables): No bidi in insetERT.
10033 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10036 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10038 * version.C.in: pre 5
10040 2002-05-02 José Matos <jamatos@fep.up.pt>
10041 * buffer.C (makeDocBookFile): white space changes, add newline to
10043 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10045 * tabular.C (docBook): fix typo.
10047 2002-05-03 Juergen Vigna <jug@sad.it>
10049 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10050 change in LyXText as we can not be sure it was not freed.
10051 (drawOneRow): remove unused code.
10053 * text.C (drawInset): redo the calculation of the need_break_row as
10054 it could have a row which was already freed.
10055 (draw): look at the return value of drawInset and return false if
10056 it also returned false.
10057 (paintRowText): look at the return value of draw and return false if
10058 it also returned false.
10060 * lyxtext.h: added bool return type to drawInset() and draw() so that
10061 if we have a change in the row so that the rowbreak has to be redone
10062 we abort drawing as it will be called again.
10064 2002-05-02 Juergen Vigna <jug@sad.it>
10066 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10067 a change in the maintext also if we're inside an inset.
10068 (Dispatch): set the cursor again after a break line and after the
10069 screen has been updated as it could be we're in a different row.
10071 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10072 to set the cursor behind the pargraph with > size().
10073 (setCursor): check also for the same paragraph when checking where
10074 to put the cursor if we have a NFR inset.
10076 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10077 parts of layout read further up as it still was in the wrong
10080 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10082 * screen.C (drawFromTo): change sine fullRebreak always return
10085 * buffer.C (parseSingleLyXformat2Token): reindent some
10087 * BufferView_pimpl.C (update): change since fullRebreak always
10089 (Dispatch): git rid of the last hardcoded "Standard"s.
10091 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10093 * text2.[Ch] (fullRebreak): make it return void now that we always
10096 2002-04-30 Juergen Vigna <jug@sad.it>
10098 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10099 ert compatibility check for "latex" layout.
10101 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10103 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10104 minipages: use col% instead of p%, and also use the current font.
10105 (makeLaTeXFile): Fix use babel condition.
10106 (parseSingleLyXformat2Token): Correct font when reading old floats.
10108 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10110 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10111 inserting list of floats.
10113 2002-04-25 Herbert Voss <voss@lyx.org>
10115 * MenuBackend.C (expand): don't add the graphics extensions to the
10118 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10120 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10121 non-existing layout, do not complain if it was the default layout
10122 of the original class (bug #342)
10124 2002-04-24 Juergen Vigna <jug@sad.it>
10126 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10127 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10129 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10131 * buffer.C (getBibkeyList): If using \bibliography, return the
10132 option field with the reference itself. Enables us to provide natbib
10133 support when using \bibliography.
10135 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10137 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10139 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10140 natbib is provided by the LaTeX class.
10142 2002-04-23 Juergen Vigna <jug@sad.it>
10144 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10147 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10149 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10151 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10153 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10154 ensuremath around textordmasculine, textordfeminine and
10157 2002-04-19 Juergen Vigna <jug@sad.it>
10159 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10160 reinitializing the buffer otherwise row-dimensions may be wrong.
10161 (update): reset also the selection cursors if they do exits otherwise
10162 their x/y positions may be wrong.
10164 * text2.C (cursorDown): don't enter the inset if we came from a row
10165 above and are one row over the inset.
10167 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10168 really leaving an inset.
10170 2002-04-18 Juergen Vigna <jug@sad.it>
10172 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10173 of the selected paragraph does not have the selected layout also if
10176 * text2.C (setLayout): fixed bug which did not change last selected
10179 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10180 changed the read and substituted \\end_float with \\end_inset!
10182 * BufferView_pimpl.C (cursorPrevious):
10183 (cursorNext): fixed to make it work with rows heigher than the work
10184 area without moving the cursor only the draw of the row.
10185 (workAreaMotionNotify): fix jumping over high rows.
10187 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10189 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10192 2002-04-16 Juergen Vigna <jug@sad.it>
10194 * text2.C (setCursor): set also the irow().
10195 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10197 (cursorDown): support for locking an inset if the x_fix value goes
10198 inside it. That way I can transverse insets too with cursor up/down.
10200 * lyxrow.h: added irow helper function same as other (i) functions.
10202 * BufferView_pimpl.C (cursorPrevious):
10203 (cursorNext): fixed for insets!
10205 2002-04-15 Juergen Vigna <jug@sad.it>
10207 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10208 position otherwise it is wrong in some cases.
10210 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10211 inside the inset before the call.
10213 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10215 * buffer.[Ch] (getBibkeyList): make it const.
10217 2002-04-12 Juergen Vigna <jug@sad.it>
10219 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10221 * text2.C (getCursorX): new helper function
10222 (setCursor): compute also ix_
10223 (setCursorFromCoordinates): set also ix.
10225 * lyxcursor.h: added ix_ and helper functions.
10227 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10229 * buffer.C (insertStringAsLines): dont break paragraph if the this
10230 paragraph is inside an inset which does not permit it!
10232 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10233 also with no chars on this paragraph.
10234 (paintRowText): only paint stuff if it's inside the workarea!
10236 * paragraph.C (breakParagraph): honor keepempty flag and break the
10237 paragraph always below not above.
10239 * BufferView2.C (unlockInset): update the paragraph layout on inset
10240 unlock as we changed paragraph in such a case.
10242 * lyxfind.C (LyXFind): clear the former selection if not found!
10244 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10245 again called in insertChar().
10247 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10248 an inset which uses the whole row!
10249 (rightMargin): ditto.
10250 (insertChar): force a rebreak if we inserted an inset!
10252 2002-03-28 Herbert Voss <voss@lyx.org>
10254 * lyxlength.[Ch]: add inBP() to get the right PS-point
10255 units (BigPoint). With inPixels we have rounding errors
10257 2002-04-11 Juergen Vigna <jug@sad.it>
10259 * text2.C (setCursorFromCoordinates): set iy to the right value.
10260 (setCursor): add check if row->previous exists!
10262 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10263 an old float_type as this was the case in the old code!
10265 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10267 * BufferView2.C (showLockedInsetCursor): use iy
10268 (fitLockedInsetCursor): ditto
10270 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10271 locked insets as there we have the right value now.
10273 * lyxcursor.C: added iy_ variable and iy functions to set to the
10274 baseline of cursor-y of the locked inset.
10276 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10277 (setCursor): fixed for insets which need a full row.
10279 * text.C (rowLastPrintable): don't ignore the last space when before
10280 an inset which needs a full row.
10281 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10282 as last character of a row when before a inset which needs a full row.
10284 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10286 * version.C.in: update date
10288 * text2.C (fullRebreak): try to always return true and see what
10291 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10293 * MenuBackend.C (expand): use Floating::listName
10295 * FloatList.C (FloatList): add listName argument to the built-in
10298 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10299 text associated with the float.
10301 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10303 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10305 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * ShareContainer.h: add a couple of missing typenames.
10309 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10311 * lyxrc.C (getDescription): use _() correctly rather than N_().
10313 2002-03-28 Herbert Voss <voss@lyx.org>
10315 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10316 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10318 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10320 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10321 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10323 2002-03-29 Juergen Vigna <jug@sad.it>
10325 * lyxfunc.C (dispatch): add a missing fitCursor call.
10327 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10328 it was scrolled by a cursor move, so return the bool status.
10330 * BufferView.C (fitCursor): return the bool flag also to the outside
10331 world as this is needed.
10333 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10335 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10336 call the edit() as it is not needed (and wrong) IMO.
10337 (workAreaButtonPress): set the screen_first variable before evt.
10338 unlock the inset as this may change screen_first and then we have
10339 a wrong y position for the click!
10341 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10343 * MenuBackend.C (expand): another translation that I missed
10345 2002-03-28 Juergen Vigna <jug@sad.it>
10347 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10349 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10351 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10353 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10355 * MenuBackend.C (expand): fix export/view/update when there is no
10358 2002-03-27 Herbert Voss <voss@lyx.org>
10360 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10363 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * bufferview_funcs.C (currentState): only show paragraph number
10366 for is DEVEL_VERSION is set.
10368 * lyxfunc.C (dispatch): put warning in INFO channel
10370 * MenuBackend.C (expand): translate the name of floats
10372 * FloatList.C (FloatList): mark the float names for translation
10374 * converter.C (convert): use LibScriptSearch
10376 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10378 * MenuBackend.C (defaults): fix default menu (we might as well get
10381 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10383 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10386 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10388 * lyxvc.C: reorder includes.
10390 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10392 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10395 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10397 * CutAndPaste.C: change layouts earlier on paste
10398 to avoid crashing when calling getFont()
10400 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10402 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10405 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10407 * WorkArea.C: remove 'Pending' debug message.
10409 * most files: ws cleanup
10411 * buffer.[Ch]: ws changes
10413 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10415 2002-03-21 Juergen Vigna <jug@sad.it>
10417 * tabular.C (SetMultiColumn): collapse also the contents of the
10418 cells and set the last border right. Added a Buffer const * param.
10420 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10422 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10425 2002-03-19 Juergen Vigna <jug@sad.it>
10427 * text2.C (clearSelection): reset also xsel_cache.
10429 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10430 where it needs to be called (John tells us to do so too :)
10431 (selectionLost): reset sel_cache.
10433 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10435 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10437 * text2.C (setCursorIntern): put debuging code in INSETS channel
10439 2002-03-19 André Pönitz <poenitz@gmx.net>
10441 * lyxfunc.C: tiny whitespace change
10443 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10445 * ToolbarDefaults.C (init):
10446 * LyXAction.C (init):
10448 * BufferView_pimpl.C (Dispatch):
10449 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10451 2002-03-19 Allan Rae <rae@lyx.org>
10453 * exporter.C (Export): removeAutoInsets before doing anything else.
10454 While I've just introduced a dependency on BufferView this really is
10455 the best place to clean the buffer otherwise you need to cleanup in
10456 a dozen places before calling export or cleanup in a dozen functions
10459 * converter.C (runLaTeX):
10460 (scanLog): Better handling of removeAutoInsets and screen updates.
10462 * lyxfunc.C (dispatch): small whitespace changes
10464 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10466 * WorkArea.C (C_WorkAreaEvent): return a value.
10467 (event_cb): return 1 if we handled the event, 0 otherwise.
10469 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10471 2002-03-18 Juergen Vigna <jug@sad.it>
10473 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10474 (GetAdditionalWidth): ditto.
10475 (RightLine): ditto.
10478 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10479 inset if we're there actually (probably not used right now but this
10480 is the direction to go for unifying code).
10481 (paste): disable code to clear the selection.
10483 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10484 inside an InsetText and move the check further up as it is in the
10487 * text2.C (pasteSelection): set a selection over the pasted text.
10489 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10491 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10492 and libgraphics to build on Cygwin.
10494 2002-03-15 Juergen Vigna <jug@sad.it>
10496 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10497 inserting an Inset into the paragraph. I know this is not the best
10498 fix but we already use current_view in CutAndPaste so we will remove
10499 all of it's using at the same time.
10501 * buffer.C (sgmlError): deactivated function till it is rewritten in
10502 the right mode, now it can create problems.
10504 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10505 before accessing it.
10507 2002-03-14 Juergen Vigna <jug@sad.it>
10509 * undo_funcs.C (textHandleUndo): do the right thing when updating
10510 the inset after the undo/redo.
10512 * text2.C (setCursor): just some testcode for #44 not ready yet.
10514 * undo_funcs.C (textHandleUndo): set the next() and previous()
10515 pointers of the paragraph to 0 before deleting otherwise we have
10516 problems with the Paragraph::[destructor].
10518 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10519 on a paragraph insertion.
10521 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10523 * buffer.C (asciiParagraph): use += operator for char append to
10526 * paragraph.C (getFontSettings): compare >= not just >
10527 (highestFontInRange): ditto
10530 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10532 * paragraph.C: change several algorithm to be more appripriate for
10533 the problem domain. This is lookip in FontList and in the InsetList.
10535 2002-03-13 André Pönitz <poenitz@gmx.net>
10538 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10540 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10545 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10547 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10549 * Painter.C (display): anon helper function, adjust code for this
10551 (pixmap): remove function.
10553 * Painter.h: remove private display variable.
10555 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10557 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10559 * WorkArea.[Ch]: remove figinset_canvas cruft.
10561 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10563 * lyxtextclass.C (operator): add one item cache optimization.
10565 * bufferlist.h: doxy changes
10567 * bufferlist.C: ws changes
10569 * DepTable.[Ch] (ext_exist): place const in the right spot.
10571 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10573 (workAreaExpose): call resizeInsets when the with BufferView changes.
10574 (Dispatch): adjust for protectedBlank removal
10575 (specialChar): call updateInset if the insert went ok.
10577 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10578 specialChar instead.
10580 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10582 * BufferView.h: doxy change
10584 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10586 * lyxtextclass.C (operator[]): remove non-const version
10587 (defaultLayout): remove non-const version
10589 2002-03-12 Juergen Vigna <jug@sad.it>
10591 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10592 did resize the LyXText too.
10594 * buffer.C (readLyXformat2): set layout information on newly allocated
10597 * tabular.C (OldFormatRead): set layout information on the paragraph.
10599 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10601 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10603 2002-03-11 Juergen Vigna <jug@sad.it>
10605 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10607 (resizeCurrentBuffer): force also the insets to resize themselfes.
10608 (moveCursorUpdate): fixed up for InsetText.
10610 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10613 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10614 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10615 value of Dialogs::tooltipsEnabled().
10616 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10618 2002-03-08 Juergen Vigna <jug@sad.it>
10620 * BufferView_pimpl.C (updateInset): update inset inside inset also
10621 if it isn't inside theLockingInset().
10623 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10625 * buffer.C (asciiParagraph): redo some of the word and line length
10627 (getLists): look for Caption instead of caption.
10629 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10631 * buffer.C (Buffer): initialize niceFile to true
10633 (makeLinuxDocFile):
10634 (makeDocBookFile): make sure niceFile is true on exit
10636 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10638 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10640 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10642 * LyXSendto.C: remove.
10643 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10644 * lyx_gui.C: remove now-redundant comment.
10645 * ColorHandler.h: remove forward declaration of class WorkArea.
10646 * lyxfunc.C: remove #include "WorkArea.h".
10648 2002-03-07 Juergen Vigna <jug@sad.it>
10650 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10651 got moved away with the DEPM and also set the inset_owner always
10652 right which before could have been omitted.
10654 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10656 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10657 wanted layout is not found.
10659 2002-03-07 Juergen Vigna <jug@sad.it>
10661 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10663 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10665 * paragraph.C (breakParagraph): use default layout not layout of
10667 (Paragraph): clear ParagraphParameters.
10669 2002-03-06 Juergen Vigna <jug@sad.it>
10671 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10672 otherwise it would not be a valid lenght. Fixed a special case in
10673 the minipage compatibility read where we end the document with a
10676 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10677 was set as it could be 0 for InsetTexts first entry.
10679 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10681 * paragraph.C (writeFile): if layout is empty write out
10682 defaultLayoutName().
10684 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10685 file without named layout we set layout to defaultLayoutName().
10687 2002-03-06 Juergen Vigna <jug@sad.it>
10689 * CutAndPaste.C (copySelection): set layout for new paragraph.
10691 * text.C (prepareToPrint): leave ERT inset left aligned
10692 (leftMargin): don't indent paragraphs inside ERT insets
10694 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10696 * paragraph.C (breakParagraph): dont call clear do the work manually
10698 * paragraph.[Ch] (clear): remove function
10700 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10702 * paragraph.C (Paragraph): dont call clear, the work has already
10705 * lyxtextclass.C (operator): assert if n is empty
10707 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10708 work manually instead.
10710 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10712 * BufferView_pimpl.C: protect selectionLost against text == 0
10714 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10716 * text.C (breakParagraph): fix a setting layout to '0' problem.
10718 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10720 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10721 final location of file, for the included files, and graphics.
10723 2002-03-05 Juergen Vigna <jug@sad.it>
10725 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10727 2002-03-04 Juergen Vigna <jug@sad.it>
10729 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10731 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10732 last column of multicolumn cells.
10733 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10735 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10737 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10738 file if it doesn't go to a temporary file.
10740 * buffer.C (sgmlOpenTag):
10741 (sgmlCloseTag): remove extra newline insertion.
10743 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10745 * text.C (getRowNearY): comment out debug msg
10747 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * text2.C: first -> first_y
10751 * text.C (getRowNearY): add some attemts at a possible
10752 optimization, not working.
10754 * tabular.[Ch]: add BufferParams to several function so that newly
10755 created paragraph can be initialized to he default layotu for the
10758 * tabular-old.C (ReadOld): add buf->params to call of Init
10760 * screen.C: rename text->first to text->first_y
10762 * paragraph.C (breakParagraph): always set layout in the broken
10765 * lyxtextclass.C (Read): remove lowercase
10768 (delete_layout): ditto
10770 * lyxtext.h: rename first -> first_y
10772 * lyxlayout.C (Read): remove lowercase
10775 (obsoleted_by): ditto
10777 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10779 * buffer.C (insertErtContents): add params are to InsetERT
10780 (parseSingleLyXformat2Token): add code to check if a paragraphs
10781 layout really exist.
10782 (parseSingleLyXformat2Token): add params to several inset
10784 (asciiParagraph): remove lowercase, do the layout comparisons with
10787 * BufferView_pimpl.C (cursorNext): first -> first_y
10788 (resizeCurrentBuffer): first -> first_y
10789 (updateScrollbar): first -> first_y
10790 (scrollCB): first -> first_y
10791 (workAreaMotionNotify): first -> first_y
10792 (workAreaButtonPress): first -> first_y
10793 (checkInsetHit): first -> first_y
10794 (cursorPrevious): first -> first_y
10795 (cursorNext): first -> first_y
10796 (Dispatch): add buffer_->params to severl inset contructors
10798 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10800 * lyxlayout.C (Read): remove some debug info that I forgot.
10802 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10803 clean up the code slightly.
10804 (makeLinuxDocFile): ditto
10805 (makeDocBookFile): ditto
10807 * text2.C: layout as string
10809 * text.C: layout as string
10811 * paragraph_pimpl.C: layout as string
10813 * paragraph.[Ch]: layout as string
10815 * lyxtextclasslist.[Ch]: layout as string
10817 * lyxtextclass.[Ch]: layout as string
10819 * lyxtext.h: layout as string
10821 * lyxlayout.[Ch]: layout as string
10823 * lyx_cb.C: layout as string
10825 * bufferview_funcs.C: layout as string
10827 * bufferparams.C: layout as string
10829 * buffer.C: layout as string
10831 * LyXView.[Ch]: layout as string
10833 * LaTeXFeatures.[Ch]: layout as string
10835 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10837 * BufferView_pimpl.C: change current_layout to string, remove
10842 (workAreaButtonRelease): layout as string
10844 * BufferView2.C (unlockInset): adjust
10846 * vspace.C (asLatexCommand): use an explict temp variable.
10848 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10850 * Makefile.am: use FRONTEND_*
10852 2002-03-01 Juergen Vigna <jug@sad.it>
10854 * tabular.C (SetWidthOfMulticolCell): changed to something better
10855 I hope but still work in progress.
10856 (recalculateMulticolumnsOfColumn): renamed function from
10857 recalculateMulticolCells as it is more appropriate now.
10858 (SetWidthOfCell): calculate multicols better.
10860 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10862 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10864 * lyxfunc.C (processKeySym): print sequence also if it is
10865 `deleted' (complete)
10867 * kbsequence.C (print): print sequence even if it is deleted
10868 (complete would be a better word, actually).
10870 * lyxfunc.C (dispatch): print complete options after a prefix key
10872 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10874 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10876 * text2.C (setCharFont): eliminate setCharFont code duplication.
10878 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10880 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10881 LFUN_TABULAR_FEATURE (bug #177)
10883 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10885 * Makefile.am: remove figure.h
10887 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10889 * Bufferview_pimpl.C:
10901 * text2.C: remove #include "lyx_gui_misc.h".
10903 * LaTeX.C: added #include <cstdio>
10905 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10907 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10908 that the paragraph following this one can have.
10910 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10912 * vspace.C (asLatexCommand): fix bogus gcc warning
10914 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10916 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10918 * text2.C (setLayout): get rid of redundant code
10920 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10922 * text2.C (incDepth): make sure depth cannot be increased beyond
10925 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10927 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10928 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10930 * PainterBase.h (image):
10931 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10932 a LyXImage const *.
10934 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10938 * BufferView_pimpl.C:
10939 * BufferView_pimpl.h:
10959 * sp_spell.C: remove fig inset, and the crap house of
10960 cards that follows it
10962 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10967 * os2_errortable.h:
10968 * nt_defines.h: move .h into support/
10970 * vms_defines.h: remove
10972 * WorkArea.C: add space in debug output
10976 * buffer.C: add WITH_WARNINGS
10980 * bufferlist.C: s/retrive/retrieve/, add docs
10989 * chset.C: add docs
10991 * lyxgui.C: add ID to X error handler
10993 * lyxtestclass.c: fix typo
10995 2002-02-26 Juergen Vigna <jug@sad.it>
10997 * tabular_funcs.C (write_attribute): changed so that some default
10998 attributes are not written at all.
10999 (getTokenValue): set default values before trying to read the
11000 value so we have the return value always set as default if we don't
11001 find the token we search for.
11003 * tabular.C (Write): write bools as bools not as strings!
11005 2002-02-22 Juergen Vigna <jug@sad.it>
11007 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11008 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11010 * text.C (leftMargin): don't add an indent for paragraphs inside
11011 tabular cells (fix #208).
11013 2002-02-21 José Matos <jamatos@fep.up.pt>
11015 * tabular.C (docBook): fixed support for long tables.
11017 2002-02-20 Juergen Vigna <jug@sad.it>
11019 * text2.C (getFont): get the drawing font of the Inset if this
11020 paragraph is inside an inset (only important for InsetERT for now).
11022 * buffer.C (insertErtContents): use new lanugage params in ERT
11025 * CutAndPaste.C: commenting out seemingly uneeded code.
11027 2002-02-19 Allan Rae <rae@lyx.org>
11029 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11030 Iterators might be simple to use but they also get invalidated.
11031 (removeAutoInsets): renamed saved cursor tracking variables and added
11032 some comments to clarify what everything does.
11034 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11041 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11042 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11045 * vc-backend.h: remove #include "support/syscall.h"
11049 * converter.C: rearrange #includes in Lars' approved fashion.
11051 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11052 forward declare class Timeout in the header file.
11054 * XFormsView.C: changes due to the above.
11056 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11057 similar to LyXView.
11059 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11060 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11062 2002-02-18 José Matos <jamatos@fep.up.pt>
11064 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11067 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11069 * a lot of small ws changes
11070 * add a lot of using std::XXX
11071 * use std construcs some places where approp.
11072 * use some exisint stuff from lyxfunctional where approp.
11073 * Make file changes to use partial linking (lets test this now...)
11075 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11079 remove #include "support/syscontr.h" as it's redundant. Always has been.
11087 change Systemcalls::System to Systemcalls::Wait and
11088 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11089 No change of functionality, just reflects the stripped down Systemcalls
11092 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11094 * debug.[Ch]: add a GRAPHICS type to the enum.
11096 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11098 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11100 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11103 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11105 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11106 match the changes below.
11108 * text2.C (toggleInset): if there is not editable inset at cursor
11109 position, try to see if cursor is _inside_ a collapsable inset
11112 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11115 document menu has a nice checkbox
11117 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11119 * lyxlength.C (asLatexString): change PW to output as percent of
11122 * lengthcommon.C: change '%' to 't%'
11124 * lyxfunc.C (dispatch): a few comments from Martin
11126 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11130 * BufferView_pimpl.h:
11131 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11134 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11136 * vspace.C (inPixels): fix compiler warning
11138 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11140 * lyxfunc.C (getStatus): fix status message for disabled commands.
11142 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11144 * BufferView_pimpl.C: fix crash on close buffer
11145 during selection (#227)
11147 2002-01-27 Herbert Voss <voss@lyx.org>
11149 * buffer.C: link old Figure to new graphic inset
11151 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11153 * FontLoader.C (getFontinfo): Change the latex font names in order
11154 to match the names of type1inst.
11156 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11158 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11160 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11161 (extchanged): ditto
11163 (remove_files_with_extension): ditto
11164 (remove_file): ditto
11167 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11168 document is smaller than the work area height. Do not initialize
11169 static variables to 0.
11171 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11173 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11175 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11176 LFUN_LAYOUT_PARAGRAPHS.
11178 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11179 tabular. It is possible to provide a possible cell, which will
11180 typically be the actcell from the corresponding insettabular
11182 * lyxfunc.C (getStatus): small cleanup; disable
11183 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11186 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11188 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11190 * paragraph.C (startTeXParParams):
11191 (endTeXParParams): new methods. The LaTeX code to
11192 start/end paragraph formatting
11193 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11194 empty (fixes bug #200)
11196 * vspace.C (inPixels): adapt to the change below
11197 (inPixels): [later] more cleanups (remove unused variables)
11199 * lyxlength.C (inPixels): change to use a width and a height as
11202 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11204 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11205 Replaced with \paperwidth
11207 * DepTable.C (insert): add std:: qualifier
11209 2002-01-18 Allan Rae <rae@lyx.org>
11211 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11214 * text.C (drawInset): Turned out I didn't know enough about how
11215 rebreaking worked. This fixes most of the redraw problems. I see
11216 an occasional cursor trail when a line is broken now and the cursor
11217 placement can seem out by a few pixels also after a rebreak.
11219 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11221 * buffer.C (parseSingleLyXformat2Token): update because minipage
11222 width is now a LyXLength
11224 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11226 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11229 2002-01-17 Juergen Vigna <jug@sad.it>
11231 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11233 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11234 is set correctly and the inset is updated correctly.
11236 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11238 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11239 the beginning of the loop.
11241 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11243 * lyxrc.C: improve help for use_scalable_fonts
11245 2002-01-17 Allan Rae <rae@lyx.org>
11247 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11249 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11252 make sure to set their inset_owner to the right value (bug #171)
11254 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11257 * DepTable.C: Implement mtime checking to reduce time spent doing
11260 2002-01-16 Juergen Vigna <jug@sad.it>
11262 * tabular.C (GetAdditionalHeight): one of error fixed.
11264 * lyxrc.C (output): small fix in writing use_pspell.
11266 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11268 * sp_base.h: #include LString.h
11270 2002-01-16 Allan Rae <rae@lyx.org>
11272 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11273 Can someone check this please?
11275 * text.C (drawInset): It was possible that p.row would be removed by
11276 breakAgainOneRow upsetting a few other settings. There may be another
11277 small tweak possible by setting need_break_row = 0 when p.row has been
11278 removed but I don't know enough about the logic here.
11280 2002-01-15 Allan Rae <rae@lyx.org>
11282 * text.C (insertChar): removed conditional truism.
11284 * BufferView2.C (removeAutoInsets): More tweaks.
11285 cur_par_prev could be a stray pointer. Check for trailing empty line
11286 in case last line was cur_par and only had an error inset on it.
11288 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11290 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11293 * vc-backend.C (most methods):
11294 * exporter.C (Export):
11295 * converter.C (convert):
11297 * LyXSendto.C (SendtoApplyCB):
11298 * lyxfunc.C (dispatch):
11302 * lyx_cb.C (AutoSave):
11304 * BufferView_pimpl.C (MenuInsertLyXFile):
11305 * buffer.C (runChktex): use Buffer::filePath().
11307 * buffer.h: rename filename to filename_; rename filepath to
11308 filepath_ and make it private
11309 (filePath): new method
11311 * buffer.C (writeFile): use fileName()
11314 * lyx_main.C (init): fix starting of LyX when the binary is a
11315 link from so,ewhere else.
11317 * minibuffer.C: include <cctype> for isprint
11319 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11321 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11322 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11323 name clash with InsetCollapsable's width function.
11325 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11327 * lastfiles.C: include <iterator>
11329 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11331 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11334 * buffer.C (makeLaTeXFile): ditto.
11335 Also make loop operation more transparent.
11337 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11339 * ToolbarDefaults.C: remove trailing comma closing namespace.
11341 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11343 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11346 * trans.C (Load): comment out unused variable, allowed.
11348 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11350 * minibuffer.[Ch] (append_char): new method to recieve input from the
11351 drop-down completion browser. If a key was pressed, then recieve this
11352 char and append it to the existing string.
11353 (peek_event): modify the positioning data passed to the completion
11354 browser so that it can be placed above the minibuffer rather than below.
11355 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11357 * LyXAction.C (init): alloe error-next for readonly documents.
11359 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11362 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11364 * bufferlist.C (readFile): create the buffer _after_ checking that
11367 * lyxfunc.C (verboseDispatch): fix handling of arguments
11369 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11371 * lyxrc.C: use string::erase() instead of initializing to "".
11374 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11376 * BufferView_pimpl.h:
11377 * BufferView_pimpl.C:
11380 * text2.C: tell X when we have made a selection for copying
11382 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11384 * BufferView_pimpl.C (MenuInsertLyXFile):
11385 * lyxfunc.C (menuNew):
11387 (doImport): add shortcuts to directory buttons
11389 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11392 * lyxfunc.C (setStatusMessage):
11393 (getStatusMessage): new methods
11394 (getStatus):use setStatusMessage instead of setErrorMessage
11395 (dispatch): when function is disabled, set error message here
11396 [instead of in getStatus previously]
11398 * BufferView_pimpl.C (workAreaButtonRelease): update
11399 toolbar/menubar here too.
11401 2002-01-13 Allan Rae <rae@lyx.org>
11403 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11404 Now seems indestructible. Remaining task is to audit all other
11405 code affected by deleteEmptyParagraphMechanism. One small quirk
11406 left is that an empty document with an error in the preamble can
11407 be made to report an error but no error box appears. I don't know
11409 (removeAutoInsets): Improved comments.
11411 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11414 * Thesaurus.C: update for Aiksaurus 0.14
11416 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11418 * text2.C (firstParagraph): removed member function, all uses
11419 replaces with ownerParagraph
11420 (redoParagraphs): here
11421 (updateInset): here
11422 (toggleAppendix): here
11423 * BufferView2.C (insertErrors): here
11424 (setCursorFromRow): here
11426 2002-01-13 Allan Rae <rae@lyx.org>
11428 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11429 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11430 There is still a way to segfault this although you may have to do this
11431 multiple times: Have an InsetERT with an unknown command in it.
11432 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11433 <down-arrow>, <Enter> again, View->DVI, BANG!
11435 * text2.C (setCursor):
11436 (deleteEmptyParagraphMechanism):
11437 * lyxtext.h (setCursor):
11438 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11439 Making use of the return value may help fix other bugs.
11441 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11443 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11445 * LyXView.C (updateMenubar): call MenuBar::update here
11446 (updateToolbar): but not here
11447 (showState): do not update toolbar/menubar
11449 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11450 should need to care about that.
11452 * lyxfunc.C (verboseDispatch): simplify a bit
11453 (getStatus): have a version which takes a pseudoaction, and
11454 another which requires a (kb_action,string).
11456 * LyXAction.C (retrieveActionArg): make it work also when action
11457 is not a pseudo-action.
11458 (getActionName): simplify a bit
11461 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11463 * lyxfunc.C (verboseDispatch): new families of methods with
11464 several ways to specify a command and a bool to indicate whether
11465 the command name and shortcut should be displayed in minibuffer
11466 (eventually, we could extend that to a finer bitmask like
11467 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11468 (dispatch): the pristine dispatch command which just, well,
11469 dispatchs! Note it still sets its result to minibuffer; I'm not
11472 * lyxfunc.h: remove setHintMessage
11474 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11476 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11478 * BufferView_pimpl.C (specialChar): delete new inset if we have
11479 not been able to insert it.
11481 * kbmap.C: revert to using int instead of kb_action, since all we
11482 are dealing with is pseudo-actions.
11484 * LyXAction.C (searchActionArg): change to return int instead of
11485 kb_action, since the result is a pseudoaction.
11487 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11489 * buffer.C (insertErtContents): Fix (partially) the font bug.
11491 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11493 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11494 as the other one is broken on my machine!
11496 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11499 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11501 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11503 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11504 reflect their actual use. Provide compatibility code for older lyxrc
11507 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11509 change names of popup font variables in line with the changes to lyxrc.C
11511 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11513 * buffer.C (asciiParagraph): avoid outputing a word twice after
11516 * lyxrc.C (getDescription): document that document_path and
11517 template_path can be empty.
11519 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11521 * LaTeXFeatures.C (getMacros):
11522 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11524 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11526 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11528 (getPackages): rename feature "floats" to "float". Use an array to
11529 iterate over 'simple' features (i.e. just a \usepackage). Add
11530 handling of "amsmath" (renamed from "amsstyle").
11532 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11534 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11537 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11539 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11540 FuncStaus::FuncStatus & FuncStaus::some_method().
11542 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11544 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11545 of the func_satus stuff. Edited and massaged in various ways by
11548 * lyxfunc.C (getStatus): use FuncStatus
11550 2002-01-08 Juergen Vigna <jug@sad.it>
11552 * text.C (nextBreakPoint): use function Inset::isChar().
11554 * paragraph.C (TeXOnePar): use function
11555 Inset::forceDefaultParagraphs.
11557 * buffer.C (latexParagraphs): use function
11558 Inset::forceDefaultParagraphs.
11560 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11562 * lyx_gui.C (init): set the style of the menu popups to
11563 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11565 2002-01-07 Juergen Vigna <jug@sad.it>
11567 * text.C (setHeightOfRow): small fix
11568 (prepareToPrint): don't look at alignment if we don't have the place
11571 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11573 * box.C: New file. Move the Box methods and functions out of box.h,
11574 following Lars' suggestion.
11576 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11578 * box.h: #include "support/LOstream.h", needed for inlined function.
11581 * lyxtextclasslist.C: added some using std declarations.
11583 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11585 * box.h: make signed dimensions to allow insets wider than
11586 the screen (bug #162)
11588 * BufferView_pimpl.C: add some insetHit debug
11590 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11592 * vc-backend.C: add FIXME
11594 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11596 * lyxfunc.C (getStatus): enable code for showing math font status
11599 2002-01-07 Juergen Vigna <jug@sad.it>
11601 * text.C (nextBreakPoint): removed debug output not needed anymore.
11603 2002-01-06 Juergen Vigna <jug@sad.it>
11605 * text.C (nextBreakPoint): fixed up this function we had this bug
11606 since ever but now hopefully we break row better.
11607 (insertChar): we have to check if an inset is the next char as it
11608 could now happen that a large inset is causing a break.
11610 2002-01-05 Juergen Vigna <jug@sad.it>
11612 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11613 if it doesn't like to be drawed.
11615 2002-01-04 Juergen Vigna <jug@sad.it>
11617 * BufferView2.C (lockInset): forgot to set a cursor.
11619 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11621 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11623 * FormMathsPanel.C:
11626 * form_maths_panel.C:
11627 * form_maths_panel.h:
11628 * form_maths_panel.fd: implemented sub- and super- buttons in math
11631 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11632 (or ^ space) to be used as in TeX (req'd by André).
11634 * lyxfunc.C: Allow ^ and _ again to be used both as
11635 super/subscript (mathed) and as themselves (in text).
11637 2002-01-03 Allan Rae <rae@lyx.org>
11639 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11640 "LyX" or the filename of the current buffer if it has one. This is a
11641 modified form of John Levon's patch.
11643 * XFormsView.C (setWindowTitle): also set icon title.
11645 * LyXView.h (setWindowTitle): signature changed.
11646 * XFormsView.h (setWindowTitle): ditto.
11648 2002-01-02 Juergen Vigna <jug@sad.it>
11650 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11652 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * screen.C (topCursorVisible): introduce a temp var for
11655 text->cursor.row(), handle the case where this row is null. (kindo
11658 * text2.C (setCursor): add a couple of asserts.
11660 * paragraph.h (inset_iterator): add -> operator
11662 * paragraph.[Ch] (autoDeleteInsets): remove member function
11664 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11665 cursor pos correctly and handle inset deletion by itself.
11666 (insertErrors): move iterator declaration out of for expression
11668 * lyxtextclass.C: add <algorithm>
11670 * Makefile.am: added the new files to sources, removed layout.C
11672 * layout.C: removed file
11674 * layout.h: remove LYX_DUMMY_LAYOUT
11676 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11680 * lyxtextclass.[Ch]:
11681 * lyxtextclasslist.[Ch]: new files
11683 * include order changes to a lot of files, also changes because of
11686 2001-12-27 Juergen Vigna <jug@sad.it>
11688 * buffer.C (asciiParagraph): more fixes.
11690 * tabular.C (ascii): make ascii export support export of only the
11691 data separated by a column-delimiter.
11692 (ascii): better support for ascii export.
11694 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11696 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11698 * tabular_funcs.C: use a "using std::getline" instead of the
11699 previous fix from Angus (necessary for cxx + lyxstring)
11701 2001-12-24 Juergen Vigna <jug@sad.it>
11703 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11705 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11706 problems. First check a minipage also if we have some ert-contents
11707 (not only on par->size(), second set the right depth of the paragraph
11708 on the relink to the root-paragraph-list!
11710 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11711 which then did not anymore update the main paragraphs on undo/redo!
11713 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11715 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11716 code. Support all font-changing funcs (even those which are not in
11717 menu currently). Support for reporting font settings in
11718 mathed (disabled until Andre provides a function on mathed's side).
11720 * func_status.h (toggle): small helper function to set toggle
11723 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11725 * tabular_funcs.C: getline -> std::getline
11727 2001-12-21 Juergen Vigna <jug@sad.it>
11729 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11730 accessed and could be 0 (I couldn't generate this but it seems
11733 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11735 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11736 * tabular_funcs.h: here and include iosfwd
11738 2001-12-20 Juergen Vigna <jug@sad.it>
11740 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11741 inside inset but undo_par was.
11743 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11745 * Thesaurus.C: always include <config.h> in sources.
11749 * box.h: do not include <config.h> in header files
11751 * text.C (paintLastRow): remove unused variable
11753 * text.C (transformChar):
11755 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11757 * Painter.C (text):
11758 * font.C (width): rewrite to use uppercase() instead of
11761 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11763 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11765 * lyxfind.C: clean up of find failure position change
11767 2001-12-20 Juergen Vigna <jug@sad.it>
11769 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11771 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11772 (TeXRow): added to LaTeX a single tabular row.
11773 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11774 (Latex): simplified and finally good LT-h/f support.
11775 (various_functions): just small adaptions for LT-h/f support.
11777 * tabular_funcs.[hC]: added and moved here all not classfunctions
11780 2001-12-19 Juergen Vigna <jug@sad.it>
11782 * tabular.[Ch]: better support for longtabular options (not finished
11785 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11787 * text.C (paintLastRow): use the label font instead of the font of
11788 the last character to compute the size of *_BOX. This makes more
11789 sense and avoids a crash with empty paragraphs.
11790 Use Painter::rectangle to draw EMPTY_BOX.
11792 2001-12-19 Juergen Vigna <jug@sad.it>
11794 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11795 the paragraphs if the replaced paragraph is not the first one!
11796 Tried to delete not used paragraphs but does not work yet so for
11797 now it's inside #ifdef's and by default off!
11799 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * MenuBackend.C: include "lyx_main.h" instead of declaring
11802 lastfiles (actually was declared as LastFiles* instead of a
11805 2001-12-17 Juergen Vigna <jug@sad.it>
11807 * tabular.C (AppendColumn): applied John's fix
11809 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11813 * BufferView_pimpl.h:
11814 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11817 * box.h: new start of class for above
11819 * lyxfunc.C: ignore space-only minibuffer dispatches.
11820 Show the command name when it doesn't exist
11822 * minibuffer.C: don't add empty lines to the history
11824 * minibuffer.C: add a space on dropdown completion
11826 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11828 * text.C: fix line above/below drawing in insets
11830 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11832 * lyxlength.C (LyXLength): Initialize private variables.
11834 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11836 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11837 when inserting error insets.
11839 2001-12-13 Juergen Vigna <jug@sad.it>
11841 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11842 actually sometimes the before-paragraph.
11843 (setUndo): don't clear the redostack if we're not actually undoing!
11845 2001-12-06 Juergen Vigna <jug@sad.it>
11847 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11848 and fixed redoing of main paragraph, so we can use it now ;)
11850 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11852 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11857 2001-12-13 André Pönitz <poenitz@gmx.net>
11860 * undo_func.C: minor cleanup
11862 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11864 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11865 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11866 font in urw-fonts package which is marked as -urw-fontspecific and
11867 does not work (incidentally, changing the encoding in the
11868 fonts.dir of this package to -adobe-fontspecific fixes the
11871 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11872 is a crash when undoing first paragraph (Juergen, please take a
11873 look). THis does not mean the undo fix is wrong, just that it
11876 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11877 the (Paragraph*) version when needed instead of duplicating the
11880 * text.C (workWidth): use Inset::parOwner to find out where the
11881 inset has been inserted. This is a huge performance gain for large
11882 documents with lots of insets. If Inset::parOwner is not set, fall
11883 back on the brute force method
11885 * paragraph_pimpl.C (insertInset):
11886 * paragraph.C (Paragraph):
11887 (cutIntoMinibuffer): set parOwner of insets when
11888 inserting/removing them
11890 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11892 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11898 * mathed/formulabase.C:
11899 * mathed/math_cursor.[Ch]:
11900 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11903 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11905 * lyxlength.[Ch] (operator!=): new function
11907 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11909 * text.C (workWidth): use Inset::parOwner to find out where the
11910 inset has been inserted. This is a huge performance gain for large
11911 documents with lots of insets. If Inset::parOwner is not set, fall
11912 back on the brute force method
11914 * paragraph_pimpl.C (insertInset):
11915 * paragraph.C (Paragraph):
11916 (cutIntoMinibuffer): set parOwner of insets when
11917 inserting/removing them
11919 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11921 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * tabular-old.C (getTokenValue):
11924 * tabular.C (getTokenValue):
11925 (write_attribute): new versions for LyXLength
11926 (everywhere): adjust the use of widths
11928 * tabular.h: change the type of widths from string to LyXLength
11930 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11932 * paragraph.C: fixed missing line number count when exporting
11933 Environments to LaTeX file
11935 * buffer.C: added informational message for checking line numbers.
11937 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11939 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11940 paragraph, do the 'double space' part, but not the 'empty
11943 * text.C (workWidth): small optimization
11944 (getLengthMarkerHeight): use minimal size for negative lengths.
11946 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11948 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11950 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11952 2001-12-11 André Pönitz <poenitz@gmx.net>
11955 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11957 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11959 * text2.C: keep selection on a setFont()
11961 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11963 * lyx_cb.C: another bv->text misuse, from insert label
11965 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11968 * kbsequence.C: re-instate nmodifier mask
11970 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11972 * lyx_main.h: make lyxGUI private.
11974 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11976 * lyxfind.C: place the cursor correctly on failed search
11978 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11980 * text.C (getLengthMarkerHeight): for small heights, the arrows
11981 are not always on top/bottom of the text
11982 (drawLengthMarker): smaller arrows; take the left margin in
11983 account; draw also vfills.
11985 (paintLastRow): remove special code for vfill and standard spaces,
11986 since everything is handled in drawLengthMarker now.
11988 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11990 * buffer.C (insertErtContents): try to handle font and language
11991 interaction a bit better.g
11993 * ColorHandler.C (updateColor): change the hash to cover the whole
11994 LColor enum, ws cleanup
11995 (getGCLinepars): ditto
11996 (getGCLinepars): only lookup in the linecache once.
11998 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12000 * iterators.C (operator++): Make the iterator more robust
12002 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12004 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12006 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12009 * text.C: better added space drawing
12011 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12014 * BufferView2.C: fix layout combo update on inset unlock
12016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12018 * Makefile.am: don't compile unused files
12020 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12024 * LyXAction.C: remove old LFUN_LAYOUTNO
12026 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12028 * paragraph_pimpl.h:
12029 * paragraph_pimpl.C: isTextAt() doesn't need font param
12031 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12034 * lyxlex.C: little cleanup
12036 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12038 * BufferView_pimpl.C: fix insertAscii for insets
12040 2001-12-05 Juergen Vigna <jug@sad.it>
12042 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12043 set the right font on the "multi" paragraph paste!
12045 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12051 * lyxlength.C: remove out-commented code.
12053 * BufferView_pimpl:
12067 * vc-backend.C: change "while(" to "while ("
12069 * lyxlength.[Ch]: add zero function to check if length is zero or
12071 * lyxgluelength.C: use it
12073 2001-12-05 Allan Rae <rae@lyx.org>
12075 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12076 Works for 2.95.3, from what I understand of Garst's reports this should
12077 work for other g++ versions. We're screwed if the abs(int) definition
12078 changed between bugfix releases of gcc.
12080 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12082 * text.C: fix chapter label offset !
12084 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12087 * text.C: fix hfill at end of line, clean up
12089 2001-12-04 Juergen Vigna <jug@sad.it>
12091 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12092 that we force an update of the inset and it's owners if neccessary.
12094 2001-12-03 Juergen Vigna <jug@sad.it>
12096 * text.C (rowLast): simplified code
12098 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12100 * lyxfunc.C: fix show options on timeout
12102 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12104 * screen.C (topCursorVisible): scroll half a page when the cursor
12105 reached top of bottom of screen
12107 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12109 * minibuffer.C: deactivate on loss of focus
12111 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * vspace.[Ch] (operator!=): add operator.
12115 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12117 * BufferView_pimpl.C: refuse to open an inset when
12118 there's a selection.
12120 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12122 * BufferView_pimpl.C: allow to click on RHS of full row insets
12124 2001-11-30 Juergen Vigna <jug@sad.it>
12126 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12127 insets for undo reasons.
12129 2001-11-28 André Pönitz <poenitz@gmx.net>
12131 * vspace.[Ch]: cosmetical changes
12133 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12143 * kbsequence.C: part re-write of old kb code
12146 * WorkArea.C: remove Lgb_bug_find_hack
12148 2001-11-30 José Matos <jamatos@fep.up.pt>
12150 * buffer.C (makeDocBookFile): add a comment to point a hack.
12151 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12152 Fixed a double write of labels.
12154 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12157 * LaTeX.h Fixed bug in LaTeX class where it would not
12158 re-run latex if no depfiles were changed, but the .dvi was removed.
12160 2001-11-28 André Pönitz <poenitz@gmx.net>
12162 * all the files from the change on 2001/11/26:
12163 use lyx::layout_type instead of LyXTextClass::size_type
12164 use lyx::textclass_type instead of LyXTextClassList::size_type
12166 2001-11-29 Juergen Vigna <jug@sad.it>
12168 * text.C: added support for paragraph::isFreeSpacing()
12170 * buffer.C: same as above
12172 * paragraph.h: inserted isFreeSpacing() function to enable
12173 FreeSpacing inside InsetERT.
12175 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12176 of the paragraph's in the cut/copy buffer to 0!
12178 * text2.C (removeRow): remove the assert as it can!
12180 * lyxtext.h: added helper function firstRow returning firstrow and
12181 made firstrow private again.
12183 * BufferView2.C (lockInset): don't relock if we're already locked!
12185 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12186 the only paragraph.
12187 (removeRow): added Assert::(firstrow)
12189 * debug.C: forgot to add INSETTEXT here.
12191 2001-11-28 Juergen Vigna <jug@sad.it>
12193 * sp_spell.C (initialize): changed error text to more general
12194 spellchecker command use (not only ispell!)
12196 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12198 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12200 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12202 * vspace.C: initialise lyxgluelength on failure
12204 2001-11-28 Allan Rae <rae@lyx.org>
12206 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12207 declaration & definition that looks like a function declaration.
12209 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12211 * BufferView2.C (copy):
12212 (copyEnvironment): do not clear the selection when doing a copy.
12214 * text.C (paintFirstRow): compilation fix
12216 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12218 * tabular.C (Latex): correct line count when writing latex.
12220 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12222 * paragraph_pimpl.h:
12223 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12226 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12230 * LColor.C: change vfillline->added_space
12232 * text.C: add markers and text for added space
12234 * vspace.C: fix comment
12236 2001-11-28 André Pönitz <poenitz@gmx.net>
12238 * paragraph.C: whitespace changes
12239 * all the other files from the change on 2001/11/26:
12240 change *::pos_type into lyx::pos_type
12242 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12244 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12245 language of the document when inserting error insets.
12247 2001-11-26 André Pönitz <poenitz@gmx.net>
12249 * BufferView_pimpl.[Ch]:
12257 * paragraph_pimpl.[Ch]:
12260 * text2.C: reduce header dependencies, introduce type for positions
12262 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12264 * <various>: change to use Alert.h
12266 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12268 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12269 when encountering an unknown token.
12270 (readLyXformat2): Show an error message if there were unknown tokens.
12272 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12275 * BufferView_pimpl.C:
12279 * text2.C: use par->isInset()
12281 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12283 * paragraph_pimpl.h:
12284 * paragraph_pimpl.C: cleanup
12286 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12288 * text2.C (removeRow):
12289 * text.C (setHeightOfRow): remove useless (and costly) call to
12292 2001-11-20 Allan Rae <rae@lyx.org>
12294 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12295 Now need Inset*::checkInsertChar() to return true for appropriate
12296 cases so that the characters in the minibuffer will actually be
12299 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12301 * text.C: change the order of the includes.
12302 (workWidth): initialize it at once.
12303 (workWidth): make maxw unsigned
12304 (setHeightOfRow): remove unused variable (inset)
12305 (selectSelectedWord): remove unused variable (inset)
12306 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12308 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12310 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12311 server is not running.
12313 (closeConnection): add debug info when server is disabled.
12315 * ColorHandler.C (getGCForeground): send debug message to GUI
12318 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12320 * kbmap.C (bind): modify because return conventions of
12321 kb_sequence::parse have changed.
12323 * kbsequence.C (parse): only ignore spaces and not any stupid
12324 control character. This avoids tests like s[i] <= ' ', which are
12325 guaranteed to fail with 8bit characters and signed chars.
12326 Change return code to string::npos when there have been no error
12327 (0 was a bad idea when error is at first character)
12329 2001-11-14 José Matos <jamatos@fep.up.pt>
12332 * buffer.C (simpleDocBookOnePar): removed unused argument.
12334 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12336 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12337 insets which are part of a word. Paragraph::isLetter takes care of
12338 that now. Use Paragraph::isInset to identify insets.
12339 (selectSelectedWord): do not test for hyphenation break.
12341 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12342 that protected spaces are considered as spaces.
12344 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12347 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12350 * lyxserver.C: fix it. and small cleanup.
12352 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12354 * BufferView_pimpl.C: use inline helpers
12357 * LaTeXFeatures.C: fix typos
12360 * Spacing.C: move spacing_string into class
12362 * ToolbarDefaults.C: move stuff into namespace anon
12364 * layout.h: update enum
12366 * lyxfunc.C: use better debug
12368 * minibuffer.h: fix typo
12372 * WorkArea.C: add and use Debug::WORKAREA
12376 * text2.C: code re-organisation, inline helpers
12378 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12380 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12381 std::vector.empty().
12383 2001-11-09 Allan Rae <rae@lyx.org>
12385 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12386 '\n's after tables. Tabular and ERT inset work now makes this no
12389 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12392 * minibuffer.C: fix crash, improve drop-down completion
12394 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12397 * lyxserver.C: invalidate fd's when doing endPipe()
12399 2001-11-08 José Matos <jamatos@fep.up.pt>
12401 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12402 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12405 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12407 2001-11-07 José Matos <jamatos@fep.up.pt>
12410 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12413 * buffer.C (sgmlOpenTag):
12414 * buffer.C (sgmlCloseTag): removed debug info.
12416 * buffer.h (sgmlOpenTag):
12417 * buffer.h (sgmlCloseTag): made public.
12419 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12421 * buffer.C (saveParamsAsDefaults):
12422 * lyx_cb.C (MenuLayoutSave): remove
12424 * LyXAction.C (init):
12426 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12428 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * buffer.C (setPaperStuff): removed from here...
12432 * bufferparams.C (setPaperStuff): ... and moved there.
12434 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12438 * XFormsView.C: add support for drop-down completion
12440 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12442 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12445 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12447 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12450 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12452 * lyx_main.C: change ref to known bugs
12454 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12456 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12457 to work around older babel problems.
12459 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12461 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12463 2001-10-24 Juergen Vigna <jug@sad.it>
12465 * tabular-old.C (ReadOld): below variable changes reflected.
12467 * tabular.[Ch]: added ltType struct for longtable header/footer
12468 defines and changed all instances where they are used. Added
12469 future support for double top/bottom rows.
12471 2001-10-24 José Matos <jamatos@fep.up.pt>
12473 * buffer.h (docbookHandleCaption):
12474 * buffer.C (docbookHandleCaption): removed unused function.
12475 (makeDocBookFile): moved docbook supported version to v4.1.
12477 2001-10-24 José Matos <jamatos@fep.up.pt>
12480 * tabular.C (docbookRow): new function to export docbook code of a row.
12481 (DocBook): now honors the longtable flags.
12483 2001-10-23 José Matos <jamatos@fep.up.pt>
12486 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12487 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12489 * buffer.C (makeLinuxDocFile):
12490 (makeDocBookFile): reworked the preamble, more clean, and with
12491 support for lyx defined entities. Changed the document declaration
12492 to be more XML friendly.
12494 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12495 if we need to output XML that should be done with a filter.
12497 2001-10-22 Juergen Vigna <jug@sad.it>
12499 * sp_pspell.h (class PSpell): add alive function needed in the
12500 controller to see if the spellchecker could be started.
12502 2001-10-22 Juergen Vigna <jug@sad.it>
12504 * buffer.C (insertStringAsLines): modify the font for inserting
12505 chars in certain conditions by calling checkInsertChar(font).
12507 2001-10-19 Juergen Vigna <jug@sad.it>
12509 * text.C (workWidth): use getRow instead of wrong algorithm.
12510 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12512 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12517 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12519 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12521 * text.C (workWidth): do not search for the exact row when
12522 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12523 optimization for big documents.
12525 2001-10-18 Juergen Vigna <jug@sad.it>
12527 * text.C (workWidth): new function with added Inset * parameter.
12529 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12531 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12533 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12534 change return type of getColumnNearX.
12537 * text.C (changeRegionCase): use uppercase/lowercase instead of
12540 (rightMargin): simplify code by factoring out the uses of
12545 (appendParagraph): use Paragraph::size_type
12547 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12549 * vspace.C (asLatexString): add a missing break
12551 2001-10-15 Herbert Voss <voss@perce.de>
12553 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12555 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12557 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12560 2001-10-10 André Pönitz <poenitz@gmx.net>
12562 * lyxfunc.C: removed greek_kb_flag.
12564 2001-10-10 Herbert Voss <voss@perce.de>
12566 * lyx_main.C: delete global string help_lyxdir.
12568 2001-10-09 Herbert Voss <voss@perce.de>
12570 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12572 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12574 * lyx_main.C: added global string help_lyxdir.
12576 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12578 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12580 * lyxrc.C (set_font_norm_type): support iso8859-4
12582 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12584 * LaTeX.C (deplog): add another regex for MikTeX
12586 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12588 * lyxrc.C (set_font_norm_type): support iso8859-3
12590 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12592 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12594 * LaTeXFeatures.C: remove special case of french and index
12596 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12597 before \begin{document}). This solves several incompatibilities.
12599 2001-10-03 Garst Reese <reese@isn.net>
12601 * lyx_cb.C: change CheckTex error msg.
12603 2001-10-03 José Matos <jamatos@fep.up.pt>
12605 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12607 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12609 * .cvsignore: update
12611 * lyx_main.C (commandLineVersionInfo): use new style version info.
12613 * buffer.C (writeFile):
12615 (makeLinuxDocFile):
12616 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12618 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12620 * version.h: update to use stuff in version.C
12622 * version.C.in: new file. Contains version information determined
12623 at compile time. This is a merging of version.h and
12626 2001-10-03 Juergen Vigna <jug@sad.it>
12628 * BufferView_pimpl.C (update): don't change "dirty" status in
12631 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12633 * WorkArea.C (c-tor): re-position version string slightly.
12635 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12637 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12638 revert to previous code.
12640 WorkArea.[Ch]: (show, destroySplash): methods removed.
12642 WorkArea.C: rework code so that it's an amalgam of the codes before and
12643 after the splash screen was moved to WorkArea.
12645 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12648 * vspace.C (inPixels):
12651 * buffer.C (insertStringAsLines):
12652 (asciiParagraph): fix types to be large enough
12654 * lyxlex_pimpl.h: change member status from short to int
12656 * layout.h: fix type of endlabeltype
12659 * kbsequence.C (parse): change return type to string::size_type
12661 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12664 * Bullet.C (bulletSize):
12665 (bulletEntry): do not use short ints as parameters
12667 * BufferView2.C (insertLyXFile): change a char to an int.
12669 * WorkArea.C (WorkArea): remove unneeded floats in computation
12671 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12673 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12675 * paragraph.C (asString): Do not ignore newline/hfill chars when
12676 copying to the clipboard.
12678 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12680 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12681 after a multi-line inset.
12683 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12685 * paragraph.C (validate): Set NeedLyXFootnoteCode
12687 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12689 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12690 and decrease-error to decrease.
12692 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12694 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12695 it more readable (should be equivalent)
12697 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12699 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12701 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12704 of a cursor (row, etc.) after a character has been deleted
12705 (deleteEmptyParagraphMechanism): call the method above on _all_
12706 cursors held by the LyXText when a double space has been
12709 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12711 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12713 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12715 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12716 background. Use greyOut() and the new show() methods to toggle between
12717 the foreground and background. Add code to remove the splash after
12718 its initial showing.
12720 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12721 (create_forms): no longer call Dialogs::showSplash.
12723 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12725 * .cvsignore: add version_info.h
12727 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12729 * version_info.h.in: new file
12731 * Makefile.am: add version_info.h.in
12733 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12734 version_info.h instead of VERSION_INFO
12736 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12738 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12739 The ERT inset now returns string().
12741 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12743 * lyxtext.h, text.C (selectNextWord): renamed as
12744 selectNextWordToSpellcheck.
12746 * text.C (selectNextWordToSpellcheck): Modified to not select
12747 words inside an ERT inset.
12749 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12751 * lyx_cb.C (MenuLayoutSave): change a bit the question
12753 * sp_base.h: include <sys/types.h>
12755 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12757 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12759 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12761 * several files: fix typos in user-visible strings
12763 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12765 * text2.C (pasteSelection): do not set the selection, since it
12766 will be cleared later. Actually, the intent was to fix the way the
12767 selection was set, but I figured rmoving the code was just as good.
12769 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12771 * FontLoader.C (available): Check if font is available without
12774 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12776 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12778 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12780 * lyxrc.[Ch]: added display_graphics variable and associated code.
12782 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12784 * bufferparams.C (hasClassDefaults): new method. Returns true if
12785 the buffer parameters correspond to known class defaults
12787 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12789 * XFormsView.C (show): set minimum size to the main window.
12791 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12793 * text2.C (copySelection):
12795 * lyxfind.C (LyXReplace):
12796 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12797 LyXText::selectionAsString.
12799 * paragraph.C (asString): add "label" argument to the second form
12801 * text2.C (selectionAsString): add "label" argument and pass it to
12802 Paragraph::asString.
12804 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12806 * lyx_main.C (commandLineHelp): remove version information
12808 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12810 * lyx_main.C: add -version commandline option
12812 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12814 * paragraph.h: make the optional constructor arg required instead.
12815 some modifications to other files because of this.
12817 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12819 * lyxserver.C (C_LyXComm_callback): make it static
12821 * lyx_main.C (error_handler): make it static
12823 * lyx_gui.C (LyX_XErrHandler): make it static
12825 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12827 * WorkArea.C: make the extern "C" methods static.
12829 * Makefile.am (lyx_LDADD): simplify
12831 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12833 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12834 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12836 * LyXAction.C (init):
12837 * lyxfunc.C (dispatch): associated code removal.
12839 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12841 * lyxfont.h (isSymbolFont): shut off warning
12843 * text.C (setHeightOfRow):
12844 (getVisibleRow): fix crash with empty paragraphs which have a
12847 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12849 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12852 2001-09-04 José Matos <jamatos@fep.up.pt>
12855 * tabular.C (docbook): rename docBook method to docbook.
12857 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12859 * Makefile.am: add dependencies to main.o.
12861 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12863 * FontLoader.C (available): Return false if !lyxrc.use_gui
12865 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12867 * FontInfo.C (query):
12868 * converter.C (view):
12869 * importer.C (Import):
12870 * exporter.C (Export): Can not -> cannot.
12872 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12874 * BufferView_pimpl.C: allow to create index inset even if
12877 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12879 * buffer.C (getLists): replace boost::tie code with an explicit pair
12880 as boost::tie can break some compilers.
12882 * iterators.h: Added a std:: declaration to the return type of
12885 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12887 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12890 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12892 * iterators.[Ch]: New files. Provide paragraph iterators.
12894 * buffer.C (changeLanguage): Use paragraph iterators.
12895 (isMultiLingual): ditto
12897 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12899 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12901 * FontLoader.C: Support for cmr font.
12903 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12905 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12906 (available): New method.
12908 * FontInfo.C (getFontname): Use scalable fonts even when
12909 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12912 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12914 * converter.C (Formats::view): reverted! Incorrect fix.
12916 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12918 * converter.C (Formats::view): only output the -paper option
12919 if the dvi viewer is xdvi, thereby fixing bug #233429.
12921 2001-08-23 Herbert Voss <voss@perce>
12923 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12925 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12927 * Spacing.h (Spacing): Set space to Default on in the default
12930 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12932 * vc-backend.h (RCS::versionString): add RCS to version
12933 (CVS::versionString): add CVS to version
12935 * vc-backend.C (scanMaster): do not add CVS to version.
12936 (scanMaster): do not add RCS to version
12938 * lyxvc.C (versionString): new method
12940 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12942 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12944 * Spacing.C (set): initialize fval
12946 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12948 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12951 2001-08-16 Juergen Vigna <jug@sad.it>
12953 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12955 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12957 * BufferView_pimpl.C:
12960 * text2.C: setParagraph takes linespacing now
12962 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12964 * LyxAction.C: add internal LFUN_CITATION_INSERT
12966 * LyXView.C: actually apply fix
12968 * bufferlist.C: fix open non-existent file
12970 * lyxfind.C: fix indentation
12972 * lyxfunc.C: remove unneeded assert, fix typo
12974 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12976 * MenuBackend.C: use "Floatname List"
12978 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12980 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12981 when converting LaTeX layout to insetERT.
12982 Generate a non-collapsed float when reading old float
12984 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12986 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12989 2001-08-13 Juergen Vigna <jug@sad.it>
12991 * text.C (fill): return 0 instead of 20 as this seems to be the more
12994 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12996 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12999 2001-08-13 Juergen Vigna <jug@sad.it>
13001 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13003 (SearchBackward): comment out the unlocking of the inset_owner this
13004 should not be needed!
13006 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13008 * Many files: Remove inherit_language, and add latex_language
13010 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13011 collapsible insets.
13013 2001-08-10 Juergen Vigna <jug@sad.it>
13015 * text.C (prepareToPrint): fixed hfill-width in draw!
13017 * BufferView2.C (selectLastWord): save the selection cursor as this
13018 now is cleared in the function LyXText::clearSelection!
13020 2001-08-08 Juergen Vigna <jug@sad.it>
13022 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13023 BACKSPACE type functions.
13025 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13026 is only cutted from the document but not put in the cut-buffer, where
13027 still the old stuff should be.
13029 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13031 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13033 * tabular.C (SetWidthOfCell): fixed special case where the width
13035 (LeftLine): handle '|' in align_special.
13037 (LeftAlreadyDrawed): ditto
13038 (SetWidthOfCell): ditto
13040 2001-08-07 Juergen Vigna <jug@sad.it>
13042 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13044 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13047 * lyxlex.[hC]: ditto
13049 2001-08-06 Juergen Vigna <jug@sad.it>
13051 * text.C (getVisibleRow): fix up row clearing a bit.
13053 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13055 * minibuffer.C: make sure the X server sees the changes in the input.
13057 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * paragraph.C (getFont): split into...
13060 (getLabelFont): this
13061 (getLayoutFont): and this
13062 * paragraph_pimpl.C (realizeFont): calling this
13064 * text2.C (getFont): split into...
13065 (getLayoutFont): this
13066 (getLabelFont): and this
13067 (realizeFont): all three calling this
13069 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13072 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13074 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13076 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13078 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13079 layouts from the Quote inset insertion.
13081 2001-08-03 Juergen Vigna <jug@sad.it>
13083 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13085 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13086 only if status not is already CHANGED_IN_DRAW (second level).
13088 * text.C (draw): don't set the need_break_row when inside an
13091 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13093 * buffer.C (parseSingleLyXformat2Token): handle more latex
13096 * bufferview_funcs.[hC]: change function names to
13097 begin with small char, adjust other files.
13099 2001-08-02 André Pönitz <poenitz@gmx.net>
13102 BufferView_pimpl.C: remove broken special code for math-greek
13104 2001-08-02 Juergen Vigna <jug@sad.it>
13106 * BufferView_pimpl.C (update): redone this function so that we
13107 update the text again if there was a CHANGE_IN_DRAW.
13109 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13110 (drawFromTo): added a new internal bool which is used by draw() and
13112 (general): some cursor drawing problems fixed.
13114 2001-08-01 Juergen Vigna <jug@sad.it>
13116 * lyxfind.C (LyXFind): fixed
13117 (SearchForward): ditto
13118 (SearchBackward): ditto
13120 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13121 spurius drawing of the cursor in the main area.
13123 * text2.C (status): small fix which could lead to a segfault!
13124 (clearSelection): remove unneeded BufferView param.
13126 2001-08-01 André Pönitz <poenitz@gmx.net>
13128 * lyxfunc.C: small change due to changed mathed interface
13130 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13132 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13134 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13136 * lyxfunc.c: fail gracefully if file doesn't exist
13141 * BufferView_pimpl.C: IsDirWriteable() proto changed
13143 * LyXView.C: fix updateWindowTitle() to store the last title
13145 2001-07-31 Juergen Vigna <jug@sad.it>
13147 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13148 the font (wrong since using of Paragraph::highestFontInRange).
13150 * paragraph.C (highestFontInRange): added a default_size parameter.
13152 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13153 (setHeightOfRow): reformat
13155 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13157 * converter.[hC] + affected files: move to (inital-char)lowercase
13160 * ParagraphParameters.C (ParagraphParameters): remove commented code
13162 * PainterBase.[Ch]: remove commented code
13164 * LaTeXFeatures.h: add "bool floats" for float.sty
13166 * LaTeXFeatures.C (LaTeXFeatures): init floats
13167 (require): handle float
13168 (getPackages): do it with floats
13170 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13172 * BufferView_pimpl.C (Dispatch): improve handling of
13173 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13175 * commandtags.h: #include lyxfont.h here temporarily to avoid
13178 * bufferlist.h: include LString.h here.
13180 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13182 * text2.C (getStringToIndex): new method.
13184 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13186 * *: Reduced header file dependencies all over.
13188 2001-07-30 Baruch Even <baruch@lyx.org>
13190 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13192 2001-07-29 Baruch Even <baruch@lyx.org>
13194 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13196 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13198 * ParameterStruct.h (endif): add a default constructor to make
13199 sure that all variables is initialized.
13201 * ParagraphParameters.C (ParagraphParameters): adjust
13203 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13205 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13206 index; also, check that there is something to index, and that it
13207 does not span over several paragraphs.
13208 (doubleClick): use WHOLE_WORD_STRICT for double click.
13210 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13212 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13215 2001-07-26 Baruch Even <baruch@lyx.org>
13217 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13218 an InsetFig figure, backwards compatible reading of old figure code.
13220 2001-07-27 Juergen Vigna <jug@sad.it>
13222 * text2.C: font.realize function adaption.
13224 * text.C (draw): add a warnings lyxerr text if needed.
13226 * layout.C: font.realize function adaption.
13228 * language.C: add inherit_language and implement it's handlings
13230 * bufferview_funcs.C (StyleReset): remove language parameter from
13231 font creation (should be language_inherit now).
13233 * bufferparams.C (writeFile): handle ignore_language.
13235 * paragraph.C (getFontSettings): the language has to be resolved
13236 otherwise we have problems in LyXFont!
13238 * lyxfont.C (lyxWriteChanges): added document_language parameter
13239 (update): removed unneeded language parameter
13241 * paragraph.C (validate): fixed wrong output of color-package when
13242 using interface colors for certain fonts in certain environments,
13243 which should not seen as that on the final output.
13245 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13247 * BufferView_pimpl.C:
13252 * LyXAction.C: add thesaurus support
13255 * lyxfind.C: add "once" parameter, for thesaurus, to not
13256 move to the next match
13258 2001-07-26 Juergen Vigna <jug@sad.it>
13260 * lyxfont.C (realize): honor ignore_language too!
13263 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13265 * text.C (draw): one place more for ignore_language to not draw
13268 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13270 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13272 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13274 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13275 the minipage conversion problem.
13277 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13279 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13282 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13284 * BufferView.h: don't forward declare WorkArea
13286 * BufferView.C: don't include WorkArea.h
13288 2001-07-25 André Pönitz <poenitz@gmx.net>
13292 * lyxfunc.C: new LFUN 'math-space'
13294 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13296 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13298 * text2.C (toggleInset): call open/close
13300 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13302 * lyxfunc.C (dispatch): add debug for the disabled case
13304 * font.C (buttonText): make similar to rectText
13306 * buffer.C (readInset): comment out parsing of insetlist and
13309 * PainterBase.C (rectText): small correction
13311 * BufferView_pimpl.C: comment out insettheorem and insetlist
13312 * LyXAction.C: ditto
13313 * commandtags.h: ditto
13315 2001-07-24 Juergen Vigna <jug@sad.it>
13317 * text.C (draw): honor the ignore_language.
13319 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13321 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13323 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13326 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13328 * lyxtext.h: remove unused (and unimplemented) methods
13330 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13332 * text.C (getVisibleRow): honor background color
13335 * Painter.h: remove default color argument for fillRectangle
13337 * text.C (backgroundColor): new method
13339 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13341 * text.C (getVisibleRow): adjust
13343 * font.[Ch] (rectText): new method, metrics
13344 (buttonText): new method, metrics
13346 * PainterBase.[hC]: make rectText and buttonText always draw and take
13349 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13351 * ToolbarDefaults.C (read):
13352 * MenuBackend.C (read): allow escaping in all strings
13354 * BufferView_pimpl.C (insertAndEditInset): new method.
13355 (Dispatch): use insertAndEditInset whenever appropriate.
13357 * BufferView_pimpl.C (insertNote): removed
13359 * BufferView_pimpl.C (smartQuote): new method, moved from
13360 BufferView; if an insetquote cannot be inserted, insert a '"'
13363 * BufferView2.C: remove insertCorrectQuote();
13365 * lyxfunc.C (getStatus): Add support for all remaingin
13366 inset-insert lfuns.
13368 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13370 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13371 command (necessary to pass " as parameter of self-insert.
13373 * text.C (selectWordWhenUnderCursor):
13374 (selectWord): add word_location parameter
13375 (selectWordWhenUnderCursor): same + remove special code for word
13377 (selectNextWord): use kind() to guess type of insetspecialchar,
13380 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13381 (insertErtContents): create ert insets as collapsed.
13382 (readInset): better compatibility code for Info inset.
13384 2001-07-20 Juergen Vigna <jug@sad.it>
13386 * lyxfunc.C (dispatch): use always LyXFind now!
13388 * text2.C (init): add a reinit flag so that the LyXText can be
13389 reinited instead of deleted and reallocated (used in InsetText).
13391 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13397 2001-07-18 Juergen Vigna <jug@sad.it>
13399 * text.C (selectNextWord): handle insets inside inset by calling
13400 always the bv->text functions so that we can go up the_locking_inset!
13402 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13403 in strange locations when inside an inset!
13405 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13406 handling to include insets.
13408 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13410 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13412 * LyXAction.C (init):
13414 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13415 LIGATURE_BREAK, since the name is so stupid.
13417 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13419 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13422 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13424 * sp_form.[Ch]: remove.
13426 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13428 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13431 * src/buffer.C (readInset): ditto.
13433 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13435 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13436 menuSeparator(), endOfSentenceDot(), ldots() and
13437 hyphenationPoint(), which are therefore removed.
13438 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13440 * LyXAction.C (init):
13441 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13443 * paragraph.C (getWord): removed.
13445 * BufferView_pimpl.C (Dispatch): use last word or selection for
13446 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13448 * lyx_main.C (queryUserLyXDir): do not ask before creating
13449 user_dir, except if it has been named explicitely.
13451 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13453 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13454 a document of zero size.
13456 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13458 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13459 approriately in the c-tor and in require().
13460 (getPackages): output the appropriate LaTeX for natbib support.
13462 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13463 variables "use_natbib" and "use_numerical_citations" when reading the
13465 (readInset): read the various natbib cite commands.
13466 (validate): white-space change.
13468 * bufferparams.[Ch]: new variables "bool use_natbib" and
13469 "bool use_numerical_citations".
13470 (writeFile): output them in the LyX file.
13472 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13474 * lyxfunc.C (getStatus): add support for all the inset insertion
13477 * text2.C (insertInset):
13478 * paragraph.C (insetAllowed):
13479 * BufferView_pimpl.C (insertInset): update to take in account the
13480 renaming of insertInsetAllowed
13482 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13484 * text2.C (getInset): new method. returns inset at cursor position.
13486 * BufferView_pimpl.C (Dispatch): changes because of this.
13488 * LyXAction.C (init): rename open-stuff to inset-toggle.
13490 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13492 * text2.C (toggleInset): renamed from openStuff; use
13495 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13497 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13499 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13501 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13503 * buffer.C (readLyXformat2): Add filename to the error dialog
13505 2001-07-18 Juergen Vigna <jug@sad.it>
13507 * tabular.C (GetCellNumber): put an assert here instead of the check!
13509 2001-07-17 Juergen Vigna <jug@sad.it>
13511 * BufferView_pimpl.C (toggleSelection): adapted too.
13513 * text.C (selectNextWord): adapted for use with insets.
13514 (selectSelectedWord): ditto
13516 2001-07-17 Juergen Vigna <jug@sad.it>
13518 * sp_spell.C (PSpell): fix initialitation order.
13520 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13522 * paragraph.C: spacing
13524 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13526 * sp_spell.C: repair language selection for pspell
13528 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13530 * lyxfunc.h: change more methods to begin with lower char.
13532 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13534 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13535 for unknown layouts.
13537 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13539 * buffer.C (readLyXformat2): Generate an error dialog if there are
13542 2001-07-16 Juergen Vigna <jug@sad.it>
13544 * sp_spell.C: always compile ISpell part.
13546 * lyxrc.C: added use_pspell entry and it's handling.
13548 2001-07-13 Juergen Vigna <jug@sad.it>
13550 * sp_spell.C: removed double includes.
13552 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13554 Consistent use of Lsstream.h:
13555 * Lsstream.h: added using std::stringstream for consistencies sake.
13557 * buffer.C: removed using std::stringstream
13559 * lyxfont.C (stateText):
13560 * paragraph.C (asString):
13561 * text.C (selectNextWord, selectSelectedWord):
13562 * text2.C (setCounter):
13563 * vspace.C (asString, asLatexString):
13564 std::ostringstream -> ostringstream.
13566 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13568 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13569 * commandtags.h: add LFUN_HELP_ABOUTLYX
13570 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13572 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13574 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13576 * lyx_gui_misc.C: remove spellchecker
13577 * lyxfunc.C: showSpellchecker
13579 * sp_ispell.h: added
13580 * sp_pspell.h: added
13581 * sp_spell.C: added
13582 * sp_form.[Ch]: removed
13583 * spellchecker.[Ch]: removed
13585 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13587 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13589 (simpleTeXSpecialChars): Simply print the input character without
13590 any special translation if pass_thru is set.
13592 * layout.h: Added bool pass_thru to layout class for being able to
13593 implement pass through of a paragraph for Literate Programming.
13595 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13596 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13597 * layout.C (Read): add "passthru" to list of layout tags and add
13598 code to set the pass_thru boolean when it is read.
13600 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13602 * trans_decl.h: remove allowed from KmodInfo
13604 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13605 remove allowed code
13608 * paragraph_pimpl.C (erase): use boost::prior
13610 * Painter.C (text): use data() instead of c_str() when length is
13612 * WorkArea.C (putClipboard): ditto
13613 * font.h (width): ditto
13615 * BufferView2.C: use it-> instead of (*it). for iterators
13617 * paragraph_pimpl.C: ditto
13618 * paragraph.C: ditto
13619 * minibuffer.C: ditto
13620 * language.C: ditto
13622 * encoding.C: ditto
13623 * counters.C: ditto
13624 * converter.C: ditto
13626 * Variables.C: ditto
13627 * TextCache.C: ditto
13628 * MenuBackend.C: ditto
13629 * LyXAction.C: ditto
13631 * FloatList.C: ditto
13632 * DepTable.C: ditto
13633 * ColorHandler.C (LyXColorHandler): ditto
13635 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13639 * text2.C (openStuff): reintroduce this method (which had been
13640 nuked in NEW_INSETS frenzy).
13642 * lyxfunc.C (Dispatch): when an action has not been handled, use
13643 its name in the error message, not its number.
13645 * paragraph.C (inInset): change method name to begin with lowercase.
13648 * text2.C: updates because of this.
13650 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13652 * ToolbarDefaults.C (add): add spaces in error message
13654 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13656 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13657 (readLyXformat2): rename return_par to first_par, use lyxlex's
13658 pushToken and remove the manual push handling.
13659 (parseSingleLyXformat2Token): add another ert comp. variable:
13660 in_tabular, rename return_par to first_par. handle newlines better
13662 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13664 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13666 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * text2.C (getParFromID): removed
13670 * buffer.C (getParFromID): new method moved form lyxtext.
13671 * BufferView2.C (insertErrors): adjust
13672 (setCursorFromRow): adjust
13673 * BufferView_pimpl.C (restorePosition): adjust
13674 * lyxfunc.C (Dispatch): adjust
13675 * undo_funcs.C (textUndo): adjust
13677 (textHandleUndo): adjust
13678 (textHandleUndo): adjust
13680 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * buffer.C: up' the LYX_FORMAT
13684 * lyxfont.h: turn NO_LATEX on as default
13686 * buffer.C (insertErtContents): new methods of tex style compability.
13687 (parseSingleLyXformat2Token): use it several places.
13688 * tabular.C (OldFormatRead): and here
13690 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13692 * text2.C: remove some commented code.
13695 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13696 * trans.C: changes because of the above.
13698 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13700 * text2.C (setCounter): Fix counters bug with bibliography layout.
13702 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13705 own member functions
13706 (simpleTeXSpecialChars): ditto
13708 2001-07-06 Juergen Vigna <jug@sad.it>
13710 * a lot of files: changed the access to LyXText::status and the
13711 call of undo-functions.
13713 * undo.[Ch]: added a inset_id to the undo informations.
13715 * undo_funcs.[Ch]: added and moved here all undo functions.
13717 * lyxtext.h: give the status enum a weight, made status_ a private
13718 variable and made accessor functions for it, removed the whole bunch
13719 of undo-functions as they are now in their own file, make some
13720 functions publically available. Added function ownerParagraph with
13723 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13724 made InInset() a const function, added getParFromID() function.
13726 * buffer.[Ch]: added const version for inset_iterator functions,
13727 added getInsetFromID() function.
13729 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13730 changed undo functions for new version.
13732 2001-07-05 Juergen Vigna <jug@sad.it>
13734 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13735 unknow mechanism does not call the proper constructor but only this
13736 one also if I request the other!?
13738 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13742 * text2.C (LyXText): use initialization lists.
13744 * lyxtext.h (Selection): initialize set_ and mark_
13745 (init): remove method
13747 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13749 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13751 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13753 * screen.[Ch]: change method names to begin with lowercase
13755 * BufferView_pimpl.C (updateScrollbar): simplify further and
13756 hopefully make it a bit faster.
13758 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13760 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13761 calling directly xforms functions.
13763 * Painter.C (Painter):
13764 * lyx_cb.C (MenuWrite):
13765 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13768 * lyx_gui.C: remove bogus guiruntime extern declaration.
13770 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13772 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13774 (redoDrawingOfParagraph): ditto
13775 (redoParagraphs): ditto
13776 (cutSelection): don't create a object for CutAndPaste use the
13777 static method directly
13778 (pasteSelection): ditto
13780 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13783 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13785 * modifications to some other files because of this.
13787 * Makefile.am (lyx_SOURCES): add XFormsView
13789 * XFormsView.[Ch]: new files
13791 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13792 the main window. Move the gui dependent stuff to XFormsView
13794 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13796 * tabular.C (GetCellInset): update cur_cell also in the row/col
13797 version of this function.
13799 * lyxfunc.C: no need to include figure_form.h here.
13805 * lyxvc.C: no need to include forms.h here.
13807 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13809 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13811 * lyxfunc.C (Dispatch):
13813 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13814 constructor argument.
13816 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13818 * paragraph.C (Paragraph): dont't clear, and just set layout.
13819 (makeSameLayout): use params's copy contructor.
13821 * ParagraphParameters.[Ch] (makeSame): delete method
13823 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13825 * Variables.[Ch]: fix indentation, rename set to isSet
13827 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13829 * lyxfunc.C (Dispatch): fix typo
13831 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13833 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13836 * bufferlist.C: include assert.h for emergencyWrite().
13838 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13840 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13841 give up at last (bug #425202) !
13843 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13849 * spellchecker.C: strip spellchecker options and bring up
13850 preferences tab instead
13852 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13854 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13855 the istringstream constructor
13857 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * paragraph.C (getLayout): fix return value
13861 * paragraph.h: do not declare getLayout as inline.
13863 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13865 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * lyxcursor.h (operator<): new func
13868 (operator>): new func
13869 (operator>=): new func
13870 (operator<=): new func
13872 * text.C (changeCase): use selection.start and selection.end
13873 (changeRegionCase): require from to be <= to. Require par to be a
13876 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13878 2001-06-27 Juergen Vigna <jug@sad.it>
13880 * text.C (cursorLeftOneWord): changed to return the cursor and added
13881 overlay with BufferView * parameter which calls this one.
13883 (selectWord): use new getWord function.
13884 (changeCase): renamed from changeWordCase as and extended to work
13885 also on selections.
13887 * lyxtext.h: added enum word_location
13889 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13890 changeCase as this operates now also on selections.
13892 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13894 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13896 * many files: send debug output to Debug::INFO instead of
13899 * converter.C (View):
13901 (Move): send debug output to Debug::FILES instead of console.
13903 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13905 * lyxfunc.C (getStatus): use func_status
13907 * func_status.h: new header, describing the results of
13908 LyXFunc::getStatus;
13910 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13913 2001-06-25 The LyX Project <jug@sad.it>
13915 * buffer.C (sgmlOpenTag):
13917 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13919 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13921 * text2.C: remove some dead code
13923 * tabular.C (GetCellInset): store the last cell checked (gotten)
13925 * tabular.h: add the helper for the speedup
13927 * lyxtext.h: remove some dead code
13929 2001-06-26 The LyX Project <Asger>
13931 * paragraph.C: Change export to LaTeX of alignment to
13932 \begin{center} and family for better roundtrip work with reLyX.
13934 * Tune the math drawing a bit.
13936 2001-06-25 The LyX Project <Asger>
13938 * LColor.C (LColor): New color for math background. New color
13941 2001-06-25 The LyX Project <jug@sad.it>
13943 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13945 * lyxfunc.C (Open):
13946 * bufferlist.C (newFile): do not restrict to files ending with
13949 * BufferView_pimpl.C (MenuInsertLyXFile):
13951 2001-06-24 The LyX Project <jug@sad.it>
13953 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13956 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13958 * lyxtext.h: rename most methods to begin with a small char.
13959 Lots of changes because of this.
13961 * paragraph.C (Paragraph): do not call fitToSize
13962 (erase): call Pimpl::erase
13963 (insertChar): call Pimpl::insertChar
13964 (insertInset): call Pipl::insertInset
13965 (breakParagraph): do not call fitToSize
13966 (breakParagraphConservative): do not call fitToSize
13967 (fitToSize): remove method
13969 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13971 2001-06-24 The LyX Project <Asger>
13973 * Fix Qt compilation^2
13975 2001-06-24 The LyX Project <jug@sad.it>
13977 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13978 depthHook(getDepth()-1).
13981 * ParagraphParameters.h:
13982 * ParameterStruct.h: change type of depth to unsigned int ==
13983 depth_type. Many adaptations to other files before of that.
13985 2001-06-24 The LyX Project <Asger>
13987 * Fix Qt compilation.
13989 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13991 * paragraph.h: renamed several methods to begin with small letter.
13992 several changes to many parts of the code because of this.
13994 2001-06-23 The LyX Project <jug@sad.it>
13996 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13997 rewritten to discard all double spaces when KeepEmpty is off
13998 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13999 to only handle newlines but not fiddle with spaces and friends.
14001 * lyxfunc.C (MenuNew): when doing 'new from template', use
14002 template_path as default directory
14004 2001-06-23 The LyX Project <Asger>
14006 * Clean-up of header file includes all over
14007 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14009 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14011 * paragraph.h: renamed from lyxparagraph.h
14013 2001-06-23 Asger <lyx@violet.home.sad.it>
14015 * Buffer.h: Removed Buffer::resize
14016 * BufferList.h: Removed BufferList::resize
14017 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14018 the document lazily when we change the width, or the font settings.
14020 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14022 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14024 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14026 * buffer.h: remove out of date comment
14028 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14031 * screen.C: fix "theoretical" GC leak
14033 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14035 * LaTeX.C (scanAuxFile):
14036 (deplog): remove trailing \r when reading stream (useful under
14039 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14041 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14042 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14043 and BufferView::theLockingInset(Inset*), so should use them and not
14044 access bv_->text->the_locking_inset directly.
14046 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14048 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14051 * tex-defs.h: remove old unused file
14053 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14055 * BufferView_pimpl.C: fix typo, remove minibuffer message
14056 when buffer has loaded
14058 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14060 * lyxfunc.C (Dispatch): use stringstream
14061 (MenuNew): use stringstream
14062 (Open): use stringstream
14064 * importer.C (Import): use stringstream
14066 * bufferview_funcs.C (CurrentState): use stringstream
14068 * LaTeX.C (run): use stringstream
14070 * BufferView_pimpl.C (savePosition): use stringstream
14071 (restorePosition): use stringstream
14072 (MenuInsertLyXFile): use stringstream
14074 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14087 * vspace.C: removed // -*- C++ -*- as first line.
14090 * version.h: added // -*- C++ -*- as first line.
14092 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14094 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14096 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14099 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14104 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14106 * gettext.C: include LString.h even when --disable-nls is on.
14108 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14110 * converter.h (Get): changed argument type from int to
14111 FormatList::size_type to avoid unnecessary conversion.
14113 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14116 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14118 * gettext.h: include LString.h even when --disable-nls is on.
14120 2001-06-07 Juergen Vigna <jug@sad.it>
14122 * text.C (BreakAgain): subst spaces with tabs.
14124 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14125 (resizeInsetsLyXText): set force on resizeLyXText.
14127 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14129 * gettext.h (gettext_init):
14130 (locale_init): use a real definition instead of a macro
14132 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14134 * Bufferview_pimpl.C:
14136 * LColor.C: further lcolor tidies
14138 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14140 * BufferView_pimpl.C (updateScrollbar): simplify.
14142 * BufferView2.C: don't include insets/insetinfo.h, change
14143 prototype for insertInset and call the Pimpl version. let
14144 updateInset call Pimpl version.
14146 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14147 gotoInset to BufferView::Pimpl
14149 2001-06-01 Juergen Vigna <jug@sad.it>
14151 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14152 inside a LockingInset (is the update needed at all?).
14154 2001-05-31 Juergen Vigna <jug@sad.it>
14156 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14157 here not the old one otherwise how should we compare it afterwards
14160 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14165 * FontInfo.C: bring C functions into global namespace when
14168 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * LString.h: make sure config.h has been loaded before LString.h.
14172 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14173 (one for each char read by EatLine!).
14175 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14178 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14180 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14181 to the same as the par we break from
14183 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14185 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14187 * MenuBackend.C (expand): also create menu entries for wide
14188 versions of the floats.
14190 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14192 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14194 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14195 frontends/Makefile.am
14201 * tabular.C (getTokenValue): add std::
14203 * tabular-old.C (getTokenValue): add std::
14204 (getTokenValue): ditto
14205 (getTokenValue): ditto
14207 * screen.C (ToggleSelection): adjust
14209 * lyxtext.h: put selection cursors inside a Selection struct.
14211 * lyxfunc.C (moveCursorUpdate): adjust
14213 * lyxfont.C (latexWriteStartChanges): add std::
14215 * lyxfind.C: adjust
14217 * font.h: delete with(char const *, LyXFont const &)
14219 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14221 * FontInfo.C (getFontname): add std::
14223 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14224 (workAreaButtonPress): adjust
14225 (tripleClick): adjust
14227 (moveCursorUpdate): adjust
14230 * BufferView2.C (gotoInset): adjust
14232 2001-05-30 Juergen Vigna <jug@sad.it>
14234 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14235 to check pspell I add this as default as I now have new pspell
14236 libraries and they seem to use this.
14238 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14240 * text2.C (CutSelection): make the cursor valid before the call to
14243 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14245 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14246 relied on 0 terminated strings and other horrors. Bug found due to
14247 the new assert in lyxstring!
14249 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14252 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14254 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14257 * lyxfunc.C (processKeySym): change method of getting to the
14260 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14261 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14262 * BufferView_pimpl.[Ch]: here as private methods.
14264 2001-05-28 Juergen Vigna <jug@sad.it>
14266 * text.C (SetHeightOfRow): added the update() call again as it is
14267 needed to initialize inset dimensions!
14269 2001-05-16 Juergen Vigna <jug@sad.it>
14271 * text2.C (SetCharFont): Add new function with BufferView * and
14272 bool toggleall parameters for setting insets internal fonts.
14273 (SetFont): Freeze the undo as we may change fonts in Insets and
14274 all this change should be inside only one Undo!
14276 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14277 setting font's in insets as for them we have the SetFont function!
14279 2001-05-15 Juergen Vigna <jug@sad.it>
14281 * text2.C (ClearSelection): to be sure we REALLY don't have any
14284 * tabular.C (TeXCellPreamble): fixed the left border problem for
14287 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14289 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14292 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14294 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14295 LFUN_BREAKPARAGRAPH.
14297 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14298 help test to "internal only", similar for LFUN_INSERT_URL
14300 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14301 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14302 auto_region_delete and deadkeys.
14304 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14307 * LColor.C: remove some dead entries, tidy a little
14309 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14311 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14313 (Dispatch): implement LFUN_ESCAPE
14315 * commandtags.h: add LFUN_ESCAPE
14317 * LyXAction.C (init): add entry for LFUN_ESCAPE
14319 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14320 Remove commented code.
14321 (insertNote): moved here
14322 (open_new_inset): moved here
14324 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14327 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14329 * kbmap.C (findbinding): clean it up and make it work correctly.
14331 * lyx_main.C (init): do not pass argc and argv as parameters
14333 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14335 * buffer.C: fix path for OS/2 & Win32
14339 * lyx_main.C: Added os:: class.
14341 * os2_defines.h: update
14343 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14345 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14346 better by trying again with reduced state.
14348 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14350 * lyxrc.C (read): print error about invalid key sequence only when
14351 debugging (because not all latinX keysyms are known to some X
14354 * kbsequence.C (getiso): add a few std:: qualifiers
14355 (getiso): comment out extra return statement.
14357 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14359 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14361 (Dispatch): enhance the accent inset a bit. (not perfect)
14363 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14365 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14367 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14369 * bufferlist.C (emergencyWrite): fix assert() call
14371 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14373 * text.C (InsertChar): Added trivial patch to only send the "you
14374 can not do multiple spaces this way" message once during a
14377 2001-05-08 Baruch Even <baruch@lyx.org>
14379 * Makefile.am: Changed order of libraries to get LyX to link properly
14380 with the gnome frontend.
14382 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14384 * LaTeXFeatures.h: add a std:: qualifier
14386 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14388 * paragraph.C (String): use stringstream
14390 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14392 * paragraph.C (writeFile): remove footflag arg
14394 * buffer.C (makeLaTeXFile): use stringstream
14395 (latexParagraphs): remove footnot gurba
14397 * LaTeXFeatures.C (getPackages): use stringstream
14398 (getMacros): likewise
14399 (getTClassPreamble): likewise
14400 (getFloatDefinitions): new method
14402 * paragraph.C (writeFile): reindent
14405 * WorkArea.h: revert the xpos + etc changes.
14407 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14409 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14411 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14412 (pasteSelection): likewise
14413 * text2.C (CreateUndo): likewise
14415 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14417 * minibuffer.C (peek_event): temporarily reduce the functionality
14418 of the minibuffer (to allow args on lfuns)
14420 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14421 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14423 * buffer.C (readInset): add compability reading of old float
14424 lists, add reading of new style float list.
14425 (readInset): avoid reevaluation of inscmd.getCmdName()
14426 (getLists): reindent
14428 * MenuBackend.C (MenuItem): implement parsing of
14429 md_floatlistinsert and md_floatinsert.
14430 (expand::LastFiles): move initalizaton of iterators out of loop,
14431 avoid reevaluation.
14432 (expand::Documents): introduce typdedef vector<string> Strings,
14434 (expand::ExportFormats): introduce typedef vector<Format const *>
14435 Formats, and use it.
14436 (expand): implement FloatListInsert and FloatInsert.
14438 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14439 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14440 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14442 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14444 (Dispatch::LFUN_FLOAT_LIST): implement
14446 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14448 * LaTeX.C (run): Fix problem with --export code.
14450 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14452 * BufferView.[Ch] (workarea): removed.
14453 (getClipboard) new method; wrapper for workarea()->getClipboard()
14455 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14458 * WorkArea.h (width, height, xpos, ypos): These methods all
14459 returned the dimensions of the work_area sub-area of WorkArea,
14460 resulting in a position error if the WorkArea were resized. Now
14461 return the dimensions of the entire WorkArea.
14463 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14465 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14467 * LaTeX.C (deplog): correct the syntax of regex reg1
14469 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14471 * undo.C: remove !NEW_INSETS cruft
14473 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14475 * text2.C: remove !NEW_INSETS cruft
14477 * text.C: remove !NEW_INSETS cruft
14479 * tabular.C: remove !NEW_INSETS cruft
14481 * spellchecker.C: remove !NEW_INSETS cruft
14483 * lyxtext.h: remove !NEW_INSETS cruft
14485 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14487 * lyxfunc.C: remove !NEW_INSETS cruft
14489 * lyxfind.C: remove !NEW_INSETS cruft
14491 * lyx_cb.C: remove !NEW_INSETS cruft
14493 * figureForm.C: remove !NEW_INSETS cruft
14495 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14497 * buffer.[Ch]: remove !NEW_INSETS cruft
14499 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14501 * CutAndPaste.C: remove !NEW_INSETS cruft
14503 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14505 * BufferView2.C: remove !NEW_INSETS cruft
14507 * BufferView.h: remove !NEW_INSETS cruft
14509 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14511 * Lsstream.h: include LString.h before the sstream headers to
14512 fix problem with gcc 2.95.3 and lyxstring
14514 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14516 * lyx_main.C: add using directives when needed for C functions
14517 declared in std:: namespace.
14519 2001-04-27 Juergen Vigna <jug@sad.it>
14521 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14522 (SetHeightOfRow): comment out the update call should not be needed!
14524 2001-04-13 Juergen Vigna <jug@sad.it>
14526 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14527 (LyXTabular): tried to minimize operator= operations (and realized
14528 hopfully Lars wish).
14530 2001-04-27 Juergen Vigna <jug@sad.it>
14532 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14534 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14536 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14538 * buffer.C (readInset): hack to make listof algorithm work
14540 * BufferView_pimpl.C: hack to make listof algorithm work
14542 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14544 * LyXAction.C: removed all !NEW_INSETS cruft
14545 (init): moved lfun_item in method
14547 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14549 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14551 * BufferView2.C (theLockingInset): white space.
14553 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14555 * minibuffer.C: include <iostream>
14557 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14559 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14561 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14563 * text.[Ch] (TransposeChars): new method
14565 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14567 * call message directly through LyXView instead of through LyXFunc
14568 * BufferView2.C: adjust
14569 * BufferView_pimpl.C: adjust
14570 * FontLoader.C: adjust
14572 * bufferview_funcs.C: adjust
14573 * converter.C: adjust
14574 * figureForm.C: adjust
14575 * importer.C: adjust
14577 * lyx_gui_misc.C: adjust
14578 * lyxfunc.C: adjust
14581 + more files in subdirs
14583 * lyxparagraph.h (size): move up int file
14586 * adjust all uses of Assert to lyx::Assert.
14588 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14589 lyxfunctional in namespace lyx
14590 * layout.C (hasLayout): ditto
14593 (delete_layout): ditto
14594 (NumberOfClass): ditto
14595 * converter.C (GetFormat): ditto
14600 * bufferlist.C (getFileNames): ditto
14601 (emergencyWriteAll): ditto
14604 * MenuBackend.C (hasSubmenu): ditto
14607 * BufferView_pimpl.C (getInsetByCode): ditto
14609 2001-04-18 Juergen Vigna <jug@sad.it>
14611 * vspace.C (asLatexString): fixed the 100% problem.
14613 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14615 * lyxfunc.C (Dispatch):
14617 * minibuffer.h: add a few std:: qualifiers
14619 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14621 * minibuffer.[Ch]: reimplement so that commands is initiated and
14622 run from lyxfunc, simplified som handling, and made the completion
14623 and history code for complete. wip.
14625 * lyxfunc.C (processKeySym): call message
14626 (miniDispatch): new temporary method
14627 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14628 (LFUN_MESSAGE): implement
14629 (LFUN_MESSAGE_PUSH): implement
14630 (LFUN_MESSAGE_POP): implement
14631 (initMiniBuffer): the initial/defualt minibuffer message.
14633 * lyxfont.[Ch]: inline some more getters
14635 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14637 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14639 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14640 (AutoSave): use LFUN_MESSAGE
14641 (Reconfigure): ditto
14643 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14645 * figureForm.C: use LFUN_MESSAGE
14647 * converter.C (runLaTeX): use LFUN_MESSAGE
14649 * bufferview_funcs.C: use LFUN_MESSAGE
14651 (changeDepth): ditto
14653 * bufferparams.h: use boost::
14655 * bufferlist.h: inherit privately from noncopyable
14657 * bufferlist.C (loadLyXFile): remove some commented code.
14659 * buffer.C (runChktex): use LFUN_MESSAGE
14661 * ShareContainer.h: inherit privately from noncopyable
14663 * ParagraphParameters.[hC] (depth): inline it.
14665 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14667 (message): new method
14668 (messagePush): ditto
14669 (messagePop): ditto
14670 (show): init minibuffer
14671 (showState): direct call
14673 * LaTeX.[Ch]: inherit privately from noncopyable
14674 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14675 instead of WriteStatus.
14677 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14679 * BufferView_pimpl.C (buffer): don't init minibuffer
14680 (workAreaButtonPress): use LFUN_MESSAGE
14681 (workAreaButtonRelease): ditto
14682 (savePosition): ditto
14683 (restorePosition): ditto
14684 (MenuInsertLyXFile): ditto
14685 (workAreaExpose): don't init minibuffer
14686 (update): remove commented code, simplify
14688 * BufferView2.C (openStuff): use LFUN_MESSAGE
14689 (toggleFloat): ditto
14692 (copyEnvironment): ditto
14693 (pasteEnvironment): ditto
14698 (updateInset): remove some commented code
14700 * lastfiles.h: inherit privately from noncopyable
14703 * lyx_main.h: ditto
14705 * lyxlex_pimpl.h: ditto
14707 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14708 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14709 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14711 * LyXAction.h: inherit privately from noncopyable, add methods
14712 func_begin, func_end, returning iterators to the func map.
14714 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14715 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14716 (func_begin): new method
14717 (func_end): new method
14719 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14721 (copySelection): ditto
14722 (pasteSelection): ditto
14724 * BufferView.C: whitespace change
14725 * BufferView.h: inherit privately from noncopyable
14727 2001-04-16 Allan Rae <rae@lyx.org>
14729 * tabular-old.C (l_getline):
14730 * spellchecker.C (sc_check_word):
14731 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14732 an unrecognised preprocessor directive. So ensure they're wrapped.
14734 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14736 * src/exporter.C (Export): Give an error message when path to file
14739 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14741 * LaTeX.C (deplog): Always check that foundfile exists.
14743 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14746 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14748 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14750 * tabular.[Ch] (getLabelList): implement new method
14752 * minibuffer.h: comment ouf setTiimer
14754 * minibuffer.C (ExecutingCB): constify res
14755 (peek_event): constify s
14756 (Set): constify ntext
14757 (Init): constify nicename
14759 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14761 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14762 (savePosition): use two params to Minibuffer::Set
14763 (restorePosition): ditto
14765 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14767 * lyx_main.C: include language.h
14769 * Makefile.am (lyx_main.o): add language.h
14771 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14777 * CutAndPaste.C: include gettext.h
14779 * lyxfont.h: remove old hack with ON and OFF.
14782 * lyxfont.h: do not include language.h...
14787 * bufferview_funcs.C:
14793 * paragraph.C: ... but do it here instead
14795 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14797 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14799 * tabular.C: small reformat
14801 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14804 (BreakParagraph): ditto
14805 (SetOnlyLayout): ditto
14808 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14811 * lastfiles.C: removed most using decl, add std:: where needed
14813 * buffer.C: ws changes
14815 * MenuBackend.C (class compare_format): put into anon namespace
14816 (expand): constify label, names, action, action2
14819 * text.C (SingleWidth): constify font
14820 (IsBoundary): constify rtl2
14821 (GetVisibleRow): constify ww
14823 * LaTeX.C (deplog): constify logfile
14825 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14827 (workAreaExpose): constify widthChange, heightChange
14829 * lyxrow.C (par): moved
14832 * lyxrow.h: as inlines here
14834 * lyxfont.h (shape): moved from lyxfont.C
14835 (emph): moved from lyxfont.C
14837 * lyxfont.C (LyXFont): use initialization list for all
14839 (shape): move to lyxfont.h as inline
14840 (emph): move to lyxfont.h as inline
14843 2001-04-04 Juergen Vigna <jug@sad.it>
14845 * vspace.C: had to include stdio.h for use of sscanf
14847 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14850 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14851 independent of xforms.
14853 2001-04-02 Juergen Vigna <jug@sad.it>
14855 * spellchecker.C: fixed namespace placing!
14857 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14859 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14860 the LyXParagraph * is 0.
14862 2001-03-29 Juergen Vigna <jug@sad.it>
14864 * vspace.C: added support for %, c%, p%, l%.
14865 (stringFromUnit): added helper function.
14866 (asLatexString): changed to give right results for the %-values.
14868 * buffer.C: convert the widthp in a width%.
14870 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14872 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14875 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14876 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14878 * lyx_cb.[Ch]: see above.
14880 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14884 * lyx.[Ch]: replaced by figure_form.[Ch].
14888 * lyxfunc.C: changed headers associated with above changes.
14890 2001-03-27 Juergen Vigna <jug@sad.it>
14892 * BufferView_pimpl.C: set the temporary cursor right!
14894 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14896 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14898 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14900 * LString.h: removed "using std::getline"!
14902 * BufferView_pimpl.C (Dispatch): changes due to changes in
14903 InsetInclude::Params.
14905 * buffer.C (tag_name): removed redundant break statements as they were
14906 producing lots of warnings with my compiler.
14908 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14910 * LString.h: add "using std::getline" when using the real <string>.
14912 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14914 * buffer.C: removed bitset usage.
14915 PAR_TAG moved to an anonymous name space.
14916 (tag_name): new funtion, also in the anonymous namespace.
14917 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14918 (makeDocBookFile): clean code. Completed transition from string arrays
14920 (SimpleDocBookOnePar): code clean.
14922 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14924 * tabular.C: add some comments.
14926 2001-03-22 Juergen Vigna <jug@sad.it>
14928 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14929 compatibility read a bit and fixed bug with minipage in different
14932 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14934 * buffer.C (pop_tag): removed.
14935 (push_tag): removed.
14936 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14937 array replaced with vector. Added support for CDATA sections.
14938 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14940 (makeDocBookFile): XML conformant declaration of CDATA section,
14941 fixed bug related to <emphasis> in the first paragraph char.
14942 (sgmlOpenTag): exclude empty tags.
14943 (sgmlCloseTag): ditto.
14945 * buffer.h (pop_tag): removed.
14946 (push_tag): removed.
14948 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14950 * language.h (Languages): added size_type and size().
14952 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14954 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14955 response on compability reading of minipages. One probliem is that
14956 the old usage of minipages was «flertydig»
14958 * several files here and in subdirs: don't use static at file
14959 scope use anon namespaces instead.
14961 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14963 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14964 LaTeX output. This is necessary for Literate document
14967 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14969 * buffer.C: insert hfill when needed.
14971 * tabular.C (l_getline): use string::erase, small whitespace change.
14973 * BufferView_pimpl.C: try the anon namespace.
14974 * WorkArea.C: ditto
14976 2001-03-16 Juergen Vigna <jug@sad.it>
14978 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14979 otherwise it won't open options-dialogs.
14981 * buffer.C: honor pextraWidth(p) on converting minipages.
14983 * tabular.C (l_getline): changed the functions to strip trailing \r.
14985 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14987 * BufferView_pimpl.C:
14988 * minibuffer..C: added "using SigC::slot" declaration.
14990 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14992 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14998 * paragraph.C: ditto
15000 * lyxtext.h: NO_PEXTRA
15002 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15004 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15005 * ParameterStruct.h: ditto
15006 * ParagraphParameters.h: ditto
15007 * lyxparagraph.h: ditto
15009 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15011 * buffer.C: add compability for minipage alignment.
15012 (latexParagraphs): remove unwanted pextra check.
15014 * several files: remove CXX_WORKING_NAMESPACES
15016 * buffer.C (pop_tag): tie is in namespace boost
15018 * BufferView.h: noncopyable is in namespace boost
15020 * lyx_main.h: ditto
15023 * lastfiles.h: ditto
15024 * bufferlist.h: ditto
15025 * ShareContainer.h: ditto
15027 * LyXAction.h: ditto
15030 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15032 * Merging changes from BRANCH_MVC back into HEAD.
15034 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15036 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15038 * BufferView_pimpl.C: change from intl.C
15042 * Makefile.am: move combox.*
15048 * intl.C: remove dialog (covered by prefs)
15050 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15052 * lyxfunc.C (Dispatch): removed redundant break statement.
15054 2001-03-14 Juergen Vigna <jug@sad.it>
15056 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15058 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15060 * buffer.C: add hack to fix compability reading of minipages.
15062 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15064 * buffer.C (getLists): Cleanup.
15066 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15068 * lyxfont.C (update): don't honor toggleall on font size.
15070 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15074 * Makefile.am: moved to frontends/xforms/
15078 * BufferView_pimpl.C: changes for moved mathpanel
15080 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15082 * gettext.h: fix gettext_init() in --disable-nls
15084 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15086 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15088 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15091 * lyx.h: strip external form
15093 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15095 * BufferView_pimpl.C: add comment, destroySplash()
15097 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15099 * BufferView_pimpl.C:
15103 * lyxfunc.C: use re-worked insetinclude
15105 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15107 * buffer.C: add using std::stringstream.
15109 * lyx_cb.C: readd using std::ios.
15111 * buffer.C: add using std::map.
15113 * BufferView_pimpl.C: add using std::vector.
15115 * ShareContainer.h: add std:: to swap.
15117 * buffer.h: add some typedefs
15118 * buffer.C (getLists): use them
15119 (getLists): renamed from getTocList.
15120 add a counter for the different float types and use it in the
15122 (getLists): use the same counter for the NEW_INSETS and the "non"
15125 * lyx_cb.h: remove unused items, includes, using etc.
15127 * ShareContainer.h: remove some commented code, add more comments
15128 and "documentation".
15130 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15132 * buffer.C (getTocList): make the list also when NEW_INSETS is
15135 * buffer.h: remove TocType
15137 * buffer.C (getTocList): change to return a map<string,
15138 vector<TocItem> >, implement for dynamic number of list.
15140 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15141 * text2.C (PasteSelection): adjust
15142 * CutAndPaste.C (pasteSelection): adjust
15144 * FloatList.C (FloatList): update from the new_insets branch.
15145 * Floating.[Ch]: ditto
15146 * LaTeXFeatures.C: ditto
15148 * lyxlex_pimpl.C: ditto
15150 * paragraph.C (Last): remove when NEW_INSETS is defined.
15152 * other file: changes because of the above.
15154 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15156 * lyxparagraph.h: rename next to next_, previous to previous_,
15157 make them private for NEW_INSETS. Rename Next() to next(),
15158 Previous() to previous().
15160 * other files: changes because of the above.
15162 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15165 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15168 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15170 * main.C (main): pass lyx_localedir to gettext_init().
15172 * gettext.h: remove locale_init and gettext_init macros
15174 * gettext.C (locale_init): new function
15175 (gettext_init): new function
15177 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15180 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15182 * Moved credits to frontends:
15183 * credits.[Ch]: removed
15184 * credits_form.[Ch]: removed
15185 * lyx_gui_misc.C: remove credits stuff
15188 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15190 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15192 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15193 unneeded destructor.
15195 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15196 a standalone pointer again.
15198 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15200 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15206 * ToolbarDefaults.C:
15215 * BufferView_pimpl.C: use new file dialog in GUII
15218 * lyx_cb.C: remove LayoutsCB to Toolbar
15220 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15222 * ShareContainer.h (get): add std:: qualifier
15224 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15226 * ShareContainer.h: define a proper ShareContainer::value_type
15227 type (and use typename to please compaq cxx)
15229 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15231 * lyxparagraph.h: move serveral local vars to
15232 ParameterStruct/ParagraphParameters., use ShareContainer in
15233 FontTable., make vars in FontTable private and add getter and
15236 * paragraph.C: changes because of the above.
15238 * lyxfont.h: remove copy constructor and copy assignment. (the
15239 default ones is ok), move number inside FontBits. move inlines to
15242 * lyxfont.C: add number to initializaton of statics, move several
15243 inlines here. constify several local vars. some whitespace
15244 cleanup. Dont hide outerscope variables.
15246 * Spacing.h: add two new constructors to match the set methods.
15248 * ShareContainer.h: new file, will perhaps be moved to support
15250 * ParameterStruct.h: new file
15252 * ParagraphParameters.h: new file
15254 * ParagraphParameters.C: new file
15256 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15257 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15259 * BufferView_pimpl.C: ParagraphParameter changes.
15260 * buffer.C: Likewise.
15261 * bufferview_funcs.C: Likewise.
15262 * text.C: Likewise.
15263 * text2.C: Likewise.
15265 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15267 * lyxfind.C (LyXReplace): do not redefine default argument in
15269 (IsStringInText): ditto
15270 (SearchForward): ditto
15271 (SearchBackward): ditto
15273 2001-03-06 Juergen Vigna <jug@sad.it>
15275 * lyxfind.C (IsStringInText): put parentes around expressions.
15277 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15279 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15281 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15283 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15285 * stl_string_fwd.h: add comment
15287 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15290 * tabular.C: remove unused DocBook methods
15296 killed DO_USE_DEFAULT_LANGUAGE
15298 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15300 * lyx_gui.C: do not include language.h.
15302 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15303 arguments in function implementation.
15305 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15307 * BufferView_pimpl.C: add <ctime>
15309 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15311 * BufferView_pimpl.C: add using std::find_if
15313 2001-02-27 José Matos <jamatos@fep.up.pt>
15315 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15318 2001-02-11 José Matos <jamatos@fep.up.pt>
15320 * buffer.C (makeDocBookFile): command styles now have a parameter as
15321 "title" by default.
15323 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15325 * layout_forms.[Ch]: removed
15326 * lyx_cb.[Ch]: out character
15327 * lyx_gui.C: out character
15328 * lyx_gui_misc.C: out character
15329 * bufferview_funcs.C: : out character,
15330 added toggleall as parameter in ToggleAndShow
15332 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15334 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15336 * text2.C (SetCurrentFont): Disable number property at boundary.
15338 2001-02-26 Juergen Vigna <jug@sad.it>
15340 * lyxfunc.C (getStatus): added a string argument override function so
15341 that this is correctly called from LyXFunc::Dispatch if it contains a
15342 do_not_use_argument which is used!
15343 (Dispatch): added check for "custom" export and call appropriate func.
15345 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15347 * lyxrc.C: Add language_command_local, language_use_babel and
15348 language_global_options.
15350 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15352 * buffer.C (makeLaTeXFile): Use language_use_babel and
15353 language_global_options.
15355 2001-02-23 Juergen Vigna <jug@sad.it>
15357 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15358 which works with LyXText and putted it inside BufferView. Here now we
15359 only call for that part the BufferView::Dispatch() function.
15361 * BufferView.C (Dispatch): added.
15363 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15364 functions which needs to use a LyXText over from LyXFunc.
15365 (MenuInsertLyXFile): added
15366 (getInsetByCode): added
15367 (moveCursorUpdate): added
15368 (static TEXT): added
15370 2001-02-22 Juergen Vigna <jug@sad.it>
15372 * BufferView_pimpl.C (update): call a status update to see if LyXText
15375 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15377 * vc-backend.C (revert): implement for CVS
15378 (getLog): implement for CVS
15380 2001-02-20 Juergen Vigna <jug@sad.it>
15382 * text2.C (ClearSelection): added BufferView param for inset_owner call
15384 * lyxfunc.C (TEXT): added this function and use it instead of
15385 directly owner->view()-text of getLyXText().
15387 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15389 * src/layout_forms.C: out preamble
15390 * src/layout_forms.h: out preamble
15391 * src/lyx_cb.C: out preamble
15392 * src/lyx_cb.h: out preamble
15393 * src/lyx_gui.C: out preamble
15394 * src/lyx_gui_misc.C: out preamble
15395 * src/lyxfunc.C: connect with guii preamble
15397 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15399 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15401 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15403 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15404 whether to run bibtex.
15406 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15408 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15410 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15412 * Makefile.am (lyx_SOURCES): removed bibforms.h
15414 * vspace.h: doxygen
15416 * text.C (GetVisibleRow): make several local vars const
15418 * tabular.C: small cleanup.
15420 * lyxserver.C (callback): use compare instead of strncmp
15422 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15423 inlines to after class or to paragraph.C
15425 * lyxfont.h: remove friend operator!=
15427 * converter.h: move friend bool operator< to non friend and after
15430 * combox.h: small cleanup
15432 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15433 to inlines after class def.
15435 * buffer.C (pop_tag): use string operations instead of strcmp
15437 * bmtable.c: doxygen, small cleanup
15439 * LaTeX.h: remove friend operator==
15441 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15453 * BufferView_pimpl.C:
15454 * BufferView.[Ch]: remove cruft
15456 2001-02-14 Juergen Vigna <jug@sad.it>
15458 * lyxfunc.C: removed #if 0 unused code
15460 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15462 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15464 * text2.C (SetSelection): added a BufferView * parameter
15466 2001-02-13 Juergen Vigna <jug@sad.it>
15468 * lyxfunc.C (Dispatch): fixed protected blank problem.
15469 * BufferView2.C (protectedBlank): added LyxText * parameter.
15471 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15472 (AppendColumn): same as above for column_info.
15474 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15475 (moveCursorUpdate): use a LyXText param for support of InsetText.
15477 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15478 (tripleClick): ditto
15480 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15482 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15484 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15486 * text2.C (SetSelection): set correct update status if inset_owner
15487 (ToggleFree): ditto
15489 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15491 * tabular.C: remove some commented code.
15493 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15495 * BufferView_pimpl.C: call hideSplash()
15497 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15500 * bibforms.h: remove
15503 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15504 add LFUN_CHILD_CREATE
15506 * counters.h: fix tiny typo
15511 * lyx.C: move splash to frontends/xforms/
15513 * lyx_gui_misc.C: move Include and Bibform to frontends
15515 * lyxvc.h: clarify comment
15517 * vspace.C: tiny housekeeping
15519 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15521 * text.C (PrepareToPrint): RTL Fix.
15523 * paragraph.C (GetUChar): New method.
15524 (String): Use GetUChar.
15526 * buffer.C (asciiParagraph): Use GetUChar.
15528 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15530 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15532 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15535 * buffer.C: rename to getLogName(), handle
15536 build log / latex log nicely
15538 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15541 * MenuBackend.h: remove support for reference menuitem type.
15543 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15545 * BufferView_pimpl.C: housekeeping
15546 * BufferView_pimpl.h:
15551 * minibuffer.h: move Timeout GUI-I
15553 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15555 * lyxrc.C (read): Update converters data-structures.
15557 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15559 * LaTeX.h (operator!=): add operator != for Aux_Info
15561 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15563 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15565 * LaTeXLog.C: deleted, useful code moved to Buffer
15568 * buffer.C: new function getLatexLogName()
15574 * lyxfunc.C: use frontends for LaTeX and VC logs
15576 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15578 * LaTeX.h: yet another std:: that Allan forgot.
15580 * Variables.C (set): renamed from isset(), because this clashes
15581 with some HP-UX macros (grr).
15583 2001-02-06 Allan Rae <rae@lyx.org>
15585 * LaTeX.h: Another bug fix. Missing std:: this time.
15587 2001-02-04 Allan Rae <rae@lyx.org>
15589 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15590 floats problem. I've left it commented out because it's not quite
15591 correct. It should also test that the current object is a table or
15592 figure inset. But I haven't gotten around to figuring out how to do
15593 that. I *think* it'll be something like: "table" == inset.type()
15595 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15598 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15600 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15601 all the citation/databases/styles in the auxilary file.
15602 (run): Rerun latex if there was a babel language error.
15604 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15606 * text.C (Backspace): Preserve the font when changing newline char
15608 (BreakParagraph): If the cursor is before a space, delete the space.
15610 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15612 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15614 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15615 new argument (code).
15616 (ChangeCitationsIfUnique): New method.
15618 * paragraph.C (GetPositionOfInset): Handle bibkey.
15620 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15622 * BufferView_pimpl.h: change type of Position::par_pos to
15623 LyXParagraph::size_type.
15625 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15627 * BufferView_pimpl.C (savePosition, restorePosition): Write
15628 messages to minibuffer.
15630 2001-01-28 José Matos <jamatos@fep.up.pt>
15632 * buffer.C (makeDocBookFile): adds support for document language.
15633 A silly restriction on the name of LatexCommand types where removed.
15634 Added support for CDATA sections, allows to chars unescaped, used
15635 among others in code, to avoid escape < and >.
15637 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15639 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15640 saved positions instrad of a stack. Furthermore, a position is
15641 stored using paragraph id/paragraph position.
15643 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15644 Remove LFUN_REF_BACK.
15646 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15648 * converter.C (dvipdfm_options): New method.
15650 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15652 * vspace.C (isValidLength): Fix for empty input string.
15654 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15656 * LyXAction.C (init): change description of LFUN_FIGURE to
15659 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15661 * LaTeX.C: add using directive
15663 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15665 * MenuBackend.C (expand): Fix the sorting of the formats.
15667 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15669 * lyx_main.C: tiny error message fix
15671 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15673 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15674 calling fl_initialize(). This fixes the problem with ',' as
15675 decimal separator in text files.
15677 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15679 * trans.C (process): Fix the keymap bug.
15681 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15683 * LaTeX.C (scanAuxFiles): New method. Provides support for
15684 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15685 (scanLogFile) Scan for "run BibTeX" messages.
15687 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15688 OT1 font encoding. Also, load the aecompl package if the ae
15691 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15693 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15695 * texrow.C (increasePos): turn two error messages into debug
15698 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15700 * LaTeX.C (scanAux): Handle the \@input macro.
15701 (runBibTeX): Use scanAux().
15703 * language.C (latex_options_): New field.
15705 * LaTeXFeatures.C (getMacros): Add language macros.
15707 * buffer.C (makeLaTeXFile): Small fix.
15709 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15711 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15713 * text2.C: add a using directive.
15715 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15720 * lyxfunc.C: kill LyXBell.
15722 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15724 * text.C (IsBoundary): Remove the error message
15726 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15728 * lyxrc.C (setDefaults): Correct initialization value for
15731 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15733 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15736 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15737 and GotoNextNote().
15739 * src/LyXAction.C: Added reference-next.
15741 * text.C (InsertChar): Use contains instead of strchr.
15743 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15745 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15747 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15748 alignment commands (when needed).
15750 * text.C (InsertChar): Add ':' to number separator chars.