1 2004-04-08 Angus Leeming <leeming@lyx.org>
3 * lyx_sty.C (boldsymbol_def): modify so that it outputs
4 "\providecommand" rather than "\newcommand", thereby preventing
5 clashes with packages that define "\boldsymbol" themselves.
8 2004-04-08 Angus Leeming <leeming@lyx.org>
10 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
11 thereby squashing an unnecessary warning.
13 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
18 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
20 * BufferView.C (setCursor): call redoParagraph (some insets could
22 (putSelectionAt): remove the 'double update' trick
24 * BufferView_pimpl.C (fitCursor): call refreshPar
25 (workAreaDispatch): remove an uneeded update call
26 (dispatch): remove some manual update calls
28 * cursor.[Ch]: remove cached_y_, updatePos
29 (selHandle): set noUpdate when appropriate
31 * lyxfunc.C (dispatch): track if we need an update
33 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
35 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
36 (paintSelection): cheap optimization, do not call cursorX when not
38 (paintPars): change signature
41 (paintTextInset): adjust
45 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * lengthcommon.C: compilation fix: remove explicit array size from
48 unit_name[] and friends
50 2004-04-05 Angus Leeming <leeming@lyx.org>
52 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
54 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
55 present only for the preferences dialog.
56 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
58 2004-04-05 Angus Leeming <leeming@lyx.org>
60 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
61 to enable the frontends to export changes to lyxrc correctly.
63 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
65 2004-04-07 André Pönitz <poenitz@gmx.net>
67 * cursor.[Ch] (selClear, adjust): remove math
69 * cursor_slice.C: more agressive assert
72 * BufferView_pimpl.C: rework mouse event dispatch
79 2004-04-05 André Pönitz <poenitz@gmx.net>
81 * cursor.[Ch] (valign, halign...): remove unneeded functions
83 2004-04-05 Angus Leeming <leeming@lyx.org>
85 * lyxlength.[Ch] (unit_name et al.): const-correct.
87 2004-04-05 Angus Leeming <leeming@lyx.org>
98 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
100 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
102 * text3.C (getStatus): add LFUN_BEGINNINGBUF
104 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
106 * lyxfind.C: add a couple of inTexted() tests + other small fixes
107 * BufferView_pimpl.[Ch] (getStatus)
108 * BufferView.[Ch] (getStatus): add
109 * lyxfunc.C (getStatus): move lfuns handled in
110 BufferView::dispatch to te function above
111 * Cursor.C (setSelection): set selection() = true
113 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
115 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
117 2004-03-31 Angus Leeming <leeming@lyx.org>
119 * lyxfunc.C (dispatch): Fall through to the generic
120 Dialogs::show("preamble").
122 2004-03-31 Angus Leeming <leeming@lyx.org>
124 * lyxfunc.C (dispatch): Fall through to the generic
125 Dialogs::show("spellchecker").
127 2004-03-31 Angus Leeming <leeming@lyx.org>
129 * lyxfunc.C (getStatus, dispatch): changed invocation of the
132 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
137 * insetiterator.[Ch]:
142 * undo.[Ch]: s/DocumentIterator/DocIterator/g
144 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
146 * BufferView.C (setCursor, putSelectionAt): call edit to open the
147 insets where we are putting the cursor.
149 2004-03-31 Angus Leeming <leeming@lyx.org>
152 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
154 * lyxrc.[Ch] (read, write): overloaded member functions taking
155 a std::[io]stream arguments.
157 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
159 2004-03-31 Angus Leeming <leeming@lyx.org>
161 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
162 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
164 * lyxtextclass.C (load): if the text class couldn't be loaded, then
165 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
167 2004-03-31 Angus Leeming <leeming@lyx.org>
169 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
170 the LFUN_ALL_INSETS_TOGGLE code.
172 2004-03-30 Angus Leeming <leeming@lyx.org>
174 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
175 has died. Fall through to the generic Dialogs::show("document").
177 2004-03-30 Angus Leeming <leeming@lyx.org>
180 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
181 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
183 * lyxfunc.C (getStatus, dispatch): define the actions for these
184 lfuns. Little more than a cut and pste job from ControlDocument.C
186 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
188 2004-03-30 Angus Leeming <leeming@lyx.org>
191 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
192 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
194 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
195 open/closed state of ollapsable insets. Usage:
197 all-inset-toggle <state> <name>, where
198 <state> == "open" || "closed" || "toggle" and
199 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
201 * lyxtext.h, text2.C (toggleInset): removed.
203 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
204 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
205 now passes LFUN_INSET_TOGGLE to the found inset.
207 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
208 is now invoked as "all-insets-toggle toggle branch".
210 2004-03-30 Angus Leeming <leeming@lyx.org>
214 * pariterator.[Ch]: added/corrected header blurb.
216 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
218 * dociterator.[Ch]: add an inset_ member
219 (backwardPos): implemented
220 (backwardPos, forwardPos): use inset_ when the stack is empty.
221 (doc_iterator_begin, doc_iterator_end): implemented
222 * pariterator.[Ch]: adjust, add begin, end
223 * insetiterator.[Ch]: adjust, add begin, end
227 * BufferView_pimpl.C:
228 * CutAndPaste.C: adjust
230 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
232 * buffer.C: increment file format to 232.
233 * LaTeXFeatures.C: add bibtopic package.
234 * bufferparams.[Ch]: param \use_bibtopic.
236 * lyxrc.[Ch]: add lyxrc bibtex_command
237 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
239 * buffer.C: increment file format to 231.
241 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
243 * dociterator.C: implement forwardPar
244 * iterators.[Ch]: remove, replaced by
245 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
247 * BufferView_pimpl.C:
250 * bufferview_funcs.C:
256 * Makefile.am: adjust
258 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
260 * CutAndPaste.C (pasteSelection): fix 2 crashes
261 (eraseSelection): fix a crash
262 * paragraph_funcs.C: remove a warning
264 2004-03-28 Angus Leeming <leeming@lyx.org>
267 * LyXAction.C (init): new LFUN_PRINT.
269 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
271 2004-03-27 Angus Leeming <leeming@lyx.org>
274 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
276 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
278 2004-03-27 Angus Leeming <leeming@lyx.org>
280 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
281 insetlist always contains non-null pointers to insets.
283 2004-03-26 Angus Leeming <leeming@lyx.org>
285 * src/BufferView_pimpl.C:
289 * src/output_plaintext.C:
290 * src/outputparams.h:
291 * src/paragraph_funcs.C:
295 * src/frontends/controllers/ControlErrorList.C:
296 * src/frontends/gtk/FileDialogPrivate.C:
297 * src/frontends/gtk/GPainter.C:
298 * src/frontends/gtk/GToolbar.C:
299 * src/frontends/qt2/QRef.C:
300 * src/mathed/math_scriptinset.C: squash compiler warnings.
302 2004-03-26 Angus Leeming <leeming@lyx.org>
304 * ispell.C (LaunchIspell::start):
305 * lyx_cb.C (AutoSaveBuffer::start):
306 invoke run(DontWait) rather than runNonBlocking().
308 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
310 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
312 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * kbsequence.C (print): adjust
316 * kbmap.C (printKeySym): rename and change signature
317 (printKey): use LyXKeySym::print()
319 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
321 * undo.C: add using std::advance to compile for stlport
323 2004-03-24 Angus Leeming <leeming@lyx.org>
325 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
326 it leads to a crash when no buffer is present.
328 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 Martin Vermeer <martin.vermeer@hut.fi>
331 * lyxfunc.C (dispatch):
332 * bufferparams.C (readToken): use the new LColor::setColor
334 * LColor.[Ch] (setColor): new version that takes two strings as
335 argument and creates a new color entry if necessary
337 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
339 * buffer.C (makeLaTeXFile): if the main latex file that is
340 processed is usually a subdocument of some master, then pretend
341 for a while that it is actually the master
343 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
345 * buffer.C (getLabelList):
346 (getBibkeyList): use getMasterBuffer()
347 (getMasterBuffer): new method. Returns the main document in the
348 case where one is using included documents.
350 2004-03-25 André Pönitz <poenitz@gmx.net>
354 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
356 * ParagraphList_fwd.h: change ParagraphList to a std::vector
358 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
359 text*.C over here. Rename namespace CutAndPaste to lyx::cap
361 * ParameterStruct.h: merge with ParagraphParameters
363 * lyxtext.h: remove LyXText::parOffset() and getPar()
365 * text3.C: Remove all 'manual' update calls. We do now one per user
366 interaction which is completely sufficient.
370 * BufferView_pimpl.C:
373 * ParagraphParameters.[Ch]:
385 * output_docbook.[Ch]:
387 * output_linuxdoc.[Ch]:
388 * output_plaintext.[Ch]:
390 * paragraph_funcs.[Ch]:
391 * paragraph_pimpl.[Ch]:
399 * frontends/controllers/ControlDocument.C:
400 * frontends/controllers/ControlErrorList.C:
401 * frontends/controllers/ControlSpellchecker.C:
404 * insets/insetbase.h:
405 * insets/insetbibitem.C:
407 * insets/insetbranch.C:
408 * insets/insetcaption.C:
409 * insets/insetcharstyle.C:
410 * insets/insetcharstyle.h:
411 * insets/insetcollapsable.C:
412 * insets/insetcollapsable.h:
414 * insets/insetfloat.C:
415 * insets/insetfoot.C:
416 * insets/insetmarginal.C:
417 * insets/insetnote.C:
418 * insets/insetoptarg.C:
419 * insets/insettabular.C:
420 * insets/insettext.C:
421 * insets/insettext.h:
422 * insets/insetwrap.C:
423 * mathed/math_mboxinset.C:
424 * mathed/math_nestinset.C:
425 * mathed/math_scriptinset.C:
426 * mathed/math_scriptinset.h:
429 2004-03-24 Angus Leeming <leeming@lyx.org>
431 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
432 deal with any child processes that have finished but are waiting to
433 communicate this fact to the rest of LyX.
435 2004-03-24 Angus Leeming <leeming@lyx.org>
437 64-bit compile fixes.
439 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
440 (c-tor): pass lyx::pos_types rather than ints.
442 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
445 * text.C (Delete): compile fix.
446 (getPar): ensure that function declaration is the same as that in
449 2004-03-23 Angus Leeming <leeming@lyx.org>
451 * ispell.C (LaunchIspell):
452 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
453 a boost::shred_ptr rather than a std::auto_ptr.
455 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * lyxfunc.C (getStatus): handle read-only buffers correctly;
458 handle LFUN_FILE_INSERT_*
460 * lyxrc.C (setDefaults, getDescription, output, read):
461 * lyxrc.h: remove ps_command
463 2004-03-22 Angus Leeming <leeming@lyx.org>
465 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
466 Ensure that error_handler is processed once only and that all data
467 is saved before attempting to output any warning messages.
469 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
471 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
473 * tabular.C (TeXRow): crash fix (from Kayvan and André)
475 2004-03-19 André Pönitz <poenitz@gmx.net>
477 * cursor.[Ch] (reset): take main text inset as argument
480 * BufferView_pimpl.C: adjust
482 * paragraph.[Ch]: fix completely broken operator=()
484 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
486 * LColor.C (getFromLyXName): make sure that the color name is used
489 2004-03-17 Angus Leeming <leeming@lyx.org>
492 * LyXAction.C (init): remove LFUN_FORKS_KILL.
494 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
495 dialog and to kill a forked process.
497 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
499 * text2.C (setCursorFromCoordinates): fix font problem
501 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
503 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
504 bogus "rebuild cursor" code
506 2004-03-11 André Pönitz <poenitz@gmx.net>
508 * buffer.[Ch]: use InsetText instead of LyXText as container for
511 * dociterator.[Ch]: drop the BufferView * member which is not needed
512 anymore after the change to buffer.C
518 * BufferView_pimpl.[Ch]:
520 * cursor_slice.[Ch]: adjust
522 * text3.C: fix bug in mathDispatch
524 2004-03-08 André Pönitz <poenitz@gmx.net>
526 * undo.[Ch]: use 'StableDocumentIterator' as base for
529 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
532 * bufferparams.[Ch]: add jurabib support and param.
534 * LaTeX.C: add FIXME/comment.
536 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
538 * buffer.C: increment file format to 230.
540 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
542 * cursor.C (dispatch): avoid infinite loops
544 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
546 * rowpainter.C (paintSelection): fix x coordinates
548 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
550 * text.C (rowBreakPoint): fix breaking before displayed insets
552 2004-03-01 André Pönitz <poenitz@gmx.net>
554 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
556 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
560 * BufferView_pimpl.C:
568 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
574 * BufferView_pimpl.C: rename textwidth -> maxwidth,
575 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
577 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
579 * Bidi.[Ch] (computeTables): const correctness
580 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
581 fill_hfill, fill_label_hfill and x from Row
582 * lyxtext.h: prepareToPrint returns a RowMetrics
583 * rowPainter.C: adjust
584 * text.C (prepareToPrint): use width, not textWidth. adjust
585 (redoParagraphInternal, cursorX): adjust
586 * text2.C (getColumnNearX): adjust
587 (init): put a default value to the top LyXText::width
589 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
591 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
593 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
595 * lyxtext.h: add FontIterator class
597 * text.C (FontIterator, operator*, operator->, operator++): add
598 (rowBreakPoint, setRowWidth): adjust (fixing a
601 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * BufferView_pimpl.C (workAreaDispatch): allow also
604 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
606 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
608 * text.C (rowBreakPoint): fix a bug showing with very large insets
610 2004-02-25 André Pönitz <poenitz@gmx.net>
613 * cursor.[Ch]: move some mathed specific code to mathed
615 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
617 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
618 use_tempdir in preferences
619 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
621 * lyx_main.C: ensure that tempdir is valid
622 * lyxlex.h: correct typo
623 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
624 * paragraph.[Ch] (isMultiLingual): make const
625 * cursor.[Ch] (openable): make const
627 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
629 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
631 2004-02-20 André Pönitz <poenitz@gmx.net>
633 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
635 * cursor.[Ch]: prepare for localized getStatus()
641 * text3.C: streamlines the LyXText cursor movement handlers a bit.
643 2004-02-20 André Pönitz <poenitz@gmx.net>
645 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
647 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
649 * text2.C (setCursorFromCoordinates): switch to absolute coords
652 * text3.C (dispatch): adjust
654 2004-02-16 André Pönitz <poenitz@gmx.net>
656 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
659 * cursor_slice.[Ch]: remove unneeded acessor function
661 * lyxtext.h: rename rtl() to isRTL()
669 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
671 * rowpainter.C (paintSelection): coord fix
673 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
675 * Spacing.C: compile fix
677 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
679 * cursor.C (dispatch): restore current_ before returning
681 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
683 * text2.C (cursorUp, cursorDown): fix coords
686 2004-02-12 André Pönitz <poenitz@gmx.net>
691 * text3.C: add LCursor & parameter to most cursor movement functions
692 remove usage of LyXText::cursorRow() and cursorPar()
694 * cursor.[Ch]: add textRow() needed members
697 * BufferView_pimpl.C:
700 * BufferView_pimpl.C: adjust
702 2004-02-11 André Pönitz <poenitz@gmx.net>
706 * BufferView_pimpl.C: shift undo/redo handling
708 * cursor.[Ch]: fix mathed crash
711 * lyxtext.h: move selectionAsText to LCursor
719 * rowpainter.C: fix excessive drawing
721 2004-02-06 André Pönitz <poenitz@gmx.net>
724 * BufferView_pimpl.[Ch]:
725 * text3.C: move some text specific LFUN handling
727 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
729 * text3.C (checkInsetHit): adjust coords
730 * text2.C (getColumnNearX): adjust coords
731 (edit): adjust coords
732 * text.C (getRowNearY): add two asserts
734 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
737 * format.C: add using std::distance to compile on gcc 2.95/stlport
739 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
741 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
743 2004-02-04 André Pönitz <poenitz@gmx.net>
745 * BufferView.[Ch] (insertInset):
746 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
751 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
753 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
754 on the default clause of the switch
755 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
756 wasn't catched by LCursor::dispatch
758 2004-02-03 André Pönitz <poenitz@gmx.net>
761 * cursor.[Ch]: some additional asserts
763 * undo.[Ch]: remove LyXText dependency in interface
767 * lyxtext.h (firstPar, lastPar): remove dead functions
772 * paragraph.[Ch]: adjust
774 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
776 * lyxfind.C (find): fix argument order in call to ::find
778 2004-02-02 André Pönitz <poenitz@gmx.net>
780 * cursor.[Ch]: remove direct access to anchor
782 * text.C: remove findText() hack
784 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
786 * iterators.[Ch] (lockPath): remove in favour of...
787 * BufferView.[Ch] (setCursor): this addition
788 * BufferView.C (putSelectionAt): adjust
789 * undo.C (performUndoOrRedo): adjust
790 * lyxfunc.C (dispatch): adjust
792 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
794 * iterators.C (lockPath): add a missing slice
795 * undo.C (performUndoOrRedo): remove redundant positioning code
797 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
799 * vc-backend.C (scanMaster): ";" -> ';'
801 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
803 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
806 * lyxtextclass.C (compare_name): rename to...
807 (LayoutNamesEqual): ...this
809 * lyxlex_pimpl.C (compare_tags): inherit from
810 std::binary_function, put back into anon namespace
812 * lyxfind.C (MatchString): inherig from std::binary_function
813 (findChange): use empty() istead of !size()
815 * format.C (FormatNamesEqual): new functor
822 * converter.C (compare_Converter): rename to...
823 (ConverterEqual): ...this, and fixup a bit.
824 (getConverter): use it, and make function const
825 (getNumber): use it, and make function const
829 * bufferlist.C: add using boost::bind
831 * MenuBackend.C (MenuNamesEqual): new functor
832 (hasMenu): use it, and make function const
833 (hasSubmenu): use nested bind to get rid of compare_memfun.
835 2004-01-30 André Pönitz <poenitz@gmx.net>
837 * BufferView_pimpl.C:
848 * text3.C: move some of the edit(x,y) handling to the insets
849 some coordinate changes.
851 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
853 * text.C: add using statements for std::advance and std::distance
855 * paragraph.C: add using statement for std::distance
857 * lyxfind.C: add using statement for std::advance
859 * cursor.C (region): remove std:: from swap
860 (openable): use nucleus in stead of operator->
862 * BufferView.C: add using statements for std::distance and std::swap
864 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
866 * iterators.C: Remove the pimple, move the needed structures to
867 the header file. Create accessor for the positions stack.
868 (asPosIterator): remove function
870 * PosIterator.C (PosIterator): move constructors to top of file
871 (PosIterator): reimplement the constructor taking a ParIterator in
873 (setFrom): new function
874 (operator!=): inline it
876 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
878 * lyxfind.C (replaceAll): use std::advance
880 * iterators.h: inherit from std::iterator.
882 * PosIterator.C (advance, distance): remove
883 * PosIterator.h: interit from std::iterator.
885 2004-01-26 André Pönitz <poenitz@gmx.net>
888 * BufferView_pimpl.[Ch]:
892 * bufferview_funcs.C:
903 * output_plaintext.C:
905 * paragraph_funcs.[Ch]:
906 * paragraph_pimpl.[Ch]:
912 * text3.C: more IU: dumps most of the rest of the mathcursor
913 implementation into cursor.[Ch]; "globalize" a bit of it.
915 2004-01-25 Angus Leeming <leeming@lyx.org>
917 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
919 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
921 * LaTeXFeatures.h: add nice_ and nice() const
922 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
924 2004-01-20 André Pönitz <poenitz@gmx.net>
927 * BufferView_pimpl.C:
929 * bufferview_funcs.C:
942 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
943 LCursor and mathcursor parts to LCursor and InsetBase.
945 2004-01-15 André Pönitz <poenitz@gmx.net>
947 * cursor_slice.[Ch]: add a few covienience functions
949 * funcrequest.[Ch]: remove BufferView * member
951 * BufferView_pimpl.C:
958 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
960 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
962 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
963 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
965 2004-01-13 André Pönitz <poenitz@gmx.net>
968 * lyxtext.h: hide cursor and selection anchor behind accessor function
971 * BufferView_pimpl.[Ch]:
973 * bufferview_funcs.C:
983 * cursor_slice.[Ch]: some integer type changes for inset unification
985 * lyxcursor.[hC]: remove, it's CursorSlice now.
988 * BufferView_pimpl.[Ch]:
989 * bufferview_funcs.C:
995 * textcursor.[Ch]: adjust
997 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
999 * text2.C (undoSpan): add and use
1000 * text.C (breakParagraph): use undoSpan (fix bug 578)
1003 2004-01-08 Angus Leeming <leeming@lyx.org>
1005 * BufferView_pimpl.C (MenuInsertLyXFile):
1006 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1007 * lyxfunc.C (menuNew, open, doImport):
1008 FileFilterList change to the FileDialog open and save functions.
1010 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1012 * ShareContainer.h: make isEqual and isUnique adaptable
1014 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1016 2004-01-07 Angus Leeming <leeming@lyx.org>
1019 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1021 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1023 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1024 functions replacing find, replace and replaceAll.
1026 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1027 LFUN_WORDFIND(FORWARD|BACKWARD).
1029 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1031 * text.C (breakParagraph): remove an outdated #warning
1033 2004-01-07 André Pönitz <poenitz@gmx.net>
1035 * lyxfind.C: somewhat clearer logic
1037 * text.C: prevent crash in cursorX on unitialized row cache
1039 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1041 * lyxcursor.[Ch] (operator>): add
1042 * textcursor.C (selStart, selEnd): use std::min and std::max
1044 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1046 * Chktex.C: include boost/format.hpp
1048 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1050 * InsetList.C: replace functor MathcIt with adaptable functor
1052 (insetIterator): modify accordingly
1054 * BranchList.h: move the BranchNamesEqual functor here from...
1055 * BranchList.C: ... to here
1057 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1059 (add): replace a finding loop with std::find_if.
1061 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1063 * output_docbook.C: moving LatexParam functionality into
1066 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1068 * buffer.C: increment format to 229.
1070 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1073 * lyx_sty.[Ch]: remove minipageindent_def
1079 * text3.C: remove LFUN_INSET_MINIPAGE
1081 2003-12-28 Angus Leeming <leeming@lyx.org>
1083 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1085 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1087 * text2.C (setParagraph): fix off-by-one crash
1089 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1091 * output_docbook.C: header stuff for AGU
1093 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1095 * text2.C (redoCursor): remove
1098 * BufferView_pimpl.C: remove calls to redoCursor and
1099 setCursor(cursor.par(), cursor.pos()) all around
1101 2003-12-15 Angus Leeming <leeming@lyx.org>
1103 * buffer.C: up the format to 228.
1105 2003-12-15 André Pönitz <poenitz@gmx.net>
1107 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1112 * BufferView_pimpl.C:
1121 2003-12-15 Angus Leeming <leeming@lyx.org>
1123 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1124 than getFromGUIName to manipulate the color.
1126 2003-12-14 Angus Leeming <leeming@lyx.org>
1128 * BranchList.[Ch]: minimize the API.
1129 (Branch::getBranch, getColor): now return a 'const &'.
1130 (Branch::setSelected) now returns a bool set to true if the
1131 selection status changes.
1132 (BranchList::clear, size, getColor, setColor, setSelected,
1133 allBranches, allSelected, separator): removed.
1134 (BranchList::find): new functions, returning the Branch with
1136 (BranchList::add, remove): return a bool indicating that
1137 the operation was successful.
1139 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1140 new InsetBranch::isBranchSlected member function.
1142 * LColor.[Ch]: mimimize the API.
1143 (fill): renamed as addColor and made private.
1144 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1145 versions of these functions taking a string arg have been removed.
1147 * bufferparams.C (readToken):
1148 * lyxfunc.C (dispatch):
1149 * lyxrc.C (read): changes due to the altered BranchList and
1152 * factory.C (createInset, readInset): changes due to altered
1155 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1158 * lyxfunc.C: remove insetminipage. "minipage-insert"
1159 now produces a frameless minipage box inset.
1161 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1163 * textcursor.[Ch] (selStart,selEnd): add new methods
1164 remove selection::start, end, use LyXCursor::operator<
1165 * lyxcursor.[Ch] (operator<): add
1166 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1167 * BufferView.[Ch] (unsetXSel): add
1168 * text2.C (clearSelection): use unsetXSel,adjust
1171 * rowpainter.C: adjust
1172 * bufferview_funcs.C (put_selection_at): adjust
1174 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1176 * BufferView_pimpl.C: small coord. correction
1178 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1180 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1181 dragging over the splash screen.
1183 2003-12-11 Angus Leeming <leeming@lyx.org>
1185 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1186 as it is now handled in LyXText::dispatch.
1188 * text3.C (doInsertInset): remove a level of nesting.
1190 2003-12-11 Angus Leeming <leeming@lyx.org>
1192 * factory.C (createInset): changes due to the changed interface to
1193 InsetCommandMailer::string2params.
1195 2003-12-10 Angus Leeming <leeming@lyx.org>
1197 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1198 'dialog-show-new-inset <inset name>'
1200 2003-12-10 Angus Leeming <leeming@lyx.org>
1202 * buffer.C: up the format to 227.
1204 * factory.C: the box inset is now identified simply by 'Box'.
1206 2003-12-10 Angus Leeming <leeming@lyx.org>
1208 * buffer.C: up the format to 226.
1210 * factory.C: the note inset is now identified simply by 'Note'.
1212 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1214 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1215 when a pit is enough. Standarize a couple of loops.
1217 2003-12-05 Angus Leeming <leeming@lyx.org>
1219 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1220 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1221 data to the re-worked "log" dialog.
1223 2003-12-03 André Pönitz <poenitz@gmx.net>
1229 * paragraph_funcs.C:
1231 * text2.C: use Inset::getText instead of Inset::getParagraph
1233 2003-12-03 André Pönitz <poenitz@gmx.net>
1237 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1238 InsetText::read() as LyXText::read()
1240 2003-12-02 Angus Leeming <leeming@lyx.org>
1242 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1243 type. Add a comment in the implementation that the function uses
1244 the stream's bad() function rather than fail() as the std::streams
1247 2003-12-02 André Pönitz <poenitz@gmx.net>
1249 * lyxlex.[Ch]: make interface more similar to std::stream
1251 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1253 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1255 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1257 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1259 * vspace.[Ch]: remove VSpace::NONE
1261 2003-12-01 André Pönitz <poenitz@gmx.net>
1264 * lyxtext.h: move ParagraphList member to LyXText
1265 rename LyXText::ownerParagraphs to LyXText::paragraph
1268 * bufferview_funcs.C:
1278 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1280 * undo.C: fix cursor positioning
1282 2003-12-01 John Levon <levon@movementarian.org>
1284 * BufferView_pimpl.C: fix a crash on exit with
1287 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1289 * BranchList.C: fix setSelected() method.
1291 2003-11-28 André Pönitz <poenitz@gmx.net>
1293 * ParagraphParameters.[Ch]:
1294 * ParameterStruct.h: remove space above/below from Paragraph to
1297 * BufferView_pimpl.C:
1303 * paragraph_funcs.C:
1309 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1311 * factory.C: Syntax change for CharStyles
1313 2003-11-28 André Pönitz <poenitz@gmx.net>
1318 * buffer.[Ch]: move LyXText member
1320 2003-11-28 André Pönitz <poenitz@gmx.net>
1322 * BufferView.[Ch]: make LyXText * text a private member
1324 * BufferView_pimpl.C:
1335 * output_plaintext.C: cleanup
1337 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1340 * lyxtextclass.[Ch]: parametrize SGML document header
1342 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1345 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1348 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1350 * text2.C (setFont): rework using PosIterator (no more recursive)
1351 (setCharFont): no more needed
1352 (setLayout): no more selection cursors fiddling (done by redoCursor)
1353 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1354 destroy remaining ones)
1356 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1358 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1360 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1363 * text3.C: adjust + re-allow multi par depth changes
1364 * textcursor.C: simplify a bit
1366 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1372 * src/output_docbook.C:
1373 * src/output_latex.C:
1378 * src/text2.C: Introducing a number of tags parametrizing various
1379 XML formats that we may want to support
1381 2003-11-25 André Pönitz <poenitz@gmx.net>
1383 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1385 * lyxtext.h (leftMargin/rightMargin): simplify interface
1392 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1394 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1395 master file to any child files. Fixes bug 546.
1397 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1399 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1401 2003-11-24 André Pönitz <poenitz@gmx.net>
1403 * rowpainter.C: simplification
1405 * text2.C (updateCounters): remove call to redoParagraph on
1406 changed labels as this is far too expensive.
1408 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1410 * converter.C (convert): fix a crash: this function gets
1411 called with buffer == 0 from importer code.
1413 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1415 * text3.C (cursorPrevious): make sure that we do not compare
1416 iterators form different containers.
1419 * rowpainter.C (paintSelection): make sure that we do not compare
1420 iterators from different containers.
1422 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1423 iterators from different ParagraphList containers.
1426 * text2.C (LyXText): change order of initialization slightly
1427 (operator=): new function. copy all variables except cache_par_
1428 (moveUp): make sure that we do not compare iterators from
1429 different ParagraphList constainers.
1432 * text.C (firstPar): new function
1433 (lastPar): new function
1434 (endPar): new function
1436 * lyxtext.h: move things around and group public functions, public
1437 variables, private functions, private variables
1439 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1441 * factory.C: change call to InsetERT constructor to avoid
1442 additional invocation of method status
1443 * text2.C (toggleInset): remove redundant update() call
1444 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1445 instead of a Bufferview pointer
1447 2003-11-21 André Pönitz <poenitz@gmx.net>
1449 * rowpainter.C: simplification
1451 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1453 * text3.C (dispatch): make possible to extend a word/row selection
1456 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1458 * lyxtext.h: x0_,y0_ -> xo_,yo_
1459 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1460 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1461 * rowpainter.C (paintRows): paint full paragraphs
1463 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1465 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1468 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1470 * lyxtext.h: add x0_, y0_
1471 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1472 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1474 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1476 * text2.C (setCursorIntern): move the x_target update here *
1477 * text3.C: change some bv() to true/false in calls to
1478 cursorUp/Down/Right/Left
1479 * cursor.C: use helper function.
1481 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1483 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1484 * paragraph_funcs.[Ch]: correct comment
1485 * rowpainter.C: do not paint selections away from bv->cursor()
1486 Fix a long standing selection painting bug.
1487 * text3.C: generalize mouse-selection code to LyXTexts other that
1489 * textcursor.C: do not use y coords if we can use par offsets
1491 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1493 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1494 cursor position after e.g. inset insert)
1496 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1498 * lyxfind.C (replace): adjust to locking removal + some
1501 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1503 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1506 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1509 * output_docbook.C: XML sanitation: new layout
1510 parameters InnerTag and CommandDepth
1512 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1514 * BufferView_pimpl.C:
1516 * text3.C: Fix the insertion and modification of button-style
1519 2003-11-13 André Pönitz <poenitz@gmx.net>
1521 * InsetList.[Ch]: remove deleteLyXText
1523 * paragraph.[Ch]: cache beginOfBody position
1528 * text3.C: remove superfluous update() calls
1532 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1534 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1535 * BufferView.C (fitLockedInsetCursor): remove
1536 * cursor.[Ch] (getDim): add
1537 * text.C (getRowNearY): add faster version
1538 * text3.C: remove some update calls
1540 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1552 * text3.C: The Character Style /XML short element patch.
1554 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1557 * factory.C: Small step to solving 'unable to insert some insets'
1560 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1562 * cursor.[Ch] (updatePos): new function for updating the y
1563 position of the tip inset
1564 * bufferview_funcs.C (put_selection_at):
1565 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1567 2003-11-11 André Pönitz <poenitz@gmx.net>
1569 * text.C: remove big comment on invalid Paragraph pointers as it is
1572 2003-11-11 André Pönitz <poenitz@gmx.net>
1574 * text_funcs.[Ch]: merge with ...
1582 * Makefile.am: remove text_funcs.[Ch]
1584 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1586 * cursor.C (getPos): return absolute cached y coord
1588 * BufferView_pimpl.C (fitCursor): new simplistic code
1589 (workAreaDispatch): add a fitCursor call
1591 2003-11-10 André Pönitz <poenitz@gmx.net>
1594 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1596 2003-11-10 André Pönitz <poenitz@gmx.net>
1598 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1599 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1600 indicate that the cursor needs to leave an inset
1602 * lyxtext.h: remove inset locking
1604 * cursor.[Ch]: re-implement functionality provided by inset locking
1607 * BufferView_pimpl.[Ch]:
1609 * bufferview_funcs.[Ch]:
1621 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1623 * PosIterator.[Ch]: replace the stack with a vector, add inset
1625 * iterators.[C]: adjust
1627 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1629 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1631 * paragraph_funcs.C (readParToken): put the correct id in the
1632 error item, not the id of the top paragraph
1634 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1636 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1637 * bufferview_funcs.C (put_selection_at): use the above
1639 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1641 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1643 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1645 * output_linuxdoc.h:
1646 * output_plaintext.h:
1648 * output_docbook.h: add #include statements
1650 2003-11-05 José Matos <jamatos@lyx.org>
1652 * output_docbook.[Ch]:
1653 * output_latex.[Ch]:
1654 * output_linuxdoc.[Ch]:
1655 * output_plaintext.[Ch]: New files for output formats.
1656 * output.[Ch]: New file for helper functions.
1659 * paragraph_funcs.[Ch]: output functions moved to new files.
1661 * outputparams.h: rename of latexrunparams.h
1669 * paragraph_funcs.[Ch]:
1670 * paragraph_pimpl.[Ch]:
1671 * tabular.[Ch]: rename ascii to plaintext
1672 and LatexRunParams to OutputParams.
1674 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1676 * iterators.[Ch] (text): require bv argument
1677 * undo.C (recordUndo):
1678 * lyxfunc.C (dispatch):
1679 * bufferview_funcs.C (put_selection_at): adjust
1681 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1683 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1685 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1687 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1690 2003-11-04 André Pönitz <poenitz@gmx.net>
1692 * cursor.[Ch]: restructure
1695 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1697 * iterators.[Ch] (asCursor): remove
1699 * lfuns.h: remove LFUN_INSET_EDIT
1705 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1707 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1709 * lyxfind.[Ch]: complete overhaul
1710 * BufferView_pimpl.C:
1712 * paragraph.[Ch] (insert): add
1714 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1718 * text.C: remove dead spellcheck code
1720 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * dispatchresult.h: add a val setter
1724 * cursor.C (dispatch): use a tempvar for data_[i]
1726 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1728 * PosIterator.[Ch]: compile fix
1730 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1732 * text.C (cursorPar): deactivate the cursor cache
1734 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1736 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1738 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1740 * text3.C (dispatch): adjust for new DisptchResult semantics.
1742 * lyxfunc.C (dispatch): handle update when return from
1743 Cursor::dispatch, adjust for new DispatchResult semantics.
1745 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1746 DispatchResult(true) mean to not update. Add class functions for
1747 setting dispatched and update, as well as reading.
1749 * cursor.C (dispatch): don't handle update here
1751 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1754 * trans_mgr.C: adjust
1756 * paragraph_funcs.C (readParToken): exception safety
1758 * lyxvc.h: store the vcs pointer in a scoped_ptr
1761 * lyxsocket.C (serverCallback): exception safety
1763 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1765 * ispell.C (clone): make it return a auto_ptr
1767 * factory.C (createInset): exception safety
1768 (readInset): exception safety
1770 * bufferlist.C (newBuffer): exception safety
1772 * Thesaurus.C (Thesaurus): use initialization for aik_
1774 * MenuBackend.C (expandToc): exception safety.
1776 2003-11-03 André Pönitz <poenitz@gmx.net>
1780 * bufferview_funcs.C: remove getInsetFromId()
1783 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1789 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1791 * PosIterator.C (distance, advance): new
1792 * bufferview_funcs.[Ch] (put_selection_at): new
1793 * iterators.[Ch] (lockPath): new
1795 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1797 * iterators.[Ch] (asPosIterator): added
1798 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1799 * PosIterator.[Ch]: added
1801 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1805 * cursor.C (dispatch):
1806 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1808 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1809 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1810 contructor, add a class function dispatched. Remove operator>=
1812 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1814 * debug.C: only use the default constructor for debugstream
1817 * main.C (main): include debug.h and setup the lyxerr streambuf
1820 2003-10-31 José Matos <jamatos@lyx.org>
1822 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1824 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1825 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1826 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1827 * paragraph_pimpl.C (simpleTeXSpecialC):
1828 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1829 add LatexRunParams argument.
1831 * exporter.C (Export): change call accordingly.
1833 * latexrunparams.h: add new member to take care of the other backends.
1834 2003-10-30 José Matos <jamatos@lyx.org>
1836 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1837 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1838 factorise code for paragraph output.
1840 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1843 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * text3.C (dispatch):
1846 * lyxfunc.C (dispatch):
1847 * cursor.C (dispatch):
1848 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1850 * dispatchresult.h: make the dispatch_result_t ctor explicit
1852 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1855 * buffer.C: small refactoring of docbook stuff
1857 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1862 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1865 operator dispatch_result_t, and operators for == != and >=
1867 * cursor.C (dispatch): adjust for operator dispatch_result_t
1868 removal. comment out call to update
1870 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1872 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1880 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1883 * dispatchresult.h: new file, DispatchResult broken out of
1886 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1888 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1890 * text.C (rowBreakPoint): put a hack inside #if 0
1892 2003-10-28 André Pönitz <poenitz@gmx.net>
1896 * paragraph_funcs.C:
1899 * text2.C: general cleanup (lots of small stuff)
1901 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1903 * text2.C (cursorEnd): simple fix to the "end key goes to one
1904 before the end on last row" bug
1906 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1908 * text.C (backspace): fix the "zombie characters"
1910 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1912 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1914 2003-10-27 André Pönitz <poenitz@gmx.net>
1916 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1918 * factory.C: handle new InsetPagebreak, InsetLine
1920 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1921 and move handling into new InsetPagebreak, InsetLine
1923 * BufferView_pimpl.C:
1925 * ParagraphParameters.C:
1926 * ParameterStruct.h:
1931 * paragraph_funcs.C:
1932 * paragraph_pimpl.C:
1938 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1941 * lyxrow_funcs.[Ch]:
1947 * text3.C: remove lastPos uses in favour of Row::endpos
1949 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1951 * undo.C (performUndoOrRedo): fix two crashes by setting a
1952 cursor by hand and reordering some calls. Use bv->lockInset instead
1953 of inset->edit because the latter loses cursor information
1955 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1957 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1959 (rowBreakPoint): fix width. change point to point + 1.
1960 Add a missing check.
1962 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1965 * lyxfunc.C: fix (at least partly) the problems
1966 with the Nav menu and headers inside branch insets
1969 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1971 * paragraph.C (getChar): add strong asserts
1973 * lyxrow_funcs.C (lastPos): remove hideous hack
1975 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1976 (fill): adjust to that (avoid an infinite loop)
1978 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1980 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1982 2003-10-23 André Pönitz <poenitz@gmx.net>
1984 * RowList_fwd.h: change list<> to vector<> to gain speed
1985 after suggestion from Alfredo
1987 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1989 * lyxtext.h: move the bidi stuff from here...
1992 * Bidi.[Ch]: ... to here
1994 2003-10-23 André Pönitz <poenitz@gmx.net>
1997 * text.C (isLastRow, isFirstRow): new functions
1999 * paragraph.h: new width cache member
2001 * rowpainter.C: replace RowList::iterator with Row & where possible
2003 * lyxfunc.C: replace several view()->text with a single call
2005 * toc.C: fix 'unused' warning
2007 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2010 when woring with stream::pos_type
2011 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2013 2003-10-22 André Pönitz <poenitz@gmx.net>
2016 * text.C: use Row & instead of RowList::iterator
2018 * lyxrow.h: rename end() to endpos()
2024 2003-10-22 Angus Leeming <leeming@lyx.org>
2026 * buffer.[Ch] (fully_loaded): new member function, returning true
2027 only when the file has been loaded fully.
2028 Used to prevent the premature generation of previews and by the
2029 citation inset to prevent computation of the natbib-style label.
2031 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2032 templates are all set up.
2034 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2036 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2038 * text.C: fixed an "oops" in the "is a bit silly"
2041 2003-10-21 André Pönitz <poenitz@gmx.net>
2043 * FuncStatus.[Ch]: small stuff, whitespace
2045 * lyxfont.[Ch]: operator<<() for debug reasons
2049 * lyxtext.h: whitespace, spelling
2051 * paragraph.C: naming of variables
2054 * text2.C: small stuff
2057 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2059 * text.C: (1) finish off the inset display() work;
2060 (2) fix the "is a bit silly" bug (accessing char
2063 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2065 * text.C: re-introduce display() for insets, fixing the
2066 various bugs (stretch of line above, math inset
2069 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2071 * text.C (rightMargin): remove spurious semicolon
2073 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2076 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2078 * text3.C: fix one crash due to wrong cursor def
2080 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * vc-backend.C (scanMaster): make the regex static
2084 * LaTeX.C (scanAuxFile): make the regexs static
2086 * text3.C (doInsertInset, dispatch, dispatch):
2087 * text2.C (cursorUp, cursorDown):
2088 * text.C (selectNextWordToSpellcheck):
2089 * BufferView_pimpl.C (dispatch):
2090 * lyxfunc.C (dispatch): localDispatch -> dispatch
2092 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2094 * lyxsocket.C: include <cerrno>
2096 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * lyxfunc.C (dispatch): remove textcache stuff
2100 * bufferlist.C (release): remove textcache stuff
2103 * TextCache.C: delete file
2104 * TextCache.h: delete file
2106 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2108 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2109 delete of the bv_->text.
2110 (resizeCurrentBuffer): remove texcache stuff
2111 (workAreaResize): ditto
2113 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2115 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2118 2003-10-16 André Pönitz <poenitz@gmx.net>
2125 * text3.C: speed up by storing y positions per paragraph plus per-row
2126 offset instead of having a 'full' y position in the row.
2128 2003-10-15 André Pönitz <poenitz@gmx.net>
2132 * undo.[Ch]: make undo aware of inner insets
2134 2003-10-14 Angus Leeming <leeming@lyx.org>
2136 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2137 static member functions LyX::ref() and LyX::cref.
2138 (lastfiles): new accessor functions for the new lastfiles_ member var.
2139 (addLyXView, views_): add a new LyXView to the list of views_.
2140 (updateInset): loop over all LyXViews to call their own updateInset
2141 member function, returning a pointer to the Buffer owning the inset.
2143 * BufferView_pimpl.C (loadLyXFile):
2144 * MenuBackend.C (expandLastfiles):
2145 * bufferlist.C (MenuWrite, QuitLyX):
2146 lastfiles is no longer a global variable.
2147 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2149 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2150 static function. Access through LyX::cref().emergencyCleanup().
2152 2003-10-14 André Pönitz <poenitz@gmx.net>
2154 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2156 * undo.[Ch]: restoring part of 'undo in insets'
2159 * undo_funcs.[Ch]: merge with undo.[Ch]
2161 * tabular.C: small cleansing stuff
2163 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2165 * paragraph_funcs.C (readParToken): report unknown insets as error
2166 boxes. Use the outer paragraph as location (also for unknown
2169 * factory.C (readInset): do not abort on reading an unknown inset.
2170 Eat it and return 0.
2172 2003-10-13 Angus Leeming <leeming@lyx.org>
2174 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2176 * lyxrc.C: displayTranslator is now a function,
2177 declared in GraphicsTypes.h.
2179 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2181 * format.C: new placeholder $$a to pass the socket address.
2183 * bufferlist.[Ch]: new function getBufferFromTmp.
2185 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2186 files in the temporary dir.
2188 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2190 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2192 * Makefile.am: add lyxsocket.[Ch].
2194 * lyx_main.C (error_handler): handle SIGPIPE.
2196 2003-10-13 André Pönitz <poenitz@gmx.net>
2198 * BufferView_pimpl.C:
2203 * undo_funcs.[Ch]: use paroffset_type instead of
2204 ParagraphList::iterators to prevent multiple conversion
2205 (and get a more robust interface)
2207 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2209 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2211 * text3.C (dispatch): ditto
2213 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2215 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2216 move the onlyfile, use onlyfile instead of foundfile in a couple
2219 * DepTable.C (update): flush the error stream a bit more
2221 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * lyxserver.C (callback): adjust
2225 * lyxfunc.C (getStatus): add a missing brace in commented code
2226 (ensureBufferClean): reindent
2227 (dispatch): delete version taking a string
2229 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * LaTeX.C (deplog): move found file handlig from here...
2232 (handleFoundFile): .. to new function here.
2233 (deplog): make sure to discover several files mentioned on the
2236 2003-10-10 André Pönitz <poenitz@gmx.net>
2243 * text3.C: fix some of the tabular crashes
2245 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2247 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2249 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2251 2003-10-09 André Pönitz <poenitz@gmx.net>
2253 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2256 * BufferView_pimpl.C:
2257 * bufferview_funcs.C:
2268 * undo_funcs.C: adjust
2270 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2272 * text2.C (incrementItemDepth): new function, use a backtracking
2273 algorithm to discover the correct item depth.
2274 (resetEnumCounterIfNeeded): new function, use a backtracking
2275 algorithm to discover if counter reset is needed.
2276 (setCounter): use them. Simplify a bit. Add different labels for
2277 different item depths for itemize.
2279 * paragraph.C (Paragraph): remove initialization of enumdepth
2282 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2283 enumerate and itemize. Change the type of itemdepth to signed char.
2285 2003-10-08 André Pönitz <poenitz@gmx.net>
2287 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2292 * tabular.[Ch]: fix crash after 'row-insert'
2294 2003-10-08 Angus Leeming <leeming@lyx.org>
2296 Fix doxygen warnings.
2298 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2299 Remove CutAndPaste:: prefix from header file declaration.
2301 * LColor.h (fill): remove LColor:: prefix from declaration.
2303 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2304 use lyx::depth_type rather than Paragraph::depth_type so that
2305 header file and .C file match.
2307 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2309 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2310 * aspell.C: \file aspell_local.C -> \file aspell.C
2311 * gettext.C: \file gettext.C -> \file src/gettext.C
2312 * gettext.h: \file gettext.h -> \file src/gettext.h
2313 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2314 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2315 * text.C: \file text.C -> \file src/text.C
2317 * toc.C: move comment so that doxygen is not confused.
2319 2003-10-07 Angus Leeming <leeming@lyx.org>
2321 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2323 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2326 * aspell_local.h: add forgotten std::string's.
2328 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2335 * text3.C: The Box patch. Fancybox support, minipage, parbox
2337 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2343 * ParagraphParameters.h:
2353 * lyxtextclasslist.h:
2356 * paragraph_pimpl.C:
2357 * textcursor.h: add <string> and other small fixes to make Lars'
2358 std::string patch compile with STLport.
2360 2003-10-06 Angus Leeming <leeming@lyx.org>
2362 * LColor.h: Add missing #include <string>.
2364 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * All most all file in all subdirs: Make <string> be the prefered
2367 way of getting to std::string, add using declarations.
2369 2003-10-06 André Pönitz <poenitz@gmx.net>
2371 * metricsinfo.C: initialize LyXFont before changing attribute.
2372 (fixes the 'math in \emph is upright' bug)
2374 2003-10-06 André Pönitz <poenitz@gmx.net>
2376 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2378 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2381 * paragraph_pimpl.C: Small fixes to build using STLport
2383 2003-10-02 André Pönitz <poenitz@gmx.net>
2386 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2388 2003-10-01 André Pönitz <poenitz@gmx.net>
2390 * factory.C: assert early
2392 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * lyx_main.C: remove the global debug object
2396 * debug.h: adjust for new debugstream
2398 * debug.C: adjust for new debugstream and keep the global debug
2401 2003-09-22 Angus Leeming <leeming@lyx.org>
2403 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2404 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2405 an incomplete class LyXFont.
2407 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2409 * factory.C: bug fix in branches
2411 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2413 * lyxfunc.C (processKeySym): adjust
2415 (dispatch): change arg name from ev to func, adjust
2416 (sendDispatchMessage): ditto
2418 * lyx_main.C (defaultKeyBindings): adjust keybindings
2419 (deadKeyBindings): ditto
2421 * kbsequence.C (addkey): return a FuncRequest
2423 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2425 * kbmap.C (bind): take a FuncRequest as arg, adjust
2428 (defkey): change to take a FuncRequest as arg, adjust
2429 (findbinding): take a FuncRequest as arg, adjust.
2431 * funcrequest.h (operator=): added
2433 * funcrequest.C (FuncRequest): default kb_action changed from
2434 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2436 * buffer.C (dispatch): simplify
2437 (dispatch): adjust to take a FuncRequest as arg, adjust
2439 * boost.C (assertion_failed): change assertion message slightly
2441 * ToolbarBackend.C (read): simplify
2443 * MenuBackend.C (binding): adjust call to findbinding, add a
2444 message if no binding is found.
2446 (expandToc): correct by adding a empty FuncRequest
2448 * LyXAction.C: include <boost/assert.hpp>
2449 (isPseudoAction): delete function
2450 (LookupFunc): change name to...
2451 (lookupFunc): this. change return type to FuncRequest.
2452 (getActionName): take kb_action as arg, simplify
2453 (funcHasFlag): add an assert, simplify.
2455 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2457 * toc.C (action): return a FuncRequest, simplify
2459 * lyxfunc.C (processKeySym): adjust
2460 (getStatus): delete version that takes an int.
2462 (dispatch): delete version that takes action as int
2464 (sendDispatchMessage): simplify and adjust
2466 * funcrequest.C (getArg): take unsigned int as arg
2468 * ToolbarBackend.C (read): adjust
2469 (add): delete version that takes func as a string.
2470 (getIton): take a FuncRequest as arg
2472 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2475 * MenuBackend.C (MenuItem): add a new construct that only takes a
2476 Kind, simplify the constructor use for submenus.
2478 (expandLastfiles): adjust
2479 (expandDocuments): adjust
2480 (expandFormats): adjust
2481 (expandFloatListInsert): adjust
2482 (expandFloatInsert): adjust
2483 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2485 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2486 Remove class variables lyx_pseudo_map and lyx_arg_map
2488 * LyXAction.C (searchActionArg): delete function
2489 (getPseudoAction): delete function
2490 (retrieveActionArg): delete function
2491 (LookupFunc): make it return kb_action, simplify.
2492 (getActionName): simplify
2494 * factory.C (createInset): fix new bug
2496 2003-09-19 Angus Leeming <leeming@lyx.org>
2498 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2499 masterFilename_ parameter in the include inset.
2501 * factory.C (createInset): changes due to the changes to InsetInclude.
2503 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2505 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2507 2003-09-18 Angus Leeming <leeming@lyx.org>
2510 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2511 Inset::fillWithBibKeys.
2512 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2514 2003-09-18 Angus Leeming <leeming@lyx.org>
2516 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2518 (ctor): pass and store a 'Buffer const &'
2519 (buffer): new member function.
2521 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2522 '*this' to the LaTeXFeatures ctor.
2524 2003-09-18 Angus Leeming <leeming@lyx.org>
2530 * text.C: rename EnumLColor as LColor_color.
2532 2003-09-18 Angus Leeming <leeming@lyx.org>
2534 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2535 remove #include "insets/insetbase.h" from cursor.h.
2537 2003-09-18 Angus Leeming <leeming@lyx.org>
2539 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2540 InsetOld_code to remove #include "inset.h".
2542 * iterators.C: add #include "insets/inset.h"
2544 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2546 * BufferView.C: remove more locking stuff that apparently doesn't
2547 do anything sensible.
2549 2003-09-16 André Pönitz <poenitz@gmx.net>
2552 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2555 2003-09-16 Angus Leeming <leeming@lyx.org>
2557 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2559 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2562 * paragraph.h: remove #include "lyxfont.h". Forward declare
2565 2003-09-16 Angus Leeming <leeming@lyx.org>
2567 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2568 of support/textutils.h.
2569 (isWord): move the contents of support/textutils.h's IsWordChar here.
2575 * text2.C: add #include "paragraph.h".
2578 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2580 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * LaTeX.C: use namespace alias for lyx::support::os
2588 2003-09-16 Angus Leeming <leeming@lyx.org>
2591 * bufferview_funcs.C:
2594 * paragraph_pimpl.C:
2596 * text.C: add #include "LColor.h".
2598 2003-09-16 Angus Leeming <leeming@lyx.org>
2600 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2601 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2603 Store the FontBits::color variable as an int rather than as an
2604 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2607 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2608 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2609 string calls together.
2611 * lyxrc.C: add #include "LColor.h".
2613 2003-09-15 Angus Leeming <leeming@lyx.org>
2615 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2618 2003-09-15 Angus Leeming <leeming@lyx.org>
2620 * LColor.h: add an EnumLColor wrapper for LColor::color.
2622 * lyxfont.[Ch] (color, setColor, realColor):
2623 * lyxtext.h, text.C (backgroundColor):
2624 pass EnumLColor args to/from the functions, rather than LColor::color
2628 * lyxtext.h: forward declare EnumLColor.
2630 * lyx_main.C: add #include "LColor.h".
2632 2003-09-15 Angus Leeming <leeming@lyx.org>
2634 * .cvsignore: add lyx-gtk.
2636 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * ParagraphParameters.C
2645 * bufferview_funcs.C
2655 * vc-backend.C: remove usage of STRCONV
2657 2003-09-15 Angus Leeming <leeming@lyx.org>
2659 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2660 explicitly define the color passed to the painter.
2662 2003-09-15 Angus Leeming <leeming@lyx.org>
2664 * bufferparams.C (BufferParams): reorder member initializers to avoid
2667 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2669 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2670 * text.C (updateRowPositions): remove an unusual nop
2672 2003-09-12 André Pönitz <poenitz@gmx.net>
2674 * BufferView_pimpl.C:
2683 * Counters.[Ch]: finish the 'automatic counters' job
2685 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2687 * aspell.C: include <boost/assert.cpp> (compile fix)
2689 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2691 * boost.C (assertion_failed): use lyx::support::abort instead of
2694 2003-09-10 Angus Leeming <leeming@lyx.org>
2696 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2697 with their _fwd progeny.
2699 2003-09-09 Angus Leeming <leeming@lyx.org>
2701 134 files throughtout the source tree: replace 'using namespace abc;'
2702 directives with the appropriate 'using abc::xyz;' declarations.
2704 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2706 * boost.C (emergencyCleanup): moved here from LAssert.c
2707 (assertion_failed): new function, called by BOOST_ASSERT
2709 * several files: change Assert to BOOST_ASSERT
2711 2003-09-09 Angus Leeming <leeming@lyx.org>
2713 * buffer.[Ch]: Add an Impl class and move Buffer's member
2714 variables into it. As a result move several header files out of
2717 Add header files to lots of .C files all over the tree as a result.
2719 2003-09-09 Angus Leeming <leeming@lyx.org>
2721 * buffer.[Ch]: make Buffer's member variables private. Add
2724 Lots of changes all over the tree as a result.
2726 2003-09-08 Angus Leeming <leeming@lyx.org>
2728 * graph.C: #include <config.h>.
2730 2003-09-08 Angus Leeming <leeming@lyx.org>
2734 * BufferView_pimpl.C:
2763 * toc.C: remove redundant using directives.
2765 2003-09-07 Angus Leeming <leeming@lyx.org>
2767 * LaTeXFeatures.h: remove #include "support/types.h".
2768 * ToolbarBackend.h: remove #include <algorithm>.
2769 * changes.h: remove #include <ctime>.
2770 * debug.h: remove #include <iosfwd>.
2771 * graph.h: remove #include "support/std_string.h".
2772 * lyx_main.h: remove #include <csignal>.
2773 * lyxlex_pimpl.h: remove #include <fstream>.
2774 * sgml.h: remove #include <algorithm>, <utility>.
2775 * toc.h: remove #include "support/std_ostream.h".
2776 Add #include <iosfwd>.
2778 2003-09-07 Angus Leeming <leeming@lyx.org>
2780 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2782 * converter.h: forward declare LatexRunParams.
2783 * encoding.h: remove #include "lyxrc.h".
2784 * lyxtext.h: remove #include "LColor.h".
2785 * lyxtextclass.h: remove #include "support/types.h".
2786 * trans.h: remove #include "tex-accent.h".
2787 * trans_mgr.h: remove #include "tex-accent.h".
2788 * insets/inset.h: remove #include "support/types.h", <vector>.
2789 * insets/insetcollapsable.h: remove #include "LColor.h".
2790 * insets/insetinclude.h: remove #include "dimension.h".
2791 * insets/insetlatexaccent.h: remove #include "dimension.h".
2792 * insets/insetoptarg.h:: remove #include "insettext.h".
2793 * insets/insettext.h: remove #include "dimension.h",
2794 <boost/shared_ptr.hpp>
2796 * insets/renderers.h: add #include "dimension.h".
2797 * insets/updatableinset.h: add #include "support/types.h".
2799 * many .C files: Associated changes.
2801 2003-09-06 Angus Leeming <leeming@lyx.org>
2803 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2804 one, inside testInvariant.
2806 * PrinterParams.C: new file.
2807 * PrinterParams.[Ch]: move the function bodies out of line.
2809 2003-09-06 Angus Leeming <leeming@lyx.org>
2811 * ParagraphParameters.h: forward declare ParameterStruct rather than
2812 including its header file.
2813 (depth): moved out-of-line.
2815 2003-09-06 Angus Leeming <leeming@lyx.org>
2817 * BufferView_pimpl.h:
2820 * lyxfunc.h: forward declare LyXKeySym rather than
2821 #include "frontends/LyXKeySym.h".
2823 * BufferView_pimpl.C:
2826 * lyxfunc.C: associated changes.
2828 2003-09-06 Angus Leeming <leeming@lyx.org>
2830 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2831 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
2844 * bufferview_funcs.C:
2845 * BufferView_pimpl.C:
2850 * ParagraphParameters.C:
2855 * frontends/controllers/ControlDocument.C:
2856 * insets/insetcaption.C: rearrange the #includes into some sort of
2859 * buffer.h: remove #includes ErrorList.h, undo.h
2861 2003-09-06 Angus Leeming <leeming@lyx.org>
2863 * support/types.h: add a 'depth_type' typedef, used to store the
2864 nesting depth of a paragraph.
2867 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2868 defining explicitly.
2871 * paragraph_funcs.h:
2872 * ParagraphParameters.h:
2873 * sgml.h: use lyx::depth_type rather than Paragraph or
2874 ParameterStruct's depth_type.
2877 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2880 * BufferView_pimpl.C:
2882 * ParagraphParameters.C:
2885 * bufferview_funcs.C:
2892 * frontends/LyXView.C:
2893 * frontends/controllers/ControlDocument.C:
2894 * frontends/controllers/ControlErrorList.C:
2895 * insets/insetbibitem.C:
2896 * insets/insetbranch.C:
2897 * insets/insetcaption.C:
2898 * insets/insetcollapsable.C:
2899 * insets/insetenv.C:
2900 * insets/insetert.C:
2901 * insets/insetfloat.C:
2902 * insets/insetfoot.C:
2903 * insets/insetfootlike.C:
2904 * insets/insetnewline.C:
2905 * insets/insetquotes.C:
2906 * insets/insettabular.C:
2907 * insets/insettext.C:
2908 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2910 * frontends/controllers/ControlChanges.C: #include "changes.h".
2912 2003-09-06 Angus Leeming <leeming@lyx.org>
2914 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2915 than #including paragraph.h.
2918 * RowList.h: deleted. Superfluous.
2928 * insets/insettext.h: use ParagraphList_fwd.h rather than
2931 * paragraph.h: don't forward declare ParagraphList.
2934 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2935 rather than ParagraphList.h. paragraph.h is still needed for the
2936 Paragraph::depth_type parameters.
2938 * textcursor.h: enable it to compile stand-alone in light of the
2941 * bufferview_funcs.C:
2953 * frontends/controllers/ControlParagraph.C:
2954 * frontends/controllers/ControlTabular.C:
2955 * insets/insetmarginal.C:
2956 * insets/insetminipage.C:
2957 * insets/insetnote.C:
2958 * insets/insetoptarg.C: add header files needed to compile again.
2960 2003-09-06 Angus Leeming <leeming@lyx.org>
2962 * RowList_fwd.h: new file, forward-declaring Row rather than
2963 #including lyxrow.h.
2968 * insets/insettext.h: use it instead of RowList.h
2970 * bufferview_funcs.C:
2977 * text3.C: #include "RowList.h".
2979 2003-09-05 Angus Leeming <leeming@lyx.org>
2981 * factory.C (createInset):
2982 * vspace.C (c-tor): replace sscanf call with an istringstream.
2983 * ispell.C: re-add missing HP/UX headers.
2984 * lyxserver.C: re-add missing os2 headers.
2986 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2995 * text3.C: re-add missing system headers, needed for 2.95.2.
2997 2003-09-05 Angus Leeming <leeming@lyx.org>
2999 Changes most place everywhere due to the removal of using directives
3000 from support/std_sstream.h.
3002 2003-09-05 Angus Leeming <leeming@lyx.org>
3004 Replace LString.h with support/std_string.h,
3005 Lsstream.h with support/std_sstream.h,
3006 support/LIstream.h with support/std_istream.h,
3007 support/LOstream.h with support/std_ostream.h.
3009 Changes resulting throughout the tree.
3011 2003-09-05 Angus Leeming <leeming@lyx.org>
3013 * sgml.h: ensure that the header file can be compiled stand-alone.
3014 * *.C: strip out redundant #includes. (320 in total.)
3016 2003-09-04 Angus Leeming <leeming@lyx.org>
3018 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3019 here (from getPackages).
3021 * debug.[Ch]: add a new EXTERNAL tag.
3023 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3025 * text2.C (cursorEnd): simplify
3027 (getColumnNearX): adjust
3029 * text.C (computeBidiTables): adjust
3032 * rowpainter.C (paintChars): adjust
3033 (paintSelection): adjust
3034 (paintChangeBar): adjust
3037 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3039 (numberOfSeparators): adjust
3041 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3047 * text3.C: Restricts the mouse click functionality
3048 of insets like bibtex, include, toc and floatlist to the visible
3049 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3050 up the dialogs. Cursor has to be in front of the inset (i.e.
3051 start of row) for this to function.
3053 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3055 * bufferview_funcs.C (currentState): output row information
3057 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3059 * bufferview_funcs.C (currentState): output paragraph position
3061 2003-09-04 Angus Leeming <leeming@lyx.org>
3063 * FloatList.h: move out #include "Floating.h".
3064 * LaTeX.h: move out #include "DepTable.h".
3065 * LyXAction.h: move out #include "funcrequest.h".
3066 * buffer.h: move out #include "author.h", "iterators.h".
3067 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3068 * lyx_main.h: move out #include "errorlist.h".
3069 * lyxfunc.h: move out #include "FuncStatus.h".
3070 * lyxtext: move out #include "lyxcursor.h".
3071 * paragraph_pimpl.h: move out #include "counters.h".
3073 2003-09-03 Angus Leeming <leeming@lyx.org>
3075 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3076 preamble_snippets list, enabling us to add snippets to the preamble
3077 only if the snippet was not there already.
3079 2003-09-04 Angus Leeming <leeming@lyx.org>
3081 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3083 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3085 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3088 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3090 * BranchList.C: point fix, earlier forgotten
3092 2003-09-02 Angus Leeming <leeming@lyx.org>
3094 * box.C (contains): renamed from 'contained' after a fantastic
3097 2003-09-02 John Levon <levon@movementarian.org>
3103 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3105 2003-09-02 John Levon <levon@movementarian.org>
3107 * text2.C: simplification of cursorEnd(), including partial
3110 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3112 * buffer.C (readFile): add a space
3114 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3116 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3118 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3120 * buffer.C (readFile): new function, take a filename and a
3121 ParagraphList::iterator
3123 (readFile): adjust, make it private. don't use setStream, make
3124 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3125 always contain the filename.
3127 * BufferView.C (insertLyXFile): simplify and make it work for
3130 2003-08-30 John Levon <levon@movementarian.org>
3132 * Makefile.am: fix dist (from Kayvan)
3134 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * most files: change to use const Buffer refs
3138 2003-08-27 André Pönitz <poenitz@gmx.net>
3140 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3141 on top of ownerPar().
3143 2003-08-27 John Levon <levon@movementarian.org>
3145 * funcrequest.C: properly initialise POD members
3147 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3149 * lyxtext.h (top_y): move top_y from here
3154 * BufferView_pimpl.[Ch]: to here
3155 * frontends/screen.C:
3156 * insets/insettabular.C:
3157 * insets/insettext.C: adjust
3158 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3160 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3163 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3165 2003-08-26 André Pönitz <poenitz@gmx.net>
3167 * paragraph_func.[Ch] (outerPar): new function
3170 * paragraph_funcs.C:
3171 * paragraph_funcs.h:
3172 * paragraph_pimpl.C:
3173 * text2.C: remove Inset::par_owner
3175 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3180 * text2.C: eliminates the needFullRow/display() stuff
3181 altogether, putting the logic in metrics/draw in the insets.
3183 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3185 * text2.C (redoParagraphInternal, redoParagraphs):
3186 * text.C (redoParagraph): add a call to updateRowPositions at the
3187 end of each 'metrics-like' call. Remove all others.
3188 (getRow): remove the 'y-computing' version.
3189 (getRowNearY): do not compute nor return the real y. Solve the
3190 'y < 0' problem and simplify.
3192 2003-08-22 Angus Leeming <leeming@lyx.org>
3194 * *.[Ch]: clean-up of licence and author blurbs.
3195 Also move config.h out of a few .h files and into a few .C files.
3197 2003-08-22 André Pönitz <poenitz@gmx.net>
3199 * lyxrow.[Ch]: add x_ and *fill_ members
3204 * text2.C: adjust/remove prepareToPrint() calls
3206 2003-08-22 André Pönitz <poenitz@gmx.net>
3208 * lyxrow.[Ch]: add end_ member
3210 * lyxrow_funcs.C: use LyXRow::end_
3212 * lyxtext.h (singleWidth): add LyXFont parameter
3215 * text2.C: adjust LyXText::singleWidth() calls
3217 * text.C (redoParagraph): simplify row breaking logic
3220 2003-08-19 André Pönitz <poenitz@gmx.net>
3222 * funcrequest.C: initialize button_ member
3225 * rowpainter.[Ch]: interface consolidation
3227 2003-08-18 André Pönitz <poenitz@gmx.net>
3230 * BufferView_pimpl.C:
3232 * paragraph_funcs.C:
3234 * text3.C: remove LyXScreen::draw() and fitCursor calls
3236 * BranchList.h: remove spurious semicolons
3238 * MenuBackend.C: fix branchlist related crash
3240 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3248 * bufferparams.[Ch]:
3252 * text3.C: implements the 'branch inset'
3253 idea. This allows the output of various versions of a document
3254 from a single source version, selectively outputing or suppressing
3255 output of parts of the text.
3256 This implementation contains a 'branch list editor' in a separate
3257 tab of the document settings dialog. Branches are user definable
3258 and have a "display colour" to distinguish them on-screen.
3260 ColorHandler was somewhat cleaned up.
3261 (1) make possible a dynamically growing LColor list by allowing
3262 the graphic context cache to grow along (vector);
3263 (2) eliminate an IMHO unnecessary step in colour allocation.
3265 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3267 * BufferView_pimpl.C: compile fix
3269 2003-08-15 André Pönitz <poenitz@gmx.net>
3271 * rowpainter.C: remove extra metrics calls
3273 * lyxtext.h: merge the two constructors into a single one,
3274 pass reference to owner's par list
3276 * BufferView_pimpl.C:
3280 2003-08-15 André Pönitz <poenitz@gmx.net>
3282 * lyxrow_funcs.[Ch]:
3285 * paragraph_funcs.C:
3290 * text_funcs.C: split LyXText::rowlist_ into individual
3291 Paragraph::rows_ chunks
3294 * BufferView_pimpl.[Ch]:
3297 * text3.C: remove toggleSelection()
3299 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3301 * bufferlist.C: beautify two alerts (shorter text of buttons)
3302 * buffer.C: Remove redundant ' ' from message
3304 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3305 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3306 rename VALIGN_CENTER to VALIGN_MIDDLE
3308 2003-08-11 André Pönitz <poenitz@gmx.net>
3310 * lyxtext.h (getPar):
3311 * text.C: new function
3313 2003-08-11 André Pönitz <poenitz@gmx.net>
3316 * tracer.[Ch]: remove unneeded files
3318 * InsetList.[Ch]: remove resizeInsetsLyXText()
3323 * text3.C: merge insertParagraphs() and appendParagraph()
3324 remove breakAgain(), update()
3326 * BufferView_pimpl.[Ch]:
3327 * bufferview_funcs.[Ch]:
3331 * tabular.C: adjust after text & InsetList changes.
3333 2003-08-08 André Pönitz <poenitz@gmx.net>
3335 * text.C (insertChar, backspace): replace rowlist fiddling
3336 with rebreak of full par
3339 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3340 checkParagraph, updateInset): removed
3342 2003-08-07 André Pönitz <poenitz@gmx.net>
3345 * text3.C: merge some LFUN handlers, remove dead code
3347 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3349 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3351 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3353 * text2.C (DEPM): fix part of bug 1255 and 1256
3355 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3357 * BufferView_pimpl.C (workAreaDispatch): change to use
3358 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3359 that are no mouse related.
3361 2003-08-05 André Pönitz <poenitz@gmx.net>
3364 * BufferView_pimpl.[Ch]:
3365 * bufferview_funcs.C:
3367 * text3.C: rip out "deep update"
3369 * textcursor.[Ch] (last_sel_cursor): remove unused member
3371 2003-08-04 André Pönitz <poenitz@gmx.net>
3374 * BufferView_pimpl.[Ch]:
3375 * ParagraphParameters.C:
3376 * bufferview_funcs.C:
3382 * text3.C: replace "complicated" BufferView::update(...) calls with
3385 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3387 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3389 * Makefile.am (lyx_SOURCES): add paper.h
3391 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3393 * Makefile.am: move things around so that both lyx-qt and
3394 lyx-xforms can be built (according to --with-frontend). Then lyx
3395 is a symbolic link to lyx-[firstfrontend]
3397 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3399 * Always use std::endl with lyxerr
3401 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3403 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3405 2003-08-01 André Pönitz <poenitz@gmx.net>
3408 * BufferView_pimpl.[Ch]:
3410 * text3.C: merge BufferView::repaint() and BufferView::update()
3412 2003-08-01 José Matos <jamatos@lyx.org>
3414 * buffer.[Ch]: file_format is no longer a buffer data element.
3416 2003-08-01 André Pönitz <poenitz@gmx.net>
3421 * text2.C: make redoParagraph more independent of current cursor
3423 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3425 * text2.C: remove unneeded members
3427 2003-07-30 André Pönitz <poenitz@gmx.net>
3429 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3431 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3432 create a single function...
3434 * paragraph_funcs.C (moveItem): ... here.
3437 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3439 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3441 * LColor.[Ch]: Add comment and greyedout logical colors.
3443 2003-07-30 André Pönitz <poenitz@gmx.net>
3445 * tabular.C: don't use Assert too heavily. This crashes where it
3448 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3450 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3451 is disabled (bug 1232)
3453 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3455 * factory.C: limited 'arg' scope
3457 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3459 * factory.C: fixed Note submenu issues
3461 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3463 * factory.C: submenu for Note/Comment/Greyedout
3465 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3468 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3470 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3473 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3474 greyedout. Patch provided by Jürgen Spitzmüller.
3476 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3478 * kbmap.C (read): fix error message when reading bind files
3480 2003-07-29 Angus Leeming <leeming@lyx.org>
3482 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3483 certainly does not do what it purports to do. I am doing it, and
3484 us, a favour by killing it.
3486 2003-07-28 José Matos <jamatos@lyx.org>
3488 * buffer.C (readBody, do_writeFile):
3489 * paragraph.C(readParagraph): \end_document replaces \the_end.
3491 2003-07-29 André Pönitz <poenitz@gmx.net>
3494 * BufferView_pimpl.[Ch]:
3498 * textcursor.[Ch]: remove toggleToggle & Co
3500 2003-07-28 José Matos <jamatos@fep.up.pt>
3502 * buffer.C (readParagraph):
3503 * params_func (readParToken, readParagraph):
3504 * paragraph.C (write): \layout -> \begin_layout.
3506 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3508 * lyxlex_pimpl.C (setFile): clean up slightly.
3510 * bufferparams.h: add compressed var
3512 * buffer_funcs.C (readFile): adjust for LyXLex change
3513 (newFile): ditto + simplify
3515 * buffer.C (writeFile): handle writing of compressed files
3517 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3518 Check if the file is compressed and set a bufferparm if so.
3520 * Makefile.am (lyx_LDADD): remove explicit -lz
3522 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3524 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3525 makeDocBookFile): put the real LyX version in the first line of
3529 * version.C.in: remove lyx_docversion
3531 * tabular.C (write_attribute): add a template-based version to
3532 write enums properly
3534 2003-07-28 André Pönitz <poenitz@gmx.net>
3539 * text3.C: use doubles again for x-coordinates. They are needed.
3541 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3543 * messages.C (getLocaleDir): use lyx_localedir()
3545 * lyxlex_pimpl.C (setFile): compress stuff
3547 * buffer.C (writeFile): add some compression stuff
3548 (do_writeFile): new func, dont call expliti close... will this
3551 * Makefile.am (lyx_LDADD): add -lz
3553 2003-07-28 José Matos <jamatos@fep.up.pt>
3555 * buffer.C: increment file format.
3556 * paragraph_funcs (readParagraph, readParToken):
3557 * paragraph.C (readParagraph): add \end_layout.
3559 2003-07-27 Angus Leeming <leeming@lyx.org>
3561 * Makefile.am: remove special casing for configure-time setting of
3562 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3564 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3565 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3567 2003-07-26 André Pönitz <poenitz@gmx.net>
3569 * paragraph_func.[Ch]:
3570 * paragraph.C (realizeFont): inline it whereever it is used
3575 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3578 2003-07-26 André Pönitz <poenitz@gmx.net>
3582 * text2.C: get rid of LyXText::need_break_row
3584 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3586 * toc.[Ch]: put namespace toc inside namespace lyx
3588 * MenuBackend.C (expandToc2): adjust for lyx::toc
3591 * lyxfunc.C (dispatch): adjust for lyx::find
3593 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3594 lyx::find instead. Reorganize a bit.
3595 (LyXReplace): rename to replace
3596 (LyXFind): rename to find
3598 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3601 2003-07-26 André Pönitz <poenitz@gmx.net>
3603 * text.C (setHeightOfRow): restrict scope of temporary variable
3605 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3606 code (never has been used?)
3608 2003-07-27 Asger Alstrup <alstrup@local>
3610 * text.C (fill): Optimise algorithm to exploit that we can reuse
3611 the LyXFont for many characters.
3612 (setHeightOfRow): Same thing.
3613 (rowBreakPoint): Same thing.
3615 2003-07-26 Asger Alstrup <alstrup@local>
3617 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3619 * text.C (singleWidth): Spurious font copying in hot-spot
3620 singleWidth avoided. Reorder tests for arabic for efficiency.
3622 * text.C (fill): handle empty paragraphs better.
3624 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3627 * encoding.h: add includes
3629 * lyxrc.C: remove reading of bind files
3631 * lyx_main.C (init): setup bindings and menus only if we have a
3634 * kbmap.C (read): new method. Do the actual reading of bind
3637 * converter.C (dvipdfm_options):
3640 (output): adapt PAPER_* enums.
3642 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3644 * bufferparams.h: remove paper-related enums from there
3646 * paper.h: New file. A trivial header file to hold paper-related
3647 enums. It should later expand to contain many paper-related
3650 * lyxrc.C: declare extern displayTranslator
3652 2003-07-27 José Matos <jamatos@fep.up.pt>
3654 * tabular.[Ch] (linuxdoc): add support for tables and figures
3657 2003-07-27 José Matos <jamatos@fep.up.pt>
3659 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3660 consistency in both functions.
3661 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3663 2003-07-26 Asger Alstrup <alstrup@local>
3665 * rowpainter.C (paintRows): Change algorithm to work directly on
3666 the insets rather than asking every character in the document
3667 whether its an inset.
3669 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3671 * buffer.C (openFileWrite): factorize some code
3673 2003-07-26 Angus Leeming <leeming@lyx.org>
3676 * lyx_main.[Ch]: replace occurances of system_tempdir with
3679 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3681 * rename Inset to InsetOld
3683 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3685 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3686 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3687 which I think is a bit clearer. EDIT is gone, since it was
3688 premature optimisation, and broken for mathed anyway.
3689 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3690 with cursor positioning in insets as well (math insets still do not
3691 work, but that's a different story anyway.) It mysteriously
3692 crashes sometimes with undo in the first paragraph, but I'm fairly
3693 confident that this is a compiler bug.
3695 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * paragraph.C (Paragraph): adjust for new clone return type
3699 (copyIntoMinibuffer): ditto
3701 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3703 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3704 by not having a special case, and always doing a full rebreak of
3705 the document after undo.
3707 2003-07-23 Angus Leeming <leeming@lyx.org>
3709 * factory.C (createInset): InsetExternal::setParams now takes a
3712 2003-07-23 Angus Leeming <leeming@lyx.org>
3714 * factory.C (createInset): changed interface to the external and
3715 graphics mailers' string2params functions.
3717 2003-07-23 Angus Leeming <leeming@lyx.org>
3719 * factory.C (createInset): pass a
3720 Buffer const * parameter to InsetExternalMailer's string2params.
3722 2003-07-22 John Levon <levon@movementarian.org>
3724 * Thesaurus.h: include the right aiksaurus header
3726 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3728 * MenuBackend.C (expand): check menu shortcuts unconditionally
3730 2003-07-21 Angus Leeming <leeming@lyx.org>
3732 * factory.C (createInset): pass a
3733 buffer_path parameter to InsetGraphicsMailer's string2params.
3735 2003-07-21 Angus Leeming <leeming@lyx.org>
3737 * BufferView_pimpl.C (buffer):
3740 * lyxfunc.C (dispatch):
3741 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3742 rather than the grfx shortcut.
3744 2003-07-21 André Pönitz <poenitz@gmx.net>
3746 * rowpainter.C: remove unused variables
3749 * tabular_funcs.h: move to tabular.C
3750 * Makefile.am: adjust
3752 * tabular.[Ch]: basic optical cleaning
3754 * author.h: pass references, not values
3756 2003-07-18 André Pönitz <poenitz@gmx.net>
3764 * text3.C: two-phase drawing for InsetText and InsetTabular
3765 some float -> int changes.
3767 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3769 * lyx_main.C: fix the fix
3771 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3773 * lyx_main.C: fix a crash in batch mode if no files specified
3776 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3778 * format.[Ch] (papersize): moved to BufferParams
3779 * converter.[Ch] (dvips_options): moved to BufferParams
3780 (dvipdfm_options): moved to anon namespace
3781 * bufferparams.[Ch]: added above functions.
3783 2003-07-17 André Pönitz <poenitz@gmx.net>
3787 * text2.C: don't call inset->update() anymore
3789 * metricsinfo.[Ch]: add convenience constructor
3791 2003-07-16 André Pönitz <poenitz@gmx.net>
3796 * text2.C: replace the LyXCursor::irow_ member with
3797 on-demand computation of the value
3799 2003-07-16 John Levon <levon@movementarian.org>
3801 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3803 2003-07-15 André Pönitz <poenitz@gmx.net>
3806 * text2.C: remove no more needed refresh_row
3808 2003-07-15 André Pönitz <poenitz@gmx.net>
3813 * text3.C: refresh_status tristate -> need_update bool
3815 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3817 * lyxtext.h (init): remove reinit argument (act as if always true)
3818 * text2.C: adjust to that
3820 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3822 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3823 * text3.C: use it to delete selections in some cases
3824 (bugs 441, 673, 702, 954).
3826 2003-07-14 André Pönitz <poenitz@gmx.net>
3828 * rowpainter.[Ch]: reduce interface
3830 2003-07-14 André Pönitz <poenitz@gmx.net>
3832 * BufferView_pimpl.C:
3833 * text2.C: adjust after removing unused BufferView * argument
3835 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3837 * text2.C (init): fix a crash fired on resize
3839 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3841 * buffer.[Ch]: added new closing signal
3842 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3843 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3844 BufferView::Pimpl via the closing the signal
3846 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3848 * buffer.[Ch]: take out all bv-related from buffer
3850 * BufferView_pimpl.[Ch]: connect to new signals
3851 * CutAndPaste.C: removed useless asserts
3852 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3855 * lyxfunc.C: moved view-related funciontality from vc here
3856 * paragraph.C: removed outdated comments
3859 2003-07-10 André Pönitz <poenitz@gmx.net>
3861 * BufferView_pimpl.C:
3865 * text2.C: remove InsetText::InnerCache, clean up consequences
3867 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3869 * ispell.C: fix two typos in error messages
3871 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3873 * Extend Note inset to other forms of annotation like Comment
3874 and Greyedout. Right button click gives dialog.
3876 Files modified or added (+):
3880 * ControlNote.[Ch] +
3882 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3883 frontends/controllers
3887 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3889 * aspell.C: add missing namespace lyx::support
3891 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3893 * BufferView.[Ch] (newFile): Add
3894 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3895 * LaTeX.[Ch] (message): added this signal and use it
3896 * buffer.[Ch] (busy, message): added these signals and use them
3897 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3901 * importer.C: use buffer signals instead of direct bv calling
3902 * lyx_cb.[Ch] (ShowMessage): removed
3905 * paragraph_funcs.C:
3906 * text2.C: use buffer signals
3908 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3910 * introduce namespace lyx::graphics
3912 2003-07-02 André Pönitz <poenitz@gmx.net>
3914 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3916 2003-07-01 André Pönitz <poenitz@gmx.net>
3923 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3924 text*.C to text_func.C
3926 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * introduce namespace lyx::support
3930 2003-06-30 André Pönitz <poenitz@gmx.net>
3935 * text.C: re-enable --with-included-string
3937 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * textcursor.C: add <config.h>
3941 * text.C (getWord): remove const from word_location arg
3943 * lyxvc.C (getLogFile): fix const type order
3945 * lyxtext.h: remove const from word_location arg, add arg name
3947 * lyxlayout.h: currect type on labeltype.
3949 * importer.C: correct \file
3951 * converter.C (intToFormat): use std:: on ret val, ws changes
3953 * bufferlist.h: correct \file
3955 * buffer.C (makeLinuxDocFile): fix const type order
3956 (makeDocBookFile): ditto
3957 (fillWithBibKeys): use std:: on stdlib args.
3959 * CutAndPaste.C: fix authors.
3960 (availableSelections): use std:: on return vector
3962 2003-06-27 André Pönitz <poenitz@gmx.net>
3964 * BufferView_pimpl.C:
3965 * bufferview_funcs.C:
3973 * text3.C: remove LyXCursor::row_ member
3976 * text.C: rename fullRebreak() to partialRebreak() and implement
3977 a fullRebreak() that really bereks fully
3979 * textcursor.h: new struct for cursor-related data
3981 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3983 * lyx_main.C (LyX): get full path of document loaded on the
3986 2003-06-26 André Pönitz <poenitz@gmx.net>
3988 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3989 remove unused/broken operator>,<,>=.
3991 * text.C: remove only use of broken operator<= in an Assert().
3993 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3995 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3996 moved errorlist_.clear to showErrorList
3998 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4000 * converter.C (scanLog, runLaTeX):
4001 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4002 move the bv->showErrorList call to the callers
4003 * lyxfunc.C: i.e. here...
4005 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4006 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4007 namespace, the second to...
4008 * buffer_funcs (BufferFormat, parseErrors): added
4009 * errorlist.C (ErrorList(TeXErrors const &)): removed
4011 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4013 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4015 2003-06-24 "Garst R. Reese" <reese@isn.net>
4019 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4021 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4023 * version.C.in: change docversion to 1.4
4025 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4027 * buffer.C: fix a bug just introduced
4029 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4031 * buffer.[Ch]: added the parseError signal and use it, removed
4033 * BufferView.[Ch] (addError): moved to ...
4034 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4035 to the Buffer::parseError signal to catch (guess what) parse errors
4036 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4038 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4040 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4041 ability to create a buffer and to return an existing one from
4042 the list. Moved these functions to...
4043 * buffer_funcs.[Ch]: added
4044 * BufferView.[Ch] (loadLyXFile): added
4045 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4046 job removed from bufferlist::loadLyXFile.
4047 * buffer.C (setReadOnly): make it work without view
4048 (i.e added an if (users))
4050 2003-06-19 Angus Leeming <leeming@lyx.org>
4053 * LyXAction.C (init):
4054 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4055 with LFUN_DIALOG_SHOW <name> <data>.
4057 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4059 * CutAndPaste.C (availableSelections): small compilation fix for
4060 ancient (gcc 2.9x) compilers
4062 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * text3.C (cursorNext): add tmp var
4066 * text2.C (updateCounters): for function calling out of for clause
4067 (replaceSelectionWithString): ditto
4068 (insertStringAsParagraphs): ditto
4069 (getColumnNearX): add tmp var
4070 (setCursorFromCoordinates): add tmp var
4071 (cursorDownParagraph): add tmp var
4072 (deleteEmptyParagraphMechanism): add tmp var
4074 * text.C (insertChar): add tmp var
4076 * rowpainter.C (paintDepthBar): add tmp var
4078 * CutAndPaste.C (availableSelections): potentially check all
4079 paragraphs in a cut to fill the shown strings.
4081 2003-06-18 André Pönitz <poenitz@gmx.net>
4083 * kbmap.[Ch]: use vector<> instead of list<>
4085 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4087 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4088 pasteSelection with index
4090 * text2.C (pasteSelection): modify, call pasteSelection with index
4092 * paragraph.C (asString): reimplement version with no interval to
4093 call the one with interval.
4095 * lyxtext.h: add index arg to pasteSelection
4097 * MenuBackend.C (MenuItem): handle PasteRecent
4098 (Menu::read::Menutags): add md_pasterecent
4100 (expandPasteRecent): new function
4103 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4105 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4107 (availableSelections): new function
4109 2003-06-17 Angus Leeming <leeming@lyx.org>
4111 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4113 2003-06-17 Angus Leeming <leeming@lyx.org>
4116 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4118 * lyxfunc.C (dispatch): invoke it.
4120 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4122 * iterators.C (operator++, ParPosition): reintroduce some
4123 const_cast for the benefit of older compilers.
4125 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4127 * text3.C (dispatch): do not modify clipboard when doing
4128 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4129 LFUN_DELETE_SKIP on a selection selection
4131 2003-06-16 André Pönitz <poenitz@gmx.net>
4137 * tabular.[Ch]: IU of clone() and getLabelList();
4139 2003-06-13 André Pönitz <poenitz@gmx.net>
4141 * tabular.h: compactification
4143 2003-06-12 André Pönitz <poenitz@gmx.net>
4147 * tabular_funcs.h: some renaming plus whitespace
4149 2003-06-12 André Pönitz <poenitz@gmx.net>
4152 * BufferView_pimpl.C:
4158 * toc.C: Return a Paragraph & for ParIterator::operator*()
4160 2003-06-11 John Levon <levon@movementarian.org>
4164 * ToolbarBackend.C: add "Toolbars" section and
4167 2003-06-10 Angus Leeming <leeming@lyx.org>
4170 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4172 * lyxfunc.C (dispatch): invoke it.
4174 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4176 * main.C: protect <ios> with HAVE_IOS
4177 (main): protect sync_with_stdio with HAVE_IOS
4179 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4181 * text2.C (cutSelection): adjust
4182 (pasteSelection): adjust
4184 * messages.C: handle get of empty string
4186 * main.C (main): use sync_with_stdio(false)
4188 * lyxfunc.C (dispatch): adjust
4190 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4191 (WriteAs): remove unneeded BufferView arg.
4193 * bufferparams.h: use correct types on papersize, papersize2 and
4196 * bufferparams.C (readToken): adjust for type
4197 (writeLaTeX): add missing cases to switch.
4199 * bufferlist.C (quitWriteBuffer): adjust
4202 * buffer.C (asciiParagraph): remove some commented code.
4204 * CutAndPaste.C: remove current_view extern variable.
4205 (cutSelection): add BufferParams arg.
4206 (eraseSelection): add BufferParams arg.
4207 (pasteSelection): add Buffer const & arg
4209 2003-06-07 John Levon <levon@movementarian.org>
4212 * paragraph_funcs.C:
4213 * paragraph_pimpl.C:
4217 * paragraph.C: allow InsetERT to freely space lines,
4218 and some consolidation of code
4220 2003-06-06 José Matos <jamatos@fep.up.pt>
4222 * buffer.C (makeDocBookFile): fix bug #821
4224 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4226 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4228 2003-06-04 Angus Leeming <leeming@lyx.org>
4230 * buffer.C: bump format to 224.
4232 2003-06-05 André Pönitz <poenitz@gmx.net>
4234 * text2.C (redoParagraphs): remove two const_cast<>
4236 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4238 * ParagraphList.h: remove last remnants of NO_STD_LIST
4240 2003-06-03 Angus Leeming <leeming@lyx.org>
4242 * factory.C (createInset): small change to the way InsetExternal's params
4245 2003-06-04 André Pönitz <poenitz@gmx.net>
4247 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4249 * paragraph_pimpl.h:
4250 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4252 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4254 * undo_funcs.C: make some simple cases of undo work again
4256 2003-06-03 John Levon <levon@movementarian.org>
4258 * ispell.C: HPUX doesn't have sys/select.h
4261 2003-06-03 John Levon <levon@movementarian.org>
4263 * CutAndPaste.C: update tabular and include inset
4268 * paragraph.C: remove owningBuffer(), don't pass Buffer
4271 * factory.C: insetGraphicsParams changed
4273 2003-06-02 John Levon <levon@movementarian.org>
4279 * text3.C: remove insetparent
4281 2003-06-02 John Levon <levon@movementarian.org>
4284 * buffer.C: fix inset_iterator.end(), move out of line
4287 2003-06-01 John Levon <levon@movementarian.org>
4289 * text3.C: use a proper cut/paste when doing inset
4290 insert (from Jürgen Spitzmüller)
4292 2003-06-01 John Levon <levon@movementarian.org>
4294 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4296 2003-05-30 André Pönitz <poenitz@gmx.net>
4298 * rowpainter.C: unify second drawing phase
4300 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * trans_mgr.C: remove one case of current_view
4304 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4306 * paragraph_funcs.h: remove paragraph.h include
4308 * paragraph.h: delete NO_STD_LIST stuff
4310 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4312 * buffer.h: remove paragraph.h include
4314 * ParagraphList.C: delete file
4316 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4318 * toc.C (getTocList): adjust
4320 * paragraph_pimpl.C (validate): adjust
4322 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4324 * paragraph.C (Paragraph): adjust
4325 (getPositionOfInset): use const_iterator, adjust
4326 (bibitem): use const_iterator, adjust
4327 (setInsetOwner): adjust
4329 * iterators.C (operator++): adjust
4331 * InsetList.[Ch]: Replace selfmade iterator with standard
4332 vector::iterator also introduce const_iterator. Remove getPos,
4333 getInset and setInset from InsetTable. Adjust accordingly.
4335 * BufferView.C (lockInset): adjust
4336 (ChangeInsets): adjust
4338 * tabular.[Ch]: delete commented same_id functions
4340 2003-05-28 John Levon <levon@movementarian.org>
4342 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4344 2003-05-28 André Pönitz <poenitz@gmx.net>
4346 * metricsinfo.[Ch]: remove 'fullredraw' member
4348 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4350 * lyxtextclass.C (operator): remove caching.
4352 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * text2.C (cursorBottom): adjust
4357 (setCounter): use ParagraphList::find, adjust
4359 * text.C (workWidth): use ParagraphList::find, adjust
4361 * lyxcursor.C (LyXCursor): adjust
4363 * buffer.C (inset_iterator): adjust
4365 * ParagraphList.h: make iterator(value_type) private, make
4366 ParagraphList a friend of iterator.
4368 * ParagraphList.C (find): new function
4370 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4372 2003-05-27 André Pönitz <poenitz@gmx.net>
4374 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4376 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4378 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4380 2003-05-26 John Levon <levon@movementarian.org>
4382 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4384 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * remove same_id from function signatures, adjust.
4388 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4392 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4394 * paragraph.C (Paragraph): get rid of same_ids parameter
4396 * ParagraphList.C (insert): adjust
4399 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * paragraph_funcs.C (breakParagraph): adjust
4402 (breakParagraphConservative): adjust
4404 * buffer.C (readParagraph): adjust
4406 * ParagraphList.C (insert): take a reference instead of a pointer
4409 * paragraph.[Ch] (id): new function
4411 * bufferlist.C (newFile): adjust
4413 * ParagraphList.C (ParagraphList): adjust
4415 (push_back): take a reference instead of a pointer.
4417 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4419 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4422 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4423 set else use old code.
4425 * ParagraphList.C: remove all NO_NEXT code and only compile this
4426 code of NO_STD_LIST is set.
4428 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4430 * BufferView_pimpl.C:
4440 * graphics/GraphicsConverter.C:
4441 * graphics/PreviewLoader.C: header adjustment
4443 2003-05-23 Angus Leeming <leeming@lyx.org>
4445 * LaTeXFeatures.[Ch] (useBabel): new method.
4446 * bufferparams.C (writeLaTeX): use it.
4448 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4450 * ParagraphList.h (set): remove unused function.
4452 2003-05-23 André Pönitz <poenitz@gmx.net>
4455 * BufferView_pimpl.C:
4459 * undo_funcs.C: setUndo reworked
4461 * iterators.[Ch]: add access to topmost ParagraphList
4463 * lyxtext.[Ch] (workWidth): add a const
4465 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4467 * texrow.[Ch] (increasePos): remove function
4468 * exporter.C (export): removed unused var and outdated comment
4470 2003-05-23 Angus Leeming <leeming@lyx.org>
4472 * latexrunparams.h: rename fragile as moving_arg.
4473 * paragraph.C (simpleTeXOnePar): ditto.
4474 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4476 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4478 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4480 (textUndoOrRedo): comment out a currently unused var.
4482 * paragraph.h (NO_NEXT): enable NO_NEXT
4484 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4486 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4488 * exporter.C (Export): adjust for removeAutoInsets removal.
4490 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4492 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4494 * BufferView.[Ch] (removeAutoInsets): delete function
4496 2003-05-22 Angus Leeming <leeming@lyx.org>
4498 * latexrunparams.h: add a free_spacing variable.
4500 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4501 to pass moving_arg, as the data is stored in runparams.fragile.
4503 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4504 to Inset::latexOptional or to simpleTeXOnePar.
4506 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4507 free_spacing arg to Inset::latexOptional.
4509 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4512 2003-05-22 Angus Leeming <leeming@lyx.org>
4514 * latexrunparams.h: add fragile and use_babel variables.
4516 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4517 * buffer.C (makeLaTeXFile): store this returned value in
4518 runparams.use_babel, thus passing it to the inset::latex methods.
4520 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4521 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4523 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4524 longer has a fragile arg, as it is stored in runparams.fragile.
4526 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4527 moving_arg parameter as the data is stored in runparams.fragile.
4529 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4530 a fragile parameter as the data is stored in runparams.fragile.
4532 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4536 2003-05-22 Angus Leeming <leeming@lyx.org>
4538 * latexrunparams.h: add a 'bool nice' which defaults to false.
4540 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4541 now encapsulated within runparams.
4543 * bufferlist.C (updateIncludedTeXfiles):
4544 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4546 2003-05-22 Angus Leeming <leeming@lyx.org>
4548 * latexrunparams.h: new file containing struct LatexRunParams.
4549 * Makefile.am: add new file.
4551 * LaTeX.[Ch] (c-tor, run):
4552 * buffer.[Ch] (makeLaTeXFile):
4553 * bufferlist.[Ch] (updateIncludedTeXfiles):
4554 * converter.C (convert, scanLog):
4555 * converter.[Ch] (runLaTeX):
4556 * exporter.C (Export):
4557 * paragraph.[Ch] (simpleTeXOnePar):
4558 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4559 * paragraph_funcs.[Ch] (latexParagraphs):
4560 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4561 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4562 pass around a LatexRunParams parameter.
4564 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * paragraph.[Ch]: remove unused constructor
4568 * ParagraphList.C (erase): new function, taking two iterators
4570 2003-05-22 André Pönitz <poenitz@gmx.net>
4572 * undo_funcs.C: remove duplicated code
4574 * iterator.[Ch]: operator=
4576 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * tabular.C (SetMultiColumn): ws changes
4580 * rowpainter.C (paintFirst): get rid of a ->previous
4582 * lyx_cb.C (getPossibleLabel): parlist simplification
4584 * BufferView.C (ChangeInsets): simplify slightly.
4586 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4588 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4589 * lfuns.h: new LFUN_SPACE
4590 * lyxfunc.C: protected space has a new lfun
4591 * paragraph_funcs.C: read new space insets
4593 * factory.C: handle new space insets
4595 2003-05-22 André Pönitz <poenitz@gmx.net>
4598 * BufferView_pimpl.C:
4601 * undo_funcs.C: return a ParIterator from getParFromID.
4603 * iterators.[Ch]: add two const's
4605 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4607 * toc.C (getTocList): adjust
4609 * iterators.[Ch]: rework for parlist
4611 * buffer.C (par_iterator_begin): adjust
4612 (par_iterator_end): adjust
4614 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4616 * BufferView.C (removeAutoInsets): adjust
4617 (ChangeInsets): adjust
4619 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4621 * text.C (top_y): fix bug 1110
4623 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4625 * errorlist.[Ch]: added
4628 * BufferView_pimpl.C:
4629 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4632 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * Makefile.am: ensure that lyx is relinked upon changes to the
4635 various "convenience" libs.
4637 2003-05-20 Angus Leeming <leeming@lyx.org>
4639 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4640 files are compiled in alphabetical order again.
4642 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4644 2003-05-19 Angus Leeming <leeming@lyx.org>
4646 * gettext.[Ch]: remove "char const * _(char const *)".
4648 2003-05-19 André Pönitz <poenitz@gmx.net>
4650 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4659 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4661 2003-05-19 André Pönitz <poenitz@gmx.net>
4665 * lyxtextclass.[Ch]:
4667 * paragraph_funcs.[Ch]:
4669 * text3.C: more insetenv work
4671 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4673 * ParagraphParameters.C (params2string): small bug fixed
4675 2003-05-16 André Pönitz <poenitz@gmx.net>
4678 * bufferview_funcs.C: patch from Kornel Benko to prevent
4679 crash when _(...) is called twice in a statement
4681 2003-05-16 André Pönitz <poenitz@gmx.net>
4688 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4690 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4692 * lyx_main.C (init): remove spurious static_cast
4694 2003-05-14 André Pönitz <poenitz@gmx.net>
4696 * BufferView.C: fix format string
4698 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4700 * BufferView.[Ch] (insertErrors): removed
4701 * BufferView.[Ch] (showErrorList): added
4702 * buffer.C (runChkTeX):
4703 * converter.C (scanLog): call showErrorList instead of inserterrors
4705 2003-05-13 André Pönitz <poenitz@gmx.net>
4707 * BufferView_pimpl.C:
4709 * bufferview_func.C:
4716 * tabular_funcs.h: tostr() from its own header
4718 * ParagraphParameters.C:
4723 * text3.C: STRCONV()
4725 2003-05-12 André Pönitz <poenitz@gmx.net>
4728 * BufferView_pimpl.C:
4732 * ParagraphParameters.C:
4736 * bufferview_funcs.C:
4749 * paragraph_funcs.C:
4753 * text3.C: boost::format -> bformat all over the place
4756 2003-05-09 André Pönitz <poenitz@gmx.net>
4758 * LColor.[Ch]: Pimpl the #include <map> away
4760 2003-05-09 John Levon <levon@movementarian.org>
4762 * bufferlist.C: never remove emergency saves
4764 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * Makefile.am: better lib building
4768 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4772 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4773 (simpleTeXSpecialChars): adjust
4774 (simpleTeXSpecialChars): adjust
4775 * paragraph.C (simpleTeXOnePar): adjust
4776 * buffer.C (makeLaTeXFile): adjust
4778 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4780 * text2.C (changeDepth): parlist cleanup
4781 (getColumnNearX): ditto
4783 * rowpainter.C (getLabelFont): parlist cleanup
4785 * bufferlist.C (newFile): parlist cleanup
4787 * CutAndPaste.C (eraseSelection): parlist cleanup
4789 * BufferView_pimpl.C (trackChanges): parlist cleanup
4792 * BufferView.C (lockInset): parlist cleanup.
4793 (ChangeInsets): ditto
4795 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4797 * CutAndPaste.h: Update file header.
4799 * CutAndPaste.C: Update file header.
4800 Store the parts cut out of the Document in a limited_stack.
4801 (copySelection): adjust
4802 (pasteSelection): new function, takes the index in the limited stack.
4803 (nrOfParagraphs): adjust
4804 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4805 simplify error inset insertion.
4806 (checkPastePossible): adjust
4808 2003-05-06 John Levon <levon@movementarian.org>
4810 * text2.C: don't cast wrap inset to float
4812 2003-05-05 André Pönitz <poenitz@gmx.net>
4815 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4817 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4818 few naked Paragraph *.
4820 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4822 * bufferparams.C: Output warning if a document with missing
4823 TeX document class is loaded
4824 * exporter.C: Disable TeX exports if the document class is missing
4827 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4828 isTeXClassAvailable()
4830 2003-05-03 John Levon <levon@movementarian.org>
4833 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4834 explicit cursor show/hide
4836 * BufferView_pimpl.h:
4837 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4838 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4840 * lyxfunc.C: hide cursor before dispatching.
4845 * text3.C: remove explicit cursor hides
4847 2003-05-02 André Pönitz <poenitz@gmx.net>
4849 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4852 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4855 * text2.C: tiny whitespace
4857 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4859 * undo_funcs.C: almost only ws changes.
4861 * ParagraphList.C (splice): just return if pl is empty.
4863 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * ParagraphList.C (splice): new function.
4867 * CutAndPaste.C (pasteSelection): use it
4869 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4871 * CutAndPaste.C (pasteSelection): remove the last next and
4872 previous from this file.
4874 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4876 * CutAndPaste.C (pasteSelection): more clean up, user proper
4877 ParagraphList functions for pasteing.
4879 * ParagraphList.C (insert): new function, three arg insert
4881 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4883 * ParagraphList.C (insert): new function, three arg insert
4885 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4888 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4892 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4896 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4898 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4899 (copySelection): clean up a bit.
4900 (pasteSelection): use make_pair
4902 * ParagraphList.C (ParagraphList): implement copy constructor
4903 (operator=): implement, base on copy constructor.
4906 * paragraph.C (erase): return a bool
4908 * paragraph_pimpl.C (erasePos): remove function, move contents...
4909 (erase): ... here. Return a bool.
4910 (erase): call erase instead of erasePos.
4912 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4914 * ParagraphList.h: define PitPosPair
4915 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4916 ParagraphList, fix a bug on pasting multiple pars
4917 * text2.C: change interface to C&P
4919 2003-04-30 André Pönitz <poenitz@gmx.net>
4921 * undo_func.C: revert part of yesterday's patch 2
4923 2003-04-30 John Levon <levon@movementarian.org>
4925 * LColor.C: s/tabular/table/
4927 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * text3.C (dispatch): do not convert iterator -> pointer
4930 * undo_funcs.C (setCursorParUndo): ditto
4931 * text_funcs.C (transposeChars): ditto
4933 * text2.C (setLayout): ws changes only
4935 * text.C (breakParagraph): do not convert iterator -> pointer
4937 (acceptChange): ditto
4938 (rejectChange): ditto
4943 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4946 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4948 * text3.C (gotoInset): YABG (yet another bad getChar)
4950 2003-04-29 André Pönitz <poenitz@gmx.net>
4952 * paragraph.h: make operator= private unimplemented as long as
4955 * ParagraphList.C: whitespace
4958 * paragraph_pimpl.[Ch]:
4959 * paragraph_funcs.C:
4961 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4964 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4966 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4968 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4969 * paragraph.[Ch] (erase):
4970 * paragraph_pimpl.[Ch] (erase): change return type and value
4971 * text2.C (cutSelection): some rework
4973 2003-04-28 John Levon <levon@movementarian.org>
4975 * bufferlist.C: changes for unsaved changes dialog
4977 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4979 * bufferlist.C (newFile): set language (messages_) for new
4982 * buffer.C (readFile): ws changes only.
4984 2003-04-28 André Pönitz <poenitz@gmx.net>
4989 * BufferView_pimpl.C:
4990 * BufferView.C: getParFromID related ParagraphList::iterator changes
4992 2003-04-28 André Pönitz <poenitz@gmx.net>
4994 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4997 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * messages.C: remove one more localedir class variable.
5001 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5003 * messages.C (getLocaleDir): singleton generation function
5005 (Messages): add a default constructor.
5007 * main.C (main): do not setup localedir here, do not call
5010 * gettext.C (_): use it.
5011 (gettext_init): delete funciton
5013 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5015 * gettext.C (getLyXMessages): new singleton generating function.
5017 * buffer.C (updateDocLang): adjust
5019 * Makefile.am (messages.o): add target
5020 (main.o): remove target
5022 2003-04-27 John Levon <levon@movementarian.org>
5027 * lyxvc.C: specify cancel button in Alert::prompt
5029 2003-04-26 John Levon <levon@movementarian.org>
5034 * LyXAction.C: add LFUN_INSET_SETTINGS
5036 * lyxfunc.C: don't enable tabular-feature when there's
5037 just any locking inset
5039 2003-04-26 John Levon <levon@movementarian.org>
5041 * bufferlist.C: re-add Cancel to buffer close question
5043 * lyxfunc.C: fix import UI a bit
5045 2003-04-25 John Levon <levon@movementarian.org>
5047 * gettext.C: remove the broken asserts for now
5049 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5051 * messages.C: make case where setlocale cannot comply work better.
5053 * buffer.C (updateDocLang): new function
5054 (changeLanguage): use it
5057 * text2.C (setCounter): use B_ a bit.
5059 * lyxlayout.C (Read): be sure to trim the label strings.
5061 * messages.C (Messages): fix typo in comment
5063 * buffer.C (readFile): set message_ after file is loaded.
5064 (makeDocBookFile): remove double return
5065 (changeLanguage): reset message_ upon language change.
5066 (B_): new func, use this to get translated buffer strings.
5068 * main.C: add myself and Jean Marc as authors.
5070 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5072 * messages.[hC]: pimplify Messages, and three different pimpls to be
5073 used in different circumstances.
5075 * gettext.[Ch]: change for use with new message code.
5077 2003-04-24 André Pönitz <poenitz@gmx.net>
5079 * factory.C: support for eqref
5081 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5083 * messages.[Ch]: add missing char
5085 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5087 * messages.[Ch]: New files
5089 2003-04-18 John Levon <levon@movementarian.org>
5093 * BufferView_pimpl.C:
5097 * text2.C: remove layout-copy/paste (bug 778)
5099 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5101 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5103 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5105 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5106 if they succeed. Act accordingly.
5108 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5110 * text2.C (setCharFont): adjust
5111 (setCounter): adjust
5112 (insertStringAsLines): adjust
5114 * text.C (leftMargin): adjust
5115 (setHeightOfRow): adjust
5117 * rowpainter.C (paintFirst): adjust
5120 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5122 (isFirstInSequence): ditto
5123 (getEndLabel): ditto
5126 * paragraph.C (getParLanguage): comment out some hard stuff.
5128 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5130 (simpleDocBookOnePar): ditto
5131 (makeDocBookFile): use ParagraphList::iterator
5133 * CutAndPaste.C (pasteSelection): adjust
5135 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5137 * text2.C (getFont): adjust
5138 (getLayoutFont): adjust
5139 (getLabelFont): adjust
5141 * paragraph_funcs.C (TeXOnePar): adjust
5143 * buffer.C (simpleLinuxDocOnePar): adjust
5144 (simpleDocBookOnePar): adjust
5146 * CutAndPaste.C (pasteSelection): adjust
5148 * BufferView.C (getEncoding): adjust
5150 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5152 2003-04-16 John Levon <levon@movementarian.org>
5154 * lyxfind.C: use parlist stuff for search/changes
5156 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5160 * text2.C (deleteEmptyParagraphMechanism): adjust
5162 * text2.[Ch] (ownerParagraph): delete func (both of them
5164 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5168 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * ParagraphList.C: prepare for NO_NEXT
5172 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * text2.C (getFont): adjust
5175 (getLayoutFont): adjust
5176 (getLabelFont): adjust
5178 * paragraph.C (getFont): adjust
5179 (getLabelFont): adjust
5180 (getLayoutFont): adjust
5182 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5184 2003-04-15 John Levon <levon@movementarian.org>
5188 * lyx_main.C: handle Include in .ui files
5190 2003-04-15 John Levon <levon@movementarian.org>
5192 * MenuBackend.C: make the doc files length shorter
5195 * ToolbarBackend.C: handle toolbar placement flags,
5198 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5200 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5203 * paragraph_funcs.C (TeXOnePar): adjust
5205 * paragraph.C (getLabelFont): add outerfont arg, adjust
5206 (getLayoutFont): ditto
5207 (simpleTeXOnePar): adjust
5209 * paragraph_pimpl.C (realizeFont): delete func
5211 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5213 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5214 row argument, constify cur argument.
5216 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * text2.C (getFont): adjust
5219 (getLayoutFont): adjust
5220 (getLabelFont): adjust
5222 * paragraph_funcs.C (TeXOnePar): adjust
5223 (outerFont): new func...
5224 (realizeFont): ...moved out from here, changed this to facilitate
5227 * paragraph.C (getFont): take outerfont as arg, adjust
5228 (simpleTeXOnePar): add outerfont arg, adjust
5230 * buffer.C (simpleLinuxDocOnePar): adjust
5231 (simpleDocBookOnePar): adjust
5233 * CutAndPaste.C (pasteSelection): adjust
5235 * BufferView.C (getEncoding): adjust
5237 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * text2.C (setCharFont): adjust
5240 (setCounter): adjust
5242 * text.C (leftMargin): adjust
5243 (setHeightOfRow): adjust
5245 * rowpainter.C (paintFirst): adjust
5248 * paragraph_pimpl.C (realizeFont): adjust
5250 * paragraph.C (isFirstInSequence): move from here...
5251 * paragraph_funcs.C (isFirstInSequence): ...to here
5253 * paragraph.C (outerHook): move from here...
5254 * paragraph_funcs.C (outerHook): ...to here
5256 * paragraph.C (depthHook): move from here...
5257 * paragraph_funcs.C (depthHook): ...to here
5259 * paragraph.C (getEndLabel): move from here...
5260 * paragraph_funcs.C (getEndLabel): ...to here
5262 * text2.C (realizeFont): move from here...
5263 * paragraph_funcs.C (realizeFont): ...to here
5265 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5269 2003-04-14 Angus Leeming <leeming@lyx.org>
5271 * LColor.[Ch]: scrap LColor mathcursor.
5273 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * lyxlex.[Ch] (text): delete function
5276 * trans.C (Load): adjust
5277 * paragraph_funcs.C (readParToken): adjust
5279 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5282 vector<char> instead of a char[].
5284 * lyxlex_pimpl.C (getString): adjust
5286 (lex): use getString
5290 * lyxlex.C (text): use pimpl_->getString()
5294 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5296 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5297 (makeFontEntriesLayoutSpecific): temp var for par.size()
5298 (setLayout): temp var for ownerParagraphs().end()
5299 (fullRebreak): temp var for rows().end()
5300 (selectionAsString): temp var for boost::next(startpit), realize
5301 that the while really is a regular for loop.
5302 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5303 setCursor in one place.
5304 (setParagraph): temp vr for ownerParagraphs().end()
5305 (updateCounters): make the while loop a for loop
5306 (cutSelection): temp var for ownerParagraphs().end()
5307 (updateInset): make the do {} while() a regular for loop
5308 (getCursorX): use temp vars
5309 (setCurrentFont): use temp vars
5310 (getColumnNearX): use temp vars
5312 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5314 * text.C (transformChar): use temp var for getChar
5315 (computeBidiTables): use temp var for row->par()
5316 (fill): move temp vars for row->par() and pit->layout() earlier in
5318 (labelFill): use temp var for row->par()
5319 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5320 asc and desc, realize that pit never changes and that firstpit is
5321 just a duplicate and not needed. Exchange rit->par() with pit in a
5323 (breakAgain): use a temp var for boost::next(rit)
5324 (breakAgainOneRow): ditto
5325 (breakParagraph): use a temp var for rows().begin()
5326 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5327 (cursorRightOneWord): use temp var for cursor.par() and
5328 cursor.pos(), remove usage of tmpcursor.
5329 (cursorLeftOneWord): use temp var for cursor.par() and
5330 cursor.pos() only set cur at end of function.
5332 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * text.C, text2.C: exchange all usage of Paragraph::next with
5335 boost::next(ParagraphList::iterator)
5337 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5339 * text2.C (cursorTop): simplify implementation
5340 (cursorBottom): ditto
5341 (setParagraph): use ParagraphList::iterator
5342 (setCurrentFont): adjust
5343 (getColumnNearX): adjust
5344 (cursorRight): adjust
5345 (cursorLeft): remove usage of Paragraph::previous
5346 (cursorUpParagraph): ditto
5347 (deleteEmptyParagraphMechanism): slight cleanup
5349 * text.C (isBoundary): take a Paragraph const & instead of a
5351 (addressBreakPoint): ditto
5352 (leftMargin): remove usage of Paragraph::previous.
5353 (setHeightOfRow): ditto
5354 (cursorLeftOneWord): ditto
5355 (selectNextWordToSpellcheck): ditto
5358 (breakParagraph): remove one usage of Paragraph::next
5359 (redoParagraph): ditto
5360 (acceptChange): ditto
5361 (insertChar): adjust
5362 (rowBreakPoint): adjust
5364 * bufferview_funcs.C (toggleAndShow): adjust
5366 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5368 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5369 methods to access it.
5371 * text.C: Added updateRowPositions to compute all row positions.
5372 Make top_y and getRowNearY() to use the cached y position
5374 2003-04-11 John Levon <levon@movementarian.org>
5376 * text.C (rowBreakPoint): reintroduce the labelEnd
5377 checks, code copied from the row fill stuff. Deep voodoo.
5379 * text.C (fill): add a comment and debugging for the
5382 2003-04-11 John Levon <levon@movementarian.org>
5384 * text.C: make sure fullrow insets get wrapped to the next line,
5385 even when they're in a manual label
5387 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5389 * text2.C (insertParagraph): make it take ParagraphList::iterator
5391 (setLayout): make it return ParagraphList::iterator
5392 (redoParagraphs): ditto
5394 (checkParagraph): ditto
5396 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5398 * text2.C: adjust several funcs.
5399 (realizeFont): take a ParagraphList::iterator as arg.
5400 (getLayoutFont): ditto
5401 (getLabelFont): ditto
5402 (setCharFont): ditto
5404 * text.C: adjust several funcs.
5406 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5408 * text.C (selectNextWordToSpellcheck): don't accidentally
5411 2003-04-10 John Levon <levon@movementarian.org>
5413 * ToolbarBackend.C (getIcon): special handling for
5416 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5418 * text2.C (cursorRight): a getChar assert fixed
5420 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * text2.C (getFont): change to take a ParagraphList::iterator
5423 instead of Paragraph*
5424 Adjust several functions.
5426 * text.C (transformChar): change to take a ParagraphList::iterator
5427 instead of Paragraph*
5428 (singleWidth): ditto
5429 Adjust several functions.
5431 * rowpainter.C: adjust several functions
5432 * rowpainter.h:store a ParagraphList::iterator and not a
5436 2003-04-09 John Levon <levon@movementarian.org>
5441 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5442 and the "help" bits as well
5444 2003-04-09 John Levon <levon@movementarian.org>
5447 * ToolbarBackend.C: allow multiple toolbars
5449 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5451 * undo_funcs.C (setCursorParUndo): adjust
5453 * text_funcs.C (transposeChars): adjust
5455 * text3.C (gotoNextInset): adjust
5458 * text2.C (setLayout): adjust
5459 (changeDepth): adjust
5461 (redoParagraphs): adjust
5462 (selectionAsString): adjust
5463 (setParagraph): adjust
5464 (insertInset): adjust
5465 (cutSelection): adjust
5466 (copySelection): adjust
5467 (pasteSelection): adjust
5468 (insertStringAsLines): adjust
5469 (updateInset): adjust
5470 (setCursor): change to take a ParagraphList::iterator parameter
5471 (setCursorIntern): change to take a ParagraphList::iterator parameter
5472 (setCurrentFont): adjust
5473 (cursorLeft): adjust
5474 (cursorRight): adjust
5475 (deleteEmptyParagraphMechanism): adjust
5477 * text.C (breakParagraph): adjust
5478 (insertChar): adjust
5479 (acceptChange): adjust
5480 (rejectChange): adjust
5481 (selectNextWordToSpellcheck): adjust
5482 (changeCase): adjust
5486 * lyxfind.C (SearchForward): adjust
5487 (SearchBackward): adjust
5488 (nextChange): adjust
5490 * lyxcursor.C (par): adjust
5492 * lyxcursor.h: store a ParagraphList::iterator instead of a
5495 * lyx_cb.C (getPossibleLabel): adjust
5497 * bufferview_funcs.C (toggleAndShow): adjust
5499 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5502 * BufferView.C (removeAutoInsets): adjust
5503 (lockedInsetStoreUndo): adjust
5505 2003-04-09 John Levon <levon@movementarian.org>
5507 * ToolbarBackend.C: try icon without argument
5508 if with argument fails
5510 2003-04-08 John Levon <levon@movementarian.org>
5513 * ToolbarBackend.C: add getIcon(), handle tooltip,
5514 and change from "Icon" to "Item".
5516 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5518 * BufferView.C (lockInset): another bad getchar crunched
5520 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5522 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5525 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5527 * lyxfind.C (searchForward, searchBackwards): bug 782
5529 2003-04-07 John Levon <levon@movementarian.org>
5531 * paragraph.C: remove dead comment
5533 * text.C: remove troublesome depth-fiddling code
5534 in leftMargin() and rightMargin() (bug 1017)
5536 * text.C: fix breaking of rows in nested lists
5539 * text2.C (updateCounters): fix up depth values
5542 2003-04-07 John Levon <levon@movementarian.org>
5544 * BufferView_pimpl.C: clear message when doc finishes resizing,
5545 and after a mouse event
5547 * lyxfunc.C: clear message after exiting inset
5549 2003-04-07 John Levon <levon@movementarian.org>
5551 * bufferview_funcs.C: show math status not outside
5552 status in the statusbar
5554 2003-04-07 John Levon <levon@movementarian.org>
5556 * lyxfunc.C: note status changed after a depth change
5558 2003-04-04 Angus Leeming <leeming@lyx.org>
5560 * LaTeX.h: move AuxInfo operator==, != out of line.
5561 Remove LaTeX virtual destructor; nothing derives from it.
5562 Move operator()() out of public area and rename it startscript().
5563 Change protected for private.
5565 2003-04-04 Angus Leeming <leeming@lyx.org>
5568 * text2.C: remove unneeded #includes.
5570 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5572 * text2.C (dEPM): fix the heigth of the next row
5574 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5576 * text.C: squashed an invalid getChar requester + some ws changes
5578 2003-04-03 John Levon <levon@movementarian.org>
5580 * bufferview_funcs.h:
5581 * bufferview_funcs.C:
5584 * text2.C: make getStatus work for the env depth lfuns
5586 2003-04-03 John Levon <levon@movementarian.org>
5588 * bufferview_funcs.h:
5589 * bufferview_funcs.C:
5592 * text2.C: parlistize decDepth(), by merging it with incDepth()
5594 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * lyxrow.h: store a ParagraphList::iterator instead of a
5597 Paragraph* and adjust other class functions to suit.
5599 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5602 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5604 * text2.C (setCursor): do not anchor to cursor row for the time being
5606 2003-04-02 John Levon <levon@movementarian.org>
5613 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5615 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5617 * paragraph.h: make ParagraphList and ParagraphList::iterator
5618 friends of Paragraph.
5620 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5622 * ParagraphList.C: Use the private next_ and previous_ from
5625 2003-04-01 John Levon <levon@movementarian.org>
5629 * Makefile.am: rename, remove defaults gunk
5632 * MenuBackend.C: remove defaults gunk
5635 * Languages.C: remove defaults gunk
5638 * lyx_main.C: error out if files couldn't be found.
5640 2003-04-02 John Levon <levon@movementarian.org>
5642 * text2.C: make incDepth() use parlist
5644 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * undo_funcs.C (firstUndoParagraph): adjust
5648 * text3.C (gotoInset): adjust
5649 (dispatch): adjust, and rewrite loop.
5651 * text2.C (init): adjust, and rewrite loop.
5652 (redoParagraphs): adjust
5653 (updateInset): adjust, and rewrite loop.
5654 (deleteEmptyParagraphMechanism): adjust
5656 * tabular.C (LyXTabular): adjust
5657 (SetMultiColumn): adjust
5660 * lyxtext.[Ch] (ownerParagraph): delete function
5661 (ownerParagraphs): new function returns a ParagraphList.
5663 * BufferView.C (removeAutoInsets): adjust
5664 (insertErrors): adjust
5665 (setCursorFromRow): adjust
5667 2003-04-01 Angus Leeming <leeming@lyx.org>
5669 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5672 2003-04-02 John Levon <levon@movementarian.org>
5678 * text_funcs.C: make transposeChars a free function
5680 * lyxrow_funcs.C: remove wrong comment
5682 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5685 * rowpainter.C: adjust
5690 * lyxrow_funcs. [Ch]: new files
5692 * lyxrow.[Ch]: remove next and previous pointers
5693 (next,previous): remove accessor functions
5694 (isParEnd): move to lyxrow_funcs
5695 (lastPos): move to lyxrow_funcs
5696 (nextRowIsAllInset): move to lyxrow_funcs
5697 (lastPrintablePos): move to lyxrow_funcs
5698 (numberOfSeparators): move to lyxrow_funcs
5699 (numberOfHfills): move to lyxrow_funcs
5700 (numberOfLabelHfills): move to lyxrow_funcs
5701 (hfillExpansion): move to lyxrow_funcs
5705 * bufferview_funcs.C (toggleAndShow): adjust
5707 * RowList.h: Remove class RowList from file leave just a
5710 * RowList.C: delete file
5712 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5715 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5717 * text3.C (cursorPrevious): adjust
5718 (cursorNext): adjust
5721 * text2.C (redoHeightOfParagraph): adjust
5722 (redoDrawingOfParagraph): adjust
5725 * text.C (breakParagraph): adjust
5726 (insertChar): adjust
5729 * rowpainter.C (RowPainter): adjust
5730 (leftMargin): simplify and adjust
5731 (most rowpainter functions): adjust.
5733 * rowpainter.h: store the row as RowList::iterator not as Row*
5735 * lyxcursor.C (row): taka RowList::iterator as arg
5738 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5741 2003-04-01 Angus Leeming <leeming@lyx.org>
5743 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5744 stuff like bool Bool.
5746 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5748 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5751 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5753 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5756 * lyxtext.h (rows): drop one version and leve a const variant that
5757 returns a RowList::iterator.
5759 2003-03-31 Angus Leeming <leeming@lyx.org>
5761 * text.C (fill): ensure that the signature is the same as that in the
5764 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5766 * text2.C (redoParagraphs): adjust
5767 (updateCounters): adjust
5768 (checkParagraph): adjust
5769 (getColumnNearX): adjust and reformat a bit.
5771 * text.C (top_y): adjust
5773 (leftMargin): adjust
5774 (prepareToPrint): adjust
5776 (getRowNearY): adjust
5778 * lyxtext.h: make rowlist_ mutable.
5780 * RowList.h: add const_iterator
5781 * RowList.C: adjust for RowList::const_iterator.
5783 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5786 2003-03-31 John Levon <levon@movementarian.org>
5789 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5791 * lyx_main.C: set default fonts from using lyx_gui funcs
5793 * exporter.C: pdf_mode moved from lyxrc
5796 * lyxfunc.C: changes from above
5798 2003-03-31 John Levon <levon@movementarian.org>
5800 * lyx_main.C: fix to the last fix
5802 2003-03-31 John Levon <levon@movementarian.org>
5804 * bufferlist.C: "Load original" -> "Load Original"
5810 * format.C: more Alert cleanups
5812 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * text2.C (removeParagraph): make it take a RowList::iterator as
5816 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5817 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5819 * text.C (anchor_row): make it take a RowList::iterator as arg,
5821 (computeBidiTables): make it take a const reference to Row instead
5822 of Row pointer, adjust.
5823 (leftMargin): make it take a RowList::iterator as arg, adjust.
5824 (rowBreakPoint): adjust
5825 (breakAgainOneRow): make it take a RowList::iterator as arg,
5827 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5829 * bufferview_funcs.C (toggleAndShow): adjust
5831 2003-03-30 John Levon <levon@movementarian.org>
5835 * boost-inst.C: moved to support
5837 * several files: changes as a result
5839 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5841 * text2.C (LyXText): adjust.
5843 (removeRow): make it take a RowList::iterator as arg, adjust.
5844 (fullRebreak): adjust
5845 (deleteEmptyParagraphMechanism): adjust
5846 (clearPaint): adjust
5849 * text.C (top_y): adjust
5850 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5851 (breakAgain): make it take a RowList::iterator as arg, adjust.
5852 (breakParagraph): adjust
5853 (insertChar): adjust
5856 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5857 need_break_row, and refresh_row.
5859 * text3.C (dispatch): adjust
5861 * text2.C (checkParagraph): adjust
5863 (setCursorFromCoordinates): adjust
5865 * text.C (top_y): adjust
5867 (getRow): make it return a RowList::iterator, adjust
5868 (getRowNearY): make it return a RowList::iterator, adjust
5870 * text2.C (init): adjust
5871 (insertRow): remove function
5872 (insertParagraph): adjust
5873 (redoParagraphs): adjust
5874 (fullRebreak): adjust
5875 (updateCounters): adjust
5877 * text.C (top_y): rewrite to use RowList iterators.
5879 (setHeightOfRow): rewrite to sue RowList iterators.
5880 (appendParagraph): adjust
5881 (breakAgain): adjust
5882 (breakAgainOneRow): adjust
5883 (breakParagraph): adjust
5885 (getRowNearY): adjust, and remove commented code.
5887 * lyxtext.h (firstRow): delete function
5888 (lastRow): delete function
5889 (rows): new function (const and non-const versions.)
5890 (insertRow): delete function
5892 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5894 2003-03-29 John Levon <levon@movementarian.org>
5896 * BufferView_pimpl.C: always update scrollbar top
5897 because pasting text when we're anchored could mean we
5898 miss an update altogether
5900 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * text2.C (init): use rowlist_.end() and not 0.
5903 (insertRow): change to take a RowList::iterator as arg, adjust
5905 (insertParagraph): change to take a RowList::iterator as arg,
5907 (redoParagraphs): remove some debug msgs.
5909 * text.C (appendParagraph): change to take a RowList::iterator
5910 arg, adjust for this.
5911 (breakAgain): add an assert
5912 (breakAgainOneRow): ditto
5914 2003-03-29 John Levon <levon@movementarian.org>
5916 * text2.C: do not clear selection after inc/decDepth
5919 2003-03-29 John Levon <levon@movementarian.org>
5922 * buffer.C: fix broken strerrors according to Lars
5924 2003-03-29 John Levon <levon@movementarian.org>
5926 * converters.C: more Alert cleanups
5928 2003-03-29 John Levon <levon@movementarian.org>
5930 * bufferview_funcs.C: remove pointless Alert
5932 * buffer.C: fix confusing error message when
5933 a template is chmoded 000
5935 2003-03-29 John Levon <levon@movementarian.org>
5939 * BufferView_pimpl.C: Alert fixes
5943 * tabular-old.C: remove unused table compat reading
5945 2003-03-29 John Levon <levon@movementarian.org>
5950 * lyx_cb.C: more Alert cleanups
5952 * lyxfunc.C: don't allow chktex if not latex document
5954 2003-03-29 John Levon <levon@movementarian.org>
5958 * buffer.C: warnings pushed down from support/,
5961 2003-03-29 John Levon <levon@movementarian.org>
5963 * lyxfunc.C: safety check for C-r (revert)
5965 2003-03-29 John Levon <levon@movementarian.org>
5968 * bufferlist.C: several UI fixes using Alert::prompt.
5969 Fix the pointless looping quit code. Fix stupid revert
5974 * lyx_cb.C: use Alert::prompt
5976 * lyx_main.C: remove a silly question
5978 * lyxfunc.C: remove a couple of silly questions,
5981 2003-03-28 John Levon <levon@movementarian.org>
5983 * text2.C: fix bug 974 (End on empty par)
5985 2003-03-28 John Levon <levon@movementarian.org>
5987 * BufferView_pimpl.C:
5989 * lfuns.h: remove do-nothing math greek lfuns
5991 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * lyxgluelength.h (isValidGlueLength): add default arg on
5994 parameter 2. Remove default arg from friend in class.
5996 * lyxlength.h (isValidLength): add default arg on parameter 2.
5997 Remove default arg from friend in class.
5999 * text2.C (LyXText): adjust, initialize refresh_row.
6003 (insertParagraph): adjst
6004 (redoParagraphs): adjust
6005 (fullRebreak): adjust
6006 (updateCounters): adjust
6007 (deleteEmptyParagraphMechanism): first attempt at fixing a
6010 * text.C (top_y): adjust
6011 (setHeightOfRow): adjust
6013 (getRowNearY): adjust
6015 * lyxtext.h: include RowList.h
6016 (~LyXText): not needed anymore, deleted.
6017 (firstRow): modify for RowList
6018 (lastRow): new function
6019 Delete firstrow and lastrow class variables, add a Rowlist
6020 rowlist_ class variable.
6022 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6025 * RowList.C (insert): fix case where it == begin().
6027 2003-03-26 Angus Leeming <leeming@lyx.org>
6029 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6030 the thesaurus dialog.
6032 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6036 * RowList.[Ch]: new files
6038 * ParagraphList.C (erase): handle the case where it == begin
6041 2003-03-25 John Levon <levon@movementarian.org>
6045 * aspell.C: add new aspell support
6048 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6051 2003-03-25 Angus Leeming <leeming@lyx.org>
6054 * LyXAction.C (init): new LFUN_INSET_INSERT.
6056 * BufferView_pimpl.C (dispatch): split out part of the
6057 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6059 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6062 2003-03-25 Angus Leeming <leeming@lyx.org>
6064 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6066 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6069 * text3.C: remove useless row->height(0)
6071 2003-03-25 John Levon <levon@movementarian.org>
6075 * text3.C: rename the refreshing stuff to better names
6077 2003-03-24 John Levon <levon@movementarian.org>
6079 * BufferView_pimpl.h:
6080 * BufferView_pimpl.C: update layout choice on a mouse
6083 2003-03-23 John Levon <levon@movementarian.org>
6085 * Makefile.am: fix commandtags.h reference
6087 2003-03-22 John Levon <levon@movementarian.org>
6089 * BufferView_pimpl.C:
6094 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6096 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6099 * text.C: take the rtl methods out of line
6101 2003-03-21 André Pönitz <poenitz@gmx.net>
6103 * metricsinfo.[Ch]: new files containing structures to be passed around
6104 during the two-phase-drawing...
6106 2003-03-21 André Pönitz <poenitz@gmx.net>
6108 * lyxtextclass.C: read 'environment' tag.
6110 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6112 * text2.C (removeRow): fix bug 964
6114 2003-03-20 John Levon <levon@movementarian.org>
6118 * text2.C: paint cleanups. Inset::update() dropped font
6121 2003-03-19 John Levon <levon@movementarian.org>
6123 * lyxfunc.C: only fitcursor/markDirty if available()
6125 2003-03-19 John Levon <levon@movementarian.org>
6127 * commandtags.h: rename to ...
6129 * lfuns.h: ... this, and renumber / cleanup
6131 2003-03-19 John Levon <levon@movementarian.org>
6133 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6134 fit the cursor after an lfun
6138 * BufferView_pimpl.h:
6139 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6141 * LyXAction.C: layout-character should have ReadOnly
6143 * ParagraphParameters.C:
6145 * bufferview_funcs.C:
6152 * undo_funcs.C: changes from above
6154 2003-03-18 John Levon <levon@movementarian.org>
6156 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6157 remove it from update()
6159 * lyxfunc.C: update layout choice after an lfun
6161 * text3.C: remove extra updateLayoutChoice()s
6163 2003-03-18 John Levon <levon@movementarian.org>
6165 * text.C: top_y change means full repaint, fix
6166 a drawing bug with cursor movement
6168 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6172 * text2.C: anchor row on setCursor
6174 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6176 * lyxtext.h: remove almost all mutable keywords
6179 * text3.C: remove const keywords accordingly
6181 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6185 (TeXEnvironment): ditto
6188 2003-03-17 John Levon <levon@movementarian.org>
6190 * text.C (rowBreakPoint): remove attempt to fix displayed
6191 math insets inside a manual label
6193 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * lyxtext.h: remove BufferView* as first arg from almost all class
6197 * other files: adjust.
6199 2003-03-17 John Levon <levon@movementarian.org>
6203 * text2.C: more paint cleanups
6205 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6208 * rowpainter.C: remove "smart" background painting code
6210 2003-03-16 John Levon <levon@movementarian.org>
6215 * text3.C: add helper functions for setting refresh_row/y
6217 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6219 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6220 newline inset which *can* get inserted in the pass_thru layouts.
6221 This is primarily for literate documents.
6223 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6225 * buffer.C: increment LYX_FORMAT to 223
6227 2003-03-14 André Pönitz <poenitz@gmx.net>
6229 * textclass.h: prepare for environment handling, ws changes
6230 * lyxlayout.C: read latexheader and latexfooter tags
6232 2003-03-14 John Levon <levon@movementarian.org>
6234 * text2.C: rewrite ::status() a bit
6236 2003-03-13 John Levon <levon@movementarian.org>
6238 * lyxtext.h: add some docs
6240 2003-03-13 John Levon <levon@movementarian.org>
6245 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6247 2003-03-13 John Levon <levon@movementarian.org>
6249 * text3.C: fix appendix redrawing
6251 2003-03-13 John Levon <levon@movementarian.org>
6253 * text.C (setHeightOfRow):
6255 * rowpainter.C: make appendix mark have the text
6256 "Appendix" so the user knows what it is
6259 * LColor.C: s/appendixline/appendix/ from above
6261 2003-03-13 John Levon <levon@movementarian.org>
6263 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6265 * text.C: fix a getChar(pos) bug properly
6267 2003-03-13 Angus Leeming <leeming@lyx.org>
6270 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6271 Probably only temporary. Let's see how things pan out.
6273 * BufferView.C (unlockInset):
6274 * BufferView_pimpl.C (fitCursor):
6275 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6277 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6278 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6280 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6281 new functions that convert ParagraphParameters to and from a string.
6283 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6284 BufferView::Pimpl's dispatch.
6285 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6287 2003-03-13 André Pönitz <poenitz@gmx.net>
6291 * factory.C: make it aware of InsetEnv
6293 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * text2.C (setCursor): never ask for one past last
6296 (setCursor): add some debugging messages.
6298 * text.C (singleWidth): never ask for one past last
6299 (singleWidth): ditto
6301 (rightMargin): ditto
6302 (rowBreakPoint): ditto
6303 (setHeightOfRow): ditto
6304 (prepareToPrint): ditto
6306 * rowpainter.C (paintBackground): never ask for one past last
6307 (paintText): never ask for one past last
6309 * paragraph_pimpl.C (getChar): make the assert stricter, never
6310 allow the one past last pos to be taken
6312 * paragraph.C (getChar): ws changes only
6314 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6315 (numberOfSeparators): ditto
6316 (numberOfHfills): ditto
6318 2003-03-12 John Levon <levon@movementarian.org>
6324 * paragraph_funcs.C: fix per-buffer authorlists
6326 2003-03-12 John Levon <levon@movementarian.org>
6328 * text.C: fix newline in right address
6330 2003-03-12 Angus Leeming <leeming@lyx.org>
6332 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6333 duplicate those in LyXFunc::dispatch.
6337 * ToolbarDefaults.C:
6338 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6339 Add LFUN_FONTFREE_UPDATE.
6341 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6342 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6344 * bufferview_func.[Ch]: several new functions to facilliate
6345 transfer of data to and from the character dialog.
6347 2003-03-12 John Levon <levon@movementarian.org>
6352 * paragraph_funcs.C:
6353 * paragraph_pimpl.C:
6357 * text3.C: remove META_NEWLINE in favour of an inset
6360 * rowpainter.C: remove paintNewline (done by inset)
6362 2003-03-12 John Levon <levon@movementarian.org>
6364 * paragraph_pimpl.C: complain about bad getChar()s
6365 for a while at least
6367 2003-03-12 John Levon <levon@movementarian.org>
6370 * buffer.C: move paragraph read into a separate function,
6371 a little renaming to reflect that.
6374 * bufferparams.C: remove the author_ids map, not necessary now
6377 * factory.C: moved Buffer::readInset to here
6379 * paragraph_funcs.h:
6380 * paragraph_funcs.C: readParagraph free function moved from
6383 * tabular.C: name change
6385 2003-03-12 John Levon <levon@movementarian.org>
6388 * ParagraphParameters.C: move par params input to
6391 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6392 behave like a normal read from the stream wrt reading
6393 a line vs. a \\token
6395 2003-03-12 John Levon <levon@movementarian.org>
6398 * ParagraphParameters.h:
6399 * ParagraphParameters.C: move output code to a
6402 2003-03-12 John Levon <levon@movementarian.org>
6404 * BufferView.C (insertLyXFile):
6407 * tabular.C: use a parlist iterator for creating the
6410 2003-03-12 John Levon <levon@movementarian.org>
6412 * buffer.C: make current_change static local not
6415 2003-03-12 John Levon <levon@movementarian.org>
6417 * buffer.C: fix insertStringAsLines for change tracking
6419 2003-03-12 John Levon <levon@movementarian.org>
6426 * bufferparams.C: move author list into params. Rename some
6427 functions. Move the header reading into a separate token
6428 loop. Move the header token reading into BufferParams.
6430 2003-03-12 John Levon <levon@movementarian.org>
6432 * changes.C: put debug inside lyxerr.debugging() checks
6434 2003-03-11 André Pönitz <poenitz@gmx.net>
6436 * factory.C: make it aware of InsetHFill
6438 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6440 * buffer.C (latexParagraphs): move function from here...
6441 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6444 2003-03-10 Angus Leeming <leeming@lyx.org>
6446 * LyXAction.C (init): fix bug in poplating array with multiple entries
6447 with the same LFUN (spotted by JMarc).
6449 2003-03-10 John Levon <levon@movementarian.org>
6452 * text2.C: move getColumnNearX() near its
6455 2003-03-10 John Levon <levon@movementarian.org>
6457 * text.C: fix break before a minipage
6459 2003-03-10 John Levon <levon@movementarian.org>
6461 * text.C: fix the last commit
6463 2003-03-09 John Levon <levon@movementarian.org>
6467 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6468 bug 365 (don't break before insets unless needed). Don't
6469 return a value > last under any circumstances.
6471 2003-03-09 Angus Leeming <leeming@lyx.org>
6473 * BufferView_pimpl.C (trackChanges, dispatch): call
6474 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6476 2003-03-09 Angus Leeming <leeming@lyx.org>
6478 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6479 than Dialogs::showAboutlyx().
6481 2003-03-09 Angus Leeming <leeming@lyx.org>
6483 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6484 than Dialogs::showTabularCreate().
6486 2003-03-09 John Levon <levon@movementarian.org>
6490 * text2.C: 3rd arg to nextBreakPoint was always the same.
6493 2003-03-08 John Levon <levon@movementarian.org>
6500 * text2.C: Remove the "main" bit from the "main body"
6503 2003-03-08 John Levon <levon@movementarian.org>
6505 * text.C (leftMargin): The left margin of an empty
6506 manual label paragraph should not include the label width
6509 * text.C (prepareToPrint): don't attempt to measure hfills
6510 for empty manual label paragraphs - the answer should be 0
6512 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * CutAndPaste.C: remove commented code and reindent.
6516 2003-03-08 John Levon <levon@movementarian.org>
6519 * lyxfunc.C: move reloadBuffer()
6522 * BufferView.C: to here
6524 * lyxvc.C: add comment
6527 * vc-backend.C: call bv->reload() to avoid
6528 getStatus() check on MENURELOAD
6530 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6532 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6533 to an old format .dep file.
6535 2003-03-07 Angus Leeming <leeming@lyx.org>
6537 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6538 when the LFUN_MOUSE_RELEASE should have been handled by
6539 inset->localDispatch.
6541 2003-03-07 Angus Leeming <leeming@lyx.org>
6543 * BufferView_pimpl.C (dispatch):
6544 * LyXAction.C (init):
6545 * ToolbarDefaults.C (init):
6547 * lyxfunc.C (getStatus):
6548 remove LFUN_INSET_GRAPHICS.
6550 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6552 2003-03-07 Angus Leeming <leeming@lyx.org>
6555 * LyXAction.C (init):
6556 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6558 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6561 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6563 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6564 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6566 2003-03-07 Angus Leeming <leeming@lyx.org>
6568 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6571 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6573 * ParagraphList.C (front): new function
6576 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6578 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6579 and top_row_offset_. removed var first_y.
6581 * text2.C (LyXText, removeRow):
6583 * BufferView_pimpl.C:
6584 use these methods instead of using first_y
6586 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6588 * text2.C (pasteSelection): adjust for checkPastePossible
6590 * CutAndPaste.C: remove Paragraph * buf and replace with
6591 ParagraphList paragraphs.
6592 (DeleteBuffer): delete
6593 (cutSelection): change the tc type to textclass_type
6594 (copySelection): change the tc type to textclass_type
6595 (copySelection): adjust for ParagraphList
6596 (pasteSelection): change the tc type to textclass_type
6597 (pasteSelection): adjust for Paragraphlist
6598 (nrOfParagraphs): simplify for ParagraphList
6599 (checkPastePossible): simplify for ParagraphList
6600 (checkPastePossible): remove unused arg
6602 * ParagraphList.C (insert): handle the case where there are no
6605 * CutAndPaste.h: make CutAndPaste a namespace.
6607 * text3.C (dispatch): adjust
6609 * text.C (breakParagraph): add a ParagraphList as arg
6611 * paragraph_funcs.C (breakParagraph): change to take a
6612 BufferParams and a ParagraphList as args.
6613 (breakParagraphConservative): ditto
6614 (mergeParagraph): ditto
6615 (TeXDeeper): add a ParagraphList arg
6616 (TeXEnvironment): ditto
6619 * buffer.C (readLyXformat2): adjust
6620 (insertStringAsLines): adjust
6621 (latexParagraphs): adjust
6623 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6624 (cutSelection): adjust
6625 (pasteSelection): adjust
6627 * BufferView_pimpl.C (insertInset): adjust
6629 2003-03-05 Angus Leeming <leeming@lyx.org>
6632 * LyXAction.C (init):
6633 * BufferView_pimpl.C (dispatch):
6634 * lyxfunc.C (getStatus):
6635 remove LFUN_CHILD_INSERT.
6637 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6639 2003-03-05 Angus Leeming <leeming@lyx.org>
6642 * LyXAction.C (init):
6643 * src/factory.C (createInset):
6644 * lyxfunc.C (getStatus):
6645 * text3.C (dispatch):
6646 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6648 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6650 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6652 * ParagraphList.C (insert): handle insert right before end()
6653 (erase): fix cases where it can be first or last paragraph.
6655 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6658 Paragraph::next and Paragraph::previous
6661 * text.C (breakParagraph): adjust
6663 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6664 BufferParams& as arg.
6665 (breakParagraph): use ParagraphList::insert
6666 (breakParagraphConservative): take a Buffer* instead of a
6667 BufferParams& as arg.
6668 (breakParagraphConservative): use ParagraphList::insert.
6670 * buffer.C (insertStringAsLines): un-const it
6671 (insertStringAsLines): adjust
6673 * ParagraphList.C (insert): new function
6675 * CutAndPaste.C (pasteSelection): adjust
6677 * text.C (backspace): adjust
6679 * tabular.C (SetMultiColumn): adjust
6681 * CutAndPaste.C (cutSelection): adjust
6682 (pasteSelection): adjust
6684 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6685 Buffer const * as arg
6687 * ParagraphList.C (erase): new function
6688 * paragraph_funcs.C (mergeParagraph): use it
6689 (mergeParagraph): make it take a Buffer* instead of a
6690 BufferParams* as arg
6692 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6694 (breakParagraphConservative): ditto
6696 * paragraph.h: remove the breakParagraph friend
6698 * paragraph.C (eraseIntern): new function
6699 (setChange): new function
6701 * paragraph_funcs.C (mergeParagraph): make it take a
6702 ParagraphList::iterator instead of a Paragraph *, adjust
6705 * paragraph.h: move an #endif so that the change tracking stuff
6706 also works in the NO_NEXT case.
6708 2003-03-04 Angus Leeming <leeming@lyx.org>
6711 * LyXAction.C: new LFUN_INSET_MODIFY.
6713 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6714 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6716 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6718 * several files: ws changes only
6720 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6721 (TeXEnvironment): ditto
6724 * buffer.C (makeLaTeXFile): adjust
6725 (latexParagraphs): make it take ParagraphList::iterator as args
6727 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6729 * buffer.C (latexParagraphs): adjust
6731 * paragraph.C (TeXOnePar): move function...
6732 (optArgInset): move function...
6733 (TeXEnvironment): move function...
6734 * paragraph_pimpl.C (TeXDeeper): move function...
6735 * paragraph_funcs.C: ...here
6737 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6739 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * buffer.C (readInset): remove compability code for old Figure and
6744 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * buffer.C: ws changes
6749 * BufferView_pimpl.C: ditto
6752 * bufferlist.h: ditto
6756 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6758 * converter.[Ch]: split into itself +
6761 * Makefile.am: += graph.[Ch] + format.[Ch]
6768 * lyxrc.C: added #include "format.h"
6770 2003-02-27 Angus Leeming <leeming@lyx.org>
6772 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6775 * factory.C (createInset): add "label" to the factory.
6777 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6778 string and do no more.
6780 2003-02-27 Angus Leeming <leeming@lyx.org>
6783 * LyXAction.C (init):
6784 * factory.C (createInset):
6785 * BufferView_pimpl.C (dispatch):
6786 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6788 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6790 * lyxfunc.C (dispatch):
6791 * text3.C (dispatch): pass name to params2string.
6793 2003-02-26 Angus Leeming <leeming@lyx.org>
6795 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6797 Rearrange the ~includes. Strip out the unnecessary ones.
6799 * factory.C (createInset): reformat.
6800 create new insets for the various LFUN_XYZ_APPLY lfuns.
6802 2003-02-26 John Levon <levon@movementarian.org>
6805 * lyxrow.C: add isParStart,isParEnd helpers
6807 * paragraph.h: make isInserted/DeletedText take refs
6809 * paragraph_funcs.h:
6810 * paragraph_funcs.C: remove #if 0'd code
6815 * text.C: use lyxrow helpers above.
6816 Move draw and paint routines to RowPainter.
6817 Make several methods use refs not pointers.
6818 Make backgroundColor() const.
6819 Add markChangeInDraw(), isInInset().
6820 Merge changeRegionCase into changeCase.
6821 Make workWidth() shouldn't-happen code into an Assert.
6824 * rowpainter.C: new class for painting a row.
6827 * vspace.C: make inPixels take a ref
6829 2003-02-26 Angus Leeming <leeming@lyx.org>
6831 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6834 2003-02-25 John Levon <levon@movementarian.org>
6836 * ispell.C: give the forked command a more accurate name
6838 2003-02-22 John Levon <levon@movementarian.org>
6841 * toc.C: make TocItem store an id not a Paragraph *
6844 2003-02-21 Angus Leeming <leeming@lyx.org>
6846 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6847 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6848 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6849 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6850 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6851 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6853 * BufferView_pimpl.C (dispatch):
6854 * LyXAction.C (init):
6855 * factory.C (createInset):
6856 * lyxfunc.C (getStatus, dispatch):
6857 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6859 2003-02-21 Angus Leeming <leeming@lyx.org>
6861 * BufferView_pimpl.C (MenuInsertLyXFile):
6862 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6863 * lyxfunc.C (menuNew, open, doImport):
6864 no longer pass a LyXView & to fileDlg.
6866 2003-02-21 Angus Leeming <leeming@lyx.org>
6868 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6869 * LyXAction.C: change, BIBKEY to BIBITEM.
6870 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6871 Change InsetBibKey to InsetBibitem.
6872 Change BIBKEY_CODE to BIBITEM_CODE.
6873 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6874 * factory.C: replace insetbib.h with insetbibitem.h.
6875 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6876 * paragraph.C: replace insetbib.h with insetbibitem.h.
6877 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6878 Change bibkey() to bibitem().
6879 * text.C: remove insetbib.h.
6880 * text2.C: replace insetbib.h with insetbibitem.h.
6881 change bibkey() to bibitem().
6882 * text3.C: remove insetbib.h.
6883 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6885 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6887 * lyxrc.C (output): enclose user email in quotes (in case there are
6890 2003-02-18 John Levon <levon@movementarian.org>
6892 * buffer.h: add std::
6894 2003-02-17 John Levon <levon@movementarian.org>
6900 * pspell.C: reworking. Especially in ispell, a large
6901 number of clean ups and bug fixes.
6903 * lyxfunc.C: fix revert to behave sensibly
6905 2003-02-17 André Pönitz <poenitz@gmx.net>
6908 * commandtags.h: new LFUN_INSERT_BIBKEY
6918 * paragraph_func.C: remove special bibkey handling
6920 2003-02-17 John Levon <levon@movementarian.org>
6922 * text.C (Delete): fix case where delete at the end of
6923 the very first paragraph would not merge the pars
6925 2003-02-17 John Levon <levon@movementarian.org>
6927 * lyxrow.C: fix lastPrintablePos()
6929 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6931 * bufferparams.C (writeLaTeX): add a std:here
6933 * buffer.C: and remove a using directive there
6935 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6937 * buffer.C (makeLaTeXFile): move the code that generates the
6940 * bufferparams.C (writeLaTeX): ... in this new method
6942 * LaTeXFeatures.C (getEncodingSet): make const
6943 (getLanguages): make const
6945 * MenuBackend.C (binding): returns the binding associated to this
6947 (add): sets the status of each item by calling getStatus. Adds
6949 (read): add support for OptSubMenu
6950 (expand): remove extra separator at the end of expanded menu
6952 2003-02-15 John Levon <levon@movementarian.org>
6955 * BufferView_pimpl.C:
6957 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6958 inset code that had no actual effect. Remove unneeded status
6961 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6963 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6966 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6968 * text.C (drawLengthMarker): also draw an arrow marker for
6969 symbolic lengths (medskip...)
6971 2003-02-14 John Levon <levon@movementarian.org>
6974 * tabular.C: better method names
6976 2003-02-14 John Levon <levon@movementarian.org>
6978 * BufferView_pimpl.C:
6983 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6984 it's a more accurate name. Remove some pointless uses.
6986 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6988 * text2.C (LyXText): change order of initilizers to shut off
6991 2003-02-14 John Levon <levon@movementarian.org>
6993 * buffer.C: use ParIterator for getParFromID()
6997 * paragraph_pimpl.h:
6998 * paragraph_pimpl.C: remove unused getParFromID()
7000 2003-02-14 John Levon <levon@movementarian.org>
7002 * buffer.C: remove some very old #if 0'd parse code
7004 2003-02-13 John Levon <levon@movementarian.org>
7008 * text2.C: move hfillExpansion(), numberOfSeparators(),
7009 rowLast(), rowLastPrintable(), numberofHfills(),
7010 numberOfLabelHfills() ...
7013 * lyxrow.C: ... to member functions here.
7018 * text.C: remove LyXText::beginningOfMainBody(), and call
7019 p->beginningOfMainBody() directly. Move the check for
7020 LABEL_MANUAL into the latter.
7027 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7033 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7034 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7036 2003-02-13 John Levon <levon@movementarian.org>
7038 * CutAndPaste.C: remove debug
7040 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7042 * paragraph.C (asString): remove two unused variables
7044 * lyxtextclass.C (readTitleType):
7046 (LyXTextClass): handle new members titletype_ and titlename_
7048 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7050 2003-02-09 John Levon <levon@movementarian.org>
7053 * buffer.C: replace hand-coded list with a map for the dep clean
7055 2003-02-08 John Levon <levon@movementarian.org>
7057 * LaTeX.C: consolidate code into showRunMessage() helper
7059 2003-02-08 John Levon <levon@movementarian.org>
7064 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7065 and pass the size in explicitly
7067 * BufferView_pimpl.h:
7068 * BufferView_pimpl.C:
7070 * BufferView.C: add getCurrentChange()
7072 * BufferView_pimpl.h:
7073 * BufferView_pimpl.C: handle change lfuns
7075 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7076 for changes. Mark pasted paragraphs as new.
7078 * support/lyxtime.h:
7079 * support/lyxtime.C:
7080 * DepTable.C: abstract time_t as lyx::time_type
7083 * LColor.C: add colours for new text, deleted text, changebars
7085 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7086 package use "usenames" option.
7090 * LyXAction.C: add change lfuns
7094 * author.C: author handling
7097 * buffer.C: add a per-buffer author list, with first entry as
7098 current author. Handle new .lyx tokens for change tracking. Output
7099 author list to .lyx file. Output dvipost stuff to .tex preamble.
7100 Bump lyx format to 222.
7103 * bufferlist.C: add setCurrentAuthor() to reset current author details
7107 * bufferparams.C: add param for tracking
7109 * bufferview_funcs.C: output change info in minibuffer
7113 * changes.C: add change-tracking structure
7116 * debug.C: add CHANGES debug flag
7119 * lyxfind.C: add code for finding the next change piece
7122 * lyxrc.C: add user_name and user_email
7125 * lyxrow.C: add a metric for the top of the text line
7128 * text.C: implement accept/rejectChange()
7131 * text.C: paint changebars. Paint new/deleted text in the chosen
7132 colours. Strike through deleted text.
7136 * paragraph_pimpl.h:
7137 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7138 in the current change to the insert functions. Rework erase to
7139 mark text as deleted, adding an eraseIntern() and a range-based
7140 erase(). Implement per-paragraph change lookup and
7143 * paragraph_funcs.C: Fixup paste for change tracking.
7145 * tabular.C: mark added row/columns as new.
7147 * text.C: fix rowLast() to never return -1. Don't allow
7148 spellchecking of deleted text. Track transpose changes. Don't
7149 allow paragraph break or merge where appropriate.
7151 * text2.C: leave cursor at end of selection after a cut.
7153 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7155 * text.C (getLengthMarkerHeight):
7156 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7157 visible on screen too.
7159 2003-02-07 John Levon <levon@movementarian.org>
7161 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7163 2003-02-05 Angus Leeming <leeming@lyx.org>
7165 * lyxserver.C (read_ready): revert my patch of 11 September last year
7166 as it sends PC cpu through the roof. Presumably this means that
7167 the lyxserver will no longer run on an Alpha...
7169 2003-01-30 Angus Leeming <leeming@lyx.org>
7171 * factory.C (createInset): create an InsetCommandParam of type "index"
7172 and use it to 'do the right thing'.
7174 * text2.C (getStringToIndex): ensure that cursor position is always
7175 reset to the reset_cursor position.
7177 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7179 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7182 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7186 * lyxfunc.C: Output messages with identical spelling, punctuation,
7189 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7191 * MenuBackend.C (expandFormats): List only viewable export formats
7194 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7197 * lyxfunc.C (getStatus): Make sure that formats other than
7198 "fax" can also be disabled
7200 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7202 * text3.C (dispatch): put the lfuns that insert insets in 3
7203 groups, and call doInsertInset with appropriate arguments.
7204 (doInsertInset): new function, that creates an inset and inserts
7205 it according to some boolean parameters.
7207 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7209 * buffer.C (readFile): remember to pass on 'par' when calling
7210 readFile recursively.
7212 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7214 * MenuBackend.C (expandFormats): add "..." to import formats.
7216 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7218 * paragraph.C (asString): Remove XForms RTL hacks.
7220 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7221 * buffer.C: fix typo
7223 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * Makefile.am (LIBS): delete var
7226 (lyx_LDADD): add @LIBS@ here instead.
7228 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7230 * Clarify the meaning of "wheel mouse jump"
7232 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7234 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7237 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7239 * importer.C (Loaders): do not preallocate 3 elements in the
7240 vector, since one ends up with 6 elements otherwise
7242 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7244 * DepTable.C (write): write the file name as last element of the
7245 .dep file (because it may contain spaces)
7246 (read): read info in the right order
7248 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7250 * paragraph_pimpl.C (simpleTeXBlanks):
7251 (simpleTeXSpecialChars):
7252 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7254 * tabular.C (latex): add some missing case statements. Reindent.
7256 * MenuBackend.C (expandToc): remove unused variable.
7258 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7267 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7270 2003-01-05 John Levon <levon@movementarian.org>
7273 * BufferView.C: add getEncoding()
7276 * kbsequence.C: do not store last keypress
7279 * lyxfunc.C: store last keypress here instead. Pass encoding
7282 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7284 * lyx_main.C (init): remove annoying error message when following
7285 symbolic links (bug #780)
7287 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7289 * text.C (insertChar):
7290 * lyxrc.C (getDescription): remove extra spaces
7292 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7294 * lyxrc.C (getDescription): remove extra spaces
7296 2002-12-20 John Levon <levon@movementarian.org>
7298 * text3.C: hack fix for page up/down across tall rows
7300 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7302 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7305 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7307 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7308 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7309 thesaurus is not compiled in
7311 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7313 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7315 2002-12-16 Angus Leeming <leeming@lyx.org>
7318 * lyx_main.C (init): remove override_x_deadkeys stuff.
7320 2002-12-12 John Levon <levon@movementarian.org>
7322 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7323 insert. Only remove shift modifier under strict
7326 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7328 * MenuBackend.C (expandToc): fix crash.
7330 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * MenuBackend.C (expandToc): gettext on float names.
7334 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7336 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7337 implement bool empty() [bug 490]
7339 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7341 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7343 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7345 * several files: ws changes
7347 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * text2.C (setCounter): clean up a bit, use boost.format.
7350 (updateCounters): initialize par upon declaration.
7352 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7353 if the layout exists. We do not just store the layout any more.
7354 (SwitchLayoutsBetweenClasses): use boost.format
7356 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7358 * converter.C (convert): if from and to files are the same, use a
7359 temporary files as intermediary
7361 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7364 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7366 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7368 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7370 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7372 * tabular.C (asciiPrintCell): use string(size, char) instead of
7375 * sgml.C (openTag): fix order of arguments to string constructor
7378 * lyxfunc.C (dispatch): use boost.format
7380 * lots of files: change "c" -> 'c'
7382 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7384 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7386 2002-11-25 Angus Leeming <leeming@lyx.org>
7388 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7390 * lyx_main.C (init): compile fix.
7392 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7394 * lyx_cb.C (start): boost.formatify
7395 do not include <iostream>
7397 * lengthcommon.C: ws only
7399 * boost-inst.C,BoostFormat.h: add more explict instantations
7401 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7403 * lots of files: handle USE_BOOST_FORMAT
7405 2002-11-21 John Levon <levon@movementarian.org>
7407 * pspell.C: fix compile
7409 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7411 * lyxfunc.C (dispatch): use boost::format
7415 * lyxfont.C (stateText): use boost::format
7417 * lyx_main.C (LyX): use boost::format
7419 (queryUserLyXDir): ditto
7422 (typedef boost::function): use the recommened syntax.
7424 * importer.C (Import): use boost::format
7426 * debug.C (showLevel): use boost::format
7428 * converter.C (view): use boost::format
7433 * bufferview_funcs.C (currentState): use boost::format
7435 * bufferlist.C (emergencyWrite): use boost::format
7437 * buffer.C (readLyXformat2): use boost::format
7438 (parseSingleLyXformat2Token): ditto
7440 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7442 * LaTeX.C (run): use boost::format
7444 * Chktex.C (scanLogFile): use boost::format
7446 * BufferView_pimpl.C (savePosition): use boost::format
7447 (restorePosition): ditto
7448 (MenuInsertLyXFile): ditto
7450 * BoostFormat.h: help file for explicit instation.
7452 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7454 * tabular.C (latex): Support for block alignment in fixed width
7457 2002-11-17 John Levon <levon@movementarian.org>
7459 * BufferView_pimpl.C:
7461 * lyxfunc.C: split filedialog into open/save
7463 2002-11-08 Juergen Vigna <jug@sad.it>
7465 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7466 by my last patch (hopefully).
7468 2002-11-08 John Levon <levon@movementarian.org>
7477 * toc.C: ParConstIterator, and use it (from Lars)
7479 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7481 * lyxtextclass.[Ch]: revise and add doxygen comments
7483 2002-11-07 John Levon <levon@movementarian.org>
7485 * text.C: fix progress value for spellchecker
7487 * toc.C: fix navigate menu for insetwrap inside minipage
7489 * paragraph_funcs.C: added FIXME for suspect code
7491 2002-11-07 John Levon <levon@movementarian.org>
7493 * BufferView_pimpl.C: fix redrawing of insets
7496 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7498 * text2.C (updateCounters): fix bug 668
7500 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7502 * text3.C (dispatch): Do not make the buffer dirty when moving the
7505 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * vc-backend.C: STRCONV
7510 * text2.C (setCounter): STRCONV
7512 * paragraph.C (asString): STRCONV
7514 * lyxlength.C (asString): STRCONV
7515 (asLatexString): ditto
7517 * lyxgluelength.C (asString): STRCONV
7518 (asLatexString): ditto
7520 * lyxfunc.C (dispatch): STRCONV
7523 * lyxfont.C (stateText): STRCONV
7525 * importer.C (Import): STRCONV
7527 * counters.C (labelItem): STRCONV
7528 (numberLabel): ditto
7529 (numberLabel): remove unused ostringstream o
7534 * bufferview_funcs.C (currentState): STRCONV
7536 * buffer.C (readFile): STRCONV
7537 (asciiParagraph): ditto
7538 (makeLaTeXFile): ditto
7540 * Spacing.C (writeEnvirBegin): STRCONV
7542 * LaTeXFeatures.C (getLanguages): STRCONV
7543 (getPackages): ditto
7545 (getBabelOptions): ditto
7546 (getTClassPreamble): ditto
7547 (getLyXSGMLEntities): ditto
7548 (getIncludedFiles): ditto
7552 (scanAuxFile): ditto
7555 * LString.h: add the STRCONV macros
7557 * BufferView_pimpl.C (savePosition): STRCONV
7558 (restorePosition): ditto
7559 (MenuInsertLyXFile): ditto
7561 * vc-backend.C (scanMaster): change from submatch[...] to
7564 * funcrequest.C: include config.h
7566 * factory.C: include config.h
7568 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7570 * box.C: include config.h
7572 * LaTeX.C (scanAuxFile): change from submatch[...] to
7576 2002-10-25 Angus Leeming <leeming@lyx.org>
7578 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7580 * ispell.[Ch] (setError): new method.
7581 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7582 Use setError() insetead of goto END.
7584 * lyx_cb.C (AutoSave): move out child process into new class
7587 2002-10-30 John Levon <levon@movementarian.org>
7589 * text3.C: make start appendix undoable
7591 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7593 * lyxlength.C (inPixels): Fix returned value.
7595 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7598 2002-10-24 Angus Leeming <leeming@lyx.org>
7600 * lyxgluelength.h: no need to forward declare BufferParams
7601 or BufferView, so don't.
7603 2002-10-21 John Levon <levon@movementarian.org>
7605 * BufferView.C: menuUndo ->undo, redo
7607 * BufferView.h: document, remove dead, make some methods private
7609 * paragraph_funcs.h:
7610 * paragraph_funcs.C:
7611 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7616 * sgml.C: move sgml open/close tag into sgml.C
7618 * bufferview_funcs.h: unused prototype
7621 * lyxfunc.C: remove unused
7624 * text.C: remove unused
7626 2002-10-21 John Levon <levon@movementarian.org>
7630 * BufferView_pimpl.h:
7631 * BufferView_pimpl.C: fix mouse wheel handling based on
7632 patch from Darren Freeman
7634 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7636 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7638 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7640 * lyxlength.C (inPixels): Fix hanfling of negative length.
7641 Fix LyXLength::MU case.
7643 2002-10-16 John Levon <levon@movementarian.org>
7645 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7647 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7649 * converter.C (view): add support for $$i (file name) and $$p
7650 (file path) for the viewer command. If $$i is not specified, then
7651 it is appended to the command (for compatibility with old syntax)
7653 2002-10-14 Juergen Vigna <jug@sad.it>
7655 * undo_funcs.C (textHandleUndo): alter the order in which the
7656 new undopar is added to the LyXText, as we have to set first
7657 the right prev/next and then add it as otherwise the rebuild of
7658 LyXText is not correct. Also reset the cursor to the right paragraph,
7659 with this IMO we could remove the hack in "redoParagraphs()".
7661 2002-10-09 Angus Leeming <leeming@lyx.org>
7663 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7664 to turn off an optimisation if a new inset is to be inserted.
7666 2002-10-11 André Pönitz <poenitz@gmx.net>
7668 * lyxtext.h: make some functions public to allow access
7669 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7671 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7673 * text3.C (dispatch): when changing layout, avoid an infinite loop
7676 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7678 * lyxrc.C (read): treat a viewer or converter command of "none" as
7681 * MenuBackend.C (expandFormats): for an update, also allow the
7682 formats that are not viewable
7684 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7685 script if it is newer than the lyxrc.defaults in user directory
7687 2002-10-07 André Pönitz <poenitz@gmx.net>
7689 * text.C: Vitaly Lipatov's small i18n fix
7691 2002-09-25 Angus Leeming <leeming@lyx.org>
7693 * ispell.h: doxygen fix.
7695 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7697 * buffer.h (readFile): Add a new argument to the method, to allow
7698 reading of old-format templates.
7700 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7702 * toc.C (getTocList): Get TOC from InsetWrap.
7704 2002-09-16 John Levon <levon@movementarian.org>
7706 * lyxfunc.C: check tabular for cut/copy too
7708 2002-09-12 John Levon <levon@movementarian.org>
7713 * factory.C: add header
7715 * paragraph_funcs.h:
7716 * paragraph_funcs.C: cleanup
7718 2002-09-11 John Levon <levon@movementarian.org>
7720 * PrinterParams.h: odd/even default to true
7722 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7724 * PrinterParams.h: update printer parameters for new xforms dialog
7726 2002-09-11 Angus Leeming <leeming@lyx.org>
7728 * lyxserver.C (read_ready): re-write to make it more transparent
7729 and to make it work in coherent fashion under Tru64 Unix.
7731 2002-09-11 André Pönitz <poenitz@gmx.net>
7735 * text3.C: implement LFUN_WORDSEL
7737 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7740 make floatlist_ a boost::shared_ptr<FloatList>
7742 * lyxtextclass.C: include FloatList.h
7743 (LyXTextClass): initialize floatlist_
7744 (TextClassTags): add TC_NOFLOAT
7745 (Read): match "nofloat" to TC_NOFLOAT and use it.
7746 (readFloat): modify call to floatlist_
7750 * FloatList.[Ch] (FloatList): remove commented out float
7752 (erase): new function
7754 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7756 * MenuBackend.C (expandToc): fix crash when there is no document
7759 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7761 * many files: Add insetwrap.
7763 2002-09-09 John Levon <levon@movementarian.org>
7765 * text2.C: remove confusing and awkward depth wraparound
7767 2002-09-09 John Levon <levon@movementarian.org>
7769 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7772 * buffer.C: remove getIncludeonlyList()
7775 * lyxfunc.C: remove headers
7777 2002-09-09 Juergen Vigna <jug@sad.it>
7779 * text.C (getColumnNearX): fix form Michael this is most
7780 probably a cut&paste bug.
7782 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7784 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7786 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7787 references, ws changes.
7789 * text2.C (init): update counters after init
7790 (insertParagraph): no need to set counter on idividual paragraphs.
7791 (setCounter): access the counters object in the textclass object
7792 on in the buffer object.
7793 (updateCounters): ditto
7795 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7796 shared_ptr<Counters> to avoid loading counters.h in all
7798 (LyXTextClass): initialize ctrs_
7799 (TextClassTags): add TC_COUNTER, and ...
7800 (Read): use it here.
7801 (CounterTags): new tags
7802 (readCounter): new function
7803 (counters): new funtion
7804 (defaultLayoutName): return a const reference
7806 * counters.C (Counters): remove contructor
7807 (newCounter): remove a couple of unneeded statements.
7808 (newCounter): simplify a bit.
7809 (numberLabel): some small formatting changes.
7811 * buffer.[Ch]: remove all traces of counters, move the Counters
7812 object to the LyXTextClass.
7814 2002-09-06 Alain Castera <castera@in2p3.fr>
7816 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7817 package to set the horizontal alignment on fixed width columns.
7820 * lyx_sty.h: added tabularnewline macro def.
7822 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7824 2002-09-06 John Levon <levon@movementarian.org>
7826 * LyXAction.C: tooltips for sub/superscript
7828 * MenuBackend.C: a bit more verbose
7830 * lyxfunc.C: tiny clean
7832 * undo_funcs.C: document undo_frozen
7834 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7836 * counters.C (Counters): add missing algorithm counter.
7838 * text2.C (setCounter): lookup the counter with layouts latexname
7839 instead of by section number.
7840 (setCounter): use a hackish way to lookup the correct enum
7842 a float name->type change
7843 reset enum couners with counter name directly instead of depth value.
7845 * counters.C (Counters): remove the push_backs, change to use the
7846 float type not the float name.
7847 (labelItem): remove unused string, float name->type change
7849 * counters.h: don't include vector, loose the enums and sects vectors
7851 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7854 (Read): add float->TC_FLOAT to textclassTags
7855 (Read): and handle it in the switch
7856 (readFloat): new function
7858 * FloatList.C (FloatList): comment out the hardcoded float
7861 * lyxlayout.h: ws change.
7863 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7865 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7867 2002-09-03 Angus Leeming <leeming@lyx.org>
7869 * BufferView_pimpl.h: qualified name is not allowed in member
7870 declaration: WorkArea & Pimpl::workarea() const;
7872 * factory.C: added using std::endl directive.
7874 * text3.C: added using std::find and std::vector directives.
7876 2002-08-29 André Pönitz <poenitz@gmx.net>
7879 * text2.C: remove unused member number_of_rows
7882 * BufferView2.C: remove file, move contents to...
7883 * BufferView.C: ... here
7885 * BufferView_pimpl.C:
7886 * factory.C: move more inset creation to factory
7888 * vspace.C: avoid direct usage of LyXText, ws changes
7891 don't provide direct access to WorkArea, use two simple
7892 acessors haveSelction() and workHeight() instead
7895 2002-08-29 John Levon <levon@movementarian.org>
7897 * BufferView_pimpl.C (dispatch): do not continue when
7900 2002-08-28 André Pönitz <poenitz@gmx.net>
7902 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7905 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7907 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7909 * buffer.C: increment LYX_FORMAT to 221
7911 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7912 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7914 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7916 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7918 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7920 * factory.C (createInset): use LyXTextClass::floats
7922 * MenuBackend.C (expandFloatListInsert):
7923 (expandFloatInsert):
7926 * text2.C (setCounter):
7928 * LaTeXFeatures.C (useFloat):
7929 (getFloatDefinitions):
7931 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7933 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7934 floatlist_, with accessor floats().
7936 * FloatList.h: remove global FloatList
7938 2002-08-26 André Pönitz <poenitz@gmx.net>
7940 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7944 * BufferView_pimpl.C:
7945 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7947 2002-08-25 John Levon <levon@movementarian.org>
7949 * LyXAction.C: fix margin note description
7951 2002-08-24 John Levon <levon@movementarian.org>
7955 * bufferview_funcs.C:
7957 * undo_funcs.C: cleanups
7959 * lyxfunc.C: disable CUT/COPY when no selection
7961 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7963 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7964 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7966 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7967 Add backward compatibility to "mono", "gray" and "no".
7969 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7971 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7972 (and file_format >= 200).
7974 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7976 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7978 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7980 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7982 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7984 * BufferView_pimpl.C:
7991 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7992 inset and code to make it work with the paragraph code. The inset
7993 can be anywhere in the paragraph, but will only do the expected
7994 thing in LaTeX if the layout file contains the parameter line
7996 (or more generally, a nonzero value) for that layout.
7998 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8000 * paragraph.h: remove the declaration of undefined counters class
8003 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8005 * text2.C (setCounter): fixed enumeration mis-count as reported by
8006 Dr. Richard Hawkins.
8008 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8010 * paragraph_funcs.h: remove some unneeded includes
8012 * text.C (backspace): pasteParagraph now in global scipe
8014 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8015 (pasteSelection): ditto
8017 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8018 * paragraph_funcs.C (pasteParagraph): ... here
8020 2002-08-20 André Pönitz <poenitz@gmx.net>
8022 * commandtags.h: new LFUNs for swapping/copying table row/colums
8025 * lyxfunc.C: support for new lfuns
8027 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8030 * buffer.[Ch]: remove NO_COMPABILITY stuff
8032 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8034 * boost.C (throw_exception): new file, with helper function for
8035 boost compiled without exceptions.
8040 * ParameterStruct.h:
8041 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8043 * bufferlist.C (emergencyWriteAll): use boost bind
8045 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8047 * text.C: include paragraph_funcs.h
8048 (breakParagraph): breakParagraph is now in global scope
8050 * paragraph_funcs.[Ch]: new files
8052 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8055 * buffer.C: include paragraph_funcs.h
8056 (insertStringAsLines): breakParagraph is now in global scope
8058 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8061 * CutAndPaste.C: include paragraph_funcs.h
8062 (cutSelection): breakParagraphConservative is now in global scope
8063 (pasteSelection): ditto
8065 * buffer.h: declare oprator== and operator!= for
8066 Buffer::inset_iterator
8068 * bufferlist.C (emergencyWrite): don't use fmt(...)
8070 * text3.C: add using std::endl
8072 * BufferView.C (moveCursorUpdate): remove default arg
8074 2002-08-20 André Pönitz <poenitz@gmx.net>
8076 * buffer.[Ch]: move inline functions to .C
8079 * BufferView_pimpl.C:
8081 * buffer.[Ch]: use improved inset_iterator
8084 * paragraph.[Ch]: write one paragraph at a time
8086 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8088 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8089 style if style is not specified.
8091 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8093 * text2.C (setCounter): when searching for right label for a
8094 caption, make sure to recurse to parent insets (so that a caption
8095 in a minipage in a figure float works) (bug #568)
8097 2002-08-20 André Pönitz <poenitz@gmx.net>
8099 * text3.C: new file for LyXText::dispatch() and helpers
8101 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8103 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8105 2002-08-19 André Pönitz <poenitz@gmx.net>
8108 * text.C: new LyXText::dispatch()
8110 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8112 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8114 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8116 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8119 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8121 * Makefile.am: use $(variables) instead of @substitutions@
8123 2002-08-15 André Pönitz <poenitz@gmx.net>
8126 * BufferView_pimpl.C: streamlining mathed <-> outer world
8130 * LyXAction.C: remove unused LFUN_MATH
8132 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8134 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8136 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8138 * paragraph.C (Paragraph): reformat a bit
8139 (cutIntoMinibuffer): use builtin InsetList function instad of
8143 * buffer.C: include boost/bind.hpp, add using std::for_each
8144 (writeFileAscii): use ParagraphList iterators
8145 (validate): use for_each for validate traversal of paragraphs
8146 (getBibkeyList): use ParagraphList iterators
8147 (resizeInsets): use for_each to resizeInsetsLyXText for all
8149 (getParFromID): use ParagraphList iterators
8151 * BufferView2.C (lockInset): use paragraph list and iterators
8153 2002-08-14 John Levon <levon@movementarian.org>
8155 * lyxserver.C: remove spurious xforms include
8157 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8159 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8161 2002-08-13 André Pönitz <poenitz@gmx.net>
8164 * lyxfunc.C: further cleaning
8166 2002-08-13 André Pönitz <poenitz@gmx.net>
8168 * funcrequest.h: new constructor
8170 * funcrequest.C: move stuff here from .h
8173 * BufferView_pimpl.C:
8176 * lyxfunc.C: subsequent changes
8178 * lyxfunc.h: new view() member function
8180 * lyxfunc.C: subsequent changes
8182 2002-08-13 Angus Leeming <leeming@lyx.org>
8185 * BufferView_pimpl.C:
8193 changes due to the changed LyXView interface that now returns references
8194 to member variables not pointers.
8196 2002-08-13 Angus Leeming <leeming@lyx.org>
8198 * WordLangTuple (word, lang_code): return references to strings,
8203 * lyxtext.h: forward-declare WordLangTuple.
8208 * text.C: #include "WordLangTuple.h".
8211 * text.C: (selectNextWordToSpellcheck): constify return type.
8213 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8219 * paragraph_pimpl.h:
8222 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8224 Made updateCounter always count from start of buffer, and removed
8225 second argument (par).
8226 Reverted floats number display to '#'. Perhaps I'll try again when the
8227 code base is sanitized a bit.
8229 2002-08-12 Angus Leeming <leeming@lyx.org>
8231 * buffer.[Ch] (getLabelList): constify.
8233 2002-08-07 André Pönitz <poenitz@gmx.net>
8235 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8237 * funcrequest.h: extension to keep mouse (x,y) position
8239 2002-08-12 Juergen Vigna <jug@sad.it>
8241 * BufferView2.C (insertErrors): forbid undo when inserting error
8244 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8246 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8248 * ParagraphList.[Ch]: new files
8250 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8252 * BufferView2.C (lockInset): ParagraphList changes
8255 * bufferlist.C: ditto
8259 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8261 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8262 unused class variable counter_,
8264 * paragraph.[Ch] (getFirstCounter): delete unused function
8266 * counters.C: include LAssert.h
8267 (reset): add a new function with no arg, change other version to
8268 not have def. arg and to not allow empty arg.
8270 * text2.C (setCounter): remove empty arg from call to Counters::reset
8272 2002-08-11 John Levon <levon@movementarian.org>
8274 * Makefile.am: add WordLangTuple.h
8276 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8278 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8279 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8281 * insets/insettext.C: InsetList changes
8283 * graphics/GraphicsSupport.C (operator()): InsetList changes
8285 * toc.C (getTocList): InsetList changes
8287 * paragraph_pimpl.[Ch]: InsetList changes
8289 * paragraph.[Ch]: InsetList changes
8291 * buffer.C (inset_iterator): InsetList changes
8292 (setParagraph): ditto
8293 * buffer.h (inset_iterator): ditto
8294 * iterators.C (operator++): ditto
8295 * iterators.h: ditto
8297 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8299 * InsetList.[Ch]: new files, most InsetList handling moved out of
8302 * BufferView2.C (removeAutoInsets): InsetList changes
8304 (ChangeInsets): ditto
8306 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8308 * paragraph_pimpl.h (empty): new function
8310 * paragraph.[Ch] (empty): new function
8312 * other files: use the new Paragraph::empty function
8314 2002-08-09 John Levon <levon@movementarian.org>
8316 * lyxtext.h: remove unused refresh_height
8318 2002-08-09 John Levon <levon@movementarian.org>
8325 * paragraph.C: move sgml char escaping out of paragraph
8328 * paragraph.C: remove id setter
8332 * paragraph_pimpl.C: remove dead tex_code_break_column
8334 * bufferview_funcs.C: small cleanup
8336 * lyxfunc.C: remove dead proto
8338 * lyxtext.h: make some stuff private. Remove some dead stuff.
8340 * lyxgluelength.C: make as[LyX]String() readable
8342 2002-08-08 John Levon <levon@movementarian.org>
8347 * ToolbarDefaults.C:
8350 * toc.C: lyxaction cleanup
8352 2002-08-08 John Levon <levon@movementarian.org>
8354 * BufferView2.C: small cleanup
8357 * lyxfind.C: move unnecessary header into the .C
8359 2002-08-08 John Levon <levon@movementarian.org>
8361 * funcrequest.h: just tedious nonsense
8364 * lyx_main.C: cleanups
8367 * vspace.C: remove dead header lyx_main.h
8369 2002-08-07 Angus Leeming <leeming@lyx.org>
8372 * paragraph_pimpl.h:
8373 Forward declare class Counters in paragraph.h by moving the ctrs member
8374 variable into Paragraph::Pimpl.
8375 (counters): new method, returning a reference to pimpl_->ctrs.
8377 * text2.C: ensuing changes.
8379 2002-08-07 John Levon <levon@movementarian.org>
8381 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8383 * BufferView_pimpl.C: announce X selection on double/triple
8386 * lyx_main.C: use correct bool in batch dispatch
8388 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8390 2002-08-07 André Pönitz <poenitz@gmx.net>
8392 * funcrequest.h: new class to wrap a kb_action and its argument
8395 * BufferView_pimpl[Ch]:
8399 * lyxrc.C: subsequent changes
8402 2002-08-07 John Levon <levon@movementarian.org>
8404 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8405 document options change.
8407 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8412 * makefile.am: move counters functionality over from
8413 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8415 2002-08-06 John Levon <levon@movementarian.org>
8417 * WordLangTuple.h: new file for word + language code tuple
8428 * BufferView2.C: use WordLangTuple
8431 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8433 2002-08-06 John Levon <levon@movementarian.org>
8435 * lyx_main.C: fix cmdline batch handling
8437 2002-08-06 André Pönitz <poenitz@gmx.net>
8439 * lyxrc.C: set default for show_banner to true
8441 2002-08-06 John Levon <levon@movementarian.org>
8443 * pspell.C: fix a crash, and allow new aspell to work
8445 2002-08-06 John Levon <levon@movementarian.org>
8448 * kbmap.C: small cleanup
8451 * vspace.C: add const
8453 2002-08-05 John Levon <levon@movementarian.org>
8455 * LyXAction.C: back to tabular-insert
8457 2002-08-04 John Levon <levon@movementarian.org>
8460 * BufferView.C: cosmetic change
8462 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8472 * BufferView2.C: purge all "Lyx" not "LyX" strings
8475 * lyxcursor.C: attempt to add some documentation
8480 * ToolbarDefaults.C:
8481 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8482 merge with LFUN_TABULAR_INSERT
8489 * pspell.C: split up i/pspell implementations into separate
8490 files, many cleanups
8492 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8494 * text2.C: some cleanup
8496 * lyxfunc.C: don't check for isp_command == "none" any more, it
8497 didn't make any sense
8499 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8504 * makefile.am: move counters functionality over
8505 from text2.C/paragraph.[Ch] to counters.[Ch], and
8507 2002-08-02 John Levon <levon@movementarian.org>
8509 * buffer.C: s/lyxconvert/lyx2lyx/
8511 2002-08-02 Angus Leeming <leeming@lyx.org>
8513 * lyxlex.C: revert John's change as it breaks reading of the user
8516 2002-08-02 Angus Leeming <leeming@lyx.org>
8518 * importer.C (Import):
8519 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8520 changes due to LyXView::view() now returning a boost::shared_ptr.
8522 2002-08-02 John Levon <levon@movementarian.org>
8524 * lyxlex.C: small cleanup
8526 2002-08-02 John Levon <levon@movementarian.org>
8528 * text2.C (status): small cleanup, no logic change
8530 2002-08-01 John Levon <levon@movementarian.org>
8533 * buffer.C (writeFile): don't output alerts, caller
8537 * lyx_cb.C: from above
8539 * lyxfunc.C: allow to open non-existent files
8541 2002-07-31 John Levon <levon@movementarian.org>
8543 * lyxserver.C: don't let incidental errors get
8546 2002-07-30 John Levon <levon@movementarian.org>
8548 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8550 2002-07-30 John Levon <levon@movementarian.org>
8553 * lyxserver.C: remove I/O callback too
8555 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8557 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8560 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8562 * many files: strip,frontStrip -> trim,ltrim,rtrim
8564 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8566 * PrinterParams.h: remove extern containsOnly, and include
8567 support/lstrings.h instead.
8569 * LaTeX.C (scanAuxFile): modify because of strip changes
8571 * buffer.C (makeLaTeXFile): ditto
8572 * bufferparams.C (writeFile): ditt
8573 * lyxfont.C (stateText): ditto
8574 * lyxserver.C (read_ready): ditto
8575 * vc-backend.C (scanMaster): ditto
8577 * BufferView_pimpl.h: ws changes
8579 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8581 2002-07-26 André Pönitz <poenitz@gmx.net>
8583 * kb_sequence.C: remove unnedred usings
8585 2002-07-26 Juergen Vigna <jug@sad.it>
8587 * lyxfind.C (LyXReplace): we have to check better if the returned
8588 text is not of theLockingInset()->getLockingInset().
8590 2002-07-25 Juergen Vigna <jug@sad.it>
8592 * lyxfind.C (LyXReplace): don't replace if we don't get the
8595 * undo_funcs.C (createUndo): remove debugging code.
8597 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8599 * buffer.C (parseSingleLyXformat2Token): Use default placement
8600 when reading old floats.
8602 * FloatList.C (FloatList): Change the default placement of figure
8603 and tables to "tbp".
8605 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8607 * MenuBackend.C: using std::max
8609 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8611 * MenuBackend.C (expandToc):
8612 (expandToc2): code moved from xforms menu frontend. It is now
8613 generic and TOCs are transparent to menu frontends.
8615 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8617 * toc.C (getTocList): protect against buf=0
8619 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8620 Menu as first parameter. Now, this calls itself recursively to
8621 expand a whole tree (this will be useful for TOC handling)
8622 (expandFloatInsert): remove 'wide' version of floats
8624 * MenuBackend.h (submenuname): returns the name of the submenu.
8625 (submenu): returns the submenu itself, provided it has been
8626 created by MenuBackend::expand
8628 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8630 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8631 insets which have noFontChange == true. (bug #172)
8633 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8635 * BufferView_pimpl.C: add connection objects and use them...
8638 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8640 * MenuBackend.C (expandLastfiles):
8643 (expandFloatListInsert):
8644 (expandFloatInsert):
8645 (expand): split expand in parts
8647 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8649 * lyx_gui.C: use lyx_gui::exit()
8651 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8653 * LyXAction.C: show the failing pseudo action
8655 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8657 * buffer.C (readFile): Run the lyxconvert script in order to read
8660 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8664 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8666 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8670 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8672 2002-07-22 Herbert Voss <voss@lyx.org>
8675 * lyxlength.[Ch]: add support for the vertical lengths
8677 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8679 * toc.[Ch]: std:: fixes
8681 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8683 * lyxrc.C: do not include lyx_main.h
8685 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8691 * BufferView2.C: include "lyxlex.h"
8694 * bufferparams.h: do not #include "lyxlex.h"
8696 * lyxtextclasslist.C (Add): remove method
8697 (classlist): renamed to classlist_
8699 * paragraph_pimpl.C:
8703 * bufferview_funcs.C:
8708 * toc.C (getTocList): use BufferParams::getLyXTextClass
8710 * toc.C (getTocList): use InsetFloat::addToToc
8712 * toc.[Ch]: new files, containing helper functions to handle table
8715 * lyxfunc.C (dispatch): no need to remove spaces around command
8717 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8718 first command of the sequence; it is not very clever, but I do not
8719 have a better idea, actually
8721 * LyXAction.C (LookupFunc): make sure to remove space at the
8722 beginning and end of the command
8724 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8726 * MenuBackend.C (getMenubar): new method: return the menubar of
8728 (read): treat differently reading of menu and menubar (in
8729 particular, the menubar has no name now)
8730 (Menu::menubar): remove
8732 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8735 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8737 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8738 a bibitem inset in a RTL paragraph.
8740 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8742 * paragraph_pimpl.C: constify
8744 * BufferView_pimpl.C:
8746 * lyxfunc.C: fix dispatch in a nicer way
8748 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8750 * lyxfunc.C (dispatch):
8751 * BufferView_pimpl.C:
8752 * BufferView_pimpl.h:
8754 * BufferView.h: rename Dispatch() to dispatch()
8756 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8758 * lyxlayout.C (Read): honor DependsOn tag
8760 * lyxlayout.[Ch] (depends_on): new method
8762 * version.C.in: update lyx_docversion
8764 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8766 * paragraph.C (validate): remove from here...
8767 * paragraph_pimpl.C (validate): ... and move here
8768 (isTextAt): make it const
8770 * buffer.C (getLists): ws cleanup
8772 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8774 * language.C (read): Use iso8859-1 encoding in latex_lang
8775 (this prevents LyX from crashing when using iso10646-1 encoding).
8777 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8779 * text2.C (toggleInset): if cursor is inside an inset, close the
8780 inset and leave cursor _after_ it
8782 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8784 * lyxfunc.C: move minibuffer completion handling out of here
8786 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8788 * BufferView_pimpl.C:
8789 * LaTeX.C: fix dispatch calls
8791 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8793 * text.C (drawChars): Fix Arabic text rendering.
8795 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8799 * lyxfunc.C: remove message-push/pop
8803 * lyxfunc.C: rationalise some code by removing verboseDispatch
8804 in favour of a bool argument to dispatch()
8806 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8808 * lyx_main.C (init): make sure to read symlinks as absolute paths
8810 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8813 * lyxfunc.C: no need for commandshortcut to be a member
8815 2002-07-15 André Pönitz <poenitz@gmx.net>
8817 * converter.C: add support for $$s (scripts from lib/scripts dir)
8818 * lyx_main.C: white space
8820 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8824 * lyxrc.C: remove second exit confirmation
8826 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8831 * BufferView_pimpl.h:
8832 * BufferView_pimpl.C:
8833 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8835 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8837 * MenuBackend.C (expand): add numeric shortcuts to document menu
8839 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8841 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8843 * lyxfont.C (setLyXFamily):
8850 * buffer.C (asciiParagraph): use ascii_lowercase
8852 2002-07-15 Mike Fabian <mfabian@suse.de>
8854 * lyxlex_pimpl.C (search_kw):
8855 * lyxlex.C (getLongString):
8856 * converter.h (operator<):
8857 * converter.C (operator<):
8858 * buffer.C (parseSingleLyXformat2Token):
8860 * ToolbarDefaults.C (read):
8861 * MenuBackend.C (checkShortcuts):
8863 * LColor.C (getFromGUIName):
8864 (getFromLyXName): use the compare_ascii_no_case instead of
8865 compare_no_case, because in turkish, 'i' is not the lowercase
8866 version of 'I', and thus turkish locale breaks parsing of tags.
8868 2002-07-16 Angus Leeming <leeming@lyx.org>
8870 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8871 now takes a Buffer const & argument.
8873 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8875 * BufferView.C (resize): check there's a buffer to resize
8877 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8879 * lyxfunc.C: remove dead code
8882 * lyxserver.C: use lyx_guii::set_read_callback
8884 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8886 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8887 an inset in a RTL paragraph.
8889 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8891 * lyxfunc.C: repaint after a font size update
8893 2002-07-15 André Pönitz <poenitz@gmx.net>
8895 * lyxlength.C: inBP should be able to return negative values
8897 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8899 * lyxfunc.C: use lyx_gui::update_fonts()
8901 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8903 * lyxfunc.C: use lyx_gui::update_color()
8905 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8911 * lyxrc.C: remove file->new asks for name option, and let
8912 buffer-new take an argument
8914 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8916 * BufferView_pimpl.C: remove unneeded extra repaint()
8918 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8920 * LyXAction.C: allow command-sequence with NoBuffer
8922 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8924 2002-07-10 Angus Leeming <leeming@lyx.org>
8926 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8928 2002-07-09 Angus Leeming <leeming@lyx.org>
8930 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8932 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8934 * lengthcommon.h: whitespace
8936 * lyxfunc.C: update scrollbar after goto paragraph
8938 * lyxtext.h: factor out page break drawing, and fix it so
8939 page break/added space paints as selected nicely
8941 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8943 * BufferView_pimpl.C: add FIXMEs, clean up a little
8945 2002-07-09 André Pönitz <poenitz@gmx.net>
8947 * lyxfont.[Ch]: support for wasy symbols
8949 2002-07-08 André Pönitz <poenitz@gmx.net>
8951 * BufferView_pimpl.C: apply John's patch for #93.
8953 2002-07-05 Angus Leeming <leeming@lyx.org>
8955 * BufferView_pimpl.C (buffer): generate previews if desired.
8957 * LColor.h: add "preview" to the color enum.
8959 * LColor.C (LColor): add a corresponding entry to the items array.
8961 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8964 2002-07-05 Angus Leeming <leeming@lyx.org>
8966 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8967 The body of the code is now in the method that is passed an ostream &
8968 rather than a file name.
8969 Pass an additional only_preamble parameter, useful for the forthcoming
8972 2002-07-03 André Pönitz <poenitz@gmx.net>
8974 * lyxfunc.C: simplify getStatus() a bit for math stuff
8976 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8978 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8980 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8982 * text.C (changeRegionCase): do not change case of all the
8983 document when region ends at paragraph end (bug #461)
8985 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8987 * paragraph.C (startTeXParParams):
8988 (endTeXParParams): add \protect when necessary
8990 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8992 * BufferView_pimpl.C (workAreaExpose): remove warning
8994 2002-06-27 Angus Leeming <leeming@lyx.org>
8996 * Makefile.am: add lyxlayout_ptr_fwd.h.
8998 2002-06-26 André Pönitz <poenitz@gmx.net>
9000 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9002 2002-06-25 Angus Leeming <leeming@lyx.org>
9004 * lyxfunc.C (dispatch): Comment out the call to
9005 grfx::GCache::changeDisplay. The method no longer exists now that the
9006 pixmap generation part of the graphics loader has been moved into
9009 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9011 * text2.C: layout as layout
9013 * text.C: layout as layout
9015 * tabular.C (OldFormatRead): layout as layout
9017 * paragraph_pimpl.C (TeXDeeper): layout as layout
9018 (realizeFont): layout as layout
9020 * paragraph.C (writeFile): layout as layout
9021 (validate): layout as layout
9022 (getFont): layout as layout
9023 (getLabelFont): layout as layout
9024 (getLayoutFont): layout as layout
9025 (breakParagraph): layout as layout
9026 (stripLeadingSpaces): layout as layout
9027 (getEndLabel): layout as layout
9028 (getMaxDepthAfter): layout as layout
9029 (applyLayout): layout as layout
9030 (TeXOnePar): layout as layout
9031 (simpleTeXOnePar): layout as layout
9032 (TeXEnvironment): layout as layout
9033 (layout): layout as layout
9034 (layout): layout as layout
9036 * lyxtextclass.C (compare_name): new functor to work with
9037 shared_ptr, layout as layout
9038 (Read): layout as layout
9039 (hasLayout): layout as layout
9040 (operator): layout as layout
9041 (delete_layout): layout as layout
9042 (defaultLayout): layout as layout
9044 * lyxlayout_ptr_fwd.h: new file
9046 * lyxlayout.C (Read): layout as layout
9048 * lyx_cb.C (MenuInsertLabel): layout as layout
9050 * bufferlist.C (newFile): layout as layout
9052 * buffer.C (readLyXformat2): layout as layout
9053 (parseSingleLyXformat2Token): layout as layout
9054 (insertStringAsLines): layout as layout
9055 (asciiParagraph): layout as layout
9056 (latexParagraphs): layout as layout
9057 (makeLinuxDocFile): layout as layout
9058 (simpleLinuxDocOnePar): layout as layout
9059 (makeDocBookFile): layout as layout
9060 (simpleDocBookOnePar): layout as layout
9061 (getLists): layout as layout
9063 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9065 * CutAndPaste.C (cutSelection): layout as layout
9066 (pasteSelection): layout as layout
9067 (SwitchLayoutsBetweenClasses): layout as layout
9069 * BufferView_pimpl.C (Dispatch): layout as layout
9070 (smartQuote): layout as layout
9072 * BufferView2.C (unlockInset): layout as layout
9074 2002-06-24 André Pönitz <poenitz@gmx.net>
9076 * lyxfunc.C: fix #487
9078 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9082 * lyxfunc.C: remove display_shortcuts, show_banner
9084 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9086 * Buffer_pimpl.C: oops, update on resize
9088 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9095 * BufferView.C: use repaint()
9097 * BufferView_pimpl.h:
9098 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9099 as it's a clearer description. Remove superfluous
9102 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9104 * text.C: fix bug 488. Not ideal, but getting
9105 getWord() to work properly for the insets that
9106 matter is more difficult ...
9108 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9110 * BufferView_pimpl.C:
9113 * lyxfunc.C: remove the six million index lyxfuncs to just
9114 one, and DTRT (bug 458)
9116 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9120 * BufferView_pimpl.h:
9121 * BufferView_pimpl.C: clean up resize() stuff,
9122 and unnecessary updateScreen()s
9124 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9128 * BufferView_pimpl.h:
9129 * BufferView_pimpl.C:
9132 * minibuffer.C: remove focus management of workarea,
9133 not needed. Use screen's greyOut()
9135 2002-06-17 Herbert Voss <voss@lyx.org>
9137 * converter.C: (convert) do not post a message, when converting
9138 fails, let the calling function decide what to do in this case
9140 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9142 * lyxfunc.C: tidy up a little
9144 2002-06-16 <alstrup@diku.dk>
9146 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9147 Got rid of FORMS_H_LOCATION include. Now we are
9150 2002-06-15 LyX Development team <lyx@rilke>
9152 * buffer.[Ch] (sgmlOpenTag):
9153 (sgmlCloseTag): Added support for avoiding pernicious mixed
9154 content. Return number of lines written.
9157 (makeDocBookFile): Fixed calls to sgml*Tag.
9158 Simple white space clean.
9160 (simpleDocBookOnePar): Simple white space clean.
9162 * tabular.[Ch] (docBook): Renamed to docbook and got another
9163 argument to related with the pernicious mixed content.
9165 (docbookRow): Fixed calls for docbook inset method.
9167 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9169 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9170 so it's X11 independent.
9174 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9176 2002-06-15 Lyx Development team <lyx@electronia>
9178 * intl.h: Renamed getTrans to getTransManager.
9180 2002-06-14 Angus Leeming <leeming@lyx.org>
9182 * Makefile.am: nuke forgotten stl_string_fwd.h.
9184 2002-06-12 Angus Leeming <leeming@lyx.org>
9186 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9188 2002-06-13 Angus Leeming <leeming@lyx.org>
9191 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9193 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9195 * kbmap.C (getiso): add support for cyrillic and greek
9197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9201 * BufferView_pimpl.h:
9202 * BufferView_pimpl.C: move bogus scrolling logic
9205 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9208 * BufferView_pimpl.C: view->resize() change
9210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9212 * BufferView_pimpl.C: topCursorVisible
9215 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9219 * lyx_gui.C: move to frontends/
9223 * lyx_main.C: changes from above
9225 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9232 * lyx_main.C: minor tidy
9234 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9236 * BufferView_pimpl.h:
9237 * BufferView_pimpl.C:
9239 * BufferView.C: make painter() const,
9242 * BufferView2.C: use screen() accessor
9245 * lyx_main.C: some minor cleanup
9247 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9249 * BufferView_pimpl.h:
9250 * BufferView_pimpl.C: remove enter/leaveView,
9253 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9258 * BufferView_pimpl.h:
9259 * BufferView_pimpl.C: only construct screen once,
9262 * lyxrc.C: remove pointless comment
9264 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9267 * BufferView.C: remove active() and belowMouse()
9269 * BufferView_pimpl.h:
9270 * BufferView_pimpl.C: use workarea() not workarea_,
9271 and make it use a scoped_ptr instead
9273 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9275 * lyx_gui.C: add debug message on BadWindow
9277 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * sp_spell.C: fdopen is not part of the C++ standard.
9281 * paragraph.C (InsetIterator): use >= instead of ==
9283 2002-06-07 Angus Leeming <leeming@lyx.org>
9285 Fixes needed to compile with Compaq cxx 6.5.
9286 * BufferView_pimpl.C:
9293 * lyxtextclasslist.C:
9298 all c-library variables have been moved into namespace std. Wrap
9299 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9304 Add a using std::abs declaration.
9306 * kbmap.h (modifier_pair):
9307 * paragraph.h (InsetTable, InsetList):
9308 * lyxfont.h (FontBits):
9309 type definition made public.
9311 * bufferlist.C (emergencyWriteAll): the compiler complains that
9312 there is more than one possible lyx::class_fun template to choose from.
9313 I re-named the void specialisation as lyx::void_class_fun.
9315 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9317 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9318 the compiler is is unable to find tostr in write_attribute.
9320 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9322 * buffer.C (sgmlError): hide #warning
9324 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9326 * xtl/*: get rid of xtl, which is not in use anyway
9328 * LyXAction.C (init):
9329 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9330 were unimplemented xtl experimentation
9332 2002-06-04 André Pönitz <poenitz@gmx.net>
9334 * lyxfunc.C: disable array operation on simple formulae
9336 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9338 * converter.C: constify a bit
9340 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9342 * lyx_gui.C: check xforms version correctly
9344 2002-04-30 Herbert Voss <voss@lyx.org>
9346 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9349 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9351 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9352 attempt to register it with a VCS)
9354 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9356 * lyx_main.C (init): honor variables LYX_DIR_13x and
9359 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9363 * lyx_main.C: fix a crash on bad command line,
9364 and give a useful exit status on error
9366 * lyxfunc.C (doImport): allow -i lyx to work
9368 2002-03-30 André Pönitz <poenitz@gmx.net>
9370 * lyxfunc.C: mathed font changes
9372 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9387 * trans_mgr.h: srcdocs, and some minor cleanups
9389 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9391 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9392 call getFont all the time)
9394 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9396 * switch from SigC signals to boost::signals
9398 2002-05-29 André Pönitz <poenitz@gmx.net>
9400 * paragraph_pimpl.C (getChar): don't call size() too often...
9402 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9404 * paragraph_pimpl.C (insertChar): do not try to update tables when
9405 appending (pos == size())
9407 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9408 in order to reduce drastically the number of comparisons needed to
9409 parse a large document
9411 2002-05-29 André Pönitz <poenitz@gmx.net>
9417 * textclasslist.[Ch]:
9418 * sp_ispell.h: whitespace change
9420 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9422 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9423 lyxaction directly now.
9425 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9429 * lyxvc.C: remove unused headers
9431 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9438 * undo_funcs.C: some cleanups. Use shared_ptr
9439 and a template for the undo stacks.
9441 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9443 * BufferView_pimpl.h:
9444 * BufferView_pimpl.C:
9451 * text2.C: use key_state/mouse_state
9453 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9455 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9458 * chset.C: change include order
9459 (loadFile): use boost regex and get rid of LRegex and LSubstring
9461 * Makefile.am (BOOST_LIBS): new variable
9464 * LaTeX.C: change include order.
9465 (scanAuxFile): use boost regex and get rid of LRegex and
9469 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9474 * FontInfo.C: moved to frontends/xforms/
9477 * FontLoader.C: moved into frontends for GUIIzation
9482 * lyxfunc.C: changes from above
9484 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9486 * LColor.C: remove spurious X include
9488 * BufferView_pimpl.C:
9493 * text2.C: move font metrics to frontends/
9495 2002-05-24 Juergen Vigna <jug@sad.it>
9497 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9498 setting the undo_cursor.
9500 * ParagraphParameters.h: include local includes first.
9502 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9504 * BufferView_pimpl.C:
9505 * BufferView_pimpl.h:
9509 * screen.C: move WorkArea into frontends/
9515 * BufferView2.C: move LyXScreen into frontends/
9519 * lyx_gui.C: move lyxlookup into frontends/xforms/
9521 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9524 * BufferView_pimpl.C:
9534 * bufferview_funcs.C:
9547 * vc-backend.C: move LyX/XFormsView into frontends/
9549 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9561 * text2.C: move Painter to frontends/
9563 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * buffer.C: comment out some some code that depend upon lyx_format
9568 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9569 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9571 * buffer.h (NO_COMPABILITY): turn off compability
9573 * ColorHandler.C: include scoped_array.hpp
9575 * font.C: Use more specific smart_ptr header.
9578 * ShareContainer.h: ditto
9582 * BufferView_pimpl.h: ditto
9583 * ColorHandler.h: ditto
9585 * kbmap.C (defkey): change call to shared_ptr::reset
9587 2002-05-21 Juergen Vigna <jug@sad.it>
9589 * buffer.C (insertErtContents): fix to insert ert asis if it is
9590 non empty. Skip it completely if it contains only whitespaces.
9592 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9594 * BufferView_pimpl.C:
9595 * BufferView2.C: clear selection on paste (bug 393)
9597 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9599 * DepTable.C: include ctime
9601 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9603 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9605 2002-05-14 Juergen Vigna <jug@sad.it>
9607 * text.C (breakParagraph): fixed function to honor the keepempty
9608 layout in the right maner and also to permit the right breaking
9609 algorithm on empty or non empyt keepempty paragraphs.
9611 * paragraph.C (breakParagraph): we have to check also if the par
9612 is really empty (!size()) for isempty otherwise we do the wrong
9615 2002-05-10 Juergen Vigna <jug@sad.it>
9617 * buffer.[Ch] : The following are only changes to the ert
9618 compatibility read reading old LaTeX layout and font stuff and
9619 convert it to ERTInsets.
9621 * buffer.h: added isErtInset().
9623 * buffer.C (struct ErtComp): add a fromlayout bool to check
9624 if we're inside a LaTeX layout.
9625 (isErtInset): new helper function.
9626 (insertErtContents): look for other ert insets before this one
9627 and insert the contents there, so that we don't have subsequent
9628 ERT insets with nothing between them. This way we create only one
9629 inset with multiple paragraphs. Also check if we don't insert only
9630 spaces ' ' as they are ignored anyway afterwards in the .tex file
9631 so if we have only spaces we will ignore this latex part in the
9633 (parseSingleLyXformat2Token \\layout): better compatibility when
9634 reading layout-latex stuff.
9635 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9637 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9638 stuff after reading the inset only get the information back from
9641 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9643 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9645 * LaTeXFeatures.C (getBabelOptions): New method.
9647 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9649 * BufferView_pimpl.C (Dispatch): work around missing argument for
9652 2002-05-08 Juergen Vigna <jug@sad.it>
9654 * text.C (leftMargin): handle paragraph leftindent.
9656 * paragraph.C (writeFile): write the new \\leftindent tag.
9657 (validate): handle leftindent code.
9658 (TeXEnvironment): handle paragraphleftindent code again.
9660 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9662 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9663 for paragrap_extra indent code and new token \\leftindent.
9664 (latexParagraphs): handle the leftindent as environment.
9666 * ParameterStruct.h: added leftindent support.
9668 * ParagraphParameters.C (leftIndent): added support functions for
9669 the paragraph left indent.
9671 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9674 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9676 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9679 * text.C (computeBidiTables): No bidi in insetERT.
9681 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9684 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9686 * version.C.in: pre 5
9688 2002-05-02 José Matos <jamatos@fep.up.pt>
9689 * buffer.C (makeDocBookFile): white space changes, add newline to
9691 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9693 * tabular.C (docBook): fix typo.
9695 2002-05-03 Juergen Vigna <jug@sad.it>
9697 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9698 change in LyXText as we can not be sure it was not freed.
9699 (drawOneRow): remove unused code.
9701 * text.C (drawInset): redo the calculation of the need_break_row as
9702 it could have a row which was already freed.
9703 (draw): look at the return value of drawInset and return false if
9704 it also returned false.
9705 (paintRowText): look at the return value of draw and return false if
9706 it also returned false.
9708 * lyxtext.h: added bool return type to drawInset() and draw() so that
9709 if we have a change in the row so that the rowbreak has to be redone
9710 we abort drawing as it will be called again.
9712 2002-05-02 Juergen Vigna <jug@sad.it>
9714 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9715 a change in the maintext also if we're inside an inset.
9716 (Dispatch): set the cursor again after a break line and after the
9717 screen has been updated as it could be we're in a different row.
9719 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9720 to set the cursor behind the pargraph with > size().
9721 (setCursor): check also for the same paragraph when checking where
9722 to put the cursor if we have a NFR inset.
9724 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9725 parts of layout read further up as it still was in the wrong
9728 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9730 * screen.C (drawFromTo): change sine fullRebreak always return
9733 * buffer.C (parseSingleLyXformat2Token): reindent some
9735 * BufferView_pimpl.C (update): change since fullRebreak always
9737 (Dispatch): git rid of the last hardcoded "Standard"s.
9739 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9741 * text2.[Ch] (fullRebreak): make it return void now that we always
9744 2002-04-30 Juergen Vigna <jug@sad.it>
9746 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9747 ert compatibility check for "latex" layout.
9749 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9751 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9752 minipages: use col% instead of p%, and also use the current font.
9753 (makeLaTeXFile): Fix use babel condition.
9754 (parseSingleLyXformat2Token): Correct font when reading old floats.
9756 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9758 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9759 inserting list of floats.
9761 2002-04-25 Herbert Voss <voss@lyx.org>
9763 * MenuBackend.C (expand): don't add the graphics extensions to the
9766 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9768 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9769 non-existing layout, do not complain if it was the default layout
9770 of the original class (bug #342)
9772 2002-04-24 Juergen Vigna <jug@sad.it>
9774 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9775 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9777 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9779 * buffer.C (getBibkeyList): If using \bibliography, return the
9780 option field with the reference itself. Enables us to provide natbib
9781 support when using \bibliography.
9783 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9785 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9787 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9788 natbib is provided by the LaTeX class.
9790 2002-04-23 Juergen Vigna <jug@sad.it>
9792 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9795 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9797 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9799 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9801 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9802 ensuremath around textordmasculine, textordfeminine and
9805 2002-04-19 Juergen Vigna <jug@sad.it>
9807 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9808 reinitializing the buffer otherwise row-dimensions may be wrong.
9809 (update): reset also the selection cursors if they do exits otherwise
9810 their x/y positions may be wrong.
9812 * text2.C (cursorDown): don't enter the inset if we came from a row
9813 above and are one row over the inset.
9815 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9816 really leaving an inset.
9818 2002-04-18 Juergen Vigna <jug@sad.it>
9820 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9821 of the selected paragraph does not have the selected layout also if
9824 * text2.C (setLayout): fixed bug which did not change last selected
9827 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9828 changed the read and substituted \\end_float with \\end_inset!
9830 * BufferView_pimpl.C (cursorPrevious):
9831 (cursorNext): fixed to make it work with rows heigher than the work
9832 area without moving the cursor only the draw of the row.
9833 (workAreaMotionNotify): fix jumping over high rows.
9835 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9837 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9840 2002-04-16 Juergen Vigna <jug@sad.it>
9842 * text2.C (setCursor): set also the irow().
9843 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9845 (cursorDown): support for locking an inset if the x_fix value goes
9846 inside it. That way I can transverse insets too with cursor up/down.
9848 * lyxrow.h: added irow helper function same as other (i) functions.
9850 * BufferView_pimpl.C (cursorPrevious):
9851 (cursorNext): fixed for insets!
9853 2002-04-15 Juergen Vigna <jug@sad.it>
9855 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9856 position otherwise it is wrong in some cases.
9858 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9859 inside the inset before the call.
9861 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9863 * buffer.[Ch] (getBibkeyList): make it const.
9865 2002-04-12 Juergen Vigna <jug@sad.it>
9867 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9869 * text2.C (getCursorX): new helper function
9870 (setCursor): compute also ix_
9871 (setCursorFromCoordinates): set also ix.
9873 * lyxcursor.h: added ix_ and helper functions.
9875 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9877 * buffer.C (insertStringAsLines): dont break paragraph if the this
9878 paragraph is inside an inset which does not permit it!
9880 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9881 also with no chars on this paragraph.
9882 (paintRowText): only paint stuff if it's inside the workarea!
9884 * paragraph.C (breakParagraph): honor keepempty flag and break the
9885 paragraph always below not above.
9887 * BufferView2.C (unlockInset): update the paragraph layout on inset
9888 unlock as we changed paragraph in such a case.
9890 * lyxfind.C (LyXFind): clear the former selection if not found!
9892 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9893 again called in insertChar().
9895 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9896 an inset which uses the whole row!
9897 (rightMargin): ditto.
9898 (insertChar): force a rebreak if we inserted an inset!
9900 2002-03-28 Herbert Voss <voss@lyx.org>
9902 * lyxlength.[Ch]: add inBP() to get the right PS-point
9903 units (BigPoint). With inPixels we have rounding errors
9905 2002-04-11 Juergen Vigna <jug@sad.it>
9907 * text2.C (setCursorFromCoordinates): set iy to the right value.
9908 (setCursor): add check if row->previous exists!
9910 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9911 an old float_type as this was the case in the old code!
9913 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9915 * BufferView2.C (showLockedInsetCursor): use iy
9916 (fitLockedInsetCursor): ditto
9918 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9919 locked insets as there we have the right value now.
9921 * lyxcursor.C: added iy_ variable and iy functions to set to the
9922 baseline of cursor-y of the locked inset.
9924 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9925 (setCursor): fixed for insets which need a full row.
9927 * text.C (rowLastPrintable): don't ignore the last space when before
9928 an inset which needs a full row.
9929 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9930 as last character of a row when before a inset which needs a full row.
9932 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9934 * version.C.in: update date
9936 * text2.C (fullRebreak): try to always return true and see what
9939 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9941 * MenuBackend.C (expand): use Floating::listName
9943 * FloatList.C (FloatList): add listName argument to the built-in
9946 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9947 text associated with the float.
9949 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9951 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9953 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9955 * ShareContainer.h: add a couple of missing typenames.
9957 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9959 * lyxrc.C (getDescription): use _() correctly rather than N_().
9961 2002-03-28 Herbert Voss <voss@lyx.org>
9963 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9964 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9966 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9968 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9969 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9971 2002-03-29 Juergen Vigna <jug@sad.it>
9973 * lyxfunc.C (dispatch): add a missing fitCursor call.
9975 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9976 it was scrolled by a cursor move, so return the bool status.
9978 * BufferView.C (fitCursor): return the bool flag also to the outside
9979 world as this is needed.
9981 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9983 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9984 call the edit() as it is not needed (and wrong) IMO.
9985 (workAreaButtonPress): set the screen_first variable before evt.
9986 unlock the inset as this may change screen_first and then we have
9987 a wrong y position for the click!
9989 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9991 * MenuBackend.C (expand): another translation that I missed
9993 2002-03-28 Juergen Vigna <jug@sad.it>
9995 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9997 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9999 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10001 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10003 * MenuBackend.C (expand): fix export/view/update when there is no
10006 2002-03-27 Herbert Voss <voss@lyx.org>
10008 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10011 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10013 * bufferview_funcs.C (currentState): only show paragraph number
10014 for is DEVEL_VERSION is set.
10016 * lyxfunc.C (dispatch): put warning in INFO channel
10018 * MenuBackend.C (expand): translate the name of floats
10020 * FloatList.C (FloatList): mark the float names for translation
10022 * converter.C (convert): use LibScriptSearch
10024 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10026 * MenuBackend.C (defaults): fix default menu (we might as well get
10029 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10031 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10034 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10036 * lyxvc.C: reorder includes.
10038 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10040 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10043 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10045 * CutAndPaste.C: change layouts earlier on paste
10046 to avoid crashing when calling getFont()
10048 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10050 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10053 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10055 * WorkArea.C: remove 'Pending' debug message.
10057 * most files: ws cleanup
10059 * buffer.[Ch]: ws changes
10061 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10063 2002-03-21 Juergen Vigna <jug@sad.it>
10065 * tabular.C (SetMultiColumn): collapse also the contents of the
10066 cells and set the last border right. Added a Buffer const * param.
10068 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10070 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10073 2002-03-19 Juergen Vigna <jug@sad.it>
10075 * text2.C (clearSelection): reset also xsel_cache.
10077 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10078 where it needs to be called (John tells us to do so too :)
10079 (selectionLost): reset sel_cache.
10081 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10083 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10085 * text2.C (setCursorIntern): put debuging code in INSETS channel
10087 2002-03-19 André Pönitz <poenitz@gmx.net>
10089 * lyxfunc.C: tiny whitespace change
10091 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10093 * ToolbarDefaults.C (init):
10094 * LyXAction.C (init):
10096 * BufferView_pimpl.C (Dispatch):
10097 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10099 2002-03-19 Allan Rae <rae@lyx.org>
10101 * exporter.C (Export): removeAutoInsets before doing anything else.
10102 While I've just introduced a dependency on BufferView this really is
10103 the best place to clean the buffer otherwise you need to cleanup in
10104 a dozen places before calling export or cleanup in a dozen functions
10107 * converter.C (runLaTeX):
10108 (scanLog): Better handling of removeAutoInsets and screen updates.
10110 * lyxfunc.C (dispatch): small whitespace changes
10112 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10114 * WorkArea.C (C_WorkAreaEvent): return a value.
10115 (event_cb): return 1 if we handled the event, 0 otherwise.
10117 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10119 2002-03-18 Juergen Vigna <jug@sad.it>
10121 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10122 (GetAdditionalWidth): ditto.
10123 (RightLine): ditto.
10126 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10127 inset if we're there actually (probably not used right now but this
10128 is the direction to go for unifying code).
10129 (paste): disable code to clear the selection.
10131 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10132 inside an InsetText and move the check further up as it is in the
10135 * text2.C (pasteSelection): set a selection over the pasted text.
10137 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10139 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10140 and libgraphics to build on Cygwin.
10142 2002-03-15 Juergen Vigna <jug@sad.it>
10144 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10145 inserting an Inset into the paragraph. I know this is not the best
10146 fix but we already use current_view in CutAndPaste so we will remove
10147 all of it's using at the same time.
10149 * buffer.C (sgmlError): deactivated function till it is rewritten in
10150 the right mode, now it can create problems.
10152 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10153 before accessing it.
10155 2002-03-14 Juergen Vigna <jug@sad.it>
10157 * undo_funcs.C (textHandleUndo): do the right thing when updating
10158 the inset after the undo/redo.
10160 * text2.C (setCursor): just some testcode for #44 not ready yet.
10162 * undo_funcs.C (textHandleUndo): set the next() and previous()
10163 pointers of the paragraph to 0 before deleting otherwise we have
10164 problems with the Paragraph::[destructor].
10166 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10167 on a paragraph insertion.
10169 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10171 * buffer.C (asciiParagraph): use += operator for char append to
10174 * paragraph.C (getFontSettings): compare >= not just >
10175 (highestFontInRange): ditto
10178 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10180 * paragraph.C: change several algorithm to be more appripriate for
10181 the problem domain. This is lookip in FontList and in the InsetList.
10183 2002-03-13 André Pönitz <poenitz@gmx.net>
10186 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10188 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10193 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10195 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10197 * Painter.C (display): anon helper function, adjust code for this
10199 (pixmap): remove function.
10201 * Painter.h: remove private display variable.
10203 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10205 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10207 * WorkArea.[Ch]: remove figinset_canvas cruft.
10209 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10211 * lyxtextclass.C (operator): add one item cache optimization.
10213 * bufferlist.h: doxy changes
10215 * bufferlist.C: ws changes
10217 * DepTable.[Ch] (ext_exist): place const in the right spot.
10219 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10221 (workAreaExpose): call resizeInsets when the with BufferView changes.
10222 (Dispatch): adjust for protectedBlank removal
10223 (specialChar): call updateInset if the insert went ok.
10225 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10226 specialChar instead.
10228 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10230 * BufferView.h: doxy change
10232 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10234 * lyxtextclass.C (operator[]): remove non-const version
10235 (defaultLayout): remove non-const version
10237 2002-03-12 Juergen Vigna <jug@sad.it>
10239 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10240 did resize the LyXText too.
10242 * buffer.C (readLyXformat2): set layout information on newly allocated
10245 * tabular.C (OldFormatRead): set layout information on the paragraph.
10247 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10249 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10251 2002-03-11 Juergen Vigna <jug@sad.it>
10253 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10255 (resizeCurrentBuffer): force also the insets to resize themselfes.
10256 (moveCursorUpdate): fixed up for InsetText.
10258 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10261 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10262 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10263 value of Dialogs::tooltipsEnabled().
10264 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10266 2002-03-08 Juergen Vigna <jug@sad.it>
10268 * BufferView_pimpl.C (updateInset): update inset inside inset also
10269 if it isn't inside theLockingInset().
10271 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10273 * buffer.C (asciiParagraph): redo some of the word and line length
10275 (getLists): look for Caption instead of caption.
10277 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10279 * buffer.C (Buffer): initialize niceFile to true
10281 (makeLinuxDocFile):
10282 (makeDocBookFile): make sure niceFile is true on exit
10284 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10286 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10288 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10290 * LyXSendto.C: remove.
10291 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10292 * lyx_gui.C: remove now-redundant comment.
10293 * ColorHandler.h: remove forward declaration of class WorkArea.
10294 * lyxfunc.C: remove #include "WorkArea.h".
10296 2002-03-07 Juergen Vigna <jug@sad.it>
10298 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10299 got moved away with the DEPM and also set the inset_owner always
10300 right which before could have been omitted.
10302 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10304 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10305 wanted layout is not found.
10307 2002-03-07 Juergen Vigna <jug@sad.it>
10309 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10311 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10313 * paragraph.C (breakParagraph): use default layout not layout of
10315 (Paragraph): clear ParagraphParameters.
10317 2002-03-06 Juergen Vigna <jug@sad.it>
10319 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10320 otherwise it would not be a valid lenght. Fixed a special case in
10321 the minipage compatibility read where we end the document with a
10324 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10325 was set as it could be 0 for InsetTexts first entry.
10327 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * paragraph.C (writeFile): if layout is empty write out
10330 defaultLayoutName().
10332 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10333 file without named layout we set layout to defaultLayoutName().
10335 2002-03-06 Juergen Vigna <jug@sad.it>
10337 * CutAndPaste.C (copySelection): set layout for new paragraph.
10339 * text.C (prepareToPrint): leave ERT inset left aligned
10340 (leftMargin): don't indent paragraphs inside ERT insets
10342 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * paragraph.C (breakParagraph): dont call clear do the work manually
10346 * paragraph.[Ch] (clear): remove function
10348 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10350 * paragraph.C (Paragraph): dont call clear, the work has already
10353 * lyxtextclass.C (operator): assert if n is empty
10355 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10356 work manually instead.
10358 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10360 * BufferView_pimpl.C: protect selectionLost against text == 0
10362 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10364 * text.C (breakParagraph): fix a setting layout to '0' problem.
10366 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10368 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10369 final location of file, for the included files, and graphics.
10371 2002-03-05 Juergen Vigna <jug@sad.it>
10373 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10375 2002-03-04 Juergen Vigna <jug@sad.it>
10377 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10379 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10380 last column of multicolumn cells.
10381 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10383 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10385 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10386 file if it doesn't go to a temporary file.
10388 * buffer.C (sgmlOpenTag):
10389 (sgmlCloseTag): remove extra newline insertion.
10391 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10393 * text.C (getRowNearY): comment out debug msg
10395 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10397 * text2.C: first -> first_y
10399 * text.C (getRowNearY): add some attemts at a possible
10400 optimization, not working.
10402 * tabular.[Ch]: add BufferParams to several function so that newly
10403 created paragraph can be initialized to he default layotu for the
10406 * tabular-old.C (ReadOld): add buf->params to call of Init
10408 * screen.C: rename text->first to text->first_y
10410 * paragraph.C (breakParagraph): always set layout in the broken
10413 * lyxtextclass.C (Read): remove lowercase
10416 (delete_layout): ditto
10418 * lyxtext.h: rename first -> first_y
10420 * lyxlayout.C (Read): remove lowercase
10423 (obsoleted_by): ditto
10425 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10427 * buffer.C (insertErtContents): add params are to InsetERT
10428 (parseSingleLyXformat2Token): add code to check if a paragraphs
10429 layout really exist.
10430 (parseSingleLyXformat2Token): add params to several inset
10432 (asciiParagraph): remove lowercase, do the layout comparisons with
10435 * BufferView_pimpl.C (cursorNext): first -> first_y
10436 (resizeCurrentBuffer): first -> first_y
10437 (updateScrollbar): first -> first_y
10438 (scrollCB): first -> first_y
10439 (workAreaMotionNotify): first -> first_y
10440 (workAreaButtonPress): first -> first_y
10441 (checkInsetHit): first -> first_y
10442 (cursorPrevious): first -> first_y
10443 (cursorNext): first -> first_y
10444 (Dispatch): add buffer_->params to severl inset contructors
10446 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10448 * lyxlayout.C (Read): remove some debug info that I forgot.
10450 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10451 clean up the code slightly.
10452 (makeLinuxDocFile): ditto
10453 (makeDocBookFile): ditto
10455 * text2.C: layout as string
10457 * text.C: layout as string
10459 * paragraph_pimpl.C: layout as string
10461 * paragraph.[Ch]: layout as string
10463 * lyxtextclasslist.[Ch]: layout as string
10465 * lyxtextclass.[Ch]: layout as string
10467 * lyxtext.h: layout as string
10469 * lyxlayout.[Ch]: layout as string
10471 * lyx_cb.C: layout as string
10473 * bufferview_funcs.C: layout as string
10475 * bufferparams.C: layout as string
10477 * buffer.C: layout as string
10479 * LyXView.[Ch]: layout as string
10481 * LaTeXFeatures.[Ch]: layout as string
10483 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10485 * BufferView_pimpl.C: change current_layout to string, remove
10490 (workAreaButtonRelease): layout as string
10492 * BufferView2.C (unlockInset): adjust
10494 * vspace.C (asLatexCommand): use an explict temp variable.
10496 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10498 * Makefile.am: use FRONTEND_*
10500 2002-03-01 Juergen Vigna <jug@sad.it>
10502 * tabular.C (SetWidthOfMulticolCell): changed to something better
10503 I hope but still work in progress.
10504 (recalculateMulticolumnsOfColumn): renamed function from
10505 recalculateMulticolCells as it is more appropriate now.
10506 (SetWidthOfCell): calculate multicols better.
10508 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10510 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10512 * lyxfunc.C (processKeySym): print sequence also if it is
10513 `deleted' (complete)
10515 * kbsequence.C (print): print sequence even if it is deleted
10516 (complete would be a better word, actually).
10518 * lyxfunc.C (dispatch): print complete options after a prefix key
10520 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10522 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10524 * text2.C (setCharFont): eliminate setCharFont code duplication.
10526 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10528 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10529 LFUN_TABULAR_FEATURE (bug #177)
10531 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10533 * Makefile.am: remove figure.h
10535 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10537 * Bufferview_pimpl.C:
10549 * text2.C: remove #include "lyx_gui_misc.h".
10551 * LaTeX.C: added #include <cstdio>
10553 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10555 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10556 that the paragraph following this one can have.
10558 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10560 * vspace.C (asLatexCommand): fix bogus gcc warning
10562 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10564 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10566 * text2.C (setLayout): get rid of redundant code
10568 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10570 * text2.C (incDepth): make sure depth cannot be increased beyond
10573 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10575 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10576 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10578 * PainterBase.h (image):
10579 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10580 a LyXImage const *.
10582 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10586 * BufferView_pimpl.C:
10587 * BufferView_pimpl.h:
10607 * sp_spell.C: remove fig inset, and the crap house of
10608 cards that follows it
10610 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10615 * os2_errortable.h:
10616 * nt_defines.h: move .h into support/
10618 * vms_defines.h: remove
10620 * WorkArea.C: add space in debug output
10624 * buffer.C: add WITH_WARNINGS
10628 * bufferlist.C: s/retrive/retrieve/, add docs
10637 * chset.C: add docs
10639 * lyxgui.C: add ID to X error handler
10641 * lyxtestclass.c: fix typo
10643 2002-02-26 Juergen Vigna <jug@sad.it>
10645 * tabular_funcs.C (write_attribute): changed so that some default
10646 attributes are not written at all.
10647 (getTokenValue): set default values before trying to read the
10648 value so we have the return value always set as default if we don't
10649 find the token we search for.
10651 * tabular.C (Write): write bools as bools not as strings!
10653 2002-02-22 Juergen Vigna <jug@sad.it>
10655 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10656 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10658 * text.C (leftMargin): don't add an indent for paragraphs inside
10659 tabular cells (fix #208).
10661 2002-02-21 José Matos <jamatos@fep.up.pt>
10663 * tabular.C (docBook): fixed support for long tables.
10665 2002-02-20 Juergen Vigna <jug@sad.it>
10667 * text2.C (getFont): get the drawing font of the Inset if this
10668 paragraph is inside an inset (only important for InsetERT for now).
10670 * buffer.C (insertErtContents): use new lanugage params in ERT
10673 * CutAndPaste.C: commenting out seemingly uneeded code.
10675 2002-02-19 Allan Rae <rae@lyx.org>
10677 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10678 Iterators might be simple to use but they also get invalidated.
10679 (removeAutoInsets): renamed saved cursor tracking variables and added
10680 some comments to clarify what everything does.
10682 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10689 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10690 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10693 * vc-backend.h: remove #include "support/syscall.h"
10697 * converter.C: rearrange #includes in Lars' approved fashion.
10699 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10700 forward declare class Timeout in the header file.
10702 * XFormsView.C: changes due to the above.
10704 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10705 similar to LyXView.
10707 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10708 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10710 2002-02-18 José Matos <jamatos@fep.up.pt>
10712 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10715 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10717 * a lot of small ws changes
10718 * add a lot of using std::XXX
10719 * use std construcs some places where approp.
10720 * use some exisint stuff from lyxfunctional where approp.
10721 * Make file changes to use partial linking (lets test this now...)
10723 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10727 remove #include "support/syscontr.h" as it's redundant. Always has been.
10735 change Systemcalls::System to Systemcalls::Wait and
10736 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10737 No change of functionality, just reflects the stripped down Systemcalls
10740 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10742 * debug.[Ch]: add a GRAPHICS type to the enum.
10744 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10746 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10748 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10751 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10753 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10754 match the changes below.
10756 * text2.C (toggleInset): if there is not editable inset at cursor
10757 position, try to see if cursor is _inside_ a collapsable inset
10760 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10762 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10763 document menu has a nice checkbox
10765 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10767 * lyxlength.C (asLatexString): change PW to output as percent of
10770 * lengthcommon.C: change '%' to 't%'
10772 * lyxfunc.C (dispatch): a few comments from Martin
10774 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10778 * BufferView_pimpl.h:
10779 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10782 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * vspace.C (inPixels): fix compiler warning
10786 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10788 * lyxfunc.C (getStatus): fix status message for disabled commands.
10790 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10792 * BufferView_pimpl.C: fix crash on close buffer
10793 during selection (#227)
10795 2002-01-27 Herbert Voss <voss@lyx.org>
10797 * buffer.C: link old Figure to new graphic inset
10799 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10801 * FontLoader.C (getFontinfo): Change the latex font names in order
10802 to match the names of type1inst.
10804 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10806 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10808 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10809 (extchanged): ditto
10811 (remove_files_with_extension): ditto
10812 (remove_file): ditto
10815 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10816 document is smaller than the work area height. Do not initialize
10817 static variables to 0.
10819 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10821 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10823 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10824 LFUN_LAYOUT_PARAGRAPHS.
10826 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10827 tabular. It is possible to provide a possible cell, which will
10828 typically be the actcell from the corresponding insettabular
10830 * lyxfunc.C (getStatus): small cleanup; disable
10831 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10834 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10836 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10838 * paragraph.C (startTeXParParams):
10839 (endTeXParParams): new methods. The LaTeX code to
10840 start/end paragraph formatting
10841 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10842 empty (fixes bug #200)
10844 * vspace.C (inPixels): adapt to the change below
10845 (inPixels): [later] more cleanups (remove unused variables)
10847 * lyxlength.C (inPixels): change to use a width and a height as
10850 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10852 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10853 Replaced with \paperwidth
10855 * DepTable.C (insert): add std:: qualifier
10857 2002-01-18 Allan Rae <rae@lyx.org>
10859 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10862 * text.C (drawInset): Turned out I didn't know enough about how
10863 rebreaking worked. This fixes most of the redraw problems. I see
10864 an occasional cursor trail when a line is broken now and the cursor
10865 placement can seem out by a few pixels also after a rebreak.
10867 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10869 * buffer.C (parseSingleLyXformat2Token): update because minipage
10870 width is now a LyXLength
10872 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10874 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10877 2002-01-17 Juergen Vigna <jug@sad.it>
10879 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10881 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10882 is set correctly and the inset is updated correctly.
10884 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10886 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10887 the beginning of the loop.
10889 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10891 * lyxrc.C: improve help for use_scalable_fonts
10893 2002-01-17 Allan Rae <rae@lyx.org>
10895 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10897 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10899 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10900 make sure to set their inset_owner to the right value (bug #171)
10902 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10905 * DepTable.C: Implement mtime checking to reduce time spent doing
10908 2002-01-16 Juergen Vigna <jug@sad.it>
10910 * tabular.C (GetAdditionalHeight): one of error fixed.
10912 * lyxrc.C (output): small fix in writing use_pspell.
10914 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10916 * sp_base.h: #include LString.h
10918 2002-01-16 Allan Rae <rae@lyx.org>
10920 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10921 Can someone check this please?
10923 * text.C (drawInset): It was possible that p.row would be removed by
10924 breakAgainOneRow upsetting a few other settings. There may be another
10925 small tweak possible by setting need_break_row = 0 when p.row has been
10926 removed but I don't know enough about the logic here.
10928 2002-01-15 Allan Rae <rae@lyx.org>
10930 * text.C (insertChar): removed conditional truism.
10932 * BufferView2.C (removeAutoInsets): More tweaks.
10933 cur_par_prev could be a stray pointer. Check for trailing empty line
10934 in case last line was cur_par and only had an error inset on it.
10936 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10938 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10941 * vc-backend.C (most methods):
10942 * exporter.C (Export):
10943 * converter.C (convert):
10945 * LyXSendto.C (SendtoApplyCB):
10946 * lyxfunc.C (dispatch):
10950 * lyx_cb.C (AutoSave):
10952 * BufferView_pimpl.C (MenuInsertLyXFile):
10953 * buffer.C (runChktex): use Buffer::filePath().
10955 * buffer.h: rename filename to filename_; rename filepath to
10956 filepath_ and make it private
10957 (filePath): new method
10959 * buffer.C (writeFile): use fileName()
10962 * lyx_main.C (init): fix starting of LyX when the binary is a
10963 link from so,ewhere else.
10965 * minibuffer.C: include <cctype> for isprint
10967 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10969 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10970 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10971 name clash with InsetCollapsable's width function.
10973 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * lastfiles.C: include <iterator>
10977 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10979 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10982 * buffer.C (makeLaTeXFile): ditto.
10983 Also make loop operation more transparent.
10985 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10987 * ToolbarDefaults.C: remove trailing comma closing namespace.
10989 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10991 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10994 * trans.C (Load): comment out unused variable, allowed.
10996 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10998 * minibuffer.[Ch] (append_char): new method to recieve input from the
10999 drop-down completion browser. If a key was pressed, then recieve this
11000 char and append it to the existing string.
11001 (peek_event): modify the positioning data passed to the completion
11002 browser so that it can be placed above the minibuffer rather than below.
11003 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11005 * LyXAction.C (init): alloe error-next for readonly documents.
11007 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11010 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11012 * bufferlist.C (readFile): create the buffer _after_ checking that
11015 * lyxfunc.C (verboseDispatch): fix handling of arguments
11017 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11019 * lyxrc.C: use string::erase() instead of initializing to "".
11022 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11024 * BufferView_pimpl.h:
11025 * BufferView_pimpl.C:
11028 * text2.C: tell X when we have made a selection for copying
11030 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11032 * BufferView_pimpl.C (MenuInsertLyXFile):
11033 * lyxfunc.C (menuNew):
11035 (doImport): add shortcuts to directory buttons
11037 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11040 * lyxfunc.C (setStatusMessage):
11041 (getStatusMessage): new methods
11042 (getStatus):use setStatusMessage instead of setErrorMessage
11043 (dispatch): when function is disabled, set error message here
11044 [instead of in getStatus previously]
11046 * BufferView_pimpl.C (workAreaButtonRelease): update
11047 toolbar/menubar here too.
11049 2002-01-13 Allan Rae <rae@lyx.org>
11051 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11052 Now seems indestructible. Remaining task is to audit all other
11053 code affected by deleteEmptyParagraphMechanism. One small quirk
11054 left is that an empty document with an error in the preamble can
11055 be made to report an error but no error box appears. I don't know
11057 (removeAutoInsets): Improved comments.
11059 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11062 * Thesaurus.C: update for Aiksaurus 0.14
11064 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11066 * text2.C (firstParagraph): removed member function, all uses
11067 replaces with ownerParagraph
11068 (redoParagraphs): here
11069 (updateInset): here
11070 (toggleAppendix): here
11071 * BufferView2.C (insertErrors): here
11072 (setCursorFromRow): here
11074 2002-01-13 Allan Rae <rae@lyx.org>
11076 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11077 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11078 There is still a way to segfault this although you may have to do this
11079 multiple times: Have an InsetERT with an unknown command in it.
11080 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11081 <down-arrow>, <Enter> again, View->DVI, BANG!
11083 * text2.C (setCursor):
11084 (deleteEmptyParagraphMechanism):
11085 * lyxtext.h (setCursor):
11086 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11087 Making use of the return value may help fix other bugs.
11089 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11091 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11093 * LyXView.C (updateMenubar): call MenuBar::update here
11094 (updateToolbar): but not here
11095 (showState): do not update toolbar/menubar
11097 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11098 should need to care about that.
11100 * lyxfunc.C (verboseDispatch): simplify a bit
11101 (getStatus): have a version which takes a pseudoaction, and
11102 another which requires a (kb_action,string).
11104 * LyXAction.C (retrieveActionArg): make it work also when action
11105 is not a pseudo-action.
11106 (getActionName): simplify a bit
11109 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11111 * lyxfunc.C (verboseDispatch): new families of methods with
11112 several ways to specify a command and a bool to indicate whether
11113 the command name and shortcut should be displayed in minibuffer
11114 (eventually, we could extend that to a finer bitmask like
11115 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11116 (dispatch): the pristine dispatch command which just, well,
11117 dispatchs! Note it still sets its result to minibuffer; I'm not
11120 * lyxfunc.h: remove setHintMessage
11122 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11124 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11126 * BufferView_pimpl.C (specialChar): delete new inset if we have
11127 not been able to insert it.
11129 * kbmap.C: revert to using int instead of kb_action, since all we
11130 are dealing with is pseudo-actions.
11132 * LyXAction.C (searchActionArg): change to return int instead of
11133 kb_action, since the result is a pseudoaction.
11135 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11137 * buffer.C (insertErtContents): Fix (partially) the font bug.
11139 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11141 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11142 as the other one is broken on my machine!
11144 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11147 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11149 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11151 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11152 reflect their actual use. Provide compatibility code for older lyxrc
11155 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11157 change names of popup font variables in line with the changes to lyxrc.C
11159 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11161 * buffer.C (asciiParagraph): avoid outputing a word twice after
11164 * lyxrc.C (getDescription): document that document_path and
11165 template_path can be empty.
11167 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11169 * LaTeXFeatures.C (getMacros):
11170 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11172 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11174 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11176 (getPackages): rename feature "floats" to "float". Use an array to
11177 iterate over 'simple' features (i.e. just a \usepackage). Add
11178 handling of "amsmath" (renamed from "amsstyle").
11180 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11182 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11185 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11187 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11188 FuncStaus::FuncStatus & FuncStaus::some_method().
11190 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11192 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11193 of the func_satus stuff. Edited and massaged in various ways by
11196 * lyxfunc.C (getStatus): use FuncStatus
11198 2002-01-08 Juergen Vigna <jug@sad.it>
11200 * text.C (nextBreakPoint): use function Inset::isChar().
11202 * paragraph.C (TeXOnePar): use function
11203 Inset::forceDefaultParagraphs.
11205 * buffer.C (latexParagraphs): use function
11206 Inset::forceDefaultParagraphs.
11208 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11210 * lyx_gui.C (init): set the style of the menu popups to
11211 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11213 2002-01-07 Juergen Vigna <jug@sad.it>
11215 * text.C (setHeightOfRow): small fix
11216 (prepareToPrint): don't look at alignment if we don't have the place
11219 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11221 * box.C: New file. Move the Box methods and functions out of box.h,
11222 following Lars' suggestion.
11224 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11226 * box.h: #include "support/LOstream.h", needed for inlined function.
11229 * lyxtextclasslist.C: added some using std declarations.
11231 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11233 * box.h: make signed dimensions to allow insets wider than
11234 the screen (bug #162)
11236 * BufferView_pimpl.C: add some insetHit debug
11238 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11240 * vc-backend.C: add FIXME
11242 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11244 * lyxfunc.C (getStatus): enable code for showing math font status
11247 2002-01-07 Juergen Vigna <jug@sad.it>
11249 * text.C (nextBreakPoint): removed debug output not needed anymore.
11251 2002-01-06 Juergen Vigna <jug@sad.it>
11253 * text.C (nextBreakPoint): fixed up this function we had this bug
11254 since ever but now hopefully we break row better.
11255 (insertChar): we have to check if an inset is the next char as it
11256 could now happen that a large inset is causing a break.
11258 2002-01-05 Juergen Vigna <jug@sad.it>
11260 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11261 if it doesn't like to be drawed.
11263 2002-01-04 Juergen Vigna <jug@sad.it>
11265 * BufferView2.C (lockInset): forgot to set a cursor.
11267 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11269 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11271 * FormMathsPanel.C:
11274 * form_maths_panel.C:
11275 * form_maths_panel.h:
11276 * form_maths_panel.fd: implemented sub- and super- buttons in math
11279 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11280 (or ^ space) to be used as in TeX (req'd by André).
11282 * lyxfunc.C: Allow ^ and _ again to be used both as
11283 super/subscript (mathed) and as themselves (in text).
11285 2002-01-03 Allan Rae <rae@lyx.org>
11287 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11288 "LyX" or the filename of the current buffer if it has one. This is a
11289 modified form of John Levon's patch.
11291 * XFormsView.C (setWindowTitle): also set icon title.
11293 * LyXView.h (setWindowTitle): signature changed.
11294 * XFormsView.h (setWindowTitle): ditto.
11296 2002-01-02 Juergen Vigna <jug@sad.it>
11298 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11300 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11302 * screen.C (topCursorVisible): introduce a temp var for
11303 text->cursor.row(), handle the case where this row is null. (kindo
11306 * text2.C (setCursor): add a couple of asserts.
11308 * paragraph.h (inset_iterator): add -> operator
11310 * paragraph.[Ch] (autoDeleteInsets): remove member function
11312 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11313 cursor pos correctly and handle inset deletion by itself.
11314 (insertErrors): move iterator declaration out of for expression
11316 * lyxtextclass.C: add <algorithm>
11318 * Makefile.am: added the new files to sources, removed layout.C
11320 * layout.C: removed file
11322 * layout.h: remove LYX_DUMMY_LAYOUT
11324 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11328 * lyxtextclass.[Ch]:
11329 * lyxtextclasslist.[Ch]: new files
11331 * include order changes to a lot of files, also changes because of
11334 2001-12-27 Juergen Vigna <jug@sad.it>
11336 * buffer.C (asciiParagraph): more fixes.
11338 * tabular.C (ascii): make ascii export support export of only the
11339 data separated by a column-delimiter.
11340 (ascii): better support for ascii export.
11342 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11344 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11346 * tabular_funcs.C: use a "using std::getline" instead of the
11347 previous fix from Angus (necessary for cxx + lyxstring)
11349 2001-12-24 Juergen Vigna <jug@sad.it>
11351 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11353 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11354 problems. First check a minipage also if we have some ert-contents
11355 (not only on par->size(), second set the right depth of the paragraph
11356 on the relink to the root-paragraph-list!
11358 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11359 which then did not anymore update the main paragraphs on undo/redo!
11361 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11363 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11364 code. Support all font-changing funcs (even those which are not in
11365 menu currently). Support for reporting font settings in
11366 mathed (disabled until Andre provides a function on mathed's side).
11368 * func_status.h (toggle): small helper function to set toggle
11371 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11373 * tabular_funcs.C: getline -> std::getline
11375 2001-12-21 Juergen Vigna <jug@sad.it>
11377 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11378 accessed and could be 0 (I couldn't generate this but it seems
11381 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11383 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11384 * tabular_funcs.h: here and include iosfwd
11386 2001-12-20 Juergen Vigna <jug@sad.it>
11388 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11389 inside inset but undo_par was.
11391 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11393 * Thesaurus.C: always include <config.h> in sources.
11397 * box.h: do not include <config.h> in header files
11399 * text.C (paintLastRow): remove unused variable
11401 * text.C (transformChar):
11403 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11405 * Painter.C (text):
11406 * font.C (width): rewrite to use uppercase() instead of
11409 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11411 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11413 * lyxfind.C: clean up of find failure position change
11415 2001-12-20 Juergen Vigna <jug@sad.it>
11417 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11419 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11420 (TeXRow): added to LaTeX a single tabular row.
11421 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11422 (Latex): simplified and finally good LT-h/f support.
11423 (various_functions): just small adaptions for LT-h/f support.
11425 * tabular_funcs.[hC]: added and moved here all not classfunctions
11428 2001-12-19 Juergen Vigna <jug@sad.it>
11430 * tabular.[Ch]: better support for longtabular options (not finished
11433 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11435 * text.C (paintLastRow): use the label font instead of the font of
11436 the last character to compute the size of *_BOX. This makes more
11437 sense and avoids a crash with empty paragraphs.
11438 Use Painter::rectangle to draw EMPTY_BOX.
11440 2001-12-19 Juergen Vigna <jug@sad.it>
11442 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11443 the paragraphs if the replaced paragraph is not the first one!
11444 Tried to delete not used paragraphs but does not work yet so for
11445 now it's inside #ifdef's and by default off!
11447 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11449 * MenuBackend.C: include "lyx_main.h" instead of declaring
11450 lastfiles (actually was declared as LastFiles* instead of a
11453 2001-12-17 Juergen Vigna <jug@sad.it>
11455 * tabular.C (AppendColumn): applied John's fix
11457 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11461 * BufferView_pimpl.h:
11462 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11465 * box.h: new start of class for above
11467 * lyxfunc.C: ignore space-only minibuffer dispatches.
11468 Show the command name when it doesn't exist
11470 * minibuffer.C: don't add empty lines to the history
11472 * minibuffer.C: add a space on dropdown completion
11474 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11476 * text.C: fix line above/below drawing in insets
11478 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11480 * lyxlength.C (LyXLength): Initialize private variables.
11482 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11485 when inserting error insets.
11487 2001-12-13 Juergen Vigna <jug@sad.it>
11489 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11490 actually sometimes the before-paragraph.
11491 (setUndo): don't clear the redostack if we're not actually undoing!
11493 2001-12-06 Juergen Vigna <jug@sad.it>
11495 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11496 and fixed redoing of main paragraph, so we can use it now ;)
11498 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11500 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11502 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11505 2001-12-13 André Pönitz <poenitz@gmx.net>
11508 * undo_func.C: minor cleanup
11510 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11512 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11513 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11514 font in urw-fonts package which is marked as -urw-fontspecific and
11515 does not work (incidentally, changing the encoding in the
11516 fonts.dir of this package to -adobe-fontspecific fixes the
11519 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11520 is a crash when undoing first paragraph (Juergen, please take a
11521 look). THis does not mean the undo fix is wrong, just that it
11524 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11525 the (Paragraph*) version when needed instead of duplicating the
11528 * text.C (workWidth): use Inset::parOwner to find out where the
11529 inset has been inserted. This is a huge performance gain for large
11530 documents with lots of insets. If Inset::parOwner is not set, fall
11531 back on the brute force method
11533 * paragraph_pimpl.C (insertInset):
11534 * paragraph.C (Paragraph):
11535 (cutIntoMinibuffer): set parOwner of insets when
11536 inserting/removing them
11538 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11540 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11546 * mathed/formulabase.C:
11547 * mathed/math_cursor.[Ch]:
11548 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11551 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * lyxlength.[Ch] (operator!=): new function
11555 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * text.C (workWidth): use Inset::parOwner to find out where the
11558 inset has been inserted. This is a huge performance gain for large
11559 documents with lots of insets. If Inset::parOwner is not set, fall
11560 back on the brute force method
11562 * paragraph_pimpl.C (insertInset):
11563 * paragraph.C (Paragraph):
11564 (cutIntoMinibuffer): set parOwner of insets when
11565 inserting/removing them
11567 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11569 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11571 * tabular-old.C (getTokenValue):
11572 * tabular.C (getTokenValue):
11573 (write_attribute): new versions for LyXLength
11574 (everywhere): adjust the use of widths
11576 * tabular.h: change the type of widths from string to LyXLength
11578 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11580 * paragraph.C: fixed missing line number count when exporting
11581 Environments to LaTeX file
11583 * buffer.C: added informational message for checking line numbers.
11585 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11587 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11588 paragraph, do the 'double space' part, but not the 'empty
11591 * text.C (workWidth): small optimization
11592 (getLengthMarkerHeight): use minimal size for negative lengths.
11594 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11596 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11598 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11600 2001-12-11 André Pönitz <poenitz@gmx.net>
11603 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11605 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11607 * text2.C: keep selection on a setFont()
11609 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11611 * lyx_cb.C: another bv->text misuse, from insert label
11613 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11616 * kbsequence.C: re-instate nmodifier mask
11618 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11620 * lyx_main.h: make lyxGUI private.
11622 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11624 * lyxfind.C: place the cursor correctly on failed search
11626 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11628 * text.C (getLengthMarkerHeight): for small heights, the arrows
11629 are not always on top/bottom of the text
11630 (drawLengthMarker): smaller arrows; take the left margin in
11631 account; draw also vfills.
11633 (paintLastRow): remove special code for vfill and standard spaces,
11634 since everything is handled in drawLengthMarker now.
11636 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11638 * buffer.C (insertErtContents): try to handle font and language
11639 interaction a bit better.g
11641 * ColorHandler.C (updateColor): change the hash to cover the whole
11642 LColor enum, ws cleanup
11643 (getGCLinepars): ditto
11644 (getGCLinepars): only lookup in the linecache once.
11646 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11648 * iterators.C (operator++): Make the iterator more robust
11650 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11654 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11657 * text.C: better added space drawing
11659 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11662 * BufferView2.C: fix layout combo update on inset unlock
11664 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11666 * Makefile.am: don't compile unused files
11668 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11672 * LyXAction.C: remove old LFUN_LAYOUTNO
11674 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11676 * paragraph_pimpl.h:
11677 * paragraph_pimpl.C: isTextAt() doesn't need font param
11679 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11682 * lyxlex.C: little cleanup
11684 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11686 * BufferView_pimpl.C: fix insertAscii for insets
11688 2001-12-05 Juergen Vigna <jug@sad.it>
11690 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11691 set the right font on the "multi" paragraph paste!
11693 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11699 * lyxlength.C: remove out-commented code.
11701 * BufferView_pimpl:
11715 * vc-backend.C: change "while(" to "while ("
11717 * lyxlength.[Ch]: add zero function to check if length is zero or
11719 * lyxgluelength.C: use it
11721 2001-12-05 Allan Rae <rae@lyx.org>
11723 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11724 Works for 2.95.3, from what I understand of Garst's reports this should
11725 work for other g++ versions. We're screwed if the abs(int) definition
11726 changed between bugfix releases of gcc.
11728 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11730 * text.C: fix chapter label offset !
11732 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11735 * text.C: fix hfill at end of line, clean up
11737 2001-12-04 Juergen Vigna <jug@sad.it>
11739 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11740 that we force an update of the inset and it's owners if neccessary.
11742 2001-12-03 Juergen Vigna <jug@sad.it>
11744 * text.C (rowLast): simplified code
11746 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11748 * lyxfunc.C: fix show options on timeout
11750 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11752 * screen.C (topCursorVisible): scroll half a page when the cursor
11753 reached top of bottom of screen
11755 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11757 * minibuffer.C: deactivate on loss of focus
11759 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11761 * vspace.[Ch] (operator!=): add operator.
11763 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11765 * BufferView_pimpl.C: refuse to open an inset when
11766 there's a selection.
11768 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11770 * BufferView_pimpl.C: allow to click on RHS of full row insets
11772 2001-11-30 Juergen Vigna <jug@sad.it>
11774 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11775 insets for undo reasons.
11777 2001-11-28 André Pönitz <poenitz@gmx.net>
11779 * vspace.[Ch]: cosmetical changes
11781 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11791 * kbsequence.C: part re-write of old kb code
11794 * WorkArea.C: remove Lgb_bug_find_hack
11796 2001-11-30 José Matos <jamatos@fep.up.pt>
11798 * buffer.C (makeDocBookFile): add a comment to point a hack.
11799 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11800 Fixed a double write of labels.
11802 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11805 * LaTeX.h Fixed bug in LaTeX class where it would not
11806 re-run latex if no depfiles were changed, but the .dvi was removed.
11808 2001-11-28 André Pönitz <poenitz@gmx.net>
11810 * all the files from the change on 2001/11/26:
11811 use lyx::layout_type instead of LyXTextClass::size_type
11812 use lyx::textclass_type instead of LyXTextClassList::size_type
11814 2001-11-29 Juergen Vigna <jug@sad.it>
11816 * text.C: added support for paragraph::isFreeSpacing()
11818 * buffer.C: same as above
11820 * paragraph.h: inserted isFreeSpacing() function to enable
11821 FreeSpacing inside InsetERT.
11823 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11824 of the paragraph's in the cut/copy buffer to 0!
11826 * text2.C (removeRow): remove the assert as it can!
11828 * lyxtext.h: added helper function firstRow returning firstrow and
11829 made firstrow private again.
11831 * BufferView2.C (lockInset): don't relock if we're already locked!
11833 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11834 the only paragraph.
11835 (removeRow): added Assert::(firstrow)
11837 * debug.C: forgot to add INSETTEXT here.
11839 2001-11-28 Juergen Vigna <jug@sad.it>
11841 * sp_spell.C (initialize): changed error text to more general
11842 spellchecker command use (not only ispell!)
11844 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11846 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11848 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11850 * vspace.C: initialise lyxgluelength on failure
11852 2001-11-28 Allan Rae <rae@lyx.org>
11854 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11855 declaration & definition that looks like a function declaration.
11857 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11859 * BufferView2.C (copy):
11860 (copyEnvironment): do not clear the selection when doing a copy.
11862 * text.C (paintFirstRow): compilation fix
11864 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11866 * tabular.C (Latex): correct line count when writing latex.
11868 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11870 * paragraph_pimpl.h:
11871 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11874 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11878 * LColor.C: change vfillline->added_space
11880 * text.C: add markers and text for added space
11882 * vspace.C: fix comment
11884 2001-11-28 André Pönitz <poenitz@gmx.net>
11886 * paragraph.C: whitespace changes
11887 * all the other files from the change on 2001/11/26:
11888 change *::pos_type into lyx::pos_type
11890 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11892 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11893 language of the document when inserting error insets.
11895 2001-11-26 André Pönitz <poenitz@gmx.net>
11897 * BufferView_pimpl.[Ch]:
11905 * paragraph_pimpl.[Ch]:
11908 * text2.C: reduce header dependencies, introduce type for positions
11910 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11912 * <various>: change to use Alert.h
11914 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11916 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11917 when encountering an unknown token.
11918 (readLyXformat2): Show an error message if there were unknown tokens.
11920 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11923 * BufferView_pimpl.C:
11927 * text2.C: use par->isInset()
11929 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11931 * paragraph_pimpl.h:
11932 * paragraph_pimpl.C: cleanup
11934 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11936 * text2.C (removeRow):
11937 * text.C (setHeightOfRow): remove useless (and costly) call to
11940 2001-11-20 Allan Rae <rae@lyx.org>
11942 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11943 Now need Inset*::checkInsertChar() to return true for appropriate
11944 cases so that the characters in the minibuffer will actually be
11947 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11949 * text.C: change the order of the includes.
11950 (workWidth): initialize it at once.
11951 (workWidth): make maxw unsigned
11952 (setHeightOfRow): remove unused variable (inset)
11953 (selectSelectedWord): remove unused variable (inset)
11954 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11956 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11958 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11959 server is not running.
11961 (closeConnection): add debug info when server is disabled.
11963 * ColorHandler.C (getGCForeground): send debug message to GUI
11966 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11968 * kbmap.C (bind): modify because return conventions of
11969 kb_sequence::parse have changed.
11971 * kbsequence.C (parse): only ignore spaces and not any stupid
11972 control character. This avoids tests like s[i] <= ' ', which are
11973 guaranteed to fail with 8bit characters and signed chars.
11974 Change return code to string::npos when there have been no error
11975 (0 was a bad idea when error is at first character)
11977 2001-11-14 José Matos <jamatos@fep.up.pt>
11980 * buffer.C (simpleDocBookOnePar): removed unused argument.
11982 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11984 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11985 insets which are part of a word. Paragraph::isLetter takes care of
11986 that now. Use Paragraph::isInset to identify insets.
11987 (selectSelectedWord): do not test for hyphenation break.
11989 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11990 that protected spaces are considered as spaces.
11992 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11995 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11998 * lyxserver.C: fix it. and small cleanup.
12000 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12002 * BufferView_pimpl.C: use inline helpers
12005 * LaTeXFeatures.C: fix typos
12008 * Spacing.C: move spacing_string into class
12010 * ToolbarDefaults.C: move stuff into namespace anon
12012 * layout.h: update enum
12014 * lyxfunc.C: use better debug
12016 * minibuffer.h: fix typo
12020 * WorkArea.C: add and use Debug::WORKAREA
12024 * text2.C: code re-organisation, inline helpers
12026 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12028 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12029 std::vector.empty().
12031 2001-11-09 Allan Rae <rae@lyx.org>
12033 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12034 '\n's after tables. Tabular and ERT inset work now makes this no
12037 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12040 * minibuffer.C: fix crash, improve drop-down completion
12042 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12045 * lyxserver.C: invalidate fd's when doing endPipe()
12047 2001-11-08 José Matos <jamatos@fep.up.pt>
12049 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12050 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12053 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12055 2001-11-07 José Matos <jamatos@fep.up.pt>
12058 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12061 * buffer.C (sgmlOpenTag):
12062 * buffer.C (sgmlCloseTag): removed debug info.
12064 * buffer.h (sgmlOpenTag):
12065 * buffer.h (sgmlCloseTag): made public.
12067 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12069 * buffer.C (saveParamsAsDefaults):
12070 * lyx_cb.C (MenuLayoutSave): remove
12072 * LyXAction.C (init):
12074 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12076 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12078 * buffer.C (setPaperStuff): removed from here...
12080 * bufferparams.C (setPaperStuff): ... and moved there.
12082 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12086 * XFormsView.C: add support for drop-down completion
12088 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12090 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12093 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12098 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12100 * lyx_main.C: change ref to known bugs
12102 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12104 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12105 to work around older babel problems.
12107 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12109 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12111 2001-10-24 Juergen Vigna <jug@sad.it>
12113 * tabular-old.C (ReadOld): below variable changes reflected.
12115 * tabular.[Ch]: added ltType struct for longtable header/footer
12116 defines and changed all instances where they are used. Added
12117 future support for double top/bottom rows.
12119 2001-10-24 José Matos <jamatos@fep.up.pt>
12121 * buffer.h (docbookHandleCaption):
12122 * buffer.C (docbookHandleCaption): removed unused function.
12123 (makeDocBookFile): moved docbook supported version to v4.1.
12125 2001-10-24 José Matos <jamatos@fep.up.pt>
12128 * tabular.C (docbookRow): new function to export docbook code of a row.
12129 (DocBook): now honors the longtable flags.
12131 2001-10-23 José Matos <jamatos@fep.up.pt>
12134 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12135 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12137 * buffer.C (makeLinuxDocFile):
12138 (makeDocBookFile): reworked the preamble, more clean, and with
12139 support for lyx defined entities. Changed the document declaration
12140 to be more XML friendly.
12142 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12143 if we need to output XML that should be done with a filter.
12145 2001-10-22 Juergen Vigna <jug@sad.it>
12147 * sp_pspell.h (class PSpell): add alive function needed in the
12148 controller to see if the spellchecker could be started.
12150 2001-10-22 Juergen Vigna <jug@sad.it>
12152 * buffer.C (insertStringAsLines): modify the font for inserting
12153 chars in certain conditions by calling checkInsertChar(font).
12155 2001-10-19 Juergen Vigna <jug@sad.it>
12157 * text.C (workWidth): use getRow instead of wrong algorithm.
12158 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12160 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12165 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12167 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12169 * text.C (workWidth): do not search for the exact row when
12170 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12171 optimization for big documents.
12173 2001-10-18 Juergen Vigna <jug@sad.it>
12175 * text.C (workWidth): new function with added Inset * parameter.
12177 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12179 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12181 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12182 change return type of getColumnNearX.
12185 * text.C (changeRegionCase): use uppercase/lowercase instead of
12188 (rightMargin): simplify code by factoring out the uses of
12193 (appendParagraph): use Paragraph::size_type
12195 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12197 * vspace.C (asLatexString): add a missing break
12199 2001-10-15 Herbert Voss <voss@perce.de>
12201 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12203 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12205 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12208 2001-10-10 André Pönitz <poenitz@gmx.net>
12210 * lyxfunc.C: removed greek_kb_flag.
12212 2001-10-10 Herbert Voss <voss@perce.de>
12214 * lyx_main.C: delete global string help_lyxdir.
12216 2001-10-09 Herbert Voss <voss@perce.de>
12218 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12220 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12222 * lyx_main.C: added global string help_lyxdir.
12224 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12226 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12228 * lyxrc.C (set_font_norm_type): support iso8859-4
12230 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12232 * LaTeX.C (deplog): add another regex for MikTeX
12234 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12236 * lyxrc.C (set_font_norm_type): support iso8859-3
12238 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12240 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12242 * LaTeXFeatures.C: remove special case of french and index
12244 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12245 before \begin{document}). This solves several incompatibilities.
12247 2001-10-03 Garst Reese <reese@isn.net>
12249 * lyx_cb.C: change CheckTex error msg.
12251 2001-10-03 José Matos <jamatos@fep.up.pt>
12253 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12255 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12257 * .cvsignore: update
12259 * lyx_main.C (commandLineVersionInfo): use new style version info.
12261 * buffer.C (writeFile):
12263 (makeLinuxDocFile):
12264 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12266 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12268 * version.h: update to use stuff in version.C
12270 * version.C.in: new file. Contains version information determined
12271 at compile time. This is a merging of version.h and
12274 2001-10-03 Juergen Vigna <jug@sad.it>
12276 * BufferView_pimpl.C (update): don't change "dirty" status in
12279 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12281 * WorkArea.C (c-tor): re-position version string slightly.
12283 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12285 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12286 revert to previous code.
12288 WorkArea.[Ch]: (show, destroySplash): methods removed.
12290 WorkArea.C: rework code so that it's an amalgam of the codes before and
12291 after the splash screen was moved to WorkArea.
12293 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12296 * vspace.C (inPixels):
12299 * buffer.C (insertStringAsLines):
12300 (asciiParagraph): fix types to be large enough
12302 * lyxlex_pimpl.h: change member status from short to int
12304 * layout.h: fix type of endlabeltype
12307 * kbsequence.C (parse): change return type to string::size_type
12309 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12312 * Bullet.C (bulletSize):
12313 (bulletEntry): do not use short ints as parameters
12315 * BufferView2.C (insertLyXFile): change a char to an int.
12317 * WorkArea.C (WorkArea): remove unneeded floats in computation
12319 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12321 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12323 * paragraph.C (asString): Do not ignore newline/hfill chars when
12324 copying to the clipboard.
12326 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12328 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12329 after a multi-line inset.
12331 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12333 * paragraph.C (validate): Set NeedLyXFootnoteCode
12335 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12337 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12338 and decrease-error to decrease.
12340 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12342 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12343 it more readable (should be equivalent)
12345 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12347 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12349 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12351 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12352 of a cursor (row, etc.) after a character has been deleted
12353 (deleteEmptyParagraphMechanism): call the method above on _all_
12354 cursors held by the LyXText when a double space has been
12357 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12359 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12361 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12363 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12364 background. Use greyOut() and the new show() methods to toggle between
12365 the foreground and background. Add code to remove the splash after
12366 its initial showing.
12368 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12369 (create_forms): no longer call Dialogs::showSplash.
12371 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12373 * .cvsignore: add version_info.h
12375 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12377 * version_info.h.in: new file
12379 * Makefile.am: add version_info.h.in
12381 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12382 version_info.h instead of VERSION_INFO
12384 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12386 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12387 The ERT inset now returns string().
12389 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12391 * lyxtext.h, text.C (selectNextWord): renamed as
12392 selectNextWordToSpellcheck.
12394 * text.C (selectNextWordToSpellcheck): Modified to not select
12395 words inside an ERT inset.
12397 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12399 * lyx_cb.C (MenuLayoutSave): change a bit the question
12401 * sp_base.h: include <sys/types.h>
12403 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12405 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12407 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12409 * several files: fix typos in user-visible strings
12411 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12413 * text2.C (pasteSelection): do not set the selection, since it
12414 will be cleared later. Actually, the intent was to fix the way the
12415 selection was set, but I figured rmoving the code was just as good.
12417 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12419 * FontLoader.C (available): Check if font is available without
12422 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12424 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12426 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12428 * lyxrc.[Ch]: added display_graphics variable and associated code.
12430 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12432 * bufferparams.C (hasClassDefaults): new method. Returns true if
12433 the buffer parameters correspond to known class defaults
12435 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12437 * XFormsView.C (show): set minimum size to the main window.
12439 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12441 * text2.C (copySelection):
12443 * lyxfind.C (LyXReplace):
12444 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12445 LyXText::selectionAsString.
12447 * paragraph.C (asString): add "label" argument to the second form
12449 * text2.C (selectionAsString): add "label" argument and pass it to
12450 Paragraph::asString.
12452 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12454 * lyx_main.C (commandLineHelp): remove version information
12456 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12458 * lyx_main.C: add -version commandline option
12460 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12462 * paragraph.h: make the optional constructor arg required instead.
12463 some modifications to other files because of this.
12465 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12467 * lyxserver.C (C_LyXComm_callback): make it static
12469 * lyx_main.C (error_handler): make it static
12471 * lyx_gui.C (LyX_XErrHandler): make it static
12473 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12475 * WorkArea.C: make the extern "C" methods static.
12477 * Makefile.am (lyx_LDADD): simplify
12479 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12481 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12482 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12484 * LyXAction.C (init):
12485 * lyxfunc.C (dispatch): associated code removal.
12487 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12489 * lyxfont.h (isSymbolFont): shut off warning
12491 * text.C (setHeightOfRow):
12492 (getVisibleRow): fix crash with empty paragraphs which have a
12495 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12497 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12500 2001-09-04 José Matos <jamatos@fep.up.pt>
12503 * tabular.C (docbook): rename docBook method to docbook.
12505 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12507 * Makefile.am: add dependencies to main.o.
12509 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12511 * FontLoader.C (available): Return false if !lyxrc.use_gui
12513 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12515 * FontInfo.C (query):
12516 * converter.C (view):
12517 * importer.C (Import):
12518 * exporter.C (Export): Can not -> cannot.
12520 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12522 * BufferView_pimpl.C: allow to create index inset even if
12525 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12527 * buffer.C (getLists): replace boost::tie code with an explicit pair
12528 as boost::tie can break some compilers.
12530 * iterators.h: Added a std:: declaration to the return type of
12533 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12535 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12538 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12540 * iterators.[Ch]: New files. Provide paragraph iterators.
12542 * buffer.C (changeLanguage): Use paragraph iterators.
12543 (isMultiLingual): ditto
12545 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12547 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12549 * FontLoader.C: Support for cmr font.
12551 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12553 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12554 (available): New method.
12556 * FontInfo.C (getFontname): Use scalable fonts even when
12557 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12560 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12562 * converter.C (Formats::view): reverted! Incorrect fix.
12564 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12566 * converter.C (Formats::view): only output the -paper option
12567 if the dvi viewer is xdvi, thereby fixing bug #233429.
12569 2001-08-23 Herbert Voss <voss@perce>
12571 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12573 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12575 * Spacing.h (Spacing): Set space to Default on in the default
12578 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12580 * vc-backend.h (RCS::versionString): add RCS to version
12581 (CVS::versionString): add CVS to version
12583 * vc-backend.C (scanMaster): do not add CVS to version.
12584 (scanMaster): do not add RCS to version
12586 * lyxvc.C (versionString): new method
12588 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12590 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12592 * Spacing.C (set): initialize fval
12594 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12596 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12599 2001-08-16 Juergen Vigna <jug@sad.it>
12601 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12603 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12605 * BufferView_pimpl.C:
12608 * text2.C: setParagraph takes linespacing now
12610 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12612 * LyxAction.C: add internal LFUN_CITATION_INSERT
12614 * LyXView.C: actually apply fix
12616 * bufferlist.C: fix open non-existent file
12618 * lyxfind.C: fix indentation
12620 * lyxfunc.C: remove unneeded assert, fix typo
12622 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12624 * MenuBackend.C: use "Floatname List"
12626 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12628 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12629 when converting LaTeX layout to insetERT.
12630 Generate a non-collapsed float when reading old float
12632 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12634 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12637 2001-08-13 Juergen Vigna <jug@sad.it>
12639 * text.C (fill): return 0 instead of 20 as this seems to be the more
12642 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12644 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12647 2001-08-13 Juergen Vigna <jug@sad.it>
12649 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12651 (SearchBackward): comment out the unlocking of the inset_owner this
12652 should not be needed!
12654 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12656 * Many files: Remove inherit_language, and add latex_language
12658 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12659 collapsible insets.
12661 2001-08-10 Juergen Vigna <jug@sad.it>
12663 * text.C (prepareToPrint): fixed hfill-width in draw!
12665 * BufferView2.C (selectLastWord): save the selection cursor as this
12666 now is cleared in the function LyXText::clearSelection!
12668 2001-08-08 Juergen Vigna <jug@sad.it>
12670 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12671 BACKSPACE type functions.
12673 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12674 is only cutted from the document but not put in the cut-buffer, where
12675 still the old stuff should be.
12677 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12679 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12681 * tabular.C (SetWidthOfCell): fixed special case where the width
12683 (LeftLine): handle '|' in align_special.
12685 (LeftAlreadyDrawed): ditto
12686 (SetWidthOfCell): ditto
12688 2001-08-07 Juergen Vigna <jug@sad.it>
12690 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12692 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12694 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12695 * lyxlex.[hC]: ditto
12697 2001-08-06 Juergen Vigna <jug@sad.it>
12699 * text.C (getVisibleRow): fix up row clearing a bit.
12701 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * minibuffer.C: make sure the X server sees the changes in the input.
12705 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * paragraph.C (getFont): split into...
12708 (getLabelFont): this
12709 (getLayoutFont): and this
12710 * paragraph_pimpl.C (realizeFont): calling this
12712 * text2.C (getFont): split into...
12713 (getLayoutFont): this
12714 (getLabelFont): and this
12715 (realizeFont): all three calling this
12717 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12720 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12722 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12724 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12726 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12727 layouts from the Quote inset insertion.
12729 2001-08-03 Juergen Vigna <jug@sad.it>
12731 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12733 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12734 only if status not is already CHANGED_IN_DRAW (second level).
12736 * text.C (draw): don't set the need_break_row when inside an
12739 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12741 * buffer.C (parseSingleLyXformat2Token): handle more latex
12744 * bufferview_funcs.[hC]: change function names to
12745 begin with small char, adjust other files.
12747 2001-08-02 André Pönitz <poenitz@gmx.net>
12750 BufferView_pimpl.C: remove broken special code for math-greek
12752 2001-08-02 Juergen Vigna <jug@sad.it>
12754 * BufferView_pimpl.C (update): redone this function so that we
12755 update the text again if there was a CHANGE_IN_DRAW.
12757 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12758 (drawFromTo): added a new internal bool which is used by draw() and
12760 (general): some cursor drawing problems fixed.
12762 2001-08-01 Juergen Vigna <jug@sad.it>
12764 * lyxfind.C (LyXFind): fixed
12765 (SearchForward): ditto
12766 (SearchBackward): ditto
12768 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12769 spurius drawing of the cursor in the main area.
12771 * text2.C (status): small fix which could lead to a segfault!
12772 (clearSelection): remove unneeded BufferView param.
12774 2001-08-01 André Pönitz <poenitz@gmx.net>
12776 * lyxfunc.C: small change due to changed mathed interface
12778 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12780 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12782 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12784 * lyxfunc.c: fail gracefully if file doesn't exist
12789 * BufferView_pimpl.C: IsDirWriteable() proto changed
12791 * LyXView.C: fix updateWindowTitle() to store the last title
12793 2001-07-31 Juergen Vigna <jug@sad.it>
12795 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12796 the font (wrong since using of Paragraph::highestFontInRange).
12798 * paragraph.C (highestFontInRange): added a default_size parameter.
12800 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12801 (setHeightOfRow): reformat
12803 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * converter.[hC] + affected files: move to (inital-char)lowercase
12808 * ParagraphParameters.C (ParagraphParameters): remove commented code
12810 * PainterBase.[Ch]: remove commented code
12812 * LaTeXFeatures.h: add "bool floats" for float.sty
12814 * LaTeXFeatures.C (LaTeXFeatures): init floats
12815 (require): handle float
12816 (getPackages): do it with floats
12818 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12820 * BufferView_pimpl.C (Dispatch): improve handling of
12821 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12823 * commandtags.h: #include lyxfont.h here temporarily to avoid
12826 * bufferlist.h: include LString.h here.
12828 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12830 * text2.C (getStringToIndex): new method.
12832 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12834 * *: Reduced header file dependencies all over.
12836 2001-07-30 Baruch Even <baruch@lyx.org>
12838 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12840 2001-07-29 Baruch Even <baruch@lyx.org>
12842 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12844 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12846 * ParameterStruct.h (endif): add a default constructor to make
12847 sure that all variables is initialized.
12849 * ParagraphParameters.C (ParagraphParameters): adjust
12851 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12853 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12854 index; also, check that there is something to index, and that it
12855 does not span over several paragraphs.
12856 (doubleClick): use WHOLE_WORD_STRICT for double click.
12858 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12860 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12863 2001-07-26 Baruch Even <baruch@lyx.org>
12865 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12866 an InsetFig figure, backwards compatible reading of old figure code.
12868 2001-07-27 Juergen Vigna <jug@sad.it>
12870 * text2.C: font.realize function adaption.
12872 * text.C (draw): add a warnings lyxerr text if needed.
12874 * layout.C: font.realize function adaption.
12876 * language.C: add inherit_language and implement it's handlings
12878 * bufferview_funcs.C (StyleReset): remove language parameter from
12879 font creation (should be language_inherit now).
12881 * bufferparams.C (writeFile): handle ignore_language.
12883 * paragraph.C (getFontSettings): the language has to be resolved
12884 otherwise we have problems in LyXFont!
12886 * lyxfont.C (lyxWriteChanges): added document_language parameter
12887 (update): removed unneeded language parameter
12889 * paragraph.C (validate): fixed wrong output of color-package when
12890 using interface colors for certain fonts in certain environments,
12891 which should not seen as that on the final output.
12893 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12895 * BufferView_pimpl.C:
12900 * LyXAction.C: add thesaurus support
12903 * lyxfind.C: add "once" parameter, for thesaurus, to not
12904 move to the next match
12906 2001-07-26 Juergen Vigna <jug@sad.it>
12908 * lyxfont.C (realize): honor ignore_language too!
12911 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12913 * text.C (draw): one place more for ignore_language to not draw
12916 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12918 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12920 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12923 the minipage conversion problem.
12925 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12927 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12930 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12932 * BufferView.h: don't forward declare WorkArea
12934 * BufferView.C: don't include WorkArea.h
12936 2001-07-25 André Pönitz <poenitz@gmx.net>
12940 * lyxfunc.C: new LFUN 'math-space'
12942 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12944 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12946 * text2.C (toggleInset): call open/close
12948 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12950 * lyxfunc.C (dispatch): add debug for the disabled case
12952 * font.C (buttonText): make similar to rectText
12954 * buffer.C (readInset): comment out parsing of insetlist and
12957 * PainterBase.C (rectText): small correction
12959 * BufferView_pimpl.C: comment out insettheorem and insetlist
12960 * LyXAction.C: ditto
12961 * commandtags.h: ditto
12963 2001-07-24 Juergen Vigna <jug@sad.it>
12965 * text.C (draw): honor the ignore_language.
12967 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12969 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12971 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12974 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12976 * lyxtext.h: remove unused (and unimplemented) methods
12978 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12980 * text.C (getVisibleRow): honor background color
12983 * Painter.h: remove default color argument for fillRectangle
12985 * text.C (backgroundColor): new method
12987 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * text.C (getVisibleRow): adjust
12991 * font.[Ch] (rectText): new method, metrics
12992 (buttonText): new method, metrics
12994 * PainterBase.[hC]: make rectText and buttonText always draw and take
12997 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12999 * ToolbarDefaults.C (read):
13000 * MenuBackend.C (read): allow escaping in all strings
13002 * BufferView_pimpl.C (insertAndEditInset): new method.
13003 (Dispatch): use insertAndEditInset whenever appropriate.
13005 * BufferView_pimpl.C (insertNote): removed
13007 * BufferView_pimpl.C (smartQuote): new method, moved from
13008 BufferView; if an insetquote cannot be inserted, insert a '"'
13011 * BufferView2.C: remove insertCorrectQuote();
13013 * lyxfunc.C (getStatus): Add support for all remaingin
13014 inset-insert lfuns.
13016 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13018 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13019 command (necessary to pass " as parameter of self-insert.
13021 * text.C (selectWordWhenUnderCursor):
13022 (selectWord): add word_location parameter
13023 (selectWordWhenUnderCursor): same + remove special code for word
13025 (selectNextWord): use kind() to guess type of insetspecialchar,
13028 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13029 (insertErtContents): create ert insets as collapsed.
13030 (readInset): better compatibility code for Info inset.
13032 2001-07-20 Juergen Vigna <jug@sad.it>
13034 * lyxfunc.C (dispatch): use always LyXFind now!
13036 * text2.C (init): add a reinit flag so that the LyXText can be
13037 reinited instead of deleted and reallocated (used in InsetText).
13039 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13045 2001-07-18 Juergen Vigna <jug@sad.it>
13047 * text.C (selectNextWord): handle insets inside inset by calling
13048 always the bv->text functions so that we can go up the_locking_inset!
13050 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13051 in strange locations when inside an inset!
13053 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13054 handling to include insets.
13056 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13058 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13060 * LyXAction.C (init):
13062 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13063 LIGATURE_BREAK, since the name is so stupid.
13065 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13067 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13070 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13072 * sp_form.[Ch]: remove.
13074 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13076 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13079 * src/buffer.C (readInset): ditto.
13081 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13083 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13084 menuSeparator(), endOfSentenceDot(), ldots() and
13085 hyphenationPoint(), which are therefore removed.
13086 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13088 * LyXAction.C (init):
13089 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13091 * paragraph.C (getWord): removed.
13093 * BufferView_pimpl.C (Dispatch): use last word or selection for
13094 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13096 * lyx_main.C (queryUserLyXDir): do not ask before creating
13097 user_dir, except if it has been named explicitely.
13099 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13101 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13102 a document of zero size.
13104 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13106 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13107 approriately in the c-tor and in require().
13108 (getPackages): output the appropriate LaTeX for natbib support.
13110 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13111 variables "use_natbib" and "use_numerical_citations" when reading the
13113 (readInset): read the various natbib cite commands.
13114 (validate): white-space change.
13116 * bufferparams.[Ch]: new variables "bool use_natbib" and
13117 "bool use_numerical_citations".
13118 (writeFile): output them in the LyX file.
13120 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13122 * lyxfunc.C (getStatus): add support for all the inset insertion
13125 * text2.C (insertInset):
13126 * paragraph.C (insetAllowed):
13127 * BufferView_pimpl.C (insertInset): update to take in account the
13128 renaming of insertInsetAllowed
13130 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13132 * text2.C (getInset): new method. returns inset at cursor position.
13134 * BufferView_pimpl.C (Dispatch): changes because of this.
13136 * LyXAction.C (init): rename open-stuff to inset-toggle.
13138 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13140 * text2.C (toggleInset): renamed from openStuff; use
13143 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13145 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13147 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13149 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13151 * buffer.C (readLyXformat2): Add filename to the error dialog
13153 2001-07-18 Juergen Vigna <jug@sad.it>
13155 * tabular.C (GetCellNumber): put an assert here instead of the check!
13157 2001-07-17 Juergen Vigna <jug@sad.it>
13159 * BufferView_pimpl.C (toggleSelection): adapted too.
13161 * text.C (selectNextWord): adapted for use with insets.
13162 (selectSelectedWord): ditto
13164 2001-07-17 Juergen Vigna <jug@sad.it>
13166 * sp_spell.C (PSpell): fix initialitation order.
13168 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13170 * paragraph.C: spacing
13172 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13174 * sp_spell.C: repair language selection for pspell
13176 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13178 * lyxfunc.h: change more methods to begin with lower char.
13180 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13182 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13183 for unknown layouts.
13185 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13187 * buffer.C (readLyXformat2): Generate an error dialog if there are
13190 2001-07-16 Juergen Vigna <jug@sad.it>
13192 * sp_spell.C: always compile ISpell part.
13194 * lyxrc.C: added use_pspell entry and it's handling.
13196 2001-07-13 Juergen Vigna <jug@sad.it>
13198 * sp_spell.C: removed double includes.
13200 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13202 Consistent use of Lsstream.h:
13203 * Lsstream.h: added using std::stringstream for consistencies sake.
13205 * buffer.C: removed using std::stringstream
13207 * lyxfont.C (stateText):
13208 * paragraph.C (asString):
13209 * text.C (selectNextWord, selectSelectedWord):
13210 * text2.C (setCounter):
13211 * vspace.C (asString, asLatexString):
13212 std::ostringstream -> ostringstream.
13214 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13216 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13217 * commandtags.h: add LFUN_HELP_ABOUTLYX
13218 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13220 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13222 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13224 * lyx_gui_misc.C: remove spellchecker
13225 * lyxfunc.C: showSpellchecker
13227 * sp_ispell.h: added
13228 * sp_pspell.h: added
13229 * sp_spell.C: added
13230 * sp_form.[Ch]: removed
13231 * spellchecker.[Ch]: removed
13233 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13235 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13237 (simpleTeXSpecialChars): Simply print the input character without
13238 any special translation if pass_thru is set.
13240 * layout.h: Added bool pass_thru to layout class for being able to
13241 implement pass through of a paragraph for Literate Programming.
13243 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13244 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13245 * layout.C (Read): add "passthru" to list of layout tags and add
13246 code to set the pass_thru boolean when it is read.
13248 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * trans_decl.h: remove allowed from KmodInfo
13252 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13253 remove allowed code
13256 * paragraph_pimpl.C (erase): use boost::prior
13258 * Painter.C (text): use data() instead of c_str() when length is
13260 * WorkArea.C (putClipboard): ditto
13261 * font.h (width): ditto
13263 * BufferView2.C: use it-> instead of (*it). for iterators
13265 * paragraph_pimpl.C: ditto
13266 * paragraph.C: ditto
13267 * minibuffer.C: ditto
13268 * language.C: ditto
13270 * encoding.C: ditto
13271 * counters.C: ditto
13272 * converter.C: ditto
13274 * Variables.C: ditto
13275 * TextCache.C: ditto
13276 * MenuBackend.C: ditto
13277 * LyXAction.C: ditto
13279 * FloatList.C: ditto
13280 * DepTable.C: ditto
13281 * ColorHandler.C (LyXColorHandler): ditto
13283 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13285 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13287 * text2.C (openStuff): reintroduce this method (which had been
13288 nuked in NEW_INSETS frenzy).
13290 * lyxfunc.C (Dispatch): when an action has not been handled, use
13291 its name in the error message, not its number.
13293 * paragraph.C (inInset): change method name to begin with lowercase.
13296 * text2.C: updates because of this.
13298 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13300 * ToolbarDefaults.C (add): add spaces in error message
13302 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13305 (readLyXformat2): rename return_par to first_par, use lyxlex's
13306 pushToken and remove the manual push handling.
13307 (parseSingleLyXformat2Token): add another ert comp. variable:
13308 in_tabular, rename return_par to first_par. handle newlines better
13310 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13312 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13314 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13316 * text2.C (getParFromID): removed
13318 * buffer.C (getParFromID): new method moved form lyxtext.
13319 * BufferView2.C (insertErrors): adjust
13320 (setCursorFromRow): adjust
13321 * BufferView_pimpl.C (restorePosition): adjust
13322 * lyxfunc.C (Dispatch): adjust
13323 * undo_funcs.C (textUndo): adjust
13325 (textHandleUndo): adjust
13326 (textHandleUndo): adjust
13328 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13330 * buffer.C: up' the LYX_FORMAT
13332 * lyxfont.h: turn NO_LATEX on as default
13334 * buffer.C (insertErtContents): new methods of tex style compability.
13335 (parseSingleLyXformat2Token): use it several places.
13336 * tabular.C (OldFormatRead): and here
13338 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * text2.C: remove some commented code.
13343 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13344 * trans.C: changes because of the above.
13346 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13348 * text2.C (setCounter): Fix counters bug with bibliography layout.
13350 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13352 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13353 own member functions
13354 (simpleTeXSpecialChars): ditto
13356 2001-07-06 Juergen Vigna <jug@sad.it>
13358 * a lot of files: changed the access to LyXText::status and the
13359 call of undo-functions.
13361 * undo.[Ch]: added a inset_id to the undo informations.
13363 * undo_funcs.[Ch]: added and moved here all undo functions.
13365 * lyxtext.h: give the status enum a weight, made status_ a private
13366 variable and made accessor functions for it, removed the whole bunch
13367 of undo-functions as they are now in their own file, make some
13368 functions publically available. Added function ownerParagraph with
13371 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13372 made InInset() a const function, added getParFromID() function.
13374 * buffer.[Ch]: added const version for inset_iterator functions,
13375 added getInsetFromID() function.
13377 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13378 changed undo functions for new version.
13380 2001-07-05 Juergen Vigna <jug@sad.it>
13382 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13383 unknow mechanism does not call the proper constructor but only this
13384 one also if I request the other!?
13386 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13388 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13390 * text2.C (LyXText): use initialization lists.
13392 * lyxtext.h (Selection): initialize set_ and mark_
13393 (init): remove method
13395 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13397 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13399 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13401 * screen.[Ch]: change method names to begin with lowercase
13403 * BufferView_pimpl.C (updateScrollbar): simplify further and
13404 hopefully make it a bit faster.
13406 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13408 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13409 calling directly xforms functions.
13411 * Painter.C (Painter):
13412 * lyx_cb.C (MenuWrite):
13413 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13416 * lyx_gui.C: remove bogus guiruntime extern declaration.
13418 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13420 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13422 (redoDrawingOfParagraph): ditto
13423 (redoParagraphs): ditto
13424 (cutSelection): don't create a object for CutAndPaste use the
13425 static method directly
13426 (pasteSelection): ditto
13428 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13431 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13433 * modifications to some other files because of this.
13435 * Makefile.am (lyx_SOURCES): add XFormsView
13437 * XFormsView.[Ch]: new files
13439 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13440 the main window. Move the gui dependent stuff to XFormsView
13442 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13444 * tabular.C (GetCellInset): update cur_cell also in the row/col
13445 version of this function.
13447 * lyxfunc.C: no need to include figure_form.h here.
13453 * lyxvc.C: no need to include forms.h here.
13455 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13457 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13459 * lyxfunc.C (Dispatch):
13461 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13462 constructor argument.
13464 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13466 * paragraph.C (Paragraph): dont't clear, and just set layout.
13467 (makeSameLayout): use params's copy contructor.
13469 * ParagraphParameters.[Ch] (makeSame): delete method
13471 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13473 * Variables.[Ch]: fix indentation, rename set to isSet
13475 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13477 * lyxfunc.C (Dispatch): fix typo
13479 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13481 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13484 * bufferlist.C: include assert.h for emergencyWrite().
13486 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13488 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13489 give up at last (bug #425202) !
13491 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13497 * spellchecker.C: strip spellchecker options and bring up
13498 preferences tab instead
13500 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13502 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13503 the istringstream constructor
13505 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * paragraph.C (getLayout): fix return value
13509 * paragraph.h: do not declare getLayout as inline.
13511 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13513 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13515 * lyxcursor.h (operator<): new func
13516 (operator>): new func
13517 (operator>=): new func
13518 (operator<=): new func
13520 * text.C (changeCase): use selection.start and selection.end
13521 (changeRegionCase): require from to be <= to. Require par to be a
13524 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13526 2001-06-27 Juergen Vigna <jug@sad.it>
13528 * text.C (cursorLeftOneWord): changed to return the cursor and added
13529 overlay with BufferView * parameter which calls this one.
13531 (selectWord): use new getWord function.
13532 (changeCase): renamed from changeWordCase as and extended to work
13533 also on selections.
13535 * lyxtext.h: added enum word_location
13537 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13538 changeCase as this operates now also on selections.
13540 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13542 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13544 * many files: send debug output to Debug::INFO instead of
13547 * converter.C (View):
13549 (Move): send debug output to Debug::FILES instead of console.
13551 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13553 * lyxfunc.C (getStatus): use func_status
13555 * func_status.h: new header, describing the results of
13556 LyXFunc::getStatus;
13558 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13561 2001-06-25 The LyX Project <jug@sad.it>
13563 * buffer.C (sgmlOpenTag):
13565 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13567 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13569 * text2.C: remove some dead code
13571 * tabular.C (GetCellInset): store the last cell checked (gotten)
13573 * tabular.h: add the helper for the speedup
13575 * lyxtext.h: remove some dead code
13577 2001-06-26 The LyX Project <Asger>
13579 * paragraph.C: Change export to LaTeX of alignment to
13580 \begin{center} and family for better roundtrip work with reLyX.
13582 * Tune the math drawing a bit.
13584 2001-06-25 The LyX Project <Asger>
13586 * LColor.C (LColor): New color for math background. New color
13589 2001-06-25 The LyX Project <jug@sad.it>
13591 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13593 * lyxfunc.C (Open):
13594 * bufferlist.C (newFile): do not restrict to files ending with
13597 * BufferView_pimpl.C (MenuInsertLyXFile):
13599 2001-06-24 The LyX Project <jug@sad.it>
13601 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13604 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13606 * lyxtext.h: rename most methods to begin with a small char.
13607 Lots of changes because of this.
13609 * paragraph.C (Paragraph): do not call fitToSize
13610 (erase): call Pimpl::erase
13611 (insertChar): call Pimpl::insertChar
13612 (insertInset): call Pipl::insertInset
13613 (breakParagraph): do not call fitToSize
13614 (breakParagraphConservative): do not call fitToSize
13615 (fitToSize): remove method
13617 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13619 2001-06-24 The LyX Project <Asger>
13621 * Fix Qt compilation^2
13623 2001-06-24 The LyX Project <jug@sad.it>
13625 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13626 depthHook(getDepth()-1).
13629 * ParagraphParameters.h:
13630 * ParameterStruct.h: change type of depth to unsigned int ==
13631 depth_type. Many adaptations to other files before of that.
13633 2001-06-24 The LyX Project <Asger>
13635 * Fix Qt compilation.
13637 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13639 * paragraph.h: renamed several methods to begin with small letter.
13640 several changes to many parts of the code because of this.
13642 2001-06-23 The LyX Project <jug@sad.it>
13644 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13645 rewritten to discard all double spaces when KeepEmpty is off
13646 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13647 to only handle newlines but not fiddle with spaces and friends.
13649 * lyxfunc.C (MenuNew): when doing 'new from template', use
13650 template_path as default directory
13652 2001-06-23 The LyX Project <Asger>
13654 * Clean-up of header file includes all over
13655 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13657 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13659 * paragraph.h: renamed from lyxparagraph.h
13661 2001-06-23 Asger <lyx@violet.home.sad.it>
13663 * Buffer.h: Removed Buffer::resize
13664 * BufferList.h: Removed BufferList::resize
13665 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13666 the document lazily when we change the width, or the font settings.
13668 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13670 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13672 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13674 * buffer.h: remove out of date comment
13676 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13679 * screen.C: fix "theoretical" GC leak
13681 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13683 * LaTeX.C (scanAuxFile):
13684 (deplog): remove trailing \r when reading stream (useful under
13687 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13689 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13690 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13691 and BufferView::theLockingInset(Inset*), so should use them and not
13692 access bv_->text->the_locking_inset directly.
13694 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13696 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13699 * tex-defs.h: remove old unused file
13701 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13703 * BufferView_pimpl.C: fix typo, remove minibuffer message
13704 when buffer has loaded
13706 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13708 * lyxfunc.C (Dispatch): use stringstream
13709 (MenuNew): use stringstream
13710 (Open): use stringstream
13712 * importer.C (Import): use stringstream
13714 * bufferview_funcs.C (CurrentState): use stringstream
13716 * LaTeX.C (run): use stringstream
13718 * BufferView_pimpl.C (savePosition): use stringstream
13719 (restorePosition): use stringstream
13720 (MenuInsertLyXFile): use stringstream
13722 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13735 * vspace.C: removed // -*- C++ -*- as first line.
13738 * version.h: added // -*- C++ -*- as first line.
13740 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13742 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13744 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13747 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13749 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13752 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13754 * gettext.C: include LString.h even when --disable-nls is on.
13756 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13758 * converter.h (Get): changed argument type from int to
13759 FormatList::size_type to avoid unnecessary conversion.
13761 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13764 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13766 * gettext.h: include LString.h even when --disable-nls is on.
13768 2001-06-07 Juergen Vigna <jug@sad.it>
13770 * text.C (BreakAgain): subst spaces with tabs.
13772 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13773 (resizeInsetsLyXText): set force on resizeLyXText.
13775 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13777 * gettext.h (gettext_init):
13778 (locale_init): use a real definition instead of a macro
13780 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13782 * Bufferview_pimpl.C:
13784 * LColor.C: further lcolor tidies
13786 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13788 * BufferView_pimpl.C (updateScrollbar): simplify.
13790 * BufferView2.C: don't include insets/insetinfo.h, change
13791 prototype for insertInset and call the Pimpl version. let
13792 updateInset call Pimpl version.
13794 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13795 gotoInset to BufferView::Pimpl
13797 2001-06-01 Juergen Vigna <jug@sad.it>
13799 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13800 inside a LockingInset (is the update needed at all?).
13802 2001-05-31 Juergen Vigna <jug@sad.it>
13804 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13805 here not the old one otherwise how should we compare it afterwards
13808 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13813 * FontInfo.C: bring C functions into global namespace when
13816 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13818 * LString.h: make sure config.h has been loaded before LString.h.
13820 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13821 (one for each char read by EatLine!).
13823 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13826 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13828 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13829 to the same as the par we break from
13831 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13835 * MenuBackend.C (expand): also create menu entries for wide
13836 versions of the floats.
13838 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13840 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13842 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13843 frontends/Makefile.am
13849 * tabular.C (getTokenValue): add std::
13851 * tabular-old.C (getTokenValue): add std::
13852 (getTokenValue): ditto
13853 (getTokenValue): ditto
13855 * screen.C (ToggleSelection): adjust
13857 * lyxtext.h: put selection cursors inside a Selection struct.
13859 * lyxfunc.C (moveCursorUpdate): adjust
13861 * lyxfont.C (latexWriteStartChanges): add std::
13863 * lyxfind.C: adjust
13865 * font.h: delete with(char const *, LyXFont const &)
13867 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13869 * FontInfo.C (getFontname): add std::
13871 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13872 (workAreaButtonPress): adjust
13873 (tripleClick): adjust
13875 (moveCursorUpdate): adjust
13878 * BufferView2.C (gotoInset): adjust
13880 2001-05-30 Juergen Vigna <jug@sad.it>
13882 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13883 to check pspell I add this as default as I now have new pspell
13884 libraries and they seem to use this.
13886 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13888 * text2.C (CutSelection): make the cursor valid before the call to
13891 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13893 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13894 relied on 0 terminated strings and other horrors. Bug found due to
13895 the new assert in lyxstring!
13897 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13900 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13905 * lyxfunc.C (processKeySym): change method of getting to the
13908 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13909 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13910 * BufferView_pimpl.[Ch]: here as private methods.
13912 2001-05-28 Juergen Vigna <jug@sad.it>
13914 * text.C (SetHeightOfRow): added the update() call again as it is
13915 needed to initialize inset dimensions!
13917 2001-05-16 Juergen Vigna <jug@sad.it>
13919 * text2.C (SetCharFont): Add new function with BufferView * and
13920 bool toggleall parameters for setting insets internal fonts.
13921 (SetFont): Freeze the undo as we may change fonts in Insets and
13922 all this change should be inside only one Undo!
13924 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13925 setting font's in insets as for them we have the SetFont function!
13927 2001-05-15 Juergen Vigna <jug@sad.it>
13929 * text2.C (ClearSelection): to be sure we REALLY don't have any
13932 * tabular.C (TeXCellPreamble): fixed the left border problem for
13935 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13937 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13940 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13942 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13943 LFUN_BREAKPARAGRAPH.
13945 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13946 help test to "internal only", similar for LFUN_INSERT_URL
13948 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13949 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13950 auto_region_delete and deadkeys.
13952 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13955 * LColor.C: remove some dead entries, tidy a little
13957 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13959 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13961 (Dispatch): implement LFUN_ESCAPE
13963 * commandtags.h: add LFUN_ESCAPE
13965 * LyXAction.C (init): add entry for LFUN_ESCAPE
13967 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13968 Remove commented code.
13969 (insertNote): moved here
13970 (open_new_inset): moved here
13972 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13975 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13977 * kbmap.C (findbinding): clean it up and make it work correctly.
13979 * lyx_main.C (init): do not pass argc and argv as parameters
13981 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13983 * buffer.C: fix path for OS/2 & Win32
13987 * lyx_main.C: Added os:: class.
13989 * os2_defines.h: update
13991 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13993 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13994 better by trying again with reduced state.
13996 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13998 * lyxrc.C (read): print error about invalid key sequence only when
13999 debugging (because not all latinX keysyms are known to some X
14002 * kbsequence.C (getiso): add a few std:: qualifiers
14003 (getiso): comment out extra return statement.
14005 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14007 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14009 (Dispatch): enhance the accent inset a bit. (not perfect)
14011 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14013 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14015 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14017 * bufferlist.C (emergencyWrite): fix assert() call
14019 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14021 * text.C (InsertChar): Added trivial patch to only send the "you
14022 can not do multiple spaces this way" message once during a
14025 2001-05-08 Baruch Even <baruch@lyx.org>
14027 * Makefile.am: Changed order of libraries to get LyX to link properly
14028 with the gnome frontend.
14030 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * LaTeXFeatures.h: add a std:: qualifier
14034 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14036 * paragraph.C (String): use stringstream
14038 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14040 * paragraph.C (writeFile): remove footflag arg
14042 * buffer.C (makeLaTeXFile): use stringstream
14043 (latexParagraphs): remove footnot gurba
14045 * LaTeXFeatures.C (getPackages): use stringstream
14046 (getMacros): likewise
14047 (getTClassPreamble): likewise
14048 (getFloatDefinitions): new method
14050 * paragraph.C (writeFile): reindent
14053 * WorkArea.h: revert the xpos + etc changes.
14055 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14057 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14059 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14060 (pasteSelection): likewise
14061 * text2.C (CreateUndo): likewise
14063 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14065 * minibuffer.C (peek_event): temporarily reduce the functionality
14066 of the minibuffer (to allow args on lfuns)
14068 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14069 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14071 * buffer.C (readInset): add compability reading of old float
14072 lists, add reading of new style float list.
14073 (readInset): avoid reevaluation of inscmd.getCmdName()
14074 (getLists): reindent
14076 * MenuBackend.C (MenuItem): implement parsing of
14077 md_floatlistinsert and md_floatinsert.
14078 (expand::LastFiles): move initalizaton of iterators out of loop,
14079 avoid reevaluation.
14080 (expand::Documents): introduce typdedef vector<string> Strings,
14082 (expand::ExportFormats): introduce typedef vector<Format const *>
14083 Formats, and use it.
14084 (expand): implement FloatListInsert and FloatInsert.
14086 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14087 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14088 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14090 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14092 (Dispatch::LFUN_FLOAT_LIST): implement
14094 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14096 * LaTeX.C (run): Fix problem with --export code.
14098 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14100 * BufferView.[Ch] (workarea): removed.
14101 (getClipboard) new method; wrapper for workarea()->getClipboard()
14103 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14106 * WorkArea.h (width, height, xpos, ypos): These methods all
14107 returned the dimensions of the work_area sub-area of WorkArea,
14108 resulting in a position error if the WorkArea were resized. Now
14109 return the dimensions of the entire WorkArea.
14111 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14113 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14115 * LaTeX.C (deplog): correct the syntax of regex reg1
14117 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14119 * undo.C: remove !NEW_INSETS cruft
14121 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14123 * text2.C: remove !NEW_INSETS cruft
14125 * text.C: remove !NEW_INSETS cruft
14127 * tabular.C: remove !NEW_INSETS cruft
14129 * spellchecker.C: remove !NEW_INSETS cruft
14131 * lyxtext.h: remove !NEW_INSETS cruft
14133 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14135 * lyxfunc.C: remove !NEW_INSETS cruft
14137 * lyxfind.C: remove !NEW_INSETS cruft
14139 * lyx_cb.C: remove !NEW_INSETS cruft
14141 * figureForm.C: remove !NEW_INSETS cruft
14143 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14145 * buffer.[Ch]: remove !NEW_INSETS cruft
14147 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14149 * CutAndPaste.C: remove !NEW_INSETS cruft
14151 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14153 * BufferView2.C: remove !NEW_INSETS cruft
14155 * BufferView.h: remove !NEW_INSETS cruft
14157 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14159 * Lsstream.h: include LString.h before the sstream headers to
14160 fix problem with gcc 2.95.3 and lyxstring
14162 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14164 * lyx_main.C: add using directives when needed for C functions
14165 declared in std:: namespace.
14167 2001-04-27 Juergen Vigna <jug@sad.it>
14169 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14170 (SetHeightOfRow): comment out the update call should not be needed!
14172 2001-04-13 Juergen Vigna <jug@sad.it>
14174 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14175 (LyXTabular): tried to minimize operator= operations (and realized
14176 hopfully Lars wish).
14178 2001-04-27 Juergen Vigna <jug@sad.it>
14180 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14182 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14184 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14186 * buffer.C (readInset): hack to make listof algorithm work
14188 * BufferView_pimpl.C: hack to make listof algorithm work
14190 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14192 * LyXAction.C: removed all !NEW_INSETS cruft
14193 (init): moved lfun_item in method
14195 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14197 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14199 * BufferView2.C (theLockingInset): white space.
14201 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14203 * minibuffer.C: include <iostream>
14205 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14207 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14209 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14211 * text.[Ch] (TransposeChars): new method
14213 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14215 * call message directly through LyXView instead of through LyXFunc
14216 * BufferView2.C: adjust
14217 * BufferView_pimpl.C: adjust
14218 * FontLoader.C: adjust
14220 * bufferview_funcs.C: adjust
14221 * converter.C: adjust
14222 * figureForm.C: adjust
14223 * importer.C: adjust
14225 * lyx_gui_misc.C: adjust
14226 * lyxfunc.C: adjust
14229 + more files in subdirs
14231 * lyxparagraph.h (size): move up int file
14234 * adjust all uses of Assert to lyx::Assert.
14236 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14237 lyxfunctional in namespace lyx
14238 * layout.C (hasLayout): ditto
14241 (delete_layout): ditto
14242 (NumberOfClass): ditto
14243 * converter.C (GetFormat): ditto
14248 * bufferlist.C (getFileNames): ditto
14249 (emergencyWriteAll): ditto
14252 * MenuBackend.C (hasSubmenu): ditto
14255 * BufferView_pimpl.C (getInsetByCode): ditto
14257 2001-04-18 Juergen Vigna <jug@sad.it>
14259 * vspace.C (asLatexString): fixed the 100% problem.
14261 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14263 * lyxfunc.C (Dispatch):
14265 * minibuffer.h: add a few std:: qualifiers
14267 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14269 * minibuffer.[Ch]: reimplement so that commands is initiated and
14270 run from lyxfunc, simplified som handling, and made the completion
14271 and history code for complete. wip.
14273 * lyxfunc.C (processKeySym): call message
14274 (miniDispatch): new temporary method
14275 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14276 (LFUN_MESSAGE): implement
14277 (LFUN_MESSAGE_PUSH): implement
14278 (LFUN_MESSAGE_POP): implement
14279 (initMiniBuffer): the initial/defualt minibuffer message.
14281 * lyxfont.[Ch]: inline some more getters
14283 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14285 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14287 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14288 (AutoSave): use LFUN_MESSAGE
14289 (Reconfigure): ditto
14291 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14293 * figureForm.C: use LFUN_MESSAGE
14295 * converter.C (runLaTeX): use LFUN_MESSAGE
14297 * bufferview_funcs.C: use LFUN_MESSAGE
14299 (changeDepth): ditto
14301 * bufferparams.h: use boost::
14303 * bufferlist.h: inherit privately from noncopyable
14305 * bufferlist.C (loadLyXFile): remove some commented code.
14307 * buffer.C (runChktex): use LFUN_MESSAGE
14309 * ShareContainer.h: inherit privately from noncopyable
14311 * ParagraphParameters.[hC] (depth): inline it.
14313 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14315 (message): new method
14316 (messagePush): ditto
14317 (messagePop): ditto
14318 (show): init minibuffer
14319 (showState): direct call
14321 * LaTeX.[Ch]: inherit privately from noncopyable
14322 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14323 instead of WriteStatus.
14325 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14327 * BufferView_pimpl.C (buffer): don't init minibuffer
14328 (workAreaButtonPress): use LFUN_MESSAGE
14329 (workAreaButtonRelease): ditto
14330 (savePosition): ditto
14331 (restorePosition): ditto
14332 (MenuInsertLyXFile): ditto
14333 (workAreaExpose): don't init minibuffer
14334 (update): remove commented code, simplify
14336 * BufferView2.C (openStuff): use LFUN_MESSAGE
14337 (toggleFloat): ditto
14340 (copyEnvironment): ditto
14341 (pasteEnvironment): ditto
14346 (updateInset): remove some commented code
14348 * lastfiles.h: inherit privately from noncopyable
14351 * lyx_main.h: ditto
14353 * lyxlex_pimpl.h: ditto
14355 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14356 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14357 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14359 * LyXAction.h: inherit privately from noncopyable, add methods
14360 func_begin, func_end, returning iterators to the func map.
14362 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14363 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14364 (func_begin): new method
14365 (func_end): new method
14367 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14369 (copySelection): ditto
14370 (pasteSelection): ditto
14372 * BufferView.C: whitespace change
14373 * BufferView.h: inherit privately from noncopyable
14375 2001-04-16 Allan Rae <rae@lyx.org>
14377 * tabular-old.C (l_getline):
14378 * spellchecker.C (sc_check_word):
14379 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14380 an unrecognised preprocessor directive. So ensure they're wrapped.
14382 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14384 * src/exporter.C (Export): Give an error message when path to file
14387 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14389 * LaTeX.C (deplog): Always check that foundfile exists.
14391 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14394 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14396 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14398 * tabular.[Ch] (getLabelList): implement new method
14400 * minibuffer.h: comment ouf setTiimer
14402 * minibuffer.C (ExecutingCB): constify res
14403 (peek_event): constify s
14404 (Set): constify ntext
14405 (Init): constify nicename
14407 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14409 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14410 (savePosition): use two params to Minibuffer::Set
14411 (restorePosition): ditto
14413 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14415 * lyx_main.C: include language.h
14417 * Makefile.am (lyx_main.o): add language.h
14419 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14425 * CutAndPaste.C: include gettext.h
14427 * lyxfont.h: remove old hack with ON and OFF.
14430 * lyxfont.h: do not include language.h...
14435 * bufferview_funcs.C:
14441 * paragraph.C: ... but do it here instead
14443 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14445 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14447 * tabular.C: small reformat
14449 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14452 (BreakParagraph): ditto
14453 (SetOnlyLayout): ditto
14456 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14459 * lastfiles.C: removed most using decl, add std:: where needed
14461 * buffer.C: ws changes
14463 * MenuBackend.C (class compare_format): put into anon namespace
14464 (expand): constify label, names, action, action2
14467 * text.C (SingleWidth): constify font
14468 (IsBoundary): constify rtl2
14469 (GetVisibleRow): constify ww
14471 * LaTeX.C (deplog): constify logfile
14473 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14475 (workAreaExpose): constify widthChange, heightChange
14477 * lyxrow.C (par): moved
14480 * lyxrow.h: as inlines here
14482 * lyxfont.h (shape): moved from lyxfont.C
14483 (emph): moved from lyxfont.C
14485 * lyxfont.C (LyXFont): use initialization list for all
14487 (shape): move to lyxfont.h as inline
14488 (emph): move to lyxfont.h as inline
14491 2001-04-04 Juergen Vigna <jug@sad.it>
14493 * vspace.C: had to include stdio.h for use of sscanf
14495 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14498 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14499 independent of xforms.
14501 2001-04-02 Juergen Vigna <jug@sad.it>
14503 * spellchecker.C: fixed namespace placing!
14505 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14507 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14508 the LyXParagraph * is 0.
14510 2001-03-29 Juergen Vigna <jug@sad.it>
14512 * vspace.C: added support for %, c%, p%, l%.
14513 (stringFromUnit): added helper function.
14514 (asLatexString): changed to give right results for the %-values.
14516 * buffer.C: convert the widthp in a width%.
14518 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14520 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14523 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14524 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14526 * lyx_cb.[Ch]: see above.
14528 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14532 * lyx.[Ch]: replaced by figure_form.[Ch].
14536 * lyxfunc.C: changed headers associated with above changes.
14538 2001-03-27 Juergen Vigna <jug@sad.it>
14540 * BufferView_pimpl.C: set the temporary cursor right!
14542 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14544 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14546 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14548 * LString.h: removed "using std::getline"!
14550 * BufferView_pimpl.C (Dispatch): changes due to changes in
14551 InsetInclude::Params.
14553 * buffer.C (tag_name): removed redundant break statements as they were
14554 producing lots of warnings with my compiler.
14556 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14558 * LString.h: add "using std::getline" when using the real <string>.
14560 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14562 * buffer.C: removed bitset usage.
14563 PAR_TAG moved to an anonymous name space.
14564 (tag_name): new funtion, also in the anonymous namespace.
14565 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14566 (makeDocBookFile): clean code. Completed transition from string arrays
14568 (SimpleDocBookOnePar): code clean.
14570 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14572 * tabular.C: add some comments.
14574 2001-03-22 Juergen Vigna <jug@sad.it>
14576 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14577 compatibility read a bit and fixed bug with minipage in different
14580 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14582 * buffer.C (pop_tag): removed.
14583 (push_tag): removed.
14584 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14585 array replaced with vector. Added support for CDATA sections.
14586 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14588 (makeDocBookFile): XML conformant declaration of CDATA section,
14589 fixed bug related to <emphasis> in the first paragraph char.
14590 (sgmlOpenTag): exclude empty tags.
14591 (sgmlCloseTag): ditto.
14593 * buffer.h (pop_tag): removed.
14594 (push_tag): removed.
14596 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14598 * language.h (Languages): added size_type and size().
14600 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14602 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14603 response on compability reading of minipages. One probliem is that
14604 the old usage of minipages was «flertydig»
14606 * several files here and in subdirs: don't use static at file
14607 scope use anon namespaces instead.
14609 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14611 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14612 LaTeX output. This is necessary for Literate document
14615 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14617 * buffer.C: insert hfill when needed.
14619 * tabular.C (l_getline): use string::erase, small whitespace change.
14621 * BufferView_pimpl.C: try the anon namespace.
14622 * WorkArea.C: ditto
14624 2001-03-16 Juergen Vigna <jug@sad.it>
14626 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14627 otherwise it won't open options-dialogs.
14629 * buffer.C: honor pextraWidth(p) on converting minipages.
14631 * tabular.C (l_getline): changed the functions to strip trailing \r.
14633 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14635 * BufferView_pimpl.C:
14636 * minibuffer..C: added "using SigC::slot" declaration.
14638 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14640 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14646 * paragraph.C: ditto
14648 * lyxtext.h: NO_PEXTRA
14650 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14652 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14653 * ParameterStruct.h: ditto
14654 * ParagraphParameters.h: ditto
14655 * lyxparagraph.h: ditto
14657 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14659 * buffer.C: add compability for minipage alignment.
14660 (latexParagraphs): remove unwanted pextra check.
14662 * several files: remove CXX_WORKING_NAMESPACES
14664 * buffer.C (pop_tag): tie is in namespace boost
14666 * BufferView.h: noncopyable is in namespace boost
14668 * lyx_main.h: ditto
14671 * lastfiles.h: ditto
14672 * bufferlist.h: ditto
14673 * ShareContainer.h: ditto
14675 * LyXAction.h: ditto
14678 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14680 * Merging changes from BRANCH_MVC back into HEAD.
14682 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14684 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14686 * BufferView_pimpl.C: change from intl.C
14690 * Makefile.am: move combox.*
14696 * intl.C: remove dialog (covered by prefs)
14698 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14700 * lyxfunc.C (Dispatch): removed redundant break statement.
14702 2001-03-14 Juergen Vigna <jug@sad.it>
14704 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14706 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14708 * buffer.C: add hack to fix compability reading of minipages.
14710 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14712 * buffer.C (getLists): Cleanup.
14714 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14716 * lyxfont.C (update): don't honor toggleall on font size.
14718 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14722 * Makefile.am: moved to frontends/xforms/
14726 * BufferView_pimpl.C: changes for moved mathpanel
14728 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14730 * gettext.h: fix gettext_init() in --disable-nls
14732 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14734 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14736 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14739 * lyx.h: strip external form
14741 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14743 * BufferView_pimpl.C: add comment, destroySplash()
14745 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14747 * BufferView_pimpl.C:
14751 * lyxfunc.C: use re-worked insetinclude
14753 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14755 * buffer.C: add using std::stringstream.
14757 * lyx_cb.C: readd using std::ios.
14759 * buffer.C: add using std::map.
14761 * BufferView_pimpl.C: add using std::vector.
14763 * ShareContainer.h: add std:: to swap.
14765 * buffer.h: add some typedefs
14766 * buffer.C (getLists): use them
14767 (getLists): renamed from getTocList.
14768 add a counter for the different float types and use it in the
14770 (getLists): use the same counter for the NEW_INSETS and the "non"
14773 * lyx_cb.h: remove unused items, includes, using etc.
14775 * ShareContainer.h: remove some commented code, add more comments
14776 and "documentation".
14778 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14780 * buffer.C (getTocList): make the list also when NEW_INSETS is
14783 * buffer.h: remove TocType
14785 * buffer.C (getTocList): change to return a map<string,
14786 vector<TocItem> >, implement for dynamic number of list.
14788 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14789 * text2.C (PasteSelection): adjust
14790 * CutAndPaste.C (pasteSelection): adjust
14792 * FloatList.C (FloatList): update from the new_insets branch.
14793 * Floating.[Ch]: ditto
14794 * LaTeXFeatures.C: ditto
14796 * lyxlex_pimpl.C: ditto
14798 * paragraph.C (Last): remove when NEW_INSETS is defined.
14800 * other file: changes because of the above.
14802 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14804 * lyxparagraph.h: rename next to next_, previous to previous_,
14805 make them private for NEW_INSETS. Rename Next() to next(),
14806 Previous() to previous().
14808 * other files: changes because of the above.
14810 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14813 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14816 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14818 * main.C (main): pass lyx_localedir to gettext_init().
14820 * gettext.h: remove locale_init and gettext_init macros
14822 * gettext.C (locale_init): new function
14823 (gettext_init): new function
14825 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14828 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14830 * Moved credits to frontends:
14831 * credits.[Ch]: removed
14832 * credits_form.[Ch]: removed
14833 * lyx_gui_misc.C: remove credits stuff
14836 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14838 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14840 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14841 unneeded destructor.
14843 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14844 a standalone pointer again.
14846 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14848 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14854 * ToolbarDefaults.C:
14863 * BufferView_pimpl.C: use new file dialog in GUII
14866 * lyx_cb.C: remove LayoutsCB to Toolbar
14868 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14870 * ShareContainer.h (get): add std:: qualifier
14872 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14874 * ShareContainer.h: define a proper ShareContainer::value_type
14875 type (and use typename to please compaq cxx)
14877 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14879 * lyxparagraph.h: move serveral local vars to
14880 ParameterStruct/ParagraphParameters., use ShareContainer in
14881 FontTable., make vars in FontTable private and add getter and
14884 * paragraph.C: changes because of the above.
14886 * lyxfont.h: remove copy constructor and copy assignment. (the
14887 default ones is ok), move number inside FontBits. move inlines to
14890 * lyxfont.C: add number to initializaton of statics, move several
14891 inlines here. constify several local vars. some whitespace
14892 cleanup. Dont hide outerscope variables.
14894 * Spacing.h: add two new constructors to match the set methods.
14896 * ShareContainer.h: new file, will perhaps be moved to support
14898 * ParameterStruct.h: new file
14900 * ParagraphParameters.h: new file
14902 * ParagraphParameters.C: new file
14904 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14905 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14907 * BufferView_pimpl.C: ParagraphParameter changes.
14908 * buffer.C: Likewise.
14909 * bufferview_funcs.C: Likewise.
14910 * text.C: Likewise.
14911 * text2.C: Likewise.
14913 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14915 * lyxfind.C (LyXReplace): do not redefine default argument in
14917 (IsStringInText): ditto
14918 (SearchForward): ditto
14919 (SearchBackward): ditto
14921 2001-03-06 Juergen Vigna <jug@sad.it>
14923 * lyxfind.C (IsStringInText): put parentes around expressions.
14925 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14927 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14929 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14931 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14933 * stl_string_fwd.h: add comment
14935 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14938 * tabular.C: remove unused DocBook methods
14944 killed DO_USE_DEFAULT_LANGUAGE
14946 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14948 * lyx_gui.C: do not include language.h.
14950 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14951 arguments in function implementation.
14953 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14955 * BufferView_pimpl.C: add <ctime>
14957 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14959 * BufferView_pimpl.C: add using std::find_if
14961 2001-02-27 José Matos <jamatos@fep.up.pt>
14963 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14966 2001-02-11 José Matos <jamatos@fep.up.pt>
14968 * buffer.C (makeDocBookFile): command styles now have a parameter as
14969 "title" by default.
14971 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14973 * layout_forms.[Ch]: removed
14974 * lyx_cb.[Ch]: out character
14975 * lyx_gui.C: out character
14976 * lyx_gui_misc.C: out character
14977 * bufferview_funcs.C: : out character,
14978 added toggleall as parameter in ToggleAndShow
14980 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14982 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14984 * text2.C (SetCurrentFont): Disable number property at boundary.
14986 2001-02-26 Juergen Vigna <jug@sad.it>
14988 * lyxfunc.C (getStatus): added a string argument override function so
14989 that this is correctly called from LyXFunc::Dispatch if it contains a
14990 do_not_use_argument which is used!
14991 (Dispatch): added check for "custom" export and call appropriate func.
14993 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14995 * lyxrc.C: Add language_command_local, language_use_babel and
14996 language_global_options.
14998 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15000 * buffer.C (makeLaTeXFile): Use language_use_babel and
15001 language_global_options.
15003 2001-02-23 Juergen Vigna <jug@sad.it>
15005 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15006 which works with LyXText and putted it inside BufferView. Here now we
15007 only call for that part the BufferView::Dispatch() function.
15009 * BufferView.C (Dispatch): added.
15011 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15012 functions which needs to use a LyXText over from LyXFunc.
15013 (MenuInsertLyXFile): added
15014 (getInsetByCode): added
15015 (moveCursorUpdate): added
15016 (static TEXT): added
15018 2001-02-22 Juergen Vigna <jug@sad.it>
15020 * BufferView_pimpl.C (update): call a status update to see if LyXText
15023 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15025 * vc-backend.C (revert): implement for CVS
15026 (getLog): implement for CVS
15028 2001-02-20 Juergen Vigna <jug@sad.it>
15030 * text2.C (ClearSelection): added BufferView param for inset_owner call
15032 * lyxfunc.C (TEXT): added this function and use it instead of
15033 directly owner->view()-text of getLyXText().
15035 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15037 * src/layout_forms.C: out preamble
15038 * src/layout_forms.h: out preamble
15039 * src/lyx_cb.C: out preamble
15040 * src/lyx_cb.h: out preamble
15041 * src/lyx_gui.C: out preamble
15042 * src/lyx_gui_misc.C: out preamble
15043 * src/lyxfunc.C: connect with guii preamble
15045 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15047 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15049 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15051 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15052 whether to run bibtex.
15054 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15056 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15058 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15060 * Makefile.am (lyx_SOURCES): removed bibforms.h
15062 * vspace.h: doxygen
15064 * text.C (GetVisibleRow): make several local vars const
15066 * tabular.C: small cleanup.
15068 * lyxserver.C (callback): use compare instead of strncmp
15070 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15071 inlines to after class or to paragraph.C
15073 * lyxfont.h: remove friend operator!=
15075 * converter.h: move friend bool operator< to non friend and after
15078 * combox.h: small cleanup
15080 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15081 to inlines after class def.
15083 * buffer.C (pop_tag): use string operations instead of strcmp
15085 * bmtable.c: doxygen, small cleanup
15087 * LaTeX.h: remove friend operator==
15089 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15101 * BufferView_pimpl.C:
15102 * BufferView.[Ch]: remove cruft
15104 2001-02-14 Juergen Vigna <jug@sad.it>
15106 * lyxfunc.C: removed #if 0 unused code
15108 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15110 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15112 * text2.C (SetSelection): added a BufferView * parameter
15114 2001-02-13 Juergen Vigna <jug@sad.it>
15116 * lyxfunc.C (Dispatch): fixed protected blank problem.
15117 * BufferView2.C (protectedBlank): added LyxText * parameter.
15119 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15120 (AppendColumn): same as above for column_info.
15122 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15123 (moveCursorUpdate): use a LyXText param for support of InsetText.
15125 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15126 (tripleClick): ditto
15128 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15130 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15132 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15134 * text2.C (SetSelection): set correct update status if inset_owner
15135 (ToggleFree): ditto
15137 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15139 * tabular.C: remove some commented code.
15141 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15143 * BufferView_pimpl.C: call hideSplash()
15145 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15148 * bibforms.h: remove
15151 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15152 add LFUN_CHILD_CREATE
15154 * counters.h: fix tiny typo
15159 * lyx.C: move splash to frontends/xforms/
15161 * lyx_gui_misc.C: move Include and Bibform to frontends
15163 * lyxvc.h: clarify comment
15165 * vspace.C: tiny housekeeping
15167 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15169 * text.C (PrepareToPrint): RTL Fix.
15171 * paragraph.C (GetUChar): New method.
15172 (String): Use GetUChar.
15174 * buffer.C (asciiParagraph): Use GetUChar.
15176 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15178 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15180 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15183 * buffer.C: rename to getLogName(), handle
15184 build log / latex log nicely
15186 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15189 * MenuBackend.h: remove support for reference menuitem type.
15191 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15193 * BufferView_pimpl.C: housekeeping
15194 * BufferView_pimpl.h:
15199 * minibuffer.h: move Timeout GUI-I
15201 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15203 * lyxrc.C (read): Update converters data-structures.
15205 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15207 * LaTeX.h (operator!=): add operator != for Aux_Info
15209 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15211 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15213 * LaTeXLog.C: deleted, useful code moved to Buffer
15216 * buffer.C: new function getLatexLogName()
15222 * lyxfunc.C: use frontends for LaTeX and VC logs
15224 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15226 * LaTeX.h: yet another std:: that Allan forgot.
15228 * Variables.C (set): renamed from isset(), because this clashes
15229 with some HP-UX macros (grr).
15231 2001-02-06 Allan Rae <rae@lyx.org>
15233 * LaTeX.h: Another bug fix. Missing std:: this time.
15235 2001-02-04 Allan Rae <rae@lyx.org>
15237 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15238 floats problem. I've left it commented out because it's not quite
15239 correct. It should also test that the current object is a table or
15240 figure inset. But I haven't gotten around to figuring out how to do
15241 that. I *think* it'll be something like: "table" == inset.type()
15243 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15246 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15248 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15249 all the citation/databases/styles in the auxilary file.
15250 (run): Rerun latex if there was a babel language error.
15252 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15254 * text.C (Backspace): Preserve the font when changing newline char
15256 (BreakParagraph): If the cursor is before a space, delete the space.
15258 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15260 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15262 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15263 new argument (code).
15264 (ChangeCitationsIfUnique): New method.
15266 * paragraph.C (GetPositionOfInset): Handle bibkey.
15268 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15270 * BufferView_pimpl.h: change type of Position::par_pos to
15271 LyXParagraph::size_type.
15273 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15275 * BufferView_pimpl.C (savePosition, restorePosition): Write
15276 messages to minibuffer.
15278 2001-01-28 José Matos <jamatos@fep.up.pt>
15280 * buffer.C (makeDocBookFile): adds support for document language.
15281 A silly restriction on the name of LatexCommand types where removed.
15282 Added support for CDATA sections, allows to chars unescaped, used
15283 among others in code, to avoid escape < and >.
15285 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15287 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15288 saved positions instrad of a stack. Furthermore, a position is
15289 stored using paragraph id/paragraph position.
15291 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15292 Remove LFUN_REF_BACK.
15294 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15296 * converter.C (dvipdfm_options): New method.
15298 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15300 * vspace.C (isValidLength): Fix for empty input string.
15302 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15304 * LyXAction.C (init): change description of LFUN_FIGURE to
15307 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15309 * LaTeX.C: add using directive
15311 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15313 * MenuBackend.C (expand): Fix the sorting of the formats.
15315 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15317 * lyx_main.C: tiny error message fix
15319 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15322 calling fl_initialize(). This fixes the problem with ',' as
15323 decimal separator in text files.
15325 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15327 * trans.C (process): Fix the keymap bug.
15329 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15331 * LaTeX.C (scanAuxFiles): New method. Provides support for
15332 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15333 (scanLogFile) Scan for "run BibTeX" messages.
15335 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15336 OT1 font encoding. Also, load the aecompl package if the ae
15339 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15341 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15343 * texrow.C (increasePos): turn two error messages into debug
15346 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15348 * LaTeX.C (scanAux): Handle the \@input macro.
15349 (runBibTeX): Use scanAux().
15351 * language.C (latex_options_): New field.
15353 * LaTeXFeatures.C (getMacros): Add language macros.
15355 * buffer.C (makeLaTeXFile): Small fix.
15357 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15359 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15361 * text2.C: add a using directive.
15363 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15368 * lyxfunc.C: kill LyXBell.
15370 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15372 * text.C (IsBoundary): Remove the error message
15374 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15376 * lyxrc.C (setDefaults): Correct initialization value for
15379 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15381 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15384 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15385 and GotoNextNote().
15387 * src/LyXAction.C: Added reference-next.
15389 * text.C (InsertChar): Use contains instead of strchr.
15391 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15393 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15395 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15396 alignment commands (when needed).
15398 * text.C (InsertChar): Add ':' to number separator chars.