1 2004-03-31 Angus Leeming <leeming@lyx.org>
3 * lyxfunc.C (dispatch): Fall through to the generic
4 Dialogs::show("preamble").
6 2004-03-31 Angus Leeming <leeming@lyx.org>
8 * lyxfunc.C (dispatch): Fall through to the generic
9 Dialogs::show("spellchecker").
11 2004-03-31 Angus Leeming <leeming@lyx.org>
13 * lyxfunc.C (getStatus, dispatch): changed invocation of the
16 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
26 * undo.[Ch]: s/DocumentIterator/DocIterator/g
28 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
30 * BufferView.C (setCursor, putSelectionAt): call edit to open the
31 insets where we are putting the cursor.
33 2004-03-31 Angus Leeming <leeming@lyx.org>
36 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
38 * lyxrc.[Ch] (read, write): overloaded member functions taking
39 a std::[io]stream arguments.
41 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
43 2004-03-31 Angus Leeming <leeming@lyx.org>
45 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
46 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
48 * lyxtextclass.C (load): if the text class couldn't be loaded, then
49 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
51 2004-03-31 Angus Leeming <leeming@lyx.org>
53 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
54 the LFUN_ALL_INSETS_TOGGLE code.
56 2004-03-30 Angus Leeming <leeming@lyx.org>
58 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
59 has died. Fall through to the generic Dialogs::show("document").
61 2004-03-30 Angus Leeming <leeming@lyx.org>
64 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
65 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
67 * lyxfunc.C (getStatus, dispatch): define the actions for these
68 lfuns. Little more than a cut and pste job from ControlDocument.C
70 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
72 2004-03-30 Angus Leeming <leeming@lyx.org>
75 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
76 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
78 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
79 open/closed state of ollapsable insets. Usage:
81 all-inset-toggle <state> <name>, where
82 <state> == "open" || "closed" || "toggle" and
83 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
85 * lyxtext.h, text2.C (toggleInset): removed.
87 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
88 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
89 now passes LFUN_INSET_TOGGLE to the found inset.
91 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
92 is now invoked as "all-insets-toggle toggle branch".
94 2004-03-30 Angus Leeming <leeming@lyx.org>
98 * pariterator.[Ch]: added/corrected header blurb.
100 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
102 * dociterator.[Ch]: add an inset_ member
103 (backwardPos): implemented
104 (backwardPos, forwardPos): use inset_ when the stack is empty.
105 (doc_iterator_begin, doc_iterator_end): implemented
106 * pariterator.[Ch]: adjust, add begin, end
107 * insetiterator.[Ch]: adjust, add begin, end
111 * BufferView_pimpl.C:
112 * CutAndPaste.C: adjust
114 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
116 * buffer.C: increment file format to 232.
117 * LaTeXFeatures.C: add bibtopic package.
118 * bufferparams.[Ch]: param \use_bibtopic.
120 * lyxrc.[Ch]: add lyxrc bibtex_command
121 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
123 * buffer.C: increment file format to 231.
125 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
127 * dociterator.C: implement forwardPar
128 * iterators.[Ch]: remove, replaced by
129 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
131 * BufferView_pimpl.C:
134 * bufferview_funcs.C:
140 * Makefile.am: adjust
142 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
144 * CutAndPaste.C (pasteSelection): fix 2 crashes
145 (eraseSelection): fix a crash
146 * paragraph_funcs.C: remove a warning
148 2004-03-28 Angus Leeming <leeming@lyx.org>
151 * LyXAction.C (init): new LFUN_PRINT.
153 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
155 2004-03-27 Angus Leeming <leeming@lyx.org>
158 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
160 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
162 2004-03-27 Angus Leeming <leeming@lyx.org>
164 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
165 insetlist always contains non-null pointers to insets.
167 2004-03-26 Angus Leeming <leeming@lyx.org>
169 * src/BufferView_pimpl.C:
173 * src/output_plaintext.C:
174 * src/outputparams.h:
175 * src/paragraph_funcs.C:
179 * src/frontends/controllers/ControlErrorList.C:
180 * src/frontends/gtk/FileDialogPrivate.C:
181 * src/frontends/gtk/GPainter.C:
182 * src/frontends/gtk/GToolbar.C:
183 * src/frontends/qt2/QRef.C:
184 * src/mathed/math_scriptinset.C: squash compiler warnings.
186 2004-03-26 Angus Leeming <leeming@lyx.org>
188 * ispell.C (LaunchIspell::start):
189 * lyx_cb.C (AutoSaveBuffer::start):
190 invoke run(DontWait) rather than runNonBlocking().
192 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
194 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
196 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * kbsequence.C (print): adjust
200 * kbmap.C (printKeySym): rename and change signature
201 (printKey): use LyXKeySym::print()
203 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
205 * undo.C: add using std::advance to compile for stlport
207 2004-03-24 Angus Leeming <leeming@lyx.org>
209 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
210 it leads to a crash when no buffer is present.
212 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 Martin Vermeer <martin.vermeer@hut.fi>
215 * lyxfunc.C (dispatch):
216 * bufferparams.C (readToken): use the new LColor::setColor
218 * LColor.[Ch] (setColor): new version that takes two strings as
219 argument and creates a new color entry if necessary
221 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
223 * buffer.C (makeLaTeXFile): if the main latex file that is
224 processed is usually a subdocument of some master, then pretend
225 for a while that it is actually the master
227 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
229 * buffer.C (getLabelList):
230 (getBibkeyList): use getMasterBuffer()
231 (getMasterBuffer): new method. Returns the main document in the
232 case where one is using included documents.
234 2004-03-25 André Pönitz <poenitz@gmx.net>
238 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
240 * ParagraphList_fwd.h: change ParagraphList to a std::vector
242 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
243 text*.C over here. Rename namespace CutAndPaste to lyx::cap
245 * ParameterStruct.h: merge with ParagraphParameters
247 * lyxtext.h: remove LyXText::parOffset() and getPar()
249 * text3.C: Remove all 'manual' update calls. We do now one per user
250 interaction which is completely sufficient.
254 * BufferView_pimpl.C:
257 * ParagraphParameters.[Ch]:
269 * output_docbook.[Ch]:
271 * output_linuxdoc.[Ch]:
272 * output_plaintext.[Ch]:
274 * paragraph_funcs.[Ch]:
275 * paragraph_pimpl.[Ch]:
283 * frontends/controllers/ControlDocument.C:
284 * frontends/controllers/ControlErrorList.C:
285 * frontends/controllers/ControlSpellchecker.C:
288 * insets/insetbase.h:
289 * insets/insetbibitem.C:
291 * insets/insetbranch.C:
292 * insets/insetcaption.C:
293 * insets/insetcharstyle.C:
294 * insets/insetcharstyle.h:
295 * insets/insetcollapsable.C:
296 * insets/insetcollapsable.h:
298 * insets/insetfloat.C:
299 * insets/insetfoot.C:
300 * insets/insetmarginal.C:
301 * insets/insetnote.C:
302 * insets/insetoptarg.C:
303 * insets/insettabular.C:
304 * insets/insettext.C:
305 * insets/insettext.h:
306 * insets/insetwrap.C:
307 * mathed/math_mboxinset.C:
308 * mathed/math_nestinset.C:
309 * mathed/math_scriptinset.C:
310 * mathed/math_scriptinset.h:
313 2004-03-24 Angus Leeming <leeming@lyx.org>
315 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
316 deal with any child processes that have finished but are waiting to
317 communicate this fact to the rest of LyX.
319 2004-03-24 Angus Leeming <leeming@lyx.org>
321 64-bit compile fixes.
323 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
324 (c-tor): pass lyx::pos_types rather than ints.
326 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
329 * text.C (Delete): compile fix.
330 (getPar): ensure that function declaration is the same as that in
333 2004-03-23 Angus Leeming <leeming@lyx.org>
335 * ispell.C (LaunchIspell):
336 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
337 a boost::shred_ptr rather than a std::auto_ptr.
339 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * lyxfunc.C (getStatus): handle read-only buffers correctly;
342 handle LFUN_FILE_INSERT_*
344 * lyxrc.C (setDefaults, getDescription, output, read):
345 * lyxrc.h: remove ps_command
347 2004-03-22 Angus Leeming <leeming@lyx.org>
349 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
350 Ensure that error_handler is processed once only and that all data
351 is saved before attempting to output any warning messages.
353 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
355 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
357 * tabular.C (TeXRow): crash fix (from Kayvan and André)
359 2004-03-19 André Pönitz <poenitz@gmx.net>
361 * cursor.[Ch] (reset): take main text inset as argument
364 * BufferView_pimpl.C: adjust
366 * paragraph.[Ch]: fix completely broken operator=()
368 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * LColor.C (getFromLyXName): make sure that the color name is used
373 2004-03-17 Angus Leeming <leeming@lyx.org>
376 * LyXAction.C (init): remove LFUN_FORKS_KILL.
378 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
379 dialog and to kill a forked process.
381 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
383 * text2.C (setCursorFromCoordinates): fix font problem
385 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
387 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
388 bogus "rebuild cursor" code
390 2004-03-11 André Pönitz <poenitz@gmx.net>
392 * buffer.[Ch]: use InsetText instead of LyXText as container for
395 * dociterator.[Ch]: drop the BufferView * member which is not needed
396 anymore after the change to buffer.C
402 * BufferView_pimpl.[Ch]:
404 * cursor_slice.[Ch]: adjust
406 * text3.C: fix bug in mathDispatch
408 2004-03-08 André Pönitz <poenitz@gmx.net>
410 * undo.[Ch]: use 'StableDocumentIterator' as base for
413 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * bufferparams.[Ch]: add jurabib support and param.
418 * LaTeX.C: add FIXME/comment.
420 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * buffer.C: increment file format to 230.
424 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
426 * cursor.C (dispatch): avoid infinite loops
428 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
430 * rowpainter.C (paintSelection): fix x coordinates
432 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
434 * text.C (rowBreakPoint): fix breaking before displayed insets
436 2004-03-01 André Pönitz <poenitz@gmx.net>
438 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
440 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
444 * BufferView_pimpl.C:
452 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
458 * BufferView_pimpl.C: rename textwidth -> maxwidth,
459 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
461 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
463 * Bidi.[Ch] (computeTables): const correctness
464 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
465 fill_hfill, fill_label_hfill and x from Row
466 * lyxtext.h: prepareToPrint returns a RowMetrics
467 * rowPainter.C: adjust
468 * text.C (prepareToPrint): use width, not textWidth. adjust
469 (redoParagraphInternal, cursorX): adjust
470 * text2.C (getColumnNearX): adjust
471 (init): put a default value to the top LyXText::width
473 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
475 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
477 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
479 * lyxtext.h: add FontIterator class
481 * text.C (FontIterator, operator*, operator->, operator++): add
482 (rowBreakPoint, setRowWidth): adjust (fixing a
485 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
487 * BufferView_pimpl.C (workAreaDispatch): allow also
488 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
490 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
492 * text.C (rowBreakPoint): fix a bug showing with very large insets
494 2004-02-25 André Pönitz <poenitz@gmx.net>
497 * cursor.[Ch]: move some mathed specific code to mathed
499 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
501 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
502 use_tempdir in preferences
503 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
505 * lyx_main.C: ensure that tempdir is valid
506 * lyxlex.h: correct typo
507 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
508 * paragraph.[Ch] (isMultiLingual): make const
509 * cursor.[Ch] (openable): make const
511 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
513 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
515 2004-02-20 André Pönitz <poenitz@gmx.net>
517 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
519 * cursor.[Ch]: prepare for localized getStatus()
525 * text3.C: streamlines the LyXText cursor movement handlers a bit.
527 2004-02-20 André Pönitz <poenitz@gmx.net>
529 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
531 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
533 * text2.C (setCursorFromCoordinates): switch to absolute coords
536 * text3.C (dispatch): adjust
538 2004-02-16 André Pönitz <poenitz@gmx.net>
540 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
543 * cursor_slice.[Ch]: remove unneeded acessor function
545 * lyxtext.h: rename rtl() to isRTL()
553 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
555 * rowpainter.C (paintSelection): coord fix
557 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
559 * Spacing.C: compile fix
561 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
563 * cursor.C (dispatch): restore current_ before returning
565 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
567 * text2.C (cursorUp, cursorDown): fix coords
570 2004-02-12 André Pönitz <poenitz@gmx.net>
575 * text3.C: add LCursor & parameter to most cursor movement functions
576 remove usage of LyXText::cursorRow() and cursorPar()
578 * cursor.[Ch]: add textRow() needed members
581 * BufferView_pimpl.C:
584 * BufferView_pimpl.C: adjust
586 2004-02-11 André Pönitz <poenitz@gmx.net>
590 * BufferView_pimpl.C: shift undo/redo handling
592 * cursor.[Ch]: fix mathed crash
595 * lyxtext.h: move selectionAsText to LCursor
603 * rowpainter.C: fix excessive drawing
605 2004-02-06 André Pönitz <poenitz@gmx.net>
608 * BufferView_pimpl.[Ch]:
609 * text3.C: move some text specific LFUN handling
611 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
613 * text3.C (checkInsetHit): adjust coords
614 * text2.C (getColumnNearX): adjust coords
615 (edit): adjust coords
616 * text.C (getRowNearY): add two asserts
618 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
621 * format.C: add using std::distance to compile on gcc 2.95/stlport
623 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
625 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
627 2004-02-04 André Pönitz <poenitz@gmx.net>
629 * BufferView.[Ch] (insertInset):
630 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
635 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
637 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
638 on the default clause of the switch
639 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
640 wasn't catched by LCursor::dispatch
642 2004-02-03 André Pönitz <poenitz@gmx.net>
645 * cursor.[Ch]: some additional asserts
647 * undo.[Ch]: remove LyXText dependency in interface
651 * lyxtext.h (firstPar, lastPar): remove dead functions
656 * paragraph.[Ch]: adjust
658 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
660 * lyxfind.C (find): fix argument order in call to ::find
662 2004-02-02 André Pönitz <poenitz@gmx.net>
664 * cursor.[Ch]: remove direct access to anchor
666 * text.C: remove findText() hack
668 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
670 * iterators.[Ch] (lockPath): remove in favour of...
671 * BufferView.[Ch] (setCursor): this addition
672 * BufferView.C (putSelectionAt): adjust
673 * undo.C (performUndoOrRedo): adjust
674 * lyxfunc.C (dispatch): adjust
676 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
678 * iterators.C (lockPath): add a missing slice
679 * undo.C (performUndoOrRedo): remove redundant positioning code
681 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
683 * vc-backend.C (scanMaster): ";" -> ';'
685 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
687 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
690 * lyxtextclass.C (compare_name): rename to...
691 (LayoutNamesEqual): ...this
693 * lyxlex_pimpl.C (compare_tags): inherit from
694 std::binary_function, put back into anon namespace
696 * lyxfind.C (MatchString): inherig from std::binary_function
697 (findChange): use empty() istead of !size()
699 * format.C (FormatNamesEqual): new functor
706 * converter.C (compare_Converter): rename to...
707 (ConverterEqual): ...this, and fixup a bit.
708 (getConverter): use it, and make function const
709 (getNumber): use it, and make function const
713 * bufferlist.C: add using boost::bind
715 * MenuBackend.C (MenuNamesEqual): new functor
716 (hasMenu): use it, and make function const
717 (hasSubmenu): use nested bind to get rid of compare_memfun.
719 2004-01-30 André Pönitz <poenitz@gmx.net>
721 * BufferView_pimpl.C:
732 * text3.C: move some of the edit(x,y) handling to the insets
733 some coordinate changes.
735 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
737 * text.C: add using statements for std::advance and std::distance
739 * paragraph.C: add using statement for std::distance
741 * lyxfind.C: add using statement for std::advance
743 * cursor.C (region): remove std:: from swap
744 (openable): use nucleus in stead of operator->
746 * BufferView.C: add using statements for std::distance and std::swap
748 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
750 * iterators.C: Remove the pimple, move the needed structures to
751 the header file. Create accessor for the positions stack.
752 (asPosIterator): remove function
754 * PosIterator.C (PosIterator): move constructors to top of file
755 (PosIterator): reimplement the constructor taking a ParIterator in
757 (setFrom): new function
758 (operator!=): inline it
760 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
762 * lyxfind.C (replaceAll): use std::advance
764 * iterators.h: inherit from std::iterator.
766 * PosIterator.C (advance, distance): remove
767 * PosIterator.h: interit from std::iterator.
769 2004-01-26 André Pönitz <poenitz@gmx.net>
772 * BufferView_pimpl.[Ch]:
776 * bufferview_funcs.C:
787 * output_plaintext.C:
789 * paragraph_funcs.[Ch]:
790 * paragraph_pimpl.[Ch]:
796 * text3.C: more IU: dumps most of the rest of the mathcursor
797 implementation into cursor.[Ch]; "globalize" a bit of it.
799 2004-01-25 Angus Leeming <leeming@lyx.org>
801 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
803 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
805 * LaTeXFeatures.h: add nice_ and nice() const
806 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
808 2004-01-20 André Pönitz <poenitz@gmx.net>
811 * BufferView_pimpl.C:
813 * bufferview_funcs.C:
826 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
827 LCursor and mathcursor parts to LCursor and InsetBase.
829 2004-01-15 André Pönitz <poenitz@gmx.net>
831 * cursor_slice.[Ch]: add a few covienience functions
833 * funcrequest.[Ch]: remove BufferView * member
835 * BufferView_pimpl.C:
842 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
844 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
846 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
847 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
849 2004-01-13 André Pönitz <poenitz@gmx.net>
852 * lyxtext.h: hide cursor and selection anchor behind accessor function
855 * BufferView_pimpl.[Ch]:
857 * bufferview_funcs.C:
867 * cursor_slice.[Ch]: some integer type changes for inset unification
869 * lyxcursor.[hC]: remove, it's CursorSlice now.
872 * BufferView_pimpl.[Ch]:
873 * bufferview_funcs.C:
879 * textcursor.[Ch]: adjust
881 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
883 * text2.C (undoSpan): add and use
884 * text.C (breakParagraph): use undoSpan (fix bug 578)
887 2004-01-08 Angus Leeming <leeming@lyx.org>
889 * BufferView_pimpl.C (MenuInsertLyXFile):
890 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
891 * lyxfunc.C (menuNew, open, doImport):
892 FileFilterList change to the FileDialog open and save functions.
894 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
896 * ShareContainer.h: make isEqual and isUnique adaptable
898 * CutAndPaste.C: make resetOwnerAndChanges adaptable
900 2004-01-07 Angus Leeming <leeming@lyx.org>
903 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
905 * BufferView_pimpl.C (dispatch): act on these LFUNs.
907 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
908 functions replacing find, replace and replaceAll.
910 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
911 LFUN_WORDFIND(FORWARD|BACKWARD).
913 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
915 * text.C (breakParagraph): remove an outdated #warning
917 2004-01-07 André Pönitz <poenitz@gmx.net>
919 * lyxfind.C: somewhat clearer logic
921 * text.C: prevent crash in cursorX on unitialized row cache
923 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
925 * lyxcursor.[Ch] (operator>): add
926 * textcursor.C (selStart, selEnd): use std::min and std::max
928 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
930 * Chktex.C: include boost/format.hpp
932 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
934 * InsetList.C: replace functor MathcIt with adaptable functor
936 (insetIterator): modify accordingly
938 * BranchList.h: move the BranchNamesEqual functor here from...
939 * BranchList.C: ... to here
941 * BranchList.C: new BranchListEqual fuctor, use it. Remove
943 (add): replace a finding loop with std::find_if.
945 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
947 * output_docbook.C: moving LatexParam functionality into
950 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
952 * buffer.C: increment format to 229.
954 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
957 * lyx_sty.[Ch]: remove minipageindent_def
963 * text3.C: remove LFUN_INSET_MINIPAGE
965 2003-12-28 Angus Leeming <leeming@lyx.org>
967 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
969 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
971 * text2.C (setParagraph): fix off-by-one crash
973 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
975 * output_docbook.C: header stuff for AGU
977 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
979 * text2.C (redoCursor): remove
982 * BufferView_pimpl.C: remove calls to redoCursor and
983 setCursor(cursor.par(), cursor.pos()) all around
985 2003-12-15 Angus Leeming <leeming@lyx.org>
987 * buffer.C: up the format to 228.
989 2003-12-15 André Pönitz <poenitz@gmx.net>
991 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
996 * BufferView_pimpl.C:
1005 2003-12-15 Angus Leeming <leeming@lyx.org>
1007 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1008 than getFromGUIName to manipulate the color.
1010 2003-12-14 Angus Leeming <leeming@lyx.org>
1012 * BranchList.[Ch]: minimize the API.
1013 (Branch::getBranch, getColor): now return a 'const &'.
1014 (Branch::setSelected) now returns a bool set to true if the
1015 selection status changes.
1016 (BranchList::clear, size, getColor, setColor, setSelected,
1017 allBranches, allSelected, separator): removed.
1018 (BranchList::find): new functions, returning the Branch with
1020 (BranchList::add, remove): return a bool indicating that
1021 the operation was successful.
1023 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1024 new InsetBranch::isBranchSlected member function.
1026 * LColor.[Ch]: mimimize the API.
1027 (fill): renamed as addColor and made private.
1028 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1029 versions of these functions taking a string arg have been removed.
1031 * bufferparams.C (readToken):
1032 * lyxfunc.C (dispatch):
1033 * lyxrc.C (read): changes due to the altered BranchList and
1036 * factory.C (createInset, readInset): changes due to altered
1039 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1042 * lyxfunc.C: remove insetminipage. "minipage-insert"
1043 now produces a frameless minipage box inset.
1045 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1047 * textcursor.[Ch] (selStart,selEnd): add new methods
1048 remove selection::start, end, use LyXCursor::operator<
1049 * lyxcursor.[Ch] (operator<): add
1050 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1051 * BufferView.[Ch] (unsetXSel): add
1052 * text2.C (clearSelection): use unsetXSel,adjust
1055 * rowpainter.C: adjust
1056 * bufferview_funcs.C (put_selection_at): adjust
1058 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1060 * BufferView_pimpl.C: small coord. correction
1062 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1064 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1065 dragging over the splash screen.
1067 2003-12-11 Angus Leeming <leeming@lyx.org>
1069 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1070 as it is now handled in LyXText::dispatch.
1072 * text3.C (doInsertInset): remove a level of nesting.
1074 2003-12-11 Angus Leeming <leeming@lyx.org>
1076 * factory.C (createInset): changes due to the changed interface to
1077 InsetCommandMailer::string2params.
1079 2003-12-10 Angus Leeming <leeming@lyx.org>
1081 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1082 'dialog-show-new-inset <inset name>'
1084 2003-12-10 Angus Leeming <leeming@lyx.org>
1086 * buffer.C: up the format to 227.
1088 * factory.C: the box inset is now identified simply by 'Box'.
1090 2003-12-10 Angus Leeming <leeming@lyx.org>
1092 * buffer.C: up the format to 226.
1094 * factory.C: the note inset is now identified simply by 'Note'.
1096 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1098 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1099 when a pit is enough. Standarize a couple of loops.
1101 2003-12-05 Angus Leeming <leeming@lyx.org>
1103 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1104 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1105 data to the re-worked "log" dialog.
1107 2003-12-03 André Pönitz <poenitz@gmx.net>
1113 * paragraph_funcs.C:
1115 * text2.C: use Inset::getText instead of Inset::getParagraph
1117 2003-12-03 André Pönitz <poenitz@gmx.net>
1121 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1122 InsetText::read() as LyXText::read()
1124 2003-12-02 Angus Leeming <leeming@lyx.org>
1126 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1127 type. Add a comment in the implementation that the function uses
1128 the stream's bad() function rather than fail() as the std::streams
1131 2003-12-02 André Pönitz <poenitz@gmx.net>
1133 * lyxlex.[Ch]: make interface more similar to std::stream
1135 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1137 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1139 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1141 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1143 * vspace.[Ch]: remove VSpace::NONE
1145 2003-12-01 André Pönitz <poenitz@gmx.net>
1148 * lyxtext.h: move ParagraphList member to LyXText
1149 rename LyXText::ownerParagraphs to LyXText::paragraph
1152 * bufferview_funcs.C:
1162 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1164 * undo.C: fix cursor positioning
1166 2003-12-01 John Levon <levon@movementarian.org>
1168 * BufferView_pimpl.C: fix a crash on exit with
1171 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1173 * BranchList.C: fix setSelected() method.
1175 2003-11-28 André Pönitz <poenitz@gmx.net>
1177 * ParagraphParameters.[Ch]:
1178 * ParameterStruct.h: remove space above/below from Paragraph to
1181 * BufferView_pimpl.C:
1187 * paragraph_funcs.C:
1193 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1195 * factory.C: Syntax change for CharStyles
1197 2003-11-28 André Pönitz <poenitz@gmx.net>
1202 * buffer.[Ch]: move LyXText member
1204 2003-11-28 André Pönitz <poenitz@gmx.net>
1206 * BufferView.[Ch]: make LyXText * text a private member
1208 * BufferView_pimpl.C:
1219 * output_plaintext.C: cleanup
1221 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1224 * lyxtextclass.[Ch]: parametrize SGML document header
1226 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1229 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1232 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1234 * text2.C (setFont): rework using PosIterator (no more recursive)
1235 (setCharFont): no more needed
1236 (setLayout): no more selection cursors fiddling (done by redoCursor)
1237 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1238 destroy remaining ones)
1240 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1242 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1244 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1247 * text3.C: adjust + re-allow multi par depth changes
1248 * textcursor.C: simplify a bit
1250 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1256 * src/output_docbook.C:
1257 * src/output_latex.C:
1262 * src/text2.C: Introducing a number of tags parametrizing various
1263 XML formats that we may want to support
1265 2003-11-25 André Pönitz <poenitz@gmx.net>
1267 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1269 * lyxtext.h (leftMargin/rightMargin): simplify interface
1276 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1278 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1279 master file to any child files. Fixes bug 546.
1281 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1283 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1285 2003-11-24 André Pönitz <poenitz@gmx.net>
1287 * rowpainter.C: simplification
1289 * text2.C (updateCounters): remove call to redoParagraph on
1290 changed labels as this is far too expensive.
1292 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1294 * converter.C (convert): fix a crash: this function gets
1295 called with buffer == 0 from importer code.
1297 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1299 * text3.C (cursorPrevious): make sure that we do not compare
1300 iterators form different containers.
1303 * rowpainter.C (paintSelection): make sure that we do not compare
1304 iterators from different containers.
1306 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1307 iterators from different ParagraphList containers.
1310 * text2.C (LyXText): change order of initialization slightly
1311 (operator=): new function. copy all variables except cache_par_
1312 (moveUp): make sure that we do not compare iterators from
1313 different ParagraphList constainers.
1316 * text.C (firstPar): new function
1317 (lastPar): new function
1318 (endPar): new function
1320 * lyxtext.h: move things around and group public functions, public
1321 variables, private functions, private variables
1323 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1325 * factory.C: change call to InsetERT constructor to avoid
1326 additional invocation of method status
1327 * text2.C (toggleInset): remove redundant update() call
1328 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1329 instead of a Bufferview pointer
1331 2003-11-21 André Pönitz <poenitz@gmx.net>
1333 * rowpainter.C: simplification
1335 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1337 * text3.C (dispatch): make possible to extend a word/row selection
1340 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1342 * lyxtext.h: x0_,y0_ -> xo_,yo_
1343 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1344 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1345 * rowpainter.C (paintRows): paint full paragraphs
1347 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1349 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1352 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1354 * lyxtext.h: add x0_, y0_
1355 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1356 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1358 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1360 * text2.C (setCursorIntern): move the x_target update here *
1361 * text3.C: change some bv() to true/false in calls to
1362 cursorUp/Down/Right/Left
1363 * cursor.C: use helper function.
1365 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1367 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1368 * paragraph_funcs.[Ch]: correct comment
1369 * rowpainter.C: do not paint selections away from bv->cursor()
1370 Fix a long standing selection painting bug.
1371 * text3.C: generalize mouse-selection code to LyXTexts other that
1373 * textcursor.C: do not use y coords if we can use par offsets
1375 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1377 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1378 cursor position after e.g. inset insert)
1380 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1382 * lyxfind.C (replace): adjust to locking removal + some
1385 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1387 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1390 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1393 * output_docbook.C: XML sanitation: new layout
1394 parameters InnerTag and CommandDepth
1396 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1398 * BufferView_pimpl.C:
1400 * text3.C: Fix the insertion and modification of button-style
1403 2003-11-13 André Pönitz <poenitz@gmx.net>
1405 * InsetList.[Ch]: remove deleteLyXText
1407 * paragraph.[Ch]: cache beginOfBody position
1412 * text3.C: remove superfluous update() calls
1416 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1418 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1419 * BufferView.C (fitLockedInsetCursor): remove
1420 * cursor.[Ch] (getDim): add
1421 * text.C (getRowNearY): add faster version
1422 * text3.C: remove some update calls
1424 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1436 * text3.C: The Character Style /XML short element patch.
1438 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1441 * factory.C: Small step to solving 'unable to insert some insets'
1444 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1446 * cursor.[Ch] (updatePos): new function for updating the y
1447 position of the tip inset
1448 * bufferview_funcs.C (put_selection_at):
1449 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1451 2003-11-11 André Pönitz <poenitz@gmx.net>
1453 * text.C: remove big comment on invalid Paragraph pointers as it is
1456 2003-11-11 André Pönitz <poenitz@gmx.net>
1458 * text_funcs.[Ch]: merge with ...
1466 * Makefile.am: remove text_funcs.[Ch]
1468 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1470 * cursor.C (getPos): return absolute cached y coord
1472 * BufferView_pimpl.C (fitCursor): new simplistic code
1473 (workAreaDispatch): add a fitCursor call
1475 2003-11-10 André Pönitz <poenitz@gmx.net>
1478 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1480 2003-11-10 André Pönitz <poenitz@gmx.net>
1482 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1483 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1484 indicate that the cursor needs to leave an inset
1486 * lyxtext.h: remove inset locking
1488 * cursor.[Ch]: re-implement functionality provided by inset locking
1491 * BufferView_pimpl.[Ch]:
1493 * bufferview_funcs.[Ch]:
1505 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1507 * PosIterator.[Ch]: replace the stack with a vector, add inset
1509 * iterators.[C]: adjust
1511 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1513 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1515 * paragraph_funcs.C (readParToken): put the correct id in the
1516 error item, not the id of the top paragraph
1518 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1520 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1521 * bufferview_funcs.C (put_selection_at): use the above
1523 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1525 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1527 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1529 * output_linuxdoc.h:
1530 * output_plaintext.h:
1532 * output_docbook.h: add #include statements
1534 2003-11-05 José Matos <jamatos@lyx.org>
1536 * output_docbook.[Ch]:
1537 * output_latex.[Ch]:
1538 * output_linuxdoc.[Ch]:
1539 * output_plaintext.[Ch]: New files for output formats.
1540 * output.[Ch]: New file for helper functions.
1543 * paragraph_funcs.[Ch]: output functions moved to new files.
1545 * outputparams.h: rename of latexrunparams.h
1553 * paragraph_funcs.[Ch]:
1554 * paragraph_pimpl.[Ch]:
1555 * tabular.[Ch]: rename ascii to plaintext
1556 and LatexRunParams to OutputParams.
1558 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1560 * iterators.[Ch] (text): require bv argument
1561 * undo.C (recordUndo):
1562 * lyxfunc.C (dispatch):
1563 * bufferview_funcs.C (put_selection_at): adjust
1565 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1567 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1569 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1571 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1574 2003-11-04 André Pönitz <poenitz@gmx.net>
1576 * cursor.[Ch]: restructure
1579 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1581 * iterators.[Ch] (asCursor): remove
1583 * lfuns.h: remove LFUN_INSET_EDIT
1589 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1591 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1593 * lyxfind.[Ch]: complete overhaul
1594 * BufferView_pimpl.C:
1596 * paragraph.[Ch] (insert): add
1598 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1602 * text.C: remove dead spellcheck code
1604 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * dispatchresult.h: add a val setter
1608 * cursor.C (dispatch): use a tempvar for data_[i]
1610 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1612 * PosIterator.[Ch]: compile fix
1614 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1616 * text.C (cursorPar): deactivate the cursor cache
1618 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1620 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1622 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1624 * text3.C (dispatch): adjust for new DisptchResult semantics.
1626 * lyxfunc.C (dispatch): handle update when return from
1627 Cursor::dispatch, adjust for new DispatchResult semantics.
1629 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1630 DispatchResult(true) mean to not update. Add class functions for
1631 setting dispatched and update, as well as reading.
1633 * cursor.C (dispatch): don't handle update here
1635 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1637 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1638 * trans_mgr.C: adjust
1640 * paragraph_funcs.C (readParToken): exception safety
1642 * lyxvc.h: store the vcs pointer in a scoped_ptr
1645 * lyxsocket.C (serverCallback): exception safety
1647 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1649 * ispell.C (clone): make it return a auto_ptr
1651 * factory.C (createInset): exception safety
1652 (readInset): exception safety
1654 * bufferlist.C (newBuffer): exception safety
1656 * Thesaurus.C (Thesaurus): use initialization for aik_
1658 * MenuBackend.C (expandToc): exception safety.
1660 2003-11-03 André Pönitz <poenitz@gmx.net>
1664 * bufferview_funcs.C: remove getInsetFromId()
1667 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1673 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1675 * PosIterator.C (distance, advance): new
1676 * bufferview_funcs.[Ch] (put_selection_at): new
1677 * iterators.[Ch] (lockPath): new
1679 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1681 * iterators.[Ch] (asPosIterator): added
1682 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1683 * PosIterator.[Ch]: added
1685 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1689 * cursor.C (dispatch):
1690 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1692 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1693 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1694 contructor, add a class function dispatched. Remove operator>=
1696 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1698 * debug.C: only use the default constructor for debugstream
1701 * main.C (main): include debug.h and setup the lyxerr streambuf
1704 2003-10-31 José Matos <jamatos@lyx.org>
1706 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1708 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1709 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1710 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1711 * paragraph_pimpl.C (simpleTeXSpecialC):
1712 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1713 add LatexRunParams argument.
1715 * exporter.C (Export): change call accordingly.
1717 * latexrunparams.h: add new member to take care of the other backends.
1718 2003-10-30 José Matos <jamatos@lyx.org>
1720 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1721 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1722 factorise code for paragraph output.
1724 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1727 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * text3.C (dispatch):
1730 * lyxfunc.C (dispatch):
1731 * cursor.C (dispatch):
1732 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1734 * dispatchresult.h: make the dispatch_result_t ctor explicit
1736 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1739 * buffer.C: small refactoring of docbook stuff
1741 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1746 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1748 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1749 operator dispatch_result_t, and operators for == != and >=
1751 * cursor.C (dispatch): adjust for operator dispatch_result_t
1752 removal. comment out call to update
1754 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1756 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1764 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1767 * dispatchresult.h: new file, DispatchResult broken out of
1770 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1772 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1774 * text.C (rowBreakPoint): put a hack inside #if 0
1776 2003-10-28 André Pönitz <poenitz@gmx.net>
1780 * paragraph_funcs.C:
1783 * text2.C: general cleanup (lots of small stuff)
1785 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1787 * text2.C (cursorEnd): simple fix to the "end key goes to one
1788 before the end on last row" bug
1790 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1792 * text.C (backspace): fix the "zombie characters"
1794 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1796 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1798 2003-10-27 André Pönitz <poenitz@gmx.net>
1800 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1802 * factory.C: handle new InsetPagebreak, InsetLine
1804 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1805 and move handling into new InsetPagebreak, InsetLine
1807 * BufferView_pimpl.C:
1809 * ParagraphParameters.C:
1810 * ParameterStruct.h:
1815 * paragraph_funcs.C:
1816 * paragraph_pimpl.C:
1822 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1825 * lyxrow_funcs.[Ch]:
1831 * text3.C: remove lastPos uses in favour of Row::endpos
1833 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1835 * undo.C (performUndoOrRedo): fix two crashes by setting a
1836 cursor by hand and reordering some calls. Use bv->lockInset instead
1837 of inset->edit because the latter loses cursor information
1839 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1841 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1843 (rowBreakPoint): fix width. change point to point + 1.
1844 Add a missing check.
1846 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1849 * lyxfunc.C: fix (at least partly) the problems
1850 with the Nav menu and headers inside branch insets
1853 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1855 * paragraph.C (getChar): add strong asserts
1857 * lyxrow_funcs.C (lastPos): remove hideous hack
1859 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1860 (fill): adjust to that (avoid an infinite loop)
1862 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1864 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1866 2003-10-23 André Pönitz <poenitz@gmx.net>
1868 * RowList_fwd.h: change list<> to vector<> to gain speed
1869 after suggestion from Alfredo
1871 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1873 * lyxtext.h: move the bidi stuff from here...
1876 * Bidi.[Ch]: ... to here
1878 2003-10-23 André Pönitz <poenitz@gmx.net>
1881 * text.C (isLastRow, isFirstRow): new functions
1883 * paragraph.h: new width cache member
1885 * rowpainter.C: replace RowList::iterator with Row & where possible
1887 * lyxfunc.C: replace several view()->text with a single call
1889 * toc.C: fix 'unused' warning
1891 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1894 when woring with stream::pos_type
1895 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1897 2003-10-22 André Pönitz <poenitz@gmx.net>
1900 * text.C: use Row & instead of RowList::iterator
1902 * lyxrow.h: rename end() to endpos()
1908 2003-10-22 Angus Leeming <leeming@lyx.org>
1910 * buffer.[Ch] (fully_loaded): new member function, returning true
1911 only when the file has been loaded fully.
1912 Used to prevent the premature generation of previews and by the
1913 citation inset to prevent computation of the natbib-style label.
1915 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1916 templates are all set up.
1918 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1920 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1922 * text.C: fixed an "oops" in the "is a bit silly"
1925 2003-10-21 André Pönitz <poenitz@gmx.net>
1927 * FuncStatus.[Ch]: small stuff, whitespace
1929 * lyxfont.[Ch]: operator<<() for debug reasons
1933 * lyxtext.h: whitespace, spelling
1935 * paragraph.C: naming of variables
1938 * text2.C: small stuff
1941 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1943 * text.C: (1) finish off the inset display() work;
1944 (2) fix the "is a bit silly" bug (accessing char
1947 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1949 * text.C: re-introduce display() for insets, fixing the
1950 various bugs (stretch of line above, math inset
1953 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1955 * text.C (rightMargin): remove spurious semicolon
1957 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1960 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1962 * text3.C: fix one crash due to wrong cursor def
1964 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1966 * vc-backend.C (scanMaster): make the regex static
1968 * LaTeX.C (scanAuxFile): make the regexs static
1970 * text3.C (doInsertInset, dispatch, dispatch):
1971 * text2.C (cursorUp, cursorDown):
1972 * text.C (selectNextWordToSpellcheck):
1973 * BufferView_pimpl.C (dispatch):
1974 * lyxfunc.C (dispatch): localDispatch -> dispatch
1976 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1978 * lyxsocket.C: include <cerrno>
1980 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * lyxfunc.C (dispatch): remove textcache stuff
1984 * bufferlist.C (release): remove textcache stuff
1987 * TextCache.C: delete file
1988 * TextCache.h: delete file
1990 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1992 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1993 delete of the bv_->text.
1994 (resizeCurrentBuffer): remove texcache stuff
1995 (workAreaResize): ditto
1997 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1999 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2002 2003-10-16 André Pönitz <poenitz@gmx.net>
2009 * text3.C: speed up by storing y positions per paragraph plus per-row
2010 offset instead of having a 'full' y position in the row.
2012 2003-10-15 André Pönitz <poenitz@gmx.net>
2016 * undo.[Ch]: make undo aware of inner insets
2018 2003-10-14 Angus Leeming <leeming@lyx.org>
2020 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2021 static member functions LyX::ref() and LyX::cref.
2022 (lastfiles): new accessor functions for the new lastfiles_ member var.
2023 (addLyXView, views_): add a new LyXView to the list of views_.
2024 (updateInset): loop over all LyXViews to call their own updateInset
2025 member function, returning a pointer to the Buffer owning the inset.
2027 * BufferView_pimpl.C (loadLyXFile):
2028 * MenuBackend.C (expandLastfiles):
2029 * bufferlist.C (MenuWrite, QuitLyX):
2030 lastfiles is no longer a global variable.
2031 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2033 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2034 static function. Access through LyX::cref().emergencyCleanup().
2036 2003-10-14 André Pönitz <poenitz@gmx.net>
2038 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2040 * undo.[Ch]: restoring part of 'undo in insets'
2043 * undo_funcs.[Ch]: merge with undo.[Ch]
2045 * tabular.C: small cleansing stuff
2047 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2049 * paragraph_funcs.C (readParToken): report unknown insets as error
2050 boxes. Use the outer paragraph as location (also for unknown
2053 * factory.C (readInset): do not abort on reading an unknown inset.
2054 Eat it and return 0.
2056 2003-10-13 Angus Leeming <leeming@lyx.org>
2058 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2060 * lyxrc.C: displayTranslator is now a function,
2061 declared in GraphicsTypes.h.
2063 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2065 * format.C: new placeholder $$a to pass the socket address.
2067 * bufferlist.[Ch]: new function getBufferFromTmp.
2069 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2070 files in the temporary dir.
2072 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2074 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2076 * Makefile.am: add lyxsocket.[Ch].
2078 * lyx_main.C (error_handler): handle SIGPIPE.
2080 2003-10-13 André Pönitz <poenitz@gmx.net>
2082 * BufferView_pimpl.C:
2087 * undo_funcs.[Ch]: use paroffset_type instead of
2088 ParagraphList::iterators to prevent multiple conversion
2089 (and get a more robust interface)
2091 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2095 * text3.C (dispatch): ditto
2097 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2099 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2100 move the onlyfile, use onlyfile instead of foundfile in a couple
2103 * DepTable.C (update): flush the error stream a bit more
2105 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2107 * lyxserver.C (callback): adjust
2109 * lyxfunc.C (getStatus): add a missing brace in commented code
2110 (ensureBufferClean): reindent
2111 (dispatch): delete version taking a string
2113 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2115 * LaTeX.C (deplog): move found file handlig from here...
2116 (handleFoundFile): .. to new function here.
2117 (deplog): make sure to discover several files mentioned on the
2120 2003-10-10 André Pönitz <poenitz@gmx.net>
2127 * text3.C: fix some of the tabular crashes
2129 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2131 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2133 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2135 2003-10-09 André Pönitz <poenitz@gmx.net>
2137 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2140 * BufferView_pimpl.C:
2141 * bufferview_funcs.C:
2152 * undo_funcs.C: adjust
2154 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2156 * text2.C (incrementItemDepth): new function, use a backtracking
2157 algorithm to discover the correct item depth.
2158 (resetEnumCounterIfNeeded): new function, use a backtracking
2159 algorithm to discover if counter reset is needed.
2160 (setCounter): use them. Simplify a bit. Add different labels for
2161 different item depths for itemize.
2163 * paragraph.C (Paragraph): remove initialization of enumdepth
2166 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2167 enumerate and itemize. Change the type of itemdepth to signed char.
2169 2003-10-08 André Pönitz <poenitz@gmx.net>
2171 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2176 * tabular.[Ch]: fix crash after 'row-insert'
2178 2003-10-08 Angus Leeming <leeming@lyx.org>
2180 Fix doxygen warnings.
2182 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2183 Remove CutAndPaste:: prefix from header file declaration.
2185 * LColor.h (fill): remove LColor:: prefix from declaration.
2187 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2188 use lyx::depth_type rather than Paragraph::depth_type so that
2189 header file and .C file match.
2191 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2193 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2194 * aspell.C: \file aspell_local.C -> \file aspell.C
2195 * gettext.C: \file gettext.C -> \file src/gettext.C
2196 * gettext.h: \file gettext.h -> \file src/gettext.h
2197 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2198 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2199 * text.C: \file text.C -> \file src/text.C
2201 * toc.C: move comment so that doxygen is not confused.
2203 2003-10-07 Angus Leeming <leeming@lyx.org>
2205 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2207 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2210 * aspell_local.h: add forgotten std::string's.
2212 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2219 * text3.C: The Box patch. Fancybox support, minipage, parbox
2221 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2227 * ParagraphParameters.h:
2237 * lyxtextclasslist.h:
2240 * paragraph_pimpl.C:
2241 * textcursor.h: add <string> and other small fixes to make Lars'
2242 std::string patch compile with STLport.
2244 2003-10-06 Angus Leeming <leeming@lyx.org>
2246 * LColor.h: Add missing #include <string>.
2248 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * All most all file in all subdirs: Make <string> be the prefered
2251 way of getting to std::string, add using declarations.
2253 2003-10-06 André Pönitz <poenitz@gmx.net>
2255 * metricsinfo.C: initialize LyXFont before changing attribute.
2256 (fixes the 'math in \emph is upright' bug)
2258 2003-10-06 André Pönitz <poenitz@gmx.net>
2260 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2262 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2265 * paragraph_pimpl.C: Small fixes to build using STLport
2267 2003-10-02 André Pönitz <poenitz@gmx.net>
2270 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2272 2003-10-01 André Pönitz <poenitz@gmx.net>
2274 * factory.C: assert early
2276 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2278 * lyx_main.C: remove the global debug object
2280 * debug.h: adjust for new debugstream
2282 * debug.C: adjust for new debugstream and keep the global debug
2285 2003-09-22 Angus Leeming <leeming@lyx.org>
2287 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2288 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2289 an incomplete class LyXFont.
2291 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2293 * factory.C: bug fix in branches
2295 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * lyxfunc.C (processKeySym): adjust
2299 (dispatch): change arg name from ev to func, adjust
2300 (sendDispatchMessage): ditto
2302 * lyx_main.C (defaultKeyBindings): adjust keybindings
2303 (deadKeyBindings): ditto
2305 * kbsequence.C (addkey): return a FuncRequest
2307 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2309 * kbmap.C (bind): take a FuncRequest as arg, adjust
2312 (defkey): change to take a FuncRequest as arg, adjust
2313 (findbinding): take a FuncRequest as arg, adjust.
2315 * funcrequest.h (operator=): added
2317 * funcrequest.C (FuncRequest): default kb_action changed from
2318 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2320 * buffer.C (dispatch): simplify
2321 (dispatch): adjust to take a FuncRequest as arg, adjust
2323 * boost.C (assertion_failed): change assertion message slightly
2325 * ToolbarBackend.C (read): simplify
2327 * MenuBackend.C (binding): adjust call to findbinding, add a
2328 message if no binding is found.
2330 (expandToc): correct by adding a empty FuncRequest
2332 * LyXAction.C: include <boost/assert.hpp>
2333 (isPseudoAction): delete function
2334 (LookupFunc): change name to...
2335 (lookupFunc): this. change return type to FuncRequest.
2336 (getActionName): take kb_action as arg, simplify
2337 (funcHasFlag): add an assert, simplify.
2339 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2341 * toc.C (action): return a FuncRequest, simplify
2343 * lyxfunc.C (processKeySym): adjust
2344 (getStatus): delete version that takes an int.
2346 (dispatch): delete version that takes action as int
2348 (sendDispatchMessage): simplify and adjust
2350 * funcrequest.C (getArg): take unsigned int as arg
2352 * ToolbarBackend.C (read): adjust
2353 (add): delete version that takes func as a string.
2354 (getIton): take a FuncRequest as arg
2356 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2359 * MenuBackend.C (MenuItem): add a new construct that only takes a
2360 Kind, simplify the constructor use for submenus.
2362 (expandLastfiles): adjust
2363 (expandDocuments): adjust
2364 (expandFormats): adjust
2365 (expandFloatListInsert): adjust
2366 (expandFloatInsert): adjust
2367 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2369 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2370 Remove class variables lyx_pseudo_map and lyx_arg_map
2372 * LyXAction.C (searchActionArg): delete function
2373 (getPseudoAction): delete function
2374 (retrieveActionArg): delete function
2375 (LookupFunc): make it return kb_action, simplify.
2376 (getActionName): simplify
2378 * factory.C (createInset): fix new bug
2380 2003-09-19 Angus Leeming <leeming@lyx.org>
2382 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2383 masterFilename_ parameter in the include inset.
2385 * factory.C (createInset): changes due to the changes to InsetInclude.
2387 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2389 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2391 2003-09-18 Angus Leeming <leeming@lyx.org>
2394 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2395 Inset::fillWithBibKeys.
2396 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2398 2003-09-18 Angus Leeming <leeming@lyx.org>
2400 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2402 (ctor): pass and store a 'Buffer const &'
2403 (buffer): new member function.
2405 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2406 '*this' to the LaTeXFeatures ctor.
2408 2003-09-18 Angus Leeming <leeming@lyx.org>
2414 * text.C: rename EnumLColor as LColor_color.
2416 2003-09-18 Angus Leeming <leeming@lyx.org>
2418 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2419 remove #include "insets/insetbase.h" from cursor.h.
2421 2003-09-18 Angus Leeming <leeming@lyx.org>
2423 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2424 InsetOld_code to remove #include "inset.h".
2426 * iterators.C: add #include "insets/inset.h"
2428 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2430 * BufferView.C: remove more locking stuff that apparently doesn't
2431 do anything sensible.
2433 2003-09-16 André Pönitz <poenitz@gmx.net>
2436 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2439 2003-09-16 Angus Leeming <leeming@lyx.org>
2441 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2443 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2446 * paragraph.h: remove #include "lyxfont.h". Forward declare
2449 2003-09-16 Angus Leeming <leeming@lyx.org>
2451 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2452 of support/textutils.h.
2453 (isWord): move the contents of support/textutils.h's IsWordChar here.
2459 * text2.C: add #include "paragraph.h".
2462 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2464 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2470 * LaTeX.C: use namespace alias for lyx::support::os
2472 2003-09-16 Angus Leeming <leeming@lyx.org>
2475 * bufferview_funcs.C:
2478 * paragraph_pimpl.C:
2480 * text.C: add #include "LColor.h".
2482 2003-09-16 Angus Leeming <leeming@lyx.org>
2484 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2485 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2487 Store the FontBits::color variable as an int rather than as an
2488 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2491 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2492 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2493 string calls together.
2495 * lyxrc.C: add #include "LColor.h".
2497 2003-09-15 Angus Leeming <leeming@lyx.org>
2499 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2502 2003-09-15 Angus Leeming <leeming@lyx.org>
2504 * LColor.h: add an EnumLColor wrapper for LColor::color.
2506 * lyxfont.[Ch] (color, setColor, realColor):
2507 * lyxtext.h, text.C (backgroundColor):
2508 pass EnumLColor args to/from the functions, rather than LColor::color
2512 * lyxtext.h: forward declare EnumLColor.
2514 * lyx_main.C: add #include "LColor.h".
2516 2003-09-15 Angus Leeming <leeming@lyx.org>
2518 * .cvsignore: add lyx-gtk.
2520 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2525 * ParagraphParameters.C
2529 * bufferview_funcs.C
2539 * vc-backend.C: remove usage of STRCONV
2541 2003-09-15 Angus Leeming <leeming@lyx.org>
2543 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2544 explicitly define the color passed to the painter.
2546 2003-09-15 Angus Leeming <leeming@lyx.org>
2548 * bufferparams.C (BufferParams): reorder member initializers to avoid
2551 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2553 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2554 * text.C (updateRowPositions): remove an unusual nop
2556 2003-09-12 André Pönitz <poenitz@gmx.net>
2558 * BufferView_pimpl.C:
2567 * Counters.[Ch]: finish the 'automatic counters' job
2569 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2571 * aspell.C: include <boost/assert.cpp> (compile fix)
2573 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2575 * boost.C (assertion_failed): use lyx::support::abort instead of
2578 2003-09-10 Angus Leeming <leeming@lyx.org>
2580 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2581 with their _fwd progeny.
2583 2003-09-09 Angus Leeming <leeming@lyx.org>
2585 134 files throughtout the source tree: replace 'using namespace abc;'
2586 directives with the appropriate 'using abc::xyz;' declarations.
2588 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2590 * boost.C (emergencyCleanup): moved here from LAssert.c
2591 (assertion_failed): new function, called by BOOST_ASSERT
2593 * several files: change Assert to BOOST_ASSERT
2595 2003-09-09 Angus Leeming <leeming@lyx.org>
2597 * buffer.[Ch]: Add an Impl class and move Buffer's member
2598 variables into it. As a result move several header files out of
2601 Add header files to lots of .C files all over the tree as a result.
2603 2003-09-09 Angus Leeming <leeming@lyx.org>
2605 * buffer.[Ch]: make Buffer's member variables private. Add
2608 Lots of changes all over the tree as a result.
2610 2003-09-08 Angus Leeming <leeming@lyx.org>
2612 * graph.C: #include <config.h>.
2614 2003-09-08 Angus Leeming <leeming@lyx.org>
2618 * BufferView_pimpl.C:
2647 * toc.C: remove redundant using directives.
2649 2003-09-07 Angus Leeming <leeming@lyx.org>
2651 * LaTeXFeatures.h: remove #include "support/types.h".
2652 * ToolbarBackend.h: remove #include <algorithm>.
2653 * changes.h: remove #include <ctime>.
2654 * debug.h: remove #include <iosfwd>.
2655 * graph.h: remove #include "support/std_string.h".
2656 * lyx_main.h: remove #include <csignal>.
2657 * lyxlex_pimpl.h: remove #include <fstream>.
2658 * sgml.h: remove #include <algorithm>, <utility>.
2659 * toc.h: remove #include "support/std_ostream.h".
2660 Add #include <iosfwd>.
2662 2003-09-07 Angus Leeming <leeming@lyx.org>
2664 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2666 * converter.h: forward declare LatexRunParams.
2667 * encoding.h: remove #include "lyxrc.h".
2668 * lyxtext.h: remove #include "LColor.h".
2669 * lyxtextclass.h: remove #include "support/types.h".
2670 * trans.h: remove #include "tex-accent.h".
2671 * trans_mgr.h: remove #include "tex-accent.h".
2672 * insets/inset.h: remove #include "support/types.h", <vector>.
2673 * insets/insetcollapsable.h: remove #include "LColor.h".
2674 * insets/insetinclude.h: remove #include "dimension.h".
2675 * insets/insetlatexaccent.h: remove #include "dimension.h".
2676 * insets/insetoptarg.h:: remove #include "insettext.h".
2677 * insets/insettext.h: remove #include "dimension.h",
2678 <boost/shared_ptr.hpp>
2680 * insets/renderers.h: add #include "dimension.h".
2681 * insets/updatableinset.h: add #include "support/types.h".
2683 * many .C files: Associated changes.
2685 2003-09-06 Angus Leeming <leeming@lyx.org>
2687 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2688 one, inside testInvariant.
2690 * PrinterParams.C: new file.
2691 * PrinterParams.[Ch]: move the function bodies out of line.
2693 2003-09-06 Angus Leeming <leeming@lyx.org>
2695 * ParagraphParameters.h: forward declare ParameterStruct rather than
2696 including its header file.
2697 (depth): moved out-of-line.
2699 2003-09-06 Angus Leeming <leeming@lyx.org>
2701 * BufferView_pimpl.h:
2704 * lyxfunc.h: forward declare LyXKeySym rather than
2705 #include "frontends/LyXKeySym.h".
2707 * BufferView_pimpl.C:
2710 * lyxfunc.C: associated changes.
2712 2003-09-06 Angus Leeming <leeming@lyx.org>
2714 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2715 As a result, can remove the #include "insets/inset.h" from BufferView.h
2717 2003-09-06 Angus Leeming <leeming@lyx.org>
2719 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2720 As a result, can remove the #include "insets/inset.h" from BufferView.h
2722 2003-09-06 Angus Leeming <leeming@lyx.org>
2728 * bufferview_funcs.C:
2729 * BufferView_pimpl.C:
2734 * ParagraphParameters.C:
2739 * frontends/controllers/ControlDocument.C:
2740 * insets/insetcaption.C: rearrange the #includes into some sort of
2743 * buffer.h: remove #includes ErrorList.h, undo.h
2745 2003-09-06 Angus Leeming <leeming@lyx.org>
2747 * support/types.h: add a 'depth_type' typedef, used to store the
2748 nesting depth of a paragraph.
2751 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2752 defining explicitly.
2755 * paragraph_funcs.h:
2756 * ParagraphParameters.h:
2757 * sgml.h: use lyx::depth_type rather than Paragraph or
2758 ParameterStruct's depth_type.
2761 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2764 * BufferView_pimpl.C:
2766 * ParagraphParameters.C:
2769 * bufferview_funcs.C:
2776 * frontends/LyXView.C:
2777 * frontends/controllers/ControlDocument.C:
2778 * frontends/controllers/ControlErrorList.C:
2779 * insets/insetbibitem.C:
2780 * insets/insetbranch.C:
2781 * insets/insetcaption.C:
2782 * insets/insetcollapsable.C:
2783 * insets/insetenv.C:
2784 * insets/insetert.C:
2785 * insets/insetfloat.C:
2786 * insets/insetfoot.C:
2787 * insets/insetfootlike.C:
2788 * insets/insetnewline.C:
2789 * insets/insetquotes.C:
2790 * insets/insettabular.C:
2791 * insets/insettext.C:
2792 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2794 * frontends/controllers/ControlChanges.C: #include "changes.h".
2796 2003-09-06 Angus Leeming <leeming@lyx.org>
2798 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2799 than #including paragraph.h.
2802 * RowList.h: deleted. Superfluous.
2812 * insets/insettext.h: use ParagraphList_fwd.h rather than
2815 * paragraph.h: don't forward declare ParagraphList.
2818 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2819 rather than ParagraphList.h. paragraph.h is still needed for the
2820 Paragraph::depth_type parameters.
2822 * textcursor.h: enable it to compile stand-alone in light of the
2825 * bufferview_funcs.C:
2837 * frontends/controllers/ControlParagraph.C:
2838 * frontends/controllers/ControlTabular.C:
2839 * insets/insetmarginal.C:
2840 * insets/insetminipage.C:
2841 * insets/insetnote.C:
2842 * insets/insetoptarg.C: add header files needed to compile again.
2844 2003-09-06 Angus Leeming <leeming@lyx.org>
2846 * RowList_fwd.h: new file, forward-declaring Row rather than
2847 #including lyxrow.h.
2852 * insets/insettext.h: use it instead of RowList.h
2854 * bufferview_funcs.C:
2861 * text3.C: #include "RowList.h".
2863 2003-09-05 Angus Leeming <leeming@lyx.org>
2865 * factory.C (createInset):
2866 * vspace.C (c-tor): replace sscanf call with an istringstream.
2867 * ispell.C: re-add missing HP/UX headers.
2868 * lyxserver.C: re-add missing os2 headers.
2870 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2879 * text3.C: re-add missing system headers, needed for 2.95.2.
2881 2003-09-05 Angus Leeming <leeming@lyx.org>
2883 Changes most place everywhere due to the removal of using directives
2884 from support/std_sstream.h.
2886 2003-09-05 Angus Leeming <leeming@lyx.org>
2888 Replace LString.h with support/std_string.h,
2889 Lsstream.h with support/std_sstream.h,
2890 support/LIstream.h with support/std_istream.h,
2891 support/LOstream.h with support/std_ostream.h.
2893 Changes resulting throughout the tree.
2895 2003-09-05 Angus Leeming <leeming@lyx.org>
2897 * sgml.h: ensure that the header file can be compiled stand-alone.
2898 * *.C: strip out redundant #includes. (320 in total.)
2900 2003-09-04 Angus Leeming <leeming@lyx.org>
2902 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2903 here (from getPackages).
2905 * debug.[Ch]: add a new EXTERNAL tag.
2907 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2909 * text2.C (cursorEnd): simplify
2911 (getColumnNearX): adjust
2913 * text.C (computeBidiTables): adjust
2916 * rowpainter.C (paintChars): adjust
2917 (paintSelection): adjust
2918 (paintChangeBar): adjust
2921 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2923 (numberOfSeparators): adjust
2925 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2931 * text3.C: Restricts the mouse click functionality
2932 of insets like bibtex, include, toc and floatlist to the visible
2933 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2934 up the dialogs. Cursor has to be in front of the inset (i.e.
2935 start of row) for this to function.
2937 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2939 * bufferview_funcs.C (currentState): output row information
2941 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2943 * bufferview_funcs.C (currentState): output paragraph position
2945 2003-09-04 Angus Leeming <leeming@lyx.org>
2947 * FloatList.h: move out #include "Floating.h".
2948 * LaTeX.h: move out #include "DepTable.h".
2949 * LyXAction.h: move out #include "funcrequest.h".
2950 * buffer.h: move out #include "author.h", "iterators.h".
2951 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2952 * lyx_main.h: move out #include "errorlist.h".
2953 * lyxfunc.h: move out #include "FuncStatus.h".
2954 * lyxtext: move out #include "lyxcursor.h".
2955 * paragraph_pimpl.h: move out #include "counters.h".
2957 2003-09-03 Angus Leeming <leeming@lyx.org>
2959 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2960 preamble_snippets list, enabling us to add snippets to the preamble
2961 only if the snippet was not there already.
2963 2003-09-04 Angus Leeming <leeming@lyx.org>
2965 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2967 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2969 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2972 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2974 * BranchList.C: point fix, earlier forgotten
2976 2003-09-02 Angus Leeming <leeming@lyx.org>
2978 * box.C (contains): renamed from 'contained' after a fantastic
2981 2003-09-02 John Levon <levon@movementarian.org>
2987 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2989 2003-09-02 John Levon <levon@movementarian.org>
2991 * text2.C: simplification of cursorEnd(), including partial
2994 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * buffer.C (readFile): add a space
2998 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3000 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3002 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * buffer.C (readFile): new function, take a filename and a
3005 ParagraphList::iterator
3007 (readFile): adjust, make it private. don't use setStream, make
3008 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3009 always contain the filename.
3011 * BufferView.C (insertLyXFile): simplify and make it work for
3014 2003-08-30 John Levon <levon@movementarian.org>
3016 * Makefile.am: fix dist (from Kayvan)
3018 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3020 * most files: change to use const Buffer refs
3022 2003-08-27 André Pönitz <poenitz@gmx.net>
3024 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3025 on top of ownerPar().
3027 2003-08-27 John Levon <levon@movementarian.org>
3029 * funcrequest.C: properly initialise POD members
3031 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3033 * lyxtext.h (top_y): move top_y from here
3038 * BufferView_pimpl.[Ch]: to here
3039 * frontends/screen.C:
3040 * insets/insettabular.C:
3041 * insets/insettext.C: adjust
3042 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3044 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3047 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3049 2003-08-26 André Pönitz <poenitz@gmx.net>
3051 * paragraph_func.[Ch] (outerPar): new function
3054 * paragraph_funcs.C:
3055 * paragraph_funcs.h:
3056 * paragraph_pimpl.C:
3057 * text2.C: remove Inset::par_owner
3059 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3064 * text2.C: eliminates the needFullRow/display() stuff
3065 altogether, putting the logic in metrics/draw in the insets.
3067 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3069 * text2.C (redoParagraphInternal, redoParagraphs):
3070 * text.C (redoParagraph): add a call to updateRowPositions at the
3071 end of each 'metrics-like' call. Remove all others.
3072 (getRow): remove the 'y-computing' version.
3073 (getRowNearY): do not compute nor return the real y. Solve the
3074 'y < 0' problem and simplify.
3076 2003-08-22 Angus Leeming <leeming@lyx.org>
3078 * *.[Ch]: clean-up of licence and author blurbs.
3079 Also move config.h out of a few .h files and into a few .C files.
3081 2003-08-22 André Pönitz <poenitz@gmx.net>
3083 * lyxrow.[Ch]: add x_ and *fill_ members
3088 * text2.C: adjust/remove prepareToPrint() calls
3090 2003-08-22 André Pönitz <poenitz@gmx.net>
3092 * lyxrow.[Ch]: add end_ member
3094 * lyxrow_funcs.C: use LyXRow::end_
3096 * lyxtext.h (singleWidth): add LyXFont parameter
3099 * text2.C: adjust LyXText::singleWidth() calls
3101 * text.C (redoParagraph): simplify row breaking logic
3104 2003-08-19 André Pönitz <poenitz@gmx.net>
3106 * funcrequest.C: initialize button_ member
3109 * rowpainter.[Ch]: interface consolidation
3111 2003-08-18 André Pönitz <poenitz@gmx.net>
3114 * BufferView_pimpl.C:
3116 * paragraph_funcs.C:
3118 * text3.C: remove LyXScreen::draw() and fitCursor calls
3120 * BranchList.h: remove spurious semicolons
3122 * MenuBackend.C: fix branchlist related crash
3124 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3132 * bufferparams.[Ch]:
3136 * text3.C: implements the 'branch inset'
3137 idea. This allows the output of various versions of a document
3138 from a single source version, selectively outputing or suppressing
3139 output of parts of the text.
3140 This implementation contains a 'branch list editor' in a separate
3141 tab of the document settings dialog. Branches are user definable
3142 and have a "display colour" to distinguish them on-screen.
3144 ColorHandler was somewhat cleaned up.
3145 (1) make possible a dynamically growing LColor list by allowing
3146 the graphic context cache to grow along (vector);
3147 (2) eliminate an IMHO unnecessary step in colour allocation.
3149 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3151 * BufferView_pimpl.C: compile fix
3153 2003-08-15 André Pönitz <poenitz@gmx.net>
3155 * rowpainter.C: remove extra metrics calls
3157 * lyxtext.h: merge the two constructors into a single one,
3158 pass reference to owner's par list
3160 * BufferView_pimpl.C:
3164 2003-08-15 André Pönitz <poenitz@gmx.net>
3166 * lyxrow_funcs.[Ch]:
3169 * paragraph_funcs.C:
3174 * text_funcs.C: split LyXText::rowlist_ into individual
3175 Paragraph::rows_ chunks
3178 * BufferView_pimpl.[Ch]:
3181 * text3.C: remove toggleSelection()
3183 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3185 * bufferlist.C: beautify two alerts (shorter text of buttons)
3186 * buffer.C: Remove redundant ' ' from message
3188 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3189 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3190 rename VALIGN_CENTER to VALIGN_MIDDLE
3192 2003-08-11 André Pönitz <poenitz@gmx.net>
3194 * lyxtext.h (getPar):
3195 * text.C: new function
3197 2003-08-11 André Pönitz <poenitz@gmx.net>
3200 * tracer.[Ch]: remove unneeded files
3202 * InsetList.[Ch]: remove resizeInsetsLyXText()
3207 * text3.C: merge insertParagraphs() and appendParagraph()
3208 remove breakAgain(), update()
3210 * BufferView_pimpl.[Ch]:
3211 * bufferview_funcs.[Ch]:
3215 * tabular.C: adjust after text & InsetList changes.
3217 2003-08-08 André Pönitz <poenitz@gmx.net>
3219 * text.C (insertChar, backspace): replace rowlist fiddling
3220 with rebreak of full par
3223 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3224 checkParagraph, updateInset): removed
3226 2003-08-07 André Pönitz <poenitz@gmx.net>
3229 * text3.C: merge some LFUN handlers, remove dead code
3231 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3233 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3235 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3237 * text2.C (DEPM): fix part of bug 1255 and 1256
3239 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3241 * BufferView_pimpl.C (workAreaDispatch): change to use
3242 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3243 that are no mouse related.
3245 2003-08-05 André Pönitz <poenitz@gmx.net>
3248 * BufferView_pimpl.[Ch]:
3249 * bufferview_funcs.C:
3251 * text3.C: rip out "deep update"
3253 * textcursor.[Ch] (last_sel_cursor): remove unused member
3255 2003-08-04 André Pönitz <poenitz@gmx.net>
3258 * BufferView_pimpl.[Ch]:
3259 * ParagraphParameters.C:
3260 * bufferview_funcs.C:
3266 * text3.C: replace "complicated" BufferView::update(...) calls with
3269 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3271 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3273 * Makefile.am (lyx_SOURCES): add paper.h
3275 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3277 * Makefile.am: move things around so that both lyx-qt and
3278 lyx-xforms can be built (according to --with-frontend). Then lyx
3279 is a symbolic link to lyx-[firstfrontend]
3281 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3283 * Always use std::endl with lyxerr
3285 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3287 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3289 2003-08-01 André Pönitz <poenitz@gmx.net>
3292 * BufferView_pimpl.[Ch]:
3294 * text3.C: merge BufferView::repaint() and BufferView::update()
3296 2003-08-01 José Matos <jamatos@lyx.org>
3298 * buffer.[Ch]: file_format is no longer a buffer data element.
3300 2003-08-01 André Pönitz <poenitz@gmx.net>
3305 * text2.C: make redoParagraph more independent of current cursor
3307 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3309 * text2.C: remove unneeded members
3311 2003-07-30 André Pönitz <poenitz@gmx.net>
3313 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3315 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3316 create a single function...
3318 * paragraph_funcs.C (moveItem): ... here.
3321 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3323 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3325 * LColor.[Ch]: Add comment and greyedout logical colors.
3327 2003-07-30 André Pönitz <poenitz@gmx.net>
3329 * tabular.C: don't use Assert too heavily. This crashes where it
3332 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3334 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3335 is disabled (bug 1232)
3337 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3339 * factory.C: limited 'arg' scope
3341 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3343 * factory.C: fixed Note submenu issues
3345 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3347 * factory.C: submenu for Note/Comment/Greyedout
3349 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3352 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3354 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3357 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3358 greyedout. Patch provided by Jürgen Spitzmüller.
3360 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3362 * kbmap.C (read): fix error message when reading bind files
3364 2003-07-29 Angus Leeming <leeming@lyx.org>
3366 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3367 certainly does not do what it purports to do. I am doing it, and
3368 us, a favour by killing it.
3370 2003-07-28 José Matos <jamatos@lyx.org>
3372 * buffer.C (readBody, do_writeFile):
3373 * paragraph.C(readParagraph): \end_document replaces \the_end.
3375 2003-07-29 André Pönitz <poenitz@gmx.net>
3378 * BufferView_pimpl.[Ch]:
3382 * textcursor.[Ch]: remove toggleToggle & Co
3384 2003-07-28 José Matos <jamatos@fep.up.pt>
3386 * buffer.C (readParagraph):
3387 * params_func (readParToken, readParagraph):
3388 * paragraph.C (write): \layout -> \begin_layout.
3390 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * lyxlex_pimpl.C (setFile): clean up slightly.
3394 * bufferparams.h: add compressed var
3396 * buffer_funcs.C (readFile): adjust for LyXLex change
3397 (newFile): ditto + simplify
3399 * buffer.C (writeFile): handle writing of compressed files
3401 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3402 Check if the file is compressed and set a bufferparm if so.
3404 * Makefile.am (lyx_LDADD): remove explicit -lz
3406 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3408 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3409 makeDocBookFile): put the real LyX version in the first line of
3413 * version.C.in: remove lyx_docversion
3415 * tabular.C (write_attribute): add a template-based version to
3416 write enums properly
3418 2003-07-28 André Pönitz <poenitz@gmx.net>
3423 * text3.C: use doubles again for x-coordinates. They are needed.
3425 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * messages.C (getLocaleDir): use lyx_localedir()
3429 * lyxlex_pimpl.C (setFile): compress stuff
3431 * buffer.C (writeFile): add some compression stuff
3432 (do_writeFile): new func, dont call expliti close... will this
3435 * Makefile.am (lyx_LDADD): add -lz
3437 2003-07-28 José Matos <jamatos@fep.up.pt>
3439 * buffer.C: increment file format.
3440 * paragraph_funcs (readParagraph, readParToken):
3441 * paragraph.C (readParagraph): add \end_layout.
3443 2003-07-27 Angus Leeming <leeming@lyx.org>
3445 * Makefile.am: remove special casing for configure-time setting of
3446 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3448 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3449 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3451 2003-07-26 André Pönitz <poenitz@gmx.net>
3453 * paragraph_func.[Ch]:
3454 * paragraph.C (realizeFont): inline it whereever it is used
3459 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3462 2003-07-26 André Pönitz <poenitz@gmx.net>
3466 * text2.C: get rid of LyXText::need_break_row
3468 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3470 * toc.[Ch]: put namespace toc inside namespace lyx
3472 * MenuBackend.C (expandToc2): adjust for lyx::toc
3475 * lyxfunc.C (dispatch): adjust for lyx::find
3477 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3478 lyx::find instead. Reorganize a bit.
3479 (LyXReplace): rename to replace
3480 (LyXFind): rename to find
3482 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3485 2003-07-26 André Pönitz <poenitz@gmx.net>
3487 * text.C (setHeightOfRow): restrict scope of temporary variable
3489 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3490 code (never has been used?)
3492 2003-07-27 Asger Alstrup <alstrup@local>
3494 * text.C (fill): Optimise algorithm to exploit that we can reuse
3495 the LyXFont for many characters.
3496 (setHeightOfRow): Same thing.
3497 (rowBreakPoint): Same thing.
3499 2003-07-26 Asger Alstrup <alstrup@local>
3501 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3503 * text.C (singleWidth): Spurious font copying in hot-spot
3504 singleWidth avoided. Reorder tests for arabic for efficiency.
3506 * text.C (fill): handle empty paragraphs better.
3508 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3511 * encoding.h: add includes
3513 * lyxrc.C: remove reading of bind files
3515 * lyx_main.C (init): setup bindings and menus only if we have a
3518 * kbmap.C (read): new method. Do the actual reading of bind
3521 * converter.C (dvipdfm_options):
3524 (output): adapt PAPER_* enums.
3526 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3528 * bufferparams.h: remove paper-related enums from there
3530 * paper.h: New file. A trivial header file to hold paper-related
3531 enums. It should later expand to contain many paper-related
3534 * lyxrc.C: declare extern displayTranslator
3536 2003-07-27 José Matos <jamatos@fep.up.pt>
3538 * tabular.[Ch] (linuxdoc): add support for tables and figures
3541 2003-07-27 José Matos <jamatos@fep.up.pt>
3543 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3544 consistency in both functions.
3545 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3547 2003-07-26 Asger Alstrup <alstrup@local>
3549 * rowpainter.C (paintRows): Change algorithm to work directly on
3550 the insets rather than asking every character in the document
3551 whether its an inset.
3553 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3555 * buffer.C (openFileWrite): factorize some code
3557 2003-07-26 Angus Leeming <leeming@lyx.org>
3560 * lyx_main.[Ch]: replace occurances of system_tempdir with
3563 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * rename Inset to InsetOld
3567 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3569 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3570 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3571 which I think is a bit clearer. EDIT is gone, since it was
3572 premature optimisation, and broken for mathed anyway.
3573 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3574 with cursor positioning in insets as well (math insets still do not
3575 work, but that's a different story anyway.) It mysteriously
3576 crashes sometimes with undo in the first paragraph, but I'm fairly
3577 confident that this is a compiler bug.
3579 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * paragraph.C (Paragraph): adjust for new clone return type
3583 (copyIntoMinibuffer): ditto
3585 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3587 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3588 by not having a special case, and always doing a full rebreak of
3589 the document after undo.
3591 2003-07-23 Angus Leeming <leeming@lyx.org>
3593 * factory.C (createInset): InsetExternal::setParams now takes a
3596 2003-07-23 Angus Leeming <leeming@lyx.org>
3598 * factory.C (createInset): changed interface to the external and
3599 graphics mailers' string2params functions.
3601 2003-07-23 Angus Leeming <leeming@lyx.org>
3603 * factory.C (createInset): pass a
3604 Buffer const * parameter to InsetExternalMailer's string2params.
3606 2003-07-22 John Levon <levon@movementarian.org>
3608 * Thesaurus.h: include the right aiksaurus header
3610 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3612 * MenuBackend.C (expand): check menu shortcuts unconditionally
3614 2003-07-21 Angus Leeming <leeming@lyx.org>
3616 * factory.C (createInset): pass a
3617 buffer_path parameter to InsetGraphicsMailer's string2params.
3619 2003-07-21 Angus Leeming <leeming@lyx.org>
3621 * BufferView_pimpl.C (buffer):
3624 * lyxfunc.C (dispatch):
3625 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3626 rather than the grfx shortcut.
3628 2003-07-21 André Pönitz <poenitz@gmx.net>
3630 * rowpainter.C: remove unused variables
3633 * tabular_funcs.h: move to tabular.C
3634 * Makefile.am: adjust
3636 * tabular.[Ch]: basic optical cleaning
3638 * author.h: pass references, not values
3640 2003-07-18 André Pönitz <poenitz@gmx.net>
3648 * text3.C: two-phase drawing for InsetText and InsetTabular
3649 some float -> int changes.
3651 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3653 * lyx_main.C: fix the fix
3655 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3657 * lyx_main.C: fix a crash in batch mode if no files specified
3660 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3662 * format.[Ch] (papersize): moved to BufferParams
3663 * converter.[Ch] (dvips_options): moved to BufferParams
3664 (dvipdfm_options): moved to anon namespace
3665 * bufferparams.[Ch]: added above functions.
3667 2003-07-17 André Pönitz <poenitz@gmx.net>
3671 * text2.C: don't call inset->update() anymore
3673 * metricsinfo.[Ch]: add convenience constructor
3675 2003-07-16 André Pönitz <poenitz@gmx.net>
3680 * text2.C: replace the LyXCursor::irow_ member with
3681 on-demand computation of the value
3683 2003-07-16 John Levon <levon@movementarian.org>
3685 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3687 2003-07-15 André Pönitz <poenitz@gmx.net>
3690 * text2.C: remove no more needed refresh_row
3692 2003-07-15 André Pönitz <poenitz@gmx.net>
3697 * text3.C: refresh_status tristate -> need_update bool
3699 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3701 * lyxtext.h (init): remove reinit argument (act as if always true)
3702 * text2.C: adjust to that
3704 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3706 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3707 * text3.C: use it to delete selections in some cases
3708 (bugs 441, 673, 702, 954).
3710 2003-07-14 André Pönitz <poenitz@gmx.net>
3712 * rowpainter.[Ch]: reduce interface
3714 2003-07-14 André Pönitz <poenitz@gmx.net>
3716 * BufferView_pimpl.C:
3717 * text2.C: adjust after removing unused BufferView * argument
3719 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3721 * text2.C (init): fix a crash fired on resize
3723 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3725 * buffer.[Ch]: added new closing signal
3726 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3727 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3728 BufferView::Pimpl via the closing the signal
3730 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3732 * buffer.[Ch]: take out all bv-related from buffer
3734 * BufferView_pimpl.[Ch]: connect to new signals
3735 * CutAndPaste.C: removed useless asserts
3736 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3739 * lyxfunc.C: moved view-related funciontality from vc here
3740 * paragraph.C: removed outdated comments
3743 2003-07-10 André Pönitz <poenitz@gmx.net>
3745 * BufferView_pimpl.C:
3749 * text2.C: remove InsetText::InnerCache, clean up consequences
3751 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3753 * ispell.C: fix two typos in error messages
3755 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3757 * Extend Note inset to other forms of annotation like Comment
3758 and Greyedout. Right button click gives dialog.
3760 Files modified or added (+):
3764 * ControlNote.[Ch] +
3766 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3767 frontends/controllers
3771 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3773 * aspell.C: add missing namespace lyx::support
3775 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3777 * BufferView.[Ch] (newFile): Add
3778 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3779 * LaTeX.[Ch] (message): added this signal and use it
3780 * buffer.[Ch] (busy, message): added these signals and use them
3781 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3785 * importer.C: use buffer signals instead of direct bv calling
3786 * lyx_cb.[Ch] (ShowMessage): removed
3789 * paragraph_funcs.C:
3790 * text2.C: use buffer signals
3792 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * introduce namespace lyx::graphics
3796 2003-07-02 André Pönitz <poenitz@gmx.net>
3798 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3800 2003-07-01 André Pönitz <poenitz@gmx.net>
3807 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3808 text*.C to text_func.C
3810 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * introduce namespace lyx::support
3814 2003-06-30 André Pönitz <poenitz@gmx.net>
3819 * text.C: re-enable --with-included-string
3821 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3823 * textcursor.C: add <config.h>
3825 * text.C (getWord): remove const from word_location arg
3827 * lyxvc.C (getLogFile): fix const type order
3829 * lyxtext.h: remove const from word_location arg, add arg name
3831 * lyxlayout.h: currect type on labeltype.
3833 * importer.C: correct \file
3835 * converter.C (intToFormat): use std:: on ret val, ws changes
3837 * bufferlist.h: correct \file
3839 * buffer.C (makeLinuxDocFile): fix const type order
3840 (makeDocBookFile): ditto
3841 (fillWithBibKeys): use std:: on stdlib args.
3843 * CutAndPaste.C: fix authors.
3844 (availableSelections): use std:: on return vector
3846 2003-06-27 André Pönitz <poenitz@gmx.net>
3848 * BufferView_pimpl.C:
3849 * bufferview_funcs.C:
3857 * text3.C: remove LyXCursor::row_ member
3860 * text.C: rename fullRebreak() to partialRebreak() and implement
3861 a fullRebreak() that really bereks fully
3863 * textcursor.h: new struct for cursor-related data
3865 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3867 * lyx_main.C (LyX): get full path of document loaded on the
3870 2003-06-26 André Pönitz <poenitz@gmx.net>
3872 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3873 remove unused/broken operator>,<,>=.
3875 * text.C: remove only use of broken operator<= in an Assert().
3877 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3879 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3880 moved errorlist_.clear to showErrorList
3882 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3884 * converter.C (scanLog, runLaTeX):
3885 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3886 move the bv->showErrorList call to the callers
3887 * lyxfunc.C: i.e. here...
3889 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3890 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3891 namespace, the second to...
3892 * buffer_funcs (BufferFormat, parseErrors): added
3893 * errorlist.C (ErrorList(TeXErrors const &)): removed
3895 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3897 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3899 2003-06-24 "Garst R. Reese" <reese@isn.net>
3903 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3905 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3907 * version.C.in: change docversion to 1.4
3909 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3911 * buffer.C: fix a bug just introduced
3913 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3915 * buffer.[Ch]: added the parseError signal and use it, removed
3917 * BufferView.[Ch] (addError): moved to ...
3918 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3919 to the Buffer::parseError signal to catch (guess what) parse errors
3920 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3922 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3924 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3925 ability to create a buffer and to return an existing one from
3926 the list. Moved these functions to...
3927 * buffer_funcs.[Ch]: added
3928 * BufferView.[Ch] (loadLyXFile): added
3929 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3930 job removed from bufferlist::loadLyXFile.
3931 * buffer.C (setReadOnly): make it work without view
3932 (i.e added an if (users))
3934 2003-06-19 Angus Leeming <leeming@lyx.org>
3937 * LyXAction.C (init):
3938 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3939 with LFUN_DIALOG_SHOW <name> <data>.
3941 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3943 * CutAndPaste.C (availableSelections): small compilation fix for
3944 ancient (gcc 2.9x) compilers
3946 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3948 * text3.C (cursorNext): add tmp var
3950 * text2.C (updateCounters): for function calling out of for clause
3951 (replaceSelectionWithString): ditto
3952 (insertStringAsParagraphs): ditto
3953 (getColumnNearX): add tmp var
3954 (setCursorFromCoordinates): add tmp var
3955 (cursorDownParagraph): add tmp var
3956 (deleteEmptyParagraphMechanism): add tmp var
3958 * text.C (insertChar): add tmp var
3960 * rowpainter.C (paintDepthBar): add tmp var
3962 * CutAndPaste.C (availableSelections): potentially check all
3963 paragraphs in a cut to fill the shown strings.
3965 2003-06-18 André Pönitz <poenitz@gmx.net>
3967 * kbmap.[Ch]: use vector<> instead of list<>
3969 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3971 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3972 pasteSelection with index
3974 * text2.C (pasteSelection): modify, call pasteSelection with index
3976 * paragraph.C (asString): reimplement version with no interval to
3977 call the one with interval.
3979 * lyxtext.h: add index arg to pasteSelection
3981 * MenuBackend.C (MenuItem): handle PasteRecent
3982 (Menu::read::Menutags): add md_pasterecent
3984 (expandPasteRecent): new function
3987 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3989 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3991 (availableSelections): new function
3993 2003-06-17 Angus Leeming <leeming@lyx.org>
3995 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3997 2003-06-17 Angus Leeming <leeming@lyx.org>
4000 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4002 * lyxfunc.C (dispatch): invoke it.
4004 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4006 * iterators.C (operator++, ParPosition): reintroduce some
4007 const_cast for the benefit of older compilers.
4009 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4011 * text3.C (dispatch): do not modify clipboard when doing
4012 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4013 LFUN_DELETE_SKIP on a selection selection
4015 2003-06-16 André Pönitz <poenitz@gmx.net>
4021 * tabular.[Ch]: IU of clone() and getLabelList();
4023 2003-06-13 André Pönitz <poenitz@gmx.net>
4025 * tabular.h: compactification
4027 2003-06-12 André Pönitz <poenitz@gmx.net>
4031 * tabular_funcs.h: some renaming plus whitespace
4033 2003-06-12 André Pönitz <poenitz@gmx.net>
4036 * BufferView_pimpl.C:
4042 * toc.C: Return a Paragraph & for ParIterator::operator*()
4044 2003-06-11 John Levon <levon@movementarian.org>
4048 * ToolbarBackend.C: add "Toolbars" section and
4051 2003-06-10 Angus Leeming <leeming@lyx.org>
4054 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4056 * lyxfunc.C (dispatch): invoke it.
4058 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * main.C: protect <ios> with HAVE_IOS
4061 (main): protect sync_with_stdio with HAVE_IOS
4063 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4065 * text2.C (cutSelection): adjust
4066 (pasteSelection): adjust
4068 * messages.C: handle get of empty string
4070 * main.C (main): use sync_with_stdio(false)
4072 * lyxfunc.C (dispatch): adjust
4074 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4075 (WriteAs): remove unneeded BufferView arg.
4077 * bufferparams.h: use correct types on papersize, papersize2 and
4080 * bufferparams.C (readToken): adjust for type
4081 (writeLaTeX): add missing cases to switch.
4083 * bufferlist.C (quitWriteBuffer): adjust
4086 * buffer.C (asciiParagraph): remove some commented code.
4088 * CutAndPaste.C: remove current_view extern variable.
4089 (cutSelection): add BufferParams arg.
4090 (eraseSelection): add BufferParams arg.
4091 (pasteSelection): add Buffer const & arg
4093 2003-06-07 John Levon <levon@movementarian.org>
4096 * paragraph_funcs.C:
4097 * paragraph_pimpl.C:
4101 * paragraph.C: allow InsetERT to freely space lines,
4102 and some consolidation of code
4104 2003-06-06 José Matos <jamatos@fep.up.pt>
4106 * buffer.C (makeDocBookFile): fix bug #821
4108 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4110 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4112 2003-06-04 Angus Leeming <leeming@lyx.org>
4114 * buffer.C: bump format to 224.
4116 2003-06-05 André Pönitz <poenitz@gmx.net>
4118 * text2.C (redoParagraphs): remove two const_cast<>
4120 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4122 * ParagraphList.h: remove last remnants of NO_STD_LIST
4124 2003-06-03 Angus Leeming <leeming@lyx.org>
4126 * factory.C (createInset): small change to the way InsetExternal's params
4129 2003-06-04 André Pönitz <poenitz@gmx.net>
4131 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4133 * paragraph_pimpl.h:
4134 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4136 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4138 * undo_funcs.C: make some simple cases of undo work again
4140 2003-06-03 John Levon <levon@movementarian.org>
4142 * ispell.C: HPUX doesn't have sys/select.h
4145 2003-06-03 John Levon <levon@movementarian.org>
4147 * CutAndPaste.C: update tabular and include inset
4152 * paragraph.C: remove owningBuffer(), don't pass Buffer
4155 * factory.C: insetGraphicsParams changed
4157 2003-06-02 John Levon <levon@movementarian.org>
4163 * text3.C: remove insetparent
4165 2003-06-02 John Levon <levon@movementarian.org>
4168 * buffer.C: fix inset_iterator.end(), move out of line
4171 2003-06-01 John Levon <levon@movementarian.org>
4173 * text3.C: use a proper cut/paste when doing inset
4174 insert (from Jürgen Spitzmüller)
4176 2003-06-01 John Levon <levon@movementarian.org>
4178 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4180 2003-05-30 André Pönitz <poenitz@gmx.net>
4182 * rowpainter.C: unify second drawing phase
4184 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4186 * trans_mgr.C: remove one case of current_view
4188 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4190 * paragraph_funcs.h: remove paragraph.h include
4192 * paragraph.h: delete NO_STD_LIST stuff
4194 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4196 * buffer.h: remove paragraph.h include
4198 * ParagraphList.C: delete file
4200 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4202 * toc.C (getTocList): adjust
4204 * paragraph_pimpl.C (validate): adjust
4206 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4208 * paragraph.C (Paragraph): adjust
4209 (getPositionOfInset): use const_iterator, adjust
4210 (bibitem): use const_iterator, adjust
4211 (setInsetOwner): adjust
4213 * iterators.C (operator++): adjust
4215 * InsetList.[Ch]: Replace selfmade iterator with standard
4216 vector::iterator also introduce const_iterator. Remove getPos,
4217 getInset and setInset from InsetTable. Adjust accordingly.
4219 * BufferView.C (lockInset): adjust
4220 (ChangeInsets): adjust
4222 * tabular.[Ch]: delete commented same_id functions
4224 2003-05-28 John Levon <levon@movementarian.org>
4226 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4228 2003-05-28 André Pönitz <poenitz@gmx.net>
4230 * metricsinfo.[Ch]: remove 'fullredraw' member
4232 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4234 * lyxtextclass.C (operator): remove caching.
4236 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4240 * text2.C (cursorBottom): adjust
4241 (setCounter): use ParagraphList::find, adjust
4243 * text.C (workWidth): use ParagraphList::find, adjust
4245 * lyxcursor.C (LyXCursor): adjust
4247 * buffer.C (inset_iterator): adjust
4249 * ParagraphList.h: make iterator(value_type) private, make
4250 ParagraphList a friend of iterator.
4252 * ParagraphList.C (find): new function
4254 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4256 2003-05-27 André Pönitz <poenitz@gmx.net>
4258 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4260 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4262 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4264 2003-05-26 John Levon <levon@movementarian.org>
4266 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4268 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4270 * remove same_id from function signatures, adjust.
4272 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4276 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4278 * paragraph.C (Paragraph): get rid of same_ids parameter
4280 * ParagraphList.C (insert): adjust
4283 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4285 * paragraph_funcs.C (breakParagraph): adjust
4286 (breakParagraphConservative): adjust
4288 * buffer.C (readParagraph): adjust
4290 * ParagraphList.C (insert): take a reference instead of a pointer
4293 * paragraph.[Ch] (id): new function
4295 * bufferlist.C (newFile): adjust
4297 * ParagraphList.C (ParagraphList): adjust
4299 (push_back): take a reference instead of a pointer.
4301 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4303 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4306 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4307 set else use old code.
4309 * ParagraphList.C: remove all NO_NEXT code and only compile this
4310 code of NO_STD_LIST is set.
4312 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4314 * BufferView_pimpl.C:
4324 * graphics/GraphicsConverter.C:
4325 * graphics/PreviewLoader.C: header adjustment
4327 2003-05-23 Angus Leeming <leeming@lyx.org>
4329 * LaTeXFeatures.[Ch] (useBabel): new method.
4330 * bufferparams.C (writeLaTeX): use it.
4332 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4334 * ParagraphList.h (set): remove unused function.
4336 2003-05-23 André Pönitz <poenitz@gmx.net>
4339 * BufferView_pimpl.C:
4343 * undo_funcs.C: setUndo reworked
4345 * iterators.[Ch]: add access to topmost ParagraphList
4347 * lyxtext.[Ch] (workWidth): add a const
4349 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4351 * texrow.[Ch] (increasePos): remove function
4352 * exporter.C (export): removed unused var and outdated comment
4354 2003-05-23 Angus Leeming <leeming@lyx.org>
4356 * latexrunparams.h: rename fragile as moving_arg.
4357 * paragraph.C (simpleTeXOnePar): ditto.
4358 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4360 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4364 (textUndoOrRedo): comment out a currently unused var.
4366 * paragraph.h (NO_NEXT): enable NO_NEXT
4368 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4370 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4372 * exporter.C (Export): adjust for removeAutoInsets removal.
4374 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4376 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4378 * BufferView.[Ch] (removeAutoInsets): delete function
4380 2003-05-22 Angus Leeming <leeming@lyx.org>
4382 * latexrunparams.h: add a free_spacing variable.
4384 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4385 to pass moving_arg, as the data is stored in runparams.fragile.
4387 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4388 to Inset::latexOptional or to simpleTeXOnePar.
4390 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4391 free_spacing arg to Inset::latexOptional.
4393 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4396 2003-05-22 Angus Leeming <leeming@lyx.org>
4398 * latexrunparams.h: add fragile and use_babel variables.
4400 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4401 * buffer.C (makeLaTeXFile): store this returned value in
4402 runparams.use_babel, thus passing it to the inset::latex methods.
4404 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4405 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4407 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4408 longer has a fragile arg, as it is stored in runparams.fragile.
4410 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4411 moving_arg parameter as the data is stored in runparams.fragile.
4413 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4414 a fragile parameter as the data is stored in runparams.fragile.
4416 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4420 2003-05-22 Angus Leeming <leeming@lyx.org>
4422 * latexrunparams.h: add a 'bool nice' which defaults to false.
4424 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4425 now encapsulated within runparams.
4427 * bufferlist.C (updateIncludedTeXfiles):
4428 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4430 2003-05-22 Angus Leeming <leeming@lyx.org>
4432 * latexrunparams.h: new file containing struct LatexRunParams.
4433 * Makefile.am: add new file.
4435 * LaTeX.[Ch] (c-tor, run):
4436 * buffer.[Ch] (makeLaTeXFile):
4437 * bufferlist.[Ch] (updateIncludedTeXfiles):
4438 * converter.C (convert, scanLog):
4439 * converter.[Ch] (runLaTeX):
4440 * exporter.C (Export):
4441 * paragraph.[Ch] (simpleTeXOnePar):
4442 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4443 * paragraph_funcs.[Ch] (latexParagraphs):
4444 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4445 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4446 pass around a LatexRunParams parameter.
4448 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4450 * paragraph.[Ch]: remove unused constructor
4452 * ParagraphList.C (erase): new function, taking two iterators
4454 2003-05-22 André Pönitz <poenitz@gmx.net>
4456 * undo_funcs.C: remove duplicated code
4458 * iterator.[Ch]: operator=
4460 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4462 * tabular.C (SetMultiColumn): ws changes
4464 * rowpainter.C (paintFirst): get rid of a ->previous
4466 * lyx_cb.C (getPossibleLabel): parlist simplification
4468 * BufferView.C (ChangeInsets): simplify slightly.
4470 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4472 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4473 * lfuns.h: new LFUN_SPACE
4474 * lyxfunc.C: protected space has a new lfun
4475 * paragraph_funcs.C: read new space insets
4477 * factory.C: handle new space insets
4479 2003-05-22 André Pönitz <poenitz@gmx.net>
4482 * BufferView_pimpl.C:
4485 * undo_funcs.C: return a ParIterator from getParFromID.
4487 * iterators.[Ch]: add two const's
4489 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4491 * toc.C (getTocList): adjust
4493 * iterators.[Ch]: rework for parlist
4495 * buffer.C (par_iterator_begin): adjust
4496 (par_iterator_end): adjust
4498 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4500 * BufferView.C (removeAutoInsets): adjust
4501 (ChangeInsets): adjust
4503 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4505 * text.C (top_y): fix bug 1110
4507 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4509 * errorlist.[Ch]: added
4512 * BufferView_pimpl.C:
4513 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4516 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4518 * Makefile.am: ensure that lyx is relinked upon changes to the
4519 various "convenience" libs.
4521 2003-05-20 Angus Leeming <leeming@lyx.org>
4523 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4524 files are compiled in alphabetical order again.
4526 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4528 2003-05-19 Angus Leeming <leeming@lyx.org>
4530 * gettext.[Ch]: remove "char const * _(char const *)".
4532 2003-05-19 André Pönitz <poenitz@gmx.net>
4534 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4543 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4545 2003-05-19 André Pönitz <poenitz@gmx.net>
4549 * lyxtextclass.[Ch]:
4551 * paragraph_funcs.[Ch]:
4553 * text3.C: more insetenv work
4555 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4557 * ParagraphParameters.C (params2string): small bug fixed
4559 2003-05-16 André Pönitz <poenitz@gmx.net>
4562 * bufferview_funcs.C: patch from Kornel Benko to prevent
4563 crash when _(...) is called twice in a statement
4565 2003-05-16 André Pönitz <poenitz@gmx.net>
4572 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4574 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4576 * lyx_main.C (init): remove spurious static_cast
4578 2003-05-14 André Pönitz <poenitz@gmx.net>
4580 * BufferView.C: fix format string
4582 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4584 * BufferView.[Ch] (insertErrors): removed
4585 * BufferView.[Ch] (showErrorList): added
4586 * buffer.C (runChkTeX):
4587 * converter.C (scanLog): call showErrorList instead of inserterrors
4589 2003-05-13 André Pönitz <poenitz@gmx.net>
4591 * BufferView_pimpl.C:
4593 * bufferview_func.C:
4600 * tabular_funcs.h: tostr() from its own header
4602 * ParagraphParameters.C:
4607 * text3.C: STRCONV()
4609 2003-05-12 André Pönitz <poenitz@gmx.net>
4612 * BufferView_pimpl.C:
4616 * ParagraphParameters.C:
4620 * bufferview_funcs.C:
4633 * paragraph_funcs.C:
4637 * text3.C: boost::format -> bformat all over the place
4640 2003-05-09 André Pönitz <poenitz@gmx.net>
4642 * LColor.[Ch]: Pimpl the #include <map> away
4644 2003-05-09 John Levon <levon@movementarian.org>
4646 * bufferlist.C: never remove emergency saves
4648 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * Makefile.am: better lib building
4652 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4656 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4657 (simpleTeXSpecialChars): adjust
4658 (simpleTeXSpecialChars): adjust
4659 * paragraph.C (simpleTeXOnePar): adjust
4660 * buffer.C (makeLaTeXFile): adjust
4662 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4664 * text2.C (changeDepth): parlist cleanup
4665 (getColumnNearX): ditto
4667 * rowpainter.C (getLabelFont): parlist cleanup
4669 * bufferlist.C (newFile): parlist cleanup
4671 * CutAndPaste.C (eraseSelection): parlist cleanup
4673 * BufferView_pimpl.C (trackChanges): parlist cleanup
4676 * BufferView.C (lockInset): parlist cleanup.
4677 (ChangeInsets): ditto
4679 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4681 * CutAndPaste.h: Update file header.
4683 * CutAndPaste.C: Update file header.
4684 Store the parts cut out of the Document in a limited_stack.
4685 (copySelection): adjust
4686 (pasteSelection): new function, takes the index in the limited stack.
4687 (nrOfParagraphs): adjust
4688 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4689 simplify error inset insertion.
4690 (checkPastePossible): adjust
4692 2003-05-06 John Levon <levon@movementarian.org>
4694 * text2.C: don't cast wrap inset to float
4696 2003-05-05 André Pönitz <poenitz@gmx.net>
4699 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4701 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4702 few naked Paragraph *.
4704 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4706 * bufferparams.C: Output warning if a document with missing
4707 TeX document class is loaded
4708 * exporter.C: Disable TeX exports if the document class is missing
4711 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4712 isTeXClassAvailable()
4714 2003-05-03 John Levon <levon@movementarian.org>
4717 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4718 explicit cursor show/hide
4720 * BufferView_pimpl.h:
4721 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4722 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4724 * lyxfunc.C: hide cursor before dispatching.
4729 * text3.C: remove explicit cursor hides
4731 2003-05-02 André Pönitz <poenitz@gmx.net>
4733 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4736 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4739 * text2.C: tiny whitespace
4741 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * undo_funcs.C: almost only ws changes.
4745 * ParagraphList.C (splice): just return if pl is empty.
4747 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * ParagraphList.C (splice): new function.
4751 * CutAndPaste.C (pasteSelection): use it
4753 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * CutAndPaste.C (pasteSelection): remove the last next and
4756 previous from this file.
4758 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * CutAndPaste.C (pasteSelection): more clean up, user proper
4761 ParagraphList functions for pasteing.
4763 * ParagraphList.C (insert): new function, three arg insert
4765 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * ParagraphList.C (insert): new function, three arg insert
4769 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4772 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4776 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4780 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4783 (copySelection): clean up a bit.
4784 (pasteSelection): use make_pair
4786 * ParagraphList.C (ParagraphList): implement copy constructor
4787 (operator=): implement, base on copy constructor.
4790 * paragraph.C (erase): return a bool
4792 * paragraph_pimpl.C (erasePos): remove function, move contents...
4793 (erase): ... here. Return a bool.
4794 (erase): call erase instead of erasePos.
4796 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4798 * ParagraphList.h: define PitPosPair
4799 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4800 ParagraphList, fix a bug on pasting multiple pars
4801 * text2.C: change interface to C&P
4803 2003-04-30 André Pönitz <poenitz@gmx.net>
4805 * undo_func.C: revert part of yesterday's patch 2
4807 2003-04-30 John Levon <levon@movementarian.org>
4809 * LColor.C: s/tabular/table/
4811 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4813 * text3.C (dispatch): do not convert iterator -> pointer
4814 * undo_funcs.C (setCursorParUndo): ditto
4815 * text_funcs.C (transposeChars): ditto
4817 * text2.C (setLayout): ws changes only
4819 * text.C (breakParagraph): do not convert iterator -> pointer
4821 (acceptChange): ditto
4822 (rejectChange): ditto
4827 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4830 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4832 * text3.C (gotoInset): YABG (yet another bad getChar)
4834 2003-04-29 André Pönitz <poenitz@gmx.net>
4836 * paragraph.h: make operator= private unimplemented as long as
4839 * ParagraphList.C: whitespace
4842 * paragraph_pimpl.[Ch]:
4843 * paragraph_funcs.C:
4845 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4848 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4850 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4852 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4853 * paragraph.[Ch] (erase):
4854 * paragraph_pimpl.[Ch] (erase): change return type and value
4855 * text2.C (cutSelection): some rework
4857 2003-04-28 John Levon <levon@movementarian.org>
4859 * bufferlist.C: changes for unsaved changes dialog
4861 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4863 * bufferlist.C (newFile): set language (messages_) for new
4866 * buffer.C (readFile): ws changes only.
4868 2003-04-28 André Pönitz <poenitz@gmx.net>
4873 * BufferView_pimpl.C:
4874 * BufferView.C: getParFromID related ParagraphList::iterator changes
4876 2003-04-28 André Pönitz <poenitz@gmx.net>
4878 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4881 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4883 * messages.C: remove one more localedir class variable.
4885 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4887 * messages.C (getLocaleDir): singleton generation function
4889 (Messages): add a default constructor.
4891 * main.C (main): do not setup localedir here, do not call
4894 * gettext.C (_): use it.
4895 (gettext_init): delete funciton
4897 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4899 * gettext.C (getLyXMessages): new singleton generating function.
4901 * buffer.C (updateDocLang): adjust
4903 * Makefile.am (messages.o): add target
4904 (main.o): remove target
4906 2003-04-27 John Levon <levon@movementarian.org>
4911 * lyxvc.C: specify cancel button in Alert::prompt
4913 2003-04-26 John Levon <levon@movementarian.org>
4918 * LyXAction.C: add LFUN_INSET_SETTINGS
4920 * lyxfunc.C: don't enable tabular-feature when there's
4921 just any locking inset
4923 2003-04-26 John Levon <levon@movementarian.org>
4925 * bufferlist.C: re-add Cancel to buffer close question
4927 * lyxfunc.C: fix import UI a bit
4929 2003-04-25 John Levon <levon@movementarian.org>
4931 * gettext.C: remove the broken asserts for now
4933 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * messages.C: make case where setlocale cannot comply work better.
4937 * buffer.C (updateDocLang): new function
4938 (changeLanguage): use it
4941 * text2.C (setCounter): use B_ a bit.
4943 * lyxlayout.C (Read): be sure to trim the label strings.
4945 * messages.C (Messages): fix typo in comment
4947 * buffer.C (readFile): set message_ after file is loaded.
4948 (makeDocBookFile): remove double return
4949 (changeLanguage): reset message_ upon language change.
4950 (B_): new func, use this to get translated buffer strings.
4952 * main.C: add myself and Jean Marc as authors.
4954 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * messages.[hC]: pimplify Messages, and three different pimpls to be
4957 used in different circumstances.
4959 * gettext.[Ch]: change for use with new message code.
4961 2003-04-24 André Pönitz <poenitz@gmx.net>
4963 * factory.C: support for eqref
4965 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4967 * messages.[Ch]: add missing char
4969 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4971 * messages.[Ch]: New files
4973 2003-04-18 John Levon <levon@movementarian.org>
4977 * BufferView_pimpl.C:
4981 * text2.C: remove layout-copy/paste (bug 778)
4983 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4985 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4987 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4989 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4990 if they succeed. Act accordingly.
4992 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * text2.C (setCharFont): adjust
4995 (setCounter): adjust
4996 (insertStringAsLines): adjust
4998 * text.C (leftMargin): adjust
4999 (setHeightOfRow): adjust
5001 * rowpainter.C (paintFirst): adjust
5004 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5006 (isFirstInSequence): ditto
5007 (getEndLabel): ditto
5010 * paragraph.C (getParLanguage): comment out some hard stuff.
5012 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5014 (simpleDocBookOnePar): ditto
5015 (makeDocBookFile): use ParagraphList::iterator
5017 * CutAndPaste.C (pasteSelection): adjust
5019 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * text2.C (getFont): adjust
5022 (getLayoutFont): adjust
5023 (getLabelFont): adjust
5025 * paragraph_funcs.C (TeXOnePar): adjust
5027 * buffer.C (simpleLinuxDocOnePar): adjust
5028 (simpleDocBookOnePar): adjust
5030 * CutAndPaste.C (pasteSelection): adjust
5032 * BufferView.C (getEncoding): adjust
5034 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5036 2003-04-16 John Levon <levon@movementarian.org>
5038 * lyxfind.C: use parlist stuff for search/changes
5040 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5044 * text2.C (deleteEmptyParagraphMechanism): adjust
5046 * text2.[Ch] (ownerParagraph): delete func (both of them
5048 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5052 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5054 * ParagraphList.C: prepare for NO_NEXT
5056 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * text2.C (getFont): adjust
5059 (getLayoutFont): adjust
5060 (getLabelFont): adjust
5062 * paragraph.C (getFont): adjust
5063 (getLabelFont): adjust
5064 (getLayoutFont): adjust
5066 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5068 2003-04-15 John Levon <levon@movementarian.org>
5072 * lyx_main.C: handle Include in .ui files
5074 2003-04-15 John Levon <levon@movementarian.org>
5076 * MenuBackend.C: make the doc files length shorter
5079 * ToolbarBackend.C: handle toolbar placement flags,
5082 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5084 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5087 * paragraph_funcs.C (TeXOnePar): adjust
5089 * paragraph.C (getLabelFont): add outerfont arg, adjust
5090 (getLayoutFont): ditto
5091 (simpleTeXOnePar): adjust
5093 * paragraph_pimpl.C (realizeFont): delete func
5095 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5097 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5098 row argument, constify cur argument.
5100 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5102 * text2.C (getFont): adjust
5103 (getLayoutFont): adjust
5104 (getLabelFont): adjust
5106 * paragraph_funcs.C (TeXOnePar): adjust
5107 (outerFont): new func...
5108 (realizeFont): ...moved out from here, changed this to facilitate
5111 * paragraph.C (getFont): take outerfont as arg, adjust
5112 (simpleTeXOnePar): add outerfont arg, adjust
5114 * buffer.C (simpleLinuxDocOnePar): adjust
5115 (simpleDocBookOnePar): adjust
5117 * CutAndPaste.C (pasteSelection): adjust
5119 * BufferView.C (getEncoding): adjust
5121 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5123 * text2.C (setCharFont): adjust
5124 (setCounter): adjust
5126 * text.C (leftMargin): adjust
5127 (setHeightOfRow): adjust
5129 * rowpainter.C (paintFirst): adjust
5132 * paragraph_pimpl.C (realizeFont): adjust
5134 * paragraph.C (isFirstInSequence): move from here...
5135 * paragraph_funcs.C (isFirstInSequence): ...to here
5137 * paragraph.C (outerHook): move from here...
5138 * paragraph_funcs.C (outerHook): ...to here
5140 * paragraph.C (depthHook): move from here...
5141 * paragraph_funcs.C (depthHook): ...to here
5143 * paragraph.C (getEndLabel): move from here...
5144 * paragraph_funcs.C (getEndLabel): ...to here
5146 * text2.C (realizeFont): move from here...
5147 * paragraph_funcs.C (realizeFont): ...to here
5149 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5151 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5153 2003-04-14 Angus Leeming <leeming@lyx.org>
5155 * LColor.[Ch]: scrap LColor mathcursor.
5157 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5159 * lyxlex.[Ch] (text): delete function
5160 * trans.C (Load): adjust
5161 * paragraph_funcs.C (readParToken): adjust
5163 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5166 vector<char> instead of a char[].
5168 * lyxlex_pimpl.C (getString): adjust
5170 (lex): use getString
5174 * lyxlex.C (text): use pimpl_->getString()
5178 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5181 (makeFontEntriesLayoutSpecific): temp var for par.size()
5182 (setLayout): temp var for ownerParagraphs().end()
5183 (fullRebreak): temp var for rows().end()
5184 (selectionAsString): temp var for boost::next(startpit), realize
5185 that the while really is a regular for loop.
5186 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5187 setCursor in one place.
5188 (setParagraph): temp vr for ownerParagraphs().end()
5189 (updateCounters): make the while loop a for loop
5190 (cutSelection): temp var for ownerParagraphs().end()
5191 (updateInset): make the do {} while() a regular for loop
5192 (getCursorX): use temp vars
5193 (setCurrentFont): use temp vars
5194 (getColumnNearX): use temp vars
5196 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * text.C (transformChar): use temp var for getChar
5199 (computeBidiTables): use temp var for row->par()
5200 (fill): move temp vars for row->par() and pit->layout() earlier in
5202 (labelFill): use temp var for row->par()
5203 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5204 asc and desc, realize that pit never changes and that firstpit is
5205 just a duplicate and not needed. Exchange rit->par() with pit in a
5207 (breakAgain): use a temp var for boost::next(rit)
5208 (breakAgainOneRow): ditto
5209 (breakParagraph): use a temp var for rows().begin()
5210 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5211 (cursorRightOneWord): use temp var for cursor.par() and
5212 cursor.pos(), remove usage of tmpcursor.
5213 (cursorLeftOneWord): use temp var for cursor.par() and
5214 cursor.pos() only set cur at end of function.
5216 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * text.C, text2.C: exchange all usage of Paragraph::next with
5219 boost::next(ParagraphList::iterator)
5221 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5223 * text2.C (cursorTop): simplify implementation
5224 (cursorBottom): ditto
5225 (setParagraph): use ParagraphList::iterator
5226 (setCurrentFont): adjust
5227 (getColumnNearX): adjust
5228 (cursorRight): adjust
5229 (cursorLeft): remove usage of Paragraph::previous
5230 (cursorUpParagraph): ditto
5231 (deleteEmptyParagraphMechanism): slight cleanup
5233 * text.C (isBoundary): take a Paragraph const & instead of a
5235 (addressBreakPoint): ditto
5236 (leftMargin): remove usage of Paragraph::previous.
5237 (setHeightOfRow): ditto
5238 (cursorLeftOneWord): ditto
5239 (selectNextWordToSpellcheck): ditto
5242 (breakParagraph): remove one usage of Paragraph::next
5243 (redoParagraph): ditto
5244 (acceptChange): ditto
5245 (insertChar): adjust
5246 (rowBreakPoint): adjust
5248 * bufferview_funcs.C (toggleAndShow): adjust
5250 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5252 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5253 methods to access it.
5255 * text.C: Added updateRowPositions to compute all row positions.
5256 Make top_y and getRowNearY() to use the cached y position
5258 2003-04-11 John Levon <levon@movementarian.org>
5260 * text.C (rowBreakPoint): reintroduce the labelEnd
5261 checks, code copied from the row fill stuff. Deep voodoo.
5263 * text.C (fill): add a comment and debugging for the
5266 2003-04-11 John Levon <levon@movementarian.org>
5268 * text.C: make sure fullrow insets get wrapped to the next line,
5269 even when they're in a manual label
5271 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5273 * text2.C (insertParagraph): make it take ParagraphList::iterator
5275 (setLayout): make it return ParagraphList::iterator
5276 (redoParagraphs): ditto
5278 (checkParagraph): ditto
5280 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5282 * text2.C: adjust several funcs.
5283 (realizeFont): take a ParagraphList::iterator as arg.
5284 (getLayoutFont): ditto
5285 (getLabelFont): ditto
5286 (setCharFont): ditto
5288 * text.C: adjust several funcs.
5290 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5292 * text.C (selectNextWordToSpellcheck): don't accidentally
5295 2003-04-10 John Levon <levon@movementarian.org>
5297 * ToolbarBackend.C (getIcon): special handling for
5300 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5302 * text2.C (cursorRight): a getChar assert fixed
5304 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5306 * text2.C (getFont): change to take a ParagraphList::iterator
5307 instead of Paragraph*
5308 Adjust several functions.
5310 * text.C (transformChar): change to take a ParagraphList::iterator
5311 instead of Paragraph*
5312 (singleWidth): ditto
5313 Adjust several functions.
5315 * rowpainter.C: adjust several functions
5316 * rowpainter.h:store a ParagraphList::iterator and not a
5320 2003-04-09 John Levon <levon@movementarian.org>
5325 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5326 and the "help" bits as well
5328 2003-04-09 John Levon <levon@movementarian.org>
5331 * ToolbarBackend.C: allow multiple toolbars
5333 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * undo_funcs.C (setCursorParUndo): adjust
5337 * text_funcs.C (transposeChars): adjust
5339 * text3.C (gotoNextInset): adjust
5342 * text2.C (setLayout): adjust
5343 (changeDepth): adjust
5345 (redoParagraphs): adjust
5346 (selectionAsString): adjust
5347 (setParagraph): adjust
5348 (insertInset): adjust
5349 (cutSelection): adjust
5350 (copySelection): adjust
5351 (pasteSelection): adjust
5352 (insertStringAsLines): adjust
5353 (updateInset): adjust
5354 (setCursor): change to take a ParagraphList::iterator parameter
5355 (setCursorIntern): change to take a ParagraphList::iterator parameter
5356 (setCurrentFont): adjust
5357 (cursorLeft): adjust
5358 (cursorRight): adjust
5359 (deleteEmptyParagraphMechanism): adjust
5361 * text.C (breakParagraph): adjust
5362 (insertChar): adjust
5363 (acceptChange): adjust
5364 (rejectChange): adjust
5365 (selectNextWordToSpellcheck): adjust
5366 (changeCase): adjust
5370 * lyxfind.C (SearchForward): adjust
5371 (SearchBackward): adjust
5372 (nextChange): adjust
5374 * lyxcursor.C (par): adjust
5376 * lyxcursor.h: store a ParagraphList::iterator instead of a
5379 * lyx_cb.C (getPossibleLabel): adjust
5381 * bufferview_funcs.C (toggleAndShow): adjust
5383 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5386 * BufferView.C (removeAutoInsets): adjust
5387 (lockedInsetStoreUndo): adjust
5389 2003-04-09 John Levon <levon@movementarian.org>
5391 * ToolbarBackend.C: try icon without argument
5392 if with argument fails
5394 2003-04-08 John Levon <levon@movementarian.org>
5397 * ToolbarBackend.C: add getIcon(), handle tooltip,
5398 and change from "Icon" to "Item".
5400 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5402 * BufferView.C (lockInset): another bad getchar crunched
5404 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5406 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5409 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5411 * lyxfind.C (searchForward, searchBackwards): bug 782
5413 2003-04-07 John Levon <levon@movementarian.org>
5415 * paragraph.C: remove dead comment
5417 * text.C: remove troublesome depth-fiddling code
5418 in leftMargin() and rightMargin() (bug 1017)
5420 * text.C: fix breaking of rows in nested lists
5423 * text2.C (updateCounters): fix up depth values
5426 2003-04-07 John Levon <levon@movementarian.org>
5428 * BufferView_pimpl.C: clear message when doc finishes resizing,
5429 and after a mouse event
5431 * lyxfunc.C: clear message after exiting inset
5433 2003-04-07 John Levon <levon@movementarian.org>
5435 * bufferview_funcs.C: show math status not outside
5436 status in the statusbar
5438 2003-04-07 John Levon <levon@movementarian.org>
5440 * lyxfunc.C: note status changed after a depth change
5442 2003-04-04 Angus Leeming <leeming@lyx.org>
5444 * LaTeX.h: move AuxInfo operator==, != out of line.
5445 Remove LaTeX virtual destructor; nothing derives from it.
5446 Move operator()() out of public area and rename it startscript().
5447 Change protected for private.
5449 2003-04-04 Angus Leeming <leeming@lyx.org>
5452 * text2.C: remove unneeded #includes.
5454 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5456 * text2.C (dEPM): fix the heigth of the next row
5458 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5460 * text.C: squashed an invalid getChar requester + some ws changes
5462 2003-04-03 John Levon <levon@movementarian.org>
5464 * bufferview_funcs.h:
5465 * bufferview_funcs.C:
5468 * text2.C: make getStatus work for the env depth lfuns
5470 2003-04-03 John Levon <levon@movementarian.org>
5472 * bufferview_funcs.h:
5473 * bufferview_funcs.C:
5476 * text2.C: parlistize decDepth(), by merging it with incDepth()
5478 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * lyxrow.h: store a ParagraphList::iterator instead of a
5481 Paragraph* and adjust other class functions to suit.
5483 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5486 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5488 * text2.C (setCursor): do not anchor to cursor row for the time being
5490 2003-04-02 John Levon <levon@movementarian.org>
5497 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5499 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5501 * paragraph.h: make ParagraphList and ParagraphList::iterator
5502 friends of Paragraph.
5504 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5506 * ParagraphList.C: Use the private next_ and previous_ from
5509 2003-04-01 John Levon <levon@movementarian.org>
5513 * Makefile.am: rename, remove defaults gunk
5516 * MenuBackend.C: remove defaults gunk
5519 * Languages.C: remove defaults gunk
5522 * lyx_main.C: error out if files couldn't be found.
5524 2003-04-02 John Levon <levon@movementarian.org>
5526 * text2.C: make incDepth() use parlist
5528 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * undo_funcs.C (firstUndoParagraph): adjust
5532 * text3.C (gotoInset): adjust
5533 (dispatch): adjust, and rewrite loop.
5535 * text2.C (init): adjust, and rewrite loop.
5536 (redoParagraphs): adjust
5537 (updateInset): adjust, and rewrite loop.
5538 (deleteEmptyParagraphMechanism): adjust
5540 * tabular.C (LyXTabular): adjust
5541 (SetMultiColumn): adjust
5544 * lyxtext.[Ch] (ownerParagraph): delete function
5545 (ownerParagraphs): new function returns a ParagraphList.
5547 * BufferView.C (removeAutoInsets): adjust
5548 (insertErrors): adjust
5549 (setCursorFromRow): adjust
5551 2003-04-01 Angus Leeming <leeming@lyx.org>
5553 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5556 2003-04-02 John Levon <levon@movementarian.org>
5562 * text_funcs.C: make transposeChars a free function
5564 * lyxrow_funcs.C: remove wrong comment
5566 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * rowpainter.C: adjust
5574 * lyxrow_funcs. [Ch]: new files
5576 * lyxrow.[Ch]: remove next and previous pointers
5577 (next,previous): remove accessor functions
5578 (isParEnd): move to lyxrow_funcs
5579 (lastPos): move to lyxrow_funcs
5580 (nextRowIsAllInset): move to lyxrow_funcs
5581 (lastPrintablePos): move to lyxrow_funcs
5582 (numberOfSeparators): move to lyxrow_funcs
5583 (numberOfHfills): move to lyxrow_funcs
5584 (numberOfLabelHfills): move to lyxrow_funcs
5585 (hfillExpansion): move to lyxrow_funcs
5589 * bufferview_funcs.C (toggleAndShow): adjust
5591 * RowList.h: Remove class RowList from file leave just a
5594 * RowList.C: delete file
5596 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5599 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * text3.C (cursorPrevious): adjust
5602 (cursorNext): adjust
5605 * text2.C (redoHeightOfParagraph): adjust
5606 (redoDrawingOfParagraph): adjust
5609 * text.C (breakParagraph): adjust
5610 (insertChar): adjust
5613 * rowpainter.C (RowPainter): adjust
5614 (leftMargin): simplify and adjust
5615 (most rowpainter functions): adjust.
5617 * rowpainter.h: store the row as RowList::iterator not as Row*
5619 * lyxcursor.C (row): taka RowList::iterator as arg
5622 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5625 2003-04-01 Angus Leeming <leeming@lyx.org>
5627 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5628 stuff like bool Bool.
5630 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5632 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5635 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5637 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5640 * lyxtext.h (rows): drop one version and leve a const variant that
5641 returns a RowList::iterator.
5643 2003-03-31 Angus Leeming <leeming@lyx.org>
5645 * text.C (fill): ensure that the signature is the same as that in the
5648 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5650 * text2.C (redoParagraphs): adjust
5651 (updateCounters): adjust
5652 (checkParagraph): adjust
5653 (getColumnNearX): adjust and reformat a bit.
5655 * text.C (top_y): adjust
5657 (leftMargin): adjust
5658 (prepareToPrint): adjust
5660 (getRowNearY): adjust
5662 * lyxtext.h: make rowlist_ mutable.
5664 * RowList.h: add const_iterator
5665 * RowList.C: adjust for RowList::const_iterator.
5667 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5670 2003-03-31 John Levon <levon@movementarian.org>
5673 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5675 * lyx_main.C: set default fonts from using lyx_gui funcs
5677 * exporter.C: pdf_mode moved from lyxrc
5680 * lyxfunc.C: changes from above
5682 2003-03-31 John Levon <levon@movementarian.org>
5684 * lyx_main.C: fix to the last fix
5686 2003-03-31 John Levon <levon@movementarian.org>
5688 * bufferlist.C: "Load original" -> "Load Original"
5694 * format.C: more Alert cleanups
5696 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * text2.C (removeParagraph): make it take a RowList::iterator as
5700 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5701 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5703 * text.C (anchor_row): make it take a RowList::iterator as arg,
5705 (computeBidiTables): make it take a const reference to Row instead
5706 of Row pointer, adjust.
5707 (leftMargin): make it take a RowList::iterator as arg, adjust.
5708 (rowBreakPoint): adjust
5709 (breakAgainOneRow): make it take a RowList::iterator as arg,
5711 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5713 * bufferview_funcs.C (toggleAndShow): adjust
5715 2003-03-30 John Levon <levon@movementarian.org>
5719 * boost-inst.C: moved to support
5721 * several files: changes as a result
5723 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5725 * text2.C (LyXText): adjust.
5727 (removeRow): make it take a RowList::iterator as arg, adjust.
5728 (fullRebreak): adjust
5729 (deleteEmptyParagraphMechanism): adjust
5730 (clearPaint): adjust
5733 * text.C (top_y): adjust
5734 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5735 (breakAgain): make it take a RowList::iterator as arg, adjust.
5736 (breakParagraph): adjust
5737 (insertChar): adjust
5740 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5741 need_break_row, and refresh_row.
5743 * text3.C (dispatch): adjust
5745 * text2.C (checkParagraph): adjust
5747 (setCursorFromCoordinates): adjust
5749 * text.C (top_y): adjust
5751 (getRow): make it return a RowList::iterator, adjust
5752 (getRowNearY): make it return a RowList::iterator, adjust
5754 * text2.C (init): adjust
5755 (insertRow): remove function
5756 (insertParagraph): adjust
5757 (redoParagraphs): adjust
5758 (fullRebreak): adjust
5759 (updateCounters): adjust
5761 * text.C (top_y): rewrite to use RowList iterators.
5763 (setHeightOfRow): rewrite to sue RowList iterators.
5764 (appendParagraph): adjust
5765 (breakAgain): adjust
5766 (breakAgainOneRow): adjust
5767 (breakParagraph): adjust
5769 (getRowNearY): adjust, and remove commented code.
5771 * lyxtext.h (firstRow): delete function
5772 (lastRow): delete function
5773 (rows): new function (const and non-const versions.)
5774 (insertRow): delete function
5776 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5778 2003-03-29 John Levon <levon@movementarian.org>
5780 * BufferView_pimpl.C: always update scrollbar top
5781 because pasting text when we're anchored could mean we
5782 miss an update altogether
5784 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5786 * text2.C (init): use rowlist_.end() and not 0.
5787 (insertRow): change to take a RowList::iterator as arg, adjust
5789 (insertParagraph): change to take a RowList::iterator as arg,
5791 (redoParagraphs): remove some debug msgs.
5793 * text.C (appendParagraph): change to take a RowList::iterator
5794 arg, adjust for this.
5795 (breakAgain): add an assert
5796 (breakAgainOneRow): ditto
5798 2003-03-29 John Levon <levon@movementarian.org>
5800 * text2.C: do not clear selection after inc/decDepth
5803 2003-03-29 John Levon <levon@movementarian.org>
5806 * buffer.C: fix broken strerrors according to Lars
5808 2003-03-29 John Levon <levon@movementarian.org>
5810 * converters.C: more Alert cleanups
5812 2003-03-29 John Levon <levon@movementarian.org>
5814 * bufferview_funcs.C: remove pointless Alert
5816 * buffer.C: fix confusing error message when
5817 a template is chmoded 000
5819 2003-03-29 John Levon <levon@movementarian.org>
5823 * BufferView_pimpl.C: Alert fixes
5827 * tabular-old.C: remove unused table compat reading
5829 2003-03-29 John Levon <levon@movementarian.org>
5834 * lyx_cb.C: more Alert cleanups
5836 * lyxfunc.C: don't allow chktex if not latex document
5838 2003-03-29 John Levon <levon@movementarian.org>
5842 * buffer.C: warnings pushed down from support/,
5845 2003-03-29 John Levon <levon@movementarian.org>
5847 * lyxfunc.C: safety check for C-r (revert)
5849 2003-03-29 John Levon <levon@movementarian.org>
5852 * bufferlist.C: several UI fixes using Alert::prompt.
5853 Fix the pointless looping quit code. Fix stupid revert
5858 * lyx_cb.C: use Alert::prompt
5860 * lyx_main.C: remove a silly question
5862 * lyxfunc.C: remove a couple of silly questions,
5865 2003-03-28 John Levon <levon@movementarian.org>
5867 * text2.C: fix bug 974 (End on empty par)
5869 2003-03-28 John Levon <levon@movementarian.org>
5871 * BufferView_pimpl.C:
5873 * lfuns.h: remove do-nothing math greek lfuns
5875 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * lyxgluelength.h (isValidGlueLength): add default arg on
5878 parameter 2. Remove default arg from friend in class.
5880 * lyxlength.h (isValidLength): add default arg on parameter 2.
5881 Remove default arg from friend in class.
5883 * text2.C (LyXText): adjust, initialize refresh_row.
5887 (insertParagraph): adjst
5888 (redoParagraphs): adjust
5889 (fullRebreak): adjust
5890 (updateCounters): adjust
5891 (deleteEmptyParagraphMechanism): first attempt at fixing a
5894 * text.C (top_y): adjust
5895 (setHeightOfRow): adjust
5897 (getRowNearY): adjust
5899 * lyxtext.h: include RowList.h
5900 (~LyXText): not needed anymore, deleted.
5901 (firstRow): modify for RowList
5902 (lastRow): new function
5903 Delete firstrow and lastrow class variables, add a Rowlist
5904 rowlist_ class variable.
5906 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5909 * RowList.C (insert): fix case where it == begin().
5911 2003-03-26 Angus Leeming <leeming@lyx.org>
5913 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5914 the thesaurus dialog.
5916 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5920 * RowList.[Ch]: new files
5922 * ParagraphList.C (erase): handle the case where it == begin
5925 2003-03-25 John Levon <levon@movementarian.org>
5929 * aspell.C: add new aspell support
5932 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5935 2003-03-25 Angus Leeming <leeming@lyx.org>
5938 * LyXAction.C (init): new LFUN_INSET_INSERT.
5940 * BufferView_pimpl.C (dispatch): split out part of the
5941 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5943 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5946 2003-03-25 Angus Leeming <leeming@lyx.org>
5948 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5950 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5953 * text3.C: remove useless row->height(0)
5955 2003-03-25 John Levon <levon@movementarian.org>
5959 * text3.C: rename the refreshing stuff to better names
5961 2003-03-24 John Levon <levon@movementarian.org>
5963 * BufferView_pimpl.h:
5964 * BufferView_pimpl.C: update layout choice on a mouse
5967 2003-03-23 John Levon <levon@movementarian.org>
5969 * Makefile.am: fix commandtags.h reference
5971 2003-03-22 John Levon <levon@movementarian.org>
5973 * BufferView_pimpl.C:
5978 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5980 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5983 * text.C: take the rtl methods out of line
5985 2003-03-21 André Pönitz <poenitz@gmx.net>
5987 * metricsinfo.[Ch]: new files containing structures to be passed around
5988 during the two-phase-drawing...
5990 2003-03-21 André Pönitz <poenitz@gmx.net>
5992 * lyxtextclass.C: read 'environment' tag.
5994 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5996 * text2.C (removeRow): fix bug 964
5998 2003-03-20 John Levon <levon@movementarian.org>
6002 * text2.C: paint cleanups. Inset::update() dropped font
6005 2003-03-19 John Levon <levon@movementarian.org>
6007 * lyxfunc.C: only fitcursor/markDirty if available()
6009 2003-03-19 John Levon <levon@movementarian.org>
6011 * commandtags.h: rename to ...
6013 * lfuns.h: ... this, and renumber / cleanup
6015 2003-03-19 John Levon <levon@movementarian.org>
6017 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6018 fit the cursor after an lfun
6022 * BufferView_pimpl.h:
6023 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6025 * LyXAction.C: layout-character should have ReadOnly
6027 * ParagraphParameters.C:
6029 * bufferview_funcs.C:
6036 * undo_funcs.C: changes from above
6038 2003-03-18 John Levon <levon@movementarian.org>
6040 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6041 remove it from update()
6043 * lyxfunc.C: update layout choice after an lfun
6045 * text3.C: remove extra updateLayoutChoice()s
6047 2003-03-18 John Levon <levon@movementarian.org>
6049 * text.C: top_y change means full repaint, fix
6050 a drawing bug with cursor movement
6052 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6056 * text2.C: anchor row on setCursor
6058 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6060 * lyxtext.h: remove almost all mutable keywords
6063 * text3.C: remove const keywords accordingly
6065 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6067 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6069 (TeXEnvironment): ditto
6072 2003-03-17 John Levon <levon@movementarian.org>
6074 * text.C (rowBreakPoint): remove attempt to fix displayed
6075 math insets inside a manual label
6077 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6079 * lyxtext.h: remove BufferView* as first arg from almost all class
6081 * other files: adjust.
6083 2003-03-17 John Levon <levon@movementarian.org>
6087 * text2.C: more paint cleanups
6089 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6092 * rowpainter.C: remove "smart" background painting code
6094 2003-03-16 John Levon <levon@movementarian.org>
6099 * text3.C: add helper functions for setting refresh_row/y
6101 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6103 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6104 newline inset which *can* get inserted in the pass_thru layouts.
6105 This is primarily for literate documents.
6107 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6109 * buffer.C: increment LYX_FORMAT to 223
6111 2003-03-14 André Pönitz <poenitz@gmx.net>
6113 * textclass.h: prepare for environment handling, ws changes
6114 * lyxlayout.C: read latexheader and latexfooter tags
6116 2003-03-14 John Levon <levon@movementarian.org>
6118 * text2.C: rewrite ::status() a bit
6120 2003-03-13 John Levon <levon@movementarian.org>
6122 * lyxtext.h: add some docs
6124 2003-03-13 John Levon <levon@movementarian.org>
6129 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6131 2003-03-13 John Levon <levon@movementarian.org>
6133 * text3.C: fix appendix redrawing
6135 2003-03-13 John Levon <levon@movementarian.org>
6137 * text.C (setHeightOfRow):
6139 * rowpainter.C: make appendix mark have the text
6140 "Appendix" so the user knows what it is
6143 * LColor.C: s/appendixline/appendix/ from above
6145 2003-03-13 John Levon <levon@movementarian.org>
6147 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6149 * text.C: fix a getChar(pos) bug properly
6151 2003-03-13 Angus Leeming <leeming@lyx.org>
6154 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6155 Probably only temporary. Let's see how things pan out.
6157 * BufferView.C (unlockInset):
6158 * BufferView_pimpl.C (fitCursor):
6159 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6161 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6162 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6164 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6165 new functions that convert ParagraphParameters to and from a string.
6167 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6168 BufferView::Pimpl's dispatch.
6169 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6171 2003-03-13 André Pönitz <poenitz@gmx.net>
6175 * factory.C: make it aware of InsetEnv
6177 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * text2.C (setCursor): never ask for one past last
6180 (setCursor): add some debugging messages.
6182 * text.C (singleWidth): never ask for one past last
6183 (singleWidth): ditto
6185 (rightMargin): ditto
6186 (rowBreakPoint): ditto
6187 (setHeightOfRow): ditto
6188 (prepareToPrint): ditto
6190 * rowpainter.C (paintBackground): never ask for one past last
6191 (paintText): never ask for one past last
6193 * paragraph_pimpl.C (getChar): make the assert stricter, never
6194 allow the one past last pos to be taken
6196 * paragraph.C (getChar): ws changes only
6198 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6199 (numberOfSeparators): ditto
6200 (numberOfHfills): ditto
6202 2003-03-12 John Levon <levon@movementarian.org>
6208 * paragraph_funcs.C: fix per-buffer authorlists
6210 2003-03-12 John Levon <levon@movementarian.org>
6212 * text.C: fix newline in right address
6214 2003-03-12 Angus Leeming <leeming@lyx.org>
6216 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6217 duplicate those in LyXFunc::dispatch.
6221 * ToolbarDefaults.C:
6222 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6223 Add LFUN_FONTFREE_UPDATE.
6225 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6226 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6228 * bufferview_func.[Ch]: several new functions to facilliate
6229 transfer of data to and from the character dialog.
6231 2003-03-12 John Levon <levon@movementarian.org>
6236 * paragraph_funcs.C:
6237 * paragraph_pimpl.C:
6241 * text3.C: remove META_NEWLINE in favour of an inset
6244 * rowpainter.C: remove paintNewline (done by inset)
6246 2003-03-12 John Levon <levon@movementarian.org>
6248 * paragraph_pimpl.C: complain about bad getChar()s
6249 for a while at least
6251 2003-03-12 John Levon <levon@movementarian.org>
6254 * buffer.C: move paragraph read into a separate function,
6255 a little renaming to reflect that.
6258 * bufferparams.C: remove the author_ids map, not necessary now
6261 * factory.C: moved Buffer::readInset to here
6263 * paragraph_funcs.h:
6264 * paragraph_funcs.C: readParagraph free function moved from
6267 * tabular.C: name change
6269 2003-03-12 John Levon <levon@movementarian.org>
6272 * ParagraphParameters.C: move par params input to
6275 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6276 behave like a normal read from the stream wrt reading
6277 a line vs. a \\token
6279 2003-03-12 John Levon <levon@movementarian.org>
6282 * ParagraphParameters.h:
6283 * ParagraphParameters.C: move output code to a
6286 2003-03-12 John Levon <levon@movementarian.org>
6288 * BufferView.C (insertLyXFile):
6291 * tabular.C: use a parlist iterator for creating the
6294 2003-03-12 John Levon <levon@movementarian.org>
6296 * buffer.C: make current_change static local not
6299 2003-03-12 John Levon <levon@movementarian.org>
6301 * buffer.C: fix insertStringAsLines for change tracking
6303 2003-03-12 John Levon <levon@movementarian.org>
6310 * bufferparams.C: move author list into params. Rename some
6311 functions. Move the header reading into a separate token
6312 loop. Move the header token reading into BufferParams.
6314 2003-03-12 John Levon <levon@movementarian.org>
6316 * changes.C: put debug inside lyxerr.debugging() checks
6318 2003-03-11 André Pönitz <poenitz@gmx.net>
6320 * factory.C: make it aware of InsetHFill
6322 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6324 * buffer.C (latexParagraphs): move function from here...
6325 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6328 2003-03-10 Angus Leeming <leeming@lyx.org>
6330 * LyXAction.C (init): fix bug in poplating array with multiple entries
6331 with the same LFUN (spotted by JMarc).
6333 2003-03-10 John Levon <levon@movementarian.org>
6336 * text2.C: move getColumnNearX() near its
6339 2003-03-10 John Levon <levon@movementarian.org>
6341 * text.C: fix break before a minipage
6343 2003-03-10 John Levon <levon@movementarian.org>
6345 * text.C: fix the last commit
6347 2003-03-09 John Levon <levon@movementarian.org>
6351 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6352 bug 365 (don't break before insets unless needed). Don't
6353 return a value > last under any circumstances.
6355 2003-03-09 Angus Leeming <leeming@lyx.org>
6357 * BufferView_pimpl.C (trackChanges, dispatch): call
6358 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6360 2003-03-09 Angus Leeming <leeming@lyx.org>
6362 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6363 than Dialogs::showAboutlyx().
6365 2003-03-09 Angus Leeming <leeming@lyx.org>
6367 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6368 than Dialogs::showTabularCreate().
6370 2003-03-09 John Levon <levon@movementarian.org>
6374 * text2.C: 3rd arg to nextBreakPoint was always the same.
6377 2003-03-08 John Levon <levon@movementarian.org>
6384 * text2.C: Remove the "main" bit from the "main body"
6387 2003-03-08 John Levon <levon@movementarian.org>
6389 * text.C (leftMargin): The left margin of an empty
6390 manual label paragraph should not include the label width
6393 * text.C (prepareToPrint): don't attempt to measure hfills
6394 for empty manual label paragraphs - the answer should be 0
6396 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * CutAndPaste.C: remove commented code and reindent.
6400 2003-03-08 John Levon <levon@movementarian.org>
6403 * lyxfunc.C: move reloadBuffer()
6406 * BufferView.C: to here
6408 * lyxvc.C: add comment
6411 * vc-backend.C: call bv->reload() to avoid
6412 getStatus() check on MENURELOAD
6414 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6416 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6417 to an old format .dep file.
6419 2003-03-07 Angus Leeming <leeming@lyx.org>
6421 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6422 when the LFUN_MOUSE_RELEASE should have been handled by
6423 inset->localDispatch.
6425 2003-03-07 Angus Leeming <leeming@lyx.org>
6427 * BufferView_pimpl.C (dispatch):
6428 * LyXAction.C (init):
6429 * ToolbarDefaults.C (init):
6431 * lyxfunc.C (getStatus):
6432 remove LFUN_INSET_GRAPHICS.
6434 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6436 2003-03-07 Angus Leeming <leeming@lyx.org>
6439 * LyXAction.C (init):
6440 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6442 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6445 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6447 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6448 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6450 2003-03-07 Angus Leeming <leeming@lyx.org>
6452 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6455 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6457 * ParagraphList.C (front): new function
6460 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6462 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6463 and top_row_offset_. removed var first_y.
6465 * text2.C (LyXText, removeRow):
6467 * BufferView_pimpl.C:
6468 use these methods instead of using first_y
6470 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6472 * text2.C (pasteSelection): adjust for checkPastePossible
6474 * CutAndPaste.C: remove Paragraph * buf and replace with
6475 ParagraphList paragraphs.
6476 (DeleteBuffer): delete
6477 (cutSelection): change the tc type to textclass_type
6478 (copySelection): change the tc type to textclass_type
6479 (copySelection): adjust for ParagraphList
6480 (pasteSelection): change the tc type to textclass_type
6481 (pasteSelection): adjust for Paragraphlist
6482 (nrOfParagraphs): simplify for ParagraphList
6483 (checkPastePossible): simplify for ParagraphList
6484 (checkPastePossible): remove unused arg
6486 * ParagraphList.C (insert): handle the case where there are no
6489 * CutAndPaste.h: make CutAndPaste a namespace.
6491 * text3.C (dispatch): adjust
6493 * text.C (breakParagraph): add a ParagraphList as arg
6495 * paragraph_funcs.C (breakParagraph): change to take a
6496 BufferParams and a ParagraphList as args.
6497 (breakParagraphConservative): ditto
6498 (mergeParagraph): ditto
6499 (TeXDeeper): add a ParagraphList arg
6500 (TeXEnvironment): ditto
6503 * buffer.C (readLyXformat2): adjust
6504 (insertStringAsLines): adjust
6505 (latexParagraphs): adjust
6507 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6508 (cutSelection): adjust
6509 (pasteSelection): adjust
6511 * BufferView_pimpl.C (insertInset): adjust
6513 2003-03-05 Angus Leeming <leeming@lyx.org>
6516 * LyXAction.C (init):
6517 * BufferView_pimpl.C (dispatch):
6518 * lyxfunc.C (getStatus):
6519 remove LFUN_CHILD_INSERT.
6521 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6523 2003-03-05 Angus Leeming <leeming@lyx.org>
6526 * LyXAction.C (init):
6527 * src/factory.C (createInset):
6528 * lyxfunc.C (getStatus):
6529 * text3.C (dispatch):
6530 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6532 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6534 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * ParagraphList.C (insert): handle insert right before end()
6537 (erase): fix cases where it can be first or last paragraph.
6539 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6542 Paragraph::next and Paragraph::previous
6545 * text.C (breakParagraph): adjust
6547 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6548 BufferParams& as arg.
6549 (breakParagraph): use ParagraphList::insert
6550 (breakParagraphConservative): take a Buffer* instead of a
6551 BufferParams& as arg.
6552 (breakParagraphConservative): use ParagraphList::insert.
6554 * buffer.C (insertStringAsLines): un-const it
6555 (insertStringAsLines): adjust
6557 * ParagraphList.C (insert): new function
6559 * CutAndPaste.C (pasteSelection): adjust
6561 * text.C (backspace): adjust
6563 * tabular.C (SetMultiColumn): adjust
6565 * CutAndPaste.C (cutSelection): adjust
6566 (pasteSelection): adjust
6568 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6569 Buffer const * as arg
6571 * ParagraphList.C (erase): new function
6572 * paragraph_funcs.C (mergeParagraph): use it
6573 (mergeParagraph): make it take a Buffer* instead of a
6574 BufferParams* as arg
6576 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6578 (breakParagraphConservative): ditto
6580 * paragraph.h: remove the breakParagraph friend
6582 * paragraph.C (eraseIntern): new function
6583 (setChange): new function
6585 * paragraph_funcs.C (mergeParagraph): make it take a
6586 ParagraphList::iterator instead of a Paragraph *, adjust
6589 * paragraph.h: move an #endif so that the change tracking stuff
6590 also works in the NO_NEXT case.
6592 2003-03-04 Angus Leeming <leeming@lyx.org>
6595 * LyXAction.C: new LFUN_INSET_MODIFY.
6597 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6598 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6600 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * several files: ws changes only
6604 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6605 (TeXEnvironment): ditto
6608 * buffer.C (makeLaTeXFile): adjust
6609 (latexParagraphs): make it take ParagraphList::iterator as args
6611 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6613 * buffer.C (latexParagraphs): adjust
6615 * paragraph.C (TeXOnePar): move function...
6616 (optArgInset): move function...
6617 (TeXEnvironment): move function...
6618 * paragraph_pimpl.C (TeXDeeper): move function...
6619 * paragraph_funcs.C: ...here
6621 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6623 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * buffer.C (readInset): remove compability code for old Figure and
6628 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * buffer.C: ws changes
6633 * BufferView_pimpl.C: ditto
6636 * bufferlist.h: ditto
6640 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6642 * converter.[Ch]: split into itself +
6645 * Makefile.am: += graph.[Ch] + format.[Ch]
6652 * lyxrc.C: added #include "format.h"
6654 2003-02-27 Angus Leeming <leeming@lyx.org>
6656 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6659 * factory.C (createInset): add "label" to the factory.
6661 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6662 string and do no more.
6664 2003-02-27 Angus Leeming <leeming@lyx.org>
6667 * LyXAction.C (init):
6668 * factory.C (createInset):
6669 * BufferView_pimpl.C (dispatch):
6670 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6672 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6674 * lyxfunc.C (dispatch):
6675 * text3.C (dispatch): pass name to params2string.
6677 2003-02-26 Angus Leeming <leeming@lyx.org>
6679 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6681 Rearrange the ~includes. Strip out the unnecessary ones.
6683 * factory.C (createInset): reformat.
6684 create new insets for the various LFUN_XYZ_APPLY lfuns.
6686 2003-02-26 John Levon <levon@movementarian.org>
6689 * lyxrow.C: add isParStart,isParEnd helpers
6691 * paragraph.h: make isInserted/DeletedText take refs
6693 * paragraph_funcs.h:
6694 * paragraph_funcs.C: remove #if 0'd code
6699 * text.C: use lyxrow helpers above.
6700 Move draw and paint routines to RowPainter.
6701 Make several methods use refs not pointers.
6702 Make backgroundColor() const.
6703 Add markChangeInDraw(), isInInset().
6704 Merge changeRegionCase into changeCase.
6705 Make workWidth() shouldn't-happen code into an Assert.
6708 * rowpainter.C: new class for painting a row.
6711 * vspace.C: make inPixels take a ref
6713 2003-02-26 Angus Leeming <leeming@lyx.org>
6715 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6718 2003-02-25 John Levon <levon@movementarian.org>
6720 * ispell.C: give the forked command a more accurate name
6722 2003-02-22 John Levon <levon@movementarian.org>
6725 * toc.C: make TocItem store an id not a Paragraph *
6728 2003-02-21 Angus Leeming <leeming@lyx.org>
6730 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6731 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6732 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6733 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6734 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6735 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6737 * BufferView_pimpl.C (dispatch):
6738 * LyXAction.C (init):
6739 * factory.C (createInset):
6740 * lyxfunc.C (getStatus, dispatch):
6741 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6743 2003-02-21 Angus Leeming <leeming@lyx.org>
6745 * BufferView_pimpl.C (MenuInsertLyXFile):
6746 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6747 * lyxfunc.C (menuNew, open, doImport):
6748 no longer pass a LyXView & to fileDlg.
6750 2003-02-21 Angus Leeming <leeming@lyx.org>
6752 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6753 * LyXAction.C: change, BIBKEY to BIBITEM.
6754 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6755 Change InsetBibKey to InsetBibitem.
6756 Change BIBKEY_CODE to BIBITEM_CODE.
6757 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6758 * factory.C: replace insetbib.h with insetbibitem.h.
6759 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6760 * paragraph.C: replace insetbib.h with insetbibitem.h.
6761 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6762 Change bibkey() to bibitem().
6763 * text.C: remove insetbib.h.
6764 * text2.C: replace insetbib.h with insetbibitem.h.
6765 change bibkey() to bibitem().
6766 * text3.C: remove insetbib.h.
6767 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6769 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6771 * lyxrc.C (output): enclose user email in quotes (in case there are
6774 2003-02-18 John Levon <levon@movementarian.org>
6776 * buffer.h: add std::
6778 2003-02-17 John Levon <levon@movementarian.org>
6784 * pspell.C: reworking. Especially in ispell, a large
6785 number of clean ups and bug fixes.
6787 * lyxfunc.C: fix revert to behave sensibly
6789 2003-02-17 André Pönitz <poenitz@gmx.net>
6792 * commandtags.h: new LFUN_INSERT_BIBKEY
6802 * paragraph_func.C: remove special bibkey handling
6804 2003-02-17 John Levon <levon@movementarian.org>
6806 * text.C (Delete): fix case where delete at the end of
6807 the very first paragraph would not merge the pars
6809 2003-02-17 John Levon <levon@movementarian.org>
6811 * lyxrow.C: fix lastPrintablePos()
6813 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6815 * bufferparams.C (writeLaTeX): add a std:here
6817 * buffer.C: and remove a using directive there
6819 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6821 * buffer.C (makeLaTeXFile): move the code that generates the
6824 * bufferparams.C (writeLaTeX): ... in this new method
6826 * LaTeXFeatures.C (getEncodingSet): make const
6827 (getLanguages): make const
6829 * MenuBackend.C (binding): returns the binding associated to this
6831 (add): sets the status of each item by calling getStatus. Adds
6833 (read): add support for OptSubMenu
6834 (expand): remove extra separator at the end of expanded menu
6836 2003-02-15 John Levon <levon@movementarian.org>
6839 * BufferView_pimpl.C:
6841 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6842 inset code that had no actual effect. Remove unneeded status
6845 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6847 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6850 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6852 * text.C (drawLengthMarker): also draw an arrow marker for
6853 symbolic lengths (medskip...)
6855 2003-02-14 John Levon <levon@movementarian.org>
6858 * tabular.C: better method names
6860 2003-02-14 John Levon <levon@movementarian.org>
6862 * BufferView_pimpl.C:
6867 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6868 it's a more accurate name. Remove some pointless uses.
6870 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6872 * text2.C (LyXText): change order of initilizers to shut off
6875 2003-02-14 John Levon <levon@movementarian.org>
6877 * buffer.C: use ParIterator for getParFromID()
6881 * paragraph_pimpl.h:
6882 * paragraph_pimpl.C: remove unused getParFromID()
6884 2003-02-14 John Levon <levon@movementarian.org>
6886 * buffer.C: remove some very old #if 0'd parse code
6888 2003-02-13 John Levon <levon@movementarian.org>
6892 * text2.C: move hfillExpansion(), numberOfSeparators(),
6893 rowLast(), rowLastPrintable(), numberofHfills(),
6894 numberOfLabelHfills() ...
6897 * lyxrow.C: ... to member functions here.
6902 * text.C: remove LyXText::beginningOfMainBody(), and call
6903 p->beginningOfMainBody() directly. Move the check for
6904 LABEL_MANUAL into the latter.
6911 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6917 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6918 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6920 2003-02-13 John Levon <levon@movementarian.org>
6922 * CutAndPaste.C: remove debug
6924 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6926 * paragraph.C (asString): remove two unused variables
6928 * lyxtextclass.C (readTitleType):
6930 (LyXTextClass): handle new members titletype_ and titlename_
6932 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6934 2003-02-09 John Levon <levon@movementarian.org>
6937 * buffer.C: replace hand-coded list with a map for the dep clean
6939 2003-02-08 John Levon <levon@movementarian.org>
6941 * LaTeX.C: consolidate code into showRunMessage() helper
6943 2003-02-08 John Levon <levon@movementarian.org>
6948 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6949 and pass the size in explicitly
6951 * BufferView_pimpl.h:
6952 * BufferView_pimpl.C:
6954 * BufferView.C: add getCurrentChange()
6956 * BufferView_pimpl.h:
6957 * BufferView_pimpl.C: handle change lfuns
6959 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6960 for changes. Mark pasted paragraphs as new.
6962 * support/lyxtime.h:
6963 * support/lyxtime.C:
6964 * DepTable.C: abstract time_t as lyx::time_type
6967 * LColor.C: add colours for new text, deleted text, changebars
6969 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6970 package use "usenames" option.
6974 * LyXAction.C: add change lfuns
6978 * author.C: author handling
6981 * buffer.C: add a per-buffer author list, with first entry as
6982 current author. Handle new .lyx tokens for change tracking. Output
6983 author list to .lyx file. Output dvipost stuff to .tex preamble.
6984 Bump lyx format to 222.
6987 * bufferlist.C: add setCurrentAuthor() to reset current author details
6991 * bufferparams.C: add param for tracking
6993 * bufferview_funcs.C: output change info in minibuffer
6997 * changes.C: add change-tracking structure
7000 * debug.C: add CHANGES debug flag
7003 * lyxfind.C: add code for finding the next change piece
7006 * lyxrc.C: add user_name and user_email
7009 * lyxrow.C: add a metric for the top of the text line
7012 * text.C: implement accept/rejectChange()
7015 * text.C: paint changebars. Paint new/deleted text in the chosen
7016 colours. Strike through deleted text.
7020 * paragraph_pimpl.h:
7021 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7022 in the current change to the insert functions. Rework erase to
7023 mark text as deleted, adding an eraseIntern() and a range-based
7024 erase(). Implement per-paragraph change lookup and
7027 * paragraph_funcs.C: Fixup paste for change tracking.
7029 * tabular.C: mark added row/columns as new.
7031 * text.C: fix rowLast() to never return -1. Don't allow
7032 spellchecking of deleted text. Track transpose changes. Don't
7033 allow paragraph break or merge where appropriate.
7035 * text2.C: leave cursor at end of selection after a cut.
7037 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7039 * text.C (getLengthMarkerHeight):
7040 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7041 visible on screen too.
7043 2003-02-07 John Levon <levon@movementarian.org>
7045 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7047 2003-02-05 Angus Leeming <leeming@lyx.org>
7049 * lyxserver.C (read_ready): revert my patch of 11 September last year
7050 as it sends PC cpu through the roof. Presumably this means that
7051 the lyxserver will no longer run on an Alpha...
7053 2003-01-30 Angus Leeming <leeming@lyx.org>
7055 * factory.C (createInset): create an InsetCommandParam of type "index"
7056 and use it to 'do the right thing'.
7058 * text2.C (getStringToIndex): ensure that cursor position is always
7059 reset to the reset_cursor position.
7061 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7063 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7066 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7070 * lyxfunc.C: Output messages with identical spelling, punctuation,
7073 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7075 * MenuBackend.C (expandFormats): List only viewable export formats
7078 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7081 * lyxfunc.C (getStatus): Make sure that formats other than
7082 "fax" can also be disabled
7084 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7086 * text3.C (dispatch): put the lfuns that insert insets in 3
7087 groups, and call doInsertInset with appropriate arguments.
7088 (doInsertInset): new function, that creates an inset and inserts
7089 it according to some boolean parameters.
7091 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7093 * buffer.C (readFile): remember to pass on 'par' when calling
7094 readFile recursively.
7096 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7098 * MenuBackend.C (expandFormats): add "..." to import formats.
7100 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7102 * paragraph.C (asString): Remove XForms RTL hacks.
7104 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7105 * buffer.C: fix typo
7107 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7109 * Makefile.am (LIBS): delete var
7110 (lyx_LDADD): add @LIBS@ here instead.
7112 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7114 * Clarify the meaning of "wheel mouse jump"
7116 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7118 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7121 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7123 * importer.C (Loaders): do not preallocate 3 elements in the
7124 vector, since one ends up with 6 elements otherwise
7126 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7128 * DepTable.C (write): write the file name as last element of the
7129 .dep file (because it may contain spaces)
7130 (read): read info in the right order
7132 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7134 * paragraph_pimpl.C (simpleTeXBlanks):
7135 (simpleTeXSpecialChars):
7136 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7138 * tabular.C (latex): add some missing case statements. Reindent.
7140 * MenuBackend.C (expandToc): remove unused variable.
7142 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7151 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7154 2003-01-05 John Levon <levon@movementarian.org>
7157 * BufferView.C: add getEncoding()
7160 * kbsequence.C: do not store last keypress
7163 * lyxfunc.C: store last keypress here instead. Pass encoding
7166 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7168 * lyx_main.C (init): remove annoying error message when following
7169 symbolic links (bug #780)
7171 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7173 * text.C (insertChar):
7174 * lyxrc.C (getDescription): remove extra spaces
7176 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7178 * lyxrc.C (getDescription): remove extra spaces
7180 2002-12-20 John Levon <levon@movementarian.org>
7182 * text3.C: hack fix for page up/down across tall rows
7184 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7186 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7189 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7191 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7192 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7193 thesaurus is not compiled in
7195 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7197 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7199 2002-12-16 Angus Leeming <leeming@lyx.org>
7202 * lyx_main.C (init): remove override_x_deadkeys stuff.
7204 2002-12-12 John Levon <levon@movementarian.org>
7206 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7207 insert. Only remove shift modifier under strict
7210 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7212 * MenuBackend.C (expandToc): fix crash.
7214 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7216 * MenuBackend.C (expandToc): gettext on float names.
7218 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7220 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7221 implement bool empty() [bug 490]
7223 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7227 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7229 * several files: ws changes
7231 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7233 * text2.C (setCounter): clean up a bit, use boost.format.
7234 (updateCounters): initialize par upon declaration.
7236 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7237 if the layout exists. We do not just store the layout any more.
7238 (SwitchLayoutsBetweenClasses): use boost.format
7240 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7242 * converter.C (convert): if from and to files are the same, use a
7243 temporary files as intermediary
7245 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7248 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7250 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7252 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7254 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * tabular.C (asciiPrintCell): use string(size, char) instead of
7259 * sgml.C (openTag): fix order of arguments to string constructor
7262 * lyxfunc.C (dispatch): use boost.format
7264 * lots of files: change "c" -> 'c'
7266 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7268 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7270 2002-11-25 Angus Leeming <leeming@lyx.org>
7272 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7274 * lyx_main.C (init): compile fix.
7276 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7278 * lyx_cb.C (start): boost.formatify
7279 do not include <iostream>
7281 * lengthcommon.C: ws only
7283 * boost-inst.C,BoostFormat.h: add more explict instantations
7285 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7287 * lots of files: handle USE_BOOST_FORMAT
7289 2002-11-21 John Levon <levon@movementarian.org>
7291 * pspell.C: fix compile
7293 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7295 * lyxfunc.C (dispatch): use boost::format
7299 * lyxfont.C (stateText): use boost::format
7301 * lyx_main.C (LyX): use boost::format
7303 (queryUserLyXDir): ditto
7306 (typedef boost::function): use the recommened syntax.
7308 * importer.C (Import): use boost::format
7310 * debug.C (showLevel): use boost::format
7312 * converter.C (view): use boost::format
7317 * bufferview_funcs.C (currentState): use boost::format
7319 * bufferlist.C (emergencyWrite): use boost::format
7321 * buffer.C (readLyXformat2): use boost::format
7322 (parseSingleLyXformat2Token): ditto
7324 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7326 * LaTeX.C (run): use boost::format
7328 * Chktex.C (scanLogFile): use boost::format
7330 * BufferView_pimpl.C (savePosition): use boost::format
7331 (restorePosition): ditto
7332 (MenuInsertLyXFile): ditto
7334 * BoostFormat.h: help file for explicit instation.
7336 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7338 * tabular.C (latex): Support for block alignment in fixed width
7341 2002-11-17 John Levon <levon@movementarian.org>
7343 * BufferView_pimpl.C:
7345 * lyxfunc.C: split filedialog into open/save
7347 2002-11-08 Juergen Vigna <jug@sad.it>
7349 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7350 by my last patch (hopefully).
7352 2002-11-08 John Levon <levon@movementarian.org>
7361 * toc.C: ParConstIterator, and use it (from Lars)
7363 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7365 * lyxtextclass.[Ch]: revise and add doxygen comments
7367 2002-11-07 John Levon <levon@movementarian.org>
7369 * text.C: fix progress value for spellchecker
7371 * toc.C: fix navigate menu for insetwrap inside minipage
7373 * paragraph_funcs.C: added FIXME for suspect code
7375 2002-11-07 John Levon <levon@movementarian.org>
7377 * BufferView_pimpl.C: fix redrawing of insets
7380 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7382 * text2.C (updateCounters): fix bug 668
7384 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7386 * text3.C (dispatch): Do not make the buffer dirty when moving the
7389 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7391 * vc-backend.C: STRCONV
7394 * text2.C (setCounter): STRCONV
7396 * paragraph.C (asString): STRCONV
7398 * lyxlength.C (asString): STRCONV
7399 (asLatexString): ditto
7401 * lyxgluelength.C (asString): STRCONV
7402 (asLatexString): ditto
7404 * lyxfunc.C (dispatch): STRCONV
7407 * lyxfont.C (stateText): STRCONV
7409 * importer.C (Import): STRCONV
7411 * counters.C (labelItem): STRCONV
7412 (numberLabel): ditto
7413 (numberLabel): remove unused ostringstream o
7418 * bufferview_funcs.C (currentState): STRCONV
7420 * buffer.C (readFile): STRCONV
7421 (asciiParagraph): ditto
7422 (makeLaTeXFile): ditto
7424 * Spacing.C (writeEnvirBegin): STRCONV
7426 * LaTeXFeatures.C (getLanguages): STRCONV
7427 (getPackages): ditto
7429 (getBabelOptions): ditto
7430 (getTClassPreamble): ditto
7431 (getLyXSGMLEntities): ditto
7432 (getIncludedFiles): ditto
7436 (scanAuxFile): ditto
7439 * LString.h: add the STRCONV macros
7441 * BufferView_pimpl.C (savePosition): STRCONV
7442 (restorePosition): ditto
7443 (MenuInsertLyXFile): ditto
7445 * vc-backend.C (scanMaster): change from submatch[...] to
7448 * funcrequest.C: include config.h
7450 * factory.C: include config.h
7452 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7454 * box.C: include config.h
7456 * LaTeX.C (scanAuxFile): change from submatch[...] to
7460 2002-10-25 Angus Leeming <leeming@lyx.org>
7462 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7464 * ispell.[Ch] (setError): new method.
7465 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7466 Use setError() insetead of goto END.
7468 * lyx_cb.C (AutoSave): move out child process into new class
7471 2002-10-30 John Levon <levon@movementarian.org>
7473 * text3.C: make start appendix undoable
7475 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7477 * lyxlength.C (inPixels): Fix returned value.
7479 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7482 2002-10-24 Angus Leeming <leeming@lyx.org>
7484 * lyxgluelength.h: no need to forward declare BufferParams
7485 or BufferView, so don't.
7487 2002-10-21 John Levon <levon@movementarian.org>
7489 * BufferView.C: menuUndo ->undo, redo
7491 * BufferView.h: document, remove dead, make some methods private
7493 * paragraph_funcs.h:
7494 * paragraph_funcs.C:
7495 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7500 * sgml.C: move sgml open/close tag into sgml.C
7502 * bufferview_funcs.h: unused prototype
7505 * lyxfunc.C: remove unused
7508 * text.C: remove unused
7510 2002-10-21 John Levon <levon@movementarian.org>
7514 * BufferView_pimpl.h:
7515 * BufferView_pimpl.C: fix mouse wheel handling based on
7516 patch from Darren Freeman
7518 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7520 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7522 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7524 * lyxlength.C (inPixels): Fix hanfling of negative length.
7525 Fix LyXLength::MU case.
7527 2002-10-16 John Levon <levon@movementarian.org>
7529 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7531 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7533 * converter.C (view): add support for $$i (file name) and $$p
7534 (file path) for the viewer command. If $$i is not specified, then
7535 it is appended to the command (for compatibility with old syntax)
7537 2002-10-14 Juergen Vigna <jug@sad.it>
7539 * undo_funcs.C (textHandleUndo): alter the order in which the
7540 new undopar is added to the LyXText, as we have to set first
7541 the right prev/next and then add it as otherwise the rebuild of
7542 LyXText is not correct. Also reset the cursor to the right paragraph,
7543 with this IMO we could remove the hack in "redoParagraphs()".
7545 2002-10-09 Angus Leeming <leeming@lyx.org>
7547 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7548 to turn off an optimisation if a new inset is to be inserted.
7550 2002-10-11 André Pönitz <poenitz@gmx.net>
7552 * lyxtext.h: make some functions public to allow access
7553 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7555 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7557 * text3.C (dispatch): when changing layout, avoid an infinite loop
7560 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7562 * lyxrc.C (read): treat a viewer or converter command of "none" as
7565 * MenuBackend.C (expandFormats): for an update, also allow the
7566 formats that are not viewable
7568 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7569 script if it is newer than the lyxrc.defaults in user directory
7571 2002-10-07 André Pönitz <poenitz@gmx.net>
7573 * text.C: Vitaly Lipatov's small i18n fix
7575 2002-09-25 Angus Leeming <leeming@lyx.org>
7577 * ispell.h: doxygen fix.
7579 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7581 * buffer.h (readFile): Add a new argument to the method, to allow
7582 reading of old-format templates.
7584 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7586 * toc.C (getTocList): Get TOC from InsetWrap.
7588 2002-09-16 John Levon <levon@movementarian.org>
7590 * lyxfunc.C: check tabular for cut/copy too
7592 2002-09-12 John Levon <levon@movementarian.org>
7597 * factory.C: add header
7599 * paragraph_funcs.h:
7600 * paragraph_funcs.C: cleanup
7602 2002-09-11 John Levon <levon@movementarian.org>
7604 * PrinterParams.h: odd/even default to true
7606 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7608 * PrinterParams.h: update printer parameters for new xforms dialog
7610 2002-09-11 Angus Leeming <leeming@lyx.org>
7612 * lyxserver.C (read_ready): re-write to make it more transparent
7613 and to make it work in coherent fashion under Tru64 Unix.
7615 2002-09-11 André Pönitz <poenitz@gmx.net>
7619 * text3.C: implement LFUN_WORDSEL
7621 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7623 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7624 make floatlist_ a boost::shared_ptr<FloatList>
7626 * lyxtextclass.C: include FloatList.h
7627 (LyXTextClass): initialize floatlist_
7628 (TextClassTags): add TC_NOFLOAT
7629 (Read): match "nofloat" to TC_NOFLOAT and use it.
7630 (readFloat): modify call to floatlist_
7634 * FloatList.[Ch] (FloatList): remove commented out float
7636 (erase): new function
7638 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7640 * MenuBackend.C (expandToc): fix crash when there is no document
7643 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7645 * many files: Add insetwrap.
7647 2002-09-09 John Levon <levon@movementarian.org>
7649 * text2.C: remove confusing and awkward depth wraparound
7651 2002-09-09 John Levon <levon@movementarian.org>
7653 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7656 * buffer.C: remove getIncludeonlyList()
7659 * lyxfunc.C: remove headers
7661 2002-09-09 Juergen Vigna <jug@sad.it>
7663 * text.C (getColumnNearX): fix form Michael this is most
7664 probably a cut&paste bug.
7666 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7670 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7671 references, ws changes.
7673 * text2.C (init): update counters after init
7674 (insertParagraph): no need to set counter on idividual paragraphs.
7675 (setCounter): access the counters object in the textclass object
7676 on in the buffer object.
7677 (updateCounters): ditto
7679 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7680 shared_ptr<Counters> to avoid loading counters.h in all
7682 (LyXTextClass): initialize ctrs_
7683 (TextClassTags): add TC_COUNTER, and ...
7684 (Read): use it here.
7685 (CounterTags): new tags
7686 (readCounter): new function
7687 (counters): new funtion
7688 (defaultLayoutName): return a const reference
7690 * counters.C (Counters): remove contructor
7691 (newCounter): remove a couple of unneeded statements.
7692 (newCounter): simplify a bit.
7693 (numberLabel): some small formatting changes.
7695 * buffer.[Ch]: remove all traces of counters, move the Counters
7696 object to the LyXTextClass.
7698 2002-09-06 Alain Castera <castera@in2p3.fr>
7700 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7701 package to set the horizontal alignment on fixed width columns.
7704 * lyx_sty.h: added tabularnewline macro def.
7706 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7708 2002-09-06 John Levon <levon@movementarian.org>
7710 * LyXAction.C: tooltips for sub/superscript
7712 * MenuBackend.C: a bit more verbose
7714 * lyxfunc.C: tiny clean
7716 * undo_funcs.C: document undo_frozen
7718 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7720 * counters.C (Counters): add missing algorithm counter.
7722 * text2.C (setCounter): lookup the counter with layouts latexname
7723 instead of by section number.
7724 (setCounter): use a hackish way to lookup the correct enum
7726 a float name->type change
7727 reset enum couners with counter name directly instead of depth value.
7729 * counters.C (Counters): remove the push_backs, change to use the
7730 float type not the float name.
7731 (labelItem): remove unused string, float name->type change
7733 * counters.h: don't include vector, loose the enums and sects vectors
7735 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7738 (Read): add float->TC_FLOAT to textclassTags
7739 (Read): and handle it in the switch
7740 (readFloat): new function
7742 * FloatList.C (FloatList): comment out the hardcoded float
7745 * lyxlayout.h: ws change.
7747 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7749 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7751 2002-09-03 Angus Leeming <leeming@lyx.org>
7753 * BufferView_pimpl.h: qualified name is not allowed in member
7754 declaration: WorkArea & Pimpl::workarea() const;
7756 * factory.C: added using std::endl directive.
7758 * text3.C: added using std::find and std::vector directives.
7760 2002-08-29 André Pönitz <poenitz@gmx.net>
7763 * text2.C: remove unused member number_of_rows
7766 * BufferView2.C: remove file, move contents to...
7767 * BufferView.C: ... here
7769 * BufferView_pimpl.C:
7770 * factory.C: move more inset creation to factory
7772 * vspace.C: avoid direct usage of LyXText, ws changes
7775 don't provide direct access to WorkArea, use two simple
7776 acessors haveSelction() and workHeight() instead
7779 2002-08-29 John Levon <levon@movementarian.org>
7781 * BufferView_pimpl.C (dispatch): do not continue when
7784 2002-08-28 André Pönitz <poenitz@gmx.net>
7786 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7789 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7791 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7793 * buffer.C: increment LYX_FORMAT to 221
7795 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7796 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7798 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7800 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7802 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7804 * factory.C (createInset): use LyXTextClass::floats
7806 * MenuBackend.C (expandFloatListInsert):
7807 (expandFloatInsert):
7810 * text2.C (setCounter):
7812 * LaTeXFeatures.C (useFloat):
7813 (getFloatDefinitions):
7815 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7817 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7818 floatlist_, with accessor floats().
7820 * FloatList.h: remove global FloatList
7822 2002-08-26 André Pönitz <poenitz@gmx.net>
7824 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7828 * BufferView_pimpl.C:
7829 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7831 2002-08-25 John Levon <levon@movementarian.org>
7833 * LyXAction.C: fix margin note description
7835 2002-08-24 John Levon <levon@movementarian.org>
7839 * bufferview_funcs.C:
7841 * undo_funcs.C: cleanups
7843 * lyxfunc.C: disable CUT/COPY when no selection
7845 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7847 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7848 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7850 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7851 Add backward compatibility to "mono", "gray" and "no".
7853 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7855 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7856 (and file_format >= 200).
7858 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7860 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7862 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7864 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7866 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7868 * BufferView_pimpl.C:
7875 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7876 inset and code to make it work with the paragraph code. The inset
7877 can be anywhere in the paragraph, but will only do the expected
7878 thing in LaTeX if the layout file contains the parameter line
7880 (or more generally, a nonzero value) for that layout.
7882 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * paragraph.h: remove the declaration of undefined counters class
7887 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7889 * text2.C (setCounter): fixed enumeration mis-count as reported by
7890 Dr. Richard Hawkins.
7892 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7894 * paragraph_funcs.h: remove some unneeded includes
7896 * text.C (backspace): pasteParagraph now in global scipe
7898 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7899 (pasteSelection): ditto
7901 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7902 * paragraph_funcs.C (pasteParagraph): ... here
7904 2002-08-20 André Pönitz <poenitz@gmx.net>
7906 * commandtags.h: new LFUNs for swapping/copying table row/colums
7909 * lyxfunc.C: support for new lfuns
7911 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * buffer.[Ch]: remove NO_COMPABILITY stuff
7916 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * boost.C (throw_exception): new file, with helper function for
7919 boost compiled without exceptions.
7924 * ParameterStruct.h:
7925 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7927 * bufferlist.C (emergencyWriteAll): use boost bind
7929 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7931 * text.C: include paragraph_funcs.h
7932 (breakParagraph): breakParagraph is now in global scope
7934 * paragraph_funcs.[Ch]: new files
7936 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7939 * buffer.C: include paragraph_funcs.h
7940 (insertStringAsLines): breakParagraph is now in global scope
7942 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7945 * CutAndPaste.C: include paragraph_funcs.h
7946 (cutSelection): breakParagraphConservative is now in global scope
7947 (pasteSelection): ditto
7949 * buffer.h: declare oprator== and operator!= for
7950 Buffer::inset_iterator
7952 * bufferlist.C (emergencyWrite): don't use fmt(...)
7954 * text3.C: add using std::endl
7956 * BufferView.C (moveCursorUpdate): remove default arg
7958 2002-08-20 André Pönitz <poenitz@gmx.net>
7960 * buffer.[Ch]: move inline functions to .C
7963 * BufferView_pimpl.C:
7965 * buffer.[Ch]: use improved inset_iterator
7968 * paragraph.[Ch]: write one paragraph at a time
7970 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7972 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7973 style if style is not specified.
7975 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7977 * text2.C (setCounter): when searching for right label for a
7978 caption, make sure to recurse to parent insets (so that a caption
7979 in a minipage in a figure float works) (bug #568)
7981 2002-08-20 André Pönitz <poenitz@gmx.net>
7983 * text3.C: new file for LyXText::dispatch() and helpers
7985 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7987 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7989 2002-08-19 André Pönitz <poenitz@gmx.net>
7992 * text.C: new LyXText::dispatch()
7994 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7996 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7998 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8000 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8003 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8005 * Makefile.am: use $(variables) instead of @substitutions@
8007 2002-08-15 André Pönitz <poenitz@gmx.net>
8010 * BufferView_pimpl.C: streamlining mathed <-> outer world
8014 * LyXAction.C: remove unused LFUN_MATH
8016 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8018 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8020 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * paragraph.C (Paragraph): reformat a bit
8023 (cutIntoMinibuffer): use builtin InsetList function instad of
8027 * buffer.C: include boost/bind.hpp, add using std::for_each
8028 (writeFileAscii): use ParagraphList iterators
8029 (validate): use for_each for validate traversal of paragraphs
8030 (getBibkeyList): use ParagraphList iterators
8031 (resizeInsets): use for_each to resizeInsetsLyXText for all
8033 (getParFromID): use ParagraphList iterators
8035 * BufferView2.C (lockInset): use paragraph list and iterators
8037 2002-08-14 John Levon <levon@movementarian.org>
8039 * lyxserver.C: remove spurious xforms include
8041 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8043 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8045 2002-08-13 André Pönitz <poenitz@gmx.net>
8048 * lyxfunc.C: further cleaning
8050 2002-08-13 André Pönitz <poenitz@gmx.net>
8052 * funcrequest.h: new constructor
8054 * funcrequest.C: move stuff here from .h
8057 * BufferView_pimpl.C:
8060 * lyxfunc.C: subsequent changes
8062 * lyxfunc.h: new view() member function
8064 * lyxfunc.C: subsequent changes
8066 2002-08-13 Angus Leeming <leeming@lyx.org>
8069 * BufferView_pimpl.C:
8077 changes due to the changed LyXView interface that now returns references
8078 to member variables not pointers.
8080 2002-08-13 Angus Leeming <leeming@lyx.org>
8082 * WordLangTuple (word, lang_code): return references to strings,
8087 * lyxtext.h: forward-declare WordLangTuple.
8092 * text.C: #include "WordLangTuple.h".
8095 * text.C: (selectNextWordToSpellcheck): constify return type.
8097 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8103 * paragraph_pimpl.h:
8106 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8108 Made updateCounter always count from start of buffer, and removed
8109 second argument (par).
8110 Reverted floats number display to '#'. Perhaps I'll try again when the
8111 code base is sanitized a bit.
8113 2002-08-12 Angus Leeming <leeming@lyx.org>
8115 * buffer.[Ch] (getLabelList): constify.
8117 2002-08-07 André Pönitz <poenitz@gmx.net>
8119 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8121 * funcrequest.h: extension to keep mouse (x,y) position
8123 2002-08-12 Juergen Vigna <jug@sad.it>
8125 * BufferView2.C (insertErrors): forbid undo when inserting error
8128 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8130 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8132 * ParagraphList.[Ch]: new files
8134 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8136 * BufferView2.C (lockInset): ParagraphList changes
8139 * bufferlist.C: ditto
8143 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8145 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8146 unused class variable counter_,
8148 * paragraph.[Ch] (getFirstCounter): delete unused function
8150 * counters.C: include LAssert.h
8151 (reset): add a new function with no arg, change other version to
8152 not have def. arg and to not allow empty arg.
8154 * text2.C (setCounter): remove empty arg from call to Counters::reset
8156 2002-08-11 John Levon <levon@movementarian.org>
8158 * Makefile.am: add WordLangTuple.h
8160 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8162 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8163 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8165 * insets/insettext.C: InsetList changes
8167 * graphics/GraphicsSupport.C (operator()): InsetList changes
8169 * toc.C (getTocList): InsetList changes
8171 * paragraph_pimpl.[Ch]: InsetList changes
8173 * paragraph.[Ch]: InsetList changes
8175 * buffer.C (inset_iterator): InsetList changes
8176 (setParagraph): ditto
8177 * buffer.h (inset_iterator): ditto
8178 * iterators.C (operator++): ditto
8179 * iterators.h: ditto
8181 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8183 * InsetList.[Ch]: new files, most InsetList handling moved out of
8186 * BufferView2.C (removeAutoInsets): InsetList changes
8188 (ChangeInsets): ditto
8190 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * paragraph_pimpl.h (empty): new function
8194 * paragraph.[Ch] (empty): new function
8196 * other files: use the new Paragraph::empty function
8198 2002-08-09 John Levon <levon@movementarian.org>
8200 * lyxtext.h: remove unused refresh_height
8202 2002-08-09 John Levon <levon@movementarian.org>
8209 * paragraph.C: move sgml char escaping out of paragraph
8212 * paragraph.C: remove id setter
8216 * paragraph_pimpl.C: remove dead tex_code_break_column
8218 * bufferview_funcs.C: small cleanup
8220 * lyxfunc.C: remove dead proto
8222 * lyxtext.h: make some stuff private. Remove some dead stuff.
8224 * lyxgluelength.C: make as[LyX]String() readable
8226 2002-08-08 John Levon <levon@movementarian.org>
8231 * ToolbarDefaults.C:
8234 * toc.C: lyxaction cleanup
8236 2002-08-08 John Levon <levon@movementarian.org>
8238 * BufferView2.C: small cleanup
8241 * lyxfind.C: move unnecessary header into the .C
8243 2002-08-08 John Levon <levon@movementarian.org>
8245 * funcrequest.h: just tedious nonsense
8248 * lyx_main.C: cleanups
8251 * vspace.C: remove dead header lyx_main.h
8253 2002-08-07 Angus Leeming <leeming@lyx.org>
8256 * paragraph_pimpl.h:
8257 Forward declare class Counters in paragraph.h by moving the ctrs member
8258 variable into Paragraph::Pimpl.
8259 (counters): new method, returning a reference to pimpl_->ctrs.
8261 * text2.C: ensuing changes.
8263 2002-08-07 John Levon <levon@movementarian.org>
8265 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8267 * BufferView_pimpl.C: announce X selection on double/triple
8270 * lyx_main.C: use correct bool in batch dispatch
8272 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8274 2002-08-07 André Pönitz <poenitz@gmx.net>
8276 * funcrequest.h: new class to wrap a kb_action and its argument
8279 * BufferView_pimpl[Ch]:
8283 * lyxrc.C: subsequent changes
8286 2002-08-07 John Levon <levon@movementarian.org>
8288 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8289 document options change.
8291 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8296 * makefile.am: move counters functionality over from
8297 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8299 2002-08-06 John Levon <levon@movementarian.org>
8301 * WordLangTuple.h: new file for word + language code tuple
8312 * BufferView2.C: use WordLangTuple
8315 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8317 2002-08-06 John Levon <levon@movementarian.org>
8319 * lyx_main.C: fix cmdline batch handling
8321 2002-08-06 André Pönitz <poenitz@gmx.net>
8323 * lyxrc.C: set default for show_banner to true
8325 2002-08-06 John Levon <levon@movementarian.org>
8327 * pspell.C: fix a crash, and allow new aspell to work
8329 2002-08-06 John Levon <levon@movementarian.org>
8332 * kbmap.C: small cleanup
8335 * vspace.C: add const
8337 2002-08-05 John Levon <levon@movementarian.org>
8339 * LyXAction.C: back to tabular-insert
8341 2002-08-04 John Levon <levon@movementarian.org>
8344 * BufferView.C: cosmetic change
8346 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8356 * BufferView2.C: purge all "Lyx" not "LyX" strings
8359 * lyxcursor.C: attempt to add some documentation
8364 * ToolbarDefaults.C:
8365 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8366 merge with LFUN_TABULAR_INSERT
8373 * pspell.C: split up i/pspell implementations into separate
8374 files, many cleanups
8376 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8378 * text2.C: some cleanup
8380 * lyxfunc.C: don't check for isp_command == "none" any more, it
8381 didn't make any sense
8383 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8388 * makefile.am: move counters functionality over
8389 from text2.C/paragraph.[Ch] to counters.[Ch], and
8391 2002-08-02 John Levon <levon@movementarian.org>
8393 * buffer.C: s/lyxconvert/lyx2lyx/
8395 2002-08-02 Angus Leeming <leeming@lyx.org>
8397 * lyxlex.C: revert John's change as it breaks reading of the user
8400 2002-08-02 Angus Leeming <leeming@lyx.org>
8402 * importer.C (Import):
8403 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8404 changes due to LyXView::view() now returning a boost::shared_ptr.
8406 2002-08-02 John Levon <levon@movementarian.org>
8408 * lyxlex.C: small cleanup
8410 2002-08-02 John Levon <levon@movementarian.org>
8412 * text2.C (status): small cleanup, no logic change
8414 2002-08-01 John Levon <levon@movementarian.org>
8417 * buffer.C (writeFile): don't output alerts, caller
8421 * lyx_cb.C: from above
8423 * lyxfunc.C: allow to open non-existent files
8425 2002-07-31 John Levon <levon@movementarian.org>
8427 * lyxserver.C: don't let incidental errors get
8430 2002-07-30 John Levon <levon@movementarian.org>
8432 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8434 2002-07-30 John Levon <levon@movementarian.org>
8437 * lyxserver.C: remove I/O callback too
8439 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8441 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8444 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8446 * many files: strip,frontStrip -> trim,ltrim,rtrim
8448 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8450 * PrinterParams.h: remove extern containsOnly, and include
8451 support/lstrings.h instead.
8453 * LaTeX.C (scanAuxFile): modify because of strip changes
8455 * buffer.C (makeLaTeXFile): ditto
8456 * bufferparams.C (writeFile): ditt
8457 * lyxfont.C (stateText): ditto
8458 * lyxserver.C (read_ready): ditto
8459 * vc-backend.C (scanMaster): ditto
8461 * BufferView_pimpl.h: ws changes
8463 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8465 2002-07-26 André Pönitz <poenitz@gmx.net>
8467 * kb_sequence.C: remove unnedred usings
8469 2002-07-26 Juergen Vigna <jug@sad.it>
8471 * lyxfind.C (LyXReplace): we have to check better if the returned
8472 text is not of theLockingInset()->getLockingInset().
8474 2002-07-25 Juergen Vigna <jug@sad.it>
8476 * lyxfind.C (LyXReplace): don't replace if we don't get the
8479 * undo_funcs.C (createUndo): remove debugging code.
8481 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8483 * buffer.C (parseSingleLyXformat2Token): Use default placement
8484 when reading old floats.
8486 * FloatList.C (FloatList): Change the default placement of figure
8487 and tables to "tbp".
8489 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8491 * MenuBackend.C: using std::max
8493 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8495 * MenuBackend.C (expandToc):
8496 (expandToc2): code moved from xforms menu frontend. It is now
8497 generic and TOCs are transparent to menu frontends.
8499 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8501 * toc.C (getTocList): protect against buf=0
8503 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8504 Menu as first parameter. Now, this calls itself recursively to
8505 expand a whole tree (this will be useful for TOC handling)
8506 (expandFloatInsert): remove 'wide' version of floats
8508 * MenuBackend.h (submenuname): returns the name of the submenu.
8509 (submenu): returns the submenu itself, provided it has been
8510 created by MenuBackend::expand
8512 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8514 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8515 insets which have noFontChange == true. (bug #172)
8517 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8519 * BufferView_pimpl.C: add connection objects and use them...
8522 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8524 * MenuBackend.C (expandLastfiles):
8527 (expandFloatListInsert):
8528 (expandFloatInsert):
8529 (expand): split expand in parts
8531 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8533 * lyx_gui.C: use lyx_gui::exit()
8535 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8537 * LyXAction.C: show the failing pseudo action
8539 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8541 * buffer.C (readFile): Run the lyxconvert script in order to read
8544 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8548 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8550 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8554 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8556 2002-07-22 Herbert Voss <voss@lyx.org>
8559 * lyxlength.[Ch]: add support for the vertical lengths
8561 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8563 * toc.[Ch]: std:: fixes
8565 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8567 * lyxrc.C: do not include lyx_main.h
8569 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8575 * BufferView2.C: include "lyxlex.h"
8578 * bufferparams.h: do not #include "lyxlex.h"
8580 * lyxtextclasslist.C (Add): remove method
8581 (classlist): renamed to classlist_
8583 * paragraph_pimpl.C:
8587 * bufferview_funcs.C:
8592 * toc.C (getTocList): use BufferParams::getLyXTextClass
8594 * toc.C (getTocList): use InsetFloat::addToToc
8596 * toc.[Ch]: new files, containing helper functions to handle table
8599 * lyxfunc.C (dispatch): no need to remove spaces around command
8601 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8602 first command of the sequence; it is not very clever, but I do not
8603 have a better idea, actually
8605 * LyXAction.C (LookupFunc): make sure to remove space at the
8606 beginning and end of the command
8608 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8610 * MenuBackend.C (getMenubar): new method: return the menubar of
8612 (read): treat differently reading of menu and menubar (in
8613 particular, the menubar has no name now)
8614 (Menu::menubar): remove
8616 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8619 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8621 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8622 a bibitem inset in a RTL paragraph.
8624 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8626 * paragraph_pimpl.C: constify
8628 * BufferView_pimpl.C:
8630 * lyxfunc.C: fix dispatch in a nicer way
8632 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8634 * lyxfunc.C (dispatch):
8635 * BufferView_pimpl.C:
8636 * BufferView_pimpl.h:
8638 * BufferView.h: rename Dispatch() to dispatch()
8640 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8642 * lyxlayout.C (Read): honor DependsOn tag
8644 * lyxlayout.[Ch] (depends_on): new method
8646 * version.C.in: update lyx_docversion
8648 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8650 * paragraph.C (validate): remove from here...
8651 * paragraph_pimpl.C (validate): ... and move here
8652 (isTextAt): make it const
8654 * buffer.C (getLists): ws cleanup
8656 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8658 * language.C (read): Use iso8859-1 encoding in latex_lang
8659 (this prevents LyX from crashing when using iso10646-1 encoding).
8661 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8663 * text2.C (toggleInset): if cursor is inside an inset, close the
8664 inset and leave cursor _after_ it
8666 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8668 * lyxfunc.C: move minibuffer completion handling out of here
8670 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8672 * BufferView_pimpl.C:
8673 * LaTeX.C: fix dispatch calls
8675 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8677 * text.C (drawChars): Fix Arabic text rendering.
8679 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8683 * lyxfunc.C: remove message-push/pop
8687 * lyxfunc.C: rationalise some code by removing verboseDispatch
8688 in favour of a bool argument to dispatch()
8690 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8692 * lyx_main.C (init): make sure to read symlinks as absolute paths
8694 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8697 * lyxfunc.C: no need for commandshortcut to be a member
8699 2002-07-15 André Pönitz <poenitz@gmx.net>
8701 * converter.C: add support for $$s (scripts from lib/scripts dir)
8702 * lyx_main.C: white space
8704 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8708 * lyxrc.C: remove second exit confirmation
8710 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8715 * BufferView_pimpl.h:
8716 * BufferView_pimpl.C:
8717 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8719 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8721 * MenuBackend.C (expand): add numeric shortcuts to document menu
8723 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8725 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8727 * lyxfont.C (setLyXFamily):
8734 * buffer.C (asciiParagraph): use ascii_lowercase
8736 2002-07-15 Mike Fabian <mfabian@suse.de>
8738 * lyxlex_pimpl.C (search_kw):
8739 * lyxlex.C (getLongString):
8740 * converter.h (operator<):
8741 * converter.C (operator<):
8742 * buffer.C (parseSingleLyXformat2Token):
8744 * ToolbarDefaults.C (read):
8745 * MenuBackend.C (checkShortcuts):
8747 * LColor.C (getFromGUIName):
8748 (getFromLyXName): use the compare_ascii_no_case instead of
8749 compare_no_case, because in turkish, 'i' is not the lowercase
8750 version of 'I', and thus turkish locale breaks parsing of tags.
8752 2002-07-16 Angus Leeming <leeming@lyx.org>
8754 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8755 now takes a Buffer const & argument.
8757 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8759 * BufferView.C (resize): check there's a buffer to resize
8761 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8763 * lyxfunc.C: remove dead code
8766 * lyxserver.C: use lyx_guii::set_read_callback
8768 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8770 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8771 an inset in a RTL paragraph.
8773 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8775 * lyxfunc.C: repaint after a font size update
8777 2002-07-15 André Pönitz <poenitz@gmx.net>
8779 * lyxlength.C: inBP should be able to return negative values
8781 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8783 * lyxfunc.C: use lyx_gui::update_fonts()
8785 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8787 * lyxfunc.C: use lyx_gui::update_color()
8789 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8795 * lyxrc.C: remove file->new asks for name option, and let
8796 buffer-new take an argument
8798 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8800 * BufferView_pimpl.C: remove unneeded extra repaint()
8802 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8804 * LyXAction.C: allow command-sequence with NoBuffer
8806 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8808 2002-07-10 Angus Leeming <leeming@lyx.org>
8810 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8812 2002-07-09 Angus Leeming <leeming@lyx.org>
8814 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8816 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8818 * lengthcommon.h: whitespace
8820 * lyxfunc.C: update scrollbar after goto paragraph
8822 * lyxtext.h: factor out page break drawing, and fix it so
8823 page break/added space paints as selected nicely
8825 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8827 * BufferView_pimpl.C: add FIXMEs, clean up a little
8829 2002-07-09 André Pönitz <poenitz@gmx.net>
8831 * lyxfont.[Ch]: support for wasy symbols
8833 2002-07-08 André Pönitz <poenitz@gmx.net>
8835 * BufferView_pimpl.C: apply John's patch for #93.
8837 2002-07-05 Angus Leeming <leeming@lyx.org>
8839 * BufferView_pimpl.C (buffer): generate previews if desired.
8841 * LColor.h: add "preview" to the color enum.
8843 * LColor.C (LColor): add a corresponding entry to the items array.
8845 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8848 2002-07-05 Angus Leeming <leeming@lyx.org>
8850 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8851 The body of the code is now in the method that is passed an ostream &
8852 rather than a file name.
8853 Pass an additional only_preamble parameter, useful for the forthcoming
8856 2002-07-03 André Pönitz <poenitz@gmx.net>
8858 * lyxfunc.C: simplify getStatus() a bit for math stuff
8860 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8862 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8864 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8866 * text.C (changeRegionCase): do not change case of all the
8867 document when region ends at paragraph end (bug #461)
8869 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8871 * paragraph.C (startTeXParParams):
8872 (endTeXParParams): add \protect when necessary
8874 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8876 * BufferView_pimpl.C (workAreaExpose): remove warning
8878 2002-06-27 Angus Leeming <leeming@lyx.org>
8880 * Makefile.am: add lyxlayout_ptr_fwd.h.
8882 2002-06-26 André Pönitz <poenitz@gmx.net>
8884 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8886 2002-06-25 Angus Leeming <leeming@lyx.org>
8888 * lyxfunc.C (dispatch): Comment out the call to
8889 grfx::GCache::changeDisplay. The method no longer exists now that the
8890 pixmap generation part of the graphics loader has been moved into
8893 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8895 * text2.C: layout as layout
8897 * text.C: layout as layout
8899 * tabular.C (OldFormatRead): layout as layout
8901 * paragraph_pimpl.C (TeXDeeper): layout as layout
8902 (realizeFont): layout as layout
8904 * paragraph.C (writeFile): layout as layout
8905 (validate): layout as layout
8906 (getFont): layout as layout
8907 (getLabelFont): layout as layout
8908 (getLayoutFont): layout as layout
8909 (breakParagraph): layout as layout
8910 (stripLeadingSpaces): layout as layout
8911 (getEndLabel): layout as layout
8912 (getMaxDepthAfter): layout as layout
8913 (applyLayout): layout as layout
8914 (TeXOnePar): layout as layout
8915 (simpleTeXOnePar): layout as layout
8916 (TeXEnvironment): layout as layout
8917 (layout): layout as layout
8918 (layout): layout as layout
8920 * lyxtextclass.C (compare_name): new functor to work with
8921 shared_ptr, layout as layout
8922 (Read): layout as layout
8923 (hasLayout): layout as layout
8924 (operator): layout as layout
8925 (delete_layout): layout as layout
8926 (defaultLayout): layout as layout
8928 * lyxlayout_ptr_fwd.h: new file
8930 * lyxlayout.C (Read): layout as layout
8932 * lyx_cb.C (MenuInsertLabel): layout as layout
8934 * bufferlist.C (newFile): layout as layout
8936 * buffer.C (readLyXformat2): layout as layout
8937 (parseSingleLyXformat2Token): layout as layout
8938 (insertStringAsLines): layout as layout
8939 (asciiParagraph): layout as layout
8940 (latexParagraphs): layout as layout
8941 (makeLinuxDocFile): layout as layout
8942 (simpleLinuxDocOnePar): layout as layout
8943 (makeDocBookFile): layout as layout
8944 (simpleDocBookOnePar): layout as layout
8945 (getLists): layout as layout
8947 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8949 * CutAndPaste.C (cutSelection): layout as layout
8950 (pasteSelection): layout as layout
8951 (SwitchLayoutsBetweenClasses): layout as layout
8953 * BufferView_pimpl.C (Dispatch): layout as layout
8954 (smartQuote): layout as layout
8956 * BufferView2.C (unlockInset): layout as layout
8958 2002-06-24 André Pönitz <poenitz@gmx.net>
8960 * lyxfunc.C: fix #487
8962 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8966 * lyxfunc.C: remove display_shortcuts, show_banner
8968 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8970 * Buffer_pimpl.C: oops, update on resize
8972 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8979 * BufferView.C: use repaint()
8981 * BufferView_pimpl.h:
8982 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8983 as it's a clearer description. Remove superfluous
8986 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8988 * text.C: fix bug 488. Not ideal, but getting
8989 getWord() to work properly for the insets that
8990 matter is more difficult ...
8992 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8994 * BufferView_pimpl.C:
8997 * lyxfunc.C: remove the six million index lyxfuncs to just
8998 one, and DTRT (bug 458)
9000 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9004 * BufferView_pimpl.h:
9005 * BufferView_pimpl.C: clean up resize() stuff,
9006 and unnecessary updateScreen()s
9008 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9012 * BufferView_pimpl.h:
9013 * BufferView_pimpl.C:
9016 * minibuffer.C: remove focus management of workarea,
9017 not needed. Use screen's greyOut()
9019 2002-06-17 Herbert Voss <voss@lyx.org>
9021 * converter.C: (convert) do not post a message, when converting
9022 fails, let the calling function decide what to do in this case
9024 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9026 * lyxfunc.C: tidy up a little
9028 2002-06-16 <alstrup@diku.dk>
9030 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9031 Got rid of FORMS_H_LOCATION include. Now we are
9034 2002-06-15 LyX Development team <lyx@rilke>
9036 * buffer.[Ch] (sgmlOpenTag):
9037 (sgmlCloseTag): Added support for avoiding pernicious mixed
9038 content. Return number of lines written.
9041 (makeDocBookFile): Fixed calls to sgml*Tag.
9042 Simple white space clean.
9044 (simpleDocBookOnePar): Simple white space clean.
9046 * tabular.[Ch] (docBook): Renamed to docbook and got another
9047 argument to related with the pernicious mixed content.
9049 (docbookRow): Fixed calls for docbook inset method.
9051 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9053 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9054 so it's X11 independent.
9058 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9060 2002-06-15 Lyx Development team <lyx@electronia>
9062 * intl.h: Renamed getTrans to getTransManager.
9064 2002-06-14 Angus Leeming <leeming@lyx.org>
9066 * Makefile.am: nuke forgotten stl_string_fwd.h.
9068 2002-06-12 Angus Leeming <leeming@lyx.org>
9070 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9072 2002-06-13 Angus Leeming <leeming@lyx.org>
9075 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9077 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9079 * kbmap.C (getiso): add support for cyrillic and greek
9081 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9085 * BufferView_pimpl.h:
9086 * BufferView_pimpl.C: move bogus scrolling logic
9089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9092 * BufferView_pimpl.C: view->resize() change
9094 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9096 * BufferView_pimpl.C: topCursorVisible
9099 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9103 * lyx_gui.C: move to frontends/
9107 * lyx_main.C: changes from above
9109 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9116 * lyx_main.C: minor tidy
9118 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9120 * BufferView_pimpl.h:
9121 * BufferView_pimpl.C:
9123 * BufferView.C: make painter() const,
9126 * BufferView2.C: use screen() accessor
9129 * lyx_main.C: some minor cleanup
9131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9133 * BufferView_pimpl.h:
9134 * BufferView_pimpl.C: remove enter/leaveView,
9137 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9142 * BufferView_pimpl.h:
9143 * BufferView_pimpl.C: only construct screen once,
9146 * lyxrc.C: remove pointless comment
9148 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9151 * BufferView.C: remove active() and belowMouse()
9153 * BufferView_pimpl.h:
9154 * BufferView_pimpl.C: use workarea() not workarea_,
9155 and make it use a scoped_ptr instead
9157 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9159 * lyx_gui.C: add debug message on BadWindow
9161 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9163 * sp_spell.C: fdopen is not part of the C++ standard.
9165 * paragraph.C (InsetIterator): use >= instead of ==
9167 2002-06-07 Angus Leeming <leeming@lyx.org>
9169 Fixes needed to compile with Compaq cxx 6.5.
9170 * BufferView_pimpl.C:
9177 * lyxtextclasslist.C:
9182 all c-library variables have been moved into namespace std. Wrap
9183 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9188 Add a using std::abs declaration.
9190 * kbmap.h (modifier_pair):
9191 * paragraph.h (InsetTable, InsetList):
9192 * lyxfont.h (FontBits):
9193 type definition made public.
9195 * bufferlist.C (emergencyWriteAll): the compiler complains that
9196 there is more than one possible lyx::class_fun template to choose from.
9197 I re-named the void specialisation as lyx::void_class_fun.
9199 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9201 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9202 the compiler is is unable to find tostr in write_attribute.
9204 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9206 * buffer.C (sgmlError): hide #warning
9208 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9210 * xtl/*: get rid of xtl, which is not in use anyway
9212 * LyXAction.C (init):
9213 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9214 were unimplemented xtl experimentation
9216 2002-06-04 André Pönitz <poenitz@gmx.net>
9218 * lyxfunc.C: disable array operation on simple formulae
9220 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9222 * converter.C: constify a bit
9224 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9226 * lyx_gui.C: check xforms version correctly
9228 2002-04-30 Herbert Voss <voss@lyx.org>
9230 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9233 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9235 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9236 attempt to register it with a VCS)
9238 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9240 * lyx_main.C (init): honor variables LYX_DIR_13x and
9243 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9247 * lyx_main.C: fix a crash on bad command line,
9248 and give a useful exit status on error
9250 * lyxfunc.C (doImport): allow -i lyx to work
9252 2002-03-30 André Pönitz <poenitz@gmx.net>
9254 * lyxfunc.C: mathed font changes
9256 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9271 * trans_mgr.h: srcdocs, and some minor cleanups
9273 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9275 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9276 call getFont all the time)
9278 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9280 * switch from SigC signals to boost::signals
9282 2002-05-29 André Pönitz <poenitz@gmx.net>
9284 * paragraph_pimpl.C (getChar): don't call size() too often...
9286 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9288 * paragraph_pimpl.C (insertChar): do not try to update tables when
9289 appending (pos == size())
9291 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9292 in order to reduce drastically the number of comparisons needed to
9293 parse a large document
9295 2002-05-29 André Pönitz <poenitz@gmx.net>
9301 * textclasslist.[Ch]:
9302 * sp_ispell.h: whitespace change
9304 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9306 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9307 lyxaction directly now.
9309 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9313 * lyxvc.C: remove unused headers
9315 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9322 * undo_funcs.C: some cleanups. Use shared_ptr
9323 and a template for the undo stacks.
9325 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9327 * BufferView_pimpl.h:
9328 * BufferView_pimpl.C:
9335 * text2.C: use key_state/mouse_state
9337 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9339 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9342 * chset.C: change include order
9343 (loadFile): use boost regex and get rid of LRegex and LSubstring
9345 * Makefile.am (BOOST_LIBS): new variable
9348 * LaTeX.C: change include order.
9349 (scanAuxFile): use boost regex and get rid of LRegex and
9353 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9358 * FontInfo.C: moved to frontends/xforms/
9361 * FontLoader.C: moved into frontends for GUIIzation
9366 * lyxfunc.C: changes from above
9368 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9370 * LColor.C: remove spurious X include
9372 * BufferView_pimpl.C:
9377 * text2.C: move font metrics to frontends/
9379 2002-05-24 Juergen Vigna <jug@sad.it>
9381 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9382 setting the undo_cursor.
9384 * ParagraphParameters.h: include local includes first.
9386 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9388 * BufferView_pimpl.C:
9389 * BufferView_pimpl.h:
9393 * screen.C: move WorkArea into frontends/
9399 * BufferView2.C: move LyXScreen into frontends/
9403 * lyx_gui.C: move lyxlookup into frontends/xforms/
9405 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9408 * BufferView_pimpl.C:
9418 * bufferview_funcs.C:
9431 * vc-backend.C: move LyX/XFormsView into frontends/
9433 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9445 * text2.C: move Painter to frontends/
9447 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9449 * buffer.C: comment out some some code that depend upon lyx_format
9452 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9453 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9455 * buffer.h (NO_COMPABILITY): turn off compability
9457 * ColorHandler.C: include scoped_array.hpp
9459 * font.C: Use more specific smart_ptr header.
9462 * ShareContainer.h: ditto
9466 * BufferView_pimpl.h: ditto
9467 * ColorHandler.h: ditto
9469 * kbmap.C (defkey): change call to shared_ptr::reset
9471 2002-05-21 Juergen Vigna <jug@sad.it>
9473 * buffer.C (insertErtContents): fix to insert ert asis if it is
9474 non empty. Skip it completely if it contains only whitespaces.
9476 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9478 * BufferView_pimpl.C:
9479 * BufferView2.C: clear selection on paste (bug 393)
9481 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9483 * DepTable.C: include ctime
9485 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9487 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9489 2002-05-14 Juergen Vigna <jug@sad.it>
9491 * text.C (breakParagraph): fixed function to honor the keepempty
9492 layout in the right maner and also to permit the right breaking
9493 algorithm on empty or non empyt keepempty paragraphs.
9495 * paragraph.C (breakParagraph): we have to check also if the par
9496 is really empty (!size()) for isempty otherwise we do the wrong
9499 2002-05-10 Juergen Vigna <jug@sad.it>
9501 * buffer.[Ch] : The following are only changes to the ert
9502 compatibility read reading old LaTeX layout and font stuff and
9503 convert it to ERTInsets.
9505 * buffer.h: added isErtInset().
9507 * buffer.C (struct ErtComp): add a fromlayout bool to check
9508 if we're inside a LaTeX layout.
9509 (isErtInset): new helper function.
9510 (insertErtContents): look for other ert insets before this one
9511 and insert the contents there, so that we don't have subsequent
9512 ERT insets with nothing between them. This way we create only one
9513 inset with multiple paragraphs. Also check if we don't insert only
9514 spaces ' ' as they are ignored anyway afterwards in the .tex file
9515 so if we have only spaces we will ignore this latex part in the
9517 (parseSingleLyXformat2Token \\layout): better compatibility when
9518 reading layout-latex stuff.
9519 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9521 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9522 stuff after reading the inset only get the information back from
9525 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9527 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9529 * LaTeXFeatures.C (getBabelOptions): New method.
9531 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9533 * BufferView_pimpl.C (Dispatch): work around missing argument for
9536 2002-05-08 Juergen Vigna <jug@sad.it>
9538 * text.C (leftMargin): handle paragraph leftindent.
9540 * paragraph.C (writeFile): write the new \\leftindent tag.
9541 (validate): handle leftindent code.
9542 (TeXEnvironment): handle paragraphleftindent code again.
9544 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9546 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9547 for paragrap_extra indent code and new token \\leftindent.
9548 (latexParagraphs): handle the leftindent as environment.
9550 * ParameterStruct.h: added leftindent support.
9552 * ParagraphParameters.C (leftIndent): added support functions for
9553 the paragraph left indent.
9555 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9558 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9560 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9563 * text.C (computeBidiTables): No bidi in insetERT.
9565 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9568 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9570 * version.C.in: pre 5
9572 2002-05-02 José Matos <jamatos@fep.up.pt>
9573 * buffer.C (makeDocBookFile): white space changes, add newline to
9575 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9577 * tabular.C (docBook): fix typo.
9579 2002-05-03 Juergen Vigna <jug@sad.it>
9581 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9582 change in LyXText as we can not be sure it was not freed.
9583 (drawOneRow): remove unused code.
9585 * text.C (drawInset): redo the calculation of the need_break_row as
9586 it could have a row which was already freed.
9587 (draw): look at the return value of drawInset and return false if
9588 it also returned false.
9589 (paintRowText): look at the return value of draw and return false if
9590 it also returned false.
9592 * lyxtext.h: added bool return type to drawInset() and draw() so that
9593 if we have a change in the row so that the rowbreak has to be redone
9594 we abort drawing as it will be called again.
9596 2002-05-02 Juergen Vigna <jug@sad.it>
9598 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9599 a change in the maintext also if we're inside an inset.
9600 (Dispatch): set the cursor again after a break line and after the
9601 screen has been updated as it could be we're in a different row.
9603 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9604 to set the cursor behind the pargraph with > size().
9605 (setCursor): check also for the same paragraph when checking where
9606 to put the cursor if we have a NFR inset.
9608 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9609 parts of layout read further up as it still was in the wrong
9612 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9614 * screen.C (drawFromTo): change sine fullRebreak always return
9617 * buffer.C (parseSingleLyXformat2Token): reindent some
9619 * BufferView_pimpl.C (update): change since fullRebreak always
9621 (Dispatch): git rid of the last hardcoded "Standard"s.
9623 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9625 * text2.[Ch] (fullRebreak): make it return void now that we always
9628 2002-04-30 Juergen Vigna <jug@sad.it>
9630 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9631 ert compatibility check for "latex" layout.
9633 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9635 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9636 minipages: use col% instead of p%, and also use the current font.
9637 (makeLaTeXFile): Fix use babel condition.
9638 (parseSingleLyXformat2Token): Correct font when reading old floats.
9640 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9642 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9643 inserting list of floats.
9645 2002-04-25 Herbert Voss <voss@lyx.org>
9647 * MenuBackend.C (expand): don't add the graphics extensions to the
9650 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9652 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9653 non-existing layout, do not complain if it was the default layout
9654 of the original class (bug #342)
9656 2002-04-24 Juergen Vigna <jug@sad.it>
9658 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9659 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9661 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9663 * buffer.C (getBibkeyList): If using \bibliography, return the
9664 option field with the reference itself. Enables us to provide natbib
9665 support when using \bibliography.
9667 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9669 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9671 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9672 natbib is provided by the LaTeX class.
9674 2002-04-23 Juergen Vigna <jug@sad.it>
9676 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9679 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9681 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9683 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9685 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9686 ensuremath around textordmasculine, textordfeminine and
9689 2002-04-19 Juergen Vigna <jug@sad.it>
9691 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9692 reinitializing the buffer otherwise row-dimensions may be wrong.
9693 (update): reset also the selection cursors if they do exits otherwise
9694 their x/y positions may be wrong.
9696 * text2.C (cursorDown): don't enter the inset if we came from a row
9697 above and are one row over the inset.
9699 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9700 really leaving an inset.
9702 2002-04-18 Juergen Vigna <jug@sad.it>
9704 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9705 of the selected paragraph does not have the selected layout also if
9708 * text2.C (setLayout): fixed bug which did not change last selected
9711 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9712 changed the read and substituted \\end_float with \\end_inset!
9714 * BufferView_pimpl.C (cursorPrevious):
9715 (cursorNext): fixed to make it work with rows heigher than the work
9716 area without moving the cursor only the draw of the row.
9717 (workAreaMotionNotify): fix jumping over high rows.
9719 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9721 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9724 2002-04-16 Juergen Vigna <jug@sad.it>
9726 * text2.C (setCursor): set also the irow().
9727 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9729 (cursorDown): support for locking an inset if the x_fix value goes
9730 inside it. That way I can transverse insets too with cursor up/down.
9732 * lyxrow.h: added irow helper function same as other (i) functions.
9734 * BufferView_pimpl.C (cursorPrevious):
9735 (cursorNext): fixed for insets!
9737 2002-04-15 Juergen Vigna <jug@sad.it>
9739 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9740 position otherwise it is wrong in some cases.
9742 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9743 inside the inset before the call.
9745 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9747 * buffer.[Ch] (getBibkeyList): make it const.
9749 2002-04-12 Juergen Vigna <jug@sad.it>
9751 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9753 * text2.C (getCursorX): new helper function
9754 (setCursor): compute also ix_
9755 (setCursorFromCoordinates): set also ix.
9757 * lyxcursor.h: added ix_ and helper functions.
9759 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9761 * buffer.C (insertStringAsLines): dont break paragraph if the this
9762 paragraph is inside an inset which does not permit it!
9764 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9765 also with no chars on this paragraph.
9766 (paintRowText): only paint stuff if it's inside the workarea!
9768 * paragraph.C (breakParagraph): honor keepempty flag and break the
9769 paragraph always below not above.
9771 * BufferView2.C (unlockInset): update the paragraph layout on inset
9772 unlock as we changed paragraph in such a case.
9774 * lyxfind.C (LyXFind): clear the former selection if not found!
9776 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9777 again called in insertChar().
9779 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9780 an inset which uses the whole row!
9781 (rightMargin): ditto.
9782 (insertChar): force a rebreak if we inserted an inset!
9784 2002-03-28 Herbert Voss <voss@lyx.org>
9786 * lyxlength.[Ch]: add inBP() to get the right PS-point
9787 units (BigPoint). With inPixels we have rounding errors
9789 2002-04-11 Juergen Vigna <jug@sad.it>
9791 * text2.C (setCursorFromCoordinates): set iy to the right value.
9792 (setCursor): add check if row->previous exists!
9794 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9795 an old float_type as this was the case in the old code!
9797 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9799 * BufferView2.C (showLockedInsetCursor): use iy
9800 (fitLockedInsetCursor): ditto
9802 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9803 locked insets as there we have the right value now.
9805 * lyxcursor.C: added iy_ variable and iy functions to set to the
9806 baseline of cursor-y of the locked inset.
9808 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9809 (setCursor): fixed for insets which need a full row.
9811 * text.C (rowLastPrintable): don't ignore the last space when before
9812 an inset which needs a full row.
9813 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9814 as last character of a row when before a inset which needs a full row.
9816 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9818 * version.C.in: update date
9820 * text2.C (fullRebreak): try to always return true and see what
9823 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * MenuBackend.C (expand): use Floating::listName
9827 * FloatList.C (FloatList): add listName argument to the built-in
9830 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9831 text associated with the float.
9833 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9835 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9837 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9839 * ShareContainer.h: add a couple of missing typenames.
9841 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9843 * lyxrc.C (getDescription): use _() correctly rather than N_().
9845 2002-03-28 Herbert Voss <voss@lyx.org>
9847 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9848 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9850 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9853 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9855 2002-03-29 Juergen Vigna <jug@sad.it>
9857 * lyxfunc.C (dispatch): add a missing fitCursor call.
9859 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9860 it was scrolled by a cursor move, so return the bool status.
9862 * BufferView.C (fitCursor): return the bool flag also to the outside
9863 world as this is needed.
9865 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9867 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9868 call the edit() as it is not needed (and wrong) IMO.
9869 (workAreaButtonPress): set the screen_first variable before evt.
9870 unlock the inset as this may change screen_first and then we have
9871 a wrong y position for the click!
9873 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9875 * MenuBackend.C (expand): another translation that I missed
9877 2002-03-28 Juergen Vigna <jug@sad.it>
9879 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9881 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9883 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9885 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9887 * MenuBackend.C (expand): fix export/view/update when there is no
9890 2002-03-27 Herbert Voss <voss@lyx.org>
9892 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9895 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9897 * bufferview_funcs.C (currentState): only show paragraph number
9898 for is DEVEL_VERSION is set.
9900 * lyxfunc.C (dispatch): put warning in INFO channel
9902 * MenuBackend.C (expand): translate the name of floats
9904 * FloatList.C (FloatList): mark the float names for translation
9906 * converter.C (convert): use LibScriptSearch
9908 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9910 * MenuBackend.C (defaults): fix default menu (we might as well get
9913 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9918 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9920 * lyxvc.C: reorder includes.
9922 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9924 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9927 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9929 * CutAndPaste.C: change layouts earlier on paste
9930 to avoid crashing when calling getFont()
9932 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9934 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9937 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9939 * WorkArea.C: remove 'Pending' debug message.
9941 * most files: ws cleanup
9943 * buffer.[Ch]: ws changes
9945 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9947 2002-03-21 Juergen Vigna <jug@sad.it>
9949 * tabular.C (SetMultiColumn): collapse also the contents of the
9950 cells and set the last border right. Added a Buffer const * param.
9952 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9954 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9957 2002-03-19 Juergen Vigna <jug@sad.it>
9959 * text2.C (clearSelection): reset also xsel_cache.
9961 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9962 where it needs to be called (John tells us to do so too :)
9963 (selectionLost): reset sel_cache.
9965 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9967 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9969 * text2.C (setCursorIntern): put debuging code in INSETS channel
9971 2002-03-19 André Pönitz <poenitz@gmx.net>
9973 * lyxfunc.C: tiny whitespace change
9975 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * ToolbarDefaults.C (init):
9978 * LyXAction.C (init):
9980 * BufferView_pimpl.C (Dispatch):
9981 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9983 2002-03-19 Allan Rae <rae@lyx.org>
9985 * exporter.C (Export): removeAutoInsets before doing anything else.
9986 While I've just introduced a dependency on BufferView this really is
9987 the best place to clean the buffer otherwise you need to cleanup in
9988 a dozen places before calling export or cleanup in a dozen functions
9991 * converter.C (runLaTeX):
9992 (scanLog): Better handling of removeAutoInsets and screen updates.
9994 * lyxfunc.C (dispatch): small whitespace changes
9996 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9998 * WorkArea.C (C_WorkAreaEvent): return a value.
9999 (event_cb): return 1 if we handled the event, 0 otherwise.
10001 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10003 2002-03-18 Juergen Vigna <jug@sad.it>
10005 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10006 (GetAdditionalWidth): ditto.
10007 (RightLine): ditto.
10010 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10011 inset if we're there actually (probably not used right now but this
10012 is the direction to go for unifying code).
10013 (paste): disable code to clear the selection.
10015 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10016 inside an InsetText and move the check further up as it is in the
10019 * text2.C (pasteSelection): set a selection over the pasted text.
10021 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10023 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10024 and libgraphics to build on Cygwin.
10026 2002-03-15 Juergen Vigna <jug@sad.it>
10028 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10029 inserting an Inset into the paragraph. I know this is not the best
10030 fix but we already use current_view in CutAndPaste so we will remove
10031 all of it's using at the same time.
10033 * buffer.C (sgmlError): deactivated function till it is rewritten in
10034 the right mode, now it can create problems.
10036 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10037 before accessing it.
10039 2002-03-14 Juergen Vigna <jug@sad.it>
10041 * undo_funcs.C (textHandleUndo): do the right thing when updating
10042 the inset after the undo/redo.
10044 * text2.C (setCursor): just some testcode for #44 not ready yet.
10046 * undo_funcs.C (textHandleUndo): set the next() and previous()
10047 pointers of the paragraph to 0 before deleting otherwise we have
10048 problems with the Paragraph::[destructor].
10050 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10051 on a paragraph insertion.
10053 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10055 * buffer.C (asciiParagraph): use += operator for char append to
10058 * paragraph.C (getFontSettings): compare >= not just >
10059 (highestFontInRange): ditto
10062 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10064 * paragraph.C: change several algorithm to be more appripriate for
10065 the problem domain. This is lookip in FontList and in the InsetList.
10067 2002-03-13 André Pönitz <poenitz@gmx.net>
10070 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10072 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10077 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10079 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10081 * Painter.C (display): anon helper function, adjust code for this
10083 (pixmap): remove function.
10085 * Painter.h: remove private display variable.
10087 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10089 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10091 * WorkArea.[Ch]: remove figinset_canvas cruft.
10093 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10095 * lyxtextclass.C (operator): add one item cache optimization.
10097 * bufferlist.h: doxy changes
10099 * bufferlist.C: ws changes
10101 * DepTable.[Ch] (ext_exist): place const in the right spot.
10103 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10105 (workAreaExpose): call resizeInsets when the with BufferView changes.
10106 (Dispatch): adjust for protectedBlank removal
10107 (specialChar): call updateInset if the insert went ok.
10109 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10110 specialChar instead.
10112 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10114 * BufferView.h: doxy change
10116 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10118 * lyxtextclass.C (operator[]): remove non-const version
10119 (defaultLayout): remove non-const version
10121 2002-03-12 Juergen Vigna <jug@sad.it>
10123 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10124 did resize the LyXText too.
10126 * buffer.C (readLyXformat2): set layout information on newly allocated
10129 * tabular.C (OldFormatRead): set layout information on the paragraph.
10131 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10133 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10135 2002-03-11 Juergen Vigna <jug@sad.it>
10137 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10139 (resizeCurrentBuffer): force also the insets to resize themselfes.
10140 (moveCursorUpdate): fixed up for InsetText.
10142 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10145 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10146 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10147 value of Dialogs::tooltipsEnabled().
10148 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10150 2002-03-08 Juergen Vigna <jug@sad.it>
10152 * BufferView_pimpl.C (updateInset): update inset inside inset also
10153 if it isn't inside theLockingInset().
10155 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10157 * buffer.C (asciiParagraph): redo some of the word and line length
10159 (getLists): look for Caption instead of caption.
10161 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10163 * buffer.C (Buffer): initialize niceFile to true
10165 (makeLinuxDocFile):
10166 (makeDocBookFile): make sure niceFile is true on exit
10168 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10170 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10172 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10174 * LyXSendto.C: remove.
10175 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10176 * lyx_gui.C: remove now-redundant comment.
10177 * ColorHandler.h: remove forward declaration of class WorkArea.
10178 * lyxfunc.C: remove #include "WorkArea.h".
10180 2002-03-07 Juergen Vigna <jug@sad.it>
10182 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10183 got moved away with the DEPM and also set the inset_owner always
10184 right which before could have been omitted.
10186 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10188 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10189 wanted layout is not found.
10191 2002-03-07 Juergen Vigna <jug@sad.it>
10193 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10195 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10197 * paragraph.C (breakParagraph): use default layout not layout of
10199 (Paragraph): clear ParagraphParameters.
10201 2002-03-06 Juergen Vigna <jug@sad.it>
10203 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10204 otherwise it would not be a valid lenght. Fixed a special case in
10205 the minipage compatibility read where we end the document with a
10208 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10209 was set as it could be 0 for InsetTexts first entry.
10211 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10213 * paragraph.C (writeFile): if layout is empty write out
10214 defaultLayoutName().
10216 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10217 file without named layout we set layout to defaultLayoutName().
10219 2002-03-06 Juergen Vigna <jug@sad.it>
10221 * CutAndPaste.C (copySelection): set layout for new paragraph.
10223 * text.C (prepareToPrint): leave ERT inset left aligned
10224 (leftMargin): don't indent paragraphs inside ERT insets
10226 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10228 * paragraph.C (breakParagraph): dont call clear do the work manually
10230 * paragraph.[Ch] (clear): remove function
10232 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10234 * paragraph.C (Paragraph): dont call clear, the work has already
10237 * lyxtextclass.C (operator): assert if n is empty
10239 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10240 work manually instead.
10242 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10244 * BufferView_pimpl.C: protect selectionLost against text == 0
10246 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10248 * text.C (breakParagraph): fix a setting layout to '0' problem.
10250 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10252 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10253 final location of file, for the included files, and graphics.
10255 2002-03-05 Juergen Vigna <jug@sad.it>
10257 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10259 2002-03-04 Juergen Vigna <jug@sad.it>
10261 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10263 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10264 last column of multicolumn cells.
10265 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10267 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10269 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10270 file if it doesn't go to a temporary file.
10272 * buffer.C (sgmlOpenTag):
10273 (sgmlCloseTag): remove extra newline insertion.
10275 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10277 * text.C (getRowNearY): comment out debug msg
10279 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10281 * text2.C: first -> first_y
10283 * text.C (getRowNearY): add some attemts at a possible
10284 optimization, not working.
10286 * tabular.[Ch]: add BufferParams to several function so that newly
10287 created paragraph can be initialized to he default layotu for the
10290 * tabular-old.C (ReadOld): add buf->params to call of Init
10292 * screen.C: rename text->first to text->first_y
10294 * paragraph.C (breakParagraph): always set layout in the broken
10297 * lyxtextclass.C (Read): remove lowercase
10300 (delete_layout): ditto
10302 * lyxtext.h: rename first -> first_y
10304 * lyxlayout.C (Read): remove lowercase
10307 (obsoleted_by): ditto
10309 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10311 * buffer.C (insertErtContents): add params are to InsetERT
10312 (parseSingleLyXformat2Token): add code to check if a paragraphs
10313 layout really exist.
10314 (parseSingleLyXformat2Token): add params to several inset
10316 (asciiParagraph): remove lowercase, do the layout comparisons with
10319 * BufferView_pimpl.C (cursorNext): first -> first_y
10320 (resizeCurrentBuffer): first -> first_y
10321 (updateScrollbar): first -> first_y
10322 (scrollCB): first -> first_y
10323 (workAreaMotionNotify): first -> first_y
10324 (workAreaButtonPress): first -> first_y
10325 (checkInsetHit): first -> first_y
10326 (cursorPrevious): first -> first_y
10327 (cursorNext): first -> first_y
10328 (Dispatch): add buffer_->params to severl inset contructors
10330 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10332 * lyxlayout.C (Read): remove some debug info that I forgot.
10334 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10335 clean up the code slightly.
10336 (makeLinuxDocFile): ditto
10337 (makeDocBookFile): ditto
10339 * text2.C: layout as string
10341 * text.C: layout as string
10343 * paragraph_pimpl.C: layout as string
10345 * paragraph.[Ch]: layout as string
10347 * lyxtextclasslist.[Ch]: layout as string
10349 * lyxtextclass.[Ch]: layout as string
10351 * lyxtext.h: layout as string
10353 * lyxlayout.[Ch]: layout as string
10355 * lyx_cb.C: layout as string
10357 * bufferview_funcs.C: layout as string
10359 * bufferparams.C: layout as string
10361 * buffer.C: layout as string
10363 * LyXView.[Ch]: layout as string
10365 * LaTeXFeatures.[Ch]: layout as string
10367 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10369 * BufferView_pimpl.C: change current_layout to string, remove
10374 (workAreaButtonRelease): layout as string
10376 * BufferView2.C (unlockInset): adjust
10378 * vspace.C (asLatexCommand): use an explict temp variable.
10380 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10382 * Makefile.am: use FRONTEND_*
10384 2002-03-01 Juergen Vigna <jug@sad.it>
10386 * tabular.C (SetWidthOfMulticolCell): changed to something better
10387 I hope but still work in progress.
10388 (recalculateMulticolumnsOfColumn): renamed function from
10389 recalculateMulticolCells as it is more appropriate now.
10390 (SetWidthOfCell): calculate multicols better.
10392 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10394 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10396 * lyxfunc.C (processKeySym): print sequence also if it is
10397 `deleted' (complete)
10399 * kbsequence.C (print): print sequence even if it is deleted
10400 (complete would be a better word, actually).
10402 * lyxfunc.C (dispatch): print complete options after a prefix key
10404 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10406 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10408 * text2.C (setCharFont): eliminate setCharFont code duplication.
10410 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10413 LFUN_TABULAR_FEATURE (bug #177)
10415 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10417 * Makefile.am: remove figure.h
10419 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10421 * Bufferview_pimpl.C:
10433 * text2.C: remove #include "lyx_gui_misc.h".
10435 * LaTeX.C: added #include <cstdio>
10437 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10439 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10440 that the paragraph following this one can have.
10442 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10444 * vspace.C (asLatexCommand): fix bogus gcc warning
10446 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10448 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10450 * text2.C (setLayout): get rid of redundant code
10452 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10454 * text2.C (incDepth): make sure depth cannot be increased beyond
10457 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10459 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10460 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10462 * PainterBase.h (image):
10463 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10464 a LyXImage const *.
10466 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10470 * BufferView_pimpl.C:
10471 * BufferView_pimpl.h:
10491 * sp_spell.C: remove fig inset, and the crap house of
10492 cards that follows it
10494 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10499 * os2_errortable.h:
10500 * nt_defines.h: move .h into support/
10502 * vms_defines.h: remove
10504 * WorkArea.C: add space in debug output
10508 * buffer.C: add WITH_WARNINGS
10512 * bufferlist.C: s/retrive/retrieve/, add docs
10521 * chset.C: add docs
10523 * lyxgui.C: add ID to X error handler
10525 * lyxtestclass.c: fix typo
10527 2002-02-26 Juergen Vigna <jug@sad.it>
10529 * tabular_funcs.C (write_attribute): changed so that some default
10530 attributes are not written at all.
10531 (getTokenValue): set default values before trying to read the
10532 value so we have the return value always set as default if we don't
10533 find the token we search for.
10535 * tabular.C (Write): write bools as bools not as strings!
10537 2002-02-22 Juergen Vigna <jug@sad.it>
10539 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10540 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10542 * text.C (leftMargin): don't add an indent for paragraphs inside
10543 tabular cells (fix #208).
10545 2002-02-21 José Matos <jamatos@fep.up.pt>
10547 * tabular.C (docBook): fixed support for long tables.
10549 2002-02-20 Juergen Vigna <jug@sad.it>
10551 * text2.C (getFont): get the drawing font of the Inset if this
10552 paragraph is inside an inset (only important for InsetERT for now).
10554 * buffer.C (insertErtContents): use new lanugage params in ERT
10557 * CutAndPaste.C: commenting out seemingly uneeded code.
10559 2002-02-19 Allan Rae <rae@lyx.org>
10561 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10562 Iterators might be simple to use but they also get invalidated.
10563 (removeAutoInsets): renamed saved cursor tracking variables and added
10564 some comments to clarify what everything does.
10566 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10573 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10574 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10577 * vc-backend.h: remove #include "support/syscall.h"
10581 * converter.C: rearrange #includes in Lars' approved fashion.
10583 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10584 forward declare class Timeout in the header file.
10586 * XFormsView.C: changes due to the above.
10588 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10589 similar to LyXView.
10591 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10592 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10594 2002-02-18 José Matos <jamatos@fep.up.pt>
10596 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10599 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10601 * a lot of small ws changes
10602 * add a lot of using std::XXX
10603 * use std construcs some places where approp.
10604 * use some exisint stuff from lyxfunctional where approp.
10605 * Make file changes to use partial linking (lets test this now...)
10607 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10611 remove #include "support/syscontr.h" as it's redundant. Always has been.
10619 change Systemcalls::System to Systemcalls::Wait and
10620 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10621 No change of functionality, just reflects the stripped down Systemcalls
10624 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10626 * debug.[Ch]: add a GRAPHICS type to the enum.
10628 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10630 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10632 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10635 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10637 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10638 match the changes below.
10640 * text2.C (toggleInset): if there is not editable inset at cursor
10641 position, try to see if cursor is _inside_ a collapsable inset
10644 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10646 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10647 document menu has a nice checkbox
10649 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10651 * lyxlength.C (asLatexString): change PW to output as percent of
10654 * lengthcommon.C: change '%' to 't%'
10656 * lyxfunc.C (dispatch): a few comments from Martin
10658 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10662 * BufferView_pimpl.h:
10663 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10666 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10668 * vspace.C (inPixels): fix compiler warning
10670 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10672 * lyxfunc.C (getStatus): fix status message for disabled commands.
10674 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10676 * BufferView_pimpl.C: fix crash on close buffer
10677 during selection (#227)
10679 2002-01-27 Herbert Voss <voss@lyx.org>
10681 * buffer.C: link old Figure to new graphic inset
10683 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10685 * FontLoader.C (getFontinfo): Change the latex font names in order
10686 to match the names of type1inst.
10688 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10690 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10692 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10693 (extchanged): ditto
10695 (remove_files_with_extension): ditto
10696 (remove_file): ditto
10699 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10700 document is smaller than the work area height. Do not initialize
10701 static variables to 0.
10703 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10707 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10708 LFUN_LAYOUT_PARAGRAPHS.
10710 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10711 tabular. It is possible to provide a possible cell, which will
10712 typically be the actcell from the corresponding insettabular
10714 * lyxfunc.C (getStatus): small cleanup; disable
10715 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10718 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10720 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10722 * paragraph.C (startTeXParParams):
10723 (endTeXParParams): new methods. The LaTeX code to
10724 start/end paragraph formatting
10725 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10726 empty (fixes bug #200)
10728 * vspace.C (inPixels): adapt to the change below
10729 (inPixels): [later] more cleanups (remove unused variables)
10731 * lyxlength.C (inPixels): change to use a width and a height as
10734 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10736 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10737 Replaced with \paperwidth
10739 * DepTable.C (insert): add std:: qualifier
10741 2002-01-18 Allan Rae <rae@lyx.org>
10743 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10746 * text.C (drawInset): Turned out I didn't know enough about how
10747 rebreaking worked. This fixes most of the redraw problems. I see
10748 an occasional cursor trail when a line is broken now and the cursor
10749 placement can seem out by a few pixels also after a rebreak.
10751 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10753 * buffer.C (parseSingleLyXformat2Token): update because minipage
10754 width is now a LyXLength
10756 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10758 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10761 2002-01-17 Juergen Vigna <jug@sad.it>
10763 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10765 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10766 is set correctly and the inset is updated correctly.
10768 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10770 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10771 the beginning of the loop.
10773 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10775 * lyxrc.C: improve help for use_scalable_fonts
10777 2002-01-17 Allan Rae <rae@lyx.org>
10779 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10781 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10783 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10784 make sure to set their inset_owner to the right value (bug #171)
10786 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10789 * DepTable.C: Implement mtime checking to reduce time spent doing
10792 2002-01-16 Juergen Vigna <jug@sad.it>
10794 * tabular.C (GetAdditionalHeight): one of error fixed.
10796 * lyxrc.C (output): small fix in writing use_pspell.
10798 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10800 * sp_base.h: #include LString.h
10802 2002-01-16 Allan Rae <rae@lyx.org>
10804 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10805 Can someone check this please?
10807 * text.C (drawInset): It was possible that p.row would be removed by
10808 breakAgainOneRow upsetting a few other settings. There may be another
10809 small tweak possible by setting need_break_row = 0 when p.row has been
10810 removed but I don't know enough about the logic here.
10812 2002-01-15 Allan Rae <rae@lyx.org>
10814 * text.C (insertChar): removed conditional truism.
10816 * BufferView2.C (removeAutoInsets): More tweaks.
10817 cur_par_prev could be a stray pointer. Check for trailing empty line
10818 in case last line was cur_par and only had an error inset on it.
10820 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10822 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10825 * vc-backend.C (most methods):
10826 * exporter.C (Export):
10827 * converter.C (convert):
10829 * LyXSendto.C (SendtoApplyCB):
10830 * lyxfunc.C (dispatch):
10834 * lyx_cb.C (AutoSave):
10836 * BufferView_pimpl.C (MenuInsertLyXFile):
10837 * buffer.C (runChktex): use Buffer::filePath().
10839 * buffer.h: rename filename to filename_; rename filepath to
10840 filepath_ and make it private
10841 (filePath): new method
10843 * buffer.C (writeFile): use fileName()
10846 * lyx_main.C (init): fix starting of LyX when the binary is a
10847 link from so,ewhere else.
10849 * minibuffer.C: include <cctype> for isprint
10851 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10853 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10854 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10855 name clash with InsetCollapsable's width function.
10857 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10859 * lastfiles.C: include <iterator>
10861 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10863 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10866 * buffer.C (makeLaTeXFile): ditto.
10867 Also make loop operation more transparent.
10869 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10871 * ToolbarDefaults.C: remove trailing comma closing namespace.
10873 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10875 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10878 * trans.C (Load): comment out unused variable, allowed.
10880 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10882 * minibuffer.[Ch] (append_char): new method to recieve input from the
10883 drop-down completion browser. If a key was pressed, then recieve this
10884 char and append it to the existing string.
10885 (peek_event): modify the positioning data passed to the completion
10886 browser so that it can be placed above the minibuffer rather than below.
10887 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10889 * LyXAction.C (init): alloe error-next for readonly documents.
10891 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10894 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10896 * bufferlist.C (readFile): create the buffer _after_ checking that
10899 * lyxfunc.C (verboseDispatch): fix handling of arguments
10901 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10903 * lyxrc.C: use string::erase() instead of initializing to "".
10906 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10908 * BufferView_pimpl.h:
10909 * BufferView_pimpl.C:
10912 * text2.C: tell X when we have made a selection for copying
10914 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10916 * BufferView_pimpl.C (MenuInsertLyXFile):
10917 * lyxfunc.C (menuNew):
10919 (doImport): add shortcuts to directory buttons
10921 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10924 * lyxfunc.C (setStatusMessage):
10925 (getStatusMessage): new methods
10926 (getStatus):use setStatusMessage instead of setErrorMessage
10927 (dispatch): when function is disabled, set error message here
10928 [instead of in getStatus previously]
10930 * BufferView_pimpl.C (workAreaButtonRelease): update
10931 toolbar/menubar here too.
10933 2002-01-13 Allan Rae <rae@lyx.org>
10935 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10936 Now seems indestructible. Remaining task is to audit all other
10937 code affected by deleteEmptyParagraphMechanism. One small quirk
10938 left is that an empty document with an error in the preamble can
10939 be made to report an error but no error box appears. I don't know
10941 (removeAutoInsets): Improved comments.
10943 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10946 * Thesaurus.C: update for Aiksaurus 0.14
10948 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10950 * text2.C (firstParagraph): removed member function, all uses
10951 replaces with ownerParagraph
10952 (redoParagraphs): here
10953 (updateInset): here
10954 (toggleAppendix): here
10955 * BufferView2.C (insertErrors): here
10956 (setCursorFromRow): here
10958 2002-01-13 Allan Rae <rae@lyx.org>
10960 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10961 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10962 There is still a way to segfault this although you may have to do this
10963 multiple times: Have an InsetERT with an unknown command in it.
10964 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10965 <down-arrow>, <Enter> again, View->DVI, BANG!
10967 * text2.C (setCursor):
10968 (deleteEmptyParagraphMechanism):
10969 * lyxtext.h (setCursor):
10970 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10971 Making use of the return value may help fix other bugs.
10973 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10975 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10977 * LyXView.C (updateMenubar): call MenuBar::update here
10978 (updateToolbar): but not here
10979 (showState): do not update toolbar/menubar
10981 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10982 should need to care about that.
10984 * lyxfunc.C (verboseDispatch): simplify a bit
10985 (getStatus): have a version which takes a pseudoaction, and
10986 another which requires a (kb_action,string).
10988 * LyXAction.C (retrieveActionArg): make it work also when action
10989 is not a pseudo-action.
10990 (getActionName): simplify a bit
10993 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10995 * lyxfunc.C (verboseDispatch): new families of methods with
10996 several ways to specify a command and a bool to indicate whether
10997 the command name and shortcut should be displayed in minibuffer
10998 (eventually, we could extend that to a finer bitmask like
10999 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11000 (dispatch): the pristine dispatch command which just, well,
11001 dispatchs! Note it still sets its result to minibuffer; I'm not
11004 * lyxfunc.h: remove setHintMessage
11006 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11008 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11010 * BufferView_pimpl.C (specialChar): delete new inset if we have
11011 not been able to insert it.
11013 * kbmap.C: revert to using int instead of kb_action, since all we
11014 are dealing with is pseudo-actions.
11016 * LyXAction.C (searchActionArg): change to return int instead of
11017 kb_action, since the result is a pseudoaction.
11019 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11021 * buffer.C (insertErtContents): Fix (partially) the font bug.
11023 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11025 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11026 as the other one is broken on my machine!
11028 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11031 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11033 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11035 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11036 reflect their actual use. Provide compatibility code for older lyxrc
11039 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11041 change names of popup font variables in line with the changes to lyxrc.C
11043 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11045 * buffer.C (asciiParagraph): avoid outputing a word twice after
11048 * lyxrc.C (getDescription): document that document_path and
11049 template_path can be empty.
11051 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11053 * LaTeXFeatures.C (getMacros):
11054 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11056 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11058 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11060 (getPackages): rename feature "floats" to "float". Use an array to
11061 iterate over 'simple' features (i.e. just a \usepackage). Add
11062 handling of "amsmath" (renamed from "amsstyle").
11064 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11066 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11069 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11071 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11072 FuncStaus::FuncStatus & FuncStaus::some_method().
11074 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11076 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11077 of the func_satus stuff. Edited and massaged in various ways by
11080 * lyxfunc.C (getStatus): use FuncStatus
11082 2002-01-08 Juergen Vigna <jug@sad.it>
11084 * text.C (nextBreakPoint): use function Inset::isChar().
11086 * paragraph.C (TeXOnePar): use function
11087 Inset::forceDefaultParagraphs.
11089 * buffer.C (latexParagraphs): use function
11090 Inset::forceDefaultParagraphs.
11092 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11094 * lyx_gui.C (init): set the style of the menu popups to
11095 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11097 2002-01-07 Juergen Vigna <jug@sad.it>
11099 * text.C (setHeightOfRow): small fix
11100 (prepareToPrint): don't look at alignment if we don't have the place
11103 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11105 * box.C: New file. Move the Box methods and functions out of box.h,
11106 following Lars' suggestion.
11108 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11110 * box.h: #include "support/LOstream.h", needed for inlined function.
11113 * lyxtextclasslist.C: added some using std declarations.
11115 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11117 * box.h: make signed dimensions to allow insets wider than
11118 the screen (bug #162)
11120 * BufferView_pimpl.C: add some insetHit debug
11122 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11124 * vc-backend.C: add FIXME
11126 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11128 * lyxfunc.C (getStatus): enable code for showing math font status
11131 2002-01-07 Juergen Vigna <jug@sad.it>
11133 * text.C (nextBreakPoint): removed debug output not needed anymore.
11135 2002-01-06 Juergen Vigna <jug@sad.it>
11137 * text.C (nextBreakPoint): fixed up this function we had this bug
11138 since ever but now hopefully we break row better.
11139 (insertChar): we have to check if an inset is the next char as it
11140 could now happen that a large inset is causing a break.
11142 2002-01-05 Juergen Vigna <jug@sad.it>
11144 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11145 if it doesn't like to be drawed.
11147 2002-01-04 Juergen Vigna <jug@sad.it>
11149 * BufferView2.C (lockInset): forgot to set a cursor.
11151 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11153 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11155 * FormMathsPanel.C:
11158 * form_maths_panel.C:
11159 * form_maths_panel.h:
11160 * form_maths_panel.fd: implemented sub- and super- buttons in math
11163 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11164 (or ^ space) to be used as in TeX (req'd by André).
11166 * lyxfunc.C: Allow ^ and _ again to be used both as
11167 super/subscript (mathed) and as themselves (in text).
11169 2002-01-03 Allan Rae <rae@lyx.org>
11171 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11172 "LyX" or the filename of the current buffer if it has one. This is a
11173 modified form of John Levon's patch.
11175 * XFormsView.C (setWindowTitle): also set icon title.
11177 * LyXView.h (setWindowTitle): signature changed.
11178 * XFormsView.h (setWindowTitle): ditto.
11180 2002-01-02 Juergen Vigna <jug@sad.it>
11182 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11184 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11186 * screen.C (topCursorVisible): introduce a temp var for
11187 text->cursor.row(), handle the case where this row is null. (kindo
11190 * text2.C (setCursor): add a couple of asserts.
11192 * paragraph.h (inset_iterator): add -> operator
11194 * paragraph.[Ch] (autoDeleteInsets): remove member function
11196 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11197 cursor pos correctly and handle inset deletion by itself.
11198 (insertErrors): move iterator declaration out of for expression
11200 * lyxtextclass.C: add <algorithm>
11202 * Makefile.am: added the new files to sources, removed layout.C
11204 * layout.C: removed file
11206 * layout.h: remove LYX_DUMMY_LAYOUT
11208 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11212 * lyxtextclass.[Ch]:
11213 * lyxtextclasslist.[Ch]: new files
11215 * include order changes to a lot of files, also changes because of
11218 2001-12-27 Juergen Vigna <jug@sad.it>
11220 * buffer.C (asciiParagraph): more fixes.
11222 * tabular.C (ascii): make ascii export support export of only the
11223 data separated by a column-delimiter.
11224 (ascii): better support for ascii export.
11226 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11228 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11230 * tabular_funcs.C: use a "using std::getline" instead of the
11231 previous fix from Angus (necessary for cxx + lyxstring)
11233 2001-12-24 Juergen Vigna <jug@sad.it>
11235 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11237 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11238 problems. First check a minipage also if we have some ert-contents
11239 (not only on par->size(), second set the right depth of the paragraph
11240 on the relink to the root-paragraph-list!
11242 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11243 which then did not anymore update the main paragraphs on undo/redo!
11245 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11247 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11248 code. Support all font-changing funcs (even those which are not in
11249 menu currently). Support for reporting font settings in
11250 mathed (disabled until Andre provides a function on mathed's side).
11252 * func_status.h (toggle): small helper function to set toggle
11255 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11257 * tabular_funcs.C: getline -> std::getline
11259 2001-12-21 Juergen Vigna <jug@sad.it>
11261 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11262 accessed and could be 0 (I couldn't generate this but it seems
11265 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11267 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11268 * tabular_funcs.h: here and include iosfwd
11270 2001-12-20 Juergen Vigna <jug@sad.it>
11272 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11273 inside inset but undo_par was.
11275 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11277 * Thesaurus.C: always include <config.h> in sources.
11281 * box.h: do not include <config.h> in header files
11283 * text.C (paintLastRow): remove unused variable
11285 * text.C (transformChar):
11287 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11289 * Painter.C (text):
11290 * font.C (width): rewrite to use uppercase() instead of
11293 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11295 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11297 * lyxfind.C: clean up of find failure position change
11299 2001-12-20 Juergen Vigna <jug@sad.it>
11301 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11303 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11304 (TeXRow): added to LaTeX a single tabular row.
11305 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11306 (Latex): simplified and finally good LT-h/f support.
11307 (various_functions): just small adaptions for LT-h/f support.
11309 * tabular_funcs.[hC]: added and moved here all not classfunctions
11312 2001-12-19 Juergen Vigna <jug@sad.it>
11314 * tabular.[Ch]: better support for longtabular options (not finished
11317 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11319 * text.C (paintLastRow): use the label font instead of the font of
11320 the last character to compute the size of *_BOX. This makes more
11321 sense and avoids a crash with empty paragraphs.
11322 Use Painter::rectangle to draw EMPTY_BOX.
11324 2001-12-19 Juergen Vigna <jug@sad.it>
11326 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11327 the paragraphs if the replaced paragraph is not the first one!
11328 Tried to delete not used paragraphs but does not work yet so for
11329 now it's inside #ifdef's and by default off!
11331 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * MenuBackend.C: include "lyx_main.h" instead of declaring
11334 lastfiles (actually was declared as LastFiles* instead of a
11337 2001-12-17 Juergen Vigna <jug@sad.it>
11339 * tabular.C (AppendColumn): applied John's fix
11341 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11345 * BufferView_pimpl.h:
11346 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11349 * box.h: new start of class for above
11351 * lyxfunc.C: ignore space-only minibuffer dispatches.
11352 Show the command name when it doesn't exist
11354 * minibuffer.C: don't add empty lines to the history
11356 * minibuffer.C: add a space on dropdown completion
11358 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11360 * text.C: fix line above/below drawing in insets
11362 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11364 * lyxlength.C (LyXLength): Initialize private variables.
11366 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11368 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11369 when inserting error insets.
11371 2001-12-13 Juergen Vigna <jug@sad.it>
11373 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11374 actually sometimes the before-paragraph.
11375 (setUndo): don't clear the redostack if we're not actually undoing!
11377 2001-12-06 Juergen Vigna <jug@sad.it>
11379 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11380 and fixed redoing of main paragraph, so we can use it now ;)
11382 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11384 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11386 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11389 2001-12-13 André Pönitz <poenitz@gmx.net>
11392 * undo_func.C: minor cleanup
11394 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11396 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11397 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11398 font in urw-fonts package which is marked as -urw-fontspecific and
11399 does not work (incidentally, changing the encoding in the
11400 fonts.dir of this package to -adobe-fontspecific fixes the
11403 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11404 is a crash when undoing first paragraph (Juergen, please take a
11405 look). THis does not mean the undo fix is wrong, just that it
11408 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11409 the (Paragraph*) version when needed instead of duplicating the
11412 * text.C (workWidth): use Inset::parOwner to find out where the
11413 inset has been inserted. This is a huge performance gain for large
11414 documents with lots of insets. If Inset::parOwner is not set, fall
11415 back on the brute force method
11417 * paragraph_pimpl.C (insertInset):
11418 * paragraph.C (Paragraph):
11419 (cutIntoMinibuffer): set parOwner of insets when
11420 inserting/removing them
11422 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11424 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11430 * mathed/formulabase.C:
11431 * mathed/math_cursor.[Ch]:
11432 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11435 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11437 * lyxlength.[Ch] (operator!=): new function
11439 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11441 * text.C (workWidth): use Inset::parOwner to find out where the
11442 inset has been inserted. This is a huge performance gain for large
11443 documents with lots of insets. If Inset::parOwner is not set, fall
11444 back on the brute force method
11446 * paragraph_pimpl.C (insertInset):
11447 * paragraph.C (Paragraph):
11448 (cutIntoMinibuffer): set parOwner of insets when
11449 inserting/removing them
11451 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11453 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11455 * tabular-old.C (getTokenValue):
11456 * tabular.C (getTokenValue):
11457 (write_attribute): new versions for LyXLength
11458 (everywhere): adjust the use of widths
11460 * tabular.h: change the type of widths from string to LyXLength
11462 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11464 * paragraph.C: fixed missing line number count when exporting
11465 Environments to LaTeX file
11467 * buffer.C: added informational message for checking line numbers.
11469 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11471 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11472 paragraph, do the 'double space' part, but not the 'empty
11475 * text.C (workWidth): small optimization
11476 (getLengthMarkerHeight): use minimal size for negative lengths.
11478 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11480 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11482 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11484 2001-12-11 André Pönitz <poenitz@gmx.net>
11487 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11489 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11491 * text2.C: keep selection on a setFont()
11493 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11495 * lyx_cb.C: another bv->text misuse, from insert label
11497 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11500 * kbsequence.C: re-instate nmodifier mask
11502 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11504 * lyx_main.h: make lyxGUI private.
11506 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11508 * lyxfind.C: place the cursor correctly on failed search
11510 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11512 * text.C (getLengthMarkerHeight): for small heights, the arrows
11513 are not always on top/bottom of the text
11514 (drawLengthMarker): smaller arrows; take the left margin in
11515 account; draw also vfills.
11517 (paintLastRow): remove special code for vfill and standard spaces,
11518 since everything is handled in drawLengthMarker now.
11520 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11522 * buffer.C (insertErtContents): try to handle font and language
11523 interaction a bit better.g
11525 * ColorHandler.C (updateColor): change the hash to cover the whole
11526 LColor enum, ws cleanup
11527 (getGCLinepars): ditto
11528 (getGCLinepars): only lookup in the linecache once.
11530 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11532 * iterators.C (operator++): Make the iterator more robust
11534 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11536 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11538 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11541 * text.C: better added space drawing
11543 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11546 * BufferView2.C: fix layout combo update on inset unlock
11548 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11550 * Makefile.am: don't compile unused files
11552 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11556 * LyXAction.C: remove old LFUN_LAYOUTNO
11558 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11560 * paragraph_pimpl.h:
11561 * paragraph_pimpl.C: isTextAt() doesn't need font param
11563 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11566 * lyxlex.C: little cleanup
11568 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11570 * BufferView_pimpl.C: fix insertAscii for insets
11572 2001-12-05 Juergen Vigna <jug@sad.it>
11574 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11575 set the right font on the "multi" paragraph paste!
11577 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * lyxlength.C: remove out-commented code.
11585 * BufferView_pimpl:
11599 * vc-backend.C: change "while(" to "while ("
11601 * lyxlength.[Ch]: add zero function to check if length is zero or
11603 * lyxgluelength.C: use it
11605 2001-12-05 Allan Rae <rae@lyx.org>
11607 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11608 Works for 2.95.3, from what I understand of Garst's reports this should
11609 work for other g++ versions. We're screwed if the abs(int) definition
11610 changed between bugfix releases of gcc.
11612 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11614 * text.C: fix chapter label offset !
11616 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11619 * text.C: fix hfill at end of line, clean up
11621 2001-12-04 Juergen Vigna <jug@sad.it>
11623 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11624 that we force an update of the inset and it's owners if neccessary.
11626 2001-12-03 Juergen Vigna <jug@sad.it>
11628 * text.C (rowLast): simplified code
11630 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11632 * lyxfunc.C: fix show options on timeout
11634 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11636 * screen.C (topCursorVisible): scroll half a page when the cursor
11637 reached top of bottom of screen
11639 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11641 * minibuffer.C: deactivate on loss of focus
11643 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11645 * vspace.[Ch] (operator!=): add operator.
11647 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11649 * BufferView_pimpl.C: refuse to open an inset when
11650 there's a selection.
11652 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11654 * BufferView_pimpl.C: allow to click on RHS of full row insets
11656 2001-11-30 Juergen Vigna <jug@sad.it>
11658 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11659 insets for undo reasons.
11661 2001-11-28 André Pönitz <poenitz@gmx.net>
11663 * vspace.[Ch]: cosmetical changes
11665 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11675 * kbsequence.C: part re-write of old kb code
11678 * WorkArea.C: remove Lgb_bug_find_hack
11680 2001-11-30 José Matos <jamatos@fep.up.pt>
11682 * buffer.C (makeDocBookFile): add a comment to point a hack.
11683 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11684 Fixed a double write of labels.
11686 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11689 * LaTeX.h Fixed bug in LaTeX class where it would not
11690 re-run latex if no depfiles were changed, but the .dvi was removed.
11692 2001-11-28 André Pönitz <poenitz@gmx.net>
11694 * all the files from the change on 2001/11/26:
11695 use lyx::layout_type instead of LyXTextClass::size_type
11696 use lyx::textclass_type instead of LyXTextClassList::size_type
11698 2001-11-29 Juergen Vigna <jug@sad.it>
11700 * text.C: added support for paragraph::isFreeSpacing()
11702 * buffer.C: same as above
11704 * paragraph.h: inserted isFreeSpacing() function to enable
11705 FreeSpacing inside InsetERT.
11707 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11708 of the paragraph's in the cut/copy buffer to 0!
11710 * text2.C (removeRow): remove the assert as it can!
11712 * lyxtext.h: added helper function firstRow returning firstrow and
11713 made firstrow private again.
11715 * BufferView2.C (lockInset): don't relock if we're already locked!
11717 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11718 the only paragraph.
11719 (removeRow): added Assert::(firstrow)
11721 * debug.C: forgot to add INSETTEXT here.
11723 2001-11-28 Juergen Vigna <jug@sad.it>
11725 * sp_spell.C (initialize): changed error text to more general
11726 spellchecker command use (not only ispell!)
11728 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11730 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11732 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11734 * vspace.C: initialise lyxgluelength on failure
11736 2001-11-28 Allan Rae <rae@lyx.org>
11738 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11739 declaration & definition that looks like a function declaration.
11741 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11743 * BufferView2.C (copy):
11744 (copyEnvironment): do not clear the selection when doing a copy.
11746 * text.C (paintFirstRow): compilation fix
11748 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11750 * tabular.C (Latex): correct line count when writing latex.
11752 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11754 * paragraph_pimpl.h:
11755 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11758 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11762 * LColor.C: change vfillline->added_space
11764 * text.C: add markers and text for added space
11766 * vspace.C: fix comment
11768 2001-11-28 André Pönitz <poenitz@gmx.net>
11770 * paragraph.C: whitespace changes
11771 * all the other files from the change on 2001/11/26:
11772 change *::pos_type into lyx::pos_type
11774 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11776 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11777 language of the document when inserting error insets.
11779 2001-11-26 André Pönitz <poenitz@gmx.net>
11781 * BufferView_pimpl.[Ch]:
11789 * paragraph_pimpl.[Ch]:
11792 * text2.C: reduce header dependencies, introduce type for positions
11794 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11796 * <various>: change to use Alert.h
11798 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11800 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11801 when encountering an unknown token.
11802 (readLyXformat2): Show an error message if there were unknown tokens.
11804 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11807 * BufferView_pimpl.C:
11811 * text2.C: use par->isInset()
11813 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11815 * paragraph_pimpl.h:
11816 * paragraph_pimpl.C: cleanup
11818 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11820 * text2.C (removeRow):
11821 * text.C (setHeightOfRow): remove useless (and costly) call to
11824 2001-11-20 Allan Rae <rae@lyx.org>
11826 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11827 Now need Inset*::checkInsertChar() to return true for appropriate
11828 cases so that the characters in the minibuffer will actually be
11831 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11833 * text.C: change the order of the includes.
11834 (workWidth): initialize it at once.
11835 (workWidth): make maxw unsigned
11836 (setHeightOfRow): remove unused variable (inset)
11837 (selectSelectedWord): remove unused variable (inset)
11838 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11840 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11842 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11843 server is not running.
11845 (closeConnection): add debug info when server is disabled.
11847 * ColorHandler.C (getGCForeground): send debug message to GUI
11850 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11852 * kbmap.C (bind): modify because return conventions of
11853 kb_sequence::parse have changed.
11855 * kbsequence.C (parse): only ignore spaces and not any stupid
11856 control character. This avoids tests like s[i] <= ' ', which are
11857 guaranteed to fail with 8bit characters and signed chars.
11858 Change return code to string::npos when there have been no error
11859 (0 was a bad idea when error is at first character)
11861 2001-11-14 José Matos <jamatos@fep.up.pt>
11864 * buffer.C (simpleDocBookOnePar): removed unused argument.
11866 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11868 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11869 insets which are part of a word. Paragraph::isLetter takes care of
11870 that now. Use Paragraph::isInset to identify insets.
11871 (selectSelectedWord): do not test for hyphenation break.
11873 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11874 that protected spaces are considered as spaces.
11876 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11879 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11882 * lyxserver.C: fix it. and small cleanup.
11884 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11886 * BufferView_pimpl.C: use inline helpers
11889 * LaTeXFeatures.C: fix typos
11892 * Spacing.C: move spacing_string into class
11894 * ToolbarDefaults.C: move stuff into namespace anon
11896 * layout.h: update enum
11898 * lyxfunc.C: use better debug
11900 * minibuffer.h: fix typo
11904 * WorkArea.C: add and use Debug::WORKAREA
11908 * text2.C: code re-organisation, inline helpers
11910 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11912 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11913 std::vector.empty().
11915 2001-11-09 Allan Rae <rae@lyx.org>
11917 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11918 '\n's after tables. Tabular and ERT inset work now makes this no
11921 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11924 * minibuffer.C: fix crash, improve drop-down completion
11926 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11929 * lyxserver.C: invalidate fd's when doing endPipe()
11931 2001-11-08 José Matos <jamatos@fep.up.pt>
11933 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11934 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11937 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11939 2001-11-07 José Matos <jamatos@fep.up.pt>
11942 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11945 * buffer.C (sgmlOpenTag):
11946 * buffer.C (sgmlCloseTag): removed debug info.
11948 * buffer.h (sgmlOpenTag):
11949 * buffer.h (sgmlCloseTag): made public.
11951 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11953 * buffer.C (saveParamsAsDefaults):
11954 * lyx_cb.C (MenuLayoutSave): remove
11956 * LyXAction.C (init):
11958 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11960 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11962 * buffer.C (setPaperStuff): removed from here...
11964 * bufferparams.C (setPaperStuff): ... and moved there.
11966 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11970 * XFormsView.C: add support for drop-down completion
11972 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11974 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11977 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11979 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11982 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11984 * lyx_main.C: change ref to known bugs
11986 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11988 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11989 to work around older babel problems.
11991 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11993 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11995 2001-10-24 Juergen Vigna <jug@sad.it>
11997 * tabular-old.C (ReadOld): below variable changes reflected.
11999 * tabular.[Ch]: added ltType struct for longtable header/footer
12000 defines and changed all instances where they are used. Added
12001 future support for double top/bottom rows.
12003 2001-10-24 José Matos <jamatos@fep.up.pt>
12005 * buffer.h (docbookHandleCaption):
12006 * buffer.C (docbookHandleCaption): removed unused function.
12007 (makeDocBookFile): moved docbook supported version to v4.1.
12009 2001-10-24 José Matos <jamatos@fep.up.pt>
12012 * tabular.C (docbookRow): new function to export docbook code of a row.
12013 (DocBook): now honors the longtable flags.
12015 2001-10-23 José Matos <jamatos@fep.up.pt>
12018 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12019 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12021 * buffer.C (makeLinuxDocFile):
12022 (makeDocBookFile): reworked the preamble, more clean, and with
12023 support for lyx defined entities. Changed the document declaration
12024 to be more XML friendly.
12026 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12027 if we need to output XML that should be done with a filter.
12029 2001-10-22 Juergen Vigna <jug@sad.it>
12031 * sp_pspell.h (class PSpell): add alive function needed in the
12032 controller to see if the spellchecker could be started.
12034 2001-10-22 Juergen Vigna <jug@sad.it>
12036 * buffer.C (insertStringAsLines): modify the font for inserting
12037 chars in certain conditions by calling checkInsertChar(font).
12039 2001-10-19 Juergen Vigna <jug@sad.it>
12041 * text.C (workWidth): use getRow instead of wrong algorithm.
12042 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12044 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12049 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12051 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12053 * text.C (workWidth): do not search for the exact row when
12054 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12055 optimization for big documents.
12057 2001-10-18 Juergen Vigna <jug@sad.it>
12059 * text.C (workWidth): new function with added Inset * parameter.
12061 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12063 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12065 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12066 change return type of getColumnNearX.
12069 * text.C (changeRegionCase): use uppercase/lowercase instead of
12072 (rightMargin): simplify code by factoring out the uses of
12077 (appendParagraph): use Paragraph::size_type
12079 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12081 * vspace.C (asLatexString): add a missing break
12083 2001-10-15 Herbert Voss <voss@perce.de>
12085 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12087 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12089 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12092 2001-10-10 André Pönitz <poenitz@gmx.net>
12094 * lyxfunc.C: removed greek_kb_flag.
12096 2001-10-10 Herbert Voss <voss@perce.de>
12098 * lyx_main.C: delete global string help_lyxdir.
12100 2001-10-09 Herbert Voss <voss@perce.de>
12102 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12104 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12106 * lyx_main.C: added global string help_lyxdir.
12108 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12110 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12112 * lyxrc.C (set_font_norm_type): support iso8859-4
12114 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12116 * LaTeX.C (deplog): add another regex for MikTeX
12118 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12120 * lyxrc.C (set_font_norm_type): support iso8859-3
12122 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12124 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12126 * LaTeXFeatures.C: remove special case of french and index
12128 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12129 before \begin{document}). This solves several incompatibilities.
12131 2001-10-03 Garst Reese <reese@isn.net>
12133 * lyx_cb.C: change CheckTex error msg.
12135 2001-10-03 José Matos <jamatos@fep.up.pt>
12137 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12139 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12141 * .cvsignore: update
12143 * lyx_main.C (commandLineVersionInfo): use new style version info.
12145 * buffer.C (writeFile):
12147 (makeLinuxDocFile):
12148 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12150 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12152 * version.h: update to use stuff in version.C
12154 * version.C.in: new file. Contains version information determined
12155 at compile time. This is a merging of version.h and
12158 2001-10-03 Juergen Vigna <jug@sad.it>
12160 * BufferView_pimpl.C (update): don't change "dirty" status in
12163 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12165 * WorkArea.C (c-tor): re-position version string slightly.
12167 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12169 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12170 revert to previous code.
12172 WorkArea.[Ch]: (show, destroySplash): methods removed.
12174 WorkArea.C: rework code so that it's an amalgam of the codes before and
12175 after the splash screen was moved to WorkArea.
12177 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12180 * vspace.C (inPixels):
12183 * buffer.C (insertStringAsLines):
12184 (asciiParagraph): fix types to be large enough
12186 * lyxlex_pimpl.h: change member status from short to int
12188 * layout.h: fix type of endlabeltype
12191 * kbsequence.C (parse): change return type to string::size_type
12193 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12196 * Bullet.C (bulletSize):
12197 (bulletEntry): do not use short ints as parameters
12199 * BufferView2.C (insertLyXFile): change a char to an int.
12201 * WorkArea.C (WorkArea): remove unneeded floats in computation
12203 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12205 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12207 * paragraph.C (asString): Do not ignore newline/hfill chars when
12208 copying to the clipboard.
12210 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12212 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12213 after a multi-line inset.
12215 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12217 * paragraph.C (validate): Set NeedLyXFootnoteCode
12219 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12221 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12222 and decrease-error to decrease.
12224 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12226 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12227 it more readable (should be equivalent)
12229 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12231 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12233 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12235 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12236 of a cursor (row, etc.) after a character has been deleted
12237 (deleteEmptyParagraphMechanism): call the method above on _all_
12238 cursors held by the LyXText when a double space has been
12241 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12243 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12245 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12247 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12248 background. Use greyOut() and the new show() methods to toggle between
12249 the foreground and background. Add code to remove the splash after
12250 its initial showing.
12252 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12253 (create_forms): no longer call Dialogs::showSplash.
12255 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12257 * .cvsignore: add version_info.h
12259 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12261 * version_info.h.in: new file
12263 * Makefile.am: add version_info.h.in
12265 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12266 version_info.h instead of VERSION_INFO
12268 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12270 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12271 The ERT inset now returns string().
12273 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12275 * lyxtext.h, text.C (selectNextWord): renamed as
12276 selectNextWordToSpellcheck.
12278 * text.C (selectNextWordToSpellcheck): Modified to not select
12279 words inside an ERT inset.
12281 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12283 * lyx_cb.C (MenuLayoutSave): change a bit the question
12285 * sp_base.h: include <sys/types.h>
12287 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12289 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12291 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12293 * several files: fix typos in user-visible strings
12295 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12297 * text2.C (pasteSelection): do not set the selection, since it
12298 will be cleared later. Actually, the intent was to fix the way the
12299 selection was set, but I figured rmoving the code was just as good.
12301 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12303 * FontLoader.C (available): Check if font is available without
12306 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12308 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12310 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12312 * lyxrc.[Ch]: added display_graphics variable and associated code.
12314 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12316 * bufferparams.C (hasClassDefaults): new method. Returns true if
12317 the buffer parameters correspond to known class defaults
12319 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12321 * XFormsView.C (show): set minimum size to the main window.
12323 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12325 * text2.C (copySelection):
12327 * lyxfind.C (LyXReplace):
12328 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12329 LyXText::selectionAsString.
12331 * paragraph.C (asString): add "label" argument to the second form
12333 * text2.C (selectionAsString): add "label" argument and pass it to
12334 Paragraph::asString.
12336 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12338 * lyx_main.C (commandLineHelp): remove version information
12340 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12342 * lyx_main.C: add -version commandline option
12344 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12346 * paragraph.h: make the optional constructor arg required instead.
12347 some modifications to other files because of this.
12349 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12351 * lyxserver.C (C_LyXComm_callback): make it static
12353 * lyx_main.C (error_handler): make it static
12355 * lyx_gui.C (LyX_XErrHandler): make it static
12357 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12359 * WorkArea.C: make the extern "C" methods static.
12361 * Makefile.am (lyx_LDADD): simplify
12363 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12365 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12366 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12368 * LyXAction.C (init):
12369 * lyxfunc.C (dispatch): associated code removal.
12371 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12373 * lyxfont.h (isSymbolFont): shut off warning
12375 * text.C (setHeightOfRow):
12376 (getVisibleRow): fix crash with empty paragraphs which have a
12379 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12381 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12384 2001-09-04 José Matos <jamatos@fep.up.pt>
12387 * tabular.C (docbook): rename docBook method to docbook.
12389 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12391 * Makefile.am: add dependencies to main.o.
12393 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12395 * FontLoader.C (available): Return false if !lyxrc.use_gui
12397 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12399 * FontInfo.C (query):
12400 * converter.C (view):
12401 * importer.C (Import):
12402 * exporter.C (Export): Can not -> cannot.
12404 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12406 * BufferView_pimpl.C: allow to create index inset even if
12409 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12411 * buffer.C (getLists): replace boost::tie code with an explicit pair
12412 as boost::tie can break some compilers.
12414 * iterators.h: Added a std:: declaration to the return type of
12417 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12419 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12422 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12424 * iterators.[Ch]: New files. Provide paragraph iterators.
12426 * buffer.C (changeLanguage): Use paragraph iterators.
12427 (isMultiLingual): ditto
12429 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12431 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12433 * FontLoader.C: Support for cmr font.
12435 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12437 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12438 (available): New method.
12440 * FontInfo.C (getFontname): Use scalable fonts even when
12441 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12444 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12446 * converter.C (Formats::view): reverted! Incorrect fix.
12448 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12450 * converter.C (Formats::view): only output the -paper option
12451 if the dvi viewer is xdvi, thereby fixing bug #233429.
12453 2001-08-23 Herbert Voss <voss@perce>
12455 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12457 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12459 * Spacing.h (Spacing): Set space to Default on in the default
12462 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12464 * vc-backend.h (RCS::versionString): add RCS to version
12465 (CVS::versionString): add CVS to version
12467 * vc-backend.C (scanMaster): do not add CVS to version.
12468 (scanMaster): do not add RCS to version
12470 * lyxvc.C (versionString): new method
12472 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12474 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12476 * Spacing.C (set): initialize fval
12478 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12480 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12483 2001-08-16 Juergen Vigna <jug@sad.it>
12485 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12487 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12489 * BufferView_pimpl.C:
12492 * text2.C: setParagraph takes linespacing now
12494 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12496 * LyxAction.C: add internal LFUN_CITATION_INSERT
12498 * LyXView.C: actually apply fix
12500 * bufferlist.C: fix open non-existent file
12502 * lyxfind.C: fix indentation
12504 * lyxfunc.C: remove unneeded assert, fix typo
12506 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12508 * MenuBackend.C: use "Floatname List"
12510 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12512 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12513 when converting LaTeX layout to insetERT.
12514 Generate a non-collapsed float when reading old float
12516 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12518 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12521 2001-08-13 Juergen Vigna <jug@sad.it>
12523 * text.C (fill): return 0 instead of 20 as this seems to be the more
12526 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12528 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12531 2001-08-13 Juergen Vigna <jug@sad.it>
12533 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12535 (SearchBackward): comment out the unlocking of the inset_owner this
12536 should not be needed!
12538 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12540 * Many files: Remove inherit_language, and add latex_language
12542 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12543 collapsible insets.
12545 2001-08-10 Juergen Vigna <jug@sad.it>
12547 * text.C (prepareToPrint): fixed hfill-width in draw!
12549 * BufferView2.C (selectLastWord): save the selection cursor as this
12550 now is cleared in the function LyXText::clearSelection!
12552 2001-08-08 Juergen Vigna <jug@sad.it>
12554 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12555 BACKSPACE type functions.
12557 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12558 is only cutted from the document but not put in the cut-buffer, where
12559 still the old stuff should be.
12561 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12563 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12565 * tabular.C (SetWidthOfCell): fixed special case where the width
12567 (LeftLine): handle '|' in align_special.
12569 (LeftAlreadyDrawed): ditto
12570 (SetWidthOfCell): ditto
12572 2001-08-07 Juergen Vigna <jug@sad.it>
12574 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12576 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12578 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12579 * lyxlex.[hC]: ditto
12581 2001-08-06 Juergen Vigna <jug@sad.it>
12583 * text.C (getVisibleRow): fix up row clearing a bit.
12585 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12587 * minibuffer.C: make sure the X server sees the changes in the input.
12589 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12591 * paragraph.C (getFont): split into...
12592 (getLabelFont): this
12593 (getLayoutFont): and this
12594 * paragraph_pimpl.C (realizeFont): calling this
12596 * text2.C (getFont): split into...
12597 (getLayoutFont): this
12598 (getLabelFont): and this
12599 (realizeFont): all three calling this
12601 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12604 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12606 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12608 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12610 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12611 layouts from the Quote inset insertion.
12613 2001-08-03 Juergen Vigna <jug@sad.it>
12615 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12617 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12618 only if status not is already CHANGED_IN_DRAW (second level).
12620 * text.C (draw): don't set the need_break_row when inside an
12623 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12625 * buffer.C (parseSingleLyXformat2Token): handle more latex
12628 * bufferview_funcs.[hC]: change function names to
12629 begin with small char, adjust other files.
12631 2001-08-02 André Pönitz <poenitz@gmx.net>
12634 BufferView_pimpl.C: remove broken special code for math-greek
12636 2001-08-02 Juergen Vigna <jug@sad.it>
12638 * BufferView_pimpl.C (update): redone this function so that we
12639 update the text again if there was a CHANGE_IN_DRAW.
12641 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12642 (drawFromTo): added a new internal bool which is used by draw() and
12644 (general): some cursor drawing problems fixed.
12646 2001-08-01 Juergen Vigna <jug@sad.it>
12648 * lyxfind.C (LyXFind): fixed
12649 (SearchForward): ditto
12650 (SearchBackward): ditto
12652 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12653 spurius drawing of the cursor in the main area.
12655 * text2.C (status): small fix which could lead to a segfault!
12656 (clearSelection): remove unneeded BufferView param.
12658 2001-08-01 André Pönitz <poenitz@gmx.net>
12660 * lyxfunc.C: small change due to changed mathed interface
12662 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12664 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12666 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12668 * lyxfunc.c: fail gracefully if file doesn't exist
12673 * BufferView_pimpl.C: IsDirWriteable() proto changed
12675 * LyXView.C: fix updateWindowTitle() to store the last title
12677 2001-07-31 Juergen Vigna <jug@sad.it>
12679 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12680 the font (wrong since using of Paragraph::highestFontInRange).
12682 * paragraph.C (highestFontInRange): added a default_size parameter.
12684 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12685 (setHeightOfRow): reformat
12687 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * converter.[hC] + affected files: move to (inital-char)lowercase
12692 * ParagraphParameters.C (ParagraphParameters): remove commented code
12694 * PainterBase.[Ch]: remove commented code
12696 * LaTeXFeatures.h: add "bool floats" for float.sty
12698 * LaTeXFeatures.C (LaTeXFeatures): init floats
12699 (require): handle float
12700 (getPackages): do it with floats
12702 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12704 * BufferView_pimpl.C (Dispatch): improve handling of
12705 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12707 * commandtags.h: #include lyxfont.h here temporarily to avoid
12710 * bufferlist.h: include LString.h here.
12712 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12714 * text2.C (getStringToIndex): new method.
12716 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12718 * *: Reduced header file dependencies all over.
12720 2001-07-30 Baruch Even <baruch@lyx.org>
12722 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12724 2001-07-29 Baruch Even <baruch@lyx.org>
12726 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12728 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12730 * ParameterStruct.h (endif): add a default constructor to make
12731 sure that all variables is initialized.
12733 * ParagraphParameters.C (ParagraphParameters): adjust
12735 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12737 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12738 index; also, check that there is something to index, and that it
12739 does not span over several paragraphs.
12740 (doubleClick): use WHOLE_WORD_STRICT for double click.
12742 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12744 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12747 2001-07-26 Baruch Even <baruch@lyx.org>
12749 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12750 an InsetFig figure, backwards compatible reading of old figure code.
12752 2001-07-27 Juergen Vigna <jug@sad.it>
12754 * text2.C: font.realize function adaption.
12756 * text.C (draw): add a warnings lyxerr text if needed.
12758 * layout.C: font.realize function adaption.
12760 * language.C: add inherit_language and implement it's handlings
12762 * bufferview_funcs.C (StyleReset): remove language parameter from
12763 font creation (should be language_inherit now).
12765 * bufferparams.C (writeFile): handle ignore_language.
12767 * paragraph.C (getFontSettings): the language has to be resolved
12768 otherwise we have problems in LyXFont!
12770 * lyxfont.C (lyxWriteChanges): added document_language parameter
12771 (update): removed unneeded language parameter
12773 * paragraph.C (validate): fixed wrong output of color-package when
12774 using interface colors for certain fonts in certain environments,
12775 which should not seen as that on the final output.
12777 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12779 * BufferView_pimpl.C:
12784 * LyXAction.C: add thesaurus support
12787 * lyxfind.C: add "once" parameter, for thesaurus, to not
12788 move to the next match
12790 2001-07-26 Juergen Vigna <jug@sad.it>
12792 * lyxfont.C (realize): honor ignore_language too!
12795 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12797 * text.C (draw): one place more for ignore_language to not draw
12800 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12802 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12804 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12807 the minipage conversion problem.
12809 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12811 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12814 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * BufferView.h: don't forward declare WorkArea
12818 * BufferView.C: don't include WorkArea.h
12820 2001-07-25 André Pönitz <poenitz@gmx.net>
12824 * lyxfunc.C: new LFUN 'math-space'
12826 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12828 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12830 * text2.C (toggleInset): call open/close
12832 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * lyxfunc.C (dispatch): add debug for the disabled case
12836 * font.C (buttonText): make similar to rectText
12838 * buffer.C (readInset): comment out parsing of insetlist and
12841 * PainterBase.C (rectText): small correction
12843 * BufferView_pimpl.C: comment out insettheorem and insetlist
12844 * LyXAction.C: ditto
12845 * commandtags.h: ditto
12847 2001-07-24 Juergen Vigna <jug@sad.it>
12849 * text.C (draw): honor the ignore_language.
12851 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12853 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12855 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12858 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12860 * lyxtext.h: remove unused (and unimplemented) methods
12862 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12864 * text.C (getVisibleRow): honor background color
12867 * Painter.h: remove default color argument for fillRectangle
12869 * text.C (backgroundColor): new method
12871 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * text.C (getVisibleRow): adjust
12875 * font.[Ch] (rectText): new method, metrics
12876 (buttonText): new method, metrics
12878 * PainterBase.[hC]: make rectText and buttonText always draw and take
12881 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12883 * ToolbarDefaults.C (read):
12884 * MenuBackend.C (read): allow escaping in all strings
12886 * BufferView_pimpl.C (insertAndEditInset): new method.
12887 (Dispatch): use insertAndEditInset whenever appropriate.
12889 * BufferView_pimpl.C (insertNote): removed
12891 * BufferView_pimpl.C (smartQuote): new method, moved from
12892 BufferView; if an insetquote cannot be inserted, insert a '"'
12895 * BufferView2.C: remove insertCorrectQuote();
12897 * lyxfunc.C (getStatus): Add support for all remaingin
12898 inset-insert lfuns.
12900 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12902 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12903 command (necessary to pass " as parameter of self-insert.
12905 * text.C (selectWordWhenUnderCursor):
12906 (selectWord): add word_location parameter
12907 (selectWordWhenUnderCursor): same + remove special code for word
12909 (selectNextWord): use kind() to guess type of insetspecialchar,
12912 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12913 (insertErtContents): create ert insets as collapsed.
12914 (readInset): better compatibility code for Info inset.
12916 2001-07-20 Juergen Vigna <jug@sad.it>
12918 * lyxfunc.C (dispatch): use always LyXFind now!
12920 * text2.C (init): add a reinit flag so that the LyXText can be
12921 reinited instead of deleted and reallocated (used in InsetText).
12923 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12929 2001-07-18 Juergen Vigna <jug@sad.it>
12931 * text.C (selectNextWord): handle insets inside inset by calling
12932 always the bv->text functions so that we can go up the_locking_inset!
12934 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12935 in strange locations when inside an inset!
12937 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12938 handling to include insets.
12940 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12942 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12944 * LyXAction.C (init):
12946 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12947 LIGATURE_BREAK, since the name is so stupid.
12949 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12951 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12954 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12956 * sp_form.[Ch]: remove.
12958 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12960 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12963 * src/buffer.C (readInset): ditto.
12965 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12967 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12968 menuSeparator(), endOfSentenceDot(), ldots() and
12969 hyphenationPoint(), which are therefore removed.
12970 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12972 * LyXAction.C (init):
12973 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12975 * paragraph.C (getWord): removed.
12977 * BufferView_pimpl.C (Dispatch): use last word or selection for
12978 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12980 * lyx_main.C (queryUserLyXDir): do not ask before creating
12981 user_dir, except if it has been named explicitely.
12983 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12985 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12986 a document of zero size.
12988 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12990 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12991 approriately in the c-tor and in require().
12992 (getPackages): output the appropriate LaTeX for natbib support.
12994 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12995 variables "use_natbib" and "use_numerical_citations" when reading the
12997 (readInset): read the various natbib cite commands.
12998 (validate): white-space change.
13000 * bufferparams.[Ch]: new variables "bool use_natbib" and
13001 "bool use_numerical_citations".
13002 (writeFile): output them in the LyX file.
13004 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13006 * lyxfunc.C (getStatus): add support for all the inset insertion
13009 * text2.C (insertInset):
13010 * paragraph.C (insetAllowed):
13011 * BufferView_pimpl.C (insertInset): update to take in account the
13012 renaming of insertInsetAllowed
13014 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13016 * text2.C (getInset): new method. returns inset at cursor position.
13018 * BufferView_pimpl.C (Dispatch): changes because of this.
13020 * LyXAction.C (init): rename open-stuff to inset-toggle.
13022 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13024 * text2.C (toggleInset): renamed from openStuff; use
13027 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13029 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13031 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13033 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13035 * buffer.C (readLyXformat2): Add filename to the error dialog
13037 2001-07-18 Juergen Vigna <jug@sad.it>
13039 * tabular.C (GetCellNumber): put an assert here instead of the check!
13041 2001-07-17 Juergen Vigna <jug@sad.it>
13043 * BufferView_pimpl.C (toggleSelection): adapted too.
13045 * text.C (selectNextWord): adapted for use with insets.
13046 (selectSelectedWord): ditto
13048 2001-07-17 Juergen Vigna <jug@sad.it>
13050 * sp_spell.C (PSpell): fix initialitation order.
13052 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13054 * paragraph.C: spacing
13056 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13058 * sp_spell.C: repair language selection for pspell
13060 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13062 * lyxfunc.h: change more methods to begin with lower char.
13064 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13066 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13067 for unknown layouts.
13069 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13071 * buffer.C (readLyXformat2): Generate an error dialog if there are
13074 2001-07-16 Juergen Vigna <jug@sad.it>
13076 * sp_spell.C: always compile ISpell part.
13078 * lyxrc.C: added use_pspell entry and it's handling.
13080 2001-07-13 Juergen Vigna <jug@sad.it>
13082 * sp_spell.C: removed double includes.
13084 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13086 Consistent use of Lsstream.h:
13087 * Lsstream.h: added using std::stringstream for consistencies sake.
13089 * buffer.C: removed using std::stringstream
13091 * lyxfont.C (stateText):
13092 * paragraph.C (asString):
13093 * text.C (selectNextWord, selectSelectedWord):
13094 * text2.C (setCounter):
13095 * vspace.C (asString, asLatexString):
13096 std::ostringstream -> ostringstream.
13098 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13100 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13101 * commandtags.h: add LFUN_HELP_ABOUTLYX
13102 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13104 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13106 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13108 * lyx_gui_misc.C: remove spellchecker
13109 * lyxfunc.C: showSpellchecker
13111 * sp_ispell.h: added
13112 * sp_pspell.h: added
13113 * sp_spell.C: added
13114 * sp_form.[Ch]: removed
13115 * spellchecker.[Ch]: removed
13117 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13119 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13121 (simpleTeXSpecialChars): Simply print the input character without
13122 any special translation if pass_thru is set.
13124 * layout.h: Added bool pass_thru to layout class for being able to
13125 implement pass through of a paragraph for Literate Programming.
13127 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13128 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13129 * layout.C (Read): add "passthru" to list of layout tags and add
13130 code to set the pass_thru boolean when it is read.
13132 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13134 * trans_decl.h: remove allowed from KmodInfo
13136 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13137 remove allowed code
13140 * paragraph_pimpl.C (erase): use boost::prior
13142 * Painter.C (text): use data() instead of c_str() when length is
13144 * WorkArea.C (putClipboard): ditto
13145 * font.h (width): ditto
13147 * BufferView2.C: use it-> instead of (*it). for iterators
13149 * paragraph_pimpl.C: ditto
13150 * paragraph.C: ditto
13151 * minibuffer.C: ditto
13152 * language.C: ditto
13154 * encoding.C: ditto
13155 * counters.C: ditto
13156 * converter.C: ditto
13158 * Variables.C: ditto
13159 * TextCache.C: ditto
13160 * MenuBackend.C: ditto
13161 * LyXAction.C: ditto
13163 * FloatList.C: ditto
13164 * DepTable.C: ditto
13165 * ColorHandler.C (LyXColorHandler): ditto
13167 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13169 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13171 * text2.C (openStuff): reintroduce this method (which had been
13172 nuked in NEW_INSETS frenzy).
13174 * lyxfunc.C (Dispatch): when an action has not been handled, use
13175 its name in the error message, not its number.
13177 * paragraph.C (inInset): change method name to begin with lowercase.
13180 * text2.C: updates because of this.
13182 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13184 * ToolbarDefaults.C (add): add spaces in error message
13186 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13189 (readLyXformat2): rename return_par to first_par, use lyxlex's
13190 pushToken and remove the manual push handling.
13191 (parseSingleLyXformat2Token): add another ert comp. variable:
13192 in_tabular, rename return_par to first_par. handle newlines better
13194 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13196 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13198 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13200 * text2.C (getParFromID): removed
13202 * buffer.C (getParFromID): new method moved form lyxtext.
13203 * BufferView2.C (insertErrors): adjust
13204 (setCursorFromRow): adjust
13205 * BufferView_pimpl.C (restorePosition): adjust
13206 * lyxfunc.C (Dispatch): adjust
13207 * undo_funcs.C (textUndo): adjust
13209 (textHandleUndo): adjust
13210 (textHandleUndo): adjust
13212 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * buffer.C: up' the LYX_FORMAT
13216 * lyxfont.h: turn NO_LATEX on as default
13218 * buffer.C (insertErtContents): new methods of tex style compability.
13219 (parseSingleLyXformat2Token): use it several places.
13220 * tabular.C (OldFormatRead): and here
13222 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13224 * text2.C: remove some commented code.
13227 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13228 * trans.C: changes because of the above.
13230 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13232 * text2.C (setCounter): Fix counters bug with bibliography layout.
13234 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13236 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13237 own member functions
13238 (simpleTeXSpecialChars): ditto
13240 2001-07-06 Juergen Vigna <jug@sad.it>
13242 * a lot of files: changed the access to LyXText::status and the
13243 call of undo-functions.
13245 * undo.[Ch]: added a inset_id to the undo informations.
13247 * undo_funcs.[Ch]: added and moved here all undo functions.
13249 * lyxtext.h: give the status enum a weight, made status_ a private
13250 variable and made accessor functions for it, removed the whole bunch
13251 of undo-functions as they are now in their own file, make some
13252 functions publically available. Added function ownerParagraph with
13255 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13256 made InInset() a const function, added getParFromID() function.
13258 * buffer.[Ch]: added const version for inset_iterator functions,
13259 added getInsetFromID() function.
13261 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13262 changed undo functions for new version.
13264 2001-07-05 Juergen Vigna <jug@sad.it>
13266 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13267 unknow mechanism does not call the proper constructor but only this
13268 one also if I request the other!?
13270 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13274 * text2.C (LyXText): use initialization lists.
13276 * lyxtext.h (Selection): initialize set_ and mark_
13277 (init): remove method
13279 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13281 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13283 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * screen.[Ch]: change method names to begin with lowercase
13287 * BufferView_pimpl.C (updateScrollbar): simplify further and
13288 hopefully make it a bit faster.
13290 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13292 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13293 calling directly xforms functions.
13295 * Painter.C (Painter):
13296 * lyx_cb.C (MenuWrite):
13297 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13300 * lyx_gui.C: remove bogus guiruntime extern declaration.
13302 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13304 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13306 (redoDrawingOfParagraph): ditto
13307 (redoParagraphs): ditto
13308 (cutSelection): don't create a object for CutAndPaste use the
13309 static method directly
13310 (pasteSelection): ditto
13312 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13315 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13317 * modifications to some other files because of this.
13319 * Makefile.am (lyx_SOURCES): add XFormsView
13321 * XFormsView.[Ch]: new files
13323 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13324 the main window. Move the gui dependent stuff to XFormsView
13326 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13328 * tabular.C (GetCellInset): update cur_cell also in the row/col
13329 version of this function.
13331 * lyxfunc.C: no need to include figure_form.h here.
13337 * lyxvc.C: no need to include forms.h here.
13339 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13343 * lyxfunc.C (Dispatch):
13345 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13346 constructor argument.
13348 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13350 * paragraph.C (Paragraph): dont't clear, and just set layout.
13351 (makeSameLayout): use params's copy contructor.
13353 * ParagraphParameters.[Ch] (makeSame): delete method
13355 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13357 * Variables.[Ch]: fix indentation, rename set to isSet
13359 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13361 * lyxfunc.C (Dispatch): fix typo
13363 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13368 * bufferlist.C: include assert.h for emergencyWrite().
13370 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13372 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13373 give up at last (bug #425202) !
13375 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13381 * spellchecker.C: strip spellchecker options and bring up
13382 preferences tab instead
13384 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13387 the istringstream constructor
13389 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13391 * paragraph.C (getLayout): fix return value
13393 * paragraph.h: do not declare getLayout as inline.
13395 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13397 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13399 * lyxcursor.h (operator<): new func
13400 (operator>): new func
13401 (operator>=): new func
13402 (operator<=): new func
13404 * text.C (changeCase): use selection.start and selection.end
13405 (changeRegionCase): require from to be <= to. Require par to be a
13408 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13410 2001-06-27 Juergen Vigna <jug@sad.it>
13412 * text.C (cursorLeftOneWord): changed to return the cursor and added
13413 overlay with BufferView * parameter which calls this one.
13415 (selectWord): use new getWord function.
13416 (changeCase): renamed from changeWordCase as and extended to work
13417 also on selections.
13419 * lyxtext.h: added enum word_location
13421 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13422 changeCase as this operates now also on selections.
13424 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13426 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13428 * many files: send debug output to Debug::INFO instead of
13431 * converter.C (View):
13433 (Move): send debug output to Debug::FILES instead of console.
13435 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13437 * lyxfunc.C (getStatus): use func_status
13439 * func_status.h: new header, describing the results of
13440 LyXFunc::getStatus;
13442 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13445 2001-06-25 The LyX Project <jug@sad.it>
13447 * buffer.C (sgmlOpenTag):
13449 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13451 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13453 * text2.C: remove some dead code
13455 * tabular.C (GetCellInset): store the last cell checked (gotten)
13457 * tabular.h: add the helper for the speedup
13459 * lyxtext.h: remove some dead code
13461 2001-06-26 The LyX Project <Asger>
13463 * paragraph.C: Change export to LaTeX of alignment to
13464 \begin{center} and family for better roundtrip work with reLyX.
13466 * Tune the math drawing a bit.
13468 2001-06-25 The LyX Project <Asger>
13470 * LColor.C (LColor): New color for math background. New color
13473 2001-06-25 The LyX Project <jug@sad.it>
13475 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13477 * lyxfunc.C (Open):
13478 * bufferlist.C (newFile): do not restrict to files ending with
13481 * BufferView_pimpl.C (MenuInsertLyXFile):
13483 2001-06-24 The LyX Project <jug@sad.it>
13485 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13488 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13490 * lyxtext.h: rename most methods to begin with a small char.
13491 Lots of changes because of this.
13493 * paragraph.C (Paragraph): do not call fitToSize
13494 (erase): call Pimpl::erase
13495 (insertChar): call Pimpl::insertChar
13496 (insertInset): call Pipl::insertInset
13497 (breakParagraph): do not call fitToSize
13498 (breakParagraphConservative): do not call fitToSize
13499 (fitToSize): remove method
13501 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13503 2001-06-24 The LyX Project <Asger>
13505 * Fix Qt compilation^2
13507 2001-06-24 The LyX Project <jug@sad.it>
13509 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13510 depthHook(getDepth()-1).
13513 * ParagraphParameters.h:
13514 * ParameterStruct.h: change type of depth to unsigned int ==
13515 depth_type. Many adaptations to other files before of that.
13517 2001-06-24 The LyX Project <Asger>
13519 * Fix Qt compilation.
13521 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13523 * paragraph.h: renamed several methods to begin with small letter.
13524 several changes to many parts of the code because of this.
13526 2001-06-23 The LyX Project <jug@sad.it>
13528 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13529 rewritten to discard all double spaces when KeepEmpty is off
13530 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13531 to only handle newlines but not fiddle with spaces and friends.
13533 * lyxfunc.C (MenuNew): when doing 'new from template', use
13534 template_path as default directory
13536 2001-06-23 The LyX Project <Asger>
13538 * Clean-up of header file includes all over
13539 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13541 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13543 * paragraph.h: renamed from lyxparagraph.h
13545 2001-06-23 Asger <lyx@violet.home.sad.it>
13547 * Buffer.h: Removed Buffer::resize
13548 * BufferList.h: Removed BufferList::resize
13549 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13550 the document lazily when we change the width, or the font settings.
13552 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13554 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13556 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13558 * buffer.h: remove out of date comment
13560 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13563 * screen.C: fix "theoretical" GC leak
13565 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13567 * LaTeX.C (scanAuxFile):
13568 (deplog): remove trailing \r when reading stream (useful under
13571 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13573 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13574 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13575 and BufferView::theLockingInset(Inset*), so should use them and not
13576 access bv_->text->the_locking_inset directly.
13578 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13580 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13583 * tex-defs.h: remove old unused file
13585 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13587 * BufferView_pimpl.C: fix typo, remove minibuffer message
13588 when buffer has loaded
13590 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13592 * lyxfunc.C (Dispatch): use stringstream
13593 (MenuNew): use stringstream
13594 (Open): use stringstream
13596 * importer.C (Import): use stringstream
13598 * bufferview_funcs.C (CurrentState): use stringstream
13600 * LaTeX.C (run): use stringstream
13602 * BufferView_pimpl.C (savePosition): use stringstream
13603 (restorePosition): use stringstream
13604 (MenuInsertLyXFile): use stringstream
13606 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13619 * vspace.C: removed // -*- C++ -*- as first line.
13622 * version.h: added // -*- C++ -*- as first line.
13624 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13626 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13628 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13631 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13633 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13636 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13638 * gettext.C: include LString.h even when --disable-nls is on.
13640 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13642 * converter.h (Get): changed argument type from int to
13643 FormatList::size_type to avoid unnecessary conversion.
13645 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13648 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13650 * gettext.h: include LString.h even when --disable-nls is on.
13652 2001-06-07 Juergen Vigna <jug@sad.it>
13654 * text.C (BreakAgain): subst spaces with tabs.
13656 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13657 (resizeInsetsLyXText): set force on resizeLyXText.
13659 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13661 * gettext.h (gettext_init):
13662 (locale_init): use a real definition instead of a macro
13664 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13666 * Bufferview_pimpl.C:
13668 * LColor.C: further lcolor tidies
13670 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13672 * BufferView_pimpl.C (updateScrollbar): simplify.
13674 * BufferView2.C: don't include insets/insetinfo.h, change
13675 prototype for insertInset and call the Pimpl version. let
13676 updateInset call Pimpl version.
13678 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13679 gotoInset to BufferView::Pimpl
13681 2001-06-01 Juergen Vigna <jug@sad.it>
13683 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13684 inside a LockingInset (is the update needed at all?).
13686 2001-05-31 Juergen Vigna <jug@sad.it>
13688 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13689 here not the old one otherwise how should we compare it afterwards
13692 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * FontInfo.C: bring C functions into global namespace when
13700 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * LString.h: make sure config.h has been loaded before LString.h.
13704 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13705 (one for each char read by EatLine!).
13707 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13710 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13712 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13713 to the same as the par we break from
13715 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13719 * MenuBackend.C (expand): also create menu entries for wide
13720 versions of the floats.
13722 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13724 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13726 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13727 frontends/Makefile.am
13733 * tabular.C (getTokenValue): add std::
13735 * tabular-old.C (getTokenValue): add std::
13736 (getTokenValue): ditto
13737 (getTokenValue): ditto
13739 * screen.C (ToggleSelection): adjust
13741 * lyxtext.h: put selection cursors inside a Selection struct.
13743 * lyxfunc.C (moveCursorUpdate): adjust
13745 * lyxfont.C (latexWriteStartChanges): add std::
13747 * lyxfind.C: adjust
13749 * font.h: delete with(char const *, LyXFont const &)
13751 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13753 * FontInfo.C (getFontname): add std::
13755 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13756 (workAreaButtonPress): adjust
13757 (tripleClick): adjust
13759 (moveCursorUpdate): adjust
13762 * BufferView2.C (gotoInset): adjust
13764 2001-05-30 Juergen Vigna <jug@sad.it>
13766 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13767 to check pspell I add this as default as I now have new pspell
13768 libraries and they seem to use this.
13770 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13772 * text2.C (CutSelection): make the cursor valid before the call to
13775 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13777 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13778 relied on 0 terminated strings and other horrors. Bug found due to
13779 the new assert in lyxstring!
13781 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13784 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13786 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13789 * lyxfunc.C (processKeySym): change method of getting to the
13792 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13793 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13794 * BufferView_pimpl.[Ch]: here as private methods.
13796 2001-05-28 Juergen Vigna <jug@sad.it>
13798 * text.C (SetHeightOfRow): added the update() call again as it is
13799 needed to initialize inset dimensions!
13801 2001-05-16 Juergen Vigna <jug@sad.it>
13803 * text2.C (SetCharFont): Add new function with BufferView * and
13804 bool toggleall parameters for setting insets internal fonts.
13805 (SetFont): Freeze the undo as we may change fonts in Insets and
13806 all this change should be inside only one Undo!
13808 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13809 setting font's in insets as for them we have the SetFont function!
13811 2001-05-15 Juergen Vigna <jug@sad.it>
13813 * text2.C (ClearSelection): to be sure we REALLY don't have any
13816 * tabular.C (TeXCellPreamble): fixed the left border problem for
13819 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13821 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13824 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13826 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13827 LFUN_BREAKPARAGRAPH.
13829 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13830 help test to "internal only", similar for LFUN_INSERT_URL
13832 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13833 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13834 auto_region_delete and deadkeys.
13836 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13839 * LColor.C: remove some dead entries, tidy a little
13841 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13843 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13845 (Dispatch): implement LFUN_ESCAPE
13847 * commandtags.h: add LFUN_ESCAPE
13849 * LyXAction.C (init): add entry for LFUN_ESCAPE
13851 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13852 Remove commented code.
13853 (insertNote): moved here
13854 (open_new_inset): moved here
13856 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13859 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13861 * kbmap.C (findbinding): clean it up and make it work correctly.
13863 * lyx_main.C (init): do not pass argc and argv as parameters
13865 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13867 * buffer.C: fix path for OS/2 & Win32
13871 * lyx_main.C: Added os:: class.
13873 * os2_defines.h: update
13875 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13877 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13878 better by trying again with reduced state.
13880 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * lyxrc.C (read): print error about invalid key sequence only when
13883 debugging (because not all latinX keysyms are known to some X
13886 * kbsequence.C (getiso): add a few std:: qualifiers
13887 (getiso): comment out extra return statement.
13889 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13891 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13893 (Dispatch): enhance the accent inset a bit. (not perfect)
13895 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13897 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13899 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13901 * bufferlist.C (emergencyWrite): fix assert() call
13903 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13905 * text.C (InsertChar): Added trivial patch to only send the "you
13906 can not do multiple spaces this way" message once during a
13909 2001-05-08 Baruch Even <baruch@lyx.org>
13911 * Makefile.am: Changed order of libraries to get LyX to link properly
13912 with the gnome frontend.
13914 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13916 * LaTeXFeatures.h: add a std:: qualifier
13918 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13920 * paragraph.C (String): use stringstream
13922 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13924 * paragraph.C (writeFile): remove footflag arg
13926 * buffer.C (makeLaTeXFile): use stringstream
13927 (latexParagraphs): remove footnot gurba
13929 * LaTeXFeatures.C (getPackages): use stringstream
13930 (getMacros): likewise
13931 (getTClassPreamble): likewise
13932 (getFloatDefinitions): new method
13934 * paragraph.C (writeFile): reindent
13937 * WorkArea.h: revert the xpos + etc changes.
13939 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13941 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13943 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13944 (pasteSelection): likewise
13945 * text2.C (CreateUndo): likewise
13947 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13949 * minibuffer.C (peek_event): temporarily reduce the functionality
13950 of the minibuffer (to allow args on lfuns)
13952 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13953 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13955 * buffer.C (readInset): add compability reading of old float
13956 lists, add reading of new style float list.
13957 (readInset): avoid reevaluation of inscmd.getCmdName()
13958 (getLists): reindent
13960 * MenuBackend.C (MenuItem): implement parsing of
13961 md_floatlistinsert and md_floatinsert.
13962 (expand::LastFiles): move initalizaton of iterators out of loop,
13963 avoid reevaluation.
13964 (expand::Documents): introduce typdedef vector<string> Strings,
13966 (expand::ExportFormats): introduce typedef vector<Format const *>
13967 Formats, and use it.
13968 (expand): implement FloatListInsert and FloatInsert.
13970 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13971 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13972 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13974 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13976 (Dispatch::LFUN_FLOAT_LIST): implement
13978 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13980 * LaTeX.C (run): Fix problem with --export code.
13982 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13984 * BufferView.[Ch] (workarea): removed.
13985 (getClipboard) new method; wrapper for workarea()->getClipboard()
13987 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13990 * WorkArea.h (width, height, xpos, ypos): These methods all
13991 returned the dimensions of the work_area sub-area of WorkArea,
13992 resulting in a position error if the WorkArea were resized. Now
13993 return the dimensions of the entire WorkArea.
13995 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13997 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13999 * LaTeX.C (deplog): correct the syntax of regex reg1
14001 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14003 * undo.C: remove !NEW_INSETS cruft
14005 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14007 * text2.C: remove !NEW_INSETS cruft
14009 * text.C: remove !NEW_INSETS cruft
14011 * tabular.C: remove !NEW_INSETS cruft
14013 * spellchecker.C: remove !NEW_INSETS cruft
14015 * lyxtext.h: remove !NEW_INSETS cruft
14017 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14019 * lyxfunc.C: remove !NEW_INSETS cruft
14021 * lyxfind.C: remove !NEW_INSETS cruft
14023 * lyx_cb.C: remove !NEW_INSETS cruft
14025 * figureForm.C: remove !NEW_INSETS cruft
14027 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14029 * buffer.[Ch]: remove !NEW_INSETS cruft
14031 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14033 * CutAndPaste.C: remove !NEW_INSETS cruft
14035 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14037 * BufferView2.C: remove !NEW_INSETS cruft
14039 * BufferView.h: remove !NEW_INSETS cruft
14041 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14043 * Lsstream.h: include LString.h before the sstream headers to
14044 fix problem with gcc 2.95.3 and lyxstring
14046 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14048 * lyx_main.C: add using directives when needed for C functions
14049 declared in std:: namespace.
14051 2001-04-27 Juergen Vigna <jug@sad.it>
14053 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14054 (SetHeightOfRow): comment out the update call should not be needed!
14056 2001-04-13 Juergen Vigna <jug@sad.it>
14058 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14059 (LyXTabular): tried to minimize operator= operations (and realized
14060 hopfully Lars wish).
14062 2001-04-27 Juergen Vigna <jug@sad.it>
14064 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14066 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14068 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14070 * buffer.C (readInset): hack to make listof algorithm work
14072 * BufferView_pimpl.C: hack to make listof algorithm work
14074 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14076 * LyXAction.C: removed all !NEW_INSETS cruft
14077 (init): moved lfun_item in method
14079 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14081 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14083 * BufferView2.C (theLockingInset): white space.
14085 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14087 * minibuffer.C: include <iostream>
14089 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14091 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14093 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14095 * text.[Ch] (TransposeChars): new method
14097 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14099 * call message directly through LyXView instead of through LyXFunc
14100 * BufferView2.C: adjust
14101 * BufferView_pimpl.C: adjust
14102 * FontLoader.C: adjust
14104 * bufferview_funcs.C: adjust
14105 * converter.C: adjust
14106 * figureForm.C: adjust
14107 * importer.C: adjust
14109 * lyx_gui_misc.C: adjust
14110 * lyxfunc.C: adjust
14113 + more files in subdirs
14115 * lyxparagraph.h (size): move up int file
14118 * adjust all uses of Assert to lyx::Assert.
14120 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14121 lyxfunctional in namespace lyx
14122 * layout.C (hasLayout): ditto
14125 (delete_layout): ditto
14126 (NumberOfClass): ditto
14127 * converter.C (GetFormat): ditto
14132 * bufferlist.C (getFileNames): ditto
14133 (emergencyWriteAll): ditto
14136 * MenuBackend.C (hasSubmenu): ditto
14139 * BufferView_pimpl.C (getInsetByCode): ditto
14141 2001-04-18 Juergen Vigna <jug@sad.it>
14143 * vspace.C (asLatexString): fixed the 100% problem.
14145 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14147 * lyxfunc.C (Dispatch):
14149 * minibuffer.h: add a few std:: qualifiers
14151 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14153 * minibuffer.[Ch]: reimplement so that commands is initiated and
14154 run from lyxfunc, simplified som handling, and made the completion
14155 and history code for complete. wip.
14157 * lyxfunc.C (processKeySym): call message
14158 (miniDispatch): new temporary method
14159 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14160 (LFUN_MESSAGE): implement
14161 (LFUN_MESSAGE_PUSH): implement
14162 (LFUN_MESSAGE_POP): implement
14163 (initMiniBuffer): the initial/defualt minibuffer message.
14165 * lyxfont.[Ch]: inline some more getters
14167 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14169 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14171 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14172 (AutoSave): use LFUN_MESSAGE
14173 (Reconfigure): ditto
14175 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14177 * figureForm.C: use LFUN_MESSAGE
14179 * converter.C (runLaTeX): use LFUN_MESSAGE
14181 * bufferview_funcs.C: use LFUN_MESSAGE
14183 (changeDepth): ditto
14185 * bufferparams.h: use boost::
14187 * bufferlist.h: inherit privately from noncopyable
14189 * bufferlist.C (loadLyXFile): remove some commented code.
14191 * buffer.C (runChktex): use LFUN_MESSAGE
14193 * ShareContainer.h: inherit privately from noncopyable
14195 * ParagraphParameters.[hC] (depth): inline it.
14197 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14199 (message): new method
14200 (messagePush): ditto
14201 (messagePop): ditto
14202 (show): init minibuffer
14203 (showState): direct call
14205 * LaTeX.[Ch]: inherit privately from noncopyable
14206 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14207 instead of WriteStatus.
14209 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14211 * BufferView_pimpl.C (buffer): don't init minibuffer
14212 (workAreaButtonPress): use LFUN_MESSAGE
14213 (workAreaButtonRelease): ditto
14214 (savePosition): ditto
14215 (restorePosition): ditto
14216 (MenuInsertLyXFile): ditto
14217 (workAreaExpose): don't init minibuffer
14218 (update): remove commented code, simplify
14220 * BufferView2.C (openStuff): use LFUN_MESSAGE
14221 (toggleFloat): ditto
14224 (copyEnvironment): ditto
14225 (pasteEnvironment): ditto
14230 (updateInset): remove some commented code
14232 * lastfiles.h: inherit privately from noncopyable
14235 * lyx_main.h: ditto
14237 * lyxlex_pimpl.h: ditto
14239 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14240 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14241 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14243 * LyXAction.h: inherit privately from noncopyable, add methods
14244 func_begin, func_end, returning iterators to the func map.
14246 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14247 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14248 (func_begin): new method
14249 (func_end): new method
14251 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14253 (copySelection): ditto
14254 (pasteSelection): ditto
14256 * BufferView.C: whitespace change
14257 * BufferView.h: inherit privately from noncopyable
14259 2001-04-16 Allan Rae <rae@lyx.org>
14261 * tabular-old.C (l_getline):
14262 * spellchecker.C (sc_check_word):
14263 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14264 an unrecognised preprocessor directive. So ensure they're wrapped.
14266 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14268 * src/exporter.C (Export): Give an error message when path to file
14271 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14273 * LaTeX.C (deplog): Always check that foundfile exists.
14275 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14278 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14280 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14282 * tabular.[Ch] (getLabelList): implement new method
14284 * minibuffer.h: comment ouf setTiimer
14286 * minibuffer.C (ExecutingCB): constify res
14287 (peek_event): constify s
14288 (Set): constify ntext
14289 (Init): constify nicename
14291 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14293 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14294 (savePosition): use two params to Minibuffer::Set
14295 (restorePosition): ditto
14297 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14299 * lyx_main.C: include language.h
14301 * Makefile.am (lyx_main.o): add language.h
14303 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14309 * CutAndPaste.C: include gettext.h
14311 * lyxfont.h: remove old hack with ON and OFF.
14314 * lyxfont.h: do not include language.h...
14319 * bufferview_funcs.C:
14325 * paragraph.C: ... but do it here instead
14327 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14329 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14331 * tabular.C: small reformat
14333 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14336 (BreakParagraph): ditto
14337 (SetOnlyLayout): ditto
14340 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14343 * lastfiles.C: removed most using decl, add std:: where needed
14345 * buffer.C: ws changes
14347 * MenuBackend.C (class compare_format): put into anon namespace
14348 (expand): constify label, names, action, action2
14351 * text.C (SingleWidth): constify font
14352 (IsBoundary): constify rtl2
14353 (GetVisibleRow): constify ww
14355 * LaTeX.C (deplog): constify logfile
14357 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14359 (workAreaExpose): constify widthChange, heightChange
14361 * lyxrow.C (par): moved
14364 * lyxrow.h: as inlines here
14366 * lyxfont.h (shape): moved from lyxfont.C
14367 (emph): moved from lyxfont.C
14369 * lyxfont.C (LyXFont): use initialization list for all
14371 (shape): move to lyxfont.h as inline
14372 (emph): move to lyxfont.h as inline
14375 2001-04-04 Juergen Vigna <jug@sad.it>
14377 * vspace.C: had to include stdio.h for use of sscanf
14379 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14382 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14383 independent of xforms.
14385 2001-04-02 Juergen Vigna <jug@sad.it>
14387 * spellchecker.C: fixed namespace placing!
14389 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14391 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14392 the LyXParagraph * is 0.
14394 2001-03-29 Juergen Vigna <jug@sad.it>
14396 * vspace.C: added support for %, c%, p%, l%.
14397 (stringFromUnit): added helper function.
14398 (asLatexString): changed to give right results for the %-values.
14400 * buffer.C: convert the widthp in a width%.
14402 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14404 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14407 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14408 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14410 * lyx_cb.[Ch]: see above.
14412 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14416 * lyx.[Ch]: replaced by figure_form.[Ch].
14420 * lyxfunc.C: changed headers associated with above changes.
14422 2001-03-27 Juergen Vigna <jug@sad.it>
14424 * BufferView_pimpl.C: set the temporary cursor right!
14426 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14428 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14430 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14432 * LString.h: removed "using std::getline"!
14434 * BufferView_pimpl.C (Dispatch): changes due to changes in
14435 InsetInclude::Params.
14437 * buffer.C (tag_name): removed redundant break statements as they were
14438 producing lots of warnings with my compiler.
14440 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * LString.h: add "using std::getline" when using the real <string>.
14444 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14446 * buffer.C: removed bitset usage.
14447 PAR_TAG moved to an anonymous name space.
14448 (tag_name): new funtion, also in the anonymous namespace.
14449 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14450 (makeDocBookFile): clean code. Completed transition from string arrays
14452 (SimpleDocBookOnePar): code clean.
14454 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14456 * tabular.C: add some comments.
14458 2001-03-22 Juergen Vigna <jug@sad.it>
14460 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14461 compatibility read a bit and fixed bug with minipage in different
14464 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14466 * buffer.C (pop_tag): removed.
14467 (push_tag): removed.
14468 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14469 array replaced with vector. Added support for CDATA sections.
14470 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14472 (makeDocBookFile): XML conformant declaration of CDATA section,
14473 fixed bug related to <emphasis> in the first paragraph char.
14474 (sgmlOpenTag): exclude empty tags.
14475 (sgmlCloseTag): ditto.
14477 * buffer.h (pop_tag): removed.
14478 (push_tag): removed.
14480 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14482 * language.h (Languages): added size_type and size().
14484 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14486 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14487 response on compability reading of minipages. One probliem is that
14488 the old usage of minipages was «flertydig»
14490 * several files here and in subdirs: don't use static at file
14491 scope use anon namespaces instead.
14493 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14495 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14496 LaTeX output. This is necessary for Literate document
14499 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14501 * buffer.C: insert hfill when needed.
14503 * tabular.C (l_getline): use string::erase, small whitespace change.
14505 * BufferView_pimpl.C: try the anon namespace.
14506 * WorkArea.C: ditto
14508 2001-03-16 Juergen Vigna <jug@sad.it>
14510 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14511 otherwise it won't open options-dialogs.
14513 * buffer.C: honor pextraWidth(p) on converting minipages.
14515 * tabular.C (l_getline): changed the functions to strip trailing \r.
14517 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14519 * BufferView_pimpl.C:
14520 * minibuffer..C: added "using SigC::slot" declaration.
14522 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14524 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14530 * paragraph.C: ditto
14532 * lyxtext.h: NO_PEXTRA
14534 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14536 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14537 * ParameterStruct.h: ditto
14538 * ParagraphParameters.h: ditto
14539 * lyxparagraph.h: ditto
14541 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14543 * buffer.C: add compability for minipage alignment.
14544 (latexParagraphs): remove unwanted pextra check.
14546 * several files: remove CXX_WORKING_NAMESPACES
14548 * buffer.C (pop_tag): tie is in namespace boost
14550 * BufferView.h: noncopyable is in namespace boost
14552 * lyx_main.h: ditto
14555 * lastfiles.h: ditto
14556 * bufferlist.h: ditto
14557 * ShareContainer.h: ditto
14559 * LyXAction.h: ditto
14562 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14564 * Merging changes from BRANCH_MVC back into HEAD.
14566 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14568 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14570 * BufferView_pimpl.C: change from intl.C
14574 * Makefile.am: move combox.*
14580 * intl.C: remove dialog (covered by prefs)
14582 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14584 * lyxfunc.C (Dispatch): removed redundant break statement.
14586 2001-03-14 Juergen Vigna <jug@sad.it>
14588 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14590 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14592 * buffer.C: add hack to fix compability reading of minipages.
14594 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14596 * buffer.C (getLists): Cleanup.
14598 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14600 * lyxfont.C (update): don't honor toggleall on font size.
14602 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14606 * Makefile.am: moved to frontends/xforms/
14610 * BufferView_pimpl.C: changes for moved mathpanel
14612 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14614 * gettext.h: fix gettext_init() in --disable-nls
14616 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14620 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14623 * lyx.h: strip external form
14625 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14627 * BufferView_pimpl.C: add comment, destroySplash()
14629 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14631 * BufferView_pimpl.C:
14635 * lyxfunc.C: use re-worked insetinclude
14637 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14639 * buffer.C: add using std::stringstream.
14641 * lyx_cb.C: readd using std::ios.
14643 * buffer.C: add using std::map.
14645 * BufferView_pimpl.C: add using std::vector.
14647 * ShareContainer.h: add std:: to swap.
14649 * buffer.h: add some typedefs
14650 * buffer.C (getLists): use them
14651 (getLists): renamed from getTocList.
14652 add a counter for the different float types and use it in the
14654 (getLists): use the same counter for the NEW_INSETS and the "non"
14657 * lyx_cb.h: remove unused items, includes, using etc.
14659 * ShareContainer.h: remove some commented code, add more comments
14660 and "documentation".
14662 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14664 * buffer.C (getTocList): make the list also when NEW_INSETS is
14667 * buffer.h: remove TocType
14669 * buffer.C (getTocList): change to return a map<string,
14670 vector<TocItem> >, implement for dynamic number of list.
14672 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14673 * text2.C (PasteSelection): adjust
14674 * CutAndPaste.C (pasteSelection): adjust
14676 * FloatList.C (FloatList): update from the new_insets branch.
14677 * Floating.[Ch]: ditto
14678 * LaTeXFeatures.C: ditto
14680 * lyxlex_pimpl.C: ditto
14682 * paragraph.C (Last): remove when NEW_INSETS is defined.
14684 * other file: changes because of the above.
14686 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14688 * lyxparagraph.h: rename next to next_, previous to previous_,
14689 make them private for NEW_INSETS. Rename Next() to next(),
14690 Previous() to previous().
14692 * other files: changes because of the above.
14694 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14697 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14700 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14702 * main.C (main): pass lyx_localedir to gettext_init().
14704 * gettext.h: remove locale_init and gettext_init macros
14706 * gettext.C (locale_init): new function
14707 (gettext_init): new function
14709 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14712 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14714 * Moved credits to frontends:
14715 * credits.[Ch]: removed
14716 * credits_form.[Ch]: removed
14717 * lyx_gui_misc.C: remove credits stuff
14720 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14722 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14724 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14725 unneeded destructor.
14727 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14728 a standalone pointer again.
14730 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14732 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14738 * ToolbarDefaults.C:
14747 * BufferView_pimpl.C: use new file dialog in GUII
14750 * lyx_cb.C: remove LayoutsCB to Toolbar
14752 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14754 * ShareContainer.h (get): add std:: qualifier
14756 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14758 * ShareContainer.h: define a proper ShareContainer::value_type
14759 type (and use typename to please compaq cxx)
14761 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14763 * lyxparagraph.h: move serveral local vars to
14764 ParameterStruct/ParagraphParameters., use ShareContainer in
14765 FontTable., make vars in FontTable private and add getter and
14768 * paragraph.C: changes because of the above.
14770 * lyxfont.h: remove copy constructor and copy assignment. (the
14771 default ones is ok), move number inside FontBits. move inlines to
14774 * lyxfont.C: add number to initializaton of statics, move several
14775 inlines here. constify several local vars. some whitespace
14776 cleanup. Dont hide outerscope variables.
14778 * Spacing.h: add two new constructors to match the set methods.
14780 * ShareContainer.h: new file, will perhaps be moved to support
14782 * ParameterStruct.h: new file
14784 * ParagraphParameters.h: new file
14786 * ParagraphParameters.C: new file
14788 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14789 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14791 * BufferView_pimpl.C: ParagraphParameter changes.
14792 * buffer.C: Likewise.
14793 * bufferview_funcs.C: Likewise.
14794 * text.C: Likewise.
14795 * text2.C: Likewise.
14797 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14799 * lyxfind.C (LyXReplace): do not redefine default argument in
14801 (IsStringInText): ditto
14802 (SearchForward): ditto
14803 (SearchBackward): ditto
14805 2001-03-06 Juergen Vigna <jug@sad.it>
14807 * lyxfind.C (IsStringInText): put parentes around expressions.
14809 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14811 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14813 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14815 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14817 * stl_string_fwd.h: add comment
14819 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14822 * tabular.C: remove unused DocBook methods
14828 killed DO_USE_DEFAULT_LANGUAGE
14830 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14832 * lyx_gui.C: do not include language.h.
14834 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14835 arguments in function implementation.
14837 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14839 * BufferView_pimpl.C: add <ctime>
14841 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14843 * BufferView_pimpl.C: add using std::find_if
14845 2001-02-27 José Matos <jamatos@fep.up.pt>
14847 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14850 2001-02-11 José Matos <jamatos@fep.up.pt>
14852 * buffer.C (makeDocBookFile): command styles now have a parameter as
14853 "title" by default.
14855 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14857 * layout_forms.[Ch]: removed
14858 * lyx_cb.[Ch]: out character
14859 * lyx_gui.C: out character
14860 * lyx_gui_misc.C: out character
14861 * bufferview_funcs.C: : out character,
14862 added toggleall as parameter in ToggleAndShow
14864 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14866 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14868 * text2.C (SetCurrentFont): Disable number property at boundary.
14870 2001-02-26 Juergen Vigna <jug@sad.it>
14872 * lyxfunc.C (getStatus): added a string argument override function so
14873 that this is correctly called from LyXFunc::Dispatch if it contains a
14874 do_not_use_argument which is used!
14875 (Dispatch): added check for "custom" export and call appropriate func.
14877 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14879 * lyxrc.C: Add language_command_local, language_use_babel and
14880 language_global_options.
14882 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14884 * buffer.C (makeLaTeXFile): Use language_use_babel and
14885 language_global_options.
14887 2001-02-23 Juergen Vigna <jug@sad.it>
14889 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14890 which works with LyXText and putted it inside BufferView. Here now we
14891 only call for that part the BufferView::Dispatch() function.
14893 * BufferView.C (Dispatch): added.
14895 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14896 functions which needs to use a LyXText over from LyXFunc.
14897 (MenuInsertLyXFile): added
14898 (getInsetByCode): added
14899 (moveCursorUpdate): added
14900 (static TEXT): added
14902 2001-02-22 Juergen Vigna <jug@sad.it>
14904 * BufferView_pimpl.C (update): call a status update to see if LyXText
14907 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14909 * vc-backend.C (revert): implement for CVS
14910 (getLog): implement for CVS
14912 2001-02-20 Juergen Vigna <jug@sad.it>
14914 * text2.C (ClearSelection): added BufferView param for inset_owner call
14916 * lyxfunc.C (TEXT): added this function and use it instead of
14917 directly owner->view()-text of getLyXText().
14919 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14921 * src/layout_forms.C: out preamble
14922 * src/layout_forms.h: out preamble
14923 * src/lyx_cb.C: out preamble
14924 * src/lyx_cb.h: out preamble
14925 * src/lyx_gui.C: out preamble
14926 * src/lyx_gui_misc.C: out preamble
14927 * src/lyxfunc.C: connect with guii preamble
14929 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14931 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14933 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14935 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14936 whether to run bibtex.
14938 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14940 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14942 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14944 * Makefile.am (lyx_SOURCES): removed bibforms.h
14946 * vspace.h: doxygen
14948 * text.C (GetVisibleRow): make several local vars const
14950 * tabular.C: small cleanup.
14952 * lyxserver.C (callback): use compare instead of strncmp
14954 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14955 inlines to after class or to paragraph.C
14957 * lyxfont.h: remove friend operator!=
14959 * converter.h: move friend bool operator< to non friend and after
14962 * combox.h: small cleanup
14964 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14965 to inlines after class def.
14967 * buffer.C (pop_tag): use string operations instead of strcmp
14969 * bmtable.c: doxygen, small cleanup
14971 * LaTeX.h: remove friend operator==
14973 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14985 * BufferView_pimpl.C:
14986 * BufferView.[Ch]: remove cruft
14988 2001-02-14 Juergen Vigna <jug@sad.it>
14990 * lyxfunc.C: removed #if 0 unused code
14992 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14994 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14996 * text2.C (SetSelection): added a BufferView * parameter
14998 2001-02-13 Juergen Vigna <jug@sad.it>
15000 * lyxfunc.C (Dispatch): fixed protected blank problem.
15001 * BufferView2.C (protectedBlank): added LyxText * parameter.
15003 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15004 (AppendColumn): same as above for column_info.
15006 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15007 (moveCursorUpdate): use a LyXText param for support of InsetText.
15009 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15010 (tripleClick): ditto
15012 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15014 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15016 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15018 * text2.C (SetSelection): set correct update status if inset_owner
15019 (ToggleFree): ditto
15021 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15023 * tabular.C: remove some commented code.
15025 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15027 * BufferView_pimpl.C: call hideSplash()
15029 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15032 * bibforms.h: remove
15035 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15036 add LFUN_CHILD_CREATE
15038 * counters.h: fix tiny typo
15043 * lyx.C: move splash to frontends/xforms/
15045 * lyx_gui_misc.C: move Include and Bibform to frontends
15047 * lyxvc.h: clarify comment
15049 * vspace.C: tiny housekeeping
15051 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15053 * text.C (PrepareToPrint): RTL Fix.
15055 * paragraph.C (GetUChar): New method.
15056 (String): Use GetUChar.
15058 * buffer.C (asciiParagraph): Use GetUChar.
15060 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15062 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15064 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15067 * buffer.C: rename to getLogName(), handle
15068 build log / latex log nicely
15070 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15073 * MenuBackend.h: remove support for reference menuitem type.
15075 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15077 * BufferView_pimpl.C: housekeeping
15078 * BufferView_pimpl.h:
15083 * minibuffer.h: move Timeout GUI-I
15085 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15087 * lyxrc.C (read): Update converters data-structures.
15089 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15091 * LaTeX.h (operator!=): add operator != for Aux_Info
15093 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15095 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15097 * LaTeXLog.C: deleted, useful code moved to Buffer
15100 * buffer.C: new function getLatexLogName()
15106 * lyxfunc.C: use frontends for LaTeX and VC logs
15108 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15110 * LaTeX.h: yet another std:: that Allan forgot.
15112 * Variables.C (set): renamed from isset(), because this clashes
15113 with some HP-UX macros (grr).
15115 2001-02-06 Allan Rae <rae@lyx.org>
15117 * LaTeX.h: Another bug fix. Missing std:: this time.
15119 2001-02-04 Allan Rae <rae@lyx.org>
15121 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15122 floats problem. I've left it commented out because it's not quite
15123 correct. It should also test that the current object is a table or
15124 figure inset. But I haven't gotten around to figuring out how to do
15125 that. I *think* it'll be something like: "table" == inset.type()
15127 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15130 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15132 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15133 all the citation/databases/styles in the auxilary file.
15134 (run): Rerun latex if there was a babel language error.
15136 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15138 * text.C (Backspace): Preserve the font when changing newline char
15140 (BreakParagraph): If the cursor is before a space, delete the space.
15142 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15144 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15146 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15147 new argument (code).
15148 (ChangeCitationsIfUnique): New method.
15150 * paragraph.C (GetPositionOfInset): Handle bibkey.
15152 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * BufferView_pimpl.h: change type of Position::par_pos to
15155 LyXParagraph::size_type.
15157 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15159 * BufferView_pimpl.C (savePosition, restorePosition): Write
15160 messages to minibuffer.
15162 2001-01-28 José Matos <jamatos@fep.up.pt>
15164 * buffer.C (makeDocBookFile): adds support for document language.
15165 A silly restriction on the name of LatexCommand types where removed.
15166 Added support for CDATA sections, allows to chars unescaped, used
15167 among others in code, to avoid escape < and >.
15169 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15171 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15172 saved positions instrad of a stack. Furthermore, a position is
15173 stored using paragraph id/paragraph position.
15175 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15176 Remove LFUN_REF_BACK.
15178 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15180 * converter.C (dvipdfm_options): New method.
15182 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15184 * vspace.C (isValidLength): Fix for empty input string.
15186 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15188 * LyXAction.C (init): change description of LFUN_FIGURE to
15191 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15193 * LaTeX.C: add using directive
15195 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15197 * MenuBackend.C (expand): Fix the sorting of the formats.
15199 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15201 * lyx_main.C: tiny error message fix
15203 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15205 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15206 calling fl_initialize(). This fixes the problem with ',' as
15207 decimal separator in text files.
15209 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15211 * trans.C (process): Fix the keymap bug.
15213 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15215 * LaTeX.C (scanAuxFiles): New method. Provides support for
15216 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15217 (scanLogFile) Scan for "run BibTeX" messages.
15219 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15220 OT1 font encoding. Also, load the aecompl package if the ae
15223 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15225 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15227 * texrow.C (increasePos): turn two error messages into debug
15230 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15232 * LaTeX.C (scanAux): Handle the \@input macro.
15233 (runBibTeX): Use scanAux().
15235 * language.C (latex_options_): New field.
15237 * LaTeXFeatures.C (getMacros): Add language macros.
15239 * buffer.C (makeLaTeXFile): Small fix.
15241 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15243 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15245 * text2.C: add a using directive.
15247 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15252 * lyxfunc.C: kill LyXBell.
15254 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15256 * text.C (IsBoundary): Remove the error message
15258 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15260 * lyxrc.C (setDefaults): Correct initialization value for
15263 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15265 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15268 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15269 and GotoNextNote().
15271 * src/LyXAction.C: Added reference-next.
15273 * text.C (InsertChar): Use contains instead of strchr.
15275 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15277 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15279 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15280 alignment commands (when needed).
15282 * text.C (InsertChar): Add ':' to number separator chars.