2 2004-04-08 André Pönitz <poenitz@gmx.net>
4 * metricsinfo.h: remove PainterInfo::width member
6 2004-04-08 Angus Leeming <leeming@lyx.org>
8 * lyx_sty.C (boldsymbol_def): modify so that it outputs
9 "\providecommand" rather than "\newcommand", thereby preventing
10 clashes with packages that define "\boldsymbol" themselves.
13 2004-04-08 Angus Leeming <leeming@lyx.org>
15 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
16 thereby squashing an unnecessary warning.
18 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
20 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
23 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
25 * BufferView.C (setCursor): call redoParagraph (some insets could
27 (putSelectionAt): remove the 'double update' trick
29 * BufferView_pimpl.C (fitCursor): call refreshPar
30 (workAreaDispatch): remove an uneeded update call
31 (dispatch): remove some manual update calls
33 * cursor.[Ch]: remove cached_y_, updatePos
34 (selHandle): set noUpdate when appropriate
36 * lyxfunc.C (dispatch): track if we need an update
38 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
40 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
41 (paintSelection): cheap optimization, do not call cursorX when not
43 (paintPars): change signature
46 (paintTextInset): adjust
50 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * lengthcommon.C: compilation fix: remove explicit array size from
53 unit_name[] and friends
55 2004-04-05 Angus Leeming <leeming@lyx.org>
57 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
59 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
60 present only for the preferences dialog.
61 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
63 2004-04-05 Angus Leeming <leeming@lyx.org>
65 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
66 to enable the frontends to export changes to lyxrc correctly.
68 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
70 2004-04-07 André Pönitz <poenitz@gmx.net>
72 * cursor.[Ch] (selClear, adjust): remove math
74 * cursor_slice.C: more agressive assert
77 * BufferView_pimpl.C: rework mouse event dispatch
84 2004-04-05 André Pönitz <poenitz@gmx.net>
86 * cursor.[Ch] (valign, halign...): remove unneeded functions
88 2004-04-05 Angus Leeming <leeming@lyx.org>
90 * lyxlength.[Ch] (unit_name et al.): const-correct.
92 2004-04-05 Angus Leeming <leeming@lyx.org>
103 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
105 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
107 * text3.C (getStatus): add LFUN_BEGINNINGBUF
109 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
111 * lyxfind.C: add a couple of inTexted() tests + other small fixes
112 * BufferView_pimpl.[Ch] (getStatus)
113 * BufferView.[Ch] (getStatus): add
114 * lyxfunc.C (getStatus): move lfuns handled in
115 BufferView::dispatch to te function above
116 * Cursor.C (setSelection): set selection() = true
118 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
120 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
122 2004-03-31 Angus Leeming <leeming@lyx.org>
124 * lyxfunc.C (dispatch): Fall through to the generic
125 Dialogs::show("preamble").
127 2004-03-31 Angus Leeming <leeming@lyx.org>
129 * lyxfunc.C (dispatch): Fall through to the generic
130 Dialogs::show("spellchecker").
132 2004-03-31 Angus Leeming <leeming@lyx.org>
134 * lyxfunc.C (getStatus, dispatch): changed invocation of the
137 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
142 * insetiterator.[Ch]:
147 * undo.[Ch]: s/DocumentIterator/DocIterator/g
149 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
151 * BufferView.C (setCursor, putSelectionAt): call edit to open the
152 insets where we are putting the cursor.
154 2004-03-31 Angus Leeming <leeming@lyx.org>
157 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
159 * lyxrc.[Ch] (read, write): overloaded member functions taking
160 a std::[io]stream arguments.
162 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
164 2004-03-31 Angus Leeming <leeming@lyx.org>
166 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
167 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
169 * lyxtextclass.C (load): if the text class couldn't be loaded, then
170 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
172 2004-03-31 Angus Leeming <leeming@lyx.org>
174 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
175 the LFUN_ALL_INSETS_TOGGLE code.
177 2004-03-30 Angus Leeming <leeming@lyx.org>
179 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
180 has died. Fall through to the generic Dialogs::show("document").
182 2004-03-30 Angus Leeming <leeming@lyx.org>
185 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
186 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
188 * lyxfunc.C (getStatus, dispatch): define the actions for these
189 lfuns. Little more than a cut and pste job from ControlDocument.C
191 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
193 2004-03-30 Angus Leeming <leeming@lyx.org>
196 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
197 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
199 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
200 open/closed state of ollapsable insets. Usage:
202 all-inset-toggle <state> <name>, where
203 <state> == "open" || "closed" || "toggle" and
204 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
206 * lyxtext.h, text2.C (toggleInset): removed.
208 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
209 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
210 now passes LFUN_INSET_TOGGLE to the found inset.
212 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
213 is now invoked as "all-insets-toggle toggle branch".
215 2004-03-30 Angus Leeming <leeming@lyx.org>
219 * pariterator.[Ch]: added/corrected header blurb.
221 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
223 * dociterator.[Ch]: add an inset_ member
224 (backwardPos): implemented
225 (backwardPos, forwardPos): use inset_ when the stack is empty.
226 (doc_iterator_begin, doc_iterator_end): implemented
227 * pariterator.[Ch]: adjust, add begin, end
228 * insetiterator.[Ch]: adjust, add begin, end
232 * BufferView_pimpl.C:
233 * CutAndPaste.C: adjust
235 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
237 * buffer.C: increment file format to 232.
238 * LaTeXFeatures.C: add bibtopic package.
239 * bufferparams.[Ch]: param \use_bibtopic.
241 * lyxrc.[Ch]: add lyxrc bibtex_command
242 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
244 * buffer.C: increment file format to 231.
246 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
248 * dociterator.C: implement forwardPar
249 * iterators.[Ch]: remove, replaced by
250 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
252 * BufferView_pimpl.C:
255 * bufferview_funcs.C:
261 * Makefile.am: adjust
263 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
265 * CutAndPaste.C (pasteSelection): fix 2 crashes
266 (eraseSelection): fix a crash
267 * paragraph_funcs.C: remove a warning
269 2004-03-28 Angus Leeming <leeming@lyx.org>
272 * LyXAction.C (init): new LFUN_PRINT.
274 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
276 2004-03-27 Angus Leeming <leeming@lyx.org>
279 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
281 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
283 2004-03-27 Angus Leeming <leeming@lyx.org>
285 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
286 insetlist always contains non-null pointers to insets.
288 2004-03-26 Angus Leeming <leeming@lyx.org>
290 * src/BufferView_pimpl.C:
294 * src/output_plaintext.C:
295 * src/outputparams.h:
296 * src/paragraph_funcs.C:
300 * src/frontends/controllers/ControlErrorList.C:
301 * src/frontends/gtk/FileDialogPrivate.C:
302 * src/frontends/gtk/GPainter.C:
303 * src/frontends/gtk/GToolbar.C:
304 * src/frontends/qt2/QRef.C:
305 * src/mathed/math_scriptinset.C: squash compiler warnings.
307 2004-03-26 Angus Leeming <leeming@lyx.org>
309 * ispell.C (LaunchIspell::start):
310 * lyx_cb.C (AutoSaveBuffer::start):
311 invoke run(DontWait) rather than runNonBlocking().
313 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
315 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
317 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * kbsequence.C (print): adjust
321 * kbmap.C (printKeySym): rename and change signature
322 (printKey): use LyXKeySym::print()
324 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
326 * undo.C: add using std::advance to compile for stlport
328 2004-03-24 Angus Leeming <leeming@lyx.org>
330 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
331 it leads to a crash when no buffer is present.
333 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 Martin Vermeer <martin.vermeer@hut.fi>
336 * lyxfunc.C (dispatch):
337 * bufferparams.C (readToken): use the new LColor::setColor
339 * LColor.[Ch] (setColor): new version that takes two strings as
340 argument and creates a new color entry if necessary
342 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
344 * buffer.C (makeLaTeXFile): if the main latex file that is
345 processed is usually a subdocument of some master, then pretend
346 for a while that it is actually the master
348 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
350 * buffer.C (getLabelList):
351 (getBibkeyList): use getMasterBuffer()
352 (getMasterBuffer): new method. Returns the main document in the
353 case where one is using included documents.
355 2004-03-25 André Pönitz <poenitz@gmx.net>
359 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
361 * ParagraphList_fwd.h: change ParagraphList to a std::vector
363 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
364 text*.C over here. Rename namespace CutAndPaste to lyx::cap
366 * ParameterStruct.h: merge with ParagraphParameters
368 * lyxtext.h: remove LyXText::parOffset() and getPar()
370 * text3.C: Remove all 'manual' update calls. We do now one per user
371 interaction which is completely sufficient.
375 * BufferView_pimpl.C:
378 * ParagraphParameters.[Ch]:
390 * output_docbook.[Ch]:
392 * output_linuxdoc.[Ch]:
393 * output_plaintext.[Ch]:
395 * paragraph_funcs.[Ch]:
396 * paragraph_pimpl.[Ch]:
404 * frontends/controllers/ControlDocument.C:
405 * frontends/controllers/ControlErrorList.C:
406 * frontends/controllers/ControlSpellchecker.C:
409 * insets/insetbase.h:
410 * insets/insetbibitem.C:
412 * insets/insetbranch.C:
413 * insets/insetcaption.C:
414 * insets/insetcharstyle.C:
415 * insets/insetcharstyle.h:
416 * insets/insetcollapsable.C:
417 * insets/insetcollapsable.h:
419 * insets/insetfloat.C:
420 * insets/insetfoot.C:
421 * insets/insetmarginal.C:
422 * insets/insetnote.C:
423 * insets/insetoptarg.C:
424 * insets/insettabular.C:
425 * insets/insettext.C:
426 * insets/insettext.h:
427 * insets/insetwrap.C:
428 * mathed/math_mboxinset.C:
429 * mathed/math_nestinset.C:
430 * mathed/math_scriptinset.C:
431 * mathed/math_scriptinset.h:
434 2004-03-24 Angus Leeming <leeming@lyx.org>
436 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
437 deal with any child processes that have finished but are waiting to
438 communicate this fact to the rest of LyX.
440 2004-03-24 Angus Leeming <leeming@lyx.org>
442 64-bit compile fixes.
444 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
445 (c-tor): pass lyx::pos_types rather than ints.
447 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
450 * text.C (Delete): compile fix.
451 (getPar): ensure that function declaration is the same as that in
454 2004-03-23 Angus Leeming <leeming@lyx.org>
456 * ispell.C (LaunchIspell):
457 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
458 a boost::shred_ptr rather than a std::auto_ptr.
460 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
462 * lyxfunc.C (getStatus): handle read-only buffers correctly;
463 handle LFUN_FILE_INSERT_*
465 * lyxrc.C (setDefaults, getDescription, output, read):
466 * lyxrc.h: remove ps_command
468 2004-03-22 Angus Leeming <leeming@lyx.org>
470 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
471 Ensure that error_handler is processed once only and that all data
472 is saved before attempting to output any warning messages.
474 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
476 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
478 * tabular.C (TeXRow): crash fix (from Kayvan and André)
480 2004-03-19 André Pönitz <poenitz@gmx.net>
482 * cursor.[Ch] (reset): take main text inset as argument
485 * BufferView_pimpl.C: adjust
487 * paragraph.[Ch]: fix completely broken operator=()
489 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * LColor.C (getFromLyXName): make sure that the color name is used
494 2004-03-17 Angus Leeming <leeming@lyx.org>
497 * LyXAction.C (init): remove LFUN_FORKS_KILL.
499 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
500 dialog and to kill a forked process.
502 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
504 * text2.C (setCursorFromCoordinates): fix font problem
506 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
508 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
509 bogus "rebuild cursor" code
511 2004-03-11 André Pönitz <poenitz@gmx.net>
513 * buffer.[Ch]: use InsetText instead of LyXText as container for
516 * dociterator.[Ch]: drop the BufferView * member which is not needed
517 anymore after the change to buffer.C
523 * BufferView_pimpl.[Ch]:
525 * cursor_slice.[Ch]: adjust
527 * text3.C: fix bug in mathDispatch
529 2004-03-08 André Pönitz <poenitz@gmx.net>
531 * undo.[Ch]: use 'StableDocumentIterator' as base for
534 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
537 * bufferparams.[Ch]: add jurabib support and param.
539 * LaTeX.C: add FIXME/comment.
541 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
543 * buffer.C: increment file format to 230.
545 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
547 * cursor.C (dispatch): avoid infinite loops
549 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
551 * rowpainter.C (paintSelection): fix x coordinates
553 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
555 * text.C (rowBreakPoint): fix breaking before displayed insets
557 2004-03-01 André Pönitz <poenitz@gmx.net>
559 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
561 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
565 * BufferView_pimpl.C:
573 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
579 * BufferView_pimpl.C: rename textwidth -> maxwidth,
580 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
582 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
584 * Bidi.[Ch] (computeTables): const correctness
585 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
586 fill_hfill, fill_label_hfill and x from Row
587 * lyxtext.h: prepareToPrint returns a RowMetrics
588 * rowPainter.C: adjust
589 * text.C (prepareToPrint): use width, not textWidth. adjust
590 (redoParagraphInternal, cursorX): adjust
591 * text2.C (getColumnNearX): adjust
592 (init): put a default value to the top LyXText::width
594 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
596 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
598 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
600 * lyxtext.h: add FontIterator class
602 * text.C (FontIterator, operator*, operator->, operator++): add
603 (rowBreakPoint, setRowWidth): adjust (fixing a
606 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
608 * BufferView_pimpl.C (workAreaDispatch): allow also
609 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
611 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
613 * text.C (rowBreakPoint): fix a bug showing with very large insets
615 2004-02-25 André Pönitz <poenitz@gmx.net>
618 * cursor.[Ch]: move some mathed specific code to mathed
620 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
622 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
623 use_tempdir in preferences
624 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
626 * lyx_main.C: ensure that tempdir is valid
627 * lyxlex.h: correct typo
628 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
629 * paragraph.[Ch] (isMultiLingual): make const
630 * cursor.[Ch] (openable): make const
632 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
634 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
636 2004-02-20 André Pönitz <poenitz@gmx.net>
638 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
640 * cursor.[Ch]: prepare for localized getStatus()
646 * text3.C: streamlines the LyXText cursor movement handlers a bit.
648 2004-02-20 André Pönitz <poenitz@gmx.net>
650 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
652 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
654 * text2.C (setCursorFromCoordinates): switch to absolute coords
657 * text3.C (dispatch): adjust
659 2004-02-16 André Pönitz <poenitz@gmx.net>
661 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
664 * cursor_slice.[Ch]: remove unneeded acessor function
666 * lyxtext.h: rename rtl() to isRTL()
674 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
676 * rowpainter.C (paintSelection): coord fix
678 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
680 * Spacing.C: compile fix
682 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
684 * cursor.C (dispatch): restore current_ before returning
686 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
688 * text2.C (cursorUp, cursorDown): fix coords
691 2004-02-12 André Pönitz <poenitz@gmx.net>
696 * text3.C: add LCursor & parameter to most cursor movement functions
697 remove usage of LyXText::cursorRow() and cursorPar()
699 * cursor.[Ch]: add textRow() needed members
702 * BufferView_pimpl.C:
705 * BufferView_pimpl.C: adjust
707 2004-02-11 André Pönitz <poenitz@gmx.net>
711 * BufferView_pimpl.C: shift undo/redo handling
713 * cursor.[Ch]: fix mathed crash
716 * lyxtext.h: move selectionAsText to LCursor
724 * rowpainter.C: fix excessive drawing
726 2004-02-06 André Pönitz <poenitz@gmx.net>
729 * BufferView_pimpl.[Ch]:
730 * text3.C: move some text specific LFUN handling
732 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
734 * text3.C (checkInsetHit): adjust coords
735 * text2.C (getColumnNearX): adjust coords
736 (edit): adjust coords
737 * text.C (getRowNearY): add two asserts
739 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
742 * format.C: add using std::distance to compile on gcc 2.95/stlport
744 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
746 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
748 2004-02-04 André Pönitz <poenitz@gmx.net>
750 * BufferView.[Ch] (insertInset):
751 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
756 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
758 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
759 on the default clause of the switch
760 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
761 wasn't catched by LCursor::dispatch
763 2004-02-03 André Pönitz <poenitz@gmx.net>
766 * cursor.[Ch]: some additional asserts
768 * undo.[Ch]: remove LyXText dependency in interface
772 * lyxtext.h (firstPar, lastPar): remove dead functions
777 * paragraph.[Ch]: adjust
779 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
781 * lyxfind.C (find): fix argument order in call to ::find
783 2004-02-02 André Pönitz <poenitz@gmx.net>
785 * cursor.[Ch]: remove direct access to anchor
787 * text.C: remove findText() hack
789 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
791 * iterators.[Ch] (lockPath): remove in favour of...
792 * BufferView.[Ch] (setCursor): this addition
793 * BufferView.C (putSelectionAt): adjust
794 * undo.C (performUndoOrRedo): adjust
795 * lyxfunc.C (dispatch): adjust
797 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
799 * iterators.C (lockPath): add a missing slice
800 * undo.C (performUndoOrRedo): remove redundant positioning code
802 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
804 * vc-backend.C (scanMaster): ";" -> ';'
806 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
808 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
811 * lyxtextclass.C (compare_name): rename to...
812 (LayoutNamesEqual): ...this
814 * lyxlex_pimpl.C (compare_tags): inherit from
815 std::binary_function, put back into anon namespace
817 * lyxfind.C (MatchString): inherig from std::binary_function
818 (findChange): use empty() istead of !size()
820 * format.C (FormatNamesEqual): new functor
827 * converter.C (compare_Converter): rename to...
828 (ConverterEqual): ...this, and fixup a bit.
829 (getConverter): use it, and make function const
830 (getNumber): use it, and make function const
834 * bufferlist.C: add using boost::bind
836 * MenuBackend.C (MenuNamesEqual): new functor
837 (hasMenu): use it, and make function const
838 (hasSubmenu): use nested bind to get rid of compare_memfun.
840 2004-01-30 André Pönitz <poenitz@gmx.net>
842 * BufferView_pimpl.C:
853 * text3.C: move some of the edit(x,y) handling to the insets
854 some coordinate changes.
856 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
858 * text.C: add using statements for std::advance and std::distance
860 * paragraph.C: add using statement for std::distance
862 * lyxfind.C: add using statement for std::advance
864 * cursor.C (region): remove std:: from swap
865 (openable): use nucleus in stead of operator->
867 * BufferView.C: add using statements for std::distance and std::swap
869 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
871 * iterators.C: Remove the pimple, move the needed structures to
872 the header file. Create accessor for the positions stack.
873 (asPosIterator): remove function
875 * PosIterator.C (PosIterator): move constructors to top of file
876 (PosIterator): reimplement the constructor taking a ParIterator in
878 (setFrom): new function
879 (operator!=): inline it
881 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
883 * lyxfind.C (replaceAll): use std::advance
885 * iterators.h: inherit from std::iterator.
887 * PosIterator.C (advance, distance): remove
888 * PosIterator.h: interit from std::iterator.
890 2004-01-26 André Pönitz <poenitz@gmx.net>
893 * BufferView_pimpl.[Ch]:
897 * bufferview_funcs.C:
908 * output_plaintext.C:
910 * paragraph_funcs.[Ch]:
911 * paragraph_pimpl.[Ch]:
917 * text3.C: more IU: dumps most of the rest of the mathcursor
918 implementation into cursor.[Ch]; "globalize" a bit of it.
920 2004-01-25 Angus Leeming <leeming@lyx.org>
922 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
924 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
926 * LaTeXFeatures.h: add nice_ and nice() const
927 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
929 2004-01-20 André Pönitz <poenitz@gmx.net>
932 * BufferView_pimpl.C:
934 * bufferview_funcs.C:
947 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
948 LCursor and mathcursor parts to LCursor and InsetBase.
950 2004-01-15 André Pönitz <poenitz@gmx.net>
952 * cursor_slice.[Ch]: add a few covienience functions
954 * funcrequest.[Ch]: remove BufferView * member
956 * BufferView_pimpl.C:
963 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
965 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
967 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
968 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
970 2004-01-13 André Pönitz <poenitz@gmx.net>
973 * lyxtext.h: hide cursor and selection anchor behind accessor function
976 * BufferView_pimpl.[Ch]:
978 * bufferview_funcs.C:
988 * cursor_slice.[Ch]: some integer type changes for inset unification
990 * lyxcursor.[hC]: remove, it's CursorSlice now.
993 * BufferView_pimpl.[Ch]:
994 * bufferview_funcs.C:
1000 * textcursor.[Ch]: adjust
1002 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1004 * text2.C (undoSpan): add and use
1005 * text.C (breakParagraph): use undoSpan (fix bug 578)
1008 2004-01-08 Angus Leeming <leeming@lyx.org>
1010 * BufferView_pimpl.C (MenuInsertLyXFile):
1011 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1012 * lyxfunc.C (menuNew, open, doImport):
1013 FileFilterList change to the FileDialog open and save functions.
1015 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1017 * ShareContainer.h: make isEqual and isUnique adaptable
1019 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1021 2004-01-07 Angus Leeming <leeming@lyx.org>
1024 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1026 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1028 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1029 functions replacing find, replace and replaceAll.
1031 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1032 LFUN_WORDFIND(FORWARD|BACKWARD).
1034 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1036 * text.C (breakParagraph): remove an outdated #warning
1038 2004-01-07 André Pönitz <poenitz@gmx.net>
1040 * lyxfind.C: somewhat clearer logic
1042 * text.C: prevent crash in cursorX on unitialized row cache
1044 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1046 * lyxcursor.[Ch] (operator>): add
1047 * textcursor.C (selStart, selEnd): use std::min and std::max
1049 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1051 * Chktex.C: include boost/format.hpp
1053 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1055 * InsetList.C: replace functor MathcIt with adaptable functor
1057 (insetIterator): modify accordingly
1059 * BranchList.h: move the BranchNamesEqual functor here from...
1060 * BranchList.C: ... to here
1062 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1064 (add): replace a finding loop with std::find_if.
1066 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1068 * output_docbook.C: moving LatexParam functionality into
1071 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1073 * buffer.C: increment format to 229.
1075 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1078 * lyx_sty.[Ch]: remove minipageindent_def
1084 * text3.C: remove LFUN_INSET_MINIPAGE
1086 2003-12-28 Angus Leeming <leeming@lyx.org>
1088 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1090 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1092 * text2.C (setParagraph): fix off-by-one crash
1094 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1096 * output_docbook.C: header stuff for AGU
1098 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1100 * text2.C (redoCursor): remove
1103 * BufferView_pimpl.C: remove calls to redoCursor and
1104 setCursor(cursor.par(), cursor.pos()) all around
1106 2003-12-15 Angus Leeming <leeming@lyx.org>
1108 * buffer.C: up the format to 228.
1110 2003-12-15 André Pönitz <poenitz@gmx.net>
1112 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1117 * BufferView_pimpl.C:
1126 2003-12-15 Angus Leeming <leeming@lyx.org>
1128 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1129 than getFromGUIName to manipulate the color.
1131 2003-12-14 Angus Leeming <leeming@lyx.org>
1133 * BranchList.[Ch]: minimize the API.
1134 (Branch::getBranch, getColor): now return a 'const &'.
1135 (Branch::setSelected) now returns a bool set to true if the
1136 selection status changes.
1137 (BranchList::clear, size, getColor, setColor, setSelected,
1138 allBranches, allSelected, separator): removed.
1139 (BranchList::find): new functions, returning the Branch with
1141 (BranchList::add, remove): return a bool indicating that
1142 the operation was successful.
1144 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1145 new InsetBranch::isBranchSlected member function.
1147 * LColor.[Ch]: mimimize the API.
1148 (fill): renamed as addColor and made private.
1149 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1150 versions of these functions taking a string arg have been removed.
1152 * bufferparams.C (readToken):
1153 * lyxfunc.C (dispatch):
1154 * lyxrc.C (read): changes due to the altered BranchList and
1157 * factory.C (createInset, readInset): changes due to altered
1160 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1163 * lyxfunc.C: remove insetminipage. "minipage-insert"
1164 now produces a frameless minipage box inset.
1166 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1168 * textcursor.[Ch] (selStart,selEnd): add new methods
1169 remove selection::start, end, use LyXCursor::operator<
1170 * lyxcursor.[Ch] (operator<): add
1171 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1172 * BufferView.[Ch] (unsetXSel): add
1173 * text2.C (clearSelection): use unsetXSel,adjust
1176 * rowpainter.C: adjust
1177 * bufferview_funcs.C (put_selection_at): adjust
1179 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1181 * BufferView_pimpl.C: small coord. correction
1183 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1185 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1186 dragging over the splash screen.
1188 2003-12-11 Angus Leeming <leeming@lyx.org>
1190 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1191 as it is now handled in LyXText::dispatch.
1193 * text3.C (doInsertInset): remove a level of nesting.
1195 2003-12-11 Angus Leeming <leeming@lyx.org>
1197 * factory.C (createInset): changes due to the changed interface to
1198 InsetCommandMailer::string2params.
1200 2003-12-10 Angus Leeming <leeming@lyx.org>
1202 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1203 'dialog-show-new-inset <inset name>'
1205 2003-12-10 Angus Leeming <leeming@lyx.org>
1207 * buffer.C: up the format to 227.
1209 * factory.C: the box inset is now identified simply by 'Box'.
1211 2003-12-10 Angus Leeming <leeming@lyx.org>
1213 * buffer.C: up the format to 226.
1215 * factory.C: the note inset is now identified simply by 'Note'.
1217 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1219 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1220 when a pit is enough. Standarize a couple of loops.
1222 2003-12-05 Angus Leeming <leeming@lyx.org>
1224 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1225 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1226 data to the re-worked "log" dialog.
1228 2003-12-03 André Pönitz <poenitz@gmx.net>
1234 * paragraph_funcs.C:
1236 * text2.C: use Inset::getText instead of Inset::getParagraph
1238 2003-12-03 André Pönitz <poenitz@gmx.net>
1242 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1243 InsetText::read() as LyXText::read()
1245 2003-12-02 Angus Leeming <leeming@lyx.org>
1247 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1248 type. Add a comment in the implementation that the function uses
1249 the stream's bad() function rather than fail() as the std::streams
1252 2003-12-02 André Pönitz <poenitz@gmx.net>
1254 * lyxlex.[Ch]: make interface more similar to std::stream
1256 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1258 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1260 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1262 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1264 * vspace.[Ch]: remove VSpace::NONE
1266 2003-12-01 André Pönitz <poenitz@gmx.net>
1269 * lyxtext.h: move ParagraphList member to LyXText
1270 rename LyXText::ownerParagraphs to LyXText::paragraph
1273 * bufferview_funcs.C:
1283 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1285 * undo.C: fix cursor positioning
1287 2003-12-01 John Levon <levon@movementarian.org>
1289 * BufferView_pimpl.C: fix a crash on exit with
1292 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1294 * BranchList.C: fix setSelected() method.
1296 2003-11-28 André Pönitz <poenitz@gmx.net>
1298 * ParagraphParameters.[Ch]:
1299 * ParameterStruct.h: remove space above/below from Paragraph to
1302 * BufferView_pimpl.C:
1308 * paragraph_funcs.C:
1314 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1316 * factory.C: Syntax change for CharStyles
1318 2003-11-28 André Pönitz <poenitz@gmx.net>
1323 * buffer.[Ch]: move LyXText member
1325 2003-11-28 André Pönitz <poenitz@gmx.net>
1327 * BufferView.[Ch]: make LyXText * text a private member
1329 * BufferView_pimpl.C:
1340 * output_plaintext.C: cleanup
1342 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1345 * lyxtextclass.[Ch]: parametrize SGML document header
1347 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1350 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1353 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1355 * text2.C (setFont): rework using PosIterator (no more recursive)
1356 (setCharFont): no more needed
1357 (setLayout): no more selection cursors fiddling (done by redoCursor)
1358 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1359 destroy remaining ones)
1361 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1363 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1365 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1368 * text3.C: adjust + re-allow multi par depth changes
1369 * textcursor.C: simplify a bit
1371 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1377 * src/output_docbook.C:
1378 * src/output_latex.C:
1383 * src/text2.C: Introducing a number of tags parametrizing various
1384 XML formats that we may want to support
1386 2003-11-25 André Pönitz <poenitz@gmx.net>
1388 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1390 * lyxtext.h (leftMargin/rightMargin): simplify interface
1397 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1399 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1400 master file to any child files. Fixes bug 546.
1402 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1404 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1406 2003-11-24 André Pönitz <poenitz@gmx.net>
1408 * rowpainter.C: simplification
1410 * text2.C (updateCounters): remove call to redoParagraph on
1411 changed labels as this is far too expensive.
1413 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1415 * converter.C (convert): fix a crash: this function gets
1416 called with buffer == 0 from importer code.
1418 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1420 * text3.C (cursorPrevious): make sure that we do not compare
1421 iterators form different containers.
1424 * rowpainter.C (paintSelection): make sure that we do not compare
1425 iterators from different containers.
1427 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1428 iterators from different ParagraphList containers.
1431 * text2.C (LyXText): change order of initialization slightly
1432 (operator=): new function. copy all variables except cache_par_
1433 (moveUp): make sure that we do not compare iterators from
1434 different ParagraphList constainers.
1437 * text.C (firstPar): new function
1438 (lastPar): new function
1439 (endPar): new function
1441 * lyxtext.h: move things around and group public functions, public
1442 variables, private functions, private variables
1444 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1446 * factory.C: change call to InsetERT constructor to avoid
1447 additional invocation of method status
1448 * text2.C (toggleInset): remove redundant update() call
1449 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1450 instead of a Bufferview pointer
1452 2003-11-21 André Pönitz <poenitz@gmx.net>
1454 * rowpainter.C: simplification
1456 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1458 * text3.C (dispatch): make possible to extend a word/row selection
1461 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1463 * lyxtext.h: x0_,y0_ -> xo_,yo_
1464 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1465 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1466 * rowpainter.C (paintRows): paint full paragraphs
1468 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1470 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1473 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1475 * lyxtext.h: add x0_, y0_
1476 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1477 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1479 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1481 * text2.C (setCursorIntern): move the x_target update here *
1482 * text3.C: change some bv() to true/false in calls to
1483 cursorUp/Down/Right/Left
1484 * cursor.C: use helper function.
1486 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1488 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1489 * paragraph_funcs.[Ch]: correct comment
1490 * rowpainter.C: do not paint selections away from bv->cursor()
1491 Fix a long standing selection painting bug.
1492 * text3.C: generalize mouse-selection code to LyXTexts other that
1494 * textcursor.C: do not use y coords if we can use par offsets
1496 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1498 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1499 cursor position after e.g. inset insert)
1501 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1503 * lyxfind.C (replace): adjust to locking removal + some
1506 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1508 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1511 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1514 * output_docbook.C: XML sanitation: new layout
1515 parameters InnerTag and CommandDepth
1517 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1519 * BufferView_pimpl.C:
1521 * text3.C: Fix the insertion and modification of button-style
1524 2003-11-13 André Pönitz <poenitz@gmx.net>
1526 * InsetList.[Ch]: remove deleteLyXText
1528 * paragraph.[Ch]: cache beginOfBody position
1533 * text3.C: remove superfluous update() calls
1537 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1539 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1540 * BufferView.C (fitLockedInsetCursor): remove
1541 * cursor.[Ch] (getDim): add
1542 * text.C (getRowNearY): add faster version
1543 * text3.C: remove some update calls
1545 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1557 * text3.C: The Character Style /XML short element patch.
1559 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1562 * factory.C: Small step to solving 'unable to insert some insets'
1565 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1567 * cursor.[Ch] (updatePos): new function for updating the y
1568 position of the tip inset
1569 * bufferview_funcs.C (put_selection_at):
1570 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1572 2003-11-11 André Pönitz <poenitz@gmx.net>
1574 * text.C: remove big comment on invalid Paragraph pointers as it is
1577 2003-11-11 André Pönitz <poenitz@gmx.net>
1579 * text_funcs.[Ch]: merge with ...
1587 * Makefile.am: remove text_funcs.[Ch]
1589 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1591 * cursor.C (getPos): return absolute cached y coord
1593 * BufferView_pimpl.C (fitCursor): new simplistic code
1594 (workAreaDispatch): add a fitCursor call
1596 2003-11-10 André Pönitz <poenitz@gmx.net>
1599 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1601 2003-11-10 André Pönitz <poenitz@gmx.net>
1603 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1604 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1605 indicate that the cursor needs to leave an inset
1607 * lyxtext.h: remove inset locking
1609 * cursor.[Ch]: re-implement functionality provided by inset locking
1612 * BufferView_pimpl.[Ch]:
1614 * bufferview_funcs.[Ch]:
1626 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1628 * PosIterator.[Ch]: replace the stack with a vector, add inset
1630 * iterators.[C]: adjust
1632 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1634 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1636 * paragraph_funcs.C (readParToken): put the correct id in the
1637 error item, not the id of the top paragraph
1639 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1641 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1642 * bufferview_funcs.C (put_selection_at): use the above
1644 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1646 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1648 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1650 * output_linuxdoc.h:
1651 * output_plaintext.h:
1653 * output_docbook.h: add #include statements
1655 2003-11-05 José Matos <jamatos@lyx.org>
1657 * output_docbook.[Ch]:
1658 * output_latex.[Ch]:
1659 * output_linuxdoc.[Ch]:
1660 * output_plaintext.[Ch]: New files for output formats.
1661 * output.[Ch]: New file for helper functions.
1664 * paragraph_funcs.[Ch]: output functions moved to new files.
1666 * outputparams.h: rename of latexrunparams.h
1674 * paragraph_funcs.[Ch]:
1675 * paragraph_pimpl.[Ch]:
1676 * tabular.[Ch]: rename ascii to plaintext
1677 and LatexRunParams to OutputParams.
1679 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1681 * iterators.[Ch] (text): require bv argument
1682 * undo.C (recordUndo):
1683 * lyxfunc.C (dispatch):
1684 * bufferview_funcs.C (put_selection_at): adjust
1686 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1688 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1690 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1692 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1695 2003-11-04 André Pönitz <poenitz@gmx.net>
1697 * cursor.[Ch]: restructure
1700 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1702 * iterators.[Ch] (asCursor): remove
1704 * lfuns.h: remove LFUN_INSET_EDIT
1710 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1712 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1714 * lyxfind.[Ch]: complete overhaul
1715 * BufferView_pimpl.C:
1717 * paragraph.[Ch] (insert): add
1719 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1723 * text.C: remove dead spellcheck code
1725 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * dispatchresult.h: add a val setter
1729 * cursor.C (dispatch): use a tempvar for data_[i]
1731 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1733 * PosIterator.[Ch]: compile fix
1735 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1737 * text.C (cursorPar): deactivate the cursor cache
1739 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1741 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1743 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1745 * text3.C (dispatch): adjust for new DisptchResult semantics.
1747 * lyxfunc.C (dispatch): handle update when return from
1748 Cursor::dispatch, adjust for new DispatchResult semantics.
1750 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1751 DispatchResult(true) mean to not update. Add class functions for
1752 setting dispatched and update, as well as reading.
1754 * cursor.C (dispatch): don't handle update here
1756 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1758 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1759 * trans_mgr.C: adjust
1761 * paragraph_funcs.C (readParToken): exception safety
1763 * lyxvc.h: store the vcs pointer in a scoped_ptr
1766 * lyxsocket.C (serverCallback): exception safety
1768 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1770 * ispell.C (clone): make it return a auto_ptr
1772 * factory.C (createInset): exception safety
1773 (readInset): exception safety
1775 * bufferlist.C (newBuffer): exception safety
1777 * Thesaurus.C (Thesaurus): use initialization for aik_
1779 * MenuBackend.C (expandToc): exception safety.
1781 2003-11-03 André Pönitz <poenitz@gmx.net>
1785 * bufferview_funcs.C: remove getInsetFromId()
1788 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1794 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1796 * PosIterator.C (distance, advance): new
1797 * bufferview_funcs.[Ch] (put_selection_at): new
1798 * iterators.[Ch] (lockPath): new
1800 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1802 * iterators.[Ch] (asPosIterator): added
1803 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1804 * PosIterator.[Ch]: added
1806 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1810 * cursor.C (dispatch):
1811 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1813 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1814 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1815 contructor, add a class function dispatched. Remove operator>=
1817 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * debug.C: only use the default constructor for debugstream
1822 * main.C (main): include debug.h and setup the lyxerr streambuf
1825 2003-10-31 José Matos <jamatos@lyx.org>
1827 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1829 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1830 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1831 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1832 * paragraph_pimpl.C (simpleTeXSpecialC):
1833 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1834 add LatexRunParams argument.
1836 * exporter.C (Export): change call accordingly.
1838 * latexrunparams.h: add new member to take care of the other backends.
1839 2003-10-30 José Matos <jamatos@lyx.org>
1841 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1842 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1843 factorise code for paragraph output.
1845 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1848 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * text3.C (dispatch):
1851 * lyxfunc.C (dispatch):
1852 * cursor.C (dispatch):
1853 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1855 * dispatchresult.h: make the dispatch_result_t ctor explicit
1857 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1860 * buffer.C: small refactoring of docbook stuff
1862 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1867 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1869 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1870 operator dispatch_result_t, and operators for == != and >=
1872 * cursor.C (dispatch): adjust for operator dispatch_result_t
1873 removal. comment out call to update
1875 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1877 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1885 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1888 * dispatchresult.h: new file, DispatchResult broken out of
1891 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1893 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1895 * text.C (rowBreakPoint): put a hack inside #if 0
1897 2003-10-28 André Pönitz <poenitz@gmx.net>
1901 * paragraph_funcs.C:
1904 * text2.C: general cleanup (lots of small stuff)
1906 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1908 * text2.C (cursorEnd): simple fix to the "end key goes to one
1909 before the end on last row" bug
1911 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1913 * text.C (backspace): fix the "zombie characters"
1915 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1917 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1919 2003-10-27 André Pönitz <poenitz@gmx.net>
1921 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1923 * factory.C: handle new InsetPagebreak, InsetLine
1925 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1926 and move handling into new InsetPagebreak, InsetLine
1928 * BufferView_pimpl.C:
1930 * ParagraphParameters.C:
1931 * ParameterStruct.h:
1936 * paragraph_funcs.C:
1937 * paragraph_pimpl.C:
1943 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1946 * lyxrow_funcs.[Ch]:
1952 * text3.C: remove lastPos uses in favour of Row::endpos
1954 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1956 * undo.C (performUndoOrRedo): fix two crashes by setting a
1957 cursor by hand and reordering some calls. Use bv->lockInset instead
1958 of inset->edit because the latter loses cursor information
1960 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1962 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1964 (rowBreakPoint): fix width. change point to point + 1.
1965 Add a missing check.
1967 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1970 * lyxfunc.C: fix (at least partly) the problems
1971 with the Nav menu and headers inside branch insets
1974 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1976 * paragraph.C (getChar): add strong asserts
1978 * lyxrow_funcs.C (lastPos): remove hideous hack
1980 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1981 (fill): adjust to that (avoid an infinite loop)
1983 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1985 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1987 2003-10-23 André Pönitz <poenitz@gmx.net>
1989 * RowList_fwd.h: change list<> to vector<> to gain speed
1990 after suggestion from Alfredo
1992 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1994 * lyxtext.h: move the bidi stuff from here...
1997 * Bidi.[Ch]: ... to here
1999 2003-10-23 André Pönitz <poenitz@gmx.net>
2002 * text.C (isLastRow, isFirstRow): new functions
2004 * paragraph.h: new width cache member
2006 * rowpainter.C: replace RowList::iterator with Row & where possible
2008 * lyxfunc.C: replace several view()->text with a single call
2010 * toc.C: fix 'unused' warning
2012 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2015 when woring with stream::pos_type
2016 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2018 2003-10-22 André Pönitz <poenitz@gmx.net>
2021 * text.C: use Row & instead of RowList::iterator
2023 * lyxrow.h: rename end() to endpos()
2029 2003-10-22 Angus Leeming <leeming@lyx.org>
2031 * buffer.[Ch] (fully_loaded): new member function, returning true
2032 only when the file has been loaded fully.
2033 Used to prevent the premature generation of previews and by the
2034 citation inset to prevent computation of the natbib-style label.
2036 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2037 templates are all set up.
2039 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2041 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2043 * text.C: fixed an "oops" in the "is a bit silly"
2046 2003-10-21 André Pönitz <poenitz@gmx.net>
2048 * FuncStatus.[Ch]: small stuff, whitespace
2050 * lyxfont.[Ch]: operator<<() for debug reasons
2054 * lyxtext.h: whitespace, spelling
2056 * paragraph.C: naming of variables
2059 * text2.C: small stuff
2062 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2064 * text.C: (1) finish off the inset display() work;
2065 (2) fix the "is a bit silly" bug (accessing char
2068 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2070 * text.C: re-introduce display() for insets, fixing the
2071 various bugs (stretch of line above, math inset
2074 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2076 * text.C (rightMargin): remove spurious semicolon
2078 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2081 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2083 * text3.C: fix one crash due to wrong cursor def
2085 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * vc-backend.C (scanMaster): make the regex static
2089 * LaTeX.C (scanAuxFile): make the regexs static
2091 * text3.C (doInsertInset, dispatch, dispatch):
2092 * text2.C (cursorUp, cursorDown):
2093 * text.C (selectNextWordToSpellcheck):
2094 * BufferView_pimpl.C (dispatch):
2095 * lyxfunc.C (dispatch): localDispatch -> dispatch
2097 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2099 * lyxsocket.C: include <cerrno>
2101 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2103 * lyxfunc.C (dispatch): remove textcache stuff
2105 * bufferlist.C (release): remove textcache stuff
2108 * TextCache.C: delete file
2109 * TextCache.h: delete file
2111 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2113 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2114 delete of the bv_->text.
2115 (resizeCurrentBuffer): remove texcache stuff
2116 (workAreaResize): ditto
2118 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2123 2003-10-16 André Pönitz <poenitz@gmx.net>
2130 * text3.C: speed up by storing y positions per paragraph plus per-row
2131 offset instead of having a 'full' y position in the row.
2133 2003-10-15 André Pönitz <poenitz@gmx.net>
2137 * undo.[Ch]: make undo aware of inner insets
2139 2003-10-14 Angus Leeming <leeming@lyx.org>
2141 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2142 static member functions LyX::ref() and LyX::cref.
2143 (lastfiles): new accessor functions for the new lastfiles_ member var.
2144 (addLyXView, views_): add a new LyXView to the list of views_.
2145 (updateInset): loop over all LyXViews to call their own updateInset
2146 member function, returning a pointer to the Buffer owning the inset.
2148 * BufferView_pimpl.C (loadLyXFile):
2149 * MenuBackend.C (expandLastfiles):
2150 * bufferlist.C (MenuWrite, QuitLyX):
2151 lastfiles is no longer a global variable.
2152 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2154 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2155 static function. Access through LyX::cref().emergencyCleanup().
2157 2003-10-14 André Pönitz <poenitz@gmx.net>
2159 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2161 * undo.[Ch]: restoring part of 'undo in insets'
2164 * undo_funcs.[Ch]: merge with undo.[Ch]
2166 * tabular.C: small cleansing stuff
2168 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2170 * paragraph_funcs.C (readParToken): report unknown insets as error
2171 boxes. Use the outer paragraph as location (also for unknown
2174 * factory.C (readInset): do not abort on reading an unknown inset.
2175 Eat it and return 0.
2177 2003-10-13 Angus Leeming <leeming@lyx.org>
2179 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2181 * lyxrc.C: displayTranslator is now a function,
2182 declared in GraphicsTypes.h.
2184 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2186 * format.C: new placeholder $$a to pass the socket address.
2188 * bufferlist.[Ch]: new function getBufferFromTmp.
2190 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2191 files in the temporary dir.
2193 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2195 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2197 * Makefile.am: add lyxsocket.[Ch].
2199 * lyx_main.C (error_handler): handle SIGPIPE.
2201 2003-10-13 André Pönitz <poenitz@gmx.net>
2203 * BufferView_pimpl.C:
2208 * undo_funcs.[Ch]: use paroffset_type instead of
2209 ParagraphList::iterators to prevent multiple conversion
2210 (and get a more robust interface)
2212 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2214 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2216 * text3.C (dispatch): ditto
2218 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2220 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2221 move the onlyfile, use onlyfile instead of foundfile in a couple
2224 * DepTable.C (update): flush the error stream a bit more
2226 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * lyxserver.C (callback): adjust
2230 * lyxfunc.C (getStatus): add a missing brace in commented code
2231 (ensureBufferClean): reindent
2232 (dispatch): delete version taking a string
2234 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * LaTeX.C (deplog): move found file handlig from here...
2237 (handleFoundFile): .. to new function here.
2238 (deplog): make sure to discover several files mentioned on the
2241 2003-10-10 André Pönitz <poenitz@gmx.net>
2248 * text3.C: fix some of the tabular crashes
2250 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2252 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2254 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2256 2003-10-09 André Pönitz <poenitz@gmx.net>
2258 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2261 * BufferView_pimpl.C:
2262 * bufferview_funcs.C:
2273 * undo_funcs.C: adjust
2275 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * text2.C (incrementItemDepth): new function, use a backtracking
2278 algorithm to discover the correct item depth.
2279 (resetEnumCounterIfNeeded): new function, use a backtracking
2280 algorithm to discover if counter reset is needed.
2281 (setCounter): use them. Simplify a bit. Add different labels for
2282 different item depths for itemize.
2284 * paragraph.C (Paragraph): remove initialization of enumdepth
2287 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2288 enumerate and itemize. Change the type of itemdepth to signed char.
2290 2003-10-08 André Pönitz <poenitz@gmx.net>
2292 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2297 * tabular.[Ch]: fix crash after 'row-insert'
2299 2003-10-08 Angus Leeming <leeming@lyx.org>
2301 Fix doxygen warnings.
2303 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2304 Remove CutAndPaste:: prefix from header file declaration.
2306 * LColor.h (fill): remove LColor:: prefix from declaration.
2308 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2309 use lyx::depth_type rather than Paragraph::depth_type so that
2310 header file and .C file match.
2312 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2314 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2315 * aspell.C: \file aspell_local.C -> \file aspell.C
2316 * gettext.C: \file gettext.C -> \file src/gettext.C
2317 * gettext.h: \file gettext.h -> \file src/gettext.h
2318 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2319 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2320 * text.C: \file text.C -> \file src/text.C
2322 * toc.C: move comment so that doxygen is not confused.
2324 2003-10-07 Angus Leeming <leeming@lyx.org>
2326 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2328 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2331 * aspell_local.h: add forgotten std::string's.
2333 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2340 * text3.C: The Box patch. Fancybox support, minipage, parbox
2342 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2348 * ParagraphParameters.h:
2358 * lyxtextclasslist.h:
2361 * paragraph_pimpl.C:
2362 * textcursor.h: add <string> and other small fixes to make Lars'
2363 std::string patch compile with STLport.
2365 2003-10-06 Angus Leeming <leeming@lyx.org>
2367 * LColor.h: Add missing #include <string>.
2369 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * All most all file in all subdirs: Make <string> be the prefered
2372 way of getting to std::string, add using declarations.
2374 2003-10-06 André Pönitz <poenitz@gmx.net>
2376 * metricsinfo.C: initialize LyXFont before changing attribute.
2377 (fixes the 'math in \emph is upright' bug)
2379 2003-10-06 André Pönitz <poenitz@gmx.net>
2381 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2383 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2386 * paragraph_pimpl.C: Small fixes to build using STLport
2388 2003-10-02 André Pönitz <poenitz@gmx.net>
2391 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2393 2003-10-01 André Pönitz <poenitz@gmx.net>
2395 * factory.C: assert early
2397 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2399 * lyx_main.C: remove the global debug object
2401 * debug.h: adjust for new debugstream
2403 * debug.C: adjust for new debugstream and keep the global debug
2406 2003-09-22 Angus Leeming <leeming@lyx.org>
2408 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2409 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2410 an incomplete class LyXFont.
2412 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2414 * factory.C: bug fix in branches
2416 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2418 * lyxfunc.C (processKeySym): adjust
2420 (dispatch): change arg name from ev to func, adjust
2421 (sendDispatchMessage): ditto
2423 * lyx_main.C (defaultKeyBindings): adjust keybindings
2424 (deadKeyBindings): ditto
2426 * kbsequence.C (addkey): return a FuncRequest
2428 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2430 * kbmap.C (bind): take a FuncRequest as arg, adjust
2433 (defkey): change to take a FuncRequest as arg, adjust
2434 (findbinding): take a FuncRequest as arg, adjust.
2436 * funcrequest.h (operator=): added
2438 * funcrequest.C (FuncRequest): default kb_action changed from
2439 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2441 * buffer.C (dispatch): simplify
2442 (dispatch): adjust to take a FuncRequest as arg, adjust
2444 * boost.C (assertion_failed): change assertion message slightly
2446 * ToolbarBackend.C (read): simplify
2448 * MenuBackend.C (binding): adjust call to findbinding, add a
2449 message if no binding is found.
2451 (expandToc): correct by adding a empty FuncRequest
2453 * LyXAction.C: include <boost/assert.hpp>
2454 (isPseudoAction): delete function
2455 (LookupFunc): change name to...
2456 (lookupFunc): this. change return type to FuncRequest.
2457 (getActionName): take kb_action as arg, simplify
2458 (funcHasFlag): add an assert, simplify.
2460 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2462 * toc.C (action): return a FuncRequest, simplify
2464 * lyxfunc.C (processKeySym): adjust
2465 (getStatus): delete version that takes an int.
2467 (dispatch): delete version that takes action as int
2469 (sendDispatchMessage): simplify and adjust
2471 * funcrequest.C (getArg): take unsigned int as arg
2473 * ToolbarBackend.C (read): adjust
2474 (add): delete version that takes func as a string.
2475 (getIton): take a FuncRequest as arg
2477 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2480 * MenuBackend.C (MenuItem): add a new construct that only takes a
2481 Kind, simplify the constructor use for submenus.
2483 (expandLastfiles): adjust
2484 (expandDocuments): adjust
2485 (expandFormats): adjust
2486 (expandFloatListInsert): adjust
2487 (expandFloatInsert): adjust
2488 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2490 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2491 Remove class variables lyx_pseudo_map and lyx_arg_map
2493 * LyXAction.C (searchActionArg): delete function
2494 (getPseudoAction): delete function
2495 (retrieveActionArg): delete function
2496 (LookupFunc): make it return kb_action, simplify.
2497 (getActionName): simplify
2499 * factory.C (createInset): fix new bug
2501 2003-09-19 Angus Leeming <leeming@lyx.org>
2503 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2504 masterFilename_ parameter in the include inset.
2506 * factory.C (createInset): changes due to the changes to InsetInclude.
2508 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2510 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2512 2003-09-18 Angus Leeming <leeming@lyx.org>
2515 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2516 Inset::fillWithBibKeys.
2517 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2519 2003-09-18 Angus Leeming <leeming@lyx.org>
2521 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2523 (ctor): pass and store a 'Buffer const &'
2524 (buffer): new member function.
2526 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2527 '*this' to the LaTeXFeatures ctor.
2529 2003-09-18 Angus Leeming <leeming@lyx.org>
2535 * text.C: rename EnumLColor as LColor_color.
2537 2003-09-18 Angus Leeming <leeming@lyx.org>
2539 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2540 remove #include "insets/insetbase.h" from cursor.h.
2542 2003-09-18 Angus Leeming <leeming@lyx.org>
2544 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2545 InsetOld_code to remove #include "inset.h".
2547 * iterators.C: add #include "insets/inset.h"
2549 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2551 * BufferView.C: remove more locking stuff that apparently doesn't
2552 do anything sensible.
2554 2003-09-16 André Pönitz <poenitz@gmx.net>
2557 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2560 2003-09-16 Angus Leeming <leeming@lyx.org>
2562 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2564 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2567 * paragraph.h: remove #include "lyxfont.h". Forward declare
2570 2003-09-16 Angus Leeming <leeming@lyx.org>
2572 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2573 of support/textutils.h.
2574 (isWord): move the contents of support/textutils.h's IsWordChar here.
2580 * text2.C: add #include "paragraph.h".
2583 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2585 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2591 * LaTeX.C: use namespace alias for lyx::support::os
2593 2003-09-16 Angus Leeming <leeming@lyx.org>
2596 * bufferview_funcs.C:
2599 * paragraph_pimpl.C:
2601 * text.C: add #include "LColor.h".
2603 2003-09-16 Angus Leeming <leeming@lyx.org>
2605 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2606 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2608 Store the FontBits::color variable as an int rather than as an
2609 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2612 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2613 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2614 string calls together.
2616 * lyxrc.C: add #include "LColor.h".
2618 2003-09-15 Angus Leeming <leeming@lyx.org>
2620 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2623 2003-09-15 Angus Leeming <leeming@lyx.org>
2625 * LColor.h: add an EnumLColor wrapper for LColor::color.
2627 * lyxfont.[Ch] (color, setColor, realColor):
2628 * lyxtext.h, text.C (backgroundColor):
2629 pass EnumLColor args to/from the functions, rather than LColor::color
2633 * lyxtext.h: forward declare EnumLColor.
2635 * lyx_main.C: add #include "LColor.h".
2637 2003-09-15 Angus Leeming <leeming@lyx.org>
2639 * .cvsignore: add lyx-gtk.
2641 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2646 * ParagraphParameters.C
2650 * bufferview_funcs.C
2660 * vc-backend.C: remove usage of STRCONV
2662 2003-09-15 Angus Leeming <leeming@lyx.org>
2664 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2665 explicitly define the color passed to the painter.
2667 2003-09-15 Angus Leeming <leeming@lyx.org>
2669 * bufferparams.C (BufferParams): reorder member initializers to avoid
2672 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2674 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2675 * text.C (updateRowPositions): remove an unusual nop
2677 2003-09-12 André Pönitz <poenitz@gmx.net>
2679 * BufferView_pimpl.C:
2688 * Counters.[Ch]: finish the 'automatic counters' job
2690 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2692 * aspell.C: include <boost/assert.cpp> (compile fix)
2694 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2696 * boost.C (assertion_failed): use lyx::support::abort instead of
2699 2003-09-10 Angus Leeming <leeming@lyx.org>
2701 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2702 with their _fwd progeny.
2704 2003-09-09 Angus Leeming <leeming@lyx.org>
2706 134 files throughtout the source tree: replace 'using namespace abc;'
2707 directives with the appropriate 'using abc::xyz;' declarations.
2709 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2711 * boost.C (emergencyCleanup): moved here from LAssert.c
2712 (assertion_failed): new function, called by BOOST_ASSERT
2714 * several files: change Assert to BOOST_ASSERT
2716 2003-09-09 Angus Leeming <leeming@lyx.org>
2718 * buffer.[Ch]: Add an Impl class and move Buffer's member
2719 variables into it. As a result move several header files out of
2722 Add header files to lots of .C files all over the tree as a result.
2724 2003-09-09 Angus Leeming <leeming@lyx.org>
2726 * buffer.[Ch]: make Buffer's member variables private. Add
2729 Lots of changes all over the tree as a result.
2731 2003-09-08 Angus Leeming <leeming@lyx.org>
2733 * graph.C: #include <config.h>.
2735 2003-09-08 Angus Leeming <leeming@lyx.org>
2739 * BufferView_pimpl.C:
2768 * toc.C: remove redundant using directives.
2770 2003-09-07 Angus Leeming <leeming@lyx.org>
2772 * LaTeXFeatures.h: remove #include "support/types.h".
2773 * ToolbarBackend.h: remove #include <algorithm>.
2774 * changes.h: remove #include <ctime>.
2775 * debug.h: remove #include <iosfwd>.
2776 * graph.h: remove #include "support/std_string.h".
2777 * lyx_main.h: remove #include <csignal>.
2778 * lyxlex_pimpl.h: remove #include <fstream>.
2779 * sgml.h: remove #include <algorithm>, <utility>.
2780 * toc.h: remove #include "support/std_ostream.h".
2781 Add #include <iosfwd>.
2783 2003-09-07 Angus Leeming <leeming@lyx.org>
2785 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2787 * converter.h: forward declare LatexRunParams.
2788 * encoding.h: remove #include "lyxrc.h".
2789 * lyxtext.h: remove #include "LColor.h".
2790 * lyxtextclass.h: remove #include "support/types.h".
2791 * trans.h: remove #include "tex-accent.h".
2792 * trans_mgr.h: remove #include "tex-accent.h".
2793 * insets/inset.h: remove #include "support/types.h", <vector>.
2794 * insets/insetcollapsable.h: remove #include "LColor.h".
2795 * insets/insetinclude.h: remove #include "dimension.h".
2796 * insets/insetlatexaccent.h: remove #include "dimension.h".
2797 * insets/insetoptarg.h:: remove #include "insettext.h".
2798 * insets/insettext.h: remove #include "dimension.h",
2799 <boost/shared_ptr.hpp>
2801 * insets/renderers.h: add #include "dimension.h".
2802 * insets/updatableinset.h: add #include "support/types.h".
2804 * many .C files: Associated changes.
2806 2003-09-06 Angus Leeming <leeming@lyx.org>
2808 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2809 one, inside testInvariant.
2811 * PrinterParams.C: new file.
2812 * PrinterParams.[Ch]: move the function bodies out of line.
2814 2003-09-06 Angus Leeming <leeming@lyx.org>
2816 * ParagraphParameters.h: forward declare ParameterStruct rather than
2817 including its header file.
2818 (depth): moved out-of-line.
2820 2003-09-06 Angus Leeming <leeming@lyx.org>
2822 * BufferView_pimpl.h:
2825 * lyxfunc.h: forward declare LyXKeySym rather than
2826 #include "frontends/LyXKeySym.h".
2828 * BufferView_pimpl.C:
2831 * lyxfunc.C: associated changes.
2833 2003-09-06 Angus Leeming <leeming@lyx.org>
2835 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2836 As a result, can remove the #include "insets/inset.h" from BufferView.h
2838 2003-09-06 Angus Leeming <leeming@lyx.org>
2840 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2841 As a result, can remove the #include "insets/inset.h" from BufferView.h
2843 2003-09-06 Angus Leeming <leeming@lyx.org>
2849 * bufferview_funcs.C:
2850 * BufferView_pimpl.C:
2855 * ParagraphParameters.C:
2860 * frontends/controllers/ControlDocument.C:
2861 * insets/insetcaption.C: rearrange the #includes into some sort of
2864 * buffer.h: remove #includes ErrorList.h, undo.h
2866 2003-09-06 Angus Leeming <leeming@lyx.org>
2868 * support/types.h: add a 'depth_type' typedef, used to store the
2869 nesting depth of a paragraph.
2872 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2873 defining explicitly.
2876 * paragraph_funcs.h:
2877 * ParagraphParameters.h:
2878 * sgml.h: use lyx::depth_type rather than Paragraph or
2879 ParameterStruct's depth_type.
2882 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2885 * BufferView_pimpl.C:
2887 * ParagraphParameters.C:
2890 * bufferview_funcs.C:
2897 * frontends/LyXView.C:
2898 * frontends/controllers/ControlDocument.C:
2899 * frontends/controllers/ControlErrorList.C:
2900 * insets/insetbibitem.C:
2901 * insets/insetbranch.C:
2902 * insets/insetcaption.C:
2903 * insets/insetcollapsable.C:
2904 * insets/insetenv.C:
2905 * insets/insetert.C:
2906 * insets/insetfloat.C:
2907 * insets/insetfoot.C:
2908 * insets/insetfootlike.C:
2909 * insets/insetnewline.C:
2910 * insets/insetquotes.C:
2911 * insets/insettabular.C:
2912 * insets/insettext.C:
2913 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2915 * frontends/controllers/ControlChanges.C: #include "changes.h".
2917 2003-09-06 Angus Leeming <leeming@lyx.org>
2919 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2920 than #including paragraph.h.
2923 * RowList.h: deleted. Superfluous.
2933 * insets/insettext.h: use ParagraphList_fwd.h rather than
2936 * paragraph.h: don't forward declare ParagraphList.
2939 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2940 rather than ParagraphList.h. paragraph.h is still needed for the
2941 Paragraph::depth_type parameters.
2943 * textcursor.h: enable it to compile stand-alone in light of the
2946 * bufferview_funcs.C:
2958 * frontends/controllers/ControlParagraph.C:
2959 * frontends/controllers/ControlTabular.C:
2960 * insets/insetmarginal.C:
2961 * insets/insetminipage.C:
2962 * insets/insetnote.C:
2963 * insets/insetoptarg.C: add header files needed to compile again.
2965 2003-09-06 Angus Leeming <leeming@lyx.org>
2967 * RowList_fwd.h: new file, forward-declaring Row rather than
2968 #including lyxrow.h.
2973 * insets/insettext.h: use it instead of RowList.h
2975 * bufferview_funcs.C:
2982 * text3.C: #include "RowList.h".
2984 2003-09-05 Angus Leeming <leeming@lyx.org>
2986 * factory.C (createInset):
2987 * vspace.C (c-tor): replace sscanf call with an istringstream.
2988 * ispell.C: re-add missing HP/UX headers.
2989 * lyxserver.C: re-add missing os2 headers.
2991 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3000 * text3.C: re-add missing system headers, needed for 2.95.2.
3002 2003-09-05 Angus Leeming <leeming@lyx.org>
3004 Changes most place everywhere due to the removal of using directives
3005 from support/std_sstream.h.
3007 2003-09-05 Angus Leeming <leeming@lyx.org>
3009 Replace LString.h with support/std_string.h,
3010 Lsstream.h with support/std_sstream.h,
3011 support/LIstream.h with support/std_istream.h,
3012 support/LOstream.h with support/std_ostream.h.
3014 Changes resulting throughout the tree.
3016 2003-09-05 Angus Leeming <leeming@lyx.org>
3018 * sgml.h: ensure that the header file can be compiled stand-alone.
3019 * *.C: strip out redundant #includes. (320 in total.)
3021 2003-09-04 Angus Leeming <leeming@lyx.org>
3023 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3024 here (from getPackages).
3026 * debug.[Ch]: add a new EXTERNAL tag.
3028 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3030 * text2.C (cursorEnd): simplify
3032 (getColumnNearX): adjust
3034 * text.C (computeBidiTables): adjust
3037 * rowpainter.C (paintChars): adjust
3038 (paintSelection): adjust
3039 (paintChangeBar): adjust
3042 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3044 (numberOfSeparators): adjust
3046 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3052 * text3.C: Restricts the mouse click functionality
3053 of insets like bibtex, include, toc and floatlist to the visible
3054 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3055 up the dialogs. Cursor has to be in front of the inset (i.e.
3056 start of row) for this to function.
3058 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3060 * bufferview_funcs.C (currentState): output row information
3062 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3064 * bufferview_funcs.C (currentState): output paragraph position
3066 2003-09-04 Angus Leeming <leeming@lyx.org>
3068 * FloatList.h: move out #include "Floating.h".
3069 * LaTeX.h: move out #include "DepTable.h".
3070 * LyXAction.h: move out #include "funcrequest.h".
3071 * buffer.h: move out #include "author.h", "iterators.h".
3072 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3073 * lyx_main.h: move out #include "errorlist.h".
3074 * lyxfunc.h: move out #include "FuncStatus.h".
3075 * lyxtext: move out #include "lyxcursor.h".
3076 * paragraph_pimpl.h: move out #include "counters.h".
3078 2003-09-03 Angus Leeming <leeming@lyx.org>
3080 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3081 preamble_snippets list, enabling us to add snippets to the preamble
3082 only if the snippet was not there already.
3084 2003-09-04 Angus Leeming <leeming@lyx.org>
3086 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3088 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3093 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3095 * BranchList.C: point fix, earlier forgotten
3097 2003-09-02 Angus Leeming <leeming@lyx.org>
3099 * box.C (contains): renamed from 'contained' after a fantastic
3102 2003-09-02 John Levon <levon@movementarian.org>
3108 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3110 2003-09-02 John Levon <levon@movementarian.org>
3112 * text2.C: simplification of cursorEnd(), including partial
3115 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3117 * buffer.C (readFile): add a space
3119 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3121 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3123 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3125 * buffer.C (readFile): new function, take a filename and a
3126 ParagraphList::iterator
3128 (readFile): adjust, make it private. don't use setStream, make
3129 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3130 always contain the filename.
3132 * BufferView.C (insertLyXFile): simplify and make it work for
3135 2003-08-30 John Levon <levon@movementarian.org>
3137 * Makefile.am: fix dist (from Kayvan)
3139 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3141 * most files: change to use const Buffer refs
3143 2003-08-27 André Pönitz <poenitz@gmx.net>
3145 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3146 on top of ownerPar().
3148 2003-08-27 John Levon <levon@movementarian.org>
3150 * funcrequest.C: properly initialise POD members
3152 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3154 * lyxtext.h (top_y): move top_y from here
3159 * BufferView_pimpl.[Ch]: to here
3160 * frontends/screen.C:
3161 * insets/insettabular.C:
3162 * insets/insettext.C: adjust
3163 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3165 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3168 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3170 2003-08-26 André Pönitz <poenitz@gmx.net>
3172 * paragraph_func.[Ch] (outerPar): new function
3175 * paragraph_funcs.C:
3176 * paragraph_funcs.h:
3177 * paragraph_pimpl.C:
3178 * text2.C: remove Inset::par_owner
3180 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3185 * text2.C: eliminates the needFullRow/display() stuff
3186 altogether, putting the logic in metrics/draw in the insets.
3188 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3190 * text2.C (redoParagraphInternal, redoParagraphs):
3191 * text.C (redoParagraph): add a call to updateRowPositions at the
3192 end of each 'metrics-like' call. Remove all others.
3193 (getRow): remove the 'y-computing' version.
3194 (getRowNearY): do not compute nor return the real y. Solve the
3195 'y < 0' problem and simplify.
3197 2003-08-22 Angus Leeming <leeming@lyx.org>
3199 * *.[Ch]: clean-up of licence and author blurbs.
3200 Also move config.h out of a few .h files and into a few .C files.
3202 2003-08-22 André Pönitz <poenitz@gmx.net>
3204 * lyxrow.[Ch]: add x_ and *fill_ members
3209 * text2.C: adjust/remove prepareToPrint() calls
3211 2003-08-22 André Pönitz <poenitz@gmx.net>
3213 * lyxrow.[Ch]: add end_ member
3215 * lyxrow_funcs.C: use LyXRow::end_
3217 * lyxtext.h (singleWidth): add LyXFont parameter
3220 * text2.C: adjust LyXText::singleWidth() calls
3222 * text.C (redoParagraph): simplify row breaking logic
3225 2003-08-19 André Pönitz <poenitz@gmx.net>
3227 * funcrequest.C: initialize button_ member
3230 * rowpainter.[Ch]: interface consolidation
3232 2003-08-18 André Pönitz <poenitz@gmx.net>
3235 * BufferView_pimpl.C:
3237 * paragraph_funcs.C:
3239 * text3.C: remove LyXScreen::draw() and fitCursor calls
3241 * BranchList.h: remove spurious semicolons
3243 * MenuBackend.C: fix branchlist related crash
3245 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3253 * bufferparams.[Ch]:
3257 * text3.C: implements the 'branch inset'
3258 idea. This allows the output of various versions of a document
3259 from a single source version, selectively outputing or suppressing
3260 output of parts of the text.
3261 This implementation contains a 'branch list editor' in a separate
3262 tab of the document settings dialog. Branches are user definable
3263 and have a "display colour" to distinguish them on-screen.
3265 ColorHandler was somewhat cleaned up.
3266 (1) make possible a dynamically growing LColor list by allowing
3267 the graphic context cache to grow along (vector);
3268 (2) eliminate an IMHO unnecessary step in colour allocation.
3270 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3272 * BufferView_pimpl.C: compile fix
3274 2003-08-15 André Pönitz <poenitz@gmx.net>
3276 * rowpainter.C: remove extra metrics calls
3278 * lyxtext.h: merge the two constructors into a single one,
3279 pass reference to owner's par list
3281 * BufferView_pimpl.C:
3285 2003-08-15 André Pönitz <poenitz@gmx.net>
3287 * lyxrow_funcs.[Ch]:
3290 * paragraph_funcs.C:
3295 * text_funcs.C: split LyXText::rowlist_ into individual
3296 Paragraph::rows_ chunks
3299 * BufferView_pimpl.[Ch]:
3302 * text3.C: remove toggleSelection()
3304 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3306 * bufferlist.C: beautify two alerts (shorter text of buttons)
3307 * buffer.C: Remove redundant ' ' from message
3309 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3310 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3311 rename VALIGN_CENTER to VALIGN_MIDDLE
3313 2003-08-11 André Pönitz <poenitz@gmx.net>
3315 * lyxtext.h (getPar):
3316 * text.C: new function
3318 2003-08-11 André Pönitz <poenitz@gmx.net>
3321 * tracer.[Ch]: remove unneeded files
3323 * InsetList.[Ch]: remove resizeInsetsLyXText()
3328 * text3.C: merge insertParagraphs() and appendParagraph()
3329 remove breakAgain(), update()
3331 * BufferView_pimpl.[Ch]:
3332 * bufferview_funcs.[Ch]:
3336 * tabular.C: adjust after text & InsetList changes.
3338 2003-08-08 André Pönitz <poenitz@gmx.net>
3340 * text.C (insertChar, backspace): replace rowlist fiddling
3341 with rebreak of full par
3344 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3345 checkParagraph, updateInset): removed
3347 2003-08-07 André Pönitz <poenitz@gmx.net>
3350 * text3.C: merge some LFUN handlers, remove dead code
3352 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3354 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3356 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3358 * text2.C (DEPM): fix part of bug 1255 and 1256
3360 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3362 * BufferView_pimpl.C (workAreaDispatch): change to use
3363 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3364 that are no mouse related.
3366 2003-08-05 André Pönitz <poenitz@gmx.net>
3369 * BufferView_pimpl.[Ch]:
3370 * bufferview_funcs.C:
3372 * text3.C: rip out "deep update"
3374 * textcursor.[Ch] (last_sel_cursor): remove unused member
3376 2003-08-04 André Pönitz <poenitz@gmx.net>
3379 * BufferView_pimpl.[Ch]:
3380 * ParagraphParameters.C:
3381 * bufferview_funcs.C:
3387 * text3.C: replace "complicated" BufferView::update(...) calls with
3390 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3392 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3394 * Makefile.am (lyx_SOURCES): add paper.h
3396 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3398 * Makefile.am: move things around so that both lyx-qt and
3399 lyx-xforms can be built (according to --with-frontend). Then lyx
3400 is a symbolic link to lyx-[firstfrontend]
3402 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3404 * Always use std::endl with lyxerr
3406 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3408 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3410 2003-08-01 André Pönitz <poenitz@gmx.net>
3413 * BufferView_pimpl.[Ch]:
3415 * text3.C: merge BufferView::repaint() and BufferView::update()
3417 2003-08-01 José Matos <jamatos@lyx.org>
3419 * buffer.[Ch]: file_format is no longer a buffer data element.
3421 2003-08-01 André Pönitz <poenitz@gmx.net>
3426 * text2.C: make redoParagraph more independent of current cursor
3428 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3430 * text2.C: remove unneeded members
3432 2003-07-30 André Pönitz <poenitz@gmx.net>
3434 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3436 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3437 create a single function...
3439 * paragraph_funcs.C (moveItem): ... here.
3442 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3444 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3446 * LColor.[Ch]: Add comment and greyedout logical colors.
3448 2003-07-30 André Pönitz <poenitz@gmx.net>
3450 * tabular.C: don't use Assert too heavily. This crashes where it
3453 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3455 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3456 is disabled (bug 1232)
3458 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3460 * factory.C: limited 'arg' scope
3462 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3464 * factory.C: fixed Note submenu issues
3466 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3468 * factory.C: submenu for Note/Comment/Greyedout
3470 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3473 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3475 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3478 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3479 greyedout. Patch provided by Jürgen Spitzmüller.
3481 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3483 * kbmap.C (read): fix error message when reading bind files
3485 2003-07-29 Angus Leeming <leeming@lyx.org>
3487 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3488 certainly does not do what it purports to do. I am doing it, and
3489 us, a favour by killing it.
3491 2003-07-28 José Matos <jamatos@lyx.org>
3493 * buffer.C (readBody, do_writeFile):
3494 * paragraph.C(readParagraph): \end_document replaces \the_end.
3496 2003-07-29 André Pönitz <poenitz@gmx.net>
3499 * BufferView_pimpl.[Ch]:
3503 * textcursor.[Ch]: remove toggleToggle & Co
3505 2003-07-28 José Matos <jamatos@fep.up.pt>
3507 * buffer.C (readParagraph):
3508 * params_func (readParToken, readParagraph):
3509 * paragraph.C (write): \layout -> \begin_layout.
3511 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3513 * lyxlex_pimpl.C (setFile): clean up slightly.
3515 * bufferparams.h: add compressed var
3517 * buffer_funcs.C (readFile): adjust for LyXLex change
3518 (newFile): ditto + simplify
3520 * buffer.C (writeFile): handle writing of compressed files
3522 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3523 Check if the file is compressed and set a bufferparm if so.
3525 * Makefile.am (lyx_LDADD): remove explicit -lz
3527 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3529 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3530 makeDocBookFile): put the real LyX version in the first line of
3534 * version.C.in: remove lyx_docversion
3536 * tabular.C (write_attribute): add a template-based version to
3537 write enums properly
3539 2003-07-28 André Pönitz <poenitz@gmx.net>
3544 * text3.C: use doubles again for x-coordinates. They are needed.
3546 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * messages.C (getLocaleDir): use lyx_localedir()
3550 * lyxlex_pimpl.C (setFile): compress stuff
3552 * buffer.C (writeFile): add some compression stuff
3553 (do_writeFile): new func, dont call expliti close... will this
3556 * Makefile.am (lyx_LDADD): add -lz
3558 2003-07-28 José Matos <jamatos@fep.up.pt>
3560 * buffer.C: increment file format.
3561 * paragraph_funcs (readParagraph, readParToken):
3562 * paragraph.C (readParagraph): add \end_layout.
3564 2003-07-27 Angus Leeming <leeming@lyx.org>
3566 * Makefile.am: remove special casing for configure-time setting of
3567 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3569 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3570 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3572 2003-07-26 André Pönitz <poenitz@gmx.net>
3574 * paragraph_func.[Ch]:
3575 * paragraph.C (realizeFont): inline it whereever it is used
3580 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3583 2003-07-26 André Pönitz <poenitz@gmx.net>
3587 * text2.C: get rid of LyXText::need_break_row
3589 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * toc.[Ch]: put namespace toc inside namespace lyx
3593 * MenuBackend.C (expandToc2): adjust for lyx::toc
3596 * lyxfunc.C (dispatch): adjust for lyx::find
3598 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3599 lyx::find instead. Reorganize a bit.
3600 (LyXReplace): rename to replace
3601 (LyXFind): rename to find
3603 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3606 2003-07-26 André Pönitz <poenitz@gmx.net>
3608 * text.C (setHeightOfRow): restrict scope of temporary variable
3610 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3611 code (never has been used?)
3613 2003-07-27 Asger Alstrup <alstrup@local>
3615 * text.C (fill): Optimise algorithm to exploit that we can reuse
3616 the LyXFont for many characters.
3617 (setHeightOfRow): Same thing.
3618 (rowBreakPoint): Same thing.
3620 2003-07-26 Asger Alstrup <alstrup@local>
3622 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3624 * text.C (singleWidth): Spurious font copying in hot-spot
3625 singleWidth avoided. Reorder tests for arabic for efficiency.
3627 * text.C (fill): handle empty paragraphs better.
3629 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3632 * encoding.h: add includes
3634 * lyxrc.C: remove reading of bind files
3636 * lyx_main.C (init): setup bindings and menus only if we have a
3639 * kbmap.C (read): new method. Do the actual reading of bind
3642 * converter.C (dvipdfm_options):
3645 (output): adapt PAPER_* enums.
3647 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3649 * bufferparams.h: remove paper-related enums from there
3651 * paper.h: New file. A trivial header file to hold paper-related
3652 enums. It should later expand to contain many paper-related
3655 * lyxrc.C: declare extern displayTranslator
3657 2003-07-27 José Matos <jamatos@fep.up.pt>
3659 * tabular.[Ch] (linuxdoc): add support for tables and figures
3662 2003-07-27 José Matos <jamatos@fep.up.pt>
3664 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3665 consistency in both functions.
3666 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3668 2003-07-26 Asger Alstrup <alstrup@local>
3670 * rowpainter.C (paintRows): Change algorithm to work directly on
3671 the insets rather than asking every character in the document
3672 whether its an inset.
3674 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3676 * buffer.C (openFileWrite): factorize some code
3678 2003-07-26 Angus Leeming <leeming@lyx.org>
3681 * lyx_main.[Ch]: replace occurances of system_tempdir with
3684 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3686 * rename Inset to InsetOld
3688 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3690 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3691 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3692 which I think is a bit clearer. EDIT is gone, since it was
3693 premature optimisation, and broken for mathed anyway.
3694 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3695 with cursor positioning in insets as well (math insets still do not
3696 work, but that's a different story anyway.) It mysteriously
3697 crashes sometimes with undo in the first paragraph, but I'm fairly
3698 confident that this is a compiler bug.
3700 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3702 * paragraph.C (Paragraph): adjust for new clone return type
3704 (copyIntoMinibuffer): ditto
3706 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3708 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3709 by not having a special case, and always doing a full rebreak of
3710 the document after undo.
3712 2003-07-23 Angus Leeming <leeming@lyx.org>
3714 * factory.C (createInset): InsetExternal::setParams now takes a
3717 2003-07-23 Angus Leeming <leeming@lyx.org>
3719 * factory.C (createInset): changed interface to the external and
3720 graphics mailers' string2params functions.
3722 2003-07-23 Angus Leeming <leeming@lyx.org>
3724 * factory.C (createInset): pass a
3725 Buffer const * parameter to InsetExternalMailer's string2params.
3727 2003-07-22 John Levon <levon@movementarian.org>
3729 * Thesaurus.h: include the right aiksaurus header
3731 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3733 * MenuBackend.C (expand): check menu shortcuts unconditionally
3735 2003-07-21 Angus Leeming <leeming@lyx.org>
3737 * factory.C (createInset): pass a
3738 buffer_path parameter to InsetGraphicsMailer's string2params.
3740 2003-07-21 Angus Leeming <leeming@lyx.org>
3742 * BufferView_pimpl.C (buffer):
3745 * lyxfunc.C (dispatch):
3746 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3747 rather than the grfx shortcut.
3749 2003-07-21 André Pönitz <poenitz@gmx.net>
3751 * rowpainter.C: remove unused variables
3754 * tabular_funcs.h: move to tabular.C
3755 * Makefile.am: adjust
3757 * tabular.[Ch]: basic optical cleaning
3759 * author.h: pass references, not values
3761 2003-07-18 André Pönitz <poenitz@gmx.net>
3769 * text3.C: two-phase drawing for InsetText and InsetTabular
3770 some float -> int changes.
3772 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3774 * lyx_main.C: fix the fix
3776 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3778 * lyx_main.C: fix a crash in batch mode if no files specified
3781 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3783 * format.[Ch] (papersize): moved to BufferParams
3784 * converter.[Ch] (dvips_options): moved to BufferParams
3785 (dvipdfm_options): moved to anon namespace
3786 * bufferparams.[Ch]: added above functions.
3788 2003-07-17 André Pönitz <poenitz@gmx.net>
3792 * text2.C: don't call inset->update() anymore
3794 * metricsinfo.[Ch]: add convenience constructor
3796 2003-07-16 André Pönitz <poenitz@gmx.net>
3801 * text2.C: replace the LyXCursor::irow_ member with
3802 on-demand computation of the value
3804 2003-07-16 John Levon <levon@movementarian.org>
3806 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3808 2003-07-15 André Pönitz <poenitz@gmx.net>
3811 * text2.C: remove no more needed refresh_row
3813 2003-07-15 André Pönitz <poenitz@gmx.net>
3818 * text3.C: refresh_status tristate -> need_update bool
3820 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3822 * lyxtext.h (init): remove reinit argument (act as if always true)
3823 * text2.C: adjust to that
3825 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3827 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3828 * text3.C: use it to delete selections in some cases
3829 (bugs 441, 673, 702, 954).
3831 2003-07-14 André Pönitz <poenitz@gmx.net>
3833 * rowpainter.[Ch]: reduce interface
3835 2003-07-14 André Pönitz <poenitz@gmx.net>
3837 * BufferView_pimpl.C:
3838 * text2.C: adjust after removing unused BufferView * argument
3840 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3842 * text2.C (init): fix a crash fired on resize
3844 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3846 * buffer.[Ch]: added new closing signal
3847 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3848 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3849 BufferView::Pimpl via the closing the signal
3851 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3853 * buffer.[Ch]: take out all bv-related from buffer
3855 * BufferView_pimpl.[Ch]: connect to new signals
3856 * CutAndPaste.C: removed useless asserts
3857 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3860 * lyxfunc.C: moved view-related funciontality from vc here
3861 * paragraph.C: removed outdated comments
3864 2003-07-10 André Pönitz <poenitz@gmx.net>
3866 * BufferView_pimpl.C:
3870 * text2.C: remove InsetText::InnerCache, clean up consequences
3872 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3874 * ispell.C: fix two typos in error messages
3876 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3878 * Extend Note inset to other forms of annotation like Comment
3879 and Greyedout. Right button click gives dialog.
3881 Files modified or added (+):
3885 * ControlNote.[Ch] +
3887 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3888 frontends/controllers
3892 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3894 * aspell.C: add missing namespace lyx::support
3896 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3898 * BufferView.[Ch] (newFile): Add
3899 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3900 * LaTeX.[Ch] (message): added this signal and use it
3901 * buffer.[Ch] (busy, message): added these signals and use them
3902 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3906 * importer.C: use buffer signals instead of direct bv calling
3907 * lyx_cb.[Ch] (ShowMessage): removed
3910 * paragraph_funcs.C:
3911 * text2.C: use buffer signals
3913 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * introduce namespace lyx::graphics
3917 2003-07-02 André Pönitz <poenitz@gmx.net>
3919 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3921 2003-07-01 André Pönitz <poenitz@gmx.net>
3928 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3929 text*.C to text_func.C
3931 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * introduce namespace lyx::support
3935 2003-06-30 André Pönitz <poenitz@gmx.net>
3940 * text.C: re-enable --with-included-string
3942 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3944 * textcursor.C: add <config.h>
3946 * text.C (getWord): remove const from word_location arg
3948 * lyxvc.C (getLogFile): fix const type order
3950 * lyxtext.h: remove const from word_location arg, add arg name
3952 * lyxlayout.h: currect type on labeltype.
3954 * importer.C: correct \file
3956 * converter.C (intToFormat): use std:: on ret val, ws changes
3958 * bufferlist.h: correct \file
3960 * buffer.C (makeLinuxDocFile): fix const type order
3961 (makeDocBookFile): ditto
3962 (fillWithBibKeys): use std:: on stdlib args.
3964 * CutAndPaste.C: fix authors.
3965 (availableSelections): use std:: on return vector
3967 2003-06-27 André Pönitz <poenitz@gmx.net>
3969 * BufferView_pimpl.C:
3970 * bufferview_funcs.C:
3978 * text3.C: remove LyXCursor::row_ member
3981 * text.C: rename fullRebreak() to partialRebreak() and implement
3982 a fullRebreak() that really bereks fully
3984 * textcursor.h: new struct for cursor-related data
3986 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3988 * lyx_main.C (LyX): get full path of document loaded on the
3991 2003-06-26 André Pönitz <poenitz@gmx.net>
3993 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3994 remove unused/broken operator>,<,>=.
3996 * text.C: remove only use of broken operator<= in an Assert().
3998 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4000 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4001 moved errorlist_.clear to showErrorList
4003 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4005 * converter.C (scanLog, runLaTeX):
4006 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4007 move the bv->showErrorList call to the callers
4008 * lyxfunc.C: i.e. here...
4010 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4011 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4012 namespace, the second to...
4013 * buffer_funcs (BufferFormat, parseErrors): added
4014 * errorlist.C (ErrorList(TeXErrors const &)): removed
4016 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4018 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4020 2003-06-24 "Garst R. Reese" <reese@isn.net>
4024 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4026 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4028 * version.C.in: change docversion to 1.4
4030 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4032 * buffer.C: fix a bug just introduced
4034 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4036 * buffer.[Ch]: added the parseError signal and use it, removed
4038 * BufferView.[Ch] (addError): moved to ...
4039 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4040 to the Buffer::parseError signal to catch (guess what) parse errors
4041 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4043 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4045 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4046 ability to create a buffer and to return an existing one from
4047 the list. Moved these functions to...
4048 * buffer_funcs.[Ch]: added
4049 * BufferView.[Ch] (loadLyXFile): added
4050 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4051 job removed from bufferlist::loadLyXFile.
4052 * buffer.C (setReadOnly): make it work without view
4053 (i.e added an if (users))
4055 2003-06-19 Angus Leeming <leeming@lyx.org>
4058 * LyXAction.C (init):
4059 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4060 with LFUN_DIALOG_SHOW <name> <data>.
4062 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4064 * CutAndPaste.C (availableSelections): small compilation fix for
4065 ancient (gcc 2.9x) compilers
4067 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4069 * text3.C (cursorNext): add tmp var
4071 * text2.C (updateCounters): for function calling out of for clause
4072 (replaceSelectionWithString): ditto
4073 (insertStringAsParagraphs): ditto
4074 (getColumnNearX): add tmp var
4075 (setCursorFromCoordinates): add tmp var
4076 (cursorDownParagraph): add tmp var
4077 (deleteEmptyParagraphMechanism): add tmp var
4079 * text.C (insertChar): add tmp var
4081 * rowpainter.C (paintDepthBar): add tmp var
4083 * CutAndPaste.C (availableSelections): potentially check all
4084 paragraphs in a cut to fill the shown strings.
4086 2003-06-18 André Pönitz <poenitz@gmx.net>
4088 * kbmap.[Ch]: use vector<> instead of list<>
4090 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4092 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4093 pasteSelection with index
4095 * text2.C (pasteSelection): modify, call pasteSelection with index
4097 * paragraph.C (asString): reimplement version with no interval to
4098 call the one with interval.
4100 * lyxtext.h: add index arg to pasteSelection
4102 * MenuBackend.C (MenuItem): handle PasteRecent
4103 (Menu::read::Menutags): add md_pasterecent
4105 (expandPasteRecent): new function
4108 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4110 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4112 (availableSelections): new function
4114 2003-06-17 Angus Leeming <leeming@lyx.org>
4116 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4118 2003-06-17 Angus Leeming <leeming@lyx.org>
4121 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4123 * lyxfunc.C (dispatch): invoke it.
4125 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4127 * iterators.C (operator++, ParPosition): reintroduce some
4128 const_cast for the benefit of older compilers.
4130 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4132 * text3.C (dispatch): do not modify clipboard when doing
4133 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4134 LFUN_DELETE_SKIP on a selection selection
4136 2003-06-16 André Pönitz <poenitz@gmx.net>
4142 * tabular.[Ch]: IU of clone() and getLabelList();
4144 2003-06-13 André Pönitz <poenitz@gmx.net>
4146 * tabular.h: compactification
4148 2003-06-12 André Pönitz <poenitz@gmx.net>
4152 * tabular_funcs.h: some renaming plus whitespace
4154 2003-06-12 André Pönitz <poenitz@gmx.net>
4157 * BufferView_pimpl.C:
4163 * toc.C: Return a Paragraph & for ParIterator::operator*()
4165 2003-06-11 John Levon <levon@movementarian.org>
4169 * ToolbarBackend.C: add "Toolbars" section and
4172 2003-06-10 Angus Leeming <leeming@lyx.org>
4175 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4177 * lyxfunc.C (dispatch): invoke it.
4179 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4181 * main.C: protect <ios> with HAVE_IOS
4182 (main): protect sync_with_stdio with HAVE_IOS
4184 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4186 * text2.C (cutSelection): adjust
4187 (pasteSelection): adjust
4189 * messages.C: handle get of empty string
4191 * main.C (main): use sync_with_stdio(false)
4193 * lyxfunc.C (dispatch): adjust
4195 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4196 (WriteAs): remove unneeded BufferView arg.
4198 * bufferparams.h: use correct types on papersize, papersize2 and
4201 * bufferparams.C (readToken): adjust for type
4202 (writeLaTeX): add missing cases to switch.
4204 * bufferlist.C (quitWriteBuffer): adjust
4207 * buffer.C (asciiParagraph): remove some commented code.
4209 * CutAndPaste.C: remove current_view extern variable.
4210 (cutSelection): add BufferParams arg.
4211 (eraseSelection): add BufferParams arg.
4212 (pasteSelection): add Buffer const & arg
4214 2003-06-07 John Levon <levon@movementarian.org>
4217 * paragraph_funcs.C:
4218 * paragraph_pimpl.C:
4222 * paragraph.C: allow InsetERT to freely space lines,
4223 and some consolidation of code
4225 2003-06-06 José Matos <jamatos@fep.up.pt>
4227 * buffer.C (makeDocBookFile): fix bug #821
4229 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4231 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4233 2003-06-04 Angus Leeming <leeming@lyx.org>
4235 * buffer.C: bump format to 224.
4237 2003-06-05 André Pönitz <poenitz@gmx.net>
4239 * text2.C (redoParagraphs): remove two const_cast<>
4241 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4243 * ParagraphList.h: remove last remnants of NO_STD_LIST
4245 2003-06-03 Angus Leeming <leeming@lyx.org>
4247 * factory.C (createInset): small change to the way InsetExternal's params
4250 2003-06-04 André Pönitz <poenitz@gmx.net>
4252 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4254 * paragraph_pimpl.h:
4255 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4257 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4259 * undo_funcs.C: make some simple cases of undo work again
4261 2003-06-03 John Levon <levon@movementarian.org>
4263 * ispell.C: HPUX doesn't have sys/select.h
4266 2003-06-03 John Levon <levon@movementarian.org>
4268 * CutAndPaste.C: update tabular and include inset
4273 * paragraph.C: remove owningBuffer(), don't pass Buffer
4276 * factory.C: insetGraphicsParams changed
4278 2003-06-02 John Levon <levon@movementarian.org>
4284 * text3.C: remove insetparent
4286 2003-06-02 John Levon <levon@movementarian.org>
4289 * buffer.C: fix inset_iterator.end(), move out of line
4292 2003-06-01 John Levon <levon@movementarian.org>
4294 * text3.C: use a proper cut/paste when doing inset
4295 insert (from Jürgen Spitzmüller)
4297 2003-06-01 John Levon <levon@movementarian.org>
4299 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4301 2003-05-30 André Pönitz <poenitz@gmx.net>
4303 * rowpainter.C: unify second drawing phase
4305 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * trans_mgr.C: remove one case of current_view
4309 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4311 * paragraph_funcs.h: remove paragraph.h include
4313 * paragraph.h: delete NO_STD_LIST stuff
4315 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4317 * buffer.h: remove paragraph.h include
4319 * ParagraphList.C: delete file
4321 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4323 * toc.C (getTocList): adjust
4325 * paragraph_pimpl.C (validate): adjust
4327 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4329 * paragraph.C (Paragraph): adjust
4330 (getPositionOfInset): use const_iterator, adjust
4331 (bibitem): use const_iterator, adjust
4332 (setInsetOwner): adjust
4334 * iterators.C (operator++): adjust
4336 * InsetList.[Ch]: Replace selfmade iterator with standard
4337 vector::iterator also introduce const_iterator. Remove getPos,
4338 getInset and setInset from InsetTable. Adjust accordingly.
4340 * BufferView.C (lockInset): adjust
4341 (ChangeInsets): adjust
4343 * tabular.[Ch]: delete commented same_id functions
4345 2003-05-28 John Levon <levon@movementarian.org>
4347 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4349 2003-05-28 André Pönitz <poenitz@gmx.net>
4351 * metricsinfo.[Ch]: remove 'fullredraw' member
4353 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4355 * lyxtextclass.C (operator): remove caching.
4357 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * text2.C (cursorBottom): adjust
4362 (setCounter): use ParagraphList::find, adjust
4364 * text.C (workWidth): use ParagraphList::find, adjust
4366 * lyxcursor.C (LyXCursor): adjust
4368 * buffer.C (inset_iterator): adjust
4370 * ParagraphList.h: make iterator(value_type) private, make
4371 ParagraphList a friend of iterator.
4373 * ParagraphList.C (find): new function
4375 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4377 2003-05-27 André Pönitz <poenitz@gmx.net>
4379 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4381 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4383 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4385 2003-05-26 John Levon <levon@movementarian.org>
4387 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4389 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4391 * remove same_id from function signatures, adjust.
4393 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4397 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4399 * paragraph.C (Paragraph): get rid of same_ids parameter
4401 * ParagraphList.C (insert): adjust
4404 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4406 * paragraph_funcs.C (breakParagraph): adjust
4407 (breakParagraphConservative): adjust
4409 * buffer.C (readParagraph): adjust
4411 * ParagraphList.C (insert): take a reference instead of a pointer
4414 * paragraph.[Ch] (id): new function
4416 * bufferlist.C (newFile): adjust
4418 * ParagraphList.C (ParagraphList): adjust
4420 (push_back): take a reference instead of a pointer.
4422 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4424 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4427 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4428 set else use old code.
4430 * ParagraphList.C: remove all NO_NEXT code and only compile this
4431 code of NO_STD_LIST is set.
4433 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4435 * BufferView_pimpl.C:
4445 * graphics/GraphicsConverter.C:
4446 * graphics/PreviewLoader.C: header adjustment
4448 2003-05-23 Angus Leeming <leeming@lyx.org>
4450 * LaTeXFeatures.[Ch] (useBabel): new method.
4451 * bufferparams.C (writeLaTeX): use it.
4453 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4455 * ParagraphList.h (set): remove unused function.
4457 2003-05-23 André Pönitz <poenitz@gmx.net>
4460 * BufferView_pimpl.C:
4464 * undo_funcs.C: setUndo reworked
4466 * iterators.[Ch]: add access to topmost ParagraphList
4468 * lyxtext.[Ch] (workWidth): add a const
4470 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4472 * texrow.[Ch] (increasePos): remove function
4473 * exporter.C (export): removed unused var and outdated comment
4475 2003-05-23 Angus Leeming <leeming@lyx.org>
4477 * latexrunparams.h: rename fragile as moving_arg.
4478 * paragraph.C (simpleTeXOnePar): ditto.
4479 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4481 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4483 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4485 (textUndoOrRedo): comment out a currently unused var.
4487 * paragraph.h (NO_NEXT): enable NO_NEXT
4489 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4491 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4493 * exporter.C (Export): adjust for removeAutoInsets removal.
4495 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4497 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4499 * BufferView.[Ch] (removeAutoInsets): delete function
4501 2003-05-22 Angus Leeming <leeming@lyx.org>
4503 * latexrunparams.h: add a free_spacing variable.
4505 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4506 to pass moving_arg, as the data is stored in runparams.fragile.
4508 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4509 to Inset::latexOptional or to simpleTeXOnePar.
4511 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4512 free_spacing arg to Inset::latexOptional.
4514 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4517 2003-05-22 Angus Leeming <leeming@lyx.org>
4519 * latexrunparams.h: add fragile and use_babel variables.
4521 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4522 * buffer.C (makeLaTeXFile): store this returned value in
4523 runparams.use_babel, thus passing it to the inset::latex methods.
4525 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4526 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4528 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4529 longer has a fragile arg, as it is stored in runparams.fragile.
4531 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4532 moving_arg parameter as the data is stored in runparams.fragile.
4534 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4535 a fragile parameter as the data is stored in runparams.fragile.
4537 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4539 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4541 2003-05-22 Angus Leeming <leeming@lyx.org>
4543 * latexrunparams.h: add a 'bool nice' which defaults to false.
4545 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4546 now encapsulated within runparams.
4548 * bufferlist.C (updateIncludedTeXfiles):
4549 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4551 2003-05-22 Angus Leeming <leeming@lyx.org>
4553 * latexrunparams.h: new file containing struct LatexRunParams.
4554 * Makefile.am: add new file.
4556 * LaTeX.[Ch] (c-tor, run):
4557 * buffer.[Ch] (makeLaTeXFile):
4558 * bufferlist.[Ch] (updateIncludedTeXfiles):
4559 * converter.C (convert, scanLog):
4560 * converter.[Ch] (runLaTeX):
4561 * exporter.C (Export):
4562 * paragraph.[Ch] (simpleTeXOnePar):
4563 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4564 * paragraph_funcs.[Ch] (latexParagraphs):
4565 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4566 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4567 pass around a LatexRunParams parameter.
4569 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * paragraph.[Ch]: remove unused constructor
4573 * ParagraphList.C (erase): new function, taking two iterators
4575 2003-05-22 André Pönitz <poenitz@gmx.net>
4577 * undo_funcs.C: remove duplicated code
4579 * iterator.[Ch]: operator=
4581 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * tabular.C (SetMultiColumn): ws changes
4585 * rowpainter.C (paintFirst): get rid of a ->previous
4587 * lyx_cb.C (getPossibleLabel): parlist simplification
4589 * BufferView.C (ChangeInsets): simplify slightly.
4591 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4593 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4594 * lfuns.h: new LFUN_SPACE
4595 * lyxfunc.C: protected space has a new lfun
4596 * paragraph_funcs.C: read new space insets
4598 * factory.C: handle new space insets
4600 2003-05-22 André Pönitz <poenitz@gmx.net>
4603 * BufferView_pimpl.C:
4606 * undo_funcs.C: return a ParIterator from getParFromID.
4608 * iterators.[Ch]: add two const's
4610 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4612 * toc.C (getTocList): adjust
4614 * iterators.[Ch]: rework for parlist
4616 * buffer.C (par_iterator_begin): adjust
4617 (par_iterator_end): adjust
4619 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4621 * BufferView.C (removeAutoInsets): adjust
4622 (ChangeInsets): adjust
4624 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4626 * text.C (top_y): fix bug 1110
4628 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4630 * errorlist.[Ch]: added
4633 * BufferView_pimpl.C:
4634 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4637 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * Makefile.am: ensure that lyx is relinked upon changes to the
4640 various "convenience" libs.
4642 2003-05-20 Angus Leeming <leeming@lyx.org>
4644 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4645 files are compiled in alphabetical order again.
4647 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4649 2003-05-19 Angus Leeming <leeming@lyx.org>
4651 * gettext.[Ch]: remove "char const * _(char const *)".
4653 2003-05-19 André Pönitz <poenitz@gmx.net>
4655 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4664 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4666 2003-05-19 André Pönitz <poenitz@gmx.net>
4670 * lyxtextclass.[Ch]:
4672 * paragraph_funcs.[Ch]:
4674 * text3.C: more insetenv work
4676 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4678 * ParagraphParameters.C (params2string): small bug fixed
4680 2003-05-16 André Pönitz <poenitz@gmx.net>
4683 * bufferview_funcs.C: patch from Kornel Benko to prevent
4684 crash when _(...) is called twice in a statement
4686 2003-05-16 André Pönitz <poenitz@gmx.net>
4693 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4695 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4697 * lyx_main.C (init): remove spurious static_cast
4699 2003-05-14 André Pönitz <poenitz@gmx.net>
4701 * BufferView.C: fix format string
4703 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4705 * BufferView.[Ch] (insertErrors): removed
4706 * BufferView.[Ch] (showErrorList): added
4707 * buffer.C (runChkTeX):
4708 * converter.C (scanLog): call showErrorList instead of inserterrors
4710 2003-05-13 André Pönitz <poenitz@gmx.net>
4712 * BufferView_pimpl.C:
4714 * bufferview_func.C:
4721 * tabular_funcs.h: tostr() from its own header
4723 * ParagraphParameters.C:
4728 * text3.C: STRCONV()
4730 2003-05-12 André Pönitz <poenitz@gmx.net>
4733 * BufferView_pimpl.C:
4737 * ParagraphParameters.C:
4741 * bufferview_funcs.C:
4754 * paragraph_funcs.C:
4758 * text3.C: boost::format -> bformat all over the place
4761 2003-05-09 André Pönitz <poenitz@gmx.net>
4763 * LColor.[Ch]: Pimpl the #include <map> away
4765 2003-05-09 John Levon <levon@movementarian.org>
4767 * bufferlist.C: never remove emergency saves
4769 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * Makefile.am: better lib building
4773 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4777 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4778 (simpleTeXSpecialChars): adjust
4779 (simpleTeXSpecialChars): adjust
4780 * paragraph.C (simpleTeXOnePar): adjust
4781 * buffer.C (makeLaTeXFile): adjust
4783 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4785 * text2.C (changeDepth): parlist cleanup
4786 (getColumnNearX): ditto
4788 * rowpainter.C (getLabelFont): parlist cleanup
4790 * bufferlist.C (newFile): parlist cleanup
4792 * CutAndPaste.C (eraseSelection): parlist cleanup
4794 * BufferView_pimpl.C (trackChanges): parlist cleanup
4797 * BufferView.C (lockInset): parlist cleanup.
4798 (ChangeInsets): ditto
4800 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4802 * CutAndPaste.h: Update file header.
4804 * CutAndPaste.C: Update file header.
4805 Store the parts cut out of the Document in a limited_stack.
4806 (copySelection): adjust
4807 (pasteSelection): new function, takes the index in the limited stack.
4808 (nrOfParagraphs): adjust
4809 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4810 simplify error inset insertion.
4811 (checkPastePossible): adjust
4813 2003-05-06 John Levon <levon@movementarian.org>
4815 * text2.C: don't cast wrap inset to float
4817 2003-05-05 André Pönitz <poenitz@gmx.net>
4820 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4822 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4823 few naked Paragraph *.
4825 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4827 * bufferparams.C: Output warning if a document with missing
4828 TeX document class is loaded
4829 * exporter.C: Disable TeX exports if the document class is missing
4832 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4833 isTeXClassAvailable()
4835 2003-05-03 John Levon <levon@movementarian.org>
4838 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4839 explicit cursor show/hide
4841 * BufferView_pimpl.h:
4842 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4843 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4845 * lyxfunc.C: hide cursor before dispatching.
4850 * text3.C: remove explicit cursor hides
4852 2003-05-02 André Pönitz <poenitz@gmx.net>
4854 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4857 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4860 * text2.C: tiny whitespace
4862 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * undo_funcs.C: almost only ws changes.
4866 * ParagraphList.C (splice): just return if pl is empty.
4868 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4870 * ParagraphList.C (splice): new function.
4872 * CutAndPaste.C (pasteSelection): use it
4874 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4876 * CutAndPaste.C (pasteSelection): remove the last next and
4877 previous from this file.
4879 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4881 * CutAndPaste.C (pasteSelection): more clean up, user proper
4882 ParagraphList functions for pasteing.
4884 * ParagraphList.C (insert): new function, three arg insert
4886 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4888 * ParagraphList.C (insert): new function, three arg insert
4890 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4893 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4897 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4899 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4901 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4904 (copySelection): clean up a bit.
4905 (pasteSelection): use make_pair
4907 * ParagraphList.C (ParagraphList): implement copy constructor
4908 (operator=): implement, base on copy constructor.
4911 * paragraph.C (erase): return a bool
4913 * paragraph_pimpl.C (erasePos): remove function, move contents...
4914 (erase): ... here. Return a bool.
4915 (erase): call erase instead of erasePos.
4917 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4919 * ParagraphList.h: define PitPosPair
4920 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4921 ParagraphList, fix a bug on pasting multiple pars
4922 * text2.C: change interface to C&P
4924 2003-04-30 André Pönitz <poenitz@gmx.net>
4926 * undo_func.C: revert part of yesterday's patch 2
4928 2003-04-30 John Levon <levon@movementarian.org>
4930 * LColor.C: s/tabular/table/
4932 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * text3.C (dispatch): do not convert iterator -> pointer
4935 * undo_funcs.C (setCursorParUndo): ditto
4936 * text_funcs.C (transposeChars): ditto
4938 * text2.C (setLayout): ws changes only
4940 * text.C (breakParagraph): do not convert iterator -> pointer
4942 (acceptChange): ditto
4943 (rejectChange): ditto
4948 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4951 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4953 * text3.C (gotoInset): YABG (yet another bad getChar)
4955 2003-04-29 André Pönitz <poenitz@gmx.net>
4957 * paragraph.h: make operator= private unimplemented as long as
4960 * ParagraphList.C: whitespace
4963 * paragraph_pimpl.[Ch]:
4964 * paragraph_funcs.C:
4966 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4969 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4971 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4973 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4974 * paragraph.[Ch] (erase):
4975 * paragraph_pimpl.[Ch] (erase): change return type and value
4976 * text2.C (cutSelection): some rework
4978 2003-04-28 John Levon <levon@movementarian.org>
4980 * bufferlist.C: changes for unsaved changes dialog
4982 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4984 * bufferlist.C (newFile): set language (messages_) for new
4987 * buffer.C (readFile): ws changes only.
4989 2003-04-28 André Pönitz <poenitz@gmx.net>
4994 * BufferView_pimpl.C:
4995 * BufferView.C: getParFromID related ParagraphList::iterator changes
4997 2003-04-28 André Pönitz <poenitz@gmx.net>
4999 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5002 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * messages.C: remove one more localedir class variable.
5006 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5008 * messages.C (getLocaleDir): singleton generation function
5010 (Messages): add a default constructor.
5012 * main.C (main): do not setup localedir here, do not call
5015 * gettext.C (_): use it.
5016 (gettext_init): delete funciton
5018 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5020 * gettext.C (getLyXMessages): new singleton generating function.
5022 * buffer.C (updateDocLang): adjust
5024 * Makefile.am (messages.o): add target
5025 (main.o): remove target
5027 2003-04-27 John Levon <levon@movementarian.org>
5032 * lyxvc.C: specify cancel button in Alert::prompt
5034 2003-04-26 John Levon <levon@movementarian.org>
5039 * LyXAction.C: add LFUN_INSET_SETTINGS
5041 * lyxfunc.C: don't enable tabular-feature when there's
5042 just any locking inset
5044 2003-04-26 John Levon <levon@movementarian.org>
5046 * bufferlist.C: re-add Cancel to buffer close question
5048 * lyxfunc.C: fix import UI a bit
5050 2003-04-25 John Levon <levon@movementarian.org>
5052 * gettext.C: remove the broken asserts for now
5054 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * messages.C: make case where setlocale cannot comply work better.
5058 * buffer.C (updateDocLang): new function
5059 (changeLanguage): use it
5062 * text2.C (setCounter): use B_ a bit.
5064 * lyxlayout.C (Read): be sure to trim the label strings.
5066 * messages.C (Messages): fix typo in comment
5068 * buffer.C (readFile): set message_ after file is loaded.
5069 (makeDocBookFile): remove double return
5070 (changeLanguage): reset message_ upon language change.
5071 (B_): new func, use this to get translated buffer strings.
5073 * main.C: add myself and Jean Marc as authors.
5075 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * messages.[hC]: pimplify Messages, and three different pimpls to be
5078 used in different circumstances.
5080 * gettext.[Ch]: change for use with new message code.
5082 2003-04-24 André Pönitz <poenitz@gmx.net>
5084 * factory.C: support for eqref
5086 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * messages.[Ch]: add missing char
5090 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5092 * messages.[Ch]: New files
5094 2003-04-18 John Levon <levon@movementarian.org>
5098 * BufferView_pimpl.C:
5102 * text2.C: remove layout-copy/paste (bug 778)
5104 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5106 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5108 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5110 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5111 if they succeed. Act accordingly.
5113 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * text2.C (setCharFont): adjust
5116 (setCounter): adjust
5117 (insertStringAsLines): adjust
5119 * text.C (leftMargin): adjust
5120 (setHeightOfRow): adjust
5122 * rowpainter.C (paintFirst): adjust
5125 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5127 (isFirstInSequence): ditto
5128 (getEndLabel): ditto
5131 * paragraph.C (getParLanguage): comment out some hard stuff.
5133 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5135 (simpleDocBookOnePar): ditto
5136 (makeDocBookFile): use ParagraphList::iterator
5138 * CutAndPaste.C (pasteSelection): adjust
5140 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5142 * text2.C (getFont): adjust
5143 (getLayoutFont): adjust
5144 (getLabelFont): adjust
5146 * paragraph_funcs.C (TeXOnePar): adjust
5148 * buffer.C (simpleLinuxDocOnePar): adjust
5149 (simpleDocBookOnePar): adjust
5151 * CutAndPaste.C (pasteSelection): adjust
5153 * BufferView.C (getEncoding): adjust
5155 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5157 2003-04-16 John Levon <levon@movementarian.org>
5159 * lyxfind.C: use parlist stuff for search/changes
5161 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5163 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5165 * text2.C (deleteEmptyParagraphMechanism): adjust
5167 * text2.[Ch] (ownerParagraph): delete func (both of them
5169 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5173 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * ParagraphList.C: prepare for NO_NEXT
5177 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * text2.C (getFont): adjust
5180 (getLayoutFont): adjust
5181 (getLabelFont): adjust
5183 * paragraph.C (getFont): adjust
5184 (getLabelFont): adjust
5185 (getLayoutFont): adjust
5187 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5189 2003-04-15 John Levon <levon@movementarian.org>
5193 * lyx_main.C: handle Include in .ui files
5195 2003-04-15 John Levon <levon@movementarian.org>
5197 * MenuBackend.C: make the doc files length shorter
5200 * ToolbarBackend.C: handle toolbar placement flags,
5203 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5205 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5208 * paragraph_funcs.C (TeXOnePar): adjust
5210 * paragraph.C (getLabelFont): add outerfont arg, adjust
5211 (getLayoutFont): ditto
5212 (simpleTeXOnePar): adjust
5214 * paragraph_pimpl.C (realizeFont): delete func
5216 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5218 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5219 row argument, constify cur argument.
5221 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * text2.C (getFont): adjust
5224 (getLayoutFont): adjust
5225 (getLabelFont): adjust
5227 * paragraph_funcs.C (TeXOnePar): adjust
5228 (outerFont): new func...
5229 (realizeFont): ...moved out from here, changed this to facilitate
5232 * paragraph.C (getFont): take outerfont as arg, adjust
5233 (simpleTeXOnePar): add outerfont arg, adjust
5235 * buffer.C (simpleLinuxDocOnePar): adjust
5236 (simpleDocBookOnePar): adjust
5238 * CutAndPaste.C (pasteSelection): adjust
5240 * BufferView.C (getEncoding): adjust
5242 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5244 * text2.C (setCharFont): adjust
5245 (setCounter): adjust
5247 * text.C (leftMargin): adjust
5248 (setHeightOfRow): adjust
5250 * rowpainter.C (paintFirst): adjust
5253 * paragraph_pimpl.C (realizeFont): adjust
5255 * paragraph.C (isFirstInSequence): move from here...
5256 * paragraph_funcs.C (isFirstInSequence): ...to here
5258 * paragraph.C (outerHook): move from here...
5259 * paragraph_funcs.C (outerHook): ...to here
5261 * paragraph.C (depthHook): move from here...
5262 * paragraph_funcs.C (depthHook): ...to here
5264 * paragraph.C (getEndLabel): move from here...
5265 * paragraph_funcs.C (getEndLabel): ...to here
5267 * text2.C (realizeFont): move from here...
5268 * paragraph_funcs.C (realizeFont): ...to here
5270 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5272 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5274 2003-04-14 Angus Leeming <leeming@lyx.org>
5276 * LColor.[Ch]: scrap LColor mathcursor.
5278 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5280 * lyxlex.[Ch] (text): delete function
5281 * trans.C (Load): adjust
5282 * paragraph_funcs.C (readParToken): adjust
5284 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5286 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5287 vector<char> instead of a char[].
5289 * lyxlex_pimpl.C (getString): adjust
5291 (lex): use getString
5295 * lyxlex.C (text): use pimpl_->getString()
5299 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5301 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5302 (makeFontEntriesLayoutSpecific): temp var for par.size()
5303 (setLayout): temp var for ownerParagraphs().end()
5304 (fullRebreak): temp var for rows().end()
5305 (selectionAsString): temp var for boost::next(startpit), realize
5306 that the while really is a regular for loop.
5307 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5308 setCursor in one place.
5309 (setParagraph): temp vr for ownerParagraphs().end()
5310 (updateCounters): make the while loop a for loop
5311 (cutSelection): temp var for ownerParagraphs().end()
5312 (updateInset): make the do {} while() a regular for loop
5313 (getCursorX): use temp vars
5314 (setCurrentFont): use temp vars
5315 (getColumnNearX): use temp vars
5317 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5319 * text.C (transformChar): use temp var for getChar
5320 (computeBidiTables): use temp var for row->par()
5321 (fill): move temp vars for row->par() and pit->layout() earlier in
5323 (labelFill): use temp var for row->par()
5324 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5325 asc and desc, realize that pit never changes and that firstpit is
5326 just a duplicate and not needed. Exchange rit->par() with pit in a
5328 (breakAgain): use a temp var for boost::next(rit)
5329 (breakAgainOneRow): ditto
5330 (breakParagraph): use a temp var for rows().begin()
5331 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5332 (cursorRightOneWord): use temp var for cursor.par() and
5333 cursor.pos(), remove usage of tmpcursor.
5334 (cursorLeftOneWord): use temp var for cursor.par() and
5335 cursor.pos() only set cur at end of function.
5337 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * text.C, text2.C: exchange all usage of Paragraph::next with
5340 boost::next(ParagraphList::iterator)
5342 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5344 * text2.C (cursorTop): simplify implementation
5345 (cursorBottom): ditto
5346 (setParagraph): use ParagraphList::iterator
5347 (setCurrentFont): adjust
5348 (getColumnNearX): adjust
5349 (cursorRight): adjust
5350 (cursorLeft): remove usage of Paragraph::previous
5351 (cursorUpParagraph): ditto
5352 (deleteEmptyParagraphMechanism): slight cleanup
5354 * text.C (isBoundary): take a Paragraph const & instead of a
5356 (addressBreakPoint): ditto
5357 (leftMargin): remove usage of Paragraph::previous.
5358 (setHeightOfRow): ditto
5359 (cursorLeftOneWord): ditto
5360 (selectNextWordToSpellcheck): ditto
5363 (breakParagraph): remove one usage of Paragraph::next
5364 (redoParagraph): ditto
5365 (acceptChange): ditto
5366 (insertChar): adjust
5367 (rowBreakPoint): adjust
5369 * bufferview_funcs.C (toggleAndShow): adjust
5371 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5373 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5374 methods to access it.
5376 * text.C: Added updateRowPositions to compute all row positions.
5377 Make top_y and getRowNearY() to use the cached y position
5379 2003-04-11 John Levon <levon@movementarian.org>
5381 * text.C (rowBreakPoint): reintroduce the labelEnd
5382 checks, code copied from the row fill stuff. Deep voodoo.
5384 * text.C (fill): add a comment and debugging for the
5387 2003-04-11 John Levon <levon@movementarian.org>
5389 * text.C: make sure fullrow insets get wrapped to the next line,
5390 even when they're in a manual label
5392 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5394 * text2.C (insertParagraph): make it take ParagraphList::iterator
5396 (setLayout): make it return ParagraphList::iterator
5397 (redoParagraphs): ditto
5399 (checkParagraph): ditto
5401 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5403 * text2.C: adjust several funcs.
5404 (realizeFont): take a ParagraphList::iterator as arg.
5405 (getLayoutFont): ditto
5406 (getLabelFont): ditto
5407 (setCharFont): ditto
5409 * text.C: adjust several funcs.
5411 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5413 * text.C (selectNextWordToSpellcheck): don't accidentally
5416 2003-04-10 John Levon <levon@movementarian.org>
5418 * ToolbarBackend.C (getIcon): special handling for
5421 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5423 * text2.C (cursorRight): a getChar assert fixed
5425 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * text2.C (getFont): change to take a ParagraphList::iterator
5428 instead of Paragraph*
5429 Adjust several functions.
5431 * text.C (transformChar): change to take a ParagraphList::iterator
5432 instead of Paragraph*
5433 (singleWidth): ditto
5434 Adjust several functions.
5436 * rowpainter.C: adjust several functions
5437 * rowpainter.h:store a ParagraphList::iterator and not a
5441 2003-04-09 John Levon <levon@movementarian.org>
5446 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5447 and the "help" bits as well
5449 2003-04-09 John Levon <levon@movementarian.org>
5452 * ToolbarBackend.C: allow multiple toolbars
5454 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5456 * undo_funcs.C (setCursorParUndo): adjust
5458 * text_funcs.C (transposeChars): adjust
5460 * text3.C (gotoNextInset): adjust
5463 * text2.C (setLayout): adjust
5464 (changeDepth): adjust
5466 (redoParagraphs): adjust
5467 (selectionAsString): adjust
5468 (setParagraph): adjust
5469 (insertInset): adjust
5470 (cutSelection): adjust
5471 (copySelection): adjust
5472 (pasteSelection): adjust
5473 (insertStringAsLines): adjust
5474 (updateInset): adjust
5475 (setCursor): change to take a ParagraphList::iterator parameter
5476 (setCursorIntern): change to take a ParagraphList::iterator parameter
5477 (setCurrentFont): adjust
5478 (cursorLeft): adjust
5479 (cursorRight): adjust
5480 (deleteEmptyParagraphMechanism): adjust
5482 * text.C (breakParagraph): adjust
5483 (insertChar): adjust
5484 (acceptChange): adjust
5485 (rejectChange): adjust
5486 (selectNextWordToSpellcheck): adjust
5487 (changeCase): adjust
5491 * lyxfind.C (SearchForward): adjust
5492 (SearchBackward): adjust
5493 (nextChange): adjust
5495 * lyxcursor.C (par): adjust
5497 * lyxcursor.h: store a ParagraphList::iterator instead of a
5500 * lyx_cb.C (getPossibleLabel): adjust
5502 * bufferview_funcs.C (toggleAndShow): adjust
5504 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5507 * BufferView.C (removeAutoInsets): adjust
5508 (lockedInsetStoreUndo): adjust
5510 2003-04-09 John Levon <levon@movementarian.org>
5512 * ToolbarBackend.C: try icon without argument
5513 if with argument fails
5515 2003-04-08 John Levon <levon@movementarian.org>
5518 * ToolbarBackend.C: add getIcon(), handle tooltip,
5519 and change from "Icon" to "Item".
5521 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5523 * BufferView.C (lockInset): another bad getchar crunched
5525 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5527 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5530 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5532 * lyxfind.C (searchForward, searchBackwards): bug 782
5534 2003-04-07 John Levon <levon@movementarian.org>
5536 * paragraph.C: remove dead comment
5538 * text.C: remove troublesome depth-fiddling code
5539 in leftMargin() and rightMargin() (bug 1017)
5541 * text.C: fix breaking of rows in nested lists
5544 * text2.C (updateCounters): fix up depth values
5547 2003-04-07 John Levon <levon@movementarian.org>
5549 * BufferView_pimpl.C: clear message when doc finishes resizing,
5550 and after a mouse event
5552 * lyxfunc.C: clear message after exiting inset
5554 2003-04-07 John Levon <levon@movementarian.org>
5556 * bufferview_funcs.C: show math status not outside
5557 status in the statusbar
5559 2003-04-07 John Levon <levon@movementarian.org>
5561 * lyxfunc.C: note status changed after a depth change
5563 2003-04-04 Angus Leeming <leeming@lyx.org>
5565 * LaTeX.h: move AuxInfo operator==, != out of line.
5566 Remove LaTeX virtual destructor; nothing derives from it.
5567 Move operator()() out of public area and rename it startscript().
5568 Change protected for private.
5570 2003-04-04 Angus Leeming <leeming@lyx.org>
5573 * text2.C: remove unneeded #includes.
5575 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5577 * text2.C (dEPM): fix the heigth of the next row
5579 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5581 * text.C: squashed an invalid getChar requester + some ws changes
5583 2003-04-03 John Levon <levon@movementarian.org>
5585 * bufferview_funcs.h:
5586 * bufferview_funcs.C:
5589 * text2.C: make getStatus work for the env depth lfuns
5591 2003-04-03 John Levon <levon@movementarian.org>
5593 * bufferview_funcs.h:
5594 * bufferview_funcs.C:
5597 * text2.C: parlistize decDepth(), by merging it with incDepth()
5599 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * lyxrow.h: store a ParagraphList::iterator instead of a
5602 Paragraph* and adjust other class functions to suit.
5604 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5607 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5609 * text2.C (setCursor): do not anchor to cursor row for the time being
5611 2003-04-02 John Levon <levon@movementarian.org>
5618 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5620 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5622 * paragraph.h: make ParagraphList and ParagraphList::iterator
5623 friends of Paragraph.
5625 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5627 * ParagraphList.C: Use the private next_ and previous_ from
5630 2003-04-01 John Levon <levon@movementarian.org>
5634 * Makefile.am: rename, remove defaults gunk
5637 * MenuBackend.C: remove defaults gunk
5640 * Languages.C: remove defaults gunk
5643 * lyx_main.C: error out if files couldn't be found.
5645 2003-04-02 John Levon <levon@movementarian.org>
5647 * text2.C: make incDepth() use parlist
5649 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * undo_funcs.C (firstUndoParagraph): adjust
5653 * text3.C (gotoInset): adjust
5654 (dispatch): adjust, and rewrite loop.
5656 * text2.C (init): adjust, and rewrite loop.
5657 (redoParagraphs): adjust
5658 (updateInset): adjust, and rewrite loop.
5659 (deleteEmptyParagraphMechanism): adjust
5661 * tabular.C (LyXTabular): adjust
5662 (SetMultiColumn): adjust
5665 * lyxtext.[Ch] (ownerParagraph): delete function
5666 (ownerParagraphs): new function returns a ParagraphList.
5668 * BufferView.C (removeAutoInsets): adjust
5669 (insertErrors): adjust
5670 (setCursorFromRow): adjust
5672 2003-04-01 Angus Leeming <leeming@lyx.org>
5674 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5677 2003-04-02 John Levon <levon@movementarian.org>
5683 * text_funcs.C: make transposeChars a free function
5685 * lyxrow_funcs.C: remove wrong comment
5687 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5690 * rowpainter.C: adjust
5695 * lyxrow_funcs. [Ch]: new files
5697 * lyxrow.[Ch]: remove next and previous pointers
5698 (next,previous): remove accessor functions
5699 (isParEnd): move to lyxrow_funcs
5700 (lastPos): move to lyxrow_funcs
5701 (nextRowIsAllInset): move to lyxrow_funcs
5702 (lastPrintablePos): move to lyxrow_funcs
5703 (numberOfSeparators): move to lyxrow_funcs
5704 (numberOfHfills): move to lyxrow_funcs
5705 (numberOfLabelHfills): move to lyxrow_funcs
5706 (hfillExpansion): move to lyxrow_funcs
5710 * bufferview_funcs.C (toggleAndShow): adjust
5712 * RowList.h: Remove class RowList from file leave just a
5715 * RowList.C: delete file
5717 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5720 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * text3.C (cursorPrevious): adjust
5723 (cursorNext): adjust
5726 * text2.C (redoHeightOfParagraph): adjust
5727 (redoDrawingOfParagraph): adjust
5730 * text.C (breakParagraph): adjust
5731 (insertChar): adjust
5734 * rowpainter.C (RowPainter): adjust
5735 (leftMargin): simplify and adjust
5736 (most rowpainter functions): adjust.
5738 * rowpainter.h: store the row as RowList::iterator not as Row*
5740 * lyxcursor.C (row): taka RowList::iterator as arg
5743 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5746 2003-04-01 Angus Leeming <leeming@lyx.org>
5748 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5749 stuff like bool Bool.
5751 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5753 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5756 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5758 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5761 * lyxtext.h (rows): drop one version and leve a const variant that
5762 returns a RowList::iterator.
5764 2003-03-31 Angus Leeming <leeming@lyx.org>
5766 * text.C (fill): ensure that the signature is the same as that in the
5769 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5771 * text2.C (redoParagraphs): adjust
5772 (updateCounters): adjust
5773 (checkParagraph): adjust
5774 (getColumnNearX): adjust and reformat a bit.
5776 * text.C (top_y): adjust
5778 (leftMargin): adjust
5779 (prepareToPrint): adjust
5781 (getRowNearY): adjust
5783 * lyxtext.h: make rowlist_ mutable.
5785 * RowList.h: add const_iterator
5786 * RowList.C: adjust for RowList::const_iterator.
5788 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5791 2003-03-31 John Levon <levon@movementarian.org>
5794 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5796 * lyx_main.C: set default fonts from using lyx_gui funcs
5798 * exporter.C: pdf_mode moved from lyxrc
5801 * lyxfunc.C: changes from above
5803 2003-03-31 John Levon <levon@movementarian.org>
5805 * lyx_main.C: fix to the last fix
5807 2003-03-31 John Levon <levon@movementarian.org>
5809 * bufferlist.C: "Load original" -> "Load Original"
5815 * format.C: more Alert cleanups
5817 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5819 * text2.C (removeParagraph): make it take a RowList::iterator as
5821 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5822 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5824 * text.C (anchor_row): make it take a RowList::iterator as arg,
5826 (computeBidiTables): make it take a const reference to Row instead
5827 of Row pointer, adjust.
5828 (leftMargin): make it take a RowList::iterator as arg, adjust.
5829 (rowBreakPoint): adjust
5830 (breakAgainOneRow): make it take a RowList::iterator as arg,
5832 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5834 * bufferview_funcs.C (toggleAndShow): adjust
5836 2003-03-30 John Levon <levon@movementarian.org>
5840 * boost-inst.C: moved to support
5842 * several files: changes as a result
5844 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5846 * text2.C (LyXText): adjust.
5848 (removeRow): make it take a RowList::iterator as arg, adjust.
5849 (fullRebreak): adjust
5850 (deleteEmptyParagraphMechanism): adjust
5851 (clearPaint): adjust
5854 * text.C (top_y): adjust
5855 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5856 (breakAgain): make it take a RowList::iterator as arg, adjust.
5857 (breakParagraph): adjust
5858 (insertChar): adjust
5861 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5862 need_break_row, and refresh_row.
5864 * text3.C (dispatch): adjust
5866 * text2.C (checkParagraph): adjust
5868 (setCursorFromCoordinates): adjust
5870 * text.C (top_y): adjust
5872 (getRow): make it return a RowList::iterator, adjust
5873 (getRowNearY): make it return a RowList::iterator, adjust
5875 * text2.C (init): adjust
5876 (insertRow): remove function
5877 (insertParagraph): adjust
5878 (redoParagraphs): adjust
5879 (fullRebreak): adjust
5880 (updateCounters): adjust
5882 * text.C (top_y): rewrite to use RowList iterators.
5884 (setHeightOfRow): rewrite to sue RowList iterators.
5885 (appendParagraph): adjust
5886 (breakAgain): adjust
5887 (breakAgainOneRow): adjust
5888 (breakParagraph): adjust
5890 (getRowNearY): adjust, and remove commented code.
5892 * lyxtext.h (firstRow): delete function
5893 (lastRow): delete function
5894 (rows): new function (const and non-const versions.)
5895 (insertRow): delete function
5897 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5899 2003-03-29 John Levon <levon@movementarian.org>
5901 * BufferView_pimpl.C: always update scrollbar top
5902 because pasting text when we're anchored could mean we
5903 miss an update altogether
5905 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * text2.C (init): use rowlist_.end() and not 0.
5908 (insertRow): change to take a RowList::iterator as arg, adjust
5910 (insertParagraph): change to take a RowList::iterator as arg,
5912 (redoParagraphs): remove some debug msgs.
5914 * text.C (appendParagraph): change to take a RowList::iterator
5915 arg, adjust for this.
5916 (breakAgain): add an assert
5917 (breakAgainOneRow): ditto
5919 2003-03-29 John Levon <levon@movementarian.org>
5921 * text2.C: do not clear selection after inc/decDepth
5924 2003-03-29 John Levon <levon@movementarian.org>
5927 * buffer.C: fix broken strerrors according to Lars
5929 2003-03-29 John Levon <levon@movementarian.org>
5931 * converters.C: more Alert cleanups
5933 2003-03-29 John Levon <levon@movementarian.org>
5935 * bufferview_funcs.C: remove pointless Alert
5937 * buffer.C: fix confusing error message when
5938 a template is chmoded 000
5940 2003-03-29 John Levon <levon@movementarian.org>
5944 * BufferView_pimpl.C: Alert fixes
5948 * tabular-old.C: remove unused table compat reading
5950 2003-03-29 John Levon <levon@movementarian.org>
5955 * lyx_cb.C: more Alert cleanups
5957 * lyxfunc.C: don't allow chktex if not latex document
5959 2003-03-29 John Levon <levon@movementarian.org>
5963 * buffer.C: warnings pushed down from support/,
5966 2003-03-29 John Levon <levon@movementarian.org>
5968 * lyxfunc.C: safety check for C-r (revert)
5970 2003-03-29 John Levon <levon@movementarian.org>
5973 * bufferlist.C: several UI fixes using Alert::prompt.
5974 Fix the pointless looping quit code. Fix stupid revert
5979 * lyx_cb.C: use Alert::prompt
5981 * lyx_main.C: remove a silly question
5983 * lyxfunc.C: remove a couple of silly questions,
5986 2003-03-28 John Levon <levon@movementarian.org>
5988 * text2.C: fix bug 974 (End on empty par)
5990 2003-03-28 John Levon <levon@movementarian.org>
5992 * BufferView_pimpl.C:
5994 * lfuns.h: remove do-nothing math greek lfuns
5996 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5998 * lyxgluelength.h (isValidGlueLength): add default arg on
5999 parameter 2. Remove default arg from friend in class.
6001 * lyxlength.h (isValidLength): add default arg on parameter 2.
6002 Remove default arg from friend in class.
6004 * text2.C (LyXText): adjust, initialize refresh_row.
6008 (insertParagraph): adjst
6009 (redoParagraphs): adjust
6010 (fullRebreak): adjust
6011 (updateCounters): adjust
6012 (deleteEmptyParagraphMechanism): first attempt at fixing a
6015 * text.C (top_y): adjust
6016 (setHeightOfRow): adjust
6018 (getRowNearY): adjust
6020 * lyxtext.h: include RowList.h
6021 (~LyXText): not needed anymore, deleted.
6022 (firstRow): modify for RowList
6023 (lastRow): new function
6024 Delete firstrow and lastrow class variables, add a Rowlist
6025 rowlist_ class variable.
6027 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6030 * RowList.C (insert): fix case where it == begin().
6032 2003-03-26 Angus Leeming <leeming@lyx.org>
6034 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6035 the thesaurus dialog.
6037 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6039 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6041 * RowList.[Ch]: new files
6043 * ParagraphList.C (erase): handle the case where it == begin
6046 2003-03-25 John Levon <levon@movementarian.org>
6050 * aspell.C: add new aspell support
6053 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6056 2003-03-25 Angus Leeming <leeming@lyx.org>
6059 * LyXAction.C (init): new LFUN_INSET_INSERT.
6061 * BufferView_pimpl.C (dispatch): split out part of the
6062 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6064 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6067 2003-03-25 Angus Leeming <leeming@lyx.org>
6069 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6071 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6074 * text3.C: remove useless row->height(0)
6076 2003-03-25 John Levon <levon@movementarian.org>
6080 * text3.C: rename the refreshing stuff to better names
6082 2003-03-24 John Levon <levon@movementarian.org>
6084 * BufferView_pimpl.h:
6085 * BufferView_pimpl.C: update layout choice on a mouse
6088 2003-03-23 John Levon <levon@movementarian.org>
6090 * Makefile.am: fix commandtags.h reference
6092 2003-03-22 John Levon <levon@movementarian.org>
6094 * BufferView_pimpl.C:
6099 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6101 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6104 * text.C: take the rtl methods out of line
6106 2003-03-21 André Pönitz <poenitz@gmx.net>
6108 * metricsinfo.[Ch]: new files containing structures to be passed around
6109 during the two-phase-drawing...
6111 2003-03-21 André Pönitz <poenitz@gmx.net>
6113 * lyxtextclass.C: read 'environment' tag.
6115 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6117 * text2.C (removeRow): fix bug 964
6119 2003-03-20 John Levon <levon@movementarian.org>
6123 * text2.C: paint cleanups. Inset::update() dropped font
6126 2003-03-19 John Levon <levon@movementarian.org>
6128 * lyxfunc.C: only fitcursor/markDirty if available()
6130 2003-03-19 John Levon <levon@movementarian.org>
6132 * commandtags.h: rename to ...
6134 * lfuns.h: ... this, and renumber / cleanup
6136 2003-03-19 John Levon <levon@movementarian.org>
6138 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6139 fit the cursor after an lfun
6143 * BufferView_pimpl.h:
6144 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6146 * LyXAction.C: layout-character should have ReadOnly
6148 * ParagraphParameters.C:
6150 * bufferview_funcs.C:
6157 * undo_funcs.C: changes from above
6159 2003-03-18 John Levon <levon@movementarian.org>
6161 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6162 remove it from update()
6164 * lyxfunc.C: update layout choice after an lfun
6166 * text3.C: remove extra updateLayoutChoice()s
6168 2003-03-18 John Levon <levon@movementarian.org>
6170 * text.C: top_y change means full repaint, fix
6171 a drawing bug with cursor movement
6173 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6177 * text2.C: anchor row on setCursor
6179 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6181 * lyxtext.h: remove almost all mutable keywords
6184 * text3.C: remove const keywords accordingly
6186 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6188 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6190 (TeXEnvironment): ditto
6193 2003-03-17 John Levon <levon@movementarian.org>
6195 * text.C (rowBreakPoint): remove attempt to fix displayed
6196 math insets inside a manual label
6198 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6200 * lyxtext.h: remove BufferView* as first arg from almost all class
6202 * other files: adjust.
6204 2003-03-17 John Levon <levon@movementarian.org>
6208 * text2.C: more paint cleanups
6210 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6213 * rowpainter.C: remove "smart" background painting code
6215 2003-03-16 John Levon <levon@movementarian.org>
6220 * text3.C: add helper functions for setting refresh_row/y
6222 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6224 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6225 newline inset which *can* get inserted in the pass_thru layouts.
6226 This is primarily for literate documents.
6228 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6230 * buffer.C: increment LYX_FORMAT to 223
6232 2003-03-14 André Pönitz <poenitz@gmx.net>
6234 * textclass.h: prepare for environment handling, ws changes
6235 * lyxlayout.C: read latexheader and latexfooter tags
6237 2003-03-14 John Levon <levon@movementarian.org>
6239 * text2.C: rewrite ::status() a bit
6241 2003-03-13 John Levon <levon@movementarian.org>
6243 * lyxtext.h: add some docs
6245 2003-03-13 John Levon <levon@movementarian.org>
6250 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6252 2003-03-13 John Levon <levon@movementarian.org>
6254 * text3.C: fix appendix redrawing
6256 2003-03-13 John Levon <levon@movementarian.org>
6258 * text.C (setHeightOfRow):
6260 * rowpainter.C: make appendix mark have the text
6261 "Appendix" so the user knows what it is
6264 * LColor.C: s/appendixline/appendix/ from above
6266 2003-03-13 John Levon <levon@movementarian.org>
6268 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6270 * text.C: fix a getChar(pos) bug properly
6272 2003-03-13 Angus Leeming <leeming@lyx.org>
6275 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6276 Probably only temporary. Let's see how things pan out.
6278 * BufferView.C (unlockInset):
6279 * BufferView_pimpl.C (fitCursor):
6280 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6282 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6283 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6285 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6286 new functions that convert ParagraphParameters to and from a string.
6288 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6289 BufferView::Pimpl's dispatch.
6290 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6292 2003-03-13 André Pönitz <poenitz@gmx.net>
6296 * factory.C: make it aware of InsetEnv
6298 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * text2.C (setCursor): never ask for one past last
6301 (setCursor): add some debugging messages.
6303 * text.C (singleWidth): never ask for one past last
6304 (singleWidth): ditto
6306 (rightMargin): ditto
6307 (rowBreakPoint): ditto
6308 (setHeightOfRow): ditto
6309 (prepareToPrint): ditto
6311 * rowpainter.C (paintBackground): never ask for one past last
6312 (paintText): never ask for one past last
6314 * paragraph_pimpl.C (getChar): make the assert stricter, never
6315 allow the one past last pos to be taken
6317 * paragraph.C (getChar): ws changes only
6319 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6320 (numberOfSeparators): ditto
6321 (numberOfHfills): ditto
6323 2003-03-12 John Levon <levon@movementarian.org>
6329 * paragraph_funcs.C: fix per-buffer authorlists
6331 2003-03-12 John Levon <levon@movementarian.org>
6333 * text.C: fix newline in right address
6335 2003-03-12 Angus Leeming <leeming@lyx.org>
6337 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6338 duplicate those in LyXFunc::dispatch.
6342 * ToolbarDefaults.C:
6343 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6344 Add LFUN_FONTFREE_UPDATE.
6346 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6347 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6349 * bufferview_func.[Ch]: several new functions to facilliate
6350 transfer of data to and from the character dialog.
6352 2003-03-12 John Levon <levon@movementarian.org>
6357 * paragraph_funcs.C:
6358 * paragraph_pimpl.C:
6362 * text3.C: remove META_NEWLINE in favour of an inset
6365 * rowpainter.C: remove paintNewline (done by inset)
6367 2003-03-12 John Levon <levon@movementarian.org>
6369 * paragraph_pimpl.C: complain about bad getChar()s
6370 for a while at least
6372 2003-03-12 John Levon <levon@movementarian.org>
6375 * buffer.C: move paragraph read into a separate function,
6376 a little renaming to reflect that.
6379 * bufferparams.C: remove the author_ids map, not necessary now
6382 * factory.C: moved Buffer::readInset to here
6384 * paragraph_funcs.h:
6385 * paragraph_funcs.C: readParagraph free function moved from
6388 * tabular.C: name change
6390 2003-03-12 John Levon <levon@movementarian.org>
6393 * ParagraphParameters.C: move par params input to
6396 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6397 behave like a normal read from the stream wrt reading
6398 a line vs. a \\token
6400 2003-03-12 John Levon <levon@movementarian.org>
6403 * ParagraphParameters.h:
6404 * ParagraphParameters.C: move output code to a
6407 2003-03-12 John Levon <levon@movementarian.org>
6409 * BufferView.C (insertLyXFile):
6412 * tabular.C: use a parlist iterator for creating the
6415 2003-03-12 John Levon <levon@movementarian.org>
6417 * buffer.C: make current_change static local not
6420 2003-03-12 John Levon <levon@movementarian.org>
6422 * buffer.C: fix insertStringAsLines for change tracking
6424 2003-03-12 John Levon <levon@movementarian.org>
6431 * bufferparams.C: move author list into params. Rename some
6432 functions. Move the header reading into a separate token
6433 loop. Move the header token reading into BufferParams.
6435 2003-03-12 John Levon <levon@movementarian.org>
6437 * changes.C: put debug inside lyxerr.debugging() checks
6439 2003-03-11 André Pönitz <poenitz@gmx.net>
6441 * factory.C: make it aware of InsetHFill
6443 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6445 * buffer.C (latexParagraphs): move function from here...
6446 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6449 2003-03-10 Angus Leeming <leeming@lyx.org>
6451 * LyXAction.C (init): fix bug in poplating array with multiple entries
6452 with the same LFUN (spotted by JMarc).
6454 2003-03-10 John Levon <levon@movementarian.org>
6457 * text2.C: move getColumnNearX() near its
6460 2003-03-10 John Levon <levon@movementarian.org>
6462 * text.C: fix break before a minipage
6464 2003-03-10 John Levon <levon@movementarian.org>
6466 * text.C: fix the last commit
6468 2003-03-09 John Levon <levon@movementarian.org>
6472 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6473 bug 365 (don't break before insets unless needed). Don't
6474 return a value > last under any circumstances.
6476 2003-03-09 Angus Leeming <leeming@lyx.org>
6478 * BufferView_pimpl.C (trackChanges, dispatch): call
6479 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6481 2003-03-09 Angus Leeming <leeming@lyx.org>
6483 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6484 than Dialogs::showAboutlyx().
6486 2003-03-09 Angus Leeming <leeming@lyx.org>
6488 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6489 than Dialogs::showTabularCreate().
6491 2003-03-09 John Levon <levon@movementarian.org>
6495 * text2.C: 3rd arg to nextBreakPoint was always the same.
6498 2003-03-08 John Levon <levon@movementarian.org>
6505 * text2.C: Remove the "main" bit from the "main body"
6508 2003-03-08 John Levon <levon@movementarian.org>
6510 * text.C (leftMargin): The left margin of an empty
6511 manual label paragraph should not include the label width
6514 * text.C (prepareToPrint): don't attempt to measure hfills
6515 for empty manual label paragraphs - the answer should be 0
6517 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6519 * CutAndPaste.C: remove commented code and reindent.
6521 2003-03-08 John Levon <levon@movementarian.org>
6524 * lyxfunc.C: move reloadBuffer()
6527 * BufferView.C: to here
6529 * lyxvc.C: add comment
6532 * vc-backend.C: call bv->reload() to avoid
6533 getStatus() check on MENURELOAD
6535 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6537 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6538 to an old format .dep file.
6540 2003-03-07 Angus Leeming <leeming@lyx.org>
6542 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6543 when the LFUN_MOUSE_RELEASE should have been handled by
6544 inset->localDispatch.
6546 2003-03-07 Angus Leeming <leeming@lyx.org>
6548 * BufferView_pimpl.C (dispatch):
6549 * LyXAction.C (init):
6550 * ToolbarDefaults.C (init):
6552 * lyxfunc.C (getStatus):
6553 remove LFUN_INSET_GRAPHICS.
6555 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6557 2003-03-07 Angus Leeming <leeming@lyx.org>
6560 * LyXAction.C (init):
6561 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6563 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6566 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6568 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6569 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6571 2003-03-07 Angus Leeming <leeming@lyx.org>
6573 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6576 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6578 * ParagraphList.C (front): new function
6581 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6583 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6584 and top_row_offset_. removed var first_y.
6586 * text2.C (LyXText, removeRow):
6588 * BufferView_pimpl.C:
6589 use these methods instead of using first_y
6591 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6593 * text2.C (pasteSelection): adjust for checkPastePossible
6595 * CutAndPaste.C: remove Paragraph * buf and replace with
6596 ParagraphList paragraphs.
6597 (DeleteBuffer): delete
6598 (cutSelection): change the tc type to textclass_type
6599 (copySelection): change the tc type to textclass_type
6600 (copySelection): adjust for ParagraphList
6601 (pasteSelection): change the tc type to textclass_type
6602 (pasteSelection): adjust for Paragraphlist
6603 (nrOfParagraphs): simplify for ParagraphList
6604 (checkPastePossible): simplify for ParagraphList
6605 (checkPastePossible): remove unused arg
6607 * ParagraphList.C (insert): handle the case where there are no
6610 * CutAndPaste.h: make CutAndPaste a namespace.
6612 * text3.C (dispatch): adjust
6614 * text.C (breakParagraph): add a ParagraphList as arg
6616 * paragraph_funcs.C (breakParagraph): change to take a
6617 BufferParams and a ParagraphList as args.
6618 (breakParagraphConservative): ditto
6619 (mergeParagraph): ditto
6620 (TeXDeeper): add a ParagraphList arg
6621 (TeXEnvironment): ditto
6624 * buffer.C (readLyXformat2): adjust
6625 (insertStringAsLines): adjust
6626 (latexParagraphs): adjust
6628 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6629 (cutSelection): adjust
6630 (pasteSelection): adjust
6632 * BufferView_pimpl.C (insertInset): adjust
6634 2003-03-05 Angus Leeming <leeming@lyx.org>
6637 * LyXAction.C (init):
6638 * BufferView_pimpl.C (dispatch):
6639 * lyxfunc.C (getStatus):
6640 remove LFUN_CHILD_INSERT.
6642 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6644 2003-03-05 Angus Leeming <leeming@lyx.org>
6647 * LyXAction.C (init):
6648 * src/factory.C (createInset):
6649 * lyxfunc.C (getStatus):
6650 * text3.C (dispatch):
6651 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6653 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6655 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * ParagraphList.C (insert): handle insert right before end()
6658 (erase): fix cases where it can be first or last paragraph.
6660 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6662 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6663 Paragraph::next and Paragraph::previous
6666 * text.C (breakParagraph): adjust
6668 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6669 BufferParams& as arg.
6670 (breakParagraph): use ParagraphList::insert
6671 (breakParagraphConservative): take a Buffer* instead of a
6672 BufferParams& as arg.
6673 (breakParagraphConservative): use ParagraphList::insert.
6675 * buffer.C (insertStringAsLines): un-const it
6676 (insertStringAsLines): adjust
6678 * ParagraphList.C (insert): new function
6680 * CutAndPaste.C (pasteSelection): adjust
6682 * text.C (backspace): adjust
6684 * tabular.C (SetMultiColumn): adjust
6686 * CutAndPaste.C (cutSelection): adjust
6687 (pasteSelection): adjust
6689 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6690 Buffer const * as arg
6692 * ParagraphList.C (erase): new function
6693 * paragraph_funcs.C (mergeParagraph): use it
6694 (mergeParagraph): make it take a Buffer* instead of a
6695 BufferParams* as arg
6697 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6699 (breakParagraphConservative): ditto
6701 * paragraph.h: remove the breakParagraph friend
6703 * paragraph.C (eraseIntern): new function
6704 (setChange): new function
6706 * paragraph_funcs.C (mergeParagraph): make it take a
6707 ParagraphList::iterator instead of a Paragraph *, adjust
6710 * paragraph.h: move an #endif so that the change tracking stuff
6711 also works in the NO_NEXT case.
6713 2003-03-04 Angus Leeming <leeming@lyx.org>
6716 * LyXAction.C: new LFUN_INSET_MODIFY.
6718 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6719 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6721 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6723 * several files: ws changes only
6725 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6726 (TeXEnvironment): ditto
6729 * buffer.C (makeLaTeXFile): adjust
6730 (latexParagraphs): make it take ParagraphList::iterator as args
6732 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6734 * buffer.C (latexParagraphs): adjust
6736 * paragraph.C (TeXOnePar): move function...
6737 (optArgInset): move function...
6738 (TeXEnvironment): move function...
6739 * paragraph_pimpl.C (TeXDeeper): move function...
6740 * paragraph_funcs.C: ...here
6742 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6744 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * buffer.C (readInset): remove compability code for old Figure and
6749 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * buffer.C: ws changes
6754 * BufferView_pimpl.C: ditto
6757 * bufferlist.h: ditto
6761 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6763 * converter.[Ch]: split into itself +
6766 * Makefile.am: += graph.[Ch] + format.[Ch]
6773 * lyxrc.C: added #include "format.h"
6775 2003-02-27 Angus Leeming <leeming@lyx.org>
6777 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6780 * factory.C (createInset): add "label" to the factory.
6782 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6783 string and do no more.
6785 2003-02-27 Angus Leeming <leeming@lyx.org>
6788 * LyXAction.C (init):
6789 * factory.C (createInset):
6790 * BufferView_pimpl.C (dispatch):
6791 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6793 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6795 * lyxfunc.C (dispatch):
6796 * text3.C (dispatch): pass name to params2string.
6798 2003-02-26 Angus Leeming <leeming@lyx.org>
6800 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6802 Rearrange the ~includes. Strip out the unnecessary ones.
6804 * factory.C (createInset): reformat.
6805 create new insets for the various LFUN_XYZ_APPLY lfuns.
6807 2003-02-26 John Levon <levon@movementarian.org>
6810 * lyxrow.C: add isParStart,isParEnd helpers
6812 * paragraph.h: make isInserted/DeletedText take refs
6814 * paragraph_funcs.h:
6815 * paragraph_funcs.C: remove #if 0'd code
6820 * text.C: use lyxrow helpers above.
6821 Move draw and paint routines to RowPainter.
6822 Make several methods use refs not pointers.
6823 Make backgroundColor() const.
6824 Add markChangeInDraw(), isInInset().
6825 Merge changeRegionCase into changeCase.
6826 Make workWidth() shouldn't-happen code into an Assert.
6829 * rowpainter.C: new class for painting a row.
6832 * vspace.C: make inPixels take a ref
6834 2003-02-26 Angus Leeming <leeming@lyx.org>
6836 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6839 2003-02-25 John Levon <levon@movementarian.org>
6841 * ispell.C: give the forked command a more accurate name
6843 2003-02-22 John Levon <levon@movementarian.org>
6846 * toc.C: make TocItem store an id not a Paragraph *
6849 2003-02-21 Angus Leeming <leeming@lyx.org>
6851 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6852 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6853 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6854 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6855 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6856 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6858 * BufferView_pimpl.C (dispatch):
6859 * LyXAction.C (init):
6860 * factory.C (createInset):
6861 * lyxfunc.C (getStatus, dispatch):
6862 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6864 2003-02-21 Angus Leeming <leeming@lyx.org>
6866 * BufferView_pimpl.C (MenuInsertLyXFile):
6867 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6868 * lyxfunc.C (menuNew, open, doImport):
6869 no longer pass a LyXView & to fileDlg.
6871 2003-02-21 Angus Leeming <leeming@lyx.org>
6873 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6874 * LyXAction.C: change, BIBKEY to BIBITEM.
6875 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6876 Change InsetBibKey to InsetBibitem.
6877 Change BIBKEY_CODE to BIBITEM_CODE.
6878 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6879 * factory.C: replace insetbib.h with insetbibitem.h.
6880 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6881 * paragraph.C: replace insetbib.h with insetbibitem.h.
6882 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6883 Change bibkey() to bibitem().
6884 * text.C: remove insetbib.h.
6885 * text2.C: replace insetbib.h with insetbibitem.h.
6886 change bibkey() to bibitem().
6887 * text3.C: remove insetbib.h.
6888 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6890 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6892 * lyxrc.C (output): enclose user email in quotes (in case there are
6895 2003-02-18 John Levon <levon@movementarian.org>
6897 * buffer.h: add std::
6899 2003-02-17 John Levon <levon@movementarian.org>
6905 * pspell.C: reworking. Especially in ispell, a large
6906 number of clean ups and bug fixes.
6908 * lyxfunc.C: fix revert to behave sensibly
6910 2003-02-17 André Pönitz <poenitz@gmx.net>
6913 * commandtags.h: new LFUN_INSERT_BIBKEY
6923 * paragraph_func.C: remove special bibkey handling
6925 2003-02-17 John Levon <levon@movementarian.org>
6927 * text.C (Delete): fix case where delete at the end of
6928 the very first paragraph would not merge the pars
6930 2003-02-17 John Levon <levon@movementarian.org>
6932 * lyxrow.C: fix lastPrintablePos()
6934 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6936 * bufferparams.C (writeLaTeX): add a std:here
6938 * buffer.C: and remove a using directive there
6940 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6942 * buffer.C (makeLaTeXFile): move the code that generates the
6945 * bufferparams.C (writeLaTeX): ... in this new method
6947 * LaTeXFeatures.C (getEncodingSet): make const
6948 (getLanguages): make const
6950 * MenuBackend.C (binding): returns the binding associated to this
6952 (add): sets the status of each item by calling getStatus. Adds
6954 (read): add support for OptSubMenu
6955 (expand): remove extra separator at the end of expanded menu
6957 2003-02-15 John Levon <levon@movementarian.org>
6960 * BufferView_pimpl.C:
6962 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6963 inset code that had no actual effect. Remove unneeded status
6966 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6968 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6971 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6973 * text.C (drawLengthMarker): also draw an arrow marker for
6974 symbolic lengths (medskip...)
6976 2003-02-14 John Levon <levon@movementarian.org>
6979 * tabular.C: better method names
6981 2003-02-14 John Levon <levon@movementarian.org>
6983 * BufferView_pimpl.C:
6988 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6989 it's a more accurate name. Remove some pointless uses.
6991 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6993 * text2.C (LyXText): change order of initilizers to shut off
6996 2003-02-14 John Levon <levon@movementarian.org>
6998 * buffer.C: use ParIterator for getParFromID()
7002 * paragraph_pimpl.h:
7003 * paragraph_pimpl.C: remove unused getParFromID()
7005 2003-02-14 John Levon <levon@movementarian.org>
7007 * buffer.C: remove some very old #if 0'd parse code
7009 2003-02-13 John Levon <levon@movementarian.org>
7013 * text2.C: move hfillExpansion(), numberOfSeparators(),
7014 rowLast(), rowLastPrintable(), numberofHfills(),
7015 numberOfLabelHfills() ...
7018 * lyxrow.C: ... to member functions here.
7023 * text.C: remove LyXText::beginningOfMainBody(), and call
7024 p->beginningOfMainBody() directly. Move the check for
7025 LABEL_MANUAL into the latter.
7032 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7038 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7039 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7041 2003-02-13 John Levon <levon@movementarian.org>
7043 * CutAndPaste.C: remove debug
7045 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7047 * paragraph.C (asString): remove two unused variables
7049 * lyxtextclass.C (readTitleType):
7051 (LyXTextClass): handle new members titletype_ and titlename_
7053 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7055 2003-02-09 John Levon <levon@movementarian.org>
7058 * buffer.C: replace hand-coded list with a map for the dep clean
7060 2003-02-08 John Levon <levon@movementarian.org>
7062 * LaTeX.C: consolidate code into showRunMessage() helper
7064 2003-02-08 John Levon <levon@movementarian.org>
7069 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7070 and pass the size in explicitly
7072 * BufferView_pimpl.h:
7073 * BufferView_pimpl.C:
7075 * BufferView.C: add getCurrentChange()
7077 * BufferView_pimpl.h:
7078 * BufferView_pimpl.C: handle change lfuns
7080 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7081 for changes. Mark pasted paragraphs as new.
7083 * support/lyxtime.h:
7084 * support/lyxtime.C:
7085 * DepTable.C: abstract time_t as lyx::time_type
7088 * LColor.C: add colours for new text, deleted text, changebars
7090 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7091 package use "usenames" option.
7095 * LyXAction.C: add change lfuns
7099 * author.C: author handling
7102 * buffer.C: add a per-buffer author list, with first entry as
7103 current author. Handle new .lyx tokens for change tracking. Output
7104 author list to .lyx file. Output dvipost stuff to .tex preamble.
7105 Bump lyx format to 222.
7108 * bufferlist.C: add setCurrentAuthor() to reset current author details
7112 * bufferparams.C: add param for tracking
7114 * bufferview_funcs.C: output change info in minibuffer
7118 * changes.C: add change-tracking structure
7121 * debug.C: add CHANGES debug flag
7124 * lyxfind.C: add code for finding the next change piece
7127 * lyxrc.C: add user_name and user_email
7130 * lyxrow.C: add a metric for the top of the text line
7133 * text.C: implement accept/rejectChange()
7136 * text.C: paint changebars. Paint new/deleted text in the chosen
7137 colours. Strike through deleted text.
7141 * paragraph_pimpl.h:
7142 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7143 in the current change to the insert functions. Rework erase to
7144 mark text as deleted, adding an eraseIntern() and a range-based
7145 erase(). Implement per-paragraph change lookup and
7148 * paragraph_funcs.C: Fixup paste for change tracking.
7150 * tabular.C: mark added row/columns as new.
7152 * text.C: fix rowLast() to never return -1. Don't allow
7153 spellchecking of deleted text. Track transpose changes. Don't
7154 allow paragraph break or merge where appropriate.
7156 * text2.C: leave cursor at end of selection after a cut.
7158 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7160 * text.C (getLengthMarkerHeight):
7161 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7162 visible on screen too.
7164 2003-02-07 John Levon <levon@movementarian.org>
7166 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7168 2003-02-05 Angus Leeming <leeming@lyx.org>
7170 * lyxserver.C (read_ready): revert my patch of 11 September last year
7171 as it sends PC cpu through the roof. Presumably this means that
7172 the lyxserver will no longer run on an Alpha...
7174 2003-01-30 Angus Leeming <leeming@lyx.org>
7176 * factory.C (createInset): create an InsetCommandParam of type "index"
7177 and use it to 'do the right thing'.
7179 * text2.C (getStringToIndex): ensure that cursor position is always
7180 reset to the reset_cursor position.
7182 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7184 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7187 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7191 * lyxfunc.C: Output messages with identical spelling, punctuation,
7194 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7196 * MenuBackend.C (expandFormats): List only viewable export formats
7199 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7202 * lyxfunc.C (getStatus): Make sure that formats other than
7203 "fax" can also be disabled
7205 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7207 * text3.C (dispatch): put the lfuns that insert insets in 3
7208 groups, and call doInsertInset with appropriate arguments.
7209 (doInsertInset): new function, that creates an inset and inserts
7210 it according to some boolean parameters.
7212 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7214 * buffer.C (readFile): remember to pass on 'par' when calling
7215 readFile recursively.
7217 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7219 * MenuBackend.C (expandFormats): add "..." to import formats.
7221 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7223 * paragraph.C (asString): Remove XForms RTL hacks.
7225 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7226 * buffer.C: fix typo
7228 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * Makefile.am (LIBS): delete var
7231 (lyx_LDADD): add @LIBS@ here instead.
7233 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7235 * Clarify the meaning of "wheel mouse jump"
7237 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7239 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7242 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7244 * importer.C (Loaders): do not preallocate 3 elements in the
7245 vector, since one ends up with 6 elements otherwise
7247 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7249 * DepTable.C (write): write the file name as last element of the
7250 .dep file (because it may contain spaces)
7251 (read): read info in the right order
7253 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7255 * paragraph_pimpl.C (simpleTeXBlanks):
7256 (simpleTeXSpecialChars):
7257 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7259 * tabular.C (latex): add some missing case statements. Reindent.
7261 * MenuBackend.C (expandToc): remove unused variable.
7263 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7272 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7275 2003-01-05 John Levon <levon@movementarian.org>
7278 * BufferView.C: add getEncoding()
7281 * kbsequence.C: do not store last keypress
7284 * lyxfunc.C: store last keypress here instead. Pass encoding
7287 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7289 * lyx_main.C (init): remove annoying error message when following
7290 symbolic links (bug #780)
7292 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7294 * text.C (insertChar):
7295 * lyxrc.C (getDescription): remove extra spaces
7297 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7299 * lyxrc.C (getDescription): remove extra spaces
7301 2002-12-20 John Levon <levon@movementarian.org>
7303 * text3.C: hack fix for page up/down across tall rows
7305 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7307 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7310 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7312 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7313 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7314 thesaurus is not compiled in
7316 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7318 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7320 2002-12-16 Angus Leeming <leeming@lyx.org>
7323 * lyx_main.C (init): remove override_x_deadkeys stuff.
7325 2002-12-12 John Levon <levon@movementarian.org>
7327 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7328 insert. Only remove shift modifier under strict
7331 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * MenuBackend.C (expandToc): fix crash.
7335 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7337 * MenuBackend.C (expandToc): gettext on float names.
7339 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7341 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7342 implement bool empty() [bug 490]
7344 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7346 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7348 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7350 * several files: ws changes
7352 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * text2.C (setCounter): clean up a bit, use boost.format.
7355 (updateCounters): initialize par upon declaration.
7357 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7358 if the layout exists. We do not just store the layout any more.
7359 (SwitchLayoutsBetweenClasses): use boost.format
7361 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7363 * converter.C (convert): if from and to files are the same, use a
7364 temporary files as intermediary
7366 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7369 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7371 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7373 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7375 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7377 * tabular.C (asciiPrintCell): use string(size, char) instead of
7380 * sgml.C (openTag): fix order of arguments to string constructor
7383 * lyxfunc.C (dispatch): use boost.format
7385 * lots of files: change "c" -> 'c'
7387 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7389 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7391 2002-11-25 Angus Leeming <leeming@lyx.org>
7393 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7395 * lyx_main.C (init): compile fix.
7397 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7399 * lyx_cb.C (start): boost.formatify
7400 do not include <iostream>
7402 * lengthcommon.C: ws only
7404 * boost-inst.C,BoostFormat.h: add more explict instantations
7406 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7408 * lots of files: handle USE_BOOST_FORMAT
7410 2002-11-21 John Levon <levon@movementarian.org>
7412 * pspell.C: fix compile
7414 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7416 * lyxfunc.C (dispatch): use boost::format
7420 * lyxfont.C (stateText): use boost::format
7422 * lyx_main.C (LyX): use boost::format
7424 (queryUserLyXDir): ditto
7427 (typedef boost::function): use the recommened syntax.
7429 * importer.C (Import): use boost::format
7431 * debug.C (showLevel): use boost::format
7433 * converter.C (view): use boost::format
7438 * bufferview_funcs.C (currentState): use boost::format
7440 * bufferlist.C (emergencyWrite): use boost::format
7442 * buffer.C (readLyXformat2): use boost::format
7443 (parseSingleLyXformat2Token): ditto
7445 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7447 * LaTeX.C (run): use boost::format
7449 * Chktex.C (scanLogFile): use boost::format
7451 * BufferView_pimpl.C (savePosition): use boost::format
7452 (restorePosition): ditto
7453 (MenuInsertLyXFile): ditto
7455 * BoostFormat.h: help file for explicit instation.
7457 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7459 * tabular.C (latex): Support for block alignment in fixed width
7462 2002-11-17 John Levon <levon@movementarian.org>
7464 * BufferView_pimpl.C:
7466 * lyxfunc.C: split filedialog into open/save
7468 2002-11-08 Juergen Vigna <jug@sad.it>
7470 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7471 by my last patch (hopefully).
7473 2002-11-08 John Levon <levon@movementarian.org>
7482 * toc.C: ParConstIterator, and use it (from Lars)
7484 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7486 * lyxtextclass.[Ch]: revise and add doxygen comments
7488 2002-11-07 John Levon <levon@movementarian.org>
7490 * text.C: fix progress value for spellchecker
7492 * toc.C: fix navigate menu for insetwrap inside minipage
7494 * paragraph_funcs.C: added FIXME for suspect code
7496 2002-11-07 John Levon <levon@movementarian.org>
7498 * BufferView_pimpl.C: fix redrawing of insets
7501 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7503 * text2.C (updateCounters): fix bug 668
7505 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7507 * text3.C (dispatch): Do not make the buffer dirty when moving the
7510 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * vc-backend.C: STRCONV
7515 * text2.C (setCounter): STRCONV
7517 * paragraph.C (asString): STRCONV
7519 * lyxlength.C (asString): STRCONV
7520 (asLatexString): ditto
7522 * lyxgluelength.C (asString): STRCONV
7523 (asLatexString): ditto
7525 * lyxfunc.C (dispatch): STRCONV
7528 * lyxfont.C (stateText): STRCONV
7530 * importer.C (Import): STRCONV
7532 * counters.C (labelItem): STRCONV
7533 (numberLabel): ditto
7534 (numberLabel): remove unused ostringstream o
7539 * bufferview_funcs.C (currentState): STRCONV
7541 * buffer.C (readFile): STRCONV
7542 (asciiParagraph): ditto
7543 (makeLaTeXFile): ditto
7545 * Spacing.C (writeEnvirBegin): STRCONV
7547 * LaTeXFeatures.C (getLanguages): STRCONV
7548 (getPackages): ditto
7550 (getBabelOptions): ditto
7551 (getTClassPreamble): ditto
7552 (getLyXSGMLEntities): ditto
7553 (getIncludedFiles): ditto
7557 (scanAuxFile): ditto
7560 * LString.h: add the STRCONV macros
7562 * BufferView_pimpl.C (savePosition): STRCONV
7563 (restorePosition): ditto
7564 (MenuInsertLyXFile): ditto
7566 * vc-backend.C (scanMaster): change from submatch[...] to
7569 * funcrequest.C: include config.h
7571 * factory.C: include config.h
7573 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7575 * box.C: include config.h
7577 * LaTeX.C (scanAuxFile): change from submatch[...] to
7581 2002-10-25 Angus Leeming <leeming@lyx.org>
7583 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7585 * ispell.[Ch] (setError): new method.
7586 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7587 Use setError() insetead of goto END.
7589 * lyx_cb.C (AutoSave): move out child process into new class
7592 2002-10-30 John Levon <levon@movementarian.org>
7594 * text3.C: make start appendix undoable
7596 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7598 * lyxlength.C (inPixels): Fix returned value.
7600 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7603 2002-10-24 Angus Leeming <leeming@lyx.org>
7605 * lyxgluelength.h: no need to forward declare BufferParams
7606 or BufferView, so don't.
7608 2002-10-21 John Levon <levon@movementarian.org>
7610 * BufferView.C: menuUndo ->undo, redo
7612 * BufferView.h: document, remove dead, make some methods private
7614 * paragraph_funcs.h:
7615 * paragraph_funcs.C:
7616 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7621 * sgml.C: move sgml open/close tag into sgml.C
7623 * bufferview_funcs.h: unused prototype
7626 * lyxfunc.C: remove unused
7629 * text.C: remove unused
7631 2002-10-21 John Levon <levon@movementarian.org>
7635 * BufferView_pimpl.h:
7636 * BufferView_pimpl.C: fix mouse wheel handling based on
7637 patch from Darren Freeman
7639 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7641 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7643 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7645 * lyxlength.C (inPixels): Fix hanfling of negative length.
7646 Fix LyXLength::MU case.
7648 2002-10-16 John Levon <levon@movementarian.org>
7650 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7652 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7654 * converter.C (view): add support for $$i (file name) and $$p
7655 (file path) for the viewer command. If $$i is not specified, then
7656 it is appended to the command (for compatibility with old syntax)
7658 2002-10-14 Juergen Vigna <jug@sad.it>
7660 * undo_funcs.C (textHandleUndo): alter the order in which the
7661 new undopar is added to the LyXText, as we have to set first
7662 the right prev/next and then add it as otherwise the rebuild of
7663 LyXText is not correct. Also reset the cursor to the right paragraph,
7664 with this IMO we could remove the hack in "redoParagraphs()".
7666 2002-10-09 Angus Leeming <leeming@lyx.org>
7668 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7669 to turn off an optimisation if a new inset is to be inserted.
7671 2002-10-11 André Pönitz <poenitz@gmx.net>
7673 * lyxtext.h: make some functions public to allow access
7674 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7676 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7678 * text3.C (dispatch): when changing layout, avoid an infinite loop
7681 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7683 * lyxrc.C (read): treat a viewer or converter command of "none" as
7686 * MenuBackend.C (expandFormats): for an update, also allow the
7687 formats that are not viewable
7689 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7690 script if it is newer than the lyxrc.defaults in user directory
7692 2002-10-07 André Pönitz <poenitz@gmx.net>
7694 * text.C: Vitaly Lipatov's small i18n fix
7696 2002-09-25 Angus Leeming <leeming@lyx.org>
7698 * ispell.h: doxygen fix.
7700 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7702 * buffer.h (readFile): Add a new argument to the method, to allow
7703 reading of old-format templates.
7705 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7707 * toc.C (getTocList): Get TOC from InsetWrap.
7709 2002-09-16 John Levon <levon@movementarian.org>
7711 * lyxfunc.C: check tabular for cut/copy too
7713 2002-09-12 John Levon <levon@movementarian.org>
7718 * factory.C: add header
7720 * paragraph_funcs.h:
7721 * paragraph_funcs.C: cleanup
7723 2002-09-11 John Levon <levon@movementarian.org>
7725 * PrinterParams.h: odd/even default to true
7727 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7729 * PrinterParams.h: update printer parameters for new xforms dialog
7731 2002-09-11 Angus Leeming <leeming@lyx.org>
7733 * lyxserver.C (read_ready): re-write to make it more transparent
7734 and to make it work in coherent fashion under Tru64 Unix.
7736 2002-09-11 André Pönitz <poenitz@gmx.net>
7740 * text3.C: implement LFUN_WORDSEL
7742 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7744 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7745 make floatlist_ a boost::shared_ptr<FloatList>
7747 * lyxtextclass.C: include FloatList.h
7748 (LyXTextClass): initialize floatlist_
7749 (TextClassTags): add TC_NOFLOAT
7750 (Read): match "nofloat" to TC_NOFLOAT and use it.
7751 (readFloat): modify call to floatlist_
7755 * FloatList.[Ch] (FloatList): remove commented out float
7757 (erase): new function
7759 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7761 * MenuBackend.C (expandToc): fix crash when there is no document
7764 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7766 * many files: Add insetwrap.
7768 2002-09-09 John Levon <levon@movementarian.org>
7770 * text2.C: remove confusing and awkward depth wraparound
7772 2002-09-09 John Levon <levon@movementarian.org>
7774 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7777 * buffer.C: remove getIncludeonlyList()
7780 * lyxfunc.C: remove headers
7782 2002-09-09 Juergen Vigna <jug@sad.it>
7784 * text.C (getColumnNearX): fix form Michael this is most
7785 probably a cut&paste bug.
7787 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7789 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7791 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7792 references, ws changes.
7794 * text2.C (init): update counters after init
7795 (insertParagraph): no need to set counter on idividual paragraphs.
7796 (setCounter): access the counters object in the textclass object
7797 on in the buffer object.
7798 (updateCounters): ditto
7800 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7801 shared_ptr<Counters> to avoid loading counters.h in all
7803 (LyXTextClass): initialize ctrs_
7804 (TextClassTags): add TC_COUNTER, and ...
7805 (Read): use it here.
7806 (CounterTags): new tags
7807 (readCounter): new function
7808 (counters): new funtion
7809 (defaultLayoutName): return a const reference
7811 * counters.C (Counters): remove contructor
7812 (newCounter): remove a couple of unneeded statements.
7813 (newCounter): simplify a bit.
7814 (numberLabel): some small formatting changes.
7816 * buffer.[Ch]: remove all traces of counters, move the Counters
7817 object to the LyXTextClass.
7819 2002-09-06 Alain Castera <castera@in2p3.fr>
7821 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7822 package to set the horizontal alignment on fixed width columns.
7825 * lyx_sty.h: added tabularnewline macro def.
7827 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7829 2002-09-06 John Levon <levon@movementarian.org>
7831 * LyXAction.C: tooltips for sub/superscript
7833 * MenuBackend.C: a bit more verbose
7835 * lyxfunc.C: tiny clean
7837 * undo_funcs.C: document undo_frozen
7839 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7841 * counters.C (Counters): add missing algorithm counter.
7843 * text2.C (setCounter): lookup the counter with layouts latexname
7844 instead of by section number.
7845 (setCounter): use a hackish way to lookup the correct enum
7847 a float name->type change
7848 reset enum couners with counter name directly instead of depth value.
7850 * counters.C (Counters): remove the push_backs, change to use the
7851 float type not the float name.
7852 (labelItem): remove unused string, float name->type change
7854 * counters.h: don't include vector, loose the enums and sects vectors
7856 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7858 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7859 (Read): add float->TC_FLOAT to textclassTags
7860 (Read): and handle it in the switch
7861 (readFloat): new function
7863 * FloatList.C (FloatList): comment out the hardcoded float
7866 * lyxlayout.h: ws change.
7868 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7870 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7872 2002-09-03 Angus Leeming <leeming@lyx.org>
7874 * BufferView_pimpl.h: qualified name is not allowed in member
7875 declaration: WorkArea & Pimpl::workarea() const;
7877 * factory.C: added using std::endl directive.
7879 * text3.C: added using std::find and std::vector directives.
7881 2002-08-29 André Pönitz <poenitz@gmx.net>
7884 * text2.C: remove unused member number_of_rows
7887 * BufferView2.C: remove file, move contents to...
7888 * BufferView.C: ... here
7890 * BufferView_pimpl.C:
7891 * factory.C: move more inset creation to factory
7893 * vspace.C: avoid direct usage of LyXText, ws changes
7896 don't provide direct access to WorkArea, use two simple
7897 acessors haveSelction() and workHeight() instead
7900 2002-08-29 John Levon <levon@movementarian.org>
7902 * BufferView_pimpl.C (dispatch): do not continue when
7905 2002-08-28 André Pönitz <poenitz@gmx.net>
7907 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7910 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7912 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7914 * buffer.C: increment LYX_FORMAT to 221
7916 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7917 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7919 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7921 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7923 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7925 * factory.C (createInset): use LyXTextClass::floats
7927 * MenuBackend.C (expandFloatListInsert):
7928 (expandFloatInsert):
7931 * text2.C (setCounter):
7933 * LaTeXFeatures.C (useFloat):
7934 (getFloatDefinitions):
7936 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7938 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7939 floatlist_, with accessor floats().
7941 * FloatList.h: remove global FloatList
7943 2002-08-26 André Pönitz <poenitz@gmx.net>
7945 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7949 * BufferView_pimpl.C:
7950 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7952 2002-08-25 John Levon <levon@movementarian.org>
7954 * LyXAction.C: fix margin note description
7956 2002-08-24 John Levon <levon@movementarian.org>
7960 * bufferview_funcs.C:
7962 * undo_funcs.C: cleanups
7964 * lyxfunc.C: disable CUT/COPY when no selection
7966 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7968 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7969 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7971 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7972 Add backward compatibility to "mono", "gray" and "no".
7974 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7976 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7977 (and file_format >= 200).
7979 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7981 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7983 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7985 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7987 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7989 * BufferView_pimpl.C:
7996 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7997 inset and code to make it work with the paragraph code. The inset
7998 can be anywhere in the paragraph, but will only do the expected
7999 thing in LaTeX if the layout file contains the parameter line
8001 (or more generally, a nonzero value) for that layout.
8003 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8005 * paragraph.h: remove the declaration of undefined counters class
8008 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8010 * text2.C (setCounter): fixed enumeration mis-count as reported by
8011 Dr. Richard Hawkins.
8013 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8015 * paragraph_funcs.h: remove some unneeded includes
8017 * text.C (backspace): pasteParagraph now in global scipe
8019 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8020 (pasteSelection): ditto
8022 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8023 * paragraph_funcs.C (pasteParagraph): ... here
8025 2002-08-20 André Pönitz <poenitz@gmx.net>
8027 * commandtags.h: new LFUNs for swapping/copying table row/colums
8030 * lyxfunc.C: support for new lfuns
8032 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8035 * buffer.[Ch]: remove NO_COMPABILITY stuff
8037 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8039 * boost.C (throw_exception): new file, with helper function for
8040 boost compiled without exceptions.
8045 * ParameterStruct.h:
8046 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8048 * bufferlist.C (emergencyWriteAll): use boost bind
8050 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8052 * text.C: include paragraph_funcs.h
8053 (breakParagraph): breakParagraph is now in global scope
8055 * paragraph_funcs.[Ch]: new files
8057 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8060 * buffer.C: include paragraph_funcs.h
8061 (insertStringAsLines): breakParagraph is now in global scope
8063 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8066 * CutAndPaste.C: include paragraph_funcs.h
8067 (cutSelection): breakParagraphConservative is now in global scope
8068 (pasteSelection): ditto
8070 * buffer.h: declare oprator== and operator!= for
8071 Buffer::inset_iterator
8073 * bufferlist.C (emergencyWrite): don't use fmt(...)
8075 * text3.C: add using std::endl
8077 * BufferView.C (moveCursorUpdate): remove default arg
8079 2002-08-20 André Pönitz <poenitz@gmx.net>
8081 * buffer.[Ch]: move inline functions to .C
8084 * BufferView_pimpl.C:
8086 * buffer.[Ch]: use improved inset_iterator
8089 * paragraph.[Ch]: write one paragraph at a time
8091 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8093 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8094 style if style is not specified.
8096 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8098 * text2.C (setCounter): when searching for right label for a
8099 caption, make sure to recurse to parent insets (so that a caption
8100 in a minipage in a figure float works) (bug #568)
8102 2002-08-20 André Pönitz <poenitz@gmx.net>
8104 * text3.C: new file for LyXText::dispatch() and helpers
8106 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8108 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8110 2002-08-19 André Pönitz <poenitz@gmx.net>
8113 * text.C: new LyXText::dispatch()
8115 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8117 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8119 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8121 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8124 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8126 * Makefile.am: use $(variables) instead of @substitutions@
8128 2002-08-15 André Pönitz <poenitz@gmx.net>
8131 * BufferView_pimpl.C: streamlining mathed <-> outer world
8135 * LyXAction.C: remove unused LFUN_MATH
8137 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8141 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8143 * paragraph.C (Paragraph): reformat a bit
8144 (cutIntoMinibuffer): use builtin InsetList function instad of
8148 * buffer.C: include boost/bind.hpp, add using std::for_each
8149 (writeFileAscii): use ParagraphList iterators
8150 (validate): use for_each for validate traversal of paragraphs
8151 (getBibkeyList): use ParagraphList iterators
8152 (resizeInsets): use for_each to resizeInsetsLyXText for all
8154 (getParFromID): use ParagraphList iterators
8156 * BufferView2.C (lockInset): use paragraph list and iterators
8158 2002-08-14 John Levon <levon@movementarian.org>
8160 * lyxserver.C: remove spurious xforms include
8162 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8164 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8166 2002-08-13 André Pönitz <poenitz@gmx.net>
8169 * lyxfunc.C: further cleaning
8171 2002-08-13 André Pönitz <poenitz@gmx.net>
8173 * funcrequest.h: new constructor
8175 * funcrequest.C: move stuff here from .h
8178 * BufferView_pimpl.C:
8181 * lyxfunc.C: subsequent changes
8183 * lyxfunc.h: new view() member function
8185 * lyxfunc.C: subsequent changes
8187 2002-08-13 Angus Leeming <leeming@lyx.org>
8190 * BufferView_pimpl.C:
8198 changes due to the changed LyXView interface that now returns references
8199 to member variables not pointers.
8201 2002-08-13 Angus Leeming <leeming@lyx.org>
8203 * WordLangTuple (word, lang_code): return references to strings,
8208 * lyxtext.h: forward-declare WordLangTuple.
8213 * text.C: #include "WordLangTuple.h".
8216 * text.C: (selectNextWordToSpellcheck): constify return type.
8218 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8224 * paragraph_pimpl.h:
8227 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8229 Made updateCounter always count from start of buffer, and removed
8230 second argument (par).
8231 Reverted floats number display to '#'. Perhaps I'll try again when the
8232 code base is sanitized a bit.
8234 2002-08-12 Angus Leeming <leeming@lyx.org>
8236 * buffer.[Ch] (getLabelList): constify.
8238 2002-08-07 André Pönitz <poenitz@gmx.net>
8240 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8242 * funcrequest.h: extension to keep mouse (x,y) position
8244 2002-08-12 Juergen Vigna <jug@sad.it>
8246 * BufferView2.C (insertErrors): forbid undo when inserting error
8249 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8251 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * ParagraphList.[Ch]: new files
8255 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8257 * BufferView2.C (lockInset): ParagraphList changes
8260 * bufferlist.C: ditto
8264 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8266 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8267 unused class variable counter_,
8269 * paragraph.[Ch] (getFirstCounter): delete unused function
8271 * counters.C: include LAssert.h
8272 (reset): add a new function with no arg, change other version to
8273 not have def. arg and to not allow empty arg.
8275 * text2.C (setCounter): remove empty arg from call to Counters::reset
8277 2002-08-11 John Levon <levon@movementarian.org>
8279 * Makefile.am: add WordLangTuple.h
8281 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8283 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8284 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8286 * insets/insettext.C: InsetList changes
8288 * graphics/GraphicsSupport.C (operator()): InsetList changes
8290 * toc.C (getTocList): InsetList changes
8292 * paragraph_pimpl.[Ch]: InsetList changes
8294 * paragraph.[Ch]: InsetList changes
8296 * buffer.C (inset_iterator): InsetList changes
8297 (setParagraph): ditto
8298 * buffer.h (inset_iterator): ditto
8299 * iterators.C (operator++): ditto
8300 * iterators.h: ditto
8302 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8304 * InsetList.[Ch]: new files, most InsetList handling moved out of
8307 * BufferView2.C (removeAutoInsets): InsetList changes
8309 (ChangeInsets): ditto
8311 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * paragraph_pimpl.h (empty): new function
8315 * paragraph.[Ch] (empty): new function
8317 * other files: use the new Paragraph::empty function
8319 2002-08-09 John Levon <levon@movementarian.org>
8321 * lyxtext.h: remove unused refresh_height
8323 2002-08-09 John Levon <levon@movementarian.org>
8330 * paragraph.C: move sgml char escaping out of paragraph
8333 * paragraph.C: remove id setter
8337 * paragraph_pimpl.C: remove dead tex_code_break_column
8339 * bufferview_funcs.C: small cleanup
8341 * lyxfunc.C: remove dead proto
8343 * lyxtext.h: make some stuff private. Remove some dead stuff.
8345 * lyxgluelength.C: make as[LyX]String() readable
8347 2002-08-08 John Levon <levon@movementarian.org>
8352 * ToolbarDefaults.C:
8355 * toc.C: lyxaction cleanup
8357 2002-08-08 John Levon <levon@movementarian.org>
8359 * BufferView2.C: small cleanup
8362 * lyxfind.C: move unnecessary header into the .C
8364 2002-08-08 John Levon <levon@movementarian.org>
8366 * funcrequest.h: just tedious nonsense
8369 * lyx_main.C: cleanups
8372 * vspace.C: remove dead header lyx_main.h
8374 2002-08-07 Angus Leeming <leeming@lyx.org>
8377 * paragraph_pimpl.h:
8378 Forward declare class Counters in paragraph.h by moving the ctrs member
8379 variable into Paragraph::Pimpl.
8380 (counters): new method, returning a reference to pimpl_->ctrs.
8382 * text2.C: ensuing changes.
8384 2002-08-07 John Levon <levon@movementarian.org>
8386 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8388 * BufferView_pimpl.C: announce X selection on double/triple
8391 * lyx_main.C: use correct bool in batch dispatch
8393 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8395 2002-08-07 André Pönitz <poenitz@gmx.net>
8397 * funcrequest.h: new class to wrap a kb_action and its argument
8400 * BufferView_pimpl[Ch]:
8404 * lyxrc.C: subsequent changes
8407 2002-08-07 John Levon <levon@movementarian.org>
8409 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8410 document options change.
8412 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8417 * makefile.am: move counters functionality over from
8418 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8420 2002-08-06 John Levon <levon@movementarian.org>
8422 * WordLangTuple.h: new file for word + language code tuple
8433 * BufferView2.C: use WordLangTuple
8436 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8438 2002-08-06 John Levon <levon@movementarian.org>
8440 * lyx_main.C: fix cmdline batch handling
8442 2002-08-06 André Pönitz <poenitz@gmx.net>
8444 * lyxrc.C: set default for show_banner to true
8446 2002-08-06 John Levon <levon@movementarian.org>
8448 * pspell.C: fix a crash, and allow new aspell to work
8450 2002-08-06 John Levon <levon@movementarian.org>
8453 * kbmap.C: small cleanup
8456 * vspace.C: add const
8458 2002-08-05 John Levon <levon@movementarian.org>
8460 * LyXAction.C: back to tabular-insert
8462 2002-08-04 John Levon <levon@movementarian.org>
8465 * BufferView.C: cosmetic change
8467 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8477 * BufferView2.C: purge all "Lyx" not "LyX" strings
8480 * lyxcursor.C: attempt to add some documentation
8485 * ToolbarDefaults.C:
8486 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8487 merge with LFUN_TABULAR_INSERT
8494 * pspell.C: split up i/pspell implementations into separate
8495 files, many cleanups
8497 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8499 * text2.C: some cleanup
8501 * lyxfunc.C: don't check for isp_command == "none" any more, it
8502 didn't make any sense
8504 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8509 * makefile.am: move counters functionality over
8510 from text2.C/paragraph.[Ch] to counters.[Ch], and
8512 2002-08-02 John Levon <levon@movementarian.org>
8514 * buffer.C: s/lyxconvert/lyx2lyx/
8516 2002-08-02 Angus Leeming <leeming@lyx.org>
8518 * lyxlex.C: revert John's change as it breaks reading of the user
8521 2002-08-02 Angus Leeming <leeming@lyx.org>
8523 * importer.C (Import):
8524 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8525 changes due to LyXView::view() now returning a boost::shared_ptr.
8527 2002-08-02 John Levon <levon@movementarian.org>
8529 * lyxlex.C: small cleanup
8531 2002-08-02 John Levon <levon@movementarian.org>
8533 * text2.C (status): small cleanup, no logic change
8535 2002-08-01 John Levon <levon@movementarian.org>
8538 * buffer.C (writeFile): don't output alerts, caller
8542 * lyx_cb.C: from above
8544 * lyxfunc.C: allow to open non-existent files
8546 2002-07-31 John Levon <levon@movementarian.org>
8548 * lyxserver.C: don't let incidental errors get
8551 2002-07-30 John Levon <levon@movementarian.org>
8553 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8555 2002-07-30 John Levon <levon@movementarian.org>
8558 * lyxserver.C: remove I/O callback too
8560 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8562 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8565 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8567 * many files: strip,frontStrip -> trim,ltrim,rtrim
8569 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8571 * PrinterParams.h: remove extern containsOnly, and include
8572 support/lstrings.h instead.
8574 * LaTeX.C (scanAuxFile): modify because of strip changes
8576 * buffer.C (makeLaTeXFile): ditto
8577 * bufferparams.C (writeFile): ditt
8578 * lyxfont.C (stateText): ditto
8579 * lyxserver.C (read_ready): ditto
8580 * vc-backend.C (scanMaster): ditto
8582 * BufferView_pimpl.h: ws changes
8584 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8586 2002-07-26 André Pönitz <poenitz@gmx.net>
8588 * kb_sequence.C: remove unnedred usings
8590 2002-07-26 Juergen Vigna <jug@sad.it>
8592 * lyxfind.C (LyXReplace): we have to check better if the returned
8593 text is not of theLockingInset()->getLockingInset().
8595 2002-07-25 Juergen Vigna <jug@sad.it>
8597 * lyxfind.C (LyXReplace): don't replace if we don't get the
8600 * undo_funcs.C (createUndo): remove debugging code.
8602 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8604 * buffer.C (parseSingleLyXformat2Token): Use default placement
8605 when reading old floats.
8607 * FloatList.C (FloatList): Change the default placement of figure
8608 and tables to "tbp".
8610 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8612 * MenuBackend.C: using std::max
8614 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8616 * MenuBackend.C (expandToc):
8617 (expandToc2): code moved from xforms menu frontend. It is now
8618 generic and TOCs are transparent to menu frontends.
8620 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8622 * toc.C (getTocList): protect against buf=0
8624 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8625 Menu as first parameter. Now, this calls itself recursively to
8626 expand a whole tree (this will be useful for TOC handling)
8627 (expandFloatInsert): remove 'wide' version of floats
8629 * MenuBackend.h (submenuname): returns the name of the submenu.
8630 (submenu): returns the submenu itself, provided it has been
8631 created by MenuBackend::expand
8633 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8635 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8636 insets which have noFontChange == true. (bug #172)
8638 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8640 * BufferView_pimpl.C: add connection objects and use them...
8643 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8645 * MenuBackend.C (expandLastfiles):
8648 (expandFloatListInsert):
8649 (expandFloatInsert):
8650 (expand): split expand in parts
8652 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8654 * lyx_gui.C: use lyx_gui::exit()
8656 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8658 * LyXAction.C: show the failing pseudo action
8660 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8662 * buffer.C (readFile): Run the lyxconvert script in order to read
8665 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8669 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8671 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8675 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8677 2002-07-22 Herbert Voss <voss@lyx.org>
8680 * lyxlength.[Ch]: add support for the vertical lengths
8682 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8684 * toc.[Ch]: std:: fixes
8686 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8688 * lyxrc.C: do not include lyx_main.h
8690 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8696 * BufferView2.C: include "lyxlex.h"
8699 * bufferparams.h: do not #include "lyxlex.h"
8701 * lyxtextclasslist.C (Add): remove method
8702 (classlist): renamed to classlist_
8704 * paragraph_pimpl.C:
8708 * bufferview_funcs.C:
8713 * toc.C (getTocList): use BufferParams::getLyXTextClass
8715 * toc.C (getTocList): use InsetFloat::addToToc
8717 * toc.[Ch]: new files, containing helper functions to handle table
8720 * lyxfunc.C (dispatch): no need to remove spaces around command
8722 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8723 first command of the sequence; it is not very clever, but I do not
8724 have a better idea, actually
8726 * LyXAction.C (LookupFunc): make sure to remove space at the
8727 beginning and end of the command
8729 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8731 * MenuBackend.C (getMenubar): new method: return the menubar of
8733 (read): treat differently reading of menu and menubar (in
8734 particular, the menubar has no name now)
8735 (Menu::menubar): remove
8737 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8740 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8742 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8743 a bibitem inset in a RTL paragraph.
8745 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8747 * paragraph_pimpl.C: constify
8749 * BufferView_pimpl.C:
8751 * lyxfunc.C: fix dispatch in a nicer way
8753 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8755 * lyxfunc.C (dispatch):
8756 * BufferView_pimpl.C:
8757 * BufferView_pimpl.h:
8759 * BufferView.h: rename Dispatch() to dispatch()
8761 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8763 * lyxlayout.C (Read): honor DependsOn tag
8765 * lyxlayout.[Ch] (depends_on): new method
8767 * version.C.in: update lyx_docversion
8769 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8771 * paragraph.C (validate): remove from here...
8772 * paragraph_pimpl.C (validate): ... and move here
8773 (isTextAt): make it const
8775 * buffer.C (getLists): ws cleanup
8777 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8779 * language.C (read): Use iso8859-1 encoding in latex_lang
8780 (this prevents LyX from crashing when using iso10646-1 encoding).
8782 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8784 * text2.C (toggleInset): if cursor is inside an inset, close the
8785 inset and leave cursor _after_ it
8787 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8789 * lyxfunc.C: move minibuffer completion handling out of here
8791 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8793 * BufferView_pimpl.C:
8794 * LaTeX.C: fix dispatch calls
8796 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8798 * text.C (drawChars): Fix Arabic text rendering.
8800 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8804 * lyxfunc.C: remove message-push/pop
8808 * lyxfunc.C: rationalise some code by removing verboseDispatch
8809 in favour of a bool argument to dispatch()
8811 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8813 * lyx_main.C (init): make sure to read symlinks as absolute paths
8815 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8818 * lyxfunc.C: no need for commandshortcut to be a member
8820 2002-07-15 André Pönitz <poenitz@gmx.net>
8822 * converter.C: add support for $$s (scripts from lib/scripts dir)
8823 * lyx_main.C: white space
8825 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8829 * lyxrc.C: remove second exit confirmation
8831 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8836 * BufferView_pimpl.h:
8837 * BufferView_pimpl.C:
8838 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8840 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8842 * MenuBackend.C (expand): add numeric shortcuts to document menu
8844 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8846 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8848 * lyxfont.C (setLyXFamily):
8855 * buffer.C (asciiParagraph): use ascii_lowercase
8857 2002-07-15 Mike Fabian <mfabian@suse.de>
8859 * lyxlex_pimpl.C (search_kw):
8860 * lyxlex.C (getLongString):
8861 * converter.h (operator<):
8862 * converter.C (operator<):
8863 * buffer.C (parseSingleLyXformat2Token):
8865 * ToolbarDefaults.C (read):
8866 * MenuBackend.C (checkShortcuts):
8868 * LColor.C (getFromGUIName):
8869 (getFromLyXName): use the compare_ascii_no_case instead of
8870 compare_no_case, because in turkish, 'i' is not the lowercase
8871 version of 'I', and thus turkish locale breaks parsing of tags.
8873 2002-07-16 Angus Leeming <leeming@lyx.org>
8875 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8876 now takes a Buffer const & argument.
8878 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8880 * BufferView.C (resize): check there's a buffer to resize
8882 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8884 * lyxfunc.C: remove dead code
8887 * lyxserver.C: use lyx_guii::set_read_callback
8889 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8891 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8892 an inset in a RTL paragraph.
8894 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8896 * lyxfunc.C: repaint after a font size update
8898 2002-07-15 André Pönitz <poenitz@gmx.net>
8900 * lyxlength.C: inBP should be able to return negative values
8902 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8904 * lyxfunc.C: use lyx_gui::update_fonts()
8906 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8908 * lyxfunc.C: use lyx_gui::update_color()
8910 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8916 * lyxrc.C: remove file->new asks for name option, and let
8917 buffer-new take an argument
8919 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8921 * BufferView_pimpl.C: remove unneeded extra repaint()
8923 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8925 * LyXAction.C: allow command-sequence with NoBuffer
8927 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8929 2002-07-10 Angus Leeming <leeming@lyx.org>
8931 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8933 2002-07-09 Angus Leeming <leeming@lyx.org>
8935 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8937 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8939 * lengthcommon.h: whitespace
8941 * lyxfunc.C: update scrollbar after goto paragraph
8943 * lyxtext.h: factor out page break drawing, and fix it so
8944 page break/added space paints as selected nicely
8946 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8948 * BufferView_pimpl.C: add FIXMEs, clean up a little
8950 2002-07-09 André Pönitz <poenitz@gmx.net>
8952 * lyxfont.[Ch]: support for wasy symbols
8954 2002-07-08 André Pönitz <poenitz@gmx.net>
8956 * BufferView_pimpl.C: apply John's patch for #93.
8958 2002-07-05 Angus Leeming <leeming@lyx.org>
8960 * BufferView_pimpl.C (buffer): generate previews if desired.
8962 * LColor.h: add "preview" to the color enum.
8964 * LColor.C (LColor): add a corresponding entry to the items array.
8966 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8969 2002-07-05 Angus Leeming <leeming@lyx.org>
8971 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8972 The body of the code is now in the method that is passed an ostream &
8973 rather than a file name.
8974 Pass an additional only_preamble parameter, useful for the forthcoming
8977 2002-07-03 André Pönitz <poenitz@gmx.net>
8979 * lyxfunc.C: simplify getStatus() a bit for math stuff
8981 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8983 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8985 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8987 * text.C (changeRegionCase): do not change case of all the
8988 document when region ends at paragraph end (bug #461)
8990 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8992 * paragraph.C (startTeXParParams):
8993 (endTeXParParams): add \protect when necessary
8995 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8997 * BufferView_pimpl.C (workAreaExpose): remove warning
8999 2002-06-27 Angus Leeming <leeming@lyx.org>
9001 * Makefile.am: add lyxlayout_ptr_fwd.h.
9003 2002-06-26 André Pönitz <poenitz@gmx.net>
9005 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9007 2002-06-25 Angus Leeming <leeming@lyx.org>
9009 * lyxfunc.C (dispatch): Comment out the call to
9010 grfx::GCache::changeDisplay. The method no longer exists now that the
9011 pixmap generation part of the graphics loader has been moved into
9014 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9016 * text2.C: layout as layout
9018 * text.C: layout as layout
9020 * tabular.C (OldFormatRead): layout as layout
9022 * paragraph_pimpl.C (TeXDeeper): layout as layout
9023 (realizeFont): layout as layout
9025 * paragraph.C (writeFile): layout as layout
9026 (validate): layout as layout
9027 (getFont): layout as layout
9028 (getLabelFont): layout as layout
9029 (getLayoutFont): layout as layout
9030 (breakParagraph): layout as layout
9031 (stripLeadingSpaces): layout as layout
9032 (getEndLabel): layout as layout
9033 (getMaxDepthAfter): layout as layout
9034 (applyLayout): layout as layout
9035 (TeXOnePar): layout as layout
9036 (simpleTeXOnePar): layout as layout
9037 (TeXEnvironment): layout as layout
9038 (layout): layout as layout
9039 (layout): layout as layout
9041 * lyxtextclass.C (compare_name): new functor to work with
9042 shared_ptr, layout as layout
9043 (Read): layout as layout
9044 (hasLayout): layout as layout
9045 (operator): layout as layout
9046 (delete_layout): layout as layout
9047 (defaultLayout): layout as layout
9049 * lyxlayout_ptr_fwd.h: new file
9051 * lyxlayout.C (Read): layout as layout
9053 * lyx_cb.C (MenuInsertLabel): layout as layout
9055 * bufferlist.C (newFile): layout as layout
9057 * buffer.C (readLyXformat2): layout as layout
9058 (parseSingleLyXformat2Token): layout as layout
9059 (insertStringAsLines): layout as layout
9060 (asciiParagraph): layout as layout
9061 (latexParagraphs): layout as layout
9062 (makeLinuxDocFile): layout as layout
9063 (simpleLinuxDocOnePar): layout as layout
9064 (makeDocBookFile): layout as layout
9065 (simpleDocBookOnePar): layout as layout
9066 (getLists): layout as layout
9068 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9070 * CutAndPaste.C (cutSelection): layout as layout
9071 (pasteSelection): layout as layout
9072 (SwitchLayoutsBetweenClasses): layout as layout
9074 * BufferView_pimpl.C (Dispatch): layout as layout
9075 (smartQuote): layout as layout
9077 * BufferView2.C (unlockInset): layout as layout
9079 2002-06-24 André Pönitz <poenitz@gmx.net>
9081 * lyxfunc.C: fix #487
9083 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9087 * lyxfunc.C: remove display_shortcuts, show_banner
9089 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9091 * Buffer_pimpl.C: oops, update on resize
9093 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9100 * BufferView.C: use repaint()
9102 * BufferView_pimpl.h:
9103 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9104 as it's a clearer description. Remove superfluous
9107 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9109 * text.C: fix bug 488. Not ideal, but getting
9110 getWord() to work properly for the insets that
9111 matter is more difficult ...
9113 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9115 * BufferView_pimpl.C:
9118 * lyxfunc.C: remove the six million index lyxfuncs to just
9119 one, and DTRT (bug 458)
9121 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9125 * BufferView_pimpl.h:
9126 * BufferView_pimpl.C: clean up resize() stuff,
9127 and unnecessary updateScreen()s
9129 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9133 * BufferView_pimpl.h:
9134 * BufferView_pimpl.C:
9137 * minibuffer.C: remove focus management of workarea,
9138 not needed. Use screen's greyOut()
9140 2002-06-17 Herbert Voss <voss@lyx.org>
9142 * converter.C: (convert) do not post a message, when converting
9143 fails, let the calling function decide what to do in this case
9145 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9147 * lyxfunc.C: tidy up a little
9149 2002-06-16 <alstrup@diku.dk>
9151 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9152 Got rid of FORMS_H_LOCATION include. Now we are
9155 2002-06-15 LyX Development team <lyx@rilke>
9157 * buffer.[Ch] (sgmlOpenTag):
9158 (sgmlCloseTag): Added support for avoiding pernicious mixed
9159 content. Return number of lines written.
9162 (makeDocBookFile): Fixed calls to sgml*Tag.
9163 Simple white space clean.
9165 (simpleDocBookOnePar): Simple white space clean.
9167 * tabular.[Ch] (docBook): Renamed to docbook and got another
9168 argument to related with the pernicious mixed content.
9170 (docbookRow): Fixed calls for docbook inset method.
9172 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9174 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9175 so it's X11 independent.
9179 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9181 2002-06-15 Lyx Development team <lyx@electronia>
9183 * intl.h: Renamed getTrans to getTransManager.
9185 2002-06-14 Angus Leeming <leeming@lyx.org>
9187 * Makefile.am: nuke forgotten stl_string_fwd.h.
9189 2002-06-12 Angus Leeming <leeming@lyx.org>
9191 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9193 2002-06-13 Angus Leeming <leeming@lyx.org>
9196 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9198 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9200 * kbmap.C (getiso): add support for cyrillic and greek
9202 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9206 * BufferView_pimpl.h:
9207 * BufferView_pimpl.C: move bogus scrolling logic
9210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9213 * BufferView_pimpl.C: view->resize() change
9215 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9217 * BufferView_pimpl.C: topCursorVisible
9220 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9224 * lyx_gui.C: move to frontends/
9228 * lyx_main.C: changes from above
9230 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9237 * lyx_main.C: minor tidy
9239 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9241 * BufferView_pimpl.h:
9242 * BufferView_pimpl.C:
9244 * BufferView.C: make painter() const,
9247 * BufferView2.C: use screen() accessor
9250 * lyx_main.C: some minor cleanup
9252 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9254 * BufferView_pimpl.h:
9255 * BufferView_pimpl.C: remove enter/leaveView,
9258 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9263 * BufferView_pimpl.h:
9264 * BufferView_pimpl.C: only construct screen once,
9267 * lyxrc.C: remove pointless comment
9269 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9272 * BufferView.C: remove active() and belowMouse()
9274 * BufferView_pimpl.h:
9275 * BufferView_pimpl.C: use workarea() not workarea_,
9276 and make it use a scoped_ptr instead
9278 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9280 * lyx_gui.C: add debug message on BadWindow
9282 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9284 * sp_spell.C: fdopen is not part of the C++ standard.
9286 * paragraph.C (InsetIterator): use >= instead of ==
9288 2002-06-07 Angus Leeming <leeming@lyx.org>
9290 Fixes needed to compile with Compaq cxx 6.5.
9291 * BufferView_pimpl.C:
9298 * lyxtextclasslist.C:
9303 all c-library variables have been moved into namespace std. Wrap
9304 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9309 Add a using std::abs declaration.
9311 * kbmap.h (modifier_pair):
9312 * paragraph.h (InsetTable, InsetList):
9313 * lyxfont.h (FontBits):
9314 type definition made public.
9316 * bufferlist.C (emergencyWriteAll): the compiler complains that
9317 there is more than one possible lyx::class_fun template to choose from.
9318 I re-named the void specialisation as lyx::void_class_fun.
9320 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9322 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9323 the compiler is is unable to find tostr in write_attribute.
9325 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9327 * buffer.C (sgmlError): hide #warning
9329 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9331 * xtl/*: get rid of xtl, which is not in use anyway
9333 * LyXAction.C (init):
9334 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9335 were unimplemented xtl experimentation
9337 2002-06-04 André Pönitz <poenitz@gmx.net>
9339 * lyxfunc.C: disable array operation on simple formulae
9341 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9343 * converter.C: constify a bit
9345 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9347 * lyx_gui.C: check xforms version correctly
9349 2002-04-30 Herbert Voss <voss@lyx.org>
9351 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9354 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9356 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9357 attempt to register it with a VCS)
9359 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9361 * lyx_main.C (init): honor variables LYX_DIR_13x and
9364 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9368 * lyx_main.C: fix a crash on bad command line,
9369 and give a useful exit status on error
9371 * lyxfunc.C (doImport): allow -i lyx to work
9373 2002-03-30 André Pönitz <poenitz@gmx.net>
9375 * lyxfunc.C: mathed font changes
9377 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9392 * trans_mgr.h: srcdocs, and some minor cleanups
9394 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9396 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9397 call getFont all the time)
9399 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9401 * switch from SigC signals to boost::signals
9403 2002-05-29 André Pönitz <poenitz@gmx.net>
9405 * paragraph_pimpl.C (getChar): don't call size() too often...
9407 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9409 * paragraph_pimpl.C (insertChar): do not try to update tables when
9410 appending (pos == size())
9412 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9413 in order to reduce drastically the number of comparisons needed to
9414 parse a large document
9416 2002-05-29 André Pönitz <poenitz@gmx.net>
9422 * textclasslist.[Ch]:
9423 * sp_ispell.h: whitespace change
9425 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9427 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9428 lyxaction directly now.
9430 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9434 * lyxvc.C: remove unused headers
9436 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9443 * undo_funcs.C: some cleanups. Use shared_ptr
9444 and a template for the undo stacks.
9446 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9448 * BufferView_pimpl.h:
9449 * BufferView_pimpl.C:
9456 * text2.C: use key_state/mouse_state
9458 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9460 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9463 * chset.C: change include order
9464 (loadFile): use boost regex and get rid of LRegex and LSubstring
9466 * Makefile.am (BOOST_LIBS): new variable
9469 * LaTeX.C: change include order.
9470 (scanAuxFile): use boost regex and get rid of LRegex and
9474 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9479 * FontInfo.C: moved to frontends/xforms/
9482 * FontLoader.C: moved into frontends for GUIIzation
9487 * lyxfunc.C: changes from above
9489 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9491 * LColor.C: remove spurious X include
9493 * BufferView_pimpl.C:
9498 * text2.C: move font metrics to frontends/
9500 2002-05-24 Juergen Vigna <jug@sad.it>
9502 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9503 setting the undo_cursor.
9505 * ParagraphParameters.h: include local includes first.
9507 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9509 * BufferView_pimpl.C:
9510 * BufferView_pimpl.h:
9514 * screen.C: move WorkArea into frontends/
9520 * BufferView2.C: move LyXScreen into frontends/
9524 * lyx_gui.C: move lyxlookup into frontends/xforms/
9526 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9529 * BufferView_pimpl.C:
9539 * bufferview_funcs.C:
9552 * vc-backend.C: move LyX/XFormsView into frontends/
9554 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9566 * text2.C: move Painter to frontends/
9568 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9570 * buffer.C: comment out some some code that depend upon lyx_format
9573 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9574 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9576 * buffer.h (NO_COMPABILITY): turn off compability
9578 * ColorHandler.C: include scoped_array.hpp
9580 * font.C: Use more specific smart_ptr header.
9583 * ShareContainer.h: ditto
9587 * BufferView_pimpl.h: ditto
9588 * ColorHandler.h: ditto
9590 * kbmap.C (defkey): change call to shared_ptr::reset
9592 2002-05-21 Juergen Vigna <jug@sad.it>
9594 * buffer.C (insertErtContents): fix to insert ert asis if it is
9595 non empty. Skip it completely if it contains only whitespaces.
9597 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9599 * BufferView_pimpl.C:
9600 * BufferView2.C: clear selection on paste (bug 393)
9602 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * DepTable.C: include ctime
9606 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9608 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9610 2002-05-14 Juergen Vigna <jug@sad.it>
9612 * text.C (breakParagraph): fixed function to honor the keepempty
9613 layout in the right maner and also to permit the right breaking
9614 algorithm on empty or non empyt keepempty paragraphs.
9616 * paragraph.C (breakParagraph): we have to check also if the par
9617 is really empty (!size()) for isempty otherwise we do the wrong
9620 2002-05-10 Juergen Vigna <jug@sad.it>
9622 * buffer.[Ch] : The following are only changes to the ert
9623 compatibility read reading old LaTeX layout and font stuff and
9624 convert it to ERTInsets.
9626 * buffer.h: added isErtInset().
9628 * buffer.C (struct ErtComp): add a fromlayout bool to check
9629 if we're inside a LaTeX layout.
9630 (isErtInset): new helper function.
9631 (insertErtContents): look for other ert insets before this one
9632 and insert the contents there, so that we don't have subsequent
9633 ERT insets with nothing between them. This way we create only one
9634 inset with multiple paragraphs. Also check if we don't insert only
9635 spaces ' ' as they are ignored anyway afterwards in the .tex file
9636 so if we have only spaces we will ignore this latex part in the
9638 (parseSingleLyXformat2Token \\layout): better compatibility when
9639 reading layout-latex stuff.
9640 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9642 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9643 stuff after reading the inset only get the information back from
9646 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9648 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9650 * LaTeXFeatures.C (getBabelOptions): New method.
9652 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9654 * BufferView_pimpl.C (Dispatch): work around missing argument for
9657 2002-05-08 Juergen Vigna <jug@sad.it>
9659 * text.C (leftMargin): handle paragraph leftindent.
9661 * paragraph.C (writeFile): write the new \\leftindent tag.
9662 (validate): handle leftindent code.
9663 (TeXEnvironment): handle paragraphleftindent code again.
9665 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9667 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9668 for paragrap_extra indent code and new token \\leftindent.
9669 (latexParagraphs): handle the leftindent as environment.
9671 * ParameterStruct.h: added leftindent support.
9673 * ParagraphParameters.C (leftIndent): added support functions for
9674 the paragraph left indent.
9676 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9679 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9681 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9684 * text.C (computeBidiTables): No bidi in insetERT.
9686 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9689 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9691 * version.C.in: pre 5
9693 2002-05-02 José Matos <jamatos@fep.up.pt>
9694 * buffer.C (makeDocBookFile): white space changes, add newline to
9696 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9698 * tabular.C (docBook): fix typo.
9700 2002-05-03 Juergen Vigna <jug@sad.it>
9702 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9703 change in LyXText as we can not be sure it was not freed.
9704 (drawOneRow): remove unused code.
9706 * text.C (drawInset): redo the calculation of the need_break_row as
9707 it could have a row which was already freed.
9708 (draw): look at the return value of drawInset and return false if
9709 it also returned false.
9710 (paintRowText): look at the return value of draw and return false if
9711 it also returned false.
9713 * lyxtext.h: added bool return type to drawInset() and draw() so that
9714 if we have a change in the row so that the rowbreak has to be redone
9715 we abort drawing as it will be called again.
9717 2002-05-02 Juergen Vigna <jug@sad.it>
9719 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9720 a change in the maintext also if we're inside an inset.
9721 (Dispatch): set the cursor again after a break line and after the
9722 screen has been updated as it could be we're in a different row.
9724 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9725 to set the cursor behind the pargraph with > size().
9726 (setCursor): check also for the same paragraph when checking where
9727 to put the cursor if we have a NFR inset.
9729 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9730 parts of layout read further up as it still was in the wrong
9733 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9735 * screen.C (drawFromTo): change sine fullRebreak always return
9738 * buffer.C (parseSingleLyXformat2Token): reindent some
9740 * BufferView_pimpl.C (update): change since fullRebreak always
9742 (Dispatch): git rid of the last hardcoded "Standard"s.
9744 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9746 * text2.[Ch] (fullRebreak): make it return void now that we always
9749 2002-04-30 Juergen Vigna <jug@sad.it>
9751 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9752 ert compatibility check for "latex" layout.
9754 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9756 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9757 minipages: use col% instead of p%, and also use the current font.
9758 (makeLaTeXFile): Fix use babel condition.
9759 (parseSingleLyXformat2Token): Correct font when reading old floats.
9761 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9763 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9764 inserting list of floats.
9766 2002-04-25 Herbert Voss <voss@lyx.org>
9768 * MenuBackend.C (expand): don't add the graphics extensions to the
9771 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9774 non-existing layout, do not complain if it was the default layout
9775 of the original class (bug #342)
9777 2002-04-24 Juergen Vigna <jug@sad.it>
9779 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9780 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9782 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9784 * buffer.C (getBibkeyList): If using \bibliography, return the
9785 option field with the reference itself. Enables us to provide natbib
9786 support when using \bibliography.
9788 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9790 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9792 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9793 natbib is provided by the LaTeX class.
9795 2002-04-23 Juergen Vigna <jug@sad.it>
9797 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9800 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9802 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9806 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9807 ensuremath around textordmasculine, textordfeminine and
9810 2002-04-19 Juergen Vigna <jug@sad.it>
9812 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9813 reinitializing the buffer otherwise row-dimensions may be wrong.
9814 (update): reset also the selection cursors if they do exits otherwise
9815 their x/y positions may be wrong.
9817 * text2.C (cursorDown): don't enter the inset if we came from a row
9818 above and are one row over the inset.
9820 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9821 really leaving an inset.
9823 2002-04-18 Juergen Vigna <jug@sad.it>
9825 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9826 of the selected paragraph does not have the selected layout also if
9829 * text2.C (setLayout): fixed bug which did not change last selected
9832 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9833 changed the read and substituted \\end_float with \\end_inset!
9835 * BufferView_pimpl.C (cursorPrevious):
9836 (cursorNext): fixed to make it work with rows heigher than the work
9837 area without moving the cursor only the draw of the row.
9838 (workAreaMotionNotify): fix jumping over high rows.
9840 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9842 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9845 2002-04-16 Juergen Vigna <jug@sad.it>
9847 * text2.C (setCursor): set also the irow().
9848 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9850 (cursorDown): support for locking an inset if the x_fix value goes
9851 inside it. That way I can transverse insets too with cursor up/down.
9853 * lyxrow.h: added irow helper function same as other (i) functions.
9855 * BufferView_pimpl.C (cursorPrevious):
9856 (cursorNext): fixed for insets!
9858 2002-04-15 Juergen Vigna <jug@sad.it>
9860 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9861 position otherwise it is wrong in some cases.
9863 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9864 inside the inset before the call.
9866 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9868 * buffer.[Ch] (getBibkeyList): make it const.
9870 2002-04-12 Juergen Vigna <jug@sad.it>
9872 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9874 * text2.C (getCursorX): new helper function
9875 (setCursor): compute also ix_
9876 (setCursorFromCoordinates): set also ix.
9878 * lyxcursor.h: added ix_ and helper functions.
9880 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9882 * buffer.C (insertStringAsLines): dont break paragraph if the this
9883 paragraph is inside an inset which does not permit it!
9885 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9886 also with no chars on this paragraph.
9887 (paintRowText): only paint stuff if it's inside the workarea!
9889 * paragraph.C (breakParagraph): honor keepempty flag and break the
9890 paragraph always below not above.
9892 * BufferView2.C (unlockInset): update the paragraph layout on inset
9893 unlock as we changed paragraph in such a case.
9895 * lyxfind.C (LyXFind): clear the former selection if not found!
9897 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9898 again called in insertChar().
9900 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9901 an inset which uses the whole row!
9902 (rightMargin): ditto.
9903 (insertChar): force a rebreak if we inserted an inset!
9905 2002-03-28 Herbert Voss <voss@lyx.org>
9907 * lyxlength.[Ch]: add inBP() to get the right PS-point
9908 units (BigPoint). With inPixels we have rounding errors
9910 2002-04-11 Juergen Vigna <jug@sad.it>
9912 * text2.C (setCursorFromCoordinates): set iy to the right value.
9913 (setCursor): add check if row->previous exists!
9915 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9916 an old float_type as this was the case in the old code!
9918 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9920 * BufferView2.C (showLockedInsetCursor): use iy
9921 (fitLockedInsetCursor): ditto
9923 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9924 locked insets as there we have the right value now.
9926 * lyxcursor.C: added iy_ variable and iy functions to set to the
9927 baseline of cursor-y of the locked inset.
9929 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9930 (setCursor): fixed for insets which need a full row.
9932 * text.C (rowLastPrintable): don't ignore the last space when before
9933 an inset which needs a full row.
9934 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9935 as last character of a row when before a inset which needs a full row.
9937 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9939 * version.C.in: update date
9941 * text2.C (fullRebreak): try to always return true and see what
9944 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9946 * MenuBackend.C (expand): use Floating::listName
9948 * FloatList.C (FloatList): add listName argument to the built-in
9951 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9952 text associated with the float.
9954 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9958 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9960 * ShareContainer.h: add a couple of missing typenames.
9962 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9964 * lyxrc.C (getDescription): use _() correctly rather than N_().
9966 2002-03-28 Herbert Voss <voss@lyx.org>
9968 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9969 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9971 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9973 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9974 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9976 2002-03-29 Juergen Vigna <jug@sad.it>
9978 * lyxfunc.C (dispatch): add a missing fitCursor call.
9980 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9981 it was scrolled by a cursor move, so return the bool status.
9983 * BufferView.C (fitCursor): return the bool flag also to the outside
9984 world as this is needed.
9986 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9988 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9989 call the edit() as it is not needed (and wrong) IMO.
9990 (workAreaButtonPress): set the screen_first variable before evt.
9991 unlock the inset as this may change screen_first and then we have
9992 a wrong y position for the click!
9994 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9996 * MenuBackend.C (expand): another translation that I missed
9998 2002-03-28 Juergen Vigna <jug@sad.it>
10000 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10002 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10004 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10006 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10008 * MenuBackend.C (expand): fix export/view/update when there is no
10011 2002-03-27 Herbert Voss <voss@lyx.org>
10013 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10016 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10018 * bufferview_funcs.C (currentState): only show paragraph number
10019 for is DEVEL_VERSION is set.
10021 * lyxfunc.C (dispatch): put warning in INFO channel
10023 * MenuBackend.C (expand): translate the name of floats
10025 * FloatList.C (FloatList): mark the float names for translation
10027 * converter.C (convert): use LibScriptSearch
10029 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10031 * MenuBackend.C (defaults): fix default menu (we might as well get
10034 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10036 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10039 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10041 * lyxvc.C: reorder includes.
10043 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10045 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10048 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10050 * CutAndPaste.C: change layouts earlier on paste
10051 to avoid crashing when calling getFont()
10053 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10055 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10058 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10060 * WorkArea.C: remove 'Pending' debug message.
10062 * most files: ws cleanup
10064 * buffer.[Ch]: ws changes
10066 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10068 2002-03-21 Juergen Vigna <jug@sad.it>
10070 * tabular.C (SetMultiColumn): collapse also the contents of the
10071 cells and set the last border right. Added a Buffer const * param.
10073 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10075 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10078 2002-03-19 Juergen Vigna <jug@sad.it>
10080 * text2.C (clearSelection): reset also xsel_cache.
10082 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10083 where it needs to be called (John tells us to do so too :)
10084 (selectionLost): reset sel_cache.
10086 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10088 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10090 * text2.C (setCursorIntern): put debuging code in INSETS channel
10092 2002-03-19 André Pönitz <poenitz@gmx.net>
10094 * lyxfunc.C: tiny whitespace change
10096 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10098 * ToolbarDefaults.C (init):
10099 * LyXAction.C (init):
10101 * BufferView_pimpl.C (Dispatch):
10102 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10104 2002-03-19 Allan Rae <rae@lyx.org>
10106 * exporter.C (Export): removeAutoInsets before doing anything else.
10107 While I've just introduced a dependency on BufferView this really is
10108 the best place to clean the buffer otherwise you need to cleanup in
10109 a dozen places before calling export or cleanup in a dozen functions
10112 * converter.C (runLaTeX):
10113 (scanLog): Better handling of removeAutoInsets and screen updates.
10115 * lyxfunc.C (dispatch): small whitespace changes
10117 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10119 * WorkArea.C (C_WorkAreaEvent): return a value.
10120 (event_cb): return 1 if we handled the event, 0 otherwise.
10122 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10124 2002-03-18 Juergen Vigna <jug@sad.it>
10126 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10127 (GetAdditionalWidth): ditto.
10128 (RightLine): ditto.
10131 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10132 inset if we're there actually (probably not used right now but this
10133 is the direction to go for unifying code).
10134 (paste): disable code to clear the selection.
10136 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10137 inside an InsetText and move the check further up as it is in the
10140 * text2.C (pasteSelection): set a selection over the pasted text.
10142 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10144 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10145 and libgraphics to build on Cygwin.
10147 2002-03-15 Juergen Vigna <jug@sad.it>
10149 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10150 inserting an Inset into the paragraph. I know this is not the best
10151 fix but we already use current_view in CutAndPaste so we will remove
10152 all of it's using at the same time.
10154 * buffer.C (sgmlError): deactivated function till it is rewritten in
10155 the right mode, now it can create problems.
10157 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10158 before accessing it.
10160 2002-03-14 Juergen Vigna <jug@sad.it>
10162 * undo_funcs.C (textHandleUndo): do the right thing when updating
10163 the inset after the undo/redo.
10165 * text2.C (setCursor): just some testcode for #44 not ready yet.
10167 * undo_funcs.C (textHandleUndo): set the next() and previous()
10168 pointers of the paragraph to 0 before deleting otherwise we have
10169 problems with the Paragraph::[destructor].
10171 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10172 on a paragraph insertion.
10174 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10176 * buffer.C (asciiParagraph): use += operator for char append to
10179 * paragraph.C (getFontSettings): compare >= not just >
10180 (highestFontInRange): ditto
10183 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10185 * paragraph.C: change several algorithm to be more appripriate for
10186 the problem domain. This is lookip in FontList and in the InsetList.
10188 2002-03-13 André Pönitz <poenitz@gmx.net>
10191 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10193 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10198 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10200 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * Painter.C (display): anon helper function, adjust code for this
10204 (pixmap): remove function.
10206 * Painter.h: remove private display variable.
10208 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10210 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10212 * WorkArea.[Ch]: remove figinset_canvas cruft.
10214 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10216 * lyxtextclass.C (operator): add one item cache optimization.
10218 * bufferlist.h: doxy changes
10220 * bufferlist.C: ws changes
10222 * DepTable.[Ch] (ext_exist): place const in the right spot.
10224 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10226 (workAreaExpose): call resizeInsets when the with BufferView changes.
10227 (Dispatch): adjust for protectedBlank removal
10228 (specialChar): call updateInset if the insert went ok.
10230 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10231 specialChar instead.
10233 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10235 * BufferView.h: doxy change
10237 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10239 * lyxtextclass.C (operator[]): remove non-const version
10240 (defaultLayout): remove non-const version
10242 2002-03-12 Juergen Vigna <jug@sad.it>
10244 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10245 did resize the LyXText too.
10247 * buffer.C (readLyXformat2): set layout information on newly allocated
10250 * tabular.C (OldFormatRead): set layout information on the paragraph.
10252 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10254 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10256 2002-03-11 Juergen Vigna <jug@sad.it>
10258 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10260 (resizeCurrentBuffer): force also the insets to resize themselfes.
10261 (moveCursorUpdate): fixed up for InsetText.
10263 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10266 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10267 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10268 value of Dialogs::tooltipsEnabled().
10269 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10271 2002-03-08 Juergen Vigna <jug@sad.it>
10273 * BufferView_pimpl.C (updateInset): update inset inside inset also
10274 if it isn't inside theLockingInset().
10276 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10278 * buffer.C (asciiParagraph): redo some of the word and line length
10280 (getLists): look for Caption instead of caption.
10282 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10284 * buffer.C (Buffer): initialize niceFile to true
10286 (makeLinuxDocFile):
10287 (makeDocBookFile): make sure niceFile is true on exit
10289 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10291 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10293 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10295 * LyXSendto.C: remove.
10296 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10297 * lyx_gui.C: remove now-redundant comment.
10298 * ColorHandler.h: remove forward declaration of class WorkArea.
10299 * lyxfunc.C: remove #include "WorkArea.h".
10301 2002-03-07 Juergen Vigna <jug@sad.it>
10303 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10304 got moved away with the DEPM and also set the inset_owner always
10305 right which before could have been omitted.
10307 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10309 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10310 wanted layout is not found.
10312 2002-03-07 Juergen Vigna <jug@sad.it>
10314 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10316 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10318 * paragraph.C (breakParagraph): use default layout not layout of
10320 (Paragraph): clear ParagraphParameters.
10322 2002-03-06 Juergen Vigna <jug@sad.it>
10324 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10325 otherwise it would not be a valid lenght. Fixed a special case in
10326 the minipage compatibility read where we end the document with a
10329 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10330 was set as it could be 0 for InsetTexts first entry.
10332 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10334 * paragraph.C (writeFile): if layout is empty write out
10335 defaultLayoutName().
10337 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10338 file without named layout we set layout to defaultLayoutName().
10340 2002-03-06 Juergen Vigna <jug@sad.it>
10342 * CutAndPaste.C (copySelection): set layout for new paragraph.
10344 * text.C (prepareToPrint): leave ERT inset left aligned
10345 (leftMargin): don't indent paragraphs inside ERT insets
10347 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10349 * paragraph.C (breakParagraph): dont call clear do the work manually
10351 * paragraph.[Ch] (clear): remove function
10353 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10355 * paragraph.C (Paragraph): dont call clear, the work has already
10358 * lyxtextclass.C (operator): assert if n is empty
10360 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10361 work manually instead.
10363 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10365 * BufferView_pimpl.C: protect selectionLost against text == 0
10367 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10369 * text.C (breakParagraph): fix a setting layout to '0' problem.
10371 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10373 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10374 final location of file, for the included files, and graphics.
10376 2002-03-05 Juergen Vigna <jug@sad.it>
10378 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10380 2002-03-04 Juergen Vigna <jug@sad.it>
10382 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10384 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10385 last column of multicolumn cells.
10386 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10388 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10390 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10391 file if it doesn't go to a temporary file.
10393 * buffer.C (sgmlOpenTag):
10394 (sgmlCloseTag): remove extra newline insertion.
10396 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10398 * text.C (getRowNearY): comment out debug msg
10400 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10402 * text2.C: first -> first_y
10404 * text.C (getRowNearY): add some attemts at a possible
10405 optimization, not working.
10407 * tabular.[Ch]: add BufferParams to several function so that newly
10408 created paragraph can be initialized to he default layotu for the
10411 * tabular-old.C (ReadOld): add buf->params to call of Init
10413 * screen.C: rename text->first to text->first_y
10415 * paragraph.C (breakParagraph): always set layout in the broken
10418 * lyxtextclass.C (Read): remove lowercase
10421 (delete_layout): ditto
10423 * lyxtext.h: rename first -> first_y
10425 * lyxlayout.C (Read): remove lowercase
10428 (obsoleted_by): ditto
10430 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10432 * buffer.C (insertErtContents): add params are to InsetERT
10433 (parseSingleLyXformat2Token): add code to check if a paragraphs
10434 layout really exist.
10435 (parseSingleLyXformat2Token): add params to several inset
10437 (asciiParagraph): remove lowercase, do the layout comparisons with
10440 * BufferView_pimpl.C (cursorNext): first -> first_y
10441 (resizeCurrentBuffer): first -> first_y
10442 (updateScrollbar): first -> first_y
10443 (scrollCB): first -> first_y
10444 (workAreaMotionNotify): first -> first_y
10445 (workAreaButtonPress): first -> first_y
10446 (checkInsetHit): first -> first_y
10447 (cursorPrevious): first -> first_y
10448 (cursorNext): first -> first_y
10449 (Dispatch): add buffer_->params to severl inset contructors
10451 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10453 * lyxlayout.C (Read): remove some debug info that I forgot.
10455 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10456 clean up the code slightly.
10457 (makeLinuxDocFile): ditto
10458 (makeDocBookFile): ditto
10460 * text2.C: layout as string
10462 * text.C: layout as string
10464 * paragraph_pimpl.C: layout as string
10466 * paragraph.[Ch]: layout as string
10468 * lyxtextclasslist.[Ch]: layout as string
10470 * lyxtextclass.[Ch]: layout as string
10472 * lyxtext.h: layout as string
10474 * lyxlayout.[Ch]: layout as string
10476 * lyx_cb.C: layout as string
10478 * bufferview_funcs.C: layout as string
10480 * bufferparams.C: layout as string
10482 * buffer.C: layout as string
10484 * LyXView.[Ch]: layout as string
10486 * LaTeXFeatures.[Ch]: layout as string
10488 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10490 * BufferView_pimpl.C: change current_layout to string, remove
10495 (workAreaButtonRelease): layout as string
10497 * BufferView2.C (unlockInset): adjust
10499 * vspace.C (asLatexCommand): use an explict temp variable.
10501 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10503 * Makefile.am: use FRONTEND_*
10505 2002-03-01 Juergen Vigna <jug@sad.it>
10507 * tabular.C (SetWidthOfMulticolCell): changed to something better
10508 I hope but still work in progress.
10509 (recalculateMulticolumnsOfColumn): renamed function from
10510 recalculateMulticolCells as it is more appropriate now.
10511 (SetWidthOfCell): calculate multicols better.
10513 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10515 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10517 * lyxfunc.C (processKeySym): print sequence also if it is
10518 `deleted' (complete)
10520 * kbsequence.C (print): print sequence even if it is deleted
10521 (complete would be a better word, actually).
10523 * lyxfunc.C (dispatch): print complete options after a prefix key
10525 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10527 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10529 * text2.C (setCharFont): eliminate setCharFont code duplication.
10531 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10534 LFUN_TABULAR_FEATURE (bug #177)
10536 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10538 * Makefile.am: remove figure.h
10540 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10542 * Bufferview_pimpl.C:
10554 * text2.C: remove #include "lyx_gui_misc.h".
10556 * LaTeX.C: added #include <cstdio>
10558 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10560 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10561 that the paragraph following this one can have.
10563 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10565 * vspace.C (asLatexCommand): fix bogus gcc warning
10567 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10569 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10571 * text2.C (setLayout): get rid of redundant code
10573 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10575 * text2.C (incDepth): make sure depth cannot be increased beyond
10578 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10580 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10581 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10583 * PainterBase.h (image):
10584 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10585 a LyXImage const *.
10587 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10591 * BufferView_pimpl.C:
10592 * BufferView_pimpl.h:
10612 * sp_spell.C: remove fig inset, and the crap house of
10613 cards that follows it
10615 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10620 * os2_errortable.h:
10621 * nt_defines.h: move .h into support/
10623 * vms_defines.h: remove
10625 * WorkArea.C: add space in debug output
10629 * buffer.C: add WITH_WARNINGS
10633 * bufferlist.C: s/retrive/retrieve/, add docs
10642 * chset.C: add docs
10644 * lyxgui.C: add ID to X error handler
10646 * lyxtestclass.c: fix typo
10648 2002-02-26 Juergen Vigna <jug@sad.it>
10650 * tabular_funcs.C (write_attribute): changed so that some default
10651 attributes are not written at all.
10652 (getTokenValue): set default values before trying to read the
10653 value so we have the return value always set as default if we don't
10654 find the token we search for.
10656 * tabular.C (Write): write bools as bools not as strings!
10658 2002-02-22 Juergen Vigna <jug@sad.it>
10660 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10661 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10663 * text.C (leftMargin): don't add an indent for paragraphs inside
10664 tabular cells (fix #208).
10666 2002-02-21 José Matos <jamatos@fep.up.pt>
10668 * tabular.C (docBook): fixed support for long tables.
10670 2002-02-20 Juergen Vigna <jug@sad.it>
10672 * text2.C (getFont): get the drawing font of the Inset if this
10673 paragraph is inside an inset (only important for InsetERT for now).
10675 * buffer.C (insertErtContents): use new lanugage params in ERT
10678 * CutAndPaste.C: commenting out seemingly uneeded code.
10680 2002-02-19 Allan Rae <rae@lyx.org>
10682 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10683 Iterators might be simple to use but they also get invalidated.
10684 (removeAutoInsets): renamed saved cursor tracking variables and added
10685 some comments to clarify what everything does.
10687 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10694 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10695 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10698 * vc-backend.h: remove #include "support/syscall.h"
10702 * converter.C: rearrange #includes in Lars' approved fashion.
10704 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10705 forward declare class Timeout in the header file.
10707 * XFormsView.C: changes due to the above.
10709 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10710 similar to LyXView.
10712 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10713 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10715 2002-02-18 José Matos <jamatos@fep.up.pt>
10717 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10720 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10722 * a lot of small ws changes
10723 * add a lot of using std::XXX
10724 * use std construcs some places where approp.
10725 * use some exisint stuff from lyxfunctional where approp.
10726 * Make file changes to use partial linking (lets test this now...)
10728 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10732 remove #include "support/syscontr.h" as it's redundant. Always has been.
10740 change Systemcalls::System to Systemcalls::Wait and
10741 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10742 No change of functionality, just reflects the stripped down Systemcalls
10745 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10747 * debug.[Ch]: add a GRAPHICS type to the enum.
10749 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10751 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10753 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10756 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10759 match the changes below.
10761 * text2.C (toggleInset): if there is not editable inset at cursor
10762 position, try to see if cursor is _inside_ a collapsable inset
10765 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10767 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10768 document menu has a nice checkbox
10770 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10772 * lyxlength.C (asLatexString): change PW to output as percent of
10775 * lengthcommon.C: change '%' to 't%'
10777 * lyxfunc.C (dispatch): a few comments from Martin
10779 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10783 * BufferView_pimpl.h:
10784 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10787 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10789 * vspace.C (inPixels): fix compiler warning
10791 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10793 * lyxfunc.C (getStatus): fix status message for disabled commands.
10795 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10797 * BufferView_pimpl.C: fix crash on close buffer
10798 during selection (#227)
10800 2002-01-27 Herbert Voss <voss@lyx.org>
10802 * buffer.C: link old Figure to new graphic inset
10804 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10806 * FontLoader.C (getFontinfo): Change the latex font names in order
10807 to match the names of type1inst.
10809 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10811 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10813 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10814 (extchanged): ditto
10816 (remove_files_with_extension): ditto
10817 (remove_file): ditto
10820 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10821 document is smaller than the work area height. Do not initialize
10822 static variables to 0.
10824 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10826 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10828 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10829 LFUN_LAYOUT_PARAGRAPHS.
10831 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10832 tabular. It is possible to provide a possible cell, which will
10833 typically be the actcell from the corresponding insettabular
10835 * lyxfunc.C (getStatus): small cleanup; disable
10836 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10839 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10841 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10843 * paragraph.C (startTeXParParams):
10844 (endTeXParParams): new methods. The LaTeX code to
10845 start/end paragraph formatting
10846 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10847 empty (fixes bug #200)
10849 * vspace.C (inPixels): adapt to the change below
10850 (inPixels): [later] more cleanups (remove unused variables)
10852 * lyxlength.C (inPixels): change to use a width and a height as
10855 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10857 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10858 Replaced with \paperwidth
10860 * DepTable.C (insert): add std:: qualifier
10862 2002-01-18 Allan Rae <rae@lyx.org>
10864 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10867 * text.C (drawInset): Turned out I didn't know enough about how
10868 rebreaking worked. This fixes most of the redraw problems. I see
10869 an occasional cursor trail when a line is broken now and the cursor
10870 placement can seem out by a few pixels also after a rebreak.
10872 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10874 * buffer.C (parseSingleLyXformat2Token): update because minipage
10875 width is now a LyXLength
10877 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10879 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10882 2002-01-17 Juergen Vigna <jug@sad.it>
10884 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10886 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10887 is set correctly and the inset is updated correctly.
10889 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10891 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10892 the beginning of the loop.
10894 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10896 * lyxrc.C: improve help for use_scalable_fonts
10898 2002-01-17 Allan Rae <rae@lyx.org>
10900 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10902 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10904 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10905 make sure to set their inset_owner to the right value (bug #171)
10907 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10910 * DepTable.C: Implement mtime checking to reduce time spent doing
10913 2002-01-16 Juergen Vigna <jug@sad.it>
10915 * tabular.C (GetAdditionalHeight): one of error fixed.
10917 * lyxrc.C (output): small fix in writing use_pspell.
10919 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10921 * sp_base.h: #include LString.h
10923 2002-01-16 Allan Rae <rae@lyx.org>
10925 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10926 Can someone check this please?
10928 * text.C (drawInset): It was possible that p.row would be removed by
10929 breakAgainOneRow upsetting a few other settings. There may be another
10930 small tweak possible by setting need_break_row = 0 when p.row has been
10931 removed but I don't know enough about the logic here.
10933 2002-01-15 Allan Rae <rae@lyx.org>
10935 * text.C (insertChar): removed conditional truism.
10937 * BufferView2.C (removeAutoInsets): More tweaks.
10938 cur_par_prev could be a stray pointer. Check for trailing empty line
10939 in case last line was cur_par and only had an error inset on it.
10941 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10943 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10946 * vc-backend.C (most methods):
10947 * exporter.C (Export):
10948 * converter.C (convert):
10950 * LyXSendto.C (SendtoApplyCB):
10951 * lyxfunc.C (dispatch):
10955 * lyx_cb.C (AutoSave):
10957 * BufferView_pimpl.C (MenuInsertLyXFile):
10958 * buffer.C (runChktex): use Buffer::filePath().
10960 * buffer.h: rename filename to filename_; rename filepath to
10961 filepath_ and make it private
10962 (filePath): new method
10964 * buffer.C (writeFile): use fileName()
10967 * lyx_main.C (init): fix starting of LyX when the binary is a
10968 link from so,ewhere else.
10970 * minibuffer.C: include <cctype> for isprint
10972 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10974 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10975 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10976 name clash with InsetCollapsable's width function.
10978 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10980 * lastfiles.C: include <iterator>
10982 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10984 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10987 * buffer.C (makeLaTeXFile): ditto.
10988 Also make loop operation more transparent.
10990 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10992 * ToolbarDefaults.C: remove trailing comma closing namespace.
10994 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10996 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10999 * trans.C (Load): comment out unused variable, allowed.
11001 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11003 * minibuffer.[Ch] (append_char): new method to recieve input from the
11004 drop-down completion browser. If a key was pressed, then recieve this
11005 char and append it to the existing string.
11006 (peek_event): modify the positioning data passed to the completion
11007 browser so that it can be placed above the minibuffer rather than below.
11008 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11010 * LyXAction.C (init): alloe error-next for readonly documents.
11012 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11015 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11017 * bufferlist.C (readFile): create the buffer _after_ checking that
11020 * lyxfunc.C (verboseDispatch): fix handling of arguments
11022 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11024 * lyxrc.C: use string::erase() instead of initializing to "".
11027 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11029 * BufferView_pimpl.h:
11030 * BufferView_pimpl.C:
11033 * text2.C: tell X when we have made a selection for copying
11035 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11037 * BufferView_pimpl.C (MenuInsertLyXFile):
11038 * lyxfunc.C (menuNew):
11040 (doImport): add shortcuts to directory buttons
11042 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11045 * lyxfunc.C (setStatusMessage):
11046 (getStatusMessage): new methods
11047 (getStatus):use setStatusMessage instead of setErrorMessage
11048 (dispatch): when function is disabled, set error message here
11049 [instead of in getStatus previously]
11051 * BufferView_pimpl.C (workAreaButtonRelease): update
11052 toolbar/menubar here too.
11054 2002-01-13 Allan Rae <rae@lyx.org>
11056 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11057 Now seems indestructible. Remaining task is to audit all other
11058 code affected by deleteEmptyParagraphMechanism. One small quirk
11059 left is that an empty document with an error in the preamble can
11060 be made to report an error but no error box appears. I don't know
11062 (removeAutoInsets): Improved comments.
11064 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11067 * Thesaurus.C: update for Aiksaurus 0.14
11069 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11071 * text2.C (firstParagraph): removed member function, all uses
11072 replaces with ownerParagraph
11073 (redoParagraphs): here
11074 (updateInset): here
11075 (toggleAppendix): here
11076 * BufferView2.C (insertErrors): here
11077 (setCursorFromRow): here
11079 2002-01-13 Allan Rae <rae@lyx.org>
11081 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11082 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11083 There is still a way to segfault this although you may have to do this
11084 multiple times: Have an InsetERT with an unknown command in it.
11085 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11086 <down-arrow>, <Enter> again, View->DVI, BANG!
11088 * text2.C (setCursor):
11089 (deleteEmptyParagraphMechanism):
11090 * lyxtext.h (setCursor):
11091 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11092 Making use of the return value may help fix other bugs.
11094 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11096 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11098 * LyXView.C (updateMenubar): call MenuBar::update here
11099 (updateToolbar): but not here
11100 (showState): do not update toolbar/menubar
11102 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11103 should need to care about that.
11105 * lyxfunc.C (verboseDispatch): simplify a bit
11106 (getStatus): have a version which takes a pseudoaction, and
11107 another which requires a (kb_action,string).
11109 * LyXAction.C (retrieveActionArg): make it work also when action
11110 is not a pseudo-action.
11111 (getActionName): simplify a bit
11114 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11116 * lyxfunc.C (verboseDispatch): new families of methods with
11117 several ways to specify a command and a bool to indicate whether
11118 the command name and shortcut should be displayed in minibuffer
11119 (eventually, we could extend that to a finer bitmask like
11120 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11121 (dispatch): the pristine dispatch command which just, well,
11122 dispatchs! Note it still sets its result to minibuffer; I'm not
11125 * lyxfunc.h: remove setHintMessage
11127 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11129 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11131 * BufferView_pimpl.C (specialChar): delete new inset if we have
11132 not been able to insert it.
11134 * kbmap.C: revert to using int instead of kb_action, since all we
11135 are dealing with is pseudo-actions.
11137 * LyXAction.C (searchActionArg): change to return int instead of
11138 kb_action, since the result is a pseudoaction.
11140 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11142 * buffer.C (insertErtContents): Fix (partially) the font bug.
11144 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11146 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11147 as the other one is broken on my machine!
11149 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11152 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11154 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11156 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11157 reflect their actual use. Provide compatibility code for older lyxrc
11160 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11162 change names of popup font variables in line with the changes to lyxrc.C
11164 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11166 * buffer.C (asciiParagraph): avoid outputing a word twice after
11169 * lyxrc.C (getDescription): document that document_path and
11170 template_path can be empty.
11172 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11174 * LaTeXFeatures.C (getMacros):
11175 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11177 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11179 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11181 (getPackages): rename feature "floats" to "float". Use an array to
11182 iterate over 'simple' features (i.e. just a \usepackage). Add
11183 handling of "amsmath" (renamed from "amsstyle").
11185 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11187 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11190 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11192 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11193 FuncStaus::FuncStatus & FuncStaus::some_method().
11195 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11197 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11198 of the func_satus stuff. Edited and massaged in various ways by
11201 * lyxfunc.C (getStatus): use FuncStatus
11203 2002-01-08 Juergen Vigna <jug@sad.it>
11205 * text.C (nextBreakPoint): use function Inset::isChar().
11207 * paragraph.C (TeXOnePar): use function
11208 Inset::forceDefaultParagraphs.
11210 * buffer.C (latexParagraphs): use function
11211 Inset::forceDefaultParagraphs.
11213 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11215 * lyx_gui.C (init): set the style of the menu popups to
11216 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11218 2002-01-07 Juergen Vigna <jug@sad.it>
11220 * text.C (setHeightOfRow): small fix
11221 (prepareToPrint): don't look at alignment if we don't have the place
11224 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11226 * box.C: New file. Move the Box methods and functions out of box.h,
11227 following Lars' suggestion.
11229 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11231 * box.h: #include "support/LOstream.h", needed for inlined function.
11234 * lyxtextclasslist.C: added some using std declarations.
11236 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11238 * box.h: make signed dimensions to allow insets wider than
11239 the screen (bug #162)
11241 * BufferView_pimpl.C: add some insetHit debug
11243 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11245 * vc-backend.C: add FIXME
11247 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11249 * lyxfunc.C (getStatus): enable code for showing math font status
11252 2002-01-07 Juergen Vigna <jug@sad.it>
11254 * text.C (nextBreakPoint): removed debug output not needed anymore.
11256 2002-01-06 Juergen Vigna <jug@sad.it>
11258 * text.C (nextBreakPoint): fixed up this function we had this bug
11259 since ever but now hopefully we break row better.
11260 (insertChar): we have to check if an inset is the next char as it
11261 could now happen that a large inset is causing a break.
11263 2002-01-05 Juergen Vigna <jug@sad.it>
11265 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11266 if it doesn't like to be drawed.
11268 2002-01-04 Juergen Vigna <jug@sad.it>
11270 * BufferView2.C (lockInset): forgot to set a cursor.
11272 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11274 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11276 * FormMathsPanel.C:
11279 * form_maths_panel.C:
11280 * form_maths_panel.h:
11281 * form_maths_panel.fd: implemented sub- and super- buttons in math
11284 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11285 (or ^ space) to be used as in TeX (req'd by André).
11287 * lyxfunc.C: Allow ^ and _ again to be used both as
11288 super/subscript (mathed) and as themselves (in text).
11290 2002-01-03 Allan Rae <rae@lyx.org>
11292 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11293 "LyX" or the filename of the current buffer if it has one. This is a
11294 modified form of John Levon's patch.
11296 * XFormsView.C (setWindowTitle): also set icon title.
11298 * LyXView.h (setWindowTitle): signature changed.
11299 * XFormsView.h (setWindowTitle): ditto.
11301 2002-01-02 Juergen Vigna <jug@sad.it>
11303 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11305 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * screen.C (topCursorVisible): introduce a temp var for
11308 text->cursor.row(), handle the case where this row is null. (kindo
11311 * text2.C (setCursor): add a couple of asserts.
11313 * paragraph.h (inset_iterator): add -> operator
11315 * paragraph.[Ch] (autoDeleteInsets): remove member function
11317 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11318 cursor pos correctly and handle inset deletion by itself.
11319 (insertErrors): move iterator declaration out of for expression
11321 * lyxtextclass.C: add <algorithm>
11323 * Makefile.am: added the new files to sources, removed layout.C
11325 * layout.C: removed file
11327 * layout.h: remove LYX_DUMMY_LAYOUT
11329 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11333 * lyxtextclass.[Ch]:
11334 * lyxtextclasslist.[Ch]: new files
11336 * include order changes to a lot of files, also changes because of
11339 2001-12-27 Juergen Vigna <jug@sad.it>
11341 * buffer.C (asciiParagraph): more fixes.
11343 * tabular.C (ascii): make ascii export support export of only the
11344 data separated by a column-delimiter.
11345 (ascii): better support for ascii export.
11347 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11349 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11351 * tabular_funcs.C: use a "using std::getline" instead of the
11352 previous fix from Angus (necessary for cxx + lyxstring)
11354 2001-12-24 Juergen Vigna <jug@sad.it>
11356 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11358 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11359 problems. First check a minipage also if we have some ert-contents
11360 (not only on par->size(), second set the right depth of the paragraph
11361 on the relink to the root-paragraph-list!
11363 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11364 which then did not anymore update the main paragraphs on undo/redo!
11366 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11368 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11369 code. Support all font-changing funcs (even those which are not in
11370 menu currently). Support for reporting font settings in
11371 mathed (disabled until Andre provides a function on mathed's side).
11373 * func_status.h (toggle): small helper function to set toggle
11376 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11378 * tabular_funcs.C: getline -> std::getline
11380 2001-12-21 Juergen Vigna <jug@sad.it>
11382 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11383 accessed and could be 0 (I couldn't generate this but it seems
11386 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11388 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11389 * tabular_funcs.h: here and include iosfwd
11391 2001-12-20 Juergen Vigna <jug@sad.it>
11393 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11394 inside inset but undo_par was.
11396 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11398 * Thesaurus.C: always include <config.h> in sources.
11402 * box.h: do not include <config.h> in header files
11404 * text.C (paintLastRow): remove unused variable
11406 * text.C (transformChar):
11408 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11410 * Painter.C (text):
11411 * font.C (width): rewrite to use uppercase() instead of
11414 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11416 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11418 * lyxfind.C: clean up of find failure position change
11420 2001-12-20 Juergen Vigna <jug@sad.it>
11422 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11424 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11425 (TeXRow): added to LaTeX a single tabular row.
11426 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11427 (Latex): simplified and finally good LT-h/f support.
11428 (various_functions): just small adaptions for LT-h/f support.
11430 * tabular_funcs.[hC]: added and moved here all not classfunctions
11433 2001-12-19 Juergen Vigna <jug@sad.it>
11435 * tabular.[Ch]: better support for longtabular options (not finished
11438 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11440 * text.C (paintLastRow): use the label font instead of the font of
11441 the last character to compute the size of *_BOX. This makes more
11442 sense and avoids a crash with empty paragraphs.
11443 Use Painter::rectangle to draw EMPTY_BOX.
11445 2001-12-19 Juergen Vigna <jug@sad.it>
11447 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11448 the paragraphs if the replaced paragraph is not the first one!
11449 Tried to delete not used paragraphs but does not work yet so for
11450 now it's inside #ifdef's and by default off!
11452 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * MenuBackend.C: include "lyx_main.h" instead of declaring
11455 lastfiles (actually was declared as LastFiles* instead of a
11458 2001-12-17 Juergen Vigna <jug@sad.it>
11460 * tabular.C (AppendColumn): applied John's fix
11462 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11466 * BufferView_pimpl.h:
11467 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11470 * box.h: new start of class for above
11472 * lyxfunc.C: ignore space-only minibuffer dispatches.
11473 Show the command name when it doesn't exist
11475 * minibuffer.C: don't add empty lines to the history
11477 * minibuffer.C: add a space on dropdown completion
11479 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11481 * text.C: fix line above/below drawing in insets
11483 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * lyxlength.C (LyXLength): Initialize private variables.
11487 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11490 when inserting error insets.
11492 2001-12-13 Juergen Vigna <jug@sad.it>
11494 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11495 actually sometimes the before-paragraph.
11496 (setUndo): don't clear the redostack if we're not actually undoing!
11498 2001-12-06 Juergen Vigna <jug@sad.it>
11500 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11501 and fixed redoing of main paragraph, so we can use it now ;)
11503 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11505 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11507 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11510 2001-12-13 André Pönitz <poenitz@gmx.net>
11513 * undo_func.C: minor cleanup
11515 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11517 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11518 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11519 font in urw-fonts package which is marked as -urw-fontspecific and
11520 does not work (incidentally, changing the encoding in the
11521 fonts.dir of this package to -adobe-fontspecific fixes the
11524 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11525 is a crash when undoing first paragraph (Juergen, please take a
11526 look). THis does not mean the undo fix is wrong, just that it
11529 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11530 the (Paragraph*) version when needed instead of duplicating the
11533 * text.C (workWidth): use Inset::parOwner to find out where the
11534 inset has been inserted. This is a huge performance gain for large
11535 documents with lots of insets. If Inset::parOwner is not set, fall
11536 back on the brute force method
11538 * paragraph_pimpl.C (insertInset):
11539 * paragraph.C (Paragraph):
11540 (cutIntoMinibuffer): set parOwner of insets when
11541 inserting/removing them
11543 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11545 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11551 * mathed/formulabase.C:
11552 * mathed/math_cursor.[Ch]:
11553 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11556 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11558 * lyxlength.[Ch] (operator!=): new function
11560 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11562 * text.C (workWidth): use Inset::parOwner to find out where the
11563 inset has been inserted. This is a huge performance gain for large
11564 documents with lots of insets. If Inset::parOwner is not set, fall
11565 back on the brute force method
11567 * paragraph_pimpl.C (insertInset):
11568 * paragraph.C (Paragraph):
11569 (cutIntoMinibuffer): set parOwner of insets when
11570 inserting/removing them
11572 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11574 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11576 * tabular-old.C (getTokenValue):
11577 * tabular.C (getTokenValue):
11578 (write_attribute): new versions for LyXLength
11579 (everywhere): adjust the use of widths
11581 * tabular.h: change the type of widths from string to LyXLength
11583 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11585 * paragraph.C: fixed missing line number count when exporting
11586 Environments to LaTeX file
11588 * buffer.C: added informational message for checking line numbers.
11590 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11592 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11593 paragraph, do the 'double space' part, but not the 'empty
11596 * text.C (workWidth): small optimization
11597 (getLengthMarkerHeight): use minimal size for negative lengths.
11599 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11601 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11603 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11605 2001-12-11 André Pönitz <poenitz@gmx.net>
11608 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11610 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11612 * text2.C: keep selection on a setFont()
11614 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11616 * lyx_cb.C: another bv->text misuse, from insert label
11618 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11621 * kbsequence.C: re-instate nmodifier mask
11623 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11625 * lyx_main.h: make lyxGUI private.
11627 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11629 * lyxfind.C: place the cursor correctly on failed search
11631 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11633 * text.C (getLengthMarkerHeight): for small heights, the arrows
11634 are not always on top/bottom of the text
11635 (drawLengthMarker): smaller arrows; take the left margin in
11636 account; draw also vfills.
11638 (paintLastRow): remove special code for vfill and standard spaces,
11639 since everything is handled in drawLengthMarker now.
11641 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * buffer.C (insertErtContents): try to handle font and language
11644 interaction a bit better.g
11646 * ColorHandler.C (updateColor): change the hash to cover the whole
11647 LColor enum, ws cleanup
11648 (getGCLinepars): ditto
11649 (getGCLinepars): only lookup in the linecache once.
11651 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11653 * iterators.C (operator++): Make the iterator more robust
11655 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11659 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11662 * text.C: better added space drawing
11664 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11667 * BufferView2.C: fix layout combo update on inset unlock
11669 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11671 * Makefile.am: don't compile unused files
11673 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11677 * LyXAction.C: remove old LFUN_LAYOUTNO
11679 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11681 * paragraph_pimpl.h:
11682 * paragraph_pimpl.C: isTextAt() doesn't need font param
11684 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11687 * lyxlex.C: little cleanup
11689 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11691 * BufferView_pimpl.C: fix insertAscii for insets
11693 2001-12-05 Juergen Vigna <jug@sad.it>
11695 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11696 set the right font on the "multi" paragraph paste!
11698 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * lyxlength.C: remove out-commented code.
11706 * BufferView_pimpl:
11720 * vc-backend.C: change "while(" to "while ("
11722 * lyxlength.[Ch]: add zero function to check if length is zero or
11724 * lyxgluelength.C: use it
11726 2001-12-05 Allan Rae <rae@lyx.org>
11728 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11729 Works for 2.95.3, from what I understand of Garst's reports this should
11730 work for other g++ versions. We're screwed if the abs(int) definition
11731 changed between bugfix releases of gcc.
11733 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11735 * text.C: fix chapter label offset !
11737 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11740 * text.C: fix hfill at end of line, clean up
11742 2001-12-04 Juergen Vigna <jug@sad.it>
11744 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11745 that we force an update of the inset and it's owners if neccessary.
11747 2001-12-03 Juergen Vigna <jug@sad.it>
11749 * text.C (rowLast): simplified code
11751 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11753 * lyxfunc.C: fix show options on timeout
11755 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11757 * screen.C (topCursorVisible): scroll half a page when the cursor
11758 reached top of bottom of screen
11760 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11762 * minibuffer.C: deactivate on loss of focus
11764 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11766 * vspace.[Ch] (operator!=): add operator.
11768 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11770 * BufferView_pimpl.C: refuse to open an inset when
11771 there's a selection.
11773 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11775 * BufferView_pimpl.C: allow to click on RHS of full row insets
11777 2001-11-30 Juergen Vigna <jug@sad.it>
11779 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11780 insets for undo reasons.
11782 2001-11-28 André Pönitz <poenitz@gmx.net>
11784 * vspace.[Ch]: cosmetical changes
11786 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11796 * kbsequence.C: part re-write of old kb code
11799 * WorkArea.C: remove Lgb_bug_find_hack
11801 2001-11-30 José Matos <jamatos@fep.up.pt>
11803 * buffer.C (makeDocBookFile): add a comment to point a hack.
11804 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11805 Fixed a double write of labels.
11807 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11810 * LaTeX.h Fixed bug in LaTeX class where it would not
11811 re-run latex if no depfiles were changed, but the .dvi was removed.
11813 2001-11-28 André Pönitz <poenitz@gmx.net>
11815 * all the files from the change on 2001/11/26:
11816 use lyx::layout_type instead of LyXTextClass::size_type
11817 use lyx::textclass_type instead of LyXTextClassList::size_type
11819 2001-11-29 Juergen Vigna <jug@sad.it>
11821 * text.C: added support for paragraph::isFreeSpacing()
11823 * buffer.C: same as above
11825 * paragraph.h: inserted isFreeSpacing() function to enable
11826 FreeSpacing inside InsetERT.
11828 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11829 of the paragraph's in the cut/copy buffer to 0!
11831 * text2.C (removeRow): remove the assert as it can!
11833 * lyxtext.h: added helper function firstRow returning firstrow and
11834 made firstrow private again.
11836 * BufferView2.C (lockInset): don't relock if we're already locked!
11838 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11839 the only paragraph.
11840 (removeRow): added Assert::(firstrow)
11842 * debug.C: forgot to add INSETTEXT here.
11844 2001-11-28 Juergen Vigna <jug@sad.it>
11846 * sp_spell.C (initialize): changed error text to more general
11847 spellchecker command use (not only ispell!)
11849 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11851 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11853 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11855 * vspace.C: initialise lyxgluelength on failure
11857 2001-11-28 Allan Rae <rae@lyx.org>
11859 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11860 declaration & definition that looks like a function declaration.
11862 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11864 * BufferView2.C (copy):
11865 (copyEnvironment): do not clear the selection when doing a copy.
11867 * text.C (paintFirstRow): compilation fix
11869 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11871 * tabular.C (Latex): correct line count when writing latex.
11873 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11875 * paragraph_pimpl.h:
11876 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11879 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11883 * LColor.C: change vfillline->added_space
11885 * text.C: add markers and text for added space
11887 * vspace.C: fix comment
11889 2001-11-28 André Pönitz <poenitz@gmx.net>
11891 * paragraph.C: whitespace changes
11892 * all the other files from the change on 2001/11/26:
11893 change *::pos_type into lyx::pos_type
11895 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11897 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11898 language of the document when inserting error insets.
11900 2001-11-26 André Pönitz <poenitz@gmx.net>
11902 * BufferView_pimpl.[Ch]:
11910 * paragraph_pimpl.[Ch]:
11913 * text2.C: reduce header dependencies, introduce type for positions
11915 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11917 * <various>: change to use Alert.h
11919 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11921 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11922 when encountering an unknown token.
11923 (readLyXformat2): Show an error message if there were unknown tokens.
11925 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11928 * BufferView_pimpl.C:
11932 * text2.C: use par->isInset()
11934 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11936 * paragraph_pimpl.h:
11937 * paragraph_pimpl.C: cleanup
11939 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11941 * text2.C (removeRow):
11942 * text.C (setHeightOfRow): remove useless (and costly) call to
11945 2001-11-20 Allan Rae <rae@lyx.org>
11947 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11948 Now need Inset*::checkInsertChar() to return true for appropriate
11949 cases so that the characters in the minibuffer will actually be
11952 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11954 * text.C: change the order of the includes.
11955 (workWidth): initialize it at once.
11956 (workWidth): make maxw unsigned
11957 (setHeightOfRow): remove unused variable (inset)
11958 (selectSelectedWord): remove unused variable (inset)
11959 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11961 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11963 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11964 server is not running.
11966 (closeConnection): add debug info when server is disabled.
11968 * ColorHandler.C (getGCForeground): send debug message to GUI
11971 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11973 * kbmap.C (bind): modify because return conventions of
11974 kb_sequence::parse have changed.
11976 * kbsequence.C (parse): only ignore spaces and not any stupid
11977 control character. This avoids tests like s[i] <= ' ', which are
11978 guaranteed to fail with 8bit characters and signed chars.
11979 Change return code to string::npos when there have been no error
11980 (0 was a bad idea when error is at first character)
11982 2001-11-14 José Matos <jamatos@fep.up.pt>
11985 * buffer.C (simpleDocBookOnePar): removed unused argument.
11987 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11989 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11990 insets which are part of a word. Paragraph::isLetter takes care of
11991 that now. Use Paragraph::isInset to identify insets.
11992 (selectSelectedWord): do not test for hyphenation break.
11994 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11995 that protected spaces are considered as spaces.
11997 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12000 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12003 * lyxserver.C: fix it. and small cleanup.
12005 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12007 * BufferView_pimpl.C: use inline helpers
12010 * LaTeXFeatures.C: fix typos
12013 * Spacing.C: move spacing_string into class
12015 * ToolbarDefaults.C: move stuff into namespace anon
12017 * layout.h: update enum
12019 * lyxfunc.C: use better debug
12021 * minibuffer.h: fix typo
12025 * WorkArea.C: add and use Debug::WORKAREA
12029 * text2.C: code re-organisation, inline helpers
12031 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12033 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12034 std::vector.empty().
12036 2001-11-09 Allan Rae <rae@lyx.org>
12038 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12039 '\n's after tables. Tabular and ERT inset work now makes this no
12042 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12045 * minibuffer.C: fix crash, improve drop-down completion
12047 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12050 * lyxserver.C: invalidate fd's when doing endPipe()
12052 2001-11-08 José Matos <jamatos@fep.up.pt>
12054 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12055 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12058 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12060 2001-11-07 José Matos <jamatos@fep.up.pt>
12063 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12066 * buffer.C (sgmlOpenTag):
12067 * buffer.C (sgmlCloseTag): removed debug info.
12069 * buffer.h (sgmlOpenTag):
12070 * buffer.h (sgmlCloseTag): made public.
12072 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12074 * buffer.C (saveParamsAsDefaults):
12075 * lyx_cb.C (MenuLayoutSave): remove
12077 * LyXAction.C (init):
12079 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12081 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12083 * buffer.C (setPaperStuff): removed from here...
12085 * bufferparams.C (setPaperStuff): ... and moved there.
12087 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12091 * XFormsView.C: add support for drop-down completion
12093 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12095 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12098 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12100 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12103 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12105 * lyx_main.C: change ref to known bugs
12107 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12109 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12110 to work around older babel problems.
12112 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12114 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12116 2001-10-24 Juergen Vigna <jug@sad.it>
12118 * tabular-old.C (ReadOld): below variable changes reflected.
12120 * tabular.[Ch]: added ltType struct for longtable header/footer
12121 defines and changed all instances where they are used. Added
12122 future support for double top/bottom rows.
12124 2001-10-24 José Matos <jamatos@fep.up.pt>
12126 * buffer.h (docbookHandleCaption):
12127 * buffer.C (docbookHandleCaption): removed unused function.
12128 (makeDocBookFile): moved docbook supported version to v4.1.
12130 2001-10-24 José Matos <jamatos@fep.up.pt>
12133 * tabular.C (docbookRow): new function to export docbook code of a row.
12134 (DocBook): now honors the longtable flags.
12136 2001-10-23 José Matos <jamatos@fep.up.pt>
12139 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12140 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12142 * buffer.C (makeLinuxDocFile):
12143 (makeDocBookFile): reworked the preamble, more clean, and with
12144 support for lyx defined entities. Changed the document declaration
12145 to be more XML friendly.
12147 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12148 if we need to output XML that should be done with a filter.
12150 2001-10-22 Juergen Vigna <jug@sad.it>
12152 * sp_pspell.h (class PSpell): add alive function needed in the
12153 controller to see if the spellchecker could be started.
12155 2001-10-22 Juergen Vigna <jug@sad.it>
12157 * buffer.C (insertStringAsLines): modify the font for inserting
12158 chars in certain conditions by calling checkInsertChar(font).
12160 2001-10-19 Juergen Vigna <jug@sad.it>
12162 * text.C (workWidth): use getRow instead of wrong algorithm.
12163 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12165 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12170 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12172 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12174 * text.C (workWidth): do not search for the exact row when
12175 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12176 optimization for big documents.
12178 2001-10-18 Juergen Vigna <jug@sad.it>
12180 * text.C (workWidth): new function with added Inset * parameter.
12182 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12184 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12186 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12187 change return type of getColumnNearX.
12190 * text.C (changeRegionCase): use uppercase/lowercase instead of
12193 (rightMargin): simplify code by factoring out the uses of
12198 (appendParagraph): use Paragraph::size_type
12200 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12202 * vspace.C (asLatexString): add a missing break
12204 2001-10-15 Herbert Voss <voss@perce.de>
12206 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12208 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12210 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12213 2001-10-10 André Pönitz <poenitz@gmx.net>
12215 * lyxfunc.C: removed greek_kb_flag.
12217 2001-10-10 Herbert Voss <voss@perce.de>
12219 * lyx_main.C: delete global string help_lyxdir.
12221 2001-10-09 Herbert Voss <voss@perce.de>
12223 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12225 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12227 * lyx_main.C: added global string help_lyxdir.
12229 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12231 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12233 * lyxrc.C (set_font_norm_type): support iso8859-4
12235 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12237 * LaTeX.C (deplog): add another regex for MikTeX
12239 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12241 * lyxrc.C (set_font_norm_type): support iso8859-3
12243 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12245 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12247 * LaTeXFeatures.C: remove special case of french and index
12249 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12250 before \begin{document}). This solves several incompatibilities.
12252 2001-10-03 Garst Reese <reese@isn.net>
12254 * lyx_cb.C: change CheckTex error msg.
12256 2001-10-03 José Matos <jamatos@fep.up.pt>
12258 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12260 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12262 * .cvsignore: update
12264 * lyx_main.C (commandLineVersionInfo): use new style version info.
12266 * buffer.C (writeFile):
12268 (makeLinuxDocFile):
12269 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12271 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12273 * version.h: update to use stuff in version.C
12275 * version.C.in: new file. Contains version information determined
12276 at compile time. This is a merging of version.h and
12279 2001-10-03 Juergen Vigna <jug@sad.it>
12281 * BufferView_pimpl.C (update): don't change "dirty" status in
12284 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12286 * WorkArea.C (c-tor): re-position version string slightly.
12288 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12290 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12291 revert to previous code.
12293 WorkArea.[Ch]: (show, destroySplash): methods removed.
12295 WorkArea.C: rework code so that it's an amalgam of the codes before and
12296 after the splash screen was moved to WorkArea.
12298 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12301 * vspace.C (inPixels):
12304 * buffer.C (insertStringAsLines):
12305 (asciiParagraph): fix types to be large enough
12307 * lyxlex_pimpl.h: change member status from short to int
12309 * layout.h: fix type of endlabeltype
12312 * kbsequence.C (parse): change return type to string::size_type
12314 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12317 * Bullet.C (bulletSize):
12318 (bulletEntry): do not use short ints as parameters
12320 * BufferView2.C (insertLyXFile): change a char to an int.
12322 * WorkArea.C (WorkArea): remove unneeded floats in computation
12324 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12326 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12328 * paragraph.C (asString): Do not ignore newline/hfill chars when
12329 copying to the clipboard.
12331 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12333 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12334 after a multi-line inset.
12336 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12338 * paragraph.C (validate): Set NeedLyXFootnoteCode
12340 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12342 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12343 and decrease-error to decrease.
12345 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12347 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12348 it more readable (should be equivalent)
12350 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12352 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12354 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12356 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12357 of a cursor (row, etc.) after a character has been deleted
12358 (deleteEmptyParagraphMechanism): call the method above on _all_
12359 cursors held by the LyXText when a double space has been
12362 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12364 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12366 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12368 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12369 background. Use greyOut() and the new show() methods to toggle between
12370 the foreground and background. Add code to remove the splash after
12371 its initial showing.
12373 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12374 (create_forms): no longer call Dialogs::showSplash.
12376 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12378 * .cvsignore: add version_info.h
12380 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12382 * version_info.h.in: new file
12384 * Makefile.am: add version_info.h.in
12386 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12387 version_info.h instead of VERSION_INFO
12389 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12391 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12392 The ERT inset now returns string().
12394 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12396 * lyxtext.h, text.C (selectNextWord): renamed as
12397 selectNextWordToSpellcheck.
12399 * text.C (selectNextWordToSpellcheck): Modified to not select
12400 words inside an ERT inset.
12402 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12404 * lyx_cb.C (MenuLayoutSave): change a bit the question
12406 * sp_base.h: include <sys/types.h>
12408 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12410 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12412 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12414 * several files: fix typos in user-visible strings
12416 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12418 * text2.C (pasteSelection): do not set the selection, since it
12419 will be cleared later. Actually, the intent was to fix the way the
12420 selection was set, but I figured rmoving the code was just as good.
12422 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12424 * FontLoader.C (available): Check if font is available without
12427 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12429 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12431 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12433 * lyxrc.[Ch]: added display_graphics variable and associated code.
12435 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12437 * bufferparams.C (hasClassDefaults): new method. Returns true if
12438 the buffer parameters correspond to known class defaults
12440 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12442 * XFormsView.C (show): set minimum size to the main window.
12444 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12446 * text2.C (copySelection):
12448 * lyxfind.C (LyXReplace):
12449 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12450 LyXText::selectionAsString.
12452 * paragraph.C (asString): add "label" argument to the second form
12454 * text2.C (selectionAsString): add "label" argument and pass it to
12455 Paragraph::asString.
12457 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12459 * lyx_main.C (commandLineHelp): remove version information
12461 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12463 * lyx_main.C: add -version commandline option
12465 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12467 * paragraph.h: make the optional constructor arg required instead.
12468 some modifications to other files because of this.
12470 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12472 * lyxserver.C (C_LyXComm_callback): make it static
12474 * lyx_main.C (error_handler): make it static
12476 * lyx_gui.C (LyX_XErrHandler): make it static
12478 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12480 * WorkArea.C: make the extern "C" methods static.
12482 * Makefile.am (lyx_LDADD): simplify
12484 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12486 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12487 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12489 * LyXAction.C (init):
12490 * lyxfunc.C (dispatch): associated code removal.
12492 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12494 * lyxfont.h (isSymbolFont): shut off warning
12496 * text.C (setHeightOfRow):
12497 (getVisibleRow): fix crash with empty paragraphs which have a
12500 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12502 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12505 2001-09-04 José Matos <jamatos@fep.up.pt>
12508 * tabular.C (docbook): rename docBook method to docbook.
12510 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12512 * Makefile.am: add dependencies to main.o.
12514 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12516 * FontLoader.C (available): Return false if !lyxrc.use_gui
12518 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12520 * FontInfo.C (query):
12521 * converter.C (view):
12522 * importer.C (Import):
12523 * exporter.C (Export): Can not -> cannot.
12525 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12527 * BufferView_pimpl.C: allow to create index inset even if
12530 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12532 * buffer.C (getLists): replace boost::tie code with an explicit pair
12533 as boost::tie can break some compilers.
12535 * iterators.h: Added a std:: declaration to the return type of
12538 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12540 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12543 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12545 * iterators.[Ch]: New files. Provide paragraph iterators.
12547 * buffer.C (changeLanguage): Use paragraph iterators.
12548 (isMultiLingual): ditto
12550 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12552 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12554 * FontLoader.C: Support for cmr font.
12556 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12558 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12559 (available): New method.
12561 * FontInfo.C (getFontname): Use scalable fonts even when
12562 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12565 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12567 * converter.C (Formats::view): reverted! Incorrect fix.
12569 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12571 * converter.C (Formats::view): only output the -paper option
12572 if the dvi viewer is xdvi, thereby fixing bug #233429.
12574 2001-08-23 Herbert Voss <voss@perce>
12576 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12578 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12580 * Spacing.h (Spacing): Set space to Default on in the default
12583 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12585 * vc-backend.h (RCS::versionString): add RCS to version
12586 (CVS::versionString): add CVS to version
12588 * vc-backend.C (scanMaster): do not add CVS to version.
12589 (scanMaster): do not add RCS to version
12591 * lyxvc.C (versionString): new method
12593 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12595 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12597 * Spacing.C (set): initialize fval
12599 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12601 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12604 2001-08-16 Juergen Vigna <jug@sad.it>
12606 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12608 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12610 * BufferView_pimpl.C:
12613 * text2.C: setParagraph takes linespacing now
12615 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12617 * LyxAction.C: add internal LFUN_CITATION_INSERT
12619 * LyXView.C: actually apply fix
12621 * bufferlist.C: fix open non-existent file
12623 * lyxfind.C: fix indentation
12625 * lyxfunc.C: remove unneeded assert, fix typo
12627 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12629 * MenuBackend.C: use "Floatname List"
12631 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12633 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12634 when converting LaTeX layout to insetERT.
12635 Generate a non-collapsed float when reading old float
12637 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12639 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12642 2001-08-13 Juergen Vigna <jug@sad.it>
12644 * text.C (fill): return 0 instead of 20 as this seems to be the more
12647 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12649 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12652 2001-08-13 Juergen Vigna <jug@sad.it>
12654 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12656 (SearchBackward): comment out the unlocking of the inset_owner this
12657 should not be needed!
12659 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12661 * Many files: Remove inherit_language, and add latex_language
12663 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12664 collapsible insets.
12666 2001-08-10 Juergen Vigna <jug@sad.it>
12668 * text.C (prepareToPrint): fixed hfill-width in draw!
12670 * BufferView2.C (selectLastWord): save the selection cursor as this
12671 now is cleared in the function LyXText::clearSelection!
12673 2001-08-08 Juergen Vigna <jug@sad.it>
12675 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12676 BACKSPACE type functions.
12678 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12679 is only cutted from the document but not put in the cut-buffer, where
12680 still the old stuff should be.
12682 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12684 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12686 * tabular.C (SetWidthOfCell): fixed special case where the width
12688 (LeftLine): handle '|' in align_special.
12690 (LeftAlreadyDrawed): ditto
12691 (SetWidthOfCell): ditto
12693 2001-08-07 Juergen Vigna <jug@sad.it>
12695 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12697 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12699 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12700 * lyxlex.[hC]: ditto
12702 2001-08-06 Juergen Vigna <jug@sad.it>
12704 * text.C (getVisibleRow): fix up row clearing a bit.
12706 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12708 * minibuffer.C: make sure the X server sees the changes in the input.
12710 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * paragraph.C (getFont): split into...
12713 (getLabelFont): this
12714 (getLayoutFont): and this
12715 * paragraph_pimpl.C (realizeFont): calling this
12717 * text2.C (getFont): split into...
12718 (getLayoutFont): this
12719 (getLabelFont): and this
12720 (realizeFont): all three calling this
12722 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12725 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12727 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12729 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12731 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12732 layouts from the Quote inset insertion.
12734 2001-08-03 Juergen Vigna <jug@sad.it>
12736 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12738 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12739 only if status not is already CHANGED_IN_DRAW (second level).
12741 * text.C (draw): don't set the need_break_row when inside an
12744 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12746 * buffer.C (parseSingleLyXformat2Token): handle more latex
12749 * bufferview_funcs.[hC]: change function names to
12750 begin with small char, adjust other files.
12752 2001-08-02 André Pönitz <poenitz@gmx.net>
12755 BufferView_pimpl.C: remove broken special code for math-greek
12757 2001-08-02 Juergen Vigna <jug@sad.it>
12759 * BufferView_pimpl.C (update): redone this function so that we
12760 update the text again if there was a CHANGE_IN_DRAW.
12762 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12763 (drawFromTo): added a new internal bool which is used by draw() and
12765 (general): some cursor drawing problems fixed.
12767 2001-08-01 Juergen Vigna <jug@sad.it>
12769 * lyxfind.C (LyXFind): fixed
12770 (SearchForward): ditto
12771 (SearchBackward): ditto
12773 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12774 spurius drawing of the cursor in the main area.
12776 * text2.C (status): small fix which could lead to a segfault!
12777 (clearSelection): remove unneeded BufferView param.
12779 2001-08-01 André Pönitz <poenitz@gmx.net>
12781 * lyxfunc.C: small change due to changed mathed interface
12783 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12785 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12787 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12789 * lyxfunc.c: fail gracefully if file doesn't exist
12794 * BufferView_pimpl.C: IsDirWriteable() proto changed
12796 * LyXView.C: fix updateWindowTitle() to store the last title
12798 2001-07-31 Juergen Vigna <jug@sad.it>
12800 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12801 the font (wrong since using of Paragraph::highestFontInRange).
12803 * paragraph.C (highestFontInRange): added a default_size parameter.
12805 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12806 (setHeightOfRow): reformat
12808 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * converter.[hC] + affected files: move to (inital-char)lowercase
12813 * ParagraphParameters.C (ParagraphParameters): remove commented code
12815 * PainterBase.[Ch]: remove commented code
12817 * LaTeXFeatures.h: add "bool floats" for float.sty
12819 * LaTeXFeatures.C (LaTeXFeatures): init floats
12820 (require): handle float
12821 (getPackages): do it with floats
12823 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12825 * BufferView_pimpl.C (Dispatch): improve handling of
12826 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12828 * commandtags.h: #include lyxfont.h here temporarily to avoid
12831 * bufferlist.h: include LString.h here.
12833 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12835 * text2.C (getStringToIndex): new method.
12837 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12839 * *: Reduced header file dependencies all over.
12841 2001-07-30 Baruch Even <baruch@lyx.org>
12843 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12845 2001-07-29 Baruch Even <baruch@lyx.org>
12847 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12849 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12851 * ParameterStruct.h (endif): add a default constructor to make
12852 sure that all variables is initialized.
12854 * ParagraphParameters.C (ParagraphParameters): adjust
12856 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12858 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12859 index; also, check that there is something to index, and that it
12860 does not span over several paragraphs.
12861 (doubleClick): use WHOLE_WORD_STRICT for double click.
12863 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12865 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12868 2001-07-26 Baruch Even <baruch@lyx.org>
12870 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12871 an InsetFig figure, backwards compatible reading of old figure code.
12873 2001-07-27 Juergen Vigna <jug@sad.it>
12875 * text2.C: font.realize function adaption.
12877 * text.C (draw): add a warnings lyxerr text if needed.
12879 * layout.C: font.realize function adaption.
12881 * language.C: add inherit_language and implement it's handlings
12883 * bufferview_funcs.C (StyleReset): remove language parameter from
12884 font creation (should be language_inherit now).
12886 * bufferparams.C (writeFile): handle ignore_language.
12888 * paragraph.C (getFontSettings): the language has to be resolved
12889 otherwise we have problems in LyXFont!
12891 * lyxfont.C (lyxWriteChanges): added document_language parameter
12892 (update): removed unneeded language parameter
12894 * paragraph.C (validate): fixed wrong output of color-package when
12895 using interface colors for certain fonts in certain environments,
12896 which should not seen as that on the final output.
12898 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12900 * BufferView_pimpl.C:
12905 * LyXAction.C: add thesaurus support
12908 * lyxfind.C: add "once" parameter, for thesaurus, to not
12909 move to the next match
12911 2001-07-26 Juergen Vigna <jug@sad.it>
12913 * lyxfont.C (realize): honor ignore_language too!
12916 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12918 * text.C (draw): one place more for ignore_language to not draw
12921 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12923 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12925 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12927 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12928 the minipage conversion problem.
12930 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12932 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12935 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12937 * BufferView.h: don't forward declare WorkArea
12939 * BufferView.C: don't include WorkArea.h
12941 2001-07-25 André Pönitz <poenitz@gmx.net>
12945 * lyxfunc.C: new LFUN 'math-space'
12947 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12949 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12951 * text2.C (toggleInset): call open/close
12953 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12955 * lyxfunc.C (dispatch): add debug for the disabled case
12957 * font.C (buttonText): make similar to rectText
12959 * buffer.C (readInset): comment out parsing of insetlist and
12962 * PainterBase.C (rectText): small correction
12964 * BufferView_pimpl.C: comment out insettheorem and insetlist
12965 * LyXAction.C: ditto
12966 * commandtags.h: ditto
12968 2001-07-24 Juergen Vigna <jug@sad.it>
12970 * text.C (draw): honor the ignore_language.
12972 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12974 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12976 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12979 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12981 * lyxtext.h: remove unused (and unimplemented) methods
12983 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12985 * text.C (getVisibleRow): honor background color
12988 * Painter.h: remove default color argument for fillRectangle
12990 * text.C (backgroundColor): new method
12992 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12994 * text.C (getVisibleRow): adjust
12996 * font.[Ch] (rectText): new method, metrics
12997 (buttonText): new method, metrics
12999 * PainterBase.[hC]: make rectText and buttonText always draw and take
13002 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13004 * ToolbarDefaults.C (read):
13005 * MenuBackend.C (read): allow escaping in all strings
13007 * BufferView_pimpl.C (insertAndEditInset): new method.
13008 (Dispatch): use insertAndEditInset whenever appropriate.
13010 * BufferView_pimpl.C (insertNote): removed
13012 * BufferView_pimpl.C (smartQuote): new method, moved from
13013 BufferView; if an insetquote cannot be inserted, insert a '"'
13016 * BufferView2.C: remove insertCorrectQuote();
13018 * lyxfunc.C (getStatus): Add support for all remaingin
13019 inset-insert lfuns.
13021 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13023 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13024 command (necessary to pass " as parameter of self-insert.
13026 * text.C (selectWordWhenUnderCursor):
13027 (selectWord): add word_location parameter
13028 (selectWordWhenUnderCursor): same + remove special code for word
13030 (selectNextWord): use kind() to guess type of insetspecialchar,
13033 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13034 (insertErtContents): create ert insets as collapsed.
13035 (readInset): better compatibility code for Info inset.
13037 2001-07-20 Juergen Vigna <jug@sad.it>
13039 * lyxfunc.C (dispatch): use always LyXFind now!
13041 * text2.C (init): add a reinit flag so that the LyXText can be
13042 reinited instead of deleted and reallocated (used in InsetText).
13044 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13050 2001-07-18 Juergen Vigna <jug@sad.it>
13052 * text.C (selectNextWord): handle insets inside inset by calling
13053 always the bv->text functions so that we can go up the_locking_inset!
13055 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13056 in strange locations when inside an inset!
13058 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13059 handling to include insets.
13061 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13063 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13065 * LyXAction.C (init):
13067 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13068 LIGATURE_BREAK, since the name is so stupid.
13070 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13072 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13075 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13077 * sp_form.[Ch]: remove.
13079 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13081 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13084 * src/buffer.C (readInset): ditto.
13086 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13088 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13089 menuSeparator(), endOfSentenceDot(), ldots() and
13090 hyphenationPoint(), which are therefore removed.
13091 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13093 * LyXAction.C (init):
13094 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13096 * paragraph.C (getWord): removed.
13098 * BufferView_pimpl.C (Dispatch): use last word or selection for
13099 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13101 * lyx_main.C (queryUserLyXDir): do not ask before creating
13102 user_dir, except if it has been named explicitely.
13104 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13106 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13107 a document of zero size.
13109 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13111 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13112 approriately in the c-tor and in require().
13113 (getPackages): output the appropriate LaTeX for natbib support.
13115 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13116 variables "use_natbib" and "use_numerical_citations" when reading the
13118 (readInset): read the various natbib cite commands.
13119 (validate): white-space change.
13121 * bufferparams.[Ch]: new variables "bool use_natbib" and
13122 "bool use_numerical_citations".
13123 (writeFile): output them in the LyX file.
13125 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13127 * lyxfunc.C (getStatus): add support for all the inset insertion
13130 * text2.C (insertInset):
13131 * paragraph.C (insetAllowed):
13132 * BufferView_pimpl.C (insertInset): update to take in account the
13133 renaming of insertInsetAllowed
13135 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13137 * text2.C (getInset): new method. returns inset at cursor position.
13139 * BufferView_pimpl.C (Dispatch): changes because of this.
13141 * LyXAction.C (init): rename open-stuff to inset-toggle.
13143 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13145 * text2.C (toggleInset): renamed from openStuff; use
13148 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13150 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13152 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13154 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13156 * buffer.C (readLyXformat2): Add filename to the error dialog
13158 2001-07-18 Juergen Vigna <jug@sad.it>
13160 * tabular.C (GetCellNumber): put an assert here instead of the check!
13162 2001-07-17 Juergen Vigna <jug@sad.it>
13164 * BufferView_pimpl.C (toggleSelection): adapted too.
13166 * text.C (selectNextWord): adapted for use with insets.
13167 (selectSelectedWord): ditto
13169 2001-07-17 Juergen Vigna <jug@sad.it>
13171 * sp_spell.C (PSpell): fix initialitation order.
13173 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13175 * paragraph.C: spacing
13177 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13179 * sp_spell.C: repair language selection for pspell
13181 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * lyxfunc.h: change more methods to begin with lower char.
13185 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13187 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13188 for unknown layouts.
13190 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13192 * buffer.C (readLyXformat2): Generate an error dialog if there are
13195 2001-07-16 Juergen Vigna <jug@sad.it>
13197 * sp_spell.C: always compile ISpell part.
13199 * lyxrc.C: added use_pspell entry and it's handling.
13201 2001-07-13 Juergen Vigna <jug@sad.it>
13203 * sp_spell.C: removed double includes.
13205 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13207 Consistent use of Lsstream.h:
13208 * Lsstream.h: added using std::stringstream for consistencies sake.
13210 * buffer.C: removed using std::stringstream
13212 * lyxfont.C (stateText):
13213 * paragraph.C (asString):
13214 * text.C (selectNextWord, selectSelectedWord):
13215 * text2.C (setCounter):
13216 * vspace.C (asString, asLatexString):
13217 std::ostringstream -> ostringstream.
13219 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13221 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13222 * commandtags.h: add LFUN_HELP_ABOUTLYX
13223 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13225 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13227 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13229 * lyx_gui_misc.C: remove spellchecker
13230 * lyxfunc.C: showSpellchecker
13232 * sp_ispell.h: added
13233 * sp_pspell.h: added
13234 * sp_spell.C: added
13235 * sp_form.[Ch]: removed
13236 * spellchecker.[Ch]: removed
13238 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13240 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13242 (simpleTeXSpecialChars): Simply print the input character without
13243 any special translation if pass_thru is set.
13245 * layout.h: Added bool pass_thru to layout class for being able to
13246 implement pass through of a paragraph for Literate Programming.
13248 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13249 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13250 * layout.C (Read): add "passthru" to list of layout tags and add
13251 code to set the pass_thru boolean when it is read.
13253 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13255 * trans_decl.h: remove allowed from KmodInfo
13257 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13258 remove allowed code
13261 * paragraph_pimpl.C (erase): use boost::prior
13263 * Painter.C (text): use data() instead of c_str() when length is
13265 * WorkArea.C (putClipboard): ditto
13266 * font.h (width): ditto
13268 * BufferView2.C: use it-> instead of (*it). for iterators
13270 * paragraph_pimpl.C: ditto
13271 * paragraph.C: ditto
13272 * minibuffer.C: ditto
13273 * language.C: ditto
13275 * encoding.C: ditto
13276 * counters.C: ditto
13277 * converter.C: ditto
13279 * Variables.C: ditto
13280 * TextCache.C: ditto
13281 * MenuBackend.C: ditto
13282 * LyXAction.C: ditto
13284 * FloatList.C: ditto
13285 * DepTable.C: ditto
13286 * ColorHandler.C (LyXColorHandler): ditto
13288 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13290 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13292 * text2.C (openStuff): reintroduce this method (which had been
13293 nuked in NEW_INSETS frenzy).
13295 * lyxfunc.C (Dispatch): when an action has not been handled, use
13296 its name in the error message, not its number.
13298 * paragraph.C (inInset): change method name to begin with lowercase.
13301 * text2.C: updates because of this.
13303 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13305 * ToolbarDefaults.C (add): add spaces in error message
13307 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13309 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13310 (readLyXformat2): rename return_par to first_par, use lyxlex's
13311 pushToken and remove the manual push handling.
13312 (parseSingleLyXformat2Token): add another ert comp. variable:
13313 in_tabular, rename return_par to first_par. handle newlines better
13315 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13317 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13319 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13321 * text2.C (getParFromID): removed
13323 * buffer.C (getParFromID): new method moved form lyxtext.
13324 * BufferView2.C (insertErrors): adjust
13325 (setCursorFromRow): adjust
13326 * BufferView_pimpl.C (restorePosition): adjust
13327 * lyxfunc.C (Dispatch): adjust
13328 * undo_funcs.C (textUndo): adjust
13330 (textHandleUndo): adjust
13331 (textHandleUndo): adjust
13333 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13335 * buffer.C: up' the LYX_FORMAT
13337 * lyxfont.h: turn NO_LATEX on as default
13339 * buffer.C (insertErtContents): new methods of tex style compability.
13340 (parseSingleLyXformat2Token): use it several places.
13341 * tabular.C (OldFormatRead): and here
13343 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13345 * text2.C: remove some commented code.
13348 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13349 * trans.C: changes because of the above.
13351 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13353 * text2.C (setCounter): Fix counters bug with bibliography layout.
13355 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13357 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13358 own member functions
13359 (simpleTeXSpecialChars): ditto
13361 2001-07-06 Juergen Vigna <jug@sad.it>
13363 * a lot of files: changed the access to LyXText::status and the
13364 call of undo-functions.
13366 * undo.[Ch]: added a inset_id to the undo informations.
13368 * undo_funcs.[Ch]: added and moved here all undo functions.
13370 * lyxtext.h: give the status enum a weight, made status_ a private
13371 variable and made accessor functions for it, removed the whole bunch
13372 of undo-functions as they are now in their own file, make some
13373 functions publically available. Added function ownerParagraph with
13376 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13377 made InInset() a const function, added getParFromID() function.
13379 * buffer.[Ch]: added const version for inset_iterator functions,
13380 added getInsetFromID() function.
13382 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13383 changed undo functions for new version.
13385 2001-07-05 Juergen Vigna <jug@sad.it>
13387 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13388 unknow mechanism does not call the proper constructor but only this
13389 one also if I request the other!?
13391 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13393 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13395 * text2.C (LyXText): use initialization lists.
13397 * lyxtext.h (Selection): initialize set_ and mark_
13398 (init): remove method
13400 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13402 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13404 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13406 * screen.[Ch]: change method names to begin with lowercase
13408 * BufferView_pimpl.C (updateScrollbar): simplify further and
13409 hopefully make it a bit faster.
13411 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13413 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13414 calling directly xforms functions.
13416 * Painter.C (Painter):
13417 * lyx_cb.C (MenuWrite):
13418 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13421 * lyx_gui.C: remove bogus guiruntime extern declaration.
13423 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13425 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13427 (redoDrawingOfParagraph): ditto
13428 (redoParagraphs): ditto
13429 (cutSelection): don't create a object for CutAndPaste use the
13430 static method directly
13431 (pasteSelection): ditto
13433 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13436 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13438 * modifications to some other files because of this.
13440 * Makefile.am (lyx_SOURCES): add XFormsView
13442 * XFormsView.[Ch]: new files
13444 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13445 the main window. Move the gui dependent stuff to XFormsView
13447 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13449 * tabular.C (GetCellInset): update cur_cell also in the row/col
13450 version of this function.
13452 * lyxfunc.C: no need to include figure_form.h here.
13458 * lyxvc.C: no need to include forms.h here.
13460 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13462 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13464 * lyxfunc.C (Dispatch):
13466 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13467 constructor argument.
13469 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13471 * paragraph.C (Paragraph): dont't clear, and just set layout.
13472 (makeSameLayout): use params's copy contructor.
13474 * ParagraphParameters.[Ch] (makeSame): delete method
13476 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13478 * Variables.[Ch]: fix indentation, rename set to isSet
13480 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13482 * lyxfunc.C (Dispatch): fix typo
13484 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13486 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13489 * bufferlist.C: include assert.h for emergencyWrite().
13491 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13493 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13494 give up at last (bug #425202) !
13496 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13502 * spellchecker.C: strip spellchecker options and bring up
13503 preferences tab instead
13505 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13508 the istringstream constructor
13510 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13512 * paragraph.C (getLayout): fix return value
13514 * paragraph.h: do not declare getLayout as inline.
13516 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13518 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13520 * lyxcursor.h (operator<): new func
13521 (operator>): new func
13522 (operator>=): new func
13523 (operator<=): new func
13525 * text.C (changeCase): use selection.start and selection.end
13526 (changeRegionCase): require from to be <= to. Require par to be a
13529 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13531 2001-06-27 Juergen Vigna <jug@sad.it>
13533 * text.C (cursorLeftOneWord): changed to return the cursor and added
13534 overlay with BufferView * parameter which calls this one.
13536 (selectWord): use new getWord function.
13537 (changeCase): renamed from changeWordCase as and extended to work
13538 also on selections.
13540 * lyxtext.h: added enum word_location
13542 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13543 changeCase as this operates now also on selections.
13545 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13547 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13549 * many files: send debug output to Debug::INFO instead of
13552 * converter.C (View):
13554 (Move): send debug output to Debug::FILES instead of console.
13556 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13558 * lyxfunc.C (getStatus): use func_status
13560 * func_status.h: new header, describing the results of
13561 LyXFunc::getStatus;
13563 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13566 2001-06-25 The LyX Project <jug@sad.it>
13568 * buffer.C (sgmlOpenTag):
13570 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13572 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13574 * text2.C: remove some dead code
13576 * tabular.C (GetCellInset): store the last cell checked (gotten)
13578 * tabular.h: add the helper for the speedup
13580 * lyxtext.h: remove some dead code
13582 2001-06-26 The LyX Project <Asger>
13584 * paragraph.C: Change export to LaTeX of alignment to
13585 \begin{center} and family for better roundtrip work with reLyX.
13587 * Tune the math drawing a bit.
13589 2001-06-25 The LyX Project <Asger>
13591 * LColor.C (LColor): New color for math background. New color
13594 2001-06-25 The LyX Project <jug@sad.it>
13596 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13598 * lyxfunc.C (Open):
13599 * bufferlist.C (newFile): do not restrict to files ending with
13602 * BufferView_pimpl.C (MenuInsertLyXFile):
13604 2001-06-24 The LyX Project <jug@sad.it>
13606 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13609 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13611 * lyxtext.h: rename most methods to begin with a small char.
13612 Lots of changes because of this.
13614 * paragraph.C (Paragraph): do not call fitToSize
13615 (erase): call Pimpl::erase
13616 (insertChar): call Pimpl::insertChar
13617 (insertInset): call Pipl::insertInset
13618 (breakParagraph): do not call fitToSize
13619 (breakParagraphConservative): do not call fitToSize
13620 (fitToSize): remove method
13622 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13624 2001-06-24 The LyX Project <Asger>
13626 * Fix Qt compilation^2
13628 2001-06-24 The LyX Project <jug@sad.it>
13630 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13631 depthHook(getDepth()-1).
13634 * ParagraphParameters.h:
13635 * ParameterStruct.h: change type of depth to unsigned int ==
13636 depth_type. Many adaptations to other files before of that.
13638 2001-06-24 The LyX Project <Asger>
13640 * Fix Qt compilation.
13642 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13644 * paragraph.h: renamed several methods to begin with small letter.
13645 several changes to many parts of the code because of this.
13647 2001-06-23 The LyX Project <jug@sad.it>
13649 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13650 rewritten to discard all double spaces when KeepEmpty is off
13651 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13652 to only handle newlines but not fiddle with spaces and friends.
13654 * lyxfunc.C (MenuNew): when doing 'new from template', use
13655 template_path as default directory
13657 2001-06-23 The LyX Project <Asger>
13659 * Clean-up of header file includes all over
13660 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13662 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13664 * paragraph.h: renamed from lyxparagraph.h
13666 2001-06-23 Asger <lyx@violet.home.sad.it>
13668 * Buffer.h: Removed Buffer::resize
13669 * BufferList.h: Removed BufferList::resize
13670 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13671 the document lazily when we change the width, or the font settings.
13673 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13675 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13677 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13679 * buffer.h: remove out of date comment
13681 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13684 * screen.C: fix "theoretical" GC leak
13686 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13688 * LaTeX.C (scanAuxFile):
13689 (deplog): remove trailing \r when reading stream (useful under
13692 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13694 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13695 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13696 and BufferView::theLockingInset(Inset*), so should use them and not
13697 access bv_->text->the_locking_inset directly.
13699 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13701 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13704 * tex-defs.h: remove old unused file
13706 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13708 * BufferView_pimpl.C: fix typo, remove minibuffer message
13709 when buffer has loaded
13711 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13713 * lyxfunc.C (Dispatch): use stringstream
13714 (MenuNew): use stringstream
13715 (Open): use stringstream
13717 * importer.C (Import): use stringstream
13719 * bufferview_funcs.C (CurrentState): use stringstream
13721 * LaTeX.C (run): use stringstream
13723 * BufferView_pimpl.C (savePosition): use stringstream
13724 (restorePosition): use stringstream
13725 (MenuInsertLyXFile): use stringstream
13727 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13740 * vspace.C: removed // -*- C++ -*- as first line.
13743 * version.h: added // -*- C++ -*- as first line.
13745 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13747 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13749 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13752 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13754 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13757 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13759 * gettext.C: include LString.h even when --disable-nls is on.
13761 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13763 * converter.h (Get): changed argument type from int to
13764 FormatList::size_type to avoid unnecessary conversion.
13766 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13769 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13771 * gettext.h: include LString.h even when --disable-nls is on.
13773 2001-06-07 Juergen Vigna <jug@sad.it>
13775 * text.C (BreakAgain): subst spaces with tabs.
13777 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13778 (resizeInsetsLyXText): set force on resizeLyXText.
13780 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13782 * gettext.h (gettext_init):
13783 (locale_init): use a real definition instead of a macro
13785 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13787 * Bufferview_pimpl.C:
13789 * LColor.C: further lcolor tidies
13791 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13793 * BufferView_pimpl.C (updateScrollbar): simplify.
13795 * BufferView2.C: don't include insets/insetinfo.h, change
13796 prototype for insertInset and call the Pimpl version. let
13797 updateInset call Pimpl version.
13799 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13800 gotoInset to BufferView::Pimpl
13802 2001-06-01 Juergen Vigna <jug@sad.it>
13804 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13805 inside a LockingInset (is the update needed at all?).
13807 2001-05-31 Juergen Vigna <jug@sad.it>
13809 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13810 here not the old one otherwise how should we compare it afterwards
13813 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13818 * FontInfo.C: bring C functions into global namespace when
13821 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * LString.h: make sure config.h has been loaded before LString.h.
13825 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13826 (one for each char read by EatLine!).
13828 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13831 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13834 to the same as the par we break from
13836 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13840 * MenuBackend.C (expand): also create menu entries for wide
13841 versions of the floats.
13843 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13845 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13847 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13848 frontends/Makefile.am
13854 * tabular.C (getTokenValue): add std::
13856 * tabular-old.C (getTokenValue): add std::
13857 (getTokenValue): ditto
13858 (getTokenValue): ditto
13860 * screen.C (ToggleSelection): adjust
13862 * lyxtext.h: put selection cursors inside a Selection struct.
13864 * lyxfunc.C (moveCursorUpdate): adjust
13866 * lyxfont.C (latexWriteStartChanges): add std::
13868 * lyxfind.C: adjust
13870 * font.h: delete with(char const *, LyXFont const &)
13872 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13874 * FontInfo.C (getFontname): add std::
13876 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13877 (workAreaButtonPress): adjust
13878 (tripleClick): adjust
13880 (moveCursorUpdate): adjust
13883 * BufferView2.C (gotoInset): adjust
13885 2001-05-30 Juergen Vigna <jug@sad.it>
13887 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13888 to check pspell I add this as default as I now have new pspell
13889 libraries and they seem to use this.
13891 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13893 * text2.C (CutSelection): make the cursor valid before the call to
13896 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13898 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13899 relied on 0 terminated strings and other horrors. Bug found due to
13900 the new assert in lyxstring!
13902 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13905 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13907 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13910 * lyxfunc.C (processKeySym): change method of getting to the
13913 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13914 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13915 * BufferView_pimpl.[Ch]: here as private methods.
13917 2001-05-28 Juergen Vigna <jug@sad.it>
13919 * text.C (SetHeightOfRow): added the update() call again as it is
13920 needed to initialize inset dimensions!
13922 2001-05-16 Juergen Vigna <jug@sad.it>
13924 * text2.C (SetCharFont): Add new function with BufferView * and
13925 bool toggleall parameters for setting insets internal fonts.
13926 (SetFont): Freeze the undo as we may change fonts in Insets and
13927 all this change should be inside only one Undo!
13929 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13930 setting font's in insets as for them we have the SetFont function!
13932 2001-05-15 Juergen Vigna <jug@sad.it>
13934 * text2.C (ClearSelection): to be sure we REALLY don't have any
13937 * tabular.C (TeXCellPreamble): fixed the left border problem for
13940 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13942 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13945 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13947 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13948 LFUN_BREAKPARAGRAPH.
13950 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13951 help test to "internal only", similar for LFUN_INSERT_URL
13953 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13954 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13955 auto_region_delete and deadkeys.
13957 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13960 * LColor.C: remove some dead entries, tidy a little
13962 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13966 (Dispatch): implement LFUN_ESCAPE
13968 * commandtags.h: add LFUN_ESCAPE
13970 * LyXAction.C (init): add entry for LFUN_ESCAPE
13972 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13973 Remove commented code.
13974 (insertNote): moved here
13975 (open_new_inset): moved here
13977 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13980 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13982 * kbmap.C (findbinding): clean it up and make it work correctly.
13984 * lyx_main.C (init): do not pass argc and argv as parameters
13986 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13988 * buffer.C: fix path for OS/2 & Win32
13992 * lyx_main.C: Added os:: class.
13994 * os2_defines.h: update
13996 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13998 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13999 better by trying again with reduced state.
14001 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14003 * lyxrc.C (read): print error about invalid key sequence only when
14004 debugging (because not all latinX keysyms are known to some X
14007 * kbsequence.C (getiso): add a few std:: qualifiers
14008 (getiso): comment out extra return statement.
14010 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14012 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14014 (Dispatch): enhance the accent inset a bit. (not perfect)
14016 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14018 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14020 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14022 * bufferlist.C (emergencyWrite): fix assert() call
14024 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14026 * text.C (InsertChar): Added trivial patch to only send the "you
14027 can not do multiple spaces this way" message once during a
14030 2001-05-08 Baruch Even <baruch@lyx.org>
14032 * Makefile.am: Changed order of libraries to get LyX to link properly
14033 with the gnome frontend.
14035 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14037 * LaTeXFeatures.h: add a std:: qualifier
14039 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14041 * paragraph.C (String): use stringstream
14043 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14045 * paragraph.C (writeFile): remove footflag arg
14047 * buffer.C (makeLaTeXFile): use stringstream
14048 (latexParagraphs): remove footnot gurba
14050 * LaTeXFeatures.C (getPackages): use stringstream
14051 (getMacros): likewise
14052 (getTClassPreamble): likewise
14053 (getFloatDefinitions): new method
14055 * paragraph.C (writeFile): reindent
14058 * WorkArea.h: revert the xpos + etc changes.
14060 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14062 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14064 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14065 (pasteSelection): likewise
14066 * text2.C (CreateUndo): likewise
14068 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14070 * minibuffer.C (peek_event): temporarily reduce the functionality
14071 of the minibuffer (to allow args on lfuns)
14073 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14074 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14076 * buffer.C (readInset): add compability reading of old float
14077 lists, add reading of new style float list.
14078 (readInset): avoid reevaluation of inscmd.getCmdName()
14079 (getLists): reindent
14081 * MenuBackend.C (MenuItem): implement parsing of
14082 md_floatlistinsert and md_floatinsert.
14083 (expand::LastFiles): move initalizaton of iterators out of loop,
14084 avoid reevaluation.
14085 (expand::Documents): introduce typdedef vector<string> Strings,
14087 (expand::ExportFormats): introduce typedef vector<Format const *>
14088 Formats, and use it.
14089 (expand): implement FloatListInsert and FloatInsert.
14091 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14092 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14093 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14095 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14097 (Dispatch::LFUN_FLOAT_LIST): implement
14099 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14101 * LaTeX.C (run): Fix problem with --export code.
14103 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14105 * BufferView.[Ch] (workarea): removed.
14106 (getClipboard) new method; wrapper for workarea()->getClipboard()
14108 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14111 * WorkArea.h (width, height, xpos, ypos): These methods all
14112 returned the dimensions of the work_area sub-area of WorkArea,
14113 resulting in a position error if the WorkArea were resized. Now
14114 return the dimensions of the entire WorkArea.
14116 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14118 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14120 * LaTeX.C (deplog): correct the syntax of regex reg1
14122 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14124 * undo.C: remove !NEW_INSETS cruft
14126 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14128 * text2.C: remove !NEW_INSETS cruft
14130 * text.C: remove !NEW_INSETS cruft
14132 * tabular.C: remove !NEW_INSETS cruft
14134 * spellchecker.C: remove !NEW_INSETS cruft
14136 * lyxtext.h: remove !NEW_INSETS cruft
14138 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14140 * lyxfunc.C: remove !NEW_INSETS cruft
14142 * lyxfind.C: remove !NEW_INSETS cruft
14144 * lyx_cb.C: remove !NEW_INSETS cruft
14146 * figureForm.C: remove !NEW_INSETS cruft
14148 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14150 * buffer.[Ch]: remove !NEW_INSETS cruft
14152 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14154 * CutAndPaste.C: remove !NEW_INSETS cruft
14156 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14158 * BufferView2.C: remove !NEW_INSETS cruft
14160 * BufferView.h: remove !NEW_INSETS cruft
14162 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14164 * Lsstream.h: include LString.h before the sstream headers to
14165 fix problem with gcc 2.95.3 and lyxstring
14167 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14169 * lyx_main.C: add using directives when needed for C functions
14170 declared in std:: namespace.
14172 2001-04-27 Juergen Vigna <jug@sad.it>
14174 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14175 (SetHeightOfRow): comment out the update call should not be needed!
14177 2001-04-13 Juergen Vigna <jug@sad.it>
14179 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14180 (LyXTabular): tried to minimize operator= operations (and realized
14181 hopfully Lars wish).
14183 2001-04-27 Juergen Vigna <jug@sad.it>
14185 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14187 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14189 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14191 * buffer.C (readInset): hack to make listof algorithm work
14193 * BufferView_pimpl.C: hack to make listof algorithm work
14195 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14197 * LyXAction.C: removed all !NEW_INSETS cruft
14198 (init): moved lfun_item in method
14200 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14202 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14204 * BufferView2.C (theLockingInset): white space.
14206 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14208 * minibuffer.C: include <iostream>
14210 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14212 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14214 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14216 * text.[Ch] (TransposeChars): new method
14218 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14220 * call message directly through LyXView instead of through LyXFunc
14221 * BufferView2.C: adjust
14222 * BufferView_pimpl.C: adjust
14223 * FontLoader.C: adjust
14225 * bufferview_funcs.C: adjust
14226 * converter.C: adjust
14227 * figureForm.C: adjust
14228 * importer.C: adjust
14230 * lyx_gui_misc.C: adjust
14231 * lyxfunc.C: adjust
14234 + more files in subdirs
14236 * lyxparagraph.h (size): move up int file
14239 * adjust all uses of Assert to lyx::Assert.
14241 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14242 lyxfunctional in namespace lyx
14243 * layout.C (hasLayout): ditto
14246 (delete_layout): ditto
14247 (NumberOfClass): ditto
14248 * converter.C (GetFormat): ditto
14253 * bufferlist.C (getFileNames): ditto
14254 (emergencyWriteAll): ditto
14257 * MenuBackend.C (hasSubmenu): ditto
14260 * BufferView_pimpl.C (getInsetByCode): ditto
14262 2001-04-18 Juergen Vigna <jug@sad.it>
14264 * vspace.C (asLatexString): fixed the 100% problem.
14266 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * lyxfunc.C (Dispatch):
14270 * minibuffer.h: add a few std:: qualifiers
14272 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14274 * minibuffer.[Ch]: reimplement so that commands is initiated and
14275 run from lyxfunc, simplified som handling, and made the completion
14276 and history code for complete. wip.
14278 * lyxfunc.C (processKeySym): call message
14279 (miniDispatch): new temporary method
14280 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14281 (LFUN_MESSAGE): implement
14282 (LFUN_MESSAGE_PUSH): implement
14283 (LFUN_MESSAGE_POP): implement
14284 (initMiniBuffer): the initial/defualt minibuffer message.
14286 * lyxfont.[Ch]: inline some more getters
14288 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14290 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14292 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14293 (AutoSave): use LFUN_MESSAGE
14294 (Reconfigure): ditto
14296 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14298 * figureForm.C: use LFUN_MESSAGE
14300 * converter.C (runLaTeX): use LFUN_MESSAGE
14302 * bufferview_funcs.C: use LFUN_MESSAGE
14304 (changeDepth): ditto
14306 * bufferparams.h: use boost::
14308 * bufferlist.h: inherit privately from noncopyable
14310 * bufferlist.C (loadLyXFile): remove some commented code.
14312 * buffer.C (runChktex): use LFUN_MESSAGE
14314 * ShareContainer.h: inherit privately from noncopyable
14316 * ParagraphParameters.[hC] (depth): inline it.
14318 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14320 (message): new method
14321 (messagePush): ditto
14322 (messagePop): ditto
14323 (show): init minibuffer
14324 (showState): direct call
14326 * LaTeX.[Ch]: inherit privately from noncopyable
14327 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14328 instead of WriteStatus.
14330 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14332 * BufferView_pimpl.C (buffer): don't init minibuffer
14333 (workAreaButtonPress): use LFUN_MESSAGE
14334 (workAreaButtonRelease): ditto
14335 (savePosition): ditto
14336 (restorePosition): ditto
14337 (MenuInsertLyXFile): ditto
14338 (workAreaExpose): don't init minibuffer
14339 (update): remove commented code, simplify
14341 * BufferView2.C (openStuff): use LFUN_MESSAGE
14342 (toggleFloat): ditto
14345 (copyEnvironment): ditto
14346 (pasteEnvironment): ditto
14351 (updateInset): remove some commented code
14353 * lastfiles.h: inherit privately from noncopyable
14356 * lyx_main.h: ditto
14358 * lyxlex_pimpl.h: ditto
14360 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14361 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14362 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14364 * LyXAction.h: inherit privately from noncopyable, add methods
14365 func_begin, func_end, returning iterators to the func map.
14367 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14368 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14369 (func_begin): new method
14370 (func_end): new method
14372 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14374 (copySelection): ditto
14375 (pasteSelection): ditto
14377 * BufferView.C: whitespace change
14378 * BufferView.h: inherit privately from noncopyable
14380 2001-04-16 Allan Rae <rae@lyx.org>
14382 * tabular-old.C (l_getline):
14383 * spellchecker.C (sc_check_word):
14384 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14385 an unrecognised preprocessor directive. So ensure they're wrapped.
14387 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14389 * src/exporter.C (Export): Give an error message when path to file
14392 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14394 * LaTeX.C (deplog): Always check that foundfile exists.
14396 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14401 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14403 * tabular.[Ch] (getLabelList): implement new method
14405 * minibuffer.h: comment ouf setTiimer
14407 * minibuffer.C (ExecutingCB): constify res
14408 (peek_event): constify s
14409 (Set): constify ntext
14410 (Init): constify nicename
14412 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14414 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14415 (savePosition): use two params to Minibuffer::Set
14416 (restorePosition): ditto
14418 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14420 * lyx_main.C: include language.h
14422 * Makefile.am (lyx_main.o): add language.h
14424 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14430 * CutAndPaste.C: include gettext.h
14432 * lyxfont.h: remove old hack with ON and OFF.
14435 * lyxfont.h: do not include language.h...
14440 * bufferview_funcs.C:
14446 * paragraph.C: ... but do it here instead
14448 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14450 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14452 * tabular.C: small reformat
14454 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14457 (BreakParagraph): ditto
14458 (SetOnlyLayout): ditto
14461 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14464 * lastfiles.C: removed most using decl, add std:: where needed
14466 * buffer.C: ws changes
14468 * MenuBackend.C (class compare_format): put into anon namespace
14469 (expand): constify label, names, action, action2
14472 * text.C (SingleWidth): constify font
14473 (IsBoundary): constify rtl2
14474 (GetVisibleRow): constify ww
14476 * LaTeX.C (deplog): constify logfile
14478 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14480 (workAreaExpose): constify widthChange, heightChange
14482 * lyxrow.C (par): moved
14485 * lyxrow.h: as inlines here
14487 * lyxfont.h (shape): moved from lyxfont.C
14488 (emph): moved from lyxfont.C
14490 * lyxfont.C (LyXFont): use initialization list for all
14492 (shape): move to lyxfont.h as inline
14493 (emph): move to lyxfont.h as inline
14496 2001-04-04 Juergen Vigna <jug@sad.it>
14498 * vspace.C: had to include stdio.h for use of sscanf
14500 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14503 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14504 independent of xforms.
14506 2001-04-02 Juergen Vigna <jug@sad.it>
14508 * spellchecker.C: fixed namespace placing!
14510 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14512 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14513 the LyXParagraph * is 0.
14515 2001-03-29 Juergen Vigna <jug@sad.it>
14517 * vspace.C: added support for %, c%, p%, l%.
14518 (stringFromUnit): added helper function.
14519 (asLatexString): changed to give right results for the %-values.
14521 * buffer.C: convert the widthp in a width%.
14523 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14525 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14528 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14529 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14531 * lyx_cb.[Ch]: see above.
14533 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14537 * lyx.[Ch]: replaced by figure_form.[Ch].
14541 * lyxfunc.C: changed headers associated with above changes.
14543 2001-03-27 Juergen Vigna <jug@sad.it>
14545 * BufferView_pimpl.C: set the temporary cursor right!
14547 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14549 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14551 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14553 * LString.h: removed "using std::getline"!
14555 * BufferView_pimpl.C (Dispatch): changes due to changes in
14556 InsetInclude::Params.
14558 * buffer.C (tag_name): removed redundant break statements as they were
14559 producing lots of warnings with my compiler.
14561 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14563 * LString.h: add "using std::getline" when using the real <string>.
14565 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14567 * buffer.C: removed bitset usage.
14568 PAR_TAG moved to an anonymous name space.
14569 (tag_name): new funtion, also in the anonymous namespace.
14570 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14571 (makeDocBookFile): clean code. Completed transition from string arrays
14573 (SimpleDocBookOnePar): code clean.
14575 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14577 * tabular.C: add some comments.
14579 2001-03-22 Juergen Vigna <jug@sad.it>
14581 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14582 compatibility read a bit and fixed bug with minipage in different
14585 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14587 * buffer.C (pop_tag): removed.
14588 (push_tag): removed.
14589 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14590 array replaced with vector. Added support for CDATA sections.
14591 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14593 (makeDocBookFile): XML conformant declaration of CDATA section,
14594 fixed bug related to <emphasis> in the first paragraph char.
14595 (sgmlOpenTag): exclude empty tags.
14596 (sgmlCloseTag): ditto.
14598 * buffer.h (pop_tag): removed.
14599 (push_tag): removed.
14601 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14603 * language.h (Languages): added size_type and size().
14605 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14607 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14608 response on compability reading of minipages. One probliem is that
14609 the old usage of minipages was «flertydig»
14611 * several files here and in subdirs: don't use static at file
14612 scope use anon namespaces instead.
14614 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14616 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14617 LaTeX output. This is necessary for Literate document
14620 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14622 * buffer.C: insert hfill when needed.
14624 * tabular.C (l_getline): use string::erase, small whitespace change.
14626 * BufferView_pimpl.C: try the anon namespace.
14627 * WorkArea.C: ditto
14629 2001-03-16 Juergen Vigna <jug@sad.it>
14631 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14632 otherwise it won't open options-dialogs.
14634 * buffer.C: honor pextraWidth(p) on converting minipages.
14636 * tabular.C (l_getline): changed the functions to strip trailing \r.
14638 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14640 * BufferView_pimpl.C:
14641 * minibuffer..C: added "using SigC::slot" declaration.
14643 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14645 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14651 * paragraph.C: ditto
14653 * lyxtext.h: NO_PEXTRA
14655 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14657 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14658 * ParameterStruct.h: ditto
14659 * ParagraphParameters.h: ditto
14660 * lyxparagraph.h: ditto
14662 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14664 * buffer.C: add compability for minipage alignment.
14665 (latexParagraphs): remove unwanted pextra check.
14667 * several files: remove CXX_WORKING_NAMESPACES
14669 * buffer.C (pop_tag): tie is in namespace boost
14671 * BufferView.h: noncopyable is in namespace boost
14673 * lyx_main.h: ditto
14676 * lastfiles.h: ditto
14677 * bufferlist.h: ditto
14678 * ShareContainer.h: ditto
14680 * LyXAction.h: ditto
14683 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14685 * Merging changes from BRANCH_MVC back into HEAD.
14687 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14689 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14691 * BufferView_pimpl.C: change from intl.C
14695 * Makefile.am: move combox.*
14701 * intl.C: remove dialog (covered by prefs)
14703 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14705 * lyxfunc.C (Dispatch): removed redundant break statement.
14707 2001-03-14 Juergen Vigna <jug@sad.it>
14709 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14711 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14713 * buffer.C: add hack to fix compability reading of minipages.
14715 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14717 * buffer.C (getLists): Cleanup.
14719 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14721 * lyxfont.C (update): don't honor toggleall on font size.
14723 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14727 * Makefile.am: moved to frontends/xforms/
14731 * BufferView_pimpl.C: changes for moved mathpanel
14733 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14735 * gettext.h: fix gettext_init() in --disable-nls
14737 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14739 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14741 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14744 * lyx.h: strip external form
14746 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14748 * BufferView_pimpl.C: add comment, destroySplash()
14750 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14752 * BufferView_pimpl.C:
14756 * lyxfunc.C: use re-worked insetinclude
14758 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14760 * buffer.C: add using std::stringstream.
14762 * lyx_cb.C: readd using std::ios.
14764 * buffer.C: add using std::map.
14766 * BufferView_pimpl.C: add using std::vector.
14768 * ShareContainer.h: add std:: to swap.
14770 * buffer.h: add some typedefs
14771 * buffer.C (getLists): use them
14772 (getLists): renamed from getTocList.
14773 add a counter for the different float types and use it in the
14775 (getLists): use the same counter for the NEW_INSETS and the "non"
14778 * lyx_cb.h: remove unused items, includes, using etc.
14780 * ShareContainer.h: remove some commented code, add more comments
14781 and "documentation".
14783 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14785 * buffer.C (getTocList): make the list also when NEW_INSETS is
14788 * buffer.h: remove TocType
14790 * buffer.C (getTocList): change to return a map<string,
14791 vector<TocItem> >, implement for dynamic number of list.
14793 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14794 * text2.C (PasteSelection): adjust
14795 * CutAndPaste.C (pasteSelection): adjust
14797 * FloatList.C (FloatList): update from the new_insets branch.
14798 * Floating.[Ch]: ditto
14799 * LaTeXFeatures.C: ditto
14801 * lyxlex_pimpl.C: ditto
14803 * paragraph.C (Last): remove when NEW_INSETS is defined.
14805 * other file: changes because of the above.
14807 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14809 * lyxparagraph.h: rename next to next_, previous to previous_,
14810 make them private for NEW_INSETS. Rename Next() to next(),
14811 Previous() to previous().
14813 * other files: changes because of the above.
14815 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14818 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14821 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14823 * main.C (main): pass lyx_localedir to gettext_init().
14825 * gettext.h: remove locale_init and gettext_init macros
14827 * gettext.C (locale_init): new function
14828 (gettext_init): new function
14830 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14833 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14835 * Moved credits to frontends:
14836 * credits.[Ch]: removed
14837 * credits_form.[Ch]: removed
14838 * lyx_gui_misc.C: remove credits stuff
14841 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14843 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14845 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14846 unneeded destructor.
14848 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14849 a standalone pointer again.
14851 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14853 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14859 * ToolbarDefaults.C:
14868 * BufferView_pimpl.C: use new file dialog in GUII
14871 * lyx_cb.C: remove LayoutsCB to Toolbar
14873 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14875 * ShareContainer.h (get): add std:: qualifier
14877 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14879 * ShareContainer.h: define a proper ShareContainer::value_type
14880 type (and use typename to please compaq cxx)
14882 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14884 * lyxparagraph.h: move serveral local vars to
14885 ParameterStruct/ParagraphParameters., use ShareContainer in
14886 FontTable., make vars in FontTable private and add getter and
14889 * paragraph.C: changes because of the above.
14891 * lyxfont.h: remove copy constructor and copy assignment. (the
14892 default ones is ok), move number inside FontBits. move inlines to
14895 * lyxfont.C: add number to initializaton of statics, move several
14896 inlines here. constify several local vars. some whitespace
14897 cleanup. Dont hide outerscope variables.
14899 * Spacing.h: add two new constructors to match the set methods.
14901 * ShareContainer.h: new file, will perhaps be moved to support
14903 * ParameterStruct.h: new file
14905 * ParagraphParameters.h: new file
14907 * ParagraphParameters.C: new file
14909 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14910 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14912 * BufferView_pimpl.C: ParagraphParameter changes.
14913 * buffer.C: Likewise.
14914 * bufferview_funcs.C: Likewise.
14915 * text.C: Likewise.
14916 * text2.C: Likewise.
14918 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14920 * lyxfind.C (LyXReplace): do not redefine default argument in
14922 (IsStringInText): ditto
14923 (SearchForward): ditto
14924 (SearchBackward): ditto
14926 2001-03-06 Juergen Vigna <jug@sad.it>
14928 * lyxfind.C (IsStringInText): put parentes around expressions.
14930 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14932 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14934 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14936 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14938 * stl_string_fwd.h: add comment
14940 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14943 * tabular.C: remove unused DocBook methods
14949 killed DO_USE_DEFAULT_LANGUAGE
14951 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14953 * lyx_gui.C: do not include language.h.
14955 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14956 arguments in function implementation.
14958 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14960 * BufferView_pimpl.C: add <ctime>
14962 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14964 * BufferView_pimpl.C: add using std::find_if
14966 2001-02-27 José Matos <jamatos@fep.up.pt>
14968 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14971 2001-02-11 José Matos <jamatos@fep.up.pt>
14973 * buffer.C (makeDocBookFile): command styles now have a parameter as
14974 "title" by default.
14976 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14978 * layout_forms.[Ch]: removed
14979 * lyx_cb.[Ch]: out character
14980 * lyx_gui.C: out character
14981 * lyx_gui_misc.C: out character
14982 * bufferview_funcs.C: : out character,
14983 added toggleall as parameter in ToggleAndShow
14985 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14987 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14989 * text2.C (SetCurrentFont): Disable number property at boundary.
14991 2001-02-26 Juergen Vigna <jug@sad.it>
14993 * lyxfunc.C (getStatus): added a string argument override function so
14994 that this is correctly called from LyXFunc::Dispatch if it contains a
14995 do_not_use_argument which is used!
14996 (Dispatch): added check for "custom" export and call appropriate func.
14998 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15000 * lyxrc.C: Add language_command_local, language_use_babel and
15001 language_global_options.
15003 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15005 * buffer.C (makeLaTeXFile): Use language_use_babel and
15006 language_global_options.
15008 2001-02-23 Juergen Vigna <jug@sad.it>
15010 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15011 which works with LyXText and putted it inside BufferView. Here now we
15012 only call for that part the BufferView::Dispatch() function.
15014 * BufferView.C (Dispatch): added.
15016 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15017 functions which needs to use a LyXText over from LyXFunc.
15018 (MenuInsertLyXFile): added
15019 (getInsetByCode): added
15020 (moveCursorUpdate): added
15021 (static TEXT): added
15023 2001-02-22 Juergen Vigna <jug@sad.it>
15025 * BufferView_pimpl.C (update): call a status update to see if LyXText
15028 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15030 * vc-backend.C (revert): implement for CVS
15031 (getLog): implement for CVS
15033 2001-02-20 Juergen Vigna <jug@sad.it>
15035 * text2.C (ClearSelection): added BufferView param for inset_owner call
15037 * lyxfunc.C (TEXT): added this function and use it instead of
15038 directly owner->view()-text of getLyXText().
15040 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15042 * src/layout_forms.C: out preamble
15043 * src/layout_forms.h: out preamble
15044 * src/lyx_cb.C: out preamble
15045 * src/lyx_cb.h: out preamble
15046 * src/lyx_gui.C: out preamble
15047 * src/lyx_gui_misc.C: out preamble
15048 * src/lyxfunc.C: connect with guii preamble
15050 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15052 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15054 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15056 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15057 whether to run bibtex.
15059 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15061 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15063 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15065 * Makefile.am (lyx_SOURCES): removed bibforms.h
15067 * vspace.h: doxygen
15069 * text.C (GetVisibleRow): make several local vars const
15071 * tabular.C: small cleanup.
15073 * lyxserver.C (callback): use compare instead of strncmp
15075 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15076 inlines to after class or to paragraph.C
15078 * lyxfont.h: remove friend operator!=
15080 * converter.h: move friend bool operator< to non friend and after
15083 * combox.h: small cleanup
15085 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15086 to inlines after class def.
15088 * buffer.C (pop_tag): use string operations instead of strcmp
15090 * bmtable.c: doxygen, small cleanup
15092 * LaTeX.h: remove friend operator==
15094 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15106 * BufferView_pimpl.C:
15107 * BufferView.[Ch]: remove cruft
15109 2001-02-14 Juergen Vigna <jug@sad.it>
15111 * lyxfunc.C: removed #if 0 unused code
15113 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15115 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15117 * text2.C (SetSelection): added a BufferView * parameter
15119 2001-02-13 Juergen Vigna <jug@sad.it>
15121 * lyxfunc.C (Dispatch): fixed protected blank problem.
15122 * BufferView2.C (protectedBlank): added LyxText * parameter.
15124 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15125 (AppendColumn): same as above for column_info.
15127 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15128 (moveCursorUpdate): use a LyXText param for support of InsetText.
15130 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15131 (tripleClick): ditto
15133 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15135 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15137 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15139 * text2.C (SetSelection): set correct update status if inset_owner
15140 (ToggleFree): ditto
15142 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15144 * tabular.C: remove some commented code.
15146 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15148 * BufferView_pimpl.C: call hideSplash()
15150 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15153 * bibforms.h: remove
15156 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15157 add LFUN_CHILD_CREATE
15159 * counters.h: fix tiny typo
15164 * lyx.C: move splash to frontends/xforms/
15166 * lyx_gui_misc.C: move Include and Bibform to frontends
15168 * lyxvc.h: clarify comment
15170 * vspace.C: tiny housekeeping
15172 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15174 * text.C (PrepareToPrint): RTL Fix.
15176 * paragraph.C (GetUChar): New method.
15177 (String): Use GetUChar.
15179 * buffer.C (asciiParagraph): Use GetUChar.
15181 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15183 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15185 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15188 * buffer.C: rename to getLogName(), handle
15189 build log / latex log nicely
15191 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * MenuBackend.h: remove support for reference menuitem type.
15196 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15198 * BufferView_pimpl.C: housekeeping
15199 * BufferView_pimpl.h:
15204 * minibuffer.h: move Timeout GUI-I
15206 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15208 * lyxrc.C (read): Update converters data-structures.
15210 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15212 * LaTeX.h (operator!=): add operator != for Aux_Info
15214 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15216 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15218 * LaTeXLog.C: deleted, useful code moved to Buffer
15221 * buffer.C: new function getLatexLogName()
15227 * lyxfunc.C: use frontends for LaTeX and VC logs
15229 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15231 * LaTeX.h: yet another std:: that Allan forgot.
15233 * Variables.C (set): renamed from isset(), because this clashes
15234 with some HP-UX macros (grr).
15236 2001-02-06 Allan Rae <rae@lyx.org>
15238 * LaTeX.h: Another bug fix. Missing std:: this time.
15240 2001-02-04 Allan Rae <rae@lyx.org>
15242 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15243 floats problem. I've left it commented out because it's not quite
15244 correct. It should also test that the current object is a table or
15245 figure inset. But I haven't gotten around to figuring out how to do
15246 that. I *think* it'll be something like: "table" == inset.type()
15248 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15251 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15253 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15254 all the citation/databases/styles in the auxilary file.
15255 (run): Rerun latex if there was a babel language error.
15257 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15259 * text.C (Backspace): Preserve the font when changing newline char
15261 (BreakParagraph): If the cursor is before a space, delete the space.
15263 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15265 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15267 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15268 new argument (code).
15269 (ChangeCitationsIfUnique): New method.
15271 * paragraph.C (GetPositionOfInset): Handle bibkey.
15273 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15275 * BufferView_pimpl.h: change type of Position::par_pos to
15276 LyXParagraph::size_type.
15278 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15280 * BufferView_pimpl.C (savePosition, restorePosition): Write
15281 messages to minibuffer.
15283 2001-01-28 José Matos <jamatos@fep.up.pt>
15285 * buffer.C (makeDocBookFile): adds support for document language.
15286 A silly restriction on the name of LatexCommand types where removed.
15287 Added support for CDATA sections, allows to chars unescaped, used
15288 among others in code, to avoid escape < and >.
15290 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15292 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15293 saved positions instrad of a stack. Furthermore, a position is
15294 stored using paragraph id/paragraph position.
15296 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15297 Remove LFUN_REF_BACK.
15299 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15301 * converter.C (dvipdfm_options): New method.
15303 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15305 * vspace.C (isValidLength): Fix for empty input string.
15307 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15309 * LyXAction.C (init): change description of LFUN_FIGURE to
15312 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15314 * LaTeX.C: add using directive
15316 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15318 * MenuBackend.C (expand): Fix the sorting of the formats.
15320 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15322 * lyx_main.C: tiny error message fix
15324 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15327 calling fl_initialize(). This fixes the problem with ',' as
15328 decimal separator in text files.
15330 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15332 * trans.C (process): Fix the keymap bug.
15334 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15336 * LaTeX.C (scanAuxFiles): New method. Provides support for
15337 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15338 (scanLogFile) Scan for "run BibTeX" messages.
15340 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15341 OT1 font encoding. Also, load the aecompl package if the ae
15344 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15346 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15348 * texrow.C (increasePos): turn two error messages into debug
15351 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15353 * LaTeX.C (scanAux): Handle the \@input macro.
15354 (runBibTeX): Use scanAux().
15356 * language.C (latex_options_): New field.
15358 * LaTeXFeatures.C (getMacros): Add language macros.
15360 * buffer.C (makeLaTeXFile): Small fix.
15362 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15364 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15366 * text2.C: add a using directive.
15368 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15373 * lyxfunc.C: kill LyXBell.
15375 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15377 * text.C (IsBoundary): Remove the error message
15379 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15381 * lyxrc.C (setDefaults): Correct initialization value for
15384 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15386 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15389 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15390 and GotoNextNote().
15392 * src/LyXAction.C: Added reference-next.
15394 * text.C (InsertChar): Use contains instead of strchr.
15396 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15398 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15400 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15401 alignment commands (when needed).
15403 * text.C (InsertChar): Add ':' to number separator chars.