2 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
4 * BufferView.C (setCursor): call redoParagraph (some insets could
6 (putSelectionAt): remove the 'double update' trick
8 * BufferView_pimpl.C (fitCursor): call refreshPar
9 (workAreaDispatch): remove an uneeded update call
10 (dispatch): remove some manual update calls
12 * cursor.[Ch]: remove cached_y_, updatePos
13 (selHandle): set noUpdate when appropriate
15 * lyxfunc.C (dispatch): track if we need an update
17 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
19 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
20 (paintSelection): cheap optimization, do not call cursorX when not
22 (paintPars): change signature
25 (paintTextInset): adjust
29 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * lengthcommon.C: compilation fix: remove explicit array size from
32 unit_name[] and friends
34 2004-04-05 Angus Leeming <leeming@lyx.org>
36 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
38 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
39 present only for the preferences dialog.
40 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
42 2004-04-05 Angus Leeming <leeming@lyx.org>
44 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
45 to enable the frontends to export changes to lyxrc correctly.
47 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
49 2004-04-05 André Pönitz <poenitz@gmx.net>
51 * cursor.[Ch] (valign, halign...): remove unneeded functions
53 2004-04-05 Angus Leeming <leeming@lyx.org>
55 * lyxlength.[Ch] (unit_name et al.): const-correct.
57 2004-04-05 Angus Leeming <leeming@lyx.org>
68 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
70 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
72 * text3.C (getStatus): add LFUN_BEGINNINGBUF
74 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
76 * lyxfind.C: add a couple of inTexted() tests + other small fixes
77 * BufferView_pimpl.[Ch] (getStatus)
78 * BufferView.[Ch] (getStatus): add
79 * lyxfunc.C (getStatus): move lfuns handled in
80 BufferView::dispatch to te function above
81 * Cursor.C (setSelection): set selection() = true
83 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
85 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
87 2004-03-31 Angus Leeming <leeming@lyx.org>
89 * lyxfunc.C (dispatch): Fall through to the generic
90 Dialogs::show("preamble").
92 2004-03-31 Angus Leeming <leeming@lyx.org>
94 * lyxfunc.C (dispatch): Fall through to the generic
95 Dialogs::show("spellchecker").
97 2004-03-31 Angus Leeming <leeming@lyx.org>
99 * lyxfunc.C (getStatus, dispatch): changed invocation of the
102 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
107 * insetiterator.[Ch]:
112 * undo.[Ch]: s/DocumentIterator/DocIterator/g
114 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
116 * BufferView.C (setCursor, putSelectionAt): call edit to open the
117 insets where we are putting the cursor.
119 2004-03-31 Angus Leeming <leeming@lyx.org>
122 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
124 * lyxrc.[Ch] (read, write): overloaded member functions taking
125 a std::[io]stream arguments.
127 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
129 2004-03-31 Angus Leeming <leeming@lyx.org>
131 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
132 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
134 * lyxtextclass.C (load): if the text class couldn't be loaded, then
135 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
137 2004-03-31 Angus Leeming <leeming@lyx.org>
139 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
140 the LFUN_ALL_INSETS_TOGGLE code.
142 2004-03-30 Angus Leeming <leeming@lyx.org>
144 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
145 has died. Fall through to the generic Dialogs::show("document").
147 2004-03-30 Angus Leeming <leeming@lyx.org>
150 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
151 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
153 * lyxfunc.C (getStatus, dispatch): define the actions for these
154 lfuns. Little more than a cut and pste job from ControlDocument.C
156 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
158 2004-03-30 Angus Leeming <leeming@lyx.org>
161 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
162 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
164 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
165 open/closed state of ollapsable insets. Usage:
167 all-inset-toggle <state> <name>, where
168 <state> == "open" || "closed" || "toggle" and
169 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
171 * lyxtext.h, text2.C (toggleInset): removed.
173 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
174 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
175 now passes LFUN_INSET_TOGGLE to the found inset.
177 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
178 is now invoked as "all-insets-toggle toggle branch".
180 2004-03-30 Angus Leeming <leeming@lyx.org>
184 * pariterator.[Ch]: added/corrected header blurb.
186 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
188 * dociterator.[Ch]: add an inset_ member
189 (backwardPos): implemented
190 (backwardPos, forwardPos): use inset_ when the stack is empty.
191 (doc_iterator_begin, doc_iterator_end): implemented
192 * pariterator.[Ch]: adjust, add begin, end
193 * insetiterator.[Ch]: adjust, add begin, end
197 * BufferView_pimpl.C:
198 * CutAndPaste.C: adjust
200 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
202 * buffer.C: increment file format to 232.
203 * LaTeXFeatures.C: add bibtopic package.
204 * bufferparams.[Ch]: param \use_bibtopic.
206 * lyxrc.[Ch]: add lyxrc bibtex_command
207 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
209 * buffer.C: increment file format to 231.
211 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
213 * dociterator.C: implement forwardPar
214 * iterators.[Ch]: remove, replaced by
215 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
217 * BufferView_pimpl.C:
220 * bufferview_funcs.C:
226 * Makefile.am: adjust
228 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
230 * CutAndPaste.C (pasteSelection): fix 2 crashes
231 (eraseSelection): fix a crash
232 * paragraph_funcs.C: remove a warning
234 2004-03-28 Angus Leeming <leeming@lyx.org>
237 * LyXAction.C (init): new LFUN_PRINT.
239 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
241 2004-03-27 Angus Leeming <leeming@lyx.org>
244 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
246 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
248 2004-03-27 Angus Leeming <leeming@lyx.org>
250 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
251 insetlist always contains non-null pointers to insets.
253 2004-03-26 Angus Leeming <leeming@lyx.org>
255 * src/BufferView_pimpl.C:
259 * src/output_plaintext.C:
260 * src/outputparams.h:
261 * src/paragraph_funcs.C:
265 * src/frontends/controllers/ControlErrorList.C:
266 * src/frontends/gtk/FileDialogPrivate.C:
267 * src/frontends/gtk/GPainter.C:
268 * src/frontends/gtk/GToolbar.C:
269 * src/frontends/qt2/QRef.C:
270 * src/mathed/math_scriptinset.C: squash compiler warnings.
272 2004-03-26 Angus Leeming <leeming@lyx.org>
274 * ispell.C (LaunchIspell::start):
275 * lyx_cb.C (AutoSaveBuffer::start):
276 invoke run(DontWait) rather than runNonBlocking().
278 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
280 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
282 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * kbsequence.C (print): adjust
286 * kbmap.C (printKeySym): rename and change signature
287 (printKey): use LyXKeySym::print()
289 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
291 * undo.C: add using std::advance to compile for stlport
293 2004-03-24 Angus Leeming <leeming@lyx.org>
295 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
296 it leads to a crash when no buffer is present.
298 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 Martin Vermeer <martin.vermeer@hut.fi>
301 * lyxfunc.C (dispatch):
302 * bufferparams.C (readToken): use the new LColor::setColor
304 * LColor.[Ch] (setColor): new version that takes two strings as
305 argument and creates a new color entry if necessary
307 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
309 * buffer.C (makeLaTeXFile): if the main latex file that is
310 processed is usually a subdocument of some master, then pretend
311 for a while that it is actually the master
313 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
315 * buffer.C (getLabelList):
316 (getBibkeyList): use getMasterBuffer()
317 (getMasterBuffer): new method. Returns the main document in the
318 case where one is using included documents.
320 2004-03-25 André Pönitz <poenitz@gmx.net>
324 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
326 * ParagraphList_fwd.h: change ParagraphList to a std::vector
328 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
329 text*.C over here. Rename namespace CutAndPaste to lyx::cap
331 * ParameterStruct.h: merge with ParagraphParameters
333 * lyxtext.h: remove LyXText::parOffset() and getPar()
335 * text3.C: Remove all 'manual' update calls. We do now one per user
336 interaction which is completely sufficient.
340 * BufferView_pimpl.C:
343 * ParagraphParameters.[Ch]:
355 * output_docbook.[Ch]:
357 * output_linuxdoc.[Ch]:
358 * output_plaintext.[Ch]:
360 * paragraph_funcs.[Ch]:
361 * paragraph_pimpl.[Ch]:
369 * frontends/controllers/ControlDocument.C:
370 * frontends/controllers/ControlErrorList.C:
371 * frontends/controllers/ControlSpellchecker.C:
374 * insets/insetbase.h:
375 * insets/insetbibitem.C:
377 * insets/insetbranch.C:
378 * insets/insetcaption.C:
379 * insets/insetcharstyle.C:
380 * insets/insetcharstyle.h:
381 * insets/insetcollapsable.C:
382 * insets/insetcollapsable.h:
384 * insets/insetfloat.C:
385 * insets/insetfoot.C:
386 * insets/insetmarginal.C:
387 * insets/insetnote.C:
388 * insets/insetoptarg.C:
389 * insets/insettabular.C:
390 * insets/insettext.C:
391 * insets/insettext.h:
392 * insets/insetwrap.C:
393 * mathed/math_mboxinset.C:
394 * mathed/math_nestinset.C:
395 * mathed/math_scriptinset.C:
396 * mathed/math_scriptinset.h:
399 2004-03-24 Angus Leeming <leeming@lyx.org>
401 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
402 deal with any child processes that have finished but are waiting to
403 communicate this fact to the rest of LyX.
405 2004-03-24 Angus Leeming <leeming@lyx.org>
407 64-bit compile fixes.
409 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
410 (c-tor): pass lyx::pos_types rather than ints.
412 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
415 * text.C (Delete): compile fix.
416 (getPar): ensure that function declaration is the same as that in
419 2004-03-23 Angus Leeming <leeming@lyx.org>
421 * ispell.C (LaunchIspell):
422 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
423 a boost::shred_ptr rather than a std::auto_ptr.
425 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * lyxfunc.C (getStatus): handle read-only buffers correctly;
428 handle LFUN_FILE_INSERT_*
430 * lyxrc.C (setDefaults, getDescription, output, read):
431 * lyxrc.h: remove ps_command
433 2004-03-22 Angus Leeming <leeming@lyx.org>
435 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
436 Ensure that error_handler is processed once only and that all data
437 is saved before attempting to output any warning messages.
439 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
441 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
443 * tabular.C (TeXRow): crash fix (from Kayvan and André)
445 2004-03-19 André Pönitz <poenitz@gmx.net>
447 * cursor.[Ch] (reset): take main text inset as argument
450 * BufferView_pimpl.C: adjust
452 * paragraph.[Ch]: fix completely broken operator=()
454 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
456 * LColor.C (getFromLyXName): make sure that the color name is used
459 2004-03-17 Angus Leeming <leeming@lyx.org>
462 * LyXAction.C (init): remove LFUN_FORKS_KILL.
464 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
465 dialog and to kill a forked process.
467 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
469 * text2.C (setCursorFromCoordinates): fix font problem
471 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
473 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
474 bogus "rebuild cursor" code
476 2004-03-11 André Pönitz <poenitz@gmx.net>
478 * buffer.[Ch]: use InsetText instead of LyXText as container for
481 * dociterator.[Ch]: drop the BufferView * member which is not needed
482 anymore after the change to buffer.C
488 * BufferView_pimpl.[Ch]:
490 * cursor_slice.[Ch]: adjust
492 * text3.C: fix bug in mathDispatch
494 2004-03-08 André Pönitz <poenitz@gmx.net>
496 * undo.[Ch]: use 'StableDocumentIterator' as base for
499 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
502 * bufferparams.[Ch]: add jurabib support and param.
504 * LaTeX.C: add FIXME/comment.
506 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
508 * buffer.C: increment file format to 230.
510 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
512 * cursor.C (dispatch): avoid infinite loops
514 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
516 * rowpainter.C (paintSelection): fix x coordinates
518 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
520 * text.C (rowBreakPoint): fix breaking before displayed insets
522 2004-03-01 André Pönitz <poenitz@gmx.net>
524 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
526 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
530 * BufferView_pimpl.C:
538 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
544 * BufferView_pimpl.C: rename textwidth -> maxwidth,
545 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
547 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
549 * Bidi.[Ch] (computeTables): const correctness
550 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
551 fill_hfill, fill_label_hfill and x from Row
552 * lyxtext.h: prepareToPrint returns a RowMetrics
553 * rowPainter.C: adjust
554 * text.C (prepareToPrint): use width, not textWidth. adjust
555 (redoParagraphInternal, cursorX): adjust
556 * text2.C (getColumnNearX): adjust
557 (init): put a default value to the top LyXText::width
559 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
561 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
563 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
565 * lyxtext.h: add FontIterator class
567 * text.C (FontIterator, operator*, operator->, operator++): add
568 (rowBreakPoint, setRowWidth): adjust (fixing a
571 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
573 * BufferView_pimpl.C (workAreaDispatch): allow also
574 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
576 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
578 * text.C (rowBreakPoint): fix a bug showing with very large insets
580 2004-02-25 André Pönitz <poenitz@gmx.net>
583 * cursor.[Ch]: move some mathed specific code to mathed
585 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
587 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
588 use_tempdir in preferences
589 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
591 * lyx_main.C: ensure that tempdir is valid
592 * lyxlex.h: correct typo
593 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
594 * paragraph.[Ch] (isMultiLingual): make const
595 * cursor.[Ch] (openable): make const
597 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
599 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
601 2004-02-20 André Pönitz <poenitz@gmx.net>
603 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
605 * cursor.[Ch]: prepare for localized getStatus()
611 * text3.C: streamlines the LyXText cursor movement handlers a bit.
613 2004-02-20 André Pönitz <poenitz@gmx.net>
615 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
617 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
619 * text2.C (setCursorFromCoordinates): switch to absolute coords
622 * text3.C (dispatch): adjust
624 2004-02-16 André Pönitz <poenitz@gmx.net>
626 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
629 * cursor_slice.[Ch]: remove unneeded acessor function
631 * lyxtext.h: rename rtl() to isRTL()
639 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
641 * rowpainter.C (paintSelection): coord fix
643 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
645 * Spacing.C: compile fix
647 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
649 * cursor.C (dispatch): restore current_ before returning
651 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
653 * text2.C (cursorUp, cursorDown): fix coords
656 2004-02-12 André Pönitz <poenitz@gmx.net>
661 * text3.C: add LCursor & parameter to most cursor movement functions
662 remove usage of LyXText::cursorRow() and cursorPar()
664 * cursor.[Ch]: add textRow() needed members
667 * BufferView_pimpl.C:
670 * BufferView_pimpl.C: adjust
672 2004-02-11 André Pönitz <poenitz@gmx.net>
676 * BufferView_pimpl.C: shift undo/redo handling
678 * cursor.[Ch]: fix mathed crash
681 * lyxtext.h: move selectionAsText to LCursor
689 * rowpainter.C: fix excessive drawing
691 2004-02-06 André Pönitz <poenitz@gmx.net>
694 * BufferView_pimpl.[Ch]:
695 * text3.C: move some text specific LFUN handling
697 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
699 * text3.C (checkInsetHit): adjust coords
700 * text2.C (getColumnNearX): adjust coords
701 (edit): adjust coords
702 * text.C (getRowNearY): add two asserts
704 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
707 * format.C: add using std::distance to compile on gcc 2.95/stlport
709 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
711 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
713 2004-02-04 André Pönitz <poenitz@gmx.net>
715 * BufferView.[Ch] (insertInset):
716 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
721 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
723 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
724 on the default clause of the switch
725 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
726 wasn't catched by LCursor::dispatch
728 2004-02-03 André Pönitz <poenitz@gmx.net>
731 * cursor.[Ch]: some additional asserts
733 * undo.[Ch]: remove LyXText dependency in interface
737 * lyxtext.h (firstPar, lastPar): remove dead functions
742 * paragraph.[Ch]: adjust
744 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
746 * lyxfind.C (find): fix argument order in call to ::find
748 2004-02-02 André Pönitz <poenitz@gmx.net>
750 * cursor.[Ch]: remove direct access to anchor
752 * text.C: remove findText() hack
754 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
756 * iterators.[Ch] (lockPath): remove in favour of...
757 * BufferView.[Ch] (setCursor): this addition
758 * BufferView.C (putSelectionAt): adjust
759 * undo.C (performUndoOrRedo): adjust
760 * lyxfunc.C (dispatch): adjust
762 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
764 * iterators.C (lockPath): add a missing slice
765 * undo.C (performUndoOrRedo): remove redundant positioning code
767 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
769 * vc-backend.C (scanMaster): ";" -> ';'
771 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
773 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
776 * lyxtextclass.C (compare_name): rename to...
777 (LayoutNamesEqual): ...this
779 * lyxlex_pimpl.C (compare_tags): inherit from
780 std::binary_function, put back into anon namespace
782 * lyxfind.C (MatchString): inherig from std::binary_function
783 (findChange): use empty() istead of !size()
785 * format.C (FormatNamesEqual): new functor
792 * converter.C (compare_Converter): rename to...
793 (ConverterEqual): ...this, and fixup a bit.
794 (getConverter): use it, and make function const
795 (getNumber): use it, and make function const
799 * bufferlist.C: add using boost::bind
801 * MenuBackend.C (MenuNamesEqual): new functor
802 (hasMenu): use it, and make function const
803 (hasSubmenu): use nested bind to get rid of compare_memfun.
805 2004-01-30 André Pönitz <poenitz@gmx.net>
807 * BufferView_pimpl.C:
818 * text3.C: move some of the edit(x,y) handling to the insets
819 some coordinate changes.
821 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
823 * text.C: add using statements for std::advance and std::distance
825 * paragraph.C: add using statement for std::distance
827 * lyxfind.C: add using statement for std::advance
829 * cursor.C (region): remove std:: from swap
830 (openable): use nucleus in stead of operator->
832 * BufferView.C: add using statements for std::distance and std::swap
834 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
836 * iterators.C: Remove the pimple, move the needed structures to
837 the header file. Create accessor for the positions stack.
838 (asPosIterator): remove function
840 * PosIterator.C (PosIterator): move constructors to top of file
841 (PosIterator): reimplement the constructor taking a ParIterator in
843 (setFrom): new function
844 (operator!=): inline it
846 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
848 * lyxfind.C (replaceAll): use std::advance
850 * iterators.h: inherit from std::iterator.
852 * PosIterator.C (advance, distance): remove
853 * PosIterator.h: interit from std::iterator.
855 2004-01-26 André Pönitz <poenitz@gmx.net>
858 * BufferView_pimpl.[Ch]:
862 * bufferview_funcs.C:
873 * output_plaintext.C:
875 * paragraph_funcs.[Ch]:
876 * paragraph_pimpl.[Ch]:
882 * text3.C: more IU: dumps most of the rest of the mathcursor
883 implementation into cursor.[Ch]; "globalize" a bit of it.
885 2004-01-25 Angus Leeming <leeming@lyx.org>
887 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
889 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
891 * LaTeXFeatures.h: add nice_ and nice() const
892 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
894 2004-01-20 André Pönitz <poenitz@gmx.net>
897 * BufferView_pimpl.C:
899 * bufferview_funcs.C:
912 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
913 LCursor and mathcursor parts to LCursor and InsetBase.
915 2004-01-15 André Pönitz <poenitz@gmx.net>
917 * cursor_slice.[Ch]: add a few covienience functions
919 * funcrequest.[Ch]: remove BufferView * member
921 * BufferView_pimpl.C:
928 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
930 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
932 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
933 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
935 2004-01-13 André Pönitz <poenitz@gmx.net>
938 * lyxtext.h: hide cursor and selection anchor behind accessor function
941 * BufferView_pimpl.[Ch]:
943 * bufferview_funcs.C:
953 * cursor_slice.[Ch]: some integer type changes for inset unification
955 * lyxcursor.[hC]: remove, it's CursorSlice now.
958 * BufferView_pimpl.[Ch]:
959 * bufferview_funcs.C:
965 * textcursor.[Ch]: adjust
967 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
969 * text2.C (undoSpan): add and use
970 * text.C (breakParagraph): use undoSpan (fix bug 578)
973 2004-01-08 Angus Leeming <leeming@lyx.org>
975 * BufferView_pimpl.C (MenuInsertLyXFile):
976 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
977 * lyxfunc.C (menuNew, open, doImport):
978 FileFilterList change to the FileDialog open and save functions.
980 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
982 * ShareContainer.h: make isEqual and isUnique adaptable
984 * CutAndPaste.C: make resetOwnerAndChanges adaptable
986 2004-01-07 Angus Leeming <leeming@lyx.org>
989 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
991 * BufferView_pimpl.C (dispatch): act on these LFUNs.
993 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
994 functions replacing find, replace and replaceAll.
996 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
997 LFUN_WORDFIND(FORWARD|BACKWARD).
999 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1001 * text.C (breakParagraph): remove an outdated #warning
1003 2004-01-07 André Pönitz <poenitz@gmx.net>
1005 * lyxfind.C: somewhat clearer logic
1007 * text.C: prevent crash in cursorX on unitialized row cache
1009 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1011 * lyxcursor.[Ch] (operator>): add
1012 * textcursor.C (selStart, selEnd): use std::min and std::max
1014 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1016 * Chktex.C: include boost/format.hpp
1018 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1020 * InsetList.C: replace functor MathcIt with adaptable functor
1022 (insetIterator): modify accordingly
1024 * BranchList.h: move the BranchNamesEqual functor here from...
1025 * BranchList.C: ... to here
1027 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1029 (add): replace a finding loop with std::find_if.
1031 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1033 * output_docbook.C: moving LatexParam functionality into
1036 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1038 * buffer.C: increment format to 229.
1040 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1043 * lyx_sty.[Ch]: remove minipageindent_def
1049 * text3.C: remove LFUN_INSET_MINIPAGE
1051 2003-12-28 Angus Leeming <leeming@lyx.org>
1053 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1055 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1057 * text2.C (setParagraph): fix off-by-one crash
1059 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1061 * output_docbook.C: header stuff for AGU
1063 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1065 * text2.C (redoCursor): remove
1068 * BufferView_pimpl.C: remove calls to redoCursor and
1069 setCursor(cursor.par(), cursor.pos()) all around
1071 2003-12-15 Angus Leeming <leeming@lyx.org>
1073 * buffer.C: up the format to 228.
1075 2003-12-15 André Pönitz <poenitz@gmx.net>
1077 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1082 * BufferView_pimpl.C:
1091 2003-12-15 Angus Leeming <leeming@lyx.org>
1093 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1094 than getFromGUIName to manipulate the color.
1096 2003-12-14 Angus Leeming <leeming@lyx.org>
1098 * BranchList.[Ch]: minimize the API.
1099 (Branch::getBranch, getColor): now return a 'const &'.
1100 (Branch::setSelected) now returns a bool set to true if the
1101 selection status changes.
1102 (BranchList::clear, size, getColor, setColor, setSelected,
1103 allBranches, allSelected, separator): removed.
1104 (BranchList::find): new functions, returning the Branch with
1106 (BranchList::add, remove): return a bool indicating that
1107 the operation was successful.
1109 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1110 new InsetBranch::isBranchSlected member function.
1112 * LColor.[Ch]: mimimize the API.
1113 (fill): renamed as addColor and made private.
1114 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1115 versions of these functions taking a string arg have been removed.
1117 * bufferparams.C (readToken):
1118 * lyxfunc.C (dispatch):
1119 * lyxrc.C (read): changes due to the altered BranchList and
1122 * factory.C (createInset, readInset): changes due to altered
1125 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1128 * lyxfunc.C: remove insetminipage. "minipage-insert"
1129 now produces a frameless minipage box inset.
1131 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1133 * textcursor.[Ch] (selStart,selEnd): add new methods
1134 remove selection::start, end, use LyXCursor::operator<
1135 * lyxcursor.[Ch] (operator<): add
1136 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1137 * BufferView.[Ch] (unsetXSel): add
1138 * text2.C (clearSelection): use unsetXSel,adjust
1141 * rowpainter.C: adjust
1142 * bufferview_funcs.C (put_selection_at): adjust
1144 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1146 * BufferView_pimpl.C: small coord. correction
1148 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1150 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1151 dragging over the splash screen.
1153 2003-12-11 Angus Leeming <leeming@lyx.org>
1155 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1156 as it is now handled in LyXText::dispatch.
1158 * text3.C (doInsertInset): remove a level of nesting.
1160 2003-12-11 Angus Leeming <leeming@lyx.org>
1162 * factory.C (createInset): changes due to the changed interface to
1163 InsetCommandMailer::string2params.
1165 2003-12-10 Angus Leeming <leeming@lyx.org>
1167 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1168 'dialog-show-new-inset <inset name>'
1170 2003-12-10 Angus Leeming <leeming@lyx.org>
1172 * buffer.C: up the format to 227.
1174 * factory.C: the box inset is now identified simply by 'Box'.
1176 2003-12-10 Angus Leeming <leeming@lyx.org>
1178 * buffer.C: up the format to 226.
1180 * factory.C: the note inset is now identified simply by 'Note'.
1182 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1184 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1185 when a pit is enough. Standarize a couple of loops.
1187 2003-12-05 Angus Leeming <leeming@lyx.org>
1189 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1190 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1191 data to the re-worked "log" dialog.
1193 2003-12-03 André Pönitz <poenitz@gmx.net>
1199 * paragraph_funcs.C:
1201 * text2.C: use Inset::getText instead of Inset::getParagraph
1203 2003-12-03 André Pönitz <poenitz@gmx.net>
1207 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1208 InsetText::read() as LyXText::read()
1210 2003-12-02 Angus Leeming <leeming@lyx.org>
1212 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1213 type. Add a comment in the implementation that the function uses
1214 the stream's bad() function rather than fail() as the std::streams
1217 2003-12-02 André Pönitz <poenitz@gmx.net>
1219 * lyxlex.[Ch]: make interface more similar to std::stream
1221 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1223 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1225 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1227 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1229 * vspace.[Ch]: remove VSpace::NONE
1231 2003-12-01 André Pönitz <poenitz@gmx.net>
1234 * lyxtext.h: move ParagraphList member to LyXText
1235 rename LyXText::ownerParagraphs to LyXText::paragraph
1238 * bufferview_funcs.C:
1248 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1250 * undo.C: fix cursor positioning
1252 2003-12-01 John Levon <levon@movementarian.org>
1254 * BufferView_pimpl.C: fix a crash on exit with
1257 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1259 * BranchList.C: fix setSelected() method.
1261 2003-11-28 André Pönitz <poenitz@gmx.net>
1263 * ParagraphParameters.[Ch]:
1264 * ParameterStruct.h: remove space above/below from Paragraph to
1267 * BufferView_pimpl.C:
1273 * paragraph_funcs.C:
1279 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1281 * factory.C: Syntax change for CharStyles
1283 2003-11-28 André Pönitz <poenitz@gmx.net>
1288 * buffer.[Ch]: move LyXText member
1290 2003-11-28 André Pönitz <poenitz@gmx.net>
1292 * BufferView.[Ch]: make LyXText * text a private member
1294 * BufferView_pimpl.C:
1305 * output_plaintext.C: cleanup
1307 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1310 * lyxtextclass.[Ch]: parametrize SGML document header
1312 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1315 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1318 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1320 * text2.C (setFont): rework using PosIterator (no more recursive)
1321 (setCharFont): no more needed
1322 (setLayout): no more selection cursors fiddling (done by redoCursor)
1323 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1324 destroy remaining ones)
1326 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1328 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1330 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1333 * text3.C: adjust + re-allow multi par depth changes
1334 * textcursor.C: simplify a bit
1336 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1342 * src/output_docbook.C:
1343 * src/output_latex.C:
1348 * src/text2.C: Introducing a number of tags parametrizing various
1349 XML formats that we may want to support
1351 2003-11-25 André Pönitz <poenitz@gmx.net>
1353 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1355 * lyxtext.h (leftMargin/rightMargin): simplify interface
1362 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1364 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1365 master file to any child files. Fixes bug 546.
1367 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1369 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1371 2003-11-24 André Pönitz <poenitz@gmx.net>
1373 * rowpainter.C: simplification
1375 * text2.C (updateCounters): remove call to redoParagraph on
1376 changed labels as this is far too expensive.
1378 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1380 * converter.C (convert): fix a crash: this function gets
1381 called with buffer == 0 from importer code.
1383 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1385 * text3.C (cursorPrevious): make sure that we do not compare
1386 iterators form different containers.
1389 * rowpainter.C (paintSelection): make sure that we do not compare
1390 iterators from different containers.
1392 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1393 iterators from different ParagraphList containers.
1396 * text2.C (LyXText): change order of initialization slightly
1397 (operator=): new function. copy all variables except cache_par_
1398 (moveUp): make sure that we do not compare iterators from
1399 different ParagraphList constainers.
1402 * text.C (firstPar): new function
1403 (lastPar): new function
1404 (endPar): new function
1406 * lyxtext.h: move things around and group public functions, public
1407 variables, private functions, private variables
1409 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1411 * factory.C: change call to InsetERT constructor to avoid
1412 additional invocation of method status
1413 * text2.C (toggleInset): remove redundant update() call
1414 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1415 instead of a Bufferview pointer
1417 2003-11-21 André Pönitz <poenitz@gmx.net>
1419 * rowpainter.C: simplification
1421 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1423 * text3.C (dispatch): make possible to extend a word/row selection
1426 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1428 * lyxtext.h: x0_,y0_ -> xo_,yo_
1429 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1430 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1431 * rowpainter.C (paintRows): paint full paragraphs
1433 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1435 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1438 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1440 * lyxtext.h: add x0_, y0_
1441 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1442 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1444 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1446 * text2.C (setCursorIntern): move the x_target update here *
1447 * text3.C: change some bv() to true/false in calls to
1448 cursorUp/Down/Right/Left
1449 * cursor.C: use helper function.
1451 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1453 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1454 * paragraph_funcs.[Ch]: correct comment
1455 * rowpainter.C: do not paint selections away from bv->cursor()
1456 Fix a long standing selection painting bug.
1457 * text3.C: generalize mouse-selection code to LyXTexts other that
1459 * textcursor.C: do not use y coords if we can use par offsets
1461 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1463 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1464 cursor position after e.g. inset insert)
1466 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1468 * lyxfind.C (replace): adjust to locking removal + some
1471 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1473 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1476 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1479 * output_docbook.C: XML sanitation: new layout
1480 parameters InnerTag and CommandDepth
1482 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1484 * BufferView_pimpl.C:
1486 * text3.C: Fix the insertion and modification of button-style
1489 2003-11-13 André Pönitz <poenitz@gmx.net>
1491 * InsetList.[Ch]: remove deleteLyXText
1493 * paragraph.[Ch]: cache beginOfBody position
1498 * text3.C: remove superfluous update() calls
1502 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1504 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1505 * BufferView.C (fitLockedInsetCursor): remove
1506 * cursor.[Ch] (getDim): add
1507 * text.C (getRowNearY): add faster version
1508 * text3.C: remove some update calls
1510 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1522 * text3.C: The Character Style /XML short element patch.
1524 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1527 * factory.C: Small step to solving 'unable to insert some insets'
1530 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1532 * cursor.[Ch] (updatePos): new function for updating the y
1533 position of the tip inset
1534 * bufferview_funcs.C (put_selection_at):
1535 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1537 2003-11-11 André Pönitz <poenitz@gmx.net>
1539 * text.C: remove big comment on invalid Paragraph pointers as it is
1542 2003-11-11 André Pönitz <poenitz@gmx.net>
1544 * text_funcs.[Ch]: merge with ...
1552 * Makefile.am: remove text_funcs.[Ch]
1554 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1556 * cursor.C (getPos): return absolute cached y coord
1558 * BufferView_pimpl.C (fitCursor): new simplistic code
1559 (workAreaDispatch): add a fitCursor call
1561 2003-11-10 André Pönitz <poenitz@gmx.net>
1564 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1566 2003-11-10 André Pönitz <poenitz@gmx.net>
1568 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1569 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1570 indicate that the cursor needs to leave an inset
1572 * lyxtext.h: remove inset locking
1574 * cursor.[Ch]: re-implement functionality provided by inset locking
1577 * BufferView_pimpl.[Ch]:
1579 * bufferview_funcs.[Ch]:
1591 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1593 * PosIterator.[Ch]: replace the stack with a vector, add inset
1595 * iterators.[C]: adjust
1597 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1599 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1601 * paragraph_funcs.C (readParToken): put the correct id in the
1602 error item, not the id of the top paragraph
1604 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1606 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1607 * bufferview_funcs.C (put_selection_at): use the above
1609 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1611 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1613 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1615 * output_linuxdoc.h:
1616 * output_plaintext.h:
1618 * output_docbook.h: add #include statements
1620 2003-11-05 José Matos <jamatos@lyx.org>
1622 * output_docbook.[Ch]:
1623 * output_latex.[Ch]:
1624 * output_linuxdoc.[Ch]:
1625 * output_plaintext.[Ch]: New files for output formats.
1626 * output.[Ch]: New file for helper functions.
1629 * paragraph_funcs.[Ch]: output functions moved to new files.
1631 * outputparams.h: rename of latexrunparams.h
1639 * paragraph_funcs.[Ch]:
1640 * paragraph_pimpl.[Ch]:
1641 * tabular.[Ch]: rename ascii to plaintext
1642 and LatexRunParams to OutputParams.
1644 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1646 * iterators.[Ch] (text): require bv argument
1647 * undo.C (recordUndo):
1648 * lyxfunc.C (dispatch):
1649 * bufferview_funcs.C (put_selection_at): adjust
1651 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1653 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1655 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1657 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1660 2003-11-04 André Pönitz <poenitz@gmx.net>
1662 * cursor.[Ch]: restructure
1665 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1667 * iterators.[Ch] (asCursor): remove
1669 * lfuns.h: remove LFUN_INSET_EDIT
1675 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1677 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1679 * lyxfind.[Ch]: complete overhaul
1680 * BufferView_pimpl.C:
1682 * paragraph.[Ch] (insert): add
1684 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1688 * text.C: remove dead spellcheck code
1690 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1692 * dispatchresult.h: add a val setter
1694 * cursor.C (dispatch): use a tempvar for data_[i]
1696 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1698 * PosIterator.[Ch]: compile fix
1700 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1702 * text.C (cursorPar): deactivate the cursor cache
1704 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1706 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1708 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1710 * text3.C (dispatch): adjust for new DisptchResult semantics.
1712 * lyxfunc.C (dispatch): handle update when return from
1713 Cursor::dispatch, adjust for new DispatchResult semantics.
1715 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1716 DispatchResult(true) mean to not update. Add class functions for
1717 setting dispatched and update, as well as reading.
1719 * cursor.C (dispatch): don't handle update here
1721 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1723 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1724 * trans_mgr.C: adjust
1726 * paragraph_funcs.C (readParToken): exception safety
1728 * lyxvc.h: store the vcs pointer in a scoped_ptr
1731 * lyxsocket.C (serverCallback): exception safety
1733 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1735 * ispell.C (clone): make it return a auto_ptr
1737 * factory.C (createInset): exception safety
1738 (readInset): exception safety
1740 * bufferlist.C (newBuffer): exception safety
1742 * Thesaurus.C (Thesaurus): use initialization for aik_
1744 * MenuBackend.C (expandToc): exception safety.
1746 2003-11-03 André Pönitz <poenitz@gmx.net>
1750 * bufferview_funcs.C: remove getInsetFromId()
1753 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1759 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1761 * PosIterator.C (distance, advance): new
1762 * bufferview_funcs.[Ch] (put_selection_at): new
1763 * iterators.[Ch] (lockPath): new
1765 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1767 * iterators.[Ch] (asPosIterator): added
1768 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1769 * PosIterator.[Ch]: added
1771 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * cursor.C (dispatch):
1776 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1778 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1779 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1780 contructor, add a class function dispatched. Remove operator>=
1782 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * debug.C: only use the default constructor for debugstream
1787 * main.C (main): include debug.h and setup the lyxerr streambuf
1790 2003-10-31 José Matos <jamatos@lyx.org>
1792 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1794 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1795 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1796 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1797 * paragraph_pimpl.C (simpleTeXSpecialC):
1798 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1799 add LatexRunParams argument.
1801 * exporter.C (Export): change call accordingly.
1803 * latexrunparams.h: add new member to take care of the other backends.
1804 2003-10-30 José Matos <jamatos@lyx.org>
1806 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1807 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1808 factorise code for paragraph output.
1810 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1813 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * text3.C (dispatch):
1816 * lyxfunc.C (dispatch):
1817 * cursor.C (dispatch):
1818 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1820 * dispatchresult.h: make the dispatch_result_t ctor explicit
1822 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1825 * buffer.C: small refactoring of docbook stuff
1827 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1829 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1832 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1834 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1835 operator dispatch_result_t, and operators for == != and >=
1837 * cursor.C (dispatch): adjust for operator dispatch_result_t
1838 removal. comment out call to update
1840 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1842 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1853 * dispatchresult.h: new file, DispatchResult broken out of
1856 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1858 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1860 * text.C (rowBreakPoint): put a hack inside #if 0
1862 2003-10-28 André Pönitz <poenitz@gmx.net>
1866 * paragraph_funcs.C:
1869 * text2.C: general cleanup (lots of small stuff)
1871 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1873 * text2.C (cursorEnd): simple fix to the "end key goes to one
1874 before the end on last row" bug
1876 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1878 * text.C (backspace): fix the "zombie characters"
1880 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1882 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1884 2003-10-27 André Pönitz <poenitz@gmx.net>
1886 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1888 * factory.C: handle new InsetPagebreak, InsetLine
1890 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1891 and move handling into new InsetPagebreak, InsetLine
1893 * BufferView_pimpl.C:
1895 * ParagraphParameters.C:
1896 * ParameterStruct.h:
1901 * paragraph_funcs.C:
1902 * paragraph_pimpl.C:
1908 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1911 * lyxrow_funcs.[Ch]:
1917 * text3.C: remove lastPos uses in favour of Row::endpos
1919 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1921 * undo.C (performUndoOrRedo): fix two crashes by setting a
1922 cursor by hand and reordering some calls. Use bv->lockInset instead
1923 of inset->edit because the latter loses cursor information
1925 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1927 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1929 (rowBreakPoint): fix width. change point to point + 1.
1930 Add a missing check.
1932 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1935 * lyxfunc.C: fix (at least partly) the problems
1936 with the Nav menu and headers inside branch insets
1939 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1941 * paragraph.C (getChar): add strong asserts
1943 * lyxrow_funcs.C (lastPos): remove hideous hack
1945 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1946 (fill): adjust to that (avoid an infinite loop)
1948 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1950 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1952 2003-10-23 André Pönitz <poenitz@gmx.net>
1954 * RowList_fwd.h: change list<> to vector<> to gain speed
1955 after suggestion from Alfredo
1957 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1959 * lyxtext.h: move the bidi stuff from here...
1962 * Bidi.[Ch]: ... to here
1964 2003-10-23 André Pönitz <poenitz@gmx.net>
1967 * text.C (isLastRow, isFirstRow): new functions
1969 * paragraph.h: new width cache member
1971 * rowpainter.C: replace RowList::iterator with Row & where possible
1973 * lyxfunc.C: replace several view()->text with a single call
1975 * toc.C: fix 'unused' warning
1977 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1979 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1980 when woring with stream::pos_type
1981 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1983 2003-10-22 André Pönitz <poenitz@gmx.net>
1986 * text.C: use Row & instead of RowList::iterator
1988 * lyxrow.h: rename end() to endpos()
1994 2003-10-22 Angus Leeming <leeming@lyx.org>
1996 * buffer.[Ch] (fully_loaded): new member function, returning true
1997 only when the file has been loaded fully.
1998 Used to prevent the premature generation of previews and by the
1999 citation inset to prevent computation of the natbib-style label.
2001 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2002 templates are all set up.
2004 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2006 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2008 * text.C: fixed an "oops" in the "is a bit silly"
2011 2003-10-21 André Pönitz <poenitz@gmx.net>
2013 * FuncStatus.[Ch]: small stuff, whitespace
2015 * lyxfont.[Ch]: operator<<() for debug reasons
2019 * lyxtext.h: whitespace, spelling
2021 * paragraph.C: naming of variables
2024 * text2.C: small stuff
2027 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2029 * text.C: (1) finish off the inset display() work;
2030 (2) fix the "is a bit silly" bug (accessing char
2033 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2035 * text.C: re-introduce display() for insets, fixing the
2036 various bugs (stretch of line above, math inset
2039 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2041 * text.C (rightMargin): remove spurious semicolon
2043 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2046 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2048 * text3.C: fix one crash due to wrong cursor def
2050 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * vc-backend.C (scanMaster): make the regex static
2054 * LaTeX.C (scanAuxFile): make the regexs static
2056 * text3.C (doInsertInset, dispatch, dispatch):
2057 * text2.C (cursorUp, cursorDown):
2058 * text.C (selectNextWordToSpellcheck):
2059 * BufferView_pimpl.C (dispatch):
2060 * lyxfunc.C (dispatch): localDispatch -> dispatch
2062 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2064 * lyxsocket.C: include <cerrno>
2066 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2068 * lyxfunc.C (dispatch): remove textcache stuff
2070 * bufferlist.C (release): remove textcache stuff
2073 * TextCache.C: delete file
2074 * TextCache.h: delete file
2076 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2078 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2079 delete of the bv_->text.
2080 (resizeCurrentBuffer): remove texcache stuff
2081 (workAreaResize): ditto
2083 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2085 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2088 2003-10-16 André Pönitz <poenitz@gmx.net>
2095 * text3.C: speed up by storing y positions per paragraph plus per-row
2096 offset instead of having a 'full' y position in the row.
2098 2003-10-15 André Pönitz <poenitz@gmx.net>
2102 * undo.[Ch]: make undo aware of inner insets
2104 2003-10-14 Angus Leeming <leeming@lyx.org>
2106 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2107 static member functions LyX::ref() and LyX::cref.
2108 (lastfiles): new accessor functions for the new lastfiles_ member var.
2109 (addLyXView, views_): add a new LyXView to the list of views_.
2110 (updateInset): loop over all LyXViews to call their own updateInset
2111 member function, returning a pointer to the Buffer owning the inset.
2113 * BufferView_pimpl.C (loadLyXFile):
2114 * MenuBackend.C (expandLastfiles):
2115 * bufferlist.C (MenuWrite, QuitLyX):
2116 lastfiles is no longer a global variable.
2117 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2119 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2120 static function. Access through LyX::cref().emergencyCleanup().
2122 2003-10-14 André Pönitz <poenitz@gmx.net>
2124 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2126 * undo.[Ch]: restoring part of 'undo in insets'
2129 * undo_funcs.[Ch]: merge with undo.[Ch]
2131 * tabular.C: small cleansing stuff
2133 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2135 * paragraph_funcs.C (readParToken): report unknown insets as error
2136 boxes. Use the outer paragraph as location (also for unknown
2139 * factory.C (readInset): do not abort on reading an unknown inset.
2140 Eat it and return 0.
2142 2003-10-13 Angus Leeming <leeming@lyx.org>
2144 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2146 * lyxrc.C: displayTranslator is now a function,
2147 declared in GraphicsTypes.h.
2149 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2151 * format.C: new placeholder $$a to pass the socket address.
2153 * bufferlist.[Ch]: new function getBufferFromTmp.
2155 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2156 files in the temporary dir.
2158 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2160 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2162 * Makefile.am: add lyxsocket.[Ch].
2164 * lyx_main.C (error_handler): handle SIGPIPE.
2166 2003-10-13 André Pönitz <poenitz@gmx.net>
2168 * BufferView_pimpl.C:
2173 * undo_funcs.[Ch]: use paroffset_type instead of
2174 ParagraphList::iterators to prevent multiple conversion
2175 (and get a more robust interface)
2177 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2181 * text3.C (dispatch): ditto
2183 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2186 move the onlyfile, use onlyfile instead of foundfile in a couple
2189 * DepTable.C (update): flush the error stream a bit more
2191 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2193 * lyxserver.C (callback): adjust
2195 * lyxfunc.C (getStatus): add a missing brace in commented code
2196 (ensureBufferClean): reindent
2197 (dispatch): delete version taking a string
2199 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2201 * LaTeX.C (deplog): move found file handlig from here...
2202 (handleFoundFile): .. to new function here.
2203 (deplog): make sure to discover several files mentioned on the
2206 2003-10-10 André Pönitz <poenitz@gmx.net>
2213 * text3.C: fix some of the tabular crashes
2215 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2217 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2219 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2221 2003-10-09 André Pönitz <poenitz@gmx.net>
2223 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2226 * BufferView_pimpl.C:
2227 * bufferview_funcs.C:
2238 * undo_funcs.C: adjust
2240 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2242 * text2.C (incrementItemDepth): new function, use a backtracking
2243 algorithm to discover the correct item depth.
2244 (resetEnumCounterIfNeeded): new function, use a backtracking
2245 algorithm to discover if counter reset is needed.
2246 (setCounter): use them. Simplify a bit. Add different labels for
2247 different item depths for itemize.
2249 * paragraph.C (Paragraph): remove initialization of enumdepth
2252 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2253 enumerate and itemize. Change the type of itemdepth to signed char.
2255 2003-10-08 André Pönitz <poenitz@gmx.net>
2257 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2262 * tabular.[Ch]: fix crash after 'row-insert'
2264 2003-10-08 Angus Leeming <leeming@lyx.org>
2266 Fix doxygen warnings.
2268 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2269 Remove CutAndPaste:: prefix from header file declaration.
2271 * LColor.h (fill): remove LColor:: prefix from declaration.
2273 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2274 use lyx::depth_type rather than Paragraph::depth_type so that
2275 header file and .C file match.
2277 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2279 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2280 * aspell.C: \file aspell_local.C -> \file aspell.C
2281 * gettext.C: \file gettext.C -> \file src/gettext.C
2282 * gettext.h: \file gettext.h -> \file src/gettext.h
2283 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2284 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2285 * text.C: \file text.C -> \file src/text.C
2287 * toc.C: move comment so that doxygen is not confused.
2289 2003-10-07 Angus Leeming <leeming@lyx.org>
2291 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2293 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2296 * aspell_local.h: add forgotten std::string's.
2298 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2305 * text3.C: The Box patch. Fancybox support, minipage, parbox
2307 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2313 * ParagraphParameters.h:
2323 * lyxtextclasslist.h:
2326 * paragraph_pimpl.C:
2327 * textcursor.h: add <string> and other small fixes to make Lars'
2328 std::string patch compile with STLport.
2330 2003-10-06 Angus Leeming <leeming@lyx.org>
2332 * LColor.h: Add missing #include <string>.
2334 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2336 * All most all file in all subdirs: Make <string> be the prefered
2337 way of getting to std::string, add using declarations.
2339 2003-10-06 André Pönitz <poenitz@gmx.net>
2341 * metricsinfo.C: initialize LyXFont before changing attribute.
2342 (fixes the 'math in \emph is upright' bug)
2344 2003-10-06 André Pönitz <poenitz@gmx.net>
2346 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2348 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2351 * paragraph_pimpl.C: Small fixes to build using STLport
2353 2003-10-02 André Pönitz <poenitz@gmx.net>
2356 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2358 2003-10-01 André Pönitz <poenitz@gmx.net>
2360 * factory.C: assert early
2362 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * lyx_main.C: remove the global debug object
2366 * debug.h: adjust for new debugstream
2368 * debug.C: adjust for new debugstream and keep the global debug
2371 2003-09-22 Angus Leeming <leeming@lyx.org>
2373 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2374 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2375 an incomplete class LyXFont.
2377 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2379 * factory.C: bug fix in branches
2381 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2383 * lyxfunc.C (processKeySym): adjust
2385 (dispatch): change arg name from ev to func, adjust
2386 (sendDispatchMessage): ditto
2388 * lyx_main.C (defaultKeyBindings): adjust keybindings
2389 (deadKeyBindings): ditto
2391 * kbsequence.C (addkey): return a FuncRequest
2393 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2395 * kbmap.C (bind): take a FuncRequest as arg, adjust
2398 (defkey): change to take a FuncRequest as arg, adjust
2399 (findbinding): take a FuncRequest as arg, adjust.
2401 * funcrequest.h (operator=): added
2403 * funcrequest.C (FuncRequest): default kb_action changed from
2404 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2406 * buffer.C (dispatch): simplify
2407 (dispatch): adjust to take a FuncRequest as arg, adjust
2409 * boost.C (assertion_failed): change assertion message slightly
2411 * ToolbarBackend.C (read): simplify
2413 * MenuBackend.C (binding): adjust call to findbinding, add a
2414 message if no binding is found.
2416 (expandToc): correct by adding a empty FuncRequest
2418 * LyXAction.C: include <boost/assert.hpp>
2419 (isPseudoAction): delete function
2420 (LookupFunc): change name to...
2421 (lookupFunc): this. change return type to FuncRequest.
2422 (getActionName): take kb_action as arg, simplify
2423 (funcHasFlag): add an assert, simplify.
2425 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2427 * toc.C (action): return a FuncRequest, simplify
2429 * lyxfunc.C (processKeySym): adjust
2430 (getStatus): delete version that takes an int.
2432 (dispatch): delete version that takes action as int
2434 (sendDispatchMessage): simplify and adjust
2436 * funcrequest.C (getArg): take unsigned int as arg
2438 * ToolbarBackend.C (read): adjust
2439 (add): delete version that takes func as a string.
2440 (getIton): take a FuncRequest as arg
2442 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2445 * MenuBackend.C (MenuItem): add a new construct that only takes a
2446 Kind, simplify the constructor use for submenus.
2448 (expandLastfiles): adjust
2449 (expandDocuments): adjust
2450 (expandFormats): adjust
2451 (expandFloatListInsert): adjust
2452 (expandFloatInsert): adjust
2453 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2455 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2456 Remove class variables lyx_pseudo_map and lyx_arg_map
2458 * LyXAction.C (searchActionArg): delete function
2459 (getPseudoAction): delete function
2460 (retrieveActionArg): delete function
2461 (LookupFunc): make it return kb_action, simplify.
2462 (getActionName): simplify
2464 * factory.C (createInset): fix new bug
2466 2003-09-19 Angus Leeming <leeming@lyx.org>
2468 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2469 masterFilename_ parameter in the include inset.
2471 * factory.C (createInset): changes due to the changes to InsetInclude.
2473 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2475 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2477 2003-09-18 Angus Leeming <leeming@lyx.org>
2480 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2481 Inset::fillWithBibKeys.
2482 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2484 2003-09-18 Angus Leeming <leeming@lyx.org>
2486 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2488 (ctor): pass and store a 'Buffer const &'
2489 (buffer): new member function.
2491 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2492 '*this' to the LaTeXFeatures ctor.
2494 2003-09-18 Angus Leeming <leeming@lyx.org>
2500 * text.C: rename EnumLColor as LColor_color.
2502 2003-09-18 Angus Leeming <leeming@lyx.org>
2504 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2505 remove #include "insets/insetbase.h" from cursor.h.
2507 2003-09-18 Angus Leeming <leeming@lyx.org>
2509 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2510 InsetOld_code to remove #include "inset.h".
2512 * iterators.C: add #include "insets/inset.h"
2514 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2516 * BufferView.C: remove more locking stuff that apparently doesn't
2517 do anything sensible.
2519 2003-09-16 André Pönitz <poenitz@gmx.net>
2522 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2525 2003-09-16 Angus Leeming <leeming@lyx.org>
2527 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2529 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2532 * paragraph.h: remove #include "lyxfont.h". Forward declare
2535 2003-09-16 Angus Leeming <leeming@lyx.org>
2537 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2538 of support/textutils.h.
2539 (isWord): move the contents of support/textutils.h's IsWordChar here.
2545 * text2.C: add #include "paragraph.h".
2548 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2550 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * LaTeX.C: use namespace alias for lyx::support::os
2558 2003-09-16 Angus Leeming <leeming@lyx.org>
2561 * bufferview_funcs.C:
2564 * paragraph_pimpl.C:
2566 * text.C: add #include "LColor.h".
2568 2003-09-16 Angus Leeming <leeming@lyx.org>
2570 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2571 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2573 Store the FontBits::color variable as an int rather than as an
2574 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2577 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2578 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2579 string calls together.
2581 * lyxrc.C: add #include "LColor.h".
2583 2003-09-15 Angus Leeming <leeming@lyx.org>
2585 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2588 2003-09-15 Angus Leeming <leeming@lyx.org>
2590 * LColor.h: add an EnumLColor wrapper for LColor::color.
2592 * lyxfont.[Ch] (color, setColor, realColor):
2593 * lyxtext.h, text.C (backgroundColor):
2594 pass EnumLColor args to/from the functions, rather than LColor::color
2598 * lyxtext.h: forward declare EnumLColor.
2600 * lyx_main.C: add #include "LColor.h".
2602 2003-09-15 Angus Leeming <leeming@lyx.org>
2604 * .cvsignore: add lyx-gtk.
2606 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * ParagraphParameters.C
2615 * bufferview_funcs.C
2625 * vc-backend.C: remove usage of STRCONV
2627 2003-09-15 Angus Leeming <leeming@lyx.org>
2629 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2630 explicitly define the color passed to the painter.
2632 2003-09-15 Angus Leeming <leeming@lyx.org>
2634 * bufferparams.C (BufferParams): reorder member initializers to avoid
2637 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2639 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2640 * text.C (updateRowPositions): remove an unusual nop
2642 2003-09-12 André Pönitz <poenitz@gmx.net>
2644 * BufferView_pimpl.C:
2653 * Counters.[Ch]: finish the 'automatic counters' job
2655 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2657 * aspell.C: include <boost/assert.cpp> (compile fix)
2659 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2661 * boost.C (assertion_failed): use lyx::support::abort instead of
2664 2003-09-10 Angus Leeming <leeming@lyx.org>
2666 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2667 with their _fwd progeny.
2669 2003-09-09 Angus Leeming <leeming@lyx.org>
2671 134 files throughtout the source tree: replace 'using namespace abc;'
2672 directives with the appropriate 'using abc::xyz;' declarations.
2674 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2676 * boost.C (emergencyCleanup): moved here from LAssert.c
2677 (assertion_failed): new function, called by BOOST_ASSERT
2679 * several files: change Assert to BOOST_ASSERT
2681 2003-09-09 Angus Leeming <leeming@lyx.org>
2683 * buffer.[Ch]: Add an Impl class and move Buffer's member
2684 variables into it. As a result move several header files out of
2687 Add header files to lots of .C files all over the tree as a result.
2689 2003-09-09 Angus Leeming <leeming@lyx.org>
2691 * buffer.[Ch]: make Buffer's member variables private. Add
2694 Lots of changes all over the tree as a result.
2696 2003-09-08 Angus Leeming <leeming@lyx.org>
2698 * graph.C: #include <config.h>.
2700 2003-09-08 Angus Leeming <leeming@lyx.org>
2704 * BufferView_pimpl.C:
2733 * toc.C: remove redundant using directives.
2735 2003-09-07 Angus Leeming <leeming@lyx.org>
2737 * LaTeXFeatures.h: remove #include "support/types.h".
2738 * ToolbarBackend.h: remove #include <algorithm>.
2739 * changes.h: remove #include <ctime>.
2740 * debug.h: remove #include <iosfwd>.
2741 * graph.h: remove #include "support/std_string.h".
2742 * lyx_main.h: remove #include <csignal>.
2743 * lyxlex_pimpl.h: remove #include <fstream>.
2744 * sgml.h: remove #include <algorithm>, <utility>.
2745 * toc.h: remove #include "support/std_ostream.h".
2746 Add #include <iosfwd>.
2748 2003-09-07 Angus Leeming <leeming@lyx.org>
2750 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2752 * converter.h: forward declare LatexRunParams.
2753 * encoding.h: remove #include "lyxrc.h".
2754 * lyxtext.h: remove #include "LColor.h".
2755 * lyxtextclass.h: remove #include "support/types.h".
2756 * trans.h: remove #include "tex-accent.h".
2757 * trans_mgr.h: remove #include "tex-accent.h".
2758 * insets/inset.h: remove #include "support/types.h", <vector>.
2759 * insets/insetcollapsable.h: remove #include "LColor.h".
2760 * insets/insetinclude.h: remove #include "dimension.h".
2761 * insets/insetlatexaccent.h: remove #include "dimension.h".
2762 * insets/insetoptarg.h:: remove #include "insettext.h".
2763 * insets/insettext.h: remove #include "dimension.h",
2764 <boost/shared_ptr.hpp>
2766 * insets/renderers.h: add #include "dimension.h".
2767 * insets/updatableinset.h: add #include "support/types.h".
2769 * many .C files: Associated changes.
2771 2003-09-06 Angus Leeming <leeming@lyx.org>
2773 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2774 one, inside testInvariant.
2776 * PrinterParams.C: new file.
2777 * PrinterParams.[Ch]: move the function bodies out of line.
2779 2003-09-06 Angus Leeming <leeming@lyx.org>
2781 * ParagraphParameters.h: forward declare ParameterStruct rather than
2782 including its header file.
2783 (depth): moved out-of-line.
2785 2003-09-06 Angus Leeming <leeming@lyx.org>
2787 * BufferView_pimpl.h:
2790 * lyxfunc.h: forward declare LyXKeySym rather than
2791 #include "frontends/LyXKeySym.h".
2793 * BufferView_pimpl.C:
2796 * lyxfunc.C: associated changes.
2798 2003-09-06 Angus Leeming <leeming@lyx.org>
2800 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2801 As a result, can remove the #include "insets/inset.h" from BufferView.h
2803 2003-09-06 Angus Leeming <leeming@lyx.org>
2805 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2806 As a result, can remove the #include "insets/inset.h" from BufferView.h
2808 2003-09-06 Angus Leeming <leeming@lyx.org>
2814 * bufferview_funcs.C:
2815 * BufferView_pimpl.C:
2820 * ParagraphParameters.C:
2825 * frontends/controllers/ControlDocument.C:
2826 * insets/insetcaption.C: rearrange the #includes into some sort of
2829 * buffer.h: remove #includes ErrorList.h, undo.h
2831 2003-09-06 Angus Leeming <leeming@lyx.org>
2833 * support/types.h: add a 'depth_type' typedef, used to store the
2834 nesting depth of a paragraph.
2837 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2838 defining explicitly.
2841 * paragraph_funcs.h:
2842 * ParagraphParameters.h:
2843 * sgml.h: use lyx::depth_type rather than Paragraph or
2844 ParameterStruct's depth_type.
2847 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2850 * BufferView_pimpl.C:
2852 * ParagraphParameters.C:
2855 * bufferview_funcs.C:
2862 * frontends/LyXView.C:
2863 * frontends/controllers/ControlDocument.C:
2864 * frontends/controllers/ControlErrorList.C:
2865 * insets/insetbibitem.C:
2866 * insets/insetbranch.C:
2867 * insets/insetcaption.C:
2868 * insets/insetcollapsable.C:
2869 * insets/insetenv.C:
2870 * insets/insetert.C:
2871 * insets/insetfloat.C:
2872 * insets/insetfoot.C:
2873 * insets/insetfootlike.C:
2874 * insets/insetnewline.C:
2875 * insets/insetquotes.C:
2876 * insets/insettabular.C:
2877 * insets/insettext.C:
2878 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2880 * frontends/controllers/ControlChanges.C: #include "changes.h".
2882 2003-09-06 Angus Leeming <leeming@lyx.org>
2884 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2885 than #including paragraph.h.
2888 * RowList.h: deleted. Superfluous.
2898 * insets/insettext.h: use ParagraphList_fwd.h rather than
2901 * paragraph.h: don't forward declare ParagraphList.
2904 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2905 rather than ParagraphList.h. paragraph.h is still needed for the
2906 Paragraph::depth_type parameters.
2908 * textcursor.h: enable it to compile stand-alone in light of the
2911 * bufferview_funcs.C:
2923 * frontends/controllers/ControlParagraph.C:
2924 * frontends/controllers/ControlTabular.C:
2925 * insets/insetmarginal.C:
2926 * insets/insetminipage.C:
2927 * insets/insetnote.C:
2928 * insets/insetoptarg.C: add header files needed to compile again.
2930 2003-09-06 Angus Leeming <leeming@lyx.org>
2932 * RowList_fwd.h: new file, forward-declaring Row rather than
2933 #including lyxrow.h.
2938 * insets/insettext.h: use it instead of RowList.h
2940 * bufferview_funcs.C:
2947 * text3.C: #include "RowList.h".
2949 2003-09-05 Angus Leeming <leeming@lyx.org>
2951 * factory.C (createInset):
2952 * vspace.C (c-tor): replace sscanf call with an istringstream.
2953 * ispell.C: re-add missing HP/UX headers.
2954 * lyxserver.C: re-add missing os2 headers.
2956 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2965 * text3.C: re-add missing system headers, needed for 2.95.2.
2967 2003-09-05 Angus Leeming <leeming@lyx.org>
2969 Changes most place everywhere due to the removal of using directives
2970 from support/std_sstream.h.
2972 2003-09-05 Angus Leeming <leeming@lyx.org>
2974 Replace LString.h with support/std_string.h,
2975 Lsstream.h with support/std_sstream.h,
2976 support/LIstream.h with support/std_istream.h,
2977 support/LOstream.h with support/std_ostream.h.
2979 Changes resulting throughout the tree.
2981 2003-09-05 Angus Leeming <leeming@lyx.org>
2983 * sgml.h: ensure that the header file can be compiled stand-alone.
2984 * *.C: strip out redundant #includes. (320 in total.)
2986 2003-09-04 Angus Leeming <leeming@lyx.org>
2988 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2989 here (from getPackages).
2991 * debug.[Ch]: add a new EXTERNAL tag.
2993 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2995 * text2.C (cursorEnd): simplify
2997 (getColumnNearX): adjust
2999 * text.C (computeBidiTables): adjust
3002 * rowpainter.C (paintChars): adjust
3003 (paintSelection): adjust
3004 (paintChangeBar): adjust
3007 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3009 (numberOfSeparators): adjust
3011 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3017 * text3.C: Restricts the mouse click functionality
3018 of insets like bibtex, include, toc and floatlist to the visible
3019 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3020 up the dialogs. Cursor has to be in front of the inset (i.e.
3021 start of row) for this to function.
3023 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3025 * bufferview_funcs.C (currentState): output row information
3027 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3029 * bufferview_funcs.C (currentState): output paragraph position
3031 2003-09-04 Angus Leeming <leeming@lyx.org>
3033 * FloatList.h: move out #include "Floating.h".
3034 * LaTeX.h: move out #include "DepTable.h".
3035 * LyXAction.h: move out #include "funcrequest.h".
3036 * buffer.h: move out #include "author.h", "iterators.h".
3037 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3038 * lyx_main.h: move out #include "errorlist.h".
3039 * lyxfunc.h: move out #include "FuncStatus.h".
3040 * lyxtext: move out #include "lyxcursor.h".
3041 * paragraph_pimpl.h: move out #include "counters.h".
3043 2003-09-03 Angus Leeming <leeming@lyx.org>
3045 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3046 preamble_snippets list, enabling us to add snippets to the preamble
3047 only if the snippet was not there already.
3049 2003-09-04 Angus Leeming <leeming@lyx.org>
3051 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3053 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3055 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3058 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3060 * BranchList.C: point fix, earlier forgotten
3062 2003-09-02 Angus Leeming <leeming@lyx.org>
3064 * box.C (contains): renamed from 'contained' after a fantastic
3067 2003-09-02 John Levon <levon@movementarian.org>
3073 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3075 2003-09-02 John Levon <levon@movementarian.org>
3077 * text2.C: simplification of cursorEnd(), including partial
3080 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3082 * buffer.C (readFile): add a space
3084 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3086 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3088 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * buffer.C (readFile): new function, take a filename and a
3091 ParagraphList::iterator
3093 (readFile): adjust, make it private. don't use setStream, make
3094 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3095 always contain the filename.
3097 * BufferView.C (insertLyXFile): simplify and make it work for
3100 2003-08-30 John Levon <levon@movementarian.org>
3102 * Makefile.am: fix dist (from Kayvan)
3104 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * most files: change to use const Buffer refs
3108 2003-08-27 André Pönitz <poenitz@gmx.net>
3110 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3111 on top of ownerPar().
3113 2003-08-27 John Levon <levon@movementarian.org>
3115 * funcrequest.C: properly initialise POD members
3117 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3119 * lyxtext.h (top_y): move top_y from here
3124 * BufferView_pimpl.[Ch]: to here
3125 * frontends/screen.C:
3126 * insets/insettabular.C:
3127 * insets/insettext.C: adjust
3128 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3130 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3133 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3135 2003-08-26 André Pönitz <poenitz@gmx.net>
3137 * paragraph_func.[Ch] (outerPar): new function
3140 * paragraph_funcs.C:
3141 * paragraph_funcs.h:
3142 * paragraph_pimpl.C:
3143 * text2.C: remove Inset::par_owner
3145 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3150 * text2.C: eliminates the needFullRow/display() stuff
3151 altogether, putting the logic in metrics/draw in the insets.
3153 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3155 * text2.C (redoParagraphInternal, redoParagraphs):
3156 * text.C (redoParagraph): add a call to updateRowPositions at the
3157 end of each 'metrics-like' call. Remove all others.
3158 (getRow): remove the 'y-computing' version.
3159 (getRowNearY): do not compute nor return the real y. Solve the
3160 'y < 0' problem and simplify.
3162 2003-08-22 Angus Leeming <leeming@lyx.org>
3164 * *.[Ch]: clean-up of licence and author blurbs.
3165 Also move config.h out of a few .h files and into a few .C files.
3167 2003-08-22 André Pönitz <poenitz@gmx.net>
3169 * lyxrow.[Ch]: add x_ and *fill_ members
3174 * text2.C: adjust/remove prepareToPrint() calls
3176 2003-08-22 André Pönitz <poenitz@gmx.net>
3178 * lyxrow.[Ch]: add end_ member
3180 * lyxrow_funcs.C: use LyXRow::end_
3182 * lyxtext.h (singleWidth): add LyXFont parameter
3185 * text2.C: adjust LyXText::singleWidth() calls
3187 * text.C (redoParagraph): simplify row breaking logic
3190 2003-08-19 André Pönitz <poenitz@gmx.net>
3192 * funcrequest.C: initialize button_ member
3195 * rowpainter.[Ch]: interface consolidation
3197 2003-08-18 André Pönitz <poenitz@gmx.net>
3200 * BufferView_pimpl.C:
3202 * paragraph_funcs.C:
3204 * text3.C: remove LyXScreen::draw() and fitCursor calls
3206 * BranchList.h: remove spurious semicolons
3208 * MenuBackend.C: fix branchlist related crash
3210 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3218 * bufferparams.[Ch]:
3222 * text3.C: implements the 'branch inset'
3223 idea. This allows the output of various versions of a document
3224 from a single source version, selectively outputing or suppressing
3225 output of parts of the text.
3226 This implementation contains a 'branch list editor' in a separate
3227 tab of the document settings dialog. Branches are user definable
3228 and have a "display colour" to distinguish them on-screen.
3230 ColorHandler was somewhat cleaned up.
3231 (1) make possible a dynamically growing LColor list by allowing
3232 the graphic context cache to grow along (vector);
3233 (2) eliminate an IMHO unnecessary step in colour allocation.
3235 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3237 * BufferView_pimpl.C: compile fix
3239 2003-08-15 André Pönitz <poenitz@gmx.net>
3241 * rowpainter.C: remove extra metrics calls
3243 * lyxtext.h: merge the two constructors into a single one,
3244 pass reference to owner's par list
3246 * BufferView_pimpl.C:
3250 2003-08-15 André Pönitz <poenitz@gmx.net>
3252 * lyxrow_funcs.[Ch]:
3255 * paragraph_funcs.C:
3260 * text_funcs.C: split LyXText::rowlist_ into individual
3261 Paragraph::rows_ chunks
3264 * BufferView_pimpl.[Ch]:
3267 * text3.C: remove toggleSelection()
3269 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3271 * bufferlist.C: beautify two alerts (shorter text of buttons)
3272 * buffer.C: Remove redundant ' ' from message
3274 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3275 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3276 rename VALIGN_CENTER to VALIGN_MIDDLE
3278 2003-08-11 André Pönitz <poenitz@gmx.net>
3280 * lyxtext.h (getPar):
3281 * text.C: new function
3283 2003-08-11 André Pönitz <poenitz@gmx.net>
3286 * tracer.[Ch]: remove unneeded files
3288 * InsetList.[Ch]: remove resizeInsetsLyXText()
3293 * text3.C: merge insertParagraphs() and appendParagraph()
3294 remove breakAgain(), update()
3296 * BufferView_pimpl.[Ch]:
3297 * bufferview_funcs.[Ch]:
3301 * tabular.C: adjust after text & InsetList changes.
3303 2003-08-08 André Pönitz <poenitz@gmx.net>
3305 * text.C (insertChar, backspace): replace rowlist fiddling
3306 with rebreak of full par
3309 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3310 checkParagraph, updateInset): removed
3312 2003-08-07 André Pönitz <poenitz@gmx.net>
3315 * text3.C: merge some LFUN handlers, remove dead code
3317 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3319 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3321 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3323 * text2.C (DEPM): fix part of bug 1255 and 1256
3325 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3327 * BufferView_pimpl.C (workAreaDispatch): change to use
3328 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3329 that are no mouse related.
3331 2003-08-05 André Pönitz <poenitz@gmx.net>
3334 * BufferView_pimpl.[Ch]:
3335 * bufferview_funcs.C:
3337 * text3.C: rip out "deep update"
3339 * textcursor.[Ch] (last_sel_cursor): remove unused member
3341 2003-08-04 André Pönitz <poenitz@gmx.net>
3344 * BufferView_pimpl.[Ch]:
3345 * ParagraphParameters.C:
3346 * bufferview_funcs.C:
3352 * text3.C: replace "complicated" BufferView::update(...) calls with
3355 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3357 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3359 * Makefile.am (lyx_SOURCES): add paper.h
3361 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3363 * Makefile.am: move things around so that both lyx-qt and
3364 lyx-xforms can be built (according to --with-frontend). Then lyx
3365 is a symbolic link to lyx-[firstfrontend]
3367 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3369 * Always use std::endl with lyxerr
3371 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3373 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3375 2003-08-01 André Pönitz <poenitz@gmx.net>
3378 * BufferView_pimpl.[Ch]:
3380 * text3.C: merge BufferView::repaint() and BufferView::update()
3382 2003-08-01 José Matos <jamatos@lyx.org>
3384 * buffer.[Ch]: file_format is no longer a buffer data element.
3386 2003-08-01 André Pönitz <poenitz@gmx.net>
3391 * text2.C: make redoParagraph more independent of current cursor
3393 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3395 * text2.C: remove unneeded members
3397 2003-07-30 André Pönitz <poenitz@gmx.net>
3399 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3401 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3402 create a single function...
3404 * paragraph_funcs.C (moveItem): ... here.
3407 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3409 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3411 * LColor.[Ch]: Add comment and greyedout logical colors.
3413 2003-07-30 André Pönitz <poenitz@gmx.net>
3415 * tabular.C: don't use Assert too heavily. This crashes where it
3418 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3420 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3421 is disabled (bug 1232)
3423 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3425 * factory.C: limited 'arg' scope
3427 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3429 * factory.C: fixed Note submenu issues
3431 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3433 * factory.C: submenu for Note/Comment/Greyedout
3435 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3438 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3440 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3443 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3444 greyedout. Patch provided by Jürgen Spitzmüller.
3446 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3448 * kbmap.C (read): fix error message when reading bind files
3450 2003-07-29 Angus Leeming <leeming@lyx.org>
3452 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3453 certainly does not do what it purports to do. I am doing it, and
3454 us, a favour by killing it.
3456 2003-07-28 José Matos <jamatos@lyx.org>
3458 * buffer.C (readBody, do_writeFile):
3459 * paragraph.C(readParagraph): \end_document replaces \the_end.
3461 2003-07-29 André Pönitz <poenitz@gmx.net>
3464 * BufferView_pimpl.[Ch]:
3468 * textcursor.[Ch]: remove toggleToggle & Co
3470 2003-07-28 José Matos <jamatos@fep.up.pt>
3472 * buffer.C (readParagraph):
3473 * params_func (readParToken, readParagraph):
3474 * paragraph.C (write): \layout -> \begin_layout.
3476 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3478 * lyxlex_pimpl.C (setFile): clean up slightly.
3480 * bufferparams.h: add compressed var
3482 * buffer_funcs.C (readFile): adjust for LyXLex change
3483 (newFile): ditto + simplify
3485 * buffer.C (writeFile): handle writing of compressed files
3487 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3488 Check if the file is compressed and set a bufferparm if so.
3490 * Makefile.am (lyx_LDADD): remove explicit -lz
3492 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3494 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3495 makeDocBookFile): put the real LyX version in the first line of
3499 * version.C.in: remove lyx_docversion
3501 * tabular.C (write_attribute): add a template-based version to
3502 write enums properly
3504 2003-07-28 André Pönitz <poenitz@gmx.net>
3509 * text3.C: use doubles again for x-coordinates. They are needed.
3511 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3513 * messages.C (getLocaleDir): use lyx_localedir()
3515 * lyxlex_pimpl.C (setFile): compress stuff
3517 * buffer.C (writeFile): add some compression stuff
3518 (do_writeFile): new func, dont call expliti close... will this
3521 * Makefile.am (lyx_LDADD): add -lz
3523 2003-07-28 José Matos <jamatos@fep.up.pt>
3525 * buffer.C: increment file format.
3526 * paragraph_funcs (readParagraph, readParToken):
3527 * paragraph.C (readParagraph): add \end_layout.
3529 2003-07-27 Angus Leeming <leeming@lyx.org>
3531 * Makefile.am: remove special casing for configure-time setting of
3532 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3534 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3535 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3537 2003-07-26 André Pönitz <poenitz@gmx.net>
3539 * paragraph_func.[Ch]:
3540 * paragraph.C (realizeFont): inline it whereever it is used
3545 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3548 2003-07-26 André Pönitz <poenitz@gmx.net>
3552 * text2.C: get rid of LyXText::need_break_row
3554 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * toc.[Ch]: put namespace toc inside namespace lyx
3558 * MenuBackend.C (expandToc2): adjust for lyx::toc
3561 * lyxfunc.C (dispatch): adjust for lyx::find
3563 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3564 lyx::find instead. Reorganize a bit.
3565 (LyXReplace): rename to replace
3566 (LyXFind): rename to find
3568 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3571 2003-07-26 André Pönitz <poenitz@gmx.net>
3573 * text.C (setHeightOfRow): restrict scope of temporary variable
3575 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3576 code (never has been used?)
3578 2003-07-27 Asger Alstrup <alstrup@local>
3580 * text.C (fill): Optimise algorithm to exploit that we can reuse
3581 the LyXFont for many characters.
3582 (setHeightOfRow): Same thing.
3583 (rowBreakPoint): Same thing.
3585 2003-07-26 Asger Alstrup <alstrup@local>
3587 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3589 * text.C (singleWidth): Spurious font copying in hot-spot
3590 singleWidth avoided. Reorder tests for arabic for efficiency.
3592 * text.C (fill): handle empty paragraphs better.
3594 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3597 * encoding.h: add includes
3599 * lyxrc.C: remove reading of bind files
3601 * lyx_main.C (init): setup bindings and menus only if we have a
3604 * kbmap.C (read): new method. Do the actual reading of bind
3607 * converter.C (dvipdfm_options):
3610 (output): adapt PAPER_* enums.
3612 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3614 * bufferparams.h: remove paper-related enums from there
3616 * paper.h: New file. A trivial header file to hold paper-related
3617 enums. It should later expand to contain many paper-related
3620 * lyxrc.C: declare extern displayTranslator
3622 2003-07-27 José Matos <jamatos@fep.up.pt>
3624 * tabular.[Ch] (linuxdoc): add support for tables and figures
3627 2003-07-27 José Matos <jamatos@fep.up.pt>
3629 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3630 consistency in both functions.
3631 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3633 2003-07-26 Asger Alstrup <alstrup@local>
3635 * rowpainter.C (paintRows): Change algorithm to work directly on
3636 the insets rather than asking every character in the document
3637 whether its an inset.
3639 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3641 * buffer.C (openFileWrite): factorize some code
3643 2003-07-26 Angus Leeming <leeming@lyx.org>
3646 * lyx_main.[Ch]: replace occurances of system_tempdir with
3649 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3651 * rename Inset to InsetOld
3653 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3655 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3656 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3657 which I think is a bit clearer. EDIT is gone, since it was
3658 premature optimisation, and broken for mathed anyway.
3659 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3660 with cursor positioning in insets as well (math insets still do not
3661 work, but that's a different story anyway.) It mysteriously
3662 crashes sometimes with undo in the first paragraph, but I'm fairly
3663 confident that this is a compiler bug.
3665 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3667 * paragraph.C (Paragraph): adjust for new clone return type
3669 (copyIntoMinibuffer): ditto
3671 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3673 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3674 by not having a special case, and always doing a full rebreak of
3675 the document after undo.
3677 2003-07-23 Angus Leeming <leeming@lyx.org>
3679 * factory.C (createInset): InsetExternal::setParams now takes a
3682 2003-07-23 Angus Leeming <leeming@lyx.org>
3684 * factory.C (createInset): changed interface to the external and
3685 graphics mailers' string2params functions.
3687 2003-07-23 Angus Leeming <leeming@lyx.org>
3689 * factory.C (createInset): pass a
3690 Buffer const * parameter to InsetExternalMailer's string2params.
3692 2003-07-22 John Levon <levon@movementarian.org>
3694 * Thesaurus.h: include the right aiksaurus header
3696 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3698 * MenuBackend.C (expand): check menu shortcuts unconditionally
3700 2003-07-21 Angus Leeming <leeming@lyx.org>
3702 * factory.C (createInset): pass a
3703 buffer_path parameter to InsetGraphicsMailer's string2params.
3705 2003-07-21 Angus Leeming <leeming@lyx.org>
3707 * BufferView_pimpl.C (buffer):
3710 * lyxfunc.C (dispatch):
3711 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3712 rather than the grfx shortcut.
3714 2003-07-21 André Pönitz <poenitz@gmx.net>
3716 * rowpainter.C: remove unused variables
3719 * tabular_funcs.h: move to tabular.C
3720 * Makefile.am: adjust
3722 * tabular.[Ch]: basic optical cleaning
3724 * author.h: pass references, not values
3726 2003-07-18 André Pönitz <poenitz@gmx.net>
3734 * text3.C: two-phase drawing for InsetText and InsetTabular
3735 some float -> int changes.
3737 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3739 * lyx_main.C: fix the fix
3741 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3743 * lyx_main.C: fix a crash in batch mode if no files specified
3746 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3748 * format.[Ch] (papersize): moved to BufferParams
3749 * converter.[Ch] (dvips_options): moved to BufferParams
3750 (dvipdfm_options): moved to anon namespace
3751 * bufferparams.[Ch]: added above functions.
3753 2003-07-17 André Pönitz <poenitz@gmx.net>
3757 * text2.C: don't call inset->update() anymore
3759 * metricsinfo.[Ch]: add convenience constructor
3761 2003-07-16 André Pönitz <poenitz@gmx.net>
3766 * text2.C: replace the LyXCursor::irow_ member with
3767 on-demand computation of the value
3769 2003-07-16 John Levon <levon@movementarian.org>
3771 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3773 2003-07-15 André Pönitz <poenitz@gmx.net>
3776 * text2.C: remove no more needed refresh_row
3778 2003-07-15 André Pönitz <poenitz@gmx.net>
3783 * text3.C: refresh_status tristate -> need_update bool
3785 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3787 * lyxtext.h (init): remove reinit argument (act as if always true)
3788 * text2.C: adjust to that
3790 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3792 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3793 * text3.C: use it to delete selections in some cases
3794 (bugs 441, 673, 702, 954).
3796 2003-07-14 André Pönitz <poenitz@gmx.net>
3798 * rowpainter.[Ch]: reduce interface
3800 2003-07-14 André Pönitz <poenitz@gmx.net>
3802 * BufferView_pimpl.C:
3803 * text2.C: adjust after removing unused BufferView * argument
3805 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3807 * text2.C (init): fix a crash fired on resize
3809 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3811 * buffer.[Ch]: added new closing signal
3812 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3813 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3814 BufferView::Pimpl via the closing the signal
3816 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3818 * buffer.[Ch]: take out all bv-related from buffer
3820 * BufferView_pimpl.[Ch]: connect to new signals
3821 * CutAndPaste.C: removed useless asserts
3822 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3825 * lyxfunc.C: moved view-related funciontality from vc here
3826 * paragraph.C: removed outdated comments
3829 2003-07-10 André Pönitz <poenitz@gmx.net>
3831 * BufferView_pimpl.C:
3835 * text2.C: remove InsetText::InnerCache, clean up consequences
3837 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3839 * ispell.C: fix two typos in error messages
3841 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3843 * Extend Note inset to other forms of annotation like Comment
3844 and Greyedout. Right button click gives dialog.
3846 Files modified or added (+):
3850 * ControlNote.[Ch] +
3852 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3853 frontends/controllers
3857 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3859 * aspell.C: add missing namespace lyx::support
3861 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3863 * BufferView.[Ch] (newFile): Add
3864 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3865 * LaTeX.[Ch] (message): added this signal and use it
3866 * buffer.[Ch] (busy, message): added these signals and use them
3867 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3871 * importer.C: use buffer signals instead of direct bv calling
3872 * lyx_cb.[Ch] (ShowMessage): removed
3875 * paragraph_funcs.C:
3876 * text2.C: use buffer signals
3878 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3880 * introduce namespace lyx::graphics
3882 2003-07-02 André Pönitz <poenitz@gmx.net>
3884 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3886 2003-07-01 André Pönitz <poenitz@gmx.net>
3893 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3894 text*.C to text_func.C
3896 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * introduce namespace lyx::support
3900 2003-06-30 André Pönitz <poenitz@gmx.net>
3905 * text.C: re-enable --with-included-string
3907 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3909 * textcursor.C: add <config.h>
3911 * text.C (getWord): remove const from word_location arg
3913 * lyxvc.C (getLogFile): fix const type order
3915 * lyxtext.h: remove const from word_location arg, add arg name
3917 * lyxlayout.h: currect type on labeltype.
3919 * importer.C: correct \file
3921 * converter.C (intToFormat): use std:: on ret val, ws changes
3923 * bufferlist.h: correct \file
3925 * buffer.C (makeLinuxDocFile): fix const type order
3926 (makeDocBookFile): ditto
3927 (fillWithBibKeys): use std:: on stdlib args.
3929 * CutAndPaste.C: fix authors.
3930 (availableSelections): use std:: on return vector
3932 2003-06-27 André Pönitz <poenitz@gmx.net>
3934 * BufferView_pimpl.C:
3935 * bufferview_funcs.C:
3943 * text3.C: remove LyXCursor::row_ member
3946 * text.C: rename fullRebreak() to partialRebreak() and implement
3947 a fullRebreak() that really bereks fully
3949 * textcursor.h: new struct for cursor-related data
3951 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3953 * lyx_main.C (LyX): get full path of document loaded on the
3956 2003-06-26 André Pönitz <poenitz@gmx.net>
3958 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3959 remove unused/broken operator>,<,>=.
3961 * text.C: remove only use of broken operator<= in an Assert().
3963 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3965 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3966 moved errorlist_.clear to showErrorList
3968 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3970 * converter.C (scanLog, runLaTeX):
3971 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3972 move the bv->showErrorList call to the callers
3973 * lyxfunc.C: i.e. here...
3975 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3976 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3977 namespace, the second to...
3978 * buffer_funcs (BufferFormat, parseErrors): added
3979 * errorlist.C (ErrorList(TeXErrors const &)): removed
3981 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3983 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3985 2003-06-24 "Garst R. Reese" <reese@isn.net>
3989 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3991 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3993 * version.C.in: change docversion to 1.4
3995 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3997 * buffer.C: fix a bug just introduced
3999 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4001 * buffer.[Ch]: added the parseError signal and use it, removed
4003 * BufferView.[Ch] (addError): moved to ...
4004 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4005 to the Buffer::parseError signal to catch (guess what) parse errors
4006 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4008 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4010 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4011 ability to create a buffer and to return an existing one from
4012 the list. Moved these functions to...
4013 * buffer_funcs.[Ch]: added
4014 * BufferView.[Ch] (loadLyXFile): added
4015 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4016 job removed from bufferlist::loadLyXFile.
4017 * buffer.C (setReadOnly): make it work without view
4018 (i.e added an if (users))
4020 2003-06-19 Angus Leeming <leeming@lyx.org>
4023 * LyXAction.C (init):
4024 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4025 with LFUN_DIALOG_SHOW <name> <data>.
4027 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4029 * CutAndPaste.C (availableSelections): small compilation fix for
4030 ancient (gcc 2.9x) compilers
4032 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * text3.C (cursorNext): add tmp var
4036 * text2.C (updateCounters): for function calling out of for clause
4037 (replaceSelectionWithString): ditto
4038 (insertStringAsParagraphs): ditto
4039 (getColumnNearX): add tmp var
4040 (setCursorFromCoordinates): add tmp var
4041 (cursorDownParagraph): add tmp var
4042 (deleteEmptyParagraphMechanism): add tmp var
4044 * text.C (insertChar): add tmp var
4046 * rowpainter.C (paintDepthBar): add tmp var
4048 * CutAndPaste.C (availableSelections): potentially check all
4049 paragraphs in a cut to fill the shown strings.
4051 2003-06-18 André Pönitz <poenitz@gmx.net>
4053 * kbmap.[Ch]: use vector<> instead of list<>
4055 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4057 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4058 pasteSelection with index
4060 * text2.C (pasteSelection): modify, call pasteSelection with index
4062 * paragraph.C (asString): reimplement version with no interval to
4063 call the one with interval.
4065 * lyxtext.h: add index arg to pasteSelection
4067 * MenuBackend.C (MenuItem): handle PasteRecent
4068 (Menu::read::Menutags): add md_pasterecent
4070 (expandPasteRecent): new function
4073 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4075 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4077 (availableSelections): new function
4079 2003-06-17 Angus Leeming <leeming@lyx.org>
4081 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4083 2003-06-17 Angus Leeming <leeming@lyx.org>
4086 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4088 * lyxfunc.C (dispatch): invoke it.
4090 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4092 * iterators.C (operator++, ParPosition): reintroduce some
4093 const_cast for the benefit of older compilers.
4095 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4097 * text3.C (dispatch): do not modify clipboard when doing
4098 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4099 LFUN_DELETE_SKIP on a selection selection
4101 2003-06-16 André Pönitz <poenitz@gmx.net>
4107 * tabular.[Ch]: IU of clone() and getLabelList();
4109 2003-06-13 André Pönitz <poenitz@gmx.net>
4111 * tabular.h: compactification
4113 2003-06-12 André Pönitz <poenitz@gmx.net>
4117 * tabular_funcs.h: some renaming plus whitespace
4119 2003-06-12 André Pönitz <poenitz@gmx.net>
4122 * BufferView_pimpl.C:
4128 * toc.C: Return a Paragraph & for ParIterator::operator*()
4130 2003-06-11 John Levon <levon@movementarian.org>
4134 * ToolbarBackend.C: add "Toolbars" section and
4137 2003-06-10 Angus Leeming <leeming@lyx.org>
4140 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4142 * lyxfunc.C (dispatch): invoke it.
4144 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * main.C: protect <ios> with HAVE_IOS
4147 (main): protect sync_with_stdio with HAVE_IOS
4149 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4151 * text2.C (cutSelection): adjust
4152 (pasteSelection): adjust
4154 * messages.C: handle get of empty string
4156 * main.C (main): use sync_with_stdio(false)
4158 * lyxfunc.C (dispatch): adjust
4160 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4161 (WriteAs): remove unneeded BufferView arg.
4163 * bufferparams.h: use correct types on papersize, papersize2 and
4166 * bufferparams.C (readToken): adjust for type
4167 (writeLaTeX): add missing cases to switch.
4169 * bufferlist.C (quitWriteBuffer): adjust
4172 * buffer.C (asciiParagraph): remove some commented code.
4174 * CutAndPaste.C: remove current_view extern variable.
4175 (cutSelection): add BufferParams arg.
4176 (eraseSelection): add BufferParams arg.
4177 (pasteSelection): add Buffer const & arg
4179 2003-06-07 John Levon <levon@movementarian.org>
4182 * paragraph_funcs.C:
4183 * paragraph_pimpl.C:
4187 * paragraph.C: allow InsetERT to freely space lines,
4188 and some consolidation of code
4190 2003-06-06 José Matos <jamatos@fep.up.pt>
4192 * buffer.C (makeDocBookFile): fix bug #821
4194 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4196 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4198 2003-06-04 Angus Leeming <leeming@lyx.org>
4200 * buffer.C: bump format to 224.
4202 2003-06-05 André Pönitz <poenitz@gmx.net>
4204 * text2.C (redoParagraphs): remove two const_cast<>
4206 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4208 * ParagraphList.h: remove last remnants of NO_STD_LIST
4210 2003-06-03 Angus Leeming <leeming@lyx.org>
4212 * factory.C (createInset): small change to the way InsetExternal's params
4215 2003-06-04 André Pönitz <poenitz@gmx.net>
4217 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4219 * paragraph_pimpl.h:
4220 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4222 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4224 * undo_funcs.C: make some simple cases of undo work again
4226 2003-06-03 John Levon <levon@movementarian.org>
4228 * ispell.C: HPUX doesn't have sys/select.h
4231 2003-06-03 John Levon <levon@movementarian.org>
4233 * CutAndPaste.C: update tabular and include inset
4238 * paragraph.C: remove owningBuffer(), don't pass Buffer
4241 * factory.C: insetGraphicsParams changed
4243 2003-06-02 John Levon <levon@movementarian.org>
4249 * text3.C: remove insetparent
4251 2003-06-02 John Levon <levon@movementarian.org>
4254 * buffer.C: fix inset_iterator.end(), move out of line
4257 2003-06-01 John Levon <levon@movementarian.org>
4259 * text3.C: use a proper cut/paste when doing inset
4260 insert (from Jürgen Spitzmüller)
4262 2003-06-01 John Levon <levon@movementarian.org>
4264 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4266 2003-05-30 André Pönitz <poenitz@gmx.net>
4268 * rowpainter.C: unify second drawing phase
4270 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4272 * trans_mgr.C: remove one case of current_view
4274 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4276 * paragraph_funcs.h: remove paragraph.h include
4278 * paragraph.h: delete NO_STD_LIST stuff
4280 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4282 * buffer.h: remove paragraph.h include
4284 * ParagraphList.C: delete file
4286 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4288 * toc.C (getTocList): adjust
4290 * paragraph_pimpl.C (validate): adjust
4292 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4294 * paragraph.C (Paragraph): adjust
4295 (getPositionOfInset): use const_iterator, adjust
4296 (bibitem): use const_iterator, adjust
4297 (setInsetOwner): adjust
4299 * iterators.C (operator++): adjust
4301 * InsetList.[Ch]: Replace selfmade iterator with standard
4302 vector::iterator also introduce const_iterator. Remove getPos,
4303 getInset and setInset from InsetTable. Adjust accordingly.
4305 * BufferView.C (lockInset): adjust
4306 (ChangeInsets): adjust
4308 * tabular.[Ch]: delete commented same_id functions
4310 2003-05-28 John Levon <levon@movementarian.org>
4312 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4314 2003-05-28 André Pönitz <poenitz@gmx.net>
4316 * metricsinfo.[Ch]: remove 'fullredraw' member
4318 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4320 * lyxtextclass.C (operator): remove caching.
4322 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * text2.C (cursorBottom): adjust
4327 (setCounter): use ParagraphList::find, adjust
4329 * text.C (workWidth): use ParagraphList::find, adjust
4331 * lyxcursor.C (LyXCursor): adjust
4333 * buffer.C (inset_iterator): adjust
4335 * ParagraphList.h: make iterator(value_type) private, make
4336 ParagraphList a friend of iterator.
4338 * ParagraphList.C (find): new function
4340 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4342 2003-05-27 André Pönitz <poenitz@gmx.net>
4344 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4346 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4348 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4350 2003-05-26 John Levon <levon@movementarian.org>
4352 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4354 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * remove same_id from function signatures, adjust.
4358 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4360 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4362 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4364 * paragraph.C (Paragraph): get rid of same_ids parameter
4366 * ParagraphList.C (insert): adjust
4369 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * paragraph_funcs.C (breakParagraph): adjust
4372 (breakParagraphConservative): adjust
4374 * buffer.C (readParagraph): adjust
4376 * ParagraphList.C (insert): take a reference instead of a pointer
4379 * paragraph.[Ch] (id): new function
4381 * bufferlist.C (newFile): adjust
4383 * ParagraphList.C (ParagraphList): adjust
4385 (push_back): take a reference instead of a pointer.
4387 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4389 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4392 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4393 set else use old code.
4395 * ParagraphList.C: remove all NO_NEXT code and only compile this
4396 code of NO_STD_LIST is set.
4398 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4400 * BufferView_pimpl.C:
4410 * graphics/GraphicsConverter.C:
4411 * graphics/PreviewLoader.C: header adjustment
4413 2003-05-23 Angus Leeming <leeming@lyx.org>
4415 * LaTeXFeatures.[Ch] (useBabel): new method.
4416 * bufferparams.C (writeLaTeX): use it.
4418 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * ParagraphList.h (set): remove unused function.
4422 2003-05-23 André Pönitz <poenitz@gmx.net>
4425 * BufferView_pimpl.C:
4429 * undo_funcs.C: setUndo reworked
4431 * iterators.[Ch]: add access to topmost ParagraphList
4433 * lyxtext.[Ch] (workWidth): add a const
4435 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4437 * texrow.[Ch] (increasePos): remove function
4438 * exporter.C (export): removed unused var and outdated comment
4440 2003-05-23 Angus Leeming <leeming@lyx.org>
4442 * latexrunparams.h: rename fragile as moving_arg.
4443 * paragraph.C (simpleTeXOnePar): ditto.
4444 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4446 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4450 (textUndoOrRedo): comment out a currently unused var.
4452 * paragraph.h (NO_NEXT): enable NO_NEXT
4454 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4456 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4458 * exporter.C (Export): adjust for removeAutoInsets removal.
4460 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4462 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4464 * BufferView.[Ch] (removeAutoInsets): delete function
4466 2003-05-22 Angus Leeming <leeming@lyx.org>
4468 * latexrunparams.h: add a free_spacing variable.
4470 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4471 to pass moving_arg, as the data is stored in runparams.fragile.
4473 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4474 to Inset::latexOptional or to simpleTeXOnePar.
4476 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4477 free_spacing arg to Inset::latexOptional.
4479 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4482 2003-05-22 Angus Leeming <leeming@lyx.org>
4484 * latexrunparams.h: add fragile and use_babel variables.
4486 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4487 * buffer.C (makeLaTeXFile): store this returned value in
4488 runparams.use_babel, thus passing it to the inset::latex methods.
4490 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4491 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4493 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4494 longer has a fragile arg, as it is stored in runparams.fragile.
4496 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4497 moving_arg parameter as the data is stored in runparams.fragile.
4499 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4500 a fragile parameter as the data is stored in runparams.fragile.
4502 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4504 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4506 2003-05-22 Angus Leeming <leeming@lyx.org>
4508 * latexrunparams.h: add a 'bool nice' which defaults to false.
4510 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4511 now encapsulated within runparams.
4513 * bufferlist.C (updateIncludedTeXfiles):
4514 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4516 2003-05-22 Angus Leeming <leeming@lyx.org>
4518 * latexrunparams.h: new file containing struct LatexRunParams.
4519 * Makefile.am: add new file.
4521 * LaTeX.[Ch] (c-tor, run):
4522 * buffer.[Ch] (makeLaTeXFile):
4523 * bufferlist.[Ch] (updateIncludedTeXfiles):
4524 * converter.C (convert, scanLog):
4525 * converter.[Ch] (runLaTeX):
4526 * exporter.C (Export):
4527 * paragraph.[Ch] (simpleTeXOnePar):
4528 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4529 * paragraph_funcs.[Ch] (latexParagraphs):
4530 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4531 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4532 pass around a LatexRunParams parameter.
4534 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4536 * paragraph.[Ch]: remove unused constructor
4538 * ParagraphList.C (erase): new function, taking two iterators
4540 2003-05-22 André Pönitz <poenitz@gmx.net>
4542 * undo_funcs.C: remove duplicated code
4544 * iterator.[Ch]: operator=
4546 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * tabular.C (SetMultiColumn): ws changes
4550 * rowpainter.C (paintFirst): get rid of a ->previous
4552 * lyx_cb.C (getPossibleLabel): parlist simplification
4554 * BufferView.C (ChangeInsets): simplify slightly.
4556 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4558 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4559 * lfuns.h: new LFUN_SPACE
4560 * lyxfunc.C: protected space has a new lfun
4561 * paragraph_funcs.C: read new space insets
4563 * factory.C: handle new space insets
4565 2003-05-22 André Pönitz <poenitz@gmx.net>
4568 * BufferView_pimpl.C:
4571 * undo_funcs.C: return a ParIterator from getParFromID.
4573 * iterators.[Ch]: add two const's
4575 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * toc.C (getTocList): adjust
4579 * iterators.[Ch]: rework for parlist
4581 * buffer.C (par_iterator_begin): adjust
4582 (par_iterator_end): adjust
4584 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4586 * BufferView.C (removeAutoInsets): adjust
4587 (ChangeInsets): adjust
4589 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4591 * text.C (top_y): fix bug 1110
4593 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4595 * errorlist.[Ch]: added
4598 * BufferView_pimpl.C:
4599 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4602 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * Makefile.am: ensure that lyx is relinked upon changes to the
4605 various "convenience" libs.
4607 2003-05-20 Angus Leeming <leeming@lyx.org>
4609 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4610 files are compiled in alphabetical order again.
4612 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4614 2003-05-19 Angus Leeming <leeming@lyx.org>
4616 * gettext.[Ch]: remove "char const * _(char const *)".
4618 2003-05-19 André Pönitz <poenitz@gmx.net>
4620 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4629 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4631 2003-05-19 André Pönitz <poenitz@gmx.net>
4635 * lyxtextclass.[Ch]:
4637 * paragraph_funcs.[Ch]:
4639 * text3.C: more insetenv work
4641 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4643 * ParagraphParameters.C (params2string): small bug fixed
4645 2003-05-16 André Pönitz <poenitz@gmx.net>
4648 * bufferview_funcs.C: patch from Kornel Benko to prevent
4649 crash when _(...) is called twice in a statement
4651 2003-05-16 André Pönitz <poenitz@gmx.net>
4658 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4660 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4662 * lyx_main.C (init): remove spurious static_cast
4664 2003-05-14 André Pönitz <poenitz@gmx.net>
4666 * BufferView.C: fix format string
4668 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4670 * BufferView.[Ch] (insertErrors): removed
4671 * BufferView.[Ch] (showErrorList): added
4672 * buffer.C (runChkTeX):
4673 * converter.C (scanLog): call showErrorList instead of inserterrors
4675 2003-05-13 André Pönitz <poenitz@gmx.net>
4677 * BufferView_pimpl.C:
4679 * bufferview_func.C:
4686 * tabular_funcs.h: tostr() from its own header
4688 * ParagraphParameters.C:
4693 * text3.C: STRCONV()
4695 2003-05-12 André Pönitz <poenitz@gmx.net>
4698 * BufferView_pimpl.C:
4702 * ParagraphParameters.C:
4706 * bufferview_funcs.C:
4719 * paragraph_funcs.C:
4723 * text3.C: boost::format -> bformat all over the place
4726 2003-05-09 André Pönitz <poenitz@gmx.net>
4728 * LColor.[Ch]: Pimpl the #include <map> away
4730 2003-05-09 John Levon <levon@movementarian.org>
4732 * bufferlist.C: never remove emergency saves
4734 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * Makefile.am: better lib building
4738 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4742 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4743 (simpleTeXSpecialChars): adjust
4744 (simpleTeXSpecialChars): adjust
4745 * paragraph.C (simpleTeXOnePar): adjust
4746 * buffer.C (makeLaTeXFile): adjust
4748 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4750 * text2.C (changeDepth): parlist cleanup
4751 (getColumnNearX): ditto
4753 * rowpainter.C (getLabelFont): parlist cleanup
4755 * bufferlist.C (newFile): parlist cleanup
4757 * CutAndPaste.C (eraseSelection): parlist cleanup
4759 * BufferView_pimpl.C (trackChanges): parlist cleanup
4762 * BufferView.C (lockInset): parlist cleanup.
4763 (ChangeInsets): ditto
4765 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * CutAndPaste.h: Update file header.
4769 * CutAndPaste.C: Update file header.
4770 Store the parts cut out of the Document in a limited_stack.
4771 (copySelection): adjust
4772 (pasteSelection): new function, takes the index in the limited stack.
4773 (nrOfParagraphs): adjust
4774 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4775 simplify error inset insertion.
4776 (checkPastePossible): adjust
4778 2003-05-06 John Levon <levon@movementarian.org>
4780 * text2.C: don't cast wrap inset to float
4782 2003-05-05 André Pönitz <poenitz@gmx.net>
4785 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4787 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4788 few naked Paragraph *.
4790 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4792 * bufferparams.C: Output warning if a document with missing
4793 TeX document class is loaded
4794 * exporter.C: Disable TeX exports if the document class is missing
4797 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4798 isTeXClassAvailable()
4800 2003-05-03 John Levon <levon@movementarian.org>
4803 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4804 explicit cursor show/hide
4806 * BufferView_pimpl.h:
4807 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4808 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4810 * lyxfunc.C: hide cursor before dispatching.
4815 * text3.C: remove explicit cursor hides
4817 2003-05-02 André Pönitz <poenitz@gmx.net>
4819 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4822 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4825 * text2.C: tiny whitespace
4827 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4829 * undo_funcs.C: almost only ws changes.
4831 * ParagraphList.C (splice): just return if pl is empty.
4833 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4835 * ParagraphList.C (splice): new function.
4837 * CutAndPaste.C (pasteSelection): use it
4839 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4841 * CutAndPaste.C (pasteSelection): remove the last next and
4842 previous from this file.
4844 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * CutAndPaste.C (pasteSelection): more clean up, user proper
4847 ParagraphList functions for pasteing.
4849 * ParagraphList.C (insert): new function, three arg insert
4851 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4853 * ParagraphList.C (insert): new function, three arg insert
4855 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4858 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4860 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4862 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4866 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4868 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4869 (copySelection): clean up a bit.
4870 (pasteSelection): use make_pair
4872 * ParagraphList.C (ParagraphList): implement copy constructor
4873 (operator=): implement, base on copy constructor.
4876 * paragraph.C (erase): return a bool
4878 * paragraph_pimpl.C (erasePos): remove function, move contents...
4879 (erase): ... here. Return a bool.
4880 (erase): call erase instead of erasePos.
4882 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4884 * ParagraphList.h: define PitPosPair
4885 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4886 ParagraphList, fix a bug on pasting multiple pars
4887 * text2.C: change interface to C&P
4889 2003-04-30 André Pönitz <poenitz@gmx.net>
4891 * undo_func.C: revert part of yesterday's patch 2
4893 2003-04-30 John Levon <levon@movementarian.org>
4895 * LColor.C: s/tabular/table/
4897 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4899 * text3.C (dispatch): do not convert iterator -> pointer
4900 * undo_funcs.C (setCursorParUndo): ditto
4901 * text_funcs.C (transposeChars): ditto
4903 * text2.C (setLayout): ws changes only
4905 * text.C (breakParagraph): do not convert iterator -> pointer
4907 (acceptChange): ditto
4908 (rejectChange): ditto
4913 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4916 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4918 * text3.C (gotoInset): YABG (yet another bad getChar)
4920 2003-04-29 André Pönitz <poenitz@gmx.net>
4922 * paragraph.h: make operator= private unimplemented as long as
4925 * ParagraphList.C: whitespace
4928 * paragraph_pimpl.[Ch]:
4929 * paragraph_funcs.C:
4931 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4934 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4936 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4938 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4939 * paragraph.[Ch] (erase):
4940 * paragraph_pimpl.[Ch] (erase): change return type and value
4941 * text2.C (cutSelection): some rework
4943 2003-04-28 John Levon <levon@movementarian.org>
4945 * bufferlist.C: changes for unsaved changes dialog
4947 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * bufferlist.C (newFile): set language (messages_) for new
4952 * buffer.C (readFile): ws changes only.
4954 2003-04-28 André Pönitz <poenitz@gmx.net>
4959 * BufferView_pimpl.C:
4960 * BufferView.C: getParFromID related ParagraphList::iterator changes
4962 2003-04-28 André Pönitz <poenitz@gmx.net>
4964 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4967 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * messages.C: remove one more localedir class variable.
4971 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * messages.C (getLocaleDir): singleton generation function
4975 (Messages): add a default constructor.
4977 * main.C (main): do not setup localedir here, do not call
4980 * gettext.C (_): use it.
4981 (gettext_init): delete funciton
4983 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4985 * gettext.C (getLyXMessages): new singleton generating function.
4987 * buffer.C (updateDocLang): adjust
4989 * Makefile.am (messages.o): add target
4990 (main.o): remove target
4992 2003-04-27 John Levon <levon@movementarian.org>
4997 * lyxvc.C: specify cancel button in Alert::prompt
4999 2003-04-26 John Levon <levon@movementarian.org>
5004 * LyXAction.C: add LFUN_INSET_SETTINGS
5006 * lyxfunc.C: don't enable tabular-feature when there's
5007 just any locking inset
5009 2003-04-26 John Levon <levon@movementarian.org>
5011 * bufferlist.C: re-add Cancel to buffer close question
5013 * lyxfunc.C: fix import UI a bit
5015 2003-04-25 John Levon <levon@movementarian.org>
5017 * gettext.C: remove the broken asserts for now
5019 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * messages.C: make case where setlocale cannot comply work better.
5023 * buffer.C (updateDocLang): new function
5024 (changeLanguage): use it
5027 * text2.C (setCounter): use B_ a bit.
5029 * lyxlayout.C (Read): be sure to trim the label strings.
5031 * messages.C (Messages): fix typo in comment
5033 * buffer.C (readFile): set message_ after file is loaded.
5034 (makeDocBookFile): remove double return
5035 (changeLanguage): reset message_ upon language change.
5036 (B_): new func, use this to get translated buffer strings.
5038 * main.C: add myself and Jean Marc as authors.
5040 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * messages.[hC]: pimplify Messages, and three different pimpls to be
5043 used in different circumstances.
5045 * gettext.[Ch]: change for use with new message code.
5047 2003-04-24 André Pönitz <poenitz@gmx.net>
5049 * factory.C: support for eqref
5051 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * messages.[Ch]: add missing char
5055 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5057 * messages.[Ch]: New files
5059 2003-04-18 John Levon <levon@movementarian.org>
5063 * BufferView_pimpl.C:
5067 * text2.C: remove layout-copy/paste (bug 778)
5069 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5071 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5073 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5075 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5076 if they succeed. Act accordingly.
5078 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * text2.C (setCharFont): adjust
5081 (setCounter): adjust
5082 (insertStringAsLines): adjust
5084 * text.C (leftMargin): adjust
5085 (setHeightOfRow): adjust
5087 * rowpainter.C (paintFirst): adjust
5090 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5092 (isFirstInSequence): ditto
5093 (getEndLabel): ditto
5096 * paragraph.C (getParLanguage): comment out some hard stuff.
5098 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5100 (simpleDocBookOnePar): ditto
5101 (makeDocBookFile): use ParagraphList::iterator
5103 * CutAndPaste.C (pasteSelection): adjust
5105 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * text2.C (getFont): adjust
5108 (getLayoutFont): adjust
5109 (getLabelFont): adjust
5111 * paragraph_funcs.C (TeXOnePar): adjust
5113 * buffer.C (simpleLinuxDocOnePar): adjust
5114 (simpleDocBookOnePar): adjust
5116 * CutAndPaste.C (pasteSelection): adjust
5118 * BufferView.C (getEncoding): adjust
5120 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5122 2003-04-16 John Levon <levon@movementarian.org>
5124 * lyxfind.C: use parlist stuff for search/changes
5126 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5128 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5130 * text2.C (deleteEmptyParagraphMechanism): adjust
5132 * text2.[Ch] (ownerParagraph): delete func (both of them
5134 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5136 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5138 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5140 * ParagraphList.C: prepare for NO_NEXT
5142 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * text2.C (getFont): adjust
5145 (getLayoutFont): adjust
5146 (getLabelFont): adjust
5148 * paragraph.C (getFont): adjust
5149 (getLabelFont): adjust
5150 (getLayoutFont): adjust
5152 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5154 2003-04-15 John Levon <levon@movementarian.org>
5158 * lyx_main.C: handle Include in .ui files
5160 2003-04-15 John Levon <levon@movementarian.org>
5162 * MenuBackend.C: make the doc files length shorter
5165 * ToolbarBackend.C: handle toolbar placement flags,
5168 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5173 * paragraph_funcs.C (TeXOnePar): adjust
5175 * paragraph.C (getLabelFont): add outerfont arg, adjust
5176 (getLayoutFont): ditto
5177 (simpleTeXOnePar): adjust
5179 * paragraph_pimpl.C (realizeFont): delete func
5181 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5183 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5184 row argument, constify cur argument.
5186 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5188 * text2.C (getFont): adjust
5189 (getLayoutFont): adjust
5190 (getLabelFont): adjust
5192 * paragraph_funcs.C (TeXOnePar): adjust
5193 (outerFont): new func...
5194 (realizeFont): ...moved out from here, changed this to facilitate
5197 * paragraph.C (getFont): take outerfont as arg, adjust
5198 (simpleTeXOnePar): add outerfont arg, adjust
5200 * buffer.C (simpleLinuxDocOnePar): adjust
5201 (simpleDocBookOnePar): adjust
5203 * CutAndPaste.C (pasteSelection): adjust
5205 * BufferView.C (getEncoding): adjust
5207 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5209 * text2.C (setCharFont): adjust
5210 (setCounter): adjust
5212 * text.C (leftMargin): adjust
5213 (setHeightOfRow): adjust
5215 * rowpainter.C (paintFirst): adjust
5218 * paragraph_pimpl.C (realizeFont): adjust
5220 * paragraph.C (isFirstInSequence): move from here...
5221 * paragraph_funcs.C (isFirstInSequence): ...to here
5223 * paragraph.C (outerHook): move from here...
5224 * paragraph_funcs.C (outerHook): ...to here
5226 * paragraph.C (depthHook): move from here...
5227 * paragraph_funcs.C (depthHook): ...to here
5229 * paragraph.C (getEndLabel): move from here...
5230 * paragraph_funcs.C (getEndLabel): ...to here
5232 * text2.C (realizeFont): move from here...
5233 * paragraph_funcs.C (realizeFont): ...to here
5235 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5239 2003-04-14 Angus Leeming <leeming@lyx.org>
5241 * LColor.[Ch]: scrap LColor mathcursor.
5243 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5245 * lyxlex.[Ch] (text): delete function
5246 * trans.C (Load): adjust
5247 * paragraph_funcs.C (readParToken): adjust
5249 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5252 vector<char> instead of a char[].
5254 * lyxlex_pimpl.C (getString): adjust
5256 (lex): use getString
5260 * lyxlex.C (text): use pimpl_->getString()
5264 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5266 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5267 (makeFontEntriesLayoutSpecific): temp var for par.size()
5268 (setLayout): temp var for ownerParagraphs().end()
5269 (fullRebreak): temp var for rows().end()
5270 (selectionAsString): temp var for boost::next(startpit), realize
5271 that the while really is a regular for loop.
5272 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5273 setCursor in one place.
5274 (setParagraph): temp vr for ownerParagraphs().end()
5275 (updateCounters): make the while loop a for loop
5276 (cutSelection): temp var for ownerParagraphs().end()
5277 (updateInset): make the do {} while() a regular for loop
5278 (getCursorX): use temp vars
5279 (setCurrentFont): use temp vars
5280 (getColumnNearX): use temp vars
5282 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5284 * text.C (transformChar): use temp var for getChar
5285 (computeBidiTables): use temp var for row->par()
5286 (fill): move temp vars for row->par() and pit->layout() earlier in
5288 (labelFill): use temp var for row->par()
5289 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5290 asc and desc, realize that pit never changes and that firstpit is
5291 just a duplicate and not needed. Exchange rit->par() with pit in a
5293 (breakAgain): use a temp var for boost::next(rit)
5294 (breakAgainOneRow): ditto
5295 (breakParagraph): use a temp var for rows().begin()
5296 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5297 (cursorRightOneWord): use temp var for cursor.par() and
5298 cursor.pos(), remove usage of tmpcursor.
5299 (cursorLeftOneWord): use temp var for cursor.par() and
5300 cursor.pos() only set cur at end of function.
5302 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5304 * text.C, text2.C: exchange all usage of Paragraph::next with
5305 boost::next(ParagraphList::iterator)
5307 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5309 * text2.C (cursorTop): simplify implementation
5310 (cursorBottom): ditto
5311 (setParagraph): use ParagraphList::iterator
5312 (setCurrentFont): adjust
5313 (getColumnNearX): adjust
5314 (cursorRight): adjust
5315 (cursorLeft): remove usage of Paragraph::previous
5316 (cursorUpParagraph): ditto
5317 (deleteEmptyParagraphMechanism): slight cleanup
5319 * text.C (isBoundary): take a Paragraph const & instead of a
5321 (addressBreakPoint): ditto
5322 (leftMargin): remove usage of Paragraph::previous.
5323 (setHeightOfRow): ditto
5324 (cursorLeftOneWord): ditto
5325 (selectNextWordToSpellcheck): ditto
5328 (breakParagraph): remove one usage of Paragraph::next
5329 (redoParagraph): ditto
5330 (acceptChange): ditto
5331 (insertChar): adjust
5332 (rowBreakPoint): adjust
5334 * bufferview_funcs.C (toggleAndShow): adjust
5336 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5338 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5339 methods to access it.
5341 * text.C: Added updateRowPositions to compute all row positions.
5342 Make top_y and getRowNearY() to use the cached y position
5344 2003-04-11 John Levon <levon@movementarian.org>
5346 * text.C (rowBreakPoint): reintroduce the labelEnd
5347 checks, code copied from the row fill stuff. Deep voodoo.
5349 * text.C (fill): add a comment and debugging for the
5352 2003-04-11 John Levon <levon@movementarian.org>
5354 * text.C: make sure fullrow insets get wrapped to the next line,
5355 even when they're in a manual label
5357 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5359 * text2.C (insertParagraph): make it take ParagraphList::iterator
5361 (setLayout): make it return ParagraphList::iterator
5362 (redoParagraphs): ditto
5364 (checkParagraph): ditto
5366 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5368 * text2.C: adjust several funcs.
5369 (realizeFont): take a ParagraphList::iterator as arg.
5370 (getLayoutFont): ditto
5371 (getLabelFont): ditto
5372 (setCharFont): ditto
5374 * text.C: adjust several funcs.
5376 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5378 * text.C (selectNextWordToSpellcheck): don't accidentally
5381 2003-04-10 John Levon <levon@movementarian.org>
5383 * ToolbarBackend.C (getIcon): special handling for
5386 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5388 * text2.C (cursorRight): a getChar assert fixed
5390 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5392 * text2.C (getFont): change to take a ParagraphList::iterator
5393 instead of Paragraph*
5394 Adjust several functions.
5396 * text.C (transformChar): change to take a ParagraphList::iterator
5397 instead of Paragraph*
5398 (singleWidth): ditto
5399 Adjust several functions.
5401 * rowpainter.C: adjust several functions
5402 * rowpainter.h:store a ParagraphList::iterator and not a
5406 2003-04-09 John Levon <levon@movementarian.org>
5411 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5412 and the "help" bits as well
5414 2003-04-09 John Levon <levon@movementarian.org>
5417 * ToolbarBackend.C: allow multiple toolbars
5419 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5421 * undo_funcs.C (setCursorParUndo): adjust
5423 * text_funcs.C (transposeChars): adjust
5425 * text3.C (gotoNextInset): adjust
5428 * text2.C (setLayout): adjust
5429 (changeDepth): adjust
5431 (redoParagraphs): adjust
5432 (selectionAsString): adjust
5433 (setParagraph): adjust
5434 (insertInset): adjust
5435 (cutSelection): adjust
5436 (copySelection): adjust
5437 (pasteSelection): adjust
5438 (insertStringAsLines): adjust
5439 (updateInset): adjust
5440 (setCursor): change to take a ParagraphList::iterator parameter
5441 (setCursorIntern): change to take a ParagraphList::iterator parameter
5442 (setCurrentFont): adjust
5443 (cursorLeft): adjust
5444 (cursorRight): adjust
5445 (deleteEmptyParagraphMechanism): adjust
5447 * text.C (breakParagraph): adjust
5448 (insertChar): adjust
5449 (acceptChange): adjust
5450 (rejectChange): adjust
5451 (selectNextWordToSpellcheck): adjust
5452 (changeCase): adjust
5456 * lyxfind.C (SearchForward): adjust
5457 (SearchBackward): adjust
5458 (nextChange): adjust
5460 * lyxcursor.C (par): adjust
5462 * lyxcursor.h: store a ParagraphList::iterator instead of a
5465 * lyx_cb.C (getPossibleLabel): adjust
5467 * bufferview_funcs.C (toggleAndShow): adjust
5469 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5472 * BufferView.C (removeAutoInsets): adjust
5473 (lockedInsetStoreUndo): adjust
5475 2003-04-09 John Levon <levon@movementarian.org>
5477 * ToolbarBackend.C: try icon without argument
5478 if with argument fails
5480 2003-04-08 John Levon <levon@movementarian.org>
5483 * ToolbarBackend.C: add getIcon(), handle tooltip,
5484 and change from "Icon" to "Item".
5486 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5488 * BufferView.C (lockInset): another bad getchar crunched
5490 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5492 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5495 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5497 * lyxfind.C (searchForward, searchBackwards): bug 782
5499 2003-04-07 John Levon <levon@movementarian.org>
5501 * paragraph.C: remove dead comment
5503 * text.C: remove troublesome depth-fiddling code
5504 in leftMargin() and rightMargin() (bug 1017)
5506 * text.C: fix breaking of rows in nested lists
5509 * text2.C (updateCounters): fix up depth values
5512 2003-04-07 John Levon <levon@movementarian.org>
5514 * BufferView_pimpl.C: clear message when doc finishes resizing,
5515 and after a mouse event
5517 * lyxfunc.C: clear message after exiting inset
5519 2003-04-07 John Levon <levon@movementarian.org>
5521 * bufferview_funcs.C: show math status not outside
5522 status in the statusbar
5524 2003-04-07 John Levon <levon@movementarian.org>
5526 * lyxfunc.C: note status changed after a depth change
5528 2003-04-04 Angus Leeming <leeming@lyx.org>
5530 * LaTeX.h: move AuxInfo operator==, != out of line.
5531 Remove LaTeX virtual destructor; nothing derives from it.
5532 Move operator()() out of public area and rename it startscript().
5533 Change protected for private.
5535 2003-04-04 Angus Leeming <leeming@lyx.org>
5538 * text2.C: remove unneeded #includes.
5540 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5542 * text2.C (dEPM): fix the heigth of the next row
5544 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5546 * text.C: squashed an invalid getChar requester + some ws changes
5548 2003-04-03 John Levon <levon@movementarian.org>
5550 * bufferview_funcs.h:
5551 * bufferview_funcs.C:
5554 * text2.C: make getStatus work for the env depth lfuns
5556 2003-04-03 John Levon <levon@movementarian.org>
5558 * bufferview_funcs.h:
5559 * bufferview_funcs.C:
5562 * text2.C: parlistize decDepth(), by merging it with incDepth()
5564 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5566 * lyxrow.h: store a ParagraphList::iterator instead of a
5567 Paragraph* and adjust other class functions to suit.
5569 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5572 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5574 * text2.C (setCursor): do not anchor to cursor row for the time being
5576 2003-04-02 John Levon <levon@movementarian.org>
5583 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5585 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * paragraph.h: make ParagraphList and ParagraphList::iterator
5588 friends of Paragraph.
5590 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5592 * ParagraphList.C: Use the private next_ and previous_ from
5595 2003-04-01 John Levon <levon@movementarian.org>
5599 * Makefile.am: rename, remove defaults gunk
5602 * MenuBackend.C: remove defaults gunk
5605 * Languages.C: remove defaults gunk
5608 * lyx_main.C: error out if files couldn't be found.
5610 2003-04-02 John Levon <levon@movementarian.org>
5612 * text2.C: make incDepth() use parlist
5614 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * undo_funcs.C (firstUndoParagraph): adjust
5618 * text3.C (gotoInset): adjust
5619 (dispatch): adjust, and rewrite loop.
5621 * text2.C (init): adjust, and rewrite loop.
5622 (redoParagraphs): adjust
5623 (updateInset): adjust, and rewrite loop.
5624 (deleteEmptyParagraphMechanism): adjust
5626 * tabular.C (LyXTabular): adjust
5627 (SetMultiColumn): adjust
5630 * lyxtext.[Ch] (ownerParagraph): delete function
5631 (ownerParagraphs): new function returns a ParagraphList.
5633 * BufferView.C (removeAutoInsets): adjust
5634 (insertErrors): adjust
5635 (setCursorFromRow): adjust
5637 2003-04-01 Angus Leeming <leeming@lyx.org>
5639 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5642 2003-04-02 John Levon <levon@movementarian.org>
5648 * text_funcs.C: make transposeChars a free function
5650 * lyxrow_funcs.C: remove wrong comment
5652 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * rowpainter.C: adjust
5660 * lyxrow_funcs. [Ch]: new files
5662 * lyxrow.[Ch]: remove next and previous pointers
5663 (next,previous): remove accessor functions
5664 (isParEnd): move to lyxrow_funcs
5665 (lastPos): move to lyxrow_funcs
5666 (nextRowIsAllInset): move to lyxrow_funcs
5667 (lastPrintablePos): move to lyxrow_funcs
5668 (numberOfSeparators): move to lyxrow_funcs
5669 (numberOfHfills): move to lyxrow_funcs
5670 (numberOfLabelHfills): move to lyxrow_funcs
5671 (hfillExpansion): move to lyxrow_funcs
5675 * bufferview_funcs.C (toggleAndShow): adjust
5677 * RowList.h: Remove class RowList from file leave just a
5680 * RowList.C: delete file
5682 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5685 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5687 * text3.C (cursorPrevious): adjust
5688 (cursorNext): adjust
5691 * text2.C (redoHeightOfParagraph): adjust
5692 (redoDrawingOfParagraph): adjust
5695 * text.C (breakParagraph): adjust
5696 (insertChar): adjust
5699 * rowpainter.C (RowPainter): adjust
5700 (leftMargin): simplify and adjust
5701 (most rowpainter functions): adjust.
5703 * rowpainter.h: store the row as RowList::iterator not as Row*
5705 * lyxcursor.C (row): taka RowList::iterator as arg
5708 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5711 2003-04-01 Angus Leeming <leeming@lyx.org>
5713 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5714 stuff like bool Bool.
5716 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5718 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5721 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5726 * lyxtext.h (rows): drop one version and leve a const variant that
5727 returns a RowList::iterator.
5729 2003-03-31 Angus Leeming <leeming@lyx.org>
5731 * text.C (fill): ensure that the signature is the same as that in the
5734 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5736 * text2.C (redoParagraphs): adjust
5737 (updateCounters): adjust
5738 (checkParagraph): adjust
5739 (getColumnNearX): adjust and reformat a bit.
5741 * text.C (top_y): adjust
5743 (leftMargin): adjust
5744 (prepareToPrint): adjust
5746 (getRowNearY): adjust
5748 * lyxtext.h: make rowlist_ mutable.
5750 * RowList.h: add const_iterator
5751 * RowList.C: adjust for RowList::const_iterator.
5753 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5756 2003-03-31 John Levon <levon@movementarian.org>
5759 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5761 * lyx_main.C: set default fonts from using lyx_gui funcs
5763 * exporter.C: pdf_mode moved from lyxrc
5766 * lyxfunc.C: changes from above
5768 2003-03-31 John Levon <levon@movementarian.org>
5770 * lyx_main.C: fix to the last fix
5772 2003-03-31 John Levon <levon@movementarian.org>
5774 * bufferlist.C: "Load original" -> "Load Original"
5780 * format.C: more Alert cleanups
5782 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5784 * text2.C (removeParagraph): make it take a RowList::iterator as
5786 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5787 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5789 * text.C (anchor_row): make it take a RowList::iterator as arg,
5791 (computeBidiTables): make it take a const reference to Row instead
5792 of Row pointer, adjust.
5793 (leftMargin): make it take a RowList::iterator as arg, adjust.
5794 (rowBreakPoint): adjust
5795 (breakAgainOneRow): make it take a RowList::iterator as arg,
5797 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5799 * bufferview_funcs.C (toggleAndShow): adjust
5801 2003-03-30 John Levon <levon@movementarian.org>
5805 * boost-inst.C: moved to support
5807 * several files: changes as a result
5809 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5811 * text2.C (LyXText): adjust.
5813 (removeRow): make it take a RowList::iterator as arg, adjust.
5814 (fullRebreak): adjust
5815 (deleteEmptyParagraphMechanism): adjust
5816 (clearPaint): adjust
5819 * text.C (top_y): adjust
5820 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5821 (breakAgain): make it take a RowList::iterator as arg, adjust.
5822 (breakParagraph): adjust
5823 (insertChar): adjust
5826 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5827 need_break_row, and refresh_row.
5829 * text3.C (dispatch): adjust
5831 * text2.C (checkParagraph): adjust
5833 (setCursorFromCoordinates): adjust
5835 * text.C (top_y): adjust
5837 (getRow): make it return a RowList::iterator, adjust
5838 (getRowNearY): make it return a RowList::iterator, adjust
5840 * text2.C (init): adjust
5841 (insertRow): remove function
5842 (insertParagraph): adjust
5843 (redoParagraphs): adjust
5844 (fullRebreak): adjust
5845 (updateCounters): adjust
5847 * text.C (top_y): rewrite to use RowList iterators.
5849 (setHeightOfRow): rewrite to sue RowList iterators.
5850 (appendParagraph): adjust
5851 (breakAgain): adjust
5852 (breakAgainOneRow): adjust
5853 (breakParagraph): adjust
5855 (getRowNearY): adjust, and remove commented code.
5857 * lyxtext.h (firstRow): delete function
5858 (lastRow): delete function
5859 (rows): new function (const and non-const versions.)
5860 (insertRow): delete function
5862 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5864 2003-03-29 John Levon <levon@movementarian.org>
5866 * BufferView_pimpl.C: always update scrollbar top
5867 because pasting text when we're anchored could mean we
5868 miss an update altogether
5870 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5872 * text2.C (init): use rowlist_.end() and not 0.
5873 (insertRow): change to take a RowList::iterator as arg, adjust
5875 (insertParagraph): change to take a RowList::iterator as arg,
5877 (redoParagraphs): remove some debug msgs.
5879 * text.C (appendParagraph): change to take a RowList::iterator
5880 arg, adjust for this.
5881 (breakAgain): add an assert
5882 (breakAgainOneRow): ditto
5884 2003-03-29 John Levon <levon@movementarian.org>
5886 * text2.C: do not clear selection after inc/decDepth
5889 2003-03-29 John Levon <levon@movementarian.org>
5892 * buffer.C: fix broken strerrors according to Lars
5894 2003-03-29 John Levon <levon@movementarian.org>
5896 * converters.C: more Alert cleanups
5898 2003-03-29 John Levon <levon@movementarian.org>
5900 * bufferview_funcs.C: remove pointless Alert
5902 * buffer.C: fix confusing error message when
5903 a template is chmoded 000
5905 2003-03-29 John Levon <levon@movementarian.org>
5909 * BufferView_pimpl.C: Alert fixes
5913 * tabular-old.C: remove unused table compat reading
5915 2003-03-29 John Levon <levon@movementarian.org>
5920 * lyx_cb.C: more Alert cleanups
5922 * lyxfunc.C: don't allow chktex if not latex document
5924 2003-03-29 John Levon <levon@movementarian.org>
5928 * buffer.C: warnings pushed down from support/,
5931 2003-03-29 John Levon <levon@movementarian.org>
5933 * lyxfunc.C: safety check for C-r (revert)
5935 2003-03-29 John Levon <levon@movementarian.org>
5938 * bufferlist.C: several UI fixes using Alert::prompt.
5939 Fix the pointless looping quit code. Fix stupid revert
5944 * lyx_cb.C: use Alert::prompt
5946 * lyx_main.C: remove a silly question
5948 * lyxfunc.C: remove a couple of silly questions,
5951 2003-03-28 John Levon <levon@movementarian.org>
5953 * text2.C: fix bug 974 (End on empty par)
5955 2003-03-28 John Levon <levon@movementarian.org>
5957 * BufferView_pimpl.C:
5959 * lfuns.h: remove do-nothing math greek lfuns
5961 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * lyxgluelength.h (isValidGlueLength): add default arg on
5964 parameter 2. Remove default arg from friend in class.
5966 * lyxlength.h (isValidLength): add default arg on parameter 2.
5967 Remove default arg from friend in class.
5969 * text2.C (LyXText): adjust, initialize refresh_row.
5973 (insertParagraph): adjst
5974 (redoParagraphs): adjust
5975 (fullRebreak): adjust
5976 (updateCounters): adjust
5977 (deleteEmptyParagraphMechanism): first attempt at fixing a
5980 * text.C (top_y): adjust
5981 (setHeightOfRow): adjust
5983 (getRowNearY): adjust
5985 * lyxtext.h: include RowList.h
5986 (~LyXText): not needed anymore, deleted.
5987 (firstRow): modify for RowList
5988 (lastRow): new function
5989 Delete firstrow and lastrow class variables, add a Rowlist
5990 rowlist_ class variable.
5992 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5995 * RowList.C (insert): fix case where it == begin().
5997 2003-03-26 Angus Leeming <leeming@lyx.org>
5999 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6000 the thesaurus dialog.
6002 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6006 * RowList.[Ch]: new files
6008 * ParagraphList.C (erase): handle the case where it == begin
6011 2003-03-25 John Levon <levon@movementarian.org>
6015 * aspell.C: add new aspell support
6018 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6021 2003-03-25 Angus Leeming <leeming@lyx.org>
6024 * LyXAction.C (init): new LFUN_INSET_INSERT.
6026 * BufferView_pimpl.C (dispatch): split out part of the
6027 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6029 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6032 2003-03-25 Angus Leeming <leeming@lyx.org>
6034 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6036 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6039 * text3.C: remove useless row->height(0)
6041 2003-03-25 John Levon <levon@movementarian.org>
6045 * text3.C: rename the refreshing stuff to better names
6047 2003-03-24 John Levon <levon@movementarian.org>
6049 * BufferView_pimpl.h:
6050 * BufferView_pimpl.C: update layout choice on a mouse
6053 2003-03-23 John Levon <levon@movementarian.org>
6055 * Makefile.am: fix commandtags.h reference
6057 2003-03-22 John Levon <levon@movementarian.org>
6059 * BufferView_pimpl.C:
6064 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6066 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6069 * text.C: take the rtl methods out of line
6071 2003-03-21 André Pönitz <poenitz@gmx.net>
6073 * metricsinfo.[Ch]: new files containing structures to be passed around
6074 during the two-phase-drawing...
6076 2003-03-21 André Pönitz <poenitz@gmx.net>
6078 * lyxtextclass.C: read 'environment' tag.
6080 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6082 * text2.C (removeRow): fix bug 964
6084 2003-03-20 John Levon <levon@movementarian.org>
6088 * text2.C: paint cleanups. Inset::update() dropped font
6091 2003-03-19 John Levon <levon@movementarian.org>
6093 * lyxfunc.C: only fitcursor/markDirty if available()
6095 2003-03-19 John Levon <levon@movementarian.org>
6097 * commandtags.h: rename to ...
6099 * lfuns.h: ... this, and renumber / cleanup
6101 2003-03-19 John Levon <levon@movementarian.org>
6103 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6104 fit the cursor after an lfun
6108 * BufferView_pimpl.h:
6109 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6111 * LyXAction.C: layout-character should have ReadOnly
6113 * ParagraphParameters.C:
6115 * bufferview_funcs.C:
6122 * undo_funcs.C: changes from above
6124 2003-03-18 John Levon <levon@movementarian.org>
6126 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6127 remove it from update()
6129 * lyxfunc.C: update layout choice after an lfun
6131 * text3.C: remove extra updateLayoutChoice()s
6133 2003-03-18 John Levon <levon@movementarian.org>
6135 * text.C: top_y change means full repaint, fix
6136 a drawing bug with cursor movement
6138 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6142 * text2.C: anchor row on setCursor
6144 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6146 * lyxtext.h: remove almost all mutable keywords
6149 * text3.C: remove const keywords accordingly
6151 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6155 (TeXEnvironment): ditto
6158 2003-03-17 John Levon <levon@movementarian.org>
6160 * text.C (rowBreakPoint): remove attempt to fix displayed
6161 math insets inside a manual label
6163 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6165 * lyxtext.h: remove BufferView* as first arg from almost all class
6167 * other files: adjust.
6169 2003-03-17 John Levon <levon@movementarian.org>
6173 * text2.C: more paint cleanups
6175 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6178 * rowpainter.C: remove "smart" background painting code
6180 2003-03-16 John Levon <levon@movementarian.org>
6185 * text3.C: add helper functions for setting refresh_row/y
6187 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6189 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6190 newline inset which *can* get inserted in the pass_thru layouts.
6191 This is primarily for literate documents.
6193 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6195 * buffer.C: increment LYX_FORMAT to 223
6197 2003-03-14 André Pönitz <poenitz@gmx.net>
6199 * textclass.h: prepare for environment handling, ws changes
6200 * lyxlayout.C: read latexheader and latexfooter tags
6202 2003-03-14 John Levon <levon@movementarian.org>
6204 * text2.C: rewrite ::status() a bit
6206 2003-03-13 John Levon <levon@movementarian.org>
6208 * lyxtext.h: add some docs
6210 2003-03-13 John Levon <levon@movementarian.org>
6215 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6217 2003-03-13 John Levon <levon@movementarian.org>
6219 * text3.C: fix appendix redrawing
6221 2003-03-13 John Levon <levon@movementarian.org>
6223 * text.C (setHeightOfRow):
6225 * rowpainter.C: make appendix mark have the text
6226 "Appendix" so the user knows what it is
6229 * LColor.C: s/appendixline/appendix/ from above
6231 2003-03-13 John Levon <levon@movementarian.org>
6233 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6235 * text.C: fix a getChar(pos) bug properly
6237 2003-03-13 Angus Leeming <leeming@lyx.org>
6240 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6241 Probably only temporary. Let's see how things pan out.
6243 * BufferView.C (unlockInset):
6244 * BufferView_pimpl.C (fitCursor):
6245 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6247 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6248 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6250 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6251 new functions that convert ParagraphParameters to and from a string.
6253 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6254 BufferView::Pimpl's dispatch.
6255 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6257 2003-03-13 André Pönitz <poenitz@gmx.net>
6261 * factory.C: make it aware of InsetEnv
6263 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6265 * text2.C (setCursor): never ask for one past last
6266 (setCursor): add some debugging messages.
6268 * text.C (singleWidth): never ask for one past last
6269 (singleWidth): ditto
6271 (rightMargin): ditto
6272 (rowBreakPoint): ditto
6273 (setHeightOfRow): ditto
6274 (prepareToPrint): ditto
6276 * rowpainter.C (paintBackground): never ask for one past last
6277 (paintText): never ask for one past last
6279 * paragraph_pimpl.C (getChar): make the assert stricter, never
6280 allow the one past last pos to be taken
6282 * paragraph.C (getChar): ws changes only
6284 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6285 (numberOfSeparators): ditto
6286 (numberOfHfills): ditto
6288 2003-03-12 John Levon <levon@movementarian.org>
6294 * paragraph_funcs.C: fix per-buffer authorlists
6296 2003-03-12 John Levon <levon@movementarian.org>
6298 * text.C: fix newline in right address
6300 2003-03-12 Angus Leeming <leeming@lyx.org>
6302 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6303 duplicate those in LyXFunc::dispatch.
6307 * ToolbarDefaults.C:
6308 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6309 Add LFUN_FONTFREE_UPDATE.
6311 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6312 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6314 * bufferview_func.[Ch]: several new functions to facilliate
6315 transfer of data to and from the character dialog.
6317 2003-03-12 John Levon <levon@movementarian.org>
6322 * paragraph_funcs.C:
6323 * paragraph_pimpl.C:
6327 * text3.C: remove META_NEWLINE in favour of an inset
6330 * rowpainter.C: remove paintNewline (done by inset)
6332 2003-03-12 John Levon <levon@movementarian.org>
6334 * paragraph_pimpl.C: complain about bad getChar()s
6335 for a while at least
6337 2003-03-12 John Levon <levon@movementarian.org>
6340 * buffer.C: move paragraph read into a separate function,
6341 a little renaming to reflect that.
6344 * bufferparams.C: remove the author_ids map, not necessary now
6347 * factory.C: moved Buffer::readInset to here
6349 * paragraph_funcs.h:
6350 * paragraph_funcs.C: readParagraph free function moved from
6353 * tabular.C: name change
6355 2003-03-12 John Levon <levon@movementarian.org>
6358 * ParagraphParameters.C: move par params input to
6361 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6362 behave like a normal read from the stream wrt reading
6363 a line vs. a \\token
6365 2003-03-12 John Levon <levon@movementarian.org>
6368 * ParagraphParameters.h:
6369 * ParagraphParameters.C: move output code to a
6372 2003-03-12 John Levon <levon@movementarian.org>
6374 * BufferView.C (insertLyXFile):
6377 * tabular.C: use a parlist iterator for creating the
6380 2003-03-12 John Levon <levon@movementarian.org>
6382 * buffer.C: make current_change static local not
6385 2003-03-12 John Levon <levon@movementarian.org>
6387 * buffer.C: fix insertStringAsLines for change tracking
6389 2003-03-12 John Levon <levon@movementarian.org>
6396 * bufferparams.C: move author list into params. Rename some
6397 functions. Move the header reading into a separate token
6398 loop. Move the header token reading into BufferParams.
6400 2003-03-12 John Levon <levon@movementarian.org>
6402 * changes.C: put debug inside lyxerr.debugging() checks
6404 2003-03-11 André Pönitz <poenitz@gmx.net>
6406 * factory.C: make it aware of InsetHFill
6408 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6410 * buffer.C (latexParagraphs): move function from here...
6411 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6414 2003-03-10 Angus Leeming <leeming@lyx.org>
6416 * LyXAction.C (init): fix bug in poplating array with multiple entries
6417 with the same LFUN (spotted by JMarc).
6419 2003-03-10 John Levon <levon@movementarian.org>
6422 * text2.C: move getColumnNearX() near its
6425 2003-03-10 John Levon <levon@movementarian.org>
6427 * text.C: fix break before a minipage
6429 2003-03-10 John Levon <levon@movementarian.org>
6431 * text.C: fix the last commit
6433 2003-03-09 John Levon <levon@movementarian.org>
6437 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6438 bug 365 (don't break before insets unless needed). Don't
6439 return a value > last under any circumstances.
6441 2003-03-09 Angus Leeming <leeming@lyx.org>
6443 * BufferView_pimpl.C (trackChanges, dispatch): call
6444 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6446 2003-03-09 Angus Leeming <leeming@lyx.org>
6448 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6449 than Dialogs::showAboutlyx().
6451 2003-03-09 Angus Leeming <leeming@lyx.org>
6453 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6454 than Dialogs::showTabularCreate().
6456 2003-03-09 John Levon <levon@movementarian.org>
6460 * text2.C: 3rd arg to nextBreakPoint was always the same.
6463 2003-03-08 John Levon <levon@movementarian.org>
6470 * text2.C: Remove the "main" bit from the "main body"
6473 2003-03-08 John Levon <levon@movementarian.org>
6475 * text.C (leftMargin): The left margin of an empty
6476 manual label paragraph should not include the label width
6479 * text.C (prepareToPrint): don't attempt to measure hfills
6480 for empty manual label paragraphs - the answer should be 0
6482 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6484 * CutAndPaste.C: remove commented code and reindent.
6486 2003-03-08 John Levon <levon@movementarian.org>
6489 * lyxfunc.C: move reloadBuffer()
6492 * BufferView.C: to here
6494 * lyxvc.C: add comment
6497 * vc-backend.C: call bv->reload() to avoid
6498 getStatus() check on MENURELOAD
6500 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6502 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6503 to an old format .dep file.
6505 2003-03-07 Angus Leeming <leeming@lyx.org>
6507 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6508 when the LFUN_MOUSE_RELEASE should have been handled by
6509 inset->localDispatch.
6511 2003-03-07 Angus Leeming <leeming@lyx.org>
6513 * BufferView_pimpl.C (dispatch):
6514 * LyXAction.C (init):
6515 * ToolbarDefaults.C (init):
6517 * lyxfunc.C (getStatus):
6518 remove LFUN_INSET_GRAPHICS.
6520 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6522 2003-03-07 Angus Leeming <leeming@lyx.org>
6525 * LyXAction.C (init):
6526 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6528 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6531 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6533 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6534 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6536 2003-03-07 Angus Leeming <leeming@lyx.org>
6538 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6541 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6543 * ParagraphList.C (front): new function
6546 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6548 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6549 and top_row_offset_. removed var first_y.
6551 * text2.C (LyXText, removeRow):
6553 * BufferView_pimpl.C:
6554 use these methods instead of using first_y
6556 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6558 * text2.C (pasteSelection): adjust for checkPastePossible
6560 * CutAndPaste.C: remove Paragraph * buf and replace with
6561 ParagraphList paragraphs.
6562 (DeleteBuffer): delete
6563 (cutSelection): change the tc type to textclass_type
6564 (copySelection): change the tc type to textclass_type
6565 (copySelection): adjust for ParagraphList
6566 (pasteSelection): change the tc type to textclass_type
6567 (pasteSelection): adjust for Paragraphlist
6568 (nrOfParagraphs): simplify for ParagraphList
6569 (checkPastePossible): simplify for ParagraphList
6570 (checkPastePossible): remove unused arg
6572 * ParagraphList.C (insert): handle the case where there are no
6575 * CutAndPaste.h: make CutAndPaste a namespace.
6577 * text3.C (dispatch): adjust
6579 * text.C (breakParagraph): add a ParagraphList as arg
6581 * paragraph_funcs.C (breakParagraph): change to take a
6582 BufferParams and a ParagraphList as args.
6583 (breakParagraphConservative): ditto
6584 (mergeParagraph): ditto
6585 (TeXDeeper): add a ParagraphList arg
6586 (TeXEnvironment): ditto
6589 * buffer.C (readLyXformat2): adjust
6590 (insertStringAsLines): adjust
6591 (latexParagraphs): adjust
6593 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6594 (cutSelection): adjust
6595 (pasteSelection): adjust
6597 * BufferView_pimpl.C (insertInset): adjust
6599 2003-03-05 Angus Leeming <leeming@lyx.org>
6602 * LyXAction.C (init):
6603 * BufferView_pimpl.C (dispatch):
6604 * lyxfunc.C (getStatus):
6605 remove LFUN_CHILD_INSERT.
6607 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6609 2003-03-05 Angus Leeming <leeming@lyx.org>
6612 * LyXAction.C (init):
6613 * src/factory.C (createInset):
6614 * lyxfunc.C (getStatus):
6615 * text3.C (dispatch):
6616 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6618 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6620 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6622 * ParagraphList.C (insert): handle insert right before end()
6623 (erase): fix cases where it can be first or last paragraph.
6625 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6627 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6628 Paragraph::next and Paragraph::previous
6631 * text.C (breakParagraph): adjust
6633 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6634 BufferParams& as arg.
6635 (breakParagraph): use ParagraphList::insert
6636 (breakParagraphConservative): take a Buffer* instead of a
6637 BufferParams& as arg.
6638 (breakParagraphConservative): use ParagraphList::insert.
6640 * buffer.C (insertStringAsLines): un-const it
6641 (insertStringAsLines): adjust
6643 * ParagraphList.C (insert): new function
6645 * CutAndPaste.C (pasteSelection): adjust
6647 * text.C (backspace): adjust
6649 * tabular.C (SetMultiColumn): adjust
6651 * CutAndPaste.C (cutSelection): adjust
6652 (pasteSelection): adjust
6654 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6655 Buffer const * as arg
6657 * ParagraphList.C (erase): new function
6658 * paragraph_funcs.C (mergeParagraph): use it
6659 (mergeParagraph): make it take a Buffer* instead of a
6660 BufferParams* as arg
6662 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6664 (breakParagraphConservative): ditto
6666 * paragraph.h: remove the breakParagraph friend
6668 * paragraph.C (eraseIntern): new function
6669 (setChange): new function
6671 * paragraph_funcs.C (mergeParagraph): make it take a
6672 ParagraphList::iterator instead of a Paragraph *, adjust
6675 * paragraph.h: move an #endif so that the change tracking stuff
6676 also works in the NO_NEXT case.
6678 2003-03-04 Angus Leeming <leeming@lyx.org>
6681 * LyXAction.C: new LFUN_INSET_MODIFY.
6683 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6684 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6686 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * several files: ws changes only
6690 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6691 (TeXEnvironment): ditto
6694 * buffer.C (makeLaTeXFile): adjust
6695 (latexParagraphs): make it take ParagraphList::iterator as args
6697 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6699 * buffer.C (latexParagraphs): adjust
6701 * paragraph.C (TeXOnePar): move function...
6702 (optArgInset): move function...
6703 (TeXEnvironment): move function...
6704 * paragraph_pimpl.C (TeXDeeper): move function...
6705 * paragraph_funcs.C: ...here
6707 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6709 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * buffer.C (readInset): remove compability code for old Figure and
6714 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6716 * buffer.C: ws changes
6719 * BufferView_pimpl.C: ditto
6722 * bufferlist.h: ditto
6726 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6728 * converter.[Ch]: split into itself +
6731 * Makefile.am: += graph.[Ch] + format.[Ch]
6738 * lyxrc.C: added #include "format.h"
6740 2003-02-27 Angus Leeming <leeming@lyx.org>
6742 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6745 * factory.C (createInset): add "label" to the factory.
6747 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6748 string and do no more.
6750 2003-02-27 Angus Leeming <leeming@lyx.org>
6753 * LyXAction.C (init):
6754 * factory.C (createInset):
6755 * BufferView_pimpl.C (dispatch):
6756 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6758 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6760 * lyxfunc.C (dispatch):
6761 * text3.C (dispatch): pass name to params2string.
6763 2003-02-26 Angus Leeming <leeming@lyx.org>
6765 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6767 Rearrange the ~includes. Strip out the unnecessary ones.
6769 * factory.C (createInset): reformat.
6770 create new insets for the various LFUN_XYZ_APPLY lfuns.
6772 2003-02-26 John Levon <levon@movementarian.org>
6775 * lyxrow.C: add isParStart,isParEnd helpers
6777 * paragraph.h: make isInserted/DeletedText take refs
6779 * paragraph_funcs.h:
6780 * paragraph_funcs.C: remove #if 0'd code
6785 * text.C: use lyxrow helpers above.
6786 Move draw and paint routines to RowPainter.
6787 Make several methods use refs not pointers.
6788 Make backgroundColor() const.
6789 Add markChangeInDraw(), isInInset().
6790 Merge changeRegionCase into changeCase.
6791 Make workWidth() shouldn't-happen code into an Assert.
6794 * rowpainter.C: new class for painting a row.
6797 * vspace.C: make inPixels take a ref
6799 2003-02-26 Angus Leeming <leeming@lyx.org>
6801 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6804 2003-02-25 John Levon <levon@movementarian.org>
6806 * ispell.C: give the forked command a more accurate name
6808 2003-02-22 John Levon <levon@movementarian.org>
6811 * toc.C: make TocItem store an id not a Paragraph *
6814 2003-02-21 Angus Leeming <leeming@lyx.org>
6816 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6817 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6818 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6819 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6820 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6821 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6823 * BufferView_pimpl.C (dispatch):
6824 * LyXAction.C (init):
6825 * factory.C (createInset):
6826 * lyxfunc.C (getStatus, dispatch):
6827 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6829 2003-02-21 Angus Leeming <leeming@lyx.org>
6831 * BufferView_pimpl.C (MenuInsertLyXFile):
6832 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6833 * lyxfunc.C (menuNew, open, doImport):
6834 no longer pass a LyXView & to fileDlg.
6836 2003-02-21 Angus Leeming <leeming@lyx.org>
6838 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6839 * LyXAction.C: change, BIBKEY to BIBITEM.
6840 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6841 Change InsetBibKey to InsetBibitem.
6842 Change BIBKEY_CODE to BIBITEM_CODE.
6843 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6844 * factory.C: replace insetbib.h with insetbibitem.h.
6845 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6846 * paragraph.C: replace insetbib.h with insetbibitem.h.
6847 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6848 Change bibkey() to bibitem().
6849 * text.C: remove insetbib.h.
6850 * text2.C: replace insetbib.h with insetbibitem.h.
6851 change bibkey() to bibitem().
6852 * text3.C: remove insetbib.h.
6853 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6855 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6857 * lyxrc.C (output): enclose user email in quotes (in case there are
6860 2003-02-18 John Levon <levon@movementarian.org>
6862 * buffer.h: add std::
6864 2003-02-17 John Levon <levon@movementarian.org>
6870 * pspell.C: reworking. Especially in ispell, a large
6871 number of clean ups and bug fixes.
6873 * lyxfunc.C: fix revert to behave sensibly
6875 2003-02-17 André Pönitz <poenitz@gmx.net>
6878 * commandtags.h: new LFUN_INSERT_BIBKEY
6888 * paragraph_func.C: remove special bibkey handling
6890 2003-02-17 John Levon <levon@movementarian.org>
6892 * text.C (Delete): fix case where delete at the end of
6893 the very first paragraph would not merge the pars
6895 2003-02-17 John Levon <levon@movementarian.org>
6897 * lyxrow.C: fix lastPrintablePos()
6899 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6901 * bufferparams.C (writeLaTeX): add a std:here
6903 * buffer.C: and remove a using directive there
6905 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6907 * buffer.C (makeLaTeXFile): move the code that generates the
6910 * bufferparams.C (writeLaTeX): ... in this new method
6912 * LaTeXFeatures.C (getEncodingSet): make const
6913 (getLanguages): make const
6915 * MenuBackend.C (binding): returns the binding associated to this
6917 (add): sets the status of each item by calling getStatus. Adds
6919 (read): add support for OptSubMenu
6920 (expand): remove extra separator at the end of expanded menu
6922 2003-02-15 John Levon <levon@movementarian.org>
6925 * BufferView_pimpl.C:
6927 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6928 inset code that had no actual effect. Remove unneeded status
6931 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6933 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6936 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6938 * text.C (drawLengthMarker): also draw an arrow marker for
6939 symbolic lengths (medskip...)
6941 2003-02-14 John Levon <levon@movementarian.org>
6944 * tabular.C: better method names
6946 2003-02-14 John Levon <levon@movementarian.org>
6948 * BufferView_pimpl.C:
6953 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6954 it's a more accurate name. Remove some pointless uses.
6956 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6958 * text2.C (LyXText): change order of initilizers to shut off
6961 2003-02-14 John Levon <levon@movementarian.org>
6963 * buffer.C: use ParIterator for getParFromID()
6967 * paragraph_pimpl.h:
6968 * paragraph_pimpl.C: remove unused getParFromID()
6970 2003-02-14 John Levon <levon@movementarian.org>
6972 * buffer.C: remove some very old #if 0'd parse code
6974 2003-02-13 John Levon <levon@movementarian.org>
6978 * text2.C: move hfillExpansion(), numberOfSeparators(),
6979 rowLast(), rowLastPrintable(), numberofHfills(),
6980 numberOfLabelHfills() ...
6983 * lyxrow.C: ... to member functions here.
6988 * text.C: remove LyXText::beginningOfMainBody(), and call
6989 p->beginningOfMainBody() directly. Move the check for
6990 LABEL_MANUAL into the latter.
6997 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7003 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7004 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7006 2003-02-13 John Levon <levon@movementarian.org>
7008 * CutAndPaste.C: remove debug
7010 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7012 * paragraph.C (asString): remove two unused variables
7014 * lyxtextclass.C (readTitleType):
7016 (LyXTextClass): handle new members titletype_ and titlename_
7018 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7020 2003-02-09 John Levon <levon@movementarian.org>
7023 * buffer.C: replace hand-coded list with a map for the dep clean
7025 2003-02-08 John Levon <levon@movementarian.org>
7027 * LaTeX.C: consolidate code into showRunMessage() helper
7029 2003-02-08 John Levon <levon@movementarian.org>
7034 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7035 and pass the size in explicitly
7037 * BufferView_pimpl.h:
7038 * BufferView_pimpl.C:
7040 * BufferView.C: add getCurrentChange()
7042 * BufferView_pimpl.h:
7043 * BufferView_pimpl.C: handle change lfuns
7045 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7046 for changes. Mark pasted paragraphs as new.
7048 * support/lyxtime.h:
7049 * support/lyxtime.C:
7050 * DepTable.C: abstract time_t as lyx::time_type
7053 * LColor.C: add colours for new text, deleted text, changebars
7055 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7056 package use "usenames" option.
7060 * LyXAction.C: add change lfuns
7064 * author.C: author handling
7067 * buffer.C: add a per-buffer author list, with first entry as
7068 current author. Handle new .lyx tokens for change tracking. Output
7069 author list to .lyx file. Output dvipost stuff to .tex preamble.
7070 Bump lyx format to 222.
7073 * bufferlist.C: add setCurrentAuthor() to reset current author details
7077 * bufferparams.C: add param for tracking
7079 * bufferview_funcs.C: output change info in minibuffer
7083 * changes.C: add change-tracking structure
7086 * debug.C: add CHANGES debug flag
7089 * lyxfind.C: add code for finding the next change piece
7092 * lyxrc.C: add user_name and user_email
7095 * lyxrow.C: add a metric for the top of the text line
7098 * text.C: implement accept/rejectChange()
7101 * text.C: paint changebars. Paint new/deleted text in the chosen
7102 colours. Strike through deleted text.
7106 * paragraph_pimpl.h:
7107 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7108 in the current change to the insert functions. Rework erase to
7109 mark text as deleted, adding an eraseIntern() and a range-based
7110 erase(). Implement per-paragraph change lookup and
7113 * paragraph_funcs.C: Fixup paste for change tracking.
7115 * tabular.C: mark added row/columns as new.
7117 * text.C: fix rowLast() to never return -1. Don't allow
7118 spellchecking of deleted text. Track transpose changes. Don't
7119 allow paragraph break or merge where appropriate.
7121 * text2.C: leave cursor at end of selection after a cut.
7123 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7125 * text.C (getLengthMarkerHeight):
7126 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7127 visible on screen too.
7129 2003-02-07 John Levon <levon@movementarian.org>
7131 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7133 2003-02-05 Angus Leeming <leeming@lyx.org>
7135 * lyxserver.C (read_ready): revert my patch of 11 September last year
7136 as it sends PC cpu through the roof. Presumably this means that
7137 the lyxserver will no longer run on an Alpha...
7139 2003-01-30 Angus Leeming <leeming@lyx.org>
7141 * factory.C (createInset): create an InsetCommandParam of type "index"
7142 and use it to 'do the right thing'.
7144 * text2.C (getStringToIndex): ensure that cursor position is always
7145 reset to the reset_cursor position.
7147 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7149 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7152 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7156 * lyxfunc.C: Output messages with identical spelling, punctuation,
7159 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7161 * MenuBackend.C (expandFormats): List only viewable export formats
7164 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7167 * lyxfunc.C (getStatus): Make sure that formats other than
7168 "fax" can also be disabled
7170 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7172 * text3.C (dispatch): put the lfuns that insert insets in 3
7173 groups, and call doInsertInset with appropriate arguments.
7174 (doInsertInset): new function, that creates an inset and inserts
7175 it according to some boolean parameters.
7177 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * buffer.C (readFile): remember to pass on 'par' when calling
7180 readFile recursively.
7182 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7184 * MenuBackend.C (expandFormats): add "..." to import formats.
7186 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7188 * paragraph.C (asString): Remove XForms RTL hacks.
7190 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7191 * buffer.C: fix typo
7193 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7195 * Makefile.am (LIBS): delete var
7196 (lyx_LDADD): add @LIBS@ here instead.
7198 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7200 * Clarify the meaning of "wheel mouse jump"
7202 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7204 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7207 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7209 * importer.C (Loaders): do not preallocate 3 elements in the
7210 vector, since one ends up with 6 elements otherwise
7212 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7214 * DepTable.C (write): write the file name as last element of the
7215 .dep file (because it may contain spaces)
7216 (read): read info in the right order
7218 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7220 * paragraph_pimpl.C (simpleTeXBlanks):
7221 (simpleTeXSpecialChars):
7222 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7224 * tabular.C (latex): add some missing case statements. Reindent.
7226 * MenuBackend.C (expandToc): remove unused variable.
7228 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7237 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7240 2003-01-05 John Levon <levon@movementarian.org>
7243 * BufferView.C: add getEncoding()
7246 * kbsequence.C: do not store last keypress
7249 * lyxfunc.C: store last keypress here instead. Pass encoding
7252 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7254 * lyx_main.C (init): remove annoying error message when following
7255 symbolic links (bug #780)
7257 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7259 * text.C (insertChar):
7260 * lyxrc.C (getDescription): remove extra spaces
7262 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7264 * lyxrc.C (getDescription): remove extra spaces
7266 2002-12-20 John Levon <levon@movementarian.org>
7268 * text3.C: hack fix for page up/down across tall rows
7270 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7272 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7275 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7277 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7278 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7279 thesaurus is not compiled in
7281 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7283 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7285 2002-12-16 Angus Leeming <leeming@lyx.org>
7288 * lyx_main.C (init): remove override_x_deadkeys stuff.
7290 2002-12-12 John Levon <levon@movementarian.org>
7292 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7293 insert. Only remove shift modifier under strict
7296 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7298 * MenuBackend.C (expandToc): fix crash.
7300 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * MenuBackend.C (expandToc): gettext on float names.
7304 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7306 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7307 implement bool empty() [bug 490]
7309 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7311 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7313 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7315 * several files: ws changes
7317 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7319 * text2.C (setCounter): clean up a bit, use boost.format.
7320 (updateCounters): initialize par upon declaration.
7322 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7323 if the layout exists. We do not just store the layout any more.
7324 (SwitchLayoutsBetweenClasses): use boost.format
7326 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7328 * converter.C (convert): if from and to files are the same, use a
7329 temporary files as intermediary
7331 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7334 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7336 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7338 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7340 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * tabular.C (asciiPrintCell): use string(size, char) instead of
7345 * sgml.C (openTag): fix order of arguments to string constructor
7348 * lyxfunc.C (dispatch): use boost.format
7350 * lots of files: change "c" -> 'c'
7352 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7354 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7356 2002-11-25 Angus Leeming <leeming@lyx.org>
7358 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7360 * lyx_main.C (init): compile fix.
7362 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7364 * lyx_cb.C (start): boost.formatify
7365 do not include <iostream>
7367 * lengthcommon.C: ws only
7369 * boost-inst.C,BoostFormat.h: add more explict instantations
7371 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7373 * lots of files: handle USE_BOOST_FORMAT
7375 2002-11-21 John Levon <levon@movementarian.org>
7377 * pspell.C: fix compile
7379 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7381 * lyxfunc.C (dispatch): use boost::format
7385 * lyxfont.C (stateText): use boost::format
7387 * lyx_main.C (LyX): use boost::format
7389 (queryUserLyXDir): ditto
7392 (typedef boost::function): use the recommened syntax.
7394 * importer.C (Import): use boost::format
7396 * debug.C (showLevel): use boost::format
7398 * converter.C (view): use boost::format
7403 * bufferview_funcs.C (currentState): use boost::format
7405 * bufferlist.C (emergencyWrite): use boost::format
7407 * buffer.C (readLyXformat2): use boost::format
7408 (parseSingleLyXformat2Token): ditto
7410 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7412 * LaTeX.C (run): use boost::format
7414 * Chktex.C (scanLogFile): use boost::format
7416 * BufferView_pimpl.C (savePosition): use boost::format
7417 (restorePosition): ditto
7418 (MenuInsertLyXFile): ditto
7420 * BoostFormat.h: help file for explicit instation.
7422 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7424 * tabular.C (latex): Support for block alignment in fixed width
7427 2002-11-17 John Levon <levon@movementarian.org>
7429 * BufferView_pimpl.C:
7431 * lyxfunc.C: split filedialog into open/save
7433 2002-11-08 Juergen Vigna <jug@sad.it>
7435 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7436 by my last patch (hopefully).
7438 2002-11-08 John Levon <levon@movementarian.org>
7447 * toc.C: ParConstIterator, and use it (from Lars)
7449 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7451 * lyxtextclass.[Ch]: revise and add doxygen comments
7453 2002-11-07 John Levon <levon@movementarian.org>
7455 * text.C: fix progress value for spellchecker
7457 * toc.C: fix navigate menu for insetwrap inside minipage
7459 * paragraph_funcs.C: added FIXME for suspect code
7461 2002-11-07 John Levon <levon@movementarian.org>
7463 * BufferView_pimpl.C: fix redrawing of insets
7466 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7468 * text2.C (updateCounters): fix bug 668
7470 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7472 * text3.C (dispatch): Do not make the buffer dirty when moving the
7475 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7477 * vc-backend.C: STRCONV
7480 * text2.C (setCounter): STRCONV
7482 * paragraph.C (asString): STRCONV
7484 * lyxlength.C (asString): STRCONV
7485 (asLatexString): ditto
7487 * lyxgluelength.C (asString): STRCONV
7488 (asLatexString): ditto
7490 * lyxfunc.C (dispatch): STRCONV
7493 * lyxfont.C (stateText): STRCONV
7495 * importer.C (Import): STRCONV
7497 * counters.C (labelItem): STRCONV
7498 (numberLabel): ditto
7499 (numberLabel): remove unused ostringstream o
7504 * bufferview_funcs.C (currentState): STRCONV
7506 * buffer.C (readFile): STRCONV
7507 (asciiParagraph): ditto
7508 (makeLaTeXFile): ditto
7510 * Spacing.C (writeEnvirBegin): STRCONV
7512 * LaTeXFeatures.C (getLanguages): STRCONV
7513 (getPackages): ditto
7515 (getBabelOptions): ditto
7516 (getTClassPreamble): ditto
7517 (getLyXSGMLEntities): ditto
7518 (getIncludedFiles): ditto
7522 (scanAuxFile): ditto
7525 * LString.h: add the STRCONV macros
7527 * BufferView_pimpl.C (savePosition): STRCONV
7528 (restorePosition): ditto
7529 (MenuInsertLyXFile): ditto
7531 * vc-backend.C (scanMaster): change from submatch[...] to
7534 * funcrequest.C: include config.h
7536 * factory.C: include config.h
7538 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7540 * box.C: include config.h
7542 * LaTeX.C (scanAuxFile): change from submatch[...] to
7546 2002-10-25 Angus Leeming <leeming@lyx.org>
7548 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7550 * ispell.[Ch] (setError): new method.
7551 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7552 Use setError() insetead of goto END.
7554 * lyx_cb.C (AutoSave): move out child process into new class
7557 2002-10-30 John Levon <levon@movementarian.org>
7559 * text3.C: make start appendix undoable
7561 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7563 * lyxlength.C (inPixels): Fix returned value.
7565 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7568 2002-10-24 Angus Leeming <leeming@lyx.org>
7570 * lyxgluelength.h: no need to forward declare BufferParams
7571 or BufferView, so don't.
7573 2002-10-21 John Levon <levon@movementarian.org>
7575 * BufferView.C: menuUndo ->undo, redo
7577 * BufferView.h: document, remove dead, make some methods private
7579 * paragraph_funcs.h:
7580 * paragraph_funcs.C:
7581 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7586 * sgml.C: move sgml open/close tag into sgml.C
7588 * bufferview_funcs.h: unused prototype
7591 * lyxfunc.C: remove unused
7594 * text.C: remove unused
7596 2002-10-21 John Levon <levon@movementarian.org>
7600 * BufferView_pimpl.h:
7601 * BufferView_pimpl.C: fix mouse wheel handling based on
7602 patch from Darren Freeman
7604 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7606 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7608 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7610 * lyxlength.C (inPixels): Fix hanfling of negative length.
7611 Fix LyXLength::MU case.
7613 2002-10-16 John Levon <levon@movementarian.org>
7615 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7617 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7619 * converter.C (view): add support for $$i (file name) and $$p
7620 (file path) for the viewer command. If $$i is not specified, then
7621 it is appended to the command (for compatibility with old syntax)
7623 2002-10-14 Juergen Vigna <jug@sad.it>
7625 * undo_funcs.C (textHandleUndo): alter the order in which the
7626 new undopar is added to the LyXText, as we have to set first
7627 the right prev/next and then add it as otherwise the rebuild of
7628 LyXText is not correct. Also reset the cursor to the right paragraph,
7629 with this IMO we could remove the hack in "redoParagraphs()".
7631 2002-10-09 Angus Leeming <leeming@lyx.org>
7633 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7634 to turn off an optimisation if a new inset is to be inserted.
7636 2002-10-11 André Pönitz <poenitz@gmx.net>
7638 * lyxtext.h: make some functions public to allow access
7639 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7641 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7643 * text3.C (dispatch): when changing layout, avoid an infinite loop
7646 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7648 * lyxrc.C (read): treat a viewer or converter command of "none" as
7651 * MenuBackend.C (expandFormats): for an update, also allow the
7652 formats that are not viewable
7654 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7655 script if it is newer than the lyxrc.defaults in user directory
7657 2002-10-07 André Pönitz <poenitz@gmx.net>
7659 * text.C: Vitaly Lipatov's small i18n fix
7661 2002-09-25 Angus Leeming <leeming@lyx.org>
7663 * ispell.h: doxygen fix.
7665 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7667 * buffer.h (readFile): Add a new argument to the method, to allow
7668 reading of old-format templates.
7670 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7672 * toc.C (getTocList): Get TOC from InsetWrap.
7674 2002-09-16 John Levon <levon@movementarian.org>
7676 * lyxfunc.C: check tabular for cut/copy too
7678 2002-09-12 John Levon <levon@movementarian.org>
7683 * factory.C: add header
7685 * paragraph_funcs.h:
7686 * paragraph_funcs.C: cleanup
7688 2002-09-11 John Levon <levon@movementarian.org>
7690 * PrinterParams.h: odd/even default to true
7692 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7694 * PrinterParams.h: update printer parameters for new xforms dialog
7696 2002-09-11 Angus Leeming <leeming@lyx.org>
7698 * lyxserver.C (read_ready): re-write to make it more transparent
7699 and to make it work in coherent fashion under Tru64 Unix.
7701 2002-09-11 André Pönitz <poenitz@gmx.net>
7705 * text3.C: implement LFUN_WORDSEL
7707 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7709 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7710 make floatlist_ a boost::shared_ptr<FloatList>
7712 * lyxtextclass.C: include FloatList.h
7713 (LyXTextClass): initialize floatlist_
7714 (TextClassTags): add TC_NOFLOAT
7715 (Read): match "nofloat" to TC_NOFLOAT and use it.
7716 (readFloat): modify call to floatlist_
7720 * FloatList.[Ch] (FloatList): remove commented out float
7722 (erase): new function
7724 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7726 * MenuBackend.C (expandToc): fix crash when there is no document
7729 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7731 * many files: Add insetwrap.
7733 2002-09-09 John Levon <levon@movementarian.org>
7735 * text2.C: remove confusing and awkward depth wraparound
7737 2002-09-09 John Levon <levon@movementarian.org>
7739 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7742 * buffer.C: remove getIncludeonlyList()
7745 * lyxfunc.C: remove headers
7747 2002-09-09 Juergen Vigna <jug@sad.it>
7749 * text.C (getColumnNearX): fix form Michael this is most
7750 probably a cut&paste bug.
7752 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7754 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7756 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7757 references, ws changes.
7759 * text2.C (init): update counters after init
7760 (insertParagraph): no need to set counter on idividual paragraphs.
7761 (setCounter): access the counters object in the textclass object
7762 on in the buffer object.
7763 (updateCounters): ditto
7765 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7766 shared_ptr<Counters> to avoid loading counters.h in all
7768 (LyXTextClass): initialize ctrs_
7769 (TextClassTags): add TC_COUNTER, and ...
7770 (Read): use it here.
7771 (CounterTags): new tags
7772 (readCounter): new function
7773 (counters): new funtion
7774 (defaultLayoutName): return a const reference
7776 * counters.C (Counters): remove contructor
7777 (newCounter): remove a couple of unneeded statements.
7778 (newCounter): simplify a bit.
7779 (numberLabel): some small formatting changes.
7781 * buffer.[Ch]: remove all traces of counters, move the Counters
7782 object to the LyXTextClass.
7784 2002-09-06 Alain Castera <castera@in2p3.fr>
7786 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7787 package to set the horizontal alignment on fixed width columns.
7790 * lyx_sty.h: added tabularnewline macro def.
7792 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7794 2002-09-06 John Levon <levon@movementarian.org>
7796 * LyXAction.C: tooltips for sub/superscript
7798 * MenuBackend.C: a bit more verbose
7800 * lyxfunc.C: tiny clean
7802 * undo_funcs.C: document undo_frozen
7804 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7806 * counters.C (Counters): add missing algorithm counter.
7808 * text2.C (setCounter): lookup the counter with layouts latexname
7809 instead of by section number.
7810 (setCounter): use a hackish way to lookup the correct enum
7812 a float name->type change
7813 reset enum couners with counter name directly instead of depth value.
7815 * counters.C (Counters): remove the push_backs, change to use the
7816 float type not the float name.
7817 (labelItem): remove unused string, float name->type change
7819 * counters.h: don't include vector, loose the enums and sects vectors
7821 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7824 (Read): add float->TC_FLOAT to textclassTags
7825 (Read): and handle it in the switch
7826 (readFloat): new function
7828 * FloatList.C (FloatList): comment out the hardcoded float
7831 * lyxlayout.h: ws change.
7833 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7835 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7837 2002-09-03 Angus Leeming <leeming@lyx.org>
7839 * BufferView_pimpl.h: qualified name is not allowed in member
7840 declaration: WorkArea & Pimpl::workarea() const;
7842 * factory.C: added using std::endl directive.
7844 * text3.C: added using std::find and std::vector directives.
7846 2002-08-29 André Pönitz <poenitz@gmx.net>
7849 * text2.C: remove unused member number_of_rows
7852 * BufferView2.C: remove file, move contents to...
7853 * BufferView.C: ... here
7855 * BufferView_pimpl.C:
7856 * factory.C: move more inset creation to factory
7858 * vspace.C: avoid direct usage of LyXText, ws changes
7861 don't provide direct access to WorkArea, use two simple
7862 acessors haveSelction() and workHeight() instead
7865 2002-08-29 John Levon <levon@movementarian.org>
7867 * BufferView_pimpl.C (dispatch): do not continue when
7870 2002-08-28 André Pönitz <poenitz@gmx.net>
7872 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7875 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7877 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7879 * buffer.C: increment LYX_FORMAT to 221
7881 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7882 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7884 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7886 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7888 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7890 * factory.C (createInset): use LyXTextClass::floats
7892 * MenuBackend.C (expandFloatListInsert):
7893 (expandFloatInsert):
7896 * text2.C (setCounter):
7898 * LaTeXFeatures.C (useFloat):
7899 (getFloatDefinitions):
7901 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7903 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7904 floatlist_, with accessor floats().
7906 * FloatList.h: remove global FloatList
7908 2002-08-26 André Pönitz <poenitz@gmx.net>
7910 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7914 * BufferView_pimpl.C:
7915 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7917 2002-08-25 John Levon <levon@movementarian.org>
7919 * LyXAction.C: fix margin note description
7921 2002-08-24 John Levon <levon@movementarian.org>
7925 * bufferview_funcs.C:
7927 * undo_funcs.C: cleanups
7929 * lyxfunc.C: disable CUT/COPY when no selection
7931 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7933 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7934 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7936 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7937 Add backward compatibility to "mono", "gray" and "no".
7939 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7941 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7942 (and file_format >= 200).
7944 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7946 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7948 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7950 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7952 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7954 * BufferView_pimpl.C:
7961 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7962 inset and code to make it work with the paragraph code. The inset
7963 can be anywhere in the paragraph, but will only do the expected
7964 thing in LaTeX if the layout file contains the parameter line
7966 (or more generally, a nonzero value) for that layout.
7968 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * paragraph.h: remove the declaration of undefined counters class
7973 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7975 * text2.C (setCounter): fixed enumeration mis-count as reported by
7976 Dr. Richard Hawkins.
7978 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7980 * paragraph_funcs.h: remove some unneeded includes
7982 * text.C (backspace): pasteParagraph now in global scipe
7984 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7985 (pasteSelection): ditto
7987 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7988 * paragraph_funcs.C (pasteParagraph): ... here
7990 2002-08-20 André Pönitz <poenitz@gmx.net>
7992 * commandtags.h: new LFUNs for swapping/copying table row/colums
7995 * lyxfunc.C: support for new lfuns
7997 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8000 * buffer.[Ch]: remove NO_COMPABILITY stuff
8002 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8004 * boost.C (throw_exception): new file, with helper function for
8005 boost compiled without exceptions.
8010 * ParameterStruct.h:
8011 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8013 * bufferlist.C (emergencyWriteAll): use boost bind
8015 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8017 * text.C: include paragraph_funcs.h
8018 (breakParagraph): breakParagraph is now in global scope
8020 * paragraph_funcs.[Ch]: new files
8022 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8025 * buffer.C: include paragraph_funcs.h
8026 (insertStringAsLines): breakParagraph is now in global scope
8028 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8031 * CutAndPaste.C: include paragraph_funcs.h
8032 (cutSelection): breakParagraphConservative is now in global scope
8033 (pasteSelection): ditto
8035 * buffer.h: declare oprator== and operator!= for
8036 Buffer::inset_iterator
8038 * bufferlist.C (emergencyWrite): don't use fmt(...)
8040 * text3.C: add using std::endl
8042 * BufferView.C (moveCursorUpdate): remove default arg
8044 2002-08-20 André Pönitz <poenitz@gmx.net>
8046 * buffer.[Ch]: move inline functions to .C
8049 * BufferView_pimpl.C:
8051 * buffer.[Ch]: use improved inset_iterator
8054 * paragraph.[Ch]: write one paragraph at a time
8056 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8058 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8059 style if style is not specified.
8061 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8063 * text2.C (setCounter): when searching for right label for a
8064 caption, make sure to recurse to parent insets (so that a caption
8065 in a minipage in a figure float works) (bug #568)
8067 2002-08-20 André Pönitz <poenitz@gmx.net>
8069 * text3.C: new file for LyXText::dispatch() and helpers
8071 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8073 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8075 2002-08-19 André Pönitz <poenitz@gmx.net>
8078 * text.C: new LyXText::dispatch()
8080 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8082 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8084 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8086 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8089 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8091 * Makefile.am: use $(variables) instead of @substitutions@
8093 2002-08-15 André Pönitz <poenitz@gmx.net>
8096 * BufferView_pimpl.C: streamlining mathed <-> outer world
8100 * LyXAction.C: remove unused LFUN_MATH
8102 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8104 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8106 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * paragraph.C (Paragraph): reformat a bit
8109 (cutIntoMinibuffer): use builtin InsetList function instad of
8113 * buffer.C: include boost/bind.hpp, add using std::for_each
8114 (writeFileAscii): use ParagraphList iterators
8115 (validate): use for_each for validate traversal of paragraphs
8116 (getBibkeyList): use ParagraphList iterators
8117 (resizeInsets): use for_each to resizeInsetsLyXText for all
8119 (getParFromID): use ParagraphList iterators
8121 * BufferView2.C (lockInset): use paragraph list and iterators
8123 2002-08-14 John Levon <levon@movementarian.org>
8125 * lyxserver.C: remove spurious xforms include
8127 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8129 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8131 2002-08-13 André Pönitz <poenitz@gmx.net>
8134 * lyxfunc.C: further cleaning
8136 2002-08-13 André Pönitz <poenitz@gmx.net>
8138 * funcrequest.h: new constructor
8140 * funcrequest.C: move stuff here from .h
8143 * BufferView_pimpl.C:
8146 * lyxfunc.C: subsequent changes
8148 * lyxfunc.h: new view() member function
8150 * lyxfunc.C: subsequent changes
8152 2002-08-13 Angus Leeming <leeming@lyx.org>
8155 * BufferView_pimpl.C:
8163 changes due to the changed LyXView interface that now returns references
8164 to member variables not pointers.
8166 2002-08-13 Angus Leeming <leeming@lyx.org>
8168 * WordLangTuple (word, lang_code): return references to strings,
8173 * lyxtext.h: forward-declare WordLangTuple.
8178 * text.C: #include "WordLangTuple.h".
8181 * text.C: (selectNextWordToSpellcheck): constify return type.
8183 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8189 * paragraph_pimpl.h:
8192 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8194 Made updateCounter always count from start of buffer, and removed
8195 second argument (par).
8196 Reverted floats number display to '#'. Perhaps I'll try again when the
8197 code base is sanitized a bit.
8199 2002-08-12 Angus Leeming <leeming@lyx.org>
8201 * buffer.[Ch] (getLabelList): constify.
8203 2002-08-07 André Pönitz <poenitz@gmx.net>
8205 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8207 * funcrequest.h: extension to keep mouse (x,y) position
8209 2002-08-12 Juergen Vigna <jug@sad.it>
8211 * BufferView2.C (insertErrors): forbid undo when inserting error
8214 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8216 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * ParagraphList.[Ch]: new files
8220 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8222 * BufferView2.C (lockInset): ParagraphList changes
8225 * bufferlist.C: ditto
8229 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8231 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8232 unused class variable counter_,
8234 * paragraph.[Ch] (getFirstCounter): delete unused function
8236 * counters.C: include LAssert.h
8237 (reset): add a new function with no arg, change other version to
8238 not have def. arg and to not allow empty arg.
8240 * text2.C (setCounter): remove empty arg from call to Counters::reset
8242 2002-08-11 John Levon <levon@movementarian.org>
8244 * Makefile.am: add WordLangTuple.h
8246 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8248 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8249 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8251 * insets/insettext.C: InsetList changes
8253 * graphics/GraphicsSupport.C (operator()): InsetList changes
8255 * toc.C (getTocList): InsetList changes
8257 * paragraph_pimpl.[Ch]: InsetList changes
8259 * paragraph.[Ch]: InsetList changes
8261 * buffer.C (inset_iterator): InsetList changes
8262 (setParagraph): ditto
8263 * buffer.h (inset_iterator): ditto
8264 * iterators.C (operator++): ditto
8265 * iterators.h: ditto
8267 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8269 * InsetList.[Ch]: new files, most InsetList handling moved out of
8272 * BufferView2.C (removeAutoInsets): InsetList changes
8274 (ChangeInsets): ditto
8276 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8278 * paragraph_pimpl.h (empty): new function
8280 * paragraph.[Ch] (empty): new function
8282 * other files: use the new Paragraph::empty function
8284 2002-08-09 John Levon <levon@movementarian.org>
8286 * lyxtext.h: remove unused refresh_height
8288 2002-08-09 John Levon <levon@movementarian.org>
8295 * paragraph.C: move sgml char escaping out of paragraph
8298 * paragraph.C: remove id setter
8302 * paragraph_pimpl.C: remove dead tex_code_break_column
8304 * bufferview_funcs.C: small cleanup
8306 * lyxfunc.C: remove dead proto
8308 * lyxtext.h: make some stuff private. Remove some dead stuff.
8310 * lyxgluelength.C: make as[LyX]String() readable
8312 2002-08-08 John Levon <levon@movementarian.org>
8317 * ToolbarDefaults.C:
8320 * toc.C: lyxaction cleanup
8322 2002-08-08 John Levon <levon@movementarian.org>
8324 * BufferView2.C: small cleanup
8327 * lyxfind.C: move unnecessary header into the .C
8329 2002-08-08 John Levon <levon@movementarian.org>
8331 * funcrequest.h: just tedious nonsense
8334 * lyx_main.C: cleanups
8337 * vspace.C: remove dead header lyx_main.h
8339 2002-08-07 Angus Leeming <leeming@lyx.org>
8342 * paragraph_pimpl.h:
8343 Forward declare class Counters in paragraph.h by moving the ctrs member
8344 variable into Paragraph::Pimpl.
8345 (counters): new method, returning a reference to pimpl_->ctrs.
8347 * text2.C: ensuing changes.
8349 2002-08-07 John Levon <levon@movementarian.org>
8351 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8353 * BufferView_pimpl.C: announce X selection on double/triple
8356 * lyx_main.C: use correct bool in batch dispatch
8358 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8360 2002-08-07 André Pönitz <poenitz@gmx.net>
8362 * funcrequest.h: new class to wrap a kb_action and its argument
8365 * BufferView_pimpl[Ch]:
8369 * lyxrc.C: subsequent changes
8372 2002-08-07 John Levon <levon@movementarian.org>
8374 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8375 document options change.
8377 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8382 * makefile.am: move counters functionality over from
8383 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8385 2002-08-06 John Levon <levon@movementarian.org>
8387 * WordLangTuple.h: new file for word + language code tuple
8398 * BufferView2.C: use WordLangTuple
8401 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8403 2002-08-06 John Levon <levon@movementarian.org>
8405 * lyx_main.C: fix cmdline batch handling
8407 2002-08-06 André Pönitz <poenitz@gmx.net>
8409 * lyxrc.C: set default for show_banner to true
8411 2002-08-06 John Levon <levon@movementarian.org>
8413 * pspell.C: fix a crash, and allow new aspell to work
8415 2002-08-06 John Levon <levon@movementarian.org>
8418 * kbmap.C: small cleanup
8421 * vspace.C: add const
8423 2002-08-05 John Levon <levon@movementarian.org>
8425 * LyXAction.C: back to tabular-insert
8427 2002-08-04 John Levon <levon@movementarian.org>
8430 * BufferView.C: cosmetic change
8432 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8442 * BufferView2.C: purge all "Lyx" not "LyX" strings
8445 * lyxcursor.C: attempt to add some documentation
8450 * ToolbarDefaults.C:
8451 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8452 merge with LFUN_TABULAR_INSERT
8459 * pspell.C: split up i/pspell implementations into separate
8460 files, many cleanups
8462 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8464 * text2.C: some cleanup
8466 * lyxfunc.C: don't check for isp_command == "none" any more, it
8467 didn't make any sense
8469 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8474 * makefile.am: move counters functionality over
8475 from text2.C/paragraph.[Ch] to counters.[Ch], and
8477 2002-08-02 John Levon <levon@movementarian.org>
8479 * buffer.C: s/lyxconvert/lyx2lyx/
8481 2002-08-02 Angus Leeming <leeming@lyx.org>
8483 * lyxlex.C: revert John's change as it breaks reading of the user
8486 2002-08-02 Angus Leeming <leeming@lyx.org>
8488 * importer.C (Import):
8489 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8490 changes due to LyXView::view() now returning a boost::shared_ptr.
8492 2002-08-02 John Levon <levon@movementarian.org>
8494 * lyxlex.C: small cleanup
8496 2002-08-02 John Levon <levon@movementarian.org>
8498 * text2.C (status): small cleanup, no logic change
8500 2002-08-01 John Levon <levon@movementarian.org>
8503 * buffer.C (writeFile): don't output alerts, caller
8507 * lyx_cb.C: from above
8509 * lyxfunc.C: allow to open non-existent files
8511 2002-07-31 John Levon <levon@movementarian.org>
8513 * lyxserver.C: don't let incidental errors get
8516 2002-07-30 John Levon <levon@movementarian.org>
8518 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8520 2002-07-30 John Levon <levon@movementarian.org>
8523 * lyxserver.C: remove I/O callback too
8525 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8527 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8530 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8532 * many files: strip,frontStrip -> trim,ltrim,rtrim
8534 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8536 * PrinterParams.h: remove extern containsOnly, and include
8537 support/lstrings.h instead.
8539 * LaTeX.C (scanAuxFile): modify because of strip changes
8541 * buffer.C (makeLaTeXFile): ditto
8542 * bufferparams.C (writeFile): ditt
8543 * lyxfont.C (stateText): ditto
8544 * lyxserver.C (read_ready): ditto
8545 * vc-backend.C (scanMaster): ditto
8547 * BufferView_pimpl.h: ws changes
8549 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8551 2002-07-26 André Pönitz <poenitz@gmx.net>
8553 * kb_sequence.C: remove unnedred usings
8555 2002-07-26 Juergen Vigna <jug@sad.it>
8557 * lyxfind.C (LyXReplace): we have to check better if the returned
8558 text is not of theLockingInset()->getLockingInset().
8560 2002-07-25 Juergen Vigna <jug@sad.it>
8562 * lyxfind.C (LyXReplace): don't replace if we don't get the
8565 * undo_funcs.C (createUndo): remove debugging code.
8567 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8569 * buffer.C (parseSingleLyXformat2Token): Use default placement
8570 when reading old floats.
8572 * FloatList.C (FloatList): Change the default placement of figure
8573 and tables to "tbp".
8575 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8577 * MenuBackend.C: using std::max
8579 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8581 * MenuBackend.C (expandToc):
8582 (expandToc2): code moved from xforms menu frontend. It is now
8583 generic and TOCs are transparent to menu frontends.
8585 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8587 * toc.C (getTocList): protect against buf=0
8589 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8590 Menu as first parameter. Now, this calls itself recursively to
8591 expand a whole tree (this will be useful for TOC handling)
8592 (expandFloatInsert): remove 'wide' version of floats
8594 * MenuBackend.h (submenuname): returns the name of the submenu.
8595 (submenu): returns the submenu itself, provided it has been
8596 created by MenuBackend::expand
8598 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8601 insets which have noFontChange == true. (bug #172)
8603 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8605 * BufferView_pimpl.C: add connection objects and use them...
8608 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8610 * MenuBackend.C (expandLastfiles):
8613 (expandFloatListInsert):
8614 (expandFloatInsert):
8615 (expand): split expand in parts
8617 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8619 * lyx_gui.C: use lyx_gui::exit()
8621 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8623 * LyXAction.C: show the failing pseudo action
8625 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8627 * buffer.C (readFile): Run the lyxconvert script in order to read
8630 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8634 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8636 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8640 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8642 2002-07-22 Herbert Voss <voss@lyx.org>
8645 * lyxlength.[Ch]: add support for the vertical lengths
8647 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8649 * toc.[Ch]: std:: fixes
8651 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8653 * lyxrc.C: do not include lyx_main.h
8655 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8661 * BufferView2.C: include "lyxlex.h"
8664 * bufferparams.h: do not #include "lyxlex.h"
8666 * lyxtextclasslist.C (Add): remove method
8667 (classlist): renamed to classlist_
8669 * paragraph_pimpl.C:
8673 * bufferview_funcs.C:
8678 * toc.C (getTocList): use BufferParams::getLyXTextClass
8680 * toc.C (getTocList): use InsetFloat::addToToc
8682 * toc.[Ch]: new files, containing helper functions to handle table
8685 * lyxfunc.C (dispatch): no need to remove spaces around command
8687 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8688 first command of the sequence; it is not very clever, but I do not
8689 have a better idea, actually
8691 * LyXAction.C (LookupFunc): make sure to remove space at the
8692 beginning and end of the command
8694 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8696 * MenuBackend.C (getMenubar): new method: return the menubar of
8698 (read): treat differently reading of menu and menubar (in
8699 particular, the menubar has no name now)
8700 (Menu::menubar): remove
8702 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8705 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8707 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8708 a bibitem inset in a RTL paragraph.
8710 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8712 * paragraph_pimpl.C: constify
8714 * BufferView_pimpl.C:
8716 * lyxfunc.C: fix dispatch in a nicer way
8718 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8720 * lyxfunc.C (dispatch):
8721 * BufferView_pimpl.C:
8722 * BufferView_pimpl.h:
8724 * BufferView.h: rename Dispatch() to dispatch()
8726 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8728 * lyxlayout.C (Read): honor DependsOn tag
8730 * lyxlayout.[Ch] (depends_on): new method
8732 * version.C.in: update lyx_docversion
8734 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8736 * paragraph.C (validate): remove from here...
8737 * paragraph_pimpl.C (validate): ... and move here
8738 (isTextAt): make it const
8740 * buffer.C (getLists): ws cleanup
8742 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8744 * language.C (read): Use iso8859-1 encoding in latex_lang
8745 (this prevents LyX from crashing when using iso10646-1 encoding).
8747 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8749 * text2.C (toggleInset): if cursor is inside an inset, close the
8750 inset and leave cursor _after_ it
8752 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8754 * lyxfunc.C: move minibuffer completion handling out of here
8756 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8758 * BufferView_pimpl.C:
8759 * LaTeX.C: fix dispatch calls
8761 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8763 * text.C (drawChars): Fix Arabic text rendering.
8765 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8769 * lyxfunc.C: remove message-push/pop
8773 * lyxfunc.C: rationalise some code by removing verboseDispatch
8774 in favour of a bool argument to dispatch()
8776 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8778 * lyx_main.C (init): make sure to read symlinks as absolute paths
8780 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8783 * lyxfunc.C: no need for commandshortcut to be a member
8785 2002-07-15 André Pönitz <poenitz@gmx.net>
8787 * converter.C: add support for $$s (scripts from lib/scripts dir)
8788 * lyx_main.C: white space
8790 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8794 * lyxrc.C: remove second exit confirmation
8796 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8801 * BufferView_pimpl.h:
8802 * BufferView_pimpl.C:
8803 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8805 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8807 * MenuBackend.C (expand): add numeric shortcuts to document menu
8809 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8811 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8813 * lyxfont.C (setLyXFamily):
8820 * buffer.C (asciiParagraph): use ascii_lowercase
8822 2002-07-15 Mike Fabian <mfabian@suse.de>
8824 * lyxlex_pimpl.C (search_kw):
8825 * lyxlex.C (getLongString):
8826 * converter.h (operator<):
8827 * converter.C (operator<):
8828 * buffer.C (parseSingleLyXformat2Token):
8830 * ToolbarDefaults.C (read):
8831 * MenuBackend.C (checkShortcuts):
8833 * LColor.C (getFromGUIName):
8834 (getFromLyXName): use the compare_ascii_no_case instead of
8835 compare_no_case, because in turkish, 'i' is not the lowercase
8836 version of 'I', and thus turkish locale breaks parsing of tags.
8838 2002-07-16 Angus Leeming <leeming@lyx.org>
8840 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8841 now takes a Buffer const & argument.
8843 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8845 * BufferView.C (resize): check there's a buffer to resize
8847 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8849 * lyxfunc.C: remove dead code
8852 * lyxserver.C: use lyx_guii::set_read_callback
8854 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8856 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8857 an inset in a RTL paragraph.
8859 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8861 * lyxfunc.C: repaint after a font size update
8863 2002-07-15 André Pönitz <poenitz@gmx.net>
8865 * lyxlength.C: inBP should be able to return negative values
8867 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8869 * lyxfunc.C: use lyx_gui::update_fonts()
8871 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8873 * lyxfunc.C: use lyx_gui::update_color()
8875 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8881 * lyxrc.C: remove file->new asks for name option, and let
8882 buffer-new take an argument
8884 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8886 * BufferView_pimpl.C: remove unneeded extra repaint()
8888 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8890 * LyXAction.C: allow command-sequence with NoBuffer
8892 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8894 2002-07-10 Angus Leeming <leeming@lyx.org>
8896 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8898 2002-07-09 Angus Leeming <leeming@lyx.org>
8900 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8902 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8904 * lengthcommon.h: whitespace
8906 * lyxfunc.C: update scrollbar after goto paragraph
8908 * lyxtext.h: factor out page break drawing, and fix it so
8909 page break/added space paints as selected nicely
8911 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8913 * BufferView_pimpl.C: add FIXMEs, clean up a little
8915 2002-07-09 André Pönitz <poenitz@gmx.net>
8917 * lyxfont.[Ch]: support for wasy symbols
8919 2002-07-08 André Pönitz <poenitz@gmx.net>
8921 * BufferView_pimpl.C: apply John's patch for #93.
8923 2002-07-05 Angus Leeming <leeming@lyx.org>
8925 * BufferView_pimpl.C (buffer): generate previews if desired.
8927 * LColor.h: add "preview" to the color enum.
8929 * LColor.C (LColor): add a corresponding entry to the items array.
8931 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8934 2002-07-05 Angus Leeming <leeming@lyx.org>
8936 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8937 The body of the code is now in the method that is passed an ostream &
8938 rather than a file name.
8939 Pass an additional only_preamble parameter, useful for the forthcoming
8942 2002-07-03 André Pönitz <poenitz@gmx.net>
8944 * lyxfunc.C: simplify getStatus() a bit for math stuff
8946 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8948 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8950 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8952 * text.C (changeRegionCase): do not change case of all the
8953 document when region ends at paragraph end (bug #461)
8955 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8957 * paragraph.C (startTeXParParams):
8958 (endTeXParParams): add \protect when necessary
8960 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8962 * BufferView_pimpl.C (workAreaExpose): remove warning
8964 2002-06-27 Angus Leeming <leeming@lyx.org>
8966 * Makefile.am: add lyxlayout_ptr_fwd.h.
8968 2002-06-26 André Pönitz <poenitz@gmx.net>
8970 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8972 2002-06-25 Angus Leeming <leeming@lyx.org>
8974 * lyxfunc.C (dispatch): Comment out the call to
8975 grfx::GCache::changeDisplay. The method no longer exists now that the
8976 pixmap generation part of the graphics loader has been moved into
8979 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8981 * text2.C: layout as layout
8983 * text.C: layout as layout
8985 * tabular.C (OldFormatRead): layout as layout
8987 * paragraph_pimpl.C (TeXDeeper): layout as layout
8988 (realizeFont): layout as layout
8990 * paragraph.C (writeFile): layout as layout
8991 (validate): layout as layout
8992 (getFont): layout as layout
8993 (getLabelFont): layout as layout
8994 (getLayoutFont): layout as layout
8995 (breakParagraph): layout as layout
8996 (stripLeadingSpaces): layout as layout
8997 (getEndLabel): layout as layout
8998 (getMaxDepthAfter): layout as layout
8999 (applyLayout): layout as layout
9000 (TeXOnePar): layout as layout
9001 (simpleTeXOnePar): layout as layout
9002 (TeXEnvironment): layout as layout
9003 (layout): layout as layout
9004 (layout): layout as layout
9006 * lyxtextclass.C (compare_name): new functor to work with
9007 shared_ptr, layout as layout
9008 (Read): layout as layout
9009 (hasLayout): layout as layout
9010 (operator): layout as layout
9011 (delete_layout): layout as layout
9012 (defaultLayout): layout as layout
9014 * lyxlayout_ptr_fwd.h: new file
9016 * lyxlayout.C (Read): layout as layout
9018 * lyx_cb.C (MenuInsertLabel): layout as layout
9020 * bufferlist.C (newFile): layout as layout
9022 * buffer.C (readLyXformat2): layout as layout
9023 (parseSingleLyXformat2Token): layout as layout
9024 (insertStringAsLines): layout as layout
9025 (asciiParagraph): layout as layout
9026 (latexParagraphs): layout as layout
9027 (makeLinuxDocFile): layout as layout
9028 (simpleLinuxDocOnePar): layout as layout
9029 (makeDocBookFile): layout as layout
9030 (simpleDocBookOnePar): layout as layout
9031 (getLists): layout as layout
9033 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9035 * CutAndPaste.C (cutSelection): layout as layout
9036 (pasteSelection): layout as layout
9037 (SwitchLayoutsBetweenClasses): layout as layout
9039 * BufferView_pimpl.C (Dispatch): layout as layout
9040 (smartQuote): layout as layout
9042 * BufferView2.C (unlockInset): layout as layout
9044 2002-06-24 André Pönitz <poenitz@gmx.net>
9046 * lyxfunc.C: fix #487
9048 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9052 * lyxfunc.C: remove display_shortcuts, show_banner
9054 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9056 * Buffer_pimpl.C: oops, update on resize
9058 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9065 * BufferView.C: use repaint()
9067 * BufferView_pimpl.h:
9068 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9069 as it's a clearer description. Remove superfluous
9072 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9074 * text.C: fix bug 488. Not ideal, but getting
9075 getWord() to work properly for the insets that
9076 matter is more difficult ...
9078 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9080 * BufferView_pimpl.C:
9083 * lyxfunc.C: remove the six million index lyxfuncs to just
9084 one, and DTRT (bug 458)
9086 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9090 * BufferView_pimpl.h:
9091 * BufferView_pimpl.C: clean up resize() stuff,
9092 and unnecessary updateScreen()s
9094 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9098 * BufferView_pimpl.h:
9099 * BufferView_pimpl.C:
9102 * minibuffer.C: remove focus management of workarea,
9103 not needed. Use screen's greyOut()
9105 2002-06-17 Herbert Voss <voss@lyx.org>
9107 * converter.C: (convert) do not post a message, when converting
9108 fails, let the calling function decide what to do in this case
9110 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9112 * lyxfunc.C: tidy up a little
9114 2002-06-16 <alstrup@diku.dk>
9116 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9117 Got rid of FORMS_H_LOCATION include. Now we are
9120 2002-06-15 LyX Development team <lyx@rilke>
9122 * buffer.[Ch] (sgmlOpenTag):
9123 (sgmlCloseTag): Added support for avoiding pernicious mixed
9124 content. Return number of lines written.
9127 (makeDocBookFile): Fixed calls to sgml*Tag.
9128 Simple white space clean.
9130 (simpleDocBookOnePar): Simple white space clean.
9132 * tabular.[Ch] (docBook): Renamed to docbook and got another
9133 argument to related with the pernicious mixed content.
9135 (docbookRow): Fixed calls for docbook inset method.
9137 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9139 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9140 so it's X11 independent.
9144 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9146 2002-06-15 Lyx Development team <lyx@electronia>
9148 * intl.h: Renamed getTrans to getTransManager.
9150 2002-06-14 Angus Leeming <leeming@lyx.org>
9152 * Makefile.am: nuke forgotten stl_string_fwd.h.
9154 2002-06-12 Angus Leeming <leeming@lyx.org>
9156 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9158 2002-06-13 Angus Leeming <leeming@lyx.org>
9161 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9163 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9165 * kbmap.C (getiso): add support for cyrillic and greek
9167 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9171 * BufferView_pimpl.h:
9172 * BufferView_pimpl.C: move bogus scrolling logic
9175 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9178 * BufferView_pimpl.C: view->resize() change
9180 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9182 * BufferView_pimpl.C: topCursorVisible
9185 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9189 * lyx_gui.C: move to frontends/
9193 * lyx_main.C: changes from above
9195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9202 * lyx_main.C: minor tidy
9204 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9206 * BufferView_pimpl.h:
9207 * BufferView_pimpl.C:
9209 * BufferView.C: make painter() const,
9212 * BufferView2.C: use screen() accessor
9215 * lyx_main.C: some minor cleanup
9217 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9219 * BufferView_pimpl.h:
9220 * BufferView_pimpl.C: remove enter/leaveView,
9223 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9228 * BufferView_pimpl.h:
9229 * BufferView_pimpl.C: only construct screen once,
9232 * lyxrc.C: remove pointless comment
9234 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9237 * BufferView.C: remove active() and belowMouse()
9239 * BufferView_pimpl.h:
9240 * BufferView_pimpl.C: use workarea() not workarea_,
9241 and make it use a scoped_ptr instead
9243 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9245 * lyx_gui.C: add debug message on BadWindow
9247 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9249 * sp_spell.C: fdopen is not part of the C++ standard.
9251 * paragraph.C (InsetIterator): use >= instead of ==
9253 2002-06-07 Angus Leeming <leeming@lyx.org>
9255 Fixes needed to compile with Compaq cxx 6.5.
9256 * BufferView_pimpl.C:
9263 * lyxtextclasslist.C:
9268 all c-library variables have been moved into namespace std. Wrap
9269 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9274 Add a using std::abs declaration.
9276 * kbmap.h (modifier_pair):
9277 * paragraph.h (InsetTable, InsetList):
9278 * lyxfont.h (FontBits):
9279 type definition made public.
9281 * bufferlist.C (emergencyWriteAll): the compiler complains that
9282 there is more than one possible lyx::class_fun template to choose from.
9283 I re-named the void specialisation as lyx::void_class_fun.
9285 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9287 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9288 the compiler is is unable to find tostr in write_attribute.
9290 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9292 * buffer.C (sgmlError): hide #warning
9294 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * xtl/*: get rid of xtl, which is not in use anyway
9298 * LyXAction.C (init):
9299 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9300 were unimplemented xtl experimentation
9302 2002-06-04 André Pönitz <poenitz@gmx.net>
9304 * lyxfunc.C: disable array operation on simple formulae
9306 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9308 * converter.C: constify a bit
9310 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9312 * lyx_gui.C: check xforms version correctly
9314 2002-04-30 Herbert Voss <voss@lyx.org>
9316 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9319 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9321 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9322 attempt to register it with a VCS)
9324 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9326 * lyx_main.C (init): honor variables LYX_DIR_13x and
9329 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9333 * lyx_main.C: fix a crash on bad command line,
9334 and give a useful exit status on error
9336 * lyxfunc.C (doImport): allow -i lyx to work
9338 2002-03-30 André Pönitz <poenitz@gmx.net>
9340 * lyxfunc.C: mathed font changes
9342 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9357 * trans_mgr.h: srcdocs, and some minor cleanups
9359 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9361 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9362 call getFont all the time)
9364 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9366 * switch from SigC signals to boost::signals
9368 2002-05-29 André Pönitz <poenitz@gmx.net>
9370 * paragraph_pimpl.C (getChar): don't call size() too often...
9372 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * paragraph_pimpl.C (insertChar): do not try to update tables when
9375 appending (pos == size())
9377 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9378 in order to reduce drastically the number of comparisons needed to
9379 parse a large document
9381 2002-05-29 André Pönitz <poenitz@gmx.net>
9387 * textclasslist.[Ch]:
9388 * sp_ispell.h: whitespace change
9390 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9392 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9393 lyxaction directly now.
9395 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9399 * lyxvc.C: remove unused headers
9401 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9408 * undo_funcs.C: some cleanups. Use shared_ptr
9409 and a template for the undo stacks.
9411 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9413 * BufferView_pimpl.h:
9414 * BufferView_pimpl.C:
9421 * text2.C: use key_state/mouse_state
9423 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9425 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9428 * chset.C: change include order
9429 (loadFile): use boost regex and get rid of LRegex and LSubstring
9431 * Makefile.am (BOOST_LIBS): new variable
9434 * LaTeX.C: change include order.
9435 (scanAuxFile): use boost regex and get rid of LRegex and
9439 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9444 * FontInfo.C: moved to frontends/xforms/
9447 * FontLoader.C: moved into frontends for GUIIzation
9452 * lyxfunc.C: changes from above
9454 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9456 * LColor.C: remove spurious X include
9458 * BufferView_pimpl.C:
9463 * text2.C: move font metrics to frontends/
9465 2002-05-24 Juergen Vigna <jug@sad.it>
9467 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9468 setting the undo_cursor.
9470 * ParagraphParameters.h: include local includes first.
9472 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9474 * BufferView_pimpl.C:
9475 * BufferView_pimpl.h:
9479 * screen.C: move WorkArea into frontends/
9485 * BufferView2.C: move LyXScreen into frontends/
9489 * lyx_gui.C: move lyxlookup into frontends/xforms/
9491 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9494 * BufferView_pimpl.C:
9504 * bufferview_funcs.C:
9517 * vc-backend.C: move LyX/XFormsView into frontends/
9519 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9531 * text2.C: move Painter to frontends/
9533 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9535 * buffer.C: comment out some some code that depend upon lyx_format
9538 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9539 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9541 * buffer.h (NO_COMPABILITY): turn off compability
9543 * ColorHandler.C: include scoped_array.hpp
9545 * font.C: Use more specific smart_ptr header.
9548 * ShareContainer.h: ditto
9552 * BufferView_pimpl.h: ditto
9553 * ColorHandler.h: ditto
9555 * kbmap.C (defkey): change call to shared_ptr::reset
9557 2002-05-21 Juergen Vigna <jug@sad.it>
9559 * buffer.C (insertErtContents): fix to insert ert asis if it is
9560 non empty. Skip it completely if it contains only whitespaces.
9562 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9564 * BufferView_pimpl.C:
9565 * BufferView2.C: clear selection on paste (bug 393)
9567 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9569 * DepTable.C: include ctime
9571 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9573 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9575 2002-05-14 Juergen Vigna <jug@sad.it>
9577 * text.C (breakParagraph): fixed function to honor the keepempty
9578 layout in the right maner and also to permit the right breaking
9579 algorithm on empty or non empyt keepempty paragraphs.
9581 * paragraph.C (breakParagraph): we have to check also if the par
9582 is really empty (!size()) for isempty otherwise we do the wrong
9585 2002-05-10 Juergen Vigna <jug@sad.it>
9587 * buffer.[Ch] : The following are only changes to the ert
9588 compatibility read reading old LaTeX layout and font stuff and
9589 convert it to ERTInsets.
9591 * buffer.h: added isErtInset().
9593 * buffer.C (struct ErtComp): add a fromlayout bool to check
9594 if we're inside a LaTeX layout.
9595 (isErtInset): new helper function.
9596 (insertErtContents): look for other ert insets before this one
9597 and insert the contents there, so that we don't have subsequent
9598 ERT insets with nothing between them. This way we create only one
9599 inset with multiple paragraphs. Also check if we don't insert only
9600 spaces ' ' as they are ignored anyway afterwards in the .tex file
9601 so if we have only spaces we will ignore this latex part in the
9603 (parseSingleLyXformat2Token \\layout): better compatibility when
9604 reading layout-latex stuff.
9605 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9607 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9608 stuff after reading the inset only get the information back from
9611 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9613 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9615 * LaTeXFeatures.C (getBabelOptions): New method.
9617 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9619 * BufferView_pimpl.C (Dispatch): work around missing argument for
9622 2002-05-08 Juergen Vigna <jug@sad.it>
9624 * text.C (leftMargin): handle paragraph leftindent.
9626 * paragraph.C (writeFile): write the new \\leftindent tag.
9627 (validate): handle leftindent code.
9628 (TeXEnvironment): handle paragraphleftindent code again.
9630 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9632 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9633 for paragrap_extra indent code and new token \\leftindent.
9634 (latexParagraphs): handle the leftindent as environment.
9636 * ParameterStruct.h: added leftindent support.
9638 * ParagraphParameters.C (leftIndent): added support functions for
9639 the paragraph left indent.
9641 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9644 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9646 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9649 * text.C (computeBidiTables): No bidi in insetERT.
9651 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9654 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9656 * version.C.in: pre 5
9658 2002-05-02 José Matos <jamatos@fep.up.pt>
9659 * buffer.C (makeDocBookFile): white space changes, add newline to
9661 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9663 * tabular.C (docBook): fix typo.
9665 2002-05-03 Juergen Vigna <jug@sad.it>
9667 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9668 change in LyXText as we can not be sure it was not freed.
9669 (drawOneRow): remove unused code.
9671 * text.C (drawInset): redo the calculation of the need_break_row as
9672 it could have a row which was already freed.
9673 (draw): look at the return value of drawInset and return false if
9674 it also returned false.
9675 (paintRowText): look at the return value of draw and return false if
9676 it also returned false.
9678 * lyxtext.h: added bool return type to drawInset() and draw() so that
9679 if we have a change in the row so that the rowbreak has to be redone
9680 we abort drawing as it will be called again.
9682 2002-05-02 Juergen Vigna <jug@sad.it>
9684 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9685 a change in the maintext also if we're inside an inset.
9686 (Dispatch): set the cursor again after a break line and after the
9687 screen has been updated as it could be we're in a different row.
9689 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9690 to set the cursor behind the pargraph with > size().
9691 (setCursor): check also for the same paragraph when checking where
9692 to put the cursor if we have a NFR inset.
9694 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9695 parts of layout read further up as it still was in the wrong
9698 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9700 * screen.C (drawFromTo): change sine fullRebreak always return
9703 * buffer.C (parseSingleLyXformat2Token): reindent some
9705 * BufferView_pimpl.C (update): change since fullRebreak always
9707 (Dispatch): git rid of the last hardcoded "Standard"s.
9709 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9711 * text2.[Ch] (fullRebreak): make it return void now that we always
9714 2002-04-30 Juergen Vigna <jug@sad.it>
9716 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9717 ert compatibility check for "latex" layout.
9719 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9721 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9722 minipages: use col% instead of p%, and also use the current font.
9723 (makeLaTeXFile): Fix use babel condition.
9724 (parseSingleLyXformat2Token): Correct font when reading old floats.
9726 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9728 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9729 inserting list of floats.
9731 2002-04-25 Herbert Voss <voss@lyx.org>
9733 * MenuBackend.C (expand): don't add the graphics extensions to the
9736 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9738 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9739 non-existing layout, do not complain if it was the default layout
9740 of the original class (bug #342)
9742 2002-04-24 Juergen Vigna <jug@sad.it>
9744 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9745 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9747 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9749 * buffer.C (getBibkeyList): If using \bibliography, return the
9750 option field with the reference itself. Enables us to provide natbib
9751 support when using \bibliography.
9753 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9755 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9757 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9758 natbib is provided by the LaTeX class.
9760 2002-04-23 Juergen Vigna <jug@sad.it>
9762 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9765 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9767 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9769 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9771 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9772 ensuremath around textordmasculine, textordfeminine and
9775 2002-04-19 Juergen Vigna <jug@sad.it>
9777 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9778 reinitializing the buffer otherwise row-dimensions may be wrong.
9779 (update): reset also the selection cursors if they do exits otherwise
9780 their x/y positions may be wrong.
9782 * text2.C (cursorDown): don't enter the inset if we came from a row
9783 above and are one row over the inset.
9785 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9786 really leaving an inset.
9788 2002-04-18 Juergen Vigna <jug@sad.it>
9790 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9791 of the selected paragraph does not have the selected layout also if
9794 * text2.C (setLayout): fixed bug which did not change last selected
9797 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9798 changed the read and substituted \\end_float with \\end_inset!
9800 * BufferView_pimpl.C (cursorPrevious):
9801 (cursorNext): fixed to make it work with rows heigher than the work
9802 area without moving the cursor only the draw of the row.
9803 (workAreaMotionNotify): fix jumping over high rows.
9805 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9807 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9810 2002-04-16 Juergen Vigna <jug@sad.it>
9812 * text2.C (setCursor): set also the irow().
9813 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9815 (cursorDown): support for locking an inset if the x_fix value goes
9816 inside it. That way I can transverse insets too with cursor up/down.
9818 * lyxrow.h: added irow helper function same as other (i) functions.
9820 * BufferView_pimpl.C (cursorPrevious):
9821 (cursorNext): fixed for insets!
9823 2002-04-15 Juergen Vigna <jug@sad.it>
9825 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9826 position otherwise it is wrong in some cases.
9828 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9829 inside the inset before the call.
9831 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9833 * buffer.[Ch] (getBibkeyList): make it const.
9835 2002-04-12 Juergen Vigna <jug@sad.it>
9837 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9839 * text2.C (getCursorX): new helper function
9840 (setCursor): compute also ix_
9841 (setCursorFromCoordinates): set also ix.
9843 * lyxcursor.h: added ix_ and helper functions.
9845 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9847 * buffer.C (insertStringAsLines): dont break paragraph if the this
9848 paragraph is inside an inset which does not permit it!
9850 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9851 also with no chars on this paragraph.
9852 (paintRowText): only paint stuff if it's inside the workarea!
9854 * paragraph.C (breakParagraph): honor keepempty flag and break the
9855 paragraph always below not above.
9857 * BufferView2.C (unlockInset): update the paragraph layout on inset
9858 unlock as we changed paragraph in such a case.
9860 * lyxfind.C (LyXFind): clear the former selection if not found!
9862 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9863 again called in insertChar().
9865 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9866 an inset which uses the whole row!
9867 (rightMargin): ditto.
9868 (insertChar): force a rebreak if we inserted an inset!
9870 2002-03-28 Herbert Voss <voss@lyx.org>
9872 * lyxlength.[Ch]: add inBP() to get the right PS-point
9873 units (BigPoint). With inPixels we have rounding errors
9875 2002-04-11 Juergen Vigna <jug@sad.it>
9877 * text2.C (setCursorFromCoordinates): set iy to the right value.
9878 (setCursor): add check if row->previous exists!
9880 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9881 an old float_type as this was the case in the old code!
9883 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9885 * BufferView2.C (showLockedInsetCursor): use iy
9886 (fitLockedInsetCursor): ditto
9888 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9889 locked insets as there we have the right value now.
9891 * lyxcursor.C: added iy_ variable and iy functions to set to the
9892 baseline of cursor-y of the locked inset.
9894 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9895 (setCursor): fixed for insets which need a full row.
9897 * text.C (rowLastPrintable): don't ignore the last space when before
9898 an inset which needs a full row.
9899 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9900 as last character of a row when before a inset which needs a full row.
9902 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9904 * version.C.in: update date
9906 * text2.C (fullRebreak): try to always return true and see what
9909 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9911 * MenuBackend.C (expand): use Floating::listName
9913 * FloatList.C (FloatList): add listName argument to the built-in
9916 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9917 text associated with the float.
9919 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9921 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9923 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9925 * ShareContainer.h: add a couple of missing typenames.
9927 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9929 * lyxrc.C (getDescription): use _() correctly rather than N_().
9931 2002-03-28 Herbert Voss <voss@lyx.org>
9933 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9934 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9936 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9938 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9939 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9941 2002-03-29 Juergen Vigna <jug@sad.it>
9943 * lyxfunc.C (dispatch): add a missing fitCursor call.
9945 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9946 it was scrolled by a cursor move, so return the bool status.
9948 * BufferView.C (fitCursor): return the bool flag also to the outside
9949 world as this is needed.
9951 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9953 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9954 call the edit() as it is not needed (and wrong) IMO.
9955 (workAreaButtonPress): set the screen_first variable before evt.
9956 unlock the inset as this may change screen_first and then we have
9957 a wrong y position for the click!
9959 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9961 * MenuBackend.C (expand): another translation that I missed
9963 2002-03-28 Juergen Vigna <jug@sad.it>
9965 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9967 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9969 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9971 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9973 * MenuBackend.C (expand): fix export/view/update when there is no
9976 2002-03-27 Herbert Voss <voss@lyx.org>
9978 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9981 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9983 * bufferview_funcs.C (currentState): only show paragraph number
9984 for is DEVEL_VERSION is set.
9986 * lyxfunc.C (dispatch): put warning in INFO channel
9988 * MenuBackend.C (expand): translate the name of floats
9990 * FloatList.C (FloatList): mark the float names for translation
9992 * converter.C (convert): use LibScriptSearch
9994 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9996 * MenuBackend.C (defaults): fix default menu (we might as well get
9999 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10001 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10004 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10006 * lyxvc.C: reorder includes.
10008 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10010 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10013 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10015 * CutAndPaste.C: change layouts earlier on paste
10016 to avoid crashing when calling getFont()
10018 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10020 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10023 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10025 * WorkArea.C: remove 'Pending' debug message.
10027 * most files: ws cleanup
10029 * buffer.[Ch]: ws changes
10031 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10033 2002-03-21 Juergen Vigna <jug@sad.it>
10035 * tabular.C (SetMultiColumn): collapse also the contents of the
10036 cells and set the last border right. Added a Buffer const * param.
10038 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10040 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10043 2002-03-19 Juergen Vigna <jug@sad.it>
10045 * text2.C (clearSelection): reset also xsel_cache.
10047 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10048 where it needs to be called (John tells us to do so too :)
10049 (selectionLost): reset sel_cache.
10051 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10053 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10055 * text2.C (setCursorIntern): put debuging code in INSETS channel
10057 2002-03-19 André Pönitz <poenitz@gmx.net>
10059 * lyxfunc.C: tiny whitespace change
10061 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10063 * ToolbarDefaults.C (init):
10064 * LyXAction.C (init):
10066 * BufferView_pimpl.C (Dispatch):
10067 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10069 2002-03-19 Allan Rae <rae@lyx.org>
10071 * exporter.C (Export): removeAutoInsets before doing anything else.
10072 While I've just introduced a dependency on BufferView this really is
10073 the best place to clean the buffer otherwise you need to cleanup in
10074 a dozen places before calling export or cleanup in a dozen functions
10077 * converter.C (runLaTeX):
10078 (scanLog): Better handling of removeAutoInsets and screen updates.
10080 * lyxfunc.C (dispatch): small whitespace changes
10082 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10084 * WorkArea.C (C_WorkAreaEvent): return a value.
10085 (event_cb): return 1 if we handled the event, 0 otherwise.
10087 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10089 2002-03-18 Juergen Vigna <jug@sad.it>
10091 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10092 (GetAdditionalWidth): ditto.
10093 (RightLine): ditto.
10096 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10097 inset if we're there actually (probably not used right now but this
10098 is the direction to go for unifying code).
10099 (paste): disable code to clear the selection.
10101 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10102 inside an InsetText and move the check further up as it is in the
10105 * text2.C (pasteSelection): set a selection over the pasted text.
10107 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10109 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10110 and libgraphics to build on Cygwin.
10112 2002-03-15 Juergen Vigna <jug@sad.it>
10114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10115 inserting an Inset into the paragraph. I know this is not the best
10116 fix but we already use current_view in CutAndPaste so we will remove
10117 all of it's using at the same time.
10119 * buffer.C (sgmlError): deactivated function till it is rewritten in
10120 the right mode, now it can create problems.
10122 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10123 before accessing it.
10125 2002-03-14 Juergen Vigna <jug@sad.it>
10127 * undo_funcs.C (textHandleUndo): do the right thing when updating
10128 the inset after the undo/redo.
10130 * text2.C (setCursor): just some testcode for #44 not ready yet.
10132 * undo_funcs.C (textHandleUndo): set the next() and previous()
10133 pointers of the paragraph to 0 before deleting otherwise we have
10134 problems with the Paragraph::[destructor].
10136 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10137 on a paragraph insertion.
10139 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * buffer.C (asciiParagraph): use += operator for char append to
10144 * paragraph.C (getFontSettings): compare >= not just >
10145 (highestFontInRange): ditto
10148 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10150 * paragraph.C: change several algorithm to be more appripriate for
10151 the problem domain. This is lookip in FontList and in the InsetList.
10153 2002-03-13 André Pönitz <poenitz@gmx.net>
10156 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10158 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10163 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10165 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10167 * Painter.C (display): anon helper function, adjust code for this
10169 (pixmap): remove function.
10171 * Painter.h: remove private display variable.
10173 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10175 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10177 * WorkArea.[Ch]: remove figinset_canvas cruft.
10179 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10181 * lyxtextclass.C (operator): add one item cache optimization.
10183 * bufferlist.h: doxy changes
10185 * bufferlist.C: ws changes
10187 * DepTable.[Ch] (ext_exist): place const in the right spot.
10189 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10191 (workAreaExpose): call resizeInsets when the with BufferView changes.
10192 (Dispatch): adjust for protectedBlank removal
10193 (specialChar): call updateInset if the insert went ok.
10195 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10196 specialChar instead.
10198 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10200 * BufferView.h: doxy change
10202 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10204 * lyxtextclass.C (operator[]): remove non-const version
10205 (defaultLayout): remove non-const version
10207 2002-03-12 Juergen Vigna <jug@sad.it>
10209 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10210 did resize the LyXText too.
10212 * buffer.C (readLyXformat2): set layout information on newly allocated
10215 * tabular.C (OldFormatRead): set layout information on the paragraph.
10217 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10219 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10221 2002-03-11 Juergen Vigna <jug@sad.it>
10223 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10225 (resizeCurrentBuffer): force also the insets to resize themselfes.
10226 (moveCursorUpdate): fixed up for InsetText.
10228 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10231 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10232 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10233 value of Dialogs::tooltipsEnabled().
10234 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10236 2002-03-08 Juergen Vigna <jug@sad.it>
10238 * BufferView_pimpl.C (updateInset): update inset inside inset also
10239 if it isn't inside theLockingInset().
10241 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10243 * buffer.C (asciiParagraph): redo some of the word and line length
10245 (getLists): look for Caption instead of caption.
10247 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10249 * buffer.C (Buffer): initialize niceFile to true
10251 (makeLinuxDocFile):
10252 (makeDocBookFile): make sure niceFile is true on exit
10254 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10256 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10258 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10260 * LyXSendto.C: remove.
10261 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10262 * lyx_gui.C: remove now-redundant comment.
10263 * ColorHandler.h: remove forward declaration of class WorkArea.
10264 * lyxfunc.C: remove #include "WorkArea.h".
10266 2002-03-07 Juergen Vigna <jug@sad.it>
10268 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10269 got moved away with the DEPM and also set the inset_owner always
10270 right which before could have been omitted.
10272 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10274 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10275 wanted layout is not found.
10277 2002-03-07 Juergen Vigna <jug@sad.it>
10279 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10281 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10283 * paragraph.C (breakParagraph): use default layout not layout of
10285 (Paragraph): clear ParagraphParameters.
10287 2002-03-06 Juergen Vigna <jug@sad.it>
10289 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10290 otherwise it would not be a valid lenght. Fixed a special case in
10291 the minipage compatibility read where we end the document with a
10294 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10295 was set as it could be 0 for InsetTexts first entry.
10297 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10299 * paragraph.C (writeFile): if layout is empty write out
10300 defaultLayoutName().
10302 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10303 file without named layout we set layout to defaultLayoutName().
10305 2002-03-06 Juergen Vigna <jug@sad.it>
10307 * CutAndPaste.C (copySelection): set layout for new paragraph.
10309 * text.C (prepareToPrint): leave ERT inset left aligned
10310 (leftMargin): don't indent paragraphs inside ERT insets
10312 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10314 * paragraph.C (breakParagraph): dont call clear do the work manually
10316 * paragraph.[Ch] (clear): remove function
10318 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10320 * paragraph.C (Paragraph): dont call clear, the work has already
10323 * lyxtextclass.C (operator): assert if n is empty
10325 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10326 work manually instead.
10328 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10330 * BufferView_pimpl.C: protect selectionLost against text == 0
10332 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10334 * text.C (breakParagraph): fix a setting layout to '0' problem.
10336 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10338 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10339 final location of file, for the included files, and graphics.
10341 2002-03-05 Juergen Vigna <jug@sad.it>
10343 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10345 2002-03-04 Juergen Vigna <jug@sad.it>
10347 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10349 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10350 last column of multicolumn cells.
10351 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10353 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10355 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10356 file if it doesn't go to a temporary file.
10358 * buffer.C (sgmlOpenTag):
10359 (sgmlCloseTag): remove extra newline insertion.
10361 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10363 * text.C (getRowNearY): comment out debug msg
10365 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10367 * text2.C: first -> first_y
10369 * text.C (getRowNearY): add some attemts at a possible
10370 optimization, not working.
10372 * tabular.[Ch]: add BufferParams to several function so that newly
10373 created paragraph can be initialized to he default layotu for the
10376 * tabular-old.C (ReadOld): add buf->params to call of Init
10378 * screen.C: rename text->first to text->first_y
10380 * paragraph.C (breakParagraph): always set layout in the broken
10383 * lyxtextclass.C (Read): remove lowercase
10386 (delete_layout): ditto
10388 * lyxtext.h: rename first -> first_y
10390 * lyxlayout.C (Read): remove lowercase
10393 (obsoleted_by): ditto
10395 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10397 * buffer.C (insertErtContents): add params are to InsetERT
10398 (parseSingleLyXformat2Token): add code to check if a paragraphs
10399 layout really exist.
10400 (parseSingleLyXformat2Token): add params to several inset
10402 (asciiParagraph): remove lowercase, do the layout comparisons with
10405 * BufferView_pimpl.C (cursorNext): first -> first_y
10406 (resizeCurrentBuffer): first -> first_y
10407 (updateScrollbar): first -> first_y
10408 (scrollCB): first -> first_y
10409 (workAreaMotionNotify): first -> first_y
10410 (workAreaButtonPress): first -> first_y
10411 (checkInsetHit): first -> first_y
10412 (cursorPrevious): first -> first_y
10413 (cursorNext): first -> first_y
10414 (Dispatch): add buffer_->params to severl inset contructors
10416 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10418 * lyxlayout.C (Read): remove some debug info that I forgot.
10420 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10421 clean up the code slightly.
10422 (makeLinuxDocFile): ditto
10423 (makeDocBookFile): ditto
10425 * text2.C: layout as string
10427 * text.C: layout as string
10429 * paragraph_pimpl.C: layout as string
10431 * paragraph.[Ch]: layout as string
10433 * lyxtextclasslist.[Ch]: layout as string
10435 * lyxtextclass.[Ch]: layout as string
10437 * lyxtext.h: layout as string
10439 * lyxlayout.[Ch]: layout as string
10441 * lyx_cb.C: layout as string
10443 * bufferview_funcs.C: layout as string
10445 * bufferparams.C: layout as string
10447 * buffer.C: layout as string
10449 * LyXView.[Ch]: layout as string
10451 * LaTeXFeatures.[Ch]: layout as string
10453 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10455 * BufferView_pimpl.C: change current_layout to string, remove
10460 (workAreaButtonRelease): layout as string
10462 * BufferView2.C (unlockInset): adjust
10464 * vspace.C (asLatexCommand): use an explict temp variable.
10466 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10468 * Makefile.am: use FRONTEND_*
10470 2002-03-01 Juergen Vigna <jug@sad.it>
10472 * tabular.C (SetWidthOfMulticolCell): changed to something better
10473 I hope but still work in progress.
10474 (recalculateMulticolumnsOfColumn): renamed function from
10475 recalculateMulticolCells as it is more appropriate now.
10476 (SetWidthOfCell): calculate multicols better.
10478 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10480 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10482 * lyxfunc.C (processKeySym): print sequence also if it is
10483 `deleted' (complete)
10485 * kbsequence.C (print): print sequence even if it is deleted
10486 (complete would be a better word, actually).
10488 * lyxfunc.C (dispatch): print complete options after a prefix key
10490 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10492 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10494 * text2.C (setCharFont): eliminate setCharFont code duplication.
10496 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10498 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10499 LFUN_TABULAR_FEATURE (bug #177)
10501 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10503 * Makefile.am: remove figure.h
10505 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10507 * Bufferview_pimpl.C:
10519 * text2.C: remove #include "lyx_gui_misc.h".
10521 * LaTeX.C: added #include <cstdio>
10523 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10525 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10526 that the paragraph following this one can have.
10528 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10530 * vspace.C (asLatexCommand): fix bogus gcc warning
10532 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10534 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10536 * text2.C (setLayout): get rid of redundant code
10538 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10540 * text2.C (incDepth): make sure depth cannot be increased beyond
10543 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10545 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10546 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10548 * PainterBase.h (image):
10549 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10550 a LyXImage const *.
10552 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10556 * BufferView_pimpl.C:
10557 * BufferView_pimpl.h:
10577 * sp_spell.C: remove fig inset, and the crap house of
10578 cards that follows it
10580 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10585 * os2_errortable.h:
10586 * nt_defines.h: move .h into support/
10588 * vms_defines.h: remove
10590 * WorkArea.C: add space in debug output
10594 * buffer.C: add WITH_WARNINGS
10598 * bufferlist.C: s/retrive/retrieve/, add docs
10607 * chset.C: add docs
10609 * lyxgui.C: add ID to X error handler
10611 * lyxtestclass.c: fix typo
10613 2002-02-26 Juergen Vigna <jug@sad.it>
10615 * tabular_funcs.C (write_attribute): changed so that some default
10616 attributes are not written at all.
10617 (getTokenValue): set default values before trying to read the
10618 value so we have the return value always set as default if we don't
10619 find the token we search for.
10621 * tabular.C (Write): write bools as bools not as strings!
10623 2002-02-22 Juergen Vigna <jug@sad.it>
10625 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10626 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10628 * text.C (leftMargin): don't add an indent for paragraphs inside
10629 tabular cells (fix #208).
10631 2002-02-21 José Matos <jamatos@fep.up.pt>
10633 * tabular.C (docBook): fixed support for long tables.
10635 2002-02-20 Juergen Vigna <jug@sad.it>
10637 * text2.C (getFont): get the drawing font of the Inset if this
10638 paragraph is inside an inset (only important for InsetERT for now).
10640 * buffer.C (insertErtContents): use new lanugage params in ERT
10643 * CutAndPaste.C: commenting out seemingly uneeded code.
10645 2002-02-19 Allan Rae <rae@lyx.org>
10647 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10648 Iterators might be simple to use but they also get invalidated.
10649 (removeAutoInsets): renamed saved cursor tracking variables and added
10650 some comments to clarify what everything does.
10652 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10659 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10660 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10663 * vc-backend.h: remove #include "support/syscall.h"
10667 * converter.C: rearrange #includes in Lars' approved fashion.
10669 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10670 forward declare class Timeout in the header file.
10672 * XFormsView.C: changes due to the above.
10674 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10675 similar to LyXView.
10677 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10678 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10680 2002-02-18 José Matos <jamatos@fep.up.pt>
10682 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10685 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10687 * a lot of small ws changes
10688 * add a lot of using std::XXX
10689 * use std construcs some places where approp.
10690 * use some exisint stuff from lyxfunctional where approp.
10691 * Make file changes to use partial linking (lets test this now...)
10693 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10697 remove #include "support/syscontr.h" as it's redundant. Always has been.
10705 change Systemcalls::System to Systemcalls::Wait and
10706 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10707 No change of functionality, just reflects the stripped down Systemcalls
10710 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10712 * debug.[Ch]: add a GRAPHICS type to the enum.
10714 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10716 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10718 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10721 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10723 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10724 match the changes below.
10726 * text2.C (toggleInset): if there is not editable inset at cursor
10727 position, try to see if cursor is _inside_ a collapsable inset
10730 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10732 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10733 document menu has a nice checkbox
10735 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10737 * lyxlength.C (asLatexString): change PW to output as percent of
10740 * lengthcommon.C: change '%' to 't%'
10742 * lyxfunc.C (dispatch): a few comments from Martin
10744 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10748 * BufferView_pimpl.h:
10749 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10752 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10754 * vspace.C (inPixels): fix compiler warning
10756 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * lyxfunc.C (getStatus): fix status message for disabled commands.
10760 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10762 * BufferView_pimpl.C: fix crash on close buffer
10763 during selection (#227)
10765 2002-01-27 Herbert Voss <voss@lyx.org>
10767 * buffer.C: link old Figure to new graphic inset
10769 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10771 * FontLoader.C (getFontinfo): Change the latex font names in order
10772 to match the names of type1inst.
10774 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10776 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10778 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10779 (extchanged): ditto
10781 (remove_files_with_extension): ditto
10782 (remove_file): ditto
10785 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10786 document is smaller than the work area height. Do not initialize
10787 static variables to 0.
10789 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10791 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10793 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10794 LFUN_LAYOUT_PARAGRAPHS.
10796 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10797 tabular. It is possible to provide a possible cell, which will
10798 typically be the actcell from the corresponding insettabular
10800 * lyxfunc.C (getStatus): small cleanup; disable
10801 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10804 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10806 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10808 * paragraph.C (startTeXParParams):
10809 (endTeXParParams): new methods. The LaTeX code to
10810 start/end paragraph formatting
10811 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10812 empty (fixes bug #200)
10814 * vspace.C (inPixels): adapt to the change below
10815 (inPixels): [later] more cleanups (remove unused variables)
10817 * lyxlength.C (inPixels): change to use a width and a height as
10820 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10822 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10823 Replaced with \paperwidth
10825 * DepTable.C (insert): add std:: qualifier
10827 2002-01-18 Allan Rae <rae@lyx.org>
10829 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10832 * text.C (drawInset): Turned out I didn't know enough about how
10833 rebreaking worked. This fixes most of the redraw problems. I see
10834 an occasional cursor trail when a line is broken now and the cursor
10835 placement can seem out by a few pixels also after a rebreak.
10837 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10839 * buffer.C (parseSingleLyXformat2Token): update because minipage
10840 width is now a LyXLength
10842 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10844 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10847 2002-01-17 Juergen Vigna <jug@sad.it>
10849 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10851 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10852 is set correctly and the inset is updated correctly.
10854 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10856 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10857 the beginning of the loop.
10859 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10861 * lyxrc.C: improve help for use_scalable_fonts
10863 2002-01-17 Allan Rae <rae@lyx.org>
10865 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10867 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10869 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10870 make sure to set their inset_owner to the right value (bug #171)
10872 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10875 * DepTable.C: Implement mtime checking to reduce time spent doing
10878 2002-01-16 Juergen Vigna <jug@sad.it>
10880 * tabular.C (GetAdditionalHeight): one of error fixed.
10882 * lyxrc.C (output): small fix in writing use_pspell.
10884 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10886 * sp_base.h: #include LString.h
10888 2002-01-16 Allan Rae <rae@lyx.org>
10890 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10891 Can someone check this please?
10893 * text.C (drawInset): It was possible that p.row would be removed by
10894 breakAgainOneRow upsetting a few other settings. There may be another
10895 small tweak possible by setting need_break_row = 0 when p.row has been
10896 removed but I don't know enough about the logic here.
10898 2002-01-15 Allan Rae <rae@lyx.org>
10900 * text.C (insertChar): removed conditional truism.
10902 * BufferView2.C (removeAutoInsets): More tweaks.
10903 cur_par_prev could be a stray pointer. Check for trailing empty line
10904 in case last line was cur_par and only had an error inset on it.
10906 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10908 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10911 * vc-backend.C (most methods):
10912 * exporter.C (Export):
10913 * converter.C (convert):
10915 * LyXSendto.C (SendtoApplyCB):
10916 * lyxfunc.C (dispatch):
10920 * lyx_cb.C (AutoSave):
10922 * BufferView_pimpl.C (MenuInsertLyXFile):
10923 * buffer.C (runChktex): use Buffer::filePath().
10925 * buffer.h: rename filename to filename_; rename filepath to
10926 filepath_ and make it private
10927 (filePath): new method
10929 * buffer.C (writeFile): use fileName()
10932 * lyx_main.C (init): fix starting of LyX when the binary is a
10933 link from so,ewhere else.
10935 * minibuffer.C: include <cctype> for isprint
10937 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10939 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10940 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10941 name clash with InsetCollapsable's width function.
10943 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10945 * lastfiles.C: include <iterator>
10947 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10949 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10952 * buffer.C (makeLaTeXFile): ditto.
10953 Also make loop operation more transparent.
10955 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10957 * ToolbarDefaults.C: remove trailing comma closing namespace.
10959 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10961 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10964 * trans.C (Load): comment out unused variable, allowed.
10966 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10968 * minibuffer.[Ch] (append_char): new method to recieve input from the
10969 drop-down completion browser. If a key was pressed, then recieve this
10970 char and append it to the existing string.
10971 (peek_event): modify the positioning data passed to the completion
10972 browser so that it can be placed above the minibuffer rather than below.
10973 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * LyXAction.C (init): alloe error-next for readonly documents.
10977 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10980 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10982 * bufferlist.C (readFile): create the buffer _after_ checking that
10985 * lyxfunc.C (verboseDispatch): fix handling of arguments
10987 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10989 * lyxrc.C: use string::erase() instead of initializing to "".
10992 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10994 * BufferView_pimpl.h:
10995 * BufferView_pimpl.C:
10998 * text2.C: tell X when we have made a selection for copying
11000 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11002 * BufferView_pimpl.C (MenuInsertLyXFile):
11003 * lyxfunc.C (menuNew):
11005 (doImport): add shortcuts to directory buttons
11007 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11010 * lyxfunc.C (setStatusMessage):
11011 (getStatusMessage): new methods
11012 (getStatus):use setStatusMessage instead of setErrorMessage
11013 (dispatch): when function is disabled, set error message here
11014 [instead of in getStatus previously]
11016 * BufferView_pimpl.C (workAreaButtonRelease): update
11017 toolbar/menubar here too.
11019 2002-01-13 Allan Rae <rae@lyx.org>
11021 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11022 Now seems indestructible. Remaining task is to audit all other
11023 code affected by deleteEmptyParagraphMechanism. One small quirk
11024 left is that an empty document with an error in the preamble can
11025 be made to report an error but no error box appears. I don't know
11027 (removeAutoInsets): Improved comments.
11029 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11032 * Thesaurus.C: update for Aiksaurus 0.14
11034 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11036 * text2.C (firstParagraph): removed member function, all uses
11037 replaces with ownerParagraph
11038 (redoParagraphs): here
11039 (updateInset): here
11040 (toggleAppendix): here
11041 * BufferView2.C (insertErrors): here
11042 (setCursorFromRow): here
11044 2002-01-13 Allan Rae <rae@lyx.org>
11046 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11047 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11048 There is still a way to segfault this although you may have to do this
11049 multiple times: Have an InsetERT with an unknown command in it.
11050 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11051 <down-arrow>, <Enter> again, View->DVI, BANG!
11053 * text2.C (setCursor):
11054 (deleteEmptyParagraphMechanism):
11055 * lyxtext.h (setCursor):
11056 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11057 Making use of the return value may help fix other bugs.
11059 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11061 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11063 * LyXView.C (updateMenubar): call MenuBar::update here
11064 (updateToolbar): but not here
11065 (showState): do not update toolbar/menubar
11067 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11068 should need to care about that.
11070 * lyxfunc.C (verboseDispatch): simplify a bit
11071 (getStatus): have a version which takes a pseudoaction, and
11072 another which requires a (kb_action,string).
11074 * LyXAction.C (retrieveActionArg): make it work also when action
11075 is not a pseudo-action.
11076 (getActionName): simplify a bit
11079 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11081 * lyxfunc.C (verboseDispatch): new families of methods with
11082 several ways to specify a command and a bool to indicate whether
11083 the command name and shortcut should be displayed in minibuffer
11084 (eventually, we could extend that to a finer bitmask like
11085 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11086 (dispatch): the pristine dispatch command which just, well,
11087 dispatchs! Note it still sets its result to minibuffer; I'm not
11090 * lyxfunc.h: remove setHintMessage
11092 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11094 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11096 * BufferView_pimpl.C (specialChar): delete new inset if we have
11097 not been able to insert it.
11099 * kbmap.C: revert to using int instead of kb_action, since all we
11100 are dealing with is pseudo-actions.
11102 * LyXAction.C (searchActionArg): change to return int instead of
11103 kb_action, since the result is a pseudoaction.
11105 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11107 * buffer.C (insertErtContents): Fix (partially) the font bug.
11109 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11111 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11112 as the other one is broken on my machine!
11114 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11117 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11119 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11121 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11122 reflect their actual use. Provide compatibility code for older lyxrc
11125 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11127 change names of popup font variables in line with the changes to lyxrc.C
11129 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11131 * buffer.C (asciiParagraph): avoid outputing a word twice after
11134 * lyxrc.C (getDescription): document that document_path and
11135 template_path can be empty.
11137 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11139 * LaTeXFeatures.C (getMacros):
11140 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11142 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11144 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11146 (getPackages): rename feature "floats" to "float". Use an array to
11147 iterate over 'simple' features (i.e. just a \usepackage). Add
11148 handling of "amsmath" (renamed from "amsstyle").
11150 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11152 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11155 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11157 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11158 FuncStaus::FuncStatus & FuncStaus::some_method().
11160 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11162 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11163 of the func_satus stuff. Edited and massaged in various ways by
11166 * lyxfunc.C (getStatus): use FuncStatus
11168 2002-01-08 Juergen Vigna <jug@sad.it>
11170 * text.C (nextBreakPoint): use function Inset::isChar().
11172 * paragraph.C (TeXOnePar): use function
11173 Inset::forceDefaultParagraphs.
11175 * buffer.C (latexParagraphs): use function
11176 Inset::forceDefaultParagraphs.
11178 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11180 * lyx_gui.C (init): set the style of the menu popups to
11181 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11183 2002-01-07 Juergen Vigna <jug@sad.it>
11185 * text.C (setHeightOfRow): small fix
11186 (prepareToPrint): don't look at alignment if we don't have the place
11189 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11191 * box.C: New file. Move the Box methods and functions out of box.h,
11192 following Lars' suggestion.
11194 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11196 * box.h: #include "support/LOstream.h", needed for inlined function.
11199 * lyxtextclasslist.C: added some using std declarations.
11201 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11203 * box.h: make signed dimensions to allow insets wider than
11204 the screen (bug #162)
11206 * BufferView_pimpl.C: add some insetHit debug
11208 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11210 * vc-backend.C: add FIXME
11212 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11214 * lyxfunc.C (getStatus): enable code for showing math font status
11217 2002-01-07 Juergen Vigna <jug@sad.it>
11219 * text.C (nextBreakPoint): removed debug output not needed anymore.
11221 2002-01-06 Juergen Vigna <jug@sad.it>
11223 * text.C (nextBreakPoint): fixed up this function we had this bug
11224 since ever but now hopefully we break row better.
11225 (insertChar): we have to check if an inset is the next char as it
11226 could now happen that a large inset is causing a break.
11228 2002-01-05 Juergen Vigna <jug@sad.it>
11230 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11231 if it doesn't like to be drawed.
11233 2002-01-04 Juergen Vigna <jug@sad.it>
11235 * BufferView2.C (lockInset): forgot to set a cursor.
11237 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11239 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11241 * FormMathsPanel.C:
11244 * form_maths_panel.C:
11245 * form_maths_panel.h:
11246 * form_maths_panel.fd: implemented sub- and super- buttons in math
11249 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11250 (or ^ space) to be used as in TeX (req'd by André).
11252 * lyxfunc.C: Allow ^ and _ again to be used both as
11253 super/subscript (mathed) and as themselves (in text).
11255 2002-01-03 Allan Rae <rae@lyx.org>
11257 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11258 "LyX" or the filename of the current buffer if it has one. This is a
11259 modified form of John Levon's patch.
11261 * XFormsView.C (setWindowTitle): also set icon title.
11263 * LyXView.h (setWindowTitle): signature changed.
11264 * XFormsView.h (setWindowTitle): ditto.
11266 2002-01-02 Juergen Vigna <jug@sad.it>
11268 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11270 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11272 * screen.C (topCursorVisible): introduce a temp var for
11273 text->cursor.row(), handle the case where this row is null. (kindo
11276 * text2.C (setCursor): add a couple of asserts.
11278 * paragraph.h (inset_iterator): add -> operator
11280 * paragraph.[Ch] (autoDeleteInsets): remove member function
11282 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11283 cursor pos correctly and handle inset deletion by itself.
11284 (insertErrors): move iterator declaration out of for expression
11286 * lyxtextclass.C: add <algorithm>
11288 * Makefile.am: added the new files to sources, removed layout.C
11290 * layout.C: removed file
11292 * layout.h: remove LYX_DUMMY_LAYOUT
11294 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11298 * lyxtextclass.[Ch]:
11299 * lyxtextclasslist.[Ch]: new files
11301 * include order changes to a lot of files, also changes because of
11304 2001-12-27 Juergen Vigna <jug@sad.it>
11306 * buffer.C (asciiParagraph): more fixes.
11308 * tabular.C (ascii): make ascii export support export of only the
11309 data separated by a column-delimiter.
11310 (ascii): better support for ascii export.
11312 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11314 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11316 * tabular_funcs.C: use a "using std::getline" instead of the
11317 previous fix from Angus (necessary for cxx + lyxstring)
11319 2001-12-24 Juergen Vigna <jug@sad.it>
11321 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11323 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11324 problems. First check a minipage also if we have some ert-contents
11325 (not only on par->size(), second set the right depth of the paragraph
11326 on the relink to the root-paragraph-list!
11328 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11329 which then did not anymore update the main paragraphs on undo/redo!
11331 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11334 code. Support all font-changing funcs (even those which are not in
11335 menu currently). Support for reporting font settings in
11336 mathed (disabled until Andre provides a function on mathed's side).
11338 * func_status.h (toggle): small helper function to set toggle
11341 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11343 * tabular_funcs.C: getline -> std::getline
11345 2001-12-21 Juergen Vigna <jug@sad.it>
11347 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11348 accessed and could be 0 (I couldn't generate this but it seems
11351 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11353 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11354 * tabular_funcs.h: here and include iosfwd
11356 2001-12-20 Juergen Vigna <jug@sad.it>
11358 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11359 inside inset but undo_par was.
11361 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11363 * Thesaurus.C: always include <config.h> in sources.
11367 * box.h: do not include <config.h> in header files
11369 * text.C (paintLastRow): remove unused variable
11371 * text.C (transformChar):
11373 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11375 * Painter.C (text):
11376 * font.C (width): rewrite to use uppercase() instead of
11379 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11381 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11383 * lyxfind.C: clean up of find failure position change
11385 2001-12-20 Juergen Vigna <jug@sad.it>
11387 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11389 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11390 (TeXRow): added to LaTeX a single tabular row.
11391 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11392 (Latex): simplified and finally good LT-h/f support.
11393 (various_functions): just small adaptions for LT-h/f support.
11395 * tabular_funcs.[hC]: added and moved here all not classfunctions
11398 2001-12-19 Juergen Vigna <jug@sad.it>
11400 * tabular.[Ch]: better support for longtabular options (not finished
11403 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11405 * text.C (paintLastRow): use the label font instead of the font of
11406 the last character to compute the size of *_BOX. This makes more
11407 sense and avoids a crash with empty paragraphs.
11408 Use Painter::rectangle to draw EMPTY_BOX.
11410 2001-12-19 Juergen Vigna <jug@sad.it>
11412 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11413 the paragraphs if the replaced paragraph is not the first one!
11414 Tried to delete not used paragraphs but does not work yet so for
11415 now it's inside #ifdef's and by default off!
11417 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11419 * MenuBackend.C: include "lyx_main.h" instead of declaring
11420 lastfiles (actually was declared as LastFiles* instead of a
11423 2001-12-17 Juergen Vigna <jug@sad.it>
11425 * tabular.C (AppendColumn): applied John's fix
11427 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11431 * BufferView_pimpl.h:
11432 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11435 * box.h: new start of class for above
11437 * lyxfunc.C: ignore space-only minibuffer dispatches.
11438 Show the command name when it doesn't exist
11440 * minibuffer.C: don't add empty lines to the history
11442 * minibuffer.C: add a space on dropdown completion
11444 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11446 * text.C: fix line above/below drawing in insets
11448 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11450 * lyxlength.C (LyXLength): Initialize private variables.
11452 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11454 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11455 when inserting error insets.
11457 2001-12-13 Juergen Vigna <jug@sad.it>
11459 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11460 actually sometimes the before-paragraph.
11461 (setUndo): don't clear the redostack if we're not actually undoing!
11463 2001-12-06 Juergen Vigna <jug@sad.it>
11465 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11466 and fixed redoing of main paragraph, so we can use it now ;)
11468 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11470 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11472 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11475 2001-12-13 André Pönitz <poenitz@gmx.net>
11478 * undo_func.C: minor cleanup
11480 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11482 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11483 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11484 font in urw-fonts package which is marked as -urw-fontspecific and
11485 does not work (incidentally, changing the encoding in the
11486 fonts.dir of this package to -adobe-fontspecific fixes the
11489 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11490 is a crash when undoing first paragraph (Juergen, please take a
11491 look). THis does not mean the undo fix is wrong, just that it
11494 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11495 the (Paragraph*) version when needed instead of duplicating the
11498 * text.C (workWidth): use Inset::parOwner to find out where the
11499 inset has been inserted. This is a huge performance gain for large
11500 documents with lots of insets. If Inset::parOwner is not set, fall
11501 back on the brute force method
11503 * paragraph_pimpl.C (insertInset):
11504 * paragraph.C (Paragraph):
11505 (cutIntoMinibuffer): set parOwner of insets when
11506 inserting/removing them
11508 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11510 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11516 * mathed/formulabase.C:
11517 * mathed/math_cursor.[Ch]:
11518 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11521 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11523 * lyxlength.[Ch] (operator!=): new function
11525 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11527 * text.C (workWidth): use Inset::parOwner to find out where the
11528 inset has been inserted. This is a huge performance gain for large
11529 documents with lots of insets. If Inset::parOwner is not set, fall
11530 back on the brute force method
11532 * paragraph_pimpl.C (insertInset):
11533 * paragraph.C (Paragraph):
11534 (cutIntoMinibuffer): set parOwner of insets when
11535 inserting/removing them
11537 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11539 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11541 * tabular-old.C (getTokenValue):
11542 * tabular.C (getTokenValue):
11543 (write_attribute): new versions for LyXLength
11544 (everywhere): adjust the use of widths
11546 * tabular.h: change the type of widths from string to LyXLength
11548 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11550 * paragraph.C: fixed missing line number count when exporting
11551 Environments to LaTeX file
11553 * buffer.C: added informational message for checking line numbers.
11555 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11558 paragraph, do the 'double space' part, but not the 'empty
11561 * text.C (workWidth): small optimization
11562 (getLengthMarkerHeight): use minimal size for negative lengths.
11564 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11566 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11568 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11570 2001-12-11 André Pönitz <poenitz@gmx.net>
11573 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11575 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11577 * text2.C: keep selection on a setFont()
11579 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11581 * lyx_cb.C: another bv->text misuse, from insert label
11583 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11586 * kbsequence.C: re-instate nmodifier mask
11588 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11590 * lyx_main.h: make lyxGUI private.
11592 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11594 * lyxfind.C: place the cursor correctly on failed search
11596 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11598 * text.C (getLengthMarkerHeight): for small heights, the arrows
11599 are not always on top/bottom of the text
11600 (drawLengthMarker): smaller arrows; take the left margin in
11601 account; draw also vfills.
11603 (paintLastRow): remove special code for vfill and standard spaces,
11604 since everything is handled in drawLengthMarker now.
11606 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11608 * buffer.C (insertErtContents): try to handle font and language
11609 interaction a bit better.g
11611 * ColorHandler.C (updateColor): change the hash to cover the whole
11612 LColor enum, ws cleanup
11613 (getGCLinepars): ditto
11614 (getGCLinepars): only lookup in the linecache once.
11616 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11618 * iterators.C (operator++): Make the iterator more robust
11620 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11622 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11624 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11627 * text.C: better added space drawing
11629 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11632 * BufferView2.C: fix layout combo update on inset unlock
11634 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11636 * Makefile.am: don't compile unused files
11638 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11642 * LyXAction.C: remove old LFUN_LAYOUTNO
11644 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11646 * paragraph_pimpl.h:
11647 * paragraph_pimpl.C: isTextAt() doesn't need font param
11649 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11652 * lyxlex.C: little cleanup
11654 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11656 * BufferView_pimpl.C: fix insertAscii for insets
11658 2001-12-05 Juergen Vigna <jug@sad.it>
11660 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11661 set the right font on the "multi" paragraph paste!
11663 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11669 * lyxlength.C: remove out-commented code.
11671 * BufferView_pimpl:
11685 * vc-backend.C: change "while(" to "while ("
11687 * lyxlength.[Ch]: add zero function to check if length is zero or
11689 * lyxgluelength.C: use it
11691 2001-12-05 Allan Rae <rae@lyx.org>
11693 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11694 Works for 2.95.3, from what I understand of Garst's reports this should
11695 work for other g++ versions. We're screwed if the abs(int) definition
11696 changed between bugfix releases of gcc.
11698 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11700 * text.C: fix chapter label offset !
11702 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11705 * text.C: fix hfill at end of line, clean up
11707 2001-12-04 Juergen Vigna <jug@sad.it>
11709 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11710 that we force an update of the inset and it's owners if neccessary.
11712 2001-12-03 Juergen Vigna <jug@sad.it>
11714 * text.C (rowLast): simplified code
11716 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11718 * lyxfunc.C: fix show options on timeout
11720 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11722 * screen.C (topCursorVisible): scroll half a page when the cursor
11723 reached top of bottom of screen
11725 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11727 * minibuffer.C: deactivate on loss of focus
11729 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11731 * vspace.[Ch] (operator!=): add operator.
11733 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11735 * BufferView_pimpl.C: refuse to open an inset when
11736 there's a selection.
11738 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11740 * BufferView_pimpl.C: allow to click on RHS of full row insets
11742 2001-11-30 Juergen Vigna <jug@sad.it>
11744 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11745 insets for undo reasons.
11747 2001-11-28 André Pönitz <poenitz@gmx.net>
11749 * vspace.[Ch]: cosmetical changes
11751 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11761 * kbsequence.C: part re-write of old kb code
11764 * WorkArea.C: remove Lgb_bug_find_hack
11766 2001-11-30 José Matos <jamatos@fep.up.pt>
11768 * buffer.C (makeDocBookFile): add a comment to point a hack.
11769 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11770 Fixed a double write of labels.
11772 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11775 * LaTeX.h Fixed bug in LaTeX class where it would not
11776 re-run latex if no depfiles were changed, but the .dvi was removed.
11778 2001-11-28 André Pönitz <poenitz@gmx.net>
11780 * all the files from the change on 2001/11/26:
11781 use lyx::layout_type instead of LyXTextClass::size_type
11782 use lyx::textclass_type instead of LyXTextClassList::size_type
11784 2001-11-29 Juergen Vigna <jug@sad.it>
11786 * text.C: added support for paragraph::isFreeSpacing()
11788 * buffer.C: same as above
11790 * paragraph.h: inserted isFreeSpacing() function to enable
11791 FreeSpacing inside InsetERT.
11793 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11794 of the paragraph's in the cut/copy buffer to 0!
11796 * text2.C (removeRow): remove the assert as it can!
11798 * lyxtext.h: added helper function firstRow returning firstrow and
11799 made firstrow private again.
11801 * BufferView2.C (lockInset): don't relock if we're already locked!
11803 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11804 the only paragraph.
11805 (removeRow): added Assert::(firstrow)
11807 * debug.C: forgot to add INSETTEXT here.
11809 2001-11-28 Juergen Vigna <jug@sad.it>
11811 * sp_spell.C (initialize): changed error text to more general
11812 spellchecker command use (not only ispell!)
11814 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11816 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11818 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11820 * vspace.C: initialise lyxgluelength on failure
11822 2001-11-28 Allan Rae <rae@lyx.org>
11824 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11825 declaration & definition that looks like a function declaration.
11827 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11829 * BufferView2.C (copy):
11830 (copyEnvironment): do not clear the selection when doing a copy.
11832 * text.C (paintFirstRow): compilation fix
11834 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11836 * tabular.C (Latex): correct line count when writing latex.
11838 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11840 * paragraph_pimpl.h:
11841 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11844 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11848 * LColor.C: change vfillline->added_space
11850 * text.C: add markers and text for added space
11852 * vspace.C: fix comment
11854 2001-11-28 André Pönitz <poenitz@gmx.net>
11856 * paragraph.C: whitespace changes
11857 * all the other files from the change on 2001/11/26:
11858 change *::pos_type into lyx::pos_type
11860 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11862 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11863 language of the document when inserting error insets.
11865 2001-11-26 André Pönitz <poenitz@gmx.net>
11867 * BufferView_pimpl.[Ch]:
11875 * paragraph_pimpl.[Ch]:
11878 * text2.C: reduce header dependencies, introduce type for positions
11880 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11882 * <various>: change to use Alert.h
11884 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11886 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11887 when encountering an unknown token.
11888 (readLyXformat2): Show an error message if there were unknown tokens.
11890 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11893 * BufferView_pimpl.C:
11897 * text2.C: use par->isInset()
11899 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11901 * paragraph_pimpl.h:
11902 * paragraph_pimpl.C: cleanup
11904 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11906 * text2.C (removeRow):
11907 * text.C (setHeightOfRow): remove useless (and costly) call to
11910 2001-11-20 Allan Rae <rae@lyx.org>
11912 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11913 Now need Inset*::checkInsertChar() to return true for appropriate
11914 cases so that the characters in the minibuffer will actually be
11917 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11919 * text.C: change the order of the includes.
11920 (workWidth): initialize it at once.
11921 (workWidth): make maxw unsigned
11922 (setHeightOfRow): remove unused variable (inset)
11923 (selectSelectedWord): remove unused variable (inset)
11924 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11926 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11928 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11929 server is not running.
11931 (closeConnection): add debug info when server is disabled.
11933 * ColorHandler.C (getGCForeground): send debug message to GUI
11936 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11938 * kbmap.C (bind): modify because return conventions of
11939 kb_sequence::parse have changed.
11941 * kbsequence.C (parse): only ignore spaces and not any stupid
11942 control character. This avoids tests like s[i] <= ' ', which are
11943 guaranteed to fail with 8bit characters and signed chars.
11944 Change return code to string::npos when there have been no error
11945 (0 was a bad idea when error is at first character)
11947 2001-11-14 José Matos <jamatos@fep.up.pt>
11950 * buffer.C (simpleDocBookOnePar): removed unused argument.
11952 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11954 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11955 insets which are part of a word. Paragraph::isLetter takes care of
11956 that now. Use Paragraph::isInset to identify insets.
11957 (selectSelectedWord): do not test for hyphenation break.
11959 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11960 that protected spaces are considered as spaces.
11962 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11965 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11968 * lyxserver.C: fix it. and small cleanup.
11970 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11972 * BufferView_pimpl.C: use inline helpers
11975 * LaTeXFeatures.C: fix typos
11978 * Spacing.C: move spacing_string into class
11980 * ToolbarDefaults.C: move stuff into namespace anon
11982 * layout.h: update enum
11984 * lyxfunc.C: use better debug
11986 * minibuffer.h: fix typo
11990 * WorkArea.C: add and use Debug::WORKAREA
11994 * text2.C: code re-organisation, inline helpers
11996 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11998 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11999 std::vector.empty().
12001 2001-11-09 Allan Rae <rae@lyx.org>
12003 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12004 '\n's after tables. Tabular and ERT inset work now makes this no
12007 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12010 * minibuffer.C: fix crash, improve drop-down completion
12012 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12015 * lyxserver.C: invalidate fd's when doing endPipe()
12017 2001-11-08 José Matos <jamatos@fep.up.pt>
12019 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12020 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12023 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12025 2001-11-07 José Matos <jamatos@fep.up.pt>
12028 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12031 * buffer.C (sgmlOpenTag):
12032 * buffer.C (sgmlCloseTag): removed debug info.
12034 * buffer.h (sgmlOpenTag):
12035 * buffer.h (sgmlCloseTag): made public.
12037 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12039 * buffer.C (saveParamsAsDefaults):
12040 * lyx_cb.C (MenuLayoutSave): remove
12042 * LyXAction.C (init):
12044 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12046 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12048 * buffer.C (setPaperStuff): removed from here...
12050 * bufferparams.C (setPaperStuff): ... and moved there.
12052 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12056 * XFormsView.C: add support for drop-down completion
12058 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12060 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12063 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12065 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12068 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12070 * lyx_main.C: change ref to known bugs
12072 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12074 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12075 to work around older babel problems.
12077 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12079 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12081 2001-10-24 Juergen Vigna <jug@sad.it>
12083 * tabular-old.C (ReadOld): below variable changes reflected.
12085 * tabular.[Ch]: added ltType struct for longtable header/footer
12086 defines and changed all instances where they are used. Added
12087 future support for double top/bottom rows.
12089 2001-10-24 José Matos <jamatos@fep.up.pt>
12091 * buffer.h (docbookHandleCaption):
12092 * buffer.C (docbookHandleCaption): removed unused function.
12093 (makeDocBookFile): moved docbook supported version to v4.1.
12095 2001-10-24 José Matos <jamatos@fep.up.pt>
12098 * tabular.C (docbookRow): new function to export docbook code of a row.
12099 (DocBook): now honors the longtable flags.
12101 2001-10-23 José Matos <jamatos@fep.up.pt>
12104 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12105 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12107 * buffer.C (makeLinuxDocFile):
12108 (makeDocBookFile): reworked the preamble, more clean, and with
12109 support for lyx defined entities. Changed the document declaration
12110 to be more XML friendly.
12112 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12113 if we need to output XML that should be done with a filter.
12115 2001-10-22 Juergen Vigna <jug@sad.it>
12117 * sp_pspell.h (class PSpell): add alive function needed in the
12118 controller to see if the spellchecker could be started.
12120 2001-10-22 Juergen Vigna <jug@sad.it>
12122 * buffer.C (insertStringAsLines): modify the font for inserting
12123 chars in certain conditions by calling checkInsertChar(font).
12125 2001-10-19 Juergen Vigna <jug@sad.it>
12127 * text.C (workWidth): use getRow instead of wrong algorithm.
12128 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12130 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12135 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12137 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12139 * text.C (workWidth): do not search for the exact row when
12140 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12141 optimization for big documents.
12143 2001-10-18 Juergen Vigna <jug@sad.it>
12145 * text.C (workWidth): new function with added Inset * parameter.
12147 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12149 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12151 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12152 change return type of getColumnNearX.
12155 * text.C (changeRegionCase): use uppercase/lowercase instead of
12158 (rightMargin): simplify code by factoring out the uses of
12163 (appendParagraph): use Paragraph::size_type
12165 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12167 * vspace.C (asLatexString): add a missing break
12169 2001-10-15 Herbert Voss <voss@perce.de>
12171 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12173 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12175 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12178 2001-10-10 André Pönitz <poenitz@gmx.net>
12180 * lyxfunc.C: removed greek_kb_flag.
12182 2001-10-10 Herbert Voss <voss@perce.de>
12184 * lyx_main.C: delete global string help_lyxdir.
12186 2001-10-09 Herbert Voss <voss@perce.de>
12188 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12190 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12192 * lyx_main.C: added global string help_lyxdir.
12194 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12196 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12198 * lyxrc.C (set_font_norm_type): support iso8859-4
12200 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12202 * LaTeX.C (deplog): add another regex for MikTeX
12204 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12206 * lyxrc.C (set_font_norm_type): support iso8859-3
12208 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12210 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12212 * LaTeXFeatures.C: remove special case of french and index
12214 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12215 before \begin{document}). This solves several incompatibilities.
12217 2001-10-03 Garst Reese <reese@isn.net>
12219 * lyx_cb.C: change CheckTex error msg.
12221 2001-10-03 José Matos <jamatos@fep.up.pt>
12223 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12225 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12227 * .cvsignore: update
12229 * lyx_main.C (commandLineVersionInfo): use new style version info.
12231 * buffer.C (writeFile):
12233 (makeLinuxDocFile):
12234 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12236 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12238 * version.h: update to use stuff in version.C
12240 * version.C.in: new file. Contains version information determined
12241 at compile time. This is a merging of version.h and
12244 2001-10-03 Juergen Vigna <jug@sad.it>
12246 * BufferView_pimpl.C (update): don't change "dirty" status in
12249 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12251 * WorkArea.C (c-tor): re-position version string slightly.
12253 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12255 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12256 revert to previous code.
12258 WorkArea.[Ch]: (show, destroySplash): methods removed.
12260 WorkArea.C: rework code so that it's an amalgam of the codes before and
12261 after the splash screen was moved to WorkArea.
12263 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12266 * vspace.C (inPixels):
12269 * buffer.C (insertStringAsLines):
12270 (asciiParagraph): fix types to be large enough
12272 * lyxlex_pimpl.h: change member status from short to int
12274 * layout.h: fix type of endlabeltype
12277 * kbsequence.C (parse): change return type to string::size_type
12279 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12282 * Bullet.C (bulletSize):
12283 (bulletEntry): do not use short ints as parameters
12285 * BufferView2.C (insertLyXFile): change a char to an int.
12287 * WorkArea.C (WorkArea): remove unneeded floats in computation
12289 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12291 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12293 * paragraph.C (asString): Do not ignore newline/hfill chars when
12294 copying to the clipboard.
12296 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12298 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12299 after a multi-line inset.
12301 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12303 * paragraph.C (validate): Set NeedLyXFootnoteCode
12305 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12307 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12308 and decrease-error to decrease.
12310 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12312 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12313 it more readable (should be equivalent)
12315 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12317 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12319 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12321 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12322 of a cursor (row, etc.) after a character has been deleted
12323 (deleteEmptyParagraphMechanism): call the method above on _all_
12324 cursors held by the LyXText when a double space has been
12327 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12329 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12331 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12333 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12334 background. Use greyOut() and the new show() methods to toggle between
12335 the foreground and background. Add code to remove the splash after
12336 its initial showing.
12338 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12339 (create_forms): no longer call Dialogs::showSplash.
12341 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12343 * .cvsignore: add version_info.h
12345 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12347 * version_info.h.in: new file
12349 * Makefile.am: add version_info.h.in
12351 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12352 version_info.h instead of VERSION_INFO
12354 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12356 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12357 The ERT inset now returns string().
12359 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12361 * lyxtext.h, text.C (selectNextWord): renamed as
12362 selectNextWordToSpellcheck.
12364 * text.C (selectNextWordToSpellcheck): Modified to not select
12365 words inside an ERT inset.
12367 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12369 * lyx_cb.C (MenuLayoutSave): change a bit the question
12371 * sp_base.h: include <sys/types.h>
12373 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12375 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12377 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12379 * several files: fix typos in user-visible strings
12381 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12383 * text2.C (pasteSelection): do not set the selection, since it
12384 will be cleared later. Actually, the intent was to fix the way the
12385 selection was set, but I figured rmoving the code was just as good.
12387 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12389 * FontLoader.C (available): Check if font is available without
12392 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12394 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12396 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12398 * lyxrc.[Ch]: added display_graphics variable and associated code.
12400 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12402 * bufferparams.C (hasClassDefaults): new method. Returns true if
12403 the buffer parameters correspond to known class defaults
12405 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12407 * XFormsView.C (show): set minimum size to the main window.
12409 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12411 * text2.C (copySelection):
12413 * lyxfind.C (LyXReplace):
12414 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12415 LyXText::selectionAsString.
12417 * paragraph.C (asString): add "label" argument to the second form
12419 * text2.C (selectionAsString): add "label" argument and pass it to
12420 Paragraph::asString.
12422 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12424 * lyx_main.C (commandLineHelp): remove version information
12426 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12428 * lyx_main.C: add -version commandline option
12430 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12432 * paragraph.h: make the optional constructor arg required instead.
12433 some modifications to other files because of this.
12435 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12437 * lyxserver.C (C_LyXComm_callback): make it static
12439 * lyx_main.C (error_handler): make it static
12441 * lyx_gui.C (LyX_XErrHandler): make it static
12443 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12445 * WorkArea.C: make the extern "C" methods static.
12447 * Makefile.am (lyx_LDADD): simplify
12449 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12451 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12452 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12454 * LyXAction.C (init):
12455 * lyxfunc.C (dispatch): associated code removal.
12457 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12459 * lyxfont.h (isSymbolFont): shut off warning
12461 * text.C (setHeightOfRow):
12462 (getVisibleRow): fix crash with empty paragraphs which have a
12465 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12467 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12470 2001-09-04 José Matos <jamatos@fep.up.pt>
12473 * tabular.C (docbook): rename docBook method to docbook.
12475 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12477 * Makefile.am: add dependencies to main.o.
12479 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12481 * FontLoader.C (available): Return false if !lyxrc.use_gui
12483 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12485 * FontInfo.C (query):
12486 * converter.C (view):
12487 * importer.C (Import):
12488 * exporter.C (Export): Can not -> cannot.
12490 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12492 * BufferView_pimpl.C: allow to create index inset even if
12495 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12497 * buffer.C (getLists): replace boost::tie code with an explicit pair
12498 as boost::tie can break some compilers.
12500 * iterators.h: Added a std:: declaration to the return type of
12503 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12505 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12508 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12510 * iterators.[Ch]: New files. Provide paragraph iterators.
12512 * buffer.C (changeLanguage): Use paragraph iterators.
12513 (isMultiLingual): ditto
12515 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12517 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12519 * FontLoader.C: Support for cmr font.
12521 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12523 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12524 (available): New method.
12526 * FontInfo.C (getFontname): Use scalable fonts even when
12527 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12530 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12532 * converter.C (Formats::view): reverted! Incorrect fix.
12534 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12536 * converter.C (Formats::view): only output the -paper option
12537 if the dvi viewer is xdvi, thereby fixing bug #233429.
12539 2001-08-23 Herbert Voss <voss@perce>
12541 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12543 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12545 * Spacing.h (Spacing): Set space to Default on in the default
12548 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * vc-backend.h (RCS::versionString): add RCS to version
12551 (CVS::versionString): add CVS to version
12553 * vc-backend.C (scanMaster): do not add CVS to version.
12554 (scanMaster): do not add RCS to version
12556 * lyxvc.C (versionString): new method
12558 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12560 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12562 * Spacing.C (set): initialize fval
12564 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12566 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12569 2001-08-16 Juergen Vigna <jug@sad.it>
12571 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12573 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12575 * BufferView_pimpl.C:
12578 * text2.C: setParagraph takes linespacing now
12580 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12582 * LyxAction.C: add internal LFUN_CITATION_INSERT
12584 * LyXView.C: actually apply fix
12586 * bufferlist.C: fix open non-existent file
12588 * lyxfind.C: fix indentation
12590 * lyxfunc.C: remove unneeded assert, fix typo
12592 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12594 * MenuBackend.C: use "Floatname List"
12596 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12598 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12599 when converting LaTeX layout to insetERT.
12600 Generate a non-collapsed float when reading old float
12602 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12604 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12607 2001-08-13 Juergen Vigna <jug@sad.it>
12609 * text.C (fill): return 0 instead of 20 as this seems to be the more
12612 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12614 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12617 2001-08-13 Juergen Vigna <jug@sad.it>
12619 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12621 (SearchBackward): comment out the unlocking of the inset_owner this
12622 should not be needed!
12624 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12626 * Many files: Remove inherit_language, and add latex_language
12628 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12629 collapsible insets.
12631 2001-08-10 Juergen Vigna <jug@sad.it>
12633 * text.C (prepareToPrint): fixed hfill-width in draw!
12635 * BufferView2.C (selectLastWord): save the selection cursor as this
12636 now is cleared in the function LyXText::clearSelection!
12638 2001-08-08 Juergen Vigna <jug@sad.it>
12640 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12641 BACKSPACE type functions.
12643 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12644 is only cutted from the document but not put in the cut-buffer, where
12645 still the old stuff should be.
12647 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12649 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12651 * tabular.C (SetWidthOfCell): fixed special case where the width
12653 (LeftLine): handle '|' in align_special.
12655 (LeftAlreadyDrawed): ditto
12656 (SetWidthOfCell): ditto
12658 2001-08-07 Juergen Vigna <jug@sad.it>
12660 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12662 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12665 * lyxlex.[hC]: ditto
12667 2001-08-06 Juergen Vigna <jug@sad.it>
12669 * text.C (getVisibleRow): fix up row clearing a bit.
12671 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12673 * minibuffer.C: make sure the X server sees the changes in the input.
12675 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12677 * paragraph.C (getFont): split into...
12678 (getLabelFont): this
12679 (getLayoutFont): and this
12680 * paragraph_pimpl.C (realizeFont): calling this
12682 * text2.C (getFont): split into...
12683 (getLayoutFont): this
12684 (getLabelFont): and this
12685 (realizeFont): all three calling this
12687 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12690 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12692 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12694 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12696 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12697 layouts from the Quote inset insertion.
12699 2001-08-03 Juergen Vigna <jug@sad.it>
12701 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12703 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12704 only if status not is already CHANGED_IN_DRAW (second level).
12706 * text.C (draw): don't set the need_break_row when inside an
12709 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * buffer.C (parseSingleLyXformat2Token): handle more latex
12714 * bufferview_funcs.[hC]: change function names to
12715 begin with small char, adjust other files.
12717 2001-08-02 André Pönitz <poenitz@gmx.net>
12720 BufferView_pimpl.C: remove broken special code for math-greek
12722 2001-08-02 Juergen Vigna <jug@sad.it>
12724 * BufferView_pimpl.C (update): redone this function so that we
12725 update the text again if there was a CHANGE_IN_DRAW.
12727 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12728 (drawFromTo): added a new internal bool which is used by draw() and
12730 (general): some cursor drawing problems fixed.
12732 2001-08-01 Juergen Vigna <jug@sad.it>
12734 * lyxfind.C (LyXFind): fixed
12735 (SearchForward): ditto
12736 (SearchBackward): ditto
12738 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12739 spurius drawing of the cursor in the main area.
12741 * text2.C (status): small fix which could lead to a segfault!
12742 (clearSelection): remove unneeded BufferView param.
12744 2001-08-01 André Pönitz <poenitz@gmx.net>
12746 * lyxfunc.C: small change due to changed mathed interface
12748 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12750 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12752 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12754 * lyxfunc.c: fail gracefully if file doesn't exist
12759 * BufferView_pimpl.C: IsDirWriteable() proto changed
12761 * LyXView.C: fix updateWindowTitle() to store the last title
12763 2001-07-31 Juergen Vigna <jug@sad.it>
12765 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12766 the font (wrong since using of Paragraph::highestFontInRange).
12768 * paragraph.C (highestFontInRange): added a default_size parameter.
12770 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12771 (setHeightOfRow): reformat
12773 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12775 * converter.[hC] + affected files: move to (inital-char)lowercase
12778 * ParagraphParameters.C (ParagraphParameters): remove commented code
12780 * PainterBase.[Ch]: remove commented code
12782 * LaTeXFeatures.h: add "bool floats" for float.sty
12784 * LaTeXFeatures.C (LaTeXFeatures): init floats
12785 (require): handle float
12786 (getPackages): do it with floats
12788 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12790 * BufferView_pimpl.C (Dispatch): improve handling of
12791 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12793 * commandtags.h: #include lyxfont.h here temporarily to avoid
12796 * bufferlist.h: include LString.h here.
12798 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12800 * text2.C (getStringToIndex): new method.
12802 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12804 * *: Reduced header file dependencies all over.
12806 2001-07-30 Baruch Even <baruch@lyx.org>
12808 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12810 2001-07-29 Baruch Even <baruch@lyx.org>
12812 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12814 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * ParameterStruct.h (endif): add a default constructor to make
12817 sure that all variables is initialized.
12819 * ParagraphParameters.C (ParagraphParameters): adjust
12821 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12824 index; also, check that there is something to index, and that it
12825 does not span over several paragraphs.
12826 (doubleClick): use WHOLE_WORD_STRICT for double click.
12828 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12830 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12833 2001-07-26 Baruch Even <baruch@lyx.org>
12835 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12836 an InsetFig figure, backwards compatible reading of old figure code.
12838 2001-07-27 Juergen Vigna <jug@sad.it>
12840 * text2.C: font.realize function adaption.
12842 * text.C (draw): add a warnings lyxerr text if needed.
12844 * layout.C: font.realize function adaption.
12846 * language.C: add inherit_language and implement it's handlings
12848 * bufferview_funcs.C (StyleReset): remove language parameter from
12849 font creation (should be language_inherit now).
12851 * bufferparams.C (writeFile): handle ignore_language.
12853 * paragraph.C (getFontSettings): the language has to be resolved
12854 otherwise we have problems in LyXFont!
12856 * lyxfont.C (lyxWriteChanges): added document_language parameter
12857 (update): removed unneeded language parameter
12859 * paragraph.C (validate): fixed wrong output of color-package when
12860 using interface colors for certain fonts in certain environments,
12861 which should not seen as that on the final output.
12863 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12865 * BufferView_pimpl.C:
12870 * LyXAction.C: add thesaurus support
12873 * lyxfind.C: add "once" parameter, for thesaurus, to not
12874 move to the next match
12876 2001-07-26 Juergen Vigna <jug@sad.it>
12878 * lyxfont.C (realize): honor ignore_language too!
12881 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12883 * text.C (draw): one place more for ignore_language to not draw
12886 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12888 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12890 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12893 the minipage conversion problem.
12895 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12897 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12900 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12902 * BufferView.h: don't forward declare WorkArea
12904 * BufferView.C: don't include WorkArea.h
12906 2001-07-25 André Pönitz <poenitz@gmx.net>
12910 * lyxfunc.C: new LFUN 'math-space'
12912 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12914 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12916 * text2.C (toggleInset): call open/close
12918 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12920 * lyxfunc.C (dispatch): add debug for the disabled case
12922 * font.C (buttonText): make similar to rectText
12924 * buffer.C (readInset): comment out parsing of insetlist and
12927 * PainterBase.C (rectText): small correction
12929 * BufferView_pimpl.C: comment out insettheorem and insetlist
12930 * LyXAction.C: ditto
12931 * commandtags.h: ditto
12933 2001-07-24 Juergen Vigna <jug@sad.it>
12935 * text.C (draw): honor the ignore_language.
12937 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12939 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12941 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12944 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12946 * lyxtext.h: remove unused (and unimplemented) methods
12948 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12950 * text.C (getVisibleRow): honor background color
12953 * Painter.h: remove default color argument for fillRectangle
12955 * text.C (backgroundColor): new method
12957 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12959 * text.C (getVisibleRow): adjust
12961 * font.[Ch] (rectText): new method, metrics
12962 (buttonText): new method, metrics
12964 * PainterBase.[hC]: make rectText and buttonText always draw and take
12967 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12969 * ToolbarDefaults.C (read):
12970 * MenuBackend.C (read): allow escaping in all strings
12972 * BufferView_pimpl.C (insertAndEditInset): new method.
12973 (Dispatch): use insertAndEditInset whenever appropriate.
12975 * BufferView_pimpl.C (insertNote): removed
12977 * BufferView_pimpl.C (smartQuote): new method, moved from
12978 BufferView; if an insetquote cannot be inserted, insert a '"'
12981 * BufferView2.C: remove insertCorrectQuote();
12983 * lyxfunc.C (getStatus): Add support for all remaingin
12984 inset-insert lfuns.
12986 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12988 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12989 command (necessary to pass " as parameter of self-insert.
12991 * text.C (selectWordWhenUnderCursor):
12992 (selectWord): add word_location parameter
12993 (selectWordWhenUnderCursor): same + remove special code for word
12995 (selectNextWord): use kind() to guess type of insetspecialchar,
12998 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12999 (insertErtContents): create ert insets as collapsed.
13000 (readInset): better compatibility code for Info inset.
13002 2001-07-20 Juergen Vigna <jug@sad.it>
13004 * lyxfunc.C (dispatch): use always LyXFind now!
13006 * text2.C (init): add a reinit flag so that the LyXText can be
13007 reinited instead of deleted and reallocated (used in InsetText).
13009 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13015 2001-07-18 Juergen Vigna <jug@sad.it>
13017 * text.C (selectNextWord): handle insets inside inset by calling
13018 always the bv->text functions so that we can go up the_locking_inset!
13020 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13021 in strange locations when inside an inset!
13023 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13024 handling to include insets.
13026 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13028 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13030 * LyXAction.C (init):
13032 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13033 LIGATURE_BREAK, since the name is so stupid.
13035 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13037 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13040 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13042 * sp_form.[Ch]: remove.
13044 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13046 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13049 * src/buffer.C (readInset): ditto.
13051 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13053 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13054 menuSeparator(), endOfSentenceDot(), ldots() and
13055 hyphenationPoint(), which are therefore removed.
13056 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13058 * LyXAction.C (init):
13059 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13061 * paragraph.C (getWord): removed.
13063 * BufferView_pimpl.C (Dispatch): use last word or selection for
13064 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13066 * lyx_main.C (queryUserLyXDir): do not ask before creating
13067 user_dir, except if it has been named explicitely.
13069 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13071 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13072 a document of zero size.
13074 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13076 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13077 approriately in the c-tor and in require().
13078 (getPackages): output the appropriate LaTeX for natbib support.
13080 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13081 variables "use_natbib" and "use_numerical_citations" when reading the
13083 (readInset): read the various natbib cite commands.
13084 (validate): white-space change.
13086 * bufferparams.[Ch]: new variables "bool use_natbib" and
13087 "bool use_numerical_citations".
13088 (writeFile): output them in the LyX file.
13090 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13092 * lyxfunc.C (getStatus): add support for all the inset insertion
13095 * text2.C (insertInset):
13096 * paragraph.C (insetAllowed):
13097 * BufferView_pimpl.C (insertInset): update to take in account the
13098 renaming of insertInsetAllowed
13100 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13102 * text2.C (getInset): new method. returns inset at cursor position.
13104 * BufferView_pimpl.C (Dispatch): changes because of this.
13106 * LyXAction.C (init): rename open-stuff to inset-toggle.
13108 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13110 * text2.C (toggleInset): renamed from openStuff; use
13113 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13115 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13117 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13119 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13121 * buffer.C (readLyXformat2): Add filename to the error dialog
13123 2001-07-18 Juergen Vigna <jug@sad.it>
13125 * tabular.C (GetCellNumber): put an assert here instead of the check!
13127 2001-07-17 Juergen Vigna <jug@sad.it>
13129 * BufferView_pimpl.C (toggleSelection): adapted too.
13131 * text.C (selectNextWord): adapted for use with insets.
13132 (selectSelectedWord): ditto
13134 2001-07-17 Juergen Vigna <jug@sad.it>
13136 * sp_spell.C (PSpell): fix initialitation order.
13138 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13140 * paragraph.C: spacing
13142 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13144 * sp_spell.C: repair language selection for pspell
13146 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * lyxfunc.h: change more methods to begin with lower char.
13150 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13152 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13153 for unknown layouts.
13155 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13157 * buffer.C (readLyXformat2): Generate an error dialog if there are
13160 2001-07-16 Juergen Vigna <jug@sad.it>
13162 * sp_spell.C: always compile ISpell part.
13164 * lyxrc.C: added use_pspell entry and it's handling.
13166 2001-07-13 Juergen Vigna <jug@sad.it>
13168 * sp_spell.C: removed double includes.
13170 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13172 Consistent use of Lsstream.h:
13173 * Lsstream.h: added using std::stringstream for consistencies sake.
13175 * buffer.C: removed using std::stringstream
13177 * lyxfont.C (stateText):
13178 * paragraph.C (asString):
13179 * text.C (selectNextWord, selectSelectedWord):
13180 * text2.C (setCounter):
13181 * vspace.C (asString, asLatexString):
13182 std::ostringstream -> ostringstream.
13184 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13186 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13187 * commandtags.h: add LFUN_HELP_ABOUTLYX
13188 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13190 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13192 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13194 * lyx_gui_misc.C: remove spellchecker
13195 * lyxfunc.C: showSpellchecker
13197 * sp_ispell.h: added
13198 * sp_pspell.h: added
13199 * sp_spell.C: added
13200 * sp_form.[Ch]: removed
13201 * spellchecker.[Ch]: removed
13203 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13205 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13207 (simpleTeXSpecialChars): Simply print the input character without
13208 any special translation if pass_thru is set.
13210 * layout.h: Added bool pass_thru to layout class for being able to
13211 implement pass through of a paragraph for Literate Programming.
13213 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13214 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13215 * layout.C (Read): add "passthru" to list of layout tags and add
13216 code to set the pass_thru boolean when it is read.
13218 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13220 * trans_decl.h: remove allowed from KmodInfo
13222 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13223 remove allowed code
13226 * paragraph_pimpl.C (erase): use boost::prior
13228 * Painter.C (text): use data() instead of c_str() when length is
13230 * WorkArea.C (putClipboard): ditto
13231 * font.h (width): ditto
13233 * BufferView2.C: use it-> instead of (*it). for iterators
13235 * paragraph_pimpl.C: ditto
13236 * paragraph.C: ditto
13237 * minibuffer.C: ditto
13238 * language.C: ditto
13240 * encoding.C: ditto
13241 * counters.C: ditto
13242 * converter.C: ditto
13244 * Variables.C: ditto
13245 * TextCache.C: ditto
13246 * MenuBackend.C: ditto
13247 * LyXAction.C: ditto
13249 * FloatList.C: ditto
13250 * DepTable.C: ditto
13251 * ColorHandler.C (LyXColorHandler): ditto
13253 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13255 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13257 * text2.C (openStuff): reintroduce this method (which had been
13258 nuked in NEW_INSETS frenzy).
13260 * lyxfunc.C (Dispatch): when an action has not been handled, use
13261 its name in the error message, not its number.
13263 * paragraph.C (inInset): change method name to begin with lowercase.
13266 * text2.C: updates because of this.
13268 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13270 * ToolbarDefaults.C (add): add spaces in error message
13272 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13274 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13275 (readLyXformat2): rename return_par to first_par, use lyxlex's
13276 pushToken and remove the manual push handling.
13277 (parseSingleLyXformat2Token): add another ert comp. variable:
13278 in_tabular, rename return_par to first_par. handle newlines better
13280 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13282 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13284 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13286 * text2.C (getParFromID): removed
13288 * buffer.C (getParFromID): new method moved form lyxtext.
13289 * BufferView2.C (insertErrors): adjust
13290 (setCursorFromRow): adjust
13291 * BufferView_pimpl.C (restorePosition): adjust
13292 * lyxfunc.C (Dispatch): adjust
13293 * undo_funcs.C (textUndo): adjust
13295 (textHandleUndo): adjust
13296 (textHandleUndo): adjust
13298 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13300 * buffer.C: up' the LYX_FORMAT
13302 * lyxfont.h: turn NO_LATEX on as default
13304 * buffer.C (insertErtContents): new methods of tex style compability.
13305 (parseSingleLyXformat2Token): use it several places.
13306 * tabular.C (OldFormatRead): and here
13308 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13310 * text2.C: remove some commented code.
13313 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13314 * trans.C: changes because of the above.
13316 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13318 * text2.C (setCounter): Fix counters bug with bibliography layout.
13320 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13322 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13323 own member functions
13324 (simpleTeXSpecialChars): ditto
13326 2001-07-06 Juergen Vigna <jug@sad.it>
13328 * a lot of files: changed the access to LyXText::status and the
13329 call of undo-functions.
13331 * undo.[Ch]: added a inset_id to the undo informations.
13333 * undo_funcs.[Ch]: added and moved here all undo functions.
13335 * lyxtext.h: give the status enum a weight, made status_ a private
13336 variable and made accessor functions for it, removed the whole bunch
13337 of undo-functions as they are now in their own file, make some
13338 functions publically available. Added function ownerParagraph with
13341 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13342 made InInset() a const function, added getParFromID() function.
13344 * buffer.[Ch]: added const version for inset_iterator functions,
13345 added getInsetFromID() function.
13347 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13348 changed undo functions for new version.
13350 2001-07-05 Juergen Vigna <jug@sad.it>
13352 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13353 unknow mechanism does not call the proper constructor but only this
13354 one also if I request the other!?
13356 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13358 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13360 * text2.C (LyXText): use initialization lists.
13362 * lyxtext.h (Selection): initialize set_ and mark_
13363 (init): remove method
13365 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13367 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13369 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13371 * screen.[Ch]: change method names to begin with lowercase
13373 * BufferView_pimpl.C (updateScrollbar): simplify further and
13374 hopefully make it a bit faster.
13376 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13378 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13379 calling directly xforms functions.
13381 * Painter.C (Painter):
13382 * lyx_cb.C (MenuWrite):
13383 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13386 * lyx_gui.C: remove bogus guiruntime extern declaration.
13388 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13390 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13392 (redoDrawingOfParagraph): ditto
13393 (redoParagraphs): ditto
13394 (cutSelection): don't create a object for CutAndPaste use the
13395 static method directly
13396 (pasteSelection): ditto
13398 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13401 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * modifications to some other files because of this.
13405 * Makefile.am (lyx_SOURCES): add XFormsView
13407 * XFormsView.[Ch]: new files
13409 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13410 the main window. Move the gui dependent stuff to XFormsView
13412 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13414 * tabular.C (GetCellInset): update cur_cell also in the row/col
13415 version of this function.
13417 * lyxfunc.C: no need to include figure_form.h here.
13423 * lyxvc.C: no need to include forms.h here.
13425 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13427 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13429 * lyxfunc.C (Dispatch):
13431 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13432 constructor argument.
13434 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13436 * paragraph.C (Paragraph): dont't clear, and just set layout.
13437 (makeSameLayout): use params's copy contructor.
13439 * ParagraphParameters.[Ch] (makeSame): delete method
13441 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13443 * Variables.[Ch]: fix indentation, rename set to isSet
13445 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * lyxfunc.C (Dispatch): fix typo
13449 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13451 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13454 * bufferlist.C: include assert.h for emergencyWrite().
13456 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13458 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13459 give up at last (bug #425202) !
13461 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13467 * spellchecker.C: strip spellchecker options and bring up
13468 preferences tab instead
13470 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13473 the istringstream constructor
13475 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13477 * paragraph.C (getLayout): fix return value
13479 * paragraph.h: do not declare getLayout as inline.
13481 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13483 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13485 * lyxcursor.h (operator<): new func
13486 (operator>): new func
13487 (operator>=): new func
13488 (operator<=): new func
13490 * text.C (changeCase): use selection.start and selection.end
13491 (changeRegionCase): require from to be <= to. Require par to be a
13494 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13496 2001-06-27 Juergen Vigna <jug@sad.it>
13498 * text.C (cursorLeftOneWord): changed to return the cursor and added
13499 overlay with BufferView * parameter which calls this one.
13501 (selectWord): use new getWord function.
13502 (changeCase): renamed from changeWordCase as and extended to work
13503 also on selections.
13505 * lyxtext.h: added enum word_location
13507 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13508 changeCase as this operates now also on selections.
13510 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13512 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13514 * many files: send debug output to Debug::INFO instead of
13517 * converter.C (View):
13519 (Move): send debug output to Debug::FILES instead of console.
13521 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13523 * lyxfunc.C (getStatus): use func_status
13525 * func_status.h: new header, describing the results of
13526 LyXFunc::getStatus;
13528 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13531 2001-06-25 The LyX Project <jug@sad.it>
13533 * buffer.C (sgmlOpenTag):
13535 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13537 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13539 * text2.C: remove some dead code
13541 * tabular.C (GetCellInset): store the last cell checked (gotten)
13543 * tabular.h: add the helper for the speedup
13545 * lyxtext.h: remove some dead code
13547 2001-06-26 The LyX Project <Asger>
13549 * paragraph.C: Change export to LaTeX of alignment to
13550 \begin{center} and family for better roundtrip work with reLyX.
13552 * Tune the math drawing a bit.
13554 2001-06-25 The LyX Project <Asger>
13556 * LColor.C (LColor): New color for math background. New color
13559 2001-06-25 The LyX Project <jug@sad.it>
13561 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13563 * lyxfunc.C (Open):
13564 * bufferlist.C (newFile): do not restrict to files ending with
13567 * BufferView_pimpl.C (MenuInsertLyXFile):
13569 2001-06-24 The LyX Project <jug@sad.it>
13571 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13574 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * lyxtext.h: rename most methods to begin with a small char.
13577 Lots of changes because of this.
13579 * paragraph.C (Paragraph): do not call fitToSize
13580 (erase): call Pimpl::erase
13581 (insertChar): call Pimpl::insertChar
13582 (insertInset): call Pipl::insertInset
13583 (breakParagraph): do not call fitToSize
13584 (breakParagraphConservative): do not call fitToSize
13585 (fitToSize): remove method
13587 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13589 2001-06-24 The LyX Project <Asger>
13591 * Fix Qt compilation^2
13593 2001-06-24 The LyX Project <jug@sad.it>
13595 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13596 depthHook(getDepth()-1).
13599 * ParagraphParameters.h:
13600 * ParameterStruct.h: change type of depth to unsigned int ==
13601 depth_type. Many adaptations to other files before of that.
13603 2001-06-24 The LyX Project <Asger>
13605 * Fix Qt compilation.
13607 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13609 * paragraph.h: renamed several methods to begin with small letter.
13610 several changes to many parts of the code because of this.
13612 2001-06-23 The LyX Project <jug@sad.it>
13614 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13615 rewritten to discard all double spaces when KeepEmpty is off
13616 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13617 to only handle newlines but not fiddle with spaces and friends.
13619 * lyxfunc.C (MenuNew): when doing 'new from template', use
13620 template_path as default directory
13622 2001-06-23 The LyX Project <Asger>
13624 * Clean-up of header file includes all over
13625 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13627 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13629 * paragraph.h: renamed from lyxparagraph.h
13631 2001-06-23 Asger <lyx@violet.home.sad.it>
13633 * Buffer.h: Removed Buffer::resize
13634 * BufferList.h: Removed BufferList::resize
13635 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13636 the document lazily when we change the width, or the font settings.
13638 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13640 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13642 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13644 * buffer.h: remove out of date comment
13646 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13649 * screen.C: fix "theoretical" GC leak
13651 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13653 * LaTeX.C (scanAuxFile):
13654 (deplog): remove trailing \r when reading stream (useful under
13657 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13659 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13660 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13661 and BufferView::theLockingInset(Inset*), so should use them and not
13662 access bv_->text->the_locking_inset directly.
13664 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13666 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13669 * tex-defs.h: remove old unused file
13671 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13673 * BufferView_pimpl.C: fix typo, remove minibuffer message
13674 when buffer has loaded
13676 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13678 * lyxfunc.C (Dispatch): use stringstream
13679 (MenuNew): use stringstream
13680 (Open): use stringstream
13682 * importer.C (Import): use stringstream
13684 * bufferview_funcs.C (CurrentState): use stringstream
13686 * LaTeX.C (run): use stringstream
13688 * BufferView_pimpl.C (savePosition): use stringstream
13689 (restorePosition): use stringstream
13690 (MenuInsertLyXFile): use stringstream
13692 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13705 * vspace.C: removed // -*- C++ -*- as first line.
13708 * version.h: added // -*- C++ -*- as first line.
13710 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13712 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13714 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13717 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13722 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13724 * gettext.C: include LString.h even when --disable-nls is on.
13726 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13728 * converter.h (Get): changed argument type from int to
13729 FormatList::size_type to avoid unnecessary conversion.
13731 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13734 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13736 * gettext.h: include LString.h even when --disable-nls is on.
13738 2001-06-07 Juergen Vigna <jug@sad.it>
13740 * text.C (BreakAgain): subst spaces with tabs.
13742 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13743 (resizeInsetsLyXText): set force on resizeLyXText.
13745 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13747 * gettext.h (gettext_init):
13748 (locale_init): use a real definition instead of a macro
13750 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13752 * Bufferview_pimpl.C:
13754 * LColor.C: further lcolor tidies
13756 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * BufferView_pimpl.C (updateScrollbar): simplify.
13760 * BufferView2.C: don't include insets/insetinfo.h, change
13761 prototype for insertInset and call the Pimpl version. let
13762 updateInset call Pimpl version.
13764 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13765 gotoInset to BufferView::Pimpl
13767 2001-06-01 Juergen Vigna <jug@sad.it>
13769 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13770 inside a LockingInset (is the update needed at all?).
13772 2001-05-31 Juergen Vigna <jug@sad.it>
13774 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13775 here not the old one otherwise how should we compare it afterwards
13778 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13783 * FontInfo.C: bring C functions into global namespace when
13786 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13788 * LString.h: make sure config.h has been loaded before LString.h.
13790 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13791 (one for each char read by EatLine!).
13793 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13796 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13798 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13799 to the same as the par we break from
13801 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13803 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13805 * MenuBackend.C (expand): also create menu entries for wide
13806 versions of the floats.
13808 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13810 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13812 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13813 frontends/Makefile.am
13819 * tabular.C (getTokenValue): add std::
13821 * tabular-old.C (getTokenValue): add std::
13822 (getTokenValue): ditto
13823 (getTokenValue): ditto
13825 * screen.C (ToggleSelection): adjust
13827 * lyxtext.h: put selection cursors inside a Selection struct.
13829 * lyxfunc.C (moveCursorUpdate): adjust
13831 * lyxfont.C (latexWriteStartChanges): add std::
13833 * lyxfind.C: adjust
13835 * font.h: delete with(char const *, LyXFont const &)
13837 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13839 * FontInfo.C (getFontname): add std::
13841 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13842 (workAreaButtonPress): adjust
13843 (tripleClick): adjust
13845 (moveCursorUpdate): adjust
13848 * BufferView2.C (gotoInset): adjust
13850 2001-05-30 Juergen Vigna <jug@sad.it>
13852 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13853 to check pspell I add this as default as I now have new pspell
13854 libraries and they seem to use this.
13856 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13858 * text2.C (CutSelection): make the cursor valid before the call to
13861 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13863 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13864 relied on 0 terminated strings and other horrors. Bug found due to
13865 the new assert in lyxstring!
13867 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13870 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13872 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13875 * lyxfunc.C (processKeySym): change method of getting to the
13878 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13879 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13880 * BufferView_pimpl.[Ch]: here as private methods.
13882 2001-05-28 Juergen Vigna <jug@sad.it>
13884 * text.C (SetHeightOfRow): added the update() call again as it is
13885 needed to initialize inset dimensions!
13887 2001-05-16 Juergen Vigna <jug@sad.it>
13889 * text2.C (SetCharFont): Add new function with BufferView * and
13890 bool toggleall parameters for setting insets internal fonts.
13891 (SetFont): Freeze the undo as we may change fonts in Insets and
13892 all this change should be inside only one Undo!
13894 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13895 setting font's in insets as for them we have the SetFont function!
13897 2001-05-15 Juergen Vigna <jug@sad.it>
13899 * text2.C (ClearSelection): to be sure we REALLY don't have any
13902 * tabular.C (TeXCellPreamble): fixed the left border problem for
13905 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13907 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13910 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13912 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13913 LFUN_BREAKPARAGRAPH.
13915 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13916 help test to "internal only", similar for LFUN_INSERT_URL
13918 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13919 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13920 auto_region_delete and deadkeys.
13922 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13925 * LColor.C: remove some dead entries, tidy a little
13927 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13929 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13931 (Dispatch): implement LFUN_ESCAPE
13933 * commandtags.h: add LFUN_ESCAPE
13935 * LyXAction.C (init): add entry for LFUN_ESCAPE
13937 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13938 Remove commented code.
13939 (insertNote): moved here
13940 (open_new_inset): moved here
13942 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13945 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13947 * kbmap.C (findbinding): clean it up and make it work correctly.
13949 * lyx_main.C (init): do not pass argc and argv as parameters
13951 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13953 * buffer.C: fix path for OS/2 & Win32
13957 * lyx_main.C: Added os:: class.
13959 * os2_defines.h: update
13961 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13963 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13964 better by trying again with reduced state.
13966 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13968 * lyxrc.C (read): print error about invalid key sequence only when
13969 debugging (because not all latinX keysyms are known to some X
13972 * kbsequence.C (getiso): add a few std:: qualifiers
13973 (getiso): comment out extra return statement.
13975 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13977 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13979 (Dispatch): enhance the accent inset a bit. (not perfect)
13981 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13983 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13985 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13987 * bufferlist.C (emergencyWrite): fix assert() call
13989 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13991 * text.C (InsertChar): Added trivial patch to only send the "you
13992 can not do multiple spaces this way" message once during a
13995 2001-05-08 Baruch Even <baruch@lyx.org>
13997 * Makefile.am: Changed order of libraries to get LyX to link properly
13998 with the gnome frontend.
14000 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14002 * LaTeXFeatures.h: add a std:: qualifier
14004 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * paragraph.C (String): use stringstream
14008 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14010 * paragraph.C (writeFile): remove footflag arg
14012 * buffer.C (makeLaTeXFile): use stringstream
14013 (latexParagraphs): remove footnot gurba
14015 * LaTeXFeatures.C (getPackages): use stringstream
14016 (getMacros): likewise
14017 (getTClassPreamble): likewise
14018 (getFloatDefinitions): new method
14020 * paragraph.C (writeFile): reindent
14023 * WorkArea.h: revert the xpos + etc changes.
14025 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14027 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14029 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14030 (pasteSelection): likewise
14031 * text2.C (CreateUndo): likewise
14033 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14035 * minibuffer.C (peek_event): temporarily reduce the functionality
14036 of the minibuffer (to allow args on lfuns)
14038 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14039 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14041 * buffer.C (readInset): add compability reading of old float
14042 lists, add reading of new style float list.
14043 (readInset): avoid reevaluation of inscmd.getCmdName()
14044 (getLists): reindent
14046 * MenuBackend.C (MenuItem): implement parsing of
14047 md_floatlistinsert and md_floatinsert.
14048 (expand::LastFiles): move initalizaton of iterators out of loop,
14049 avoid reevaluation.
14050 (expand::Documents): introduce typdedef vector<string> Strings,
14052 (expand::ExportFormats): introduce typedef vector<Format const *>
14053 Formats, and use it.
14054 (expand): implement FloatListInsert and FloatInsert.
14056 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14057 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14058 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14060 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14062 (Dispatch::LFUN_FLOAT_LIST): implement
14064 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14066 * LaTeX.C (run): Fix problem with --export code.
14068 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14070 * BufferView.[Ch] (workarea): removed.
14071 (getClipboard) new method; wrapper for workarea()->getClipboard()
14073 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14076 * WorkArea.h (width, height, xpos, ypos): These methods all
14077 returned the dimensions of the work_area sub-area of WorkArea,
14078 resulting in a position error if the WorkArea were resized. Now
14079 return the dimensions of the entire WorkArea.
14081 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14083 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14085 * LaTeX.C (deplog): correct the syntax of regex reg1
14087 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14089 * undo.C: remove !NEW_INSETS cruft
14091 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * text2.C: remove !NEW_INSETS cruft
14095 * text.C: remove !NEW_INSETS cruft
14097 * tabular.C: remove !NEW_INSETS cruft
14099 * spellchecker.C: remove !NEW_INSETS cruft
14101 * lyxtext.h: remove !NEW_INSETS cruft
14103 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14105 * lyxfunc.C: remove !NEW_INSETS cruft
14107 * lyxfind.C: remove !NEW_INSETS cruft
14109 * lyx_cb.C: remove !NEW_INSETS cruft
14111 * figureForm.C: remove !NEW_INSETS cruft
14113 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14115 * buffer.[Ch]: remove !NEW_INSETS cruft
14117 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14119 * CutAndPaste.C: remove !NEW_INSETS cruft
14121 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14123 * BufferView2.C: remove !NEW_INSETS cruft
14125 * BufferView.h: remove !NEW_INSETS cruft
14127 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14129 * Lsstream.h: include LString.h before the sstream headers to
14130 fix problem with gcc 2.95.3 and lyxstring
14132 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14134 * lyx_main.C: add using directives when needed for C functions
14135 declared in std:: namespace.
14137 2001-04-27 Juergen Vigna <jug@sad.it>
14139 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14140 (SetHeightOfRow): comment out the update call should not be needed!
14142 2001-04-13 Juergen Vigna <jug@sad.it>
14144 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14145 (LyXTabular): tried to minimize operator= operations (and realized
14146 hopfully Lars wish).
14148 2001-04-27 Juergen Vigna <jug@sad.it>
14150 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14152 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14154 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14156 * buffer.C (readInset): hack to make listof algorithm work
14158 * BufferView_pimpl.C: hack to make listof algorithm work
14160 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * LyXAction.C: removed all !NEW_INSETS cruft
14163 (init): moved lfun_item in method
14165 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14167 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14169 * BufferView2.C (theLockingInset): white space.
14171 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14173 * minibuffer.C: include <iostream>
14175 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14177 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14179 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14181 * text.[Ch] (TransposeChars): new method
14183 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14185 * call message directly through LyXView instead of through LyXFunc
14186 * BufferView2.C: adjust
14187 * BufferView_pimpl.C: adjust
14188 * FontLoader.C: adjust
14190 * bufferview_funcs.C: adjust
14191 * converter.C: adjust
14192 * figureForm.C: adjust
14193 * importer.C: adjust
14195 * lyx_gui_misc.C: adjust
14196 * lyxfunc.C: adjust
14199 + more files in subdirs
14201 * lyxparagraph.h (size): move up int file
14204 * adjust all uses of Assert to lyx::Assert.
14206 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14207 lyxfunctional in namespace lyx
14208 * layout.C (hasLayout): ditto
14211 (delete_layout): ditto
14212 (NumberOfClass): ditto
14213 * converter.C (GetFormat): ditto
14218 * bufferlist.C (getFileNames): ditto
14219 (emergencyWriteAll): ditto
14222 * MenuBackend.C (hasSubmenu): ditto
14225 * BufferView_pimpl.C (getInsetByCode): ditto
14227 2001-04-18 Juergen Vigna <jug@sad.it>
14229 * vspace.C (asLatexString): fixed the 100% problem.
14231 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14233 * lyxfunc.C (Dispatch):
14235 * minibuffer.h: add a few std:: qualifiers
14237 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14239 * minibuffer.[Ch]: reimplement so that commands is initiated and
14240 run from lyxfunc, simplified som handling, and made the completion
14241 and history code for complete. wip.
14243 * lyxfunc.C (processKeySym): call message
14244 (miniDispatch): new temporary method
14245 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14246 (LFUN_MESSAGE): implement
14247 (LFUN_MESSAGE_PUSH): implement
14248 (LFUN_MESSAGE_POP): implement
14249 (initMiniBuffer): the initial/defualt minibuffer message.
14251 * lyxfont.[Ch]: inline some more getters
14253 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14255 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14257 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14258 (AutoSave): use LFUN_MESSAGE
14259 (Reconfigure): ditto
14261 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14263 * figureForm.C: use LFUN_MESSAGE
14265 * converter.C (runLaTeX): use LFUN_MESSAGE
14267 * bufferview_funcs.C: use LFUN_MESSAGE
14269 (changeDepth): ditto
14271 * bufferparams.h: use boost::
14273 * bufferlist.h: inherit privately from noncopyable
14275 * bufferlist.C (loadLyXFile): remove some commented code.
14277 * buffer.C (runChktex): use LFUN_MESSAGE
14279 * ShareContainer.h: inherit privately from noncopyable
14281 * ParagraphParameters.[hC] (depth): inline it.
14283 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14285 (message): new method
14286 (messagePush): ditto
14287 (messagePop): ditto
14288 (show): init minibuffer
14289 (showState): direct call
14291 * LaTeX.[Ch]: inherit privately from noncopyable
14292 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14293 instead of WriteStatus.
14295 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14297 * BufferView_pimpl.C (buffer): don't init minibuffer
14298 (workAreaButtonPress): use LFUN_MESSAGE
14299 (workAreaButtonRelease): ditto
14300 (savePosition): ditto
14301 (restorePosition): ditto
14302 (MenuInsertLyXFile): ditto
14303 (workAreaExpose): don't init minibuffer
14304 (update): remove commented code, simplify
14306 * BufferView2.C (openStuff): use LFUN_MESSAGE
14307 (toggleFloat): ditto
14310 (copyEnvironment): ditto
14311 (pasteEnvironment): ditto
14316 (updateInset): remove some commented code
14318 * lastfiles.h: inherit privately from noncopyable
14321 * lyx_main.h: ditto
14323 * lyxlex_pimpl.h: ditto
14325 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14326 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14327 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14329 * LyXAction.h: inherit privately from noncopyable, add methods
14330 func_begin, func_end, returning iterators to the func map.
14332 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14333 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14334 (func_begin): new method
14335 (func_end): new method
14337 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14339 (copySelection): ditto
14340 (pasteSelection): ditto
14342 * BufferView.C: whitespace change
14343 * BufferView.h: inherit privately from noncopyable
14345 2001-04-16 Allan Rae <rae@lyx.org>
14347 * tabular-old.C (l_getline):
14348 * spellchecker.C (sc_check_word):
14349 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14350 an unrecognised preprocessor directive. So ensure they're wrapped.
14352 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14354 * src/exporter.C (Export): Give an error message when path to file
14357 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14359 * LaTeX.C (deplog): Always check that foundfile exists.
14361 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14364 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14366 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14368 * tabular.[Ch] (getLabelList): implement new method
14370 * minibuffer.h: comment ouf setTiimer
14372 * minibuffer.C (ExecutingCB): constify res
14373 (peek_event): constify s
14374 (Set): constify ntext
14375 (Init): constify nicename
14377 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14379 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14380 (savePosition): use two params to Minibuffer::Set
14381 (restorePosition): ditto
14383 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14385 * lyx_main.C: include language.h
14387 * Makefile.am (lyx_main.o): add language.h
14389 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14395 * CutAndPaste.C: include gettext.h
14397 * lyxfont.h: remove old hack with ON and OFF.
14400 * lyxfont.h: do not include language.h...
14405 * bufferview_funcs.C:
14411 * paragraph.C: ... but do it here instead
14413 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14415 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14417 * tabular.C: small reformat
14419 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14422 (BreakParagraph): ditto
14423 (SetOnlyLayout): ditto
14426 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14429 * lastfiles.C: removed most using decl, add std:: where needed
14431 * buffer.C: ws changes
14433 * MenuBackend.C (class compare_format): put into anon namespace
14434 (expand): constify label, names, action, action2
14437 * text.C (SingleWidth): constify font
14438 (IsBoundary): constify rtl2
14439 (GetVisibleRow): constify ww
14441 * LaTeX.C (deplog): constify logfile
14443 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14445 (workAreaExpose): constify widthChange, heightChange
14447 * lyxrow.C (par): moved
14450 * lyxrow.h: as inlines here
14452 * lyxfont.h (shape): moved from lyxfont.C
14453 (emph): moved from lyxfont.C
14455 * lyxfont.C (LyXFont): use initialization list for all
14457 (shape): move to lyxfont.h as inline
14458 (emph): move to lyxfont.h as inline
14461 2001-04-04 Juergen Vigna <jug@sad.it>
14463 * vspace.C: had to include stdio.h for use of sscanf
14465 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14468 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14469 independent of xforms.
14471 2001-04-02 Juergen Vigna <jug@sad.it>
14473 * spellchecker.C: fixed namespace placing!
14475 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14477 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14478 the LyXParagraph * is 0.
14480 2001-03-29 Juergen Vigna <jug@sad.it>
14482 * vspace.C: added support for %, c%, p%, l%.
14483 (stringFromUnit): added helper function.
14484 (asLatexString): changed to give right results for the %-values.
14486 * buffer.C: convert the widthp in a width%.
14488 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14490 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14493 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14494 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14496 * lyx_cb.[Ch]: see above.
14498 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14502 * lyx.[Ch]: replaced by figure_form.[Ch].
14506 * lyxfunc.C: changed headers associated with above changes.
14508 2001-03-27 Juergen Vigna <jug@sad.it>
14510 * BufferView_pimpl.C: set the temporary cursor right!
14512 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14514 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14516 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14518 * LString.h: removed "using std::getline"!
14520 * BufferView_pimpl.C (Dispatch): changes due to changes in
14521 InsetInclude::Params.
14523 * buffer.C (tag_name): removed redundant break statements as they were
14524 producing lots of warnings with my compiler.
14526 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14528 * LString.h: add "using std::getline" when using the real <string>.
14530 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14532 * buffer.C: removed bitset usage.
14533 PAR_TAG moved to an anonymous name space.
14534 (tag_name): new funtion, also in the anonymous namespace.
14535 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14536 (makeDocBookFile): clean code. Completed transition from string arrays
14538 (SimpleDocBookOnePar): code clean.
14540 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14542 * tabular.C: add some comments.
14544 2001-03-22 Juergen Vigna <jug@sad.it>
14546 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14547 compatibility read a bit and fixed bug with minipage in different
14550 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14552 * buffer.C (pop_tag): removed.
14553 (push_tag): removed.
14554 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14555 array replaced with vector. Added support for CDATA sections.
14556 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14558 (makeDocBookFile): XML conformant declaration of CDATA section,
14559 fixed bug related to <emphasis> in the first paragraph char.
14560 (sgmlOpenTag): exclude empty tags.
14561 (sgmlCloseTag): ditto.
14563 * buffer.h (pop_tag): removed.
14564 (push_tag): removed.
14566 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14568 * language.h (Languages): added size_type and size().
14570 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14572 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14573 response on compability reading of minipages. One probliem is that
14574 the old usage of minipages was «flertydig»
14576 * several files here and in subdirs: don't use static at file
14577 scope use anon namespaces instead.
14579 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14581 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14582 LaTeX output. This is necessary for Literate document
14585 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14587 * buffer.C: insert hfill when needed.
14589 * tabular.C (l_getline): use string::erase, small whitespace change.
14591 * BufferView_pimpl.C: try the anon namespace.
14592 * WorkArea.C: ditto
14594 2001-03-16 Juergen Vigna <jug@sad.it>
14596 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14597 otherwise it won't open options-dialogs.
14599 * buffer.C: honor pextraWidth(p) on converting minipages.
14601 * tabular.C (l_getline): changed the functions to strip trailing \r.
14603 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14605 * BufferView_pimpl.C:
14606 * minibuffer..C: added "using SigC::slot" declaration.
14608 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14610 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14616 * paragraph.C: ditto
14618 * lyxtext.h: NO_PEXTRA
14620 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14622 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14623 * ParameterStruct.h: ditto
14624 * ParagraphParameters.h: ditto
14625 * lyxparagraph.h: ditto
14627 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14629 * buffer.C: add compability for minipage alignment.
14630 (latexParagraphs): remove unwanted pextra check.
14632 * several files: remove CXX_WORKING_NAMESPACES
14634 * buffer.C (pop_tag): tie is in namespace boost
14636 * BufferView.h: noncopyable is in namespace boost
14638 * lyx_main.h: ditto
14641 * lastfiles.h: ditto
14642 * bufferlist.h: ditto
14643 * ShareContainer.h: ditto
14645 * LyXAction.h: ditto
14648 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14650 * Merging changes from BRANCH_MVC back into HEAD.
14652 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14654 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14656 * BufferView_pimpl.C: change from intl.C
14660 * Makefile.am: move combox.*
14666 * intl.C: remove dialog (covered by prefs)
14668 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14670 * lyxfunc.C (Dispatch): removed redundant break statement.
14672 2001-03-14 Juergen Vigna <jug@sad.it>
14674 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14676 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14678 * buffer.C: add hack to fix compability reading of minipages.
14680 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14682 * buffer.C (getLists): Cleanup.
14684 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14686 * lyxfont.C (update): don't honor toggleall on font size.
14688 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14692 * Makefile.am: moved to frontends/xforms/
14696 * BufferView_pimpl.C: changes for moved mathpanel
14698 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14700 * gettext.h: fix gettext_init() in --disable-nls
14702 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14704 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14706 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14709 * lyx.h: strip external form
14711 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14713 * BufferView_pimpl.C: add comment, destroySplash()
14715 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14717 * BufferView_pimpl.C:
14721 * lyxfunc.C: use re-worked insetinclude
14723 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14725 * buffer.C: add using std::stringstream.
14727 * lyx_cb.C: readd using std::ios.
14729 * buffer.C: add using std::map.
14731 * BufferView_pimpl.C: add using std::vector.
14733 * ShareContainer.h: add std:: to swap.
14735 * buffer.h: add some typedefs
14736 * buffer.C (getLists): use them
14737 (getLists): renamed from getTocList.
14738 add a counter for the different float types and use it in the
14740 (getLists): use the same counter for the NEW_INSETS and the "non"
14743 * lyx_cb.h: remove unused items, includes, using etc.
14745 * ShareContainer.h: remove some commented code, add more comments
14746 and "documentation".
14748 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14750 * buffer.C (getTocList): make the list also when NEW_INSETS is
14753 * buffer.h: remove TocType
14755 * buffer.C (getTocList): change to return a map<string,
14756 vector<TocItem> >, implement for dynamic number of list.
14758 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14759 * text2.C (PasteSelection): adjust
14760 * CutAndPaste.C (pasteSelection): adjust
14762 * FloatList.C (FloatList): update from the new_insets branch.
14763 * Floating.[Ch]: ditto
14764 * LaTeXFeatures.C: ditto
14766 * lyxlex_pimpl.C: ditto
14768 * paragraph.C (Last): remove when NEW_INSETS is defined.
14770 * other file: changes because of the above.
14772 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14774 * lyxparagraph.h: rename next to next_, previous to previous_,
14775 make them private for NEW_INSETS. Rename Next() to next(),
14776 Previous() to previous().
14778 * other files: changes because of the above.
14780 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14783 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14786 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14788 * main.C (main): pass lyx_localedir to gettext_init().
14790 * gettext.h: remove locale_init and gettext_init macros
14792 * gettext.C (locale_init): new function
14793 (gettext_init): new function
14795 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14798 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14800 * Moved credits to frontends:
14801 * credits.[Ch]: removed
14802 * credits_form.[Ch]: removed
14803 * lyx_gui_misc.C: remove credits stuff
14806 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14808 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14810 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14811 unneeded destructor.
14813 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14814 a standalone pointer again.
14816 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14818 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14824 * ToolbarDefaults.C:
14833 * BufferView_pimpl.C: use new file dialog in GUII
14836 * lyx_cb.C: remove LayoutsCB to Toolbar
14838 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * ShareContainer.h (get): add std:: qualifier
14842 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14844 * ShareContainer.h: define a proper ShareContainer::value_type
14845 type (and use typename to please compaq cxx)
14847 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14849 * lyxparagraph.h: move serveral local vars to
14850 ParameterStruct/ParagraphParameters., use ShareContainer in
14851 FontTable., make vars in FontTable private and add getter and
14854 * paragraph.C: changes because of the above.
14856 * lyxfont.h: remove copy constructor and copy assignment. (the
14857 default ones is ok), move number inside FontBits. move inlines to
14860 * lyxfont.C: add number to initializaton of statics, move several
14861 inlines here. constify several local vars. some whitespace
14862 cleanup. Dont hide outerscope variables.
14864 * Spacing.h: add two new constructors to match the set methods.
14866 * ShareContainer.h: new file, will perhaps be moved to support
14868 * ParameterStruct.h: new file
14870 * ParagraphParameters.h: new file
14872 * ParagraphParameters.C: new file
14874 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14875 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14877 * BufferView_pimpl.C: ParagraphParameter changes.
14878 * buffer.C: Likewise.
14879 * bufferview_funcs.C: Likewise.
14880 * text.C: Likewise.
14881 * text2.C: Likewise.
14883 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14885 * lyxfind.C (LyXReplace): do not redefine default argument in
14887 (IsStringInText): ditto
14888 (SearchForward): ditto
14889 (SearchBackward): ditto
14891 2001-03-06 Juergen Vigna <jug@sad.it>
14893 * lyxfind.C (IsStringInText): put parentes around expressions.
14895 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14897 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14899 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14901 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14903 * stl_string_fwd.h: add comment
14905 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14908 * tabular.C: remove unused DocBook methods
14914 killed DO_USE_DEFAULT_LANGUAGE
14916 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14918 * lyx_gui.C: do not include language.h.
14920 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14921 arguments in function implementation.
14923 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14925 * BufferView_pimpl.C: add <ctime>
14927 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14929 * BufferView_pimpl.C: add using std::find_if
14931 2001-02-27 José Matos <jamatos@fep.up.pt>
14933 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14936 2001-02-11 José Matos <jamatos@fep.up.pt>
14938 * buffer.C (makeDocBookFile): command styles now have a parameter as
14939 "title" by default.
14941 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14943 * layout_forms.[Ch]: removed
14944 * lyx_cb.[Ch]: out character
14945 * lyx_gui.C: out character
14946 * lyx_gui_misc.C: out character
14947 * bufferview_funcs.C: : out character,
14948 added toggleall as parameter in ToggleAndShow
14950 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14952 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14954 * text2.C (SetCurrentFont): Disable number property at boundary.
14956 2001-02-26 Juergen Vigna <jug@sad.it>
14958 * lyxfunc.C (getStatus): added a string argument override function so
14959 that this is correctly called from LyXFunc::Dispatch if it contains a
14960 do_not_use_argument which is used!
14961 (Dispatch): added check for "custom" export and call appropriate func.
14963 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14965 * lyxrc.C: Add language_command_local, language_use_babel and
14966 language_global_options.
14968 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14970 * buffer.C (makeLaTeXFile): Use language_use_babel and
14971 language_global_options.
14973 2001-02-23 Juergen Vigna <jug@sad.it>
14975 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14976 which works with LyXText and putted it inside BufferView. Here now we
14977 only call for that part the BufferView::Dispatch() function.
14979 * BufferView.C (Dispatch): added.
14981 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14982 functions which needs to use a LyXText over from LyXFunc.
14983 (MenuInsertLyXFile): added
14984 (getInsetByCode): added
14985 (moveCursorUpdate): added
14986 (static TEXT): added
14988 2001-02-22 Juergen Vigna <jug@sad.it>
14990 * BufferView_pimpl.C (update): call a status update to see if LyXText
14993 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14995 * vc-backend.C (revert): implement for CVS
14996 (getLog): implement for CVS
14998 2001-02-20 Juergen Vigna <jug@sad.it>
15000 * text2.C (ClearSelection): added BufferView param for inset_owner call
15002 * lyxfunc.C (TEXT): added this function and use it instead of
15003 directly owner->view()-text of getLyXText().
15005 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15007 * src/layout_forms.C: out preamble
15008 * src/layout_forms.h: out preamble
15009 * src/lyx_cb.C: out preamble
15010 * src/lyx_cb.h: out preamble
15011 * src/lyx_gui.C: out preamble
15012 * src/lyx_gui_misc.C: out preamble
15013 * src/lyxfunc.C: connect with guii preamble
15015 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15017 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15019 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15021 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15022 whether to run bibtex.
15024 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15026 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15028 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15030 * Makefile.am (lyx_SOURCES): removed bibforms.h
15032 * vspace.h: doxygen
15034 * text.C (GetVisibleRow): make several local vars const
15036 * tabular.C: small cleanup.
15038 * lyxserver.C (callback): use compare instead of strncmp
15040 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15041 inlines to after class or to paragraph.C
15043 * lyxfont.h: remove friend operator!=
15045 * converter.h: move friend bool operator< to non friend and after
15048 * combox.h: small cleanup
15050 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15051 to inlines after class def.
15053 * buffer.C (pop_tag): use string operations instead of strcmp
15055 * bmtable.c: doxygen, small cleanup
15057 * LaTeX.h: remove friend operator==
15059 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15071 * BufferView_pimpl.C:
15072 * BufferView.[Ch]: remove cruft
15074 2001-02-14 Juergen Vigna <jug@sad.it>
15076 * lyxfunc.C: removed #if 0 unused code
15078 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15080 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15082 * text2.C (SetSelection): added a BufferView * parameter
15084 2001-02-13 Juergen Vigna <jug@sad.it>
15086 * lyxfunc.C (Dispatch): fixed protected blank problem.
15087 * BufferView2.C (protectedBlank): added LyxText * parameter.
15089 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15090 (AppendColumn): same as above for column_info.
15092 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15093 (moveCursorUpdate): use a LyXText param for support of InsetText.
15095 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15096 (tripleClick): ditto
15098 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15100 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15102 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15104 * text2.C (SetSelection): set correct update status if inset_owner
15105 (ToggleFree): ditto
15107 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15109 * tabular.C: remove some commented code.
15111 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15113 * BufferView_pimpl.C: call hideSplash()
15115 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15118 * bibforms.h: remove
15121 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15122 add LFUN_CHILD_CREATE
15124 * counters.h: fix tiny typo
15129 * lyx.C: move splash to frontends/xforms/
15131 * lyx_gui_misc.C: move Include and Bibform to frontends
15133 * lyxvc.h: clarify comment
15135 * vspace.C: tiny housekeeping
15137 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15139 * text.C (PrepareToPrint): RTL Fix.
15141 * paragraph.C (GetUChar): New method.
15142 (String): Use GetUChar.
15144 * buffer.C (asciiParagraph): Use GetUChar.
15146 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15148 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15150 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15153 * buffer.C: rename to getLogName(), handle
15154 build log / latex log nicely
15156 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15159 * MenuBackend.h: remove support for reference menuitem type.
15161 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15163 * BufferView_pimpl.C: housekeeping
15164 * BufferView_pimpl.h:
15169 * minibuffer.h: move Timeout GUI-I
15171 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15173 * lyxrc.C (read): Update converters data-structures.
15175 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15177 * LaTeX.h (operator!=): add operator != for Aux_Info
15179 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15181 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15183 * LaTeXLog.C: deleted, useful code moved to Buffer
15186 * buffer.C: new function getLatexLogName()
15192 * lyxfunc.C: use frontends for LaTeX and VC logs
15194 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15196 * LaTeX.h: yet another std:: that Allan forgot.
15198 * Variables.C (set): renamed from isset(), because this clashes
15199 with some HP-UX macros (grr).
15201 2001-02-06 Allan Rae <rae@lyx.org>
15203 * LaTeX.h: Another bug fix. Missing std:: this time.
15205 2001-02-04 Allan Rae <rae@lyx.org>
15207 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15208 floats problem. I've left it commented out because it's not quite
15209 correct. It should also test that the current object is a table or
15210 figure inset. But I haven't gotten around to figuring out how to do
15211 that. I *think* it'll be something like: "table" == inset.type()
15213 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15216 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15218 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15219 all the citation/databases/styles in the auxilary file.
15220 (run): Rerun latex if there was a babel language error.
15222 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15224 * text.C (Backspace): Preserve the font when changing newline char
15226 (BreakParagraph): If the cursor is before a space, delete the space.
15228 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15230 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15232 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15233 new argument (code).
15234 (ChangeCitationsIfUnique): New method.
15236 * paragraph.C (GetPositionOfInset): Handle bibkey.
15238 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15240 * BufferView_pimpl.h: change type of Position::par_pos to
15241 LyXParagraph::size_type.
15243 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15245 * BufferView_pimpl.C (savePosition, restorePosition): Write
15246 messages to minibuffer.
15248 2001-01-28 José Matos <jamatos@fep.up.pt>
15250 * buffer.C (makeDocBookFile): adds support for document language.
15251 A silly restriction on the name of LatexCommand types where removed.
15252 Added support for CDATA sections, allows to chars unescaped, used
15253 among others in code, to avoid escape < and >.
15255 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15257 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15258 saved positions instrad of a stack. Furthermore, a position is
15259 stored using paragraph id/paragraph position.
15261 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15262 Remove LFUN_REF_BACK.
15264 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15266 * converter.C (dvipdfm_options): New method.
15268 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15270 * vspace.C (isValidLength): Fix for empty input string.
15272 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * LyXAction.C (init): change description of LFUN_FIGURE to
15277 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15279 * LaTeX.C: add using directive
15281 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15283 * MenuBackend.C (expand): Fix the sorting of the formats.
15285 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15287 * lyx_main.C: tiny error message fix
15289 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15291 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15292 calling fl_initialize(). This fixes the problem with ',' as
15293 decimal separator in text files.
15295 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15297 * trans.C (process): Fix the keymap bug.
15299 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15301 * LaTeX.C (scanAuxFiles): New method. Provides support for
15302 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15303 (scanLogFile) Scan for "run BibTeX" messages.
15305 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15306 OT1 font encoding. Also, load the aecompl package if the ae
15309 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15311 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15313 * texrow.C (increasePos): turn two error messages into debug
15316 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15318 * LaTeX.C (scanAux): Handle the \@input macro.
15319 (runBibTeX): Use scanAux().
15321 * language.C (latex_options_): New field.
15323 * LaTeXFeatures.C (getMacros): Add language macros.
15325 * buffer.C (makeLaTeXFile): Small fix.
15327 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15329 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15331 * text2.C: add a using directive.
15333 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15338 * lyxfunc.C: kill LyXBell.
15340 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15342 * text.C (IsBoundary): Remove the error message
15344 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15346 * lyxrc.C (setDefaults): Correct initialization value for
15349 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15351 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15354 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15355 and GotoNextNote().
15357 * src/LyXAction.C: Added reference-next.
15359 * text.C (InsertChar): Use contains instead of strchr.
15361 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15363 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15365 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15366 alignment commands (when needed).
15368 * text.C (InsertChar): Add ':' to number separator chars.