1 2004-03-30 Angus Leeming <leeming@lyx.org>
3 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
4 has died. Fall through to the generic Dialogs::show("document").
6 2004-03-30 Angus Leeming <leeming@lyx.org>
9 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
10 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
12 * lyxfunc.C (getStatus, dispatch): define the actions for these
13 lfuns. Little more than a cut and pste job from ControlDocument.C
15 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
17 2004-03-30 Angus Leeming <leeming@lyx.org>
20 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
21 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
23 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
24 open/closed state of ollapsable insets. Usage:
26 all-inset-toggle <state> <name>, where
27 <state> == "open" || "closed" || "toggle" and
28 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
30 * lyxtext.h, text2.C (toggleInset): removed.
32 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
33 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
34 now passes LFUN_INSET_TOGGLE to the found inset.
36 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
37 is now invoked as "all-insets-toggle toggle branch".
39 2004-03-30 Angus Leeming <leeming@lyx.org>
43 * pariterator.[Ch]: added/corrected header blurb.
45 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
47 * dociterator.[Ch]: add an inset_ member
48 (backwardPos): implemented
49 (backwardPos, forwardPos): use inset_ when the stack is empty.
50 (doc_iterator_begin, doc_iterator_end): implemented
51 * pariterator.[Ch]: adjust, add begin, end
52 * insetiterator.[Ch]: adjust, add begin, end
57 * CutAndPaste.C: adjust
59 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
61 * buffer.C: increment file format to 232.
62 * LaTeXFeatures.C: add bibtopic package.
63 * bufferparams.[Ch]: param \use_bibtopic.
65 * lyxrc.[Ch]: add lyxrc bibtex_command
66 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
68 * buffer.C: increment file format to 231.
70 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
72 * dociterator.C: implement forwardPar
73 * iterators.[Ch]: remove, replaced by
74 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
87 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
89 * CutAndPaste.C (pasteSelection): fix 2 crashes
90 (eraseSelection): fix a crash
91 * paragraph_funcs.C: remove a warning
93 2004-03-28 Angus Leeming <leeming@lyx.org>
96 * LyXAction.C (init): new LFUN_PRINT.
98 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
100 2004-03-27 Angus Leeming <leeming@lyx.org>
103 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
105 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
107 2004-03-27 Angus Leeming <leeming@lyx.org>
109 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
110 insetlist always contains non-null pointers to insets.
112 2004-03-26 Angus Leeming <leeming@lyx.org>
114 * src/BufferView_pimpl.C:
118 * src/output_plaintext.C:
119 * src/outputparams.h:
120 * src/paragraph_funcs.C:
124 * src/frontends/controllers/ControlErrorList.C:
125 * src/frontends/gtk/FileDialogPrivate.C:
126 * src/frontends/gtk/GPainter.C:
127 * src/frontends/gtk/GToolbar.C:
128 * src/frontends/qt2/QRef.C:
129 * src/mathed/math_scriptinset.C: squash compiler warnings.
131 2004-03-26 Angus Leeming <leeming@lyx.org>
133 * ispell.C (LaunchIspell::start):
134 * lyx_cb.C (AutoSaveBuffer::start):
135 invoke run(DontWait) rather than runNonBlocking().
137 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
139 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
141 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * kbsequence.C (print): adjust
145 * kbmap.C (printKeySym): rename and change signature
146 (printKey): use LyXKeySym::print()
148 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
150 * undo.C: add using std::advance to compile for stlport
152 2004-03-24 Angus Leeming <leeming@lyx.org>
154 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
155 it leads to a crash when no buffer is present.
157 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 Martin Vermeer <martin.vermeer@hut.fi>
160 * lyxfunc.C (dispatch):
161 * bufferparams.C (readToken): use the new LColor::setColor
163 * LColor.[Ch] (setColor): new version that takes two strings as
164 argument and creates a new color entry if necessary
166 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
168 * buffer.C (makeLaTeXFile): if the main latex file that is
169 processed is usually a subdocument of some master, then pretend
170 for a while that it is actually the master
172 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
174 * buffer.C (getLabelList):
175 (getBibkeyList): use getMasterBuffer()
176 (getMasterBuffer): new method. Returns the main document in the
177 case where one is using included documents.
179 2004-03-25 André Pönitz <poenitz@gmx.net>
183 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
185 * ParagraphList_fwd.h: change ParagraphList to a std::vector
187 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
188 text*.C over here. Rename namespace CutAndPaste to lyx::cap
190 * ParameterStruct.h: merge with ParagraphParameters
192 * lyxtext.h: remove LyXText::parOffset() and getPar()
194 * text3.C: Remove all 'manual' update calls. We do now one per user
195 interaction which is completely sufficient.
199 * BufferView_pimpl.C:
202 * ParagraphParameters.[Ch]:
214 * output_docbook.[Ch]:
216 * output_linuxdoc.[Ch]:
217 * output_plaintext.[Ch]:
219 * paragraph_funcs.[Ch]:
220 * paragraph_pimpl.[Ch]:
228 * frontends/controllers/ControlDocument.C:
229 * frontends/controllers/ControlErrorList.C:
230 * frontends/controllers/ControlSpellchecker.C:
233 * insets/insetbase.h:
234 * insets/insetbibitem.C:
236 * insets/insetbranch.C:
237 * insets/insetcaption.C:
238 * insets/insetcharstyle.C:
239 * insets/insetcharstyle.h:
240 * insets/insetcollapsable.C:
241 * insets/insetcollapsable.h:
243 * insets/insetfloat.C:
244 * insets/insetfoot.C:
245 * insets/insetmarginal.C:
246 * insets/insetnote.C:
247 * insets/insetoptarg.C:
248 * insets/insettabular.C:
249 * insets/insettext.C:
250 * insets/insettext.h:
251 * insets/insetwrap.C:
252 * mathed/math_mboxinset.C:
253 * mathed/math_nestinset.C:
254 * mathed/math_scriptinset.C:
255 * mathed/math_scriptinset.h:
258 2004-03-24 Angus Leeming <leeming@lyx.org>
260 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
261 deal with any child processes that have finished but are waiting to
262 communicate this fact to the rest of LyX.
264 2004-03-24 Angus Leeming <leeming@lyx.org>
266 64-bit compile fixes.
268 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
269 (c-tor): pass lyx::pos_types rather than ints.
271 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
274 * text.C (Delete): compile fix.
275 (getPar): ensure that function declaration is the same as that in
278 2004-03-23 Angus Leeming <leeming@lyx.org>
280 * ispell.C (LaunchIspell):
281 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
282 a boost::shred_ptr rather than a std::auto_ptr.
284 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * lyxfunc.C (getStatus): handle read-only buffers correctly;
287 handle LFUN_FILE_INSERT_*
289 * lyxrc.C (setDefaults, getDescription, output, read):
290 * lyxrc.h: remove ps_command
292 2004-03-22 Angus Leeming <leeming@lyx.org>
294 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
295 Ensure that error_handler is processed once only and that all data
296 is saved before attempting to output any warning messages.
298 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
300 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
302 * tabular.C (TeXRow): crash fix (from Kayvan and André)
304 2004-03-19 André Pönitz <poenitz@gmx.net>
306 * cursor.[Ch] (reset): take main text inset as argument
309 * BufferView_pimpl.C: adjust
311 * paragraph.[Ch]: fix completely broken operator=()
313 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * LColor.C (getFromLyXName): make sure that the color name is used
318 2004-03-17 Angus Leeming <leeming@lyx.org>
321 * LyXAction.C (init): remove LFUN_FORKS_KILL.
323 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
324 dialog and to kill a forked process.
326 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
328 * text2.C (setCursorFromCoordinates): fix font problem
330 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
332 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
333 bogus "rebuild cursor" code
335 2004-03-11 André Pönitz <poenitz@gmx.net>
337 * buffer.[Ch]: use InsetText instead of LyXText as container for
340 * dociterator.[Ch]: drop the BufferView * member which is not needed
341 anymore after the change to buffer.C
347 * BufferView_pimpl.[Ch]:
349 * cursor_slice.[Ch]: adjust
351 * text3.C: fix bug in mathDispatch
353 2004-03-08 André Pönitz <poenitz@gmx.net>
355 * undo.[Ch]: use 'StableDocumentIterator' as base for
358 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
361 * bufferparams.[Ch]: add jurabib support and param.
363 * LaTeX.C: add FIXME/comment.
365 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
367 * buffer.C: increment file format to 230.
369 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
371 * cursor.C (dispatch): avoid infinite loops
373 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
375 * rowpainter.C (paintSelection): fix x coordinates
377 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
379 * text.C (rowBreakPoint): fix breaking before displayed insets
381 2004-03-01 André Pönitz <poenitz@gmx.net>
383 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
385 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
389 * BufferView_pimpl.C:
397 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
403 * BufferView_pimpl.C: rename textwidth -> maxwidth,
404 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
406 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
408 * Bidi.[Ch] (computeTables): const correctness
409 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
410 fill_hfill, fill_label_hfill and x from Row
411 * lyxtext.h: prepareToPrint returns a RowMetrics
412 * rowPainter.C: adjust
413 * text.C (prepareToPrint): use width, not textWidth. adjust
414 (redoParagraphInternal, cursorX): adjust
415 * text2.C (getColumnNearX): adjust
416 (init): put a default value to the top LyXText::width
418 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
420 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
422 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
424 * lyxtext.h: add FontIterator class
426 * text.C (FontIterator, operator*, operator->, operator++): add
427 (rowBreakPoint, setRowWidth): adjust (fixing a
430 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * BufferView_pimpl.C (workAreaDispatch): allow also
433 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
435 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
437 * text.C (rowBreakPoint): fix a bug showing with very large insets
439 2004-02-25 André Pönitz <poenitz@gmx.net>
442 * cursor.[Ch]: move some mathed specific code to mathed
444 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
446 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
447 use_tempdir in preferences
448 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
450 * lyx_main.C: ensure that tempdir is valid
451 * lyxlex.h: correct typo
452 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
453 * paragraph.[Ch] (isMultiLingual): make const
454 * cursor.[Ch] (openable): make const
456 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
458 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
460 2004-02-20 André Pönitz <poenitz@gmx.net>
462 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
464 * cursor.[Ch]: prepare for localized getStatus()
470 * text3.C: streamlines the LyXText cursor movement handlers a bit.
472 2004-02-20 André Pönitz <poenitz@gmx.net>
474 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
476 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
478 * text2.C (setCursorFromCoordinates): switch to absolute coords
481 * text3.C (dispatch): adjust
483 2004-02-16 André Pönitz <poenitz@gmx.net>
485 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
488 * cursor_slice.[Ch]: remove unneeded acessor function
490 * lyxtext.h: rename rtl() to isRTL()
498 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
500 * rowpainter.C (paintSelection): coord fix
502 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
504 * Spacing.C: compile fix
506 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
508 * cursor.C (dispatch): restore current_ before returning
510 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
512 * text2.C (cursorUp, cursorDown): fix coords
515 2004-02-12 André Pönitz <poenitz@gmx.net>
520 * text3.C: add LCursor & parameter to most cursor movement functions
521 remove usage of LyXText::cursorRow() and cursorPar()
523 * cursor.[Ch]: add textRow() needed members
526 * BufferView_pimpl.C:
529 * BufferView_pimpl.C: adjust
531 2004-02-11 André Pönitz <poenitz@gmx.net>
535 * BufferView_pimpl.C: shift undo/redo handling
537 * cursor.[Ch]: fix mathed crash
540 * lyxtext.h: move selectionAsText to LCursor
548 * rowpainter.C: fix excessive drawing
550 2004-02-06 André Pönitz <poenitz@gmx.net>
553 * BufferView_pimpl.[Ch]:
554 * text3.C: move some text specific LFUN handling
556 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
558 * text3.C (checkInsetHit): adjust coords
559 * text2.C (getColumnNearX): adjust coords
560 (edit): adjust coords
561 * text.C (getRowNearY): add two asserts
563 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
566 * format.C: add using std::distance to compile on gcc 2.95/stlport
568 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
570 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
572 2004-02-04 André Pönitz <poenitz@gmx.net>
574 * BufferView.[Ch] (insertInset):
575 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
580 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
582 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
583 on the default clause of the switch
584 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
585 wasn't catched by LCursor::dispatch
587 2004-02-03 André Pönitz <poenitz@gmx.net>
590 * cursor.[Ch]: some additional asserts
592 * undo.[Ch]: remove LyXText dependency in interface
596 * lyxtext.h (firstPar, lastPar): remove dead functions
601 * paragraph.[Ch]: adjust
603 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
605 * lyxfind.C (find): fix argument order in call to ::find
607 2004-02-02 André Pönitz <poenitz@gmx.net>
609 * cursor.[Ch]: remove direct access to anchor
611 * text.C: remove findText() hack
613 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
615 * iterators.[Ch] (lockPath): remove in favour of...
616 * BufferView.[Ch] (setCursor): this addition
617 * BufferView.C (putSelectionAt): adjust
618 * undo.C (performUndoOrRedo): adjust
619 * lyxfunc.C (dispatch): adjust
621 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
623 * iterators.C (lockPath): add a missing slice
624 * undo.C (performUndoOrRedo): remove redundant positioning code
626 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
628 * vc-backend.C (scanMaster): ";" -> ';'
630 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
632 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
635 * lyxtextclass.C (compare_name): rename to...
636 (LayoutNamesEqual): ...this
638 * lyxlex_pimpl.C (compare_tags): inherit from
639 std::binary_function, put back into anon namespace
641 * lyxfind.C (MatchString): inherig from std::binary_function
642 (findChange): use empty() istead of !size()
644 * format.C (FormatNamesEqual): new functor
651 * converter.C (compare_Converter): rename to...
652 (ConverterEqual): ...this, and fixup a bit.
653 (getConverter): use it, and make function const
654 (getNumber): use it, and make function const
658 * bufferlist.C: add using boost::bind
660 * MenuBackend.C (MenuNamesEqual): new functor
661 (hasMenu): use it, and make function const
662 (hasSubmenu): use nested bind to get rid of compare_memfun.
664 2004-01-30 André Pönitz <poenitz@gmx.net>
666 * BufferView_pimpl.C:
677 * text3.C: move some of the edit(x,y) handling to the insets
678 some coordinate changes.
680 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
682 * text.C: add using statements for std::advance and std::distance
684 * paragraph.C: add using statement for std::distance
686 * lyxfind.C: add using statement for std::advance
688 * cursor.C (region): remove std:: from swap
689 (openable): use nucleus in stead of operator->
691 * BufferView.C: add using statements for std::distance and std::swap
693 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
695 * iterators.C: Remove the pimple, move the needed structures to
696 the header file. Create accessor for the positions stack.
697 (asPosIterator): remove function
699 * PosIterator.C (PosIterator): move constructors to top of file
700 (PosIterator): reimplement the constructor taking a ParIterator in
702 (setFrom): new function
703 (operator!=): inline it
705 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
707 * lyxfind.C (replaceAll): use std::advance
709 * iterators.h: inherit from std::iterator.
711 * PosIterator.C (advance, distance): remove
712 * PosIterator.h: interit from std::iterator.
714 2004-01-26 André Pönitz <poenitz@gmx.net>
717 * BufferView_pimpl.[Ch]:
721 * bufferview_funcs.C:
732 * output_plaintext.C:
734 * paragraph_funcs.[Ch]:
735 * paragraph_pimpl.[Ch]:
741 * text3.C: more IU: dumps most of the rest of the mathcursor
742 implementation into cursor.[Ch]; "globalize" a bit of it.
744 2004-01-25 Angus Leeming <leeming@lyx.org>
746 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
748 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
750 * LaTeXFeatures.h: add nice_ and nice() const
751 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
753 2004-01-20 André Pönitz <poenitz@gmx.net>
756 * BufferView_pimpl.C:
758 * bufferview_funcs.C:
771 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
772 LCursor and mathcursor parts to LCursor and InsetBase.
774 2004-01-15 André Pönitz <poenitz@gmx.net>
776 * cursor_slice.[Ch]: add a few covienience functions
778 * funcrequest.[Ch]: remove BufferView * member
780 * BufferView_pimpl.C:
787 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
789 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
791 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
792 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
794 2004-01-13 André Pönitz <poenitz@gmx.net>
797 * lyxtext.h: hide cursor and selection anchor behind accessor function
800 * BufferView_pimpl.[Ch]:
802 * bufferview_funcs.C:
812 * cursor_slice.[Ch]: some integer type changes for inset unification
814 * lyxcursor.[hC]: remove, it's CursorSlice now.
817 * BufferView_pimpl.[Ch]:
818 * bufferview_funcs.C:
824 * textcursor.[Ch]: adjust
826 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
828 * text2.C (undoSpan): add and use
829 * text.C (breakParagraph): use undoSpan (fix bug 578)
832 2004-01-08 Angus Leeming <leeming@lyx.org>
834 * BufferView_pimpl.C (MenuInsertLyXFile):
835 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
836 * lyxfunc.C (menuNew, open, doImport):
837 FileFilterList change to the FileDialog open and save functions.
839 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
841 * ShareContainer.h: make isEqual and isUnique adaptable
843 * CutAndPaste.C: make resetOwnerAndChanges adaptable
845 2004-01-07 Angus Leeming <leeming@lyx.org>
848 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
850 * BufferView_pimpl.C (dispatch): act on these LFUNs.
852 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
853 functions replacing find, replace and replaceAll.
855 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
856 LFUN_WORDFIND(FORWARD|BACKWARD).
858 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
860 * text.C (breakParagraph): remove an outdated #warning
862 2004-01-07 André Pönitz <poenitz@gmx.net>
864 * lyxfind.C: somewhat clearer logic
866 * text.C: prevent crash in cursorX on unitialized row cache
868 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
870 * lyxcursor.[Ch] (operator>): add
871 * textcursor.C (selStart, selEnd): use std::min and std::max
873 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
875 * Chktex.C: include boost/format.hpp
877 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
879 * InsetList.C: replace functor MathcIt with adaptable functor
881 (insetIterator): modify accordingly
883 * BranchList.h: move the BranchNamesEqual functor here from...
884 * BranchList.C: ... to here
886 * BranchList.C: new BranchListEqual fuctor, use it. Remove
888 (add): replace a finding loop with std::find_if.
890 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
892 * output_docbook.C: moving LatexParam functionality into
895 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
897 * buffer.C: increment format to 229.
899 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
902 * lyx_sty.[Ch]: remove minipageindent_def
908 * text3.C: remove LFUN_INSET_MINIPAGE
910 2003-12-28 Angus Leeming <leeming@lyx.org>
912 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
914 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
916 * text2.C (setParagraph): fix off-by-one crash
918 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
920 * output_docbook.C: header stuff for AGU
922 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
924 * text2.C (redoCursor): remove
927 * BufferView_pimpl.C: remove calls to redoCursor and
928 setCursor(cursor.par(), cursor.pos()) all around
930 2003-12-15 Angus Leeming <leeming@lyx.org>
932 * buffer.C: up the format to 228.
934 2003-12-15 André Pönitz <poenitz@gmx.net>
936 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
941 * BufferView_pimpl.C:
950 2003-12-15 Angus Leeming <leeming@lyx.org>
952 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
953 than getFromGUIName to manipulate the color.
955 2003-12-14 Angus Leeming <leeming@lyx.org>
957 * BranchList.[Ch]: minimize the API.
958 (Branch::getBranch, getColor): now return a 'const &'.
959 (Branch::setSelected) now returns a bool set to true if the
960 selection status changes.
961 (BranchList::clear, size, getColor, setColor, setSelected,
962 allBranches, allSelected, separator): removed.
963 (BranchList::find): new functions, returning the Branch with
965 (BranchList::add, remove): return a bool indicating that
966 the operation was successful.
968 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
969 new InsetBranch::isBranchSlected member function.
971 * LColor.[Ch]: mimimize the API.
972 (fill): renamed as addColor and made private.
973 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
974 versions of these functions taking a string arg have been removed.
976 * bufferparams.C (readToken):
977 * lyxfunc.C (dispatch):
978 * lyxrc.C (read): changes due to the altered BranchList and
981 * factory.C (createInset, readInset): changes due to altered
984 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
987 * lyxfunc.C: remove insetminipage. "minipage-insert"
988 now produces a frameless minipage box inset.
990 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
992 * textcursor.[Ch] (selStart,selEnd): add new methods
993 remove selection::start, end, use LyXCursor::operator<
994 * lyxcursor.[Ch] (operator<): add
995 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
996 * BufferView.[Ch] (unsetXSel): add
997 * text2.C (clearSelection): use unsetXSel,adjust
1000 * rowpainter.C: adjust
1001 * bufferview_funcs.C (put_selection_at): adjust
1003 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1005 * BufferView_pimpl.C: small coord. correction
1007 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1009 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1010 dragging over the splash screen.
1012 2003-12-11 Angus Leeming <leeming@lyx.org>
1014 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1015 as it is now handled in LyXText::dispatch.
1017 * text3.C (doInsertInset): remove a level of nesting.
1019 2003-12-11 Angus Leeming <leeming@lyx.org>
1021 * factory.C (createInset): changes due to the changed interface to
1022 InsetCommandMailer::string2params.
1024 2003-12-10 Angus Leeming <leeming@lyx.org>
1026 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1027 'dialog-show-new-inset <inset name>'
1029 2003-12-10 Angus Leeming <leeming@lyx.org>
1031 * buffer.C: up the format to 227.
1033 * factory.C: the box inset is now identified simply by 'Box'.
1035 2003-12-10 Angus Leeming <leeming@lyx.org>
1037 * buffer.C: up the format to 226.
1039 * factory.C: the note inset is now identified simply by 'Note'.
1041 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1043 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1044 when a pit is enough. Standarize a couple of loops.
1046 2003-12-05 Angus Leeming <leeming@lyx.org>
1048 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1049 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1050 data to the re-worked "log" dialog.
1052 2003-12-03 André Pönitz <poenitz@gmx.net>
1058 * paragraph_funcs.C:
1060 * text2.C: use Inset::getText instead of Inset::getParagraph
1062 2003-12-03 André Pönitz <poenitz@gmx.net>
1066 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1067 InsetText::read() as LyXText::read()
1069 2003-12-02 Angus Leeming <leeming@lyx.org>
1071 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1072 type. Add a comment in the implementation that the function uses
1073 the stream's bad() function rather than fail() as the std::streams
1076 2003-12-02 André Pönitz <poenitz@gmx.net>
1078 * lyxlex.[Ch]: make interface more similar to std::stream
1080 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1082 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1084 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1086 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1088 * vspace.[Ch]: remove VSpace::NONE
1090 2003-12-01 André Pönitz <poenitz@gmx.net>
1093 * lyxtext.h: move ParagraphList member to LyXText
1094 rename LyXText::ownerParagraphs to LyXText::paragraph
1097 * bufferview_funcs.C:
1107 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1109 * undo.C: fix cursor positioning
1111 2003-12-01 John Levon <levon@movementarian.org>
1113 * BufferView_pimpl.C: fix a crash on exit with
1116 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1118 * BranchList.C: fix setSelected() method.
1120 2003-11-28 André Pönitz <poenitz@gmx.net>
1122 * ParagraphParameters.[Ch]:
1123 * ParameterStruct.h: remove space above/below from Paragraph to
1126 * BufferView_pimpl.C:
1132 * paragraph_funcs.C:
1138 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1140 * factory.C: Syntax change for CharStyles
1142 2003-11-28 André Pönitz <poenitz@gmx.net>
1147 * buffer.[Ch]: move LyXText member
1149 2003-11-28 André Pönitz <poenitz@gmx.net>
1151 * BufferView.[Ch]: make LyXText * text a private member
1153 * BufferView_pimpl.C:
1164 * output_plaintext.C: cleanup
1166 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1169 * lyxtextclass.[Ch]: parametrize SGML document header
1171 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1174 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1177 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1179 * text2.C (setFont): rework using PosIterator (no more recursive)
1180 (setCharFont): no more needed
1181 (setLayout): no more selection cursors fiddling (done by redoCursor)
1182 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1183 destroy remaining ones)
1185 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1187 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1189 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1192 * text3.C: adjust + re-allow multi par depth changes
1193 * textcursor.C: simplify a bit
1195 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1201 * src/output_docbook.C:
1202 * src/output_latex.C:
1207 * src/text2.C: Introducing a number of tags parametrizing various
1208 XML formats that we may want to support
1210 2003-11-25 André Pönitz <poenitz@gmx.net>
1212 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1214 * lyxtext.h (leftMargin/rightMargin): simplify interface
1221 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1223 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1224 master file to any child files. Fixes bug 546.
1226 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1228 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1230 2003-11-24 André Pönitz <poenitz@gmx.net>
1232 * rowpainter.C: simplification
1234 * text2.C (updateCounters): remove call to redoParagraph on
1235 changed labels as this is far too expensive.
1237 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1239 * converter.C (convert): fix a crash: this function gets
1240 called with buffer == 0 from importer code.
1242 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1244 * text3.C (cursorPrevious): make sure that we do not compare
1245 iterators form different containers.
1248 * rowpainter.C (paintSelection): make sure that we do not compare
1249 iterators from different containers.
1251 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1252 iterators from different ParagraphList containers.
1255 * text2.C (LyXText): change order of initialization slightly
1256 (operator=): new function. copy all variables except cache_par_
1257 (moveUp): make sure that we do not compare iterators from
1258 different ParagraphList constainers.
1261 * text.C (firstPar): new function
1262 (lastPar): new function
1263 (endPar): new function
1265 * lyxtext.h: move things around and group public functions, public
1266 variables, private functions, private variables
1268 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1270 * factory.C: change call to InsetERT constructor to avoid
1271 additional invocation of method status
1272 * text2.C (toggleInset): remove redundant update() call
1273 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1274 instead of a Bufferview pointer
1276 2003-11-21 André Pönitz <poenitz@gmx.net>
1278 * rowpainter.C: simplification
1280 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1282 * text3.C (dispatch): make possible to extend a word/row selection
1285 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1287 * lyxtext.h: x0_,y0_ -> xo_,yo_
1288 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1289 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1290 * rowpainter.C (paintRows): paint full paragraphs
1292 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1294 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1297 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1299 * lyxtext.h: add x0_, y0_
1300 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1301 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1303 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1305 * text2.C (setCursorIntern): move the x_target update here *
1306 * text3.C: change some bv() to true/false in calls to
1307 cursorUp/Down/Right/Left
1308 * cursor.C: use helper function.
1310 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1312 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1313 * paragraph_funcs.[Ch]: correct comment
1314 * rowpainter.C: do not paint selections away from bv->cursor()
1315 Fix a long standing selection painting bug.
1316 * text3.C: generalize mouse-selection code to LyXTexts other that
1318 * textcursor.C: do not use y coords if we can use par offsets
1320 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1322 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1323 cursor position after e.g. inset insert)
1325 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1327 * lyxfind.C (replace): adjust to locking removal + some
1330 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1332 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1335 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1338 * output_docbook.C: XML sanitation: new layout
1339 parameters InnerTag and CommandDepth
1341 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1343 * BufferView_pimpl.C:
1345 * text3.C: Fix the insertion and modification of button-style
1348 2003-11-13 André Pönitz <poenitz@gmx.net>
1350 * InsetList.[Ch]: remove deleteLyXText
1352 * paragraph.[Ch]: cache beginOfBody position
1357 * text3.C: remove superfluous update() calls
1361 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1363 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1364 * BufferView.C (fitLockedInsetCursor): remove
1365 * cursor.[Ch] (getDim): add
1366 * text.C (getRowNearY): add faster version
1367 * text3.C: remove some update calls
1369 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1381 * text3.C: The Character Style /XML short element patch.
1383 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1386 * factory.C: Small step to solving 'unable to insert some insets'
1389 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1391 * cursor.[Ch] (updatePos): new function for updating the y
1392 position of the tip inset
1393 * bufferview_funcs.C (put_selection_at):
1394 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1396 2003-11-11 André Pönitz <poenitz@gmx.net>
1398 * text.C: remove big comment on invalid Paragraph pointers as it is
1401 2003-11-11 André Pönitz <poenitz@gmx.net>
1403 * text_funcs.[Ch]: merge with ...
1411 * Makefile.am: remove text_funcs.[Ch]
1413 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1415 * cursor.C (getPos): return absolute cached y coord
1417 * BufferView_pimpl.C (fitCursor): new simplistic code
1418 (workAreaDispatch): add a fitCursor call
1420 2003-11-10 André Pönitz <poenitz@gmx.net>
1423 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1425 2003-11-10 André Pönitz <poenitz@gmx.net>
1427 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1428 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1429 indicate that the cursor needs to leave an inset
1431 * lyxtext.h: remove inset locking
1433 * cursor.[Ch]: re-implement functionality provided by inset locking
1436 * BufferView_pimpl.[Ch]:
1438 * bufferview_funcs.[Ch]:
1450 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1452 * PosIterator.[Ch]: replace the stack with a vector, add inset
1454 * iterators.[C]: adjust
1456 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1458 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1460 * paragraph_funcs.C (readParToken): put the correct id in the
1461 error item, not the id of the top paragraph
1463 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1465 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1466 * bufferview_funcs.C (put_selection_at): use the above
1468 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1470 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1472 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1474 * output_linuxdoc.h:
1475 * output_plaintext.h:
1477 * output_docbook.h: add #include statements
1479 2003-11-05 José Matos <jamatos@lyx.org>
1481 * output_docbook.[Ch]:
1482 * output_latex.[Ch]:
1483 * output_linuxdoc.[Ch]:
1484 * output_plaintext.[Ch]: New files for output formats.
1485 * output.[Ch]: New file for helper functions.
1488 * paragraph_funcs.[Ch]: output functions moved to new files.
1490 * outputparams.h: rename of latexrunparams.h
1498 * paragraph_funcs.[Ch]:
1499 * paragraph_pimpl.[Ch]:
1500 * tabular.[Ch]: rename ascii to plaintext
1501 and LatexRunParams to OutputParams.
1503 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1505 * iterators.[Ch] (text): require bv argument
1506 * undo.C (recordUndo):
1507 * lyxfunc.C (dispatch):
1508 * bufferview_funcs.C (put_selection_at): adjust
1510 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1512 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1514 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1516 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1519 2003-11-04 André Pönitz <poenitz@gmx.net>
1521 * cursor.[Ch]: restructure
1524 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1526 * iterators.[Ch] (asCursor): remove
1528 * lfuns.h: remove LFUN_INSET_EDIT
1534 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1536 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1538 * lyxfind.[Ch]: complete overhaul
1539 * BufferView_pimpl.C:
1541 * paragraph.[Ch] (insert): add
1543 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1547 * text.C: remove dead spellcheck code
1549 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * dispatchresult.h: add a val setter
1553 * cursor.C (dispatch): use a tempvar for data_[i]
1555 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1557 * PosIterator.[Ch]: compile fix
1559 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1561 * text.C (cursorPar): deactivate the cursor cache
1563 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1565 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1567 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1569 * text3.C (dispatch): adjust for new DisptchResult semantics.
1571 * lyxfunc.C (dispatch): handle update when return from
1572 Cursor::dispatch, adjust for new DispatchResult semantics.
1574 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1575 DispatchResult(true) mean to not update. Add class functions for
1576 setting dispatched and update, as well as reading.
1578 * cursor.C (dispatch): don't handle update here
1580 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1583 * trans_mgr.C: adjust
1585 * paragraph_funcs.C (readParToken): exception safety
1587 * lyxvc.h: store the vcs pointer in a scoped_ptr
1590 * lyxsocket.C (serverCallback): exception safety
1592 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1594 * ispell.C (clone): make it return a auto_ptr
1596 * factory.C (createInset): exception safety
1597 (readInset): exception safety
1599 * bufferlist.C (newBuffer): exception safety
1601 * Thesaurus.C (Thesaurus): use initialization for aik_
1603 * MenuBackend.C (expandToc): exception safety.
1605 2003-11-03 André Pönitz <poenitz@gmx.net>
1609 * bufferview_funcs.C: remove getInsetFromId()
1612 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1618 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1620 * PosIterator.C (distance, advance): new
1621 * bufferview_funcs.[Ch] (put_selection_at): new
1622 * iterators.[Ch] (lockPath): new
1624 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1626 * iterators.[Ch] (asPosIterator): added
1627 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1628 * PosIterator.[Ch]: added
1630 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * cursor.C (dispatch):
1635 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1637 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1638 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1639 contructor, add a class function dispatched. Remove operator>=
1641 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1643 * debug.C: only use the default constructor for debugstream
1646 * main.C (main): include debug.h and setup the lyxerr streambuf
1649 2003-10-31 José Matos <jamatos@lyx.org>
1651 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1653 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1654 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1655 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1656 * paragraph_pimpl.C (simpleTeXSpecialC):
1657 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1658 add LatexRunParams argument.
1660 * exporter.C (Export): change call accordingly.
1662 * latexrunparams.h: add new member to take care of the other backends.
1663 2003-10-30 José Matos <jamatos@lyx.org>
1665 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1666 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1667 factorise code for paragraph output.
1669 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1672 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * text3.C (dispatch):
1675 * lyxfunc.C (dispatch):
1676 * cursor.C (dispatch):
1677 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1679 * dispatchresult.h: make the dispatch_result_t ctor explicit
1681 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1684 * buffer.C: small refactoring of docbook stuff
1686 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1688 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1691 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1693 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1694 operator dispatch_result_t, and operators for == != and >=
1696 * cursor.C (dispatch): adjust for operator dispatch_result_t
1697 removal. comment out call to update
1699 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1701 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1709 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1712 * dispatchresult.h: new file, DispatchResult broken out of
1715 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1717 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1719 * text.C (rowBreakPoint): put a hack inside #if 0
1721 2003-10-28 André Pönitz <poenitz@gmx.net>
1725 * paragraph_funcs.C:
1728 * text2.C: general cleanup (lots of small stuff)
1730 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1732 * text2.C (cursorEnd): simple fix to the "end key goes to one
1733 before the end on last row" bug
1735 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1737 * text.C (backspace): fix the "zombie characters"
1739 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1741 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1743 2003-10-27 André Pönitz <poenitz@gmx.net>
1745 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1747 * factory.C: handle new InsetPagebreak, InsetLine
1749 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1750 and move handling into new InsetPagebreak, InsetLine
1752 * BufferView_pimpl.C:
1754 * ParagraphParameters.C:
1755 * ParameterStruct.h:
1760 * paragraph_funcs.C:
1761 * paragraph_pimpl.C:
1767 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1770 * lyxrow_funcs.[Ch]:
1776 * text3.C: remove lastPos uses in favour of Row::endpos
1778 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1780 * undo.C (performUndoOrRedo): fix two crashes by setting a
1781 cursor by hand and reordering some calls. Use bv->lockInset instead
1782 of inset->edit because the latter loses cursor information
1784 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1786 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1788 (rowBreakPoint): fix width. change point to point + 1.
1789 Add a missing check.
1791 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1794 * lyxfunc.C: fix (at least partly) the problems
1795 with the Nav menu and headers inside branch insets
1798 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1800 * paragraph.C (getChar): add strong asserts
1802 * lyxrow_funcs.C (lastPos): remove hideous hack
1804 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1805 (fill): adjust to that (avoid an infinite loop)
1807 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1809 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1811 2003-10-23 André Pönitz <poenitz@gmx.net>
1813 * RowList_fwd.h: change list<> to vector<> to gain speed
1814 after suggestion from Alfredo
1816 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1818 * lyxtext.h: move the bidi stuff from here...
1821 * Bidi.[Ch]: ... to here
1823 2003-10-23 André Pönitz <poenitz@gmx.net>
1826 * text.C (isLastRow, isFirstRow): new functions
1828 * paragraph.h: new width cache member
1830 * rowpainter.C: replace RowList::iterator with Row & where possible
1832 * lyxfunc.C: replace several view()->text with a single call
1834 * toc.C: fix 'unused' warning
1836 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1839 when woring with stream::pos_type
1840 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1842 2003-10-22 André Pönitz <poenitz@gmx.net>
1845 * text.C: use Row & instead of RowList::iterator
1847 * lyxrow.h: rename end() to endpos()
1853 2003-10-22 Angus Leeming <leeming@lyx.org>
1855 * buffer.[Ch] (fully_loaded): new member function, returning true
1856 only when the file has been loaded fully.
1857 Used to prevent the premature generation of previews and by the
1858 citation inset to prevent computation of the natbib-style label.
1860 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1861 templates are all set up.
1863 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1865 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1867 * text.C: fixed an "oops" in the "is a bit silly"
1870 2003-10-21 André Pönitz <poenitz@gmx.net>
1872 * FuncStatus.[Ch]: small stuff, whitespace
1874 * lyxfont.[Ch]: operator<<() for debug reasons
1878 * lyxtext.h: whitespace, spelling
1880 * paragraph.C: naming of variables
1883 * text2.C: small stuff
1886 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1888 * text.C: (1) finish off the inset display() work;
1889 (2) fix the "is a bit silly" bug (accessing char
1892 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1894 * text.C: re-introduce display() for insets, fixing the
1895 various bugs (stretch of line above, math inset
1898 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1900 * text.C (rightMargin): remove spurious semicolon
1902 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1905 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1907 * text3.C: fix one crash due to wrong cursor def
1909 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1911 * vc-backend.C (scanMaster): make the regex static
1913 * LaTeX.C (scanAuxFile): make the regexs static
1915 * text3.C (doInsertInset, dispatch, dispatch):
1916 * text2.C (cursorUp, cursorDown):
1917 * text.C (selectNextWordToSpellcheck):
1918 * BufferView_pimpl.C (dispatch):
1919 * lyxfunc.C (dispatch): localDispatch -> dispatch
1921 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1923 * lyxsocket.C: include <cerrno>
1925 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1927 * lyxfunc.C (dispatch): remove textcache stuff
1929 * bufferlist.C (release): remove textcache stuff
1932 * TextCache.C: delete file
1933 * TextCache.h: delete file
1935 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1937 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1938 delete of the bv_->text.
1939 (resizeCurrentBuffer): remove texcache stuff
1940 (workAreaResize): ditto
1942 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1944 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1947 2003-10-16 André Pönitz <poenitz@gmx.net>
1954 * text3.C: speed up by storing y positions per paragraph plus per-row
1955 offset instead of having a 'full' y position in the row.
1957 2003-10-15 André Pönitz <poenitz@gmx.net>
1961 * undo.[Ch]: make undo aware of inner insets
1963 2003-10-14 Angus Leeming <leeming@lyx.org>
1965 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1966 static member functions LyX::ref() and LyX::cref.
1967 (lastfiles): new accessor functions for the new lastfiles_ member var.
1968 (addLyXView, views_): add a new LyXView to the list of views_.
1969 (updateInset): loop over all LyXViews to call their own updateInset
1970 member function, returning a pointer to the Buffer owning the inset.
1972 * BufferView_pimpl.C (loadLyXFile):
1973 * MenuBackend.C (expandLastfiles):
1974 * bufferlist.C (MenuWrite, QuitLyX):
1975 lastfiles is no longer a global variable.
1976 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1978 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1979 static function. Access through LyX::cref().emergencyCleanup().
1981 2003-10-14 André Pönitz <poenitz@gmx.net>
1983 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1985 * undo.[Ch]: restoring part of 'undo in insets'
1988 * undo_funcs.[Ch]: merge with undo.[Ch]
1990 * tabular.C: small cleansing stuff
1992 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1994 * paragraph_funcs.C (readParToken): report unknown insets as error
1995 boxes. Use the outer paragraph as location (also for unknown
1998 * factory.C (readInset): do not abort on reading an unknown inset.
1999 Eat it and return 0.
2001 2003-10-13 Angus Leeming <leeming@lyx.org>
2003 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2005 * lyxrc.C: displayTranslator is now a function,
2006 declared in GraphicsTypes.h.
2008 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2010 * format.C: new placeholder $$a to pass the socket address.
2012 * bufferlist.[Ch]: new function getBufferFromTmp.
2014 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2015 files in the temporary dir.
2017 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2019 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2021 * Makefile.am: add lyxsocket.[Ch].
2023 * lyx_main.C (error_handler): handle SIGPIPE.
2025 2003-10-13 André Pönitz <poenitz@gmx.net>
2027 * BufferView_pimpl.C:
2032 * undo_funcs.[Ch]: use paroffset_type instead of
2033 ParagraphList::iterators to prevent multiple conversion
2034 (and get a more robust interface)
2036 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2040 * text3.C (dispatch): ditto
2042 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2045 move the onlyfile, use onlyfile instead of foundfile in a couple
2048 * DepTable.C (update): flush the error stream a bit more
2050 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * lyxserver.C (callback): adjust
2054 * lyxfunc.C (getStatus): add a missing brace in commented code
2055 (ensureBufferClean): reindent
2056 (dispatch): delete version taking a string
2058 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2060 * LaTeX.C (deplog): move found file handlig from here...
2061 (handleFoundFile): .. to new function here.
2062 (deplog): make sure to discover several files mentioned on the
2065 2003-10-10 André Pönitz <poenitz@gmx.net>
2072 * text3.C: fix some of the tabular crashes
2074 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2076 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2078 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2080 2003-10-09 André Pönitz <poenitz@gmx.net>
2082 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2085 * BufferView_pimpl.C:
2086 * bufferview_funcs.C:
2097 * undo_funcs.C: adjust
2099 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * text2.C (incrementItemDepth): new function, use a backtracking
2102 algorithm to discover the correct item depth.
2103 (resetEnumCounterIfNeeded): new function, use a backtracking
2104 algorithm to discover if counter reset is needed.
2105 (setCounter): use them. Simplify a bit. Add different labels for
2106 different item depths for itemize.
2108 * paragraph.C (Paragraph): remove initialization of enumdepth
2111 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2112 enumerate and itemize. Change the type of itemdepth to signed char.
2114 2003-10-08 André Pönitz <poenitz@gmx.net>
2116 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2121 * tabular.[Ch]: fix crash after 'row-insert'
2123 2003-10-08 Angus Leeming <leeming@lyx.org>
2125 Fix doxygen warnings.
2127 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2128 Remove CutAndPaste:: prefix from header file declaration.
2130 * LColor.h (fill): remove LColor:: prefix from declaration.
2132 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2133 use lyx::depth_type rather than Paragraph::depth_type so that
2134 header file and .C file match.
2136 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2138 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2139 * aspell.C: \file aspell_local.C -> \file aspell.C
2140 * gettext.C: \file gettext.C -> \file src/gettext.C
2141 * gettext.h: \file gettext.h -> \file src/gettext.h
2142 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2143 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2144 * text.C: \file text.C -> \file src/text.C
2146 * toc.C: move comment so that doxygen is not confused.
2148 2003-10-07 Angus Leeming <leeming@lyx.org>
2150 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2152 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2155 * aspell_local.h: add forgotten std::string's.
2157 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2164 * text3.C: The Box patch. Fancybox support, minipage, parbox
2166 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2172 * ParagraphParameters.h:
2182 * lyxtextclasslist.h:
2185 * paragraph_pimpl.C:
2186 * textcursor.h: add <string> and other small fixes to make Lars'
2187 std::string patch compile with STLport.
2189 2003-10-06 Angus Leeming <leeming@lyx.org>
2191 * LColor.h: Add missing #include <string>.
2193 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2195 * All most all file in all subdirs: Make <string> be the prefered
2196 way of getting to std::string, add using declarations.
2198 2003-10-06 André Pönitz <poenitz@gmx.net>
2200 * metricsinfo.C: initialize LyXFont before changing attribute.
2201 (fixes the 'math in \emph is upright' bug)
2203 2003-10-06 André Pönitz <poenitz@gmx.net>
2205 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2207 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2210 * paragraph_pimpl.C: Small fixes to build using STLport
2212 2003-10-02 André Pönitz <poenitz@gmx.net>
2215 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2217 2003-10-01 André Pönitz <poenitz@gmx.net>
2219 * factory.C: assert early
2221 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * lyx_main.C: remove the global debug object
2225 * debug.h: adjust for new debugstream
2227 * debug.C: adjust for new debugstream and keep the global debug
2230 2003-09-22 Angus Leeming <leeming@lyx.org>
2232 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2233 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2234 an incomplete class LyXFont.
2236 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2238 * factory.C: bug fix in branches
2240 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2242 * lyxfunc.C (processKeySym): adjust
2244 (dispatch): change arg name from ev to func, adjust
2245 (sendDispatchMessage): ditto
2247 * lyx_main.C (defaultKeyBindings): adjust keybindings
2248 (deadKeyBindings): ditto
2250 * kbsequence.C (addkey): return a FuncRequest
2252 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2254 * kbmap.C (bind): take a FuncRequest as arg, adjust
2257 (defkey): change to take a FuncRequest as arg, adjust
2258 (findbinding): take a FuncRequest as arg, adjust.
2260 * funcrequest.h (operator=): added
2262 * funcrequest.C (FuncRequest): default kb_action changed from
2263 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2265 * buffer.C (dispatch): simplify
2266 (dispatch): adjust to take a FuncRequest as arg, adjust
2268 * boost.C (assertion_failed): change assertion message slightly
2270 * ToolbarBackend.C (read): simplify
2272 * MenuBackend.C (binding): adjust call to findbinding, add a
2273 message if no binding is found.
2275 (expandToc): correct by adding a empty FuncRequest
2277 * LyXAction.C: include <boost/assert.hpp>
2278 (isPseudoAction): delete function
2279 (LookupFunc): change name to...
2280 (lookupFunc): this. change return type to FuncRequest.
2281 (getActionName): take kb_action as arg, simplify
2282 (funcHasFlag): add an assert, simplify.
2284 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2286 * toc.C (action): return a FuncRequest, simplify
2288 * lyxfunc.C (processKeySym): adjust
2289 (getStatus): delete version that takes an int.
2291 (dispatch): delete version that takes action as int
2293 (sendDispatchMessage): simplify and adjust
2295 * funcrequest.C (getArg): take unsigned int as arg
2297 * ToolbarBackend.C (read): adjust
2298 (add): delete version that takes func as a string.
2299 (getIton): take a FuncRequest as arg
2301 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2304 * MenuBackend.C (MenuItem): add a new construct that only takes a
2305 Kind, simplify the constructor use for submenus.
2307 (expandLastfiles): adjust
2308 (expandDocuments): adjust
2309 (expandFormats): adjust
2310 (expandFloatListInsert): adjust
2311 (expandFloatInsert): adjust
2312 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2314 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2315 Remove class variables lyx_pseudo_map and lyx_arg_map
2317 * LyXAction.C (searchActionArg): delete function
2318 (getPseudoAction): delete function
2319 (retrieveActionArg): delete function
2320 (LookupFunc): make it return kb_action, simplify.
2321 (getActionName): simplify
2323 * factory.C (createInset): fix new bug
2325 2003-09-19 Angus Leeming <leeming@lyx.org>
2327 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2328 masterFilename_ parameter in the include inset.
2330 * factory.C (createInset): changes due to the changes to InsetInclude.
2332 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2334 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2336 2003-09-18 Angus Leeming <leeming@lyx.org>
2339 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2340 Inset::fillWithBibKeys.
2341 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2343 2003-09-18 Angus Leeming <leeming@lyx.org>
2345 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2347 (ctor): pass and store a 'Buffer const &'
2348 (buffer): new member function.
2350 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2351 '*this' to the LaTeXFeatures ctor.
2353 2003-09-18 Angus Leeming <leeming@lyx.org>
2359 * text.C: rename EnumLColor as LColor_color.
2361 2003-09-18 Angus Leeming <leeming@lyx.org>
2363 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2364 remove #include "insets/insetbase.h" from cursor.h.
2366 2003-09-18 Angus Leeming <leeming@lyx.org>
2368 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2369 InsetOld_code to remove #include "inset.h".
2371 * iterators.C: add #include "insets/inset.h"
2373 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2375 * BufferView.C: remove more locking stuff that apparently doesn't
2376 do anything sensible.
2378 2003-09-16 André Pönitz <poenitz@gmx.net>
2381 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2384 2003-09-16 Angus Leeming <leeming@lyx.org>
2386 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2388 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2391 * paragraph.h: remove #include "lyxfont.h". Forward declare
2394 2003-09-16 Angus Leeming <leeming@lyx.org>
2396 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2397 of support/textutils.h.
2398 (isWord): move the contents of support/textutils.h's IsWordChar here.
2404 * text2.C: add #include "paragraph.h".
2407 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2409 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2415 * LaTeX.C: use namespace alias for lyx::support::os
2417 2003-09-16 Angus Leeming <leeming@lyx.org>
2420 * bufferview_funcs.C:
2423 * paragraph_pimpl.C:
2425 * text.C: add #include "LColor.h".
2427 2003-09-16 Angus Leeming <leeming@lyx.org>
2429 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2430 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2432 Store the FontBits::color variable as an int rather than as an
2433 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2436 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2437 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2438 string calls together.
2440 * lyxrc.C: add #include "LColor.h".
2442 2003-09-15 Angus Leeming <leeming@lyx.org>
2444 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2447 2003-09-15 Angus Leeming <leeming@lyx.org>
2449 * LColor.h: add an EnumLColor wrapper for LColor::color.
2451 * lyxfont.[Ch] (color, setColor, realColor):
2452 * lyxtext.h, text.C (backgroundColor):
2453 pass EnumLColor args to/from the functions, rather than LColor::color
2457 * lyxtext.h: forward declare EnumLColor.
2459 * lyx_main.C: add #include "LColor.h".
2461 2003-09-15 Angus Leeming <leeming@lyx.org>
2463 * .cvsignore: add lyx-gtk.
2465 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2470 * ParagraphParameters.C
2474 * bufferview_funcs.C
2484 * vc-backend.C: remove usage of STRCONV
2486 2003-09-15 Angus Leeming <leeming@lyx.org>
2488 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2489 explicitly define the color passed to the painter.
2491 2003-09-15 Angus Leeming <leeming@lyx.org>
2493 * bufferparams.C (BufferParams): reorder member initializers to avoid
2496 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2498 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2499 * text.C (updateRowPositions): remove an unusual nop
2501 2003-09-12 André Pönitz <poenitz@gmx.net>
2503 * BufferView_pimpl.C:
2512 * Counters.[Ch]: finish the 'automatic counters' job
2514 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2516 * aspell.C: include <boost/assert.cpp> (compile fix)
2518 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2520 * boost.C (assertion_failed): use lyx::support::abort instead of
2523 2003-09-10 Angus Leeming <leeming@lyx.org>
2525 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2526 with their _fwd progeny.
2528 2003-09-09 Angus Leeming <leeming@lyx.org>
2530 134 files throughtout the source tree: replace 'using namespace abc;'
2531 directives with the appropriate 'using abc::xyz;' declarations.
2533 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2535 * boost.C (emergencyCleanup): moved here from LAssert.c
2536 (assertion_failed): new function, called by BOOST_ASSERT
2538 * several files: change Assert to BOOST_ASSERT
2540 2003-09-09 Angus Leeming <leeming@lyx.org>
2542 * buffer.[Ch]: Add an Impl class and move Buffer's member
2543 variables into it. As a result move several header files out of
2546 Add header files to lots of .C files all over the tree as a result.
2548 2003-09-09 Angus Leeming <leeming@lyx.org>
2550 * buffer.[Ch]: make Buffer's member variables private. Add
2553 Lots of changes all over the tree as a result.
2555 2003-09-08 Angus Leeming <leeming@lyx.org>
2557 * graph.C: #include <config.h>.
2559 2003-09-08 Angus Leeming <leeming@lyx.org>
2563 * BufferView_pimpl.C:
2592 * toc.C: remove redundant using directives.
2594 2003-09-07 Angus Leeming <leeming@lyx.org>
2596 * LaTeXFeatures.h: remove #include "support/types.h".
2597 * ToolbarBackend.h: remove #include <algorithm>.
2598 * changes.h: remove #include <ctime>.
2599 * debug.h: remove #include <iosfwd>.
2600 * graph.h: remove #include "support/std_string.h".
2601 * lyx_main.h: remove #include <csignal>.
2602 * lyxlex_pimpl.h: remove #include <fstream>.
2603 * sgml.h: remove #include <algorithm>, <utility>.
2604 * toc.h: remove #include "support/std_ostream.h".
2605 Add #include <iosfwd>.
2607 2003-09-07 Angus Leeming <leeming@lyx.org>
2609 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2611 * converter.h: forward declare LatexRunParams.
2612 * encoding.h: remove #include "lyxrc.h".
2613 * lyxtext.h: remove #include "LColor.h".
2614 * lyxtextclass.h: remove #include "support/types.h".
2615 * trans.h: remove #include "tex-accent.h".
2616 * trans_mgr.h: remove #include "tex-accent.h".
2617 * insets/inset.h: remove #include "support/types.h", <vector>.
2618 * insets/insetcollapsable.h: remove #include "LColor.h".
2619 * insets/insetinclude.h: remove #include "dimension.h".
2620 * insets/insetlatexaccent.h: remove #include "dimension.h".
2621 * insets/insetoptarg.h:: remove #include "insettext.h".
2622 * insets/insettext.h: remove #include "dimension.h",
2623 <boost/shared_ptr.hpp>
2625 * insets/renderers.h: add #include "dimension.h".
2626 * insets/updatableinset.h: add #include "support/types.h".
2628 * many .C files: Associated changes.
2630 2003-09-06 Angus Leeming <leeming@lyx.org>
2632 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2633 one, inside testInvariant.
2635 * PrinterParams.C: new file.
2636 * PrinterParams.[Ch]: move the function bodies out of line.
2638 2003-09-06 Angus Leeming <leeming@lyx.org>
2640 * ParagraphParameters.h: forward declare ParameterStruct rather than
2641 including its header file.
2642 (depth): moved out-of-line.
2644 2003-09-06 Angus Leeming <leeming@lyx.org>
2646 * BufferView_pimpl.h:
2649 * lyxfunc.h: forward declare LyXKeySym rather than
2650 #include "frontends/LyXKeySym.h".
2652 * BufferView_pimpl.C:
2655 * lyxfunc.C: associated changes.
2657 2003-09-06 Angus Leeming <leeming@lyx.org>
2659 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2660 As a result, can remove the #include "insets/inset.h" from BufferView.h
2662 2003-09-06 Angus Leeming <leeming@lyx.org>
2664 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2665 As a result, can remove the #include "insets/inset.h" from BufferView.h
2667 2003-09-06 Angus Leeming <leeming@lyx.org>
2673 * bufferview_funcs.C:
2674 * BufferView_pimpl.C:
2679 * ParagraphParameters.C:
2684 * frontends/controllers/ControlDocument.C:
2685 * insets/insetcaption.C: rearrange the #includes into some sort of
2688 * buffer.h: remove #includes ErrorList.h, undo.h
2690 2003-09-06 Angus Leeming <leeming@lyx.org>
2692 * support/types.h: add a 'depth_type' typedef, used to store the
2693 nesting depth of a paragraph.
2696 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2697 defining explicitly.
2700 * paragraph_funcs.h:
2701 * ParagraphParameters.h:
2702 * sgml.h: use lyx::depth_type rather than Paragraph or
2703 ParameterStruct's depth_type.
2706 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2709 * BufferView_pimpl.C:
2711 * ParagraphParameters.C:
2714 * bufferview_funcs.C:
2721 * frontends/LyXView.C:
2722 * frontends/controllers/ControlDocument.C:
2723 * frontends/controllers/ControlErrorList.C:
2724 * insets/insetbibitem.C:
2725 * insets/insetbranch.C:
2726 * insets/insetcaption.C:
2727 * insets/insetcollapsable.C:
2728 * insets/insetenv.C:
2729 * insets/insetert.C:
2730 * insets/insetfloat.C:
2731 * insets/insetfoot.C:
2732 * insets/insetfootlike.C:
2733 * insets/insetnewline.C:
2734 * insets/insetquotes.C:
2735 * insets/insettabular.C:
2736 * insets/insettext.C:
2737 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2739 * frontends/controllers/ControlChanges.C: #include "changes.h".
2741 2003-09-06 Angus Leeming <leeming@lyx.org>
2743 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2744 than #including paragraph.h.
2747 * RowList.h: deleted. Superfluous.
2757 * insets/insettext.h: use ParagraphList_fwd.h rather than
2760 * paragraph.h: don't forward declare ParagraphList.
2763 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2764 rather than ParagraphList.h. paragraph.h is still needed for the
2765 Paragraph::depth_type parameters.
2767 * textcursor.h: enable it to compile stand-alone in light of the
2770 * bufferview_funcs.C:
2782 * frontends/controllers/ControlParagraph.C:
2783 * frontends/controllers/ControlTabular.C:
2784 * insets/insetmarginal.C:
2785 * insets/insetminipage.C:
2786 * insets/insetnote.C:
2787 * insets/insetoptarg.C: add header files needed to compile again.
2789 2003-09-06 Angus Leeming <leeming@lyx.org>
2791 * RowList_fwd.h: new file, forward-declaring Row rather than
2792 #including lyxrow.h.
2797 * insets/insettext.h: use it instead of RowList.h
2799 * bufferview_funcs.C:
2806 * text3.C: #include "RowList.h".
2808 2003-09-05 Angus Leeming <leeming@lyx.org>
2810 * factory.C (createInset):
2811 * vspace.C (c-tor): replace sscanf call with an istringstream.
2812 * ispell.C: re-add missing HP/UX headers.
2813 * lyxserver.C: re-add missing os2 headers.
2815 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2824 * text3.C: re-add missing system headers, needed for 2.95.2.
2826 2003-09-05 Angus Leeming <leeming@lyx.org>
2828 Changes most place everywhere due to the removal of using directives
2829 from support/std_sstream.h.
2831 2003-09-05 Angus Leeming <leeming@lyx.org>
2833 Replace LString.h with support/std_string.h,
2834 Lsstream.h with support/std_sstream.h,
2835 support/LIstream.h with support/std_istream.h,
2836 support/LOstream.h with support/std_ostream.h.
2838 Changes resulting throughout the tree.
2840 2003-09-05 Angus Leeming <leeming@lyx.org>
2842 * sgml.h: ensure that the header file can be compiled stand-alone.
2843 * *.C: strip out redundant #includes. (320 in total.)
2845 2003-09-04 Angus Leeming <leeming@lyx.org>
2847 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2848 here (from getPackages).
2850 * debug.[Ch]: add a new EXTERNAL tag.
2852 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2854 * text2.C (cursorEnd): simplify
2856 (getColumnNearX): adjust
2858 * text.C (computeBidiTables): adjust
2861 * rowpainter.C (paintChars): adjust
2862 (paintSelection): adjust
2863 (paintChangeBar): adjust
2866 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2868 (numberOfSeparators): adjust
2870 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2876 * text3.C: Restricts the mouse click functionality
2877 of insets like bibtex, include, toc and floatlist to the visible
2878 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2879 up the dialogs. Cursor has to be in front of the inset (i.e.
2880 start of row) for this to function.
2882 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2884 * bufferview_funcs.C (currentState): output row information
2886 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2888 * bufferview_funcs.C (currentState): output paragraph position
2890 2003-09-04 Angus Leeming <leeming@lyx.org>
2892 * FloatList.h: move out #include "Floating.h".
2893 * LaTeX.h: move out #include "DepTable.h".
2894 * LyXAction.h: move out #include "funcrequest.h".
2895 * buffer.h: move out #include "author.h", "iterators.h".
2896 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2897 * lyx_main.h: move out #include "errorlist.h".
2898 * lyxfunc.h: move out #include "FuncStatus.h".
2899 * lyxtext: move out #include "lyxcursor.h".
2900 * paragraph_pimpl.h: move out #include "counters.h".
2902 2003-09-03 Angus Leeming <leeming@lyx.org>
2904 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2905 preamble_snippets list, enabling us to add snippets to the preamble
2906 only if the snippet was not there already.
2908 2003-09-04 Angus Leeming <leeming@lyx.org>
2910 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2912 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2914 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2917 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2919 * BranchList.C: point fix, earlier forgotten
2921 2003-09-02 Angus Leeming <leeming@lyx.org>
2923 * box.C (contains): renamed from 'contained' after a fantastic
2926 2003-09-02 John Levon <levon@movementarian.org>
2932 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2934 2003-09-02 John Levon <levon@movementarian.org>
2936 * text2.C: simplification of cursorEnd(), including partial
2939 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2941 * buffer.C (readFile): add a space
2943 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2945 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2947 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2949 * buffer.C (readFile): new function, take a filename and a
2950 ParagraphList::iterator
2952 (readFile): adjust, make it private. don't use setStream, make
2953 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2954 always contain the filename.
2956 * BufferView.C (insertLyXFile): simplify and make it work for
2959 2003-08-30 John Levon <levon@movementarian.org>
2961 * Makefile.am: fix dist (from Kayvan)
2963 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2965 * most files: change to use const Buffer refs
2967 2003-08-27 André Pönitz <poenitz@gmx.net>
2969 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2970 on top of ownerPar().
2972 2003-08-27 John Levon <levon@movementarian.org>
2974 * funcrequest.C: properly initialise POD members
2976 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2978 * lyxtext.h (top_y): move top_y from here
2983 * BufferView_pimpl.[Ch]: to here
2984 * frontends/screen.C:
2985 * insets/insettabular.C:
2986 * insets/insettext.C: adjust
2987 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2989 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2992 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2994 2003-08-26 André Pönitz <poenitz@gmx.net>
2996 * paragraph_func.[Ch] (outerPar): new function
2999 * paragraph_funcs.C:
3000 * paragraph_funcs.h:
3001 * paragraph_pimpl.C:
3002 * text2.C: remove Inset::par_owner
3004 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3009 * text2.C: eliminates the needFullRow/display() stuff
3010 altogether, putting the logic in metrics/draw in the insets.
3012 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3014 * text2.C (redoParagraphInternal, redoParagraphs):
3015 * text.C (redoParagraph): add a call to updateRowPositions at the
3016 end of each 'metrics-like' call. Remove all others.
3017 (getRow): remove the 'y-computing' version.
3018 (getRowNearY): do not compute nor return the real y. Solve the
3019 'y < 0' problem and simplify.
3021 2003-08-22 Angus Leeming <leeming@lyx.org>
3023 * *.[Ch]: clean-up of licence and author blurbs.
3024 Also move config.h out of a few .h files and into a few .C files.
3026 2003-08-22 André Pönitz <poenitz@gmx.net>
3028 * lyxrow.[Ch]: add x_ and *fill_ members
3033 * text2.C: adjust/remove prepareToPrint() calls
3035 2003-08-22 André Pönitz <poenitz@gmx.net>
3037 * lyxrow.[Ch]: add end_ member
3039 * lyxrow_funcs.C: use LyXRow::end_
3041 * lyxtext.h (singleWidth): add LyXFont parameter
3044 * text2.C: adjust LyXText::singleWidth() calls
3046 * text.C (redoParagraph): simplify row breaking logic
3049 2003-08-19 André Pönitz <poenitz@gmx.net>
3051 * funcrequest.C: initialize button_ member
3054 * rowpainter.[Ch]: interface consolidation
3056 2003-08-18 André Pönitz <poenitz@gmx.net>
3059 * BufferView_pimpl.C:
3061 * paragraph_funcs.C:
3063 * text3.C: remove LyXScreen::draw() and fitCursor calls
3065 * BranchList.h: remove spurious semicolons
3067 * MenuBackend.C: fix branchlist related crash
3069 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3077 * bufferparams.[Ch]:
3081 * text3.C: implements the 'branch inset'
3082 idea. This allows the output of various versions of a document
3083 from a single source version, selectively outputing or suppressing
3084 output of parts of the text.
3085 This implementation contains a 'branch list editor' in a separate
3086 tab of the document settings dialog. Branches are user definable
3087 and have a "display colour" to distinguish them on-screen.
3089 ColorHandler was somewhat cleaned up.
3090 (1) make possible a dynamically growing LColor list by allowing
3091 the graphic context cache to grow along (vector);
3092 (2) eliminate an IMHO unnecessary step in colour allocation.
3094 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3096 * BufferView_pimpl.C: compile fix
3098 2003-08-15 André Pönitz <poenitz@gmx.net>
3100 * rowpainter.C: remove extra metrics calls
3102 * lyxtext.h: merge the two constructors into a single one,
3103 pass reference to owner's par list
3105 * BufferView_pimpl.C:
3109 2003-08-15 André Pönitz <poenitz@gmx.net>
3111 * lyxrow_funcs.[Ch]:
3114 * paragraph_funcs.C:
3119 * text_funcs.C: split LyXText::rowlist_ into individual
3120 Paragraph::rows_ chunks
3123 * BufferView_pimpl.[Ch]:
3126 * text3.C: remove toggleSelection()
3128 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3130 * bufferlist.C: beautify two alerts (shorter text of buttons)
3131 * buffer.C: Remove redundant ' ' from message
3133 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3134 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3135 rename VALIGN_CENTER to VALIGN_MIDDLE
3137 2003-08-11 André Pönitz <poenitz@gmx.net>
3139 * lyxtext.h (getPar):
3140 * text.C: new function
3142 2003-08-11 André Pönitz <poenitz@gmx.net>
3145 * tracer.[Ch]: remove unneeded files
3147 * InsetList.[Ch]: remove resizeInsetsLyXText()
3152 * text3.C: merge insertParagraphs() and appendParagraph()
3153 remove breakAgain(), update()
3155 * BufferView_pimpl.[Ch]:
3156 * bufferview_funcs.[Ch]:
3160 * tabular.C: adjust after text & InsetList changes.
3162 2003-08-08 André Pönitz <poenitz@gmx.net>
3164 * text.C (insertChar, backspace): replace rowlist fiddling
3165 with rebreak of full par
3168 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3169 checkParagraph, updateInset): removed
3171 2003-08-07 André Pönitz <poenitz@gmx.net>
3174 * text3.C: merge some LFUN handlers, remove dead code
3176 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3178 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3180 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3182 * text2.C (DEPM): fix part of bug 1255 and 1256
3184 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3186 * BufferView_pimpl.C (workAreaDispatch): change to use
3187 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3188 that are no mouse related.
3190 2003-08-05 André Pönitz <poenitz@gmx.net>
3193 * BufferView_pimpl.[Ch]:
3194 * bufferview_funcs.C:
3196 * text3.C: rip out "deep update"
3198 * textcursor.[Ch] (last_sel_cursor): remove unused member
3200 2003-08-04 André Pönitz <poenitz@gmx.net>
3203 * BufferView_pimpl.[Ch]:
3204 * ParagraphParameters.C:
3205 * bufferview_funcs.C:
3211 * text3.C: replace "complicated" BufferView::update(...) calls with
3214 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3216 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3218 * Makefile.am (lyx_SOURCES): add paper.h
3220 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3222 * Makefile.am: move things around so that both lyx-qt and
3223 lyx-xforms can be built (according to --with-frontend). Then lyx
3224 is a symbolic link to lyx-[firstfrontend]
3226 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3228 * Always use std::endl with lyxerr
3230 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3232 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3234 2003-08-01 André Pönitz <poenitz@gmx.net>
3237 * BufferView_pimpl.[Ch]:
3239 * text3.C: merge BufferView::repaint() and BufferView::update()
3241 2003-08-01 José Matos <jamatos@lyx.org>
3243 * buffer.[Ch]: file_format is no longer a buffer data element.
3245 2003-08-01 André Pönitz <poenitz@gmx.net>
3250 * text2.C: make redoParagraph more independent of current cursor
3252 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3254 * text2.C: remove unneeded members
3256 2003-07-30 André Pönitz <poenitz@gmx.net>
3258 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3260 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3261 create a single function...
3263 * paragraph_funcs.C (moveItem): ... here.
3266 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3268 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3270 * LColor.[Ch]: Add comment and greyedout logical colors.
3272 2003-07-30 André Pönitz <poenitz@gmx.net>
3274 * tabular.C: don't use Assert too heavily. This crashes where it
3277 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3279 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3280 is disabled (bug 1232)
3282 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3284 * factory.C: limited 'arg' scope
3286 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3288 * factory.C: fixed Note submenu issues
3290 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3292 * factory.C: submenu for Note/Comment/Greyedout
3294 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3297 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3299 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3302 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3303 greyedout. Patch provided by Jürgen Spitzmüller.
3305 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3307 * kbmap.C (read): fix error message when reading bind files
3309 2003-07-29 Angus Leeming <leeming@lyx.org>
3311 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3312 certainly does not do what it purports to do. I am doing it, and
3313 us, a favour by killing it.
3315 2003-07-28 José Matos <jamatos@lyx.org>
3317 * buffer.C (readBody, do_writeFile):
3318 * paragraph.C(readParagraph): \end_document replaces \the_end.
3320 2003-07-29 André Pönitz <poenitz@gmx.net>
3323 * BufferView_pimpl.[Ch]:
3327 * textcursor.[Ch]: remove toggleToggle & Co
3329 2003-07-28 José Matos <jamatos@fep.up.pt>
3331 * buffer.C (readParagraph):
3332 * params_func (readParToken, readParagraph):
3333 * paragraph.C (write): \layout -> \begin_layout.
3335 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3337 * lyxlex_pimpl.C (setFile): clean up slightly.
3339 * bufferparams.h: add compressed var
3341 * buffer_funcs.C (readFile): adjust for LyXLex change
3342 (newFile): ditto + simplify
3344 * buffer.C (writeFile): handle writing of compressed files
3346 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3347 Check if the file is compressed and set a bufferparm if so.
3349 * Makefile.am (lyx_LDADD): remove explicit -lz
3351 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3353 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3354 makeDocBookFile): put the real LyX version in the first line of
3358 * version.C.in: remove lyx_docversion
3360 * tabular.C (write_attribute): add a template-based version to
3361 write enums properly
3363 2003-07-28 André Pönitz <poenitz@gmx.net>
3368 * text3.C: use doubles again for x-coordinates. They are needed.
3370 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * messages.C (getLocaleDir): use lyx_localedir()
3374 * lyxlex_pimpl.C (setFile): compress stuff
3376 * buffer.C (writeFile): add some compression stuff
3377 (do_writeFile): new func, dont call expliti close... will this
3380 * Makefile.am (lyx_LDADD): add -lz
3382 2003-07-28 José Matos <jamatos@fep.up.pt>
3384 * buffer.C: increment file format.
3385 * paragraph_funcs (readParagraph, readParToken):
3386 * paragraph.C (readParagraph): add \end_layout.
3388 2003-07-27 Angus Leeming <leeming@lyx.org>
3390 * Makefile.am: remove special casing for configure-time setting of
3391 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3393 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3394 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3396 2003-07-26 André Pönitz <poenitz@gmx.net>
3398 * paragraph_func.[Ch]:
3399 * paragraph.C (realizeFont): inline it whereever it is used
3404 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3407 2003-07-26 André Pönitz <poenitz@gmx.net>
3411 * text2.C: get rid of LyXText::need_break_row
3413 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3415 * toc.[Ch]: put namespace toc inside namespace lyx
3417 * MenuBackend.C (expandToc2): adjust for lyx::toc
3420 * lyxfunc.C (dispatch): adjust for lyx::find
3422 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3423 lyx::find instead. Reorganize a bit.
3424 (LyXReplace): rename to replace
3425 (LyXFind): rename to find
3427 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3430 2003-07-26 André Pönitz <poenitz@gmx.net>
3432 * text.C (setHeightOfRow): restrict scope of temporary variable
3434 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3435 code (never has been used?)
3437 2003-07-27 Asger Alstrup <alstrup@local>
3439 * text.C (fill): Optimise algorithm to exploit that we can reuse
3440 the LyXFont for many characters.
3441 (setHeightOfRow): Same thing.
3442 (rowBreakPoint): Same thing.
3444 2003-07-26 Asger Alstrup <alstrup@local>
3446 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3448 * text.C (singleWidth): Spurious font copying in hot-spot
3449 singleWidth avoided. Reorder tests for arabic for efficiency.
3451 * text.C (fill): handle empty paragraphs better.
3453 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3456 * encoding.h: add includes
3458 * lyxrc.C: remove reading of bind files
3460 * lyx_main.C (init): setup bindings and menus only if we have a
3463 * kbmap.C (read): new method. Do the actual reading of bind
3466 * converter.C (dvipdfm_options):
3469 (output): adapt PAPER_* enums.
3471 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3473 * bufferparams.h: remove paper-related enums from there
3475 * paper.h: New file. A trivial header file to hold paper-related
3476 enums. It should later expand to contain many paper-related
3479 * lyxrc.C: declare extern displayTranslator
3481 2003-07-27 José Matos <jamatos@fep.up.pt>
3483 * tabular.[Ch] (linuxdoc): add support for tables and figures
3486 2003-07-27 José Matos <jamatos@fep.up.pt>
3488 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3489 consistency in both functions.
3490 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3492 2003-07-26 Asger Alstrup <alstrup@local>
3494 * rowpainter.C (paintRows): Change algorithm to work directly on
3495 the insets rather than asking every character in the document
3496 whether its an inset.
3498 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3500 * buffer.C (openFileWrite): factorize some code
3502 2003-07-26 Angus Leeming <leeming@lyx.org>
3505 * lyx_main.[Ch]: replace occurances of system_tempdir with
3508 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * rename Inset to InsetOld
3512 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3514 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3515 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3516 which I think is a bit clearer. EDIT is gone, since it was
3517 premature optimisation, and broken for mathed anyway.
3518 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3519 with cursor positioning in insets as well (math insets still do not
3520 work, but that's a different story anyway.) It mysteriously
3521 crashes sometimes with undo in the first paragraph, but I'm fairly
3522 confident that this is a compiler bug.
3524 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3526 * paragraph.C (Paragraph): adjust for new clone return type
3528 (copyIntoMinibuffer): ditto
3530 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3532 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3533 by not having a special case, and always doing a full rebreak of
3534 the document after undo.
3536 2003-07-23 Angus Leeming <leeming@lyx.org>
3538 * factory.C (createInset): InsetExternal::setParams now takes a
3541 2003-07-23 Angus Leeming <leeming@lyx.org>
3543 * factory.C (createInset): changed interface to the external and
3544 graphics mailers' string2params functions.
3546 2003-07-23 Angus Leeming <leeming@lyx.org>
3548 * factory.C (createInset): pass a
3549 Buffer const * parameter to InsetExternalMailer's string2params.
3551 2003-07-22 John Levon <levon@movementarian.org>
3553 * Thesaurus.h: include the right aiksaurus header
3555 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3557 * MenuBackend.C (expand): check menu shortcuts unconditionally
3559 2003-07-21 Angus Leeming <leeming@lyx.org>
3561 * factory.C (createInset): pass a
3562 buffer_path parameter to InsetGraphicsMailer's string2params.
3564 2003-07-21 Angus Leeming <leeming@lyx.org>
3566 * BufferView_pimpl.C (buffer):
3569 * lyxfunc.C (dispatch):
3570 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3571 rather than the grfx shortcut.
3573 2003-07-21 André Pönitz <poenitz@gmx.net>
3575 * rowpainter.C: remove unused variables
3578 * tabular_funcs.h: move to tabular.C
3579 * Makefile.am: adjust
3581 * tabular.[Ch]: basic optical cleaning
3583 * author.h: pass references, not values
3585 2003-07-18 André Pönitz <poenitz@gmx.net>
3593 * text3.C: two-phase drawing for InsetText and InsetTabular
3594 some float -> int changes.
3596 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3598 * lyx_main.C: fix the fix
3600 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3602 * lyx_main.C: fix a crash in batch mode if no files specified
3605 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3607 * format.[Ch] (papersize): moved to BufferParams
3608 * converter.[Ch] (dvips_options): moved to BufferParams
3609 (dvipdfm_options): moved to anon namespace
3610 * bufferparams.[Ch]: added above functions.
3612 2003-07-17 André Pönitz <poenitz@gmx.net>
3616 * text2.C: don't call inset->update() anymore
3618 * metricsinfo.[Ch]: add convenience constructor
3620 2003-07-16 André Pönitz <poenitz@gmx.net>
3625 * text2.C: replace the LyXCursor::irow_ member with
3626 on-demand computation of the value
3628 2003-07-16 John Levon <levon@movementarian.org>
3630 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3632 2003-07-15 André Pönitz <poenitz@gmx.net>
3635 * text2.C: remove no more needed refresh_row
3637 2003-07-15 André Pönitz <poenitz@gmx.net>
3642 * text3.C: refresh_status tristate -> need_update bool
3644 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3646 * lyxtext.h (init): remove reinit argument (act as if always true)
3647 * text2.C: adjust to that
3649 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3651 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3652 * text3.C: use it to delete selections in some cases
3653 (bugs 441, 673, 702, 954).
3655 2003-07-14 André Pönitz <poenitz@gmx.net>
3657 * rowpainter.[Ch]: reduce interface
3659 2003-07-14 André Pönitz <poenitz@gmx.net>
3661 * BufferView_pimpl.C:
3662 * text2.C: adjust after removing unused BufferView * argument
3664 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3666 * text2.C (init): fix a crash fired on resize
3668 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3670 * buffer.[Ch]: added new closing signal
3671 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3672 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3673 BufferView::Pimpl via the closing the signal
3675 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3677 * buffer.[Ch]: take out all bv-related from buffer
3679 * BufferView_pimpl.[Ch]: connect to new signals
3680 * CutAndPaste.C: removed useless asserts
3681 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3684 * lyxfunc.C: moved view-related funciontality from vc here
3685 * paragraph.C: removed outdated comments
3688 2003-07-10 André Pönitz <poenitz@gmx.net>
3690 * BufferView_pimpl.C:
3694 * text2.C: remove InsetText::InnerCache, clean up consequences
3696 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3698 * ispell.C: fix two typos in error messages
3700 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3702 * Extend Note inset to other forms of annotation like Comment
3703 and Greyedout. Right button click gives dialog.
3705 Files modified or added (+):
3709 * ControlNote.[Ch] +
3711 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3712 frontends/controllers
3716 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3718 * aspell.C: add missing namespace lyx::support
3720 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3722 * BufferView.[Ch] (newFile): Add
3723 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3724 * LaTeX.[Ch] (message): added this signal and use it
3725 * buffer.[Ch] (busy, message): added these signals and use them
3726 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3730 * importer.C: use buffer signals instead of direct bv calling
3731 * lyx_cb.[Ch] (ShowMessage): removed
3734 * paragraph_funcs.C:
3735 * text2.C: use buffer signals
3737 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3739 * introduce namespace lyx::graphics
3741 2003-07-02 André Pönitz <poenitz@gmx.net>
3743 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3745 2003-07-01 André Pönitz <poenitz@gmx.net>
3752 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3753 text*.C to text_func.C
3755 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3757 * introduce namespace lyx::support
3759 2003-06-30 André Pönitz <poenitz@gmx.net>
3764 * text.C: re-enable --with-included-string
3766 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3768 * textcursor.C: add <config.h>
3770 * text.C (getWord): remove const from word_location arg
3772 * lyxvc.C (getLogFile): fix const type order
3774 * lyxtext.h: remove const from word_location arg, add arg name
3776 * lyxlayout.h: currect type on labeltype.
3778 * importer.C: correct \file
3780 * converter.C (intToFormat): use std:: on ret val, ws changes
3782 * bufferlist.h: correct \file
3784 * buffer.C (makeLinuxDocFile): fix const type order
3785 (makeDocBookFile): ditto
3786 (fillWithBibKeys): use std:: on stdlib args.
3788 * CutAndPaste.C: fix authors.
3789 (availableSelections): use std:: on return vector
3791 2003-06-27 André Pönitz <poenitz@gmx.net>
3793 * BufferView_pimpl.C:
3794 * bufferview_funcs.C:
3802 * text3.C: remove LyXCursor::row_ member
3805 * text.C: rename fullRebreak() to partialRebreak() and implement
3806 a fullRebreak() that really bereks fully
3808 * textcursor.h: new struct for cursor-related data
3810 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3812 * lyx_main.C (LyX): get full path of document loaded on the
3815 2003-06-26 André Pönitz <poenitz@gmx.net>
3817 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3818 remove unused/broken operator>,<,>=.
3820 * text.C: remove only use of broken operator<= in an Assert().
3822 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3824 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3825 moved errorlist_.clear to showErrorList
3827 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3829 * converter.C (scanLog, runLaTeX):
3830 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3831 move the bv->showErrorList call to the callers
3832 * lyxfunc.C: i.e. here...
3834 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3835 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3836 namespace, the second to...
3837 * buffer_funcs (BufferFormat, parseErrors): added
3838 * errorlist.C (ErrorList(TeXErrors const &)): removed
3840 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3842 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3844 2003-06-24 "Garst R. Reese" <reese@isn.net>
3848 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3850 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3852 * version.C.in: change docversion to 1.4
3854 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3856 * buffer.C: fix a bug just introduced
3858 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3860 * buffer.[Ch]: added the parseError signal and use it, removed
3862 * BufferView.[Ch] (addError): moved to ...
3863 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3864 to the Buffer::parseError signal to catch (guess what) parse errors
3865 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3867 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3869 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3870 ability to create a buffer and to return an existing one from
3871 the list. Moved these functions to...
3872 * buffer_funcs.[Ch]: added
3873 * BufferView.[Ch] (loadLyXFile): added
3874 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3875 job removed from bufferlist::loadLyXFile.
3876 * buffer.C (setReadOnly): make it work without view
3877 (i.e added an if (users))
3879 2003-06-19 Angus Leeming <leeming@lyx.org>
3882 * LyXAction.C (init):
3883 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3884 with LFUN_DIALOG_SHOW <name> <data>.
3886 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3888 * CutAndPaste.C (availableSelections): small compilation fix for
3889 ancient (gcc 2.9x) compilers
3891 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3893 * text3.C (cursorNext): add tmp var
3895 * text2.C (updateCounters): for function calling out of for clause
3896 (replaceSelectionWithString): ditto
3897 (insertStringAsParagraphs): ditto
3898 (getColumnNearX): add tmp var
3899 (setCursorFromCoordinates): add tmp var
3900 (cursorDownParagraph): add tmp var
3901 (deleteEmptyParagraphMechanism): add tmp var
3903 * text.C (insertChar): add tmp var
3905 * rowpainter.C (paintDepthBar): add tmp var
3907 * CutAndPaste.C (availableSelections): potentially check all
3908 paragraphs in a cut to fill the shown strings.
3910 2003-06-18 André Pönitz <poenitz@gmx.net>
3912 * kbmap.[Ch]: use vector<> instead of list<>
3914 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3916 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3917 pasteSelection with index
3919 * text2.C (pasteSelection): modify, call pasteSelection with index
3921 * paragraph.C (asString): reimplement version with no interval to
3922 call the one with interval.
3924 * lyxtext.h: add index arg to pasteSelection
3926 * MenuBackend.C (MenuItem): handle PasteRecent
3927 (Menu::read::Menutags): add md_pasterecent
3929 (expandPasteRecent): new function
3932 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3934 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3936 (availableSelections): new function
3938 2003-06-17 Angus Leeming <leeming@lyx.org>
3940 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3942 2003-06-17 Angus Leeming <leeming@lyx.org>
3945 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3947 * lyxfunc.C (dispatch): invoke it.
3949 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3951 * iterators.C (operator++, ParPosition): reintroduce some
3952 const_cast for the benefit of older compilers.
3954 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3956 * text3.C (dispatch): do not modify clipboard when doing
3957 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3958 LFUN_DELETE_SKIP on a selection selection
3960 2003-06-16 André Pönitz <poenitz@gmx.net>
3966 * tabular.[Ch]: IU of clone() and getLabelList();
3968 2003-06-13 André Pönitz <poenitz@gmx.net>
3970 * tabular.h: compactification
3972 2003-06-12 André Pönitz <poenitz@gmx.net>
3976 * tabular_funcs.h: some renaming plus whitespace
3978 2003-06-12 André Pönitz <poenitz@gmx.net>
3981 * BufferView_pimpl.C:
3987 * toc.C: Return a Paragraph & for ParIterator::operator*()
3989 2003-06-11 John Levon <levon@movementarian.org>
3993 * ToolbarBackend.C: add "Toolbars" section and
3996 2003-06-10 Angus Leeming <leeming@lyx.org>
3999 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4001 * lyxfunc.C (dispatch): invoke it.
4003 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4005 * main.C: protect <ios> with HAVE_IOS
4006 (main): protect sync_with_stdio with HAVE_IOS
4008 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4010 * text2.C (cutSelection): adjust
4011 (pasteSelection): adjust
4013 * messages.C: handle get of empty string
4015 * main.C (main): use sync_with_stdio(false)
4017 * lyxfunc.C (dispatch): adjust
4019 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4020 (WriteAs): remove unneeded BufferView arg.
4022 * bufferparams.h: use correct types on papersize, papersize2 and
4025 * bufferparams.C (readToken): adjust for type
4026 (writeLaTeX): add missing cases to switch.
4028 * bufferlist.C (quitWriteBuffer): adjust
4031 * buffer.C (asciiParagraph): remove some commented code.
4033 * CutAndPaste.C: remove current_view extern variable.
4034 (cutSelection): add BufferParams arg.
4035 (eraseSelection): add BufferParams arg.
4036 (pasteSelection): add Buffer const & arg
4038 2003-06-07 John Levon <levon@movementarian.org>
4041 * paragraph_funcs.C:
4042 * paragraph_pimpl.C:
4046 * paragraph.C: allow InsetERT to freely space lines,
4047 and some consolidation of code
4049 2003-06-06 José Matos <jamatos@fep.up.pt>
4051 * buffer.C (makeDocBookFile): fix bug #821
4053 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4055 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4057 2003-06-04 Angus Leeming <leeming@lyx.org>
4059 * buffer.C: bump format to 224.
4061 2003-06-05 André Pönitz <poenitz@gmx.net>
4063 * text2.C (redoParagraphs): remove two const_cast<>
4065 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4067 * ParagraphList.h: remove last remnants of NO_STD_LIST
4069 2003-06-03 Angus Leeming <leeming@lyx.org>
4071 * factory.C (createInset): small change to the way InsetExternal's params
4074 2003-06-04 André Pönitz <poenitz@gmx.net>
4076 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4078 * paragraph_pimpl.h:
4079 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4081 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4083 * undo_funcs.C: make some simple cases of undo work again
4085 2003-06-03 John Levon <levon@movementarian.org>
4087 * ispell.C: HPUX doesn't have sys/select.h
4090 2003-06-03 John Levon <levon@movementarian.org>
4092 * CutAndPaste.C: update tabular and include inset
4097 * paragraph.C: remove owningBuffer(), don't pass Buffer
4100 * factory.C: insetGraphicsParams changed
4102 2003-06-02 John Levon <levon@movementarian.org>
4108 * text3.C: remove insetparent
4110 2003-06-02 John Levon <levon@movementarian.org>
4113 * buffer.C: fix inset_iterator.end(), move out of line
4116 2003-06-01 John Levon <levon@movementarian.org>
4118 * text3.C: use a proper cut/paste when doing inset
4119 insert (from Jürgen Spitzmüller)
4121 2003-06-01 John Levon <levon@movementarian.org>
4123 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4125 2003-05-30 André Pönitz <poenitz@gmx.net>
4127 * rowpainter.C: unify second drawing phase
4129 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4131 * trans_mgr.C: remove one case of current_view
4133 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4135 * paragraph_funcs.h: remove paragraph.h include
4137 * paragraph.h: delete NO_STD_LIST stuff
4139 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4141 * buffer.h: remove paragraph.h include
4143 * ParagraphList.C: delete file
4145 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4147 * toc.C (getTocList): adjust
4149 * paragraph_pimpl.C (validate): adjust
4151 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4153 * paragraph.C (Paragraph): adjust
4154 (getPositionOfInset): use const_iterator, adjust
4155 (bibitem): use const_iterator, adjust
4156 (setInsetOwner): adjust
4158 * iterators.C (operator++): adjust
4160 * InsetList.[Ch]: Replace selfmade iterator with standard
4161 vector::iterator also introduce const_iterator. Remove getPos,
4162 getInset and setInset from InsetTable. Adjust accordingly.
4164 * BufferView.C (lockInset): adjust
4165 (ChangeInsets): adjust
4167 * tabular.[Ch]: delete commented same_id functions
4169 2003-05-28 John Levon <levon@movementarian.org>
4171 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4173 2003-05-28 André Pönitz <poenitz@gmx.net>
4175 * metricsinfo.[Ch]: remove 'fullredraw' member
4177 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4179 * lyxtextclass.C (operator): remove caching.
4181 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * text2.C (cursorBottom): adjust
4186 (setCounter): use ParagraphList::find, adjust
4188 * text.C (workWidth): use ParagraphList::find, adjust
4190 * lyxcursor.C (LyXCursor): adjust
4192 * buffer.C (inset_iterator): adjust
4194 * ParagraphList.h: make iterator(value_type) private, make
4195 ParagraphList a friend of iterator.
4197 * ParagraphList.C (find): new function
4199 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4201 2003-05-27 André Pönitz <poenitz@gmx.net>
4203 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4205 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4207 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4209 2003-05-26 John Levon <levon@movementarian.org>
4211 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4213 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * remove same_id from function signatures, adjust.
4217 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4221 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4223 * paragraph.C (Paragraph): get rid of same_ids parameter
4225 * ParagraphList.C (insert): adjust
4228 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * paragraph_funcs.C (breakParagraph): adjust
4231 (breakParagraphConservative): adjust
4233 * buffer.C (readParagraph): adjust
4235 * ParagraphList.C (insert): take a reference instead of a pointer
4238 * paragraph.[Ch] (id): new function
4240 * bufferlist.C (newFile): adjust
4242 * ParagraphList.C (ParagraphList): adjust
4244 (push_back): take a reference instead of a pointer.
4246 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4248 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4251 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4252 set else use old code.
4254 * ParagraphList.C: remove all NO_NEXT code and only compile this
4255 code of NO_STD_LIST is set.
4257 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4259 * BufferView_pimpl.C:
4269 * graphics/GraphicsConverter.C:
4270 * graphics/PreviewLoader.C: header adjustment
4272 2003-05-23 Angus Leeming <leeming@lyx.org>
4274 * LaTeXFeatures.[Ch] (useBabel): new method.
4275 * bufferparams.C (writeLaTeX): use it.
4277 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * ParagraphList.h (set): remove unused function.
4281 2003-05-23 André Pönitz <poenitz@gmx.net>
4284 * BufferView_pimpl.C:
4288 * undo_funcs.C: setUndo reworked
4290 * iterators.[Ch]: add access to topmost ParagraphList
4292 * lyxtext.[Ch] (workWidth): add a const
4294 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4296 * texrow.[Ch] (increasePos): remove function
4297 * exporter.C (export): removed unused var and outdated comment
4299 2003-05-23 Angus Leeming <leeming@lyx.org>
4301 * latexrunparams.h: rename fragile as moving_arg.
4302 * paragraph.C (simpleTeXOnePar): ditto.
4303 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4305 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4309 (textUndoOrRedo): comment out a currently unused var.
4311 * paragraph.h (NO_NEXT): enable NO_NEXT
4313 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4315 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4317 * exporter.C (Export): adjust for removeAutoInsets removal.
4319 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4321 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4323 * BufferView.[Ch] (removeAutoInsets): delete function
4325 2003-05-22 Angus Leeming <leeming@lyx.org>
4327 * latexrunparams.h: add a free_spacing variable.
4329 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4330 to pass moving_arg, as the data is stored in runparams.fragile.
4332 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4333 to Inset::latexOptional or to simpleTeXOnePar.
4335 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4336 free_spacing arg to Inset::latexOptional.
4338 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4341 2003-05-22 Angus Leeming <leeming@lyx.org>
4343 * latexrunparams.h: add fragile and use_babel variables.
4345 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4346 * buffer.C (makeLaTeXFile): store this returned value in
4347 runparams.use_babel, thus passing it to the inset::latex methods.
4349 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4350 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4352 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4353 longer has a fragile arg, as it is stored in runparams.fragile.
4355 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4356 moving_arg parameter as the data is stored in runparams.fragile.
4358 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4359 a fragile parameter as the data is stored in runparams.fragile.
4361 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4365 2003-05-22 Angus Leeming <leeming@lyx.org>
4367 * latexrunparams.h: add a 'bool nice' which defaults to false.
4369 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4370 now encapsulated within runparams.
4372 * bufferlist.C (updateIncludedTeXfiles):
4373 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4375 2003-05-22 Angus Leeming <leeming@lyx.org>
4377 * latexrunparams.h: new file containing struct LatexRunParams.
4378 * Makefile.am: add new file.
4380 * LaTeX.[Ch] (c-tor, run):
4381 * buffer.[Ch] (makeLaTeXFile):
4382 * bufferlist.[Ch] (updateIncludedTeXfiles):
4383 * converter.C (convert, scanLog):
4384 * converter.[Ch] (runLaTeX):
4385 * exporter.C (Export):
4386 * paragraph.[Ch] (simpleTeXOnePar):
4387 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4388 * paragraph_funcs.[Ch] (latexParagraphs):
4389 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4390 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4391 pass around a LatexRunParams parameter.
4393 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * paragraph.[Ch]: remove unused constructor
4397 * ParagraphList.C (erase): new function, taking two iterators
4399 2003-05-22 André Pönitz <poenitz@gmx.net>
4401 * undo_funcs.C: remove duplicated code
4403 * iterator.[Ch]: operator=
4405 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * tabular.C (SetMultiColumn): ws changes
4409 * rowpainter.C (paintFirst): get rid of a ->previous
4411 * lyx_cb.C (getPossibleLabel): parlist simplification
4413 * BufferView.C (ChangeInsets): simplify slightly.
4415 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4417 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4418 * lfuns.h: new LFUN_SPACE
4419 * lyxfunc.C: protected space has a new lfun
4420 * paragraph_funcs.C: read new space insets
4422 * factory.C: handle new space insets
4424 2003-05-22 André Pönitz <poenitz@gmx.net>
4427 * BufferView_pimpl.C:
4430 * undo_funcs.C: return a ParIterator from getParFromID.
4432 * iterators.[Ch]: add two const's
4434 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * toc.C (getTocList): adjust
4438 * iterators.[Ch]: rework for parlist
4440 * buffer.C (par_iterator_begin): adjust
4441 (par_iterator_end): adjust
4443 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4445 * BufferView.C (removeAutoInsets): adjust
4446 (ChangeInsets): adjust
4448 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4450 * text.C (top_y): fix bug 1110
4452 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4454 * errorlist.[Ch]: added
4457 * BufferView_pimpl.C:
4458 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4461 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4463 * Makefile.am: ensure that lyx is relinked upon changes to the
4464 various "convenience" libs.
4466 2003-05-20 Angus Leeming <leeming@lyx.org>
4468 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4469 files are compiled in alphabetical order again.
4471 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4473 2003-05-19 Angus Leeming <leeming@lyx.org>
4475 * gettext.[Ch]: remove "char const * _(char const *)".
4477 2003-05-19 André Pönitz <poenitz@gmx.net>
4479 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4488 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4490 2003-05-19 André Pönitz <poenitz@gmx.net>
4494 * lyxtextclass.[Ch]:
4496 * paragraph_funcs.[Ch]:
4498 * text3.C: more insetenv work
4500 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4502 * ParagraphParameters.C (params2string): small bug fixed
4504 2003-05-16 André Pönitz <poenitz@gmx.net>
4507 * bufferview_funcs.C: patch from Kornel Benko to prevent
4508 crash when _(...) is called twice in a statement
4510 2003-05-16 André Pönitz <poenitz@gmx.net>
4517 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4519 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4521 * lyx_main.C (init): remove spurious static_cast
4523 2003-05-14 André Pönitz <poenitz@gmx.net>
4525 * BufferView.C: fix format string
4527 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4529 * BufferView.[Ch] (insertErrors): removed
4530 * BufferView.[Ch] (showErrorList): added
4531 * buffer.C (runChkTeX):
4532 * converter.C (scanLog): call showErrorList instead of inserterrors
4534 2003-05-13 André Pönitz <poenitz@gmx.net>
4536 * BufferView_pimpl.C:
4538 * bufferview_func.C:
4545 * tabular_funcs.h: tostr() from its own header
4547 * ParagraphParameters.C:
4552 * text3.C: STRCONV()
4554 2003-05-12 André Pönitz <poenitz@gmx.net>
4557 * BufferView_pimpl.C:
4561 * ParagraphParameters.C:
4565 * bufferview_funcs.C:
4578 * paragraph_funcs.C:
4582 * text3.C: boost::format -> bformat all over the place
4585 2003-05-09 André Pönitz <poenitz@gmx.net>
4587 * LColor.[Ch]: Pimpl the #include <map> away
4589 2003-05-09 John Levon <levon@movementarian.org>
4591 * bufferlist.C: never remove emergency saves
4593 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * Makefile.am: better lib building
4597 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4601 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4602 (simpleTeXSpecialChars): adjust
4603 (simpleTeXSpecialChars): adjust
4604 * paragraph.C (simpleTeXOnePar): adjust
4605 * buffer.C (makeLaTeXFile): adjust
4607 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4609 * text2.C (changeDepth): parlist cleanup
4610 (getColumnNearX): ditto
4612 * rowpainter.C (getLabelFont): parlist cleanup
4614 * bufferlist.C (newFile): parlist cleanup
4616 * CutAndPaste.C (eraseSelection): parlist cleanup
4618 * BufferView_pimpl.C (trackChanges): parlist cleanup
4621 * BufferView.C (lockInset): parlist cleanup.
4622 (ChangeInsets): ditto
4624 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4626 * CutAndPaste.h: Update file header.
4628 * CutAndPaste.C: Update file header.
4629 Store the parts cut out of the Document in a limited_stack.
4630 (copySelection): adjust
4631 (pasteSelection): new function, takes the index in the limited stack.
4632 (nrOfParagraphs): adjust
4633 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4634 simplify error inset insertion.
4635 (checkPastePossible): adjust
4637 2003-05-06 John Levon <levon@movementarian.org>
4639 * text2.C: don't cast wrap inset to float
4641 2003-05-05 André Pönitz <poenitz@gmx.net>
4644 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4646 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4647 few naked Paragraph *.
4649 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4651 * bufferparams.C: Output warning if a document with missing
4652 TeX document class is loaded
4653 * exporter.C: Disable TeX exports if the document class is missing
4656 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4657 isTeXClassAvailable()
4659 2003-05-03 John Levon <levon@movementarian.org>
4662 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4663 explicit cursor show/hide
4665 * BufferView_pimpl.h:
4666 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4667 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4669 * lyxfunc.C: hide cursor before dispatching.
4674 * text3.C: remove explicit cursor hides
4676 2003-05-02 André Pönitz <poenitz@gmx.net>
4678 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4681 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4684 * text2.C: tiny whitespace
4686 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4688 * undo_funcs.C: almost only ws changes.
4690 * ParagraphList.C (splice): just return if pl is empty.
4692 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * ParagraphList.C (splice): new function.
4696 * CutAndPaste.C (pasteSelection): use it
4698 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * CutAndPaste.C (pasteSelection): remove the last next and
4701 previous from this file.
4703 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4705 * CutAndPaste.C (pasteSelection): more clean up, user proper
4706 ParagraphList functions for pasteing.
4708 * ParagraphList.C (insert): new function, three arg insert
4710 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * ParagraphList.C (insert): new function, three arg insert
4714 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4717 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4719 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4721 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4725 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4727 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4728 (copySelection): clean up a bit.
4729 (pasteSelection): use make_pair
4731 * ParagraphList.C (ParagraphList): implement copy constructor
4732 (operator=): implement, base on copy constructor.
4735 * paragraph.C (erase): return a bool
4737 * paragraph_pimpl.C (erasePos): remove function, move contents...
4738 (erase): ... here. Return a bool.
4739 (erase): call erase instead of erasePos.
4741 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4743 * ParagraphList.h: define PitPosPair
4744 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4745 ParagraphList, fix a bug on pasting multiple pars
4746 * text2.C: change interface to C&P
4748 2003-04-30 André Pönitz <poenitz@gmx.net>
4750 * undo_func.C: revert part of yesterday's patch 2
4752 2003-04-30 John Levon <levon@movementarian.org>
4754 * LColor.C: s/tabular/table/
4756 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * text3.C (dispatch): do not convert iterator -> pointer
4759 * undo_funcs.C (setCursorParUndo): ditto
4760 * text_funcs.C (transposeChars): ditto
4762 * text2.C (setLayout): ws changes only
4764 * text.C (breakParagraph): do not convert iterator -> pointer
4766 (acceptChange): ditto
4767 (rejectChange): ditto
4772 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4775 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4777 * text3.C (gotoInset): YABG (yet another bad getChar)
4779 2003-04-29 André Pönitz <poenitz@gmx.net>
4781 * paragraph.h: make operator= private unimplemented as long as
4784 * ParagraphList.C: whitespace
4787 * paragraph_pimpl.[Ch]:
4788 * paragraph_funcs.C:
4790 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4793 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4795 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4797 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4798 * paragraph.[Ch] (erase):
4799 * paragraph_pimpl.[Ch] (erase): change return type and value
4800 * text2.C (cutSelection): some rework
4802 2003-04-28 John Levon <levon@movementarian.org>
4804 * bufferlist.C: changes for unsaved changes dialog
4806 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * bufferlist.C (newFile): set language (messages_) for new
4811 * buffer.C (readFile): ws changes only.
4813 2003-04-28 André Pönitz <poenitz@gmx.net>
4818 * BufferView_pimpl.C:
4819 * BufferView.C: getParFromID related ParagraphList::iterator changes
4821 2003-04-28 André Pönitz <poenitz@gmx.net>
4823 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4826 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4828 * messages.C: remove one more localedir class variable.
4830 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4832 * messages.C (getLocaleDir): singleton generation function
4834 (Messages): add a default constructor.
4836 * main.C (main): do not setup localedir here, do not call
4839 * gettext.C (_): use it.
4840 (gettext_init): delete funciton
4842 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * gettext.C (getLyXMessages): new singleton generating function.
4846 * buffer.C (updateDocLang): adjust
4848 * Makefile.am (messages.o): add target
4849 (main.o): remove target
4851 2003-04-27 John Levon <levon@movementarian.org>
4856 * lyxvc.C: specify cancel button in Alert::prompt
4858 2003-04-26 John Levon <levon@movementarian.org>
4863 * LyXAction.C: add LFUN_INSET_SETTINGS
4865 * lyxfunc.C: don't enable tabular-feature when there's
4866 just any locking inset
4868 2003-04-26 John Levon <levon@movementarian.org>
4870 * bufferlist.C: re-add Cancel to buffer close question
4872 * lyxfunc.C: fix import UI a bit
4874 2003-04-25 John Levon <levon@movementarian.org>
4876 * gettext.C: remove the broken asserts for now
4878 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * messages.C: make case where setlocale cannot comply work better.
4882 * buffer.C (updateDocLang): new function
4883 (changeLanguage): use it
4886 * text2.C (setCounter): use B_ a bit.
4888 * lyxlayout.C (Read): be sure to trim the label strings.
4890 * messages.C (Messages): fix typo in comment
4892 * buffer.C (readFile): set message_ after file is loaded.
4893 (makeDocBookFile): remove double return
4894 (changeLanguage): reset message_ upon language change.
4895 (B_): new func, use this to get translated buffer strings.
4897 * main.C: add myself and Jean Marc as authors.
4899 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * messages.[hC]: pimplify Messages, and three different pimpls to be
4902 used in different circumstances.
4904 * gettext.[Ch]: change for use with new message code.
4906 2003-04-24 André Pönitz <poenitz@gmx.net>
4908 * factory.C: support for eqref
4910 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * messages.[Ch]: add missing char
4914 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4916 * messages.[Ch]: New files
4918 2003-04-18 John Levon <levon@movementarian.org>
4922 * BufferView_pimpl.C:
4926 * text2.C: remove layout-copy/paste (bug 778)
4928 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4930 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4932 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4934 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4935 if they succeed. Act accordingly.
4937 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * text2.C (setCharFont): adjust
4940 (setCounter): adjust
4941 (insertStringAsLines): adjust
4943 * text.C (leftMargin): adjust
4944 (setHeightOfRow): adjust
4946 * rowpainter.C (paintFirst): adjust
4949 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4951 (isFirstInSequence): ditto
4952 (getEndLabel): ditto
4955 * paragraph.C (getParLanguage): comment out some hard stuff.
4957 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4959 (simpleDocBookOnePar): ditto
4960 (makeDocBookFile): use ParagraphList::iterator
4962 * CutAndPaste.C (pasteSelection): adjust
4964 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4966 * text2.C (getFont): adjust
4967 (getLayoutFont): adjust
4968 (getLabelFont): adjust
4970 * paragraph_funcs.C (TeXOnePar): adjust
4972 * buffer.C (simpleLinuxDocOnePar): adjust
4973 (simpleDocBookOnePar): adjust
4975 * CutAndPaste.C (pasteSelection): adjust
4977 * BufferView.C (getEncoding): adjust
4979 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4981 2003-04-16 John Levon <levon@movementarian.org>
4983 * lyxfind.C: use parlist stuff for search/changes
4985 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4989 * text2.C (deleteEmptyParagraphMechanism): adjust
4991 * text2.[Ch] (ownerParagraph): delete func (both of them
4993 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4995 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4997 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * ParagraphList.C: prepare for NO_NEXT
5001 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5003 * text2.C (getFont): adjust
5004 (getLayoutFont): adjust
5005 (getLabelFont): adjust
5007 * paragraph.C (getFont): adjust
5008 (getLabelFont): adjust
5009 (getLayoutFont): adjust
5011 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5013 2003-04-15 John Levon <levon@movementarian.org>
5017 * lyx_main.C: handle Include in .ui files
5019 2003-04-15 John Levon <levon@movementarian.org>
5021 * MenuBackend.C: make the doc files length shorter
5024 * ToolbarBackend.C: handle toolbar placement flags,
5027 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5032 * paragraph_funcs.C (TeXOnePar): adjust
5034 * paragraph.C (getLabelFont): add outerfont arg, adjust
5035 (getLayoutFont): ditto
5036 (simpleTeXOnePar): adjust
5038 * paragraph_pimpl.C (realizeFont): delete func
5040 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5042 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5043 row argument, constify cur argument.
5045 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * text2.C (getFont): adjust
5048 (getLayoutFont): adjust
5049 (getLabelFont): adjust
5051 * paragraph_funcs.C (TeXOnePar): adjust
5052 (outerFont): new func...
5053 (realizeFont): ...moved out from here, changed this to facilitate
5056 * paragraph.C (getFont): take outerfont as arg, adjust
5057 (simpleTeXOnePar): add outerfont arg, adjust
5059 * buffer.C (simpleLinuxDocOnePar): adjust
5060 (simpleDocBookOnePar): adjust
5062 * CutAndPaste.C (pasteSelection): adjust
5064 * BufferView.C (getEncoding): adjust
5066 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * text2.C (setCharFont): adjust
5069 (setCounter): adjust
5071 * text.C (leftMargin): adjust
5072 (setHeightOfRow): adjust
5074 * rowpainter.C (paintFirst): adjust
5077 * paragraph_pimpl.C (realizeFont): adjust
5079 * paragraph.C (isFirstInSequence): move from here...
5080 * paragraph_funcs.C (isFirstInSequence): ...to here
5082 * paragraph.C (outerHook): move from here...
5083 * paragraph_funcs.C (outerHook): ...to here
5085 * paragraph.C (depthHook): move from here...
5086 * paragraph_funcs.C (depthHook): ...to here
5088 * paragraph.C (getEndLabel): move from here...
5089 * paragraph_funcs.C (getEndLabel): ...to here
5091 * text2.C (realizeFont): move from here...
5092 * paragraph_funcs.C (realizeFont): ...to here
5094 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5096 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5098 2003-04-14 Angus Leeming <leeming@lyx.org>
5100 * LColor.[Ch]: scrap LColor mathcursor.
5102 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5104 * lyxlex.[Ch] (text): delete function
5105 * trans.C (Load): adjust
5106 * paragraph_funcs.C (readParToken): adjust
5108 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5110 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5111 vector<char> instead of a char[].
5113 * lyxlex_pimpl.C (getString): adjust
5115 (lex): use getString
5119 * lyxlex.C (text): use pimpl_->getString()
5123 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5126 (makeFontEntriesLayoutSpecific): temp var for par.size()
5127 (setLayout): temp var for ownerParagraphs().end()
5128 (fullRebreak): temp var for rows().end()
5129 (selectionAsString): temp var for boost::next(startpit), realize
5130 that the while really is a regular for loop.
5131 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5132 setCursor in one place.
5133 (setParagraph): temp vr for ownerParagraphs().end()
5134 (updateCounters): make the while loop a for loop
5135 (cutSelection): temp var for ownerParagraphs().end()
5136 (updateInset): make the do {} while() a regular for loop
5137 (getCursorX): use temp vars
5138 (setCurrentFont): use temp vars
5139 (getColumnNearX): use temp vars
5141 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5143 * text.C (transformChar): use temp var for getChar
5144 (computeBidiTables): use temp var for row->par()
5145 (fill): move temp vars for row->par() and pit->layout() earlier in
5147 (labelFill): use temp var for row->par()
5148 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5149 asc and desc, realize that pit never changes and that firstpit is
5150 just a duplicate and not needed. Exchange rit->par() with pit in a
5152 (breakAgain): use a temp var for boost::next(rit)
5153 (breakAgainOneRow): ditto
5154 (breakParagraph): use a temp var for rows().begin()
5155 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5156 (cursorRightOneWord): use temp var for cursor.par() and
5157 cursor.pos(), remove usage of tmpcursor.
5158 (cursorLeftOneWord): use temp var for cursor.par() and
5159 cursor.pos() only set cur at end of function.
5161 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5163 * text.C, text2.C: exchange all usage of Paragraph::next with
5164 boost::next(ParagraphList::iterator)
5166 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5168 * text2.C (cursorTop): simplify implementation
5169 (cursorBottom): ditto
5170 (setParagraph): use ParagraphList::iterator
5171 (setCurrentFont): adjust
5172 (getColumnNearX): adjust
5173 (cursorRight): adjust
5174 (cursorLeft): remove usage of Paragraph::previous
5175 (cursorUpParagraph): ditto
5176 (deleteEmptyParagraphMechanism): slight cleanup
5178 * text.C (isBoundary): take a Paragraph const & instead of a
5180 (addressBreakPoint): ditto
5181 (leftMargin): remove usage of Paragraph::previous.
5182 (setHeightOfRow): ditto
5183 (cursorLeftOneWord): ditto
5184 (selectNextWordToSpellcheck): ditto
5187 (breakParagraph): remove one usage of Paragraph::next
5188 (redoParagraph): ditto
5189 (acceptChange): ditto
5190 (insertChar): adjust
5191 (rowBreakPoint): adjust
5193 * bufferview_funcs.C (toggleAndShow): adjust
5195 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5197 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5198 methods to access it.
5200 * text.C: Added updateRowPositions to compute all row positions.
5201 Make top_y and getRowNearY() to use the cached y position
5203 2003-04-11 John Levon <levon@movementarian.org>
5205 * text.C (rowBreakPoint): reintroduce the labelEnd
5206 checks, code copied from the row fill stuff. Deep voodoo.
5208 * text.C (fill): add a comment and debugging for the
5211 2003-04-11 John Levon <levon@movementarian.org>
5213 * text.C: make sure fullrow insets get wrapped to the next line,
5214 even when they're in a manual label
5216 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * text2.C (insertParagraph): make it take ParagraphList::iterator
5220 (setLayout): make it return ParagraphList::iterator
5221 (redoParagraphs): ditto
5223 (checkParagraph): ditto
5225 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5227 * text2.C: adjust several funcs.
5228 (realizeFont): take a ParagraphList::iterator as arg.
5229 (getLayoutFont): ditto
5230 (getLabelFont): ditto
5231 (setCharFont): ditto
5233 * text.C: adjust several funcs.
5235 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5237 * text.C (selectNextWordToSpellcheck): don't accidentally
5240 2003-04-10 John Levon <levon@movementarian.org>
5242 * ToolbarBackend.C (getIcon): special handling for
5245 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5247 * text2.C (cursorRight): a getChar assert fixed
5249 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5251 * text2.C (getFont): change to take a ParagraphList::iterator
5252 instead of Paragraph*
5253 Adjust several functions.
5255 * text.C (transformChar): change to take a ParagraphList::iterator
5256 instead of Paragraph*
5257 (singleWidth): ditto
5258 Adjust several functions.
5260 * rowpainter.C: adjust several functions
5261 * rowpainter.h:store a ParagraphList::iterator and not a
5265 2003-04-09 John Levon <levon@movementarian.org>
5270 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5271 and the "help" bits as well
5273 2003-04-09 John Levon <levon@movementarian.org>
5276 * ToolbarBackend.C: allow multiple toolbars
5278 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5280 * undo_funcs.C (setCursorParUndo): adjust
5282 * text_funcs.C (transposeChars): adjust
5284 * text3.C (gotoNextInset): adjust
5287 * text2.C (setLayout): adjust
5288 (changeDepth): adjust
5290 (redoParagraphs): adjust
5291 (selectionAsString): adjust
5292 (setParagraph): adjust
5293 (insertInset): adjust
5294 (cutSelection): adjust
5295 (copySelection): adjust
5296 (pasteSelection): adjust
5297 (insertStringAsLines): adjust
5298 (updateInset): adjust
5299 (setCursor): change to take a ParagraphList::iterator parameter
5300 (setCursorIntern): change to take a ParagraphList::iterator parameter
5301 (setCurrentFont): adjust
5302 (cursorLeft): adjust
5303 (cursorRight): adjust
5304 (deleteEmptyParagraphMechanism): adjust
5306 * text.C (breakParagraph): adjust
5307 (insertChar): adjust
5308 (acceptChange): adjust
5309 (rejectChange): adjust
5310 (selectNextWordToSpellcheck): adjust
5311 (changeCase): adjust
5315 * lyxfind.C (SearchForward): adjust
5316 (SearchBackward): adjust
5317 (nextChange): adjust
5319 * lyxcursor.C (par): adjust
5321 * lyxcursor.h: store a ParagraphList::iterator instead of a
5324 * lyx_cb.C (getPossibleLabel): adjust
5326 * bufferview_funcs.C (toggleAndShow): adjust
5328 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5331 * BufferView.C (removeAutoInsets): adjust
5332 (lockedInsetStoreUndo): adjust
5334 2003-04-09 John Levon <levon@movementarian.org>
5336 * ToolbarBackend.C: try icon without argument
5337 if with argument fails
5339 2003-04-08 John Levon <levon@movementarian.org>
5342 * ToolbarBackend.C: add getIcon(), handle tooltip,
5343 and change from "Icon" to "Item".
5345 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5347 * BufferView.C (lockInset): another bad getchar crunched
5349 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5351 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5354 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5356 * lyxfind.C (searchForward, searchBackwards): bug 782
5358 2003-04-07 John Levon <levon@movementarian.org>
5360 * paragraph.C: remove dead comment
5362 * text.C: remove troublesome depth-fiddling code
5363 in leftMargin() and rightMargin() (bug 1017)
5365 * text.C: fix breaking of rows in nested lists
5368 * text2.C (updateCounters): fix up depth values
5371 2003-04-07 John Levon <levon@movementarian.org>
5373 * BufferView_pimpl.C: clear message when doc finishes resizing,
5374 and after a mouse event
5376 * lyxfunc.C: clear message after exiting inset
5378 2003-04-07 John Levon <levon@movementarian.org>
5380 * bufferview_funcs.C: show math status not outside
5381 status in the statusbar
5383 2003-04-07 John Levon <levon@movementarian.org>
5385 * lyxfunc.C: note status changed after a depth change
5387 2003-04-04 Angus Leeming <leeming@lyx.org>
5389 * LaTeX.h: move AuxInfo operator==, != out of line.
5390 Remove LaTeX virtual destructor; nothing derives from it.
5391 Move operator()() out of public area and rename it startscript().
5392 Change protected for private.
5394 2003-04-04 Angus Leeming <leeming@lyx.org>
5397 * text2.C: remove unneeded #includes.
5399 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5401 * text2.C (dEPM): fix the heigth of the next row
5403 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5405 * text.C: squashed an invalid getChar requester + some ws changes
5407 2003-04-03 John Levon <levon@movementarian.org>
5409 * bufferview_funcs.h:
5410 * bufferview_funcs.C:
5413 * text2.C: make getStatus work for the env depth lfuns
5415 2003-04-03 John Levon <levon@movementarian.org>
5417 * bufferview_funcs.h:
5418 * bufferview_funcs.C:
5421 * text2.C: parlistize decDepth(), by merging it with incDepth()
5423 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * lyxrow.h: store a ParagraphList::iterator instead of a
5426 Paragraph* and adjust other class functions to suit.
5428 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5431 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5433 * text2.C (setCursor): do not anchor to cursor row for the time being
5435 2003-04-02 John Levon <levon@movementarian.org>
5442 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5444 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5446 * paragraph.h: make ParagraphList and ParagraphList::iterator
5447 friends of Paragraph.
5449 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5451 * ParagraphList.C: Use the private next_ and previous_ from
5454 2003-04-01 John Levon <levon@movementarian.org>
5458 * Makefile.am: rename, remove defaults gunk
5461 * MenuBackend.C: remove defaults gunk
5464 * Languages.C: remove defaults gunk
5467 * lyx_main.C: error out if files couldn't be found.
5469 2003-04-02 John Levon <levon@movementarian.org>
5471 * text2.C: make incDepth() use parlist
5473 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * undo_funcs.C (firstUndoParagraph): adjust
5477 * text3.C (gotoInset): adjust
5478 (dispatch): adjust, and rewrite loop.
5480 * text2.C (init): adjust, and rewrite loop.
5481 (redoParagraphs): adjust
5482 (updateInset): adjust, and rewrite loop.
5483 (deleteEmptyParagraphMechanism): adjust
5485 * tabular.C (LyXTabular): adjust
5486 (SetMultiColumn): adjust
5489 * lyxtext.[Ch] (ownerParagraph): delete function
5490 (ownerParagraphs): new function returns a ParagraphList.
5492 * BufferView.C (removeAutoInsets): adjust
5493 (insertErrors): adjust
5494 (setCursorFromRow): adjust
5496 2003-04-01 Angus Leeming <leeming@lyx.org>
5498 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5501 2003-04-02 John Levon <levon@movementarian.org>
5507 * text_funcs.C: make transposeChars a free function
5509 * lyxrow_funcs.C: remove wrong comment
5511 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * rowpainter.C: adjust
5519 * lyxrow_funcs. [Ch]: new files
5521 * lyxrow.[Ch]: remove next and previous pointers
5522 (next,previous): remove accessor functions
5523 (isParEnd): move to lyxrow_funcs
5524 (lastPos): move to lyxrow_funcs
5525 (nextRowIsAllInset): move to lyxrow_funcs
5526 (lastPrintablePos): move to lyxrow_funcs
5527 (numberOfSeparators): move to lyxrow_funcs
5528 (numberOfHfills): move to lyxrow_funcs
5529 (numberOfLabelHfills): move to lyxrow_funcs
5530 (hfillExpansion): move to lyxrow_funcs
5534 * bufferview_funcs.C (toggleAndShow): adjust
5536 * RowList.h: Remove class RowList from file leave just a
5539 * RowList.C: delete file
5541 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5544 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * text3.C (cursorPrevious): adjust
5547 (cursorNext): adjust
5550 * text2.C (redoHeightOfParagraph): adjust
5551 (redoDrawingOfParagraph): adjust
5554 * text.C (breakParagraph): adjust
5555 (insertChar): adjust
5558 * rowpainter.C (RowPainter): adjust
5559 (leftMargin): simplify and adjust
5560 (most rowpainter functions): adjust.
5562 * rowpainter.h: store the row as RowList::iterator not as Row*
5564 * lyxcursor.C (row): taka RowList::iterator as arg
5567 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5570 2003-04-01 Angus Leeming <leeming@lyx.org>
5572 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5573 stuff like bool Bool.
5575 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5577 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5580 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5582 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5585 * lyxtext.h (rows): drop one version and leve a const variant that
5586 returns a RowList::iterator.
5588 2003-03-31 Angus Leeming <leeming@lyx.org>
5590 * text.C (fill): ensure that the signature is the same as that in the
5593 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5595 * text2.C (redoParagraphs): adjust
5596 (updateCounters): adjust
5597 (checkParagraph): adjust
5598 (getColumnNearX): adjust and reformat a bit.
5600 * text.C (top_y): adjust
5602 (leftMargin): adjust
5603 (prepareToPrint): adjust
5605 (getRowNearY): adjust
5607 * lyxtext.h: make rowlist_ mutable.
5609 * RowList.h: add const_iterator
5610 * RowList.C: adjust for RowList::const_iterator.
5612 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5615 2003-03-31 John Levon <levon@movementarian.org>
5618 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5620 * lyx_main.C: set default fonts from using lyx_gui funcs
5622 * exporter.C: pdf_mode moved from lyxrc
5625 * lyxfunc.C: changes from above
5627 2003-03-31 John Levon <levon@movementarian.org>
5629 * lyx_main.C: fix to the last fix
5631 2003-03-31 John Levon <levon@movementarian.org>
5633 * bufferlist.C: "Load original" -> "Load Original"
5639 * format.C: more Alert cleanups
5641 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * text2.C (removeParagraph): make it take a RowList::iterator as
5645 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5646 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5648 * text.C (anchor_row): make it take a RowList::iterator as arg,
5650 (computeBidiTables): make it take a const reference to Row instead
5651 of Row pointer, adjust.
5652 (leftMargin): make it take a RowList::iterator as arg, adjust.
5653 (rowBreakPoint): adjust
5654 (breakAgainOneRow): make it take a RowList::iterator as arg,
5656 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5658 * bufferview_funcs.C (toggleAndShow): adjust
5660 2003-03-30 John Levon <levon@movementarian.org>
5664 * boost-inst.C: moved to support
5666 * several files: changes as a result
5668 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5670 * text2.C (LyXText): adjust.
5672 (removeRow): make it take a RowList::iterator as arg, adjust.
5673 (fullRebreak): adjust
5674 (deleteEmptyParagraphMechanism): adjust
5675 (clearPaint): adjust
5678 * text.C (top_y): adjust
5679 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5680 (breakAgain): make it take a RowList::iterator as arg, adjust.
5681 (breakParagraph): adjust
5682 (insertChar): adjust
5685 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5686 need_break_row, and refresh_row.
5688 * text3.C (dispatch): adjust
5690 * text2.C (checkParagraph): adjust
5692 (setCursorFromCoordinates): adjust
5694 * text.C (top_y): adjust
5696 (getRow): make it return a RowList::iterator, adjust
5697 (getRowNearY): make it return a RowList::iterator, adjust
5699 * text2.C (init): adjust
5700 (insertRow): remove function
5701 (insertParagraph): adjust
5702 (redoParagraphs): adjust
5703 (fullRebreak): adjust
5704 (updateCounters): adjust
5706 * text.C (top_y): rewrite to use RowList iterators.
5708 (setHeightOfRow): rewrite to sue RowList iterators.
5709 (appendParagraph): adjust
5710 (breakAgain): adjust
5711 (breakAgainOneRow): adjust
5712 (breakParagraph): adjust
5714 (getRowNearY): adjust, and remove commented code.
5716 * lyxtext.h (firstRow): delete function
5717 (lastRow): delete function
5718 (rows): new function (const and non-const versions.)
5719 (insertRow): delete function
5721 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5723 2003-03-29 John Levon <levon@movementarian.org>
5725 * BufferView_pimpl.C: always update scrollbar top
5726 because pasting text when we're anchored could mean we
5727 miss an update altogether
5729 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5731 * text2.C (init): use rowlist_.end() and not 0.
5732 (insertRow): change to take a RowList::iterator as arg, adjust
5734 (insertParagraph): change to take a RowList::iterator as arg,
5736 (redoParagraphs): remove some debug msgs.
5738 * text.C (appendParagraph): change to take a RowList::iterator
5739 arg, adjust for this.
5740 (breakAgain): add an assert
5741 (breakAgainOneRow): ditto
5743 2003-03-29 John Levon <levon@movementarian.org>
5745 * text2.C: do not clear selection after inc/decDepth
5748 2003-03-29 John Levon <levon@movementarian.org>
5751 * buffer.C: fix broken strerrors according to Lars
5753 2003-03-29 John Levon <levon@movementarian.org>
5755 * converters.C: more Alert cleanups
5757 2003-03-29 John Levon <levon@movementarian.org>
5759 * bufferview_funcs.C: remove pointless Alert
5761 * buffer.C: fix confusing error message when
5762 a template is chmoded 000
5764 2003-03-29 John Levon <levon@movementarian.org>
5768 * BufferView_pimpl.C: Alert fixes
5772 * tabular-old.C: remove unused table compat reading
5774 2003-03-29 John Levon <levon@movementarian.org>
5779 * lyx_cb.C: more Alert cleanups
5781 * lyxfunc.C: don't allow chktex if not latex document
5783 2003-03-29 John Levon <levon@movementarian.org>
5787 * buffer.C: warnings pushed down from support/,
5790 2003-03-29 John Levon <levon@movementarian.org>
5792 * lyxfunc.C: safety check for C-r (revert)
5794 2003-03-29 John Levon <levon@movementarian.org>
5797 * bufferlist.C: several UI fixes using Alert::prompt.
5798 Fix the pointless looping quit code. Fix stupid revert
5803 * lyx_cb.C: use Alert::prompt
5805 * lyx_main.C: remove a silly question
5807 * lyxfunc.C: remove a couple of silly questions,
5810 2003-03-28 John Levon <levon@movementarian.org>
5812 * text2.C: fix bug 974 (End on empty par)
5814 2003-03-28 John Levon <levon@movementarian.org>
5816 * BufferView_pimpl.C:
5818 * lfuns.h: remove do-nothing math greek lfuns
5820 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * lyxgluelength.h (isValidGlueLength): add default arg on
5823 parameter 2. Remove default arg from friend in class.
5825 * lyxlength.h (isValidLength): add default arg on parameter 2.
5826 Remove default arg from friend in class.
5828 * text2.C (LyXText): adjust, initialize refresh_row.
5832 (insertParagraph): adjst
5833 (redoParagraphs): adjust
5834 (fullRebreak): adjust
5835 (updateCounters): adjust
5836 (deleteEmptyParagraphMechanism): first attempt at fixing a
5839 * text.C (top_y): adjust
5840 (setHeightOfRow): adjust
5842 (getRowNearY): adjust
5844 * lyxtext.h: include RowList.h
5845 (~LyXText): not needed anymore, deleted.
5846 (firstRow): modify for RowList
5847 (lastRow): new function
5848 Delete firstrow and lastrow class variables, add a Rowlist
5849 rowlist_ class variable.
5851 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5854 * RowList.C (insert): fix case where it == begin().
5856 2003-03-26 Angus Leeming <leeming@lyx.org>
5858 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5859 the thesaurus dialog.
5861 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5863 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5865 * RowList.[Ch]: new files
5867 * ParagraphList.C (erase): handle the case where it == begin
5870 2003-03-25 John Levon <levon@movementarian.org>
5874 * aspell.C: add new aspell support
5877 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5880 2003-03-25 Angus Leeming <leeming@lyx.org>
5883 * LyXAction.C (init): new LFUN_INSET_INSERT.
5885 * BufferView_pimpl.C (dispatch): split out part of the
5886 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5888 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5891 2003-03-25 Angus Leeming <leeming@lyx.org>
5893 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5895 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5898 * text3.C: remove useless row->height(0)
5900 2003-03-25 John Levon <levon@movementarian.org>
5904 * text3.C: rename the refreshing stuff to better names
5906 2003-03-24 John Levon <levon@movementarian.org>
5908 * BufferView_pimpl.h:
5909 * BufferView_pimpl.C: update layout choice on a mouse
5912 2003-03-23 John Levon <levon@movementarian.org>
5914 * Makefile.am: fix commandtags.h reference
5916 2003-03-22 John Levon <levon@movementarian.org>
5918 * BufferView_pimpl.C:
5923 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5925 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5928 * text.C: take the rtl methods out of line
5930 2003-03-21 André Pönitz <poenitz@gmx.net>
5932 * metricsinfo.[Ch]: new files containing structures to be passed around
5933 during the two-phase-drawing...
5935 2003-03-21 André Pönitz <poenitz@gmx.net>
5937 * lyxtextclass.C: read 'environment' tag.
5939 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5941 * text2.C (removeRow): fix bug 964
5943 2003-03-20 John Levon <levon@movementarian.org>
5947 * text2.C: paint cleanups. Inset::update() dropped font
5950 2003-03-19 John Levon <levon@movementarian.org>
5952 * lyxfunc.C: only fitcursor/markDirty if available()
5954 2003-03-19 John Levon <levon@movementarian.org>
5956 * commandtags.h: rename to ...
5958 * lfuns.h: ... this, and renumber / cleanup
5960 2003-03-19 John Levon <levon@movementarian.org>
5962 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5963 fit the cursor after an lfun
5967 * BufferView_pimpl.h:
5968 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5970 * LyXAction.C: layout-character should have ReadOnly
5972 * ParagraphParameters.C:
5974 * bufferview_funcs.C:
5981 * undo_funcs.C: changes from above
5983 2003-03-18 John Levon <levon@movementarian.org>
5985 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5986 remove it from update()
5988 * lyxfunc.C: update layout choice after an lfun
5990 * text3.C: remove extra updateLayoutChoice()s
5992 2003-03-18 John Levon <levon@movementarian.org>
5994 * text.C: top_y change means full repaint, fix
5995 a drawing bug with cursor movement
5997 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6001 * text2.C: anchor row on setCursor
6003 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6005 * lyxtext.h: remove almost all mutable keywords
6008 * text3.C: remove const keywords accordingly
6010 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6014 (TeXEnvironment): ditto
6017 2003-03-17 John Levon <levon@movementarian.org>
6019 * text.C (rowBreakPoint): remove attempt to fix displayed
6020 math insets inside a manual label
6022 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * lyxtext.h: remove BufferView* as first arg from almost all class
6026 * other files: adjust.
6028 2003-03-17 John Levon <levon@movementarian.org>
6032 * text2.C: more paint cleanups
6034 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6037 * rowpainter.C: remove "smart" background painting code
6039 2003-03-16 John Levon <levon@movementarian.org>
6044 * text3.C: add helper functions for setting refresh_row/y
6046 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6048 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6049 newline inset which *can* get inserted in the pass_thru layouts.
6050 This is primarily for literate documents.
6052 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6054 * buffer.C: increment LYX_FORMAT to 223
6056 2003-03-14 André Pönitz <poenitz@gmx.net>
6058 * textclass.h: prepare for environment handling, ws changes
6059 * lyxlayout.C: read latexheader and latexfooter tags
6061 2003-03-14 John Levon <levon@movementarian.org>
6063 * text2.C: rewrite ::status() a bit
6065 2003-03-13 John Levon <levon@movementarian.org>
6067 * lyxtext.h: add some docs
6069 2003-03-13 John Levon <levon@movementarian.org>
6074 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6076 2003-03-13 John Levon <levon@movementarian.org>
6078 * text3.C: fix appendix redrawing
6080 2003-03-13 John Levon <levon@movementarian.org>
6082 * text.C (setHeightOfRow):
6084 * rowpainter.C: make appendix mark have the text
6085 "Appendix" so the user knows what it is
6088 * LColor.C: s/appendixline/appendix/ from above
6090 2003-03-13 John Levon <levon@movementarian.org>
6092 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6094 * text.C: fix a getChar(pos) bug properly
6096 2003-03-13 Angus Leeming <leeming@lyx.org>
6099 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6100 Probably only temporary. Let's see how things pan out.
6102 * BufferView.C (unlockInset):
6103 * BufferView_pimpl.C (fitCursor):
6104 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6106 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6107 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6109 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6110 new functions that convert ParagraphParameters to and from a string.
6112 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6113 BufferView::Pimpl's dispatch.
6114 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6116 2003-03-13 André Pönitz <poenitz@gmx.net>
6120 * factory.C: make it aware of InsetEnv
6122 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * text2.C (setCursor): never ask for one past last
6125 (setCursor): add some debugging messages.
6127 * text.C (singleWidth): never ask for one past last
6128 (singleWidth): ditto
6130 (rightMargin): ditto
6131 (rowBreakPoint): ditto
6132 (setHeightOfRow): ditto
6133 (prepareToPrint): ditto
6135 * rowpainter.C (paintBackground): never ask for one past last
6136 (paintText): never ask for one past last
6138 * paragraph_pimpl.C (getChar): make the assert stricter, never
6139 allow the one past last pos to be taken
6141 * paragraph.C (getChar): ws changes only
6143 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6144 (numberOfSeparators): ditto
6145 (numberOfHfills): ditto
6147 2003-03-12 John Levon <levon@movementarian.org>
6153 * paragraph_funcs.C: fix per-buffer authorlists
6155 2003-03-12 John Levon <levon@movementarian.org>
6157 * text.C: fix newline in right address
6159 2003-03-12 Angus Leeming <leeming@lyx.org>
6161 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6162 duplicate those in LyXFunc::dispatch.
6166 * ToolbarDefaults.C:
6167 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6168 Add LFUN_FONTFREE_UPDATE.
6170 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6171 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6173 * bufferview_func.[Ch]: several new functions to facilliate
6174 transfer of data to and from the character dialog.
6176 2003-03-12 John Levon <levon@movementarian.org>
6181 * paragraph_funcs.C:
6182 * paragraph_pimpl.C:
6186 * text3.C: remove META_NEWLINE in favour of an inset
6189 * rowpainter.C: remove paintNewline (done by inset)
6191 2003-03-12 John Levon <levon@movementarian.org>
6193 * paragraph_pimpl.C: complain about bad getChar()s
6194 for a while at least
6196 2003-03-12 John Levon <levon@movementarian.org>
6199 * buffer.C: move paragraph read into a separate function,
6200 a little renaming to reflect that.
6203 * bufferparams.C: remove the author_ids map, not necessary now
6206 * factory.C: moved Buffer::readInset to here
6208 * paragraph_funcs.h:
6209 * paragraph_funcs.C: readParagraph free function moved from
6212 * tabular.C: name change
6214 2003-03-12 John Levon <levon@movementarian.org>
6217 * ParagraphParameters.C: move par params input to
6220 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6221 behave like a normal read from the stream wrt reading
6222 a line vs. a \\token
6224 2003-03-12 John Levon <levon@movementarian.org>
6227 * ParagraphParameters.h:
6228 * ParagraphParameters.C: move output code to a
6231 2003-03-12 John Levon <levon@movementarian.org>
6233 * BufferView.C (insertLyXFile):
6236 * tabular.C: use a parlist iterator for creating the
6239 2003-03-12 John Levon <levon@movementarian.org>
6241 * buffer.C: make current_change static local not
6244 2003-03-12 John Levon <levon@movementarian.org>
6246 * buffer.C: fix insertStringAsLines for change tracking
6248 2003-03-12 John Levon <levon@movementarian.org>
6255 * bufferparams.C: move author list into params. Rename some
6256 functions. Move the header reading into a separate token
6257 loop. Move the header token reading into BufferParams.
6259 2003-03-12 John Levon <levon@movementarian.org>
6261 * changes.C: put debug inside lyxerr.debugging() checks
6263 2003-03-11 André Pönitz <poenitz@gmx.net>
6265 * factory.C: make it aware of InsetHFill
6267 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6269 * buffer.C (latexParagraphs): move function from here...
6270 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6273 2003-03-10 Angus Leeming <leeming@lyx.org>
6275 * LyXAction.C (init): fix bug in poplating array with multiple entries
6276 with the same LFUN (spotted by JMarc).
6278 2003-03-10 John Levon <levon@movementarian.org>
6281 * text2.C: move getColumnNearX() near its
6284 2003-03-10 John Levon <levon@movementarian.org>
6286 * text.C: fix break before a minipage
6288 2003-03-10 John Levon <levon@movementarian.org>
6290 * text.C: fix the last commit
6292 2003-03-09 John Levon <levon@movementarian.org>
6296 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6297 bug 365 (don't break before insets unless needed). Don't
6298 return a value > last under any circumstances.
6300 2003-03-09 Angus Leeming <leeming@lyx.org>
6302 * BufferView_pimpl.C (trackChanges, dispatch): call
6303 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6305 2003-03-09 Angus Leeming <leeming@lyx.org>
6307 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6308 than Dialogs::showAboutlyx().
6310 2003-03-09 Angus Leeming <leeming@lyx.org>
6312 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6313 than Dialogs::showTabularCreate().
6315 2003-03-09 John Levon <levon@movementarian.org>
6319 * text2.C: 3rd arg to nextBreakPoint was always the same.
6322 2003-03-08 John Levon <levon@movementarian.org>
6329 * text2.C: Remove the "main" bit from the "main body"
6332 2003-03-08 John Levon <levon@movementarian.org>
6334 * text.C (leftMargin): The left margin of an empty
6335 manual label paragraph should not include the label width
6338 * text.C (prepareToPrint): don't attempt to measure hfills
6339 for empty manual label paragraphs - the answer should be 0
6341 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6343 * CutAndPaste.C: remove commented code and reindent.
6345 2003-03-08 John Levon <levon@movementarian.org>
6348 * lyxfunc.C: move reloadBuffer()
6351 * BufferView.C: to here
6353 * lyxvc.C: add comment
6356 * vc-backend.C: call bv->reload() to avoid
6357 getStatus() check on MENURELOAD
6359 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6361 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6362 to an old format .dep file.
6364 2003-03-07 Angus Leeming <leeming@lyx.org>
6366 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6367 when the LFUN_MOUSE_RELEASE should have been handled by
6368 inset->localDispatch.
6370 2003-03-07 Angus Leeming <leeming@lyx.org>
6372 * BufferView_pimpl.C (dispatch):
6373 * LyXAction.C (init):
6374 * ToolbarDefaults.C (init):
6376 * lyxfunc.C (getStatus):
6377 remove LFUN_INSET_GRAPHICS.
6379 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6381 2003-03-07 Angus Leeming <leeming@lyx.org>
6384 * LyXAction.C (init):
6385 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6387 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6390 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6392 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6393 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6395 2003-03-07 Angus Leeming <leeming@lyx.org>
6397 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6400 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * ParagraphList.C (front): new function
6405 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6407 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6408 and top_row_offset_. removed var first_y.
6410 * text2.C (LyXText, removeRow):
6412 * BufferView_pimpl.C:
6413 use these methods instead of using first_y
6415 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6417 * text2.C (pasteSelection): adjust for checkPastePossible
6419 * CutAndPaste.C: remove Paragraph * buf and replace with
6420 ParagraphList paragraphs.
6421 (DeleteBuffer): delete
6422 (cutSelection): change the tc type to textclass_type
6423 (copySelection): change the tc type to textclass_type
6424 (copySelection): adjust for ParagraphList
6425 (pasteSelection): change the tc type to textclass_type
6426 (pasteSelection): adjust for Paragraphlist
6427 (nrOfParagraphs): simplify for ParagraphList
6428 (checkPastePossible): simplify for ParagraphList
6429 (checkPastePossible): remove unused arg
6431 * ParagraphList.C (insert): handle the case where there are no
6434 * CutAndPaste.h: make CutAndPaste a namespace.
6436 * text3.C (dispatch): adjust
6438 * text.C (breakParagraph): add a ParagraphList as arg
6440 * paragraph_funcs.C (breakParagraph): change to take a
6441 BufferParams and a ParagraphList as args.
6442 (breakParagraphConservative): ditto
6443 (mergeParagraph): ditto
6444 (TeXDeeper): add a ParagraphList arg
6445 (TeXEnvironment): ditto
6448 * buffer.C (readLyXformat2): adjust
6449 (insertStringAsLines): adjust
6450 (latexParagraphs): adjust
6452 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6453 (cutSelection): adjust
6454 (pasteSelection): adjust
6456 * BufferView_pimpl.C (insertInset): adjust
6458 2003-03-05 Angus Leeming <leeming@lyx.org>
6461 * LyXAction.C (init):
6462 * BufferView_pimpl.C (dispatch):
6463 * lyxfunc.C (getStatus):
6464 remove LFUN_CHILD_INSERT.
6466 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6468 2003-03-05 Angus Leeming <leeming@lyx.org>
6471 * LyXAction.C (init):
6472 * src/factory.C (createInset):
6473 * lyxfunc.C (getStatus):
6474 * text3.C (dispatch):
6475 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6477 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6479 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6481 * ParagraphList.C (insert): handle insert right before end()
6482 (erase): fix cases where it can be first or last paragraph.
6484 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6487 Paragraph::next and Paragraph::previous
6490 * text.C (breakParagraph): adjust
6492 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6493 BufferParams& as arg.
6494 (breakParagraph): use ParagraphList::insert
6495 (breakParagraphConservative): take a Buffer* instead of a
6496 BufferParams& as arg.
6497 (breakParagraphConservative): use ParagraphList::insert.
6499 * buffer.C (insertStringAsLines): un-const it
6500 (insertStringAsLines): adjust
6502 * ParagraphList.C (insert): new function
6504 * CutAndPaste.C (pasteSelection): adjust
6506 * text.C (backspace): adjust
6508 * tabular.C (SetMultiColumn): adjust
6510 * CutAndPaste.C (cutSelection): adjust
6511 (pasteSelection): adjust
6513 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6514 Buffer const * as arg
6516 * ParagraphList.C (erase): new function
6517 * paragraph_funcs.C (mergeParagraph): use it
6518 (mergeParagraph): make it take a Buffer* instead of a
6519 BufferParams* as arg
6521 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6523 (breakParagraphConservative): ditto
6525 * paragraph.h: remove the breakParagraph friend
6527 * paragraph.C (eraseIntern): new function
6528 (setChange): new function
6530 * paragraph_funcs.C (mergeParagraph): make it take a
6531 ParagraphList::iterator instead of a Paragraph *, adjust
6534 * paragraph.h: move an #endif so that the change tracking stuff
6535 also works in the NO_NEXT case.
6537 2003-03-04 Angus Leeming <leeming@lyx.org>
6540 * LyXAction.C: new LFUN_INSET_MODIFY.
6542 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6543 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6545 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6547 * several files: ws changes only
6549 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6550 (TeXEnvironment): ditto
6553 * buffer.C (makeLaTeXFile): adjust
6554 (latexParagraphs): make it take ParagraphList::iterator as args
6556 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6558 * buffer.C (latexParagraphs): adjust
6560 * paragraph.C (TeXOnePar): move function...
6561 (optArgInset): move function...
6562 (TeXEnvironment): move function...
6563 * paragraph_pimpl.C (TeXDeeper): move function...
6564 * paragraph_funcs.C: ...here
6566 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6568 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * buffer.C (readInset): remove compability code for old Figure and
6573 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6575 * buffer.C: ws changes
6578 * BufferView_pimpl.C: ditto
6581 * bufferlist.h: ditto
6585 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6587 * converter.[Ch]: split into itself +
6590 * Makefile.am: += graph.[Ch] + format.[Ch]
6597 * lyxrc.C: added #include "format.h"
6599 2003-02-27 Angus Leeming <leeming@lyx.org>
6601 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6604 * factory.C (createInset): add "label" to the factory.
6606 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6607 string and do no more.
6609 2003-02-27 Angus Leeming <leeming@lyx.org>
6612 * LyXAction.C (init):
6613 * factory.C (createInset):
6614 * BufferView_pimpl.C (dispatch):
6615 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6617 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6619 * lyxfunc.C (dispatch):
6620 * text3.C (dispatch): pass name to params2string.
6622 2003-02-26 Angus Leeming <leeming@lyx.org>
6624 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6626 Rearrange the ~includes. Strip out the unnecessary ones.
6628 * factory.C (createInset): reformat.
6629 create new insets for the various LFUN_XYZ_APPLY lfuns.
6631 2003-02-26 John Levon <levon@movementarian.org>
6634 * lyxrow.C: add isParStart,isParEnd helpers
6636 * paragraph.h: make isInserted/DeletedText take refs
6638 * paragraph_funcs.h:
6639 * paragraph_funcs.C: remove #if 0'd code
6644 * text.C: use lyxrow helpers above.
6645 Move draw and paint routines to RowPainter.
6646 Make several methods use refs not pointers.
6647 Make backgroundColor() const.
6648 Add markChangeInDraw(), isInInset().
6649 Merge changeRegionCase into changeCase.
6650 Make workWidth() shouldn't-happen code into an Assert.
6653 * rowpainter.C: new class for painting a row.
6656 * vspace.C: make inPixels take a ref
6658 2003-02-26 Angus Leeming <leeming@lyx.org>
6660 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6663 2003-02-25 John Levon <levon@movementarian.org>
6665 * ispell.C: give the forked command a more accurate name
6667 2003-02-22 John Levon <levon@movementarian.org>
6670 * toc.C: make TocItem store an id not a Paragraph *
6673 2003-02-21 Angus Leeming <leeming@lyx.org>
6675 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6676 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6677 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6678 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6679 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6680 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6682 * BufferView_pimpl.C (dispatch):
6683 * LyXAction.C (init):
6684 * factory.C (createInset):
6685 * lyxfunc.C (getStatus, dispatch):
6686 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6688 2003-02-21 Angus Leeming <leeming@lyx.org>
6690 * BufferView_pimpl.C (MenuInsertLyXFile):
6691 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6692 * lyxfunc.C (menuNew, open, doImport):
6693 no longer pass a LyXView & to fileDlg.
6695 2003-02-21 Angus Leeming <leeming@lyx.org>
6697 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6698 * LyXAction.C: change, BIBKEY to BIBITEM.
6699 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6700 Change InsetBibKey to InsetBibitem.
6701 Change BIBKEY_CODE to BIBITEM_CODE.
6702 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6703 * factory.C: replace insetbib.h with insetbibitem.h.
6704 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6705 * paragraph.C: replace insetbib.h with insetbibitem.h.
6706 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6707 Change bibkey() to bibitem().
6708 * text.C: remove insetbib.h.
6709 * text2.C: replace insetbib.h with insetbibitem.h.
6710 change bibkey() to bibitem().
6711 * text3.C: remove insetbib.h.
6712 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6714 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6716 * lyxrc.C (output): enclose user email in quotes (in case there are
6719 2003-02-18 John Levon <levon@movementarian.org>
6721 * buffer.h: add std::
6723 2003-02-17 John Levon <levon@movementarian.org>
6729 * pspell.C: reworking. Especially in ispell, a large
6730 number of clean ups and bug fixes.
6732 * lyxfunc.C: fix revert to behave sensibly
6734 2003-02-17 André Pönitz <poenitz@gmx.net>
6737 * commandtags.h: new LFUN_INSERT_BIBKEY
6747 * paragraph_func.C: remove special bibkey handling
6749 2003-02-17 John Levon <levon@movementarian.org>
6751 * text.C (Delete): fix case where delete at the end of
6752 the very first paragraph would not merge the pars
6754 2003-02-17 John Levon <levon@movementarian.org>
6756 * lyxrow.C: fix lastPrintablePos()
6758 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6760 * bufferparams.C (writeLaTeX): add a std:here
6762 * buffer.C: and remove a using directive there
6764 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6766 * buffer.C (makeLaTeXFile): move the code that generates the
6769 * bufferparams.C (writeLaTeX): ... in this new method
6771 * LaTeXFeatures.C (getEncodingSet): make const
6772 (getLanguages): make const
6774 * MenuBackend.C (binding): returns the binding associated to this
6776 (add): sets the status of each item by calling getStatus. Adds
6778 (read): add support for OptSubMenu
6779 (expand): remove extra separator at the end of expanded menu
6781 2003-02-15 John Levon <levon@movementarian.org>
6784 * BufferView_pimpl.C:
6786 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6787 inset code that had no actual effect. Remove unneeded status
6790 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6792 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6795 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6797 * text.C (drawLengthMarker): also draw an arrow marker for
6798 symbolic lengths (medskip...)
6800 2003-02-14 John Levon <levon@movementarian.org>
6803 * tabular.C: better method names
6805 2003-02-14 John Levon <levon@movementarian.org>
6807 * BufferView_pimpl.C:
6812 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6813 it's a more accurate name. Remove some pointless uses.
6815 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6817 * text2.C (LyXText): change order of initilizers to shut off
6820 2003-02-14 John Levon <levon@movementarian.org>
6822 * buffer.C: use ParIterator for getParFromID()
6826 * paragraph_pimpl.h:
6827 * paragraph_pimpl.C: remove unused getParFromID()
6829 2003-02-14 John Levon <levon@movementarian.org>
6831 * buffer.C: remove some very old #if 0'd parse code
6833 2003-02-13 John Levon <levon@movementarian.org>
6837 * text2.C: move hfillExpansion(), numberOfSeparators(),
6838 rowLast(), rowLastPrintable(), numberofHfills(),
6839 numberOfLabelHfills() ...
6842 * lyxrow.C: ... to member functions here.
6847 * text.C: remove LyXText::beginningOfMainBody(), and call
6848 p->beginningOfMainBody() directly. Move the check for
6849 LABEL_MANUAL into the latter.
6856 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6862 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6863 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6865 2003-02-13 John Levon <levon@movementarian.org>
6867 * CutAndPaste.C: remove debug
6869 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6871 * paragraph.C (asString): remove two unused variables
6873 * lyxtextclass.C (readTitleType):
6875 (LyXTextClass): handle new members titletype_ and titlename_
6877 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6879 2003-02-09 John Levon <levon@movementarian.org>
6882 * buffer.C: replace hand-coded list with a map for the dep clean
6884 2003-02-08 John Levon <levon@movementarian.org>
6886 * LaTeX.C: consolidate code into showRunMessage() helper
6888 2003-02-08 John Levon <levon@movementarian.org>
6893 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6894 and pass the size in explicitly
6896 * BufferView_pimpl.h:
6897 * BufferView_pimpl.C:
6899 * BufferView.C: add getCurrentChange()
6901 * BufferView_pimpl.h:
6902 * BufferView_pimpl.C: handle change lfuns
6904 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6905 for changes. Mark pasted paragraphs as new.
6907 * support/lyxtime.h:
6908 * support/lyxtime.C:
6909 * DepTable.C: abstract time_t as lyx::time_type
6912 * LColor.C: add colours for new text, deleted text, changebars
6914 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6915 package use "usenames" option.
6919 * LyXAction.C: add change lfuns
6923 * author.C: author handling
6926 * buffer.C: add a per-buffer author list, with first entry as
6927 current author. Handle new .lyx tokens for change tracking. Output
6928 author list to .lyx file. Output dvipost stuff to .tex preamble.
6929 Bump lyx format to 222.
6932 * bufferlist.C: add setCurrentAuthor() to reset current author details
6936 * bufferparams.C: add param for tracking
6938 * bufferview_funcs.C: output change info in minibuffer
6942 * changes.C: add change-tracking structure
6945 * debug.C: add CHANGES debug flag
6948 * lyxfind.C: add code for finding the next change piece
6951 * lyxrc.C: add user_name and user_email
6954 * lyxrow.C: add a metric for the top of the text line
6957 * text.C: implement accept/rejectChange()
6960 * text.C: paint changebars. Paint new/deleted text in the chosen
6961 colours. Strike through deleted text.
6965 * paragraph_pimpl.h:
6966 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6967 in the current change to the insert functions. Rework erase to
6968 mark text as deleted, adding an eraseIntern() and a range-based
6969 erase(). Implement per-paragraph change lookup and
6972 * paragraph_funcs.C: Fixup paste for change tracking.
6974 * tabular.C: mark added row/columns as new.
6976 * text.C: fix rowLast() to never return -1. Don't allow
6977 spellchecking of deleted text. Track transpose changes. Don't
6978 allow paragraph break or merge where appropriate.
6980 * text2.C: leave cursor at end of selection after a cut.
6982 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6984 * text.C (getLengthMarkerHeight):
6985 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6986 visible on screen too.
6988 2003-02-07 John Levon <levon@movementarian.org>
6990 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6992 2003-02-05 Angus Leeming <leeming@lyx.org>
6994 * lyxserver.C (read_ready): revert my patch of 11 September last year
6995 as it sends PC cpu through the roof. Presumably this means that
6996 the lyxserver will no longer run on an Alpha...
6998 2003-01-30 Angus Leeming <leeming@lyx.org>
7000 * factory.C (createInset): create an InsetCommandParam of type "index"
7001 and use it to 'do the right thing'.
7003 * text2.C (getStringToIndex): ensure that cursor position is always
7004 reset to the reset_cursor position.
7006 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7008 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7011 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7015 * lyxfunc.C: Output messages with identical spelling, punctuation,
7018 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7020 * MenuBackend.C (expandFormats): List only viewable export formats
7023 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7026 * lyxfunc.C (getStatus): Make sure that formats other than
7027 "fax" can also be disabled
7029 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7031 * text3.C (dispatch): put the lfuns that insert insets in 3
7032 groups, and call doInsertInset with appropriate arguments.
7033 (doInsertInset): new function, that creates an inset and inserts
7034 it according to some boolean parameters.
7036 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7038 * buffer.C (readFile): remember to pass on 'par' when calling
7039 readFile recursively.
7041 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7043 * MenuBackend.C (expandFormats): add "..." to import formats.
7045 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7047 * paragraph.C (asString): Remove XForms RTL hacks.
7049 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7050 * buffer.C: fix typo
7052 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * Makefile.am (LIBS): delete var
7055 (lyx_LDADD): add @LIBS@ here instead.
7057 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7059 * Clarify the meaning of "wheel mouse jump"
7061 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7063 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7066 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7068 * importer.C (Loaders): do not preallocate 3 elements in the
7069 vector, since one ends up with 6 elements otherwise
7071 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7073 * DepTable.C (write): write the file name as last element of the
7074 .dep file (because it may contain spaces)
7075 (read): read info in the right order
7077 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7079 * paragraph_pimpl.C (simpleTeXBlanks):
7080 (simpleTeXSpecialChars):
7081 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7083 * tabular.C (latex): add some missing case statements. Reindent.
7085 * MenuBackend.C (expandToc): remove unused variable.
7087 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7096 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7099 2003-01-05 John Levon <levon@movementarian.org>
7102 * BufferView.C: add getEncoding()
7105 * kbsequence.C: do not store last keypress
7108 * lyxfunc.C: store last keypress here instead. Pass encoding
7111 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7113 * lyx_main.C (init): remove annoying error message when following
7114 symbolic links (bug #780)
7116 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7118 * text.C (insertChar):
7119 * lyxrc.C (getDescription): remove extra spaces
7121 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7123 * lyxrc.C (getDescription): remove extra spaces
7125 2002-12-20 John Levon <levon@movementarian.org>
7127 * text3.C: hack fix for page up/down across tall rows
7129 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7131 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7134 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7136 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7137 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7138 thesaurus is not compiled in
7140 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7142 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7144 2002-12-16 Angus Leeming <leeming@lyx.org>
7147 * lyx_main.C (init): remove override_x_deadkeys stuff.
7149 2002-12-12 John Levon <levon@movementarian.org>
7151 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7152 insert. Only remove shift modifier under strict
7155 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7157 * MenuBackend.C (expandToc): fix crash.
7159 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7161 * MenuBackend.C (expandToc): gettext on float names.
7163 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7165 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7166 implement bool empty() [bug 490]
7168 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7170 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7172 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * several files: ws changes
7176 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7178 * text2.C (setCounter): clean up a bit, use boost.format.
7179 (updateCounters): initialize par upon declaration.
7181 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7182 if the layout exists. We do not just store the layout any more.
7183 (SwitchLayoutsBetweenClasses): use boost.format
7185 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7187 * converter.C (convert): if from and to files are the same, use a
7188 temporary files as intermediary
7190 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7193 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7195 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7197 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7199 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * tabular.C (asciiPrintCell): use string(size, char) instead of
7204 * sgml.C (openTag): fix order of arguments to string constructor
7207 * lyxfunc.C (dispatch): use boost.format
7209 * lots of files: change "c" -> 'c'
7211 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7213 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7215 2002-11-25 Angus Leeming <leeming@lyx.org>
7217 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7219 * lyx_main.C (init): compile fix.
7221 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7223 * lyx_cb.C (start): boost.formatify
7224 do not include <iostream>
7226 * lengthcommon.C: ws only
7228 * boost-inst.C,BoostFormat.h: add more explict instantations
7230 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7232 * lots of files: handle USE_BOOST_FORMAT
7234 2002-11-21 John Levon <levon@movementarian.org>
7236 * pspell.C: fix compile
7238 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7240 * lyxfunc.C (dispatch): use boost::format
7244 * lyxfont.C (stateText): use boost::format
7246 * lyx_main.C (LyX): use boost::format
7248 (queryUserLyXDir): ditto
7251 (typedef boost::function): use the recommened syntax.
7253 * importer.C (Import): use boost::format
7255 * debug.C (showLevel): use boost::format
7257 * converter.C (view): use boost::format
7262 * bufferview_funcs.C (currentState): use boost::format
7264 * bufferlist.C (emergencyWrite): use boost::format
7266 * buffer.C (readLyXformat2): use boost::format
7267 (parseSingleLyXformat2Token): ditto
7269 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7271 * LaTeX.C (run): use boost::format
7273 * Chktex.C (scanLogFile): use boost::format
7275 * BufferView_pimpl.C (savePosition): use boost::format
7276 (restorePosition): ditto
7277 (MenuInsertLyXFile): ditto
7279 * BoostFormat.h: help file for explicit instation.
7281 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7283 * tabular.C (latex): Support for block alignment in fixed width
7286 2002-11-17 John Levon <levon@movementarian.org>
7288 * BufferView_pimpl.C:
7290 * lyxfunc.C: split filedialog into open/save
7292 2002-11-08 Juergen Vigna <jug@sad.it>
7294 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7295 by my last patch (hopefully).
7297 2002-11-08 John Levon <levon@movementarian.org>
7306 * toc.C: ParConstIterator, and use it (from Lars)
7308 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7310 * lyxtextclass.[Ch]: revise and add doxygen comments
7312 2002-11-07 John Levon <levon@movementarian.org>
7314 * text.C: fix progress value for spellchecker
7316 * toc.C: fix navigate menu for insetwrap inside minipage
7318 * paragraph_funcs.C: added FIXME for suspect code
7320 2002-11-07 John Levon <levon@movementarian.org>
7322 * BufferView_pimpl.C: fix redrawing of insets
7325 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * text2.C (updateCounters): fix bug 668
7329 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7331 * text3.C (dispatch): Do not make the buffer dirty when moving the
7334 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7336 * vc-backend.C: STRCONV
7339 * text2.C (setCounter): STRCONV
7341 * paragraph.C (asString): STRCONV
7343 * lyxlength.C (asString): STRCONV
7344 (asLatexString): ditto
7346 * lyxgluelength.C (asString): STRCONV
7347 (asLatexString): ditto
7349 * lyxfunc.C (dispatch): STRCONV
7352 * lyxfont.C (stateText): STRCONV
7354 * importer.C (Import): STRCONV
7356 * counters.C (labelItem): STRCONV
7357 (numberLabel): ditto
7358 (numberLabel): remove unused ostringstream o
7363 * bufferview_funcs.C (currentState): STRCONV
7365 * buffer.C (readFile): STRCONV
7366 (asciiParagraph): ditto
7367 (makeLaTeXFile): ditto
7369 * Spacing.C (writeEnvirBegin): STRCONV
7371 * LaTeXFeatures.C (getLanguages): STRCONV
7372 (getPackages): ditto
7374 (getBabelOptions): ditto
7375 (getTClassPreamble): ditto
7376 (getLyXSGMLEntities): ditto
7377 (getIncludedFiles): ditto
7381 (scanAuxFile): ditto
7384 * LString.h: add the STRCONV macros
7386 * BufferView_pimpl.C (savePosition): STRCONV
7387 (restorePosition): ditto
7388 (MenuInsertLyXFile): ditto
7390 * vc-backend.C (scanMaster): change from submatch[...] to
7393 * funcrequest.C: include config.h
7395 * factory.C: include config.h
7397 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7399 * box.C: include config.h
7401 * LaTeX.C (scanAuxFile): change from submatch[...] to
7405 2002-10-25 Angus Leeming <leeming@lyx.org>
7407 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7409 * ispell.[Ch] (setError): new method.
7410 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7411 Use setError() insetead of goto END.
7413 * lyx_cb.C (AutoSave): move out child process into new class
7416 2002-10-30 John Levon <levon@movementarian.org>
7418 * text3.C: make start appendix undoable
7420 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7422 * lyxlength.C (inPixels): Fix returned value.
7424 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7427 2002-10-24 Angus Leeming <leeming@lyx.org>
7429 * lyxgluelength.h: no need to forward declare BufferParams
7430 or BufferView, so don't.
7432 2002-10-21 John Levon <levon@movementarian.org>
7434 * BufferView.C: menuUndo ->undo, redo
7436 * BufferView.h: document, remove dead, make some methods private
7438 * paragraph_funcs.h:
7439 * paragraph_funcs.C:
7440 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7445 * sgml.C: move sgml open/close tag into sgml.C
7447 * bufferview_funcs.h: unused prototype
7450 * lyxfunc.C: remove unused
7453 * text.C: remove unused
7455 2002-10-21 John Levon <levon@movementarian.org>
7459 * BufferView_pimpl.h:
7460 * BufferView_pimpl.C: fix mouse wheel handling based on
7461 patch from Darren Freeman
7463 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7465 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7467 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7469 * lyxlength.C (inPixels): Fix hanfling of negative length.
7470 Fix LyXLength::MU case.
7472 2002-10-16 John Levon <levon@movementarian.org>
7474 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7476 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7478 * converter.C (view): add support for $$i (file name) and $$p
7479 (file path) for the viewer command. If $$i is not specified, then
7480 it is appended to the command (for compatibility with old syntax)
7482 2002-10-14 Juergen Vigna <jug@sad.it>
7484 * undo_funcs.C (textHandleUndo): alter the order in which the
7485 new undopar is added to the LyXText, as we have to set first
7486 the right prev/next and then add it as otherwise the rebuild of
7487 LyXText is not correct. Also reset the cursor to the right paragraph,
7488 with this IMO we could remove the hack in "redoParagraphs()".
7490 2002-10-09 Angus Leeming <leeming@lyx.org>
7492 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7493 to turn off an optimisation if a new inset is to be inserted.
7495 2002-10-11 André Pönitz <poenitz@gmx.net>
7497 * lyxtext.h: make some functions public to allow access
7498 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7500 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7502 * text3.C (dispatch): when changing layout, avoid an infinite loop
7505 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7507 * lyxrc.C (read): treat a viewer or converter command of "none" as
7510 * MenuBackend.C (expandFormats): for an update, also allow the
7511 formats that are not viewable
7513 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7514 script if it is newer than the lyxrc.defaults in user directory
7516 2002-10-07 André Pönitz <poenitz@gmx.net>
7518 * text.C: Vitaly Lipatov's small i18n fix
7520 2002-09-25 Angus Leeming <leeming@lyx.org>
7522 * ispell.h: doxygen fix.
7524 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7526 * buffer.h (readFile): Add a new argument to the method, to allow
7527 reading of old-format templates.
7529 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7531 * toc.C (getTocList): Get TOC from InsetWrap.
7533 2002-09-16 John Levon <levon@movementarian.org>
7535 * lyxfunc.C: check tabular for cut/copy too
7537 2002-09-12 John Levon <levon@movementarian.org>
7542 * factory.C: add header
7544 * paragraph_funcs.h:
7545 * paragraph_funcs.C: cleanup
7547 2002-09-11 John Levon <levon@movementarian.org>
7549 * PrinterParams.h: odd/even default to true
7551 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7553 * PrinterParams.h: update printer parameters for new xforms dialog
7555 2002-09-11 Angus Leeming <leeming@lyx.org>
7557 * lyxserver.C (read_ready): re-write to make it more transparent
7558 and to make it work in coherent fashion under Tru64 Unix.
7560 2002-09-11 André Pönitz <poenitz@gmx.net>
7564 * text3.C: implement LFUN_WORDSEL
7566 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7569 make floatlist_ a boost::shared_ptr<FloatList>
7571 * lyxtextclass.C: include FloatList.h
7572 (LyXTextClass): initialize floatlist_
7573 (TextClassTags): add TC_NOFLOAT
7574 (Read): match "nofloat" to TC_NOFLOAT and use it.
7575 (readFloat): modify call to floatlist_
7579 * FloatList.[Ch] (FloatList): remove commented out float
7581 (erase): new function
7583 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7585 * MenuBackend.C (expandToc): fix crash when there is no document
7588 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7590 * many files: Add insetwrap.
7592 2002-09-09 John Levon <levon@movementarian.org>
7594 * text2.C: remove confusing and awkward depth wraparound
7596 2002-09-09 John Levon <levon@movementarian.org>
7598 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7601 * buffer.C: remove getIncludeonlyList()
7604 * lyxfunc.C: remove headers
7606 2002-09-09 Juergen Vigna <jug@sad.it>
7608 * text.C (getColumnNearX): fix form Michael this is most
7609 probably a cut&paste bug.
7611 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7615 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7616 references, ws changes.
7618 * text2.C (init): update counters after init
7619 (insertParagraph): no need to set counter on idividual paragraphs.
7620 (setCounter): access the counters object in the textclass object
7621 on in the buffer object.
7622 (updateCounters): ditto
7624 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7625 shared_ptr<Counters> to avoid loading counters.h in all
7627 (LyXTextClass): initialize ctrs_
7628 (TextClassTags): add TC_COUNTER, and ...
7629 (Read): use it here.
7630 (CounterTags): new tags
7631 (readCounter): new function
7632 (counters): new funtion
7633 (defaultLayoutName): return a const reference
7635 * counters.C (Counters): remove contructor
7636 (newCounter): remove a couple of unneeded statements.
7637 (newCounter): simplify a bit.
7638 (numberLabel): some small formatting changes.
7640 * buffer.[Ch]: remove all traces of counters, move the Counters
7641 object to the LyXTextClass.
7643 2002-09-06 Alain Castera <castera@in2p3.fr>
7645 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7646 package to set the horizontal alignment on fixed width columns.
7649 * lyx_sty.h: added tabularnewline macro def.
7651 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7653 2002-09-06 John Levon <levon@movementarian.org>
7655 * LyXAction.C: tooltips for sub/superscript
7657 * MenuBackend.C: a bit more verbose
7659 * lyxfunc.C: tiny clean
7661 * undo_funcs.C: document undo_frozen
7663 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7665 * counters.C (Counters): add missing algorithm counter.
7667 * text2.C (setCounter): lookup the counter with layouts latexname
7668 instead of by section number.
7669 (setCounter): use a hackish way to lookup the correct enum
7671 a float name->type change
7672 reset enum couners with counter name directly instead of depth value.
7674 * counters.C (Counters): remove the push_backs, change to use the
7675 float type not the float name.
7676 (labelItem): remove unused string, float name->type change
7678 * counters.h: don't include vector, loose the enums and sects vectors
7680 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7683 (Read): add float->TC_FLOAT to textclassTags
7684 (Read): and handle it in the switch
7685 (readFloat): new function
7687 * FloatList.C (FloatList): comment out the hardcoded float
7690 * lyxlayout.h: ws change.
7692 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7694 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7696 2002-09-03 Angus Leeming <leeming@lyx.org>
7698 * BufferView_pimpl.h: qualified name is not allowed in member
7699 declaration: WorkArea & Pimpl::workarea() const;
7701 * factory.C: added using std::endl directive.
7703 * text3.C: added using std::find and std::vector directives.
7705 2002-08-29 André Pönitz <poenitz@gmx.net>
7708 * text2.C: remove unused member number_of_rows
7711 * BufferView2.C: remove file, move contents to...
7712 * BufferView.C: ... here
7714 * BufferView_pimpl.C:
7715 * factory.C: move more inset creation to factory
7717 * vspace.C: avoid direct usage of LyXText, ws changes
7720 don't provide direct access to WorkArea, use two simple
7721 acessors haveSelction() and workHeight() instead
7724 2002-08-29 John Levon <levon@movementarian.org>
7726 * BufferView_pimpl.C (dispatch): do not continue when
7729 2002-08-28 André Pönitz <poenitz@gmx.net>
7731 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7734 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7736 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7738 * buffer.C: increment LYX_FORMAT to 221
7740 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7741 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7743 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7745 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7747 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7749 * factory.C (createInset): use LyXTextClass::floats
7751 * MenuBackend.C (expandFloatListInsert):
7752 (expandFloatInsert):
7755 * text2.C (setCounter):
7757 * LaTeXFeatures.C (useFloat):
7758 (getFloatDefinitions):
7760 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7762 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7763 floatlist_, with accessor floats().
7765 * FloatList.h: remove global FloatList
7767 2002-08-26 André Pönitz <poenitz@gmx.net>
7769 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7773 * BufferView_pimpl.C:
7774 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7776 2002-08-25 John Levon <levon@movementarian.org>
7778 * LyXAction.C: fix margin note description
7780 2002-08-24 John Levon <levon@movementarian.org>
7784 * bufferview_funcs.C:
7786 * undo_funcs.C: cleanups
7788 * lyxfunc.C: disable CUT/COPY when no selection
7790 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7792 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7793 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7795 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7796 Add backward compatibility to "mono", "gray" and "no".
7798 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7800 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7801 (and file_format >= 200).
7803 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7805 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7807 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7809 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7811 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7813 * BufferView_pimpl.C:
7820 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7821 inset and code to make it work with the paragraph code. The inset
7822 can be anywhere in the paragraph, but will only do the expected
7823 thing in LaTeX if the layout file contains the parameter line
7825 (or more generally, a nonzero value) for that layout.
7827 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7829 * paragraph.h: remove the declaration of undefined counters class
7832 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7834 * text2.C (setCounter): fixed enumeration mis-count as reported by
7835 Dr. Richard Hawkins.
7837 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7839 * paragraph_funcs.h: remove some unneeded includes
7841 * text.C (backspace): pasteParagraph now in global scipe
7843 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7844 (pasteSelection): ditto
7846 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7847 * paragraph_funcs.C (pasteParagraph): ... here
7849 2002-08-20 André Pönitz <poenitz@gmx.net>
7851 * commandtags.h: new LFUNs for swapping/copying table row/colums
7854 * lyxfunc.C: support for new lfuns
7856 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7859 * buffer.[Ch]: remove NO_COMPABILITY stuff
7861 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7863 * boost.C (throw_exception): new file, with helper function for
7864 boost compiled without exceptions.
7869 * ParameterStruct.h:
7870 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7872 * bufferlist.C (emergencyWriteAll): use boost bind
7874 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7876 * text.C: include paragraph_funcs.h
7877 (breakParagraph): breakParagraph is now in global scope
7879 * paragraph_funcs.[Ch]: new files
7881 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7884 * buffer.C: include paragraph_funcs.h
7885 (insertStringAsLines): breakParagraph is now in global scope
7887 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7890 * CutAndPaste.C: include paragraph_funcs.h
7891 (cutSelection): breakParagraphConservative is now in global scope
7892 (pasteSelection): ditto
7894 * buffer.h: declare oprator== and operator!= for
7895 Buffer::inset_iterator
7897 * bufferlist.C (emergencyWrite): don't use fmt(...)
7899 * text3.C: add using std::endl
7901 * BufferView.C (moveCursorUpdate): remove default arg
7903 2002-08-20 André Pönitz <poenitz@gmx.net>
7905 * buffer.[Ch]: move inline functions to .C
7908 * BufferView_pimpl.C:
7910 * buffer.[Ch]: use improved inset_iterator
7913 * paragraph.[Ch]: write one paragraph at a time
7915 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7917 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7918 style if style is not specified.
7920 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7922 * text2.C (setCounter): when searching for right label for a
7923 caption, make sure to recurse to parent insets (so that a caption
7924 in a minipage in a figure float works) (bug #568)
7926 2002-08-20 André Pönitz <poenitz@gmx.net>
7928 * text3.C: new file for LyXText::dispatch() and helpers
7930 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7932 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7934 2002-08-19 André Pönitz <poenitz@gmx.net>
7937 * text.C: new LyXText::dispatch()
7939 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7941 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7943 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7945 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7948 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7950 * Makefile.am: use $(variables) instead of @substitutions@
7952 2002-08-15 André Pönitz <poenitz@gmx.net>
7955 * BufferView_pimpl.C: streamlining mathed <-> outer world
7959 * LyXAction.C: remove unused LFUN_MATH
7961 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7963 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7965 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7967 * paragraph.C (Paragraph): reformat a bit
7968 (cutIntoMinibuffer): use builtin InsetList function instad of
7972 * buffer.C: include boost/bind.hpp, add using std::for_each
7973 (writeFileAscii): use ParagraphList iterators
7974 (validate): use for_each for validate traversal of paragraphs
7975 (getBibkeyList): use ParagraphList iterators
7976 (resizeInsets): use for_each to resizeInsetsLyXText for all
7978 (getParFromID): use ParagraphList iterators
7980 * BufferView2.C (lockInset): use paragraph list and iterators
7982 2002-08-14 John Levon <levon@movementarian.org>
7984 * lyxserver.C: remove spurious xforms include
7986 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7988 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7990 2002-08-13 André Pönitz <poenitz@gmx.net>
7993 * lyxfunc.C: further cleaning
7995 2002-08-13 André Pönitz <poenitz@gmx.net>
7997 * funcrequest.h: new constructor
7999 * funcrequest.C: move stuff here from .h
8002 * BufferView_pimpl.C:
8005 * lyxfunc.C: subsequent changes
8007 * lyxfunc.h: new view() member function
8009 * lyxfunc.C: subsequent changes
8011 2002-08-13 Angus Leeming <leeming@lyx.org>
8014 * BufferView_pimpl.C:
8022 changes due to the changed LyXView interface that now returns references
8023 to member variables not pointers.
8025 2002-08-13 Angus Leeming <leeming@lyx.org>
8027 * WordLangTuple (word, lang_code): return references to strings,
8032 * lyxtext.h: forward-declare WordLangTuple.
8037 * text.C: #include "WordLangTuple.h".
8040 * text.C: (selectNextWordToSpellcheck): constify return type.
8042 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8048 * paragraph_pimpl.h:
8051 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8053 Made updateCounter always count from start of buffer, and removed
8054 second argument (par).
8055 Reverted floats number display to '#'. Perhaps I'll try again when the
8056 code base is sanitized a bit.
8058 2002-08-12 Angus Leeming <leeming@lyx.org>
8060 * buffer.[Ch] (getLabelList): constify.
8062 2002-08-07 André Pönitz <poenitz@gmx.net>
8064 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8066 * funcrequest.h: extension to keep mouse (x,y) position
8068 2002-08-12 Juergen Vigna <jug@sad.it>
8070 * BufferView2.C (insertErrors): forbid undo when inserting error
8073 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8075 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8077 * ParagraphList.[Ch]: new files
8079 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8081 * BufferView2.C (lockInset): ParagraphList changes
8084 * bufferlist.C: ditto
8088 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8091 unused class variable counter_,
8093 * paragraph.[Ch] (getFirstCounter): delete unused function
8095 * counters.C: include LAssert.h
8096 (reset): add a new function with no arg, change other version to
8097 not have def. arg and to not allow empty arg.
8099 * text2.C (setCounter): remove empty arg from call to Counters::reset
8101 2002-08-11 John Levon <levon@movementarian.org>
8103 * Makefile.am: add WordLangTuple.h
8105 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8107 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8108 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8110 * insets/insettext.C: InsetList changes
8112 * graphics/GraphicsSupport.C (operator()): InsetList changes
8114 * toc.C (getTocList): InsetList changes
8116 * paragraph_pimpl.[Ch]: InsetList changes
8118 * paragraph.[Ch]: InsetList changes
8120 * buffer.C (inset_iterator): InsetList changes
8121 (setParagraph): ditto
8122 * buffer.h (inset_iterator): ditto
8123 * iterators.C (operator++): ditto
8124 * iterators.h: ditto
8126 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8128 * InsetList.[Ch]: new files, most InsetList handling moved out of
8131 * BufferView2.C (removeAutoInsets): InsetList changes
8133 (ChangeInsets): ditto
8135 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * paragraph_pimpl.h (empty): new function
8139 * paragraph.[Ch] (empty): new function
8141 * other files: use the new Paragraph::empty function
8143 2002-08-09 John Levon <levon@movementarian.org>
8145 * lyxtext.h: remove unused refresh_height
8147 2002-08-09 John Levon <levon@movementarian.org>
8154 * paragraph.C: move sgml char escaping out of paragraph
8157 * paragraph.C: remove id setter
8161 * paragraph_pimpl.C: remove dead tex_code_break_column
8163 * bufferview_funcs.C: small cleanup
8165 * lyxfunc.C: remove dead proto
8167 * lyxtext.h: make some stuff private. Remove some dead stuff.
8169 * lyxgluelength.C: make as[LyX]String() readable
8171 2002-08-08 John Levon <levon@movementarian.org>
8176 * ToolbarDefaults.C:
8179 * toc.C: lyxaction cleanup
8181 2002-08-08 John Levon <levon@movementarian.org>
8183 * BufferView2.C: small cleanup
8186 * lyxfind.C: move unnecessary header into the .C
8188 2002-08-08 John Levon <levon@movementarian.org>
8190 * funcrequest.h: just tedious nonsense
8193 * lyx_main.C: cleanups
8196 * vspace.C: remove dead header lyx_main.h
8198 2002-08-07 Angus Leeming <leeming@lyx.org>
8201 * paragraph_pimpl.h:
8202 Forward declare class Counters in paragraph.h by moving the ctrs member
8203 variable into Paragraph::Pimpl.
8204 (counters): new method, returning a reference to pimpl_->ctrs.
8206 * text2.C: ensuing changes.
8208 2002-08-07 John Levon <levon@movementarian.org>
8210 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8212 * BufferView_pimpl.C: announce X selection on double/triple
8215 * lyx_main.C: use correct bool in batch dispatch
8217 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8219 2002-08-07 André Pönitz <poenitz@gmx.net>
8221 * funcrequest.h: new class to wrap a kb_action and its argument
8224 * BufferView_pimpl[Ch]:
8228 * lyxrc.C: subsequent changes
8231 2002-08-07 John Levon <levon@movementarian.org>
8233 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8234 document options change.
8236 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8241 * makefile.am: move counters functionality over from
8242 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8244 2002-08-06 John Levon <levon@movementarian.org>
8246 * WordLangTuple.h: new file for word + language code tuple
8257 * BufferView2.C: use WordLangTuple
8260 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8262 2002-08-06 John Levon <levon@movementarian.org>
8264 * lyx_main.C: fix cmdline batch handling
8266 2002-08-06 André Pönitz <poenitz@gmx.net>
8268 * lyxrc.C: set default for show_banner to true
8270 2002-08-06 John Levon <levon@movementarian.org>
8272 * pspell.C: fix a crash, and allow new aspell to work
8274 2002-08-06 John Levon <levon@movementarian.org>
8277 * kbmap.C: small cleanup
8280 * vspace.C: add const
8282 2002-08-05 John Levon <levon@movementarian.org>
8284 * LyXAction.C: back to tabular-insert
8286 2002-08-04 John Levon <levon@movementarian.org>
8289 * BufferView.C: cosmetic change
8291 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8301 * BufferView2.C: purge all "Lyx" not "LyX" strings
8304 * lyxcursor.C: attempt to add some documentation
8309 * ToolbarDefaults.C:
8310 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8311 merge with LFUN_TABULAR_INSERT
8318 * pspell.C: split up i/pspell implementations into separate
8319 files, many cleanups
8321 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8323 * text2.C: some cleanup
8325 * lyxfunc.C: don't check for isp_command == "none" any more, it
8326 didn't make any sense
8328 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8333 * makefile.am: move counters functionality over
8334 from text2.C/paragraph.[Ch] to counters.[Ch], and
8336 2002-08-02 John Levon <levon@movementarian.org>
8338 * buffer.C: s/lyxconvert/lyx2lyx/
8340 2002-08-02 Angus Leeming <leeming@lyx.org>
8342 * lyxlex.C: revert John's change as it breaks reading of the user
8345 2002-08-02 Angus Leeming <leeming@lyx.org>
8347 * importer.C (Import):
8348 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8349 changes due to LyXView::view() now returning a boost::shared_ptr.
8351 2002-08-02 John Levon <levon@movementarian.org>
8353 * lyxlex.C: small cleanup
8355 2002-08-02 John Levon <levon@movementarian.org>
8357 * text2.C (status): small cleanup, no logic change
8359 2002-08-01 John Levon <levon@movementarian.org>
8362 * buffer.C (writeFile): don't output alerts, caller
8366 * lyx_cb.C: from above
8368 * lyxfunc.C: allow to open non-existent files
8370 2002-07-31 John Levon <levon@movementarian.org>
8372 * lyxserver.C: don't let incidental errors get
8375 2002-07-30 John Levon <levon@movementarian.org>
8377 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8379 2002-07-30 John Levon <levon@movementarian.org>
8382 * lyxserver.C: remove I/O callback too
8384 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8386 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8389 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * many files: strip,frontStrip -> trim,ltrim,rtrim
8393 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * PrinterParams.h: remove extern containsOnly, and include
8396 support/lstrings.h instead.
8398 * LaTeX.C (scanAuxFile): modify because of strip changes
8400 * buffer.C (makeLaTeXFile): ditto
8401 * bufferparams.C (writeFile): ditt
8402 * lyxfont.C (stateText): ditto
8403 * lyxserver.C (read_ready): ditto
8404 * vc-backend.C (scanMaster): ditto
8406 * BufferView_pimpl.h: ws changes
8408 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8410 2002-07-26 André Pönitz <poenitz@gmx.net>
8412 * kb_sequence.C: remove unnedred usings
8414 2002-07-26 Juergen Vigna <jug@sad.it>
8416 * lyxfind.C (LyXReplace): we have to check better if the returned
8417 text is not of theLockingInset()->getLockingInset().
8419 2002-07-25 Juergen Vigna <jug@sad.it>
8421 * lyxfind.C (LyXReplace): don't replace if we don't get the
8424 * undo_funcs.C (createUndo): remove debugging code.
8426 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8428 * buffer.C (parseSingleLyXformat2Token): Use default placement
8429 when reading old floats.
8431 * FloatList.C (FloatList): Change the default placement of figure
8432 and tables to "tbp".
8434 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8436 * MenuBackend.C: using std::max
8438 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8440 * MenuBackend.C (expandToc):
8441 (expandToc2): code moved from xforms menu frontend. It is now
8442 generic and TOCs are transparent to menu frontends.
8444 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8446 * toc.C (getTocList): protect against buf=0
8448 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8449 Menu as first parameter. Now, this calls itself recursively to
8450 expand a whole tree (this will be useful for TOC handling)
8451 (expandFloatInsert): remove 'wide' version of floats
8453 * MenuBackend.h (submenuname): returns the name of the submenu.
8454 (submenu): returns the submenu itself, provided it has been
8455 created by MenuBackend::expand
8457 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8459 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8460 insets which have noFontChange == true. (bug #172)
8462 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8464 * BufferView_pimpl.C: add connection objects and use them...
8467 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8469 * MenuBackend.C (expandLastfiles):
8472 (expandFloatListInsert):
8473 (expandFloatInsert):
8474 (expand): split expand in parts
8476 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8478 * lyx_gui.C: use lyx_gui::exit()
8480 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8482 * LyXAction.C: show the failing pseudo action
8484 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8486 * buffer.C (readFile): Run the lyxconvert script in order to read
8489 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8493 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8495 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8499 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8501 2002-07-22 Herbert Voss <voss@lyx.org>
8504 * lyxlength.[Ch]: add support for the vertical lengths
8506 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8508 * toc.[Ch]: std:: fixes
8510 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8512 * lyxrc.C: do not include lyx_main.h
8514 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8520 * BufferView2.C: include "lyxlex.h"
8523 * bufferparams.h: do not #include "lyxlex.h"
8525 * lyxtextclasslist.C (Add): remove method
8526 (classlist): renamed to classlist_
8528 * paragraph_pimpl.C:
8532 * bufferview_funcs.C:
8537 * toc.C (getTocList): use BufferParams::getLyXTextClass
8539 * toc.C (getTocList): use InsetFloat::addToToc
8541 * toc.[Ch]: new files, containing helper functions to handle table
8544 * lyxfunc.C (dispatch): no need to remove spaces around command
8546 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8547 first command of the sequence; it is not very clever, but I do not
8548 have a better idea, actually
8550 * LyXAction.C (LookupFunc): make sure to remove space at the
8551 beginning and end of the command
8553 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8555 * MenuBackend.C (getMenubar): new method: return the menubar of
8557 (read): treat differently reading of menu and menubar (in
8558 particular, the menubar has no name now)
8559 (Menu::menubar): remove
8561 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8564 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8566 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8567 a bibitem inset in a RTL paragraph.
8569 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8571 * paragraph_pimpl.C: constify
8573 * BufferView_pimpl.C:
8575 * lyxfunc.C: fix dispatch in a nicer way
8577 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8579 * lyxfunc.C (dispatch):
8580 * BufferView_pimpl.C:
8581 * BufferView_pimpl.h:
8583 * BufferView.h: rename Dispatch() to dispatch()
8585 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8587 * lyxlayout.C (Read): honor DependsOn tag
8589 * lyxlayout.[Ch] (depends_on): new method
8591 * version.C.in: update lyx_docversion
8593 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8595 * paragraph.C (validate): remove from here...
8596 * paragraph_pimpl.C (validate): ... and move here
8597 (isTextAt): make it const
8599 * buffer.C (getLists): ws cleanup
8601 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8603 * language.C (read): Use iso8859-1 encoding in latex_lang
8604 (this prevents LyX from crashing when using iso10646-1 encoding).
8606 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8608 * text2.C (toggleInset): if cursor is inside an inset, close the
8609 inset and leave cursor _after_ it
8611 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8613 * lyxfunc.C: move minibuffer completion handling out of here
8615 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8617 * BufferView_pimpl.C:
8618 * LaTeX.C: fix dispatch calls
8620 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8622 * text.C (drawChars): Fix Arabic text rendering.
8624 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8628 * lyxfunc.C: remove message-push/pop
8632 * lyxfunc.C: rationalise some code by removing verboseDispatch
8633 in favour of a bool argument to dispatch()
8635 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8637 * lyx_main.C (init): make sure to read symlinks as absolute paths
8639 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8642 * lyxfunc.C: no need for commandshortcut to be a member
8644 2002-07-15 André Pönitz <poenitz@gmx.net>
8646 * converter.C: add support for $$s (scripts from lib/scripts dir)
8647 * lyx_main.C: white space
8649 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8653 * lyxrc.C: remove second exit confirmation
8655 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8660 * BufferView_pimpl.h:
8661 * BufferView_pimpl.C:
8662 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8664 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8666 * MenuBackend.C (expand): add numeric shortcuts to document menu
8668 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8670 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8672 * lyxfont.C (setLyXFamily):
8679 * buffer.C (asciiParagraph): use ascii_lowercase
8681 2002-07-15 Mike Fabian <mfabian@suse.de>
8683 * lyxlex_pimpl.C (search_kw):
8684 * lyxlex.C (getLongString):
8685 * converter.h (operator<):
8686 * converter.C (operator<):
8687 * buffer.C (parseSingleLyXformat2Token):
8689 * ToolbarDefaults.C (read):
8690 * MenuBackend.C (checkShortcuts):
8692 * LColor.C (getFromGUIName):
8693 (getFromLyXName): use the compare_ascii_no_case instead of
8694 compare_no_case, because in turkish, 'i' is not the lowercase
8695 version of 'I', and thus turkish locale breaks parsing of tags.
8697 2002-07-16 Angus Leeming <leeming@lyx.org>
8699 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8700 now takes a Buffer const & argument.
8702 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8704 * BufferView.C (resize): check there's a buffer to resize
8706 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8708 * lyxfunc.C: remove dead code
8711 * lyxserver.C: use lyx_guii::set_read_callback
8713 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8715 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8716 an inset in a RTL paragraph.
8718 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8720 * lyxfunc.C: repaint after a font size update
8722 2002-07-15 André Pönitz <poenitz@gmx.net>
8724 * lyxlength.C: inBP should be able to return negative values
8726 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8728 * lyxfunc.C: use lyx_gui::update_fonts()
8730 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8732 * lyxfunc.C: use lyx_gui::update_color()
8734 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8740 * lyxrc.C: remove file->new asks for name option, and let
8741 buffer-new take an argument
8743 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8745 * BufferView_pimpl.C: remove unneeded extra repaint()
8747 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8749 * LyXAction.C: allow command-sequence with NoBuffer
8751 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8753 2002-07-10 Angus Leeming <leeming@lyx.org>
8755 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8757 2002-07-09 Angus Leeming <leeming@lyx.org>
8759 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8761 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8763 * lengthcommon.h: whitespace
8765 * lyxfunc.C: update scrollbar after goto paragraph
8767 * lyxtext.h: factor out page break drawing, and fix it so
8768 page break/added space paints as selected nicely
8770 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8772 * BufferView_pimpl.C: add FIXMEs, clean up a little
8774 2002-07-09 André Pönitz <poenitz@gmx.net>
8776 * lyxfont.[Ch]: support for wasy symbols
8778 2002-07-08 André Pönitz <poenitz@gmx.net>
8780 * BufferView_pimpl.C: apply John's patch for #93.
8782 2002-07-05 Angus Leeming <leeming@lyx.org>
8784 * BufferView_pimpl.C (buffer): generate previews if desired.
8786 * LColor.h: add "preview" to the color enum.
8788 * LColor.C (LColor): add a corresponding entry to the items array.
8790 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8793 2002-07-05 Angus Leeming <leeming@lyx.org>
8795 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8796 The body of the code is now in the method that is passed an ostream &
8797 rather than a file name.
8798 Pass an additional only_preamble parameter, useful for the forthcoming
8801 2002-07-03 André Pönitz <poenitz@gmx.net>
8803 * lyxfunc.C: simplify getStatus() a bit for math stuff
8805 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8807 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8809 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8811 * text.C (changeRegionCase): do not change case of all the
8812 document when region ends at paragraph end (bug #461)
8814 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8816 * paragraph.C (startTeXParParams):
8817 (endTeXParParams): add \protect when necessary
8819 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8821 * BufferView_pimpl.C (workAreaExpose): remove warning
8823 2002-06-27 Angus Leeming <leeming@lyx.org>
8825 * Makefile.am: add lyxlayout_ptr_fwd.h.
8827 2002-06-26 André Pönitz <poenitz@gmx.net>
8829 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8831 2002-06-25 Angus Leeming <leeming@lyx.org>
8833 * lyxfunc.C (dispatch): Comment out the call to
8834 grfx::GCache::changeDisplay. The method no longer exists now that the
8835 pixmap generation part of the graphics loader has been moved into
8838 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8840 * text2.C: layout as layout
8842 * text.C: layout as layout
8844 * tabular.C (OldFormatRead): layout as layout
8846 * paragraph_pimpl.C (TeXDeeper): layout as layout
8847 (realizeFont): layout as layout
8849 * paragraph.C (writeFile): layout as layout
8850 (validate): layout as layout
8851 (getFont): layout as layout
8852 (getLabelFont): layout as layout
8853 (getLayoutFont): layout as layout
8854 (breakParagraph): layout as layout
8855 (stripLeadingSpaces): layout as layout
8856 (getEndLabel): layout as layout
8857 (getMaxDepthAfter): layout as layout
8858 (applyLayout): layout as layout
8859 (TeXOnePar): layout as layout
8860 (simpleTeXOnePar): layout as layout
8861 (TeXEnvironment): layout as layout
8862 (layout): layout as layout
8863 (layout): layout as layout
8865 * lyxtextclass.C (compare_name): new functor to work with
8866 shared_ptr, layout as layout
8867 (Read): layout as layout
8868 (hasLayout): layout as layout
8869 (operator): layout as layout
8870 (delete_layout): layout as layout
8871 (defaultLayout): layout as layout
8873 * lyxlayout_ptr_fwd.h: new file
8875 * lyxlayout.C (Read): layout as layout
8877 * lyx_cb.C (MenuInsertLabel): layout as layout
8879 * bufferlist.C (newFile): layout as layout
8881 * buffer.C (readLyXformat2): layout as layout
8882 (parseSingleLyXformat2Token): layout as layout
8883 (insertStringAsLines): layout as layout
8884 (asciiParagraph): layout as layout
8885 (latexParagraphs): layout as layout
8886 (makeLinuxDocFile): layout as layout
8887 (simpleLinuxDocOnePar): layout as layout
8888 (makeDocBookFile): layout as layout
8889 (simpleDocBookOnePar): layout as layout
8890 (getLists): layout as layout
8892 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8894 * CutAndPaste.C (cutSelection): layout as layout
8895 (pasteSelection): layout as layout
8896 (SwitchLayoutsBetweenClasses): layout as layout
8898 * BufferView_pimpl.C (Dispatch): layout as layout
8899 (smartQuote): layout as layout
8901 * BufferView2.C (unlockInset): layout as layout
8903 2002-06-24 André Pönitz <poenitz@gmx.net>
8905 * lyxfunc.C: fix #487
8907 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8911 * lyxfunc.C: remove display_shortcuts, show_banner
8913 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8915 * Buffer_pimpl.C: oops, update on resize
8917 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8924 * BufferView.C: use repaint()
8926 * BufferView_pimpl.h:
8927 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8928 as it's a clearer description. Remove superfluous
8931 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8933 * text.C: fix bug 488. Not ideal, but getting
8934 getWord() to work properly for the insets that
8935 matter is more difficult ...
8937 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8939 * BufferView_pimpl.C:
8942 * lyxfunc.C: remove the six million index lyxfuncs to just
8943 one, and DTRT (bug 458)
8945 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8949 * BufferView_pimpl.h:
8950 * BufferView_pimpl.C: clean up resize() stuff,
8951 and unnecessary updateScreen()s
8953 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8957 * BufferView_pimpl.h:
8958 * BufferView_pimpl.C:
8961 * minibuffer.C: remove focus management of workarea,
8962 not needed. Use screen's greyOut()
8964 2002-06-17 Herbert Voss <voss@lyx.org>
8966 * converter.C: (convert) do not post a message, when converting
8967 fails, let the calling function decide what to do in this case
8969 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8971 * lyxfunc.C: tidy up a little
8973 2002-06-16 <alstrup@diku.dk>
8975 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8976 Got rid of FORMS_H_LOCATION include. Now we are
8979 2002-06-15 LyX Development team <lyx@rilke>
8981 * buffer.[Ch] (sgmlOpenTag):
8982 (sgmlCloseTag): Added support for avoiding pernicious mixed
8983 content. Return number of lines written.
8986 (makeDocBookFile): Fixed calls to sgml*Tag.
8987 Simple white space clean.
8989 (simpleDocBookOnePar): Simple white space clean.
8991 * tabular.[Ch] (docBook): Renamed to docbook and got another
8992 argument to related with the pernicious mixed content.
8994 (docbookRow): Fixed calls for docbook inset method.
8996 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8998 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8999 so it's X11 independent.
9003 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9005 2002-06-15 Lyx Development team <lyx@electronia>
9007 * intl.h: Renamed getTrans to getTransManager.
9009 2002-06-14 Angus Leeming <leeming@lyx.org>
9011 * Makefile.am: nuke forgotten stl_string_fwd.h.
9013 2002-06-12 Angus Leeming <leeming@lyx.org>
9015 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9017 2002-06-13 Angus Leeming <leeming@lyx.org>
9020 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9022 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9024 * kbmap.C (getiso): add support for cyrillic and greek
9026 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9030 * BufferView_pimpl.h:
9031 * BufferView_pimpl.C: move bogus scrolling logic
9034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9037 * BufferView_pimpl.C: view->resize() change
9039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9041 * BufferView_pimpl.C: topCursorVisible
9044 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9048 * lyx_gui.C: move to frontends/
9052 * lyx_main.C: changes from above
9054 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9061 * lyx_main.C: minor tidy
9063 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9065 * BufferView_pimpl.h:
9066 * BufferView_pimpl.C:
9068 * BufferView.C: make painter() const,
9071 * BufferView2.C: use screen() accessor
9074 * lyx_main.C: some minor cleanup
9076 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9078 * BufferView_pimpl.h:
9079 * BufferView_pimpl.C: remove enter/leaveView,
9082 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9087 * BufferView_pimpl.h:
9088 * BufferView_pimpl.C: only construct screen once,
9091 * lyxrc.C: remove pointless comment
9093 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9096 * BufferView.C: remove active() and belowMouse()
9098 * BufferView_pimpl.h:
9099 * BufferView_pimpl.C: use workarea() not workarea_,
9100 and make it use a scoped_ptr instead
9102 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9104 * lyx_gui.C: add debug message on BadWindow
9106 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * sp_spell.C: fdopen is not part of the C++ standard.
9110 * paragraph.C (InsetIterator): use >= instead of ==
9112 2002-06-07 Angus Leeming <leeming@lyx.org>
9114 Fixes needed to compile with Compaq cxx 6.5.
9115 * BufferView_pimpl.C:
9122 * lyxtextclasslist.C:
9127 all c-library variables have been moved into namespace std. Wrap
9128 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9133 Add a using std::abs declaration.
9135 * kbmap.h (modifier_pair):
9136 * paragraph.h (InsetTable, InsetList):
9137 * lyxfont.h (FontBits):
9138 type definition made public.
9140 * bufferlist.C (emergencyWriteAll): the compiler complains that
9141 there is more than one possible lyx::class_fun template to choose from.
9142 I re-named the void specialisation as lyx::void_class_fun.
9144 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9146 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9147 the compiler is is unable to find tostr in write_attribute.
9149 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9151 * buffer.C (sgmlError): hide #warning
9153 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9155 * xtl/*: get rid of xtl, which is not in use anyway
9157 * LyXAction.C (init):
9158 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9159 were unimplemented xtl experimentation
9161 2002-06-04 André Pönitz <poenitz@gmx.net>
9163 * lyxfunc.C: disable array operation on simple formulae
9165 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9167 * converter.C: constify a bit
9169 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9171 * lyx_gui.C: check xforms version correctly
9173 2002-04-30 Herbert Voss <voss@lyx.org>
9175 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9178 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9180 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9181 attempt to register it with a VCS)
9183 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9185 * lyx_main.C (init): honor variables LYX_DIR_13x and
9188 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9192 * lyx_main.C: fix a crash on bad command line,
9193 and give a useful exit status on error
9195 * lyxfunc.C (doImport): allow -i lyx to work
9197 2002-03-30 André Pönitz <poenitz@gmx.net>
9199 * lyxfunc.C: mathed font changes
9201 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9216 * trans_mgr.h: srcdocs, and some minor cleanups
9218 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9220 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9221 call getFont all the time)
9223 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9225 * switch from SigC signals to boost::signals
9227 2002-05-29 André Pönitz <poenitz@gmx.net>
9229 * paragraph_pimpl.C (getChar): don't call size() too often...
9231 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9233 * paragraph_pimpl.C (insertChar): do not try to update tables when
9234 appending (pos == size())
9236 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9237 in order to reduce drastically the number of comparisons needed to
9238 parse a large document
9240 2002-05-29 André Pönitz <poenitz@gmx.net>
9246 * textclasslist.[Ch]:
9247 * sp_ispell.h: whitespace change
9249 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9251 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9252 lyxaction directly now.
9254 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9258 * lyxvc.C: remove unused headers
9260 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9267 * undo_funcs.C: some cleanups. Use shared_ptr
9268 and a template for the undo stacks.
9270 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9272 * BufferView_pimpl.h:
9273 * BufferView_pimpl.C:
9280 * text2.C: use key_state/mouse_state
9282 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9284 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9287 * chset.C: change include order
9288 (loadFile): use boost regex and get rid of LRegex and LSubstring
9290 * Makefile.am (BOOST_LIBS): new variable
9293 * LaTeX.C: change include order.
9294 (scanAuxFile): use boost regex and get rid of LRegex and
9298 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9303 * FontInfo.C: moved to frontends/xforms/
9306 * FontLoader.C: moved into frontends for GUIIzation
9311 * lyxfunc.C: changes from above
9313 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9315 * LColor.C: remove spurious X include
9317 * BufferView_pimpl.C:
9322 * text2.C: move font metrics to frontends/
9324 2002-05-24 Juergen Vigna <jug@sad.it>
9326 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9327 setting the undo_cursor.
9329 * ParagraphParameters.h: include local includes first.
9331 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9333 * BufferView_pimpl.C:
9334 * BufferView_pimpl.h:
9338 * screen.C: move WorkArea into frontends/
9344 * BufferView2.C: move LyXScreen into frontends/
9348 * lyx_gui.C: move lyxlookup into frontends/xforms/
9350 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9353 * BufferView_pimpl.C:
9363 * bufferview_funcs.C:
9376 * vc-backend.C: move LyX/XFormsView into frontends/
9378 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9390 * text2.C: move Painter to frontends/
9392 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9394 * buffer.C: comment out some some code that depend upon lyx_format
9397 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9398 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9400 * buffer.h (NO_COMPABILITY): turn off compability
9402 * ColorHandler.C: include scoped_array.hpp
9404 * font.C: Use more specific smart_ptr header.
9407 * ShareContainer.h: ditto
9411 * BufferView_pimpl.h: ditto
9412 * ColorHandler.h: ditto
9414 * kbmap.C (defkey): change call to shared_ptr::reset
9416 2002-05-21 Juergen Vigna <jug@sad.it>
9418 * buffer.C (insertErtContents): fix to insert ert asis if it is
9419 non empty. Skip it completely if it contains only whitespaces.
9421 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9423 * BufferView_pimpl.C:
9424 * BufferView2.C: clear selection on paste (bug 393)
9426 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9428 * DepTable.C: include ctime
9430 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9432 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9434 2002-05-14 Juergen Vigna <jug@sad.it>
9436 * text.C (breakParagraph): fixed function to honor the keepempty
9437 layout in the right maner and also to permit the right breaking
9438 algorithm on empty or non empyt keepempty paragraphs.
9440 * paragraph.C (breakParagraph): we have to check also if the par
9441 is really empty (!size()) for isempty otherwise we do the wrong
9444 2002-05-10 Juergen Vigna <jug@sad.it>
9446 * buffer.[Ch] : The following are only changes to the ert
9447 compatibility read reading old LaTeX layout and font stuff and
9448 convert it to ERTInsets.
9450 * buffer.h: added isErtInset().
9452 * buffer.C (struct ErtComp): add a fromlayout bool to check
9453 if we're inside a LaTeX layout.
9454 (isErtInset): new helper function.
9455 (insertErtContents): look for other ert insets before this one
9456 and insert the contents there, so that we don't have subsequent
9457 ERT insets with nothing between them. This way we create only one
9458 inset with multiple paragraphs. Also check if we don't insert only
9459 spaces ' ' as they are ignored anyway afterwards in the .tex file
9460 so if we have only spaces we will ignore this latex part in the
9462 (parseSingleLyXformat2Token \\layout): better compatibility when
9463 reading layout-latex stuff.
9464 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9466 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9467 stuff after reading the inset only get the information back from
9470 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9472 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9474 * LaTeXFeatures.C (getBabelOptions): New method.
9476 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9478 * BufferView_pimpl.C (Dispatch): work around missing argument for
9481 2002-05-08 Juergen Vigna <jug@sad.it>
9483 * text.C (leftMargin): handle paragraph leftindent.
9485 * paragraph.C (writeFile): write the new \\leftindent tag.
9486 (validate): handle leftindent code.
9487 (TeXEnvironment): handle paragraphleftindent code again.
9489 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9491 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9492 for paragrap_extra indent code and new token \\leftindent.
9493 (latexParagraphs): handle the leftindent as environment.
9495 * ParameterStruct.h: added leftindent support.
9497 * ParagraphParameters.C (leftIndent): added support functions for
9498 the paragraph left indent.
9500 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9503 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9505 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9508 * text.C (computeBidiTables): No bidi in insetERT.
9510 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9513 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9515 * version.C.in: pre 5
9517 2002-05-02 José Matos <jamatos@fep.up.pt>
9518 * buffer.C (makeDocBookFile): white space changes, add newline to
9520 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9522 * tabular.C (docBook): fix typo.
9524 2002-05-03 Juergen Vigna <jug@sad.it>
9526 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9527 change in LyXText as we can not be sure it was not freed.
9528 (drawOneRow): remove unused code.
9530 * text.C (drawInset): redo the calculation of the need_break_row as
9531 it could have a row which was already freed.
9532 (draw): look at the return value of drawInset and return false if
9533 it also returned false.
9534 (paintRowText): look at the return value of draw and return false if
9535 it also returned false.
9537 * lyxtext.h: added bool return type to drawInset() and draw() so that
9538 if we have a change in the row so that the rowbreak has to be redone
9539 we abort drawing as it will be called again.
9541 2002-05-02 Juergen Vigna <jug@sad.it>
9543 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9544 a change in the maintext also if we're inside an inset.
9545 (Dispatch): set the cursor again after a break line and after the
9546 screen has been updated as it could be we're in a different row.
9548 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9549 to set the cursor behind the pargraph with > size().
9550 (setCursor): check also for the same paragraph when checking where
9551 to put the cursor if we have a NFR inset.
9553 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9554 parts of layout read further up as it still was in the wrong
9557 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9559 * screen.C (drawFromTo): change sine fullRebreak always return
9562 * buffer.C (parseSingleLyXformat2Token): reindent some
9564 * BufferView_pimpl.C (update): change since fullRebreak always
9566 (Dispatch): git rid of the last hardcoded "Standard"s.
9568 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9570 * text2.[Ch] (fullRebreak): make it return void now that we always
9573 2002-04-30 Juergen Vigna <jug@sad.it>
9575 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9576 ert compatibility check for "latex" layout.
9578 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9580 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9581 minipages: use col% instead of p%, and also use the current font.
9582 (makeLaTeXFile): Fix use babel condition.
9583 (parseSingleLyXformat2Token): Correct font when reading old floats.
9585 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9587 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9588 inserting list of floats.
9590 2002-04-25 Herbert Voss <voss@lyx.org>
9592 * MenuBackend.C (expand): don't add the graphics extensions to the
9595 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9597 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9598 non-existing layout, do not complain if it was the default layout
9599 of the original class (bug #342)
9601 2002-04-24 Juergen Vigna <jug@sad.it>
9603 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9604 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9606 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9608 * buffer.C (getBibkeyList): If using \bibliography, return the
9609 option field with the reference itself. Enables us to provide natbib
9610 support when using \bibliography.
9612 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9614 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9616 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9617 natbib is provided by the LaTeX class.
9619 2002-04-23 Juergen Vigna <jug@sad.it>
9621 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9624 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9626 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9628 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9630 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9631 ensuremath around textordmasculine, textordfeminine and
9634 2002-04-19 Juergen Vigna <jug@sad.it>
9636 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9637 reinitializing the buffer otherwise row-dimensions may be wrong.
9638 (update): reset also the selection cursors if they do exits otherwise
9639 their x/y positions may be wrong.
9641 * text2.C (cursorDown): don't enter the inset if we came from a row
9642 above and are one row over the inset.
9644 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9645 really leaving an inset.
9647 2002-04-18 Juergen Vigna <jug@sad.it>
9649 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9650 of the selected paragraph does not have the selected layout also if
9653 * text2.C (setLayout): fixed bug which did not change last selected
9656 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9657 changed the read and substituted \\end_float with \\end_inset!
9659 * BufferView_pimpl.C (cursorPrevious):
9660 (cursorNext): fixed to make it work with rows heigher than the work
9661 area without moving the cursor only the draw of the row.
9662 (workAreaMotionNotify): fix jumping over high rows.
9664 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9666 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9669 2002-04-16 Juergen Vigna <jug@sad.it>
9671 * text2.C (setCursor): set also the irow().
9672 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9674 (cursorDown): support for locking an inset if the x_fix value goes
9675 inside it. That way I can transverse insets too with cursor up/down.
9677 * lyxrow.h: added irow helper function same as other (i) functions.
9679 * BufferView_pimpl.C (cursorPrevious):
9680 (cursorNext): fixed for insets!
9682 2002-04-15 Juergen Vigna <jug@sad.it>
9684 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9685 position otherwise it is wrong in some cases.
9687 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9688 inside the inset before the call.
9690 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9692 * buffer.[Ch] (getBibkeyList): make it const.
9694 2002-04-12 Juergen Vigna <jug@sad.it>
9696 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9698 * text2.C (getCursorX): new helper function
9699 (setCursor): compute also ix_
9700 (setCursorFromCoordinates): set also ix.
9702 * lyxcursor.h: added ix_ and helper functions.
9704 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9706 * buffer.C (insertStringAsLines): dont break paragraph if the this
9707 paragraph is inside an inset which does not permit it!
9709 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9710 also with no chars on this paragraph.
9711 (paintRowText): only paint stuff if it's inside the workarea!
9713 * paragraph.C (breakParagraph): honor keepempty flag and break the
9714 paragraph always below not above.
9716 * BufferView2.C (unlockInset): update the paragraph layout on inset
9717 unlock as we changed paragraph in such a case.
9719 * lyxfind.C (LyXFind): clear the former selection if not found!
9721 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9722 again called in insertChar().
9724 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9725 an inset which uses the whole row!
9726 (rightMargin): ditto.
9727 (insertChar): force a rebreak if we inserted an inset!
9729 2002-03-28 Herbert Voss <voss@lyx.org>
9731 * lyxlength.[Ch]: add inBP() to get the right PS-point
9732 units (BigPoint). With inPixels we have rounding errors
9734 2002-04-11 Juergen Vigna <jug@sad.it>
9736 * text2.C (setCursorFromCoordinates): set iy to the right value.
9737 (setCursor): add check if row->previous exists!
9739 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9740 an old float_type as this was the case in the old code!
9742 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9744 * BufferView2.C (showLockedInsetCursor): use iy
9745 (fitLockedInsetCursor): ditto
9747 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9748 locked insets as there we have the right value now.
9750 * lyxcursor.C: added iy_ variable and iy functions to set to the
9751 baseline of cursor-y of the locked inset.
9753 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9754 (setCursor): fixed for insets which need a full row.
9756 * text.C (rowLastPrintable): don't ignore the last space when before
9757 an inset which needs a full row.
9758 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9759 as last character of a row when before a inset which needs a full row.
9761 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9763 * version.C.in: update date
9765 * text2.C (fullRebreak): try to always return true and see what
9768 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9770 * MenuBackend.C (expand): use Floating::listName
9772 * FloatList.C (FloatList): add listName argument to the built-in
9775 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9776 text associated with the float.
9778 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9780 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9782 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9784 * ShareContainer.h: add a couple of missing typenames.
9786 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9788 * lyxrc.C (getDescription): use _() correctly rather than N_().
9790 2002-03-28 Herbert Voss <voss@lyx.org>
9792 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9793 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9795 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9797 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9798 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9800 2002-03-29 Juergen Vigna <jug@sad.it>
9802 * lyxfunc.C (dispatch): add a missing fitCursor call.
9804 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9805 it was scrolled by a cursor move, so return the bool status.
9807 * BufferView.C (fitCursor): return the bool flag also to the outside
9808 world as this is needed.
9810 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9812 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9813 call the edit() as it is not needed (and wrong) IMO.
9814 (workAreaButtonPress): set the screen_first variable before evt.
9815 unlock the inset as this may change screen_first and then we have
9816 a wrong y position for the click!
9818 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9820 * MenuBackend.C (expand): another translation that I missed
9822 2002-03-28 Juergen Vigna <jug@sad.it>
9824 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9826 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9828 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9830 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9832 * MenuBackend.C (expand): fix export/view/update when there is no
9835 2002-03-27 Herbert Voss <voss@lyx.org>
9837 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9840 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9842 * bufferview_funcs.C (currentState): only show paragraph number
9843 for is DEVEL_VERSION is set.
9845 * lyxfunc.C (dispatch): put warning in INFO channel
9847 * MenuBackend.C (expand): translate the name of floats
9849 * FloatList.C (FloatList): mark the float names for translation
9851 * converter.C (convert): use LibScriptSearch
9853 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9855 * MenuBackend.C (defaults): fix default menu (we might as well get
9858 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9860 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9863 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * lyxvc.C: reorder includes.
9867 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9869 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9872 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9874 * CutAndPaste.C: change layouts earlier on paste
9875 to avoid crashing when calling getFont()
9877 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9879 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9882 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9884 * WorkArea.C: remove 'Pending' debug message.
9886 * most files: ws cleanup
9888 * buffer.[Ch]: ws changes
9890 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9892 2002-03-21 Juergen Vigna <jug@sad.it>
9894 * tabular.C (SetMultiColumn): collapse also the contents of the
9895 cells and set the last border right. Added a Buffer const * param.
9897 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9899 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9902 2002-03-19 Juergen Vigna <jug@sad.it>
9904 * text2.C (clearSelection): reset also xsel_cache.
9906 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9907 where it needs to be called (John tells us to do so too :)
9908 (selectionLost): reset sel_cache.
9910 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9912 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9914 * text2.C (setCursorIntern): put debuging code in INSETS channel
9916 2002-03-19 André Pönitz <poenitz@gmx.net>
9918 * lyxfunc.C: tiny whitespace change
9920 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9922 * ToolbarDefaults.C (init):
9923 * LyXAction.C (init):
9925 * BufferView_pimpl.C (Dispatch):
9926 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9928 2002-03-19 Allan Rae <rae@lyx.org>
9930 * exporter.C (Export): removeAutoInsets before doing anything else.
9931 While I've just introduced a dependency on BufferView this really is
9932 the best place to clean the buffer otherwise you need to cleanup in
9933 a dozen places before calling export or cleanup in a dozen functions
9936 * converter.C (runLaTeX):
9937 (scanLog): Better handling of removeAutoInsets and screen updates.
9939 * lyxfunc.C (dispatch): small whitespace changes
9941 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9943 * WorkArea.C (C_WorkAreaEvent): return a value.
9944 (event_cb): return 1 if we handled the event, 0 otherwise.
9946 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9948 2002-03-18 Juergen Vigna <jug@sad.it>
9950 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9951 (GetAdditionalWidth): ditto.
9955 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9956 inset if we're there actually (probably not used right now but this
9957 is the direction to go for unifying code).
9958 (paste): disable code to clear the selection.
9960 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9961 inside an InsetText and move the check further up as it is in the
9964 * text2.C (pasteSelection): set a selection over the pasted text.
9966 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9968 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9969 and libgraphics to build on Cygwin.
9971 2002-03-15 Juergen Vigna <jug@sad.it>
9973 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9974 inserting an Inset into the paragraph. I know this is not the best
9975 fix but we already use current_view in CutAndPaste so we will remove
9976 all of it's using at the same time.
9978 * buffer.C (sgmlError): deactivated function till it is rewritten in
9979 the right mode, now it can create problems.
9981 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9982 before accessing it.
9984 2002-03-14 Juergen Vigna <jug@sad.it>
9986 * undo_funcs.C (textHandleUndo): do the right thing when updating
9987 the inset after the undo/redo.
9989 * text2.C (setCursor): just some testcode for #44 not ready yet.
9991 * undo_funcs.C (textHandleUndo): set the next() and previous()
9992 pointers of the paragraph to 0 before deleting otherwise we have
9993 problems with the Paragraph::[destructor].
9995 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9996 on a paragraph insertion.
9998 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10000 * buffer.C (asciiParagraph): use += operator for char append to
10003 * paragraph.C (getFontSettings): compare >= not just >
10004 (highestFontInRange): ditto
10007 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10009 * paragraph.C: change several algorithm to be more appripriate for
10010 the problem domain. This is lookip in FontList and in the InsetList.
10012 2002-03-13 André Pönitz <poenitz@gmx.net>
10015 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10017 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10022 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10024 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10026 * Painter.C (display): anon helper function, adjust code for this
10028 (pixmap): remove function.
10030 * Painter.h: remove private display variable.
10032 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10034 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10036 * WorkArea.[Ch]: remove figinset_canvas cruft.
10038 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10040 * lyxtextclass.C (operator): add one item cache optimization.
10042 * bufferlist.h: doxy changes
10044 * bufferlist.C: ws changes
10046 * DepTable.[Ch] (ext_exist): place const in the right spot.
10048 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10050 (workAreaExpose): call resizeInsets when the with BufferView changes.
10051 (Dispatch): adjust for protectedBlank removal
10052 (specialChar): call updateInset if the insert went ok.
10054 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10055 specialChar instead.
10057 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10059 * BufferView.h: doxy change
10061 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10063 * lyxtextclass.C (operator[]): remove non-const version
10064 (defaultLayout): remove non-const version
10066 2002-03-12 Juergen Vigna <jug@sad.it>
10068 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10069 did resize the LyXText too.
10071 * buffer.C (readLyXformat2): set layout information on newly allocated
10074 * tabular.C (OldFormatRead): set layout information on the paragraph.
10076 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10078 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10080 2002-03-11 Juergen Vigna <jug@sad.it>
10082 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10084 (resizeCurrentBuffer): force also the insets to resize themselfes.
10085 (moveCursorUpdate): fixed up for InsetText.
10087 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10090 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10091 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10092 value of Dialogs::tooltipsEnabled().
10093 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10095 2002-03-08 Juergen Vigna <jug@sad.it>
10097 * BufferView_pimpl.C (updateInset): update inset inside inset also
10098 if it isn't inside theLockingInset().
10100 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10102 * buffer.C (asciiParagraph): redo some of the word and line length
10104 (getLists): look for Caption instead of caption.
10106 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10108 * buffer.C (Buffer): initialize niceFile to true
10110 (makeLinuxDocFile):
10111 (makeDocBookFile): make sure niceFile is true on exit
10113 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10115 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10117 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10119 * LyXSendto.C: remove.
10120 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10121 * lyx_gui.C: remove now-redundant comment.
10122 * ColorHandler.h: remove forward declaration of class WorkArea.
10123 * lyxfunc.C: remove #include "WorkArea.h".
10125 2002-03-07 Juergen Vigna <jug@sad.it>
10127 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10128 got moved away with the DEPM and also set the inset_owner always
10129 right which before could have been omitted.
10131 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10133 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10134 wanted layout is not found.
10136 2002-03-07 Juergen Vigna <jug@sad.it>
10138 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10140 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10142 * paragraph.C (breakParagraph): use default layout not layout of
10144 (Paragraph): clear ParagraphParameters.
10146 2002-03-06 Juergen Vigna <jug@sad.it>
10148 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10149 otherwise it would not be a valid lenght. Fixed a special case in
10150 the minipage compatibility read where we end the document with a
10153 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10154 was set as it could be 0 for InsetTexts first entry.
10156 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10158 * paragraph.C (writeFile): if layout is empty write out
10159 defaultLayoutName().
10161 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10162 file without named layout we set layout to defaultLayoutName().
10164 2002-03-06 Juergen Vigna <jug@sad.it>
10166 * CutAndPaste.C (copySelection): set layout for new paragraph.
10168 * text.C (prepareToPrint): leave ERT inset left aligned
10169 (leftMargin): don't indent paragraphs inside ERT insets
10171 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10173 * paragraph.C (breakParagraph): dont call clear do the work manually
10175 * paragraph.[Ch] (clear): remove function
10177 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10179 * paragraph.C (Paragraph): dont call clear, the work has already
10182 * lyxtextclass.C (operator): assert if n is empty
10184 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10185 work manually instead.
10187 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10189 * BufferView_pimpl.C: protect selectionLost against text == 0
10191 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10193 * text.C (breakParagraph): fix a setting layout to '0' problem.
10195 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10197 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10198 final location of file, for the included files, and graphics.
10200 2002-03-05 Juergen Vigna <jug@sad.it>
10202 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10204 2002-03-04 Juergen Vigna <jug@sad.it>
10206 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10208 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10209 last column of multicolumn cells.
10210 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10212 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10214 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10215 file if it doesn't go to a temporary file.
10217 * buffer.C (sgmlOpenTag):
10218 (sgmlCloseTag): remove extra newline insertion.
10220 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10222 * text.C (getRowNearY): comment out debug msg
10224 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10226 * text2.C: first -> first_y
10228 * text.C (getRowNearY): add some attemts at a possible
10229 optimization, not working.
10231 * tabular.[Ch]: add BufferParams to several function so that newly
10232 created paragraph can be initialized to he default layotu for the
10235 * tabular-old.C (ReadOld): add buf->params to call of Init
10237 * screen.C: rename text->first to text->first_y
10239 * paragraph.C (breakParagraph): always set layout in the broken
10242 * lyxtextclass.C (Read): remove lowercase
10245 (delete_layout): ditto
10247 * lyxtext.h: rename first -> first_y
10249 * lyxlayout.C (Read): remove lowercase
10252 (obsoleted_by): ditto
10254 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10256 * buffer.C (insertErtContents): add params are to InsetERT
10257 (parseSingleLyXformat2Token): add code to check if a paragraphs
10258 layout really exist.
10259 (parseSingleLyXformat2Token): add params to several inset
10261 (asciiParagraph): remove lowercase, do the layout comparisons with
10264 * BufferView_pimpl.C (cursorNext): first -> first_y
10265 (resizeCurrentBuffer): first -> first_y
10266 (updateScrollbar): first -> first_y
10267 (scrollCB): first -> first_y
10268 (workAreaMotionNotify): first -> first_y
10269 (workAreaButtonPress): first -> first_y
10270 (checkInsetHit): first -> first_y
10271 (cursorPrevious): first -> first_y
10272 (cursorNext): first -> first_y
10273 (Dispatch): add buffer_->params to severl inset contructors
10275 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10277 * lyxlayout.C (Read): remove some debug info that I forgot.
10279 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10280 clean up the code slightly.
10281 (makeLinuxDocFile): ditto
10282 (makeDocBookFile): ditto
10284 * text2.C: layout as string
10286 * text.C: layout as string
10288 * paragraph_pimpl.C: layout as string
10290 * paragraph.[Ch]: layout as string
10292 * lyxtextclasslist.[Ch]: layout as string
10294 * lyxtextclass.[Ch]: layout as string
10296 * lyxtext.h: layout as string
10298 * lyxlayout.[Ch]: layout as string
10300 * lyx_cb.C: layout as string
10302 * bufferview_funcs.C: layout as string
10304 * bufferparams.C: layout as string
10306 * buffer.C: layout as string
10308 * LyXView.[Ch]: layout as string
10310 * LaTeXFeatures.[Ch]: layout as string
10312 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10314 * BufferView_pimpl.C: change current_layout to string, remove
10319 (workAreaButtonRelease): layout as string
10321 * BufferView2.C (unlockInset): adjust
10323 * vspace.C (asLatexCommand): use an explict temp variable.
10325 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10327 * Makefile.am: use FRONTEND_*
10329 2002-03-01 Juergen Vigna <jug@sad.it>
10331 * tabular.C (SetWidthOfMulticolCell): changed to something better
10332 I hope but still work in progress.
10333 (recalculateMulticolumnsOfColumn): renamed function from
10334 recalculateMulticolCells as it is more appropriate now.
10335 (SetWidthOfCell): calculate multicols better.
10337 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10339 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10341 * lyxfunc.C (processKeySym): print sequence also if it is
10342 `deleted' (complete)
10344 * kbsequence.C (print): print sequence even if it is deleted
10345 (complete would be a better word, actually).
10347 * lyxfunc.C (dispatch): print complete options after a prefix key
10349 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10351 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10353 * text2.C (setCharFont): eliminate setCharFont code duplication.
10355 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10357 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10358 LFUN_TABULAR_FEATURE (bug #177)
10360 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10362 * Makefile.am: remove figure.h
10364 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10366 * Bufferview_pimpl.C:
10378 * text2.C: remove #include "lyx_gui_misc.h".
10380 * LaTeX.C: added #include <cstdio>
10382 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10385 that the paragraph following this one can have.
10387 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10389 * vspace.C (asLatexCommand): fix bogus gcc warning
10391 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10393 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10395 * text2.C (setLayout): get rid of redundant code
10397 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10399 * text2.C (incDepth): make sure depth cannot be increased beyond
10402 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10404 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10405 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10407 * PainterBase.h (image):
10408 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10409 a LyXImage const *.
10411 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10415 * BufferView_pimpl.C:
10416 * BufferView_pimpl.h:
10436 * sp_spell.C: remove fig inset, and the crap house of
10437 cards that follows it
10439 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10444 * os2_errortable.h:
10445 * nt_defines.h: move .h into support/
10447 * vms_defines.h: remove
10449 * WorkArea.C: add space in debug output
10453 * buffer.C: add WITH_WARNINGS
10457 * bufferlist.C: s/retrive/retrieve/, add docs
10466 * chset.C: add docs
10468 * lyxgui.C: add ID to X error handler
10470 * lyxtestclass.c: fix typo
10472 2002-02-26 Juergen Vigna <jug@sad.it>
10474 * tabular_funcs.C (write_attribute): changed so that some default
10475 attributes are not written at all.
10476 (getTokenValue): set default values before trying to read the
10477 value so we have the return value always set as default if we don't
10478 find the token we search for.
10480 * tabular.C (Write): write bools as bools not as strings!
10482 2002-02-22 Juergen Vigna <jug@sad.it>
10484 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10485 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10487 * text.C (leftMargin): don't add an indent for paragraphs inside
10488 tabular cells (fix #208).
10490 2002-02-21 José Matos <jamatos@fep.up.pt>
10492 * tabular.C (docBook): fixed support for long tables.
10494 2002-02-20 Juergen Vigna <jug@sad.it>
10496 * text2.C (getFont): get the drawing font of the Inset if this
10497 paragraph is inside an inset (only important for InsetERT for now).
10499 * buffer.C (insertErtContents): use new lanugage params in ERT
10502 * CutAndPaste.C: commenting out seemingly uneeded code.
10504 2002-02-19 Allan Rae <rae@lyx.org>
10506 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10507 Iterators might be simple to use but they also get invalidated.
10508 (removeAutoInsets): renamed saved cursor tracking variables and added
10509 some comments to clarify what everything does.
10511 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10518 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10519 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10522 * vc-backend.h: remove #include "support/syscall.h"
10526 * converter.C: rearrange #includes in Lars' approved fashion.
10528 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10529 forward declare class Timeout in the header file.
10531 * XFormsView.C: changes due to the above.
10533 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10534 similar to LyXView.
10536 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10537 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10539 2002-02-18 José Matos <jamatos@fep.up.pt>
10541 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10544 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10546 * a lot of small ws changes
10547 * add a lot of using std::XXX
10548 * use std construcs some places where approp.
10549 * use some exisint stuff from lyxfunctional where approp.
10550 * Make file changes to use partial linking (lets test this now...)
10552 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10556 remove #include "support/syscontr.h" as it's redundant. Always has been.
10564 change Systemcalls::System to Systemcalls::Wait and
10565 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10566 No change of functionality, just reflects the stripped down Systemcalls
10569 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10571 * debug.[Ch]: add a GRAPHICS type to the enum.
10573 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10575 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10577 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10580 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10582 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10583 match the changes below.
10585 * text2.C (toggleInset): if there is not editable inset at cursor
10586 position, try to see if cursor is _inside_ a collapsable inset
10589 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10592 document menu has a nice checkbox
10594 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10596 * lyxlength.C (asLatexString): change PW to output as percent of
10599 * lengthcommon.C: change '%' to 't%'
10601 * lyxfunc.C (dispatch): a few comments from Martin
10603 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10607 * BufferView_pimpl.h:
10608 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10611 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10613 * vspace.C (inPixels): fix compiler warning
10615 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10617 * lyxfunc.C (getStatus): fix status message for disabled commands.
10619 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10621 * BufferView_pimpl.C: fix crash on close buffer
10622 during selection (#227)
10624 2002-01-27 Herbert Voss <voss@lyx.org>
10626 * buffer.C: link old Figure to new graphic inset
10628 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10630 * FontLoader.C (getFontinfo): Change the latex font names in order
10631 to match the names of type1inst.
10633 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10635 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10637 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10638 (extchanged): ditto
10640 (remove_files_with_extension): ditto
10641 (remove_file): ditto
10644 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10645 document is smaller than the work area height. Do not initialize
10646 static variables to 0.
10648 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10650 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10652 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10653 LFUN_LAYOUT_PARAGRAPHS.
10655 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10656 tabular. It is possible to provide a possible cell, which will
10657 typically be the actcell from the corresponding insettabular
10659 * lyxfunc.C (getStatus): small cleanup; disable
10660 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10663 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10667 * paragraph.C (startTeXParParams):
10668 (endTeXParParams): new methods. The LaTeX code to
10669 start/end paragraph formatting
10670 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10671 empty (fixes bug #200)
10673 * vspace.C (inPixels): adapt to the change below
10674 (inPixels): [later] more cleanups (remove unused variables)
10676 * lyxlength.C (inPixels): change to use a width and a height as
10679 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10681 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10682 Replaced with \paperwidth
10684 * DepTable.C (insert): add std:: qualifier
10686 2002-01-18 Allan Rae <rae@lyx.org>
10688 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10691 * text.C (drawInset): Turned out I didn't know enough about how
10692 rebreaking worked. This fixes most of the redraw problems. I see
10693 an occasional cursor trail when a line is broken now and the cursor
10694 placement can seem out by a few pixels also after a rebreak.
10696 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10698 * buffer.C (parseSingleLyXformat2Token): update because minipage
10699 width is now a LyXLength
10701 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10703 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10706 2002-01-17 Juergen Vigna <jug@sad.it>
10708 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10710 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10711 is set correctly and the inset is updated correctly.
10713 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10715 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10716 the beginning of the loop.
10718 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10720 * lyxrc.C: improve help for use_scalable_fonts
10722 2002-01-17 Allan Rae <rae@lyx.org>
10724 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10726 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10728 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10729 make sure to set their inset_owner to the right value (bug #171)
10731 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10734 * DepTable.C: Implement mtime checking to reduce time spent doing
10737 2002-01-16 Juergen Vigna <jug@sad.it>
10739 * tabular.C (GetAdditionalHeight): one of error fixed.
10741 * lyxrc.C (output): small fix in writing use_pspell.
10743 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10745 * sp_base.h: #include LString.h
10747 2002-01-16 Allan Rae <rae@lyx.org>
10749 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10750 Can someone check this please?
10752 * text.C (drawInset): It was possible that p.row would be removed by
10753 breakAgainOneRow upsetting a few other settings. There may be another
10754 small tweak possible by setting need_break_row = 0 when p.row has been
10755 removed but I don't know enough about the logic here.
10757 2002-01-15 Allan Rae <rae@lyx.org>
10759 * text.C (insertChar): removed conditional truism.
10761 * BufferView2.C (removeAutoInsets): More tweaks.
10762 cur_par_prev could be a stray pointer. Check for trailing empty line
10763 in case last line was cur_par and only had an error inset on it.
10765 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10767 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10770 * vc-backend.C (most methods):
10771 * exporter.C (Export):
10772 * converter.C (convert):
10774 * LyXSendto.C (SendtoApplyCB):
10775 * lyxfunc.C (dispatch):
10779 * lyx_cb.C (AutoSave):
10781 * BufferView_pimpl.C (MenuInsertLyXFile):
10782 * buffer.C (runChktex): use Buffer::filePath().
10784 * buffer.h: rename filename to filename_; rename filepath to
10785 filepath_ and make it private
10786 (filePath): new method
10788 * buffer.C (writeFile): use fileName()
10791 * lyx_main.C (init): fix starting of LyX when the binary is a
10792 link from so,ewhere else.
10794 * minibuffer.C: include <cctype> for isprint
10796 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10798 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10799 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10800 name clash with InsetCollapsable's width function.
10802 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * lastfiles.C: include <iterator>
10806 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10808 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10811 * buffer.C (makeLaTeXFile): ditto.
10812 Also make loop operation more transparent.
10814 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10816 * ToolbarDefaults.C: remove trailing comma closing namespace.
10818 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10820 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10823 * trans.C (Load): comment out unused variable, allowed.
10825 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10827 * minibuffer.[Ch] (append_char): new method to recieve input from the
10828 drop-down completion browser. If a key was pressed, then recieve this
10829 char and append it to the existing string.
10830 (peek_event): modify the positioning data passed to the completion
10831 browser so that it can be placed above the minibuffer rather than below.
10832 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10834 * LyXAction.C (init): alloe error-next for readonly documents.
10836 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10839 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10841 * bufferlist.C (readFile): create the buffer _after_ checking that
10844 * lyxfunc.C (verboseDispatch): fix handling of arguments
10846 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10848 * lyxrc.C: use string::erase() instead of initializing to "".
10851 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10853 * BufferView_pimpl.h:
10854 * BufferView_pimpl.C:
10857 * text2.C: tell X when we have made a selection for copying
10859 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10861 * BufferView_pimpl.C (MenuInsertLyXFile):
10862 * lyxfunc.C (menuNew):
10864 (doImport): add shortcuts to directory buttons
10866 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10869 * lyxfunc.C (setStatusMessage):
10870 (getStatusMessage): new methods
10871 (getStatus):use setStatusMessage instead of setErrorMessage
10872 (dispatch): when function is disabled, set error message here
10873 [instead of in getStatus previously]
10875 * BufferView_pimpl.C (workAreaButtonRelease): update
10876 toolbar/menubar here too.
10878 2002-01-13 Allan Rae <rae@lyx.org>
10880 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10881 Now seems indestructible. Remaining task is to audit all other
10882 code affected by deleteEmptyParagraphMechanism. One small quirk
10883 left is that an empty document with an error in the preamble can
10884 be made to report an error but no error box appears. I don't know
10886 (removeAutoInsets): Improved comments.
10888 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10891 * Thesaurus.C: update for Aiksaurus 0.14
10893 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10895 * text2.C (firstParagraph): removed member function, all uses
10896 replaces with ownerParagraph
10897 (redoParagraphs): here
10898 (updateInset): here
10899 (toggleAppendix): here
10900 * BufferView2.C (insertErrors): here
10901 (setCursorFromRow): here
10903 2002-01-13 Allan Rae <rae@lyx.org>
10905 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10906 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10907 There is still a way to segfault this although you may have to do this
10908 multiple times: Have an InsetERT with an unknown command in it.
10909 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10910 <down-arrow>, <Enter> again, View->DVI, BANG!
10912 * text2.C (setCursor):
10913 (deleteEmptyParagraphMechanism):
10914 * lyxtext.h (setCursor):
10915 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10916 Making use of the return value may help fix other bugs.
10918 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10920 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10922 * LyXView.C (updateMenubar): call MenuBar::update here
10923 (updateToolbar): but not here
10924 (showState): do not update toolbar/menubar
10926 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10927 should need to care about that.
10929 * lyxfunc.C (verboseDispatch): simplify a bit
10930 (getStatus): have a version which takes a pseudoaction, and
10931 another which requires a (kb_action,string).
10933 * LyXAction.C (retrieveActionArg): make it work also when action
10934 is not a pseudo-action.
10935 (getActionName): simplify a bit
10938 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10940 * lyxfunc.C (verboseDispatch): new families of methods with
10941 several ways to specify a command and a bool to indicate whether
10942 the command name and shortcut should be displayed in minibuffer
10943 (eventually, we could extend that to a finer bitmask like
10944 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10945 (dispatch): the pristine dispatch command which just, well,
10946 dispatchs! Note it still sets its result to minibuffer; I'm not
10949 * lyxfunc.h: remove setHintMessage
10951 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10953 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10955 * BufferView_pimpl.C (specialChar): delete new inset if we have
10956 not been able to insert it.
10958 * kbmap.C: revert to using int instead of kb_action, since all we
10959 are dealing with is pseudo-actions.
10961 * LyXAction.C (searchActionArg): change to return int instead of
10962 kb_action, since the result is a pseudoaction.
10964 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10966 * buffer.C (insertErtContents): Fix (partially) the font bug.
10968 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10970 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10971 as the other one is broken on my machine!
10973 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10976 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10978 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10980 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10981 reflect their actual use. Provide compatibility code for older lyxrc
10984 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10986 change names of popup font variables in line with the changes to lyxrc.C
10988 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10990 * buffer.C (asciiParagraph): avoid outputing a word twice after
10993 * lyxrc.C (getDescription): document that document_path and
10994 template_path can be empty.
10996 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10998 * LaTeXFeatures.C (getMacros):
10999 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11001 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11003 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11005 (getPackages): rename feature "floats" to "float". Use an array to
11006 iterate over 'simple' features (i.e. just a \usepackage). Add
11007 handling of "amsmath" (renamed from "amsstyle").
11009 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11011 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11014 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11016 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11017 FuncStaus::FuncStatus & FuncStaus::some_method().
11019 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11021 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11022 of the func_satus stuff. Edited and massaged in various ways by
11025 * lyxfunc.C (getStatus): use FuncStatus
11027 2002-01-08 Juergen Vigna <jug@sad.it>
11029 * text.C (nextBreakPoint): use function Inset::isChar().
11031 * paragraph.C (TeXOnePar): use function
11032 Inset::forceDefaultParagraphs.
11034 * buffer.C (latexParagraphs): use function
11035 Inset::forceDefaultParagraphs.
11037 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11039 * lyx_gui.C (init): set the style of the menu popups to
11040 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11042 2002-01-07 Juergen Vigna <jug@sad.it>
11044 * text.C (setHeightOfRow): small fix
11045 (prepareToPrint): don't look at alignment if we don't have the place
11048 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11050 * box.C: New file. Move the Box methods and functions out of box.h,
11051 following Lars' suggestion.
11053 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11055 * box.h: #include "support/LOstream.h", needed for inlined function.
11058 * lyxtextclasslist.C: added some using std declarations.
11060 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11062 * box.h: make signed dimensions to allow insets wider than
11063 the screen (bug #162)
11065 * BufferView_pimpl.C: add some insetHit debug
11067 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11069 * vc-backend.C: add FIXME
11071 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11073 * lyxfunc.C (getStatus): enable code for showing math font status
11076 2002-01-07 Juergen Vigna <jug@sad.it>
11078 * text.C (nextBreakPoint): removed debug output not needed anymore.
11080 2002-01-06 Juergen Vigna <jug@sad.it>
11082 * text.C (nextBreakPoint): fixed up this function we had this bug
11083 since ever but now hopefully we break row better.
11084 (insertChar): we have to check if an inset is the next char as it
11085 could now happen that a large inset is causing a break.
11087 2002-01-05 Juergen Vigna <jug@sad.it>
11089 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11090 if it doesn't like to be drawed.
11092 2002-01-04 Juergen Vigna <jug@sad.it>
11094 * BufferView2.C (lockInset): forgot to set a cursor.
11096 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11098 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11100 * FormMathsPanel.C:
11103 * form_maths_panel.C:
11104 * form_maths_panel.h:
11105 * form_maths_panel.fd: implemented sub- and super- buttons in math
11108 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11109 (or ^ space) to be used as in TeX (req'd by André).
11111 * lyxfunc.C: Allow ^ and _ again to be used both as
11112 super/subscript (mathed) and as themselves (in text).
11114 2002-01-03 Allan Rae <rae@lyx.org>
11116 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11117 "LyX" or the filename of the current buffer if it has one. This is a
11118 modified form of John Levon's patch.
11120 * XFormsView.C (setWindowTitle): also set icon title.
11122 * LyXView.h (setWindowTitle): signature changed.
11123 * XFormsView.h (setWindowTitle): ditto.
11125 2002-01-02 Juergen Vigna <jug@sad.it>
11127 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11129 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11131 * screen.C (topCursorVisible): introduce a temp var for
11132 text->cursor.row(), handle the case where this row is null. (kindo
11135 * text2.C (setCursor): add a couple of asserts.
11137 * paragraph.h (inset_iterator): add -> operator
11139 * paragraph.[Ch] (autoDeleteInsets): remove member function
11141 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11142 cursor pos correctly and handle inset deletion by itself.
11143 (insertErrors): move iterator declaration out of for expression
11145 * lyxtextclass.C: add <algorithm>
11147 * Makefile.am: added the new files to sources, removed layout.C
11149 * layout.C: removed file
11151 * layout.h: remove LYX_DUMMY_LAYOUT
11153 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11157 * lyxtextclass.[Ch]:
11158 * lyxtextclasslist.[Ch]: new files
11160 * include order changes to a lot of files, also changes because of
11163 2001-12-27 Juergen Vigna <jug@sad.it>
11165 * buffer.C (asciiParagraph): more fixes.
11167 * tabular.C (ascii): make ascii export support export of only the
11168 data separated by a column-delimiter.
11169 (ascii): better support for ascii export.
11171 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11173 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11175 * tabular_funcs.C: use a "using std::getline" instead of the
11176 previous fix from Angus (necessary for cxx + lyxstring)
11178 2001-12-24 Juergen Vigna <jug@sad.it>
11180 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11182 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11183 problems. First check a minipage also if we have some ert-contents
11184 (not only on par->size(), second set the right depth of the paragraph
11185 on the relink to the root-paragraph-list!
11187 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11188 which then did not anymore update the main paragraphs on undo/redo!
11190 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11192 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11193 code. Support all font-changing funcs (even those which are not in
11194 menu currently). Support for reporting font settings in
11195 mathed (disabled until Andre provides a function on mathed's side).
11197 * func_status.h (toggle): small helper function to set toggle
11200 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11202 * tabular_funcs.C: getline -> std::getline
11204 2001-12-21 Juergen Vigna <jug@sad.it>
11206 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11207 accessed and could be 0 (I couldn't generate this but it seems
11210 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11212 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11213 * tabular_funcs.h: here and include iosfwd
11215 2001-12-20 Juergen Vigna <jug@sad.it>
11217 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11218 inside inset but undo_par was.
11220 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11222 * Thesaurus.C: always include <config.h> in sources.
11226 * box.h: do not include <config.h> in header files
11228 * text.C (paintLastRow): remove unused variable
11230 * text.C (transformChar):
11232 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11234 * Painter.C (text):
11235 * font.C (width): rewrite to use uppercase() instead of
11238 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11240 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11242 * lyxfind.C: clean up of find failure position change
11244 2001-12-20 Juergen Vigna <jug@sad.it>
11246 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11248 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11249 (TeXRow): added to LaTeX a single tabular row.
11250 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11251 (Latex): simplified and finally good LT-h/f support.
11252 (various_functions): just small adaptions for LT-h/f support.
11254 * tabular_funcs.[hC]: added and moved here all not classfunctions
11257 2001-12-19 Juergen Vigna <jug@sad.it>
11259 * tabular.[Ch]: better support for longtabular options (not finished
11262 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11264 * text.C (paintLastRow): use the label font instead of the font of
11265 the last character to compute the size of *_BOX. This makes more
11266 sense and avoids a crash with empty paragraphs.
11267 Use Painter::rectangle to draw EMPTY_BOX.
11269 2001-12-19 Juergen Vigna <jug@sad.it>
11271 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11272 the paragraphs if the replaced paragraph is not the first one!
11273 Tried to delete not used paragraphs but does not work yet so for
11274 now it's inside #ifdef's and by default off!
11276 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11278 * MenuBackend.C: include "lyx_main.h" instead of declaring
11279 lastfiles (actually was declared as LastFiles* instead of a
11282 2001-12-17 Juergen Vigna <jug@sad.it>
11284 * tabular.C (AppendColumn): applied John's fix
11286 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11290 * BufferView_pimpl.h:
11291 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11294 * box.h: new start of class for above
11296 * lyxfunc.C: ignore space-only minibuffer dispatches.
11297 Show the command name when it doesn't exist
11299 * minibuffer.C: don't add empty lines to the history
11301 * minibuffer.C: add a space on dropdown completion
11303 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11305 * text.C: fix line above/below drawing in insets
11307 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11309 * lyxlength.C (LyXLength): Initialize private variables.
11311 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11313 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11314 when inserting error insets.
11316 2001-12-13 Juergen Vigna <jug@sad.it>
11318 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11319 actually sometimes the before-paragraph.
11320 (setUndo): don't clear the redostack if we're not actually undoing!
11322 2001-12-06 Juergen Vigna <jug@sad.it>
11324 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11325 and fixed redoing of main paragraph, so we can use it now ;)
11327 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11329 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11331 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11334 2001-12-13 André Pönitz <poenitz@gmx.net>
11337 * undo_func.C: minor cleanup
11339 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11341 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11342 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11343 font in urw-fonts package which is marked as -urw-fontspecific and
11344 does not work (incidentally, changing the encoding in the
11345 fonts.dir of this package to -adobe-fontspecific fixes the
11348 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11349 is a crash when undoing first paragraph (Juergen, please take a
11350 look). THis does not mean the undo fix is wrong, just that it
11353 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11354 the (Paragraph*) version when needed instead of duplicating the
11357 * text.C (workWidth): use Inset::parOwner to find out where the
11358 inset has been inserted. This is a huge performance gain for large
11359 documents with lots of insets. If Inset::parOwner is not set, fall
11360 back on the brute force method
11362 * paragraph_pimpl.C (insertInset):
11363 * paragraph.C (Paragraph):
11364 (cutIntoMinibuffer): set parOwner of insets when
11365 inserting/removing them
11367 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11369 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11375 * mathed/formulabase.C:
11376 * mathed/math_cursor.[Ch]:
11377 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11380 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * lyxlength.[Ch] (operator!=): new function
11384 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11386 * text.C (workWidth): use Inset::parOwner to find out where the
11387 inset has been inserted. This is a huge performance gain for large
11388 documents with lots of insets. If Inset::parOwner is not set, fall
11389 back on the brute force method
11391 * paragraph_pimpl.C (insertInset):
11392 * paragraph.C (Paragraph):
11393 (cutIntoMinibuffer): set parOwner of insets when
11394 inserting/removing them
11396 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11398 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * tabular-old.C (getTokenValue):
11401 * tabular.C (getTokenValue):
11402 (write_attribute): new versions for LyXLength
11403 (everywhere): adjust the use of widths
11405 * tabular.h: change the type of widths from string to LyXLength
11407 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11409 * paragraph.C: fixed missing line number count when exporting
11410 Environments to LaTeX file
11412 * buffer.C: added informational message for checking line numbers.
11414 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11416 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11417 paragraph, do the 'double space' part, but not the 'empty
11420 * text.C (workWidth): small optimization
11421 (getLengthMarkerHeight): use minimal size for negative lengths.
11423 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11425 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11427 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11429 2001-12-11 André Pönitz <poenitz@gmx.net>
11432 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11434 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11436 * text2.C: keep selection on a setFont()
11438 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11440 * lyx_cb.C: another bv->text misuse, from insert label
11442 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11445 * kbsequence.C: re-instate nmodifier mask
11447 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11449 * lyx_main.h: make lyxGUI private.
11451 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11453 * lyxfind.C: place the cursor correctly on failed search
11455 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11457 * text.C (getLengthMarkerHeight): for small heights, the arrows
11458 are not always on top/bottom of the text
11459 (drawLengthMarker): smaller arrows; take the left margin in
11460 account; draw also vfills.
11462 (paintLastRow): remove special code for vfill and standard spaces,
11463 since everything is handled in drawLengthMarker now.
11465 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11467 * buffer.C (insertErtContents): try to handle font and language
11468 interaction a bit better.g
11470 * ColorHandler.C (updateColor): change the hash to cover the whole
11471 LColor enum, ws cleanup
11472 (getGCLinepars): ditto
11473 (getGCLinepars): only lookup in the linecache once.
11475 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11477 * iterators.C (operator++): Make the iterator more robust
11479 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11481 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11486 * text.C: better added space drawing
11488 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11491 * BufferView2.C: fix layout combo update on inset unlock
11493 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11495 * Makefile.am: don't compile unused files
11497 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11501 * LyXAction.C: remove old LFUN_LAYOUTNO
11503 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11505 * paragraph_pimpl.h:
11506 * paragraph_pimpl.C: isTextAt() doesn't need font param
11508 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11511 * lyxlex.C: little cleanup
11513 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11515 * BufferView_pimpl.C: fix insertAscii for insets
11517 2001-12-05 Juergen Vigna <jug@sad.it>
11519 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11520 set the right font on the "multi" paragraph paste!
11522 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11528 * lyxlength.C: remove out-commented code.
11530 * BufferView_pimpl:
11544 * vc-backend.C: change "while(" to "while ("
11546 * lyxlength.[Ch]: add zero function to check if length is zero or
11548 * lyxgluelength.C: use it
11550 2001-12-05 Allan Rae <rae@lyx.org>
11552 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11553 Works for 2.95.3, from what I understand of Garst's reports this should
11554 work for other g++ versions. We're screwed if the abs(int) definition
11555 changed between bugfix releases of gcc.
11557 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11559 * text.C: fix chapter label offset !
11561 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11564 * text.C: fix hfill at end of line, clean up
11566 2001-12-04 Juergen Vigna <jug@sad.it>
11568 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11569 that we force an update of the inset and it's owners if neccessary.
11571 2001-12-03 Juergen Vigna <jug@sad.it>
11573 * text.C (rowLast): simplified code
11575 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11577 * lyxfunc.C: fix show options on timeout
11579 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11581 * screen.C (topCursorVisible): scroll half a page when the cursor
11582 reached top of bottom of screen
11584 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11586 * minibuffer.C: deactivate on loss of focus
11588 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11590 * vspace.[Ch] (operator!=): add operator.
11592 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11594 * BufferView_pimpl.C: refuse to open an inset when
11595 there's a selection.
11597 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11599 * BufferView_pimpl.C: allow to click on RHS of full row insets
11601 2001-11-30 Juergen Vigna <jug@sad.it>
11603 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11604 insets for undo reasons.
11606 2001-11-28 André Pönitz <poenitz@gmx.net>
11608 * vspace.[Ch]: cosmetical changes
11610 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11620 * kbsequence.C: part re-write of old kb code
11623 * WorkArea.C: remove Lgb_bug_find_hack
11625 2001-11-30 José Matos <jamatos@fep.up.pt>
11627 * buffer.C (makeDocBookFile): add a comment to point a hack.
11628 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11629 Fixed a double write of labels.
11631 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11634 * LaTeX.h Fixed bug in LaTeX class where it would not
11635 re-run latex if no depfiles were changed, but the .dvi was removed.
11637 2001-11-28 André Pönitz <poenitz@gmx.net>
11639 * all the files from the change on 2001/11/26:
11640 use lyx::layout_type instead of LyXTextClass::size_type
11641 use lyx::textclass_type instead of LyXTextClassList::size_type
11643 2001-11-29 Juergen Vigna <jug@sad.it>
11645 * text.C: added support for paragraph::isFreeSpacing()
11647 * buffer.C: same as above
11649 * paragraph.h: inserted isFreeSpacing() function to enable
11650 FreeSpacing inside InsetERT.
11652 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11653 of the paragraph's in the cut/copy buffer to 0!
11655 * text2.C (removeRow): remove the assert as it can!
11657 * lyxtext.h: added helper function firstRow returning firstrow and
11658 made firstrow private again.
11660 * BufferView2.C (lockInset): don't relock if we're already locked!
11662 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11663 the only paragraph.
11664 (removeRow): added Assert::(firstrow)
11666 * debug.C: forgot to add INSETTEXT here.
11668 2001-11-28 Juergen Vigna <jug@sad.it>
11670 * sp_spell.C (initialize): changed error text to more general
11671 spellchecker command use (not only ispell!)
11673 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11675 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11677 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11679 * vspace.C: initialise lyxgluelength on failure
11681 2001-11-28 Allan Rae <rae@lyx.org>
11683 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11684 declaration & definition that looks like a function declaration.
11686 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11688 * BufferView2.C (copy):
11689 (copyEnvironment): do not clear the selection when doing a copy.
11691 * text.C (paintFirstRow): compilation fix
11693 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11695 * tabular.C (Latex): correct line count when writing latex.
11697 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11699 * paragraph_pimpl.h:
11700 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11703 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11707 * LColor.C: change vfillline->added_space
11709 * text.C: add markers and text for added space
11711 * vspace.C: fix comment
11713 2001-11-28 André Pönitz <poenitz@gmx.net>
11715 * paragraph.C: whitespace changes
11716 * all the other files from the change on 2001/11/26:
11717 change *::pos_type into lyx::pos_type
11719 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11721 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11722 language of the document when inserting error insets.
11724 2001-11-26 André Pönitz <poenitz@gmx.net>
11726 * BufferView_pimpl.[Ch]:
11734 * paragraph_pimpl.[Ch]:
11737 * text2.C: reduce header dependencies, introduce type for positions
11739 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11741 * <various>: change to use Alert.h
11743 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11745 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11746 when encountering an unknown token.
11747 (readLyXformat2): Show an error message if there were unknown tokens.
11749 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11752 * BufferView_pimpl.C:
11756 * text2.C: use par->isInset()
11758 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11760 * paragraph_pimpl.h:
11761 * paragraph_pimpl.C: cleanup
11763 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11765 * text2.C (removeRow):
11766 * text.C (setHeightOfRow): remove useless (and costly) call to
11769 2001-11-20 Allan Rae <rae@lyx.org>
11771 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11772 Now need Inset*::checkInsertChar() to return true for appropriate
11773 cases so that the characters in the minibuffer will actually be
11776 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11778 * text.C: change the order of the includes.
11779 (workWidth): initialize it at once.
11780 (workWidth): make maxw unsigned
11781 (setHeightOfRow): remove unused variable (inset)
11782 (selectSelectedWord): remove unused variable (inset)
11783 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11785 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11787 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11788 server is not running.
11790 (closeConnection): add debug info when server is disabled.
11792 * ColorHandler.C (getGCForeground): send debug message to GUI
11795 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11797 * kbmap.C (bind): modify because return conventions of
11798 kb_sequence::parse have changed.
11800 * kbsequence.C (parse): only ignore spaces and not any stupid
11801 control character. This avoids tests like s[i] <= ' ', which are
11802 guaranteed to fail with 8bit characters and signed chars.
11803 Change return code to string::npos when there have been no error
11804 (0 was a bad idea when error is at first character)
11806 2001-11-14 José Matos <jamatos@fep.up.pt>
11809 * buffer.C (simpleDocBookOnePar): removed unused argument.
11811 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11813 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11814 insets which are part of a word. Paragraph::isLetter takes care of
11815 that now. Use Paragraph::isInset to identify insets.
11816 (selectSelectedWord): do not test for hyphenation break.
11818 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11819 that protected spaces are considered as spaces.
11821 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11824 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11827 * lyxserver.C: fix it. and small cleanup.
11829 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11831 * BufferView_pimpl.C: use inline helpers
11834 * LaTeXFeatures.C: fix typos
11837 * Spacing.C: move spacing_string into class
11839 * ToolbarDefaults.C: move stuff into namespace anon
11841 * layout.h: update enum
11843 * lyxfunc.C: use better debug
11845 * minibuffer.h: fix typo
11849 * WorkArea.C: add and use Debug::WORKAREA
11853 * text2.C: code re-organisation, inline helpers
11855 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11857 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11858 std::vector.empty().
11860 2001-11-09 Allan Rae <rae@lyx.org>
11862 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11863 '\n's after tables. Tabular and ERT inset work now makes this no
11866 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11869 * minibuffer.C: fix crash, improve drop-down completion
11871 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11874 * lyxserver.C: invalidate fd's when doing endPipe()
11876 2001-11-08 José Matos <jamatos@fep.up.pt>
11878 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11879 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11882 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11884 2001-11-07 José Matos <jamatos@fep.up.pt>
11887 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11890 * buffer.C (sgmlOpenTag):
11891 * buffer.C (sgmlCloseTag): removed debug info.
11893 * buffer.h (sgmlOpenTag):
11894 * buffer.h (sgmlCloseTag): made public.
11896 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11898 * buffer.C (saveParamsAsDefaults):
11899 * lyx_cb.C (MenuLayoutSave): remove
11901 * LyXAction.C (init):
11903 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11905 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11907 * buffer.C (setPaperStuff): removed from here...
11909 * bufferparams.C (setPaperStuff): ... and moved there.
11911 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11915 * XFormsView.C: add support for drop-down completion
11917 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11919 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11922 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11924 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11927 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11929 * lyx_main.C: change ref to known bugs
11931 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11933 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11934 to work around older babel problems.
11936 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11938 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11940 2001-10-24 Juergen Vigna <jug@sad.it>
11942 * tabular-old.C (ReadOld): below variable changes reflected.
11944 * tabular.[Ch]: added ltType struct for longtable header/footer
11945 defines and changed all instances where they are used. Added
11946 future support for double top/bottom rows.
11948 2001-10-24 José Matos <jamatos@fep.up.pt>
11950 * buffer.h (docbookHandleCaption):
11951 * buffer.C (docbookHandleCaption): removed unused function.
11952 (makeDocBookFile): moved docbook supported version to v4.1.
11954 2001-10-24 José Matos <jamatos@fep.up.pt>
11957 * tabular.C (docbookRow): new function to export docbook code of a row.
11958 (DocBook): now honors the longtable flags.
11960 2001-10-23 José Matos <jamatos@fep.up.pt>
11963 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11964 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11966 * buffer.C (makeLinuxDocFile):
11967 (makeDocBookFile): reworked the preamble, more clean, and with
11968 support for lyx defined entities. Changed the document declaration
11969 to be more XML friendly.
11971 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11972 if we need to output XML that should be done with a filter.
11974 2001-10-22 Juergen Vigna <jug@sad.it>
11976 * sp_pspell.h (class PSpell): add alive function needed in the
11977 controller to see if the spellchecker could be started.
11979 2001-10-22 Juergen Vigna <jug@sad.it>
11981 * buffer.C (insertStringAsLines): modify the font for inserting
11982 chars in certain conditions by calling checkInsertChar(font).
11984 2001-10-19 Juergen Vigna <jug@sad.it>
11986 * text.C (workWidth): use getRow instead of wrong algorithm.
11987 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11989 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11994 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11996 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11998 * text.C (workWidth): do not search for the exact row when
11999 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12000 optimization for big documents.
12002 2001-10-18 Juergen Vigna <jug@sad.it>
12004 * text.C (workWidth): new function with added Inset * parameter.
12006 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12008 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12010 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12011 change return type of getColumnNearX.
12014 * text.C (changeRegionCase): use uppercase/lowercase instead of
12017 (rightMargin): simplify code by factoring out the uses of
12022 (appendParagraph): use Paragraph::size_type
12024 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12026 * vspace.C (asLatexString): add a missing break
12028 2001-10-15 Herbert Voss <voss@perce.de>
12030 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12032 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12034 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12037 2001-10-10 André Pönitz <poenitz@gmx.net>
12039 * lyxfunc.C: removed greek_kb_flag.
12041 2001-10-10 Herbert Voss <voss@perce.de>
12043 * lyx_main.C: delete global string help_lyxdir.
12045 2001-10-09 Herbert Voss <voss@perce.de>
12047 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12049 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12051 * lyx_main.C: added global string help_lyxdir.
12053 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12055 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12057 * lyxrc.C (set_font_norm_type): support iso8859-4
12059 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12061 * LaTeX.C (deplog): add another regex for MikTeX
12063 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12065 * lyxrc.C (set_font_norm_type): support iso8859-3
12067 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12069 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12071 * LaTeXFeatures.C: remove special case of french and index
12073 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12074 before \begin{document}). This solves several incompatibilities.
12076 2001-10-03 Garst Reese <reese@isn.net>
12078 * lyx_cb.C: change CheckTex error msg.
12080 2001-10-03 José Matos <jamatos@fep.up.pt>
12082 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12084 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12086 * .cvsignore: update
12088 * lyx_main.C (commandLineVersionInfo): use new style version info.
12090 * buffer.C (writeFile):
12092 (makeLinuxDocFile):
12093 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12095 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12097 * version.h: update to use stuff in version.C
12099 * version.C.in: new file. Contains version information determined
12100 at compile time. This is a merging of version.h and
12103 2001-10-03 Juergen Vigna <jug@sad.it>
12105 * BufferView_pimpl.C (update): don't change "dirty" status in
12108 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12110 * WorkArea.C (c-tor): re-position version string slightly.
12112 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12114 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12115 revert to previous code.
12117 WorkArea.[Ch]: (show, destroySplash): methods removed.
12119 WorkArea.C: rework code so that it's an amalgam of the codes before and
12120 after the splash screen was moved to WorkArea.
12122 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12125 * vspace.C (inPixels):
12128 * buffer.C (insertStringAsLines):
12129 (asciiParagraph): fix types to be large enough
12131 * lyxlex_pimpl.h: change member status from short to int
12133 * layout.h: fix type of endlabeltype
12136 * kbsequence.C (parse): change return type to string::size_type
12138 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12141 * Bullet.C (bulletSize):
12142 (bulletEntry): do not use short ints as parameters
12144 * BufferView2.C (insertLyXFile): change a char to an int.
12146 * WorkArea.C (WorkArea): remove unneeded floats in computation
12148 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12150 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12152 * paragraph.C (asString): Do not ignore newline/hfill chars when
12153 copying to the clipboard.
12155 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12157 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12158 after a multi-line inset.
12160 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12162 * paragraph.C (validate): Set NeedLyXFootnoteCode
12164 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12166 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12167 and decrease-error to decrease.
12169 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12171 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12172 it more readable (should be equivalent)
12174 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12176 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12178 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12180 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12181 of a cursor (row, etc.) after a character has been deleted
12182 (deleteEmptyParagraphMechanism): call the method above on _all_
12183 cursors held by the LyXText when a double space has been
12186 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12188 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12190 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12192 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12193 background. Use greyOut() and the new show() methods to toggle between
12194 the foreground and background. Add code to remove the splash after
12195 its initial showing.
12197 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12198 (create_forms): no longer call Dialogs::showSplash.
12200 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12202 * .cvsignore: add version_info.h
12204 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12206 * version_info.h.in: new file
12208 * Makefile.am: add version_info.h.in
12210 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12211 version_info.h instead of VERSION_INFO
12213 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12215 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12216 The ERT inset now returns string().
12218 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12220 * lyxtext.h, text.C (selectNextWord): renamed as
12221 selectNextWordToSpellcheck.
12223 * text.C (selectNextWordToSpellcheck): Modified to not select
12224 words inside an ERT inset.
12226 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12228 * lyx_cb.C (MenuLayoutSave): change a bit the question
12230 * sp_base.h: include <sys/types.h>
12232 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12234 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12236 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12238 * several files: fix typos in user-visible strings
12240 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12242 * text2.C (pasteSelection): do not set the selection, since it
12243 will be cleared later. Actually, the intent was to fix the way the
12244 selection was set, but I figured rmoving the code was just as good.
12246 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12248 * FontLoader.C (available): Check if font is available without
12251 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12253 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12255 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12257 * lyxrc.[Ch]: added display_graphics variable and associated code.
12259 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12261 * bufferparams.C (hasClassDefaults): new method. Returns true if
12262 the buffer parameters correspond to known class defaults
12264 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12266 * XFormsView.C (show): set minimum size to the main window.
12268 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12270 * text2.C (copySelection):
12272 * lyxfind.C (LyXReplace):
12273 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12274 LyXText::selectionAsString.
12276 * paragraph.C (asString): add "label" argument to the second form
12278 * text2.C (selectionAsString): add "label" argument and pass it to
12279 Paragraph::asString.
12281 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12283 * lyx_main.C (commandLineHelp): remove version information
12285 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12287 * lyx_main.C: add -version commandline option
12289 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12291 * paragraph.h: make the optional constructor arg required instead.
12292 some modifications to other files because of this.
12294 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12296 * lyxserver.C (C_LyXComm_callback): make it static
12298 * lyx_main.C (error_handler): make it static
12300 * lyx_gui.C (LyX_XErrHandler): make it static
12302 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12304 * WorkArea.C: make the extern "C" methods static.
12306 * Makefile.am (lyx_LDADD): simplify
12308 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12310 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12311 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12313 * LyXAction.C (init):
12314 * lyxfunc.C (dispatch): associated code removal.
12316 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12318 * lyxfont.h (isSymbolFont): shut off warning
12320 * text.C (setHeightOfRow):
12321 (getVisibleRow): fix crash with empty paragraphs which have a
12324 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12326 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12329 2001-09-04 José Matos <jamatos@fep.up.pt>
12332 * tabular.C (docbook): rename docBook method to docbook.
12334 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12336 * Makefile.am: add dependencies to main.o.
12338 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12340 * FontLoader.C (available): Return false if !lyxrc.use_gui
12342 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12344 * FontInfo.C (query):
12345 * converter.C (view):
12346 * importer.C (Import):
12347 * exporter.C (Export): Can not -> cannot.
12349 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12351 * BufferView_pimpl.C: allow to create index inset even if
12354 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12356 * buffer.C (getLists): replace boost::tie code with an explicit pair
12357 as boost::tie can break some compilers.
12359 * iterators.h: Added a std:: declaration to the return type of
12362 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12364 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12367 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12369 * iterators.[Ch]: New files. Provide paragraph iterators.
12371 * buffer.C (changeLanguage): Use paragraph iterators.
12372 (isMultiLingual): ditto
12374 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12376 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12378 * FontLoader.C: Support for cmr font.
12380 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12382 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12383 (available): New method.
12385 * FontInfo.C (getFontname): Use scalable fonts even when
12386 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12389 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12391 * converter.C (Formats::view): reverted! Incorrect fix.
12393 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12395 * converter.C (Formats::view): only output the -paper option
12396 if the dvi viewer is xdvi, thereby fixing bug #233429.
12398 2001-08-23 Herbert Voss <voss@perce>
12400 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12402 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12404 * Spacing.h (Spacing): Set space to Default on in the default
12407 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12409 * vc-backend.h (RCS::versionString): add RCS to version
12410 (CVS::versionString): add CVS to version
12412 * vc-backend.C (scanMaster): do not add CVS to version.
12413 (scanMaster): do not add RCS to version
12415 * lyxvc.C (versionString): new method
12417 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12419 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12421 * Spacing.C (set): initialize fval
12423 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12425 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12428 2001-08-16 Juergen Vigna <jug@sad.it>
12430 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12432 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12434 * BufferView_pimpl.C:
12437 * text2.C: setParagraph takes linespacing now
12439 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12441 * LyxAction.C: add internal LFUN_CITATION_INSERT
12443 * LyXView.C: actually apply fix
12445 * bufferlist.C: fix open non-existent file
12447 * lyxfind.C: fix indentation
12449 * lyxfunc.C: remove unneeded assert, fix typo
12451 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12453 * MenuBackend.C: use "Floatname List"
12455 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12457 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12458 when converting LaTeX layout to insetERT.
12459 Generate a non-collapsed float when reading old float
12461 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12463 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12466 2001-08-13 Juergen Vigna <jug@sad.it>
12468 * text.C (fill): return 0 instead of 20 as this seems to be the more
12471 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12473 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12476 2001-08-13 Juergen Vigna <jug@sad.it>
12478 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12480 (SearchBackward): comment out the unlocking of the inset_owner this
12481 should not be needed!
12483 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12485 * Many files: Remove inherit_language, and add latex_language
12487 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12488 collapsible insets.
12490 2001-08-10 Juergen Vigna <jug@sad.it>
12492 * text.C (prepareToPrint): fixed hfill-width in draw!
12494 * BufferView2.C (selectLastWord): save the selection cursor as this
12495 now is cleared in the function LyXText::clearSelection!
12497 2001-08-08 Juergen Vigna <jug@sad.it>
12499 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12500 BACKSPACE type functions.
12502 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12503 is only cutted from the document but not put in the cut-buffer, where
12504 still the old stuff should be.
12506 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12508 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12510 * tabular.C (SetWidthOfCell): fixed special case where the width
12512 (LeftLine): handle '|' in align_special.
12514 (LeftAlreadyDrawed): ditto
12515 (SetWidthOfCell): ditto
12517 2001-08-07 Juergen Vigna <jug@sad.it>
12519 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12521 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12524 * lyxlex.[hC]: ditto
12526 2001-08-06 Juergen Vigna <jug@sad.it>
12528 * text.C (getVisibleRow): fix up row clearing a bit.
12530 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12532 * minibuffer.C: make sure the X server sees the changes in the input.
12534 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12536 * paragraph.C (getFont): split into...
12537 (getLabelFont): this
12538 (getLayoutFont): and this
12539 * paragraph_pimpl.C (realizeFont): calling this
12541 * text2.C (getFont): split into...
12542 (getLayoutFont): this
12543 (getLabelFont): and this
12544 (realizeFont): all three calling this
12546 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12549 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12551 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12553 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12555 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12556 layouts from the Quote inset insertion.
12558 2001-08-03 Juergen Vigna <jug@sad.it>
12560 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12562 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12563 only if status not is already CHANGED_IN_DRAW (second level).
12565 * text.C (draw): don't set the need_break_row when inside an
12568 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12570 * buffer.C (parseSingleLyXformat2Token): handle more latex
12573 * bufferview_funcs.[hC]: change function names to
12574 begin with small char, adjust other files.
12576 2001-08-02 André Pönitz <poenitz@gmx.net>
12579 BufferView_pimpl.C: remove broken special code for math-greek
12581 2001-08-02 Juergen Vigna <jug@sad.it>
12583 * BufferView_pimpl.C (update): redone this function so that we
12584 update the text again if there was a CHANGE_IN_DRAW.
12586 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12587 (drawFromTo): added a new internal bool which is used by draw() and
12589 (general): some cursor drawing problems fixed.
12591 2001-08-01 Juergen Vigna <jug@sad.it>
12593 * lyxfind.C (LyXFind): fixed
12594 (SearchForward): ditto
12595 (SearchBackward): ditto
12597 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12598 spurius drawing of the cursor in the main area.
12600 * text2.C (status): small fix which could lead to a segfault!
12601 (clearSelection): remove unneeded BufferView param.
12603 2001-08-01 André Pönitz <poenitz@gmx.net>
12605 * lyxfunc.C: small change due to changed mathed interface
12607 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12609 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12611 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12613 * lyxfunc.c: fail gracefully if file doesn't exist
12618 * BufferView_pimpl.C: IsDirWriteable() proto changed
12620 * LyXView.C: fix updateWindowTitle() to store the last title
12622 2001-07-31 Juergen Vigna <jug@sad.it>
12624 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12625 the font (wrong since using of Paragraph::highestFontInRange).
12627 * paragraph.C (highestFontInRange): added a default_size parameter.
12629 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12630 (setHeightOfRow): reformat
12632 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12634 * converter.[hC] + affected files: move to (inital-char)lowercase
12637 * ParagraphParameters.C (ParagraphParameters): remove commented code
12639 * PainterBase.[Ch]: remove commented code
12641 * LaTeXFeatures.h: add "bool floats" for float.sty
12643 * LaTeXFeatures.C (LaTeXFeatures): init floats
12644 (require): handle float
12645 (getPackages): do it with floats
12647 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12649 * BufferView_pimpl.C (Dispatch): improve handling of
12650 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12652 * commandtags.h: #include lyxfont.h here temporarily to avoid
12655 * bufferlist.h: include LString.h here.
12657 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12659 * text2.C (getStringToIndex): new method.
12661 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12663 * *: Reduced header file dependencies all over.
12665 2001-07-30 Baruch Even <baruch@lyx.org>
12667 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12669 2001-07-29 Baruch Even <baruch@lyx.org>
12671 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12673 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12675 * ParameterStruct.h (endif): add a default constructor to make
12676 sure that all variables is initialized.
12678 * ParagraphParameters.C (ParagraphParameters): adjust
12680 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12682 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12683 index; also, check that there is something to index, and that it
12684 does not span over several paragraphs.
12685 (doubleClick): use WHOLE_WORD_STRICT for double click.
12687 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12689 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12692 2001-07-26 Baruch Even <baruch@lyx.org>
12694 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12695 an InsetFig figure, backwards compatible reading of old figure code.
12697 2001-07-27 Juergen Vigna <jug@sad.it>
12699 * text2.C: font.realize function adaption.
12701 * text.C (draw): add a warnings lyxerr text if needed.
12703 * layout.C: font.realize function adaption.
12705 * language.C: add inherit_language and implement it's handlings
12707 * bufferview_funcs.C (StyleReset): remove language parameter from
12708 font creation (should be language_inherit now).
12710 * bufferparams.C (writeFile): handle ignore_language.
12712 * paragraph.C (getFontSettings): the language has to be resolved
12713 otherwise we have problems in LyXFont!
12715 * lyxfont.C (lyxWriteChanges): added document_language parameter
12716 (update): removed unneeded language parameter
12718 * paragraph.C (validate): fixed wrong output of color-package when
12719 using interface colors for certain fonts in certain environments,
12720 which should not seen as that on the final output.
12722 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12724 * BufferView_pimpl.C:
12729 * LyXAction.C: add thesaurus support
12732 * lyxfind.C: add "once" parameter, for thesaurus, to not
12733 move to the next match
12735 2001-07-26 Juergen Vigna <jug@sad.it>
12737 * lyxfont.C (realize): honor ignore_language too!
12740 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12742 * text.C (draw): one place more for ignore_language to not draw
12745 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12747 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12749 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12752 the minipage conversion problem.
12754 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12756 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12759 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12761 * BufferView.h: don't forward declare WorkArea
12763 * BufferView.C: don't include WorkArea.h
12765 2001-07-25 André Pönitz <poenitz@gmx.net>
12769 * lyxfunc.C: new LFUN 'math-space'
12771 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12773 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12775 * text2.C (toggleInset): call open/close
12777 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * lyxfunc.C (dispatch): add debug for the disabled case
12781 * font.C (buttonText): make similar to rectText
12783 * buffer.C (readInset): comment out parsing of insetlist and
12786 * PainterBase.C (rectText): small correction
12788 * BufferView_pimpl.C: comment out insettheorem and insetlist
12789 * LyXAction.C: ditto
12790 * commandtags.h: ditto
12792 2001-07-24 Juergen Vigna <jug@sad.it>
12794 * text.C (draw): honor the ignore_language.
12796 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12798 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12800 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12803 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12805 * lyxtext.h: remove unused (and unimplemented) methods
12807 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12809 * text.C (getVisibleRow): honor background color
12812 * Painter.h: remove default color argument for fillRectangle
12814 * text.C (backgroundColor): new method
12816 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12818 * text.C (getVisibleRow): adjust
12820 * font.[Ch] (rectText): new method, metrics
12821 (buttonText): new method, metrics
12823 * PainterBase.[hC]: make rectText and buttonText always draw and take
12826 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12828 * ToolbarDefaults.C (read):
12829 * MenuBackend.C (read): allow escaping in all strings
12831 * BufferView_pimpl.C (insertAndEditInset): new method.
12832 (Dispatch): use insertAndEditInset whenever appropriate.
12834 * BufferView_pimpl.C (insertNote): removed
12836 * BufferView_pimpl.C (smartQuote): new method, moved from
12837 BufferView; if an insetquote cannot be inserted, insert a '"'
12840 * BufferView2.C: remove insertCorrectQuote();
12842 * lyxfunc.C (getStatus): Add support for all remaingin
12843 inset-insert lfuns.
12845 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12847 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12848 command (necessary to pass " as parameter of self-insert.
12850 * text.C (selectWordWhenUnderCursor):
12851 (selectWord): add word_location parameter
12852 (selectWordWhenUnderCursor): same + remove special code for word
12854 (selectNextWord): use kind() to guess type of insetspecialchar,
12857 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12858 (insertErtContents): create ert insets as collapsed.
12859 (readInset): better compatibility code for Info inset.
12861 2001-07-20 Juergen Vigna <jug@sad.it>
12863 * lyxfunc.C (dispatch): use always LyXFind now!
12865 * text2.C (init): add a reinit flag so that the LyXText can be
12866 reinited instead of deleted and reallocated (used in InsetText).
12868 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12874 2001-07-18 Juergen Vigna <jug@sad.it>
12876 * text.C (selectNextWord): handle insets inside inset by calling
12877 always the bv->text functions so that we can go up the_locking_inset!
12879 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12880 in strange locations when inside an inset!
12882 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12883 handling to include insets.
12885 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12887 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12889 * LyXAction.C (init):
12891 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12892 LIGATURE_BREAK, since the name is so stupid.
12894 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12896 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12899 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12901 * sp_form.[Ch]: remove.
12903 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12905 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12908 * src/buffer.C (readInset): ditto.
12910 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12912 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12913 menuSeparator(), endOfSentenceDot(), ldots() and
12914 hyphenationPoint(), which are therefore removed.
12915 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12917 * LyXAction.C (init):
12918 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12920 * paragraph.C (getWord): removed.
12922 * BufferView_pimpl.C (Dispatch): use last word or selection for
12923 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12925 * lyx_main.C (queryUserLyXDir): do not ask before creating
12926 user_dir, except if it has been named explicitely.
12928 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12930 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12931 a document of zero size.
12933 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12935 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12936 approriately in the c-tor and in require().
12937 (getPackages): output the appropriate LaTeX for natbib support.
12939 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12940 variables "use_natbib" and "use_numerical_citations" when reading the
12942 (readInset): read the various natbib cite commands.
12943 (validate): white-space change.
12945 * bufferparams.[Ch]: new variables "bool use_natbib" and
12946 "bool use_numerical_citations".
12947 (writeFile): output them in the LyX file.
12949 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12951 * lyxfunc.C (getStatus): add support for all the inset insertion
12954 * text2.C (insertInset):
12955 * paragraph.C (insetAllowed):
12956 * BufferView_pimpl.C (insertInset): update to take in account the
12957 renaming of insertInsetAllowed
12959 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12961 * text2.C (getInset): new method. returns inset at cursor position.
12963 * BufferView_pimpl.C (Dispatch): changes because of this.
12965 * LyXAction.C (init): rename open-stuff to inset-toggle.
12967 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12969 * text2.C (toggleInset): renamed from openStuff; use
12972 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12974 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12976 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12978 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12980 * buffer.C (readLyXformat2): Add filename to the error dialog
12982 2001-07-18 Juergen Vigna <jug@sad.it>
12984 * tabular.C (GetCellNumber): put an assert here instead of the check!
12986 2001-07-17 Juergen Vigna <jug@sad.it>
12988 * BufferView_pimpl.C (toggleSelection): adapted too.
12990 * text.C (selectNextWord): adapted for use with insets.
12991 (selectSelectedWord): ditto
12993 2001-07-17 Juergen Vigna <jug@sad.it>
12995 * sp_spell.C (PSpell): fix initialitation order.
12997 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * paragraph.C: spacing
13001 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13003 * sp_spell.C: repair language selection for pspell
13005 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13007 * lyxfunc.h: change more methods to begin with lower char.
13009 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13011 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13012 for unknown layouts.
13014 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13016 * buffer.C (readLyXformat2): Generate an error dialog if there are
13019 2001-07-16 Juergen Vigna <jug@sad.it>
13021 * sp_spell.C: always compile ISpell part.
13023 * lyxrc.C: added use_pspell entry and it's handling.
13025 2001-07-13 Juergen Vigna <jug@sad.it>
13027 * sp_spell.C: removed double includes.
13029 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13031 Consistent use of Lsstream.h:
13032 * Lsstream.h: added using std::stringstream for consistencies sake.
13034 * buffer.C: removed using std::stringstream
13036 * lyxfont.C (stateText):
13037 * paragraph.C (asString):
13038 * text.C (selectNextWord, selectSelectedWord):
13039 * text2.C (setCounter):
13040 * vspace.C (asString, asLatexString):
13041 std::ostringstream -> ostringstream.
13043 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13045 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13046 * commandtags.h: add LFUN_HELP_ABOUTLYX
13047 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13049 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13051 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13053 * lyx_gui_misc.C: remove spellchecker
13054 * lyxfunc.C: showSpellchecker
13056 * sp_ispell.h: added
13057 * sp_pspell.h: added
13058 * sp_spell.C: added
13059 * sp_form.[Ch]: removed
13060 * spellchecker.[Ch]: removed
13062 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13064 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13066 (simpleTeXSpecialChars): Simply print the input character without
13067 any special translation if pass_thru is set.
13069 * layout.h: Added bool pass_thru to layout class for being able to
13070 implement pass through of a paragraph for Literate Programming.
13072 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13073 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13074 * layout.C (Read): add "passthru" to list of layout tags and add
13075 code to set the pass_thru boolean when it is read.
13077 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13079 * trans_decl.h: remove allowed from KmodInfo
13081 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13082 remove allowed code
13085 * paragraph_pimpl.C (erase): use boost::prior
13087 * Painter.C (text): use data() instead of c_str() when length is
13089 * WorkArea.C (putClipboard): ditto
13090 * font.h (width): ditto
13092 * BufferView2.C: use it-> instead of (*it). for iterators
13094 * paragraph_pimpl.C: ditto
13095 * paragraph.C: ditto
13096 * minibuffer.C: ditto
13097 * language.C: ditto
13099 * encoding.C: ditto
13100 * counters.C: ditto
13101 * converter.C: ditto
13103 * Variables.C: ditto
13104 * TextCache.C: ditto
13105 * MenuBackend.C: ditto
13106 * LyXAction.C: ditto
13108 * FloatList.C: ditto
13109 * DepTable.C: ditto
13110 * ColorHandler.C (LyXColorHandler): ditto
13112 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13114 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13116 * text2.C (openStuff): reintroduce this method (which had been
13117 nuked in NEW_INSETS frenzy).
13119 * lyxfunc.C (Dispatch): when an action has not been handled, use
13120 its name in the error message, not its number.
13122 * paragraph.C (inInset): change method name to begin with lowercase.
13125 * text2.C: updates because of this.
13127 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13129 * ToolbarDefaults.C (add): add spaces in error message
13131 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13133 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13134 (readLyXformat2): rename return_par to first_par, use lyxlex's
13135 pushToken and remove the manual push handling.
13136 (parseSingleLyXformat2Token): add another ert comp. variable:
13137 in_tabular, rename return_par to first_par. handle newlines better
13139 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13141 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13143 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13145 * text2.C (getParFromID): removed
13147 * buffer.C (getParFromID): new method moved form lyxtext.
13148 * BufferView2.C (insertErrors): adjust
13149 (setCursorFromRow): adjust
13150 * BufferView_pimpl.C (restorePosition): adjust
13151 * lyxfunc.C (Dispatch): adjust
13152 * undo_funcs.C (textUndo): adjust
13154 (textHandleUndo): adjust
13155 (textHandleUndo): adjust
13157 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13159 * buffer.C: up' the LYX_FORMAT
13161 * lyxfont.h: turn NO_LATEX on as default
13163 * buffer.C (insertErtContents): new methods of tex style compability.
13164 (parseSingleLyXformat2Token): use it several places.
13165 * tabular.C (OldFormatRead): and here
13167 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13169 * text2.C: remove some commented code.
13172 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13173 * trans.C: changes because of the above.
13175 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13177 * text2.C (setCounter): Fix counters bug with bibliography layout.
13179 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13181 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13182 own member functions
13183 (simpleTeXSpecialChars): ditto
13185 2001-07-06 Juergen Vigna <jug@sad.it>
13187 * a lot of files: changed the access to LyXText::status and the
13188 call of undo-functions.
13190 * undo.[Ch]: added a inset_id to the undo informations.
13192 * undo_funcs.[Ch]: added and moved here all undo functions.
13194 * lyxtext.h: give the status enum a weight, made status_ a private
13195 variable and made accessor functions for it, removed the whole bunch
13196 of undo-functions as they are now in their own file, make some
13197 functions publically available. Added function ownerParagraph with
13200 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13201 made InInset() a const function, added getParFromID() function.
13203 * buffer.[Ch]: added const version for inset_iterator functions,
13204 added getInsetFromID() function.
13206 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13207 changed undo functions for new version.
13209 2001-07-05 Juergen Vigna <jug@sad.it>
13211 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13212 unknow mechanism does not call the proper constructor but only this
13213 one also if I request the other!?
13215 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13217 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13219 * text2.C (LyXText): use initialization lists.
13221 * lyxtext.h (Selection): initialize set_ and mark_
13222 (init): remove method
13224 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13226 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13228 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * screen.[Ch]: change method names to begin with lowercase
13232 * BufferView_pimpl.C (updateScrollbar): simplify further and
13233 hopefully make it a bit faster.
13235 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13237 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13238 calling directly xforms functions.
13240 * Painter.C (Painter):
13241 * lyx_cb.C (MenuWrite):
13242 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13245 * lyx_gui.C: remove bogus guiruntime extern declaration.
13247 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13249 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13251 (redoDrawingOfParagraph): ditto
13252 (redoParagraphs): ditto
13253 (cutSelection): don't create a object for CutAndPaste use the
13254 static method directly
13255 (pasteSelection): ditto
13257 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13260 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13262 * modifications to some other files because of this.
13264 * Makefile.am (lyx_SOURCES): add XFormsView
13266 * XFormsView.[Ch]: new files
13268 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13269 the main window. Move the gui dependent stuff to XFormsView
13271 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * tabular.C (GetCellInset): update cur_cell also in the row/col
13274 version of this function.
13276 * lyxfunc.C: no need to include figure_form.h here.
13282 * lyxvc.C: no need to include forms.h here.
13284 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13286 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13288 * lyxfunc.C (Dispatch):
13290 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13291 constructor argument.
13293 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * paragraph.C (Paragraph): dont't clear, and just set layout.
13296 (makeSameLayout): use params's copy contructor.
13298 * ParagraphParameters.[Ch] (makeSame): delete method
13300 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13302 * Variables.[Ch]: fix indentation, rename set to isSet
13304 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13306 * lyxfunc.C (Dispatch): fix typo
13308 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13310 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13313 * bufferlist.C: include assert.h for emergencyWrite().
13315 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13317 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13318 give up at last (bug #425202) !
13320 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13326 * spellchecker.C: strip spellchecker options and bring up
13327 preferences tab instead
13329 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13331 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13332 the istringstream constructor
13334 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13336 * paragraph.C (getLayout): fix return value
13338 * paragraph.h: do not declare getLayout as inline.
13340 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13342 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13344 * lyxcursor.h (operator<): new func
13345 (operator>): new func
13346 (operator>=): new func
13347 (operator<=): new func
13349 * text.C (changeCase): use selection.start and selection.end
13350 (changeRegionCase): require from to be <= to. Require par to be a
13353 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13355 2001-06-27 Juergen Vigna <jug@sad.it>
13357 * text.C (cursorLeftOneWord): changed to return the cursor and added
13358 overlay with BufferView * parameter which calls this one.
13360 (selectWord): use new getWord function.
13361 (changeCase): renamed from changeWordCase as and extended to work
13362 also on selections.
13364 * lyxtext.h: added enum word_location
13366 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13367 changeCase as this operates now also on selections.
13369 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13371 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13373 * many files: send debug output to Debug::INFO instead of
13376 * converter.C (View):
13378 (Move): send debug output to Debug::FILES instead of console.
13380 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13382 * lyxfunc.C (getStatus): use func_status
13384 * func_status.h: new header, describing the results of
13385 LyXFunc::getStatus;
13387 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13390 2001-06-25 The LyX Project <jug@sad.it>
13392 * buffer.C (sgmlOpenTag):
13394 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13396 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13398 * text2.C: remove some dead code
13400 * tabular.C (GetCellInset): store the last cell checked (gotten)
13402 * tabular.h: add the helper for the speedup
13404 * lyxtext.h: remove some dead code
13406 2001-06-26 The LyX Project <Asger>
13408 * paragraph.C: Change export to LaTeX of alignment to
13409 \begin{center} and family for better roundtrip work with reLyX.
13411 * Tune the math drawing a bit.
13413 2001-06-25 The LyX Project <Asger>
13415 * LColor.C (LColor): New color for math background. New color
13418 2001-06-25 The LyX Project <jug@sad.it>
13420 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13422 * lyxfunc.C (Open):
13423 * bufferlist.C (newFile): do not restrict to files ending with
13426 * BufferView_pimpl.C (MenuInsertLyXFile):
13428 2001-06-24 The LyX Project <jug@sad.it>
13430 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13433 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13435 * lyxtext.h: rename most methods to begin with a small char.
13436 Lots of changes because of this.
13438 * paragraph.C (Paragraph): do not call fitToSize
13439 (erase): call Pimpl::erase
13440 (insertChar): call Pimpl::insertChar
13441 (insertInset): call Pipl::insertInset
13442 (breakParagraph): do not call fitToSize
13443 (breakParagraphConservative): do not call fitToSize
13444 (fitToSize): remove method
13446 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13448 2001-06-24 The LyX Project <Asger>
13450 * Fix Qt compilation^2
13452 2001-06-24 The LyX Project <jug@sad.it>
13454 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13455 depthHook(getDepth()-1).
13458 * ParagraphParameters.h:
13459 * ParameterStruct.h: change type of depth to unsigned int ==
13460 depth_type. Many adaptations to other files before of that.
13462 2001-06-24 The LyX Project <Asger>
13464 * Fix Qt compilation.
13466 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13468 * paragraph.h: renamed several methods to begin with small letter.
13469 several changes to many parts of the code because of this.
13471 2001-06-23 The LyX Project <jug@sad.it>
13473 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13474 rewritten to discard all double spaces when KeepEmpty is off
13475 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13476 to only handle newlines but not fiddle with spaces and friends.
13478 * lyxfunc.C (MenuNew): when doing 'new from template', use
13479 template_path as default directory
13481 2001-06-23 The LyX Project <Asger>
13483 * Clean-up of header file includes all over
13484 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13486 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13488 * paragraph.h: renamed from lyxparagraph.h
13490 2001-06-23 Asger <lyx@violet.home.sad.it>
13492 * Buffer.h: Removed Buffer::resize
13493 * BufferList.h: Removed BufferList::resize
13494 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13495 the document lazily when we change the width, or the font settings.
13497 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13499 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13501 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13503 * buffer.h: remove out of date comment
13505 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13508 * screen.C: fix "theoretical" GC leak
13510 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13512 * LaTeX.C (scanAuxFile):
13513 (deplog): remove trailing \r when reading stream (useful under
13516 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13518 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13519 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13520 and BufferView::theLockingInset(Inset*), so should use them and not
13521 access bv_->text->the_locking_inset directly.
13523 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13525 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13528 * tex-defs.h: remove old unused file
13530 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13532 * BufferView_pimpl.C: fix typo, remove minibuffer message
13533 when buffer has loaded
13535 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13537 * lyxfunc.C (Dispatch): use stringstream
13538 (MenuNew): use stringstream
13539 (Open): use stringstream
13541 * importer.C (Import): use stringstream
13543 * bufferview_funcs.C (CurrentState): use stringstream
13545 * LaTeX.C (run): use stringstream
13547 * BufferView_pimpl.C (savePosition): use stringstream
13548 (restorePosition): use stringstream
13549 (MenuInsertLyXFile): use stringstream
13551 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13564 * vspace.C: removed // -*- C++ -*- as first line.
13567 * version.h: added // -*- C++ -*- as first line.
13569 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13571 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13573 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13576 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13578 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13581 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13583 * gettext.C: include LString.h even when --disable-nls is on.
13585 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13587 * converter.h (Get): changed argument type from int to
13588 FormatList::size_type to avoid unnecessary conversion.
13590 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13593 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13595 * gettext.h: include LString.h even when --disable-nls is on.
13597 2001-06-07 Juergen Vigna <jug@sad.it>
13599 * text.C (BreakAgain): subst spaces with tabs.
13601 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13602 (resizeInsetsLyXText): set force on resizeLyXText.
13604 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13606 * gettext.h (gettext_init):
13607 (locale_init): use a real definition instead of a macro
13609 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13611 * Bufferview_pimpl.C:
13613 * LColor.C: further lcolor tidies
13615 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13617 * BufferView_pimpl.C (updateScrollbar): simplify.
13619 * BufferView2.C: don't include insets/insetinfo.h, change
13620 prototype for insertInset and call the Pimpl version. let
13621 updateInset call Pimpl version.
13623 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13624 gotoInset to BufferView::Pimpl
13626 2001-06-01 Juergen Vigna <jug@sad.it>
13628 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13629 inside a LockingInset (is the update needed at all?).
13631 2001-05-31 Juergen Vigna <jug@sad.it>
13633 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13634 here not the old one otherwise how should we compare it afterwards
13637 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13642 * FontInfo.C: bring C functions into global namespace when
13645 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13647 * LString.h: make sure config.h has been loaded before LString.h.
13649 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13650 (one for each char read by EatLine!).
13652 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13655 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13658 to the same as the par we break from
13660 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13662 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13664 * MenuBackend.C (expand): also create menu entries for wide
13665 versions of the floats.
13667 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13669 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13671 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13672 frontends/Makefile.am
13678 * tabular.C (getTokenValue): add std::
13680 * tabular-old.C (getTokenValue): add std::
13681 (getTokenValue): ditto
13682 (getTokenValue): ditto
13684 * screen.C (ToggleSelection): adjust
13686 * lyxtext.h: put selection cursors inside a Selection struct.
13688 * lyxfunc.C (moveCursorUpdate): adjust
13690 * lyxfont.C (latexWriteStartChanges): add std::
13692 * lyxfind.C: adjust
13694 * font.h: delete with(char const *, LyXFont const &)
13696 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13698 * FontInfo.C (getFontname): add std::
13700 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13701 (workAreaButtonPress): adjust
13702 (tripleClick): adjust
13704 (moveCursorUpdate): adjust
13707 * BufferView2.C (gotoInset): adjust
13709 2001-05-30 Juergen Vigna <jug@sad.it>
13711 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13712 to check pspell I add this as default as I now have new pspell
13713 libraries and they seem to use this.
13715 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * text2.C (CutSelection): make the cursor valid before the call to
13720 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13722 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13723 relied on 0 terminated strings and other horrors. Bug found due to
13724 the new assert in lyxstring!
13726 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13729 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13731 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13734 * lyxfunc.C (processKeySym): change method of getting to the
13737 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13738 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13739 * BufferView_pimpl.[Ch]: here as private methods.
13741 2001-05-28 Juergen Vigna <jug@sad.it>
13743 * text.C (SetHeightOfRow): added the update() call again as it is
13744 needed to initialize inset dimensions!
13746 2001-05-16 Juergen Vigna <jug@sad.it>
13748 * text2.C (SetCharFont): Add new function with BufferView * and
13749 bool toggleall parameters for setting insets internal fonts.
13750 (SetFont): Freeze the undo as we may change fonts in Insets and
13751 all this change should be inside only one Undo!
13753 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13754 setting font's in insets as for them we have the SetFont function!
13756 2001-05-15 Juergen Vigna <jug@sad.it>
13758 * text2.C (ClearSelection): to be sure we REALLY don't have any
13761 * tabular.C (TeXCellPreamble): fixed the left border problem for
13764 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13766 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13769 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13771 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13772 LFUN_BREAKPARAGRAPH.
13774 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13775 help test to "internal only", similar for LFUN_INSERT_URL
13777 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13778 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13779 auto_region_delete and deadkeys.
13781 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13784 * LColor.C: remove some dead entries, tidy a little
13786 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13788 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13790 (Dispatch): implement LFUN_ESCAPE
13792 * commandtags.h: add LFUN_ESCAPE
13794 * LyXAction.C (init): add entry for LFUN_ESCAPE
13796 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13797 Remove commented code.
13798 (insertNote): moved here
13799 (open_new_inset): moved here
13801 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13804 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13806 * kbmap.C (findbinding): clean it up and make it work correctly.
13808 * lyx_main.C (init): do not pass argc and argv as parameters
13810 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13812 * buffer.C: fix path for OS/2 & Win32
13816 * lyx_main.C: Added os:: class.
13818 * os2_defines.h: update
13820 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13822 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13823 better by trying again with reduced state.
13825 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13827 * lyxrc.C (read): print error about invalid key sequence only when
13828 debugging (because not all latinX keysyms are known to some X
13831 * kbsequence.C (getiso): add a few std:: qualifiers
13832 (getiso): comment out extra return statement.
13834 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13836 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13838 (Dispatch): enhance the accent inset a bit. (not perfect)
13840 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13842 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13844 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13846 * bufferlist.C (emergencyWrite): fix assert() call
13848 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13850 * text.C (InsertChar): Added trivial patch to only send the "you
13851 can not do multiple spaces this way" message once during a
13854 2001-05-08 Baruch Even <baruch@lyx.org>
13856 * Makefile.am: Changed order of libraries to get LyX to link properly
13857 with the gnome frontend.
13859 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13861 * LaTeXFeatures.h: add a std:: qualifier
13863 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13865 * paragraph.C (String): use stringstream
13867 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13869 * paragraph.C (writeFile): remove footflag arg
13871 * buffer.C (makeLaTeXFile): use stringstream
13872 (latexParagraphs): remove footnot gurba
13874 * LaTeXFeatures.C (getPackages): use stringstream
13875 (getMacros): likewise
13876 (getTClassPreamble): likewise
13877 (getFloatDefinitions): new method
13879 * paragraph.C (writeFile): reindent
13882 * WorkArea.h: revert the xpos + etc changes.
13884 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13886 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13888 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13889 (pasteSelection): likewise
13890 * text2.C (CreateUndo): likewise
13892 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13894 * minibuffer.C (peek_event): temporarily reduce the functionality
13895 of the minibuffer (to allow args on lfuns)
13897 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13898 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13900 * buffer.C (readInset): add compability reading of old float
13901 lists, add reading of new style float list.
13902 (readInset): avoid reevaluation of inscmd.getCmdName()
13903 (getLists): reindent
13905 * MenuBackend.C (MenuItem): implement parsing of
13906 md_floatlistinsert and md_floatinsert.
13907 (expand::LastFiles): move initalizaton of iterators out of loop,
13908 avoid reevaluation.
13909 (expand::Documents): introduce typdedef vector<string> Strings,
13911 (expand::ExportFormats): introduce typedef vector<Format const *>
13912 Formats, and use it.
13913 (expand): implement FloatListInsert and FloatInsert.
13915 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13916 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13917 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13919 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13921 (Dispatch::LFUN_FLOAT_LIST): implement
13923 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13925 * LaTeX.C (run): Fix problem with --export code.
13927 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13929 * BufferView.[Ch] (workarea): removed.
13930 (getClipboard) new method; wrapper for workarea()->getClipboard()
13932 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13935 * WorkArea.h (width, height, xpos, ypos): These methods all
13936 returned the dimensions of the work_area sub-area of WorkArea,
13937 resulting in a position error if the WorkArea were resized. Now
13938 return the dimensions of the entire WorkArea.
13940 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13942 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13944 * LaTeX.C (deplog): correct the syntax of regex reg1
13946 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13948 * undo.C: remove !NEW_INSETS cruft
13950 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13952 * text2.C: remove !NEW_INSETS cruft
13954 * text.C: remove !NEW_INSETS cruft
13956 * tabular.C: remove !NEW_INSETS cruft
13958 * spellchecker.C: remove !NEW_INSETS cruft
13960 * lyxtext.h: remove !NEW_INSETS cruft
13962 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13964 * lyxfunc.C: remove !NEW_INSETS cruft
13966 * lyxfind.C: remove !NEW_INSETS cruft
13968 * lyx_cb.C: remove !NEW_INSETS cruft
13970 * figureForm.C: remove !NEW_INSETS cruft
13972 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13974 * buffer.[Ch]: remove !NEW_INSETS cruft
13976 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13978 * CutAndPaste.C: remove !NEW_INSETS cruft
13980 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13982 * BufferView2.C: remove !NEW_INSETS cruft
13984 * BufferView.h: remove !NEW_INSETS cruft
13986 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13988 * Lsstream.h: include LString.h before the sstream headers to
13989 fix problem with gcc 2.95.3 and lyxstring
13991 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13993 * lyx_main.C: add using directives when needed for C functions
13994 declared in std:: namespace.
13996 2001-04-27 Juergen Vigna <jug@sad.it>
13998 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13999 (SetHeightOfRow): comment out the update call should not be needed!
14001 2001-04-13 Juergen Vigna <jug@sad.it>
14003 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14004 (LyXTabular): tried to minimize operator= operations (and realized
14005 hopfully Lars wish).
14007 2001-04-27 Juergen Vigna <jug@sad.it>
14009 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14011 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14013 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14015 * buffer.C (readInset): hack to make listof algorithm work
14017 * BufferView_pimpl.C: hack to make listof algorithm work
14019 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14021 * LyXAction.C: removed all !NEW_INSETS cruft
14022 (init): moved lfun_item in method
14024 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14026 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14028 * BufferView2.C (theLockingInset): white space.
14030 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14032 * minibuffer.C: include <iostream>
14034 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14036 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14038 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14040 * text.[Ch] (TransposeChars): new method
14042 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * call message directly through LyXView instead of through LyXFunc
14045 * BufferView2.C: adjust
14046 * BufferView_pimpl.C: adjust
14047 * FontLoader.C: adjust
14049 * bufferview_funcs.C: adjust
14050 * converter.C: adjust
14051 * figureForm.C: adjust
14052 * importer.C: adjust
14054 * lyx_gui_misc.C: adjust
14055 * lyxfunc.C: adjust
14058 + more files in subdirs
14060 * lyxparagraph.h (size): move up int file
14063 * adjust all uses of Assert to lyx::Assert.
14065 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14066 lyxfunctional in namespace lyx
14067 * layout.C (hasLayout): ditto
14070 (delete_layout): ditto
14071 (NumberOfClass): ditto
14072 * converter.C (GetFormat): ditto
14077 * bufferlist.C (getFileNames): ditto
14078 (emergencyWriteAll): ditto
14081 * MenuBackend.C (hasSubmenu): ditto
14084 * BufferView_pimpl.C (getInsetByCode): ditto
14086 2001-04-18 Juergen Vigna <jug@sad.it>
14088 * vspace.C (asLatexString): fixed the 100% problem.
14090 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14092 * lyxfunc.C (Dispatch):
14094 * minibuffer.h: add a few std:: qualifiers
14096 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14098 * minibuffer.[Ch]: reimplement so that commands is initiated and
14099 run from lyxfunc, simplified som handling, and made the completion
14100 and history code for complete. wip.
14102 * lyxfunc.C (processKeySym): call message
14103 (miniDispatch): new temporary method
14104 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14105 (LFUN_MESSAGE): implement
14106 (LFUN_MESSAGE_PUSH): implement
14107 (LFUN_MESSAGE_POP): implement
14108 (initMiniBuffer): the initial/defualt minibuffer message.
14110 * lyxfont.[Ch]: inline some more getters
14112 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14114 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14116 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14117 (AutoSave): use LFUN_MESSAGE
14118 (Reconfigure): ditto
14120 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14122 * figureForm.C: use LFUN_MESSAGE
14124 * converter.C (runLaTeX): use LFUN_MESSAGE
14126 * bufferview_funcs.C: use LFUN_MESSAGE
14128 (changeDepth): ditto
14130 * bufferparams.h: use boost::
14132 * bufferlist.h: inherit privately from noncopyable
14134 * bufferlist.C (loadLyXFile): remove some commented code.
14136 * buffer.C (runChktex): use LFUN_MESSAGE
14138 * ShareContainer.h: inherit privately from noncopyable
14140 * ParagraphParameters.[hC] (depth): inline it.
14142 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14144 (message): new method
14145 (messagePush): ditto
14146 (messagePop): ditto
14147 (show): init minibuffer
14148 (showState): direct call
14150 * LaTeX.[Ch]: inherit privately from noncopyable
14151 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14152 instead of WriteStatus.
14154 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14156 * BufferView_pimpl.C (buffer): don't init minibuffer
14157 (workAreaButtonPress): use LFUN_MESSAGE
14158 (workAreaButtonRelease): ditto
14159 (savePosition): ditto
14160 (restorePosition): ditto
14161 (MenuInsertLyXFile): ditto
14162 (workAreaExpose): don't init minibuffer
14163 (update): remove commented code, simplify
14165 * BufferView2.C (openStuff): use LFUN_MESSAGE
14166 (toggleFloat): ditto
14169 (copyEnvironment): ditto
14170 (pasteEnvironment): ditto
14175 (updateInset): remove some commented code
14177 * lastfiles.h: inherit privately from noncopyable
14180 * lyx_main.h: ditto
14182 * lyxlex_pimpl.h: ditto
14184 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14185 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14186 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14188 * LyXAction.h: inherit privately from noncopyable, add methods
14189 func_begin, func_end, returning iterators to the func map.
14191 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14192 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14193 (func_begin): new method
14194 (func_end): new method
14196 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14198 (copySelection): ditto
14199 (pasteSelection): ditto
14201 * BufferView.C: whitespace change
14202 * BufferView.h: inherit privately from noncopyable
14204 2001-04-16 Allan Rae <rae@lyx.org>
14206 * tabular-old.C (l_getline):
14207 * spellchecker.C (sc_check_word):
14208 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14209 an unrecognised preprocessor directive. So ensure they're wrapped.
14211 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14213 * src/exporter.C (Export): Give an error message when path to file
14216 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14218 * LaTeX.C (deplog): Always check that foundfile exists.
14220 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14223 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14225 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14227 * tabular.[Ch] (getLabelList): implement new method
14229 * minibuffer.h: comment ouf setTiimer
14231 * minibuffer.C (ExecutingCB): constify res
14232 (peek_event): constify s
14233 (Set): constify ntext
14234 (Init): constify nicename
14236 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14238 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14239 (savePosition): use two params to Minibuffer::Set
14240 (restorePosition): ditto
14242 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14244 * lyx_main.C: include language.h
14246 * Makefile.am (lyx_main.o): add language.h
14248 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14254 * CutAndPaste.C: include gettext.h
14256 * lyxfont.h: remove old hack with ON and OFF.
14259 * lyxfont.h: do not include language.h...
14264 * bufferview_funcs.C:
14270 * paragraph.C: ... but do it here instead
14272 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14274 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14276 * tabular.C: small reformat
14278 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14281 (BreakParagraph): ditto
14282 (SetOnlyLayout): ditto
14285 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14288 * lastfiles.C: removed most using decl, add std:: where needed
14290 * buffer.C: ws changes
14292 * MenuBackend.C (class compare_format): put into anon namespace
14293 (expand): constify label, names, action, action2
14296 * text.C (SingleWidth): constify font
14297 (IsBoundary): constify rtl2
14298 (GetVisibleRow): constify ww
14300 * LaTeX.C (deplog): constify logfile
14302 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14304 (workAreaExpose): constify widthChange, heightChange
14306 * lyxrow.C (par): moved
14309 * lyxrow.h: as inlines here
14311 * lyxfont.h (shape): moved from lyxfont.C
14312 (emph): moved from lyxfont.C
14314 * lyxfont.C (LyXFont): use initialization list for all
14316 (shape): move to lyxfont.h as inline
14317 (emph): move to lyxfont.h as inline
14320 2001-04-04 Juergen Vigna <jug@sad.it>
14322 * vspace.C: had to include stdio.h for use of sscanf
14324 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14327 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14328 independent of xforms.
14330 2001-04-02 Juergen Vigna <jug@sad.it>
14332 * spellchecker.C: fixed namespace placing!
14334 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14336 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14337 the LyXParagraph * is 0.
14339 2001-03-29 Juergen Vigna <jug@sad.it>
14341 * vspace.C: added support for %, c%, p%, l%.
14342 (stringFromUnit): added helper function.
14343 (asLatexString): changed to give right results for the %-values.
14345 * buffer.C: convert the widthp in a width%.
14347 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14349 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14352 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14353 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14355 * lyx_cb.[Ch]: see above.
14357 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14361 * lyx.[Ch]: replaced by figure_form.[Ch].
14365 * lyxfunc.C: changed headers associated with above changes.
14367 2001-03-27 Juergen Vigna <jug@sad.it>
14369 * BufferView_pimpl.C: set the temporary cursor right!
14371 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14373 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14375 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14377 * LString.h: removed "using std::getline"!
14379 * BufferView_pimpl.C (Dispatch): changes due to changes in
14380 InsetInclude::Params.
14382 * buffer.C (tag_name): removed redundant break statements as they were
14383 producing lots of warnings with my compiler.
14385 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14387 * LString.h: add "using std::getline" when using the real <string>.
14389 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14391 * buffer.C: removed bitset usage.
14392 PAR_TAG moved to an anonymous name space.
14393 (tag_name): new funtion, also in the anonymous namespace.
14394 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14395 (makeDocBookFile): clean code. Completed transition from string arrays
14397 (SimpleDocBookOnePar): code clean.
14399 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14401 * tabular.C: add some comments.
14403 2001-03-22 Juergen Vigna <jug@sad.it>
14405 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14406 compatibility read a bit and fixed bug with minipage in different
14409 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14411 * buffer.C (pop_tag): removed.
14412 (push_tag): removed.
14413 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14414 array replaced with vector. Added support for CDATA sections.
14415 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14417 (makeDocBookFile): XML conformant declaration of CDATA section,
14418 fixed bug related to <emphasis> in the first paragraph char.
14419 (sgmlOpenTag): exclude empty tags.
14420 (sgmlCloseTag): ditto.
14422 * buffer.h (pop_tag): removed.
14423 (push_tag): removed.
14425 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14427 * language.h (Languages): added size_type and size().
14429 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14431 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14432 response on compability reading of minipages. One probliem is that
14433 the old usage of minipages was «flertydig»
14435 * several files here and in subdirs: don't use static at file
14436 scope use anon namespaces instead.
14438 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14440 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14441 LaTeX output. This is necessary for Literate document
14444 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14446 * buffer.C: insert hfill when needed.
14448 * tabular.C (l_getline): use string::erase, small whitespace change.
14450 * BufferView_pimpl.C: try the anon namespace.
14451 * WorkArea.C: ditto
14453 2001-03-16 Juergen Vigna <jug@sad.it>
14455 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14456 otherwise it won't open options-dialogs.
14458 * buffer.C: honor pextraWidth(p) on converting minipages.
14460 * tabular.C (l_getline): changed the functions to strip trailing \r.
14462 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14464 * BufferView_pimpl.C:
14465 * minibuffer..C: added "using SigC::slot" declaration.
14467 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14469 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14475 * paragraph.C: ditto
14477 * lyxtext.h: NO_PEXTRA
14479 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14481 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14482 * ParameterStruct.h: ditto
14483 * ParagraphParameters.h: ditto
14484 * lyxparagraph.h: ditto
14486 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14488 * buffer.C: add compability for minipage alignment.
14489 (latexParagraphs): remove unwanted pextra check.
14491 * several files: remove CXX_WORKING_NAMESPACES
14493 * buffer.C (pop_tag): tie is in namespace boost
14495 * BufferView.h: noncopyable is in namespace boost
14497 * lyx_main.h: ditto
14500 * lastfiles.h: ditto
14501 * bufferlist.h: ditto
14502 * ShareContainer.h: ditto
14504 * LyXAction.h: ditto
14507 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14509 * Merging changes from BRANCH_MVC back into HEAD.
14511 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14513 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14515 * BufferView_pimpl.C: change from intl.C
14519 * Makefile.am: move combox.*
14525 * intl.C: remove dialog (covered by prefs)
14527 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14529 * lyxfunc.C (Dispatch): removed redundant break statement.
14531 2001-03-14 Juergen Vigna <jug@sad.it>
14533 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14535 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14537 * buffer.C: add hack to fix compability reading of minipages.
14539 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14541 * buffer.C (getLists): Cleanup.
14543 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14545 * lyxfont.C (update): don't honor toggleall on font size.
14547 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14551 * Makefile.am: moved to frontends/xforms/
14555 * BufferView_pimpl.C: changes for moved mathpanel
14557 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14559 * gettext.h: fix gettext_init() in --disable-nls
14561 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14563 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14565 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14568 * lyx.h: strip external form
14570 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14572 * BufferView_pimpl.C: add comment, destroySplash()
14574 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14576 * BufferView_pimpl.C:
14580 * lyxfunc.C: use re-worked insetinclude
14582 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14584 * buffer.C: add using std::stringstream.
14586 * lyx_cb.C: readd using std::ios.
14588 * buffer.C: add using std::map.
14590 * BufferView_pimpl.C: add using std::vector.
14592 * ShareContainer.h: add std:: to swap.
14594 * buffer.h: add some typedefs
14595 * buffer.C (getLists): use them
14596 (getLists): renamed from getTocList.
14597 add a counter for the different float types and use it in the
14599 (getLists): use the same counter for the NEW_INSETS and the "non"
14602 * lyx_cb.h: remove unused items, includes, using etc.
14604 * ShareContainer.h: remove some commented code, add more comments
14605 and "documentation".
14607 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14609 * buffer.C (getTocList): make the list also when NEW_INSETS is
14612 * buffer.h: remove TocType
14614 * buffer.C (getTocList): change to return a map<string,
14615 vector<TocItem> >, implement for dynamic number of list.
14617 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14618 * text2.C (PasteSelection): adjust
14619 * CutAndPaste.C (pasteSelection): adjust
14621 * FloatList.C (FloatList): update from the new_insets branch.
14622 * Floating.[Ch]: ditto
14623 * LaTeXFeatures.C: ditto
14625 * lyxlex_pimpl.C: ditto
14627 * paragraph.C (Last): remove when NEW_INSETS is defined.
14629 * other file: changes because of the above.
14631 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14633 * lyxparagraph.h: rename next to next_, previous to previous_,
14634 make them private for NEW_INSETS. Rename Next() to next(),
14635 Previous() to previous().
14637 * other files: changes because of the above.
14639 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14642 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14645 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14647 * main.C (main): pass lyx_localedir to gettext_init().
14649 * gettext.h: remove locale_init and gettext_init macros
14651 * gettext.C (locale_init): new function
14652 (gettext_init): new function
14654 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14657 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14659 * Moved credits to frontends:
14660 * credits.[Ch]: removed
14661 * credits_form.[Ch]: removed
14662 * lyx_gui_misc.C: remove credits stuff
14665 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14667 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14669 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14670 unneeded destructor.
14672 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14673 a standalone pointer again.
14675 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14677 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14683 * ToolbarDefaults.C:
14692 * BufferView_pimpl.C: use new file dialog in GUII
14695 * lyx_cb.C: remove LayoutsCB to Toolbar
14697 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14699 * ShareContainer.h (get): add std:: qualifier
14701 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * ShareContainer.h: define a proper ShareContainer::value_type
14704 type (and use typename to please compaq cxx)
14706 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14708 * lyxparagraph.h: move serveral local vars to
14709 ParameterStruct/ParagraphParameters., use ShareContainer in
14710 FontTable., make vars in FontTable private and add getter and
14713 * paragraph.C: changes because of the above.
14715 * lyxfont.h: remove copy constructor and copy assignment. (the
14716 default ones is ok), move number inside FontBits. move inlines to
14719 * lyxfont.C: add number to initializaton of statics, move several
14720 inlines here. constify several local vars. some whitespace
14721 cleanup. Dont hide outerscope variables.
14723 * Spacing.h: add two new constructors to match the set methods.
14725 * ShareContainer.h: new file, will perhaps be moved to support
14727 * ParameterStruct.h: new file
14729 * ParagraphParameters.h: new file
14731 * ParagraphParameters.C: new file
14733 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14734 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14736 * BufferView_pimpl.C: ParagraphParameter changes.
14737 * buffer.C: Likewise.
14738 * bufferview_funcs.C: Likewise.
14739 * text.C: Likewise.
14740 * text2.C: Likewise.
14742 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14744 * lyxfind.C (LyXReplace): do not redefine default argument in
14746 (IsStringInText): ditto
14747 (SearchForward): ditto
14748 (SearchBackward): ditto
14750 2001-03-06 Juergen Vigna <jug@sad.it>
14752 * lyxfind.C (IsStringInText): put parentes around expressions.
14754 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14756 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14758 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14760 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14762 * stl_string_fwd.h: add comment
14764 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14767 * tabular.C: remove unused DocBook methods
14773 killed DO_USE_DEFAULT_LANGUAGE
14775 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14777 * lyx_gui.C: do not include language.h.
14779 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14780 arguments in function implementation.
14782 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14784 * BufferView_pimpl.C: add <ctime>
14786 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14788 * BufferView_pimpl.C: add using std::find_if
14790 2001-02-27 José Matos <jamatos@fep.up.pt>
14792 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14795 2001-02-11 José Matos <jamatos@fep.up.pt>
14797 * buffer.C (makeDocBookFile): command styles now have a parameter as
14798 "title" by default.
14800 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14802 * layout_forms.[Ch]: removed
14803 * lyx_cb.[Ch]: out character
14804 * lyx_gui.C: out character
14805 * lyx_gui_misc.C: out character
14806 * bufferview_funcs.C: : out character,
14807 added toggleall as parameter in ToggleAndShow
14809 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14811 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14813 * text2.C (SetCurrentFont): Disable number property at boundary.
14815 2001-02-26 Juergen Vigna <jug@sad.it>
14817 * lyxfunc.C (getStatus): added a string argument override function so
14818 that this is correctly called from LyXFunc::Dispatch if it contains a
14819 do_not_use_argument which is used!
14820 (Dispatch): added check for "custom" export and call appropriate func.
14822 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14824 * lyxrc.C: Add language_command_local, language_use_babel and
14825 language_global_options.
14827 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14829 * buffer.C (makeLaTeXFile): Use language_use_babel and
14830 language_global_options.
14832 2001-02-23 Juergen Vigna <jug@sad.it>
14834 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14835 which works with LyXText and putted it inside BufferView. Here now we
14836 only call for that part the BufferView::Dispatch() function.
14838 * BufferView.C (Dispatch): added.
14840 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14841 functions which needs to use a LyXText over from LyXFunc.
14842 (MenuInsertLyXFile): added
14843 (getInsetByCode): added
14844 (moveCursorUpdate): added
14845 (static TEXT): added
14847 2001-02-22 Juergen Vigna <jug@sad.it>
14849 * BufferView_pimpl.C (update): call a status update to see if LyXText
14852 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14854 * vc-backend.C (revert): implement for CVS
14855 (getLog): implement for CVS
14857 2001-02-20 Juergen Vigna <jug@sad.it>
14859 * text2.C (ClearSelection): added BufferView param for inset_owner call
14861 * lyxfunc.C (TEXT): added this function and use it instead of
14862 directly owner->view()-text of getLyXText().
14864 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14866 * src/layout_forms.C: out preamble
14867 * src/layout_forms.h: out preamble
14868 * src/lyx_cb.C: out preamble
14869 * src/lyx_cb.h: out preamble
14870 * src/lyx_gui.C: out preamble
14871 * src/lyx_gui_misc.C: out preamble
14872 * src/lyxfunc.C: connect with guii preamble
14874 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14876 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14878 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14880 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14881 whether to run bibtex.
14883 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14885 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14887 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14889 * Makefile.am (lyx_SOURCES): removed bibforms.h
14891 * vspace.h: doxygen
14893 * text.C (GetVisibleRow): make several local vars const
14895 * tabular.C: small cleanup.
14897 * lyxserver.C (callback): use compare instead of strncmp
14899 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14900 inlines to after class or to paragraph.C
14902 * lyxfont.h: remove friend operator!=
14904 * converter.h: move friend bool operator< to non friend and after
14907 * combox.h: small cleanup
14909 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14910 to inlines after class def.
14912 * buffer.C (pop_tag): use string operations instead of strcmp
14914 * bmtable.c: doxygen, small cleanup
14916 * LaTeX.h: remove friend operator==
14918 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14930 * BufferView_pimpl.C:
14931 * BufferView.[Ch]: remove cruft
14933 2001-02-14 Juergen Vigna <jug@sad.it>
14935 * lyxfunc.C: removed #if 0 unused code
14937 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14939 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14941 * text2.C (SetSelection): added a BufferView * parameter
14943 2001-02-13 Juergen Vigna <jug@sad.it>
14945 * lyxfunc.C (Dispatch): fixed protected blank problem.
14946 * BufferView2.C (protectedBlank): added LyxText * parameter.
14948 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14949 (AppendColumn): same as above for column_info.
14951 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14952 (moveCursorUpdate): use a LyXText param for support of InsetText.
14954 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14955 (tripleClick): ditto
14957 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14959 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14961 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14963 * text2.C (SetSelection): set correct update status if inset_owner
14964 (ToggleFree): ditto
14966 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14968 * tabular.C: remove some commented code.
14970 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14972 * BufferView_pimpl.C: call hideSplash()
14974 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14977 * bibforms.h: remove
14980 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14981 add LFUN_CHILD_CREATE
14983 * counters.h: fix tiny typo
14988 * lyx.C: move splash to frontends/xforms/
14990 * lyx_gui_misc.C: move Include and Bibform to frontends
14992 * lyxvc.h: clarify comment
14994 * vspace.C: tiny housekeeping
14996 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14998 * text.C (PrepareToPrint): RTL Fix.
15000 * paragraph.C (GetUChar): New method.
15001 (String): Use GetUChar.
15003 * buffer.C (asciiParagraph): Use GetUChar.
15005 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15007 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15009 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15012 * buffer.C: rename to getLogName(), handle
15013 build log / latex log nicely
15015 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15018 * MenuBackend.h: remove support for reference menuitem type.
15020 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15022 * BufferView_pimpl.C: housekeeping
15023 * BufferView_pimpl.h:
15028 * minibuffer.h: move Timeout GUI-I
15030 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15032 * lyxrc.C (read): Update converters data-structures.
15034 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15036 * LaTeX.h (operator!=): add operator != for Aux_Info
15038 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15040 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15042 * LaTeXLog.C: deleted, useful code moved to Buffer
15045 * buffer.C: new function getLatexLogName()
15051 * lyxfunc.C: use frontends for LaTeX and VC logs
15053 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15055 * LaTeX.h: yet another std:: that Allan forgot.
15057 * Variables.C (set): renamed from isset(), because this clashes
15058 with some HP-UX macros (grr).
15060 2001-02-06 Allan Rae <rae@lyx.org>
15062 * LaTeX.h: Another bug fix. Missing std:: this time.
15064 2001-02-04 Allan Rae <rae@lyx.org>
15066 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15067 floats problem. I've left it commented out because it's not quite
15068 correct. It should also test that the current object is a table or
15069 figure inset. But I haven't gotten around to figuring out how to do
15070 that. I *think* it'll be something like: "table" == inset.type()
15072 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15075 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15077 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15078 all the citation/databases/styles in the auxilary file.
15079 (run): Rerun latex if there was a babel language error.
15081 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15083 * text.C (Backspace): Preserve the font when changing newline char
15085 (BreakParagraph): If the cursor is before a space, delete the space.
15087 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15089 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15091 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15092 new argument (code).
15093 (ChangeCitationsIfUnique): New method.
15095 * paragraph.C (GetPositionOfInset): Handle bibkey.
15097 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15099 * BufferView_pimpl.h: change type of Position::par_pos to
15100 LyXParagraph::size_type.
15102 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15104 * BufferView_pimpl.C (savePosition, restorePosition): Write
15105 messages to minibuffer.
15107 2001-01-28 José Matos <jamatos@fep.up.pt>
15109 * buffer.C (makeDocBookFile): adds support for document language.
15110 A silly restriction on the name of LatexCommand types where removed.
15111 Added support for CDATA sections, allows to chars unescaped, used
15112 among others in code, to avoid escape < and >.
15114 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15116 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15117 saved positions instrad of a stack. Furthermore, a position is
15118 stored using paragraph id/paragraph position.
15120 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15121 Remove LFUN_REF_BACK.
15123 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15125 * converter.C (dvipdfm_options): New method.
15127 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15129 * vspace.C (isValidLength): Fix for empty input string.
15131 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15133 * LyXAction.C (init): change description of LFUN_FIGURE to
15136 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15138 * LaTeX.C: add using directive
15140 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15142 * MenuBackend.C (expand): Fix the sorting of the formats.
15144 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15146 * lyx_main.C: tiny error message fix
15148 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15150 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15151 calling fl_initialize(). This fixes the problem with ',' as
15152 decimal separator in text files.
15154 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15156 * trans.C (process): Fix the keymap bug.
15158 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15160 * LaTeX.C (scanAuxFiles): New method. Provides support for
15161 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15162 (scanLogFile) Scan for "run BibTeX" messages.
15164 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15165 OT1 font encoding. Also, load the aecompl package if the ae
15168 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15170 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * texrow.C (increasePos): turn two error messages into debug
15175 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15177 * LaTeX.C (scanAux): Handle the \@input macro.
15178 (runBibTeX): Use scanAux().
15180 * language.C (latex_options_): New field.
15182 * LaTeXFeatures.C (getMacros): Add language macros.
15184 * buffer.C (makeLaTeXFile): Small fix.
15186 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15188 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15190 * text2.C: add a using directive.
15192 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15197 * lyxfunc.C: kill LyXBell.
15199 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15201 * text.C (IsBoundary): Remove the error message
15203 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15205 * lyxrc.C (setDefaults): Correct initialization value for
15208 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15210 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15213 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15214 and GotoNextNote().
15216 * src/LyXAction.C: Added reference-next.
15218 * text.C (InsertChar): Use contains instead of strchr.
15220 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15222 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15224 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15225 alignment commands (when needed).
15227 * text.C (InsertChar): Add ':' to number separator chars.