2 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
4 * lyxfind.C: add a couple of inTexted() tests + other small fixes
5 * BufferView_pimpl.[Ch] (getStatus)
6 * BufferView.[Ch] (getStatus): add
7 * lyxfunc.C (getStatus): move lfuns handled in
8 BufferView::dispatch to te function above
9 * Cursor.C (setSelection): set selection() = true
11 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
13 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
15 2004-03-31 Angus Leeming <leeming@lyx.org>
17 * lyxfunc.C (dispatch): Fall through to the generic
18 Dialogs::show("preamble").
20 2004-03-31 Angus Leeming <leeming@lyx.org>
22 * lyxfunc.C (dispatch): Fall through to the generic
23 Dialogs::show("spellchecker").
25 2004-03-31 Angus Leeming <leeming@lyx.org>
27 * lyxfunc.C (getStatus, dispatch): changed invocation of the
30 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
40 * undo.[Ch]: s/DocumentIterator/DocIterator/g
42 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
44 * BufferView.C (setCursor, putSelectionAt): call edit to open the
45 insets where we are putting the cursor.
47 2004-03-31 Angus Leeming <leeming@lyx.org>
50 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
52 * lyxrc.[Ch] (read, write): overloaded member functions taking
53 a std::[io]stream arguments.
55 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
57 2004-03-31 Angus Leeming <leeming@lyx.org>
59 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
60 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
62 * lyxtextclass.C (load): if the text class couldn't be loaded, then
63 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
65 2004-03-31 Angus Leeming <leeming@lyx.org>
67 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
68 the LFUN_ALL_INSETS_TOGGLE code.
70 2004-03-30 Angus Leeming <leeming@lyx.org>
72 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
73 has died. Fall through to the generic Dialogs::show("document").
75 2004-03-30 Angus Leeming <leeming@lyx.org>
78 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
79 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
81 * lyxfunc.C (getStatus, dispatch): define the actions for these
82 lfuns. Little more than a cut and pste job from ControlDocument.C
84 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
86 2004-03-30 Angus Leeming <leeming@lyx.org>
89 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
90 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
92 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
93 open/closed state of ollapsable insets. Usage:
95 all-inset-toggle <state> <name>, where
96 <state> == "open" || "closed" || "toggle" and
97 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
99 * lyxtext.h, text2.C (toggleInset): removed.
101 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
102 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
103 now passes LFUN_INSET_TOGGLE to the found inset.
105 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
106 is now invoked as "all-insets-toggle toggle branch".
108 2004-03-30 Angus Leeming <leeming@lyx.org>
112 * pariterator.[Ch]: added/corrected header blurb.
114 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
116 * dociterator.[Ch]: add an inset_ member
117 (backwardPos): implemented
118 (backwardPos, forwardPos): use inset_ when the stack is empty.
119 (doc_iterator_begin, doc_iterator_end): implemented
120 * pariterator.[Ch]: adjust, add begin, end
121 * insetiterator.[Ch]: adjust, add begin, end
125 * BufferView_pimpl.C:
126 * CutAndPaste.C: adjust
128 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
130 * buffer.C: increment file format to 232.
131 * LaTeXFeatures.C: add bibtopic package.
132 * bufferparams.[Ch]: param \use_bibtopic.
134 * lyxrc.[Ch]: add lyxrc bibtex_command
135 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
137 * buffer.C: increment file format to 231.
139 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
141 * dociterator.C: implement forwardPar
142 * iterators.[Ch]: remove, replaced by
143 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
145 * BufferView_pimpl.C:
148 * bufferview_funcs.C:
154 * Makefile.am: adjust
156 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
158 * CutAndPaste.C (pasteSelection): fix 2 crashes
159 (eraseSelection): fix a crash
160 * paragraph_funcs.C: remove a warning
162 2004-03-28 Angus Leeming <leeming@lyx.org>
165 * LyXAction.C (init): new LFUN_PRINT.
167 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
169 2004-03-27 Angus Leeming <leeming@lyx.org>
172 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
174 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
176 2004-03-27 Angus Leeming <leeming@lyx.org>
178 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
179 insetlist always contains non-null pointers to insets.
181 2004-03-26 Angus Leeming <leeming@lyx.org>
183 * src/BufferView_pimpl.C:
187 * src/output_plaintext.C:
188 * src/outputparams.h:
189 * src/paragraph_funcs.C:
193 * src/frontends/controllers/ControlErrorList.C:
194 * src/frontends/gtk/FileDialogPrivate.C:
195 * src/frontends/gtk/GPainter.C:
196 * src/frontends/gtk/GToolbar.C:
197 * src/frontends/qt2/QRef.C:
198 * src/mathed/math_scriptinset.C: squash compiler warnings.
200 2004-03-26 Angus Leeming <leeming@lyx.org>
202 * ispell.C (LaunchIspell::start):
203 * lyx_cb.C (AutoSaveBuffer::start):
204 invoke run(DontWait) rather than runNonBlocking().
206 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
208 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
210 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * kbsequence.C (print): adjust
214 * kbmap.C (printKeySym): rename and change signature
215 (printKey): use LyXKeySym::print()
217 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
219 * undo.C: add using std::advance to compile for stlport
221 2004-03-24 Angus Leeming <leeming@lyx.org>
223 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
224 it leads to a crash when no buffer is present.
226 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 Martin Vermeer <martin.vermeer@hut.fi>
229 * lyxfunc.C (dispatch):
230 * bufferparams.C (readToken): use the new LColor::setColor
232 * LColor.[Ch] (setColor): new version that takes two strings as
233 argument and creates a new color entry if necessary
235 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
237 * buffer.C (makeLaTeXFile): if the main latex file that is
238 processed is usually a subdocument of some master, then pretend
239 for a while that it is actually the master
241 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
243 * buffer.C (getLabelList):
244 (getBibkeyList): use getMasterBuffer()
245 (getMasterBuffer): new method. Returns the main document in the
246 case where one is using included documents.
248 2004-03-25 André Pönitz <poenitz@gmx.net>
252 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
254 * ParagraphList_fwd.h: change ParagraphList to a std::vector
256 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
257 text*.C over here. Rename namespace CutAndPaste to lyx::cap
259 * ParameterStruct.h: merge with ParagraphParameters
261 * lyxtext.h: remove LyXText::parOffset() and getPar()
263 * text3.C: Remove all 'manual' update calls. We do now one per user
264 interaction which is completely sufficient.
268 * BufferView_pimpl.C:
271 * ParagraphParameters.[Ch]:
283 * output_docbook.[Ch]:
285 * output_linuxdoc.[Ch]:
286 * output_plaintext.[Ch]:
288 * paragraph_funcs.[Ch]:
289 * paragraph_pimpl.[Ch]:
297 * frontends/controllers/ControlDocument.C:
298 * frontends/controllers/ControlErrorList.C:
299 * frontends/controllers/ControlSpellchecker.C:
302 * insets/insetbase.h:
303 * insets/insetbibitem.C:
305 * insets/insetbranch.C:
306 * insets/insetcaption.C:
307 * insets/insetcharstyle.C:
308 * insets/insetcharstyle.h:
309 * insets/insetcollapsable.C:
310 * insets/insetcollapsable.h:
312 * insets/insetfloat.C:
313 * insets/insetfoot.C:
314 * insets/insetmarginal.C:
315 * insets/insetnote.C:
316 * insets/insetoptarg.C:
317 * insets/insettabular.C:
318 * insets/insettext.C:
319 * insets/insettext.h:
320 * insets/insetwrap.C:
321 * mathed/math_mboxinset.C:
322 * mathed/math_nestinset.C:
323 * mathed/math_scriptinset.C:
324 * mathed/math_scriptinset.h:
327 2004-03-24 Angus Leeming <leeming@lyx.org>
329 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
330 deal with any child processes that have finished but are waiting to
331 communicate this fact to the rest of LyX.
333 2004-03-24 Angus Leeming <leeming@lyx.org>
335 64-bit compile fixes.
337 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
338 (c-tor): pass lyx::pos_types rather than ints.
340 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
343 * text.C (Delete): compile fix.
344 (getPar): ensure that function declaration is the same as that in
347 2004-03-23 Angus Leeming <leeming@lyx.org>
349 * ispell.C (LaunchIspell):
350 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
351 a boost::shred_ptr rather than a std::auto_ptr.
353 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
355 * lyxfunc.C (getStatus): handle read-only buffers correctly;
356 handle LFUN_FILE_INSERT_*
358 * lyxrc.C (setDefaults, getDescription, output, read):
359 * lyxrc.h: remove ps_command
361 2004-03-22 Angus Leeming <leeming@lyx.org>
363 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
364 Ensure that error_handler is processed once only and that all data
365 is saved before attempting to output any warning messages.
367 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
369 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
371 * tabular.C (TeXRow): crash fix (from Kayvan and André)
373 2004-03-19 André Pönitz <poenitz@gmx.net>
375 * cursor.[Ch] (reset): take main text inset as argument
378 * BufferView_pimpl.C: adjust
380 * paragraph.[Ch]: fix completely broken operator=()
382 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
384 * LColor.C (getFromLyXName): make sure that the color name is used
387 2004-03-17 Angus Leeming <leeming@lyx.org>
390 * LyXAction.C (init): remove LFUN_FORKS_KILL.
392 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
393 dialog and to kill a forked process.
395 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
397 * text2.C (setCursorFromCoordinates): fix font problem
399 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
401 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
402 bogus "rebuild cursor" code
404 2004-03-11 André Pönitz <poenitz@gmx.net>
406 * buffer.[Ch]: use InsetText instead of LyXText as container for
409 * dociterator.[Ch]: drop the BufferView * member which is not needed
410 anymore after the change to buffer.C
416 * BufferView_pimpl.[Ch]:
418 * cursor_slice.[Ch]: adjust
420 * text3.C: fix bug in mathDispatch
422 2004-03-08 André Pönitz <poenitz@gmx.net>
424 * undo.[Ch]: use 'StableDocumentIterator' as base for
427 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
430 * bufferparams.[Ch]: add jurabib support and param.
432 * LaTeX.C: add FIXME/comment.
434 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
436 * buffer.C: increment file format to 230.
438 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
440 * cursor.C (dispatch): avoid infinite loops
442 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
444 * rowpainter.C (paintSelection): fix x coordinates
446 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
448 * text.C (rowBreakPoint): fix breaking before displayed insets
450 2004-03-01 André Pönitz <poenitz@gmx.net>
452 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
454 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
458 * BufferView_pimpl.C:
466 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
472 * BufferView_pimpl.C: rename textwidth -> maxwidth,
473 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
475 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
477 * Bidi.[Ch] (computeTables): const correctness
478 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
479 fill_hfill, fill_label_hfill and x from Row
480 * lyxtext.h: prepareToPrint returns a RowMetrics
481 * rowPainter.C: adjust
482 * text.C (prepareToPrint): use width, not textWidth. adjust
483 (redoParagraphInternal, cursorX): adjust
484 * text2.C (getColumnNearX): adjust
485 (init): put a default value to the top LyXText::width
487 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
489 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
491 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
493 * lyxtext.h: add FontIterator class
495 * text.C (FontIterator, operator*, operator->, operator++): add
496 (rowBreakPoint, setRowWidth): adjust (fixing a
499 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 * BufferView_pimpl.C (workAreaDispatch): allow also
502 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
504 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
506 * text.C (rowBreakPoint): fix a bug showing with very large insets
508 2004-02-25 André Pönitz <poenitz@gmx.net>
511 * cursor.[Ch]: move some mathed specific code to mathed
513 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
516 use_tempdir in preferences
517 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
519 * lyx_main.C: ensure that tempdir is valid
520 * lyxlex.h: correct typo
521 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
522 * paragraph.[Ch] (isMultiLingual): make const
523 * cursor.[Ch] (openable): make const
525 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
527 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
529 2004-02-20 André Pönitz <poenitz@gmx.net>
531 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
533 * cursor.[Ch]: prepare for localized getStatus()
539 * text3.C: streamlines the LyXText cursor movement handlers a bit.
541 2004-02-20 André Pönitz <poenitz@gmx.net>
543 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
545 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
547 * text2.C (setCursorFromCoordinates): switch to absolute coords
550 * text3.C (dispatch): adjust
552 2004-02-16 André Pönitz <poenitz@gmx.net>
554 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
557 * cursor_slice.[Ch]: remove unneeded acessor function
559 * lyxtext.h: rename rtl() to isRTL()
567 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
569 * rowpainter.C (paintSelection): coord fix
571 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
573 * Spacing.C: compile fix
575 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
577 * cursor.C (dispatch): restore current_ before returning
579 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
581 * text2.C (cursorUp, cursorDown): fix coords
584 2004-02-12 André Pönitz <poenitz@gmx.net>
589 * text3.C: add LCursor & parameter to most cursor movement functions
590 remove usage of LyXText::cursorRow() and cursorPar()
592 * cursor.[Ch]: add textRow() needed members
595 * BufferView_pimpl.C:
598 * BufferView_pimpl.C: adjust
600 2004-02-11 André Pönitz <poenitz@gmx.net>
604 * BufferView_pimpl.C: shift undo/redo handling
606 * cursor.[Ch]: fix mathed crash
609 * lyxtext.h: move selectionAsText to LCursor
617 * rowpainter.C: fix excessive drawing
619 2004-02-06 André Pönitz <poenitz@gmx.net>
622 * BufferView_pimpl.[Ch]:
623 * text3.C: move some text specific LFUN handling
625 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
627 * text3.C (checkInsetHit): adjust coords
628 * text2.C (getColumnNearX): adjust coords
629 (edit): adjust coords
630 * text.C (getRowNearY): add two asserts
632 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
635 * format.C: add using std::distance to compile on gcc 2.95/stlport
637 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
639 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
641 2004-02-04 André Pönitz <poenitz@gmx.net>
643 * BufferView.[Ch] (insertInset):
644 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
649 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
651 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
652 on the default clause of the switch
653 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
654 wasn't catched by LCursor::dispatch
656 2004-02-03 André Pönitz <poenitz@gmx.net>
659 * cursor.[Ch]: some additional asserts
661 * undo.[Ch]: remove LyXText dependency in interface
665 * lyxtext.h (firstPar, lastPar): remove dead functions
670 * paragraph.[Ch]: adjust
672 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
674 * lyxfind.C (find): fix argument order in call to ::find
676 2004-02-02 André Pönitz <poenitz@gmx.net>
678 * cursor.[Ch]: remove direct access to anchor
680 * text.C: remove findText() hack
682 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
684 * iterators.[Ch] (lockPath): remove in favour of...
685 * BufferView.[Ch] (setCursor): this addition
686 * BufferView.C (putSelectionAt): adjust
687 * undo.C (performUndoOrRedo): adjust
688 * lyxfunc.C (dispatch): adjust
690 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
692 * iterators.C (lockPath): add a missing slice
693 * undo.C (performUndoOrRedo): remove redundant positioning code
695 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
697 * vc-backend.C (scanMaster): ";" -> ';'
699 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
701 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
704 * lyxtextclass.C (compare_name): rename to...
705 (LayoutNamesEqual): ...this
707 * lyxlex_pimpl.C (compare_tags): inherit from
708 std::binary_function, put back into anon namespace
710 * lyxfind.C (MatchString): inherig from std::binary_function
711 (findChange): use empty() istead of !size()
713 * format.C (FormatNamesEqual): new functor
720 * converter.C (compare_Converter): rename to...
721 (ConverterEqual): ...this, and fixup a bit.
722 (getConverter): use it, and make function const
723 (getNumber): use it, and make function const
727 * bufferlist.C: add using boost::bind
729 * MenuBackend.C (MenuNamesEqual): new functor
730 (hasMenu): use it, and make function const
731 (hasSubmenu): use nested bind to get rid of compare_memfun.
733 2004-01-30 André Pönitz <poenitz@gmx.net>
735 * BufferView_pimpl.C:
746 * text3.C: move some of the edit(x,y) handling to the insets
747 some coordinate changes.
749 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
751 * text.C: add using statements for std::advance and std::distance
753 * paragraph.C: add using statement for std::distance
755 * lyxfind.C: add using statement for std::advance
757 * cursor.C (region): remove std:: from swap
758 (openable): use nucleus in stead of operator->
760 * BufferView.C: add using statements for std::distance and std::swap
762 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
764 * iterators.C: Remove the pimple, move the needed structures to
765 the header file. Create accessor for the positions stack.
766 (asPosIterator): remove function
768 * PosIterator.C (PosIterator): move constructors to top of file
769 (PosIterator): reimplement the constructor taking a ParIterator in
771 (setFrom): new function
772 (operator!=): inline it
774 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
776 * lyxfind.C (replaceAll): use std::advance
778 * iterators.h: inherit from std::iterator.
780 * PosIterator.C (advance, distance): remove
781 * PosIterator.h: interit from std::iterator.
783 2004-01-26 André Pönitz <poenitz@gmx.net>
786 * BufferView_pimpl.[Ch]:
790 * bufferview_funcs.C:
801 * output_plaintext.C:
803 * paragraph_funcs.[Ch]:
804 * paragraph_pimpl.[Ch]:
810 * text3.C: more IU: dumps most of the rest of the mathcursor
811 implementation into cursor.[Ch]; "globalize" a bit of it.
813 2004-01-25 Angus Leeming <leeming@lyx.org>
815 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
817 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
819 * LaTeXFeatures.h: add nice_ and nice() const
820 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
822 2004-01-20 André Pönitz <poenitz@gmx.net>
825 * BufferView_pimpl.C:
827 * bufferview_funcs.C:
840 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
841 LCursor and mathcursor parts to LCursor and InsetBase.
843 2004-01-15 André Pönitz <poenitz@gmx.net>
845 * cursor_slice.[Ch]: add a few covienience functions
847 * funcrequest.[Ch]: remove BufferView * member
849 * BufferView_pimpl.C:
856 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
858 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
860 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
861 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
863 2004-01-13 André Pönitz <poenitz@gmx.net>
866 * lyxtext.h: hide cursor and selection anchor behind accessor function
869 * BufferView_pimpl.[Ch]:
871 * bufferview_funcs.C:
881 * cursor_slice.[Ch]: some integer type changes for inset unification
883 * lyxcursor.[hC]: remove, it's CursorSlice now.
886 * BufferView_pimpl.[Ch]:
887 * bufferview_funcs.C:
893 * textcursor.[Ch]: adjust
895 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
897 * text2.C (undoSpan): add and use
898 * text.C (breakParagraph): use undoSpan (fix bug 578)
901 2004-01-08 Angus Leeming <leeming@lyx.org>
903 * BufferView_pimpl.C (MenuInsertLyXFile):
904 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
905 * lyxfunc.C (menuNew, open, doImport):
906 FileFilterList change to the FileDialog open and save functions.
908 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
910 * ShareContainer.h: make isEqual and isUnique adaptable
912 * CutAndPaste.C: make resetOwnerAndChanges adaptable
914 2004-01-07 Angus Leeming <leeming@lyx.org>
917 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
919 * BufferView_pimpl.C (dispatch): act on these LFUNs.
921 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
922 functions replacing find, replace and replaceAll.
924 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
925 LFUN_WORDFIND(FORWARD|BACKWARD).
927 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
929 * text.C (breakParagraph): remove an outdated #warning
931 2004-01-07 André Pönitz <poenitz@gmx.net>
933 * lyxfind.C: somewhat clearer logic
935 * text.C: prevent crash in cursorX on unitialized row cache
937 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
939 * lyxcursor.[Ch] (operator>): add
940 * textcursor.C (selStart, selEnd): use std::min and std::max
942 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
944 * Chktex.C: include boost/format.hpp
946 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
948 * InsetList.C: replace functor MathcIt with adaptable functor
950 (insetIterator): modify accordingly
952 * BranchList.h: move the BranchNamesEqual functor here from...
953 * BranchList.C: ... to here
955 * BranchList.C: new BranchListEqual fuctor, use it. Remove
957 (add): replace a finding loop with std::find_if.
959 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
961 * output_docbook.C: moving LatexParam functionality into
964 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
966 * buffer.C: increment format to 229.
968 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
971 * lyx_sty.[Ch]: remove minipageindent_def
977 * text3.C: remove LFUN_INSET_MINIPAGE
979 2003-12-28 Angus Leeming <leeming@lyx.org>
981 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
983 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
985 * text2.C (setParagraph): fix off-by-one crash
987 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
989 * output_docbook.C: header stuff for AGU
991 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
993 * text2.C (redoCursor): remove
996 * BufferView_pimpl.C: remove calls to redoCursor and
997 setCursor(cursor.par(), cursor.pos()) all around
999 2003-12-15 Angus Leeming <leeming@lyx.org>
1001 * buffer.C: up the format to 228.
1003 2003-12-15 André Pönitz <poenitz@gmx.net>
1005 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1010 * BufferView_pimpl.C:
1019 2003-12-15 Angus Leeming <leeming@lyx.org>
1021 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1022 than getFromGUIName to manipulate the color.
1024 2003-12-14 Angus Leeming <leeming@lyx.org>
1026 * BranchList.[Ch]: minimize the API.
1027 (Branch::getBranch, getColor): now return a 'const &'.
1028 (Branch::setSelected) now returns a bool set to true if the
1029 selection status changes.
1030 (BranchList::clear, size, getColor, setColor, setSelected,
1031 allBranches, allSelected, separator): removed.
1032 (BranchList::find): new functions, returning the Branch with
1034 (BranchList::add, remove): return a bool indicating that
1035 the operation was successful.
1037 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1038 new InsetBranch::isBranchSlected member function.
1040 * LColor.[Ch]: mimimize the API.
1041 (fill): renamed as addColor and made private.
1042 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1043 versions of these functions taking a string arg have been removed.
1045 * bufferparams.C (readToken):
1046 * lyxfunc.C (dispatch):
1047 * lyxrc.C (read): changes due to the altered BranchList and
1050 * factory.C (createInset, readInset): changes due to altered
1053 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1056 * lyxfunc.C: remove insetminipage. "minipage-insert"
1057 now produces a frameless minipage box inset.
1059 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1061 * textcursor.[Ch] (selStart,selEnd): add new methods
1062 remove selection::start, end, use LyXCursor::operator<
1063 * lyxcursor.[Ch] (operator<): add
1064 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1065 * BufferView.[Ch] (unsetXSel): add
1066 * text2.C (clearSelection): use unsetXSel,adjust
1069 * rowpainter.C: adjust
1070 * bufferview_funcs.C (put_selection_at): adjust
1072 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1074 * BufferView_pimpl.C: small coord. correction
1076 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1078 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1079 dragging over the splash screen.
1081 2003-12-11 Angus Leeming <leeming@lyx.org>
1083 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1084 as it is now handled in LyXText::dispatch.
1086 * text3.C (doInsertInset): remove a level of nesting.
1088 2003-12-11 Angus Leeming <leeming@lyx.org>
1090 * factory.C (createInset): changes due to the changed interface to
1091 InsetCommandMailer::string2params.
1093 2003-12-10 Angus Leeming <leeming@lyx.org>
1095 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1096 'dialog-show-new-inset <inset name>'
1098 2003-12-10 Angus Leeming <leeming@lyx.org>
1100 * buffer.C: up the format to 227.
1102 * factory.C: the box inset is now identified simply by 'Box'.
1104 2003-12-10 Angus Leeming <leeming@lyx.org>
1106 * buffer.C: up the format to 226.
1108 * factory.C: the note inset is now identified simply by 'Note'.
1110 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1112 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1113 when a pit is enough. Standarize a couple of loops.
1115 2003-12-05 Angus Leeming <leeming@lyx.org>
1117 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1118 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1119 data to the re-worked "log" dialog.
1121 2003-12-03 André Pönitz <poenitz@gmx.net>
1127 * paragraph_funcs.C:
1129 * text2.C: use Inset::getText instead of Inset::getParagraph
1131 2003-12-03 André Pönitz <poenitz@gmx.net>
1135 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1136 InsetText::read() as LyXText::read()
1138 2003-12-02 Angus Leeming <leeming@lyx.org>
1140 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1141 type. Add a comment in the implementation that the function uses
1142 the stream's bad() function rather than fail() as the std::streams
1145 2003-12-02 André Pönitz <poenitz@gmx.net>
1147 * lyxlex.[Ch]: make interface more similar to std::stream
1149 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1151 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1153 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1155 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1157 * vspace.[Ch]: remove VSpace::NONE
1159 2003-12-01 André Pönitz <poenitz@gmx.net>
1162 * lyxtext.h: move ParagraphList member to LyXText
1163 rename LyXText::ownerParagraphs to LyXText::paragraph
1166 * bufferview_funcs.C:
1176 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1178 * undo.C: fix cursor positioning
1180 2003-12-01 John Levon <levon@movementarian.org>
1182 * BufferView_pimpl.C: fix a crash on exit with
1185 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1187 * BranchList.C: fix setSelected() method.
1189 2003-11-28 André Pönitz <poenitz@gmx.net>
1191 * ParagraphParameters.[Ch]:
1192 * ParameterStruct.h: remove space above/below from Paragraph to
1195 * BufferView_pimpl.C:
1201 * paragraph_funcs.C:
1207 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1209 * factory.C: Syntax change for CharStyles
1211 2003-11-28 André Pönitz <poenitz@gmx.net>
1216 * buffer.[Ch]: move LyXText member
1218 2003-11-28 André Pönitz <poenitz@gmx.net>
1220 * BufferView.[Ch]: make LyXText * text a private member
1222 * BufferView_pimpl.C:
1233 * output_plaintext.C: cleanup
1235 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1238 * lyxtextclass.[Ch]: parametrize SGML document header
1240 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1243 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1246 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1248 * text2.C (setFont): rework using PosIterator (no more recursive)
1249 (setCharFont): no more needed
1250 (setLayout): no more selection cursors fiddling (done by redoCursor)
1251 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1252 destroy remaining ones)
1254 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1256 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1258 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1261 * text3.C: adjust + re-allow multi par depth changes
1262 * textcursor.C: simplify a bit
1264 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1270 * src/output_docbook.C:
1271 * src/output_latex.C:
1276 * src/text2.C: Introducing a number of tags parametrizing various
1277 XML formats that we may want to support
1279 2003-11-25 André Pönitz <poenitz@gmx.net>
1281 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1283 * lyxtext.h (leftMargin/rightMargin): simplify interface
1290 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1292 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1293 master file to any child files. Fixes bug 546.
1295 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1297 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1299 2003-11-24 André Pönitz <poenitz@gmx.net>
1301 * rowpainter.C: simplification
1303 * text2.C (updateCounters): remove call to redoParagraph on
1304 changed labels as this is far too expensive.
1306 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1308 * converter.C (convert): fix a crash: this function gets
1309 called with buffer == 0 from importer code.
1311 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1313 * text3.C (cursorPrevious): make sure that we do not compare
1314 iterators form different containers.
1317 * rowpainter.C (paintSelection): make sure that we do not compare
1318 iterators from different containers.
1320 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1321 iterators from different ParagraphList containers.
1324 * text2.C (LyXText): change order of initialization slightly
1325 (operator=): new function. copy all variables except cache_par_
1326 (moveUp): make sure that we do not compare iterators from
1327 different ParagraphList constainers.
1330 * text.C (firstPar): new function
1331 (lastPar): new function
1332 (endPar): new function
1334 * lyxtext.h: move things around and group public functions, public
1335 variables, private functions, private variables
1337 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1339 * factory.C: change call to InsetERT constructor to avoid
1340 additional invocation of method status
1341 * text2.C (toggleInset): remove redundant update() call
1342 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1343 instead of a Bufferview pointer
1345 2003-11-21 André Pönitz <poenitz@gmx.net>
1347 * rowpainter.C: simplification
1349 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1351 * text3.C (dispatch): make possible to extend a word/row selection
1354 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1356 * lyxtext.h: x0_,y0_ -> xo_,yo_
1357 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1358 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1359 * rowpainter.C (paintRows): paint full paragraphs
1361 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1363 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1366 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1368 * lyxtext.h: add x0_, y0_
1369 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1370 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1372 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1374 * text2.C (setCursorIntern): move the x_target update here *
1375 * text3.C: change some bv() to true/false in calls to
1376 cursorUp/Down/Right/Left
1377 * cursor.C: use helper function.
1379 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1381 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1382 * paragraph_funcs.[Ch]: correct comment
1383 * rowpainter.C: do not paint selections away from bv->cursor()
1384 Fix a long standing selection painting bug.
1385 * text3.C: generalize mouse-selection code to LyXTexts other that
1387 * textcursor.C: do not use y coords if we can use par offsets
1389 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1391 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1392 cursor position after e.g. inset insert)
1394 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1396 * lyxfind.C (replace): adjust to locking removal + some
1399 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1401 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1404 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1407 * output_docbook.C: XML sanitation: new layout
1408 parameters InnerTag and CommandDepth
1410 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1412 * BufferView_pimpl.C:
1414 * text3.C: Fix the insertion and modification of button-style
1417 2003-11-13 André Pönitz <poenitz@gmx.net>
1419 * InsetList.[Ch]: remove deleteLyXText
1421 * paragraph.[Ch]: cache beginOfBody position
1426 * text3.C: remove superfluous update() calls
1430 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1432 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1433 * BufferView.C (fitLockedInsetCursor): remove
1434 * cursor.[Ch] (getDim): add
1435 * text.C (getRowNearY): add faster version
1436 * text3.C: remove some update calls
1438 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1450 * text3.C: The Character Style /XML short element patch.
1452 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1455 * factory.C: Small step to solving 'unable to insert some insets'
1458 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1460 * cursor.[Ch] (updatePos): new function for updating the y
1461 position of the tip inset
1462 * bufferview_funcs.C (put_selection_at):
1463 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1465 2003-11-11 André Pönitz <poenitz@gmx.net>
1467 * text.C: remove big comment on invalid Paragraph pointers as it is
1470 2003-11-11 André Pönitz <poenitz@gmx.net>
1472 * text_funcs.[Ch]: merge with ...
1480 * Makefile.am: remove text_funcs.[Ch]
1482 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1484 * cursor.C (getPos): return absolute cached y coord
1486 * BufferView_pimpl.C (fitCursor): new simplistic code
1487 (workAreaDispatch): add a fitCursor call
1489 2003-11-10 André Pönitz <poenitz@gmx.net>
1492 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1494 2003-11-10 André Pönitz <poenitz@gmx.net>
1496 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1497 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1498 indicate that the cursor needs to leave an inset
1500 * lyxtext.h: remove inset locking
1502 * cursor.[Ch]: re-implement functionality provided by inset locking
1505 * BufferView_pimpl.[Ch]:
1507 * bufferview_funcs.[Ch]:
1519 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1521 * PosIterator.[Ch]: replace the stack with a vector, add inset
1523 * iterators.[C]: adjust
1525 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1527 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1529 * paragraph_funcs.C (readParToken): put the correct id in the
1530 error item, not the id of the top paragraph
1532 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1534 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1535 * bufferview_funcs.C (put_selection_at): use the above
1537 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1539 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1541 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1543 * output_linuxdoc.h:
1544 * output_plaintext.h:
1546 * output_docbook.h: add #include statements
1548 2003-11-05 José Matos <jamatos@lyx.org>
1550 * output_docbook.[Ch]:
1551 * output_latex.[Ch]:
1552 * output_linuxdoc.[Ch]:
1553 * output_plaintext.[Ch]: New files for output formats.
1554 * output.[Ch]: New file for helper functions.
1557 * paragraph_funcs.[Ch]: output functions moved to new files.
1559 * outputparams.h: rename of latexrunparams.h
1567 * paragraph_funcs.[Ch]:
1568 * paragraph_pimpl.[Ch]:
1569 * tabular.[Ch]: rename ascii to plaintext
1570 and LatexRunParams to OutputParams.
1572 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1574 * iterators.[Ch] (text): require bv argument
1575 * undo.C (recordUndo):
1576 * lyxfunc.C (dispatch):
1577 * bufferview_funcs.C (put_selection_at): adjust
1579 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1581 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1583 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1585 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1588 2003-11-04 André Pönitz <poenitz@gmx.net>
1590 * cursor.[Ch]: restructure
1593 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1595 * iterators.[Ch] (asCursor): remove
1597 * lfuns.h: remove LFUN_INSET_EDIT
1603 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1605 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1607 * lyxfind.[Ch]: complete overhaul
1608 * BufferView_pimpl.C:
1610 * paragraph.[Ch] (insert): add
1612 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1616 * text.C: remove dead spellcheck code
1618 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1620 * dispatchresult.h: add a val setter
1622 * cursor.C (dispatch): use a tempvar for data_[i]
1624 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1626 * PosIterator.[Ch]: compile fix
1628 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1630 * text.C (cursorPar): deactivate the cursor cache
1632 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1634 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1636 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * text3.C (dispatch): adjust for new DisptchResult semantics.
1640 * lyxfunc.C (dispatch): handle update when return from
1641 Cursor::dispatch, adjust for new DispatchResult semantics.
1643 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1644 DispatchResult(true) mean to not update. Add class functions for
1645 setting dispatched and update, as well as reading.
1647 * cursor.C (dispatch): don't handle update here
1649 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1651 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1652 * trans_mgr.C: adjust
1654 * paragraph_funcs.C (readParToken): exception safety
1656 * lyxvc.h: store the vcs pointer in a scoped_ptr
1659 * lyxsocket.C (serverCallback): exception safety
1661 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1663 * ispell.C (clone): make it return a auto_ptr
1665 * factory.C (createInset): exception safety
1666 (readInset): exception safety
1668 * bufferlist.C (newBuffer): exception safety
1670 * Thesaurus.C (Thesaurus): use initialization for aik_
1672 * MenuBackend.C (expandToc): exception safety.
1674 2003-11-03 André Pönitz <poenitz@gmx.net>
1678 * bufferview_funcs.C: remove getInsetFromId()
1681 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1687 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1689 * PosIterator.C (distance, advance): new
1690 * bufferview_funcs.[Ch] (put_selection_at): new
1691 * iterators.[Ch] (lockPath): new
1693 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1695 * iterators.[Ch] (asPosIterator): added
1696 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1697 * PosIterator.[Ch]: added
1699 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * cursor.C (dispatch):
1704 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1706 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1707 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1708 contructor, add a class function dispatched. Remove operator>=
1710 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1712 * debug.C: only use the default constructor for debugstream
1715 * main.C (main): include debug.h and setup the lyxerr streambuf
1718 2003-10-31 José Matos <jamatos@lyx.org>
1720 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1722 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1723 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1724 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1725 * paragraph_pimpl.C (simpleTeXSpecialC):
1726 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1727 add LatexRunParams argument.
1729 * exporter.C (Export): change call accordingly.
1731 * latexrunparams.h: add new member to take care of the other backends.
1732 2003-10-30 José Matos <jamatos@lyx.org>
1734 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1735 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1736 factorise code for paragraph output.
1738 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1741 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * text3.C (dispatch):
1744 * lyxfunc.C (dispatch):
1745 * cursor.C (dispatch):
1746 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1748 * dispatchresult.h: make the dispatch_result_t ctor explicit
1750 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1753 * buffer.C: small refactoring of docbook stuff
1755 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1757 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1760 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1762 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1763 operator dispatch_result_t, and operators for == != and >=
1765 * cursor.C (dispatch): adjust for operator dispatch_result_t
1766 removal. comment out call to update
1768 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1770 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1778 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1781 * dispatchresult.h: new file, DispatchResult broken out of
1784 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1786 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1788 * text.C (rowBreakPoint): put a hack inside #if 0
1790 2003-10-28 André Pönitz <poenitz@gmx.net>
1794 * paragraph_funcs.C:
1797 * text2.C: general cleanup (lots of small stuff)
1799 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1801 * text2.C (cursorEnd): simple fix to the "end key goes to one
1802 before the end on last row" bug
1804 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1806 * text.C (backspace): fix the "zombie characters"
1808 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1810 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1812 2003-10-27 André Pönitz <poenitz@gmx.net>
1814 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1816 * factory.C: handle new InsetPagebreak, InsetLine
1818 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1819 and move handling into new InsetPagebreak, InsetLine
1821 * BufferView_pimpl.C:
1823 * ParagraphParameters.C:
1824 * ParameterStruct.h:
1829 * paragraph_funcs.C:
1830 * paragraph_pimpl.C:
1836 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1839 * lyxrow_funcs.[Ch]:
1845 * text3.C: remove lastPos uses in favour of Row::endpos
1847 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1849 * undo.C (performUndoOrRedo): fix two crashes by setting a
1850 cursor by hand and reordering some calls. Use bv->lockInset instead
1851 of inset->edit because the latter loses cursor information
1853 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1855 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1857 (rowBreakPoint): fix width. change point to point + 1.
1858 Add a missing check.
1860 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1863 * lyxfunc.C: fix (at least partly) the problems
1864 with the Nav menu and headers inside branch insets
1867 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1869 * paragraph.C (getChar): add strong asserts
1871 * lyxrow_funcs.C (lastPos): remove hideous hack
1873 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1874 (fill): adjust to that (avoid an infinite loop)
1876 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1878 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1880 2003-10-23 André Pönitz <poenitz@gmx.net>
1882 * RowList_fwd.h: change list<> to vector<> to gain speed
1883 after suggestion from Alfredo
1885 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1887 * lyxtext.h: move the bidi stuff from here...
1890 * Bidi.[Ch]: ... to here
1892 2003-10-23 André Pönitz <poenitz@gmx.net>
1895 * text.C (isLastRow, isFirstRow): new functions
1897 * paragraph.h: new width cache member
1899 * rowpainter.C: replace RowList::iterator with Row & where possible
1901 * lyxfunc.C: replace several view()->text with a single call
1903 * toc.C: fix 'unused' warning
1905 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1907 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1908 when woring with stream::pos_type
1909 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1911 2003-10-22 André Pönitz <poenitz@gmx.net>
1914 * text.C: use Row & instead of RowList::iterator
1916 * lyxrow.h: rename end() to endpos()
1922 2003-10-22 Angus Leeming <leeming@lyx.org>
1924 * buffer.[Ch] (fully_loaded): new member function, returning true
1925 only when the file has been loaded fully.
1926 Used to prevent the premature generation of previews and by the
1927 citation inset to prevent computation of the natbib-style label.
1929 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1930 templates are all set up.
1932 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1934 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1936 * text.C: fixed an "oops" in the "is a bit silly"
1939 2003-10-21 André Pönitz <poenitz@gmx.net>
1941 * FuncStatus.[Ch]: small stuff, whitespace
1943 * lyxfont.[Ch]: operator<<() for debug reasons
1947 * lyxtext.h: whitespace, spelling
1949 * paragraph.C: naming of variables
1952 * text2.C: small stuff
1955 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1957 * text.C: (1) finish off the inset display() work;
1958 (2) fix the "is a bit silly" bug (accessing char
1961 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1963 * text.C: re-introduce display() for insets, fixing the
1964 various bugs (stretch of line above, math inset
1967 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1969 * text.C (rightMargin): remove spurious semicolon
1971 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1974 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1976 * text3.C: fix one crash due to wrong cursor def
1978 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1980 * vc-backend.C (scanMaster): make the regex static
1982 * LaTeX.C (scanAuxFile): make the regexs static
1984 * text3.C (doInsertInset, dispatch, dispatch):
1985 * text2.C (cursorUp, cursorDown):
1986 * text.C (selectNextWordToSpellcheck):
1987 * BufferView_pimpl.C (dispatch):
1988 * lyxfunc.C (dispatch): localDispatch -> dispatch
1990 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1992 * lyxsocket.C: include <cerrno>
1994 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1996 * lyxfunc.C (dispatch): remove textcache stuff
1998 * bufferlist.C (release): remove textcache stuff
2001 * TextCache.C: delete file
2002 * TextCache.h: delete file
2004 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2006 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2007 delete of the bv_->text.
2008 (resizeCurrentBuffer): remove texcache stuff
2009 (workAreaResize): ditto
2011 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2016 2003-10-16 André Pönitz <poenitz@gmx.net>
2023 * text3.C: speed up by storing y positions per paragraph plus per-row
2024 offset instead of having a 'full' y position in the row.
2026 2003-10-15 André Pönitz <poenitz@gmx.net>
2030 * undo.[Ch]: make undo aware of inner insets
2032 2003-10-14 Angus Leeming <leeming@lyx.org>
2034 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2035 static member functions LyX::ref() and LyX::cref.
2036 (lastfiles): new accessor functions for the new lastfiles_ member var.
2037 (addLyXView, views_): add a new LyXView to the list of views_.
2038 (updateInset): loop over all LyXViews to call their own updateInset
2039 member function, returning a pointer to the Buffer owning the inset.
2041 * BufferView_pimpl.C (loadLyXFile):
2042 * MenuBackend.C (expandLastfiles):
2043 * bufferlist.C (MenuWrite, QuitLyX):
2044 lastfiles is no longer a global variable.
2045 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2047 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2048 static function. Access through LyX::cref().emergencyCleanup().
2050 2003-10-14 André Pönitz <poenitz@gmx.net>
2052 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2054 * undo.[Ch]: restoring part of 'undo in insets'
2057 * undo_funcs.[Ch]: merge with undo.[Ch]
2059 * tabular.C: small cleansing stuff
2061 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2063 * paragraph_funcs.C (readParToken): report unknown insets as error
2064 boxes. Use the outer paragraph as location (also for unknown
2067 * factory.C (readInset): do not abort on reading an unknown inset.
2068 Eat it and return 0.
2070 2003-10-13 Angus Leeming <leeming@lyx.org>
2072 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2074 * lyxrc.C: displayTranslator is now a function,
2075 declared in GraphicsTypes.h.
2077 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2079 * format.C: new placeholder $$a to pass the socket address.
2081 * bufferlist.[Ch]: new function getBufferFromTmp.
2083 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2084 files in the temporary dir.
2086 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2088 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2090 * Makefile.am: add lyxsocket.[Ch].
2092 * lyx_main.C (error_handler): handle SIGPIPE.
2094 2003-10-13 André Pönitz <poenitz@gmx.net>
2096 * BufferView_pimpl.C:
2101 * undo_funcs.[Ch]: use paroffset_type instead of
2102 ParagraphList::iterators to prevent multiple conversion
2103 (and get a more robust interface)
2105 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2107 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2109 * text3.C (dispatch): ditto
2111 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2114 move the onlyfile, use onlyfile instead of foundfile in a couple
2117 * DepTable.C (update): flush the error stream a bit more
2119 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2121 * lyxserver.C (callback): adjust
2123 * lyxfunc.C (getStatus): add a missing brace in commented code
2124 (ensureBufferClean): reindent
2125 (dispatch): delete version taking a string
2127 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * LaTeX.C (deplog): move found file handlig from here...
2130 (handleFoundFile): .. to new function here.
2131 (deplog): make sure to discover several files mentioned on the
2134 2003-10-10 André Pönitz <poenitz@gmx.net>
2141 * text3.C: fix some of the tabular crashes
2143 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2145 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2147 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2149 2003-10-09 André Pönitz <poenitz@gmx.net>
2151 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2154 * BufferView_pimpl.C:
2155 * bufferview_funcs.C:
2166 * undo_funcs.C: adjust
2168 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * text2.C (incrementItemDepth): new function, use a backtracking
2171 algorithm to discover the correct item depth.
2172 (resetEnumCounterIfNeeded): new function, use a backtracking
2173 algorithm to discover if counter reset is needed.
2174 (setCounter): use them. Simplify a bit. Add different labels for
2175 different item depths for itemize.
2177 * paragraph.C (Paragraph): remove initialization of enumdepth
2180 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2181 enumerate and itemize. Change the type of itemdepth to signed char.
2183 2003-10-08 André Pönitz <poenitz@gmx.net>
2185 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2190 * tabular.[Ch]: fix crash after 'row-insert'
2192 2003-10-08 Angus Leeming <leeming@lyx.org>
2194 Fix doxygen warnings.
2196 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2197 Remove CutAndPaste:: prefix from header file declaration.
2199 * LColor.h (fill): remove LColor:: prefix from declaration.
2201 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2202 use lyx::depth_type rather than Paragraph::depth_type so that
2203 header file and .C file match.
2205 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2207 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2208 * aspell.C: \file aspell_local.C -> \file aspell.C
2209 * gettext.C: \file gettext.C -> \file src/gettext.C
2210 * gettext.h: \file gettext.h -> \file src/gettext.h
2211 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2212 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2213 * text.C: \file text.C -> \file src/text.C
2215 * toc.C: move comment so that doxygen is not confused.
2217 2003-10-07 Angus Leeming <leeming@lyx.org>
2219 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2221 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2224 * aspell_local.h: add forgotten std::string's.
2226 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2233 * text3.C: The Box patch. Fancybox support, minipage, parbox
2235 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2241 * ParagraphParameters.h:
2251 * lyxtextclasslist.h:
2254 * paragraph_pimpl.C:
2255 * textcursor.h: add <string> and other small fixes to make Lars'
2256 std::string patch compile with STLport.
2258 2003-10-06 Angus Leeming <leeming@lyx.org>
2260 * LColor.h: Add missing #include <string>.
2262 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2264 * All most all file in all subdirs: Make <string> be the prefered
2265 way of getting to std::string, add using declarations.
2267 2003-10-06 André Pönitz <poenitz@gmx.net>
2269 * metricsinfo.C: initialize LyXFont before changing attribute.
2270 (fixes the 'math in \emph is upright' bug)
2272 2003-10-06 André Pönitz <poenitz@gmx.net>
2274 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2276 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2279 * paragraph_pimpl.C: Small fixes to build using STLport
2281 2003-10-02 André Pönitz <poenitz@gmx.net>
2284 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2286 2003-10-01 André Pönitz <poenitz@gmx.net>
2288 * factory.C: assert early
2290 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2292 * lyx_main.C: remove the global debug object
2294 * debug.h: adjust for new debugstream
2296 * debug.C: adjust for new debugstream and keep the global debug
2299 2003-09-22 Angus Leeming <leeming@lyx.org>
2301 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2302 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2303 an incomplete class LyXFont.
2305 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2307 * factory.C: bug fix in branches
2309 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2311 * lyxfunc.C (processKeySym): adjust
2313 (dispatch): change arg name from ev to func, adjust
2314 (sendDispatchMessage): ditto
2316 * lyx_main.C (defaultKeyBindings): adjust keybindings
2317 (deadKeyBindings): ditto
2319 * kbsequence.C (addkey): return a FuncRequest
2321 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2323 * kbmap.C (bind): take a FuncRequest as arg, adjust
2326 (defkey): change to take a FuncRequest as arg, adjust
2327 (findbinding): take a FuncRequest as arg, adjust.
2329 * funcrequest.h (operator=): added
2331 * funcrequest.C (FuncRequest): default kb_action changed from
2332 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2334 * buffer.C (dispatch): simplify
2335 (dispatch): adjust to take a FuncRequest as arg, adjust
2337 * boost.C (assertion_failed): change assertion message slightly
2339 * ToolbarBackend.C (read): simplify
2341 * MenuBackend.C (binding): adjust call to findbinding, add a
2342 message if no binding is found.
2344 (expandToc): correct by adding a empty FuncRequest
2346 * LyXAction.C: include <boost/assert.hpp>
2347 (isPseudoAction): delete function
2348 (LookupFunc): change name to...
2349 (lookupFunc): this. change return type to FuncRequest.
2350 (getActionName): take kb_action as arg, simplify
2351 (funcHasFlag): add an assert, simplify.
2353 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * toc.C (action): return a FuncRequest, simplify
2357 * lyxfunc.C (processKeySym): adjust
2358 (getStatus): delete version that takes an int.
2360 (dispatch): delete version that takes action as int
2362 (sendDispatchMessage): simplify and adjust
2364 * funcrequest.C (getArg): take unsigned int as arg
2366 * ToolbarBackend.C (read): adjust
2367 (add): delete version that takes func as a string.
2368 (getIton): take a FuncRequest as arg
2370 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2373 * MenuBackend.C (MenuItem): add a new construct that only takes a
2374 Kind, simplify the constructor use for submenus.
2376 (expandLastfiles): adjust
2377 (expandDocuments): adjust
2378 (expandFormats): adjust
2379 (expandFloatListInsert): adjust
2380 (expandFloatInsert): adjust
2381 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2383 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2384 Remove class variables lyx_pseudo_map and lyx_arg_map
2386 * LyXAction.C (searchActionArg): delete function
2387 (getPseudoAction): delete function
2388 (retrieveActionArg): delete function
2389 (LookupFunc): make it return kb_action, simplify.
2390 (getActionName): simplify
2392 * factory.C (createInset): fix new bug
2394 2003-09-19 Angus Leeming <leeming@lyx.org>
2396 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2397 masterFilename_ parameter in the include inset.
2399 * factory.C (createInset): changes due to the changes to InsetInclude.
2401 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2403 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2405 2003-09-18 Angus Leeming <leeming@lyx.org>
2408 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2409 Inset::fillWithBibKeys.
2410 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2412 2003-09-18 Angus Leeming <leeming@lyx.org>
2414 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2416 (ctor): pass and store a 'Buffer const &'
2417 (buffer): new member function.
2419 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2420 '*this' to the LaTeXFeatures ctor.
2422 2003-09-18 Angus Leeming <leeming@lyx.org>
2428 * text.C: rename EnumLColor as LColor_color.
2430 2003-09-18 Angus Leeming <leeming@lyx.org>
2432 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2433 remove #include "insets/insetbase.h" from cursor.h.
2435 2003-09-18 Angus Leeming <leeming@lyx.org>
2437 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2438 InsetOld_code to remove #include "inset.h".
2440 * iterators.C: add #include "insets/inset.h"
2442 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2444 * BufferView.C: remove more locking stuff that apparently doesn't
2445 do anything sensible.
2447 2003-09-16 André Pönitz <poenitz@gmx.net>
2450 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2453 2003-09-16 Angus Leeming <leeming@lyx.org>
2455 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2457 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2460 * paragraph.h: remove #include "lyxfont.h". Forward declare
2463 2003-09-16 Angus Leeming <leeming@lyx.org>
2465 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2466 of support/textutils.h.
2467 (isWord): move the contents of support/textutils.h's IsWordChar here.
2473 * text2.C: add #include "paragraph.h".
2476 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2478 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * LaTeX.C: use namespace alias for lyx::support::os
2486 2003-09-16 Angus Leeming <leeming@lyx.org>
2489 * bufferview_funcs.C:
2492 * paragraph_pimpl.C:
2494 * text.C: add #include "LColor.h".
2496 2003-09-16 Angus Leeming <leeming@lyx.org>
2498 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2499 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2501 Store the FontBits::color variable as an int rather than as an
2502 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2505 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2506 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2507 string calls together.
2509 * lyxrc.C: add #include "LColor.h".
2511 2003-09-15 Angus Leeming <leeming@lyx.org>
2513 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2516 2003-09-15 Angus Leeming <leeming@lyx.org>
2518 * LColor.h: add an EnumLColor wrapper for LColor::color.
2520 * lyxfont.[Ch] (color, setColor, realColor):
2521 * lyxtext.h, text.C (backgroundColor):
2522 pass EnumLColor args to/from the functions, rather than LColor::color
2526 * lyxtext.h: forward declare EnumLColor.
2528 * lyx_main.C: add #include "LColor.h".
2530 2003-09-15 Angus Leeming <leeming@lyx.org>
2532 * .cvsignore: add lyx-gtk.
2534 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * ParagraphParameters.C
2543 * bufferview_funcs.C
2553 * vc-backend.C: remove usage of STRCONV
2555 2003-09-15 Angus Leeming <leeming@lyx.org>
2557 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2558 explicitly define the color passed to the painter.
2560 2003-09-15 Angus Leeming <leeming@lyx.org>
2562 * bufferparams.C (BufferParams): reorder member initializers to avoid
2565 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2567 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2568 * text.C (updateRowPositions): remove an unusual nop
2570 2003-09-12 André Pönitz <poenitz@gmx.net>
2572 * BufferView_pimpl.C:
2581 * Counters.[Ch]: finish the 'automatic counters' job
2583 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2585 * aspell.C: include <boost/assert.cpp> (compile fix)
2587 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2589 * boost.C (assertion_failed): use lyx::support::abort instead of
2592 2003-09-10 Angus Leeming <leeming@lyx.org>
2594 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2595 with their _fwd progeny.
2597 2003-09-09 Angus Leeming <leeming@lyx.org>
2599 134 files throughtout the source tree: replace 'using namespace abc;'
2600 directives with the appropriate 'using abc::xyz;' declarations.
2602 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2604 * boost.C (emergencyCleanup): moved here from LAssert.c
2605 (assertion_failed): new function, called by BOOST_ASSERT
2607 * several files: change Assert to BOOST_ASSERT
2609 2003-09-09 Angus Leeming <leeming@lyx.org>
2611 * buffer.[Ch]: Add an Impl class and move Buffer's member
2612 variables into it. As a result move several header files out of
2615 Add header files to lots of .C files all over the tree as a result.
2617 2003-09-09 Angus Leeming <leeming@lyx.org>
2619 * buffer.[Ch]: make Buffer's member variables private. Add
2622 Lots of changes all over the tree as a result.
2624 2003-09-08 Angus Leeming <leeming@lyx.org>
2626 * graph.C: #include <config.h>.
2628 2003-09-08 Angus Leeming <leeming@lyx.org>
2632 * BufferView_pimpl.C:
2661 * toc.C: remove redundant using directives.
2663 2003-09-07 Angus Leeming <leeming@lyx.org>
2665 * LaTeXFeatures.h: remove #include "support/types.h".
2666 * ToolbarBackend.h: remove #include <algorithm>.
2667 * changes.h: remove #include <ctime>.
2668 * debug.h: remove #include <iosfwd>.
2669 * graph.h: remove #include "support/std_string.h".
2670 * lyx_main.h: remove #include <csignal>.
2671 * lyxlex_pimpl.h: remove #include <fstream>.
2672 * sgml.h: remove #include <algorithm>, <utility>.
2673 * toc.h: remove #include "support/std_ostream.h".
2674 Add #include <iosfwd>.
2676 2003-09-07 Angus Leeming <leeming@lyx.org>
2678 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2680 * converter.h: forward declare LatexRunParams.
2681 * encoding.h: remove #include "lyxrc.h".
2682 * lyxtext.h: remove #include "LColor.h".
2683 * lyxtextclass.h: remove #include "support/types.h".
2684 * trans.h: remove #include "tex-accent.h".
2685 * trans_mgr.h: remove #include "tex-accent.h".
2686 * insets/inset.h: remove #include "support/types.h", <vector>.
2687 * insets/insetcollapsable.h: remove #include "LColor.h".
2688 * insets/insetinclude.h: remove #include "dimension.h".
2689 * insets/insetlatexaccent.h: remove #include "dimension.h".
2690 * insets/insetoptarg.h:: remove #include "insettext.h".
2691 * insets/insettext.h: remove #include "dimension.h",
2692 <boost/shared_ptr.hpp>
2694 * insets/renderers.h: add #include "dimension.h".
2695 * insets/updatableinset.h: add #include "support/types.h".
2697 * many .C files: Associated changes.
2699 2003-09-06 Angus Leeming <leeming@lyx.org>
2701 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2702 one, inside testInvariant.
2704 * PrinterParams.C: new file.
2705 * PrinterParams.[Ch]: move the function bodies out of line.
2707 2003-09-06 Angus Leeming <leeming@lyx.org>
2709 * ParagraphParameters.h: forward declare ParameterStruct rather than
2710 including its header file.
2711 (depth): moved out-of-line.
2713 2003-09-06 Angus Leeming <leeming@lyx.org>
2715 * BufferView_pimpl.h:
2718 * lyxfunc.h: forward declare LyXKeySym rather than
2719 #include "frontends/LyXKeySym.h".
2721 * BufferView_pimpl.C:
2724 * lyxfunc.C: associated changes.
2726 2003-09-06 Angus Leeming <leeming@lyx.org>
2728 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2729 As a result, can remove the #include "insets/inset.h" from BufferView.h
2731 2003-09-06 Angus Leeming <leeming@lyx.org>
2733 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2734 As a result, can remove the #include "insets/inset.h" from BufferView.h
2736 2003-09-06 Angus Leeming <leeming@lyx.org>
2742 * bufferview_funcs.C:
2743 * BufferView_pimpl.C:
2748 * ParagraphParameters.C:
2753 * frontends/controllers/ControlDocument.C:
2754 * insets/insetcaption.C: rearrange the #includes into some sort of
2757 * buffer.h: remove #includes ErrorList.h, undo.h
2759 2003-09-06 Angus Leeming <leeming@lyx.org>
2761 * support/types.h: add a 'depth_type' typedef, used to store the
2762 nesting depth of a paragraph.
2765 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2766 defining explicitly.
2769 * paragraph_funcs.h:
2770 * ParagraphParameters.h:
2771 * sgml.h: use lyx::depth_type rather than Paragraph or
2772 ParameterStruct's depth_type.
2775 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2778 * BufferView_pimpl.C:
2780 * ParagraphParameters.C:
2783 * bufferview_funcs.C:
2790 * frontends/LyXView.C:
2791 * frontends/controllers/ControlDocument.C:
2792 * frontends/controllers/ControlErrorList.C:
2793 * insets/insetbibitem.C:
2794 * insets/insetbranch.C:
2795 * insets/insetcaption.C:
2796 * insets/insetcollapsable.C:
2797 * insets/insetenv.C:
2798 * insets/insetert.C:
2799 * insets/insetfloat.C:
2800 * insets/insetfoot.C:
2801 * insets/insetfootlike.C:
2802 * insets/insetnewline.C:
2803 * insets/insetquotes.C:
2804 * insets/insettabular.C:
2805 * insets/insettext.C:
2806 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2808 * frontends/controllers/ControlChanges.C: #include "changes.h".
2810 2003-09-06 Angus Leeming <leeming@lyx.org>
2812 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2813 than #including paragraph.h.
2816 * RowList.h: deleted. Superfluous.
2826 * insets/insettext.h: use ParagraphList_fwd.h rather than
2829 * paragraph.h: don't forward declare ParagraphList.
2832 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2833 rather than ParagraphList.h. paragraph.h is still needed for the
2834 Paragraph::depth_type parameters.
2836 * textcursor.h: enable it to compile stand-alone in light of the
2839 * bufferview_funcs.C:
2851 * frontends/controllers/ControlParagraph.C:
2852 * frontends/controllers/ControlTabular.C:
2853 * insets/insetmarginal.C:
2854 * insets/insetminipage.C:
2855 * insets/insetnote.C:
2856 * insets/insetoptarg.C: add header files needed to compile again.
2858 2003-09-06 Angus Leeming <leeming@lyx.org>
2860 * RowList_fwd.h: new file, forward-declaring Row rather than
2861 #including lyxrow.h.
2866 * insets/insettext.h: use it instead of RowList.h
2868 * bufferview_funcs.C:
2875 * text3.C: #include "RowList.h".
2877 2003-09-05 Angus Leeming <leeming@lyx.org>
2879 * factory.C (createInset):
2880 * vspace.C (c-tor): replace sscanf call with an istringstream.
2881 * ispell.C: re-add missing HP/UX headers.
2882 * lyxserver.C: re-add missing os2 headers.
2884 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2893 * text3.C: re-add missing system headers, needed for 2.95.2.
2895 2003-09-05 Angus Leeming <leeming@lyx.org>
2897 Changes most place everywhere due to the removal of using directives
2898 from support/std_sstream.h.
2900 2003-09-05 Angus Leeming <leeming@lyx.org>
2902 Replace LString.h with support/std_string.h,
2903 Lsstream.h with support/std_sstream.h,
2904 support/LIstream.h with support/std_istream.h,
2905 support/LOstream.h with support/std_ostream.h.
2907 Changes resulting throughout the tree.
2909 2003-09-05 Angus Leeming <leeming@lyx.org>
2911 * sgml.h: ensure that the header file can be compiled stand-alone.
2912 * *.C: strip out redundant #includes. (320 in total.)
2914 2003-09-04 Angus Leeming <leeming@lyx.org>
2916 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2917 here (from getPackages).
2919 * debug.[Ch]: add a new EXTERNAL tag.
2921 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2923 * text2.C (cursorEnd): simplify
2925 (getColumnNearX): adjust
2927 * text.C (computeBidiTables): adjust
2930 * rowpainter.C (paintChars): adjust
2931 (paintSelection): adjust
2932 (paintChangeBar): adjust
2935 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2937 (numberOfSeparators): adjust
2939 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2945 * text3.C: Restricts the mouse click functionality
2946 of insets like bibtex, include, toc and floatlist to the visible
2947 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2948 up the dialogs. Cursor has to be in front of the inset (i.e.
2949 start of row) for this to function.
2951 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2953 * bufferview_funcs.C (currentState): output row information
2955 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2957 * bufferview_funcs.C (currentState): output paragraph position
2959 2003-09-04 Angus Leeming <leeming@lyx.org>
2961 * FloatList.h: move out #include "Floating.h".
2962 * LaTeX.h: move out #include "DepTable.h".
2963 * LyXAction.h: move out #include "funcrequest.h".
2964 * buffer.h: move out #include "author.h", "iterators.h".
2965 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2966 * lyx_main.h: move out #include "errorlist.h".
2967 * lyxfunc.h: move out #include "FuncStatus.h".
2968 * lyxtext: move out #include "lyxcursor.h".
2969 * paragraph_pimpl.h: move out #include "counters.h".
2971 2003-09-03 Angus Leeming <leeming@lyx.org>
2973 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2974 preamble_snippets list, enabling us to add snippets to the preamble
2975 only if the snippet was not there already.
2977 2003-09-04 Angus Leeming <leeming@lyx.org>
2979 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2981 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2983 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2986 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2988 * BranchList.C: point fix, earlier forgotten
2990 2003-09-02 Angus Leeming <leeming@lyx.org>
2992 * box.C (contains): renamed from 'contained' after a fantastic
2995 2003-09-02 John Levon <levon@movementarian.org>
3001 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3003 2003-09-02 John Levon <levon@movementarian.org>
3005 * text2.C: simplification of cursorEnd(), including partial
3008 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * buffer.C (readFile): add a space
3012 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3014 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3016 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3018 * buffer.C (readFile): new function, take a filename and a
3019 ParagraphList::iterator
3021 (readFile): adjust, make it private. don't use setStream, make
3022 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3023 always contain the filename.
3025 * BufferView.C (insertLyXFile): simplify and make it work for
3028 2003-08-30 John Levon <levon@movementarian.org>
3030 * Makefile.am: fix dist (from Kayvan)
3032 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3034 * most files: change to use const Buffer refs
3036 2003-08-27 André Pönitz <poenitz@gmx.net>
3038 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3039 on top of ownerPar().
3041 2003-08-27 John Levon <levon@movementarian.org>
3043 * funcrequest.C: properly initialise POD members
3045 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3047 * lyxtext.h (top_y): move top_y from here
3052 * BufferView_pimpl.[Ch]: to here
3053 * frontends/screen.C:
3054 * insets/insettabular.C:
3055 * insets/insettext.C: adjust
3056 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3058 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3061 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3063 2003-08-26 André Pönitz <poenitz@gmx.net>
3065 * paragraph_func.[Ch] (outerPar): new function
3068 * paragraph_funcs.C:
3069 * paragraph_funcs.h:
3070 * paragraph_pimpl.C:
3071 * text2.C: remove Inset::par_owner
3073 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3078 * text2.C: eliminates the needFullRow/display() stuff
3079 altogether, putting the logic in metrics/draw in the insets.
3081 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3083 * text2.C (redoParagraphInternal, redoParagraphs):
3084 * text.C (redoParagraph): add a call to updateRowPositions at the
3085 end of each 'metrics-like' call. Remove all others.
3086 (getRow): remove the 'y-computing' version.
3087 (getRowNearY): do not compute nor return the real y. Solve the
3088 'y < 0' problem and simplify.
3090 2003-08-22 Angus Leeming <leeming@lyx.org>
3092 * *.[Ch]: clean-up of licence and author blurbs.
3093 Also move config.h out of a few .h files and into a few .C files.
3095 2003-08-22 André Pönitz <poenitz@gmx.net>
3097 * lyxrow.[Ch]: add x_ and *fill_ members
3102 * text2.C: adjust/remove prepareToPrint() calls
3104 2003-08-22 André Pönitz <poenitz@gmx.net>
3106 * lyxrow.[Ch]: add end_ member
3108 * lyxrow_funcs.C: use LyXRow::end_
3110 * lyxtext.h (singleWidth): add LyXFont parameter
3113 * text2.C: adjust LyXText::singleWidth() calls
3115 * text.C (redoParagraph): simplify row breaking logic
3118 2003-08-19 André Pönitz <poenitz@gmx.net>
3120 * funcrequest.C: initialize button_ member
3123 * rowpainter.[Ch]: interface consolidation
3125 2003-08-18 André Pönitz <poenitz@gmx.net>
3128 * BufferView_pimpl.C:
3130 * paragraph_funcs.C:
3132 * text3.C: remove LyXScreen::draw() and fitCursor calls
3134 * BranchList.h: remove spurious semicolons
3136 * MenuBackend.C: fix branchlist related crash
3138 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3146 * bufferparams.[Ch]:
3150 * text3.C: implements the 'branch inset'
3151 idea. This allows the output of various versions of a document
3152 from a single source version, selectively outputing or suppressing
3153 output of parts of the text.
3154 This implementation contains a 'branch list editor' in a separate
3155 tab of the document settings dialog. Branches are user definable
3156 and have a "display colour" to distinguish them on-screen.
3158 ColorHandler was somewhat cleaned up.
3159 (1) make possible a dynamically growing LColor list by allowing
3160 the graphic context cache to grow along (vector);
3161 (2) eliminate an IMHO unnecessary step in colour allocation.
3163 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3165 * BufferView_pimpl.C: compile fix
3167 2003-08-15 André Pönitz <poenitz@gmx.net>
3169 * rowpainter.C: remove extra metrics calls
3171 * lyxtext.h: merge the two constructors into a single one,
3172 pass reference to owner's par list
3174 * BufferView_pimpl.C:
3178 2003-08-15 André Pönitz <poenitz@gmx.net>
3180 * lyxrow_funcs.[Ch]:
3183 * paragraph_funcs.C:
3188 * text_funcs.C: split LyXText::rowlist_ into individual
3189 Paragraph::rows_ chunks
3192 * BufferView_pimpl.[Ch]:
3195 * text3.C: remove toggleSelection()
3197 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3199 * bufferlist.C: beautify two alerts (shorter text of buttons)
3200 * buffer.C: Remove redundant ' ' from message
3202 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3203 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3204 rename VALIGN_CENTER to VALIGN_MIDDLE
3206 2003-08-11 André Pönitz <poenitz@gmx.net>
3208 * lyxtext.h (getPar):
3209 * text.C: new function
3211 2003-08-11 André Pönitz <poenitz@gmx.net>
3214 * tracer.[Ch]: remove unneeded files
3216 * InsetList.[Ch]: remove resizeInsetsLyXText()
3221 * text3.C: merge insertParagraphs() and appendParagraph()
3222 remove breakAgain(), update()
3224 * BufferView_pimpl.[Ch]:
3225 * bufferview_funcs.[Ch]:
3229 * tabular.C: adjust after text & InsetList changes.
3231 2003-08-08 André Pönitz <poenitz@gmx.net>
3233 * text.C (insertChar, backspace): replace rowlist fiddling
3234 with rebreak of full par
3237 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3238 checkParagraph, updateInset): removed
3240 2003-08-07 André Pönitz <poenitz@gmx.net>
3243 * text3.C: merge some LFUN handlers, remove dead code
3245 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3247 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3249 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3251 * text2.C (DEPM): fix part of bug 1255 and 1256
3253 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3255 * BufferView_pimpl.C (workAreaDispatch): change to use
3256 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3257 that are no mouse related.
3259 2003-08-05 André Pönitz <poenitz@gmx.net>
3262 * BufferView_pimpl.[Ch]:
3263 * bufferview_funcs.C:
3265 * text3.C: rip out "deep update"
3267 * textcursor.[Ch] (last_sel_cursor): remove unused member
3269 2003-08-04 André Pönitz <poenitz@gmx.net>
3272 * BufferView_pimpl.[Ch]:
3273 * ParagraphParameters.C:
3274 * bufferview_funcs.C:
3280 * text3.C: replace "complicated" BufferView::update(...) calls with
3283 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3285 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3287 * Makefile.am (lyx_SOURCES): add paper.h
3289 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3291 * Makefile.am: move things around so that both lyx-qt and
3292 lyx-xforms can be built (according to --with-frontend). Then lyx
3293 is a symbolic link to lyx-[firstfrontend]
3295 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3297 * Always use std::endl with lyxerr
3299 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3301 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3303 2003-08-01 André Pönitz <poenitz@gmx.net>
3306 * BufferView_pimpl.[Ch]:
3308 * text3.C: merge BufferView::repaint() and BufferView::update()
3310 2003-08-01 José Matos <jamatos@lyx.org>
3312 * buffer.[Ch]: file_format is no longer a buffer data element.
3314 2003-08-01 André Pönitz <poenitz@gmx.net>
3319 * text2.C: make redoParagraph more independent of current cursor
3321 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3323 * text2.C: remove unneeded members
3325 2003-07-30 André Pönitz <poenitz@gmx.net>
3327 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3329 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3330 create a single function...
3332 * paragraph_funcs.C (moveItem): ... here.
3335 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3337 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3339 * LColor.[Ch]: Add comment and greyedout logical colors.
3341 2003-07-30 André Pönitz <poenitz@gmx.net>
3343 * tabular.C: don't use Assert too heavily. This crashes where it
3346 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3348 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3349 is disabled (bug 1232)
3351 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3353 * factory.C: limited 'arg' scope
3355 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3357 * factory.C: fixed Note submenu issues
3359 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3361 * factory.C: submenu for Note/Comment/Greyedout
3363 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3366 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3368 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3371 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3372 greyedout. Patch provided by Jürgen Spitzmüller.
3374 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3376 * kbmap.C (read): fix error message when reading bind files
3378 2003-07-29 Angus Leeming <leeming@lyx.org>
3380 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3381 certainly does not do what it purports to do. I am doing it, and
3382 us, a favour by killing it.
3384 2003-07-28 José Matos <jamatos@lyx.org>
3386 * buffer.C (readBody, do_writeFile):
3387 * paragraph.C(readParagraph): \end_document replaces \the_end.
3389 2003-07-29 André Pönitz <poenitz@gmx.net>
3392 * BufferView_pimpl.[Ch]:
3396 * textcursor.[Ch]: remove toggleToggle & Co
3398 2003-07-28 José Matos <jamatos@fep.up.pt>
3400 * buffer.C (readParagraph):
3401 * params_func (readParToken, readParagraph):
3402 * paragraph.C (write): \layout -> \begin_layout.
3404 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3406 * lyxlex_pimpl.C (setFile): clean up slightly.
3408 * bufferparams.h: add compressed var
3410 * buffer_funcs.C (readFile): adjust for LyXLex change
3411 (newFile): ditto + simplify
3413 * buffer.C (writeFile): handle writing of compressed files
3415 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3416 Check if the file is compressed and set a bufferparm if so.
3418 * Makefile.am (lyx_LDADD): remove explicit -lz
3420 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3422 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3423 makeDocBookFile): put the real LyX version in the first line of
3427 * version.C.in: remove lyx_docversion
3429 * tabular.C (write_attribute): add a template-based version to
3430 write enums properly
3432 2003-07-28 André Pönitz <poenitz@gmx.net>
3437 * text3.C: use doubles again for x-coordinates. They are needed.
3439 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3441 * messages.C (getLocaleDir): use lyx_localedir()
3443 * lyxlex_pimpl.C (setFile): compress stuff
3445 * buffer.C (writeFile): add some compression stuff
3446 (do_writeFile): new func, dont call expliti close... will this
3449 * Makefile.am (lyx_LDADD): add -lz
3451 2003-07-28 José Matos <jamatos@fep.up.pt>
3453 * buffer.C: increment file format.
3454 * paragraph_funcs (readParagraph, readParToken):
3455 * paragraph.C (readParagraph): add \end_layout.
3457 2003-07-27 Angus Leeming <leeming@lyx.org>
3459 * Makefile.am: remove special casing for configure-time setting of
3460 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3462 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3463 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3465 2003-07-26 André Pönitz <poenitz@gmx.net>
3467 * paragraph_func.[Ch]:
3468 * paragraph.C (realizeFont): inline it whereever it is used
3473 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3476 2003-07-26 André Pönitz <poenitz@gmx.net>
3480 * text2.C: get rid of LyXText::need_break_row
3482 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * toc.[Ch]: put namespace toc inside namespace lyx
3486 * MenuBackend.C (expandToc2): adjust for lyx::toc
3489 * lyxfunc.C (dispatch): adjust for lyx::find
3491 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3492 lyx::find instead. Reorganize a bit.
3493 (LyXReplace): rename to replace
3494 (LyXFind): rename to find
3496 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3499 2003-07-26 André Pönitz <poenitz@gmx.net>
3501 * text.C (setHeightOfRow): restrict scope of temporary variable
3503 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3504 code (never has been used?)
3506 2003-07-27 Asger Alstrup <alstrup@local>
3508 * text.C (fill): Optimise algorithm to exploit that we can reuse
3509 the LyXFont for many characters.
3510 (setHeightOfRow): Same thing.
3511 (rowBreakPoint): Same thing.
3513 2003-07-26 Asger Alstrup <alstrup@local>
3515 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3517 * text.C (singleWidth): Spurious font copying in hot-spot
3518 singleWidth avoided. Reorder tests for arabic for efficiency.
3520 * text.C (fill): handle empty paragraphs better.
3522 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3525 * encoding.h: add includes
3527 * lyxrc.C: remove reading of bind files
3529 * lyx_main.C (init): setup bindings and menus only if we have a
3532 * kbmap.C (read): new method. Do the actual reading of bind
3535 * converter.C (dvipdfm_options):
3538 (output): adapt PAPER_* enums.
3540 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3542 * bufferparams.h: remove paper-related enums from there
3544 * paper.h: New file. A trivial header file to hold paper-related
3545 enums. It should later expand to contain many paper-related
3548 * lyxrc.C: declare extern displayTranslator
3550 2003-07-27 José Matos <jamatos@fep.up.pt>
3552 * tabular.[Ch] (linuxdoc): add support for tables and figures
3555 2003-07-27 José Matos <jamatos@fep.up.pt>
3557 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3558 consistency in both functions.
3559 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3561 2003-07-26 Asger Alstrup <alstrup@local>
3563 * rowpainter.C (paintRows): Change algorithm to work directly on
3564 the insets rather than asking every character in the document
3565 whether its an inset.
3567 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3569 * buffer.C (openFileWrite): factorize some code
3571 2003-07-26 Angus Leeming <leeming@lyx.org>
3574 * lyx_main.[Ch]: replace occurances of system_tempdir with
3577 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3579 * rename Inset to InsetOld
3581 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3583 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3584 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3585 which I think is a bit clearer. EDIT is gone, since it was
3586 premature optimisation, and broken for mathed anyway.
3587 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3588 with cursor positioning in insets as well (math insets still do not
3589 work, but that's a different story anyway.) It mysteriously
3590 crashes sometimes with undo in the first paragraph, but I'm fairly
3591 confident that this is a compiler bug.
3593 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * paragraph.C (Paragraph): adjust for new clone return type
3597 (copyIntoMinibuffer): ditto
3599 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3601 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3602 by not having a special case, and always doing a full rebreak of
3603 the document after undo.
3605 2003-07-23 Angus Leeming <leeming@lyx.org>
3607 * factory.C (createInset): InsetExternal::setParams now takes a
3610 2003-07-23 Angus Leeming <leeming@lyx.org>
3612 * factory.C (createInset): changed interface to the external and
3613 graphics mailers' string2params functions.
3615 2003-07-23 Angus Leeming <leeming@lyx.org>
3617 * factory.C (createInset): pass a
3618 Buffer const * parameter to InsetExternalMailer's string2params.
3620 2003-07-22 John Levon <levon@movementarian.org>
3622 * Thesaurus.h: include the right aiksaurus header
3624 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3626 * MenuBackend.C (expand): check menu shortcuts unconditionally
3628 2003-07-21 Angus Leeming <leeming@lyx.org>
3630 * factory.C (createInset): pass a
3631 buffer_path parameter to InsetGraphicsMailer's string2params.
3633 2003-07-21 Angus Leeming <leeming@lyx.org>
3635 * BufferView_pimpl.C (buffer):
3638 * lyxfunc.C (dispatch):
3639 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3640 rather than the grfx shortcut.
3642 2003-07-21 André Pönitz <poenitz@gmx.net>
3644 * rowpainter.C: remove unused variables
3647 * tabular_funcs.h: move to tabular.C
3648 * Makefile.am: adjust
3650 * tabular.[Ch]: basic optical cleaning
3652 * author.h: pass references, not values
3654 2003-07-18 André Pönitz <poenitz@gmx.net>
3662 * text3.C: two-phase drawing for InsetText and InsetTabular
3663 some float -> int changes.
3665 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3667 * lyx_main.C: fix the fix
3669 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3671 * lyx_main.C: fix a crash in batch mode if no files specified
3674 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3676 * format.[Ch] (papersize): moved to BufferParams
3677 * converter.[Ch] (dvips_options): moved to BufferParams
3678 (dvipdfm_options): moved to anon namespace
3679 * bufferparams.[Ch]: added above functions.
3681 2003-07-17 André Pönitz <poenitz@gmx.net>
3685 * text2.C: don't call inset->update() anymore
3687 * metricsinfo.[Ch]: add convenience constructor
3689 2003-07-16 André Pönitz <poenitz@gmx.net>
3694 * text2.C: replace the LyXCursor::irow_ member with
3695 on-demand computation of the value
3697 2003-07-16 John Levon <levon@movementarian.org>
3699 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3701 2003-07-15 André Pönitz <poenitz@gmx.net>
3704 * text2.C: remove no more needed refresh_row
3706 2003-07-15 André Pönitz <poenitz@gmx.net>
3711 * text3.C: refresh_status tristate -> need_update bool
3713 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3715 * lyxtext.h (init): remove reinit argument (act as if always true)
3716 * text2.C: adjust to that
3718 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3720 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3721 * text3.C: use it to delete selections in some cases
3722 (bugs 441, 673, 702, 954).
3724 2003-07-14 André Pönitz <poenitz@gmx.net>
3726 * rowpainter.[Ch]: reduce interface
3728 2003-07-14 André Pönitz <poenitz@gmx.net>
3730 * BufferView_pimpl.C:
3731 * text2.C: adjust after removing unused BufferView * argument
3733 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3735 * text2.C (init): fix a crash fired on resize
3737 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3739 * buffer.[Ch]: added new closing signal
3740 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3741 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3742 BufferView::Pimpl via the closing the signal
3744 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3746 * buffer.[Ch]: take out all bv-related from buffer
3748 * BufferView_pimpl.[Ch]: connect to new signals
3749 * CutAndPaste.C: removed useless asserts
3750 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3753 * lyxfunc.C: moved view-related funciontality from vc here
3754 * paragraph.C: removed outdated comments
3757 2003-07-10 André Pönitz <poenitz@gmx.net>
3759 * BufferView_pimpl.C:
3763 * text2.C: remove InsetText::InnerCache, clean up consequences
3765 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3767 * ispell.C: fix two typos in error messages
3769 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3771 * Extend Note inset to other forms of annotation like Comment
3772 and Greyedout. Right button click gives dialog.
3774 Files modified or added (+):
3778 * ControlNote.[Ch] +
3780 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3781 frontends/controllers
3785 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3787 * aspell.C: add missing namespace lyx::support
3789 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3791 * BufferView.[Ch] (newFile): Add
3792 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3793 * LaTeX.[Ch] (message): added this signal and use it
3794 * buffer.[Ch] (busy, message): added these signals and use them
3795 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3799 * importer.C: use buffer signals instead of direct bv calling
3800 * lyx_cb.[Ch] (ShowMessage): removed
3803 * paragraph_funcs.C:
3804 * text2.C: use buffer signals
3806 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * introduce namespace lyx::graphics
3810 2003-07-02 André Pönitz <poenitz@gmx.net>
3812 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3814 2003-07-01 André Pönitz <poenitz@gmx.net>
3821 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3822 text*.C to text_func.C
3824 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3826 * introduce namespace lyx::support
3828 2003-06-30 André Pönitz <poenitz@gmx.net>
3833 * text.C: re-enable --with-included-string
3835 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3837 * textcursor.C: add <config.h>
3839 * text.C (getWord): remove const from word_location arg
3841 * lyxvc.C (getLogFile): fix const type order
3843 * lyxtext.h: remove const from word_location arg, add arg name
3845 * lyxlayout.h: currect type on labeltype.
3847 * importer.C: correct \file
3849 * converter.C (intToFormat): use std:: on ret val, ws changes
3851 * bufferlist.h: correct \file
3853 * buffer.C (makeLinuxDocFile): fix const type order
3854 (makeDocBookFile): ditto
3855 (fillWithBibKeys): use std:: on stdlib args.
3857 * CutAndPaste.C: fix authors.
3858 (availableSelections): use std:: on return vector
3860 2003-06-27 André Pönitz <poenitz@gmx.net>
3862 * BufferView_pimpl.C:
3863 * bufferview_funcs.C:
3871 * text3.C: remove LyXCursor::row_ member
3874 * text.C: rename fullRebreak() to partialRebreak() and implement
3875 a fullRebreak() that really bereks fully
3877 * textcursor.h: new struct for cursor-related data
3879 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3881 * lyx_main.C (LyX): get full path of document loaded on the
3884 2003-06-26 André Pönitz <poenitz@gmx.net>
3886 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3887 remove unused/broken operator>,<,>=.
3889 * text.C: remove only use of broken operator<= in an Assert().
3891 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3893 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3894 moved errorlist_.clear to showErrorList
3896 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3898 * converter.C (scanLog, runLaTeX):
3899 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3900 move the bv->showErrorList call to the callers
3901 * lyxfunc.C: i.e. here...
3903 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3904 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3905 namespace, the second to...
3906 * buffer_funcs (BufferFormat, parseErrors): added
3907 * errorlist.C (ErrorList(TeXErrors const &)): removed
3909 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3911 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3913 2003-06-24 "Garst R. Reese" <reese@isn.net>
3917 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3919 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3921 * version.C.in: change docversion to 1.4
3923 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3925 * buffer.C: fix a bug just introduced
3927 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3929 * buffer.[Ch]: added the parseError signal and use it, removed
3931 * BufferView.[Ch] (addError): moved to ...
3932 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3933 to the Buffer::parseError signal to catch (guess what) parse errors
3934 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3936 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3938 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3939 ability to create a buffer and to return an existing one from
3940 the list. Moved these functions to...
3941 * buffer_funcs.[Ch]: added
3942 * BufferView.[Ch] (loadLyXFile): added
3943 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3944 job removed from bufferlist::loadLyXFile.
3945 * buffer.C (setReadOnly): make it work without view
3946 (i.e added an if (users))
3948 2003-06-19 Angus Leeming <leeming@lyx.org>
3951 * LyXAction.C (init):
3952 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3953 with LFUN_DIALOG_SHOW <name> <data>.
3955 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3957 * CutAndPaste.C (availableSelections): small compilation fix for
3958 ancient (gcc 2.9x) compilers
3960 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * text3.C (cursorNext): add tmp var
3964 * text2.C (updateCounters): for function calling out of for clause
3965 (replaceSelectionWithString): ditto
3966 (insertStringAsParagraphs): ditto
3967 (getColumnNearX): add tmp var
3968 (setCursorFromCoordinates): add tmp var
3969 (cursorDownParagraph): add tmp var
3970 (deleteEmptyParagraphMechanism): add tmp var
3972 * text.C (insertChar): add tmp var
3974 * rowpainter.C (paintDepthBar): add tmp var
3976 * CutAndPaste.C (availableSelections): potentially check all
3977 paragraphs in a cut to fill the shown strings.
3979 2003-06-18 André Pönitz <poenitz@gmx.net>
3981 * kbmap.[Ch]: use vector<> instead of list<>
3983 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3985 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3986 pasteSelection with index
3988 * text2.C (pasteSelection): modify, call pasteSelection with index
3990 * paragraph.C (asString): reimplement version with no interval to
3991 call the one with interval.
3993 * lyxtext.h: add index arg to pasteSelection
3995 * MenuBackend.C (MenuItem): handle PasteRecent
3996 (Menu::read::Menutags): add md_pasterecent
3998 (expandPasteRecent): new function
4001 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4003 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4005 (availableSelections): new function
4007 2003-06-17 Angus Leeming <leeming@lyx.org>
4009 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4011 2003-06-17 Angus Leeming <leeming@lyx.org>
4014 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4016 * lyxfunc.C (dispatch): invoke it.
4018 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4020 * iterators.C (operator++, ParPosition): reintroduce some
4021 const_cast for the benefit of older compilers.
4023 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4025 * text3.C (dispatch): do not modify clipboard when doing
4026 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4027 LFUN_DELETE_SKIP on a selection selection
4029 2003-06-16 André Pönitz <poenitz@gmx.net>
4035 * tabular.[Ch]: IU of clone() and getLabelList();
4037 2003-06-13 André Pönitz <poenitz@gmx.net>
4039 * tabular.h: compactification
4041 2003-06-12 André Pönitz <poenitz@gmx.net>
4045 * tabular_funcs.h: some renaming plus whitespace
4047 2003-06-12 André Pönitz <poenitz@gmx.net>
4050 * BufferView_pimpl.C:
4056 * toc.C: Return a Paragraph & for ParIterator::operator*()
4058 2003-06-11 John Levon <levon@movementarian.org>
4062 * ToolbarBackend.C: add "Toolbars" section and
4065 2003-06-10 Angus Leeming <leeming@lyx.org>
4068 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4070 * lyxfunc.C (dispatch): invoke it.
4072 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * main.C: protect <ios> with HAVE_IOS
4075 (main): protect sync_with_stdio with HAVE_IOS
4077 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4079 * text2.C (cutSelection): adjust
4080 (pasteSelection): adjust
4082 * messages.C: handle get of empty string
4084 * main.C (main): use sync_with_stdio(false)
4086 * lyxfunc.C (dispatch): adjust
4088 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4089 (WriteAs): remove unneeded BufferView arg.
4091 * bufferparams.h: use correct types on papersize, papersize2 and
4094 * bufferparams.C (readToken): adjust for type
4095 (writeLaTeX): add missing cases to switch.
4097 * bufferlist.C (quitWriteBuffer): adjust
4100 * buffer.C (asciiParagraph): remove some commented code.
4102 * CutAndPaste.C: remove current_view extern variable.
4103 (cutSelection): add BufferParams arg.
4104 (eraseSelection): add BufferParams arg.
4105 (pasteSelection): add Buffer const & arg
4107 2003-06-07 John Levon <levon@movementarian.org>
4110 * paragraph_funcs.C:
4111 * paragraph_pimpl.C:
4115 * paragraph.C: allow InsetERT to freely space lines,
4116 and some consolidation of code
4118 2003-06-06 José Matos <jamatos@fep.up.pt>
4120 * buffer.C (makeDocBookFile): fix bug #821
4122 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4124 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4126 2003-06-04 Angus Leeming <leeming@lyx.org>
4128 * buffer.C: bump format to 224.
4130 2003-06-05 André Pönitz <poenitz@gmx.net>
4132 * text2.C (redoParagraphs): remove two const_cast<>
4134 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4136 * ParagraphList.h: remove last remnants of NO_STD_LIST
4138 2003-06-03 Angus Leeming <leeming@lyx.org>
4140 * factory.C (createInset): small change to the way InsetExternal's params
4143 2003-06-04 André Pönitz <poenitz@gmx.net>
4145 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4147 * paragraph_pimpl.h:
4148 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4150 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4152 * undo_funcs.C: make some simple cases of undo work again
4154 2003-06-03 John Levon <levon@movementarian.org>
4156 * ispell.C: HPUX doesn't have sys/select.h
4159 2003-06-03 John Levon <levon@movementarian.org>
4161 * CutAndPaste.C: update tabular and include inset
4166 * paragraph.C: remove owningBuffer(), don't pass Buffer
4169 * factory.C: insetGraphicsParams changed
4171 2003-06-02 John Levon <levon@movementarian.org>
4177 * text3.C: remove insetparent
4179 2003-06-02 John Levon <levon@movementarian.org>
4182 * buffer.C: fix inset_iterator.end(), move out of line
4185 2003-06-01 John Levon <levon@movementarian.org>
4187 * text3.C: use a proper cut/paste when doing inset
4188 insert (from Jürgen Spitzmüller)
4190 2003-06-01 John Levon <levon@movementarian.org>
4192 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4194 2003-05-30 André Pönitz <poenitz@gmx.net>
4196 * rowpainter.C: unify second drawing phase
4198 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4200 * trans_mgr.C: remove one case of current_view
4202 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4204 * paragraph_funcs.h: remove paragraph.h include
4206 * paragraph.h: delete NO_STD_LIST stuff
4208 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4210 * buffer.h: remove paragraph.h include
4212 * ParagraphList.C: delete file
4214 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4216 * toc.C (getTocList): adjust
4218 * paragraph_pimpl.C (validate): adjust
4220 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4222 * paragraph.C (Paragraph): adjust
4223 (getPositionOfInset): use const_iterator, adjust
4224 (bibitem): use const_iterator, adjust
4225 (setInsetOwner): adjust
4227 * iterators.C (operator++): adjust
4229 * InsetList.[Ch]: Replace selfmade iterator with standard
4230 vector::iterator also introduce const_iterator. Remove getPos,
4231 getInset and setInset from InsetTable. Adjust accordingly.
4233 * BufferView.C (lockInset): adjust
4234 (ChangeInsets): adjust
4236 * tabular.[Ch]: delete commented same_id functions
4238 2003-05-28 John Levon <levon@movementarian.org>
4240 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4242 2003-05-28 André Pönitz <poenitz@gmx.net>
4244 * metricsinfo.[Ch]: remove 'fullredraw' member
4246 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4248 * lyxtextclass.C (operator): remove caching.
4250 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * text2.C (cursorBottom): adjust
4255 (setCounter): use ParagraphList::find, adjust
4257 * text.C (workWidth): use ParagraphList::find, adjust
4259 * lyxcursor.C (LyXCursor): adjust
4261 * buffer.C (inset_iterator): adjust
4263 * ParagraphList.h: make iterator(value_type) private, make
4264 ParagraphList a friend of iterator.
4266 * ParagraphList.C (find): new function
4268 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4270 2003-05-27 André Pönitz <poenitz@gmx.net>
4272 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4274 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4276 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4278 2003-05-26 John Levon <levon@movementarian.org>
4280 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4282 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * remove same_id from function signatures, adjust.
4286 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4288 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4290 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4292 * paragraph.C (Paragraph): get rid of same_ids parameter
4294 * ParagraphList.C (insert): adjust
4297 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * paragraph_funcs.C (breakParagraph): adjust
4300 (breakParagraphConservative): adjust
4302 * buffer.C (readParagraph): adjust
4304 * ParagraphList.C (insert): take a reference instead of a pointer
4307 * paragraph.[Ch] (id): new function
4309 * bufferlist.C (newFile): adjust
4311 * ParagraphList.C (ParagraphList): adjust
4313 (push_back): take a reference instead of a pointer.
4315 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4317 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4320 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4321 set else use old code.
4323 * ParagraphList.C: remove all NO_NEXT code and only compile this
4324 code of NO_STD_LIST is set.
4326 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4328 * BufferView_pimpl.C:
4338 * graphics/GraphicsConverter.C:
4339 * graphics/PreviewLoader.C: header adjustment
4341 2003-05-23 Angus Leeming <leeming@lyx.org>
4343 * LaTeXFeatures.[Ch] (useBabel): new method.
4344 * bufferparams.C (writeLaTeX): use it.
4346 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * ParagraphList.h (set): remove unused function.
4350 2003-05-23 André Pönitz <poenitz@gmx.net>
4353 * BufferView_pimpl.C:
4357 * undo_funcs.C: setUndo reworked
4359 * iterators.[Ch]: add access to topmost ParagraphList
4361 * lyxtext.[Ch] (workWidth): add a const
4363 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4365 * texrow.[Ch] (increasePos): remove function
4366 * exporter.C (export): removed unused var and outdated comment
4368 2003-05-23 Angus Leeming <leeming@lyx.org>
4370 * latexrunparams.h: rename fragile as moving_arg.
4371 * paragraph.C (simpleTeXOnePar): ditto.
4372 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4374 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4376 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4378 (textUndoOrRedo): comment out a currently unused var.
4380 * paragraph.h (NO_NEXT): enable NO_NEXT
4382 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4384 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4386 * exporter.C (Export): adjust for removeAutoInsets removal.
4388 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4390 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4392 * BufferView.[Ch] (removeAutoInsets): delete function
4394 2003-05-22 Angus Leeming <leeming@lyx.org>
4396 * latexrunparams.h: add a free_spacing variable.
4398 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4399 to pass moving_arg, as the data is stored in runparams.fragile.
4401 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4402 to Inset::latexOptional or to simpleTeXOnePar.
4404 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4405 free_spacing arg to Inset::latexOptional.
4407 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4410 2003-05-22 Angus Leeming <leeming@lyx.org>
4412 * latexrunparams.h: add fragile and use_babel variables.
4414 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4415 * buffer.C (makeLaTeXFile): store this returned value in
4416 runparams.use_babel, thus passing it to the inset::latex methods.
4418 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4419 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4421 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4422 longer has a fragile arg, as it is stored in runparams.fragile.
4424 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4425 moving_arg parameter as the data is stored in runparams.fragile.
4427 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4428 a fragile parameter as the data is stored in runparams.fragile.
4430 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4434 2003-05-22 Angus Leeming <leeming@lyx.org>
4436 * latexrunparams.h: add a 'bool nice' which defaults to false.
4438 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4439 now encapsulated within runparams.
4441 * bufferlist.C (updateIncludedTeXfiles):
4442 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4444 2003-05-22 Angus Leeming <leeming@lyx.org>
4446 * latexrunparams.h: new file containing struct LatexRunParams.
4447 * Makefile.am: add new file.
4449 * LaTeX.[Ch] (c-tor, run):
4450 * buffer.[Ch] (makeLaTeXFile):
4451 * bufferlist.[Ch] (updateIncludedTeXfiles):
4452 * converter.C (convert, scanLog):
4453 * converter.[Ch] (runLaTeX):
4454 * exporter.C (Export):
4455 * paragraph.[Ch] (simpleTeXOnePar):
4456 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4457 * paragraph_funcs.[Ch] (latexParagraphs):
4458 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4459 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4460 pass around a LatexRunParams parameter.
4462 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * paragraph.[Ch]: remove unused constructor
4466 * ParagraphList.C (erase): new function, taking two iterators
4468 2003-05-22 André Pönitz <poenitz@gmx.net>
4470 * undo_funcs.C: remove duplicated code
4472 * iterator.[Ch]: operator=
4474 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * tabular.C (SetMultiColumn): ws changes
4478 * rowpainter.C (paintFirst): get rid of a ->previous
4480 * lyx_cb.C (getPossibleLabel): parlist simplification
4482 * BufferView.C (ChangeInsets): simplify slightly.
4484 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4486 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4487 * lfuns.h: new LFUN_SPACE
4488 * lyxfunc.C: protected space has a new lfun
4489 * paragraph_funcs.C: read new space insets
4491 * factory.C: handle new space insets
4493 2003-05-22 André Pönitz <poenitz@gmx.net>
4496 * BufferView_pimpl.C:
4499 * undo_funcs.C: return a ParIterator from getParFromID.
4501 * iterators.[Ch]: add two const's
4503 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4505 * toc.C (getTocList): adjust
4507 * iterators.[Ch]: rework for parlist
4509 * buffer.C (par_iterator_begin): adjust
4510 (par_iterator_end): adjust
4512 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4514 * BufferView.C (removeAutoInsets): adjust
4515 (ChangeInsets): adjust
4517 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4519 * text.C (top_y): fix bug 1110
4521 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4523 * errorlist.[Ch]: added
4526 * BufferView_pimpl.C:
4527 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4530 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4532 * Makefile.am: ensure that lyx is relinked upon changes to the
4533 various "convenience" libs.
4535 2003-05-20 Angus Leeming <leeming@lyx.org>
4537 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4538 files are compiled in alphabetical order again.
4540 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4542 2003-05-19 Angus Leeming <leeming@lyx.org>
4544 * gettext.[Ch]: remove "char const * _(char const *)".
4546 2003-05-19 André Pönitz <poenitz@gmx.net>
4548 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4557 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4559 2003-05-19 André Pönitz <poenitz@gmx.net>
4563 * lyxtextclass.[Ch]:
4565 * paragraph_funcs.[Ch]:
4567 * text3.C: more insetenv work
4569 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4571 * ParagraphParameters.C (params2string): small bug fixed
4573 2003-05-16 André Pönitz <poenitz@gmx.net>
4576 * bufferview_funcs.C: patch from Kornel Benko to prevent
4577 crash when _(...) is called twice in a statement
4579 2003-05-16 André Pönitz <poenitz@gmx.net>
4586 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4588 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4590 * lyx_main.C (init): remove spurious static_cast
4592 2003-05-14 André Pönitz <poenitz@gmx.net>
4594 * BufferView.C: fix format string
4596 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4598 * BufferView.[Ch] (insertErrors): removed
4599 * BufferView.[Ch] (showErrorList): added
4600 * buffer.C (runChkTeX):
4601 * converter.C (scanLog): call showErrorList instead of inserterrors
4603 2003-05-13 André Pönitz <poenitz@gmx.net>
4605 * BufferView_pimpl.C:
4607 * bufferview_func.C:
4614 * tabular_funcs.h: tostr() from its own header
4616 * ParagraphParameters.C:
4621 * text3.C: STRCONV()
4623 2003-05-12 André Pönitz <poenitz@gmx.net>
4626 * BufferView_pimpl.C:
4630 * ParagraphParameters.C:
4634 * bufferview_funcs.C:
4647 * paragraph_funcs.C:
4651 * text3.C: boost::format -> bformat all over the place
4654 2003-05-09 André Pönitz <poenitz@gmx.net>
4656 * LColor.[Ch]: Pimpl the #include <map> away
4658 2003-05-09 John Levon <levon@movementarian.org>
4660 * bufferlist.C: never remove emergency saves
4662 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * Makefile.am: better lib building
4666 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4668 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4670 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4671 (simpleTeXSpecialChars): adjust
4672 (simpleTeXSpecialChars): adjust
4673 * paragraph.C (simpleTeXOnePar): adjust
4674 * buffer.C (makeLaTeXFile): adjust
4676 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4678 * text2.C (changeDepth): parlist cleanup
4679 (getColumnNearX): ditto
4681 * rowpainter.C (getLabelFont): parlist cleanup
4683 * bufferlist.C (newFile): parlist cleanup
4685 * CutAndPaste.C (eraseSelection): parlist cleanup
4687 * BufferView_pimpl.C (trackChanges): parlist cleanup
4690 * BufferView.C (lockInset): parlist cleanup.
4691 (ChangeInsets): ditto
4693 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * CutAndPaste.h: Update file header.
4697 * CutAndPaste.C: Update file header.
4698 Store the parts cut out of the Document in a limited_stack.
4699 (copySelection): adjust
4700 (pasteSelection): new function, takes the index in the limited stack.
4701 (nrOfParagraphs): adjust
4702 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4703 simplify error inset insertion.
4704 (checkPastePossible): adjust
4706 2003-05-06 John Levon <levon@movementarian.org>
4708 * text2.C: don't cast wrap inset to float
4710 2003-05-05 André Pönitz <poenitz@gmx.net>
4713 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4715 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4716 few naked Paragraph *.
4718 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4720 * bufferparams.C: Output warning if a document with missing
4721 TeX document class is loaded
4722 * exporter.C: Disable TeX exports if the document class is missing
4725 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4726 isTeXClassAvailable()
4728 2003-05-03 John Levon <levon@movementarian.org>
4731 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4732 explicit cursor show/hide
4734 * BufferView_pimpl.h:
4735 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4736 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4738 * lyxfunc.C: hide cursor before dispatching.
4743 * text3.C: remove explicit cursor hides
4745 2003-05-02 André Pönitz <poenitz@gmx.net>
4747 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4750 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4753 * text2.C: tiny whitespace
4755 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * undo_funcs.C: almost only ws changes.
4759 * ParagraphList.C (splice): just return if pl is empty.
4761 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * ParagraphList.C (splice): new function.
4765 * CutAndPaste.C (pasteSelection): use it
4767 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4769 * CutAndPaste.C (pasteSelection): remove the last next and
4770 previous from this file.
4772 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * CutAndPaste.C (pasteSelection): more clean up, user proper
4775 ParagraphList functions for pasteing.
4777 * ParagraphList.C (insert): new function, three arg insert
4779 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * ParagraphList.C (insert): new function, three arg insert
4783 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4786 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4794 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4797 (copySelection): clean up a bit.
4798 (pasteSelection): use make_pair
4800 * ParagraphList.C (ParagraphList): implement copy constructor
4801 (operator=): implement, base on copy constructor.
4804 * paragraph.C (erase): return a bool
4806 * paragraph_pimpl.C (erasePos): remove function, move contents...
4807 (erase): ... here. Return a bool.
4808 (erase): call erase instead of erasePos.
4810 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4812 * ParagraphList.h: define PitPosPair
4813 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4814 ParagraphList, fix a bug on pasting multiple pars
4815 * text2.C: change interface to C&P
4817 2003-04-30 André Pönitz <poenitz@gmx.net>
4819 * undo_func.C: revert part of yesterday's patch 2
4821 2003-04-30 John Levon <levon@movementarian.org>
4823 * LColor.C: s/tabular/table/
4825 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4827 * text3.C (dispatch): do not convert iterator -> pointer
4828 * undo_funcs.C (setCursorParUndo): ditto
4829 * text_funcs.C (transposeChars): ditto
4831 * text2.C (setLayout): ws changes only
4833 * text.C (breakParagraph): do not convert iterator -> pointer
4835 (acceptChange): ditto
4836 (rejectChange): ditto
4841 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4844 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4846 * text3.C (gotoInset): YABG (yet another bad getChar)
4848 2003-04-29 André Pönitz <poenitz@gmx.net>
4850 * paragraph.h: make operator= private unimplemented as long as
4853 * ParagraphList.C: whitespace
4856 * paragraph_pimpl.[Ch]:
4857 * paragraph_funcs.C:
4859 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4862 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4864 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4866 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4867 * paragraph.[Ch] (erase):
4868 * paragraph_pimpl.[Ch] (erase): change return type and value
4869 * text2.C (cutSelection): some rework
4871 2003-04-28 John Levon <levon@movementarian.org>
4873 * bufferlist.C: changes for unsaved changes dialog
4875 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4877 * bufferlist.C (newFile): set language (messages_) for new
4880 * buffer.C (readFile): ws changes only.
4882 2003-04-28 André Pönitz <poenitz@gmx.net>
4887 * BufferView_pimpl.C:
4888 * BufferView.C: getParFromID related ParagraphList::iterator changes
4890 2003-04-28 André Pönitz <poenitz@gmx.net>
4892 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4895 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * messages.C: remove one more localedir class variable.
4899 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * messages.C (getLocaleDir): singleton generation function
4903 (Messages): add a default constructor.
4905 * main.C (main): do not setup localedir here, do not call
4908 * gettext.C (_): use it.
4909 (gettext_init): delete funciton
4911 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * gettext.C (getLyXMessages): new singleton generating function.
4915 * buffer.C (updateDocLang): adjust
4917 * Makefile.am (messages.o): add target
4918 (main.o): remove target
4920 2003-04-27 John Levon <levon@movementarian.org>
4925 * lyxvc.C: specify cancel button in Alert::prompt
4927 2003-04-26 John Levon <levon@movementarian.org>
4932 * LyXAction.C: add LFUN_INSET_SETTINGS
4934 * lyxfunc.C: don't enable tabular-feature when there's
4935 just any locking inset
4937 2003-04-26 John Levon <levon@movementarian.org>
4939 * bufferlist.C: re-add Cancel to buffer close question
4941 * lyxfunc.C: fix import UI a bit
4943 2003-04-25 John Levon <levon@movementarian.org>
4945 * gettext.C: remove the broken asserts for now
4947 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * messages.C: make case where setlocale cannot comply work better.
4951 * buffer.C (updateDocLang): new function
4952 (changeLanguage): use it
4955 * text2.C (setCounter): use B_ a bit.
4957 * lyxlayout.C (Read): be sure to trim the label strings.
4959 * messages.C (Messages): fix typo in comment
4961 * buffer.C (readFile): set message_ after file is loaded.
4962 (makeDocBookFile): remove double return
4963 (changeLanguage): reset message_ upon language change.
4964 (B_): new func, use this to get translated buffer strings.
4966 * main.C: add myself and Jean Marc as authors.
4968 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * messages.[hC]: pimplify Messages, and three different pimpls to be
4971 used in different circumstances.
4973 * gettext.[Ch]: change for use with new message code.
4975 2003-04-24 André Pönitz <poenitz@gmx.net>
4977 * factory.C: support for eqref
4979 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4981 * messages.[Ch]: add missing char
4983 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4985 * messages.[Ch]: New files
4987 2003-04-18 John Levon <levon@movementarian.org>
4991 * BufferView_pimpl.C:
4995 * text2.C: remove layout-copy/paste (bug 778)
4997 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4999 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5001 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5003 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5004 if they succeed. Act accordingly.
5006 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5008 * text2.C (setCharFont): adjust
5009 (setCounter): adjust
5010 (insertStringAsLines): adjust
5012 * text.C (leftMargin): adjust
5013 (setHeightOfRow): adjust
5015 * rowpainter.C (paintFirst): adjust
5018 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5020 (isFirstInSequence): ditto
5021 (getEndLabel): ditto
5024 * paragraph.C (getParLanguage): comment out some hard stuff.
5026 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5028 (simpleDocBookOnePar): ditto
5029 (makeDocBookFile): use ParagraphList::iterator
5031 * CutAndPaste.C (pasteSelection): adjust
5033 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5035 * text2.C (getFont): adjust
5036 (getLayoutFont): adjust
5037 (getLabelFont): adjust
5039 * paragraph_funcs.C (TeXOnePar): adjust
5041 * buffer.C (simpleLinuxDocOnePar): adjust
5042 (simpleDocBookOnePar): adjust
5044 * CutAndPaste.C (pasteSelection): adjust
5046 * BufferView.C (getEncoding): adjust
5048 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5050 2003-04-16 John Levon <levon@movementarian.org>
5052 * lyxfind.C: use parlist stuff for search/changes
5054 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5058 * text2.C (deleteEmptyParagraphMechanism): adjust
5060 * text2.[Ch] (ownerParagraph): delete func (both of them
5062 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5066 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * ParagraphList.C: prepare for NO_NEXT
5070 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5072 * text2.C (getFont): adjust
5073 (getLayoutFont): adjust
5074 (getLabelFont): adjust
5076 * paragraph.C (getFont): adjust
5077 (getLabelFont): adjust
5078 (getLayoutFont): adjust
5080 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5082 2003-04-15 John Levon <levon@movementarian.org>
5086 * lyx_main.C: handle Include in .ui files
5088 2003-04-15 John Levon <levon@movementarian.org>
5090 * MenuBackend.C: make the doc files length shorter
5093 * ToolbarBackend.C: handle toolbar placement flags,
5096 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5098 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5101 * paragraph_funcs.C (TeXOnePar): adjust
5103 * paragraph.C (getLabelFont): add outerfont arg, adjust
5104 (getLayoutFont): ditto
5105 (simpleTeXOnePar): adjust
5107 * paragraph_pimpl.C (realizeFont): delete func
5109 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5111 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5112 row argument, constify cur argument.
5114 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * text2.C (getFont): adjust
5117 (getLayoutFont): adjust
5118 (getLabelFont): adjust
5120 * paragraph_funcs.C (TeXOnePar): adjust
5121 (outerFont): new func...
5122 (realizeFont): ...moved out from here, changed this to facilitate
5125 * paragraph.C (getFont): take outerfont as arg, adjust
5126 (simpleTeXOnePar): add outerfont arg, adjust
5128 * buffer.C (simpleLinuxDocOnePar): adjust
5129 (simpleDocBookOnePar): adjust
5131 * CutAndPaste.C (pasteSelection): adjust
5133 * BufferView.C (getEncoding): adjust
5135 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5137 * text2.C (setCharFont): adjust
5138 (setCounter): adjust
5140 * text.C (leftMargin): adjust
5141 (setHeightOfRow): adjust
5143 * rowpainter.C (paintFirst): adjust
5146 * paragraph_pimpl.C (realizeFont): adjust
5148 * paragraph.C (isFirstInSequence): move from here...
5149 * paragraph_funcs.C (isFirstInSequence): ...to here
5151 * paragraph.C (outerHook): move from here...
5152 * paragraph_funcs.C (outerHook): ...to here
5154 * paragraph.C (depthHook): move from here...
5155 * paragraph_funcs.C (depthHook): ...to here
5157 * paragraph.C (getEndLabel): move from here...
5158 * paragraph_funcs.C (getEndLabel): ...to here
5160 * text2.C (realizeFont): move from here...
5161 * paragraph_funcs.C (realizeFont): ...to here
5163 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5167 2003-04-14 Angus Leeming <leeming@lyx.org>
5169 * LColor.[Ch]: scrap LColor mathcursor.
5171 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5173 * lyxlex.[Ch] (text): delete function
5174 * trans.C (Load): adjust
5175 * paragraph_funcs.C (readParToken): adjust
5177 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5180 vector<char> instead of a char[].
5182 * lyxlex_pimpl.C (getString): adjust
5184 (lex): use getString
5188 * lyxlex.C (text): use pimpl_->getString()
5192 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5195 (makeFontEntriesLayoutSpecific): temp var for par.size()
5196 (setLayout): temp var for ownerParagraphs().end()
5197 (fullRebreak): temp var for rows().end()
5198 (selectionAsString): temp var for boost::next(startpit), realize
5199 that the while really is a regular for loop.
5200 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5201 setCursor in one place.
5202 (setParagraph): temp vr for ownerParagraphs().end()
5203 (updateCounters): make the while loop a for loop
5204 (cutSelection): temp var for ownerParagraphs().end()
5205 (updateInset): make the do {} while() a regular for loop
5206 (getCursorX): use temp vars
5207 (setCurrentFont): use temp vars
5208 (getColumnNearX): use temp vars
5210 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * text.C (transformChar): use temp var for getChar
5213 (computeBidiTables): use temp var for row->par()
5214 (fill): move temp vars for row->par() and pit->layout() earlier in
5216 (labelFill): use temp var for row->par()
5217 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5218 asc and desc, realize that pit never changes and that firstpit is
5219 just a duplicate and not needed. Exchange rit->par() with pit in a
5221 (breakAgain): use a temp var for boost::next(rit)
5222 (breakAgainOneRow): ditto
5223 (breakParagraph): use a temp var for rows().begin()
5224 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5225 (cursorRightOneWord): use temp var for cursor.par() and
5226 cursor.pos(), remove usage of tmpcursor.
5227 (cursorLeftOneWord): use temp var for cursor.par() and
5228 cursor.pos() only set cur at end of function.
5230 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5232 * text.C, text2.C: exchange all usage of Paragraph::next with
5233 boost::next(ParagraphList::iterator)
5235 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5237 * text2.C (cursorTop): simplify implementation
5238 (cursorBottom): ditto
5239 (setParagraph): use ParagraphList::iterator
5240 (setCurrentFont): adjust
5241 (getColumnNearX): adjust
5242 (cursorRight): adjust
5243 (cursorLeft): remove usage of Paragraph::previous
5244 (cursorUpParagraph): ditto
5245 (deleteEmptyParagraphMechanism): slight cleanup
5247 * text.C (isBoundary): take a Paragraph const & instead of a
5249 (addressBreakPoint): ditto
5250 (leftMargin): remove usage of Paragraph::previous.
5251 (setHeightOfRow): ditto
5252 (cursorLeftOneWord): ditto
5253 (selectNextWordToSpellcheck): ditto
5256 (breakParagraph): remove one usage of Paragraph::next
5257 (redoParagraph): ditto
5258 (acceptChange): ditto
5259 (insertChar): adjust
5260 (rowBreakPoint): adjust
5262 * bufferview_funcs.C (toggleAndShow): adjust
5264 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5266 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5267 methods to access it.
5269 * text.C: Added updateRowPositions to compute all row positions.
5270 Make top_y and getRowNearY() to use the cached y position
5272 2003-04-11 John Levon <levon@movementarian.org>
5274 * text.C (rowBreakPoint): reintroduce the labelEnd
5275 checks, code copied from the row fill stuff. Deep voodoo.
5277 * text.C (fill): add a comment and debugging for the
5280 2003-04-11 John Levon <levon@movementarian.org>
5282 * text.C: make sure fullrow insets get wrapped to the next line,
5283 even when they're in a manual label
5285 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * text2.C (insertParagraph): make it take ParagraphList::iterator
5289 (setLayout): make it return ParagraphList::iterator
5290 (redoParagraphs): ditto
5292 (checkParagraph): ditto
5294 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5296 * text2.C: adjust several funcs.
5297 (realizeFont): take a ParagraphList::iterator as arg.
5298 (getLayoutFont): ditto
5299 (getLabelFont): ditto
5300 (setCharFont): ditto
5302 * text.C: adjust several funcs.
5304 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5306 * text.C (selectNextWordToSpellcheck): don't accidentally
5309 2003-04-10 John Levon <levon@movementarian.org>
5311 * ToolbarBackend.C (getIcon): special handling for
5314 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5316 * text2.C (cursorRight): a getChar assert fixed
5318 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * text2.C (getFont): change to take a ParagraphList::iterator
5321 instead of Paragraph*
5322 Adjust several functions.
5324 * text.C (transformChar): change to take a ParagraphList::iterator
5325 instead of Paragraph*
5326 (singleWidth): ditto
5327 Adjust several functions.
5329 * rowpainter.C: adjust several functions
5330 * rowpainter.h:store a ParagraphList::iterator and not a
5334 2003-04-09 John Levon <levon@movementarian.org>
5339 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5340 and the "help" bits as well
5342 2003-04-09 John Levon <levon@movementarian.org>
5345 * ToolbarBackend.C: allow multiple toolbars
5347 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5349 * undo_funcs.C (setCursorParUndo): adjust
5351 * text_funcs.C (transposeChars): adjust
5353 * text3.C (gotoNextInset): adjust
5356 * text2.C (setLayout): adjust
5357 (changeDepth): adjust
5359 (redoParagraphs): adjust
5360 (selectionAsString): adjust
5361 (setParagraph): adjust
5362 (insertInset): adjust
5363 (cutSelection): adjust
5364 (copySelection): adjust
5365 (pasteSelection): adjust
5366 (insertStringAsLines): adjust
5367 (updateInset): adjust
5368 (setCursor): change to take a ParagraphList::iterator parameter
5369 (setCursorIntern): change to take a ParagraphList::iterator parameter
5370 (setCurrentFont): adjust
5371 (cursorLeft): adjust
5372 (cursorRight): adjust
5373 (deleteEmptyParagraphMechanism): adjust
5375 * text.C (breakParagraph): adjust
5376 (insertChar): adjust
5377 (acceptChange): adjust
5378 (rejectChange): adjust
5379 (selectNextWordToSpellcheck): adjust
5380 (changeCase): adjust
5384 * lyxfind.C (SearchForward): adjust
5385 (SearchBackward): adjust
5386 (nextChange): adjust
5388 * lyxcursor.C (par): adjust
5390 * lyxcursor.h: store a ParagraphList::iterator instead of a
5393 * lyx_cb.C (getPossibleLabel): adjust
5395 * bufferview_funcs.C (toggleAndShow): adjust
5397 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5400 * BufferView.C (removeAutoInsets): adjust
5401 (lockedInsetStoreUndo): adjust
5403 2003-04-09 John Levon <levon@movementarian.org>
5405 * ToolbarBackend.C: try icon without argument
5406 if with argument fails
5408 2003-04-08 John Levon <levon@movementarian.org>
5411 * ToolbarBackend.C: add getIcon(), handle tooltip,
5412 and change from "Icon" to "Item".
5414 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5416 * BufferView.C (lockInset): another bad getchar crunched
5418 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5420 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5423 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5425 * lyxfind.C (searchForward, searchBackwards): bug 782
5427 2003-04-07 John Levon <levon@movementarian.org>
5429 * paragraph.C: remove dead comment
5431 * text.C: remove troublesome depth-fiddling code
5432 in leftMargin() and rightMargin() (bug 1017)
5434 * text.C: fix breaking of rows in nested lists
5437 * text2.C (updateCounters): fix up depth values
5440 2003-04-07 John Levon <levon@movementarian.org>
5442 * BufferView_pimpl.C: clear message when doc finishes resizing,
5443 and after a mouse event
5445 * lyxfunc.C: clear message after exiting inset
5447 2003-04-07 John Levon <levon@movementarian.org>
5449 * bufferview_funcs.C: show math status not outside
5450 status in the statusbar
5452 2003-04-07 John Levon <levon@movementarian.org>
5454 * lyxfunc.C: note status changed after a depth change
5456 2003-04-04 Angus Leeming <leeming@lyx.org>
5458 * LaTeX.h: move AuxInfo operator==, != out of line.
5459 Remove LaTeX virtual destructor; nothing derives from it.
5460 Move operator()() out of public area and rename it startscript().
5461 Change protected for private.
5463 2003-04-04 Angus Leeming <leeming@lyx.org>
5466 * text2.C: remove unneeded #includes.
5468 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5470 * text2.C (dEPM): fix the heigth of the next row
5472 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5474 * text.C: squashed an invalid getChar requester + some ws changes
5476 2003-04-03 John Levon <levon@movementarian.org>
5478 * bufferview_funcs.h:
5479 * bufferview_funcs.C:
5482 * text2.C: make getStatus work for the env depth lfuns
5484 2003-04-03 John Levon <levon@movementarian.org>
5486 * bufferview_funcs.h:
5487 * bufferview_funcs.C:
5490 * text2.C: parlistize decDepth(), by merging it with incDepth()
5492 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5494 * lyxrow.h: store a ParagraphList::iterator instead of a
5495 Paragraph* and adjust other class functions to suit.
5497 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5500 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5502 * text2.C (setCursor): do not anchor to cursor row for the time being
5504 2003-04-02 John Levon <levon@movementarian.org>
5511 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5513 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5515 * paragraph.h: make ParagraphList and ParagraphList::iterator
5516 friends of Paragraph.
5518 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5520 * ParagraphList.C: Use the private next_ and previous_ from
5523 2003-04-01 John Levon <levon@movementarian.org>
5527 * Makefile.am: rename, remove defaults gunk
5530 * MenuBackend.C: remove defaults gunk
5533 * Languages.C: remove defaults gunk
5536 * lyx_main.C: error out if files couldn't be found.
5538 2003-04-02 John Levon <levon@movementarian.org>
5540 * text2.C: make incDepth() use parlist
5542 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5544 * undo_funcs.C (firstUndoParagraph): adjust
5546 * text3.C (gotoInset): adjust
5547 (dispatch): adjust, and rewrite loop.
5549 * text2.C (init): adjust, and rewrite loop.
5550 (redoParagraphs): adjust
5551 (updateInset): adjust, and rewrite loop.
5552 (deleteEmptyParagraphMechanism): adjust
5554 * tabular.C (LyXTabular): adjust
5555 (SetMultiColumn): adjust
5558 * lyxtext.[Ch] (ownerParagraph): delete function
5559 (ownerParagraphs): new function returns a ParagraphList.
5561 * BufferView.C (removeAutoInsets): adjust
5562 (insertErrors): adjust
5563 (setCursorFromRow): adjust
5565 2003-04-01 Angus Leeming <leeming@lyx.org>
5567 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5570 2003-04-02 John Levon <levon@movementarian.org>
5576 * text_funcs.C: make transposeChars a free function
5578 * lyxrow_funcs.C: remove wrong comment
5580 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * rowpainter.C: adjust
5588 * lyxrow_funcs. [Ch]: new files
5590 * lyxrow.[Ch]: remove next and previous pointers
5591 (next,previous): remove accessor functions
5592 (isParEnd): move to lyxrow_funcs
5593 (lastPos): move to lyxrow_funcs
5594 (nextRowIsAllInset): move to lyxrow_funcs
5595 (lastPrintablePos): move to lyxrow_funcs
5596 (numberOfSeparators): move to lyxrow_funcs
5597 (numberOfHfills): move to lyxrow_funcs
5598 (numberOfLabelHfills): move to lyxrow_funcs
5599 (hfillExpansion): move to lyxrow_funcs
5603 * bufferview_funcs.C (toggleAndShow): adjust
5605 * RowList.h: Remove class RowList from file leave just a
5608 * RowList.C: delete file
5610 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5613 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5615 * text3.C (cursorPrevious): adjust
5616 (cursorNext): adjust
5619 * text2.C (redoHeightOfParagraph): adjust
5620 (redoDrawingOfParagraph): adjust
5623 * text.C (breakParagraph): adjust
5624 (insertChar): adjust
5627 * rowpainter.C (RowPainter): adjust
5628 (leftMargin): simplify and adjust
5629 (most rowpainter functions): adjust.
5631 * rowpainter.h: store the row as RowList::iterator not as Row*
5633 * lyxcursor.C (row): taka RowList::iterator as arg
5636 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5639 2003-04-01 Angus Leeming <leeming@lyx.org>
5641 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5642 stuff like bool Bool.
5644 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5646 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5649 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5654 * lyxtext.h (rows): drop one version and leve a const variant that
5655 returns a RowList::iterator.
5657 2003-03-31 Angus Leeming <leeming@lyx.org>
5659 * text.C (fill): ensure that the signature is the same as that in the
5662 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5664 * text2.C (redoParagraphs): adjust
5665 (updateCounters): adjust
5666 (checkParagraph): adjust
5667 (getColumnNearX): adjust and reformat a bit.
5669 * text.C (top_y): adjust
5671 (leftMargin): adjust
5672 (prepareToPrint): adjust
5674 (getRowNearY): adjust
5676 * lyxtext.h: make rowlist_ mutable.
5678 * RowList.h: add const_iterator
5679 * RowList.C: adjust for RowList::const_iterator.
5681 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5684 2003-03-31 John Levon <levon@movementarian.org>
5687 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5689 * lyx_main.C: set default fonts from using lyx_gui funcs
5691 * exporter.C: pdf_mode moved from lyxrc
5694 * lyxfunc.C: changes from above
5696 2003-03-31 John Levon <levon@movementarian.org>
5698 * lyx_main.C: fix to the last fix
5700 2003-03-31 John Levon <levon@movementarian.org>
5702 * bufferlist.C: "Load original" -> "Load Original"
5708 * format.C: more Alert cleanups
5710 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5712 * text2.C (removeParagraph): make it take a RowList::iterator as
5714 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5715 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5717 * text.C (anchor_row): make it take a RowList::iterator as arg,
5719 (computeBidiTables): make it take a const reference to Row instead
5720 of Row pointer, adjust.
5721 (leftMargin): make it take a RowList::iterator as arg, adjust.
5722 (rowBreakPoint): adjust
5723 (breakAgainOneRow): make it take a RowList::iterator as arg,
5725 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5727 * bufferview_funcs.C (toggleAndShow): adjust
5729 2003-03-30 John Levon <levon@movementarian.org>
5733 * boost-inst.C: moved to support
5735 * several files: changes as a result
5737 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5739 * text2.C (LyXText): adjust.
5741 (removeRow): make it take a RowList::iterator as arg, adjust.
5742 (fullRebreak): adjust
5743 (deleteEmptyParagraphMechanism): adjust
5744 (clearPaint): adjust
5747 * text.C (top_y): adjust
5748 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5749 (breakAgain): make it take a RowList::iterator as arg, adjust.
5750 (breakParagraph): adjust
5751 (insertChar): adjust
5754 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5755 need_break_row, and refresh_row.
5757 * text3.C (dispatch): adjust
5759 * text2.C (checkParagraph): adjust
5761 (setCursorFromCoordinates): adjust
5763 * text.C (top_y): adjust
5765 (getRow): make it return a RowList::iterator, adjust
5766 (getRowNearY): make it return a RowList::iterator, adjust
5768 * text2.C (init): adjust
5769 (insertRow): remove function
5770 (insertParagraph): adjust
5771 (redoParagraphs): adjust
5772 (fullRebreak): adjust
5773 (updateCounters): adjust
5775 * text.C (top_y): rewrite to use RowList iterators.
5777 (setHeightOfRow): rewrite to sue RowList iterators.
5778 (appendParagraph): adjust
5779 (breakAgain): adjust
5780 (breakAgainOneRow): adjust
5781 (breakParagraph): adjust
5783 (getRowNearY): adjust, and remove commented code.
5785 * lyxtext.h (firstRow): delete function
5786 (lastRow): delete function
5787 (rows): new function (const and non-const versions.)
5788 (insertRow): delete function
5790 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5792 2003-03-29 John Levon <levon@movementarian.org>
5794 * BufferView_pimpl.C: always update scrollbar top
5795 because pasting text when we're anchored could mean we
5796 miss an update altogether
5798 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5800 * text2.C (init): use rowlist_.end() and not 0.
5801 (insertRow): change to take a RowList::iterator as arg, adjust
5803 (insertParagraph): change to take a RowList::iterator as arg,
5805 (redoParagraphs): remove some debug msgs.
5807 * text.C (appendParagraph): change to take a RowList::iterator
5808 arg, adjust for this.
5809 (breakAgain): add an assert
5810 (breakAgainOneRow): ditto
5812 2003-03-29 John Levon <levon@movementarian.org>
5814 * text2.C: do not clear selection after inc/decDepth
5817 2003-03-29 John Levon <levon@movementarian.org>
5820 * buffer.C: fix broken strerrors according to Lars
5822 2003-03-29 John Levon <levon@movementarian.org>
5824 * converters.C: more Alert cleanups
5826 2003-03-29 John Levon <levon@movementarian.org>
5828 * bufferview_funcs.C: remove pointless Alert
5830 * buffer.C: fix confusing error message when
5831 a template is chmoded 000
5833 2003-03-29 John Levon <levon@movementarian.org>
5837 * BufferView_pimpl.C: Alert fixes
5841 * tabular-old.C: remove unused table compat reading
5843 2003-03-29 John Levon <levon@movementarian.org>
5848 * lyx_cb.C: more Alert cleanups
5850 * lyxfunc.C: don't allow chktex if not latex document
5852 2003-03-29 John Levon <levon@movementarian.org>
5856 * buffer.C: warnings pushed down from support/,
5859 2003-03-29 John Levon <levon@movementarian.org>
5861 * lyxfunc.C: safety check for C-r (revert)
5863 2003-03-29 John Levon <levon@movementarian.org>
5866 * bufferlist.C: several UI fixes using Alert::prompt.
5867 Fix the pointless looping quit code. Fix stupid revert
5872 * lyx_cb.C: use Alert::prompt
5874 * lyx_main.C: remove a silly question
5876 * lyxfunc.C: remove a couple of silly questions,
5879 2003-03-28 John Levon <levon@movementarian.org>
5881 * text2.C: fix bug 974 (End on empty par)
5883 2003-03-28 John Levon <levon@movementarian.org>
5885 * BufferView_pimpl.C:
5887 * lfuns.h: remove do-nothing math greek lfuns
5889 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5891 * lyxgluelength.h (isValidGlueLength): add default arg on
5892 parameter 2. Remove default arg from friend in class.
5894 * lyxlength.h (isValidLength): add default arg on parameter 2.
5895 Remove default arg from friend in class.
5897 * text2.C (LyXText): adjust, initialize refresh_row.
5901 (insertParagraph): adjst
5902 (redoParagraphs): adjust
5903 (fullRebreak): adjust
5904 (updateCounters): adjust
5905 (deleteEmptyParagraphMechanism): first attempt at fixing a
5908 * text.C (top_y): adjust
5909 (setHeightOfRow): adjust
5911 (getRowNearY): adjust
5913 * lyxtext.h: include RowList.h
5914 (~LyXText): not needed anymore, deleted.
5915 (firstRow): modify for RowList
5916 (lastRow): new function
5917 Delete firstrow and lastrow class variables, add a Rowlist
5918 rowlist_ class variable.
5920 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5923 * RowList.C (insert): fix case where it == begin().
5925 2003-03-26 Angus Leeming <leeming@lyx.org>
5927 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5928 the thesaurus dialog.
5930 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5934 * RowList.[Ch]: new files
5936 * ParagraphList.C (erase): handle the case where it == begin
5939 2003-03-25 John Levon <levon@movementarian.org>
5943 * aspell.C: add new aspell support
5946 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5949 2003-03-25 Angus Leeming <leeming@lyx.org>
5952 * LyXAction.C (init): new LFUN_INSET_INSERT.
5954 * BufferView_pimpl.C (dispatch): split out part of the
5955 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5957 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5960 2003-03-25 Angus Leeming <leeming@lyx.org>
5962 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5964 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5967 * text3.C: remove useless row->height(0)
5969 2003-03-25 John Levon <levon@movementarian.org>
5973 * text3.C: rename the refreshing stuff to better names
5975 2003-03-24 John Levon <levon@movementarian.org>
5977 * BufferView_pimpl.h:
5978 * BufferView_pimpl.C: update layout choice on a mouse
5981 2003-03-23 John Levon <levon@movementarian.org>
5983 * Makefile.am: fix commandtags.h reference
5985 2003-03-22 John Levon <levon@movementarian.org>
5987 * BufferView_pimpl.C:
5992 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5994 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5997 * text.C: take the rtl methods out of line
5999 2003-03-21 André Pönitz <poenitz@gmx.net>
6001 * metricsinfo.[Ch]: new files containing structures to be passed around
6002 during the two-phase-drawing...
6004 2003-03-21 André Pönitz <poenitz@gmx.net>
6006 * lyxtextclass.C: read 'environment' tag.
6008 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6010 * text2.C (removeRow): fix bug 964
6012 2003-03-20 John Levon <levon@movementarian.org>
6016 * text2.C: paint cleanups. Inset::update() dropped font
6019 2003-03-19 John Levon <levon@movementarian.org>
6021 * lyxfunc.C: only fitcursor/markDirty if available()
6023 2003-03-19 John Levon <levon@movementarian.org>
6025 * commandtags.h: rename to ...
6027 * lfuns.h: ... this, and renumber / cleanup
6029 2003-03-19 John Levon <levon@movementarian.org>
6031 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6032 fit the cursor after an lfun
6036 * BufferView_pimpl.h:
6037 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6039 * LyXAction.C: layout-character should have ReadOnly
6041 * ParagraphParameters.C:
6043 * bufferview_funcs.C:
6050 * undo_funcs.C: changes from above
6052 2003-03-18 John Levon <levon@movementarian.org>
6054 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6055 remove it from update()
6057 * lyxfunc.C: update layout choice after an lfun
6059 * text3.C: remove extra updateLayoutChoice()s
6061 2003-03-18 John Levon <levon@movementarian.org>
6063 * text.C: top_y change means full repaint, fix
6064 a drawing bug with cursor movement
6066 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6070 * text2.C: anchor row on setCursor
6072 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6074 * lyxtext.h: remove almost all mutable keywords
6077 * text3.C: remove const keywords accordingly
6079 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6081 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6083 (TeXEnvironment): ditto
6086 2003-03-17 John Levon <levon@movementarian.org>
6088 * text.C (rowBreakPoint): remove attempt to fix displayed
6089 math insets inside a manual label
6091 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * lyxtext.h: remove BufferView* as first arg from almost all class
6095 * other files: adjust.
6097 2003-03-17 John Levon <levon@movementarian.org>
6101 * text2.C: more paint cleanups
6103 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6106 * rowpainter.C: remove "smart" background painting code
6108 2003-03-16 John Levon <levon@movementarian.org>
6113 * text3.C: add helper functions for setting refresh_row/y
6115 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6117 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6118 newline inset which *can* get inserted in the pass_thru layouts.
6119 This is primarily for literate documents.
6121 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6123 * buffer.C: increment LYX_FORMAT to 223
6125 2003-03-14 André Pönitz <poenitz@gmx.net>
6127 * textclass.h: prepare for environment handling, ws changes
6128 * lyxlayout.C: read latexheader and latexfooter tags
6130 2003-03-14 John Levon <levon@movementarian.org>
6132 * text2.C: rewrite ::status() a bit
6134 2003-03-13 John Levon <levon@movementarian.org>
6136 * lyxtext.h: add some docs
6138 2003-03-13 John Levon <levon@movementarian.org>
6143 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6145 2003-03-13 John Levon <levon@movementarian.org>
6147 * text3.C: fix appendix redrawing
6149 2003-03-13 John Levon <levon@movementarian.org>
6151 * text.C (setHeightOfRow):
6153 * rowpainter.C: make appendix mark have the text
6154 "Appendix" so the user knows what it is
6157 * LColor.C: s/appendixline/appendix/ from above
6159 2003-03-13 John Levon <levon@movementarian.org>
6161 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6163 * text.C: fix a getChar(pos) bug properly
6165 2003-03-13 Angus Leeming <leeming@lyx.org>
6168 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6169 Probably only temporary. Let's see how things pan out.
6171 * BufferView.C (unlockInset):
6172 * BufferView_pimpl.C (fitCursor):
6173 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6175 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6176 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6178 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6179 new functions that convert ParagraphParameters to and from a string.
6181 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6182 BufferView::Pimpl's dispatch.
6183 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6185 2003-03-13 André Pönitz <poenitz@gmx.net>
6189 * factory.C: make it aware of InsetEnv
6191 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6193 * text2.C (setCursor): never ask for one past last
6194 (setCursor): add some debugging messages.
6196 * text.C (singleWidth): never ask for one past last
6197 (singleWidth): ditto
6199 (rightMargin): ditto
6200 (rowBreakPoint): ditto
6201 (setHeightOfRow): ditto
6202 (prepareToPrint): ditto
6204 * rowpainter.C (paintBackground): never ask for one past last
6205 (paintText): never ask for one past last
6207 * paragraph_pimpl.C (getChar): make the assert stricter, never
6208 allow the one past last pos to be taken
6210 * paragraph.C (getChar): ws changes only
6212 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6213 (numberOfSeparators): ditto
6214 (numberOfHfills): ditto
6216 2003-03-12 John Levon <levon@movementarian.org>
6222 * paragraph_funcs.C: fix per-buffer authorlists
6224 2003-03-12 John Levon <levon@movementarian.org>
6226 * text.C: fix newline in right address
6228 2003-03-12 Angus Leeming <leeming@lyx.org>
6230 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6231 duplicate those in LyXFunc::dispatch.
6235 * ToolbarDefaults.C:
6236 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6237 Add LFUN_FONTFREE_UPDATE.
6239 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6240 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6242 * bufferview_func.[Ch]: several new functions to facilliate
6243 transfer of data to and from the character dialog.
6245 2003-03-12 John Levon <levon@movementarian.org>
6250 * paragraph_funcs.C:
6251 * paragraph_pimpl.C:
6255 * text3.C: remove META_NEWLINE in favour of an inset
6258 * rowpainter.C: remove paintNewline (done by inset)
6260 2003-03-12 John Levon <levon@movementarian.org>
6262 * paragraph_pimpl.C: complain about bad getChar()s
6263 for a while at least
6265 2003-03-12 John Levon <levon@movementarian.org>
6268 * buffer.C: move paragraph read into a separate function,
6269 a little renaming to reflect that.
6272 * bufferparams.C: remove the author_ids map, not necessary now
6275 * factory.C: moved Buffer::readInset to here
6277 * paragraph_funcs.h:
6278 * paragraph_funcs.C: readParagraph free function moved from
6281 * tabular.C: name change
6283 2003-03-12 John Levon <levon@movementarian.org>
6286 * ParagraphParameters.C: move par params input to
6289 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6290 behave like a normal read from the stream wrt reading
6291 a line vs. a \\token
6293 2003-03-12 John Levon <levon@movementarian.org>
6296 * ParagraphParameters.h:
6297 * ParagraphParameters.C: move output code to a
6300 2003-03-12 John Levon <levon@movementarian.org>
6302 * BufferView.C (insertLyXFile):
6305 * tabular.C: use a parlist iterator for creating the
6308 2003-03-12 John Levon <levon@movementarian.org>
6310 * buffer.C: make current_change static local not
6313 2003-03-12 John Levon <levon@movementarian.org>
6315 * buffer.C: fix insertStringAsLines for change tracking
6317 2003-03-12 John Levon <levon@movementarian.org>
6324 * bufferparams.C: move author list into params. Rename some
6325 functions. Move the header reading into a separate token
6326 loop. Move the header token reading into BufferParams.
6328 2003-03-12 John Levon <levon@movementarian.org>
6330 * changes.C: put debug inside lyxerr.debugging() checks
6332 2003-03-11 André Pönitz <poenitz@gmx.net>
6334 * factory.C: make it aware of InsetHFill
6336 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6338 * buffer.C (latexParagraphs): move function from here...
6339 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6342 2003-03-10 Angus Leeming <leeming@lyx.org>
6344 * LyXAction.C (init): fix bug in poplating array with multiple entries
6345 with the same LFUN (spotted by JMarc).
6347 2003-03-10 John Levon <levon@movementarian.org>
6350 * text2.C: move getColumnNearX() near its
6353 2003-03-10 John Levon <levon@movementarian.org>
6355 * text.C: fix break before a minipage
6357 2003-03-10 John Levon <levon@movementarian.org>
6359 * text.C: fix the last commit
6361 2003-03-09 John Levon <levon@movementarian.org>
6365 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6366 bug 365 (don't break before insets unless needed). Don't
6367 return a value > last under any circumstances.
6369 2003-03-09 Angus Leeming <leeming@lyx.org>
6371 * BufferView_pimpl.C (trackChanges, dispatch): call
6372 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6374 2003-03-09 Angus Leeming <leeming@lyx.org>
6376 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6377 than Dialogs::showAboutlyx().
6379 2003-03-09 Angus Leeming <leeming@lyx.org>
6381 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6382 than Dialogs::showTabularCreate().
6384 2003-03-09 John Levon <levon@movementarian.org>
6388 * text2.C: 3rd arg to nextBreakPoint was always the same.
6391 2003-03-08 John Levon <levon@movementarian.org>
6398 * text2.C: Remove the "main" bit from the "main body"
6401 2003-03-08 John Levon <levon@movementarian.org>
6403 * text.C (leftMargin): The left margin of an empty
6404 manual label paragraph should not include the label width
6407 * text.C (prepareToPrint): don't attempt to measure hfills
6408 for empty manual label paragraphs - the answer should be 0
6410 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6412 * CutAndPaste.C: remove commented code and reindent.
6414 2003-03-08 John Levon <levon@movementarian.org>
6417 * lyxfunc.C: move reloadBuffer()
6420 * BufferView.C: to here
6422 * lyxvc.C: add comment
6425 * vc-backend.C: call bv->reload() to avoid
6426 getStatus() check on MENURELOAD
6428 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6430 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6431 to an old format .dep file.
6433 2003-03-07 Angus Leeming <leeming@lyx.org>
6435 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6436 when the LFUN_MOUSE_RELEASE should have been handled by
6437 inset->localDispatch.
6439 2003-03-07 Angus Leeming <leeming@lyx.org>
6441 * BufferView_pimpl.C (dispatch):
6442 * LyXAction.C (init):
6443 * ToolbarDefaults.C (init):
6445 * lyxfunc.C (getStatus):
6446 remove LFUN_INSET_GRAPHICS.
6448 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6450 2003-03-07 Angus Leeming <leeming@lyx.org>
6453 * LyXAction.C (init):
6454 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6456 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6459 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6461 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6462 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6464 2003-03-07 Angus Leeming <leeming@lyx.org>
6466 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6469 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * ParagraphList.C (front): new function
6474 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6476 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6477 and top_row_offset_. removed var first_y.
6479 * text2.C (LyXText, removeRow):
6481 * BufferView_pimpl.C:
6482 use these methods instead of using first_y
6484 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * text2.C (pasteSelection): adjust for checkPastePossible
6488 * CutAndPaste.C: remove Paragraph * buf and replace with
6489 ParagraphList paragraphs.
6490 (DeleteBuffer): delete
6491 (cutSelection): change the tc type to textclass_type
6492 (copySelection): change the tc type to textclass_type
6493 (copySelection): adjust for ParagraphList
6494 (pasteSelection): change the tc type to textclass_type
6495 (pasteSelection): adjust for Paragraphlist
6496 (nrOfParagraphs): simplify for ParagraphList
6497 (checkPastePossible): simplify for ParagraphList
6498 (checkPastePossible): remove unused arg
6500 * ParagraphList.C (insert): handle the case where there are no
6503 * CutAndPaste.h: make CutAndPaste a namespace.
6505 * text3.C (dispatch): adjust
6507 * text.C (breakParagraph): add a ParagraphList as arg
6509 * paragraph_funcs.C (breakParagraph): change to take a
6510 BufferParams and a ParagraphList as args.
6511 (breakParagraphConservative): ditto
6512 (mergeParagraph): ditto
6513 (TeXDeeper): add a ParagraphList arg
6514 (TeXEnvironment): ditto
6517 * buffer.C (readLyXformat2): adjust
6518 (insertStringAsLines): adjust
6519 (latexParagraphs): adjust
6521 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6522 (cutSelection): adjust
6523 (pasteSelection): adjust
6525 * BufferView_pimpl.C (insertInset): adjust
6527 2003-03-05 Angus Leeming <leeming@lyx.org>
6530 * LyXAction.C (init):
6531 * BufferView_pimpl.C (dispatch):
6532 * lyxfunc.C (getStatus):
6533 remove LFUN_CHILD_INSERT.
6535 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6537 2003-03-05 Angus Leeming <leeming@lyx.org>
6540 * LyXAction.C (init):
6541 * src/factory.C (createInset):
6542 * lyxfunc.C (getStatus):
6543 * text3.C (dispatch):
6544 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6546 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6548 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * ParagraphList.C (insert): handle insert right before end()
6551 (erase): fix cases where it can be first or last paragraph.
6553 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6556 Paragraph::next and Paragraph::previous
6559 * text.C (breakParagraph): adjust
6561 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6562 BufferParams& as arg.
6563 (breakParagraph): use ParagraphList::insert
6564 (breakParagraphConservative): take a Buffer* instead of a
6565 BufferParams& as arg.
6566 (breakParagraphConservative): use ParagraphList::insert.
6568 * buffer.C (insertStringAsLines): un-const it
6569 (insertStringAsLines): adjust
6571 * ParagraphList.C (insert): new function
6573 * CutAndPaste.C (pasteSelection): adjust
6575 * text.C (backspace): adjust
6577 * tabular.C (SetMultiColumn): adjust
6579 * CutAndPaste.C (cutSelection): adjust
6580 (pasteSelection): adjust
6582 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6583 Buffer const * as arg
6585 * ParagraphList.C (erase): new function
6586 * paragraph_funcs.C (mergeParagraph): use it
6587 (mergeParagraph): make it take a Buffer* instead of a
6588 BufferParams* as arg
6590 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6592 (breakParagraphConservative): ditto
6594 * paragraph.h: remove the breakParagraph friend
6596 * paragraph.C (eraseIntern): new function
6597 (setChange): new function
6599 * paragraph_funcs.C (mergeParagraph): make it take a
6600 ParagraphList::iterator instead of a Paragraph *, adjust
6603 * paragraph.h: move an #endif so that the change tracking stuff
6604 also works in the NO_NEXT case.
6606 2003-03-04 Angus Leeming <leeming@lyx.org>
6609 * LyXAction.C: new LFUN_INSET_MODIFY.
6611 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6612 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6614 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6616 * several files: ws changes only
6618 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6619 (TeXEnvironment): ditto
6622 * buffer.C (makeLaTeXFile): adjust
6623 (latexParagraphs): make it take ParagraphList::iterator as args
6625 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6627 * buffer.C (latexParagraphs): adjust
6629 * paragraph.C (TeXOnePar): move function...
6630 (optArgInset): move function...
6631 (TeXEnvironment): move function...
6632 * paragraph_pimpl.C (TeXDeeper): move function...
6633 * paragraph_funcs.C: ...here
6635 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6637 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * buffer.C (readInset): remove compability code for old Figure and
6642 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6644 * buffer.C: ws changes
6647 * BufferView_pimpl.C: ditto
6650 * bufferlist.h: ditto
6654 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6656 * converter.[Ch]: split into itself +
6659 * Makefile.am: += graph.[Ch] + format.[Ch]
6666 * lyxrc.C: added #include "format.h"
6668 2003-02-27 Angus Leeming <leeming@lyx.org>
6670 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6673 * factory.C (createInset): add "label" to the factory.
6675 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6676 string and do no more.
6678 2003-02-27 Angus Leeming <leeming@lyx.org>
6681 * LyXAction.C (init):
6682 * factory.C (createInset):
6683 * BufferView_pimpl.C (dispatch):
6684 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6686 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6688 * lyxfunc.C (dispatch):
6689 * text3.C (dispatch): pass name to params2string.
6691 2003-02-26 Angus Leeming <leeming@lyx.org>
6693 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6695 Rearrange the ~includes. Strip out the unnecessary ones.
6697 * factory.C (createInset): reformat.
6698 create new insets for the various LFUN_XYZ_APPLY lfuns.
6700 2003-02-26 John Levon <levon@movementarian.org>
6703 * lyxrow.C: add isParStart,isParEnd helpers
6705 * paragraph.h: make isInserted/DeletedText take refs
6707 * paragraph_funcs.h:
6708 * paragraph_funcs.C: remove #if 0'd code
6713 * text.C: use lyxrow helpers above.
6714 Move draw and paint routines to RowPainter.
6715 Make several methods use refs not pointers.
6716 Make backgroundColor() const.
6717 Add markChangeInDraw(), isInInset().
6718 Merge changeRegionCase into changeCase.
6719 Make workWidth() shouldn't-happen code into an Assert.
6722 * rowpainter.C: new class for painting a row.
6725 * vspace.C: make inPixels take a ref
6727 2003-02-26 Angus Leeming <leeming@lyx.org>
6729 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6732 2003-02-25 John Levon <levon@movementarian.org>
6734 * ispell.C: give the forked command a more accurate name
6736 2003-02-22 John Levon <levon@movementarian.org>
6739 * toc.C: make TocItem store an id not a Paragraph *
6742 2003-02-21 Angus Leeming <leeming@lyx.org>
6744 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6745 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6746 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6747 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6748 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6749 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6751 * BufferView_pimpl.C (dispatch):
6752 * LyXAction.C (init):
6753 * factory.C (createInset):
6754 * lyxfunc.C (getStatus, dispatch):
6755 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6757 2003-02-21 Angus Leeming <leeming@lyx.org>
6759 * BufferView_pimpl.C (MenuInsertLyXFile):
6760 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6761 * lyxfunc.C (menuNew, open, doImport):
6762 no longer pass a LyXView & to fileDlg.
6764 2003-02-21 Angus Leeming <leeming@lyx.org>
6766 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6767 * LyXAction.C: change, BIBKEY to BIBITEM.
6768 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6769 Change InsetBibKey to InsetBibitem.
6770 Change BIBKEY_CODE to BIBITEM_CODE.
6771 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6772 * factory.C: replace insetbib.h with insetbibitem.h.
6773 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6774 * paragraph.C: replace insetbib.h with insetbibitem.h.
6775 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6776 Change bibkey() to bibitem().
6777 * text.C: remove insetbib.h.
6778 * text2.C: replace insetbib.h with insetbibitem.h.
6779 change bibkey() to bibitem().
6780 * text3.C: remove insetbib.h.
6781 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6783 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6785 * lyxrc.C (output): enclose user email in quotes (in case there are
6788 2003-02-18 John Levon <levon@movementarian.org>
6790 * buffer.h: add std::
6792 2003-02-17 John Levon <levon@movementarian.org>
6798 * pspell.C: reworking. Especially in ispell, a large
6799 number of clean ups and bug fixes.
6801 * lyxfunc.C: fix revert to behave sensibly
6803 2003-02-17 André Pönitz <poenitz@gmx.net>
6806 * commandtags.h: new LFUN_INSERT_BIBKEY
6816 * paragraph_func.C: remove special bibkey handling
6818 2003-02-17 John Levon <levon@movementarian.org>
6820 * text.C (Delete): fix case where delete at the end of
6821 the very first paragraph would not merge the pars
6823 2003-02-17 John Levon <levon@movementarian.org>
6825 * lyxrow.C: fix lastPrintablePos()
6827 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6829 * bufferparams.C (writeLaTeX): add a std:here
6831 * buffer.C: and remove a using directive there
6833 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6835 * buffer.C (makeLaTeXFile): move the code that generates the
6838 * bufferparams.C (writeLaTeX): ... in this new method
6840 * LaTeXFeatures.C (getEncodingSet): make const
6841 (getLanguages): make const
6843 * MenuBackend.C (binding): returns the binding associated to this
6845 (add): sets the status of each item by calling getStatus. Adds
6847 (read): add support for OptSubMenu
6848 (expand): remove extra separator at the end of expanded menu
6850 2003-02-15 John Levon <levon@movementarian.org>
6853 * BufferView_pimpl.C:
6855 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6856 inset code that had no actual effect. Remove unneeded status
6859 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6861 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6864 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6866 * text.C (drawLengthMarker): also draw an arrow marker for
6867 symbolic lengths (medskip...)
6869 2003-02-14 John Levon <levon@movementarian.org>
6872 * tabular.C: better method names
6874 2003-02-14 John Levon <levon@movementarian.org>
6876 * BufferView_pimpl.C:
6881 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6882 it's a more accurate name. Remove some pointless uses.
6884 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6886 * text2.C (LyXText): change order of initilizers to shut off
6889 2003-02-14 John Levon <levon@movementarian.org>
6891 * buffer.C: use ParIterator for getParFromID()
6895 * paragraph_pimpl.h:
6896 * paragraph_pimpl.C: remove unused getParFromID()
6898 2003-02-14 John Levon <levon@movementarian.org>
6900 * buffer.C: remove some very old #if 0'd parse code
6902 2003-02-13 John Levon <levon@movementarian.org>
6906 * text2.C: move hfillExpansion(), numberOfSeparators(),
6907 rowLast(), rowLastPrintable(), numberofHfills(),
6908 numberOfLabelHfills() ...
6911 * lyxrow.C: ... to member functions here.
6916 * text.C: remove LyXText::beginningOfMainBody(), and call
6917 p->beginningOfMainBody() directly. Move the check for
6918 LABEL_MANUAL into the latter.
6925 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6931 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6932 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6934 2003-02-13 John Levon <levon@movementarian.org>
6936 * CutAndPaste.C: remove debug
6938 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6940 * paragraph.C (asString): remove two unused variables
6942 * lyxtextclass.C (readTitleType):
6944 (LyXTextClass): handle new members titletype_ and titlename_
6946 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6948 2003-02-09 John Levon <levon@movementarian.org>
6951 * buffer.C: replace hand-coded list with a map for the dep clean
6953 2003-02-08 John Levon <levon@movementarian.org>
6955 * LaTeX.C: consolidate code into showRunMessage() helper
6957 2003-02-08 John Levon <levon@movementarian.org>
6962 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6963 and pass the size in explicitly
6965 * BufferView_pimpl.h:
6966 * BufferView_pimpl.C:
6968 * BufferView.C: add getCurrentChange()
6970 * BufferView_pimpl.h:
6971 * BufferView_pimpl.C: handle change lfuns
6973 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6974 for changes. Mark pasted paragraphs as new.
6976 * support/lyxtime.h:
6977 * support/lyxtime.C:
6978 * DepTable.C: abstract time_t as lyx::time_type
6981 * LColor.C: add colours for new text, deleted text, changebars
6983 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6984 package use "usenames" option.
6988 * LyXAction.C: add change lfuns
6992 * author.C: author handling
6995 * buffer.C: add a per-buffer author list, with first entry as
6996 current author. Handle new .lyx tokens for change tracking. Output
6997 author list to .lyx file. Output dvipost stuff to .tex preamble.
6998 Bump lyx format to 222.
7001 * bufferlist.C: add setCurrentAuthor() to reset current author details
7005 * bufferparams.C: add param for tracking
7007 * bufferview_funcs.C: output change info in minibuffer
7011 * changes.C: add change-tracking structure
7014 * debug.C: add CHANGES debug flag
7017 * lyxfind.C: add code for finding the next change piece
7020 * lyxrc.C: add user_name and user_email
7023 * lyxrow.C: add a metric for the top of the text line
7026 * text.C: implement accept/rejectChange()
7029 * text.C: paint changebars. Paint new/deleted text in the chosen
7030 colours. Strike through deleted text.
7034 * paragraph_pimpl.h:
7035 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7036 in the current change to the insert functions. Rework erase to
7037 mark text as deleted, adding an eraseIntern() and a range-based
7038 erase(). Implement per-paragraph change lookup and
7041 * paragraph_funcs.C: Fixup paste for change tracking.
7043 * tabular.C: mark added row/columns as new.
7045 * text.C: fix rowLast() to never return -1. Don't allow
7046 spellchecking of deleted text. Track transpose changes. Don't
7047 allow paragraph break or merge where appropriate.
7049 * text2.C: leave cursor at end of selection after a cut.
7051 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7053 * text.C (getLengthMarkerHeight):
7054 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7055 visible on screen too.
7057 2003-02-07 John Levon <levon@movementarian.org>
7059 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7061 2003-02-05 Angus Leeming <leeming@lyx.org>
7063 * lyxserver.C (read_ready): revert my patch of 11 September last year
7064 as it sends PC cpu through the roof. Presumably this means that
7065 the lyxserver will no longer run on an Alpha...
7067 2003-01-30 Angus Leeming <leeming@lyx.org>
7069 * factory.C (createInset): create an InsetCommandParam of type "index"
7070 and use it to 'do the right thing'.
7072 * text2.C (getStringToIndex): ensure that cursor position is always
7073 reset to the reset_cursor position.
7075 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7077 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7080 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7084 * lyxfunc.C: Output messages with identical spelling, punctuation,
7087 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7089 * MenuBackend.C (expandFormats): List only viewable export formats
7092 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7095 * lyxfunc.C (getStatus): Make sure that formats other than
7096 "fax" can also be disabled
7098 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7100 * text3.C (dispatch): put the lfuns that insert insets in 3
7101 groups, and call doInsertInset with appropriate arguments.
7102 (doInsertInset): new function, that creates an inset and inserts
7103 it according to some boolean parameters.
7105 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * buffer.C (readFile): remember to pass on 'par' when calling
7108 readFile recursively.
7110 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7112 * MenuBackend.C (expandFormats): add "..." to import formats.
7114 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7116 * paragraph.C (asString): Remove XForms RTL hacks.
7118 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7119 * buffer.C: fix typo
7121 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * Makefile.am (LIBS): delete var
7124 (lyx_LDADD): add @LIBS@ here instead.
7126 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7128 * Clarify the meaning of "wheel mouse jump"
7130 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7132 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7135 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7137 * importer.C (Loaders): do not preallocate 3 elements in the
7138 vector, since one ends up with 6 elements otherwise
7140 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7142 * DepTable.C (write): write the file name as last element of the
7143 .dep file (because it may contain spaces)
7144 (read): read info in the right order
7146 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7148 * paragraph_pimpl.C (simpleTeXBlanks):
7149 (simpleTeXSpecialChars):
7150 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7152 * tabular.C (latex): add some missing case statements. Reindent.
7154 * MenuBackend.C (expandToc): remove unused variable.
7156 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7165 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7168 2003-01-05 John Levon <levon@movementarian.org>
7171 * BufferView.C: add getEncoding()
7174 * kbsequence.C: do not store last keypress
7177 * lyxfunc.C: store last keypress here instead. Pass encoding
7180 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7182 * lyx_main.C (init): remove annoying error message when following
7183 symbolic links (bug #780)
7185 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7187 * text.C (insertChar):
7188 * lyxrc.C (getDescription): remove extra spaces
7190 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7192 * lyxrc.C (getDescription): remove extra spaces
7194 2002-12-20 John Levon <levon@movementarian.org>
7196 * text3.C: hack fix for page up/down across tall rows
7198 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7200 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7203 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7205 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7206 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7207 thesaurus is not compiled in
7209 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7211 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7213 2002-12-16 Angus Leeming <leeming@lyx.org>
7216 * lyx_main.C (init): remove override_x_deadkeys stuff.
7218 2002-12-12 John Levon <levon@movementarian.org>
7220 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7221 insert. Only remove shift modifier under strict
7224 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * MenuBackend.C (expandToc): fix crash.
7228 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * MenuBackend.C (expandToc): gettext on float names.
7232 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7234 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7235 implement bool empty() [bug 490]
7237 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7239 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7241 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7243 * several files: ws changes
7245 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7247 * text2.C (setCounter): clean up a bit, use boost.format.
7248 (updateCounters): initialize par upon declaration.
7250 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7251 if the layout exists. We do not just store the layout any more.
7252 (SwitchLayoutsBetweenClasses): use boost.format
7254 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7256 * converter.C (convert): if from and to files are the same, use a
7257 temporary files as intermediary
7259 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7262 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7264 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7266 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7268 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7270 * tabular.C (asciiPrintCell): use string(size, char) instead of
7273 * sgml.C (openTag): fix order of arguments to string constructor
7276 * lyxfunc.C (dispatch): use boost.format
7278 * lots of files: change "c" -> 'c'
7280 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7282 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7284 2002-11-25 Angus Leeming <leeming@lyx.org>
7286 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7288 * lyx_main.C (init): compile fix.
7290 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7292 * lyx_cb.C (start): boost.formatify
7293 do not include <iostream>
7295 * lengthcommon.C: ws only
7297 * boost-inst.C,BoostFormat.h: add more explict instantations
7299 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7301 * lots of files: handle USE_BOOST_FORMAT
7303 2002-11-21 John Levon <levon@movementarian.org>
7305 * pspell.C: fix compile
7307 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7309 * lyxfunc.C (dispatch): use boost::format
7313 * lyxfont.C (stateText): use boost::format
7315 * lyx_main.C (LyX): use boost::format
7317 (queryUserLyXDir): ditto
7320 (typedef boost::function): use the recommened syntax.
7322 * importer.C (Import): use boost::format
7324 * debug.C (showLevel): use boost::format
7326 * converter.C (view): use boost::format
7331 * bufferview_funcs.C (currentState): use boost::format
7333 * bufferlist.C (emergencyWrite): use boost::format
7335 * buffer.C (readLyXformat2): use boost::format
7336 (parseSingleLyXformat2Token): ditto
7338 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7340 * LaTeX.C (run): use boost::format
7342 * Chktex.C (scanLogFile): use boost::format
7344 * BufferView_pimpl.C (savePosition): use boost::format
7345 (restorePosition): ditto
7346 (MenuInsertLyXFile): ditto
7348 * BoostFormat.h: help file for explicit instation.
7350 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7352 * tabular.C (latex): Support for block alignment in fixed width
7355 2002-11-17 John Levon <levon@movementarian.org>
7357 * BufferView_pimpl.C:
7359 * lyxfunc.C: split filedialog into open/save
7361 2002-11-08 Juergen Vigna <jug@sad.it>
7363 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7364 by my last patch (hopefully).
7366 2002-11-08 John Levon <levon@movementarian.org>
7375 * toc.C: ParConstIterator, and use it (from Lars)
7377 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7379 * lyxtextclass.[Ch]: revise and add doxygen comments
7381 2002-11-07 John Levon <levon@movementarian.org>
7383 * text.C: fix progress value for spellchecker
7385 * toc.C: fix navigate menu for insetwrap inside minipage
7387 * paragraph_funcs.C: added FIXME for suspect code
7389 2002-11-07 John Levon <levon@movementarian.org>
7391 * BufferView_pimpl.C: fix redrawing of insets
7394 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7396 * text2.C (updateCounters): fix bug 668
7398 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7400 * text3.C (dispatch): Do not make the buffer dirty when moving the
7403 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7405 * vc-backend.C: STRCONV
7408 * text2.C (setCounter): STRCONV
7410 * paragraph.C (asString): STRCONV
7412 * lyxlength.C (asString): STRCONV
7413 (asLatexString): ditto
7415 * lyxgluelength.C (asString): STRCONV
7416 (asLatexString): ditto
7418 * lyxfunc.C (dispatch): STRCONV
7421 * lyxfont.C (stateText): STRCONV
7423 * importer.C (Import): STRCONV
7425 * counters.C (labelItem): STRCONV
7426 (numberLabel): ditto
7427 (numberLabel): remove unused ostringstream o
7432 * bufferview_funcs.C (currentState): STRCONV
7434 * buffer.C (readFile): STRCONV
7435 (asciiParagraph): ditto
7436 (makeLaTeXFile): ditto
7438 * Spacing.C (writeEnvirBegin): STRCONV
7440 * LaTeXFeatures.C (getLanguages): STRCONV
7441 (getPackages): ditto
7443 (getBabelOptions): ditto
7444 (getTClassPreamble): ditto
7445 (getLyXSGMLEntities): ditto
7446 (getIncludedFiles): ditto
7450 (scanAuxFile): ditto
7453 * LString.h: add the STRCONV macros
7455 * BufferView_pimpl.C (savePosition): STRCONV
7456 (restorePosition): ditto
7457 (MenuInsertLyXFile): ditto
7459 * vc-backend.C (scanMaster): change from submatch[...] to
7462 * funcrequest.C: include config.h
7464 * factory.C: include config.h
7466 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7468 * box.C: include config.h
7470 * LaTeX.C (scanAuxFile): change from submatch[...] to
7474 2002-10-25 Angus Leeming <leeming@lyx.org>
7476 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7478 * ispell.[Ch] (setError): new method.
7479 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7480 Use setError() insetead of goto END.
7482 * lyx_cb.C (AutoSave): move out child process into new class
7485 2002-10-30 John Levon <levon@movementarian.org>
7487 * text3.C: make start appendix undoable
7489 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7491 * lyxlength.C (inPixels): Fix returned value.
7493 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7496 2002-10-24 Angus Leeming <leeming@lyx.org>
7498 * lyxgluelength.h: no need to forward declare BufferParams
7499 or BufferView, so don't.
7501 2002-10-21 John Levon <levon@movementarian.org>
7503 * BufferView.C: menuUndo ->undo, redo
7505 * BufferView.h: document, remove dead, make some methods private
7507 * paragraph_funcs.h:
7508 * paragraph_funcs.C:
7509 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7514 * sgml.C: move sgml open/close tag into sgml.C
7516 * bufferview_funcs.h: unused prototype
7519 * lyxfunc.C: remove unused
7522 * text.C: remove unused
7524 2002-10-21 John Levon <levon@movementarian.org>
7528 * BufferView_pimpl.h:
7529 * BufferView_pimpl.C: fix mouse wheel handling based on
7530 patch from Darren Freeman
7532 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7534 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7536 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7538 * lyxlength.C (inPixels): Fix hanfling of negative length.
7539 Fix LyXLength::MU case.
7541 2002-10-16 John Levon <levon@movementarian.org>
7543 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7545 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7547 * converter.C (view): add support for $$i (file name) and $$p
7548 (file path) for the viewer command. If $$i is not specified, then
7549 it is appended to the command (for compatibility with old syntax)
7551 2002-10-14 Juergen Vigna <jug@sad.it>
7553 * undo_funcs.C (textHandleUndo): alter the order in which the
7554 new undopar is added to the LyXText, as we have to set first
7555 the right prev/next and then add it as otherwise the rebuild of
7556 LyXText is not correct. Also reset the cursor to the right paragraph,
7557 with this IMO we could remove the hack in "redoParagraphs()".
7559 2002-10-09 Angus Leeming <leeming@lyx.org>
7561 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7562 to turn off an optimisation if a new inset is to be inserted.
7564 2002-10-11 André Pönitz <poenitz@gmx.net>
7566 * lyxtext.h: make some functions public to allow access
7567 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7569 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7571 * text3.C (dispatch): when changing layout, avoid an infinite loop
7574 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7576 * lyxrc.C (read): treat a viewer or converter command of "none" as
7579 * MenuBackend.C (expandFormats): for an update, also allow the
7580 formats that are not viewable
7582 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7583 script if it is newer than the lyxrc.defaults in user directory
7585 2002-10-07 André Pönitz <poenitz@gmx.net>
7587 * text.C: Vitaly Lipatov's small i18n fix
7589 2002-09-25 Angus Leeming <leeming@lyx.org>
7591 * ispell.h: doxygen fix.
7593 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7595 * buffer.h (readFile): Add a new argument to the method, to allow
7596 reading of old-format templates.
7598 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7600 * toc.C (getTocList): Get TOC from InsetWrap.
7602 2002-09-16 John Levon <levon@movementarian.org>
7604 * lyxfunc.C: check tabular for cut/copy too
7606 2002-09-12 John Levon <levon@movementarian.org>
7611 * factory.C: add header
7613 * paragraph_funcs.h:
7614 * paragraph_funcs.C: cleanup
7616 2002-09-11 John Levon <levon@movementarian.org>
7618 * PrinterParams.h: odd/even default to true
7620 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7622 * PrinterParams.h: update printer parameters for new xforms dialog
7624 2002-09-11 Angus Leeming <leeming@lyx.org>
7626 * lyxserver.C (read_ready): re-write to make it more transparent
7627 and to make it work in coherent fashion under Tru64 Unix.
7629 2002-09-11 André Pönitz <poenitz@gmx.net>
7633 * text3.C: implement LFUN_WORDSEL
7635 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7637 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7638 make floatlist_ a boost::shared_ptr<FloatList>
7640 * lyxtextclass.C: include FloatList.h
7641 (LyXTextClass): initialize floatlist_
7642 (TextClassTags): add TC_NOFLOAT
7643 (Read): match "nofloat" to TC_NOFLOAT and use it.
7644 (readFloat): modify call to floatlist_
7648 * FloatList.[Ch] (FloatList): remove commented out float
7650 (erase): new function
7652 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7654 * MenuBackend.C (expandToc): fix crash when there is no document
7657 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7659 * many files: Add insetwrap.
7661 2002-09-09 John Levon <levon@movementarian.org>
7663 * text2.C: remove confusing and awkward depth wraparound
7665 2002-09-09 John Levon <levon@movementarian.org>
7667 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7670 * buffer.C: remove getIncludeonlyList()
7673 * lyxfunc.C: remove headers
7675 2002-09-09 Juergen Vigna <jug@sad.it>
7677 * text.C (getColumnNearX): fix form Michael this is most
7678 probably a cut&paste bug.
7680 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7684 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7685 references, ws changes.
7687 * text2.C (init): update counters after init
7688 (insertParagraph): no need to set counter on idividual paragraphs.
7689 (setCounter): access the counters object in the textclass object
7690 on in the buffer object.
7691 (updateCounters): ditto
7693 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7694 shared_ptr<Counters> to avoid loading counters.h in all
7696 (LyXTextClass): initialize ctrs_
7697 (TextClassTags): add TC_COUNTER, and ...
7698 (Read): use it here.
7699 (CounterTags): new tags
7700 (readCounter): new function
7701 (counters): new funtion
7702 (defaultLayoutName): return a const reference
7704 * counters.C (Counters): remove contructor
7705 (newCounter): remove a couple of unneeded statements.
7706 (newCounter): simplify a bit.
7707 (numberLabel): some small formatting changes.
7709 * buffer.[Ch]: remove all traces of counters, move the Counters
7710 object to the LyXTextClass.
7712 2002-09-06 Alain Castera <castera@in2p3.fr>
7714 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7715 package to set the horizontal alignment on fixed width columns.
7718 * lyx_sty.h: added tabularnewline macro def.
7720 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7722 2002-09-06 John Levon <levon@movementarian.org>
7724 * LyXAction.C: tooltips for sub/superscript
7726 * MenuBackend.C: a bit more verbose
7728 * lyxfunc.C: tiny clean
7730 * undo_funcs.C: document undo_frozen
7732 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7734 * counters.C (Counters): add missing algorithm counter.
7736 * text2.C (setCounter): lookup the counter with layouts latexname
7737 instead of by section number.
7738 (setCounter): use a hackish way to lookup the correct enum
7740 a float name->type change
7741 reset enum couners with counter name directly instead of depth value.
7743 * counters.C (Counters): remove the push_backs, change to use the
7744 float type not the float name.
7745 (labelItem): remove unused string, float name->type change
7747 * counters.h: don't include vector, loose the enums and sects vectors
7749 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7752 (Read): add float->TC_FLOAT to textclassTags
7753 (Read): and handle it in the switch
7754 (readFloat): new function
7756 * FloatList.C (FloatList): comment out the hardcoded float
7759 * lyxlayout.h: ws change.
7761 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7763 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7765 2002-09-03 Angus Leeming <leeming@lyx.org>
7767 * BufferView_pimpl.h: qualified name is not allowed in member
7768 declaration: WorkArea & Pimpl::workarea() const;
7770 * factory.C: added using std::endl directive.
7772 * text3.C: added using std::find and std::vector directives.
7774 2002-08-29 André Pönitz <poenitz@gmx.net>
7777 * text2.C: remove unused member number_of_rows
7780 * BufferView2.C: remove file, move contents to...
7781 * BufferView.C: ... here
7783 * BufferView_pimpl.C:
7784 * factory.C: move more inset creation to factory
7786 * vspace.C: avoid direct usage of LyXText, ws changes
7789 don't provide direct access to WorkArea, use two simple
7790 acessors haveSelction() and workHeight() instead
7793 2002-08-29 John Levon <levon@movementarian.org>
7795 * BufferView_pimpl.C (dispatch): do not continue when
7798 2002-08-28 André Pönitz <poenitz@gmx.net>
7800 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7803 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7805 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7807 * buffer.C: increment LYX_FORMAT to 221
7809 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7810 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7812 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7814 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7816 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7818 * factory.C (createInset): use LyXTextClass::floats
7820 * MenuBackend.C (expandFloatListInsert):
7821 (expandFloatInsert):
7824 * text2.C (setCounter):
7826 * LaTeXFeatures.C (useFloat):
7827 (getFloatDefinitions):
7829 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7831 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7832 floatlist_, with accessor floats().
7834 * FloatList.h: remove global FloatList
7836 2002-08-26 André Pönitz <poenitz@gmx.net>
7838 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7842 * BufferView_pimpl.C:
7843 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7845 2002-08-25 John Levon <levon@movementarian.org>
7847 * LyXAction.C: fix margin note description
7849 2002-08-24 John Levon <levon@movementarian.org>
7853 * bufferview_funcs.C:
7855 * undo_funcs.C: cleanups
7857 * lyxfunc.C: disable CUT/COPY when no selection
7859 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7861 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7862 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7864 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7865 Add backward compatibility to "mono", "gray" and "no".
7867 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7869 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7870 (and file_format >= 200).
7872 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7874 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7876 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7878 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7880 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7882 * BufferView_pimpl.C:
7889 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7890 inset and code to make it work with the paragraph code. The inset
7891 can be anywhere in the paragraph, but will only do the expected
7892 thing in LaTeX if the layout file contains the parameter line
7894 (or more generally, a nonzero value) for that layout.
7896 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7898 * paragraph.h: remove the declaration of undefined counters class
7901 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7903 * text2.C (setCounter): fixed enumeration mis-count as reported by
7904 Dr. Richard Hawkins.
7906 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7908 * paragraph_funcs.h: remove some unneeded includes
7910 * text.C (backspace): pasteParagraph now in global scipe
7912 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7913 (pasteSelection): ditto
7915 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7916 * paragraph_funcs.C (pasteParagraph): ... here
7918 2002-08-20 André Pönitz <poenitz@gmx.net>
7920 * commandtags.h: new LFUNs for swapping/copying table row/colums
7923 * lyxfunc.C: support for new lfuns
7925 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7928 * buffer.[Ch]: remove NO_COMPABILITY stuff
7930 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7932 * boost.C (throw_exception): new file, with helper function for
7933 boost compiled without exceptions.
7938 * ParameterStruct.h:
7939 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7941 * bufferlist.C (emergencyWriteAll): use boost bind
7943 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7945 * text.C: include paragraph_funcs.h
7946 (breakParagraph): breakParagraph is now in global scope
7948 * paragraph_funcs.[Ch]: new files
7950 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7953 * buffer.C: include paragraph_funcs.h
7954 (insertStringAsLines): breakParagraph is now in global scope
7956 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7959 * CutAndPaste.C: include paragraph_funcs.h
7960 (cutSelection): breakParagraphConservative is now in global scope
7961 (pasteSelection): ditto
7963 * buffer.h: declare oprator== and operator!= for
7964 Buffer::inset_iterator
7966 * bufferlist.C (emergencyWrite): don't use fmt(...)
7968 * text3.C: add using std::endl
7970 * BufferView.C (moveCursorUpdate): remove default arg
7972 2002-08-20 André Pönitz <poenitz@gmx.net>
7974 * buffer.[Ch]: move inline functions to .C
7977 * BufferView_pimpl.C:
7979 * buffer.[Ch]: use improved inset_iterator
7982 * paragraph.[Ch]: write one paragraph at a time
7984 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7986 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7987 style if style is not specified.
7989 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7991 * text2.C (setCounter): when searching for right label for a
7992 caption, make sure to recurse to parent insets (so that a caption
7993 in a minipage in a figure float works) (bug #568)
7995 2002-08-20 André Pönitz <poenitz@gmx.net>
7997 * text3.C: new file for LyXText::dispatch() and helpers
7999 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8001 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8003 2002-08-19 André Pönitz <poenitz@gmx.net>
8006 * text.C: new LyXText::dispatch()
8008 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8010 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8012 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8014 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8017 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8019 * Makefile.am: use $(variables) instead of @substitutions@
8021 2002-08-15 André Pönitz <poenitz@gmx.net>
8024 * BufferView_pimpl.C: streamlining mathed <-> outer world
8028 * LyXAction.C: remove unused LFUN_MATH
8030 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8034 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8036 * paragraph.C (Paragraph): reformat a bit
8037 (cutIntoMinibuffer): use builtin InsetList function instad of
8041 * buffer.C: include boost/bind.hpp, add using std::for_each
8042 (writeFileAscii): use ParagraphList iterators
8043 (validate): use for_each for validate traversal of paragraphs
8044 (getBibkeyList): use ParagraphList iterators
8045 (resizeInsets): use for_each to resizeInsetsLyXText for all
8047 (getParFromID): use ParagraphList iterators
8049 * BufferView2.C (lockInset): use paragraph list and iterators
8051 2002-08-14 John Levon <levon@movementarian.org>
8053 * lyxserver.C: remove spurious xforms include
8055 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8057 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8059 2002-08-13 André Pönitz <poenitz@gmx.net>
8062 * lyxfunc.C: further cleaning
8064 2002-08-13 André Pönitz <poenitz@gmx.net>
8066 * funcrequest.h: new constructor
8068 * funcrequest.C: move stuff here from .h
8071 * BufferView_pimpl.C:
8074 * lyxfunc.C: subsequent changes
8076 * lyxfunc.h: new view() member function
8078 * lyxfunc.C: subsequent changes
8080 2002-08-13 Angus Leeming <leeming@lyx.org>
8083 * BufferView_pimpl.C:
8091 changes due to the changed LyXView interface that now returns references
8092 to member variables not pointers.
8094 2002-08-13 Angus Leeming <leeming@lyx.org>
8096 * WordLangTuple (word, lang_code): return references to strings,
8101 * lyxtext.h: forward-declare WordLangTuple.
8106 * text.C: #include "WordLangTuple.h".
8109 * text.C: (selectNextWordToSpellcheck): constify return type.
8111 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8117 * paragraph_pimpl.h:
8120 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8122 Made updateCounter always count from start of buffer, and removed
8123 second argument (par).
8124 Reverted floats number display to '#'. Perhaps I'll try again when the
8125 code base is sanitized a bit.
8127 2002-08-12 Angus Leeming <leeming@lyx.org>
8129 * buffer.[Ch] (getLabelList): constify.
8131 2002-08-07 André Pönitz <poenitz@gmx.net>
8133 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8135 * funcrequest.h: extension to keep mouse (x,y) position
8137 2002-08-12 Juergen Vigna <jug@sad.it>
8139 * BufferView2.C (insertErrors): forbid undo when inserting error
8142 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8144 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8146 * ParagraphList.[Ch]: new files
8148 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8150 * BufferView2.C (lockInset): ParagraphList changes
8153 * bufferlist.C: ditto
8157 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8159 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8160 unused class variable counter_,
8162 * paragraph.[Ch] (getFirstCounter): delete unused function
8164 * counters.C: include LAssert.h
8165 (reset): add a new function with no arg, change other version to
8166 not have def. arg and to not allow empty arg.
8168 * text2.C (setCounter): remove empty arg from call to Counters::reset
8170 2002-08-11 John Levon <levon@movementarian.org>
8172 * Makefile.am: add WordLangTuple.h
8174 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8176 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8177 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8179 * insets/insettext.C: InsetList changes
8181 * graphics/GraphicsSupport.C (operator()): InsetList changes
8183 * toc.C (getTocList): InsetList changes
8185 * paragraph_pimpl.[Ch]: InsetList changes
8187 * paragraph.[Ch]: InsetList changes
8189 * buffer.C (inset_iterator): InsetList changes
8190 (setParagraph): ditto
8191 * buffer.h (inset_iterator): ditto
8192 * iterators.C (operator++): ditto
8193 * iterators.h: ditto
8195 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8197 * InsetList.[Ch]: new files, most InsetList handling moved out of
8200 * BufferView2.C (removeAutoInsets): InsetList changes
8202 (ChangeInsets): ditto
8204 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8206 * paragraph_pimpl.h (empty): new function
8208 * paragraph.[Ch] (empty): new function
8210 * other files: use the new Paragraph::empty function
8212 2002-08-09 John Levon <levon@movementarian.org>
8214 * lyxtext.h: remove unused refresh_height
8216 2002-08-09 John Levon <levon@movementarian.org>
8223 * paragraph.C: move sgml char escaping out of paragraph
8226 * paragraph.C: remove id setter
8230 * paragraph_pimpl.C: remove dead tex_code_break_column
8232 * bufferview_funcs.C: small cleanup
8234 * lyxfunc.C: remove dead proto
8236 * lyxtext.h: make some stuff private. Remove some dead stuff.
8238 * lyxgluelength.C: make as[LyX]String() readable
8240 2002-08-08 John Levon <levon@movementarian.org>
8245 * ToolbarDefaults.C:
8248 * toc.C: lyxaction cleanup
8250 2002-08-08 John Levon <levon@movementarian.org>
8252 * BufferView2.C: small cleanup
8255 * lyxfind.C: move unnecessary header into the .C
8257 2002-08-08 John Levon <levon@movementarian.org>
8259 * funcrequest.h: just tedious nonsense
8262 * lyx_main.C: cleanups
8265 * vspace.C: remove dead header lyx_main.h
8267 2002-08-07 Angus Leeming <leeming@lyx.org>
8270 * paragraph_pimpl.h:
8271 Forward declare class Counters in paragraph.h by moving the ctrs member
8272 variable into Paragraph::Pimpl.
8273 (counters): new method, returning a reference to pimpl_->ctrs.
8275 * text2.C: ensuing changes.
8277 2002-08-07 John Levon <levon@movementarian.org>
8279 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8281 * BufferView_pimpl.C: announce X selection on double/triple
8284 * lyx_main.C: use correct bool in batch dispatch
8286 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8288 2002-08-07 André Pönitz <poenitz@gmx.net>
8290 * funcrequest.h: new class to wrap a kb_action and its argument
8293 * BufferView_pimpl[Ch]:
8297 * lyxrc.C: subsequent changes
8300 2002-08-07 John Levon <levon@movementarian.org>
8302 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8303 document options change.
8305 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8310 * makefile.am: move counters functionality over from
8311 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8313 2002-08-06 John Levon <levon@movementarian.org>
8315 * WordLangTuple.h: new file for word + language code tuple
8326 * BufferView2.C: use WordLangTuple
8329 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8331 2002-08-06 John Levon <levon@movementarian.org>
8333 * lyx_main.C: fix cmdline batch handling
8335 2002-08-06 André Pönitz <poenitz@gmx.net>
8337 * lyxrc.C: set default for show_banner to true
8339 2002-08-06 John Levon <levon@movementarian.org>
8341 * pspell.C: fix a crash, and allow new aspell to work
8343 2002-08-06 John Levon <levon@movementarian.org>
8346 * kbmap.C: small cleanup
8349 * vspace.C: add const
8351 2002-08-05 John Levon <levon@movementarian.org>
8353 * LyXAction.C: back to tabular-insert
8355 2002-08-04 John Levon <levon@movementarian.org>
8358 * BufferView.C: cosmetic change
8360 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8370 * BufferView2.C: purge all "Lyx" not "LyX" strings
8373 * lyxcursor.C: attempt to add some documentation
8378 * ToolbarDefaults.C:
8379 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8380 merge with LFUN_TABULAR_INSERT
8387 * pspell.C: split up i/pspell implementations into separate
8388 files, many cleanups
8390 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8392 * text2.C: some cleanup
8394 * lyxfunc.C: don't check for isp_command == "none" any more, it
8395 didn't make any sense
8397 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8402 * makefile.am: move counters functionality over
8403 from text2.C/paragraph.[Ch] to counters.[Ch], and
8405 2002-08-02 John Levon <levon@movementarian.org>
8407 * buffer.C: s/lyxconvert/lyx2lyx/
8409 2002-08-02 Angus Leeming <leeming@lyx.org>
8411 * lyxlex.C: revert John's change as it breaks reading of the user
8414 2002-08-02 Angus Leeming <leeming@lyx.org>
8416 * importer.C (Import):
8417 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8418 changes due to LyXView::view() now returning a boost::shared_ptr.
8420 2002-08-02 John Levon <levon@movementarian.org>
8422 * lyxlex.C: small cleanup
8424 2002-08-02 John Levon <levon@movementarian.org>
8426 * text2.C (status): small cleanup, no logic change
8428 2002-08-01 John Levon <levon@movementarian.org>
8431 * buffer.C (writeFile): don't output alerts, caller
8435 * lyx_cb.C: from above
8437 * lyxfunc.C: allow to open non-existent files
8439 2002-07-31 John Levon <levon@movementarian.org>
8441 * lyxserver.C: don't let incidental errors get
8444 2002-07-30 John Levon <levon@movementarian.org>
8446 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8448 2002-07-30 John Levon <levon@movementarian.org>
8451 * lyxserver.C: remove I/O callback too
8453 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8455 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8458 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8460 * many files: strip,frontStrip -> trim,ltrim,rtrim
8462 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8464 * PrinterParams.h: remove extern containsOnly, and include
8465 support/lstrings.h instead.
8467 * LaTeX.C (scanAuxFile): modify because of strip changes
8469 * buffer.C (makeLaTeXFile): ditto
8470 * bufferparams.C (writeFile): ditt
8471 * lyxfont.C (stateText): ditto
8472 * lyxserver.C (read_ready): ditto
8473 * vc-backend.C (scanMaster): ditto
8475 * BufferView_pimpl.h: ws changes
8477 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8479 2002-07-26 André Pönitz <poenitz@gmx.net>
8481 * kb_sequence.C: remove unnedred usings
8483 2002-07-26 Juergen Vigna <jug@sad.it>
8485 * lyxfind.C (LyXReplace): we have to check better if the returned
8486 text is not of theLockingInset()->getLockingInset().
8488 2002-07-25 Juergen Vigna <jug@sad.it>
8490 * lyxfind.C (LyXReplace): don't replace if we don't get the
8493 * undo_funcs.C (createUndo): remove debugging code.
8495 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8497 * buffer.C (parseSingleLyXformat2Token): Use default placement
8498 when reading old floats.
8500 * FloatList.C (FloatList): Change the default placement of figure
8501 and tables to "tbp".
8503 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8505 * MenuBackend.C: using std::max
8507 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8509 * MenuBackend.C (expandToc):
8510 (expandToc2): code moved from xforms menu frontend. It is now
8511 generic and TOCs are transparent to menu frontends.
8513 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8515 * toc.C (getTocList): protect against buf=0
8517 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8518 Menu as first parameter. Now, this calls itself recursively to
8519 expand a whole tree (this will be useful for TOC handling)
8520 (expandFloatInsert): remove 'wide' version of floats
8522 * MenuBackend.h (submenuname): returns the name of the submenu.
8523 (submenu): returns the submenu itself, provided it has been
8524 created by MenuBackend::expand
8526 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8528 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8529 insets which have noFontChange == true. (bug #172)
8531 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8533 * BufferView_pimpl.C: add connection objects and use them...
8536 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8538 * MenuBackend.C (expandLastfiles):
8541 (expandFloatListInsert):
8542 (expandFloatInsert):
8543 (expand): split expand in parts
8545 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8547 * lyx_gui.C: use lyx_gui::exit()
8549 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8551 * LyXAction.C: show the failing pseudo action
8553 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8555 * buffer.C (readFile): Run the lyxconvert script in order to read
8558 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8562 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8564 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8568 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8570 2002-07-22 Herbert Voss <voss@lyx.org>
8573 * lyxlength.[Ch]: add support for the vertical lengths
8575 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8577 * toc.[Ch]: std:: fixes
8579 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8581 * lyxrc.C: do not include lyx_main.h
8583 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8589 * BufferView2.C: include "lyxlex.h"
8592 * bufferparams.h: do not #include "lyxlex.h"
8594 * lyxtextclasslist.C (Add): remove method
8595 (classlist): renamed to classlist_
8597 * paragraph_pimpl.C:
8601 * bufferview_funcs.C:
8606 * toc.C (getTocList): use BufferParams::getLyXTextClass
8608 * toc.C (getTocList): use InsetFloat::addToToc
8610 * toc.[Ch]: new files, containing helper functions to handle table
8613 * lyxfunc.C (dispatch): no need to remove spaces around command
8615 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8616 first command of the sequence; it is not very clever, but I do not
8617 have a better idea, actually
8619 * LyXAction.C (LookupFunc): make sure to remove space at the
8620 beginning and end of the command
8622 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8624 * MenuBackend.C (getMenubar): new method: return the menubar of
8626 (read): treat differently reading of menu and menubar (in
8627 particular, the menubar has no name now)
8628 (Menu::menubar): remove
8630 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8633 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8635 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8636 a bibitem inset in a RTL paragraph.
8638 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8640 * paragraph_pimpl.C: constify
8642 * BufferView_pimpl.C:
8644 * lyxfunc.C: fix dispatch in a nicer way
8646 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8648 * lyxfunc.C (dispatch):
8649 * BufferView_pimpl.C:
8650 * BufferView_pimpl.h:
8652 * BufferView.h: rename Dispatch() to dispatch()
8654 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8656 * lyxlayout.C (Read): honor DependsOn tag
8658 * lyxlayout.[Ch] (depends_on): new method
8660 * version.C.in: update lyx_docversion
8662 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8664 * paragraph.C (validate): remove from here...
8665 * paragraph_pimpl.C (validate): ... and move here
8666 (isTextAt): make it const
8668 * buffer.C (getLists): ws cleanup
8670 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8672 * language.C (read): Use iso8859-1 encoding in latex_lang
8673 (this prevents LyX from crashing when using iso10646-1 encoding).
8675 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8677 * text2.C (toggleInset): if cursor is inside an inset, close the
8678 inset and leave cursor _after_ it
8680 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8682 * lyxfunc.C: move minibuffer completion handling out of here
8684 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8686 * BufferView_pimpl.C:
8687 * LaTeX.C: fix dispatch calls
8689 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8691 * text.C (drawChars): Fix Arabic text rendering.
8693 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8697 * lyxfunc.C: remove message-push/pop
8701 * lyxfunc.C: rationalise some code by removing verboseDispatch
8702 in favour of a bool argument to dispatch()
8704 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8706 * lyx_main.C (init): make sure to read symlinks as absolute paths
8708 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8711 * lyxfunc.C: no need for commandshortcut to be a member
8713 2002-07-15 André Pönitz <poenitz@gmx.net>
8715 * converter.C: add support for $$s (scripts from lib/scripts dir)
8716 * lyx_main.C: white space
8718 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8722 * lyxrc.C: remove second exit confirmation
8724 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8729 * BufferView_pimpl.h:
8730 * BufferView_pimpl.C:
8731 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8733 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8735 * MenuBackend.C (expand): add numeric shortcuts to document menu
8737 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8739 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8741 * lyxfont.C (setLyXFamily):
8748 * buffer.C (asciiParagraph): use ascii_lowercase
8750 2002-07-15 Mike Fabian <mfabian@suse.de>
8752 * lyxlex_pimpl.C (search_kw):
8753 * lyxlex.C (getLongString):
8754 * converter.h (operator<):
8755 * converter.C (operator<):
8756 * buffer.C (parseSingleLyXformat2Token):
8758 * ToolbarDefaults.C (read):
8759 * MenuBackend.C (checkShortcuts):
8761 * LColor.C (getFromGUIName):
8762 (getFromLyXName): use the compare_ascii_no_case instead of
8763 compare_no_case, because in turkish, 'i' is not the lowercase
8764 version of 'I', and thus turkish locale breaks parsing of tags.
8766 2002-07-16 Angus Leeming <leeming@lyx.org>
8768 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8769 now takes a Buffer const & argument.
8771 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8773 * BufferView.C (resize): check there's a buffer to resize
8775 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8777 * lyxfunc.C: remove dead code
8780 * lyxserver.C: use lyx_guii::set_read_callback
8782 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8784 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8785 an inset in a RTL paragraph.
8787 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8789 * lyxfunc.C: repaint after a font size update
8791 2002-07-15 André Pönitz <poenitz@gmx.net>
8793 * lyxlength.C: inBP should be able to return negative values
8795 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8797 * lyxfunc.C: use lyx_gui::update_fonts()
8799 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8801 * lyxfunc.C: use lyx_gui::update_color()
8803 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8809 * lyxrc.C: remove file->new asks for name option, and let
8810 buffer-new take an argument
8812 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8814 * BufferView_pimpl.C: remove unneeded extra repaint()
8816 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8818 * LyXAction.C: allow command-sequence with NoBuffer
8820 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8822 2002-07-10 Angus Leeming <leeming@lyx.org>
8824 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8826 2002-07-09 Angus Leeming <leeming@lyx.org>
8828 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8830 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8832 * lengthcommon.h: whitespace
8834 * lyxfunc.C: update scrollbar after goto paragraph
8836 * lyxtext.h: factor out page break drawing, and fix it so
8837 page break/added space paints as selected nicely
8839 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8841 * BufferView_pimpl.C: add FIXMEs, clean up a little
8843 2002-07-09 André Pönitz <poenitz@gmx.net>
8845 * lyxfont.[Ch]: support for wasy symbols
8847 2002-07-08 André Pönitz <poenitz@gmx.net>
8849 * BufferView_pimpl.C: apply John's patch for #93.
8851 2002-07-05 Angus Leeming <leeming@lyx.org>
8853 * BufferView_pimpl.C (buffer): generate previews if desired.
8855 * LColor.h: add "preview" to the color enum.
8857 * LColor.C (LColor): add a corresponding entry to the items array.
8859 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8862 2002-07-05 Angus Leeming <leeming@lyx.org>
8864 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8865 The body of the code is now in the method that is passed an ostream &
8866 rather than a file name.
8867 Pass an additional only_preamble parameter, useful for the forthcoming
8870 2002-07-03 André Pönitz <poenitz@gmx.net>
8872 * lyxfunc.C: simplify getStatus() a bit for math stuff
8874 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8876 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8878 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8880 * text.C (changeRegionCase): do not change case of all the
8881 document when region ends at paragraph end (bug #461)
8883 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8885 * paragraph.C (startTeXParParams):
8886 (endTeXParParams): add \protect when necessary
8888 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8890 * BufferView_pimpl.C (workAreaExpose): remove warning
8892 2002-06-27 Angus Leeming <leeming@lyx.org>
8894 * Makefile.am: add lyxlayout_ptr_fwd.h.
8896 2002-06-26 André Pönitz <poenitz@gmx.net>
8898 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8900 2002-06-25 Angus Leeming <leeming@lyx.org>
8902 * lyxfunc.C (dispatch): Comment out the call to
8903 grfx::GCache::changeDisplay. The method no longer exists now that the
8904 pixmap generation part of the graphics loader has been moved into
8907 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8909 * text2.C: layout as layout
8911 * text.C: layout as layout
8913 * tabular.C (OldFormatRead): layout as layout
8915 * paragraph_pimpl.C (TeXDeeper): layout as layout
8916 (realizeFont): layout as layout
8918 * paragraph.C (writeFile): layout as layout
8919 (validate): layout as layout
8920 (getFont): layout as layout
8921 (getLabelFont): layout as layout
8922 (getLayoutFont): layout as layout
8923 (breakParagraph): layout as layout
8924 (stripLeadingSpaces): layout as layout
8925 (getEndLabel): layout as layout
8926 (getMaxDepthAfter): layout as layout
8927 (applyLayout): layout as layout
8928 (TeXOnePar): layout as layout
8929 (simpleTeXOnePar): layout as layout
8930 (TeXEnvironment): layout as layout
8931 (layout): layout as layout
8932 (layout): layout as layout
8934 * lyxtextclass.C (compare_name): new functor to work with
8935 shared_ptr, layout as layout
8936 (Read): layout as layout
8937 (hasLayout): layout as layout
8938 (operator): layout as layout
8939 (delete_layout): layout as layout
8940 (defaultLayout): layout as layout
8942 * lyxlayout_ptr_fwd.h: new file
8944 * lyxlayout.C (Read): layout as layout
8946 * lyx_cb.C (MenuInsertLabel): layout as layout
8948 * bufferlist.C (newFile): layout as layout
8950 * buffer.C (readLyXformat2): layout as layout
8951 (parseSingleLyXformat2Token): layout as layout
8952 (insertStringAsLines): layout as layout
8953 (asciiParagraph): layout as layout
8954 (latexParagraphs): layout as layout
8955 (makeLinuxDocFile): layout as layout
8956 (simpleLinuxDocOnePar): layout as layout
8957 (makeDocBookFile): layout as layout
8958 (simpleDocBookOnePar): layout as layout
8959 (getLists): layout as layout
8961 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8963 * CutAndPaste.C (cutSelection): layout as layout
8964 (pasteSelection): layout as layout
8965 (SwitchLayoutsBetweenClasses): layout as layout
8967 * BufferView_pimpl.C (Dispatch): layout as layout
8968 (smartQuote): layout as layout
8970 * BufferView2.C (unlockInset): layout as layout
8972 2002-06-24 André Pönitz <poenitz@gmx.net>
8974 * lyxfunc.C: fix #487
8976 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8980 * lyxfunc.C: remove display_shortcuts, show_banner
8982 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8984 * Buffer_pimpl.C: oops, update on resize
8986 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8993 * BufferView.C: use repaint()
8995 * BufferView_pimpl.h:
8996 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8997 as it's a clearer description. Remove superfluous
9000 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9002 * text.C: fix bug 488. Not ideal, but getting
9003 getWord() to work properly for the insets that
9004 matter is more difficult ...
9006 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9008 * BufferView_pimpl.C:
9011 * lyxfunc.C: remove the six million index lyxfuncs to just
9012 one, and DTRT (bug 458)
9014 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9018 * BufferView_pimpl.h:
9019 * BufferView_pimpl.C: clean up resize() stuff,
9020 and unnecessary updateScreen()s
9022 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9026 * BufferView_pimpl.h:
9027 * BufferView_pimpl.C:
9030 * minibuffer.C: remove focus management of workarea,
9031 not needed. Use screen's greyOut()
9033 2002-06-17 Herbert Voss <voss@lyx.org>
9035 * converter.C: (convert) do not post a message, when converting
9036 fails, let the calling function decide what to do in this case
9038 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9040 * lyxfunc.C: tidy up a little
9042 2002-06-16 <alstrup@diku.dk>
9044 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9045 Got rid of FORMS_H_LOCATION include. Now we are
9048 2002-06-15 LyX Development team <lyx@rilke>
9050 * buffer.[Ch] (sgmlOpenTag):
9051 (sgmlCloseTag): Added support for avoiding pernicious mixed
9052 content. Return number of lines written.
9055 (makeDocBookFile): Fixed calls to sgml*Tag.
9056 Simple white space clean.
9058 (simpleDocBookOnePar): Simple white space clean.
9060 * tabular.[Ch] (docBook): Renamed to docbook and got another
9061 argument to related with the pernicious mixed content.
9063 (docbookRow): Fixed calls for docbook inset method.
9065 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9067 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9068 so it's X11 independent.
9072 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9074 2002-06-15 Lyx Development team <lyx@electronia>
9076 * intl.h: Renamed getTrans to getTransManager.
9078 2002-06-14 Angus Leeming <leeming@lyx.org>
9080 * Makefile.am: nuke forgotten stl_string_fwd.h.
9082 2002-06-12 Angus Leeming <leeming@lyx.org>
9084 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9086 2002-06-13 Angus Leeming <leeming@lyx.org>
9089 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9091 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9093 * kbmap.C (getiso): add support for cyrillic and greek
9095 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9099 * BufferView_pimpl.h:
9100 * BufferView_pimpl.C: move bogus scrolling logic
9103 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9106 * BufferView_pimpl.C: view->resize() change
9108 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9110 * BufferView_pimpl.C: topCursorVisible
9113 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9117 * lyx_gui.C: move to frontends/
9121 * lyx_main.C: changes from above
9123 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9130 * lyx_main.C: minor tidy
9132 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9134 * BufferView_pimpl.h:
9135 * BufferView_pimpl.C:
9137 * BufferView.C: make painter() const,
9140 * BufferView2.C: use screen() accessor
9143 * lyx_main.C: some minor cleanup
9145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9147 * BufferView_pimpl.h:
9148 * BufferView_pimpl.C: remove enter/leaveView,
9151 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9156 * BufferView_pimpl.h:
9157 * BufferView_pimpl.C: only construct screen once,
9160 * lyxrc.C: remove pointless comment
9162 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9165 * BufferView.C: remove active() and belowMouse()
9167 * BufferView_pimpl.h:
9168 * BufferView_pimpl.C: use workarea() not workarea_,
9169 and make it use a scoped_ptr instead
9171 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9173 * lyx_gui.C: add debug message on BadWindow
9175 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9177 * sp_spell.C: fdopen is not part of the C++ standard.
9179 * paragraph.C (InsetIterator): use >= instead of ==
9181 2002-06-07 Angus Leeming <leeming@lyx.org>
9183 Fixes needed to compile with Compaq cxx 6.5.
9184 * BufferView_pimpl.C:
9191 * lyxtextclasslist.C:
9196 all c-library variables have been moved into namespace std. Wrap
9197 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9202 Add a using std::abs declaration.
9204 * kbmap.h (modifier_pair):
9205 * paragraph.h (InsetTable, InsetList):
9206 * lyxfont.h (FontBits):
9207 type definition made public.
9209 * bufferlist.C (emergencyWriteAll): the compiler complains that
9210 there is more than one possible lyx::class_fun template to choose from.
9211 I re-named the void specialisation as lyx::void_class_fun.
9213 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9215 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9216 the compiler is is unable to find tostr in write_attribute.
9218 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9220 * buffer.C (sgmlError): hide #warning
9222 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9224 * xtl/*: get rid of xtl, which is not in use anyway
9226 * LyXAction.C (init):
9227 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9228 were unimplemented xtl experimentation
9230 2002-06-04 André Pönitz <poenitz@gmx.net>
9232 * lyxfunc.C: disable array operation on simple formulae
9234 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9236 * converter.C: constify a bit
9238 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9240 * lyx_gui.C: check xforms version correctly
9242 2002-04-30 Herbert Voss <voss@lyx.org>
9244 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9247 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9249 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9250 attempt to register it with a VCS)
9252 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9254 * lyx_main.C (init): honor variables LYX_DIR_13x and
9257 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9261 * lyx_main.C: fix a crash on bad command line,
9262 and give a useful exit status on error
9264 * lyxfunc.C (doImport): allow -i lyx to work
9266 2002-03-30 André Pönitz <poenitz@gmx.net>
9268 * lyxfunc.C: mathed font changes
9270 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9285 * trans_mgr.h: srcdocs, and some minor cleanups
9287 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9289 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9290 call getFont all the time)
9292 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * switch from SigC signals to boost::signals
9296 2002-05-29 André Pönitz <poenitz@gmx.net>
9298 * paragraph_pimpl.C (getChar): don't call size() too often...
9300 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9302 * paragraph_pimpl.C (insertChar): do not try to update tables when
9303 appending (pos == size())
9305 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9306 in order to reduce drastically the number of comparisons needed to
9307 parse a large document
9309 2002-05-29 André Pönitz <poenitz@gmx.net>
9315 * textclasslist.[Ch]:
9316 * sp_ispell.h: whitespace change
9318 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9320 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9321 lyxaction directly now.
9323 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9327 * lyxvc.C: remove unused headers
9329 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9336 * undo_funcs.C: some cleanups. Use shared_ptr
9337 and a template for the undo stacks.
9339 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9341 * BufferView_pimpl.h:
9342 * BufferView_pimpl.C:
9349 * text2.C: use key_state/mouse_state
9351 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9353 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9356 * chset.C: change include order
9357 (loadFile): use boost regex and get rid of LRegex and LSubstring
9359 * Makefile.am (BOOST_LIBS): new variable
9362 * LaTeX.C: change include order.
9363 (scanAuxFile): use boost regex and get rid of LRegex and
9367 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9372 * FontInfo.C: moved to frontends/xforms/
9375 * FontLoader.C: moved into frontends for GUIIzation
9380 * lyxfunc.C: changes from above
9382 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9384 * LColor.C: remove spurious X include
9386 * BufferView_pimpl.C:
9391 * text2.C: move font metrics to frontends/
9393 2002-05-24 Juergen Vigna <jug@sad.it>
9395 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9396 setting the undo_cursor.
9398 * ParagraphParameters.h: include local includes first.
9400 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9402 * BufferView_pimpl.C:
9403 * BufferView_pimpl.h:
9407 * screen.C: move WorkArea into frontends/
9413 * BufferView2.C: move LyXScreen into frontends/
9417 * lyx_gui.C: move lyxlookup into frontends/xforms/
9419 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9422 * BufferView_pimpl.C:
9432 * bufferview_funcs.C:
9445 * vc-backend.C: move LyX/XFormsView into frontends/
9447 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9459 * text2.C: move Painter to frontends/
9461 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9463 * buffer.C: comment out some some code that depend upon lyx_format
9466 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9467 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9469 * buffer.h (NO_COMPABILITY): turn off compability
9471 * ColorHandler.C: include scoped_array.hpp
9473 * font.C: Use more specific smart_ptr header.
9476 * ShareContainer.h: ditto
9480 * BufferView_pimpl.h: ditto
9481 * ColorHandler.h: ditto
9483 * kbmap.C (defkey): change call to shared_ptr::reset
9485 2002-05-21 Juergen Vigna <jug@sad.it>
9487 * buffer.C (insertErtContents): fix to insert ert asis if it is
9488 non empty. Skip it completely if it contains only whitespaces.
9490 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9492 * BufferView_pimpl.C:
9493 * BufferView2.C: clear selection on paste (bug 393)
9495 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9497 * DepTable.C: include ctime
9499 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9501 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9503 2002-05-14 Juergen Vigna <jug@sad.it>
9505 * text.C (breakParagraph): fixed function to honor the keepempty
9506 layout in the right maner and also to permit the right breaking
9507 algorithm on empty or non empyt keepempty paragraphs.
9509 * paragraph.C (breakParagraph): we have to check also if the par
9510 is really empty (!size()) for isempty otherwise we do the wrong
9513 2002-05-10 Juergen Vigna <jug@sad.it>
9515 * buffer.[Ch] : The following are only changes to the ert
9516 compatibility read reading old LaTeX layout and font stuff and
9517 convert it to ERTInsets.
9519 * buffer.h: added isErtInset().
9521 * buffer.C (struct ErtComp): add a fromlayout bool to check
9522 if we're inside a LaTeX layout.
9523 (isErtInset): new helper function.
9524 (insertErtContents): look for other ert insets before this one
9525 and insert the contents there, so that we don't have subsequent
9526 ERT insets with nothing between them. This way we create only one
9527 inset with multiple paragraphs. Also check if we don't insert only
9528 spaces ' ' as they are ignored anyway afterwards in the .tex file
9529 so if we have only spaces we will ignore this latex part in the
9531 (parseSingleLyXformat2Token \\layout): better compatibility when
9532 reading layout-latex stuff.
9533 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9535 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9536 stuff after reading the inset only get the information back from
9539 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9541 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9543 * LaTeXFeatures.C (getBabelOptions): New method.
9545 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9547 * BufferView_pimpl.C (Dispatch): work around missing argument for
9550 2002-05-08 Juergen Vigna <jug@sad.it>
9552 * text.C (leftMargin): handle paragraph leftindent.
9554 * paragraph.C (writeFile): write the new \\leftindent tag.
9555 (validate): handle leftindent code.
9556 (TeXEnvironment): handle paragraphleftindent code again.
9558 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9560 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9561 for paragrap_extra indent code and new token \\leftindent.
9562 (latexParagraphs): handle the leftindent as environment.
9564 * ParameterStruct.h: added leftindent support.
9566 * ParagraphParameters.C (leftIndent): added support functions for
9567 the paragraph left indent.
9569 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9572 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9574 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9577 * text.C (computeBidiTables): No bidi in insetERT.
9579 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9582 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9584 * version.C.in: pre 5
9586 2002-05-02 José Matos <jamatos@fep.up.pt>
9587 * buffer.C (makeDocBookFile): white space changes, add newline to
9589 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9591 * tabular.C (docBook): fix typo.
9593 2002-05-03 Juergen Vigna <jug@sad.it>
9595 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9596 change in LyXText as we can not be sure it was not freed.
9597 (drawOneRow): remove unused code.
9599 * text.C (drawInset): redo the calculation of the need_break_row as
9600 it could have a row which was already freed.
9601 (draw): look at the return value of drawInset and return false if
9602 it also returned false.
9603 (paintRowText): look at the return value of draw and return false if
9604 it also returned false.
9606 * lyxtext.h: added bool return type to drawInset() and draw() so that
9607 if we have a change in the row so that the rowbreak has to be redone
9608 we abort drawing as it will be called again.
9610 2002-05-02 Juergen Vigna <jug@sad.it>
9612 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9613 a change in the maintext also if we're inside an inset.
9614 (Dispatch): set the cursor again after a break line and after the
9615 screen has been updated as it could be we're in a different row.
9617 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9618 to set the cursor behind the pargraph with > size().
9619 (setCursor): check also for the same paragraph when checking where
9620 to put the cursor if we have a NFR inset.
9622 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9623 parts of layout read further up as it still was in the wrong
9626 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9628 * screen.C (drawFromTo): change sine fullRebreak always return
9631 * buffer.C (parseSingleLyXformat2Token): reindent some
9633 * BufferView_pimpl.C (update): change since fullRebreak always
9635 (Dispatch): git rid of the last hardcoded "Standard"s.
9637 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9639 * text2.[Ch] (fullRebreak): make it return void now that we always
9642 2002-04-30 Juergen Vigna <jug@sad.it>
9644 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9645 ert compatibility check for "latex" layout.
9647 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9649 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9650 minipages: use col% instead of p%, and also use the current font.
9651 (makeLaTeXFile): Fix use babel condition.
9652 (parseSingleLyXformat2Token): Correct font when reading old floats.
9654 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9656 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9657 inserting list of floats.
9659 2002-04-25 Herbert Voss <voss@lyx.org>
9661 * MenuBackend.C (expand): don't add the graphics extensions to the
9664 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9666 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9667 non-existing layout, do not complain if it was the default layout
9668 of the original class (bug #342)
9670 2002-04-24 Juergen Vigna <jug@sad.it>
9672 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9673 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9675 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9677 * buffer.C (getBibkeyList): If using \bibliography, return the
9678 option field with the reference itself. Enables us to provide natbib
9679 support when using \bibliography.
9681 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9683 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9685 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9686 natbib is provided by the LaTeX class.
9688 2002-04-23 Juergen Vigna <jug@sad.it>
9690 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9693 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9695 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9697 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9699 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9700 ensuremath around textordmasculine, textordfeminine and
9703 2002-04-19 Juergen Vigna <jug@sad.it>
9705 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9706 reinitializing the buffer otherwise row-dimensions may be wrong.
9707 (update): reset also the selection cursors if they do exits otherwise
9708 their x/y positions may be wrong.
9710 * text2.C (cursorDown): don't enter the inset if we came from a row
9711 above and are one row over the inset.
9713 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9714 really leaving an inset.
9716 2002-04-18 Juergen Vigna <jug@sad.it>
9718 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9719 of the selected paragraph does not have the selected layout also if
9722 * text2.C (setLayout): fixed bug which did not change last selected
9725 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9726 changed the read and substituted \\end_float with \\end_inset!
9728 * BufferView_pimpl.C (cursorPrevious):
9729 (cursorNext): fixed to make it work with rows heigher than the work
9730 area without moving the cursor only the draw of the row.
9731 (workAreaMotionNotify): fix jumping over high rows.
9733 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9735 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9738 2002-04-16 Juergen Vigna <jug@sad.it>
9740 * text2.C (setCursor): set also the irow().
9741 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9743 (cursorDown): support for locking an inset if the x_fix value goes
9744 inside it. That way I can transverse insets too with cursor up/down.
9746 * lyxrow.h: added irow helper function same as other (i) functions.
9748 * BufferView_pimpl.C (cursorPrevious):
9749 (cursorNext): fixed for insets!
9751 2002-04-15 Juergen Vigna <jug@sad.it>
9753 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9754 position otherwise it is wrong in some cases.
9756 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9757 inside the inset before the call.
9759 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9761 * buffer.[Ch] (getBibkeyList): make it const.
9763 2002-04-12 Juergen Vigna <jug@sad.it>
9765 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9767 * text2.C (getCursorX): new helper function
9768 (setCursor): compute also ix_
9769 (setCursorFromCoordinates): set also ix.
9771 * lyxcursor.h: added ix_ and helper functions.
9773 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9775 * buffer.C (insertStringAsLines): dont break paragraph if the this
9776 paragraph is inside an inset which does not permit it!
9778 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9779 also with no chars on this paragraph.
9780 (paintRowText): only paint stuff if it's inside the workarea!
9782 * paragraph.C (breakParagraph): honor keepempty flag and break the
9783 paragraph always below not above.
9785 * BufferView2.C (unlockInset): update the paragraph layout on inset
9786 unlock as we changed paragraph in such a case.
9788 * lyxfind.C (LyXFind): clear the former selection if not found!
9790 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9791 again called in insertChar().
9793 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9794 an inset which uses the whole row!
9795 (rightMargin): ditto.
9796 (insertChar): force a rebreak if we inserted an inset!
9798 2002-03-28 Herbert Voss <voss@lyx.org>
9800 * lyxlength.[Ch]: add inBP() to get the right PS-point
9801 units (BigPoint). With inPixels we have rounding errors
9803 2002-04-11 Juergen Vigna <jug@sad.it>
9805 * text2.C (setCursorFromCoordinates): set iy to the right value.
9806 (setCursor): add check if row->previous exists!
9808 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9809 an old float_type as this was the case in the old code!
9811 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9813 * BufferView2.C (showLockedInsetCursor): use iy
9814 (fitLockedInsetCursor): ditto
9816 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9817 locked insets as there we have the right value now.
9819 * lyxcursor.C: added iy_ variable and iy functions to set to the
9820 baseline of cursor-y of the locked inset.
9822 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9823 (setCursor): fixed for insets which need a full row.
9825 * text.C (rowLastPrintable): don't ignore the last space when before
9826 an inset which needs a full row.
9827 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9828 as last character of a row when before a inset which needs a full row.
9830 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9832 * version.C.in: update date
9834 * text2.C (fullRebreak): try to always return true and see what
9837 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9839 * MenuBackend.C (expand): use Floating::listName
9841 * FloatList.C (FloatList): add listName argument to the built-in
9844 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9845 text associated with the float.
9847 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9849 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9851 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9853 * ShareContainer.h: add a couple of missing typenames.
9855 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9857 * lyxrc.C (getDescription): use _() correctly rather than N_().
9859 2002-03-28 Herbert Voss <voss@lyx.org>
9861 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9862 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9864 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9866 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9867 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9869 2002-03-29 Juergen Vigna <jug@sad.it>
9871 * lyxfunc.C (dispatch): add a missing fitCursor call.
9873 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9874 it was scrolled by a cursor move, so return the bool status.
9876 * BufferView.C (fitCursor): return the bool flag also to the outside
9877 world as this is needed.
9879 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9881 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9882 call the edit() as it is not needed (and wrong) IMO.
9883 (workAreaButtonPress): set the screen_first variable before evt.
9884 unlock the inset as this may change screen_first and then we have
9885 a wrong y position for the click!
9887 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9889 * MenuBackend.C (expand): another translation that I missed
9891 2002-03-28 Juergen Vigna <jug@sad.it>
9893 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9895 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9897 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9899 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9901 * MenuBackend.C (expand): fix export/view/update when there is no
9904 2002-03-27 Herbert Voss <voss@lyx.org>
9906 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9909 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9911 * bufferview_funcs.C (currentState): only show paragraph number
9912 for is DEVEL_VERSION is set.
9914 * lyxfunc.C (dispatch): put warning in INFO channel
9916 * MenuBackend.C (expand): translate the name of floats
9918 * FloatList.C (FloatList): mark the float names for translation
9920 * converter.C (convert): use LibScriptSearch
9922 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9924 * MenuBackend.C (defaults): fix default menu (we might as well get
9927 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9929 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9932 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9934 * lyxvc.C: reorder includes.
9936 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9938 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9941 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9943 * CutAndPaste.C: change layouts earlier on paste
9944 to avoid crashing when calling getFont()
9946 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9948 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9951 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9953 * WorkArea.C: remove 'Pending' debug message.
9955 * most files: ws cleanup
9957 * buffer.[Ch]: ws changes
9959 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9961 2002-03-21 Juergen Vigna <jug@sad.it>
9963 * tabular.C (SetMultiColumn): collapse also the contents of the
9964 cells and set the last border right. Added a Buffer const * param.
9966 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9968 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9971 2002-03-19 Juergen Vigna <jug@sad.it>
9973 * text2.C (clearSelection): reset also xsel_cache.
9975 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9976 where it needs to be called (John tells us to do so too :)
9977 (selectionLost): reset sel_cache.
9979 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9981 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9983 * text2.C (setCursorIntern): put debuging code in INSETS channel
9985 2002-03-19 André Pönitz <poenitz@gmx.net>
9987 * lyxfunc.C: tiny whitespace change
9989 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9991 * ToolbarDefaults.C (init):
9992 * LyXAction.C (init):
9994 * BufferView_pimpl.C (Dispatch):
9995 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9997 2002-03-19 Allan Rae <rae@lyx.org>
9999 * exporter.C (Export): removeAutoInsets before doing anything else.
10000 While I've just introduced a dependency on BufferView this really is
10001 the best place to clean the buffer otherwise you need to cleanup in
10002 a dozen places before calling export or cleanup in a dozen functions
10005 * converter.C (runLaTeX):
10006 (scanLog): Better handling of removeAutoInsets and screen updates.
10008 * lyxfunc.C (dispatch): small whitespace changes
10010 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * WorkArea.C (C_WorkAreaEvent): return a value.
10013 (event_cb): return 1 if we handled the event, 0 otherwise.
10015 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10017 2002-03-18 Juergen Vigna <jug@sad.it>
10019 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10020 (GetAdditionalWidth): ditto.
10021 (RightLine): ditto.
10024 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10025 inset if we're there actually (probably not used right now but this
10026 is the direction to go for unifying code).
10027 (paste): disable code to clear the selection.
10029 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10030 inside an InsetText and move the check further up as it is in the
10033 * text2.C (pasteSelection): set a selection over the pasted text.
10035 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10037 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10038 and libgraphics to build on Cygwin.
10040 2002-03-15 Juergen Vigna <jug@sad.it>
10042 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10043 inserting an Inset into the paragraph. I know this is not the best
10044 fix but we already use current_view in CutAndPaste so we will remove
10045 all of it's using at the same time.
10047 * buffer.C (sgmlError): deactivated function till it is rewritten in
10048 the right mode, now it can create problems.
10050 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10051 before accessing it.
10053 2002-03-14 Juergen Vigna <jug@sad.it>
10055 * undo_funcs.C (textHandleUndo): do the right thing when updating
10056 the inset after the undo/redo.
10058 * text2.C (setCursor): just some testcode for #44 not ready yet.
10060 * undo_funcs.C (textHandleUndo): set the next() and previous()
10061 pointers of the paragraph to 0 before deleting otherwise we have
10062 problems with the Paragraph::[destructor].
10064 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10065 on a paragraph insertion.
10067 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10069 * buffer.C (asciiParagraph): use += operator for char append to
10072 * paragraph.C (getFontSettings): compare >= not just >
10073 (highestFontInRange): ditto
10076 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10078 * paragraph.C: change several algorithm to be more appripriate for
10079 the problem domain. This is lookip in FontList and in the InsetList.
10081 2002-03-13 André Pönitz <poenitz@gmx.net>
10084 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10086 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10091 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10093 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10095 * Painter.C (display): anon helper function, adjust code for this
10097 (pixmap): remove function.
10099 * Painter.h: remove private display variable.
10101 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10103 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10105 * WorkArea.[Ch]: remove figinset_canvas cruft.
10107 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10109 * lyxtextclass.C (operator): add one item cache optimization.
10111 * bufferlist.h: doxy changes
10113 * bufferlist.C: ws changes
10115 * DepTable.[Ch] (ext_exist): place const in the right spot.
10117 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10119 (workAreaExpose): call resizeInsets when the with BufferView changes.
10120 (Dispatch): adjust for protectedBlank removal
10121 (specialChar): call updateInset if the insert went ok.
10123 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10124 specialChar instead.
10126 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10128 * BufferView.h: doxy change
10130 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10132 * lyxtextclass.C (operator[]): remove non-const version
10133 (defaultLayout): remove non-const version
10135 2002-03-12 Juergen Vigna <jug@sad.it>
10137 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10138 did resize the LyXText too.
10140 * buffer.C (readLyXformat2): set layout information on newly allocated
10143 * tabular.C (OldFormatRead): set layout information on the paragraph.
10145 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10147 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10149 2002-03-11 Juergen Vigna <jug@sad.it>
10151 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10153 (resizeCurrentBuffer): force also the insets to resize themselfes.
10154 (moveCursorUpdate): fixed up for InsetText.
10156 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10159 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10160 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10161 value of Dialogs::tooltipsEnabled().
10162 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10164 2002-03-08 Juergen Vigna <jug@sad.it>
10166 * BufferView_pimpl.C (updateInset): update inset inside inset also
10167 if it isn't inside theLockingInset().
10169 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10171 * buffer.C (asciiParagraph): redo some of the word and line length
10173 (getLists): look for Caption instead of caption.
10175 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10177 * buffer.C (Buffer): initialize niceFile to true
10179 (makeLinuxDocFile):
10180 (makeDocBookFile): make sure niceFile is true on exit
10182 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10184 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10186 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10188 * LyXSendto.C: remove.
10189 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10190 * lyx_gui.C: remove now-redundant comment.
10191 * ColorHandler.h: remove forward declaration of class WorkArea.
10192 * lyxfunc.C: remove #include "WorkArea.h".
10194 2002-03-07 Juergen Vigna <jug@sad.it>
10196 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10197 got moved away with the DEPM and also set the inset_owner always
10198 right which before could have been omitted.
10200 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10203 wanted layout is not found.
10205 2002-03-07 Juergen Vigna <jug@sad.it>
10207 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10209 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10211 * paragraph.C (breakParagraph): use default layout not layout of
10213 (Paragraph): clear ParagraphParameters.
10215 2002-03-06 Juergen Vigna <jug@sad.it>
10217 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10218 otherwise it would not be a valid lenght. Fixed a special case in
10219 the minipage compatibility read where we end the document with a
10222 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10223 was set as it could be 0 for InsetTexts first entry.
10225 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10227 * paragraph.C (writeFile): if layout is empty write out
10228 defaultLayoutName().
10230 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10231 file without named layout we set layout to defaultLayoutName().
10233 2002-03-06 Juergen Vigna <jug@sad.it>
10235 * CutAndPaste.C (copySelection): set layout for new paragraph.
10237 * text.C (prepareToPrint): leave ERT inset left aligned
10238 (leftMargin): don't indent paragraphs inside ERT insets
10240 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * paragraph.C (breakParagraph): dont call clear do the work manually
10244 * paragraph.[Ch] (clear): remove function
10246 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10248 * paragraph.C (Paragraph): dont call clear, the work has already
10251 * lyxtextclass.C (operator): assert if n is empty
10253 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10254 work manually instead.
10256 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10258 * BufferView_pimpl.C: protect selectionLost against text == 0
10260 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10262 * text.C (breakParagraph): fix a setting layout to '0' problem.
10264 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10266 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10267 final location of file, for the included files, and graphics.
10269 2002-03-05 Juergen Vigna <jug@sad.it>
10271 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10273 2002-03-04 Juergen Vigna <jug@sad.it>
10275 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10277 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10278 last column of multicolumn cells.
10279 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10281 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10283 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10284 file if it doesn't go to a temporary file.
10286 * buffer.C (sgmlOpenTag):
10287 (sgmlCloseTag): remove extra newline insertion.
10289 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10291 * text.C (getRowNearY): comment out debug msg
10293 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10295 * text2.C: first -> first_y
10297 * text.C (getRowNearY): add some attemts at a possible
10298 optimization, not working.
10300 * tabular.[Ch]: add BufferParams to several function so that newly
10301 created paragraph can be initialized to he default layotu for the
10304 * tabular-old.C (ReadOld): add buf->params to call of Init
10306 * screen.C: rename text->first to text->first_y
10308 * paragraph.C (breakParagraph): always set layout in the broken
10311 * lyxtextclass.C (Read): remove lowercase
10314 (delete_layout): ditto
10316 * lyxtext.h: rename first -> first_y
10318 * lyxlayout.C (Read): remove lowercase
10321 (obsoleted_by): ditto
10323 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10325 * buffer.C (insertErtContents): add params are to InsetERT
10326 (parseSingleLyXformat2Token): add code to check if a paragraphs
10327 layout really exist.
10328 (parseSingleLyXformat2Token): add params to several inset
10330 (asciiParagraph): remove lowercase, do the layout comparisons with
10333 * BufferView_pimpl.C (cursorNext): first -> first_y
10334 (resizeCurrentBuffer): first -> first_y
10335 (updateScrollbar): first -> first_y
10336 (scrollCB): first -> first_y
10337 (workAreaMotionNotify): first -> first_y
10338 (workAreaButtonPress): first -> first_y
10339 (checkInsetHit): first -> first_y
10340 (cursorPrevious): first -> first_y
10341 (cursorNext): first -> first_y
10342 (Dispatch): add buffer_->params to severl inset contructors
10344 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10346 * lyxlayout.C (Read): remove some debug info that I forgot.
10348 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10349 clean up the code slightly.
10350 (makeLinuxDocFile): ditto
10351 (makeDocBookFile): ditto
10353 * text2.C: layout as string
10355 * text.C: layout as string
10357 * paragraph_pimpl.C: layout as string
10359 * paragraph.[Ch]: layout as string
10361 * lyxtextclasslist.[Ch]: layout as string
10363 * lyxtextclass.[Ch]: layout as string
10365 * lyxtext.h: layout as string
10367 * lyxlayout.[Ch]: layout as string
10369 * lyx_cb.C: layout as string
10371 * bufferview_funcs.C: layout as string
10373 * bufferparams.C: layout as string
10375 * buffer.C: layout as string
10377 * LyXView.[Ch]: layout as string
10379 * LaTeXFeatures.[Ch]: layout as string
10381 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10383 * BufferView_pimpl.C: change current_layout to string, remove
10388 (workAreaButtonRelease): layout as string
10390 * BufferView2.C (unlockInset): adjust
10392 * vspace.C (asLatexCommand): use an explict temp variable.
10394 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10396 * Makefile.am: use FRONTEND_*
10398 2002-03-01 Juergen Vigna <jug@sad.it>
10400 * tabular.C (SetWidthOfMulticolCell): changed to something better
10401 I hope but still work in progress.
10402 (recalculateMulticolumnsOfColumn): renamed function from
10403 recalculateMulticolCells as it is more appropriate now.
10404 (SetWidthOfCell): calculate multicols better.
10406 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10408 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10410 * lyxfunc.C (processKeySym): print sequence also if it is
10411 `deleted' (complete)
10413 * kbsequence.C (print): print sequence even if it is deleted
10414 (complete would be a better word, actually).
10416 * lyxfunc.C (dispatch): print complete options after a prefix key
10418 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10420 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10422 * text2.C (setCharFont): eliminate setCharFont code duplication.
10424 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10427 LFUN_TABULAR_FEATURE (bug #177)
10429 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10431 * Makefile.am: remove figure.h
10433 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10435 * Bufferview_pimpl.C:
10447 * text2.C: remove #include "lyx_gui_misc.h".
10449 * LaTeX.C: added #include <cstdio>
10451 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10453 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10454 that the paragraph following this one can have.
10456 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10458 * vspace.C (asLatexCommand): fix bogus gcc warning
10460 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10462 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10464 * text2.C (setLayout): get rid of redundant code
10466 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10468 * text2.C (incDepth): make sure depth cannot be increased beyond
10471 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10473 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10474 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10476 * PainterBase.h (image):
10477 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10478 a LyXImage const *.
10480 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10484 * BufferView_pimpl.C:
10485 * BufferView_pimpl.h:
10505 * sp_spell.C: remove fig inset, and the crap house of
10506 cards that follows it
10508 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10513 * os2_errortable.h:
10514 * nt_defines.h: move .h into support/
10516 * vms_defines.h: remove
10518 * WorkArea.C: add space in debug output
10522 * buffer.C: add WITH_WARNINGS
10526 * bufferlist.C: s/retrive/retrieve/, add docs
10535 * chset.C: add docs
10537 * lyxgui.C: add ID to X error handler
10539 * lyxtestclass.c: fix typo
10541 2002-02-26 Juergen Vigna <jug@sad.it>
10543 * tabular_funcs.C (write_attribute): changed so that some default
10544 attributes are not written at all.
10545 (getTokenValue): set default values before trying to read the
10546 value so we have the return value always set as default if we don't
10547 find the token we search for.
10549 * tabular.C (Write): write bools as bools not as strings!
10551 2002-02-22 Juergen Vigna <jug@sad.it>
10553 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10554 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10556 * text.C (leftMargin): don't add an indent for paragraphs inside
10557 tabular cells (fix #208).
10559 2002-02-21 José Matos <jamatos@fep.up.pt>
10561 * tabular.C (docBook): fixed support for long tables.
10563 2002-02-20 Juergen Vigna <jug@sad.it>
10565 * text2.C (getFont): get the drawing font of the Inset if this
10566 paragraph is inside an inset (only important for InsetERT for now).
10568 * buffer.C (insertErtContents): use new lanugage params in ERT
10571 * CutAndPaste.C: commenting out seemingly uneeded code.
10573 2002-02-19 Allan Rae <rae@lyx.org>
10575 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10576 Iterators might be simple to use but they also get invalidated.
10577 (removeAutoInsets): renamed saved cursor tracking variables and added
10578 some comments to clarify what everything does.
10580 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10587 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10588 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10591 * vc-backend.h: remove #include "support/syscall.h"
10595 * converter.C: rearrange #includes in Lars' approved fashion.
10597 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10598 forward declare class Timeout in the header file.
10600 * XFormsView.C: changes due to the above.
10602 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10603 similar to LyXView.
10605 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10606 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10608 2002-02-18 José Matos <jamatos@fep.up.pt>
10610 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10613 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10615 * a lot of small ws changes
10616 * add a lot of using std::XXX
10617 * use std construcs some places where approp.
10618 * use some exisint stuff from lyxfunctional where approp.
10619 * Make file changes to use partial linking (lets test this now...)
10621 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10625 remove #include "support/syscontr.h" as it's redundant. Always has been.
10633 change Systemcalls::System to Systemcalls::Wait and
10634 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10635 No change of functionality, just reflects the stripped down Systemcalls
10638 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10640 * debug.[Ch]: add a GRAPHICS type to the enum.
10642 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10646 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10649 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10651 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10652 match the changes below.
10654 * text2.C (toggleInset): if there is not editable inset at cursor
10655 position, try to see if cursor is _inside_ a collapsable inset
10658 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10660 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10661 document menu has a nice checkbox
10663 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * lyxlength.C (asLatexString): change PW to output as percent of
10668 * lengthcommon.C: change '%' to 't%'
10670 * lyxfunc.C (dispatch): a few comments from Martin
10672 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10676 * BufferView_pimpl.h:
10677 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10680 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10682 * vspace.C (inPixels): fix compiler warning
10684 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * lyxfunc.C (getStatus): fix status message for disabled commands.
10688 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10690 * BufferView_pimpl.C: fix crash on close buffer
10691 during selection (#227)
10693 2002-01-27 Herbert Voss <voss@lyx.org>
10695 * buffer.C: link old Figure to new graphic inset
10697 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10699 * FontLoader.C (getFontinfo): Change the latex font names in order
10700 to match the names of type1inst.
10702 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10704 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10706 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10707 (extchanged): ditto
10709 (remove_files_with_extension): ditto
10710 (remove_file): ditto
10713 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10714 document is smaller than the work area height. Do not initialize
10715 static variables to 0.
10717 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10719 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10721 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10722 LFUN_LAYOUT_PARAGRAPHS.
10724 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10725 tabular. It is possible to provide a possible cell, which will
10726 typically be the actcell from the corresponding insettabular
10728 * lyxfunc.C (getStatus): small cleanup; disable
10729 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10732 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10734 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10736 * paragraph.C (startTeXParParams):
10737 (endTeXParParams): new methods. The LaTeX code to
10738 start/end paragraph formatting
10739 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10740 empty (fixes bug #200)
10742 * vspace.C (inPixels): adapt to the change below
10743 (inPixels): [later] more cleanups (remove unused variables)
10745 * lyxlength.C (inPixels): change to use a width and a height as
10748 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10750 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10751 Replaced with \paperwidth
10753 * DepTable.C (insert): add std:: qualifier
10755 2002-01-18 Allan Rae <rae@lyx.org>
10757 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10760 * text.C (drawInset): Turned out I didn't know enough about how
10761 rebreaking worked. This fixes most of the redraw problems. I see
10762 an occasional cursor trail when a line is broken now and the cursor
10763 placement can seem out by a few pixels also after a rebreak.
10765 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10767 * buffer.C (parseSingleLyXformat2Token): update because minipage
10768 width is now a LyXLength
10770 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10772 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10775 2002-01-17 Juergen Vigna <jug@sad.it>
10777 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10779 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10780 is set correctly and the inset is updated correctly.
10782 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10785 the beginning of the loop.
10787 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10789 * lyxrc.C: improve help for use_scalable_fonts
10791 2002-01-17 Allan Rae <rae@lyx.org>
10793 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10795 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10797 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10798 make sure to set their inset_owner to the right value (bug #171)
10800 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10803 * DepTable.C: Implement mtime checking to reduce time spent doing
10806 2002-01-16 Juergen Vigna <jug@sad.it>
10808 * tabular.C (GetAdditionalHeight): one of error fixed.
10810 * lyxrc.C (output): small fix in writing use_pspell.
10812 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10814 * sp_base.h: #include LString.h
10816 2002-01-16 Allan Rae <rae@lyx.org>
10818 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10819 Can someone check this please?
10821 * text.C (drawInset): It was possible that p.row would be removed by
10822 breakAgainOneRow upsetting a few other settings. There may be another
10823 small tweak possible by setting need_break_row = 0 when p.row has been
10824 removed but I don't know enough about the logic here.
10826 2002-01-15 Allan Rae <rae@lyx.org>
10828 * text.C (insertChar): removed conditional truism.
10830 * BufferView2.C (removeAutoInsets): More tweaks.
10831 cur_par_prev could be a stray pointer. Check for trailing empty line
10832 in case last line was cur_par and only had an error inset on it.
10834 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10836 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10839 * vc-backend.C (most methods):
10840 * exporter.C (Export):
10841 * converter.C (convert):
10843 * LyXSendto.C (SendtoApplyCB):
10844 * lyxfunc.C (dispatch):
10848 * lyx_cb.C (AutoSave):
10850 * BufferView_pimpl.C (MenuInsertLyXFile):
10851 * buffer.C (runChktex): use Buffer::filePath().
10853 * buffer.h: rename filename to filename_; rename filepath to
10854 filepath_ and make it private
10855 (filePath): new method
10857 * buffer.C (writeFile): use fileName()
10860 * lyx_main.C (init): fix starting of LyX when the binary is a
10861 link from so,ewhere else.
10863 * minibuffer.C: include <cctype> for isprint
10865 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10867 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10868 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10869 name clash with InsetCollapsable's width function.
10871 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10873 * lastfiles.C: include <iterator>
10875 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10877 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10880 * buffer.C (makeLaTeXFile): ditto.
10881 Also make loop operation more transparent.
10883 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10885 * ToolbarDefaults.C: remove trailing comma closing namespace.
10887 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10889 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10892 * trans.C (Load): comment out unused variable, allowed.
10894 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10896 * minibuffer.[Ch] (append_char): new method to recieve input from the
10897 drop-down completion browser. If a key was pressed, then recieve this
10898 char and append it to the existing string.
10899 (peek_event): modify the positioning data passed to the completion
10900 browser so that it can be placed above the minibuffer rather than below.
10901 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10903 * LyXAction.C (init): alloe error-next for readonly documents.
10905 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10908 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10910 * bufferlist.C (readFile): create the buffer _after_ checking that
10913 * lyxfunc.C (verboseDispatch): fix handling of arguments
10915 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10917 * lyxrc.C: use string::erase() instead of initializing to "".
10920 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10922 * BufferView_pimpl.h:
10923 * BufferView_pimpl.C:
10926 * text2.C: tell X when we have made a selection for copying
10928 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10930 * BufferView_pimpl.C (MenuInsertLyXFile):
10931 * lyxfunc.C (menuNew):
10933 (doImport): add shortcuts to directory buttons
10935 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10938 * lyxfunc.C (setStatusMessage):
10939 (getStatusMessage): new methods
10940 (getStatus):use setStatusMessage instead of setErrorMessage
10941 (dispatch): when function is disabled, set error message here
10942 [instead of in getStatus previously]
10944 * BufferView_pimpl.C (workAreaButtonRelease): update
10945 toolbar/menubar here too.
10947 2002-01-13 Allan Rae <rae@lyx.org>
10949 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10950 Now seems indestructible. Remaining task is to audit all other
10951 code affected by deleteEmptyParagraphMechanism. One small quirk
10952 left is that an empty document with an error in the preamble can
10953 be made to report an error but no error box appears. I don't know
10955 (removeAutoInsets): Improved comments.
10957 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10960 * Thesaurus.C: update for Aiksaurus 0.14
10962 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10964 * text2.C (firstParagraph): removed member function, all uses
10965 replaces with ownerParagraph
10966 (redoParagraphs): here
10967 (updateInset): here
10968 (toggleAppendix): here
10969 * BufferView2.C (insertErrors): here
10970 (setCursorFromRow): here
10972 2002-01-13 Allan Rae <rae@lyx.org>
10974 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10975 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10976 There is still a way to segfault this although you may have to do this
10977 multiple times: Have an InsetERT with an unknown command in it.
10978 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10979 <down-arrow>, <Enter> again, View->DVI, BANG!
10981 * text2.C (setCursor):
10982 (deleteEmptyParagraphMechanism):
10983 * lyxtext.h (setCursor):
10984 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10985 Making use of the return value may help fix other bugs.
10987 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10989 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10991 * LyXView.C (updateMenubar): call MenuBar::update here
10992 (updateToolbar): but not here
10993 (showState): do not update toolbar/menubar
10995 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10996 should need to care about that.
10998 * lyxfunc.C (verboseDispatch): simplify a bit
10999 (getStatus): have a version which takes a pseudoaction, and
11000 another which requires a (kb_action,string).
11002 * LyXAction.C (retrieveActionArg): make it work also when action
11003 is not a pseudo-action.
11004 (getActionName): simplify a bit
11007 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11009 * lyxfunc.C (verboseDispatch): new families of methods with
11010 several ways to specify a command and a bool to indicate whether
11011 the command name and shortcut should be displayed in minibuffer
11012 (eventually, we could extend that to a finer bitmask like
11013 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11014 (dispatch): the pristine dispatch command which just, well,
11015 dispatchs! Note it still sets its result to minibuffer; I'm not
11018 * lyxfunc.h: remove setHintMessage
11020 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11022 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11024 * BufferView_pimpl.C (specialChar): delete new inset if we have
11025 not been able to insert it.
11027 * kbmap.C: revert to using int instead of kb_action, since all we
11028 are dealing with is pseudo-actions.
11030 * LyXAction.C (searchActionArg): change to return int instead of
11031 kb_action, since the result is a pseudoaction.
11033 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11035 * buffer.C (insertErtContents): Fix (partially) the font bug.
11037 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11039 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11040 as the other one is broken on my machine!
11042 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11045 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11047 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11049 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11050 reflect their actual use. Provide compatibility code for older lyxrc
11053 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11055 change names of popup font variables in line with the changes to lyxrc.C
11057 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11059 * buffer.C (asciiParagraph): avoid outputing a word twice after
11062 * lyxrc.C (getDescription): document that document_path and
11063 template_path can be empty.
11065 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11067 * LaTeXFeatures.C (getMacros):
11068 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11070 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11072 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11074 (getPackages): rename feature "floats" to "float". Use an array to
11075 iterate over 'simple' features (i.e. just a \usepackage). Add
11076 handling of "amsmath" (renamed from "amsstyle").
11078 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11080 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11083 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11085 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11086 FuncStaus::FuncStatus & FuncStaus::some_method().
11088 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11090 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11091 of the func_satus stuff. Edited and massaged in various ways by
11094 * lyxfunc.C (getStatus): use FuncStatus
11096 2002-01-08 Juergen Vigna <jug@sad.it>
11098 * text.C (nextBreakPoint): use function Inset::isChar().
11100 * paragraph.C (TeXOnePar): use function
11101 Inset::forceDefaultParagraphs.
11103 * buffer.C (latexParagraphs): use function
11104 Inset::forceDefaultParagraphs.
11106 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11108 * lyx_gui.C (init): set the style of the menu popups to
11109 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11111 2002-01-07 Juergen Vigna <jug@sad.it>
11113 * text.C (setHeightOfRow): small fix
11114 (prepareToPrint): don't look at alignment if we don't have the place
11117 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11119 * box.C: New file. Move the Box methods and functions out of box.h,
11120 following Lars' suggestion.
11122 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11124 * box.h: #include "support/LOstream.h", needed for inlined function.
11127 * lyxtextclasslist.C: added some using std declarations.
11129 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11131 * box.h: make signed dimensions to allow insets wider than
11132 the screen (bug #162)
11134 * BufferView_pimpl.C: add some insetHit debug
11136 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11138 * vc-backend.C: add FIXME
11140 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11142 * lyxfunc.C (getStatus): enable code for showing math font status
11145 2002-01-07 Juergen Vigna <jug@sad.it>
11147 * text.C (nextBreakPoint): removed debug output not needed anymore.
11149 2002-01-06 Juergen Vigna <jug@sad.it>
11151 * text.C (nextBreakPoint): fixed up this function we had this bug
11152 since ever but now hopefully we break row better.
11153 (insertChar): we have to check if an inset is the next char as it
11154 could now happen that a large inset is causing a break.
11156 2002-01-05 Juergen Vigna <jug@sad.it>
11158 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11159 if it doesn't like to be drawed.
11161 2002-01-04 Juergen Vigna <jug@sad.it>
11163 * BufferView2.C (lockInset): forgot to set a cursor.
11165 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11167 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11169 * FormMathsPanel.C:
11172 * form_maths_panel.C:
11173 * form_maths_panel.h:
11174 * form_maths_panel.fd: implemented sub- and super- buttons in math
11177 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11178 (or ^ space) to be used as in TeX (req'd by André).
11180 * lyxfunc.C: Allow ^ and _ again to be used both as
11181 super/subscript (mathed) and as themselves (in text).
11183 2002-01-03 Allan Rae <rae@lyx.org>
11185 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11186 "LyX" or the filename of the current buffer if it has one. This is a
11187 modified form of John Levon's patch.
11189 * XFormsView.C (setWindowTitle): also set icon title.
11191 * LyXView.h (setWindowTitle): signature changed.
11192 * XFormsView.h (setWindowTitle): ditto.
11194 2002-01-02 Juergen Vigna <jug@sad.it>
11196 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11198 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11200 * screen.C (topCursorVisible): introduce a temp var for
11201 text->cursor.row(), handle the case where this row is null. (kindo
11204 * text2.C (setCursor): add a couple of asserts.
11206 * paragraph.h (inset_iterator): add -> operator
11208 * paragraph.[Ch] (autoDeleteInsets): remove member function
11210 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11211 cursor pos correctly and handle inset deletion by itself.
11212 (insertErrors): move iterator declaration out of for expression
11214 * lyxtextclass.C: add <algorithm>
11216 * Makefile.am: added the new files to sources, removed layout.C
11218 * layout.C: removed file
11220 * layout.h: remove LYX_DUMMY_LAYOUT
11222 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11226 * lyxtextclass.[Ch]:
11227 * lyxtextclasslist.[Ch]: new files
11229 * include order changes to a lot of files, also changes because of
11232 2001-12-27 Juergen Vigna <jug@sad.it>
11234 * buffer.C (asciiParagraph): more fixes.
11236 * tabular.C (ascii): make ascii export support export of only the
11237 data separated by a column-delimiter.
11238 (ascii): better support for ascii export.
11240 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11242 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11244 * tabular_funcs.C: use a "using std::getline" instead of the
11245 previous fix from Angus (necessary for cxx + lyxstring)
11247 2001-12-24 Juergen Vigna <jug@sad.it>
11249 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11251 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11252 problems. First check a minipage also if we have some ert-contents
11253 (not only on par->size(), second set the right depth of the paragraph
11254 on the relink to the root-paragraph-list!
11256 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11257 which then did not anymore update the main paragraphs on undo/redo!
11259 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11261 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11262 code. Support all font-changing funcs (even those which are not in
11263 menu currently). Support for reporting font settings in
11264 mathed (disabled until Andre provides a function on mathed's side).
11266 * func_status.h (toggle): small helper function to set toggle
11269 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11271 * tabular_funcs.C: getline -> std::getline
11273 2001-12-21 Juergen Vigna <jug@sad.it>
11275 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11276 accessed and could be 0 (I couldn't generate this but it seems
11279 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11282 * tabular_funcs.h: here and include iosfwd
11284 2001-12-20 Juergen Vigna <jug@sad.it>
11286 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11287 inside inset but undo_par was.
11289 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11291 * Thesaurus.C: always include <config.h> in sources.
11295 * box.h: do not include <config.h> in header files
11297 * text.C (paintLastRow): remove unused variable
11299 * text.C (transformChar):
11301 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11303 * Painter.C (text):
11304 * font.C (width): rewrite to use uppercase() instead of
11307 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11309 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11311 * lyxfind.C: clean up of find failure position change
11313 2001-12-20 Juergen Vigna <jug@sad.it>
11315 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11317 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11318 (TeXRow): added to LaTeX a single tabular row.
11319 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11320 (Latex): simplified and finally good LT-h/f support.
11321 (various_functions): just small adaptions for LT-h/f support.
11323 * tabular_funcs.[hC]: added and moved here all not classfunctions
11326 2001-12-19 Juergen Vigna <jug@sad.it>
11328 * tabular.[Ch]: better support for longtabular options (not finished
11331 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * text.C (paintLastRow): use the label font instead of the font of
11334 the last character to compute the size of *_BOX. This makes more
11335 sense and avoids a crash with empty paragraphs.
11336 Use Painter::rectangle to draw EMPTY_BOX.
11338 2001-12-19 Juergen Vigna <jug@sad.it>
11340 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11341 the paragraphs if the replaced paragraph is not the first one!
11342 Tried to delete not used paragraphs but does not work yet so for
11343 now it's inside #ifdef's and by default off!
11345 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11347 * MenuBackend.C: include "lyx_main.h" instead of declaring
11348 lastfiles (actually was declared as LastFiles* instead of a
11351 2001-12-17 Juergen Vigna <jug@sad.it>
11353 * tabular.C (AppendColumn): applied John's fix
11355 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11359 * BufferView_pimpl.h:
11360 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11363 * box.h: new start of class for above
11365 * lyxfunc.C: ignore space-only minibuffer dispatches.
11366 Show the command name when it doesn't exist
11368 * minibuffer.C: don't add empty lines to the history
11370 * minibuffer.C: add a space on dropdown completion
11372 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11374 * text.C: fix line above/below drawing in insets
11376 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11378 * lyxlength.C (LyXLength): Initialize private variables.
11380 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11382 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11383 when inserting error insets.
11385 2001-12-13 Juergen Vigna <jug@sad.it>
11387 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11388 actually sometimes the before-paragraph.
11389 (setUndo): don't clear the redostack if we're not actually undoing!
11391 2001-12-06 Juergen Vigna <jug@sad.it>
11393 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11394 and fixed redoing of main paragraph, so we can use it now ;)
11396 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11398 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11403 2001-12-13 André Pönitz <poenitz@gmx.net>
11406 * undo_func.C: minor cleanup
11408 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11410 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11411 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11412 font in urw-fonts package which is marked as -urw-fontspecific and
11413 does not work (incidentally, changing the encoding in the
11414 fonts.dir of this package to -adobe-fontspecific fixes the
11417 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11418 is a crash when undoing first paragraph (Juergen, please take a
11419 look). THis does not mean the undo fix is wrong, just that it
11422 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11423 the (Paragraph*) version when needed instead of duplicating the
11426 * text.C (workWidth): use Inset::parOwner to find out where the
11427 inset has been inserted. This is a huge performance gain for large
11428 documents with lots of insets. If Inset::parOwner is not set, fall
11429 back on the brute force method
11431 * paragraph_pimpl.C (insertInset):
11432 * paragraph.C (Paragraph):
11433 (cutIntoMinibuffer): set parOwner of insets when
11434 inserting/removing them
11436 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11438 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11444 * mathed/formulabase.C:
11445 * mathed/math_cursor.[Ch]:
11446 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11449 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11451 * lyxlength.[Ch] (operator!=): new function
11453 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11455 * text.C (workWidth): use Inset::parOwner to find out where the
11456 inset has been inserted. This is a huge performance gain for large
11457 documents with lots of insets. If Inset::parOwner is not set, fall
11458 back on the brute force method
11460 * paragraph_pimpl.C (insertInset):
11461 * paragraph.C (Paragraph):
11462 (cutIntoMinibuffer): set parOwner of insets when
11463 inserting/removing them
11465 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11467 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11469 * tabular-old.C (getTokenValue):
11470 * tabular.C (getTokenValue):
11471 (write_attribute): new versions for LyXLength
11472 (everywhere): adjust the use of widths
11474 * tabular.h: change the type of widths from string to LyXLength
11476 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11478 * paragraph.C: fixed missing line number count when exporting
11479 Environments to LaTeX file
11481 * buffer.C: added informational message for checking line numbers.
11483 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11485 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11486 paragraph, do the 'double space' part, but not the 'empty
11489 * text.C (workWidth): small optimization
11490 (getLengthMarkerHeight): use minimal size for negative lengths.
11492 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11494 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11496 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11498 2001-12-11 André Pönitz <poenitz@gmx.net>
11501 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11503 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11505 * text2.C: keep selection on a setFont()
11507 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11509 * lyx_cb.C: another bv->text misuse, from insert label
11511 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11514 * kbsequence.C: re-instate nmodifier mask
11516 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11518 * lyx_main.h: make lyxGUI private.
11520 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11522 * lyxfind.C: place the cursor correctly on failed search
11524 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11526 * text.C (getLengthMarkerHeight): for small heights, the arrows
11527 are not always on top/bottom of the text
11528 (drawLengthMarker): smaller arrows; take the left margin in
11529 account; draw also vfills.
11531 (paintLastRow): remove special code for vfill and standard spaces,
11532 since everything is handled in drawLengthMarker now.
11534 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11536 * buffer.C (insertErtContents): try to handle font and language
11537 interaction a bit better.g
11539 * ColorHandler.C (updateColor): change the hash to cover the whole
11540 LColor enum, ws cleanup
11541 (getGCLinepars): ditto
11542 (getGCLinepars): only lookup in the linecache once.
11544 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11546 * iterators.C (operator++): Make the iterator more robust
11548 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11550 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11552 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11555 * text.C: better added space drawing
11557 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11560 * BufferView2.C: fix layout combo update on inset unlock
11562 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11564 * Makefile.am: don't compile unused files
11566 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11570 * LyXAction.C: remove old LFUN_LAYOUTNO
11572 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11574 * paragraph_pimpl.h:
11575 * paragraph_pimpl.C: isTextAt() doesn't need font param
11577 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11580 * lyxlex.C: little cleanup
11582 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11584 * BufferView_pimpl.C: fix insertAscii for insets
11586 2001-12-05 Juergen Vigna <jug@sad.it>
11588 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11589 set the right font on the "multi" paragraph paste!
11591 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11597 * lyxlength.C: remove out-commented code.
11599 * BufferView_pimpl:
11613 * vc-backend.C: change "while(" to "while ("
11615 * lyxlength.[Ch]: add zero function to check if length is zero or
11617 * lyxgluelength.C: use it
11619 2001-12-05 Allan Rae <rae@lyx.org>
11621 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11622 Works for 2.95.3, from what I understand of Garst's reports this should
11623 work for other g++ versions. We're screwed if the abs(int) definition
11624 changed between bugfix releases of gcc.
11626 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11628 * text.C: fix chapter label offset !
11630 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11633 * text.C: fix hfill at end of line, clean up
11635 2001-12-04 Juergen Vigna <jug@sad.it>
11637 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11638 that we force an update of the inset and it's owners if neccessary.
11640 2001-12-03 Juergen Vigna <jug@sad.it>
11642 * text.C (rowLast): simplified code
11644 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11646 * lyxfunc.C: fix show options on timeout
11648 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11650 * screen.C (topCursorVisible): scroll half a page when the cursor
11651 reached top of bottom of screen
11653 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11655 * minibuffer.C: deactivate on loss of focus
11657 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11659 * vspace.[Ch] (operator!=): add operator.
11661 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11663 * BufferView_pimpl.C: refuse to open an inset when
11664 there's a selection.
11666 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11668 * BufferView_pimpl.C: allow to click on RHS of full row insets
11670 2001-11-30 Juergen Vigna <jug@sad.it>
11672 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11673 insets for undo reasons.
11675 2001-11-28 André Pönitz <poenitz@gmx.net>
11677 * vspace.[Ch]: cosmetical changes
11679 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11689 * kbsequence.C: part re-write of old kb code
11692 * WorkArea.C: remove Lgb_bug_find_hack
11694 2001-11-30 José Matos <jamatos@fep.up.pt>
11696 * buffer.C (makeDocBookFile): add a comment to point a hack.
11697 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11698 Fixed a double write of labels.
11700 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11703 * LaTeX.h Fixed bug in LaTeX class where it would not
11704 re-run latex if no depfiles were changed, but the .dvi was removed.
11706 2001-11-28 André Pönitz <poenitz@gmx.net>
11708 * all the files from the change on 2001/11/26:
11709 use lyx::layout_type instead of LyXTextClass::size_type
11710 use lyx::textclass_type instead of LyXTextClassList::size_type
11712 2001-11-29 Juergen Vigna <jug@sad.it>
11714 * text.C: added support for paragraph::isFreeSpacing()
11716 * buffer.C: same as above
11718 * paragraph.h: inserted isFreeSpacing() function to enable
11719 FreeSpacing inside InsetERT.
11721 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11722 of the paragraph's in the cut/copy buffer to 0!
11724 * text2.C (removeRow): remove the assert as it can!
11726 * lyxtext.h: added helper function firstRow returning firstrow and
11727 made firstrow private again.
11729 * BufferView2.C (lockInset): don't relock if we're already locked!
11731 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11732 the only paragraph.
11733 (removeRow): added Assert::(firstrow)
11735 * debug.C: forgot to add INSETTEXT here.
11737 2001-11-28 Juergen Vigna <jug@sad.it>
11739 * sp_spell.C (initialize): changed error text to more general
11740 spellchecker command use (not only ispell!)
11742 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11744 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11746 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11748 * vspace.C: initialise lyxgluelength on failure
11750 2001-11-28 Allan Rae <rae@lyx.org>
11752 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11753 declaration & definition that looks like a function declaration.
11755 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11757 * BufferView2.C (copy):
11758 (copyEnvironment): do not clear the selection when doing a copy.
11760 * text.C (paintFirstRow): compilation fix
11762 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11764 * tabular.C (Latex): correct line count when writing latex.
11766 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11768 * paragraph_pimpl.h:
11769 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11772 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11776 * LColor.C: change vfillline->added_space
11778 * text.C: add markers and text for added space
11780 * vspace.C: fix comment
11782 2001-11-28 André Pönitz <poenitz@gmx.net>
11784 * paragraph.C: whitespace changes
11785 * all the other files from the change on 2001/11/26:
11786 change *::pos_type into lyx::pos_type
11788 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11790 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11791 language of the document when inserting error insets.
11793 2001-11-26 André Pönitz <poenitz@gmx.net>
11795 * BufferView_pimpl.[Ch]:
11803 * paragraph_pimpl.[Ch]:
11806 * text2.C: reduce header dependencies, introduce type for positions
11808 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11810 * <various>: change to use Alert.h
11812 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11814 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11815 when encountering an unknown token.
11816 (readLyXformat2): Show an error message if there were unknown tokens.
11818 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11821 * BufferView_pimpl.C:
11825 * text2.C: use par->isInset()
11827 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11829 * paragraph_pimpl.h:
11830 * paragraph_pimpl.C: cleanup
11832 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11834 * text2.C (removeRow):
11835 * text.C (setHeightOfRow): remove useless (and costly) call to
11838 2001-11-20 Allan Rae <rae@lyx.org>
11840 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11841 Now need Inset*::checkInsertChar() to return true for appropriate
11842 cases so that the characters in the minibuffer will actually be
11845 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11847 * text.C: change the order of the includes.
11848 (workWidth): initialize it at once.
11849 (workWidth): make maxw unsigned
11850 (setHeightOfRow): remove unused variable (inset)
11851 (selectSelectedWord): remove unused variable (inset)
11852 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11854 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11856 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11857 server is not running.
11859 (closeConnection): add debug info when server is disabled.
11861 * ColorHandler.C (getGCForeground): send debug message to GUI
11864 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11866 * kbmap.C (bind): modify because return conventions of
11867 kb_sequence::parse have changed.
11869 * kbsequence.C (parse): only ignore spaces and not any stupid
11870 control character. This avoids tests like s[i] <= ' ', which are
11871 guaranteed to fail with 8bit characters and signed chars.
11872 Change return code to string::npos when there have been no error
11873 (0 was a bad idea when error is at first character)
11875 2001-11-14 José Matos <jamatos@fep.up.pt>
11878 * buffer.C (simpleDocBookOnePar): removed unused argument.
11880 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11882 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11883 insets which are part of a word. Paragraph::isLetter takes care of
11884 that now. Use Paragraph::isInset to identify insets.
11885 (selectSelectedWord): do not test for hyphenation break.
11887 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11888 that protected spaces are considered as spaces.
11890 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11893 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11896 * lyxserver.C: fix it. and small cleanup.
11898 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11900 * BufferView_pimpl.C: use inline helpers
11903 * LaTeXFeatures.C: fix typos
11906 * Spacing.C: move spacing_string into class
11908 * ToolbarDefaults.C: move stuff into namespace anon
11910 * layout.h: update enum
11912 * lyxfunc.C: use better debug
11914 * minibuffer.h: fix typo
11918 * WorkArea.C: add and use Debug::WORKAREA
11922 * text2.C: code re-organisation, inline helpers
11924 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11926 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11927 std::vector.empty().
11929 2001-11-09 Allan Rae <rae@lyx.org>
11931 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11932 '\n's after tables. Tabular and ERT inset work now makes this no
11935 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11938 * minibuffer.C: fix crash, improve drop-down completion
11940 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11943 * lyxserver.C: invalidate fd's when doing endPipe()
11945 2001-11-08 José Matos <jamatos@fep.up.pt>
11947 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11948 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11951 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11953 2001-11-07 José Matos <jamatos@fep.up.pt>
11956 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11959 * buffer.C (sgmlOpenTag):
11960 * buffer.C (sgmlCloseTag): removed debug info.
11962 * buffer.h (sgmlOpenTag):
11963 * buffer.h (sgmlCloseTag): made public.
11965 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11967 * buffer.C (saveParamsAsDefaults):
11968 * lyx_cb.C (MenuLayoutSave): remove
11970 * LyXAction.C (init):
11972 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11974 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11976 * buffer.C (setPaperStuff): removed from here...
11978 * bufferparams.C (setPaperStuff): ... and moved there.
11980 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11984 * XFormsView.C: add support for drop-down completion
11986 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11988 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11991 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11993 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11996 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11998 * lyx_main.C: change ref to known bugs
12000 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12002 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12003 to work around older babel problems.
12005 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12007 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12009 2001-10-24 Juergen Vigna <jug@sad.it>
12011 * tabular-old.C (ReadOld): below variable changes reflected.
12013 * tabular.[Ch]: added ltType struct for longtable header/footer
12014 defines and changed all instances where they are used. Added
12015 future support for double top/bottom rows.
12017 2001-10-24 José Matos <jamatos@fep.up.pt>
12019 * buffer.h (docbookHandleCaption):
12020 * buffer.C (docbookHandleCaption): removed unused function.
12021 (makeDocBookFile): moved docbook supported version to v4.1.
12023 2001-10-24 José Matos <jamatos@fep.up.pt>
12026 * tabular.C (docbookRow): new function to export docbook code of a row.
12027 (DocBook): now honors the longtable flags.
12029 2001-10-23 José Matos <jamatos@fep.up.pt>
12032 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12033 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12035 * buffer.C (makeLinuxDocFile):
12036 (makeDocBookFile): reworked the preamble, more clean, and with
12037 support for lyx defined entities. Changed the document declaration
12038 to be more XML friendly.
12040 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12041 if we need to output XML that should be done with a filter.
12043 2001-10-22 Juergen Vigna <jug@sad.it>
12045 * sp_pspell.h (class PSpell): add alive function needed in the
12046 controller to see if the spellchecker could be started.
12048 2001-10-22 Juergen Vigna <jug@sad.it>
12050 * buffer.C (insertStringAsLines): modify the font for inserting
12051 chars in certain conditions by calling checkInsertChar(font).
12053 2001-10-19 Juergen Vigna <jug@sad.it>
12055 * text.C (workWidth): use getRow instead of wrong algorithm.
12056 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12058 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12063 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12065 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12067 * text.C (workWidth): do not search for the exact row when
12068 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12069 optimization for big documents.
12071 2001-10-18 Juergen Vigna <jug@sad.it>
12073 * text.C (workWidth): new function with added Inset * parameter.
12075 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12077 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12079 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12080 change return type of getColumnNearX.
12083 * text.C (changeRegionCase): use uppercase/lowercase instead of
12086 (rightMargin): simplify code by factoring out the uses of
12091 (appendParagraph): use Paragraph::size_type
12093 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * vspace.C (asLatexString): add a missing break
12097 2001-10-15 Herbert Voss <voss@perce.de>
12099 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12101 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12103 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12106 2001-10-10 André Pönitz <poenitz@gmx.net>
12108 * lyxfunc.C: removed greek_kb_flag.
12110 2001-10-10 Herbert Voss <voss@perce.de>
12112 * lyx_main.C: delete global string help_lyxdir.
12114 2001-10-09 Herbert Voss <voss@perce.de>
12116 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12118 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12120 * lyx_main.C: added global string help_lyxdir.
12122 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12124 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12126 * lyxrc.C (set_font_norm_type): support iso8859-4
12128 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12130 * LaTeX.C (deplog): add another regex for MikTeX
12132 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12134 * lyxrc.C (set_font_norm_type): support iso8859-3
12136 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12138 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12140 * LaTeXFeatures.C: remove special case of french and index
12142 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12143 before \begin{document}). This solves several incompatibilities.
12145 2001-10-03 Garst Reese <reese@isn.net>
12147 * lyx_cb.C: change CheckTex error msg.
12149 2001-10-03 José Matos <jamatos@fep.up.pt>
12151 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12153 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12155 * .cvsignore: update
12157 * lyx_main.C (commandLineVersionInfo): use new style version info.
12159 * buffer.C (writeFile):
12161 (makeLinuxDocFile):
12162 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12164 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12166 * version.h: update to use stuff in version.C
12168 * version.C.in: new file. Contains version information determined
12169 at compile time. This is a merging of version.h and
12172 2001-10-03 Juergen Vigna <jug@sad.it>
12174 * BufferView_pimpl.C (update): don't change "dirty" status in
12177 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12179 * WorkArea.C (c-tor): re-position version string slightly.
12181 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12183 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12184 revert to previous code.
12186 WorkArea.[Ch]: (show, destroySplash): methods removed.
12188 WorkArea.C: rework code so that it's an amalgam of the codes before and
12189 after the splash screen was moved to WorkArea.
12191 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12194 * vspace.C (inPixels):
12197 * buffer.C (insertStringAsLines):
12198 (asciiParagraph): fix types to be large enough
12200 * lyxlex_pimpl.h: change member status from short to int
12202 * layout.h: fix type of endlabeltype
12205 * kbsequence.C (parse): change return type to string::size_type
12207 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12210 * Bullet.C (bulletSize):
12211 (bulletEntry): do not use short ints as parameters
12213 * BufferView2.C (insertLyXFile): change a char to an int.
12215 * WorkArea.C (WorkArea): remove unneeded floats in computation
12217 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12219 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12221 * paragraph.C (asString): Do not ignore newline/hfill chars when
12222 copying to the clipboard.
12224 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12226 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12227 after a multi-line inset.
12229 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12231 * paragraph.C (validate): Set NeedLyXFootnoteCode
12233 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12235 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12236 and decrease-error to decrease.
12238 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12240 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12241 it more readable (should be equivalent)
12243 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12245 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12247 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12249 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12250 of a cursor (row, etc.) after a character has been deleted
12251 (deleteEmptyParagraphMechanism): call the method above on _all_
12252 cursors held by the LyXText when a double space has been
12255 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12257 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12259 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12261 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12262 background. Use greyOut() and the new show() methods to toggle between
12263 the foreground and background. Add code to remove the splash after
12264 its initial showing.
12266 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12267 (create_forms): no longer call Dialogs::showSplash.
12269 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12271 * .cvsignore: add version_info.h
12273 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12275 * version_info.h.in: new file
12277 * Makefile.am: add version_info.h.in
12279 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12280 version_info.h instead of VERSION_INFO
12282 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12284 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12285 The ERT inset now returns string().
12287 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12289 * lyxtext.h, text.C (selectNextWord): renamed as
12290 selectNextWordToSpellcheck.
12292 * text.C (selectNextWordToSpellcheck): Modified to not select
12293 words inside an ERT inset.
12295 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12297 * lyx_cb.C (MenuLayoutSave): change a bit the question
12299 * sp_base.h: include <sys/types.h>
12301 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12303 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12305 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12307 * several files: fix typos in user-visible strings
12309 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12311 * text2.C (pasteSelection): do not set the selection, since it
12312 will be cleared later. Actually, the intent was to fix the way the
12313 selection was set, but I figured rmoving the code was just as good.
12315 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12317 * FontLoader.C (available): Check if font is available without
12320 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12322 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12324 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12326 * lyxrc.[Ch]: added display_graphics variable and associated code.
12328 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12330 * bufferparams.C (hasClassDefaults): new method. Returns true if
12331 the buffer parameters correspond to known class defaults
12333 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12335 * XFormsView.C (show): set minimum size to the main window.
12337 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12339 * text2.C (copySelection):
12341 * lyxfind.C (LyXReplace):
12342 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12343 LyXText::selectionAsString.
12345 * paragraph.C (asString): add "label" argument to the second form
12347 * text2.C (selectionAsString): add "label" argument and pass it to
12348 Paragraph::asString.
12350 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12352 * lyx_main.C (commandLineHelp): remove version information
12354 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12356 * lyx_main.C: add -version commandline option
12358 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12360 * paragraph.h: make the optional constructor arg required instead.
12361 some modifications to other files because of this.
12363 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12365 * lyxserver.C (C_LyXComm_callback): make it static
12367 * lyx_main.C (error_handler): make it static
12369 * lyx_gui.C (LyX_XErrHandler): make it static
12371 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12373 * WorkArea.C: make the extern "C" methods static.
12375 * Makefile.am (lyx_LDADD): simplify
12377 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12379 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12380 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12382 * LyXAction.C (init):
12383 * lyxfunc.C (dispatch): associated code removal.
12385 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12387 * lyxfont.h (isSymbolFont): shut off warning
12389 * text.C (setHeightOfRow):
12390 (getVisibleRow): fix crash with empty paragraphs which have a
12393 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12395 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12398 2001-09-04 José Matos <jamatos@fep.up.pt>
12401 * tabular.C (docbook): rename docBook method to docbook.
12403 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12405 * Makefile.am: add dependencies to main.o.
12407 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12409 * FontLoader.C (available): Return false if !lyxrc.use_gui
12411 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12413 * FontInfo.C (query):
12414 * converter.C (view):
12415 * importer.C (Import):
12416 * exporter.C (Export): Can not -> cannot.
12418 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12420 * BufferView_pimpl.C: allow to create index inset even if
12423 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12425 * buffer.C (getLists): replace boost::tie code with an explicit pair
12426 as boost::tie can break some compilers.
12428 * iterators.h: Added a std:: declaration to the return type of
12431 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12433 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12436 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12438 * iterators.[Ch]: New files. Provide paragraph iterators.
12440 * buffer.C (changeLanguage): Use paragraph iterators.
12441 (isMultiLingual): ditto
12443 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12445 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12447 * FontLoader.C: Support for cmr font.
12449 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12451 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12452 (available): New method.
12454 * FontInfo.C (getFontname): Use scalable fonts even when
12455 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12458 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12460 * converter.C (Formats::view): reverted! Incorrect fix.
12462 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12464 * converter.C (Formats::view): only output the -paper option
12465 if the dvi viewer is xdvi, thereby fixing bug #233429.
12467 2001-08-23 Herbert Voss <voss@perce>
12469 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12471 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12473 * Spacing.h (Spacing): Set space to Default on in the default
12476 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12478 * vc-backend.h (RCS::versionString): add RCS to version
12479 (CVS::versionString): add CVS to version
12481 * vc-backend.C (scanMaster): do not add CVS to version.
12482 (scanMaster): do not add RCS to version
12484 * lyxvc.C (versionString): new method
12486 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12488 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * Spacing.C (set): initialize fval
12492 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12494 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12497 2001-08-16 Juergen Vigna <jug@sad.it>
12499 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12501 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12503 * BufferView_pimpl.C:
12506 * text2.C: setParagraph takes linespacing now
12508 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12510 * LyxAction.C: add internal LFUN_CITATION_INSERT
12512 * LyXView.C: actually apply fix
12514 * bufferlist.C: fix open non-existent file
12516 * lyxfind.C: fix indentation
12518 * lyxfunc.C: remove unneeded assert, fix typo
12520 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12522 * MenuBackend.C: use "Floatname List"
12524 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12526 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12527 when converting LaTeX layout to insetERT.
12528 Generate a non-collapsed float when reading old float
12530 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12532 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12535 2001-08-13 Juergen Vigna <jug@sad.it>
12537 * text.C (fill): return 0 instead of 20 as this seems to be the more
12540 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12542 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12545 2001-08-13 Juergen Vigna <jug@sad.it>
12547 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12549 (SearchBackward): comment out the unlocking of the inset_owner this
12550 should not be needed!
12552 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12554 * Many files: Remove inherit_language, and add latex_language
12556 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12557 collapsible insets.
12559 2001-08-10 Juergen Vigna <jug@sad.it>
12561 * text.C (prepareToPrint): fixed hfill-width in draw!
12563 * BufferView2.C (selectLastWord): save the selection cursor as this
12564 now is cleared in the function LyXText::clearSelection!
12566 2001-08-08 Juergen Vigna <jug@sad.it>
12568 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12569 BACKSPACE type functions.
12571 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12572 is only cutted from the document but not put in the cut-buffer, where
12573 still the old stuff should be.
12575 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12577 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12579 * tabular.C (SetWidthOfCell): fixed special case where the width
12581 (LeftLine): handle '|' in align_special.
12583 (LeftAlreadyDrawed): ditto
12584 (SetWidthOfCell): ditto
12586 2001-08-07 Juergen Vigna <jug@sad.it>
12588 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12590 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12592 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12593 * lyxlex.[hC]: ditto
12595 2001-08-06 Juergen Vigna <jug@sad.it>
12597 * text.C (getVisibleRow): fix up row clearing a bit.
12599 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * minibuffer.C: make sure the X server sees the changes in the input.
12603 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * paragraph.C (getFont): split into...
12606 (getLabelFont): this
12607 (getLayoutFont): and this
12608 * paragraph_pimpl.C (realizeFont): calling this
12610 * text2.C (getFont): split into...
12611 (getLayoutFont): this
12612 (getLabelFont): and this
12613 (realizeFont): all three calling this
12615 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12618 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12620 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12622 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12624 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12625 layouts from the Quote inset insertion.
12627 2001-08-03 Juergen Vigna <jug@sad.it>
12629 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12631 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12632 only if status not is already CHANGED_IN_DRAW (second level).
12634 * text.C (draw): don't set the need_break_row when inside an
12637 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12639 * buffer.C (parseSingleLyXformat2Token): handle more latex
12642 * bufferview_funcs.[hC]: change function names to
12643 begin with small char, adjust other files.
12645 2001-08-02 André Pönitz <poenitz@gmx.net>
12648 BufferView_pimpl.C: remove broken special code for math-greek
12650 2001-08-02 Juergen Vigna <jug@sad.it>
12652 * BufferView_pimpl.C (update): redone this function so that we
12653 update the text again if there was a CHANGE_IN_DRAW.
12655 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12656 (drawFromTo): added a new internal bool which is used by draw() and
12658 (general): some cursor drawing problems fixed.
12660 2001-08-01 Juergen Vigna <jug@sad.it>
12662 * lyxfind.C (LyXFind): fixed
12663 (SearchForward): ditto
12664 (SearchBackward): ditto
12666 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12667 spurius drawing of the cursor in the main area.
12669 * text2.C (status): small fix which could lead to a segfault!
12670 (clearSelection): remove unneeded BufferView param.
12672 2001-08-01 André Pönitz <poenitz@gmx.net>
12674 * lyxfunc.C: small change due to changed mathed interface
12676 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12678 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12680 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12682 * lyxfunc.c: fail gracefully if file doesn't exist
12687 * BufferView_pimpl.C: IsDirWriteable() proto changed
12689 * LyXView.C: fix updateWindowTitle() to store the last title
12691 2001-07-31 Juergen Vigna <jug@sad.it>
12693 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12694 the font (wrong since using of Paragraph::highestFontInRange).
12696 * paragraph.C (highestFontInRange): added a default_size parameter.
12698 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12699 (setHeightOfRow): reformat
12701 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * converter.[hC] + affected files: move to (inital-char)lowercase
12706 * ParagraphParameters.C (ParagraphParameters): remove commented code
12708 * PainterBase.[Ch]: remove commented code
12710 * LaTeXFeatures.h: add "bool floats" for float.sty
12712 * LaTeXFeatures.C (LaTeXFeatures): init floats
12713 (require): handle float
12714 (getPackages): do it with floats
12716 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12718 * BufferView_pimpl.C (Dispatch): improve handling of
12719 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12721 * commandtags.h: #include lyxfont.h here temporarily to avoid
12724 * bufferlist.h: include LString.h here.
12726 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12728 * text2.C (getStringToIndex): new method.
12730 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12732 * *: Reduced header file dependencies all over.
12734 2001-07-30 Baruch Even <baruch@lyx.org>
12736 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12738 2001-07-29 Baruch Even <baruch@lyx.org>
12740 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12742 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12744 * ParameterStruct.h (endif): add a default constructor to make
12745 sure that all variables is initialized.
12747 * ParagraphParameters.C (ParagraphParameters): adjust
12749 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12751 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12752 index; also, check that there is something to index, and that it
12753 does not span over several paragraphs.
12754 (doubleClick): use WHOLE_WORD_STRICT for double click.
12756 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12758 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12761 2001-07-26 Baruch Even <baruch@lyx.org>
12763 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12764 an InsetFig figure, backwards compatible reading of old figure code.
12766 2001-07-27 Juergen Vigna <jug@sad.it>
12768 * text2.C: font.realize function adaption.
12770 * text.C (draw): add a warnings lyxerr text if needed.
12772 * layout.C: font.realize function adaption.
12774 * language.C: add inherit_language and implement it's handlings
12776 * bufferview_funcs.C (StyleReset): remove language parameter from
12777 font creation (should be language_inherit now).
12779 * bufferparams.C (writeFile): handle ignore_language.
12781 * paragraph.C (getFontSettings): the language has to be resolved
12782 otherwise we have problems in LyXFont!
12784 * lyxfont.C (lyxWriteChanges): added document_language parameter
12785 (update): removed unneeded language parameter
12787 * paragraph.C (validate): fixed wrong output of color-package when
12788 using interface colors for certain fonts in certain environments,
12789 which should not seen as that on the final output.
12791 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12793 * BufferView_pimpl.C:
12798 * LyXAction.C: add thesaurus support
12801 * lyxfind.C: add "once" parameter, for thesaurus, to not
12802 move to the next match
12804 2001-07-26 Juergen Vigna <jug@sad.it>
12806 * lyxfont.C (realize): honor ignore_language too!
12809 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12811 * text.C (draw): one place more for ignore_language to not draw
12814 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12816 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12818 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12821 the minipage conversion problem.
12823 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12825 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12828 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12830 * BufferView.h: don't forward declare WorkArea
12832 * BufferView.C: don't include WorkArea.h
12834 2001-07-25 André Pönitz <poenitz@gmx.net>
12838 * lyxfunc.C: new LFUN 'math-space'
12840 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12842 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12844 * text2.C (toggleInset): call open/close
12846 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12848 * lyxfunc.C (dispatch): add debug for the disabled case
12850 * font.C (buttonText): make similar to rectText
12852 * buffer.C (readInset): comment out parsing of insetlist and
12855 * PainterBase.C (rectText): small correction
12857 * BufferView_pimpl.C: comment out insettheorem and insetlist
12858 * LyXAction.C: ditto
12859 * commandtags.h: ditto
12861 2001-07-24 Juergen Vigna <jug@sad.it>
12863 * text.C (draw): honor the ignore_language.
12865 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12867 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12869 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12872 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12874 * lyxtext.h: remove unused (and unimplemented) methods
12876 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12878 * text.C (getVisibleRow): honor background color
12881 * Painter.h: remove default color argument for fillRectangle
12883 * text.C (backgroundColor): new method
12885 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12887 * text.C (getVisibleRow): adjust
12889 * font.[Ch] (rectText): new method, metrics
12890 (buttonText): new method, metrics
12892 * PainterBase.[hC]: make rectText and buttonText always draw and take
12895 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12897 * ToolbarDefaults.C (read):
12898 * MenuBackend.C (read): allow escaping in all strings
12900 * BufferView_pimpl.C (insertAndEditInset): new method.
12901 (Dispatch): use insertAndEditInset whenever appropriate.
12903 * BufferView_pimpl.C (insertNote): removed
12905 * BufferView_pimpl.C (smartQuote): new method, moved from
12906 BufferView; if an insetquote cannot be inserted, insert a '"'
12909 * BufferView2.C: remove insertCorrectQuote();
12911 * lyxfunc.C (getStatus): Add support for all remaingin
12912 inset-insert lfuns.
12914 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12916 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12917 command (necessary to pass " as parameter of self-insert.
12919 * text.C (selectWordWhenUnderCursor):
12920 (selectWord): add word_location parameter
12921 (selectWordWhenUnderCursor): same + remove special code for word
12923 (selectNextWord): use kind() to guess type of insetspecialchar,
12926 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12927 (insertErtContents): create ert insets as collapsed.
12928 (readInset): better compatibility code for Info inset.
12930 2001-07-20 Juergen Vigna <jug@sad.it>
12932 * lyxfunc.C (dispatch): use always LyXFind now!
12934 * text2.C (init): add a reinit flag so that the LyXText can be
12935 reinited instead of deleted and reallocated (used in InsetText).
12937 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12943 2001-07-18 Juergen Vigna <jug@sad.it>
12945 * text.C (selectNextWord): handle insets inside inset by calling
12946 always the bv->text functions so that we can go up the_locking_inset!
12948 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12949 in strange locations when inside an inset!
12951 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12952 handling to include insets.
12954 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12956 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12958 * LyXAction.C (init):
12960 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12961 LIGATURE_BREAK, since the name is so stupid.
12963 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12965 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12968 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12970 * sp_form.[Ch]: remove.
12972 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12974 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12977 * src/buffer.C (readInset): ditto.
12979 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12981 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12982 menuSeparator(), endOfSentenceDot(), ldots() and
12983 hyphenationPoint(), which are therefore removed.
12984 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12986 * LyXAction.C (init):
12987 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12989 * paragraph.C (getWord): removed.
12991 * BufferView_pimpl.C (Dispatch): use last word or selection for
12992 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12994 * lyx_main.C (queryUserLyXDir): do not ask before creating
12995 user_dir, except if it has been named explicitely.
12997 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12999 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13000 a document of zero size.
13002 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13004 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13005 approriately in the c-tor and in require().
13006 (getPackages): output the appropriate LaTeX for natbib support.
13008 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13009 variables "use_natbib" and "use_numerical_citations" when reading the
13011 (readInset): read the various natbib cite commands.
13012 (validate): white-space change.
13014 * bufferparams.[Ch]: new variables "bool use_natbib" and
13015 "bool use_numerical_citations".
13016 (writeFile): output them in the LyX file.
13018 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13020 * lyxfunc.C (getStatus): add support for all the inset insertion
13023 * text2.C (insertInset):
13024 * paragraph.C (insetAllowed):
13025 * BufferView_pimpl.C (insertInset): update to take in account the
13026 renaming of insertInsetAllowed
13028 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13030 * text2.C (getInset): new method. returns inset at cursor position.
13032 * BufferView_pimpl.C (Dispatch): changes because of this.
13034 * LyXAction.C (init): rename open-stuff to inset-toggle.
13036 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13038 * text2.C (toggleInset): renamed from openStuff; use
13041 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13043 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13045 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13047 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13049 * buffer.C (readLyXformat2): Add filename to the error dialog
13051 2001-07-18 Juergen Vigna <jug@sad.it>
13053 * tabular.C (GetCellNumber): put an assert here instead of the check!
13055 2001-07-17 Juergen Vigna <jug@sad.it>
13057 * BufferView_pimpl.C (toggleSelection): adapted too.
13059 * text.C (selectNextWord): adapted for use with insets.
13060 (selectSelectedWord): ditto
13062 2001-07-17 Juergen Vigna <jug@sad.it>
13064 * sp_spell.C (PSpell): fix initialitation order.
13066 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * paragraph.C: spacing
13070 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13072 * sp_spell.C: repair language selection for pspell
13074 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13076 * lyxfunc.h: change more methods to begin with lower char.
13078 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13080 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13081 for unknown layouts.
13083 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13085 * buffer.C (readLyXformat2): Generate an error dialog if there are
13088 2001-07-16 Juergen Vigna <jug@sad.it>
13090 * sp_spell.C: always compile ISpell part.
13092 * lyxrc.C: added use_pspell entry and it's handling.
13094 2001-07-13 Juergen Vigna <jug@sad.it>
13096 * sp_spell.C: removed double includes.
13098 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13100 Consistent use of Lsstream.h:
13101 * Lsstream.h: added using std::stringstream for consistencies sake.
13103 * buffer.C: removed using std::stringstream
13105 * lyxfont.C (stateText):
13106 * paragraph.C (asString):
13107 * text.C (selectNextWord, selectSelectedWord):
13108 * text2.C (setCounter):
13109 * vspace.C (asString, asLatexString):
13110 std::ostringstream -> ostringstream.
13112 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13114 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13115 * commandtags.h: add LFUN_HELP_ABOUTLYX
13116 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13118 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13120 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13122 * lyx_gui_misc.C: remove spellchecker
13123 * lyxfunc.C: showSpellchecker
13125 * sp_ispell.h: added
13126 * sp_pspell.h: added
13127 * sp_spell.C: added
13128 * sp_form.[Ch]: removed
13129 * spellchecker.[Ch]: removed
13131 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13133 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13135 (simpleTeXSpecialChars): Simply print the input character without
13136 any special translation if pass_thru is set.
13138 * layout.h: Added bool pass_thru to layout class for being able to
13139 implement pass through of a paragraph for Literate Programming.
13141 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13142 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13143 * layout.C (Read): add "passthru" to list of layout tags and add
13144 code to set the pass_thru boolean when it is read.
13146 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * trans_decl.h: remove allowed from KmodInfo
13150 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13151 remove allowed code
13154 * paragraph_pimpl.C (erase): use boost::prior
13156 * Painter.C (text): use data() instead of c_str() when length is
13158 * WorkArea.C (putClipboard): ditto
13159 * font.h (width): ditto
13161 * BufferView2.C: use it-> instead of (*it). for iterators
13163 * paragraph_pimpl.C: ditto
13164 * paragraph.C: ditto
13165 * minibuffer.C: ditto
13166 * language.C: ditto
13168 * encoding.C: ditto
13169 * counters.C: ditto
13170 * converter.C: ditto
13172 * Variables.C: ditto
13173 * TextCache.C: ditto
13174 * MenuBackend.C: ditto
13175 * LyXAction.C: ditto
13177 * FloatList.C: ditto
13178 * DepTable.C: ditto
13179 * ColorHandler.C (LyXColorHandler): ditto
13181 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13183 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13185 * text2.C (openStuff): reintroduce this method (which had been
13186 nuked in NEW_INSETS frenzy).
13188 * lyxfunc.C (Dispatch): when an action has not been handled, use
13189 its name in the error message, not its number.
13191 * paragraph.C (inInset): change method name to begin with lowercase.
13194 * text2.C: updates because of this.
13196 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13198 * ToolbarDefaults.C (add): add spaces in error message
13200 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13203 (readLyXformat2): rename return_par to first_par, use lyxlex's
13204 pushToken and remove the manual push handling.
13205 (parseSingleLyXformat2Token): add another ert comp. variable:
13206 in_tabular, rename return_par to first_par. handle newlines better
13208 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13210 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13212 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * text2.C (getParFromID): removed
13216 * buffer.C (getParFromID): new method moved form lyxtext.
13217 * BufferView2.C (insertErrors): adjust
13218 (setCursorFromRow): adjust
13219 * BufferView_pimpl.C (restorePosition): adjust
13220 * lyxfunc.C (Dispatch): adjust
13221 * undo_funcs.C (textUndo): adjust
13223 (textHandleUndo): adjust
13224 (textHandleUndo): adjust
13226 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13228 * buffer.C: up' the LYX_FORMAT
13230 * lyxfont.h: turn NO_LATEX on as default
13232 * buffer.C (insertErtContents): new methods of tex style compability.
13233 (parseSingleLyXformat2Token): use it several places.
13234 * tabular.C (OldFormatRead): and here
13236 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13238 * text2.C: remove some commented code.
13241 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13242 * trans.C: changes because of the above.
13244 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13246 * text2.C (setCounter): Fix counters bug with bibliography layout.
13248 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13251 own member functions
13252 (simpleTeXSpecialChars): ditto
13254 2001-07-06 Juergen Vigna <jug@sad.it>
13256 * a lot of files: changed the access to LyXText::status and the
13257 call of undo-functions.
13259 * undo.[Ch]: added a inset_id to the undo informations.
13261 * undo_funcs.[Ch]: added and moved here all undo functions.
13263 * lyxtext.h: give the status enum a weight, made status_ a private
13264 variable and made accessor functions for it, removed the whole bunch
13265 of undo-functions as they are now in their own file, make some
13266 functions publically available. Added function ownerParagraph with
13269 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13270 made InInset() a const function, added getParFromID() function.
13272 * buffer.[Ch]: added const version for inset_iterator functions,
13273 added getInsetFromID() function.
13275 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13276 changed undo functions for new version.
13278 2001-07-05 Juergen Vigna <jug@sad.it>
13280 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13281 unknow mechanism does not call the proper constructor but only this
13282 one also if I request the other!?
13284 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13286 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13288 * text2.C (LyXText): use initialization lists.
13290 * lyxtext.h (Selection): initialize set_ and mark_
13291 (init): remove method
13293 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13295 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13297 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13299 * screen.[Ch]: change method names to begin with lowercase
13301 * BufferView_pimpl.C (updateScrollbar): simplify further and
13302 hopefully make it a bit faster.
13304 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13306 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13307 calling directly xforms functions.
13309 * Painter.C (Painter):
13310 * lyx_cb.C (MenuWrite):
13311 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13314 * lyx_gui.C: remove bogus guiruntime extern declaration.
13316 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13318 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13320 (redoDrawingOfParagraph): ditto
13321 (redoParagraphs): ditto
13322 (cutSelection): don't create a object for CutAndPaste use the
13323 static method directly
13324 (pasteSelection): ditto
13326 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13329 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13331 * modifications to some other files because of this.
13333 * Makefile.am (lyx_SOURCES): add XFormsView
13335 * XFormsView.[Ch]: new files
13337 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13338 the main window. Move the gui dependent stuff to XFormsView
13340 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13342 * tabular.C (GetCellInset): update cur_cell also in the row/col
13343 version of this function.
13345 * lyxfunc.C: no need to include figure_form.h here.
13351 * lyxvc.C: no need to include forms.h here.
13353 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13355 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13357 * lyxfunc.C (Dispatch):
13359 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13360 constructor argument.
13362 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13364 * paragraph.C (Paragraph): dont't clear, and just set layout.
13365 (makeSameLayout): use params's copy contructor.
13367 * ParagraphParameters.[Ch] (makeSame): delete method
13369 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13371 * Variables.[Ch]: fix indentation, rename set to isSet
13373 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13375 * lyxfunc.C (Dispatch): fix typo
13377 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13379 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13382 * bufferlist.C: include assert.h for emergencyWrite().
13384 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13386 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13387 give up at last (bug #425202) !
13389 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13395 * spellchecker.C: strip spellchecker options and bring up
13396 preferences tab instead
13398 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13400 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13401 the istringstream constructor
13403 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13405 * paragraph.C (getLayout): fix return value
13407 * paragraph.h: do not declare getLayout as inline.
13409 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13411 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13413 * lyxcursor.h (operator<): new func
13414 (operator>): new func
13415 (operator>=): new func
13416 (operator<=): new func
13418 * text.C (changeCase): use selection.start and selection.end
13419 (changeRegionCase): require from to be <= to. Require par to be a
13422 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13424 2001-06-27 Juergen Vigna <jug@sad.it>
13426 * text.C (cursorLeftOneWord): changed to return the cursor and added
13427 overlay with BufferView * parameter which calls this one.
13429 (selectWord): use new getWord function.
13430 (changeCase): renamed from changeWordCase as and extended to work
13431 also on selections.
13433 * lyxtext.h: added enum word_location
13435 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13436 changeCase as this operates now also on selections.
13438 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13440 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13442 * many files: send debug output to Debug::INFO instead of
13445 * converter.C (View):
13447 (Move): send debug output to Debug::FILES instead of console.
13449 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13451 * lyxfunc.C (getStatus): use func_status
13453 * func_status.h: new header, describing the results of
13454 LyXFunc::getStatus;
13456 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13459 2001-06-25 The LyX Project <jug@sad.it>
13461 * buffer.C (sgmlOpenTag):
13463 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13465 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * text2.C: remove some dead code
13469 * tabular.C (GetCellInset): store the last cell checked (gotten)
13471 * tabular.h: add the helper for the speedup
13473 * lyxtext.h: remove some dead code
13475 2001-06-26 The LyX Project <Asger>
13477 * paragraph.C: Change export to LaTeX of alignment to
13478 \begin{center} and family for better roundtrip work with reLyX.
13480 * Tune the math drawing a bit.
13482 2001-06-25 The LyX Project <Asger>
13484 * LColor.C (LColor): New color for math background. New color
13487 2001-06-25 The LyX Project <jug@sad.it>
13489 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13491 * lyxfunc.C (Open):
13492 * bufferlist.C (newFile): do not restrict to files ending with
13495 * BufferView_pimpl.C (MenuInsertLyXFile):
13497 2001-06-24 The LyX Project <jug@sad.it>
13499 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13502 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13504 * lyxtext.h: rename most methods to begin with a small char.
13505 Lots of changes because of this.
13507 * paragraph.C (Paragraph): do not call fitToSize
13508 (erase): call Pimpl::erase
13509 (insertChar): call Pimpl::insertChar
13510 (insertInset): call Pipl::insertInset
13511 (breakParagraph): do not call fitToSize
13512 (breakParagraphConservative): do not call fitToSize
13513 (fitToSize): remove method
13515 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13517 2001-06-24 The LyX Project <Asger>
13519 * Fix Qt compilation^2
13521 2001-06-24 The LyX Project <jug@sad.it>
13523 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13524 depthHook(getDepth()-1).
13527 * ParagraphParameters.h:
13528 * ParameterStruct.h: change type of depth to unsigned int ==
13529 depth_type. Many adaptations to other files before of that.
13531 2001-06-24 The LyX Project <Asger>
13533 * Fix Qt compilation.
13535 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13537 * paragraph.h: renamed several methods to begin with small letter.
13538 several changes to many parts of the code because of this.
13540 2001-06-23 The LyX Project <jug@sad.it>
13542 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13543 rewritten to discard all double spaces when KeepEmpty is off
13544 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13545 to only handle newlines but not fiddle with spaces and friends.
13547 * lyxfunc.C (MenuNew): when doing 'new from template', use
13548 template_path as default directory
13550 2001-06-23 The LyX Project <Asger>
13552 * Clean-up of header file includes all over
13553 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13555 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13557 * paragraph.h: renamed from lyxparagraph.h
13559 2001-06-23 Asger <lyx@violet.home.sad.it>
13561 * Buffer.h: Removed Buffer::resize
13562 * BufferList.h: Removed BufferList::resize
13563 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13564 the document lazily when we change the width, or the font settings.
13566 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13568 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13570 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13572 * buffer.h: remove out of date comment
13574 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13577 * screen.C: fix "theoretical" GC leak
13579 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13581 * LaTeX.C (scanAuxFile):
13582 (deplog): remove trailing \r when reading stream (useful under
13585 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13587 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13588 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13589 and BufferView::theLockingInset(Inset*), so should use them and not
13590 access bv_->text->the_locking_inset directly.
13592 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13594 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13597 * tex-defs.h: remove old unused file
13599 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13601 * BufferView_pimpl.C: fix typo, remove minibuffer message
13602 when buffer has loaded
13604 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13606 * lyxfunc.C (Dispatch): use stringstream
13607 (MenuNew): use stringstream
13608 (Open): use stringstream
13610 * importer.C (Import): use stringstream
13612 * bufferview_funcs.C (CurrentState): use stringstream
13614 * LaTeX.C (run): use stringstream
13616 * BufferView_pimpl.C (savePosition): use stringstream
13617 (restorePosition): use stringstream
13618 (MenuInsertLyXFile): use stringstream
13620 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13633 * vspace.C: removed // -*- C++ -*- as first line.
13636 * version.h: added // -*- C++ -*- as first line.
13638 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13640 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13642 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13645 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13647 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13650 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13652 * gettext.C: include LString.h even when --disable-nls is on.
13654 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13656 * converter.h (Get): changed argument type from int to
13657 FormatList::size_type to avoid unnecessary conversion.
13659 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13662 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13664 * gettext.h: include LString.h even when --disable-nls is on.
13666 2001-06-07 Juergen Vigna <jug@sad.it>
13668 * text.C (BreakAgain): subst spaces with tabs.
13670 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13671 (resizeInsetsLyXText): set force on resizeLyXText.
13673 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13675 * gettext.h (gettext_init):
13676 (locale_init): use a real definition instead of a macro
13678 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13680 * Bufferview_pimpl.C:
13682 * LColor.C: further lcolor tidies
13684 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * BufferView_pimpl.C (updateScrollbar): simplify.
13688 * BufferView2.C: don't include insets/insetinfo.h, change
13689 prototype for insertInset and call the Pimpl version. let
13690 updateInset call Pimpl version.
13692 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13693 gotoInset to BufferView::Pimpl
13695 2001-06-01 Juergen Vigna <jug@sad.it>
13697 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13698 inside a LockingInset (is the update needed at all?).
13700 2001-05-31 Juergen Vigna <jug@sad.it>
13702 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13703 here not the old one otherwise how should we compare it afterwards
13706 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13711 * FontInfo.C: bring C functions into global namespace when
13714 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * LString.h: make sure config.h has been loaded before LString.h.
13718 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13719 (one for each char read by EatLine!).
13721 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13724 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13727 to the same as the par we break from
13729 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13731 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13733 * MenuBackend.C (expand): also create menu entries for wide
13734 versions of the floats.
13736 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13738 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13740 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13741 frontends/Makefile.am
13747 * tabular.C (getTokenValue): add std::
13749 * tabular-old.C (getTokenValue): add std::
13750 (getTokenValue): ditto
13751 (getTokenValue): ditto
13753 * screen.C (ToggleSelection): adjust
13755 * lyxtext.h: put selection cursors inside a Selection struct.
13757 * lyxfunc.C (moveCursorUpdate): adjust
13759 * lyxfont.C (latexWriteStartChanges): add std::
13761 * lyxfind.C: adjust
13763 * font.h: delete with(char const *, LyXFont const &)
13765 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13767 * FontInfo.C (getFontname): add std::
13769 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13770 (workAreaButtonPress): adjust
13771 (tripleClick): adjust
13773 (moveCursorUpdate): adjust
13776 * BufferView2.C (gotoInset): adjust
13778 2001-05-30 Juergen Vigna <jug@sad.it>
13780 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13781 to check pspell I add this as default as I now have new pspell
13782 libraries and they seem to use this.
13784 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13786 * text2.C (CutSelection): make the cursor valid before the call to
13789 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13791 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13792 relied on 0 terminated strings and other horrors. Bug found due to
13793 the new assert in lyxstring!
13795 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13798 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13800 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13803 * lyxfunc.C (processKeySym): change method of getting to the
13806 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13807 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13808 * BufferView_pimpl.[Ch]: here as private methods.
13810 2001-05-28 Juergen Vigna <jug@sad.it>
13812 * text.C (SetHeightOfRow): added the update() call again as it is
13813 needed to initialize inset dimensions!
13815 2001-05-16 Juergen Vigna <jug@sad.it>
13817 * text2.C (SetCharFont): Add new function with BufferView * and
13818 bool toggleall parameters for setting insets internal fonts.
13819 (SetFont): Freeze the undo as we may change fonts in Insets and
13820 all this change should be inside only one Undo!
13822 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13823 setting font's in insets as for them we have the SetFont function!
13825 2001-05-15 Juergen Vigna <jug@sad.it>
13827 * text2.C (ClearSelection): to be sure we REALLY don't have any
13830 * tabular.C (TeXCellPreamble): fixed the left border problem for
13833 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13835 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13838 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13840 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13841 LFUN_BREAKPARAGRAPH.
13843 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13844 help test to "internal only", similar for LFUN_INSERT_URL
13846 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13847 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13848 auto_region_delete and deadkeys.
13850 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13853 * LColor.C: remove some dead entries, tidy a little
13855 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13857 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13859 (Dispatch): implement LFUN_ESCAPE
13861 * commandtags.h: add LFUN_ESCAPE
13863 * LyXAction.C (init): add entry for LFUN_ESCAPE
13865 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13866 Remove commented code.
13867 (insertNote): moved here
13868 (open_new_inset): moved here
13870 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13873 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13875 * kbmap.C (findbinding): clean it up and make it work correctly.
13877 * lyx_main.C (init): do not pass argc and argv as parameters
13879 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13881 * buffer.C: fix path for OS/2 & Win32
13885 * lyx_main.C: Added os:: class.
13887 * os2_defines.h: update
13889 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13891 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13892 better by trying again with reduced state.
13894 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13896 * lyxrc.C (read): print error about invalid key sequence only when
13897 debugging (because not all latinX keysyms are known to some X
13900 * kbsequence.C (getiso): add a few std:: qualifiers
13901 (getiso): comment out extra return statement.
13903 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13905 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13907 (Dispatch): enhance the accent inset a bit. (not perfect)
13909 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13911 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13913 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13915 * bufferlist.C (emergencyWrite): fix assert() call
13917 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13919 * text.C (InsertChar): Added trivial patch to only send the "you
13920 can not do multiple spaces this way" message once during a
13923 2001-05-08 Baruch Even <baruch@lyx.org>
13925 * Makefile.am: Changed order of libraries to get LyX to link properly
13926 with the gnome frontend.
13928 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13930 * LaTeXFeatures.h: add a std:: qualifier
13932 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13934 * paragraph.C (String): use stringstream
13936 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13938 * paragraph.C (writeFile): remove footflag arg
13940 * buffer.C (makeLaTeXFile): use stringstream
13941 (latexParagraphs): remove footnot gurba
13943 * LaTeXFeatures.C (getPackages): use stringstream
13944 (getMacros): likewise
13945 (getTClassPreamble): likewise
13946 (getFloatDefinitions): new method
13948 * paragraph.C (writeFile): reindent
13951 * WorkArea.h: revert the xpos + etc changes.
13953 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13955 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13957 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13958 (pasteSelection): likewise
13959 * text2.C (CreateUndo): likewise
13961 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13963 * minibuffer.C (peek_event): temporarily reduce the functionality
13964 of the minibuffer (to allow args on lfuns)
13966 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13967 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13969 * buffer.C (readInset): add compability reading of old float
13970 lists, add reading of new style float list.
13971 (readInset): avoid reevaluation of inscmd.getCmdName()
13972 (getLists): reindent
13974 * MenuBackend.C (MenuItem): implement parsing of
13975 md_floatlistinsert and md_floatinsert.
13976 (expand::LastFiles): move initalizaton of iterators out of loop,
13977 avoid reevaluation.
13978 (expand::Documents): introduce typdedef vector<string> Strings,
13980 (expand::ExportFormats): introduce typedef vector<Format const *>
13981 Formats, and use it.
13982 (expand): implement FloatListInsert and FloatInsert.
13984 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13985 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13986 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13988 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13990 (Dispatch::LFUN_FLOAT_LIST): implement
13992 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13994 * LaTeX.C (run): Fix problem with --export code.
13996 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13998 * BufferView.[Ch] (workarea): removed.
13999 (getClipboard) new method; wrapper for workarea()->getClipboard()
14001 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14004 * WorkArea.h (width, height, xpos, ypos): These methods all
14005 returned the dimensions of the work_area sub-area of WorkArea,
14006 resulting in a position error if the WorkArea were resized. Now
14007 return the dimensions of the entire WorkArea.
14009 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14011 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14013 * LaTeX.C (deplog): correct the syntax of regex reg1
14015 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14017 * undo.C: remove !NEW_INSETS cruft
14019 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14021 * text2.C: remove !NEW_INSETS cruft
14023 * text.C: remove !NEW_INSETS cruft
14025 * tabular.C: remove !NEW_INSETS cruft
14027 * spellchecker.C: remove !NEW_INSETS cruft
14029 * lyxtext.h: remove !NEW_INSETS cruft
14031 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14033 * lyxfunc.C: remove !NEW_INSETS cruft
14035 * lyxfind.C: remove !NEW_INSETS cruft
14037 * lyx_cb.C: remove !NEW_INSETS cruft
14039 * figureForm.C: remove !NEW_INSETS cruft
14041 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14043 * buffer.[Ch]: remove !NEW_INSETS cruft
14045 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14047 * CutAndPaste.C: remove !NEW_INSETS cruft
14049 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14051 * BufferView2.C: remove !NEW_INSETS cruft
14053 * BufferView.h: remove !NEW_INSETS cruft
14055 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14057 * Lsstream.h: include LString.h before the sstream headers to
14058 fix problem with gcc 2.95.3 and lyxstring
14060 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14062 * lyx_main.C: add using directives when needed for C functions
14063 declared in std:: namespace.
14065 2001-04-27 Juergen Vigna <jug@sad.it>
14067 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14068 (SetHeightOfRow): comment out the update call should not be needed!
14070 2001-04-13 Juergen Vigna <jug@sad.it>
14072 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14073 (LyXTabular): tried to minimize operator= operations (and realized
14074 hopfully Lars wish).
14076 2001-04-27 Juergen Vigna <jug@sad.it>
14078 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14080 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14084 * buffer.C (readInset): hack to make listof algorithm work
14086 * BufferView_pimpl.C: hack to make listof algorithm work
14088 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14090 * LyXAction.C: removed all !NEW_INSETS cruft
14091 (init): moved lfun_item in method
14093 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14095 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14097 * BufferView2.C (theLockingInset): white space.
14099 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * minibuffer.C: include <iostream>
14103 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14105 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14107 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14109 * text.[Ch] (TransposeChars): new method
14111 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14113 * call message directly through LyXView instead of through LyXFunc
14114 * BufferView2.C: adjust
14115 * BufferView_pimpl.C: adjust
14116 * FontLoader.C: adjust
14118 * bufferview_funcs.C: adjust
14119 * converter.C: adjust
14120 * figureForm.C: adjust
14121 * importer.C: adjust
14123 * lyx_gui_misc.C: adjust
14124 * lyxfunc.C: adjust
14127 + more files in subdirs
14129 * lyxparagraph.h (size): move up int file
14132 * adjust all uses of Assert to lyx::Assert.
14134 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14135 lyxfunctional in namespace lyx
14136 * layout.C (hasLayout): ditto
14139 (delete_layout): ditto
14140 (NumberOfClass): ditto
14141 * converter.C (GetFormat): ditto
14146 * bufferlist.C (getFileNames): ditto
14147 (emergencyWriteAll): ditto
14150 * MenuBackend.C (hasSubmenu): ditto
14153 * BufferView_pimpl.C (getInsetByCode): ditto
14155 2001-04-18 Juergen Vigna <jug@sad.it>
14157 * vspace.C (asLatexString): fixed the 100% problem.
14159 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * lyxfunc.C (Dispatch):
14163 * minibuffer.h: add a few std:: qualifiers
14165 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14167 * minibuffer.[Ch]: reimplement so that commands is initiated and
14168 run from lyxfunc, simplified som handling, and made the completion
14169 and history code for complete. wip.
14171 * lyxfunc.C (processKeySym): call message
14172 (miniDispatch): new temporary method
14173 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14174 (LFUN_MESSAGE): implement
14175 (LFUN_MESSAGE_PUSH): implement
14176 (LFUN_MESSAGE_POP): implement
14177 (initMiniBuffer): the initial/defualt minibuffer message.
14179 * lyxfont.[Ch]: inline some more getters
14181 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14183 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14185 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14186 (AutoSave): use LFUN_MESSAGE
14187 (Reconfigure): ditto
14189 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14191 * figureForm.C: use LFUN_MESSAGE
14193 * converter.C (runLaTeX): use LFUN_MESSAGE
14195 * bufferview_funcs.C: use LFUN_MESSAGE
14197 (changeDepth): ditto
14199 * bufferparams.h: use boost::
14201 * bufferlist.h: inherit privately from noncopyable
14203 * bufferlist.C (loadLyXFile): remove some commented code.
14205 * buffer.C (runChktex): use LFUN_MESSAGE
14207 * ShareContainer.h: inherit privately from noncopyable
14209 * ParagraphParameters.[hC] (depth): inline it.
14211 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14213 (message): new method
14214 (messagePush): ditto
14215 (messagePop): ditto
14216 (show): init minibuffer
14217 (showState): direct call
14219 * LaTeX.[Ch]: inherit privately from noncopyable
14220 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14221 instead of WriteStatus.
14223 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14225 * BufferView_pimpl.C (buffer): don't init minibuffer
14226 (workAreaButtonPress): use LFUN_MESSAGE
14227 (workAreaButtonRelease): ditto
14228 (savePosition): ditto
14229 (restorePosition): ditto
14230 (MenuInsertLyXFile): ditto
14231 (workAreaExpose): don't init minibuffer
14232 (update): remove commented code, simplify
14234 * BufferView2.C (openStuff): use LFUN_MESSAGE
14235 (toggleFloat): ditto
14238 (copyEnvironment): ditto
14239 (pasteEnvironment): ditto
14244 (updateInset): remove some commented code
14246 * lastfiles.h: inherit privately from noncopyable
14249 * lyx_main.h: ditto
14251 * lyxlex_pimpl.h: ditto
14253 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14254 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14255 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14257 * LyXAction.h: inherit privately from noncopyable, add methods
14258 func_begin, func_end, returning iterators to the func map.
14260 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14261 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14262 (func_begin): new method
14263 (func_end): new method
14265 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14267 (copySelection): ditto
14268 (pasteSelection): ditto
14270 * BufferView.C: whitespace change
14271 * BufferView.h: inherit privately from noncopyable
14273 2001-04-16 Allan Rae <rae@lyx.org>
14275 * tabular-old.C (l_getline):
14276 * spellchecker.C (sc_check_word):
14277 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14278 an unrecognised preprocessor directive. So ensure they're wrapped.
14280 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14282 * src/exporter.C (Export): Give an error message when path to file
14285 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14287 * LaTeX.C (deplog): Always check that foundfile exists.
14289 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14294 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14296 * tabular.[Ch] (getLabelList): implement new method
14298 * minibuffer.h: comment ouf setTiimer
14300 * minibuffer.C (ExecutingCB): constify res
14301 (peek_event): constify s
14302 (Set): constify ntext
14303 (Init): constify nicename
14305 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14307 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14308 (savePosition): use two params to Minibuffer::Set
14309 (restorePosition): ditto
14311 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14313 * lyx_main.C: include language.h
14315 * Makefile.am (lyx_main.o): add language.h
14317 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14323 * CutAndPaste.C: include gettext.h
14325 * lyxfont.h: remove old hack with ON and OFF.
14328 * lyxfont.h: do not include language.h...
14333 * bufferview_funcs.C:
14339 * paragraph.C: ... but do it here instead
14341 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14343 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14345 * tabular.C: small reformat
14347 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14350 (BreakParagraph): ditto
14351 (SetOnlyLayout): ditto
14354 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14357 * lastfiles.C: removed most using decl, add std:: where needed
14359 * buffer.C: ws changes
14361 * MenuBackend.C (class compare_format): put into anon namespace
14362 (expand): constify label, names, action, action2
14365 * text.C (SingleWidth): constify font
14366 (IsBoundary): constify rtl2
14367 (GetVisibleRow): constify ww
14369 * LaTeX.C (deplog): constify logfile
14371 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14373 (workAreaExpose): constify widthChange, heightChange
14375 * lyxrow.C (par): moved
14378 * lyxrow.h: as inlines here
14380 * lyxfont.h (shape): moved from lyxfont.C
14381 (emph): moved from lyxfont.C
14383 * lyxfont.C (LyXFont): use initialization list for all
14385 (shape): move to lyxfont.h as inline
14386 (emph): move to lyxfont.h as inline
14389 2001-04-04 Juergen Vigna <jug@sad.it>
14391 * vspace.C: had to include stdio.h for use of sscanf
14393 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14396 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14397 independent of xforms.
14399 2001-04-02 Juergen Vigna <jug@sad.it>
14401 * spellchecker.C: fixed namespace placing!
14403 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14405 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14406 the LyXParagraph * is 0.
14408 2001-03-29 Juergen Vigna <jug@sad.it>
14410 * vspace.C: added support for %, c%, p%, l%.
14411 (stringFromUnit): added helper function.
14412 (asLatexString): changed to give right results for the %-values.
14414 * buffer.C: convert the widthp in a width%.
14416 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14418 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14421 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14422 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14424 * lyx_cb.[Ch]: see above.
14426 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14430 * lyx.[Ch]: replaced by figure_form.[Ch].
14434 * lyxfunc.C: changed headers associated with above changes.
14436 2001-03-27 Juergen Vigna <jug@sad.it>
14438 * BufferView_pimpl.C: set the temporary cursor right!
14440 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14442 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14444 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14446 * LString.h: removed "using std::getline"!
14448 * BufferView_pimpl.C (Dispatch): changes due to changes in
14449 InsetInclude::Params.
14451 * buffer.C (tag_name): removed redundant break statements as they were
14452 producing lots of warnings with my compiler.
14454 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14456 * LString.h: add "using std::getline" when using the real <string>.
14458 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14460 * buffer.C: removed bitset usage.
14461 PAR_TAG moved to an anonymous name space.
14462 (tag_name): new funtion, also in the anonymous namespace.
14463 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14464 (makeDocBookFile): clean code. Completed transition from string arrays
14466 (SimpleDocBookOnePar): code clean.
14468 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14470 * tabular.C: add some comments.
14472 2001-03-22 Juergen Vigna <jug@sad.it>
14474 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14475 compatibility read a bit and fixed bug with minipage in different
14478 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14480 * buffer.C (pop_tag): removed.
14481 (push_tag): removed.
14482 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14483 array replaced with vector. Added support for CDATA sections.
14484 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14486 (makeDocBookFile): XML conformant declaration of CDATA section,
14487 fixed bug related to <emphasis> in the first paragraph char.
14488 (sgmlOpenTag): exclude empty tags.
14489 (sgmlCloseTag): ditto.
14491 * buffer.h (pop_tag): removed.
14492 (push_tag): removed.
14494 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14496 * language.h (Languages): added size_type and size().
14498 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14500 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14501 response on compability reading of minipages. One probliem is that
14502 the old usage of minipages was «flertydig»
14504 * several files here and in subdirs: don't use static at file
14505 scope use anon namespaces instead.
14507 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14509 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14510 LaTeX output. This is necessary for Literate document
14513 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14515 * buffer.C: insert hfill when needed.
14517 * tabular.C (l_getline): use string::erase, small whitespace change.
14519 * BufferView_pimpl.C: try the anon namespace.
14520 * WorkArea.C: ditto
14522 2001-03-16 Juergen Vigna <jug@sad.it>
14524 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14525 otherwise it won't open options-dialogs.
14527 * buffer.C: honor pextraWidth(p) on converting minipages.
14529 * tabular.C (l_getline): changed the functions to strip trailing \r.
14531 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14533 * BufferView_pimpl.C:
14534 * minibuffer..C: added "using SigC::slot" declaration.
14536 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14538 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14544 * paragraph.C: ditto
14546 * lyxtext.h: NO_PEXTRA
14548 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14550 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14551 * ParameterStruct.h: ditto
14552 * ParagraphParameters.h: ditto
14553 * lyxparagraph.h: ditto
14555 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14557 * buffer.C: add compability for minipage alignment.
14558 (latexParagraphs): remove unwanted pextra check.
14560 * several files: remove CXX_WORKING_NAMESPACES
14562 * buffer.C (pop_tag): tie is in namespace boost
14564 * BufferView.h: noncopyable is in namespace boost
14566 * lyx_main.h: ditto
14569 * lastfiles.h: ditto
14570 * bufferlist.h: ditto
14571 * ShareContainer.h: ditto
14573 * LyXAction.h: ditto
14576 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14578 * Merging changes from BRANCH_MVC back into HEAD.
14580 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14582 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14584 * BufferView_pimpl.C: change from intl.C
14588 * Makefile.am: move combox.*
14594 * intl.C: remove dialog (covered by prefs)
14596 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14598 * lyxfunc.C (Dispatch): removed redundant break statement.
14600 2001-03-14 Juergen Vigna <jug@sad.it>
14602 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14604 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14606 * buffer.C: add hack to fix compability reading of minipages.
14608 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14610 * buffer.C (getLists): Cleanup.
14612 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14614 * lyxfont.C (update): don't honor toggleall on font size.
14616 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14620 * Makefile.am: moved to frontends/xforms/
14624 * BufferView_pimpl.C: changes for moved mathpanel
14626 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14628 * gettext.h: fix gettext_init() in --disable-nls
14630 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14632 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14634 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14637 * lyx.h: strip external form
14639 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14641 * BufferView_pimpl.C: add comment, destroySplash()
14643 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14645 * BufferView_pimpl.C:
14649 * lyxfunc.C: use re-worked insetinclude
14651 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14653 * buffer.C: add using std::stringstream.
14655 * lyx_cb.C: readd using std::ios.
14657 * buffer.C: add using std::map.
14659 * BufferView_pimpl.C: add using std::vector.
14661 * ShareContainer.h: add std:: to swap.
14663 * buffer.h: add some typedefs
14664 * buffer.C (getLists): use them
14665 (getLists): renamed from getTocList.
14666 add a counter for the different float types and use it in the
14668 (getLists): use the same counter for the NEW_INSETS and the "non"
14671 * lyx_cb.h: remove unused items, includes, using etc.
14673 * ShareContainer.h: remove some commented code, add more comments
14674 and "documentation".
14676 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14678 * buffer.C (getTocList): make the list also when NEW_INSETS is
14681 * buffer.h: remove TocType
14683 * buffer.C (getTocList): change to return a map<string,
14684 vector<TocItem> >, implement for dynamic number of list.
14686 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14687 * text2.C (PasteSelection): adjust
14688 * CutAndPaste.C (pasteSelection): adjust
14690 * FloatList.C (FloatList): update from the new_insets branch.
14691 * Floating.[Ch]: ditto
14692 * LaTeXFeatures.C: ditto
14694 * lyxlex_pimpl.C: ditto
14696 * paragraph.C (Last): remove when NEW_INSETS is defined.
14698 * other file: changes because of the above.
14700 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14702 * lyxparagraph.h: rename next to next_, previous to previous_,
14703 make them private for NEW_INSETS. Rename Next() to next(),
14704 Previous() to previous().
14706 * other files: changes because of the above.
14708 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14711 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14714 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14716 * main.C (main): pass lyx_localedir to gettext_init().
14718 * gettext.h: remove locale_init and gettext_init macros
14720 * gettext.C (locale_init): new function
14721 (gettext_init): new function
14723 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14726 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14728 * Moved credits to frontends:
14729 * credits.[Ch]: removed
14730 * credits_form.[Ch]: removed
14731 * lyx_gui_misc.C: remove credits stuff
14734 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14736 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14738 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14739 unneeded destructor.
14741 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14742 a standalone pointer again.
14744 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14746 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14752 * ToolbarDefaults.C:
14761 * BufferView_pimpl.C: use new file dialog in GUII
14764 * lyx_cb.C: remove LayoutsCB to Toolbar
14766 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14768 * ShareContainer.h (get): add std:: qualifier
14770 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * ShareContainer.h: define a proper ShareContainer::value_type
14773 type (and use typename to please compaq cxx)
14775 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14777 * lyxparagraph.h: move serveral local vars to
14778 ParameterStruct/ParagraphParameters., use ShareContainer in
14779 FontTable., make vars in FontTable private and add getter and
14782 * paragraph.C: changes because of the above.
14784 * lyxfont.h: remove copy constructor and copy assignment. (the
14785 default ones is ok), move number inside FontBits. move inlines to
14788 * lyxfont.C: add number to initializaton of statics, move several
14789 inlines here. constify several local vars. some whitespace
14790 cleanup. Dont hide outerscope variables.
14792 * Spacing.h: add two new constructors to match the set methods.
14794 * ShareContainer.h: new file, will perhaps be moved to support
14796 * ParameterStruct.h: new file
14798 * ParagraphParameters.h: new file
14800 * ParagraphParameters.C: new file
14802 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14803 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14805 * BufferView_pimpl.C: ParagraphParameter changes.
14806 * buffer.C: Likewise.
14807 * bufferview_funcs.C: Likewise.
14808 * text.C: Likewise.
14809 * text2.C: Likewise.
14811 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * lyxfind.C (LyXReplace): do not redefine default argument in
14815 (IsStringInText): ditto
14816 (SearchForward): ditto
14817 (SearchBackward): ditto
14819 2001-03-06 Juergen Vigna <jug@sad.it>
14821 * lyxfind.C (IsStringInText): put parentes around expressions.
14823 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14825 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14827 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14829 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14831 * stl_string_fwd.h: add comment
14833 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14836 * tabular.C: remove unused DocBook methods
14842 killed DO_USE_DEFAULT_LANGUAGE
14844 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14846 * lyx_gui.C: do not include language.h.
14848 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14849 arguments in function implementation.
14851 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14853 * BufferView_pimpl.C: add <ctime>
14855 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14857 * BufferView_pimpl.C: add using std::find_if
14859 2001-02-27 José Matos <jamatos@fep.up.pt>
14861 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14864 2001-02-11 José Matos <jamatos@fep.up.pt>
14866 * buffer.C (makeDocBookFile): command styles now have a parameter as
14867 "title" by default.
14869 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14871 * layout_forms.[Ch]: removed
14872 * lyx_cb.[Ch]: out character
14873 * lyx_gui.C: out character
14874 * lyx_gui_misc.C: out character
14875 * bufferview_funcs.C: : out character,
14876 added toggleall as parameter in ToggleAndShow
14878 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14880 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14882 * text2.C (SetCurrentFont): Disable number property at boundary.
14884 2001-02-26 Juergen Vigna <jug@sad.it>
14886 * lyxfunc.C (getStatus): added a string argument override function so
14887 that this is correctly called from LyXFunc::Dispatch if it contains a
14888 do_not_use_argument which is used!
14889 (Dispatch): added check for "custom" export and call appropriate func.
14891 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14893 * lyxrc.C: Add language_command_local, language_use_babel and
14894 language_global_options.
14896 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14898 * buffer.C (makeLaTeXFile): Use language_use_babel and
14899 language_global_options.
14901 2001-02-23 Juergen Vigna <jug@sad.it>
14903 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14904 which works with LyXText and putted it inside BufferView. Here now we
14905 only call for that part the BufferView::Dispatch() function.
14907 * BufferView.C (Dispatch): added.
14909 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14910 functions which needs to use a LyXText over from LyXFunc.
14911 (MenuInsertLyXFile): added
14912 (getInsetByCode): added
14913 (moveCursorUpdate): added
14914 (static TEXT): added
14916 2001-02-22 Juergen Vigna <jug@sad.it>
14918 * BufferView_pimpl.C (update): call a status update to see if LyXText
14921 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14923 * vc-backend.C (revert): implement for CVS
14924 (getLog): implement for CVS
14926 2001-02-20 Juergen Vigna <jug@sad.it>
14928 * text2.C (ClearSelection): added BufferView param for inset_owner call
14930 * lyxfunc.C (TEXT): added this function and use it instead of
14931 directly owner->view()-text of getLyXText().
14933 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14935 * src/layout_forms.C: out preamble
14936 * src/layout_forms.h: out preamble
14937 * src/lyx_cb.C: out preamble
14938 * src/lyx_cb.h: out preamble
14939 * src/lyx_gui.C: out preamble
14940 * src/lyx_gui_misc.C: out preamble
14941 * src/lyxfunc.C: connect with guii preamble
14943 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14945 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14947 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14949 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14950 whether to run bibtex.
14952 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14954 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14956 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14958 * Makefile.am (lyx_SOURCES): removed bibforms.h
14960 * vspace.h: doxygen
14962 * text.C (GetVisibleRow): make several local vars const
14964 * tabular.C: small cleanup.
14966 * lyxserver.C (callback): use compare instead of strncmp
14968 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14969 inlines to after class or to paragraph.C
14971 * lyxfont.h: remove friend operator!=
14973 * converter.h: move friend bool operator< to non friend and after
14976 * combox.h: small cleanup
14978 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14979 to inlines after class def.
14981 * buffer.C (pop_tag): use string operations instead of strcmp
14983 * bmtable.c: doxygen, small cleanup
14985 * LaTeX.h: remove friend operator==
14987 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14999 * BufferView_pimpl.C:
15000 * BufferView.[Ch]: remove cruft
15002 2001-02-14 Juergen Vigna <jug@sad.it>
15004 * lyxfunc.C: removed #if 0 unused code
15006 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15008 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15010 * text2.C (SetSelection): added a BufferView * parameter
15012 2001-02-13 Juergen Vigna <jug@sad.it>
15014 * lyxfunc.C (Dispatch): fixed protected blank problem.
15015 * BufferView2.C (protectedBlank): added LyxText * parameter.
15017 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15018 (AppendColumn): same as above for column_info.
15020 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15021 (moveCursorUpdate): use a LyXText param for support of InsetText.
15023 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15024 (tripleClick): ditto
15026 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15028 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15030 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15032 * text2.C (SetSelection): set correct update status if inset_owner
15033 (ToggleFree): ditto
15035 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15037 * tabular.C: remove some commented code.
15039 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15041 * BufferView_pimpl.C: call hideSplash()
15043 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15046 * bibforms.h: remove
15049 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15050 add LFUN_CHILD_CREATE
15052 * counters.h: fix tiny typo
15057 * lyx.C: move splash to frontends/xforms/
15059 * lyx_gui_misc.C: move Include and Bibform to frontends
15061 * lyxvc.h: clarify comment
15063 * vspace.C: tiny housekeeping
15065 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15067 * text.C (PrepareToPrint): RTL Fix.
15069 * paragraph.C (GetUChar): New method.
15070 (String): Use GetUChar.
15072 * buffer.C (asciiParagraph): Use GetUChar.
15074 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15076 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15078 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15081 * buffer.C: rename to getLogName(), handle
15082 build log / latex log nicely
15084 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15087 * MenuBackend.h: remove support for reference menuitem type.
15089 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15091 * BufferView_pimpl.C: housekeeping
15092 * BufferView_pimpl.h:
15097 * minibuffer.h: move Timeout GUI-I
15099 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15101 * lyxrc.C (read): Update converters data-structures.
15103 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15105 * LaTeX.h (operator!=): add operator != for Aux_Info
15107 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15109 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15111 * LaTeXLog.C: deleted, useful code moved to Buffer
15114 * buffer.C: new function getLatexLogName()
15120 * lyxfunc.C: use frontends for LaTeX and VC logs
15122 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15124 * LaTeX.h: yet another std:: that Allan forgot.
15126 * Variables.C (set): renamed from isset(), because this clashes
15127 with some HP-UX macros (grr).
15129 2001-02-06 Allan Rae <rae@lyx.org>
15131 * LaTeX.h: Another bug fix. Missing std:: this time.
15133 2001-02-04 Allan Rae <rae@lyx.org>
15135 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15136 floats problem. I've left it commented out because it's not quite
15137 correct. It should also test that the current object is a table or
15138 figure inset. But I haven't gotten around to figuring out how to do
15139 that. I *think* it'll be something like: "table" == inset.type()
15141 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15144 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15146 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15147 all the citation/databases/styles in the auxilary file.
15148 (run): Rerun latex if there was a babel language error.
15150 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15152 * text.C (Backspace): Preserve the font when changing newline char
15154 (BreakParagraph): If the cursor is before a space, delete the space.
15156 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15158 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15160 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15161 new argument (code).
15162 (ChangeCitationsIfUnique): New method.
15164 * paragraph.C (GetPositionOfInset): Handle bibkey.
15166 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15168 * BufferView_pimpl.h: change type of Position::par_pos to
15169 LyXParagraph::size_type.
15171 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15173 * BufferView_pimpl.C (savePosition, restorePosition): Write
15174 messages to minibuffer.
15176 2001-01-28 José Matos <jamatos@fep.up.pt>
15178 * buffer.C (makeDocBookFile): adds support for document language.
15179 A silly restriction on the name of LatexCommand types where removed.
15180 Added support for CDATA sections, allows to chars unescaped, used
15181 among others in code, to avoid escape < and >.
15183 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15185 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15186 saved positions instrad of a stack. Furthermore, a position is
15187 stored using paragraph id/paragraph position.
15189 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15190 Remove LFUN_REF_BACK.
15192 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15194 * converter.C (dvipdfm_options): New method.
15196 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15198 * vspace.C (isValidLength): Fix for empty input string.
15200 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15202 * LyXAction.C (init): change description of LFUN_FIGURE to
15205 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15207 * LaTeX.C: add using directive
15209 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15211 * MenuBackend.C (expand): Fix the sorting of the formats.
15213 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15215 * lyx_main.C: tiny error message fix
15217 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15219 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15220 calling fl_initialize(). This fixes the problem with ',' as
15221 decimal separator in text files.
15223 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15225 * trans.C (process): Fix the keymap bug.
15227 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15229 * LaTeX.C (scanAuxFiles): New method. Provides support for
15230 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15231 (scanLogFile) Scan for "run BibTeX" messages.
15233 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15234 OT1 font encoding. Also, load the aecompl package if the ae
15237 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15239 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15241 * texrow.C (increasePos): turn two error messages into debug
15244 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15246 * LaTeX.C (scanAux): Handle the \@input macro.
15247 (runBibTeX): Use scanAux().
15249 * language.C (latex_options_): New field.
15251 * LaTeXFeatures.C (getMacros): Add language macros.
15253 * buffer.C (makeLaTeXFile): Small fix.
15255 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15257 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15259 * text2.C: add a using directive.
15261 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15266 * lyxfunc.C: kill LyXBell.
15268 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15270 * text.C (IsBoundary): Remove the error message
15272 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15274 * lyxrc.C (setDefaults): Correct initialization value for
15277 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15279 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15282 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15283 and GotoNextNote().
15285 * src/LyXAction.C: Added reference-next.
15287 * text.C (InsertChar): Use contains instead of strchr.
15289 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15291 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15293 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15294 alignment commands (when needed).
15296 * text.C (InsertChar): Add ':' to number separator chars.