1 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * BufferView_pimpl.C: revert accidental commit.
5 2005-02-14 André Pönitz <poenitz@gmx.net>
7 * dociterator.[Ch]: new member forwardPosNoDescent(),
8 which doesn't enter nested insets.
9 * text2.C (setFont): use forwardPosNoDescent() instead
10 of ForwardPos() (fixes crash on font change).
12 2005-02-13 Angus Leeming <leeming@lyx.org>
14 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
15 only if lyxrc.path_prefix is not empty.
17 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * bufferparams.C (readGraphicsDriver): prevent crash
21 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * text2.C (setCounter): check for inInset() == 0
25 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
28 but use update() to get correct screen display; use convert
29 instead of istringstream.
30 (getStatus): handle LFUN_GOTO_PARAGRAPH
32 * lyxfunc.C (dispatch, getStatus): do not handle
33 LFUN_GOTO_PARAGRAPH here.
35 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
37 * text3.C (dispatch): size() -> depth()
39 * text2.C: remove some debug output
41 * paragraph.C: ws changes only
43 * lyxfunc.C (getStatus): size() -> depth()
45 * dociterator.h (clear, push_back, pop_back, internalData,
46 operator[], resize, empty): new functions
47 Make StableDocIterator and operator== be friends. Don't inherit
48 from std::vector use a privat class variable slices_ instead.
51 * dociterator.C: update because of not inheriting from std::vector
52 anymore. Call explictly to slices_ instead. Use depth() instead of
53 size() and top() instead of back()
55 * cursor.C: chagne size() -> depth and back() -> top(). Also
56 remove some direct operator[](i) calls in favour of foo[i]
57 (getFont): remove some dead code
59 * bufferview_funcs.C (coordOffset): size() -> depth()
61 * buffer.C: ws changes only
63 * CutAndPaste.C (eraseSelection): back() -> top()
65 * BufferView_pimpl.C (selectionRequested): back() -> top()
67 * BufferView.C (setCursor): size() -> depth()
69 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
71 * text3.C (cursorPrevious): return true if depm changed something
73 (dispatch): rename sl to oldTopSlice, remove moving use the new
74 NoUpdate func attrib instead. Make sure that needsUpdate is set
75 for function that have NoUpdate, but where depm might have changed
78 * text2.C (cursorLeft): make us return true if depm changed
81 (cursorUpParagraph): ditto
82 (curosrDownParagraph): ditto
83 (cursorUp, cursorDown): ditto, make sure to read comments in code
84 (deleteEmptyParagraphMechanism): remove an assert, also return
85 true if just a single char was deleted.
87 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
88 cursor that we modify, to avoid modifying an active cursor before
89 we call setCursor. This allows depm to run. Also return true if
90 depm deleted something.
92 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
93 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
94 cursorDownParagraph, cursorPrevious and cursorNext, return true if
95 something was changed in the buffer because of them (ie. depm run)
97 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
98 debug messages. Make update by default be false. Make sure that
99 the result of update is retained throught several calls down to
102 * LyXAction.h: add a new func_attrib: NoUpdate
104 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
105 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
106 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
108 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
110 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
113 bv_->owner(), bv_->buffer() by direct references to the private
115 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
116 (getStatus): isSavedPosition() is in BufferView::Pimpl.
117 (fitCursor): center() is in BufferView::Pimpl.
118 (getStatus, trackChanges, dispatch): no need for a temporary buf
120 (fitCursor, workAreaDispatch): use workarea().workheight()
122 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * CutAndPaste.C (pasteSelectionHelper): fix a crash
126 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
128 * buffer.C: format up to 241.
129 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
130 break if pasting into ERT
131 * lyxfunc.C (getStatus): suppress mathpanel and
132 LFUN_DIALOG_SHOW_NEW_INSET in ERT
134 2005-02-01 Angus Leeming <leeming@lyx.org>
136 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
138 2005-02-01 Angus Leeming <leeming@lyx.org>
140 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
141 calling fs::is_directory().
143 2005-01-31 Angus Leeming <leeming@lyx.org>
145 * lyx_main.C (priv_exec): specify explicitly the relative location
146 of the top level build directory when run in-place.
148 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
151 LyXText containing the cursor, not the top-level one.
153 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
155 (insertStringAsLines): rename par to pit; use temporary variable
156 par to hold a Paragraph; do not store par.layout() in a variable,
157 since the pointer may die when breaking paragraphs; pass pars to
158 breakParagraph() instead of Buffer::paragraphs().
160 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
162 * lyxlex_pimpl.h: #include <fstream>.
164 * BufferView.[Ch] (getLyXText): add a const version.
166 * BufferView_pimpl.C: add debug aids.
171 * paragraph_funcs.h: add commentary explaining what the class does.
174 * coordcache.[Ch]: add lots of commentary.
175 (startUpdating, doneUpdating): debug aids.
176 (arrays, insets, parPos, getParPos): accessors to private data.
178 * cursor_slice.[Ch] (text): add a const version.
179 * dociterator.[Ch] (text, innerText): add const versions.
181 * lyxtext.h (breakParagraph): change the keep_layout arg to a
184 * paragraph.C (getRow, pos2ros): add asserts.
186 * paragraph.h: add commentary. Lots of.
188 * paragraph.[Ch] (metrucs, draw): removed.
191 * rowpainter.[Ch]: const-correct changes.
193 * text.C: various obvious clean-ups. Removal of ancient cruft.
196 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
198 * vc-backend.C (find_file): rewrite to use boost.filesystem
201 * main.C (main): set default name check for boost.filesystem to
204 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
207 (actOnUpdatedPrefs): ditto
209 * lyx_main.C (init): rewrite to use boost.filesystem
210 (queryUserLyXDir): ditto
212 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
213 (getContentsOfAsciiFile): ditto
215 * lastfiles.C (readFile): rewrite to use boost.filesystem
217 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
219 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
222 * buffer.C (Buffer): adjust for destroydir
223 (getLogName): rewrite to use boost.filesystem
225 (save): use fs::copy_file (from fs_extras)
227 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
229 * LaTeX.C (run): rewrite to use boost.filesystem
230 (scanAuxFiles): ditto
231 (handleFoundFile): ditto
233 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
235 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
237 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
239 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
241 * lyxlayout.[Ch]: change some vars from float to double
243 * buffer.C (readFile): make a local var const
245 * Several files: use convert<> instead of atoi,strToXXX and friends
247 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
249 * LaTeXFeatures.[Ch]: Add a static list packages_ that
250 holds the contents of packages.lst. New functions getAvailable
251 and isAvailable to parse and check that list, resp.
255 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
257 * bufferparams.[Ch]: new param output_changes.
259 * Buffer.C: increase file format to 240.
260 Use output_changes and isVailable.
264 * paragraph_pimpl.C: Use output_changes and isVailable.
266 2005-01-23 Angus Leeming <leeming@lyx.org>
268 * output_latex.C: #include "insetbibitem.h", rather than
269 forward declare function bibitemWidest.
271 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
273 * lyx_main.C (init): make it compile on the Mac.
275 2005-01-20 Angus Leeming <leeming@lyx.org>
277 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
278 (setLyXMisc): (char string literal) != (char string literal) is
279 performing a comparison on the addresses. Convert one operand
280 explicitly to string to guarantee expected behaviour.
283 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
286 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
288 * output_plaintext.C: remove unneeded #include gzstream.h.
290 2005-01-20 Angus Leeming <leeming@lyx.org>
292 * SpellBase.h: rename some of the elements of the Result enum.
299 * pspell.C (check): ditto
301 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
303 * buffer.C: add #include <fstream>.
305 * lyx_main.C (init): Compile fix.
307 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
309 2005-01-20 Angus Leeming <leeming@lyx.org>
311 * mover.h: change commentary to reflect the changed meaning of
314 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * output_linuxdoc.C (linuxdocParagraphs): silence warning
318 * lyxfind.C (MatchString::operator()): remove bogus semicolon
320 2005-01-20 Angus Leeming <leeming@lyx.org>
322 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
323 printing diagnostic data by not dereferecing an iterator past the
326 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
328 * buffer.C (readHeader): use "&&" rather than "and".
330 * lyxserver.h (inPipeName, outPipeName): make these const.
332 2005-01-19 Angus Leeming <leeming@lyx.org>
334 * lyx_main.C (error_handler, init): protect SIGHUP with
335 #ifdef SIGHUP guards.
337 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
341 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * text.C (setHeightOfRow): add a margin at the top and bottom of
344 the document (bug 1761)
346 2005-01-17 Angus Leeming <leeming@lyx.org>
348 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
349 with "python ". Workaround for a brain-dead Windows.
351 2005-01-16 Angus Leeming <leeming@lyx.org>
353 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
354 for MacOSX and Windows to use prependEnvPath.
355 Strip out the hard-coded block to add elements to the PATH for
356 MacOSX and replace it with a call to prependEnvPath using the
357 contents of LyXRC::path_prefix.
358 (queryUserLyXDir): strip out the code to run reconfigure, instead
359 returning a boolean indicating the necessity to do so.
360 (reconfigureUserLyXDir): contains the code to reconfigure the
361 user support directory. Is now called after the various LyXRC data
362 files have been read.
364 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
366 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
368 * converter.[Ch] (convert): take a new parameter try_default. Use
369 a default converter (imagemagick) if try_default is true.
371 2005-01-13 Angus Leeming <leeming@lyx.org>
373 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
375 (write): output LyXRC::cygwin_path_fix as necessary.
377 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
380 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
382 2005-01-12 Angus Leeming <leeming@lyx.org>
384 * lyx_main.C (init): set the PATH variable to include the
385 directory containing the LyX binary when running on Mac or Windows.
387 2005-01-12 Angus Leeming <leeming@lyx.org>
389 * lyx_main.C (init): remove cruft that purports to set the locale
390 dir. It doesn't and is not needed anyway.
392 2005-01-10 Angus Leeming <leeming@lyx.org>
394 * Makefile.am: remove the lyx_main.C special casing.
396 * BufferView_pimpl.C:
402 * messages.C: use support/package.h to provide the paths to the
403 various directories used by LyX.
405 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
407 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
408 layout if pasting into an empty paragraph)
410 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
412 * tex-accent.C: add <string>
414 2005-01-06 José Matos <jamatos@lyx.org>
416 * ParagraphParameters.C (write): put every parameter in its own line.
417 * paragraph.C (write): reduce number of consecutive empty lines exported.
418 * buffer.C (LYX_FORMAT): increase file format to 239.
420 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
422 * everywhere: change support/tostr.h -> support/convert.h
424 * tabular.C: make all write_attributes templates, tostr -> convert
426 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
427 (emptyTag): and -> &&, and fix type for ret from getChar
428 (getFirstWord): fix type for ret from getChar
429 (onlyText): and -> &&
430 (simpleDocBookOnePar): and not -> && !, fix type for ret from
433 * toc.C (goTo, action):
434 * text3.C (dispatch):
435 * text.C (currentState):
436 * tex-accent.C (DoAccent):
439 * lyxfunc.C (menuNew):
440 * lyxfinc.C (replace):
441 * counters.C (laberItem):
442 * bufferview_funcs.C (font2string):
443 * bufferparams.C (writeFile):
444 * buffer.C (readFile):
446 * MenuBackend.C: tostr -> convert
448 * LaTeX.C (runMessage): fix format
449 (scanAuxFiles): tostr -> convert
451 * BufferView_pimpl.C (savePosition): fix format
452 (restorePosition): ditto
455 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
457 * Spacing.[Ch]: New method getValueAsString().
461 * ParagraphParameters.C:
464 * text3.C: store/read spacing value as string.
466 * rowpainter.C: change float value (spacing_val) to double.
468 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
469 broken custom document spacing).
471 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
473 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
474 namespace, also more use of temp references and const
476 * cursor.[Ch] (getStatus): move to lyxfunc.C
478 * bufferparams.C: reformat slightly
480 * bufferview_funcs.C (font2string): constify arg
486 * buffer_funcs.C: (many funcs): constify arg on function
487 definitions, also make more local vars const, also add ASSERTS on
490 * buffer.C (LYX_FORMAT): put const in correct place
491 (many funcs): constify arg on function definitions, also make
492 more local vars const
494 * aspell_local.h: remove "struct" from typdef setup
496 * aspell.C (check): make word_ok const
497 (nextMiss): simplify slightly
500 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
502 * lyxrc.[Ch]: store all float values as strings.
503 use int (not float) for lyxrc.dpi.
505 2005-01-04 Angus Leeming <leeming@lyx.org>
507 * lyx_cb.C (Reconfigure):
508 * lyx_main.C (queryUserLyXDir):
509 to run the <system_lyxdir>/configure correctly on Windows, prefix
510 the path to the script with "sh " when generating the string that
511 is passed to system().
513 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
515 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
517 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
519 * lyxlength.C (asLatexString): get rid of setprecision
521 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
523 * text2.C (setLayout): remove unused variable endpit.
524 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
526 * paragraph.C (onlyText): remove unused variable style.
528 * cursor.C (bruteFind): remove unused variables beg and end.
530 * Makefile.am (dist_noinset_DATA): not needed anymore
532 * cheaders/*: remove.
534 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
536 * text3.C: fix LFUN_MATH_MODE.
538 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * buffer_funcs.C (countWords): new function. Counts words between
543 * BufferView_pimpl.C (getStatus, dispatch): handle
546 * LyXAction.C (init):
547 * lfuns.h: add LFUN_WORDS_COUNT.
549 2004-12-19 Angus Leeming <leeming@lyx.org>
551 * buffer.C (save): s/slashify_path/internal_path/.
553 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
555 * lyxfind.C (findChange): do not search for end of pars, because
556 the change tracker cannot handle this (fixes bug 1719).
558 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
560 * paragraph.[Ch] (autoBreakRows): remove
562 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
564 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
565 avoid using the paragraph one
567 * text2.C (LyXText, insertStringAsLines): adjust
569 2004-12-16 Angus Leeming <leeming@lyx.org>
573 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
575 2004-12-14 Angus Leeming <leeming@lyx.org>
577 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
579 * bufferlist.C (emergencyWrite):
580 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
583 2004-12-14 Angus Leeming <leeming@lyx.org>
585 * main.C: (main): no longer pass pointers to os::init.
587 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
589 * undo.C (textUndoOrRedo): simplify logic, fix a crash
590 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
592 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
595 * text3.C: remove selection_possible global flag
597 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
599 * text2.C (getSelectionSpan): remove
600 (changeDepth, changeDepthAllowed): adjust
602 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
604 * Makefile.am (BOOST_LIBS): use boost variables
606 2004-12-03 José Matos <jamatos@lyx.org>
608 * buffer.C: format up to 238.
610 2004-12-03 José Matos <jamatos@lyx.org>
612 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
614 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
616 * cursor.C (goUpDown): remove call to idxUpDown2
618 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
620 * tabular.[Ch]: use size_t-like types for cell, row and column
623 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * lyxfunc.C (getStatus): do not lose previous information when
626 calling BufferView::getStatus; do not set a default "Command
627 disabled" message at the beginning, but just before returning.
629 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
631 * cursor.h (getStatus): add better comment from src/cursor.C
633 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
635 * text3.C (getStatus): return false when the lfun is not handled
637 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
639 * broken_headers.h: remove
641 * Makefile.am (lyx_SOURCES): remove broken_headers.h
643 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
645 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
648 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
649 top_y_, merge fitcursor with update
650 (updateScrollbar, scrollDocView, fitCursor, center, update): new
653 (workAreaDispatch): adapt to new coord scheme
654 (redoCurrentBuffer): remove
656 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
658 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
661 * coordcache.[Ch]: add paragraph cache and helpers
663 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
666 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
667 (targetX, setTargetX): introduce
669 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
670 baseline -> ascent, as the rest of lyx
672 * lyxtext.h: remove redoParagraphs, updateParPositions,
673 fullRebreak, redoParagraphInternal. move dist to anon namespace in
674 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
675 have ascent/descent (ascent is ascent of first par)
677 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
680 * paragraph.[Ch]: unify dimension handling with the rest of lyx
682 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
684 * pariterator.C: fix infinite loop introduced in par->pit renaming
686 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
687 in insets and LyXText, draw two off-screen paragraphs using
688 NullPainter, and adapt to new coord scheme
692 * text3.C: adapt lfun handlers to the new coord scheme, which
693 means: there's only guaranteed coord information for onscreen pars
694 plus one above and one below. This implies that one can do search
695 from y coordinates in the range [-1,workHeight]
697 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
699 * rename a lot of InsetOld to InsetBase
701 2004-11-25 Angus Leeming <leeming@lyx.org>
703 * BufferView_pimpl.C:
705 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
707 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
710 call BufferView::getStatus if LCursor::getStatus did nothing
711 (setStatusMessage, getStatusMessage): removed.
713 * FuncStatus.C (message): new methods. Used to provide an error
714 message indicating why a command is disabled.
715 (clear, |=, FuncStatus): update for message.
717 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
719 * lyxfunc.C (dispatch): always call sendDispatchMessage
721 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
724 * BufferView_pimpl.C:
738 * undo.C: par->pit renaming
740 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
742 * tabular.C (cellstruct): use initialization, store a shared_ptr
743 to insettext instead of the insettext directly, adjust to fit.
744 (operator=): new function
746 (rowstruct): use initialization
747 (columnstruct): use initialization
748 (ltType): use initialization
751 * lyxlength.h (swap): new function
753 * LColor.[Ch] (operator=): use the common semantics
755 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
757 * lyxfind.C (findNextChange): update the bufferview after setting
760 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
762 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
763 number of InsetOptArgs has already been inserted.
765 * output_latex.C (latexOptArgInsets): new method. This outputs all
766 the optarg insets, up to the limit defined in the layout file.
767 (optArgInset): removed
768 (TeXOnePar): call latexOptArgInsets; correctly update texrow
770 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
772 * paragraph.C (isLetter): remove special spellchecker-related
773 code; return true also for digits
774 (isWord, isKomma): remove
776 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
777 * lyxfind.C (MatchString()): use isLetter instead of isWord
779 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
781 * pariterator.h (operatir=): comment out un-implemented member
784 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
787 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
789 * lyxfont.h: include LColor.h to satisfy concept checks.
791 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
793 * pariterator.h: add typdefs for value_type, difference_type,
794 pointer and reference to satisfy concept checks. Also add default
795 constructor for same reason.
797 * pariterator.C (operator++): add post-increment operator to
798 satisfy concept checks.
800 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
803 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
805 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
806 checks. Also rename base_type to BaseType to follow naming
809 * FloatList.h: include Floating.h to satisfy concept checks.
811 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
813 * lyxfunc.C (getStatus): when the origin of the request is menu or
814 toolbar, and the LyXView does not have focus, do as if there was
817 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
818 FuncRequest to individual entries of LFUN_SEQUENCE
820 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * output_latex.C (TeXOnePar): override runparams.moving_arg
823 according to the needprotect value of the current paragraph (bug
826 * paragraph.C (simpleTeXOnePar): no need to override
827 runparams.moving_args here
829 2004-11-14 John Spray <spray_john@users.sourceforge.net>
831 * vspace.C: fix off-by-one-error, related to fix #1682
833 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
835 * lengthcommon.C: a more general fix for bug 1682
837 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
839 * text.C (backspace): fix crash
841 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
843 * format.[Ch] (getFormatFromFile): new method
844 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
846 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
848 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
850 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
852 * lyxfunc.C (dispatch): remove the verbose argument
853 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
856 * kbmap.C (defkey): set the origin of func to KEYBOARD
858 * MenuBackend.C (MenuItem):
859 * ToolbarBackend.C (add): set the origin of func to UI
861 * funcrequest.[Ch]: add origin member, which indicates which part
862 of LyX requests an action
864 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
866 * converter.C (move): don't lie in the error message
867 * converter.h (isReachable, move): document
869 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
871 * buffer.C: remove unused using lyx::support::atoi
872 * paragraph_funcs.C: ditto
874 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
876 * bufferlist.C (exists): use bind and equal_to instead of
879 * lyxtextclasslist.C (NumberOfClass): ditto
881 * cursor.C (insert): use for_each instead of explicit for loop
883 * bufferlist.C (getFileNames): use std::transform and
884 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
886 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
889 * buffer.C (changeLanguage): use for_each instead of explicit for
891 (hasParWithID): implement using getParFromID
893 * LaTeXFeatures.C: ws change only
895 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
898 * BufferView_pimpl.C (trackChanges): use for_each instead of
901 2004-11-04 André Pönitz <poenitz@gmx.net>
904 * undo.C (textUndoOrRedo): fix crash when creating undo information.
906 * dociterator.C (asDocIterator): use hard assert again.
908 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
910 * lyxlength.C (asLatexString): rewrite so that it does not use
913 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * text3.C (specialChar, dispatch): make sure cursor moves to the
916 right after inserting an inset
918 2004-11-02 José Matos <jamatos@lyx.org>
920 * output_docbook.C (docbook):
921 * paragraph.C (getID):
922 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
923 garantee that the output is always legal.
925 * tabular.C (docbook):
926 * outputprams.[Ch]: remove mixed contents.
928 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
930 * text2.C (setCounter): prevent endless loop
932 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
934 * exporter.C (copyFile): use the mover instead of support::copy()
935 * exporter.C (Export): pass format and latex name to copyFile()
936 * exporter.h (addExternalFile): document
937 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
939 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
941 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
943 2004-10-30 José Matos <jamatos@lyx.org>
945 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
946 text and no inset or font change. This allows to use CDATA
947 sections just for the whole paragraph.
949 2004-10-30 José Matos <jamatos@lyx.org>
951 * paragraph.C (getFirstWord): remove unused variable.
953 2004-10-30 José Matos <jamatos@lyx.org>
955 * paragraph.C (getFirstWord): the content should always be escaped
957 (simpleDocBookOnePar):
958 * output_docbook.C (makeEnvironment): replace reference to CDATA
961 2004-10-30 José Matos <jamatos@lyx.org>
963 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
965 2004-10-30 José Matos <jamatos@lyx.org>
967 * output_docbook.C (makeParagraphs):
968 * paragraph.[Ch] (emptyTag): for docbook and company, if the
969 standard paragraph has only a given type of content drop the wrapper.
971 2004-10-29 José Matos <jamatos@lyx.org>
973 * output_docbook.C (makeEnvironment):
975 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
977 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
979 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
980 (cleanID): sanitize any id.
982 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
984 * buffer.C, lyxlex_pimpl.C:
985 * lyxlex_pimpl.C (setFile):
986 s/getExtFromContents/getFormatFromContents/
988 2004-10-28 José Matos <jamatos@lyx.org>
990 * output_docbook.C (makeEnvironment): move id to broadest possible
993 * sgml.C (openTag): apply substitution of <> for all attributes.
995 2004-10-28 José Matos <jamatos@lyx.org>
997 * buffer.C (makeLinuxDocFile, makeDocBookFile):
998 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
999 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1001 * sgml.[Ch]: new version for open and closeTag for paragraph and
1002 for strings. Now they handle the ids of paragraphs.
1004 2004-10-26 Angus Leeming <leeming@lyx.org>
1006 * Makefile.am: add mover.[Ch].
1008 * converter.C (convert, move): use the new Movers to move external
1009 files to the temp directory.
1011 * lyx_main.C (init): ensure that the global system_movers data
1014 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1017 * mover.[Ch]: new files, defining a Mover as a utility to move an
1018 external file between directories and, if necessary, manipulate this
1019 file using a helper script.
1021 2004-10-25 José Matos <jamatos@lyx.org>
1023 * output_docbook.C (makeCommand): merge two if's that tested the
1026 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1028 * sgml.C (escapeString): fix warning in a better way
1030 2004-10-25 José Matos <jamatos@lyx.org>
1032 * sgml.C (escapeString): import the require boosts header file for
1033 tie, and avoid a signed unsigned comparison.
1035 2004-10-25 José Matos <jamatos@lyx.org>
1037 * sgml.h: add #include <string>
1039 2004-10-25 José Matos <jamatos@lyx.org>
1041 * sgml.[Ch] (escapeString): new function to escape all the string.
1043 2004-10-24 José Matos <jamatos@lyx.org>
1045 * paragraph.[Ch] (getFirstWord): new function to get the first
1046 word. Useful for description.
1047 (simpleDocBookOnePar): remove depth argument, add another that
1048 says where to start the paragraph.
1050 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1051 use the new functions to fix cleanly the support for descriptions.
1053 2004-10-24 José Matos <jamatos@lyx.org>
1055 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1056 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1057 * output_linuxdoc.C (linuxdocParagraphs):
1058 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1059 add buffer as argument.
1061 2004-10-24 José Matos <jamatos@lyx.org>
1063 * output_docbook.C (makeEnvironment, searchEnvironment): place
1064 CDATA inside paragraphs and fix scope for listitems.
1066 2004-10-24 José Matos <jamatos@lyx.org>
1068 * output_docbook.C: remove using statement for stack.
1070 2004-10-23 José Matos <jamatos@lyx.org>
1072 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1073 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1074 docbook. The new scheme is recursive and makes use of iterators, the
1075 same as latex export works.
1076 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1077 directly with the paragraph contents. This code was moved up to
1078 output_docbook.C (docbookParagraphs).
1079 * sgml.C (openTag, closeTag): removed unneeded newlines.
1080 (closeEnvTags) removed.
1082 2004-10-23 André Pönitz <poenitz@gmx.net>
1084 * undo.C (textUndoOrRedo):
1085 * dociterator.C (asDocIterator): work around crash
1087 * cursor.C (getStatus): replace ASSERT by more verbose error message
1088 and manual correction of the problem. Should increase stability
1089 while providing more sensible information.
1091 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1093 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1095 * bufferlist.C (previous, next): new methods
1098 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1100 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1102 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1103 entities to preamble.
1105 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1107 * messages.C (Pimpl): strip off translation context information
1109 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1111 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1112 the cursor is correct (bug 1694)
1114 2004-10-13 José Matos <jamatos@lyx.org>
1116 * output_docbook.C (docbookParagraphs): fix closing tags in the
1117 end of the document.
1119 2004-10-09 José Matos <jamatos@lyx.org>
1121 * buffer.C: format up to 237.
1122 * bufferparams.C (write): use tostr to convert booleans to strings.
1124 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1126 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1128 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1130 * LaTeX.C: implement use of babel language in xindy.
1132 2004-10-05 José Matos <jamatos@lyx.org>
1134 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1135 Add new translators to help reading and writing the lyx file.
1137 2004-10-05 José Matos <jamatos@lyx.org>
1139 * ParagraphParameters.C (read):
1140 * text.C (readParToken): replace nexToken by more appropriate lex
1143 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1145 * LaTeX.C (runMakeIndex):
1146 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1147 (usually 'makeindex') configurable.
1149 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1150 with a variable rather than with a number.
1152 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1154 * output_latex.C (TeXOnePar): make sure font setting is the first
1155 thing that gets output (and the last at the end). Should fix bug
1158 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1160 * pch.h: use proper signal include
1162 * LaTeX.h: Use preferred calling of Boost.Signal
1165 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1167 * pch.h: dont include <boost/function/function0.hpp>
1169 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1171 * paragraph_pimpl.h: remove usage of ShareContainer
1173 * paragraph_pimpl.C: remove initialization of ShareContainer.
1175 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1179 * BufferView.C (putSelectionAt): change the semantics when
1180 backwards == true: now, this just swaps cursor and anchor wrt the
1183 * BufferView.h (putSelectionAt): add some documentation
1185 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1186 make sure backwardChar is done at least once (to avoid getting
1188 (findNextChange): use putSelectionAt in the forward direction
1189 (operator()): use Paragraph::isWord
1191 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1193 * Spacing.C (set): c_str fix
1195 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1197 * lyx_cb.C (Reconfigure): quote the name of configure script in
1198 case it contains spaces
1200 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1204 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1205 (BOOST_LIBS): use top_buildir when looking for the file
1207 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1209 * pch.h: do not use include boost/format.hpp, multiple symbols
1210 will result (gcc bug)
1213 2004-08-23 José Matos <jamatos@lyx.org>
1215 * bufferparams.C (readToken): fix reading of the author field.
1217 2004-08-20 José Matos <jamatos@lyx.org>
1219 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1221 2004-08-20 José Matos <jamatos@lyx.org>
1223 * lyxlex.[Ch] (findToken): remove function.
1225 * ParagraphParameters.C (findToken):
1226 * bufferparams.C (findToken): replace call for previous function
1227 with local copy. This local function has one more argument, the
1228 read string argument.
1230 2004-08-16 José Matos <jamatos@lyx.org>
1232 * ParagraphParameters.C (write):
1233 * Spacing.C (writeFile):
1234 * bufferparams.C (writeLaTeX):
1235 * lyx_cb.C (Reconfigure):
1236 * paragraph.C (write):
1237 * tabular.C (write): remove unnecessary space at end of line.
1240 2004-08-16 José Matos <jamatos@lyx.org>
1242 * text.C (readParagraph): remove debug message.
1244 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1246 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1249 * output_plaintext.C (asciiParagraph): set depth correctly
1251 * outputparams.h: add member depth
1253 * paragraph_funcs.C (ownerPar): remove.
1255 * text2.C (setCounter): remove first_pit; comment out some
1256 non-working code that uses ownerPar
1258 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1261 2004-08-16 José Matos <jamatos@lyx.org>
1263 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1264 For the same level of importance use the same chanel to report problems.
1265 (read): add code to deal with \begin_body and \end_body.
1268 2004-08-15 José Matos <jamatos@lyx.org>
1270 * lyxlex.C (getString): fix comment, buffer::readBody is now
1271 buffer:readDocument.
1273 * tex-strings.C (string_papersize): Default -> default,
1274 Custom -> custom, for consistency with other options.
1276 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1280 * Makefile.am: support pch
1282 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1284 * text.C (readParToken): remove the static LyXFont variable and
1285 pass it as a parameter instead. This fixes a nasty bug where an
1286 inset will be inserted with a bad font in some situations
1287 (readParagraph): adapt
1289 * text2.C (setCounter): reduce number of calls to pars_[pit]
1291 * text.C (singleWidth): add an assert, fix a test
1293 * rowpainter.C (paintText): reduce number of calls to singleWidth
1295 * paragraph.C (isHfill):
1296 (isNewline): ws only
1298 2004-08-14 André Pönitz <poenitz@gmx.net>
1303 * lyxtext.h (several functions): use a Paragraph & argument
1306 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1308 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1310 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1312 * text.C (singleWidth): remove useless test
1314 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1316 * tabular.h: remove bogus comments
1318 * tabular.C (getDescentOfRow):
1319 (isPartOfMultiColumn): add assertions
1321 * lyxlength.C (inPixels): remove #warning
1323 2004-08-14 André Pönitz <poenitz@gmx.net>
1325 * paragraph.h: inline getChar()
1327 * BufferView.h: remove unused declarations
1329 2004-08-14 José Matos <jamatos@lyx.org>
1331 * Buffer.[Ch] (readDocument): new name for old readBody.
1332 * Buffer.C: new file format, new keywords: \begin_document,
1333 \begin_header, \begin_body, \end_body.
1335 * bufferparams.C (readToken): replace all calls to lex.nextToken
1336 by lex.next(). Do the same to eatLine except where really needed.
1338 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1339 line when writing to the lyx file.
1341 * output_plaintext.C (asciiParagraph): fix Bibliography style
1344 * text.C (read): fix end of file handling.
1346 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1348 * MenuBackend.C (Menu::operator[]): new method to access
1349 individual menu items
1350 (Menu::hasFunc): new method. search for an item that corresponds
1352 (MenuBackend::specialMenu): new method
1353 (MenuBackend::expand): if a special menu has been set, skip
1354 entries whose func() appears in this menu
1356 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1358 * text3.C: use Debug::DEBUG a bit more
1360 * text.C (leftMargin): try to simplify a tiny bit change var x to
1361 l_margin. Dont output the wide margins always.
1362 (rightMargin): no margin in inner texts
1364 * rowpainter.h (nestMargin): new func
1365 (changebarMargin): new func
1366 (rightMargin): new func
1368 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1372 * factory.C (createInset): modify setDrawFrame
1374 * cursor.C: use Debug::DEBUG a bit more
1376 2004-08-14 André Pönitz <poenitz@gmx.net>
1379 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1380 cache for all insets in (at least partially) visible (top-level)
1383 * BufferView_pimpl.C: reset external coord cache before every update.
1384 This means the coord cache only contains valid entries.
1386 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1389 * BufferView_pimpl.C (getInsetByCode): move function out of class
1390 and change in to a template in anon namespace. Also fix to do what
1393 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1396 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1398 (breakParagraph): rename par to par_offset and use a local
1399 reference. Add code to keep the language over a rebreak.
1400 (breakParagraphConservative): rename par to par_offset, use a
1402 (mergeParagraph): ditto
1404 (isFirstInSequence): ditto
1405 (outerFont): rename pit to par_offset
1407 * paragraph.C: ws change
1408 * paragraph.h: ditto
1412 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1414 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1417 * paragraph.C (simpleTeXOnePar): when we have a \item with
1418 optional argument, enclose the argument with curly brackets (in
1419 case it contains a closing square bracket)
1423 * text3.C (checkInsetHit): constify
1425 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1427 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1428 documents (bug 1629)
1430 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1432 Fix toggling of collapsable insets with the mouse (bug 1558)
1434 * lyxfunc.C (dispatch): adapt to LCursor changes
1436 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1437 make sure that dispatch is not invoked twice
1439 * cursor.C (needsUpdate): new method
1440 (dispatch): return void
1441 (result): new method, to access the DispatchResult of the cursor.
1443 2004-08-13 José Matos <jamatos@lyx.org>
1445 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1447 2004-08-13 André Pönitz <poenitz@gmx.net>
1449 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1451 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1454 2004-08-12 André Pönitz <poenitz@gmx.net>
1456 * text3.C: take out the 'cursor right' form insertInset and only
1457 do it in those places when it is really needed. Fixes crash on
1460 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1462 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1464 * BufferView_pimpl.C (setBuffer): initialize the current font of
1465 the underlying LyXText
1467 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1469 * kbsequence.C (print): use UI native formatting for menu
1472 * text.C (insertChar): call Paragraph::insertChar with a font
1475 * paragraph.C (insertInset, insertChar): the version that takes a
1476 LyXFont argument is now a wrapper around the other one (the
1477 opposite used to be true).
1479 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1480 argument. Font setting is done in Paragraph now.
1482 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1484 * outputparams.h: add new members intitle and lang.
1486 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1487 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1489 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1491 * text3.C (dispatch): remove special handling of button 4 and 5,
1492 it is now taken care of in the frontend code.
1494 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1496 * Spacing.h: add <string> (STLPort compile fix)
1498 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1500 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1502 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1504 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1507 * converter.C (showMessage): inherit from unary_function, make
1510 * buffer.C (writeFile): initialize retval
1512 * InsetList.h: rename private variable list to list_
1513 * InsetList.[Ch]: adjust accordingly.
1515 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1517 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1518 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1519 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1520 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1521 * ParagraphParameters.C, LaTeXFeatures.C: replace
1522 "support/std_sstream.h" with <sstream>
1524 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1526 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1527 * lyxsocket.C (LyXServerSocket): ditto
1528 (serverCallback): ditto
1530 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1532 * LaTeXFeatures.C: check release date when loading jurabib.
1534 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1536 * lyxserver.C (startPipe): call register_socket_callback
1537 (endPipe): call unregister_socket_callback
1539 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1541 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1542 (LyXServerSocket): register the callback
1543 (LyXServerSocket): unregister the callback
1544 (fd): delete function
1545 (serverCallback): improve error checking and setup the callbacks.
1546 (dataCallback): change arg to fd.
1547 (writeln): new func (copied fro the client socket) used for server
1549 (LyXDataSocket): simplify
1550 (~LyXDataSocket): close ann unregiser callback
1551 (server): delete function
1552 (fd): delete function
1553 (readln): small changes, improve some std::string usage
1554 (writeln): constify a bit
1556 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1558 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1561 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1563 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1564 after it has been populated
1566 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1568 * text2.C (insertInset): move cursor when inserting inset.
1570 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1572 * kbmap.C (findbindings): a couple of new methods. returns a
1573 container of kb_sequence objects. The real work is done by the
1574 private recursive version
1575 (printbindings): uses findbindings to print out a bracketed list
1576 of bindings (renamed from findbinding).
1578 * MenuBackend.C (binding): use kb_keymap::findbindings
1580 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1582 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1584 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1586 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1588 * paragraph.C (isWord): return true on insets that report
1591 * text.C (getWord): use Paragraph::isWord to decide what is in a
1592 word and what is not; fix bug 1609.
1594 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1596 * tex-strings.C: add "none" to string_paperpackages[], fixes
1597 off-by-one-error in the paperpackage selection.
1600 * tex-strings.[Ch]: char const * string[n]
1601 -> char const * const string[]
1603 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1605 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1606 command, return early.
1608 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1610 * debug.h: add DEBUG to enum and fix size of ANY.
1612 * debug.C: add support for Debug::DEBUG
1613 (showTags): cast errorTags.level to unsigned int
1615 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1616 (redoCurrentBuffer): ditto
1617 (updateScrollbar): ditto
1618 * cursor.C (dispatch): ditto
1619 * text2.C (setLayout): ditto
1621 (updateCounters): ditto
1623 (deleteEmptyParagraphMechanism): ditto
1625 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1627 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1628 annotations to cleanup the Makefile slightly.
1630 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1632 * lyxrc.C: do not set user_email to a default value but use empty
1633 instead. The entry used to be translated, which does not work
1634 since at the point where lyxrc is constructed there is no
1635 translation service available
1637 * messages.C (getLocaleDir): remove and use directly
1638 lyx_localedir() instead
1640 2004-06-02 Angus Leeming <leeming@lyx.org>
1642 Fix crash caused by dereferencing null pointer 'exportdata' in
1643 OutputParams by creating a new ExportData variable on the heap,
1644 storing it in a boost::shared_ptr.
1645 The crash was triggered when generating an Instant Preview
1646 of an external inset.
1648 * Makefile.am: add outputparams.C
1650 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1651 (c-tor): allocate memory to it.
1653 * exporter.C (c-tor): associated changes.
1655 2004-06-01 Angus Leeming <leeming@lyx.org>
1657 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1658 contains data before calling isInset(0). (Bug 1513.)
1660 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1662 * exporter.C (checkOverwrite): new method
1663 * exporter.C (copyFile): new method
1664 * exporter.C (Export): copy referenced files to the document dir
1665 * exporter.[Ch]: new class ExportedFile
1666 * exporter.[Ch]: new class ExportData. Contains currently the
1667 names of referenced external files
1668 * outputparams.h: add exportdata member.
1670 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1672 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1675 2004-05-19 Angus Leeming <leeming@lyx.org>
1680 * lyxfunc.C: small changes due to the introduction of namespace
1681 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1683 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1685 * text3.C (dispatch): supress update when only moving the cursor
1686 * cursor.C (selHandle): remove commented code
1688 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1690 * paragraph.C (startTeXParParams): correct column count
1691 * CutAndPaste.C (pasteSelection): remove const_cast
1692 * output_docbook.C (docbookParagraphs): remove const_cast
1693 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1694 const_cast and return ParagraphList::const_iterator
1695 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1696 * output_plaintext.C (writeFileAscii): remove const_cast
1697 * paragraph.[Ch] (simpleTeXOnePar): make const
1698 * paragraph_funcs.C (outerPar): use const iterators
1699 * paragraph_pimpl.C (validate): use const iterators
1700 * text.C (setHeightOfRow): use const iterators
1702 2004-05-17 Angus Leeming <leeming@lyx.org>
1705 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1707 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1708 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1709 if the citation engine has changed.
1711 2004-05-14 José Matos <jamatos@lyx.org>
1713 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1714 if the textclass does not provide it. Have it different for sgml and
1716 support the language of document.
1717 * output_docbook.C (docbookParagraphs):
1718 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1719 first anchor as the id of the paragraph, remove special case code.
1720 * sgml.C (escapeChar): escape only < & >.
1722 2004-05-14 Angus Leeming <leeming@lyx.org>
1724 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1725 dependencies on src/frontends/controllers/biblio.h. Define a
1726 CiteEngine_enum wrapper class to enable the enum to be forward
1729 2004-05-12 Angus Leeming <leeming@lyx.org>
1731 * buffer.C: up LYX_FORMAT to 234.
1732 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1733 use_numerical_citations with a single biblio::CiteEngine cite_engine
1735 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1737 2004-05-13 José Matos <jamatos@lyx.org>
1740 * converter.C (Converter, readFlags): add xml member.
1741 * outputparams.h: add XML flavor.
1742 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1744 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1746 * lyxfunc.C (dispatch):
1747 (getStatus): fix handling of LFUN_SEQUENCE
1749 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1751 * debug.C (showLevel): do not forget the end-of-line marker
1753 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1755 * kbmap.C (read): do not stop parsing a bind file when an error
1758 2004-04-29 Angus Leeming <leeming@lyx.org>
1763 * text2.C: wrap a bunch of #warning statements
1764 inside #ifdef WITH_WARNINGS blocks.
1766 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1768 * buffer.C: increment format to 233.
1770 2004-04-28 Angus Leeming <leeming@lyx.org>
1772 * BufferView_pimpl.C:
1775 s/updateToolbar()/updateToolbars()/
1776 s/Toolbar.h/Toolbars.h/
1778 2004-04-28 Angus Leeming <leeming@lyx.org>
1780 * BufferView.[Ch] (c-tor):
1781 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1782 No longer passes these data to the WorkArea generator.
1784 2004-04-28 Angus Leeming <leeming@lyx.org>
1786 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1788 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1790 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1792 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1794 * output_latex.C (TeXEnvironment): make sure that there is a line
1795 break before \end{foo} for the last paragraph of a document
1796 (TeXOnePar): if the paragraph is at the end of the document (or
1797 inset) and the language has to be reset, then make sure that the
1798 line break is _before_ the language command, not after (fixes bug
1799 1225); also make sure that the language reset command is the first
1800 thing after the paragraph (to ensure proper nesting of
1801 environments and thus fix bug 1404)
1803 2004-04-21 John Levon <levon@movementarian.org>
1806 * ToolbarBackend.C: make "name" be a programmatic name
1807 and a gui_name field.
1809 * lyxfunc.C: display the minibuffer on M-x
1811 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1813 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1816 2004-04-19 Angus Leeming <leeming@lyx.org>
1818 * BufferView_pimpl.C (setBuffer): changed preview interface.
1820 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1823 2004-04-19 John Levon <levon@movementarian.org>
1825 * BufferView_pimpl.C:
1826 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1828 2004-04-05 Angus Leeming <leeming@lyx.org>
1830 * text.C (redoParagraphs): add call to updateCounters(), thereby
1831 fixing the missing "Figure #:" label from the caption of a
1834 2004-04-13 Angus Leeming <leeming@lyx.org>
1836 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1837 cursor is clicked out of an inset.
1839 2004-04-13 Angus Leeming <leeming@lyx.org>
1841 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1842 than an InsetOld one.
1844 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1846 * format.[Ch]: add editor to Format
1847 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1848 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1850 2004-04-08 André Pönitz <poenitz@gmx.net>
1852 * metricsinfo.h: remove PainterInfo::width member
1854 2004-04-08 Angus Leeming <leeming@lyx.org>
1856 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1857 "\providecommand" rather than "\newcommand", thereby preventing
1858 clashes with packages that define "\boldsymbol" themselves.
1861 2004-04-08 Angus Leeming <leeming@lyx.org>
1863 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1864 thereby squashing an unnecessary warning.
1866 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1868 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1871 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1873 * BufferView.C (setCursor): call redoParagraph (some insets could
1875 (putSelectionAt): remove the 'double update' trick
1877 * BufferView_pimpl.C (fitCursor): call refreshPar
1878 (workAreaDispatch): remove an uneeded update call
1879 (dispatch): remove some manual update calls
1881 * cursor.[Ch]: remove cached_y_, updatePos
1882 (selHandle): set noUpdate when appropriate
1884 * lyxfunc.C (dispatch): track if we need an update
1886 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1888 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1889 (paintSelection): cheap optimization, do not call cursorX when not
1891 (paintPars): change signature
1894 (paintTextInset): adjust
1898 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1900 * lengthcommon.C: compilation fix: remove explicit array size from
1901 unit_name[] and friends
1903 2004-04-05 Angus Leeming <leeming@lyx.org>
1905 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1907 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1908 present only for the preferences dialog.
1909 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1911 2004-04-05 Angus Leeming <leeming@lyx.org>
1913 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1914 to enable the frontends to export changes to lyxrc correctly.
1916 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1918 2004-04-07 André Pönitz <poenitz@gmx.net>
1920 * cursor.[Ch] (selClear, adjust): remove math
1922 * cursor_slice.C: more agressive assert
1925 * BufferView_pimpl.C: rework mouse event dispatch
1932 2004-04-05 André Pönitz <poenitz@gmx.net>
1934 * cursor.[Ch] (valign, halign...): remove unneeded functions
1936 2004-04-05 Angus Leeming <leeming@lyx.org>
1938 * lyxlength.[Ch] (unit_name et al.): const-correct.
1940 2004-04-05 Angus Leeming <leeming@lyx.org>
1942 * BufferView_pimpl.C:
1951 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1953 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1955 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1957 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1959 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1960 * BufferView_pimpl.[Ch] (getStatus)
1961 * BufferView.[Ch] (getStatus): add
1962 * lyxfunc.C (getStatus): move lfuns handled in
1963 BufferView::dispatch to te function above
1964 * Cursor.C (setSelection): set selection() = true
1966 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1968 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1970 2004-03-31 Angus Leeming <leeming@lyx.org>
1972 * lyxfunc.C (dispatch): Fall through to the generic
1973 Dialogs::show("preamble").
1975 2004-03-31 Angus Leeming <leeming@lyx.org>
1977 * lyxfunc.C (dispatch): Fall through to the generic
1978 Dialogs::show("spellchecker").
1980 2004-03-31 Angus Leeming <leeming@lyx.org>
1982 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1985 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1990 * insetiterator.[Ch]:
1995 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1997 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1999 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2000 insets where we are putting the cursor.
2002 2004-03-31 Angus Leeming <leeming@lyx.org>
2005 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2007 * lyxrc.[Ch] (read, write): overloaded member functions taking
2008 a std::[io]stream arguments.
2010 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2012 2004-03-31 Angus Leeming <leeming@lyx.org>
2014 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2015 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2017 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2018 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2020 2004-03-31 Angus Leeming <leeming@lyx.org>
2022 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2023 the LFUN_ALL_INSETS_TOGGLE code.
2025 2004-03-30 Angus Leeming <leeming@lyx.org>
2027 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2028 has died. Fall through to the generic Dialogs::show("document").
2030 2004-03-30 Angus Leeming <leeming@lyx.org>
2033 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2034 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2036 * lyxfunc.C (getStatus, dispatch): define the actions for these
2037 lfuns. Little more than a cut and pste job from ControlDocument.C
2039 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2041 2004-03-30 Angus Leeming <leeming@lyx.org>
2044 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2045 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2047 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2048 open/closed state of ollapsable insets. Usage:
2050 all-inset-toggle <state> <name>, where
2051 <state> == "open" || "closed" || "toggle" and
2052 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2054 * lyxtext.h, text2.C (toggleInset): removed.
2056 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2057 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2058 now passes LFUN_INSET_TOGGLE to the found inset.
2060 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2061 is now invoked as "all-insets-toggle toggle branch".
2063 2004-03-30 Angus Leeming <leeming@lyx.org>
2067 * pariterator.[Ch]: added/corrected header blurb.
2069 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2071 * dociterator.[Ch]: add an inset_ member
2072 (backwardPos): implemented
2073 (backwardPos, forwardPos): use inset_ when the stack is empty.
2074 (doc_iterator_begin, doc_iterator_end): implemented
2075 * pariterator.[Ch]: adjust, add begin, end
2076 * insetiterator.[Ch]: adjust, add begin, end
2080 * BufferView_pimpl.C:
2081 * CutAndPaste.C: adjust
2083 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2085 * buffer.C: increment file format to 232.
2086 * LaTeXFeatures.C: add bibtopic package.
2087 * bufferparams.[Ch]: param \use_bibtopic.
2089 * lyxrc.[Ch]: add lyxrc bibtex_command
2090 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2092 * buffer.C: increment file format to 231.
2094 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2096 * dociterator.C: implement forwardPar
2097 * iterators.[Ch]: remove, replaced by
2098 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2100 * BufferView_pimpl.C:
2103 * bufferview_funcs.C:
2109 * Makefile.am: adjust
2111 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2113 * CutAndPaste.C (pasteSelection): fix 2 crashes
2114 (eraseSelection): fix a crash
2115 * paragraph_funcs.C: remove a warning
2117 2004-03-28 Angus Leeming <leeming@lyx.org>
2120 * LyXAction.C (init): new LFUN_PRINT.
2122 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2124 2004-03-27 Angus Leeming <leeming@lyx.org>
2127 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2129 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2131 2004-03-27 Angus Leeming <leeming@lyx.org>
2133 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2134 insetlist always contains non-null pointers to insets.
2136 2004-03-26 Angus Leeming <leeming@lyx.org>
2138 * src/BufferView_pimpl.C:
2139 * src/CutAndPaste.C:
2142 * src/output_plaintext.C:
2143 * src/outputparams.h:
2144 * src/paragraph_funcs.C:
2148 * src/frontends/controllers/ControlErrorList.C:
2149 * src/frontends/gtk/FileDialogPrivate.C:
2150 * src/frontends/gtk/GPainter.C:
2151 * src/frontends/gtk/GToolbar.C:
2152 * src/frontends/qt2/QRef.C:
2153 * src/mathed/math_scriptinset.C: squash compiler warnings.
2155 2004-03-26 Angus Leeming <leeming@lyx.org>
2157 * ispell.C (LaunchIspell::start):
2158 * lyx_cb.C (AutoSaveBuffer::start):
2159 invoke run(DontWait) rather than runNonBlocking().
2161 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2163 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2165 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2167 * kbsequence.C (print): adjust
2169 * kbmap.C (printKeySym): rename and change signature
2170 (printKey): use LyXKeySym::print()
2172 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2174 * undo.C: add using std::advance to compile for stlport
2176 2004-03-24 Angus Leeming <leeming@lyx.org>
2178 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2179 it leads to a crash when no buffer is present.
2181 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2182 Martin Vermeer <martin.vermeer@hut.fi>
2184 * lyxfunc.C (dispatch):
2185 * bufferparams.C (readToken): use the new LColor::setColor
2187 * LColor.[Ch] (setColor): new version that takes two strings as
2188 argument and creates a new color entry if necessary
2190 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2192 * buffer.C (makeLaTeXFile): if the main latex file that is
2193 processed is usually a subdocument of some master, then pretend
2194 for a while that it is actually the master
2196 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2198 * buffer.C (getLabelList):
2199 (getBibkeyList): use getMasterBuffer()
2200 (getMasterBuffer): new method. Returns the main document in the
2201 case where one is using included documents.
2203 2004-03-25 André Pönitz <poenitz@gmx.net>
2207 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2209 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2211 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2212 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2214 * ParameterStruct.h: merge with ParagraphParameters
2216 * lyxtext.h: remove LyXText::parOffset() and getPar()
2218 * text3.C: Remove all 'manual' update calls. We do now one per user
2219 interaction which is completely sufficient.
2223 * BufferView_pimpl.C:
2224 * FontIterator.[Ch]:
2226 * ParagraphParameters.[Ch]:
2231 * cursor_slice.[Ch]:
2238 * output_docbook.[Ch]:
2239 * output_latex.[Ch]:
2240 * output_linuxdoc.[Ch]:
2241 * output_plaintext.[Ch]:
2243 * paragraph_funcs.[Ch]:
2244 * paragraph_pimpl.[Ch]:
2252 * frontends/controllers/ControlDocument.C:
2253 * frontends/controllers/ControlErrorList.C:
2254 * frontends/controllers/ControlSpellchecker.C:
2257 * insets/insetbase.h:
2258 * insets/insetbibitem.C:
2259 * insets/insetbox.C:
2260 * insets/insetbranch.C:
2261 * insets/insetcaption.C:
2262 * insets/insetcharstyle.C:
2263 * insets/insetcharstyle.h:
2264 * insets/insetcollapsable.C:
2265 * insets/insetcollapsable.h:
2266 * insets/insetert.C:
2267 * insets/insetfloat.C:
2268 * insets/insetfoot.C:
2269 * insets/insetmarginal.C:
2270 * insets/insetnote.C:
2271 * insets/insetoptarg.C:
2272 * insets/insettabular.C:
2273 * insets/insettext.C:
2274 * insets/insettext.h:
2275 * insets/insetwrap.C:
2276 * mathed/math_mboxinset.C:
2277 * mathed/math_nestinset.C:
2278 * mathed/math_scriptinset.C:
2279 * mathed/math_scriptinset.h:
2282 2004-03-24 Angus Leeming <leeming@lyx.org>
2284 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2285 deal with any child processes that have finished but are waiting to
2286 communicate this fact to the rest of LyX.
2288 2004-03-24 Angus Leeming <leeming@lyx.org>
2290 64-bit compile fixes.
2292 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2293 (c-tor): pass lyx::pos_types rather than ints.
2295 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2298 * text.C (Delete): compile fix.
2299 (getPar): ensure that function declaration is the same as that in
2302 2004-03-23 Angus Leeming <leeming@lyx.org>
2304 * ispell.C (LaunchIspell):
2305 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2306 a boost::shred_ptr rather than a std::auto_ptr.
2308 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2310 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2311 handle LFUN_FILE_INSERT_*
2313 * lyxrc.C (setDefaults, getDescription, output, read):
2314 * lyxrc.h: remove ps_command
2316 2004-03-22 Angus Leeming <leeming@lyx.org>
2318 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2319 Ensure that error_handler is processed once only and that all data
2320 is saved before attempting to output any warning messages.
2322 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2324 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2326 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2328 2004-03-19 André Pönitz <poenitz@gmx.net>
2330 * cursor.[Ch] (reset): take main text inset as argument
2332 * BufferView: adjust
2333 * BufferView_pimpl.C: adjust
2335 * paragraph.[Ch]: fix completely broken operator=()
2337 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2339 * LColor.C (getFromLyXName): make sure that the color name is used
2342 2004-03-17 Angus Leeming <leeming@lyx.org>
2345 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2347 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2348 dialog and to kill a forked process.
2350 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2352 * text2.C (setCursorFromCoordinates): fix font problem
2354 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2356 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2357 bogus "rebuild cursor" code
2359 2004-03-11 André Pönitz <poenitz@gmx.net>
2361 * buffer.[Ch]: use InsetText instead of LyXText as container for
2364 * dociterator.[Ch]: drop the BufferView * member which is not needed
2365 anymore after the change to buffer.C
2367 * paragraph_funcs.C:
2371 * BufferView_pimpl.[Ch]:
2373 * cursor_slice.[Ch]: adjust
2375 * text3.C: fix bug in mathDispatch
2377 2004-03-08 André Pönitz <poenitz@gmx.net>
2379 * undo.[Ch]: use 'StableDocumentIterator' as base for
2382 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2385 * bufferparams.[Ch]: add jurabib support and param.
2387 * LaTeX.C: add FIXME/comment.
2389 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2391 * buffer.C: increment file format to 230.
2393 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2395 * cursor.C (dispatch): avoid infinite loops
2397 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2399 * rowpainter.C (paintSelection): fix x coordinates
2401 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2403 * text.C (rowBreakPoint): fix breaking before displayed insets
2405 2004-03-01 André Pönitz <poenitz@gmx.net>
2407 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2409 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2413 * BufferView_pimpl.C:
2421 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2427 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2428 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2430 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2432 * Bidi.[Ch] (computeTables): const correctness
2433 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2434 fill_hfill, fill_label_hfill and x from Row
2435 * lyxtext.h: prepareToPrint returns a RowMetrics
2436 * rowPainter.C: adjust
2437 * text.C (prepareToPrint): use width, not textWidth. adjust
2438 (redoParagraphInternal, cursorX): adjust
2439 * text2.C (getColumnNearX): adjust
2440 (init): put a default value to the top LyXText::width
2442 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2444 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2446 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2448 * lyxtext.h: add FontIterator class
2450 * text.C (FontIterator, operator*, operator->, operator++): add
2451 (rowBreakPoint, setRowWidth): adjust (fixing a
2454 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2456 * BufferView_pimpl.C (workAreaDispatch): allow also
2457 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2459 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2461 * text.C (rowBreakPoint): fix a bug showing with very large insets
2463 2004-02-25 André Pönitz <poenitz@gmx.net>
2466 * cursor.[Ch]: move some mathed specific code to mathed
2468 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2470 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2471 use_tempdir in preferences
2472 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2474 * lyx_main.C: ensure that tempdir is valid
2475 * lyxlex.h: correct typo
2476 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2477 * paragraph.[Ch] (isMultiLingual): make const
2478 * cursor.[Ch] (openable): make const
2480 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2482 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2484 2004-02-20 André Pönitz <poenitz@gmx.net>
2486 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2488 * cursor.[Ch]: prepare for localized getStatus()
2494 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2496 2004-02-20 André Pönitz <poenitz@gmx.net>
2498 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2500 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2502 * text2.C (setCursorFromCoordinates): switch to absolute coords
2504 (cursorDown): adjust
2505 * text3.C (dispatch): adjust
2507 2004-02-16 André Pönitz <poenitz@gmx.net>
2509 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2512 * cursor_slice.[Ch]: remove unneeded acessor function
2514 * lyxtext.h: rename rtl() to isRTL()
2522 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2524 * rowpainter.C (paintSelection): coord fix
2526 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2528 * Spacing.C: compile fix
2530 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2532 * cursor.C (dispatch): restore current_ before returning
2534 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2536 * text2.C (cursorUp, cursorDown): fix coords
2539 2004-02-12 André Pönitz <poenitz@gmx.net>
2544 * text3.C: add LCursor & parameter to most cursor movement functions
2545 remove usage of LyXText::cursorRow() and cursorPar()
2547 * cursor.[Ch]: add textRow() needed members
2550 * BufferView_pimpl.C:
2553 * BufferView_pimpl.C: adjust
2555 2004-02-11 André Pönitz <poenitz@gmx.net>
2559 * BufferView_pimpl.C: shift undo/redo handling
2561 * cursor.[Ch]: fix mathed crash
2564 * lyxtext.h: move selectionAsText to LCursor
2572 * rowpainter.C: fix excessive drawing
2574 2004-02-06 André Pönitz <poenitz@gmx.net>
2577 * BufferView_pimpl.[Ch]:
2578 * text3.C: move some text specific LFUN handling
2580 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2582 * text3.C (checkInsetHit): adjust coords
2583 * text2.C (getColumnNearX): adjust coords
2584 (edit): adjust coords
2585 * text.C (getRowNearY): add two asserts
2587 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2590 * format.C: add using std::distance to compile on gcc 2.95/stlport
2592 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2594 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2596 2004-02-04 André Pönitz <poenitz@gmx.net>
2598 * BufferView.[Ch] (insertInset):
2599 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2604 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2606 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2607 on the default clause of the switch
2608 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2609 wasn't catched by LCursor::dispatch
2611 2004-02-03 André Pönitz <poenitz@gmx.net>
2614 * cursor.[Ch]: some additional asserts
2616 * undo.[Ch]: remove LyXText dependency in interface
2620 * lyxtext.h (firstPar, lastPar): remove dead functions
2625 * paragraph.[Ch]: adjust
2627 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2629 * lyxfind.C (find): fix argument order in call to ::find
2631 2004-02-02 André Pönitz <poenitz@gmx.net>
2633 * cursor.[Ch]: remove direct access to anchor
2635 * text.C: remove findText() hack
2637 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2639 * iterators.[Ch] (lockPath): remove in favour of...
2640 * BufferView.[Ch] (setCursor): this addition
2641 * BufferView.C (putSelectionAt): adjust
2642 * undo.C (performUndoOrRedo): adjust
2643 * lyxfunc.C (dispatch): adjust
2645 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2647 * iterators.C (lockPath): add a missing slice
2648 * undo.C (performUndoOrRedo): remove redundant positioning code
2650 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2652 * vc-backend.C (scanMaster): ";" -> ';'
2654 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2656 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2657 std::binary_function
2659 * lyxtextclass.C (compare_name): rename to...
2660 (LayoutNamesEqual): ...this
2662 * lyxlex_pimpl.C (compare_tags): inherit from
2663 std::binary_function, put back into anon namespace
2665 * lyxfind.C (MatchString): inherig from std::binary_function
2666 (findChange): use empty() istead of !size()
2668 * format.C (FormatNamesEqual): new functor
2675 * converter.C (compare_Converter): rename to...
2676 (ConverterEqual): ...this, and fixup a bit.
2677 (getConverter): use it, and make function const
2678 (getNumber): use it, and make function const
2682 * bufferlist.C: add using boost::bind
2684 * MenuBackend.C (MenuNamesEqual): new functor
2685 (hasMenu): use it, and make function const
2686 (hasSubmenu): use nested bind to get rid of compare_memfun.
2688 2004-01-30 André Pönitz <poenitz@gmx.net>
2690 * BufferView_pimpl.C:
2693 * cursor_slice.[Ch]:
2696 * paragraph_funcs.C:
2697 * paragraph_funcs.h:
2701 * text3.C: move some of the edit(x,y) handling to the insets
2702 some coordinate changes.
2704 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2706 * text.C: add using statements for std::advance and std::distance
2708 * paragraph.C: add using statement for std::distance
2710 * lyxfind.C: add using statement for std::advance
2712 * cursor.C (region): remove std:: from swap
2713 (openable): use nucleus in stead of operator->
2715 * BufferView.C: add using statements for std::distance and std::swap
2717 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2719 * iterators.C: Remove the pimple, move the needed structures to
2720 the header file. Create accessor for the positions stack.
2721 (asPosIterator): remove function
2723 * PosIterator.C (PosIterator): move constructors to top of file
2724 (PosIterator): reimplement the constructor taking a ParIterator in
2726 (setFrom): new function
2727 (operator!=): inline it
2729 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2731 * lyxfind.C (replaceAll): use std::advance
2733 * iterators.h: inherit from std::iterator.
2735 * PosIterator.C (advance, distance): remove
2736 * PosIterator.h: interit from std::iterator.
2738 2004-01-26 André Pönitz <poenitz@gmx.net>
2741 * BufferView_pimpl.[Ch]:
2745 * bufferview_funcs.C:
2755 * output_linuxdoc.C:
2756 * output_plaintext.C:
2758 * paragraph_funcs.[Ch]:
2759 * paragraph_pimpl.[Ch]:
2765 * text3.C: more IU: dumps most of the rest of the mathcursor
2766 implementation into cursor.[Ch]; "globalize" a bit of it.
2768 2004-01-25 Angus Leeming <leeming@lyx.org>
2770 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2772 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2774 * LaTeXFeatures.h: add nice_ and nice() const
2775 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2777 2004-01-20 André Pönitz <poenitz@gmx.net>
2780 * BufferView_pimpl.C:
2782 * bufferview_funcs.C:
2784 * cursor_slice.[Ch]:
2795 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2796 LCursor and mathcursor parts to LCursor and InsetBase.
2798 2004-01-15 André Pönitz <poenitz@gmx.net>
2800 * cursor_slice.[Ch]: add a few covienience functions
2802 * funcrequest.[Ch]: remove BufferView * member
2804 * BufferView_pimpl.C:
2811 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2813 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2815 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2816 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2818 2004-01-13 André Pönitz <poenitz@gmx.net>
2821 * lyxtext.h: hide cursor and selection anchor behind accessor function
2824 * BufferView_pimpl.[Ch]:
2826 * bufferview_funcs.C:
2836 * cursor_slice.[Ch]: some integer type changes for inset unification
2838 * lyxcursor.[hC]: remove, it's CursorSlice now.
2841 * BufferView_pimpl.[Ch]:
2842 * bufferview_funcs.C:
2848 * textcursor.[Ch]: adjust
2850 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2852 * text2.C (undoSpan): add and use
2853 * text.C (breakParagraph): use undoSpan (fix bug 578)
2856 2004-01-08 Angus Leeming <leeming@lyx.org>
2858 * BufferView_pimpl.C (MenuInsertLyXFile):
2859 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2860 * lyxfunc.C (menuNew, open, doImport):
2861 FileFilterList change to the FileDialog open and save functions.
2863 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2865 * ShareContainer.h: make isEqual and isUnique adaptable
2867 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2869 2004-01-07 Angus Leeming <leeming@lyx.org>
2872 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2874 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2876 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2877 functions replacing find, replace and replaceAll.
2879 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2880 LFUN_WORDFIND(FORWARD|BACKWARD).
2882 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2884 * text.C (breakParagraph): remove an outdated #warning
2886 2004-01-07 André Pönitz <poenitz@gmx.net>
2888 * lyxfind.C: somewhat clearer logic
2890 * text.C: prevent crash in cursorX on unitialized row cache
2892 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2894 * lyxcursor.[Ch] (operator>): add
2895 * textcursor.C (selStart, selEnd): use std::min and std::max
2897 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2899 * Chktex.C: include boost/format.hpp
2901 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2903 * InsetList.C: replace functor MathcIt with adaptable functor
2905 (insetIterator): modify accordingly
2907 * BranchList.h: move the BranchNamesEqual functor here from...
2908 * BranchList.C: ... to here
2910 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2912 (add): replace a finding loop with std::find_if.
2914 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2916 * output_docbook.C: moving LatexParam functionality into
2919 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2921 * buffer.C: increment format to 229.
2923 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2926 * lyx_sty.[Ch]: remove minipageindent_def
2932 * text3.C: remove LFUN_INSET_MINIPAGE
2934 2003-12-28 Angus Leeming <leeming@lyx.org>
2936 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2938 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2940 * text2.C (setParagraph): fix off-by-one crash
2942 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2944 * output_docbook.C: header stuff for AGU
2946 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2948 * text2.C (redoCursor): remove
2951 * BufferView_pimpl.C: remove calls to redoCursor and
2952 setCursor(cursor.par(), cursor.pos()) all around
2954 2003-12-15 Angus Leeming <leeming@lyx.org>
2956 * buffer.C: up the format to 228.
2958 2003-12-15 André Pönitz <poenitz@gmx.net>
2960 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2965 * BufferView_pimpl.C:
2974 2003-12-15 Angus Leeming <leeming@lyx.org>
2976 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2977 than getFromGUIName to manipulate the color.
2979 2003-12-14 Angus Leeming <leeming@lyx.org>
2981 * BranchList.[Ch]: minimize the API.
2982 (Branch::getBranch, getColor): now return a 'const &'.
2983 (Branch::setSelected) now returns a bool set to true if the
2984 selection status changes.
2985 (BranchList::clear, size, getColor, setColor, setSelected,
2986 allBranches, allSelected, separator): removed.
2987 (BranchList::find): new functions, returning the Branch with
2989 (BranchList::add, remove): return a bool indicating that
2990 the operation was successful.
2992 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2993 new InsetBranch::isBranchSlected member function.
2995 * LColor.[Ch]: mimimize the API.
2996 (fill): renamed as addColor and made private.
2997 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2998 versions of these functions taking a string arg have been removed.
3000 * bufferparams.C (readToken):
3001 * lyxfunc.C (dispatch):
3002 * lyxrc.C (read): changes due to the altered BranchList and
3005 * factory.C (createInset, readInset): changes due to altered
3008 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3011 * lyxfunc.C: remove insetminipage. "minipage-insert"
3012 now produces a frameless minipage box inset.
3014 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3016 * textcursor.[Ch] (selStart,selEnd): add new methods
3017 remove selection::start, end, use LyXCursor::operator<
3018 * lyxcursor.[Ch] (operator<): add
3019 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3020 * BufferView.[Ch] (unsetXSel): add
3021 * text2.C (clearSelection): use unsetXSel,adjust
3024 * rowpainter.C: adjust
3025 * bufferview_funcs.C (put_selection_at): adjust
3027 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3029 * BufferView_pimpl.C: small coord. correction
3031 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3033 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3034 dragging over the splash screen.
3036 2003-12-11 Angus Leeming <leeming@lyx.org>
3038 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3039 as it is now handled in LyXText::dispatch.
3041 * text3.C (doInsertInset): remove a level of nesting.
3043 2003-12-11 Angus Leeming <leeming@lyx.org>
3045 * factory.C (createInset): changes due to the changed interface to
3046 InsetCommandMailer::string2params.
3048 2003-12-10 Angus Leeming <leeming@lyx.org>
3050 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3051 'dialog-show-new-inset <inset name>'
3053 2003-12-10 Angus Leeming <leeming@lyx.org>
3055 * buffer.C: up the format to 227.
3057 * factory.C: the box inset is now identified simply by 'Box'.
3059 2003-12-10 Angus Leeming <leeming@lyx.org>
3061 * buffer.C: up the format to 226.
3063 * factory.C: the note inset is now identified simply by 'Note'.
3065 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3067 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3068 when a pit is enough. Standarize a couple of loops.
3070 2003-12-05 Angus Leeming <leeming@lyx.org>
3072 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3073 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3074 data to the re-worked "log" dialog.
3076 2003-12-03 André Pönitz <poenitz@gmx.net>
3082 * paragraph_funcs.C:
3084 * text2.C: use Inset::getText instead of Inset::getParagraph
3086 2003-12-03 André Pönitz <poenitz@gmx.net>
3090 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3091 InsetText::read() as LyXText::read()
3093 2003-12-02 Angus Leeming <leeming@lyx.org>
3095 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3096 type. Add a comment in the implementation that the function uses
3097 the stream's bad() function rather than fail() as the std::streams
3100 2003-12-02 André Pönitz <poenitz@gmx.net>
3102 * lyxlex.[Ch]: make interface more similar to std::stream
3104 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3106 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3108 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3110 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3112 * vspace.[Ch]: remove VSpace::NONE
3114 2003-12-01 André Pönitz <poenitz@gmx.net>
3117 * lyxtext.h: move ParagraphList member to LyXText
3118 rename LyXText::ownerParagraphs to LyXText::paragraph
3121 * bufferview_funcs.C:
3131 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3133 * undo.C: fix cursor positioning
3135 2003-12-01 John Levon <levon@movementarian.org>
3137 * BufferView_pimpl.C: fix a crash on exit with
3140 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3142 * BranchList.C: fix setSelected() method.
3144 2003-11-28 André Pönitz <poenitz@gmx.net>
3146 * ParagraphParameters.[Ch]:
3147 * ParameterStruct.h: remove space above/below from Paragraph to
3150 * BufferView_pimpl.C:
3156 * paragraph_funcs.C:
3162 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3164 * factory.C: Syntax change for CharStyles
3166 2003-11-28 André Pönitz <poenitz@gmx.net>
3171 * buffer.[Ch]: move LyXText member
3173 2003-11-28 André Pönitz <poenitz@gmx.net>
3175 * BufferView.[Ch]: make LyXText * text a private member
3177 * BufferView_pimpl.C:
3188 * output_plaintext.C: cleanup
3190 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3193 * lyxtextclass.[Ch]: parametrize SGML document header
3195 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3198 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3201 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3203 * text2.C (setFont): rework using PosIterator (no more recursive)
3204 (setCharFont): no more needed
3205 (setLayout): no more selection cursors fiddling (done by redoCursor)
3206 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3207 destroy remaining ones)
3209 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3211 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3213 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3216 * text3.C: adjust + re-allow multi par depth changes
3217 * textcursor.C: simplify a bit
3219 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3225 * src/output_docbook.C:
3226 * src/output_latex.C:
3231 * src/text2.C: Introducing a number of tags parametrizing various
3232 XML formats that we may want to support
3234 2003-11-25 André Pönitz <poenitz@gmx.net>
3236 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3238 * lyxtext.h (leftMargin/rightMargin): simplify interface
3245 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3247 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3248 master file to any child files. Fixes bug 546.
3250 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3252 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3254 2003-11-24 André Pönitz <poenitz@gmx.net>
3256 * rowpainter.C: simplification
3258 * text2.C (updateCounters): remove call to redoParagraph on
3259 changed labels as this is far too expensive.
3261 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3263 * converter.C (convert): fix a crash: this function gets
3264 called with buffer == 0 from importer code.
3266 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3268 * text3.C (cursorPrevious): make sure that we do not compare
3269 iterators form different containers.
3272 * rowpainter.C (paintSelection): make sure that we do not compare
3273 iterators from different containers.
3275 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3276 iterators from different ParagraphList containers.
3279 * text2.C (LyXText): change order of initialization slightly
3280 (operator=): new function. copy all variables except cache_par_
3281 (moveUp): make sure that we do not compare iterators from
3282 different ParagraphList constainers.
3285 * text.C (firstPar): new function
3286 (lastPar): new function
3287 (endPar): new function
3289 * lyxtext.h: move things around and group public functions, public
3290 variables, private functions, private variables
3292 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3294 * factory.C: change call to InsetERT constructor to avoid
3295 additional invocation of method status
3296 * text2.C (toggleInset): remove redundant update() call
3297 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3298 instead of a Bufferview pointer
3300 2003-11-21 André Pönitz <poenitz@gmx.net>
3302 * rowpainter.C: simplification
3304 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3306 * text3.C (dispatch): make possible to extend a word/row selection
3309 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3311 * lyxtext.h: x0_,y0_ -> xo_,yo_
3312 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3313 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3314 * rowpainter.C (paintRows): paint full paragraphs
3316 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3318 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3321 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3323 * lyxtext.h: add x0_, y0_
3324 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3325 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3327 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3329 * text2.C (setCursorIntern): move the x_target update here *
3330 * text3.C: change some bv() to true/false in calls to
3331 cursorUp/Down/Right/Left
3332 * cursor.C: use helper function.
3334 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3336 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3337 * paragraph_funcs.[Ch]: correct comment
3338 * rowpainter.C: do not paint selections away from bv->cursor()
3339 Fix a long standing selection painting bug.
3340 * text3.C: generalize mouse-selection code to LyXTexts other that
3342 * textcursor.C: do not use y coords if we can use par offsets
3344 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3346 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3347 cursor position after e.g. inset insert)
3349 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3351 * lyxfind.C (replace): adjust to locking removal + some
3354 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3356 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3359 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3362 * output_docbook.C: XML sanitation: new layout
3363 parameters InnerTag and CommandDepth
3365 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3367 * BufferView_pimpl.C:
3369 * text3.C: Fix the insertion and modification of button-style
3372 2003-11-13 André Pönitz <poenitz@gmx.net>
3374 * InsetList.[Ch]: remove deleteLyXText
3376 * paragraph.[Ch]: cache beginOfBody position
3381 * text3.C: remove superfluous update() calls
3385 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3387 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3388 * BufferView.C (fitLockedInsetCursor): remove
3389 * cursor.[Ch] (getDim): add
3390 * text.C (getRowNearY): add faster version
3391 * text3.C: remove some update calls
3393 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3405 * text3.C: The Character Style /XML short element patch.
3407 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3410 * factory.C: Small step to solving 'unable to insert some insets'
3413 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3415 * cursor.[Ch] (updatePos): new function for updating the y
3416 position of the tip inset
3417 * bufferview_funcs.C (put_selection_at):
3418 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3420 2003-11-11 André Pönitz <poenitz@gmx.net>
3422 * text.C: remove big comment on invalid Paragraph pointers as it is
3425 2003-11-11 André Pönitz <poenitz@gmx.net>
3427 * text_funcs.[Ch]: merge with ...
3435 * Makefile.am: remove text_funcs.[Ch]
3437 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3439 * cursor.C (getPos): return absolute cached y coord
3441 * BufferView_pimpl.C (fitCursor): new simplistic code
3442 (workAreaDispatch): add a fitCursor call
3444 2003-11-10 André Pönitz <poenitz@gmx.net>
3447 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3449 2003-11-10 André Pönitz <poenitz@gmx.net>
3451 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3452 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3453 indicate that the cursor needs to leave an inset
3455 * lyxtext.h: remove inset locking
3457 * cursor.[Ch]: re-implement functionality provided by inset locking
3460 * BufferView_pimpl.[Ch]:
3462 * bufferview_funcs.[Ch]:
3474 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3476 * PosIterator.[Ch]: replace the stack with a vector, add inset
3478 * iterators.[C]: adjust
3480 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3482 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3484 * paragraph_funcs.C (readParToken): put the correct id in the
3485 error item, not the id of the top paragraph
3487 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3489 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3490 * bufferview_funcs.C (put_selection_at): use the above
3492 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3494 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3496 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3498 * output_linuxdoc.h:
3499 * output_plaintext.h:
3501 * output_docbook.h: add #include statements
3503 2003-11-05 José Matos <jamatos@lyx.org>
3505 * output_docbook.[Ch]:
3506 * output_latex.[Ch]:
3507 * output_linuxdoc.[Ch]:
3508 * output_plaintext.[Ch]: New files for output formats.
3509 * output.[Ch]: New file for helper functions.
3512 * paragraph_funcs.[Ch]: output functions moved to new files.
3514 * outputparams.h: rename of latexrunparams.h
3522 * paragraph_funcs.[Ch]:
3523 * paragraph_pimpl.[Ch]:
3524 * tabular.[Ch]: rename ascii to plaintext
3525 and LatexRunParams to OutputParams.
3527 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3529 * iterators.[Ch] (text): require bv argument
3530 * undo.C (recordUndo):
3531 * lyxfunc.C (dispatch):
3532 * bufferview_funcs.C (put_selection_at): adjust
3534 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3536 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3538 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3540 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3543 2003-11-04 André Pönitz <poenitz@gmx.net>
3545 * cursor.[Ch]: restructure
3548 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3550 * iterators.[Ch] (asCursor): remove
3552 * lfuns.h: remove LFUN_INSET_EDIT
3558 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3560 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3562 * lyxfind.[Ch]: complete overhaul
3563 * BufferView_pimpl.C:
3565 * paragraph.[Ch] (insert): add
3567 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3571 * text.C: remove dead spellcheck code
3573 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3575 * dispatchresult.h: add a val setter
3577 * cursor.C (dispatch): use a tempvar for data_[i]
3579 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3581 * PosIterator.[Ch]: compile fix
3583 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3585 * text.C (cursorPar): deactivate the cursor cache
3587 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3589 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3591 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * text3.C (dispatch): adjust for new DisptchResult semantics.
3595 * lyxfunc.C (dispatch): handle update when return from
3596 Cursor::dispatch, adjust for new DispatchResult semantics.
3598 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3599 DispatchResult(true) mean to not update. Add class functions for
3600 setting dispatched and update, as well as reading.
3602 * cursor.C (dispatch): don't handle update here
3604 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3606 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3607 * trans_mgr.C: adjust
3609 * paragraph_funcs.C (readParToken): exception safety
3611 * lyxvc.h: store the vcs pointer in a scoped_ptr
3614 * lyxsocket.C (serverCallback): exception safety
3616 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3618 * ispell.C (clone): make it return a auto_ptr
3620 * factory.C (createInset): exception safety
3621 (readInset): exception safety
3623 * bufferlist.C (newBuffer): exception safety
3625 * Thesaurus.C (Thesaurus): use initialization for aik_
3627 * MenuBackend.C (expandToc): exception safety.
3629 2003-11-03 André Pönitz <poenitz@gmx.net>
3633 * bufferview_funcs.C: remove getInsetFromId()
3636 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3642 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3644 * PosIterator.C (distance, advance): new
3645 * bufferview_funcs.[Ch] (put_selection_at): new
3646 * iterators.[Ch] (lockPath): new
3648 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3650 * iterators.[Ch] (asPosIterator): added
3651 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3652 * PosIterator.[Ch]: added
3654 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3658 * cursor.C (dispatch):
3659 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3661 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3662 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3663 contructor, add a class function dispatched. Remove operator>=
3665 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3667 * debug.C: only use the default constructor for debugstream
3670 * main.C (main): include debug.h and setup the lyxerr streambuf
3673 2003-10-31 José Matos <jamatos@lyx.org>
3675 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3677 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3678 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3679 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3680 * paragraph_pimpl.C (simpleTeXSpecialC):
3681 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3682 add LatexRunParams argument.
3684 * exporter.C (Export): change call accordingly.
3686 * latexrunparams.h: add new member to take care of the other backends.
3687 2003-10-30 José Matos <jamatos@lyx.org>
3689 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3690 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3691 factorise code for paragraph output.
3693 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3696 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * text3.C (dispatch):
3699 * lyxfunc.C (dispatch):
3700 * cursor.C (dispatch):
3701 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3703 * dispatchresult.h: make the dispatch_result_t ctor explicit
3705 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3708 * buffer.C: small refactoring of docbook stuff
3710 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3715 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3718 operator dispatch_result_t, and operators for == != and >=
3720 * cursor.C (dispatch): adjust for operator dispatch_result_t
3721 removal. comment out call to update
3723 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3725 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3733 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3736 * dispatchresult.h: new file, DispatchResult broken out of
3739 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3741 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3743 * text.C (rowBreakPoint): put a hack inside #if 0
3745 2003-10-28 André Pönitz <poenitz@gmx.net>
3749 * paragraph_funcs.C:
3752 * text2.C: general cleanup (lots of small stuff)
3754 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3756 * text2.C (cursorEnd): simple fix to the "end key goes to one
3757 before the end on last row" bug
3759 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3761 * text.C (backspace): fix the "zombie characters"
3763 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3765 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3767 2003-10-27 André Pönitz <poenitz@gmx.net>
3769 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3771 * factory.C: handle new InsetPagebreak, InsetLine
3773 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3774 and move handling into new InsetPagebreak, InsetLine
3776 * BufferView_pimpl.C:
3778 * ParagraphParameters.C:
3779 * ParameterStruct.h:
3784 * paragraph_funcs.C:
3785 * paragraph_pimpl.C:
3791 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3794 * lyxrow_funcs.[Ch]:
3800 * text3.C: remove lastPos uses in favour of Row::endpos
3802 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3804 * undo.C (performUndoOrRedo): fix two crashes by setting a
3805 cursor by hand and reordering some calls. Use bv->lockInset instead
3806 of inset->edit because the latter loses cursor information
3808 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3810 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3812 (rowBreakPoint): fix width. change point to point + 1.
3813 Add a missing check.
3815 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3818 * lyxfunc.C: fix (at least partly) the problems
3819 with the Nav menu and headers inside branch insets
3822 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3824 * paragraph.C (getChar): add strong asserts
3826 * lyxrow_funcs.C (lastPos): remove hideous hack
3828 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3829 (fill): adjust to that (avoid an infinite loop)
3831 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3833 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3835 2003-10-23 André Pönitz <poenitz@gmx.net>
3837 * RowList_fwd.h: change list<> to vector<> to gain speed
3838 after suggestion from Alfredo
3840 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3842 * lyxtext.h: move the bidi stuff from here...
3845 * Bidi.[Ch]: ... to here
3847 2003-10-23 André Pönitz <poenitz@gmx.net>
3850 * text.C (isLastRow, isFirstRow): new functions
3852 * paragraph.h: new width cache member
3854 * rowpainter.C: replace RowList::iterator with Row & where possible
3856 * lyxfunc.C: replace several view()->text with a single call
3858 * toc.C: fix 'unused' warning
3860 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3863 when woring with stream::pos_type
3864 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3866 2003-10-22 André Pönitz <poenitz@gmx.net>
3869 * text.C: use Row & instead of RowList::iterator
3871 * lyxrow.h: rename end() to endpos()
3877 2003-10-22 Angus Leeming <leeming@lyx.org>
3879 * buffer.[Ch] (fully_loaded): new member function, returning true
3880 only when the file has been loaded fully.
3881 Used to prevent the premature generation of previews and by the
3882 citation inset to prevent computation of the natbib-style label.
3884 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3885 templates are all set up.
3887 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3889 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3891 * text.C: fixed an "oops" in the "is a bit silly"
3894 2003-10-21 André Pönitz <poenitz@gmx.net>
3896 * FuncStatus.[Ch]: small stuff, whitespace
3898 * lyxfont.[Ch]: operator<<() for debug reasons
3902 * lyxtext.h: whitespace, spelling
3904 * paragraph.C: naming of variables
3907 * text2.C: small stuff
3910 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3912 * text.C: (1) finish off the inset display() work;
3913 (2) fix the "is a bit silly" bug (accessing char
3916 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3918 * text.C: re-introduce display() for insets, fixing the
3919 various bugs (stretch of line above, math inset
3922 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3924 * text.C (rightMargin): remove spurious semicolon
3926 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3929 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3931 * text3.C: fix one crash due to wrong cursor def
3933 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * vc-backend.C (scanMaster): make the regex static
3937 * LaTeX.C (scanAuxFile): make the regexs static
3939 * text3.C (doInsertInset, dispatch, dispatch):
3940 * text2.C (cursorUp, cursorDown):
3941 * text.C (selectNextWordToSpellcheck):
3942 * BufferView_pimpl.C (dispatch):
3943 * lyxfunc.C (dispatch): localDispatch -> dispatch
3945 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3947 * lyxsocket.C: include <cerrno>
3949 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * lyxfunc.C (dispatch): remove textcache stuff
3953 * bufferlist.C (release): remove textcache stuff
3956 * TextCache.C: delete file
3957 * TextCache.h: delete file
3959 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3961 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3962 delete of the bv_->text.
3963 (resizeCurrentBuffer): remove texcache stuff
3964 (workAreaResize): ditto
3966 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3968 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3971 2003-10-16 André Pönitz <poenitz@gmx.net>
3978 * text3.C: speed up by storing y positions per paragraph plus per-row
3979 offset instead of having a 'full' y position in the row.
3981 2003-10-15 André Pönitz <poenitz@gmx.net>
3985 * undo.[Ch]: make undo aware of inner insets
3987 2003-10-14 Angus Leeming <leeming@lyx.org>
3989 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3990 static member functions LyX::ref() and LyX::cref.
3991 (lastfiles): new accessor functions for the new lastfiles_ member var.
3992 (addLyXView, views_): add a new LyXView to the list of views_.
3993 (updateInset): loop over all LyXViews to call their own updateInset
3994 member function, returning a pointer to the Buffer owning the inset.
3996 * BufferView_pimpl.C (loadLyXFile):
3997 * MenuBackend.C (expandLastfiles):
3998 * bufferlist.C (MenuWrite, QuitLyX):
3999 lastfiles is no longer a global variable.
4000 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4002 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4003 static function. Access through LyX::cref().emergencyCleanup().
4005 2003-10-14 André Pönitz <poenitz@gmx.net>
4007 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4009 * undo.[Ch]: restoring part of 'undo in insets'
4012 * undo_funcs.[Ch]: merge with undo.[Ch]
4014 * tabular.C: small cleansing stuff
4016 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4018 * paragraph_funcs.C (readParToken): report unknown insets as error
4019 boxes. Use the outer paragraph as location (also for unknown
4022 * factory.C (readInset): do not abort on reading an unknown inset.
4023 Eat it and return 0.
4025 2003-10-13 Angus Leeming <leeming@lyx.org>
4027 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4029 * lyxrc.C: displayTranslator is now a function,
4030 declared in GraphicsTypes.h.
4032 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4034 * format.C: new placeholder $$a to pass the socket address.
4036 * bufferlist.[Ch]: new function getBufferFromTmp.
4038 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4039 files in the temporary dir.
4041 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4043 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4045 * Makefile.am: add lyxsocket.[Ch].
4047 * lyx_main.C (error_handler): handle SIGPIPE.
4049 2003-10-13 André Pönitz <poenitz@gmx.net>
4051 * BufferView_pimpl.C:
4056 * undo_funcs.[Ch]: use paroffset_type instead of
4057 ParagraphList::iterators to prevent multiple conversion
4058 (and get a more robust interface)
4060 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4064 * text3.C (dispatch): ditto
4066 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4069 move the onlyfile, use onlyfile instead of foundfile in a couple
4072 * DepTable.C (update): flush the error stream a bit more
4074 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * lyxserver.C (callback): adjust
4078 * lyxfunc.C (getStatus): add a missing brace in commented code
4079 (ensureBufferClean): reindent
4080 (dispatch): delete version taking a string
4082 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4084 * LaTeX.C (deplog): move found file handlig from here...
4085 (handleFoundFile): .. to new function here.
4086 (deplog): make sure to discover several files mentioned on the
4089 2003-10-10 André Pönitz <poenitz@gmx.net>
4096 * text3.C: fix some of the tabular crashes
4098 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4100 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4102 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4104 2003-10-09 André Pönitz <poenitz@gmx.net>
4106 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4109 * BufferView_pimpl.C:
4110 * bufferview_funcs.C:
4121 * undo_funcs.C: adjust
4123 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * text2.C (incrementItemDepth): new function, use a backtracking
4126 algorithm to discover the correct item depth.
4127 (resetEnumCounterIfNeeded): new function, use a backtracking
4128 algorithm to discover if counter reset is needed.
4129 (setCounter): use them. Simplify a bit. Add different labels for
4130 different item depths for itemize.
4132 * paragraph.C (Paragraph): remove initialization of enumdepth
4135 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4136 enumerate and itemize. Change the type of itemdepth to signed char.
4138 2003-10-08 André Pönitz <poenitz@gmx.net>
4140 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4145 * tabular.[Ch]: fix crash after 'row-insert'
4147 2003-10-08 Angus Leeming <leeming@lyx.org>
4149 Fix doxygen warnings.
4151 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4152 Remove CutAndPaste:: prefix from header file declaration.
4154 * LColor.h (fill): remove LColor:: prefix from declaration.
4156 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4157 use lyx::depth_type rather than Paragraph::depth_type so that
4158 header file and .C file match.
4160 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4162 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4163 * aspell.C: \file aspell_local.C -> \file aspell.C
4164 * gettext.C: \file gettext.C -> \file src/gettext.C
4165 * gettext.h: \file gettext.h -> \file src/gettext.h
4166 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4167 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4168 * text.C: \file text.C -> \file src/text.C
4170 * toc.C: move comment so that doxygen is not confused.
4172 2003-10-07 Angus Leeming <leeming@lyx.org>
4174 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4176 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4179 * aspell_local.h: add forgotten std::string's.
4181 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4188 * text3.C: The Box patch. Fancybox support, minipage, parbox
4190 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4196 * ParagraphParameters.h:
4206 * lyxtextclasslist.h:
4209 * paragraph_pimpl.C:
4210 * textcursor.h: add <string> and other small fixes to make Lars'
4211 std::string patch compile with STLport.
4213 2003-10-06 Angus Leeming <leeming@lyx.org>
4215 * LColor.h: Add missing #include <string>.
4217 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * All most all file in all subdirs: Make <string> be the prefered
4220 way of getting to std::string, add using declarations.
4222 2003-10-06 André Pönitz <poenitz@gmx.net>
4224 * metricsinfo.C: initialize LyXFont before changing attribute.
4225 (fixes the 'math in \emph is upright' bug)
4227 2003-10-06 André Pönitz <poenitz@gmx.net>
4229 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4231 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4234 * paragraph_pimpl.C: Small fixes to build using STLport
4236 2003-10-02 André Pönitz <poenitz@gmx.net>
4239 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4241 2003-10-01 André Pönitz <poenitz@gmx.net>
4243 * factory.C: assert early
4245 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4247 * lyx_main.C: remove the global debug object
4249 * debug.h: adjust for new debugstream
4251 * debug.C: adjust for new debugstream and keep the global debug
4254 2003-09-22 Angus Leeming <leeming@lyx.org>
4256 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4257 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4258 an incomplete class LyXFont.
4260 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4262 * factory.C: bug fix in branches
4264 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * lyxfunc.C (processKeySym): adjust
4268 (dispatch): change arg name from ev to func, adjust
4269 (sendDispatchMessage): ditto
4271 * lyx_main.C (defaultKeyBindings): adjust keybindings
4272 (deadKeyBindings): ditto
4274 * kbsequence.C (addkey): return a FuncRequest
4276 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4278 * kbmap.C (bind): take a FuncRequest as arg, adjust
4281 (defkey): change to take a FuncRequest as arg, adjust
4282 (findbinding): take a FuncRequest as arg, adjust.
4284 * funcrequest.h (operator=): added
4286 * funcrequest.C (FuncRequest): default kb_action changed from
4287 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4289 * buffer.C (dispatch): simplify
4290 (dispatch): adjust to take a FuncRequest as arg, adjust
4292 * boost.C (assertion_failed): change assertion message slightly
4294 * ToolbarBackend.C (read): simplify
4296 * MenuBackend.C (binding): adjust call to findbinding, add a
4297 message if no binding is found.
4299 (expandToc): correct by adding a empty FuncRequest
4301 * LyXAction.C: include <boost/assert.hpp>
4302 (isPseudoAction): delete function
4303 (LookupFunc): change name to...
4304 (lookupFunc): this. change return type to FuncRequest.
4305 (getActionName): take kb_action as arg, simplify
4306 (funcHasFlag): add an assert, simplify.
4308 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * toc.C (action): return a FuncRequest, simplify
4312 * lyxfunc.C (processKeySym): adjust
4313 (getStatus): delete version that takes an int.
4315 (dispatch): delete version that takes action as int
4317 (sendDispatchMessage): simplify and adjust
4319 * funcrequest.C (getArg): take unsigned int as arg
4321 * ToolbarBackend.C (read): adjust
4322 (add): delete version that takes func as a string.
4323 (getIton): take a FuncRequest as arg
4325 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4328 * MenuBackend.C (MenuItem): add a new construct that only takes a
4329 Kind, simplify the constructor use for submenus.
4331 (expandLastfiles): adjust
4332 (expandDocuments): adjust
4333 (expandFormats): adjust
4334 (expandFloatListInsert): adjust
4335 (expandFloatInsert): adjust
4336 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4338 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4339 Remove class variables lyx_pseudo_map and lyx_arg_map
4341 * LyXAction.C (searchActionArg): delete function
4342 (getPseudoAction): delete function
4343 (retrieveActionArg): delete function
4344 (LookupFunc): make it return kb_action, simplify.
4345 (getActionName): simplify
4347 * factory.C (createInset): fix new bug
4349 2003-09-19 Angus Leeming <leeming@lyx.org>
4351 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4352 masterFilename_ parameter in the include inset.
4354 * factory.C (createInset): changes due to the changes to InsetInclude.
4356 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4358 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4360 2003-09-18 Angus Leeming <leeming@lyx.org>
4363 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4364 Inset::fillWithBibKeys.
4365 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4367 2003-09-18 Angus Leeming <leeming@lyx.org>
4369 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4371 (ctor): pass and store a 'Buffer const &'
4372 (buffer): new member function.
4374 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4375 '*this' to the LaTeXFeatures ctor.
4377 2003-09-18 Angus Leeming <leeming@lyx.org>
4383 * text.C: rename EnumLColor as LColor_color.
4385 2003-09-18 Angus Leeming <leeming@lyx.org>
4387 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4388 remove #include "insets/insetbase.h" from cursor.h.
4390 2003-09-18 Angus Leeming <leeming@lyx.org>
4392 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4393 InsetOld_code to remove #include "inset.h".
4395 * iterators.C: add #include "insets/inset.h"
4397 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4399 * BufferView.C: remove more locking stuff that apparently doesn't
4400 do anything sensible.
4402 2003-09-16 André Pönitz <poenitz@gmx.net>
4405 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4408 2003-09-16 Angus Leeming <leeming@lyx.org>
4410 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4412 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4415 * paragraph.h: remove #include "lyxfont.h". Forward declare
4418 2003-09-16 Angus Leeming <leeming@lyx.org>
4420 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4421 of support/textutils.h.
4422 (isWord): move the contents of support/textutils.h's IsWordChar here.
4428 * text2.C: add #include "paragraph.h".
4431 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4433 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4439 * LaTeX.C: use namespace alias for lyx::support::os
4441 2003-09-16 Angus Leeming <leeming@lyx.org>
4444 * bufferview_funcs.C:
4447 * paragraph_pimpl.C:
4449 * text.C: add #include "LColor.h".
4451 2003-09-16 Angus Leeming <leeming@lyx.org>
4453 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4454 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4456 Store the FontBits::color variable as an int rather than as an
4457 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4460 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4461 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4462 string calls together.
4464 * lyxrc.C: add #include "LColor.h".
4466 2003-09-15 Angus Leeming <leeming@lyx.org>
4468 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4471 2003-09-15 Angus Leeming <leeming@lyx.org>
4473 * LColor.h: add an EnumLColor wrapper for LColor::color.
4475 * lyxfont.[Ch] (color, setColor, realColor):
4476 * lyxtext.h, text.C (backgroundColor):
4477 pass EnumLColor args to/from the functions, rather than LColor::color
4481 * lyxtext.h: forward declare EnumLColor.
4483 * lyx_main.C: add #include "LColor.h".
4485 2003-09-15 Angus Leeming <leeming@lyx.org>
4487 * .cvsignore: add lyx-gtk.
4489 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4494 * ParagraphParameters.C
4498 * bufferview_funcs.C
4508 * vc-backend.C: remove usage of STRCONV
4510 2003-09-15 Angus Leeming <leeming@lyx.org>
4512 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4513 explicitly define the color passed to the painter.
4515 2003-09-15 Angus Leeming <leeming@lyx.org>
4517 * bufferparams.C (BufferParams): reorder member initializers to avoid
4520 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4522 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4523 * text.C (updateRowPositions): remove an unusual nop
4525 2003-09-12 André Pönitz <poenitz@gmx.net>
4527 * BufferView_pimpl.C:
4536 * Counters.[Ch]: finish the 'automatic counters' job
4538 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4540 * aspell.C: include <boost/assert.cpp> (compile fix)
4542 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4544 * boost.C (assertion_failed): use lyx::support::abort instead of
4547 2003-09-10 Angus Leeming <leeming@lyx.org>
4549 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4550 with their _fwd progeny.
4552 2003-09-09 Angus Leeming <leeming@lyx.org>
4554 134 files throughtout the source tree: replace 'using namespace abc;'
4555 directives with the appropriate 'using abc::xyz;' declarations.
4557 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4559 * boost.C (emergencyCleanup): moved here from LAssert.c
4560 (assertion_failed): new function, called by BOOST_ASSERT
4562 * several files: change Assert to BOOST_ASSERT
4564 2003-09-09 Angus Leeming <leeming@lyx.org>
4566 * buffer.[Ch]: Add an Impl class and move Buffer's member
4567 variables into it. As a result move several header files out of
4570 Add header files to lots of .C files all over the tree as a result.
4572 2003-09-09 Angus Leeming <leeming@lyx.org>
4574 * buffer.[Ch]: make Buffer's member variables private. Add
4577 Lots of changes all over the tree as a result.
4579 2003-09-08 Angus Leeming <leeming@lyx.org>
4581 * graph.C: #include <config.h>.
4583 2003-09-08 Angus Leeming <leeming@lyx.org>
4587 * BufferView_pimpl.C:
4616 * toc.C: remove redundant using directives.
4618 2003-09-07 Angus Leeming <leeming@lyx.org>
4620 * LaTeXFeatures.h: remove #include "support/types.h".
4621 * ToolbarBackend.h: remove #include <algorithm>.
4622 * changes.h: remove #include <ctime>.
4623 * debug.h: remove #include <iosfwd>.
4624 * graph.h: remove #include "support/std_string.h".
4625 * lyx_main.h: remove #include <csignal>.
4626 * lyxlex_pimpl.h: remove #include <fstream>.
4627 * sgml.h: remove #include <algorithm>, <utility>.
4628 * toc.h: remove #include "support/std_ostream.h".
4629 Add #include <iosfwd>.
4631 2003-09-07 Angus Leeming <leeming@lyx.org>
4633 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4635 * converter.h: forward declare LatexRunParams.
4636 * encoding.h: remove #include "lyxrc.h".
4637 * lyxtext.h: remove #include "LColor.h".
4638 * lyxtextclass.h: remove #include "support/types.h".
4639 * trans.h: remove #include "tex-accent.h".
4640 * trans_mgr.h: remove #include "tex-accent.h".
4641 * insets/inset.h: remove #include "support/types.h", <vector>.
4642 * insets/insetcollapsable.h: remove #include "LColor.h".
4643 * insets/insetinclude.h: remove #include "dimension.h".
4644 * insets/insetlatexaccent.h: remove #include "dimension.h".
4645 * insets/insetoptarg.h:: remove #include "insettext.h".
4646 * insets/insettext.h: remove #include "dimension.h",
4647 <boost/shared_ptr.hpp>
4649 * insets/renderers.h: add #include "dimension.h".
4650 * insets/updatableinset.h: add #include "support/types.h".
4652 * many .C files: Associated changes.
4654 2003-09-06 Angus Leeming <leeming@lyx.org>
4656 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4657 one, inside testInvariant.
4659 * PrinterParams.C: new file.
4660 * PrinterParams.[Ch]: move the function bodies out of line.
4662 2003-09-06 Angus Leeming <leeming@lyx.org>
4664 * ParagraphParameters.h: forward declare ParameterStruct rather than
4665 including its header file.
4666 (depth): moved out-of-line.
4668 2003-09-06 Angus Leeming <leeming@lyx.org>
4670 * BufferView_pimpl.h:
4673 * lyxfunc.h: forward declare LyXKeySym rather than
4674 #include "frontends/LyXKeySym.h".
4676 * BufferView_pimpl.C:
4679 * lyxfunc.C: associated changes.
4681 2003-09-06 Angus Leeming <leeming@lyx.org>
4683 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4684 As a result, can remove the #include "insets/inset.h" from BufferView.h
4686 2003-09-06 Angus Leeming <leeming@lyx.org>
4688 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4689 As a result, can remove the #include "insets/inset.h" from BufferView.h
4691 2003-09-06 Angus Leeming <leeming@lyx.org>
4697 * bufferview_funcs.C:
4698 * BufferView_pimpl.C:
4703 * ParagraphParameters.C:
4708 * frontends/controllers/ControlDocument.C:
4709 * insets/insetcaption.C: rearrange the #includes into some sort of
4712 * buffer.h: remove #includes ErrorList.h, undo.h
4714 2003-09-06 Angus Leeming <leeming@lyx.org>
4716 * support/types.h: add a 'depth_type' typedef, used to store the
4717 nesting depth of a paragraph.
4720 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4721 defining explicitly.
4724 * paragraph_funcs.h:
4725 * ParagraphParameters.h:
4726 * sgml.h: use lyx::depth_type rather than Paragraph or
4727 ParameterStruct's depth_type.
4730 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4733 * BufferView_pimpl.C:
4735 * ParagraphParameters.C:
4738 * bufferview_funcs.C:
4745 * frontends/LyXView.C:
4746 * frontends/controllers/ControlDocument.C:
4747 * frontends/controllers/ControlErrorList.C:
4748 * insets/insetbibitem.C:
4749 * insets/insetbranch.C:
4750 * insets/insetcaption.C:
4751 * insets/insetcollapsable.C:
4752 * insets/insetenv.C:
4753 * insets/insetert.C:
4754 * insets/insetfloat.C:
4755 * insets/insetfoot.C:
4756 * insets/insetfootlike.C:
4757 * insets/insetnewline.C:
4758 * insets/insetquotes.C:
4759 * insets/insettabular.C:
4760 * insets/insettext.C:
4761 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4763 * frontends/controllers/ControlChanges.C: #include "changes.h".
4765 2003-09-06 Angus Leeming <leeming@lyx.org>
4767 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4768 than #including paragraph.h.
4771 * RowList.h: deleted. Superfluous.
4781 * insets/insettext.h: use ParagraphList_fwd.h rather than
4784 * paragraph.h: don't forward declare ParagraphList.
4787 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4788 rather than ParagraphList.h. paragraph.h is still needed for the
4789 Paragraph::depth_type parameters.
4791 * textcursor.h: enable it to compile stand-alone in light of the
4794 * bufferview_funcs.C:
4806 * frontends/controllers/ControlParagraph.C:
4807 * frontends/controllers/ControlTabular.C:
4808 * insets/insetmarginal.C:
4809 * insets/insetminipage.C:
4810 * insets/insetnote.C:
4811 * insets/insetoptarg.C: add header files needed to compile again.
4813 2003-09-06 Angus Leeming <leeming@lyx.org>
4815 * RowList_fwd.h: new file, forward-declaring Row rather than
4816 #including lyxrow.h.
4821 * insets/insettext.h: use it instead of RowList.h
4823 * bufferview_funcs.C:
4830 * text3.C: #include "RowList.h".
4832 2003-09-05 Angus Leeming <leeming@lyx.org>
4834 * factory.C (createInset):
4835 * vspace.C (c-tor): replace sscanf call with an istringstream.
4836 * ispell.C: re-add missing HP/UX headers.
4837 * lyxserver.C: re-add missing os2 headers.
4839 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4848 * text3.C: re-add missing system headers, needed for 2.95.2.
4850 2003-09-05 Angus Leeming <leeming@lyx.org>
4852 Changes most place everywhere due to the removal of using directives
4853 from support/std_sstream.h.
4855 2003-09-05 Angus Leeming <leeming@lyx.org>
4857 Replace LString.h with support/std_string.h,
4858 Lsstream.h with support/std_sstream.h,
4859 support/LIstream.h with support/std_istream.h,
4860 support/LOstream.h with support/std_ostream.h.
4862 Changes resulting throughout the tree.
4864 2003-09-05 Angus Leeming <leeming@lyx.org>
4866 * sgml.h: ensure that the header file can be compiled stand-alone.
4867 * *.C: strip out redundant #includes. (320 in total.)
4869 2003-09-04 Angus Leeming <leeming@lyx.org>
4871 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4872 here (from getPackages).
4874 * debug.[Ch]: add a new EXTERNAL tag.
4876 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4878 * text2.C (cursorEnd): simplify
4880 (getColumnNearX): adjust
4882 * text.C (computeBidiTables): adjust
4885 * rowpainter.C (paintChars): adjust
4886 (paintSelection): adjust
4887 (paintChangeBar): adjust
4890 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4892 (numberOfSeparators): adjust
4894 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4900 * text3.C: Restricts the mouse click functionality
4901 of insets like bibtex, include, toc and floatlist to the visible
4902 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4903 up the dialogs. Cursor has to be in front of the inset (i.e.
4904 start of row) for this to function.
4906 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4908 * bufferview_funcs.C (currentState): output row information
4910 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4912 * bufferview_funcs.C (currentState): output paragraph position
4914 2003-09-04 Angus Leeming <leeming@lyx.org>
4916 * FloatList.h: move out #include "Floating.h".
4917 * LaTeX.h: move out #include "DepTable.h".
4918 * LyXAction.h: move out #include "funcrequest.h".
4919 * buffer.h: move out #include "author.h", "iterators.h".
4920 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4921 * lyx_main.h: move out #include "errorlist.h".
4922 * lyxfunc.h: move out #include "FuncStatus.h".
4923 * lyxtext: move out #include "lyxcursor.h".
4924 * paragraph_pimpl.h: move out #include "counters.h".
4926 2003-09-03 Angus Leeming <leeming@lyx.org>
4928 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4929 preamble_snippets list, enabling us to add snippets to the preamble
4930 only if the snippet was not there already.
4932 2003-09-04 Angus Leeming <leeming@lyx.org>
4934 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4936 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4938 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4941 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4943 * BranchList.C: point fix, earlier forgotten
4945 2003-09-02 Angus Leeming <leeming@lyx.org>
4947 * box.C (contains): renamed from 'contained' after a fantastic
4950 2003-09-02 John Levon <levon@movementarian.org>
4956 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4958 2003-09-02 John Levon <levon@movementarian.org>
4960 * text2.C: simplification of cursorEnd(), including partial
4963 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * buffer.C (readFile): add a space
4967 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4969 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4971 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * buffer.C (readFile): new function, take a filename and a
4974 ParagraphList::iterator
4976 (readFile): adjust, make it private. don't use setStream, make
4977 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4978 always contain the filename.
4980 * BufferView.C (insertLyXFile): simplify and make it work for
4983 2003-08-30 John Levon <levon@movementarian.org>
4985 * Makefile.am: fix dist (from Kayvan)
4987 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4989 * most files: change to use const Buffer refs
4991 2003-08-27 André Pönitz <poenitz@gmx.net>
4993 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4994 on top of ownerPar().
4996 2003-08-27 John Levon <levon@movementarian.org>
4998 * funcrequest.C: properly initialise POD members
5000 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5002 * lyxtext.h (top_y): move top_y from here
5007 * BufferView_pimpl.[Ch]: to here
5008 * frontends/screen.C:
5009 * insets/insettabular.C:
5010 * insets/insettext.C: adjust
5011 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5013 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5016 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5018 2003-08-26 André Pönitz <poenitz@gmx.net>
5020 * paragraph_func.[Ch] (outerPar): new function
5023 * paragraph_funcs.C:
5024 * paragraph_funcs.h:
5025 * paragraph_pimpl.C:
5026 * text2.C: remove Inset::par_owner
5028 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5033 * text2.C: eliminates the needFullRow/display() stuff
5034 altogether, putting the logic in metrics/draw in the insets.
5036 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5038 * text2.C (redoParagraphInternal, redoParagraphs):
5039 * text.C (redoParagraph): add a call to updateRowPositions at the
5040 end of each 'metrics-like' call. Remove all others.
5041 (getRow): remove the 'y-computing' version.
5042 (getRowNearY): do not compute nor return the real y. Solve the
5043 'y < 0' problem and simplify.
5045 2003-08-22 Angus Leeming <leeming@lyx.org>
5047 * *.[Ch]: clean-up of licence and author blurbs.
5048 Also move config.h out of a few .h files and into a few .C files.
5050 2003-08-22 André Pönitz <poenitz@gmx.net>
5052 * lyxrow.[Ch]: add x_ and *fill_ members
5057 * text2.C: adjust/remove prepareToPrint() calls
5059 2003-08-22 André Pönitz <poenitz@gmx.net>
5061 * lyxrow.[Ch]: add end_ member
5063 * lyxrow_funcs.C: use LyXRow::end_
5065 * lyxtext.h (singleWidth): add LyXFont parameter
5068 * text2.C: adjust LyXText::singleWidth() calls
5070 * text.C (redoParagraph): simplify row breaking logic
5073 2003-08-19 André Pönitz <poenitz@gmx.net>
5075 * funcrequest.C: initialize button_ member
5078 * rowpainter.[Ch]: interface consolidation
5080 2003-08-18 André Pönitz <poenitz@gmx.net>
5083 * BufferView_pimpl.C:
5085 * paragraph_funcs.C:
5087 * text3.C: remove LyXScreen::draw() and fitCursor calls
5089 * BranchList.h: remove spurious semicolons
5091 * MenuBackend.C: fix branchlist related crash
5093 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5101 * bufferparams.[Ch]:
5105 * text3.C: implements the 'branch inset'
5106 idea. This allows the output of various versions of a document
5107 from a single source version, selectively outputing or suppressing
5108 output of parts of the text.
5109 This implementation contains a 'branch list editor' in a separate
5110 tab of the document settings dialog. Branches are user definable
5111 and have a "display colour" to distinguish them on-screen.
5113 ColorHandler was somewhat cleaned up.
5114 (1) make possible a dynamically growing LColor list by allowing
5115 the graphic context cache to grow along (vector);
5116 (2) eliminate an IMHO unnecessary step in colour allocation.
5118 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5120 * BufferView_pimpl.C: compile fix
5122 2003-08-15 André Pönitz <poenitz@gmx.net>
5124 * rowpainter.C: remove extra metrics calls
5126 * lyxtext.h: merge the two constructors into a single one,
5127 pass reference to owner's par list
5129 * BufferView_pimpl.C:
5133 2003-08-15 André Pönitz <poenitz@gmx.net>
5135 * lyxrow_funcs.[Ch]:
5138 * paragraph_funcs.C:
5143 * text_funcs.C: split LyXText::rowlist_ into individual
5144 Paragraph::rows_ chunks
5147 * BufferView_pimpl.[Ch]:
5150 * text3.C: remove toggleSelection()
5152 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5154 * bufferlist.C: beautify two alerts (shorter text of buttons)
5155 * buffer.C: Remove redundant ' ' from message
5157 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5158 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5159 rename VALIGN_CENTER to VALIGN_MIDDLE
5161 2003-08-11 André Pönitz <poenitz@gmx.net>
5163 * lyxtext.h (getPar):
5164 * text.C: new function
5166 2003-08-11 André Pönitz <poenitz@gmx.net>
5169 * tracer.[Ch]: remove unneeded files
5171 * InsetList.[Ch]: remove resizeInsetsLyXText()
5176 * text3.C: merge insertParagraphs() and appendParagraph()
5177 remove breakAgain(), update()
5179 * BufferView_pimpl.[Ch]:
5180 * bufferview_funcs.[Ch]:
5184 * tabular.C: adjust after text & InsetList changes.
5186 2003-08-08 André Pönitz <poenitz@gmx.net>
5188 * text.C (insertChar, backspace): replace rowlist fiddling
5189 with rebreak of full par
5192 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5193 checkParagraph, updateInset): removed
5195 2003-08-07 André Pönitz <poenitz@gmx.net>
5198 * text3.C: merge some LFUN handlers, remove dead code
5200 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5202 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5204 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5206 * text2.C (DEPM): fix part of bug 1255 and 1256
5208 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5210 * BufferView_pimpl.C (workAreaDispatch): change to use
5211 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5212 that are no mouse related.
5214 2003-08-05 André Pönitz <poenitz@gmx.net>
5217 * BufferView_pimpl.[Ch]:
5218 * bufferview_funcs.C:
5220 * text3.C: rip out "deep update"
5222 * textcursor.[Ch] (last_sel_cursor): remove unused member
5224 2003-08-04 André Pönitz <poenitz@gmx.net>
5227 * BufferView_pimpl.[Ch]:
5228 * ParagraphParameters.C:
5229 * bufferview_funcs.C:
5235 * text3.C: replace "complicated" BufferView::update(...) calls with
5238 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5240 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5242 * Makefile.am (lyx_SOURCES): add paper.h
5244 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5246 * Makefile.am: move things around so that both lyx-qt and
5247 lyx-xforms can be built (according to --with-frontend). Then lyx
5248 is a symbolic link to lyx-[firstfrontend]
5250 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5252 * Always use std::endl with lyxerr
5254 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5256 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5258 2003-08-01 André Pönitz <poenitz@gmx.net>
5261 * BufferView_pimpl.[Ch]:
5263 * text3.C: merge BufferView::repaint() and BufferView::update()
5265 2003-08-01 José Matos <jamatos@lyx.org>
5267 * buffer.[Ch]: file_format is no longer a buffer data element.
5269 2003-08-01 André Pönitz <poenitz@gmx.net>
5274 * text2.C: make redoParagraph more independent of current cursor
5276 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5278 * text2.C: remove unneeded members
5280 2003-07-30 André Pönitz <poenitz@gmx.net>
5282 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5284 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5285 create a single function...
5287 * paragraph_funcs.C (moveItem): ... here.
5290 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5292 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5294 * LColor.[Ch]: Add comment and greyedout logical colors.
5296 2003-07-30 André Pönitz <poenitz@gmx.net>
5298 * tabular.C: don't use Assert too heavily. This crashes where it
5301 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5303 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5304 is disabled (bug 1232)
5306 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5308 * factory.C: limited 'arg' scope
5310 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5312 * factory.C: fixed Note submenu issues
5314 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5316 * factory.C: submenu for Note/Comment/Greyedout
5318 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5321 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5323 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5326 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5327 greyedout. Patch provided by Jürgen Spitzmüller.
5329 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5331 * kbmap.C (read): fix error message when reading bind files
5333 2003-07-29 Angus Leeming <leeming@lyx.org>
5335 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5336 certainly does not do what it purports to do. I am doing it, and
5337 us, a favour by killing it.
5339 2003-07-28 José Matos <jamatos@lyx.org>
5341 * buffer.C (readBody, do_writeFile):
5342 * paragraph.C(readParagraph): \end_document replaces \the_end.
5344 2003-07-29 André Pönitz <poenitz@gmx.net>
5347 * BufferView_pimpl.[Ch]:
5351 * textcursor.[Ch]: remove toggleToggle & Co
5353 2003-07-28 José Matos <jamatos@fep.up.pt>
5355 * buffer.C (readParagraph):
5356 * params_func (readParToken, readParagraph):
5357 * paragraph.C (write): \layout -> \begin_layout.
5359 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5361 * lyxlex_pimpl.C (setFile): clean up slightly.
5363 * bufferparams.h: add compressed var
5365 * buffer_funcs.C (readFile): adjust for LyXLex change
5366 (newFile): ditto + simplify
5368 * buffer.C (writeFile): handle writing of compressed files
5370 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5371 Check if the file is compressed and set a bufferparm if so.
5373 * Makefile.am (lyx_LDADD): remove explicit -lz
5375 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5377 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5378 makeDocBookFile): put the real LyX version in the first line of
5382 * version.C.in: remove lyx_docversion
5384 * tabular.C (write_attribute): add a template-based version to
5385 write enums properly
5387 2003-07-28 André Pönitz <poenitz@gmx.net>
5392 * text3.C: use doubles again for x-coordinates. They are needed.
5394 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * messages.C (getLocaleDir): use lyx_localedir()
5398 * lyxlex_pimpl.C (setFile): compress stuff
5400 * buffer.C (writeFile): add some compression stuff
5401 (do_writeFile): new func, dont call expliti close... will this
5404 * Makefile.am (lyx_LDADD): add -lz
5406 2003-07-28 José Matos <jamatos@fep.up.pt>
5408 * buffer.C: increment file format.
5409 * paragraph_funcs (readParagraph, readParToken):
5410 * paragraph.C (readParagraph): add \end_layout.
5412 2003-07-27 Angus Leeming <leeming@lyx.org>
5414 * Makefile.am: remove special casing for configure-time setting of
5415 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5417 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5418 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5420 2003-07-26 André Pönitz <poenitz@gmx.net>
5422 * paragraph_func.[Ch]:
5423 * paragraph.C (realizeFont): inline it whereever it is used
5428 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5431 2003-07-26 André Pönitz <poenitz@gmx.net>
5435 * text2.C: get rid of LyXText::need_break_row
5437 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * toc.[Ch]: put namespace toc inside namespace lyx
5441 * MenuBackend.C (expandToc2): adjust for lyx::toc
5444 * lyxfunc.C (dispatch): adjust for lyx::find
5446 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5447 lyx::find instead. Reorganize a bit.
5448 (LyXReplace): rename to replace
5449 (LyXFind): rename to find
5451 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5454 2003-07-26 André Pönitz <poenitz@gmx.net>
5456 * text.C (setHeightOfRow): restrict scope of temporary variable
5458 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5459 code (never has been used?)
5461 2003-07-27 Asger Alstrup <alstrup@local>
5463 * text.C (fill): Optimise algorithm to exploit that we can reuse
5464 the LyXFont for many characters.
5465 (setHeightOfRow): Same thing.
5466 (rowBreakPoint): Same thing.
5468 2003-07-26 Asger Alstrup <alstrup@local>
5470 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5472 * text.C (singleWidth): Spurious font copying in hot-spot
5473 singleWidth avoided. Reorder tests for arabic for efficiency.
5475 * text.C (fill): handle empty paragraphs better.
5477 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5480 * encoding.h: add includes
5482 * lyxrc.C: remove reading of bind files
5484 * lyx_main.C (init): setup bindings and menus only if we have a
5487 * kbmap.C (read): new method. Do the actual reading of bind
5490 * converter.C (dvipdfm_options):
5493 (output): adapt PAPER_* enums.
5495 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5497 * bufferparams.h: remove paper-related enums from there
5499 * paper.h: New file. A trivial header file to hold paper-related
5500 enums. It should later expand to contain many paper-related
5503 * lyxrc.C: declare extern displayTranslator
5505 2003-07-27 José Matos <jamatos@fep.up.pt>
5507 * tabular.[Ch] (linuxdoc): add support for tables and figures
5510 2003-07-27 José Matos <jamatos@fep.up.pt>
5512 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5513 consistency in both functions.
5514 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5516 2003-07-26 Asger Alstrup <alstrup@local>
5518 * rowpainter.C (paintRows): Change algorithm to work directly on
5519 the insets rather than asking every character in the document
5520 whether its an inset.
5522 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5524 * buffer.C (openFileWrite): factorize some code
5526 2003-07-26 Angus Leeming <leeming@lyx.org>
5529 * lyx_main.[Ch]: replace occurances of system_tempdir with
5532 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * rename Inset to InsetOld
5536 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5538 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5539 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5540 which I think is a bit clearer. EDIT is gone, since it was
5541 premature optimisation, and broken for mathed anyway.
5542 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5543 with cursor positioning in insets as well (math insets still do not
5544 work, but that's a different story anyway.) It mysteriously
5545 crashes sometimes with undo in the first paragraph, but I'm fairly
5546 confident that this is a compiler bug.
5548 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5550 * paragraph.C (Paragraph): adjust for new clone return type
5552 (copyIntoMinibuffer): ditto
5554 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5556 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5557 by not having a special case, and always doing a full rebreak of
5558 the document after undo.
5560 2003-07-23 Angus Leeming <leeming@lyx.org>
5562 * factory.C (createInset): InsetExternal::setParams now takes a
5565 2003-07-23 Angus Leeming <leeming@lyx.org>
5567 * factory.C (createInset): changed interface to the external and
5568 graphics mailers' string2params functions.
5570 2003-07-23 Angus Leeming <leeming@lyx.org>
5572 * factory.C (createInset): pass a
5573 Buffer const * parameter to InsetExternalMailer's string2params.
5575 2003-07-22 John Levon <levon@movementarian.org>
5577 * Thesaurus.h: include the right aiksaurus header
5579 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5581 * MenuBackend.C (expand): check menu shortcuts unconditionally
5583 2003-07-21 Angus Leeming <leeming@lyx.org>
5585 * factory.C (createInset): pass a
5586 buffer_path parameter to InsetGraphicsMailer's string2params.
5588 2003-07-21 Angus Leeming <leeming@lyx.org>
5590 * BufferView_pimpl.C (buffer):
5593 * lyxfunc.C (dispatch):
5594 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5595 rather than the grfx shortcut.
5597 2003-07-21 André Pönitz <poenitz@gmx.net>
5599 * rowpainter.C: remove unused variables
5602 * tabular_funcs.h: move to tabular.C
5603 * Makefile.am: adjust
5605 * tabular.[Ch]: basic optical cleaning
5607 * author.h: pass references, not values
5609 2003-07-18 André Pönitz <poenitz@gmx.net>
5617 * text3.C: two-phase drawing for InsetText and InsetTabular
5618 some float -> int changes.
5620 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5622 * lyx_main.C: fix the fix
5624 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5626 * lyx_main.C: fix a crash in batch mode if no files specified
5629 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5631 * format.[Ch] (papersize): moved to BufferParams
5632 * converter.[Ch] (dvips_options): moved to BufferParams
5633 (dvipdfm_options): moved to anon namespace
5634 * bufferparams.[Ch]: added above functions.
5636 2003-07-17 André Pönitz <poenitz@gmx.net>
5640 * text2.C: don't call inset->update() anymore
5642 * metricsinfo.[Ch]: add convenience constructor
5644 2003-07-16 André Pönitz <poenitz@gmx.net>
5649 * text2.C: replace the LyXCursor::irow_ member with
5650 on-demand computation of the value
5652 2003-07-16 John Levon <levon@movementarian.org>
5654 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5656 2003-07-15 André Pönitz <poenitz@gmx.net>
5659 * text2.C: remove no more needed refresh_row
5661 2003-07-15 André Pönitz <poenitz@gmx.net>
5666 * text3.C: refresh_status tristate -> need_update bool
5668 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5670 * lyxtext.h (init): remove reinit argument (act as if always true)
5671 * text2.C: adjust to that
5673 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5675 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5676 * text3.C: use it to delete selections in some cases
5677 (bugs 441, 673, 702, 954).
5679 2003-07-14 André Pönitz <poenitz@gmx.net>
5681 * rowpainter.[Ch]: reduce interface
5683 2003-07-14 André Pönitz <poenitz@gmx.net>
5685 * BufferView_pimpl.C:
5686 * text2.C: adjust after removing unused BufferView * argument
5688 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5690 * text2.C (init): fix a crash fired on resize
5692 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5694 * buffer.[Ch]: added new closing signal
5695 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5696 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5697 BufferView::Pimpl via the closing the signal
5699 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5701 * buffer.[Ch]: take out all bv-related from buffer
5703 * BufferView_pimpl.[Ch]: connect to new signals
5704 * CutAndPaste.C: removed useless asserts
5705 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5708 * lyxfunc.C: moved view-related funciontality from vc here
5709 * paragraph.C: removed outdated comments
5712 2003-07-10 André Pönitz <poenitz@gmx.net>
5714 * BufferView_pimpl.C:
5718 * text2.C: remove InsetText::InnerCache, clean up consequences
5720 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5722 * ispell.C: fix two typos in error messages
5724 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5726 * Extend Note inset to other forms of annotation like Comment
5727 and Greyedout. Right button click gives dialog.
5729 Files modified or added (+):
5733 * ControlNote.[Ch] +
5735 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5736 frontends/controllers
5740 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5742 * aspell.C: add missing namespace lyx::support
5744 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5746 * BufferView.[Ch] (newFile): Add
5747 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5748 * LaTeX.[Ch] (message): added this signal and use it
5749 * buffer.[Ch] (busy, message): added these signals and use them
5750 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5754 * importer.C: use buffer signals instead of direct bv calling
5755 * lyx_cb.[Ch] (ShowMessage): removed
5758 * paragraph_funcs.C:
5759 * text2.C: use buffer signals
5761 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5763 * introduce namespace lyx::graphics
5765 2003-07-02 André Pönitz <poenitz@gmx.net>
5767 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5769 2003-07-01 André Pönitz <poenitz@gmx.net>
5776 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5777 text*.C to text_func.C
5779 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * introduce namespace lyx::support
5783 2003-06-30 André Pönitz <poenitz@gmx.net>
5788 * text.C: re-enable --with-included-string
5790 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5792 * textcursor.C: add <config.h>
5794 * text.C (getWord): remove const from word_location arg
5796 * lyxvc.C (getLogFile): fix const type order
5798 * lyxtext.h: remove const from word_location arg, add arg name
5800 * lyxlayout.h: currect type on labeltype.
5802 * importer.C: correct \file
5804 * converter.C (intToFormat): use std:: on ret val, ws changes
5806 * bufferlist.h: correct \file
5808 * buffer.C (makeLinuxDocFile): fix const type order
5809 (makeDocBookFile): ditto
5810 (fillWithBibKeys): use std:: on stdlib args.
5812 * CutAndPaste.C: fix authors.
5813 (availableSelections): use std:: on return vector
5815 2003-06-27 André Pönitz <poenitz@gmx.net>
5817 * BufferView_pimpl.C:
5818 * bufferview_funcs.C:
5826 * text3.C: remove LyXCursor::row_ member
5829 * text.C: rename fullRebreak() to partialRebreak() and implement
5830 a fullRebreak() that really bereks fully
5832 * textcursor.h: new struct for cursor-related data
5834 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5836 * lyx_main.C (LyX): get full path of document loaded on the
5839 2003-06-26 André Pönitz <poenitz@gmx.net>
5841 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5842 remove unused/broken operator>,<,>=.
5844 * text.C: remove only use of broken operator<= in an Assert().
5846 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5848 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5849 moved errorlist_.clear to showErrorList
5851 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5853 * converter.C (scanLog, runLaTeX):
5854 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5855 move the bv->showErrorList call to the callers
5856 * lyxfunc.C: i.e. here...
5858 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5859 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5860 namespace, the second to...
5861 * buffer_funcs (BufferFormat, parseErrors): added
5862 * errorlist.C (ErrorList(TeXErrors const &)): removed
5864 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5866 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5868 2003-06-24 "Garst R. Reese" <reese@isn.net>
5872 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5874 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5876 * version.C.in: change docversion to 1.4
5878 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5880 * buffer.C: fix a bug just introduced
5882 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5884 * buffer.[Ch]: added the parseError signal and use it, removed
5886 * BufferView.[Ch] (addError): moved to ...
5887 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5888 to the Buffer::parseError signal to catch (guess what) parse errors
5889 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5891 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5893 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5894 ability to create a buffer and to return an existing one from
5895 the list. Moved these functions to...
5896 * buffer_funcs.[Ch]: added
5897 * BufferView.[Ch] (loadLyXFile): added
5898 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5899 job removed from bufferlist::loadLyXFile.
5900 * buffer.C (setReadOnly): make it work without view
5901 (i.e added an if (users))
5903 2003-06-19 Angus Leeming <leeming@lyx.org>
5906 * LyXAction.C (init):
5907 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5908 with LFUN_DIALOG_SHOW <name> <data>.
5910 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5912 * CutAndPaste.C (availableSelections): small compilation fix for
5913 ancient (gcc 2.9x) compilers
5915 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5917 * text3.C (cursorNext): add tmp var
5919 * text2.C (updateCounters): for function calling out of for clause
5920 (replaceSelectionWithString): ditto
5921 (insertStringAsParagraphs): ditto
5922 (getColumnNearX): add tmp var
5923 (setCursorFromCoordinates): add tmp var
5924 (cursorDownParagraph): add tmp var
5925 (deleteEmptyParagraphMechanism): add tmp var
5927 * text.C (insertChar): add tmp var
5929 * rowpainter.C (paintDepthBar): add tmp var
5931 * CutAndPaste.C (availableSelections): potentially check all
5932 paragraphs in a cut to fill the shown strings.
5934 2003-06-18 André Pönitz <poenitz@gmx.net>
5936 * kbmap.[Ch]: use vector<> instead of list<>
5938 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5940 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5941 pasteSelection with index
5943 * text2.C (pasteSelection): modify, call pasteSelection with index
5945 * paragraph.C (asString): reimplement version with no interval to
5946 call the one with interval.
5948 * lyxtext.h: add index arg to pasteSelection
5950 * MenuBackend.C (MenuItem): handle PasteRecent
5951 (Menu::read::Menutags): add md_pasterecent
5953 (expandPasteRecent): new function
5956 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5958 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5960 (availableSelections): new function
5962 2003-06-17 Angus Leeming <leeming@lyx.org>
5964 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5966 2003-06-17 Angus Leeming <leeming@lyx.org>
5969 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5971 * lyxfunc.C (dispatch): invoke it.
5973 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5975 * iterators.C (operator++, ParPosition): reintroduce some
5976 const_cast for the benefit of older compilers.
5978 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5980 * text3.C (dispatch): do not modify clipboard when doing
5981 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5982 LFUN_DELETE_SKIP on a selection selection
5984 2003-06-16 André Pönitz <poenitz@gmx.net>
5990 * tabular.[Ch]: IU of clone() and getLabelList();
5992 2003-06-13 André Pönitz <poenitz@gmx.net>
5994 * tabular.h: compactification
5996 2003-06-12 André Pönitz <poenitz@gmx.net>
6000 * tabular_funcs.h: some renaming plus whitespace
6002 2003-06-12 André Pönitz <poenitz@gmx.net>
6005 * BufferView_pimpl.C:
6011 * toc.C: Return a Paragraph & for ParIterator::operator*()
6013 2003-06-11 John Levon <levon@movementarian.org>
6017 * ToolbarBackend.C: add "Toolbars" section and
6020 2003-06-10 Angus Leeming <leeming@lyx.org>
6023 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6025 * lyxfunc.C (dispatch): invoke it.
6027 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6029 * main.C: protect <ios> with HAVE_IOS
6030 (main): protect sync_with_stdio with HAVE_IOS
6032 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6034 * text2.C (cutSelection): adjust
6035 (pasteSelection): adjust
6037 * messages.C: handle get of empty string
6039 * main.C (main): use sync_with_stdio(false)
6041 * lyxfunc.C (dispatch): adjust
6043 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6044 (WriteAs): remove unneeded BufferView arg.
6046 * bufferparams.h: use correct types on papersize, papersize2 and
6049 * bufferparams.C (readToken): adjust for type
6050 (writeLaTeX): add missing cases to switch.
6052 * bufferlist.C (quitWriteBuffer): adjust
6055 * buffer.C (asciiParagraph): remove some commented code.
6057 * CutAndPaste.C: remove current_view extern variable.
6058 (cutSelection): add BufferParams arg.
6059 (eraseSelection): add BufferParams arg.
6060 (pasteSelection): add Buffer const & arg
6062 2003-06-07 John Levon <levon@movementarian.org>
6065 * paragraph_funcs.C:
6066 * paragraph_pimpl.C:
6070 * paragraph.C: allow InsetERT to freely space lines,
6071 and some consolidation of code
6073 2003-06-06 José Matos <jamatos@fep.up.pt>
6075 * buffer.C (makeDocBookFile): fix bug #821
6077 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6079 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6081 2003-06-04 Angus Leeming <leeming@lyx.org>
6083 * buffer.C: bump format to 224.
6085 2003-06-05 André Pönitz <poenitz@gmx.net>
6087 * text2.C (redoParagraphs): remove two const_cast<>
6089 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6091 * ParagraphList.h: remove last remnants of NO_STD_LIST
6093 2003-06-03 Angus Leeming <leeming@lyx.org>
6095 * factory.C (createInset): small change to the way InsetExternal's params
6098 2003-06-04 André Pönitz <poenitz@gmx.net>
6100 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6102 * paragraph_pimpl.h:
6103 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6105 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6107 * undo_funcs.C: make some simple cases of undo work again
6109 2003-06-03 John Levon <levon@movementarian.org>
6111 * ispell.C: HPUX doesn't have sys/select.h
6114 2003-06-03 John Levon <levon@movementarian.org>
6116 * CutAndPaste.C: update tabular and include inset
6121 * paragraph.C: remove owningBuffer(), don't pass Buffer
6124 * factory.C: insetGraphicsParams changed
6126 2003-06-02 John Levon <levon@movementarian.org>
6132 * text3.C: remove insetparent
6134 2003-06-02 John Levon <levon@movementarian.org>
6137 * buffer.C: fix inset_iterator.end(), move out of line
6140 2003-06-01 John Levon <levon@movementarian.org>
6142 * text3.C: use a proper cut/paste when doing inset
6143 insert (from Jürgen Spitzmüller)
6145 2003-06-01 John Levon <levon@movementarian.org>
6147 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6149 2003-05-30 André Pönitz <poenitz@gmx.net>
6151 * rowpainter.C: unify second drawing phase
6153 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * trans_mgr.C: remove one case of current_view
6157 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6159 * paragraph_funcs.h: remove paragraph.h include
6161 * paragraph.h: delete NO_STD_LIST stuff
6163 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6165 * buffer.h: remove paragraph.h include
6167 * ParagraphList.C: delete file
6169 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6171 * toc.C (getTocList): adjust
6173 * paragraph_pimpl.C (validate): adjust
6175 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6177 * paragraph.C (Paragraph): adjust
6178 (getPositionOfInset): use const_iterator, adjust
6179 (bibitem): use const_iterator, adjust
6180 (setInsetOwner): adjust
6182 * iterators.C (operator++): adjust
6184 * InsetList.[Ch]: Replace selfmade iterator with standard
6185 vector::iterator also introduce const_iterator. Remove getPos,
6186 getInset and setInset from InsetTable. Adjust accordingly.
6188 * BufferView.C (lockInset): adjust
6189 (ChangeInsets): adjust
6191 * tabular.[Ch]: delete commented same_id functions
6193 2003-05-28 John Levon <levon@movementarian.org>
6195 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6197 2003-05-28 André Pönitz <poenitz@gmx.net>
6199 * metricsinfo.[Ch]: remove 'fullredraw' member
6201 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6203 * lyxtextclass.C (operator): remove caching.
6205 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6209 * text2.C (cursorBottom): adjust
6210 (setCounter): use ParagraphList::find, adjust
6212 * text.C (workWidth): use ParagraphList::find, adjust
6214 * lyxcursor.C (LyXCursor): adjust
6216 * buffer.C (inset_iterator): adjust
6218 * ParagraphList.h: make iterator(value_type) private, make
6219 ParagraphList a friend of iterator.
6221 * ParagraphList.C (find): new function
6223 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6225 2003-05-27 André Pönitz <poenitz@gmx.net>
6227 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6229 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6231 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6233 2003-05-26 John Levon <levon@movementarian.org>
6235 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6237 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * remove same_id from function signatures, adjust.
6241 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6245 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6247 * paragraph.C (Paragraph): get rid of same_ids parameter
6249 * ParagraphList.C (insert): adjust
6252 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6254 * paragraph_funcs.C (breakParagraph): adjust
6255 (breakParagraphConservative): adjust
6257 * buffer.C (readParagraph): adjust
6259 * ParagraphList.C (insert): take a reference instead of a pointer
6262 * paragraph.[Ch] (id): new function
6264 * bufferlist.C (newFile): adjust
6266 * ParagraphList.C (ParagraphList): adjust
6268 (push_back): take a reference instead of a pointer.
6270 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6272 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6275 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6276 set else use old code.
6278 * ParagraphList.C: remove all NO_NEXT code and only compile this
6279 code of NO_STD_LIST is set.
6281 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6283 * BufferView_pimpl.C:
6293 * graphics/GraphicsConverter.C:
6294 * graphics/PreviewLoader.C: header adjustment
6296 2003-05-23 Angus Leeming <leeming@lyx.org>
6298 * LaTeXFeatures.[Ch] (useBabel): new method.
6299 * bufferparams.C (writeLaTeX): use it.
6301 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6303 * ParagraphList.h (set): remove unused function.
6305 2003-05-23 André Pönitz <poenitz@gmx.net>
6308 * BufferView_pimpl.C:
6312 * undo_funcs.C: setUndo reworked
6314 * iterators.[Ch]: add access to topmost ParagraphList
6316 * lyxtext.[Ch] (workWidth): add a const
6318 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6320 * texrow.[Ch] (increasePos): remove function
6321 * exporter.C (export): removed unused var and outdated comment
6323 2003-05-23 Angus Leeming <leeming@lyx.org>
6325 * latexrunparams.h: rename fragile as moving_arg.
6326 * paragraph.C (simpleTeXOnePar): ditto.
6327 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6329 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6333 (textUndoOrRedo): comment out a currently unused var.
6335 * paragraph.h (NO_NEXT): enable NO_NEXT
6337 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6339 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6341 * exporter.C (Export): adjust for removeAutoInsets removal.
6343 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6345 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6347 * BufferView.[Ch] (removeAutoInsets): delete function
6349 2003-05-22 Angus Leeming <leeming@lyx.org>
6351 * latexrunparams.h: add a free_spacing variable.
6353 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6354 to pass moving_arg, as the data is stored in runparams.fragile.
6356 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6357 to Inset::latexOptional or to simpleTeXOnePar.
6359 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6360 free_spacing arg to Inset::latexOptional.
6362 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6365 2003-05-22 Angus Leeming <leeming@lyx.org>
6367 * latexrunparams.h: add fragile and use_babel variables.
6369 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6370 * buffer.C (makeLaTeXFile): store this returned value in
6371 runparams.use_babel, thus passing it to the inset::latex methods.
6373 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6374 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6376 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6377 longer has a fragile arg, as it is stored in runparams.fragile.
6379 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6380 moving_arg parameter as the data is stored in runparams.fragile.
6382 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6383 a fragile parameter as the data is stored in runparams.fragile.
6385 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6389 2003-05-22 Angus Leeming <leeming@lyx.org>
6391 * latexrunparams.h: add a 'bool nice' which defaults to false.
6393 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6394 now encapsulated within runparams.
6396 * bufferlist.C (updateIncludedTeXfiles):
6397 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6399 2003-05-22 Angus Leeming <leeming@lyx.org>
6401 * latexrunparams.h: new file containing struct LatexRunParams.
6402 * Makefile.am: add new file.
6404 * LaTeX.[Ch] (c-tor, run):
6405 * buffer.[Ch] (makeLaTeXFile):
6406 * bufferlist.[Ch] (updateIncludedTeXfiles):
6407 * converter.C (convert, scanLog):
6408 * converter.[Ch] (runLaTeX):
6409 * exporter.C (Export):
6410 * paragraph.[Ch] (simpleTeXOnePar):
6411 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6412 * paragraph_funcs.[Ch] (latexParagraphs):
6413 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6414 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6415 pass around a LatexRunParams parameter.
6417 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * paragraph.[Ch]: remove unused constructor
6421 * ParagraphList.C (erase): new function, taking two iterators
6423 2003-05-22 André Pönitz <poenitz@gmx.net>
6425 * undo_funcs.C: remove duplicated code
6427 * iterator.[Ch]: operator=
6429 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6431 * tabular.C (SetMultiColumn): ws changes
6433 * rowpainter.C (paintFirst): get rid of a ->previous
6435 * lyx_cb.C (getPossibleLabel): parlist simplification
6437 * BufferView.C (ChangeInsets): simplify slightly.
6439 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6441 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6442 * lfuns.h: new LFUN_SPACE
6443 * lyxfunc.C: protected space has a new lfun
6444 * paragraph_funcs.C: read new space insets
6446 * factory.C: handle new space insets
6448 2003-05-22 André Pönitz <poenitz@gmx.net>
6451 * BufferView_pimpl.C:
6454 * undo_funcs.C: return a ParIterator from getParFromID.
6456 * iterators.[Ch]: add two const's
6458 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6460 * toc.C (getTocList): adjust
6462 * iterators.[Ch]: rework for parlist
6464 * buffer.C (par_iterator_begin): adjust
6465 (par_iterator_end): adjust
6467 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6469 * BufferView.C (removeAutoInsets): adjust
6470 (ChangeInsets): adjust
6472 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6474 * text.C (top_y): fix bug 1110
6476 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6478 * errorlist.[Ch]: added
6481 * BufferView_pimpl.C:
6482 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6485 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * Makefile.am: ensure that lyx is relinked upon changes to the
6488 various "convenience" libs.
6490 2003-05-20 Angus Leeming <leeming@lyx.org>
6492 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6493 files are compiled in alphabetical order again.
6495 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6497 2003-05-19 Angus Leeming <leeming@lyx.org>
6499 * gettext.[Ch]: remove "char const * _(char const *)".
6501 2003-05-19 André Pönitz <poenitz@gmx.net>
6503 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6512 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6514 2003-05-19 André Pönitz <poenitz@gmx.net>
6518 * lyxtextclass.[Ch]:
6520 * paragraph_funcs.[Ch]:
6522 * text3.C: more insetenv work
6524 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6526 * ParagraphParameters.C (params2string): small bug fixed
6528 2003-05-16 André Pönitz <poenitz@gmx.net>
6531 * bufferview_funcs.C: patch from Kornel Benko to prevent
6532 crash when _(...) is called twice in a statement
6534 2003-05-16 André Pönitz <poenitz@gmx.net>
6541 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6543 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6545 * lyx_main.C (init): remove spurious static_cast
6547 2003-05-14 André Pönitz <poenitz@gmx.net>
6549 * BufferView.C: fix format string
6551 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6553 * BufferView.[Ch] (insertErrors): removed
6554 * BufferView.[Ch] (showErrorList): added
6555 * buffer.C (runChkTeX):
6556 * converter.C (scanLog): call showErrorList instead of inserterrors
6558 2003-05-13 André Pönitz <poenitz@gmx.net>
6560 * BufferView_pimpl.C:
6562 * bufferview_func.C:
6569 * tabular_funcs.h: tostr() from its own header
6571 * ParagraphParameters.C:
6576 * text3.C: STRCONV()
6578 2003-05-12 André Pönitz <poenitz@gmx.net>
6581 * BufferView_pimpl.C:
6585 * ParagraphParameters.C:
6589 * bufferview_funcs.C:
6602 * paragraph_funcs.C:
6606 * text3.C: boost::format -> bformat all over the place
6609 2003-05-09 André Pönitz <poenitz@gmx.net>
6611 * LColor.[Ch]: Pimpl the #include <map> away
6613 2003-05-09 John Levon <levon@movementarian.org>
6615 * bufferlist.C: never remove emergency saves
6617 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * Makefile.am: better lib building
6621 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6625 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6626 (simpleTeXSpecialChars): adjust
6627 (simpleTeXSpecialChars): adjust
6628 * paragraph.C (simpleTeXOnePar): adjust
6629 * buffer.C (makeLaTeXFile): adjust
6631 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6633 * text2.C (changeDepth): parlist cleanup
6634 (getColumnNearX): ditto
6636 * rowpainter.C (getLabelFont): parlist cleanup
6638 * bufferlist.C (newFile): parlist cleanup
6640 * CutAndPaste.C (eraseSelection): parlist cleanup
6642 * BufferView_pimpl.C (trackChanges): parlist cleanup
6645 * BufferView.C (lockInset): parlist cleanup.
6646 (ChangeInsets): ditto
6648 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * CutAndPaste.h: Update file header.
6652 * CutAndPaste.C: Update file header.
6653 Store the parts cut out of the Document in a limited_stack.
6654 (copySelection): adjust
6655 (pasteSelection): new function, takes the index in the limited stack.
6656 (nrOfParagraphs): adjust
6657 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6658 simplify error inset insertion.
6659 (checkPastePossible): adjust
6661 2003-05-06 John Levon <levon@movementarian.org>
6663 * text2.C: don't cast wrap inset to float
6665 2003-05-05 André Pönitz <poenitz@gmx.net>
6668 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6670 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6671 few naked Paragraph *.
6673 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6675 * bufferparams.C: Output warning if a document with missing
6676 TeX document class is loaded
6677 * exporter.C: Disable TeX exports if the document class is missing
6680 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6681 isTeXClassAvailable()
6683 2003-05-03 John Levon <levon@movementarian.org>
6686 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6687 explicit cursor show/hide
6689 * BufferView_pimpl.h:
6690 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6691 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6693 * lyxfunc.C: hide cursor before dispatching.
6698 * text3.C: remove explicit cursor hides
6700 2003-05-02 André Pönitz <poenitz@gmx.net>
6702 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6705 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6708 * text2.C: tiny whitespace
6710 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6712 * undo_funcs.C: almost only ws changes.
6714 * ParagraphList.C (splice): just return if pl is empty.
6716 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6718 * ParagraphList.C (splice): new function.
6720 * CutAndPaste.C (pasteSelection): use it
6722 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6724 * CutAndPaste.C (pasteSelection): remove the last next and
6725 previous from this file.
6727 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6729 * CutAndPaste.C (pasteSelection): more clean up, user proper
6730 ParagraphList functions for pasteing.
6732 * ParagraphList.C (insert): new function, three arg insert
6734 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6736 * ParagraphList.C (insert): new function, three arg insert
6738 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6741 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6745 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6747 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6749 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6751 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6752 (copySelection): clean up a bit.
6753 (pasteSelection): use make_pair
6755 * ParagraphList.C (ParagraphList): implement copy constructor
6756 (operator=): implement, base on copy constructor.
6759 * paragraph.C (erase): return a bool
6761 * paragraph_pimpl.C (erasePos): remove function, move contents...
6762 (erase): ... here. Return a bool.
6763 (erase): call erase instead of erasePos.
6765 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6767 * ParagraphList.h: define PitPosPair
6768 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6769 ParagraphList, fix a bug on pasting multiple pars
6770 * text2.C: change interface to C&P
6772 2003-04-30 André Pönitz <poenitz@gmx.net>
6774 * undo_func.C: revert part of yesterday's patch 2
6776 2003-04-30 John Levon <levon@movementarian.org>
6778 * LColor.C: s/tabular/table/
6780 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * text3.C (dispatch): do not convert iterator -> pointer
6783 * undo_funcs.C (setCursorParUndo): ditto
6784 * text_funcs.C (transposeChars): ditto
6786 * text2.C (setLayout): ws changes only
6788 * text.C (breakParagraph): do not convert iterator -> pointer
6790 (acceptChange): ditto
6791 (rejectChange): ditto
6796 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6799 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6801 * text3.C (gotoInset): YABG (yet another bad getChar)
6803 2003-04-29 André Pönitz <poenitz@gmx.net>
6805 * paragraph.h: make operator= private unimplemented as long as
6808 * ParagraphList.C: whitespace
6811 * paragraph_pimpl.[Ch]:
6812 * paragraph_funcs.C:
6814 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6817 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6819 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6821 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6822 * paragraph.[Ch] (erase):
6823 * paragraph_pimpl.[Ch] (erase): change return type and value
6824 * text2.C (cutSelection): some rework
6826 2003-04-28 John Levon <levon@movementarian.org>
6828 * bufferlist.C: changes for unsaved changes dialog
6830 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * bufferlist.C (newFile): set language (messages_) for new
6835 * buffer.C (readFile): ws changes only.
6837 2003-04-28 André Pönitz <poenitz@gmx.net>
6842 * BufferView_pimpl.C:
6843 * BufferView.C: getParFromID related ParagraphList::iterator changes
6845 2003-04-28 André Pönitz <poenitz@gmx.net>
6847 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6850 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6852 * messages.C: remove one more localedir class variable.
6854 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6856 * messages.C (getLocaleDir): singleton generation function
6858 (Messages): add a default constructor.
6860 * main.C (main): do not setup localedir here, do not call
6863 * gettext.C (_): use it.
6864 (gettext_init): delete funciton
6866 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * gettext.C (getLyXMessages): new singleton generating function.
6870 * buffer.C (updateDocLang): adjust
6872 * Makefile.am (messages.o): add target
6873 (main.o): remove target
6875 2003-04-27 John Levon <levon@movementarian.org>
6880 * lyxvc.C: specify cancel button in Alert::prompt
6882 2003-04-26 John Levon <levon@movementarian.org>
6887 * LyXAction.C: add LFUN_INSET_SETTINGS
6889 * lyxfunc.C: don't enable tabular-feature when there's
6890 just any locking inset
6892 2003-04-26 John Levon <levon@movementarian.org>
6894 * bufferlist.C: re-add Cancel to buffer close question
6896 * lyxfunc.C: fix import UI a bit
6898 2003-04-25 John Levon <levon@movementarian.org>
6900 * gettext.C: remove the broken asserts for now
6902 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6904 * messages.C: make case where setlocale cannot comply work better.
6906 * buffer.C (updateDocLang): new function
6907 (changeLanguage): use it
6910 * text2.C (setCounter): use B_ a bit.
6912 * lyxlayout.C (Read): be sure to trim the label strings.
6914 * messages.C (Messages): fix typo in comment
6916 * buffer.C (readFile): set message_ after file is loaded.
6917 (makeDocBookFile): remove double return
6918 (changeLanguage): reset message_ upon language change.
6919 (B_): new func, use this to get translated buffer strings.
6921 * main.C: add myself and Jean Marc as authors.
6923 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * messages.[hC]: pimplify Messages, and three different pimpls to be
6926 used in different circumstances.
6928 * gettext.[Ch]: change for use with new message code.
6930 2003-04-24 André Pönitz <poenitz@gmx.net>
6932 * factory.C: support for eqref
6934 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6936 * messages.[Ch]: add missing char
6938 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6940 * messages.[Ch]: New files
6942 2003-04-18 John Levon <levon@movementarian.org>
6946 * BufferView_pimpl.C:
6950 * text2.C: remove layout-copy/paste (bug 778)
6952 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6954 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6956 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6958 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6959 if they succeed. Act accordingly.
6961 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6963 * text2.C (setCharFont): adjust
6964 (setCounter): adjust
6965 (insertStringAsLines): adjust
6967 * text.C (leftMargin): adjust
6968 (setHeightOfRow): adjust
6970 * rowpainter.C (paintFirst): adjust
6973 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6975 (isFirstInSequence): ditto
6976 (getEndLabel): ditto
6979 * paragraph.C (getParLanguage): comment out some hard stuff.
6981 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6983 (simpleDocBookOnePar): ditto
6984 (makeDocBookFile): use ParagraphList::iterator
6986 * CutAndPaste.C (pasteSelection): adjust
6988 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * text2.C (getFont): adjust
6991 (getLayoutFont): adjust
6992 (getLabelFont): adjust
6994 * paragraph_funcs.C (TeXOnePar): adjust
6996 * buffer.C (simpleLinuxDocOnePar): adjust
6997 (simpleDocBookOnePar): adjust
6999 * CutAndPaste.C (pasteSelection): adjust
7001 * BufferView.C (getEncoding): adjust
7003 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7005 2003-04-16 John Levon <levon@movementarian.org>
7007 * lyxfind.C: use parlist stuff for search/changes
7009 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7013 * text2.C (deleteEmptyParagraphMechanism): adjust
7015 * text2.[Ch] (ownerParagraph): delete func (both of them
7017 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7021 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7023 * ParagraphList.C: prepare for NO_NEXT
7025 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * text2.C (getFont): adjust
7028 (getLayoutFont): adjust
7029 (getLabelFont): adjust
7031 * paragraph.C (getFont): adjust
7032 (getLabelFont): adjust
7033 (getLayoutFont): adjust
7035 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7037 2003-04-15 John Levon <levon@movementarian.org>
7041 * lyx_main.C: handle Include in .ui files
7043 2003-04-15 John Levon <levon@movementarian.org>
7045 * MenuBackend.C: make the doc files length shorter
7048 * ToolbarBackend.C: handle toolbar placement flags,
7051 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7053 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7056 * paragraph_funcs.C (TeXOnePar): adjust
7058 * paragraph.C (getLabelFont): add outerfont arg, adjust
7059 (getLayoutFont): ditto
7060 (simpleTeXOnePar): adjust
7062 * paragraph_pimpl.C (realizeFont): delete func
7064 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7066 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7067 row argument, constify cur argument.
7069 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * text2.C (getFont): adjust
7072 (getLayoutFont): adjust
7073 (getLabelFont): adjust
7075 * paragraph_funcs.C (TeXOnePar): adjust
7076 (outerFont): new func...
7077 (realizeFont): ...moved out from here, changed this to facilitate
7080 * paragraph.C (getFont): take outerfont as arg, adjust
7081 (simpleTeXOnePar): add outerfont arg, adjust
7083 * buffer.C (simpleLinuxDocOnePar): adjust
7084 (simpleDocBookOnePar): adjust
7086 * CutAndPaste.C (pasteSelection): adjust
7088 * BufferView.C (getEncoding): adjust
7090 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7092 * text2.C (setCharFont): adjust
7093 (setCounter): adjust
7095 * text.C (leftMargin): adjust
7096 (setHeightOfRow): adjust
7098 * rowpainter.C (paintFirst): adjust
7101 * paragraph_pimpl.C (realizeFont): adjust
7103 * paragraph.C (isFirstInSequence): move from here...
7104 * paragraph_funcs.C (isFirstInSequence): ...to here
7106 * paragraph.C (outerHook): move from here...
7107 * paragraph_funcs.C (outerHook): ...to here
7109 * paragraph.C (depthHook): move from here...
7110 * paragraph_funcs.C (depthHook): ...to here
7112 * paragraph.C (getEndLabel): move from here...
7113 * paragraph_funcs.C (getEndLabel): ...to here
7115 * text2.C (realizeFont): move from here...
7116 * paragraph_funcs.C (realizeFont): ...to here
7118 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7120 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7122 2003-04-14 Angus Leeming <leeming@lyx.org>
7124 * LColor.[Ch]: scrap LColor mathcursor.
7126 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * lyxlex.[Ch] (text): delete function
7129 * trans.C (Load): adjust
7130 * paragraph_funcs.C (readParToken): adjust
7132 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7134 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7135 vector<char> instead of a char[].
7137 * lyxlex_pimpl.C (getString): adjust
7139 (lex): use getString
7143 * lyxlex.C (text): use pimpl_->getString()
7147 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7150 (makeFontEntriesLayoutSpecific): temp var for par.size()
7151 (setLayout): temp var for ownerParagraphs().end()
7152 (fullRebreak): temp var for rows().end()
7153 (selectionAsString): temp var for boost::next(startpit), realize
7154 that the while really is a regular for loop.
7155 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7156 setCursor in one place.
7157 (setParagraph): temp vr for ownerParagraphs().end()
7158 (updateCounters): make the while loop a for loop
7159 (cutSelection): temp var for ownerParagraphs().end()
7160 (updateInset): make the do {} while() a regular for loop
7161 (getCursorX): use temp vars
7162 (setCurrentFont): use temp vars
7163 (getColumnNearX): use temp vars
7165 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7167 * text.C (transformChar): use temp var for getChar
7168 (computeBidiTables): use temp var for row->par()
7169 (fill): move temp vars for row->par() and pit->layout() earlier in
7171 (labelFill): use temp var for row->par()
7172 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7173 asc and desc, realize that pit never changes and that firstpit is
7174 just a duplicate and not needed. Exchange rit->par() with pit in a
7176 (breakAgain): use a temp var for boost::next(rit)
7177 (breakAgainOneRow): ditto
7178 (breakParagraph): use a temp var for rows().begin()
7179 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7180 (cursorRightOneWord): use temp var for cursor.par() and
7181 cursor.pos(), remove usage of tmpcursor.
7182 (cursorLeftOneWord): use temp var for cursor.par() and
7183 cursor.pos() only set cur at end of function.
7185 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7187 * text.C, text2.C: exchange all usage of Paragraph::next with
7188 boost::next(ParagraphList::iterator)
7190 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7192 * text2.C (cursorTop): simplify implementation
7193 (cursorBottom): ditto
7194 (setParagraph): use ParagraphList::iterator
7195 (setCurrentFont): adjust
7196 (getColumnNearX): adjust
7197 (cursorRight): adjust
7198 (cursorLeft): remove usage of Paragraph::previous
7199 (cursorUpParagraph): ditto
7200 (deleteEmptyParagraphMechanism): slight cleanup
7202 * text.C (isBoundary): take a Paragraph const & instead of a
7204 (addressBreakPoint): ditto
7205 (leftMargin): remove usage of Paragraph::previous.
7206 (setHeightOfRow): ditto
7207 (cursorLeftOneWord): ditto
7208 (selectNextWordToSpellcheck): ditto
7211 (breakParagraph): remove one usage of Paragraph::next
7212 (redoParagraph): ditto
7213 (acceptChange): ditto
7214 (insertChar): adjust
7215 (rowBreakPoint): adjust
7217 * bufferview_funcs.C (toggleAndShow): adjust
7219 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7221 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7222 methods to access it.
7224 * text.C: Added updateRowPositions to compute all row positions.
7225 Make top_y and getRowNearY() to use the cached y position
7227 2003-04-11 John Levon <levon@movementarian.org>
7229 * text.C (rowBreakPoint): reintroduce the labelEnd
7230 checks, code copied from the row fill stuff. Deep voodoo.
7232 * text.C (fill): add a comment and debugging for the
7235 2003-04-11 John Levon <levon@movementarian.org>
7237 * text.C: make sure fullrow insets get wrapped to the next line,
7238 even when they're in a manual label
7240 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7242 * text2.C (insertParagraph): make it take ParagraphList::iterator
7244 (setLayout): make it return ParagraphList::iterator
7245 (redoParagraphs): ditto
7247 (checkParagraph): ditto
7249 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7251 * text2.C: adjust several funcs.
7252 (realizeFont): take a ParagraphList::iterator as arg.
7253 (getLayoutFont): ditto
7254 (getLabelFont): ditto
7255 (setCharFont): ditto
7257 * text.C: adjust several funcs.
7259 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7261 * text.C (selectNextWordToSpellcheck): don't accidentally
7264 2003-04-10 John Levon <levon@movementarian.org>
7266 * ToolbarBackend.C (getIcon): special handling for
7269 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7271 * text2.C (cursorRight): a getChar assert fixed
7273 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * text2.C (getFont): change to take a ParagraphList::iterator
7276 instead of Paragraph*
7277 Adjust several functions.
7279 * text.C (transformChar): change to take a ParagraphList::iterator
7280 instead of Paragraph*
7281 (singleWidth): ditto
7282 Adjust several functions.
7284 * rowpainter.C: adjust several functions
7285 * rowpainter.h:store a ParagraphList::iterator and not a
7289 2003-04-09 John Levon <levon@movementarian.org>
7294 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7295 and the "help" bits as well
7297 2003-04-09 John Levon <levon@movementarian.org>
7300 * ToolbarBackend.C: allow multiple toolbars
7302 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * undo_funcs.C (setCursorParUndo): adjust
7306 * text_funcs.C (transposeChars): adjust
7308 * text3.C (gotoNextInset): adjust
7311 * text2.C (setLayout): adjust
7312 (changeDepth): adjust
7314 (redoParagraphs): adjust
7315 (selectionAsString): adjust
7316 (setParagraph): adjust
7317 (insertInset): adjust
7318 (cutSelection): adjust
7319 (copySelection): adjust
7320 (pasteSelection): adjust
7321 (insertStringAsLines): adjust
7322 (updateInset): adjust
7323 (setCursor): change to take a ParagraphList::iterator parameter
7324 (setCursorIntern): change to take a ParagraphList::iterator parameter
7325 (setCurrentFont): adjust
7326 (cursorLeft): adjust
7327 (cursorRight): adjust
7328 (deleteEmptyParagraphMechanism): adjust
7330 * text.C (breakParagraph): adjust
7331 (insertChar): adjust
7332 (acceptChange): adjust
7333 (rejectChange): adjust
7334 (selectNextWordToSpellcheck): adjust
7335 (changeCase): adjust
7339 * lyxfind.C (SearchForward): adjust
7340 (SearchBackward): adjust
7341 (nextChange): adjust
7343 * lyxcursor.C (par): adjust
7345 * lyxcursor.h: store a ParagraphList::iterator instead of a
7348 * lyx_cb.C (getPossibleLabel): adjust
7350 * bufferview_funcs.C (toggleAndShow): adjust
7352 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7355 * BufferView.C (removeAutoInsets): adjust
7356 (lockedInsetStoreUndo): adjust
7358 2003-04-09 John Levon <levon@movementarian.org>
7360 * ToolbarBackend.C: try icon without argument
7361 if with argument fails
7363 2003-04-08 John Levon <levon@movementarian.org>
7366 * ToolbarBackend.C: add getIcon(), handle tooltip,
7367 and change from "Icon" to "Item".
7369 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7371 * BufferView.C (lockInset): another bad getchar crunched
7373 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7375 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7378 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7380 * lyxfind.C (searchForward, searchBackwards): bug 782
7382 2003-04-07 John Levon <levon@movementarian.org>
7384 * paragraph.C: remove dead comment
7386 * text.C: remove troublesome depth-fiddling code
7387 in leftMargin() and rightMargin() (bug 1017)
7389 * text.C: fix breaking of rows in nested lists
7392 * text2.C (updateCounters): fix up depth values
7395 2003-04-07 John Levon <levon@movementarian.org>
7397 * BufferView_pimpl.C: clear message when doc finishes resizing,
7398 and after a mouse event
7400 * lyxfunc.C: clear message after exiting inset
7402 2003-04-07 John Levon <levon@movementarian.org>
7404 * bufferview_funcs.C: show math status not outside
7405 status in the statusbar
7407 2003-04-07 John Levon <levon@movementarian.org>
7409 * lyxfunc.C: note status changed after a depth change
7411 2003-04-04 Angus Leeming <leeming@lyx.org>
7413 * LaTeX.h: move AuxInfo operator==, != out of line.
7414 Remove LaTeX virtual destructor; nothing derives from it.
7415 Move operator()() out of public area and rename it startscript().
7416 Change protected for private.
7418 2003-04-04 Angus Leeming <leeming@lyx.org>
7421 * text2.C: remove unneeded #includes.
7423 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7425 * text2.C (dEPM): fix the heigth of the next row
7427 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7429 * text.C: squashed an invalid getChar requester + some ws changes
7431 2003-04-03 John Levon <levon@movementarian.org>
7433 * bufferview_funcs.h:
7434 * bufferview_funcs.C:
7437 * text2.C: make getStatus work for the env depth lfuns
7439 2003-04-03 John Levon <levon@movementarian.org>
7441 * bufferview_funcs.h:
7442 * bufferview_funcs.C:
7445 * text2.C: parlistize decDepth(), by merging it with incDepth()
7447 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7449 * lyxrow.h: store a ParagraphList::iterator instead of a
7450 Paragraph* and adjust other class functions to suit.
7452 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7455 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7457 * text2.C (setCursor): do not anchor to cursor row for the time being
7459 2003-04-02 John Levon <levon@movementarian.org>
7466 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7468 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * paragraph.h: make ParagraphList and ParagraphList::iterator
7471 friends of Paragraph.
7473 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7475 * ParagraphList.C: Use the private next_ and previous_ from
7478 2003-04-01 John Levon <levon@movementarian.org>
7482 * Makefile.am: rename, remove defaults gunk
7485 * MenuBackend.C: remove defaults gunk
7488 * Languages.C: remove defaults gunk
7491 * lyx_main.C: error out if files couldn't be found.
7493 2003-04-02 John Levon <levon@movementarian.org>
7495 * text2.C: make incDepth() use parlist
7497 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * undo_funcs.C (firstUndoParagraph): adjust
7501 * text3.C (gotoInset): adjust
7502 (dispatch): adjust, and rewrite loop.
7504 * text2.C (init): adjust, and rewrite loop.
7505 (redoParagraphs): adjust
7506 (updateInset): adjust, and rewrite loop.
7507 (deleteEmptyParagraphMechanism): adjust
7509 * tabular.C (LyXTabular): adjust
7510 (SetMultiColumn): adjust
7513 * lyxtext.[Ch] (ownerParagraph): delete function
7514 (ownerParagraphs): new function returns a ParagraphList.
7516 * BufferView.C (removeAutoInsets): adjust
7517 (insertErrors): adjust
7518 (setCursorFromRow): adjust
7520 2003-04-01 Angus Leeming <leeming@lyx.org>
7522 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7525 2003-04-02 John Levon <levon@movementarian.org>
7531 * text_funcs.C: make transposeChars a free function
7533 * lyxrow_funcs.C: remove wrong comment
7535 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7538 * rowpainter.C: adjust
7543 * lyxrow_funcs. [Ch]: new files
7545 * lyxrow.[Ch]: remove next and previous pointers
7546 (next,previous): remove accessor functions
7547 (isParEnd): move to lyxrow_funcs
7548 (lastPos): move to lyxrow_funcs
7549 (nextRowIsAllInset): move to lyxrow_funcs
7550 (lastPrintablePos): move to lyxrow_funcs
7551 (numberOfSeparators): move to lyxrow_funcs
7552 (numberOfHfills): move to lyxrow_funcs
7553 (numberOfLabelHfills): move to lyxrow_funcs
7554 (hfillExpansion): move to lyxrow_funcs
7558 * bufferview_funcs.C (toggleAndShow): adjust
7560 * RowList.h: Remove class RowList from file leave just a
7563 * RowList.C: delete file
7565 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7568 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * text3.C (cursorPrevious): adjust
7571 (cursorNext): adjust
7574 * text2.C (redoHeightOfParagraph): adjust
7575 (redoDrawingOfParagraph): adjust
7578 * text.C (breakParagraph): adjust
7579 (insertChar): adjust
7582 * rowpainter.C (RowPainter): adjust
7583 (leftMargin): simplify and adjust
7584 (most rowpainter functions): adjust.
7586 * rowpainter.h: store the row as RowList::iterator not as Row*
7588 * lyxcursor.C (row): taka RowList::iterator as arg
7591 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7594 2003-04-01 Angus Leeming <leeming@lyx.org>
7596 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7597 stuff like bool Bool.
7599 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7601 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7604 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7606 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7609 * lyxtext.h (rows): drop one version and leve a const variant that
7610 returns a RowList::iterator.
7612 2003-03-31 Angus Leeming <leeming@lyx.org>
7614 * text.C (fill): ensure that the signature is the same as that in the
7617 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7619 * text2.C (redoParagraphs): adjust
7620 (updateCounters): adjust
7621 (checkParagraph): adjust
7622 (getColumnNearX): adjust and reformat a bit.
7624 * text.C (top_y): adjust
7626 (leftMargin): adjust
7627 (prepareToPrint): adjust
7629 (getRowNearY): adjust
7631 * lyxtext.h: make rowlist_ mutable.
7633 * RowList.h: add const_iterator
7634 * RowList.C: adjust for RowList::const_iterator.
7636 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7639 2003-03-31 John Levon <levon@movementarian.org>
7642 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7644 * lyx_main.C: set default fonts from using lyx_gui funcs
7646 * exporter.C: pdf_mode moved from lyxrc
7649 * lyxfunc.C: changes from above
7651 2003-03-31 John Levon <levon@movementarian.org>
7653 * lyx_main.C: fix to the last fix
7655 2003-03-31 John Levon <levon@movementarian.org>
7657 * bufferlist.C: "Load original" -> "Load Original"
7663 * format.C: more Alert cleanups
7665 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7667 * text2.C (removeParagraph): make it take a RowList::iterator as
7669 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7670 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7672 * text.C (anchor_row): make it take a RowList::iterator as arg,
7674 (computeBidiTables): make it take a const reference to Row instead
7675 of Row pointer, adjust.
7676 (leftMargin): make it take a RowList::iterator as arg, adjust.
7677 (rowBreakPoint): adjust
7678 (breakAgainOneRow): make it take a RowList::iterator as arg,
7680 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7682 * bufferview_funcs.C (toggleAndShow): adjust
7684 2003-03-30 John Levon <levon@movementarian.org>
7688 * boost-inst.C: moved to support
7690 * several files: changes as a result
7692 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * text2.C (LyXText): adjust.
7696 (removeRow): make it take a RowList::iterator as arg, adjust.
7697 (fullRebreak): adjust
7698 (deleteEmptyParagraphMechanism): adjust
7699 (clearPaint): adjust
7702 * text.C (top_y): adjust
7703 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7704 (breakAgain): make it take a RowList::iterator as arg, adjust.
7705 (breakParagraph): adjust
7706 (insertChar): adjust
7709 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7710 need_break_row, and refresh_row.
7712 * text3.C (dispatch): adjust
7714 * text2.C (checkParagraph): adjust
7716 (setCursorFromCoordinates): adjust
7718 * text.C (top_y): adjust
7720 (getRow): make it return a RowList::iterator, adjust
7721 (getRowNearY): make it return a RowList::iterator, adjust
7723 * text2.C (init): adjust
7724 (insertRow): remove function
7725 (insertParagraph): adjust
7726 (redoParagraphs): adjust
7727 (fullRebreak): adjust
7728 (updateCounters): adjust
7730 * text.C (top_y): rewrite to use RowList iterators.
7732 (setHeightOfRow): rewrite to sue RowList iterators.
7733 (appendParagraph): adjust
7734 (breakAgain): adjust
7735 (breakAgainOneRow): adjust
7736 (breakParagraph): adjust
7738 (getRowNearY): adjust, and remove commented code.
7740 * lyxtext.h (firstRow): delete function
7741 (lastRow): delete function
7742 (rows): new function (const and non-const versions.)
7743 (insertRow): delete function
7745 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7747 2003-03-29 John Levon <levon@movementarian.org>
7749 * BufferView_pimpl.C: always update scrollbar top
7750 because pasting text when we're anchored could mean we
7751 miss an update altogether
7753 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7755 * text2.C (init): use rowlist_.end() and not 0.
7756 (insertRow): change to take a RowList::iterator as arg, adjust
7758 (insertParagraph): change to take a RowList::iterator as arg,
7760 (redoParagraphs): remove some debug msgs.
7762 * text.C (appendParagraph): change to take a RowList::iterator
7763 arg, adjust for this.
7764 (breakAgain): add an assert
7765 (breakAgainOneRow): ditto
7767 2003-03-29 John Levon <levon@movementarian.org>
7769 * text2.C: do not clear selection after inc/decDepth
7772 2003-03-29 John Levon <levon@movementarian.org>
7775 * buffer.C: fix broken strerrors according to Lars
7777 2003-03-29 John Levon <levon@movementarian.org>
7779 * converters.C: more Alert cleanups
7781 2003-03-29 John Levon <levon@movementarian.org>
7783 * bufferview_funcs.C: remove pointless Alert
7785 * buffer.C: fix confusing error message when
7786 a template is chmoded 000
7788 2003-03-29 John Levon <levon@movementarian.org>
7792 * BufferView_pimpl.C: Alert fixes
7796 * tabular-old.C: remove unused table compat reading
7798 2003-03-29 John Levon <levon@movementarian.org>
7803 * lyx_cb.C: more Alert cleanups
7805 * lyxfunc.C: don't allow chktex if not latex document
7807 2003-03-29 John Levon <levon@movementarian.org>
7811 * buffer.C: warnings pushed down from support/,
7814 2003-03-29 John Levon <levon@movementarian.org>
7816 * lyxfunc.C: safety check for C-r (revert)
7818 2003-03-29 John Levon <levon@movementarian.org>
7821 * bufferlist.C: several UI fixes using Alert::prompt.
7822 Fix the pointless looping quit code. Fix stupid revert
7827 * lyx_cb.C: use Alert::prompt
7829 * lyx_main.C: remove a silly question
7831 * lyxfunc.C: remove a couple of silly questions,
7834 2003-03-28 John Levon <levon@movementarian.org>
7836 * text2.C: fix bug 974 (End on empty par)
7838 2003-03-28 John Levon <levon@movementarian.org>
7840 * BufferView_pimpl.C:
7842 * lfuns.h: remove do-nothing math greek lfuns
7844 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7846 * lyxgluelength.h (isValidGlueLength): add default arg on
7847 parameter 2. Remove default arg from friend in class.
7849 * lyxlength.h (isValidLength): add default arg on parameter 2.
7850 Remove default arg from friend in class.
7852 * text2.C (LyXText): adjust, initialize refresh_row.
7856 (insertParagraph): adjst
7857 (redoParagraphs): adjust
7858 (fullRebreak): adjust
7859 (updateCounters): adjust
7860 (deleteEmptyParagraphMechanism): first attempt at fixing a
7863 * text.C (top_y): adjust
7864 (setHeightOfRow): adjust
7866 (getRowNearY): adjust
7868 * lyxtext.h: include RowList.h
7869 (~LyXText): not needed anymore, deleted.
7870 (firstRow): modify for RowList
7871 (lastRow): new function
7872 Delete firstrow and lastrow class variables, add a Rowlist
7873 rowlist_ class variable.
7875 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7878 * RowList.C (insert): fix case where it == begin().
7880 2003-03-26 Angus Leeming <leeming@lyx.org>
7882 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7883 the thesaurus dialog.
7885 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7887 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7889 * RowList.[Ch]: new files
7891 * ParagraphList.C (erase): handle the case where it == begin
7894 2003-03-25 John Levon <levon@movementarian.org>
7898 * aspell.C: add new aspell support
7901 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7904 2003-03-25 Angus Leeming <leeming@lyx.org>
7907 * LyXAction.C (init): new LFUN_INSET_INSERT.
7909 * BufferView_pimpl.C (dispatch): split out part of the
7910 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7912 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7915 2003-03-25 Angus Leeming <leeming@lyx.org>
7917 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7919 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7922 * text3.C: remove useless row->height(0)
7924 2003-03-25 John Levon <levon@movementarian.org>
7928 * text3.C: rename the refreshing stuff to better names
7930 2003-03-24 John Levon <levon@movementarian.org>
7932 * BufferView_pimpl.h:
7933 * BufferView_pimpl.C: update layout choice on a mouse
7936 2003-03-23 John Levon <levon@movementarian.org>
7938 * Makefile.am: fix commandtags.h reference
7940 2003-03-22 John Levon <levon@movementarian.org>
7942 * BufferView_pimpl.C:
7947 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7949 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7952 * text.C: take the rtl methods out of line
7954 2003-03-21 André Pönitz <poenitz@gmx.net>
7956 * metricsinfo.[Ch]: new files containing structures to be passed around
7957 during the two-phase-drawing...
7959 2003-03-21 André Pönitz <poenitz@gmx.net>
7961 * lyxtextclass.C: read 'environment' tag.
7963 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7965 * text2.C (removeRow): fix bug 964
7967 2003-03-20 John Levon <levon@movementarian.org>
7971 * text2.C: paint cleanups. Inset::update() dropped font
7974 2003-03-19 John Levon <levon@movementarian.org>
7976 * lyxfunc.C: only fitcursor/markDirty if available()
7978 2003-03-19 John Levon <levon@movementarian.org>
7980 * commandtags.h: rename to ...
7982 * lfuns.h: ... this, and renumber / cleanup
7984 2003-03-19 John Levon <levon@movementarian.org>
7986 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7987 fit the cursor after an lfun
7991 * BufferView_pimpl.h:
7992 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7994 * LyXAction.C: layout-character should have ReadOnly
7996 * ParagraphParameters.C:
7998 * bufferview_funcs.C:
8005 * undo_funcs.C: changes from above
8007 2003-03-18 John Levon <levon@movementarian.org>
8009 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8010 remove it from update()
8012 * lyxfunc.C: update layout choice after an lfun
8014 * text3.C: remove extra updateLayoutChoice()s
8016 2003-03-18 John Levon <levon@movementarian.org>
8018 * text.C: top_y change means full repaint, fix
8019 a drawing bug with cursor movement
8021 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8025 * text2.C: anchor row on setCursor
8027 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8029 * lyxtext.h: remove almost all mutable keywords
8032 * text3.C: remove const keywords accordingly
8034 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8036 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8038 (TeXEnvironment): ditto
8041 2003-03-17 John Levon <levon@movementarian.org>
8043 * text.C (rowBreakPoint): remove attempt to fix displayed
8044 math insets inside a manual label
8046 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8048 * lyxtext.h: remove BufferView* as first arg from almost all class
8050 * other files: adjust.
8052 2003-03-17 John Levon <levon@movementarian.org>
8056 * text2.C: more paint cleanups
8058 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8061 * rowpainter.C: remove "smart" background painting code
8063 2003-03-16 John Levon <levon@movementarian.org>
8068 * text3.C: add helper functions for setting refresh_row/y
8070 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8072 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8073 newline inset which *can* get inserted in the pass_thru layouts.
8074 This is primarily for literate documents.
8076 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8078 * buffer.C: increment LYX_FORMAT to 223
8080 2003-03-14 André Pönitz <poenitz@gmx.net>
8082 * textclass.h: prepare for environment handling, ws changes
8083 * lyxlayout.C: read latexheader and latexfooter tags
8085 2003-03-14 John Levon <levon@movementarian.org>
8087 * text2.C: rewrite ::status() a bit
8089 2003-03-13 John Levon <levon@movementarian.org>
8091 * lyxtext.h: add some docs
8093 2003-03-13 John Levon <levon@movementarian.org>
8098 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8100 2003-03-13 John Levon <levon@movementarian.org>
8102 * text3.C: fix appendix redrawing
8104 2003-03-13 John Levon <levon@movementarian.org>
8106 * text.C (setHeightOfRow):
8108 * rowpainter.C: make appendix mark have the text
8109 "Appendix" so the user knows what it is
8112 * LColor.C: s/appendixline/appendix/ from above
8114 2003-03-13 John Levon <levon@movementarian.org>
8116 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8118 * text.C: fix a getChar(pos) bug properly
8120 2003-03-13 Angus Leeming <leeming@lyx.org>
8123 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8124 Probably only temporary. Let's see how things pan out.
8126 * BufferView.C (unlockInset):
8127 * BufferView_pimpl.C (fitCursor):
8128 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8130 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8131 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8133 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8134 new functions that convert ParagraphParameters to and from a string.
8136 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8137 BufferView::Pimpl's dispatch.
8138 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8140 2003-03-13 André Pönitz <poenitz@gmx.net>
8144 * factory.C: make it aware of InsetEnv
8146 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8148 * text2.C (setCursor): never ask for one past last
8149 (setCursor): add some debugging messages.
8151 * text.C (singleWidth): never ask for one past last
8152 (singleWidth): ditto
8154 (rightMargin): ditto
8155 (rowBreakPoint): ditto
8156 (setHeightOfRow): ditto
8157 (prepareToPrint): ditto
8159 * rowpainter.C (paintBackground): never ask for one past last
8160 (paintText): never ask for one past last
8162 * paragraph_pimpl.C (getChar): make the assert stricter, never
8163 allow the one past last pos to be taken
8165 * paragraph.C (getChar): ws changes only
8167 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8168 (numberOfSeparators): ditto
8169 (numberOfHfills): ditto
8171 2003-03-12 John Levon <levon@movementarian.org>
8177 * paragraph_funcs.C: fix per-buffer authorlists
8179 2003-03-12 John Levon <levon@movementarian.org>
8181 * text.C: fix newline in right address
8183 2003-03-12 Angus Leeming <leeming@lyx.org>
8185 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8186 duplicate those in LyXFunc::dispatch.
8190 * ToolbarDefaults.C:
8191 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8192 Add LFUN_FONTFREE_UPDATE.
8194 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8195 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8197 * bufferview_func.[Ch]: several new functions to facilliate
8198 transfer of data to and from the character dialog.
8200 2003-03-12 John Levon <levon@movementarian.org>
8205 * paragraph_funcs.C:
8206 * paragraph_pimpl.C:
8210 * text3.C: remove META_NEWLINE in favour of an inset
8213 * rowpainter.C: remove paintNewline (done by inset)
8215 2003-03-12 John Levon <levon@movementarian.org>
8217 * paragraph_pimpl.C: complain about bad getChar()s
8218 for a while at least
8220 2003-03-12 John Levon <levon@movementarian.org>
8223 * buffer.C: move paragraph read into a separate function,
8224 a little renaming to reflect that.
8227 * bufferparams.C: remove the author_ids map, not necessary now
8230 * factory.C: moved Buffer::readInset to here
8232 * paragraph_funcs.h:
8233 * paragraph_funcs.C: readParagraph free function moved from
8236 * tabular.C: name change
8238 2003-03-12 John Levon <levon@movementarian.org>
8241 * ParagraphParameters.C: move par params input to
8244 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8245 behave like a normal read from the stream wrt reading
8246 a line vs. a \\token
8248 2003-03-12 John Levon <levon@movementarian.org>
8251 * ParagraphParameters.h:
8252 * ParagraphParameters.C: move output code to a
8255 2003-03-12 John Levon <levon@movementarian.org>
8257 * BufferView.C (insertLyXFile):
8260 * tabular.C: use a parlist iterator for creating the
8263 2003-03-12 John Levon <levon@movementarian.org>
8265 * buffer.C: make current_change static local not
8268 2003-03-12 John Levon <levon@movementarian.org>
8270 * buffer.C: fix insertStringAsLines for change tracking
8272 2003-03-12 John Levon <levon@movementarian.org>
8279 * bufferparams.C: move author list into params. Rename some
8280 functions. Move the header reading into a separate token
8281 loop. Move the header token reading into BufferParams.
8283 2003-03-12 John Levon <levon@movementarian.org>
8285 * changes.C: put debug inside lyxerr.debugging() checks
8287 2003-03-11 André Pönitz <poenitz@gmx.net>
8289 * factory.C: make it aware of InsetHFill
8291 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8293 * buffer.C (latexParagraphs): move function from here...
8294 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8297 2003-03-10 Angus Leeming <leeming@lyx.org>
8299 * LyXAction.C (init): fix bug in poplating array with multiple entries
8300 with the same LFUN (spotted by JMarc).
8302 2003-03-10 John Levon <levon@movementarian.org>
8305 * text2.C: move getColumnNearX() near its
8308 2003-03-10 John Levon <levon@movementarian.org>
8310 * text.C: fix break before a minipage
8312 2003-03-10 John Levon <levon@movementarian.org>
8314 * text.C: fix the last commit
8316 2003-03-09 John Levon <levon@movementarian.org>
8320 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8321 bug 365 (don't break before insets unless needed). Don't
8322 return a value > last under any circumstances.
8324 2003-03-09 Angus Leeming <leeming@lyx.org>
8326 * BufferView_pimpl.C (trackChanges, dispatch): call
8327 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8329 2003-03-09 Angus Leeming <leeming@lyx.org>
8331 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8332 than Dialogs::showAboutlyx().
8334 2003-03-09 Angus Leeming <leeming@lyx.org>
8336 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8337 than Dialogs::showTabularCreate().
8339 2003-03-09 John Levon <levon@movementarian.org>
8343 * text2.C: 3rd arg to nextBreakPoint was always the same.
8346 2003-03-08 John Levon <levon@movementarian.org>
8353 * text2.C: Remove the "main" bit from the "main body"
8356 2003-03-08 John Levon <levon@movementarian.org>
8358 * text.C (leftMargin): The left margin of an empty
8359 manual label paragraph should not include the label width
8362 * text.C (prepareToPrint): don't attempt to measure hfills
8363 for empty manual label paragraphs - the answer should be 0
8365 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * CutAndPaste.C: remove commented code and reindent.
8369 2003-03-08 John Levon <levon@movementarian.org>
8372 * lyxfunc.C: move reloadBuffer()
8375 * BufferView.C: to here
8377 * lyxvc.C: add comment
8380 * vc-backend.C: call bv->reload() to avoid
8381 getStatus() check on MENURELOAD
8383 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8385 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8386 to an old format .dep file.
8388 2003-03-07 Angus Leeming <leeming@lyx.org>
8390 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8391 when the LFUN_MOUSE_RELEASE should have been handled by
8392 inset->localDispatch.
8394 2003-03-07 Angus Leeming <leeming@lyx.org>
8396 * BufferView_pimpl.C (dispatch):
8397 * LyXAction.C (init):
8398 * ToolbarDefaults.C (init):
8400 * lyxfunc.C (getStatus):
8401 remove LFUN_INSET_GRAPHICS.
8403 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8405 2003-03-07 Angus Leeming <leeming@lyx.org>
8408 * LyXAction.C (init):
8409 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8411 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8414 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8416 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8417 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8419 2003-03-07 Angus Leeming <leeming@lyx.org>
8421 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8424 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * ParagraphList.C (front): new function
8429 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8431 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8432 and top_row_offset_. removed var first_y.
8434 * text2.C (LyXText, removeRow):
8436 * BufferView_pimpl.C:
8437 use these methods instead of using first_y
8439 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8441 * text2.C (pasteSelection): adjust for checkPastePossible
8443 * CutAndPaste.C: remove Paragraph * buf and replace with
8444 ParagraphList paragraphs.
8445 (DeleteBuffer): delete
8446 (cutSelection): change the tc type to textclass_type
8447 (copySelection): change the tc type to textclass_type
8448 (copySelection): adjust for ParagraphList
8449 (pasteSelection): change the tc type to textclass_type
8450 (pasteSelection): adjust for Paragraphlist
8451 (nrOfParagraphs): simplify for ParagraphList
8452 (checkPastePossible): simplify for ParagraphList
8453 (checkPastePossible): remove unused arg
8455 * ParagraphList.C (insert): handle the case where there are no
8458 * CutAndPaste.h: make CutAndPaste a namespace.
8460 * text3.C (dispatch): adjust
8462 * text.C (breakParagraph): add a ParagraphList as arg
8464 * paragraph_funcs.C (breakParagraph): change to take a
8465 BufferParams and a ParagraphList as args.
8466 (breakParagraphConservative): ditto
8467 (mergeParagraph): ditto
8468 (TeXDeeper): add a ParagraphList arg
8469 (TeXEnvironment): ditto
8472 * buffer.C (readLyXformat2): adjust
8473 (insertStringAsLines): adjust
8474 (latexParagraphs): adjust
8476 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8477 (cutSelection): adjust
8478 (pasteSelection): adjust
8480 * BufferView_pimpl.C (insertInset): adjust
8482 2003-03-05 Angus Leeming <leeming@lyx.org>
8485 * LyXAction.C (init):
8486 * BufferView_pimpl.C (dispatch):
8487 * lyxfunc.C (getStatus):
8488 remove LFUN_CHILD_INSERT.
8490 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8492 2003-03-05 Angus Leeming <leeming@lyx.org>
8495 * LyXAction.C (init):
8496 * src/factory.C (createInset):
8497 * lyxfunc.C (getStatus):
8498 * text3.C (dispatch):
8499 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8501 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8503 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8505 * ParagraphList.C (insert): handle insert right before end()
8506 (erase): fix cases where it can be first or last paragraph.
8508 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8510 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8511 Paragraph::next and Paragraph::previous
8514 * text.C (breakParagraph): adjust
8516 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8517 BufferParams& as arg.
8518 (breakParagraph): use ParagraphList::insert
8519 (breakParagraphConservative): take a Buffer* instead of a
8520 BufferParams& as arg.
8521 (breakParagraphConservative): use ParagraphList::insert.
8523 * buffer.C (insertStringAsLines): un-const it
8524 (insertStringAsLines): adjust
8526 * ParagraphList.C (insert): new function
8528 * CutAndPaste.C (pasteSelection): adjust
8530 * text.C (backspace): adjust
8532 * tabular.C (SetMultiColumn): adjust
8534 * CutAndPaste.C (cutSelection): adjust
8535 (pasteSelection): adjust
8537 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8538 Buffer const * as arg
8540 * ParagraphList.C (erase): new function
8541 * paragraph_funcs.C (mergeParagraph): use it
8542 (mergeParagraph): make it take a Buffer* instead of a
8543 BufferParams* as arg
8545 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8547 (breakParagraphConservative): ditto
8549 * paragraph.h: remove the breakParagraph friend
8551 * paragraph.C (eraseIntern): new function
8552 (setChange): new function
8554 * paragraph_funcs.C (mergeParagraph): make it take a
8555 ParagraphList::iterator instead of a Paragraph *, adjust
8558 * paragraph.h: move an #endif so that the change tracking stuff
8559 also works in the NO_NEXT case.
8561 2003-03-04 Angus Leeming <leeming@lyx.org>
8564 * LyXAction.C: new LFUN_INSET_MODIFY.
8566 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8567 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8569 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8571 * several files: ws changes only
8573 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8574 (TeXEnvironment): ditto
8577 * buffer.C (makeLaTeXFile): adjust
8578 (latexParagraphs): make it take ParagraphList::iterator as args
8580 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8582 * buffer.C (latexParagraphs): adjust
8584 * paragraph.C (TeXOnePar): move function...
8585 (optArgInset): move function...
8586 (TeXEnvironment): move function...
8587 * paragraph_pimpl.C (TeXDeeper): move function...
8588 * paragraph_funcs.C: ...here
8590 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8592 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8594 * buffer.C (readInset): remove compability code for old Figure and
8597 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * buffer.C: ws changes
8602 * BufferView_pimpl.C: ditto
8605 * bufferlist.h: ditto
8609 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8611 * converter.[Ch]: split into itself +
8614 * Makefile.am: += graph.[Ch] + format.[Ch]
8621 * lyxrc.C: added #include "format.h"
8623 2003-02-27 Angus Leeming <leeming@lyx.org>
8625 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8628 * factory.C (createInset): add "label" to the factory.
8630 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8631 string and do no more.
8633 2003-02-27 Angus Leeming <leeming@lyx.org>
8636 * LyXAction.C (init):
8637 * factory.C (createInset):
8638 * BufferView_pimpl.C (dispatch):
8639 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8641 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8643 * lyxfunc.C (dispatch):
8644 * text3.C (dispatch): pass name to params2string.
8646 2003-02-26 Angus Leeming <leeming@lyx.org>
8648 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8650 Rearrange the ~includes. Strip out the unnecessary ones.
8652 * factory.C (createInset): reformat.
8653 create new insets for the various LFUN_XYZ_APPLY lfuns.
8655 2003-02-26 John Levon <levon@movementarian.org>
8658 * lyxrow.C: add isParStart,isParEnd helpers
8660 * paragraph.h: make isInserted/DeletedText take refs
8662 * paragraph_funcs.h:
8663 * paragraph_funcs.C: remove #if 0'd code
8668 * text.C: use lyxrow helpers above.
8669 Move draw and paint routines to RowPainter.
8670 Make several methods use refs not pointers.
8671 Make backgroundColor() const.
8672 Add markChangeInDraw(), isInInset().
8673 Merge changeRegionCase into changeCase.
8674 Make workWidth() shouldn't-happen code into an Assert.
8677 * rowpainter.C: new class for painting a row.
8680 * vspace.C: make inPixels take a ref
8682 2003-02-26 Angus Leeming <leeming@lyx.org>
8684 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8687 2003-02-25 John Levon <levon@movementarian.org>
8689 * ispell.C: give the forked command a more accurate name
8691 2003-02-22 John Levon <levon@movementarian.org>
8694 * toc.C: make TocItem store an id not a Paragraph *
8697 2003-02-21 Angus Leeming <leeming@lyx.org>
8699 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8700 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8701 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8702 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8703 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8704 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8706 * BufferView_pimpl.C (dispatch):
8707 * LyXAction.C (init):
8708 * factory.C (createInset):
8709 * lyxfunc.C (getStatus, dispatch):
8710 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8712 2003-02-21 Angus Leeming <leeming@lyx.org>
8714 * BufferView_pimpl.C (MenuInsertLyXFile):
8715 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8716 * lyxfunc.C (menuNew, open, doImport):
8717 no longer pass a LyXView & to fileDlg.
8719 2003-02-21 Angus Leeming <leeming@lyx.org>
8721 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8722 * LyXAction.C: change, BIBKEY to BIBITEM.
8723 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8724 Change InsetBibKey to InsetBibitem.
8725 Change BIBKEY_CODE to BIBITEM_CODE.
8726 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8727 * factory.C: replace insetbib.h with insetbibitem.h.
8728 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8729 * paragraph.C: replace insetbib.h with insetbibitem.h.
8730 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8731 Change bibkey() to bibitem().
8732 * text.C: remove insetbib.h.
8733 * text2.C: replace insetbib.h with insetbibitem.h.
8734 change bibkey() to bibitem().
8735 * text3.C: remove insetbib.h.
8736 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8738 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8740 * lyxrc.C (output): enclose user email in quotes (in case there are
8743 2003-02-18 John Levon <levon@movementarian.org>
8745 * buffer.h: add std::
8747 2003-02-17 John Levon <levon@movementarian.org>
8753 * pspell.C: reworking. Especially in ispell, a large
8754 number of clean ups and bug fixes.
8756 * lyxfunc.C: fix revert to behave sensibly
8758 2003-02-17 André Pönitz <poenitz@gmx.net>
8761 * commandtags.h: new LFUN_INSERT_BIBKEY
8771 * paragraph_func.C: remove special bibkey handling
8773 2003-02-17 John Levon <levon@movementarian.org>
8775 * text.C (Delete): fix case where delete at the end of
8776 the very first paragraph would not merge the pars
8778 2003-02-17 John Levon <levon@movementarian.org>
8780 * lyxrow.C: fix lastPrintablePos()
8782 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8784 * bufferparams.C (writeLaTeX): add a std:here
8786 * buffer.C: and remove a using directive there
8788 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8790 * buffer.C (makeLaTeXFile): move the code that generates the
8793 * bufferparams.C (writeLaTeX): ... in this new method
8795 * LaTeXFeatures.C (getEncodingSet): make const
8796 (getLanguages): make const
8798 * MenuBackend.C (binding): returns the binding associated to this
8800 (add): sets the status of each item by calling getStatus. Adds
8802 (read): add support for OptSubMenu
8803 (expand): remove extra separator at the end of expanded menu
8805 2003-02-15 John Levon <levon@movementarian.org>
8808 * BufferView_pimpl.C:
8810 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8811 inset code that had no actual effect. Remove unneeded status
8814 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8816 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8819 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8821 * text.C (drawLengthMarker): also draw an arrow marker for
8822 symbolic lengths (medskip...)
8824 2003-02-14 John Levon <levon@movementarian.org>
8827 * tabular.C: better method names
8829 2003-02-14 John Levon <levon@movementarian.org>
8831 * BufferView_pimpl.C:
8836 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8837 it's a more accurate name. Remove some pointless uses.
8839 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8841 * text2.C (LyXText): change order of initilizers to shut off
8844 2003-02-14 John Levon <levon@movementarian.org>
8846 * buffer.C: use ParIterator for getParFromID()
8850 * paragraph_pimpl.h:
8851 * paragraph_pimpl.C: remove unused getParFromID()
8853 2003-02-14 John Levon <levon@movementarian.org>
8855 * buffer.C: remove some very old #if 0'd parse code
8857 2003-02-13 John Levon <levon@movementarian.org>
8861 * text2.C: move hfillExpansion(), numberOfSeparators(),
8862 rowLast(), rowLastPrintable(), numberofHfills(),
8863 numberOfLabelHfills() ...
8866 * lyxrow.C: ... to member functions here.
8871 * text.C: remove LyXText::beginningOfMainBody(), and call
8872 p->beginningOfMainBody() directly. Move the check for
8873 LABEL_MANUAL into the latter.
8880 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8886 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8887 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8889 2003-02-13 John Levon <levon@movementarian.org>
8891 * CutAndPaste.C: remove debug
8893 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8895 * paragraph.C (asString): remove two unused variables
8897 * lyxtextclass.C (readTitleType):
8899 (LyXTextClass): handle new members titletype_ and titlename_
8901 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8903 2003-02-09 John Levon <levon@movementarian.org>
8906 * buffer.C: replace hand-coded list with a map for the dep clean
8908 2003-02-08 John Levon <levon@movementarian.org>
8910 * LaTeX.C: consolidate code into showRunMessage() helper
8912 2003-02-08 John Levon <levon@movementarian.org>
8917 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8918 and pass the size in explicitly
8920 * BufferView_pimpl.h:
8921 * BufferView_pimpl.C:
8923 * BufferView.C: add getCurrentChange()
8925 * BufferView_pimpl.h:
8926 * BufferView_pimpl.C: handle change lfuns
8928 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8929 for changes. Mark pasted paragraphs as new.
8931 * support/lyxtime.h:
8932 * support/lyxtime.C:
8933 * DepTable.C: abstract time_t as lyx::time_type
8936 * LColor.C: add colours for new text, deleted text, changebars
8938 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8939 package use "usenames" option.
8943 * LyXAction.C: add change lfuns
8947 * author.C: author handling
8950 * buffer.C: add a per-buffer author list, with first entry as
8951 current author. Handle new .lyx tokens for change tracking. Output
8952 author list to .lyx file. Output dvipost stuff to .tex preamble.
8953 Bump lyx format to 222.
8956 * bufferlist.C: add setCurrentAuthor() to reset current author details
8960 * bufferparams.C: add param for tracking
8962 * bufferview_funcs.C: output change info in minibuffer
8966 * changes.C: add change-tracking structure
8969 * debug.C: add CHANGES debug flag
8972 * lyxfind.C: add code for finding the next change piece
8975 * lyxrc.C: add user_name and user_email
8978 * lyxrow.C: add a metric for the top of the text line
8981 * text.C: implement accept/rejectChange()
8984 * text.C: paint changebars. Paint new/deleted text in the chosen
8985 colours. Strike through deleted text.
8989 * paragraph_pimpl.h:
8990 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8991 in the current change to the insert functions. Rework erase to
8992 mark text as deleted, adding an eraseIntern() and a range-based
8993 erase(). Implement per-paragraph change lookup and
8996 * paragraph_funcs.C: Fixup paste for change tracking.
8998 * tabular.C: mark added row/columns as new.
9000 * text.C: fix rowLast() to never return -1. Don't allow
9001 spellchecking of deleted text. Track transpose changes. Don't
9002 allow paragraph break or merge where appropriate.
9004 * text2.C: leave cursor at end of selection after a cut.
9006 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9008 * text.C (getLengthMarkerHeight):
9009 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9010 visible on screen too.
9012 2003-02-07 John Levon <levon@movementarian.org>
9014 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9016 2003-02-05 Angus Leeming <leeming@lyx.org>
9018 * lyxserver.C (read_ready): revert my patch of 11 September last year
9019 as it sends PC cpu through the roof. Presumably this means that
9020 the lyxserver will no longer run on an Alpha...
9022 2003-01-30 Angus Leeming <leeming@lyx.org>
9024 * factory.C (createInset): create an InsetCommandParam of type "index"
9025 and use it to 'do the right thing'.
9027 * text2.C (getStringToIndex): ensure that cursor position is always
9028 reset to the reset_cursor position.
9030 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9032 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9035 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9039 * lyxfunc.C: Output messages with identical spelling, punctuation,
9042 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9044 * MenuBackend.C (expandFormats): List only viewable export formats
9047 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9050 * lyxfunc.C (getStatus): Make sure that formats other than
9051 "fax" can also be disabled
9053 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9055 * text3.C (dispatch): put the lfuns that insert insets in 3
9056 groups, and call doInsertInset with appropriate arguments.
9057 (doInsertInset): new function, that creates an inset and inserts
9058 it according to some boolean parameters.
9060 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9062 * buffer.C (readFile): remember to pass on 'par' when calling
9063 readFile recursively.
9065 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9067 * MenuBackend.C (expandFormats): add "..." to import formats.
9069 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9071 * paragraph.C (asString): Remove XForms RTL hacks.
9073 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9074 * buffer.C: fix typo
9076 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9078 * Makefile.am (LIBS): delete var
9079 (lyx_LDADD): add @LIBS@ here instead.
9081 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9083 * Clarify the meaning of "wheel mouse jump"
9085 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9087 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9090 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9092 * importer.C (Loaders): do not preallocate 3 elements in the
9093 vector, since one ends up with 6 elements otherwise
9095 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9097 * DepTable.C (write): write the file name as last element of the
9098 .dep file (because it may contain spaces)
9099 (read): read info in the right order
9101 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9103 * paragraph_pimpl.C (simpleTeXBlanks):
9104 (simpleTeXSpecialChars):
9105 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9107 * tabular.C (latex): add some missing case statements. Reindent.
9109 * MenuBackend.C (expandToc): remove unused variable.
9111 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9120 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9123 2003-01-05 John Levon <levon@movementarian.org>
9126 * BufferView.C: add getEncoding()
9129 * kbsequence.C: do not store last keypress
9132 * lyxfunc.C: store last keypress here instead. Pass encoding
9135 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9137 * lyx_main.C (init): remove annoying error message when following
9138 symbolic links (bug #780)
9140 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9142 * text.C (insertChar):
9143 * lyxrc.C (getDescription): remove extra spaces
9145 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9147 * lyxrc.C (getDescription): remove extra spaces
9149 2002-12-20 John Levon <levon@movementarian.org>
9151 * text3.C: hack fix for page up/down across tall rows
9153 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9155 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9158 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9160 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9161 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9162 thesaurus is not compiled in
9164 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9166 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9168 2002-12-16 Angus Leeming <leeming@lyx.org>
9171 * lyx_main.C (init): remove override_x_deadkeys stuff.
9173 2002-12-12 John Levon <levon@movementarian.org>
9175 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9176 insert. Only remove shift modifier under strict
9179 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9181 * MenuBackend.C (expandToc): fix crash.
9183 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9185 * MenuBackend.C (expandToc): gettext on float names.
9187 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9189 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9190 implement bool empty() [bug 490]
9192 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9194 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9196 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9198 * several files: ws changes
9200 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9202 * text2.C (setCounter): clean up a bit, use boost.format.
9203 (updateCounters): initialize par upon declaration.
9205 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9206 if the layout exists. We do not just store the layout any more.
9207 (SwitchLayoutsBetweenClasses): use boost.format
9209 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9211 * converter.C (convert): if from and to files are the same, use a
9212 temporary files as intermediary
9214 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9217 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9219 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9221 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9223 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9225 * tabular.C (asciiPrintCell): use string(size, char) instead of
9228 * sgml.C (openTag): fix order of arguments to string constructor
9231 * lyxfunc.C (dispatch): use boost.format
9233 * lots of files: change "c" -> 'c'
9235 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9237 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9239 2002-11-25 Angus Leeming <leeming@lyx.org>
9241 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9243 * lyx_main.C (init): compile fix.
9245 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9247 * lyx_cb.C (start): boost.formatify
9248 do not include <iostream>
9250 * lengthcommon.C: ws only
9252 * boost-inst.C,BoostFormat.h: add more explict instantations
9254 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9256 * lots of files: handle USE_BOOST_FORMAT
9258 2002-11-21 John Levon <levon@movementarian.org>
9260 * pspell.C: fix compile
9262 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * lyxfunc.C (dispatch): use boost::format
9268 * lyxfont.C (stateText): use boost::format
9270 * lyx_main.C (LyX): use boost::format
9272 (queryUserLyXDir): ditto
9275 (typedef boost::function): use the recommened syntax.
9277 * importer.C (Import): use boost::format
9279 * debug.C (showLevel): use boost::format
9281 * converter.C (view): use boost::format
9286 * bufferview_funcs.C (currentState): use boost::format
9288 * bufferlist.C (emergencyWrite): use boost::format
9290 * buffer.C (readLyXformat2): use boost::format
9291 (parseSingleLyXformat2Token): ditto
9293 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9295 * LaTeX.C (run): use boost::format
9297 * Chktex.C (scanLogFile): use boost::format
9299 * BufferView_pimpl.C (savePosition): use boost::format
9300 (restorePosition): ditto
9301 (MenuInsertLyXFile): ditto
9303 * BoostFormat.h: help file for explicit instation.
9305 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9307 * tabular.C (latex): Support for block alignment in fixed width
9310 2002-11-17 John Levon <levon@movementarian.org>
9312 * BufferView_pimpl.C:
9314 * lyxfunc.C: split filedialog into open/save
9316 2002-11-08 Juergen Vigna <jug@sad.it>
9318 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9319 by my last patch (hopefully).
9321 2002-11-08 John Levon <levon@movementarian.org>
9330 * toc.C: ParConstIterator, and use it (from Lars)
9332 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9334 * lyxtextclass.[Ch]: revise and add doxygen comments
9336 2002-11-07 John Levon <levon@movementarian.org>
9338 * text.C: fix progress value for spellchecker
9340 * toc.C: fix navigate menu for insetwrap inside minipage
9342 * paragraph_funcs.C: added FIXME for suspect code
9344 2002-11-07 John Levon <levon@movementarian.org>
9346 * BufferView_pimpl.C: fix redrawing of insets
9349 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9351 * text2.C (updateCounters): fix bug 668
9353 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9355 * text3.C (dispatch): Do not make the buffer dirty when moving the
9358 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9360 * vc-backend.C: STRCONV
9363 * text2.C (setCounter): STRCONV
9365 * paragraph.C (asString): STRCONV
9367 * lyxlength.C (asString): STRCONV
9368 (asLatexString): ditto
9370 * lyxgluelength.C (asString): STRCONV
9371 (asLatexString): ditto
9373 * lyxfunc.C (dispatch): STRCONV
9376 * lyxfont.C (stateText): STRCONV
9378 * importer.C (Import): STRCONV
9380 * counters.C (labelItem): STRCONV
9381 (numberLabel): ditto
9382 (numberLabel): remove unused ostringstream o
9387 * bufferview_funcs.C (currentState): STRCONV
9389 * buffer.C (readFile): STRCONV
9390 (asciiParagraph): ditto
9391 (makeLaTeXFile): ditto
9393 * Spacing.C (writeEnvirBegin): STRCONV
9395 * LaTeXFeatures.C (getLanguages): STRCONV
9396 (getPackages): ditto
9398 (getBabelOptions): ditto
9399 (getTClassPreamble): ditto
9400 (getLyXSGMLEntities): ditto
9401 (getIncludedFiles): ditto
9405 (scanAuxFile): ditto
9408 * LString.h: add the STRCONV macros
9410 * BufferView_pimpl.C (savePosition): STRCONV
9411 (restorePosition): ditto
9412 (MenuInsertLyXFile): ditto
9414 * vc-backend.C (scanMaster): change from submatch[...] to
9417 * funcrequest.C: include config.h
9419 * factory.C: include config.h
9421 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9423 * box.C: include config.h
9425 * LaTeX.C (scanAuxFile): change from submatch[...] to
9429 2002-10-25 Angus Leeming <leeming@lyx.org>
9431 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9433 * ispell.[Ch] (setError): new method.
9434 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9435 Use setError() insetead of goto END.
9437 * lyx_cb.C (AutoSave): move out child process into new class
9440 2002-10-30 John Levon <levon@movementarian.org>
9442 * text3.C: make start appendix undoable
9444 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9446 * lyxlength.C (inPixels): Fix returned value.
9448 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9451 2002-10-24 Angus Leeming <leeming@lyx.org>
9453 * lyxgluelength.h: no need to forward declare BufferParams
9454 or BufferView, so don't.
9456 2002-10-21 John Levon <levon@movementarian.org>
9458 * BufferView.C: menuUndo ->undo, redo
9460 * BufferView.h: document, remove dead, make some methods private
9462 * paragraph_funcs.h:
9463 * paragraph_funcs.C:
9464 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9469 * sgml.C: move sgml open/close tag into sgml.C
9471 * bufferview_funcs.h: unused prototype
9474 * lyxfunc.C: remove unused
9477 * text.C: remove unused
9479 2002-10-21 John Levon <levon@movementarian.org>
9483 * BufferView_pimpl.h:
9484 * BufferView_pimpl.C: fix mouse wheel handling based on
9485 patch from Darren Freeman
9487 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9489 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9491 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9493 * lyxlength.C (inPixels): Fix hanfling of negative length.
9494 Fix LyXLength::MU case.
9496 2002-10-16 John Levon <levon@movementarian.org>
9498 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9500 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9502 * converter.C (view): add support for $$i (file name) and $$p
9503 (file path) for the viewer command. If $$i is not specified, then
9504 it is appended to the command (for compatibility with old syntax)
9506 2002-10-14 Juergen Vigna <jug@sad.it>
9508 * undo_funcs.C (textHandleUndo): alter the order in which the
9509 new undopar is added to the LyXText, as we have to set first
9510 the right prev/next and then add it as otherwise the rebuild of
9511 LyXText is not correct. Also reset the cursor to the right paragraph,
9512 with this IMO we could remove the hack in "redoParagraphs()".
9514 2002-10-09 Angus Leeming <leeming@lyx.org>
9516 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9517 to turn off an optimisation if a new inset is to be inserted.
9519 2002-10-11 André Pönitz <poenitz@gmx.net>
9521 * lyxtext.h: make some functions public to allow access
9522 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9524 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9526 * text3.C (dispatch): when changing layout, avoid an infinite loop
9529 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9531 * lyxrc.C (read): treat a viewer or converter command of "none" as
9534 * MenuBackend.C (expandFormats): for an update, also allow the
9535 formats that are not viewable
9537 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9538 script if it is newer than the lyxrc.defaults in user directory
9540 2002-10-07 André Pönitz <poenitz@gmx.net>
9542 * text.C: Vitaly Lipatov's small i18n fix
9544 2002-09-25 Angus Leeming <leeming@lyx.org>
9546 * ispell.h: doxygen fix.
9548 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9550 * buffer.h (readFile): Add a new argument to the method, to allow
9551 reading of old-format templates.
9553 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9555 * toc.C (getTocList): Get TOC from InsetWrap.
9557 2002-09-16 John Levon <levon@movementarian.org>
9559 * lyxfunc.C: check tabular for cut/copy too
9561 2002-09-12 John Levon <levon@movementarian.org>
9566 * factory.C: add header
9568 * paragraph_funcs.h:
9569 * paragraph_funcs.C: cleanup
9571 2002-09-11 John Levon <levon@movementarian.org>
9573 * PrinterParams.h: odd/even default to true
9575 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9577 * PrinterParams.h: update printer parameters for new xforms dialog
9579 2002-09-11 Angus Leeming <leeming@lyx.org>
9581 * lyxserver.C (read_ready): re-write to make it more transparent
9582 and to make it work in coherent fashion under Tru64 Unix.
9584 2002-09-11 André Pönitz <poenitz@gmx.net>
9588 * text3.C: implement LFUN_WORDSEL
9590 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9592 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9593 make floatlist_ a boost::shared_ptr<FloatList>
9595 * lyxtextclass.C: include FloatList.h
9596 (LyXTextClass): initialize floatlist_
9597 (TextClassTags): add TC_NOFLOAT
9598 (Read): match "nofloat" to TC_NOFLOAT and use it.
9599 (readFloat): modify call to floatlist_
9603 * FloatList.[Ch] (FloatList): remove commented out float
9605 (erase): new function
9607 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9609 * MenuBackend.C (expandToc): fix crash when there is no document
9612 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9614 * many files: Add insetwrap.
9616 2002-09-09 John Levon <levon@movementarian.org>
9618 * text2.C: remove confusing and awkward depth wraparound
9620 2002-09-09 John Levon <levon@movementarian.org>
9622 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9625 * buffer.C: remove getIncludeonlyList()
9628 * lyxfunc.C: remove headers
9630 2002-09-09 Juergen Vigna <jug@sad.it>
9632 * text.C (getColumnNearX): fix form Michael this is most
9633 probably a cut&paste bug.
9635 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9637 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9639 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9640 references, ws changes.
9642 * text2.C (init): update counters after init
9643 (insertParagraph): no need to set counter on idividual paragraphs.
9644 (setCounter): access the counters object in the textclass object
9645 on in the buffer object.
9646 (updateCounters): ditto
9648 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9649 shared_ptr<Counters> to avoid loading counters.h in all
9651 (LyXTextClass): initialize ctrs_
9652 (TextClassTags): add TC_COUNTER, and ...
9653 (Read): use it here.
9654 (CounterTags): new tags
9655 (readCounter): new function
9656 (counters): new funtion
9657 (defaultLayoutName): return a const reference
9659 * counters.C (Counters): remove contructor
9660 (newCounter): remove a couple of unneeded statements.
9661 (newCounter): simplify a bit.
9662 (numberLabel): some small formatting changes.
9664 * buffer.[Ch]: remove all traces of counters, move the Counters
9665 object to the LyXTextClass.
9667 2002-09-06 Alain Castera <castera@in2p3.fr>
9669 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9670 package to set the horizontal alignment on fixed width columns.
9673 * lyx_sty.h: added tabularnewline macro def.
9675 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9677 2002-09-06 John Levon <levon@movementarian.org>
9679 * LyXAction.C: tooltips for sub/superscript
9681 * MenuBackend.C: a bit more verbose
9683 * lyxfunc.C: tiny clean
9685 * undo_funcs.C: document undo_frozen
9687 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9689 * counters.C (Counters): add missing algorithm counter.
9691 * text2.C (setCounter): lookup the counter with layouts latexname
9692 instead of by section number.
9693 (setCounter): use a hackish way to lookup the correct enum
9695 a float name->type change
9696 reset enum couners with counter name directly instead of depth value.
9698 * counters.C (Counters): remove the push_backs, change to use the
9699 float type not the float name.
9700 (labelItem): remove unused string, float name->type change
9702 * counters.h: don't include vector, loose the enums and sects vectors
9704 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9706 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9707 (Read): add float->TC_FLOAT to textclassTags
9708 (Read): and handle it in the switch
9709 (readFloat): new function
9711 * FloatList.C (FloatList): comment out the hardcoded float
9714 * lyxlayout.h: ws change.
9716 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9718 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9720 2002-09-03 Angus Leeming <leeming@lyx.org>
9722 * BufferView_pimpl.h: qualified name is not allowed in member
9723 declaration: WorkArea & Pimpl::workarea() const;
9725 * factory.C: added using std::endl directive.
9727 * text3.C: added using std::find and std::vector directives.
9729 2002-08-29 André Pönitz <poenitz@gmx.net>
9732 * text2.C: remove unused member number_of_rows
9735 * BufferView2.C: remove file, move contents to...
9736 * BufferView.C: ... here
9738 * BufferView_pimpl.C:
9739 * factory.C: move more inset creation to factory
9741 * vspace.C: avoid direct usage of LyXText, ws changes
9744 don't provide direct access to WorkArea, use two simple
9745 acessors haveSelction() and workHeight() instead
9748 2002-08-29 John Levon <levon@movementarian.org>
9750 * BufferView_pimpl.C (dispatch): do not continue when
9753 2002-08-28 André Pönitz <poenitz@gmx.net>
9755 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9758 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9760 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9762 * buffer.C: increment LYX_FORMAT to 221
9764 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9765 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9767 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9769 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9771 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9773 * factory.C (createInset): use LyXTextClass::floats
9775 * MenuBackend.C (expandFloatListInsert):
9776 (expandFloatInsert):
9779 * text2.C (setCounter):
9781 * LaTeXFeatures.C (useFloat):
9782 (getFloatDefinitions):
9784 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9786 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9787 floatlist_, with accessor floats().
9789 * FloatList.h: remove global FloatList
9791 2002-08-26 André Pönitz <poenitz@gmx.net>
9793 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9797 * BufferView_pimpl.C:
9798 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9800 2002-08-25 John Levon <levon@movementarian.org>
9802 * LyXAction.C: fix margin note description
9804 2002-08-24 John Levon <levon@movementarian.org>
9808 * bufferview_funcs.C:
9810 * undo_funcs.C: cleanups
9812 * lyxfunc.C: disable CUT/COPY when no selection
9814 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9816 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9817 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9819 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9820 Add backward compatibility to "mono", "gray" and "no".
9822 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9824 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9825 (and file_format >= 200).
9827 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9831 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9833 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9835 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9837 * BufferView_pimpl.C:
9844 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9845 inset and code to make it work with the paragraph code. The inset
9846 can be anywhere in the paragraph, but will only do the expected
9847 thing in LaTeX if the layout file contains the parameter line
9849 (or more generally, a nonzero value) for that layout.
9851 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9853 * paragraph.h: remove the declaration of undefined counters class
9856 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9858 * text2.C (setCounter): fixed enumeration mis-count as reported by
9859 Dr. Richard Hawkins.
9861 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * paragraph_funcs.h: remove some unneeded includes
9865 * text.C (backspace): pasteParagraph now in global scipe
9867 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9868 (pasteSelection): ditto
9870 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9871 * paragraph_funcs.C (pasteParagraph): ... here
9873 2002-08-20 André Pönitz <poenitz@gmx.net>
9875 * commandtags.h: new LFUNs for swapping/copying table row/colums
9878 * lyxfunc.C: support for new lfuns
9880 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9883 * buffer.[Ch]: remove NO_COMPABILITY stuff
9885 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9887 * boost.C (throw_exception): new file, with helper function for
9888 boost compiled without exceptions.
9893 * ParameterStruct.h:
9894 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9896 * bufferlist.C (emergencyWriteAll): use boost bind
9898 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9900 * text.C: include paragraph_funcs.h
9901 (breakParagraph): breakParagraph is now in global scope
9903 * paragraph_funcs.[Ch]: new files
9905 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9908 * buffer.C: include paragraph_funcs.h
9909 (insertStringAsLines): breakParagraph is now in global scope
9911 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9914 * CutAndPaste.C: include paragraph_funcs.h
9915 (cutSelection): breakParagraphConservative is now in global scope
9916 (pasteSelection): ditto
9918 * buffer.h: declare oprator== and operator!= for
9919 Buffer::inset_iterator
9921 * bufferlist.C (emergencyWrite): don't use fmt(...)
9923 * text3.C: add using std::endl
9925 * BufferView.C (moveCursorUpdate): remove default arg
9927 2002-08-20 André Pönitz <poenitz@gmx.net>
9929 * buffer.[Ch]: move inline functions to .C
9932 * BufferView_pimpl.C:
9934 * buffer.[Ch]: use improved inset_iterator
9937 * paragraph.[Ch]: write one paragraph at a time
9939 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9941 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9942 style if style is not specified.
9944 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9946 * text2.C (setCounter): when searching for right label for a
9947 caption, make sure to recurse to parent insets (so that a caption
9948 in a minipage in a figure float works) (bug #568)
9950 2002-08-20 André Pönitz <poenitz@gmx.net>
9952 * text3.C: new file for LyXText::dispatch() and helpers
9954 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9956 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9958 2002-08-19 André Pönitz <poenitz@gmx.net>
9961 * text.C: new LyXText::dispatch()
9963 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9965 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9967 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9969 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9972 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9974 * Makefile.am: use $(variables) instead of @substitutions@
9976 2002-08-15 André Pönitz <poenitz@gmx.net>
9979 * BufferView_pimpl.C: streamlining mathed <-> outer world
9983 * LyXAction.C: remove unused LFUN_MATH
9985 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9987 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9989 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9991 * paragraph.C (Paragraph): reformat a bit
9992 (cutIntoMinibuffer): use builtin InsetList function instad of
9996 * buffer.C: include boost/bind.hpp, add using std::for_each
9997 (writeFileAscii): use ParagraphList iterators
9998 (validate): use for_each for validate traversal of paragraphs
9999 (getBibkeyList): use ParagraphList iterators
10000 (resizeInsets): use for_each to resizeInsetsLyXText for all
10002 (getParFromID): use ParagraphList iterators
10004 * BufferView2.C (lockInset): use paragraph list and iterators
10006 2002-08-14 John Levon <levon@movementarian.org>
10008 * lyxserver.C: remove spurious xforms include
10010 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10012 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10014 2002-08-13 André Pönitz <poenitz@gmx.net>
10017 * lyxfunc.C: further cleaning
10019 2002-08-13 André Pönitz <poenitz@gmx.net>
10021 * funcrequest.h: new constructor
10023 * funcrequest.C: move stuff here from .h
10026 * BufferView_pimpl.C:
10029 * lyxfunc.C: subsequent changes
10031 * lyxfunc.h: new view() member function
10033 * lyxfunc.C: subsequent changes
10035 2002-08-13 Angus Leeming <leeming@lyx.org>
10038 * BufferView_pimpl.C:
10046 changes due to the changed LyXView interface that now returns references
10047 to member variables not pointers.
10049 2002-08-13 Angus Leeming <leeming@lyx.org>
10051 * WordLangTuple (word, lang_code): return references to strings,
10056 * lyxtext.h: forward-declare WordLangTuple.
10061 * text.C: #include "WordLangTuple.h".
10064 * text.C: (selectNextWordToSpellcheck): constify return type.
10066 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10072 * paragraph_pimpl.h:
10075 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10076 suggested by Angus.
10077 Made updateCounter always count from start of buffer, and removed
10078 second argument (par).
10079 Reverted floats number display to '#'. Perhaps I'll try again when the
10080 code base is sanitized a bit.
10082 2002-08-12 Angus Leeming <leeming@lyx.org>
10084 * buffer.[Ch] (getLabelList): constify.
10086 2002-08-07 André Pönitz <poenitz@gmx.net>
10088 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10090 * funcrequest.h: extension to keep mouse (x,y) position
10092 2002-08-12 Juergen Vigna <jug@sad.it>
10094 * BufferView2.C (insertErrors): forbid undo when inserting error
10097 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10099 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10101 * ParagraphList.[Ch]: new files
10103 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10105 * BufferView2.C (lockInset): ParagraphList changes
10108 * bufferlist.C: ditto
10112 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10114 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10115 unused class variable counter_,
10117 * paragraph.[Ch] (getFirstCounter): delete unused function
10119 * counters.C: include LAssert.h
10120 (reset): add a new function with no arg, change other version to
10121 not have def. arg and to not allow empty arg.
10123 * text2.C (setCounter): remove empty arg from call to Counters::reset
10125 2002-08-11 John Levon <levon@movementarian.org>
10127 * Makefile.am: add WordLangTuple.h
10129 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10131 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10132 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10134 * insets/insettext.C: InsetList changes
10136 * graphics/GraphicsSupport.C (operator()): InsetList changes
10138 * toc.C (getTocList): InsetList changes
10140 * paragraph_pimpl.[Ch]: InsetList changes
10142 * paragraph.[Ch]: InsetList changes
10144 * buffer.C (inset_iterator): InsetList changes
10145 (setParagraph): ditto
10146 * buffer.h (inset_iterator): ditto
10147 * iterators.C (operator++): ditto
10148 * iterators.h: ditto
10150 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10152 * InsetList.[Ch]: new files, most InsetList handling moved out of
10155 * BufferView2.C (removeAutoInsets): InsetList changes
10157 (ChangeInsets): ditto
10159 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10161 * paragraph_pimpl.h (empty): new function
10163 * paragraph.[Ch] (empty): new function
10165 * other files: use the new Paragraph::empty function
10167 2002-08-09 John Levon <levon@movementarian.org>
10169 * lyxtext.h: remove unused refresh_height
10171 2002-08-09 John Levon <levon@movementarian.org>
10178 * paragraph.C: move sgml char escaping out of paragraph
10181 * paragraph.C: remove id setter
10185 * paragraph_pimpl.C: remove dead tex_code_break_column
10187 * bufferview_funcs.C: small cleanup
10189 * lyxfunc.C: remove dead proto
10191 * lyxtext.h: make some stuff private. Remove some dead stuff.
10193 * lyxgluelength.C: make as[LyX]String() readable
10195 2002-08-08 John Levon <levon@movementarian.org>
10200 * ToolbarDefaults.C:
10203 * toc.C: lyxaction cleanup
10205 2002-08-08 John Levon <levon@movementarian.org>
10207 * BufferView2.C: small cleanup
10210 * lyxfind.C: move unnecessary header into the .C
10212 2002-08-08 John Levon <levon@movementarian.org>
10214 * funcrequest.h: just tedious nonsense
10217 * lyx_main.C: cleanups
10220 * vspace.C: remove dead header lyx_main.h
10222 2002-08-07 Angus Leeming <leeming@lyx.org>
10225 * paragraph_pimpl.h:
10226 Forward declare class Counters in paragraph.h by moving the ctrs member
10227 variable into Paragraph::Pimpl.
10228 (counters): new method, returning a reference to pimpl_->ctrs.
10230 * text2.C: ensuing changes.
10232 2002-08-07 John Levon <levon@movementarian.org>
10234 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10236 * BufferView_pimpl.C: announce X selection on double/triple
10239 * lyx_main.C: use correct bool in batch dispatch
10241 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10243 2002-08-07 André Pönitz <poenitz@gmx.net>
10245 * funcrequest.h: new class to wrap a kb_action and its argument
10248 * BufferView_pimpl[Ch]:
10252 * lyxrc.C: subsequent changes
10255 2002-08-07 John Levon <levon@movementarian.org>
10257 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10258 document options change.
10260 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10265 * makefile.am: move counters functionality over from
10266 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10268 2002-08-06 John Levon <levon@movementarian.org>
10270 * WordLangTuple.h: new file for word + language code tuple
10281 * BufferView2.C: use WordLangTuple
10284 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10286 2002-08-06 John Levon <levon@movementarian.org>
10288 * lyx_main.C: fix cmdline batch handling
10290 2002-08-06 André Pönitz <poenitz@gmx.net>
10292 * lyxrc.C: set default for show_banner to true
10294 2002-08-06 John Levon <levon@movementarian.org>
10296 * pspell.C: fix a crash, and allow new aspell to work
10298 2002-08-06 John Levon <levon@movementarian.org>
10301 * kbmap.C: small cleanup
10304 * vspace.C: add const
10306 2002-08-05 John Levon <levon@movementarian.org>
10308 * LyXAction.C: back to tabular-insert
10310 2002-08-04 John Levon <levon@movementarian.org>
10313 * BufferView.C: cosmetic change
10315 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10325 * BufferView2.C: purge all "Lyx" not "LyX" strings
10328 * lyxcursor.C: attempt to add some documentation
10333 * ToolbarDefaults.C:
10334 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10335 merge with LFUN_TABULAR_INSERT
10342 * pspell.C: split up i/pspell implementations into separate
10343 files, many cleanups
10345 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10347 * text2.C: some cleanup
10349 * lyxfunc.C: don't check for isp_command == "none" any more, it
10350 didn't make any sense
10352 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10357 * makefile.am: move counters functionality over
10358 from text2.C/paragraph.[Ch] to counters.[Ch], and
10360 2002-08-02 John Levon <levon@movementarian.org>
10362 * buffer.C: s/lyxconvert/lyx2lyx/
10364 2002-08-02 Angus Leeming <leeming@lyx.org>
10366 * lyxlex.C: revert John's change as it breaks reading of the user
10369 2002-08-02 Angus Leeming <leeming@lyx.org>
10371 * importer.C (Import):
10372 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10373 changes due to LyXView::view() now returning a boost::shared_ptr.
10375 2002-08-02 John Levon <levon@movementarian.org>
10377 * lyxlex.C: small cleanup
10379 2002-08-02 John Levon <levon@movementarian.org>
10381 * text2.C (status): small cleanup, no logic change
10383 2002-08-01 John Levon <levon@movementarian.org>
10386 * buffer.C (writeFile): don't output alerts, caller
10390 * lyx_cb.C: from above
10392 * lyxfunc.C: allow to open non-existent files
10394 2002-07-31 John Levon <levon@movementarian.org>
10396 * lyxserver.C: don't let incidental errors get
10399 2002-07-30 John Levon <levon@movementarian.org>
10401 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10403 2002-07-30 John Levon <levon@movementarian.org>
10406 * lyxserver.C: remove I/O callback too
10408 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10410 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10413 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10415 * many files: strip,frontStrip -> trim,ltrim,rtrim
10417 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10419 * PrinterParams.h: remove extern containsOnly, and include
10420 support/lstrings.h instead.
10422 * LaTeX.C (scanAuxFile): modify because of strip changes
10424 * buffer.C (makeLaTeXFile): ditto
10425 * bufferparams.C (writeFile): ditt
10426 * lyxfont.C (stateText): ditto
10427 * lyxserver.C (read_ready): ditto
10428 * vc-backend.C (scanMaster): ditto
10430 * BufferView_pimpl.h: ws changes
10432 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10434 2002-07-26 André Pönitz <poenitz@gmx.net>
10436 * kb_sequence.C: remove unnedred usings
10438 2002-07-26 Juergen Vigna <jug@sad.it>
10440 * lyxfind.C (LyXReplace): we have to check better if the returned
10441 text is not of theLockingInset()->getLockingInset().
10443 2002-07-25 Juergen Vigna <jug@sad.it>
10445 * lyxfind.C (LyXReplace): don't replace if we don't get the
10448 * undo_funcs.C (createUndo): remove debugging code.
10450 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10452 * buffer.C (parseSingleLyXformat2Token): Use default placement
10453 when reading old floats.
10455 * FloatList.C (FloatList): Change the default placement of figure
10456 and tables to "tbp".
10458 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10460 * MenuBackend.C: using std::max
10462 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10464 * MenuBackend.C (expandToc):
10465 (expandToc2): code moved from xforms menu frontend. It is now
10466 generic and TOCs are transparent to menu frontends.
10468 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10470 * toc.C (getTocList): protect against buf=0
10472 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10473 Menu as first parameter. Now, this calls itself recursively to
10474 expand a whole tree (this will be useful for TOC handling)
10475 (expandFloatInsert): remove 'wide' version of floats
10477 * MenuBackend.h (submenuname): returns the name of the submenu.
10478 (submenu): returns the submenu itself, provided it has been
10479 created by MenuBackend::expand
10481 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10483 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10484 insets which have noFontChange == true. (bug #172)
10486 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10488 * BufferView_pimpl.C: add connection objects and use them...
10491 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10493 * MenuBackend.C (expandLastfiles):
10496 (expandFloatListInsert):
10497 (expandFloatInsert):
10498 (expand): split expand in parts
10500 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10502 * lyx_gui.C: use lyx_gui::exit()
10504 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10506 * LyXAction.C: show the failing pseudo action
10508 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10510 * buffer.C (readFile): Run the lyxconvert script in order to read
10513 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10517 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10519 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10523 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10525 2002-07-22 Herbert Voss <voss@lyx.org>
10528 * lyxlength.[Ch]: add support for the vertical lengths
10530 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10532 * toc.[Ch]: std:: fixes
10534 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10536 * lyxrc.C: do not include lyx_main.h
10538 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10544 * BufferView2.C: include "lyxlex.h"
10547 * bufferparams.h: do not #include "lyxlex.h"
10549 * lyxtextclasslist.C (Add): remove method
10550 (classlist): renamed to classlist_
10552 * paragraph_pimpl.C:
10556 * bufferview_funcs.C:
10561 * toc.C (getTocList): use BufferParams::getLyXTextClass
10563 * toc.C (getTocList): use InsetFloat::addToToc
10565 * toc.[Ch]: new files, containing helper functions to handle table
10568 * lyxfunc.C (dispatch): no need to remove spaces around command
10570 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10571 first command of the sequence; it is not very clever, but I do not
10572 have a better idea, actually
10574 * LyXAction.C (LookupFunc): make sure to remove space at the
10575 beginning and end of the command
10577 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10579 * MenuBackend.C (getMenubar): new method: return the menubar of
10581 (read): treat differently reading of menu and menubar (in
10582 particular, the menubar has no name now)
10583 (Menu::menubar): remove
10585 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10588 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10590 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10591 a bibitem inset in a RTL paragraph.
10593 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10595 * paragraph_pimpl.C: constify
10597 * BufferView_pimpl.C:
10599 * lyxfunc.C: fix dispatch in a nicer way
10601 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10603 * lyxfunc.C (dispatch):
10604 * BufferView_pimpl.C:
10605 * BufferView_pimpl.h:
10607 * BufferView.h: rename Dispatch() to dispatch()
10609 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10611 * lyxlayout.C (Read): honor DependsOn tag
10613 * lyxlayout.[Ch] (depends_on): new method
10615 * version.C.in: update lyx_docversion
10617 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10619 * paragraph.C (validate): remove from here...
10620 * paragraph_pimpl.C (validate): ... and move here
10621 (isTextAt): make it const
10623 * buffer.C (getLists): ws cleanup
10625 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10627 * language.C (read): Use iso8859-1 encoding in latex_lang
10628 (this prevents LyX from crashing when using iso10646-1 encoding).
10630 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10632 * text2.C (toggleInset): if cursor is inside an inset, close the
10633 inset and leave cursor _after_ it
10635 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10637 * lyxfunc.C: move minibuffer completion handling out of here
10639 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10641 * BufferView_pimpl.C:
10642 * LaTeX.C: fix dispatch calls
10644 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10646 * text.C (drawChars): Fix Arabic text rendering.
10648 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10652 * lyxfunc.C: remove message-push/pop
10656 * lyxfunc.C: rationalise some code by removing verboseDispatch
10657 in favour of a bool argument to dispatch()
10659 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10661 * lyx_main.C (init): make sure to read symlinks as absolute paths
10663 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10666 * lyxfunc.C: no need for commandshortcut to be a member
10668 2002-07-15 André Pönitz <poenitz@gmx.net>
10670 * converter.C: add support for $$s (scripts from lib/scripts dir)
10671 * lyx_main.C: white space
10673 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10677 * lyxrc.C: remove second exit confirmation
10679 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10684 * BufferView_pimpl.h:
10685 * BufferView_pimpl.C:
10686 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10688 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10690 * MenuBackend.C (expand): add numeric shortcuts to document menu
10692 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10694 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * lyxfont.C (setLyXFamily):
10703 * buffer.C (asciiParagraph): use ascii_lowercase
10705 2002-07-15 Mike Fabian <mfabian@suse.de>
10707 * lyxlex_pimpl.C (search_kw):
10708 * lyxlex.C (getLongString):
10709 * converter.h (operator<):
10710 * converter.C (operator<):
10711 * buffer.C (parseSingleLyXformat2Token):
10713 * ToolbarDefaults.C (read):
10714 * MenuBackend.C (checkShortcuts):
10716 * LColor.C (getFromGUIName):
10717 (getFromLyXName): use the compare_ascii_no_case instead of
10718 compare_no_case, because in turkish, 'i' is not the lowercase
10719 version of 'I', and thus turkish locale breaks parsing of tags.
10721 2002-07-16 Angus Leeming <leeming@lyx.org>
10723 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10724 now takes a Buffer const & argument.
10726 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10728 * BufferView.C (resize): check there's a buffer to resize
10730 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10732 * lyxfunc.C: remove dead code
10735 * lyxserver.C: use lyx_guii::set_read_callback
10737 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10739 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10740 an inset in a RTL paragraph.
10742 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10744 * lyxfunc.C: repaint after a font size update
10746 2002-07-15 André Pönitz <poenitz@gmx.net>
10748 * lyxlength.C: inBP should be able to return negative values
10750 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10752 * lyxfunc.C: use lyx_gui::update_fonts()
10754 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10756 * lyxfunc.C: use lyx_gui::update_color()
10758 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10764 * lyxrc.C: remove file->new asks for name option, and let
10765 buffer-new take an argument
10767 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10769 * BufferView_pimpl.C: remove unneeded extra repaint()
10771 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10773 * LyXAction.C: allow command-sequence with NoBuffer
10775 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10777 2002-07-10 Angus Leeming <leeming@lyx.org>
10779 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10781 2002-07-09 Angus Leeming <leeming@lyx.org>
10783 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10785 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10787 * lengthcommon.h: whitespace
10789 * lyxfunc.C: update scrollbar after goto paragraph
10791 * lyxtext.h: factor out page break drawing, and fix it so
10792 page break/added space paints as selected nicely
10794 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10796 * BufferView_pimpl.C: add FIXMEs, clean up a little
10798 2002-07-09 André Pönitz <poenitz@gmx.net>
10800 * lyxfont.[Ch]: support for wasy symbols
10802 2002-07-08 André Pönitz <poenitz@gmx.net>
10804 * BufferView_pimpl.C: apply John's patch for #93.
10806 2002-07-05 Angus Leeming <leeming@lyx.org>
10808 * BufferView_pimpl.C (buffer): generate previews if desired.
10810 * LColor.h: add "preview" to the color enum.
10812 * LColor.C (LColor): add a corresponding entry to the items array.
10814 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10817 2002-07-05 Angus Leeming <leeming@lyx.org>
10819 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10820 The body of the code is now in the method that is passed an ostream &
10821 rather than a file name.
10822 Pass an additional only_preamble parameter, useful for the forthcoming
10825 2002-07-03 André Pönitz <poenitz@gmx.net>
10827 * lyxfunc.C: simplify getStatus() a bit for math stuff
10829 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10831 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10833 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * text.C (changeRegionCase): do not change case of all the
10836 document when region ends at paragraph end (bug #461)
10838 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10840 * paragraph.C (startTeXParParams):
10841 (endTeXParParams): add \protect when necessary
10843 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10845 * BufferView_pimpl.C (workAreaExpose): remove warning
10847 2002-06-27 Angus Leeming <leeming@lyx.org>
10849 * Makefile.am: add lyxlayout_ptr_fwd.h.
10851 2002-06-26 André Pönitz <poenitz@gmx.net>
10853 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10855 2002-06-25 Angus Leeming <leeming@lyx.org>
10857 * lyxfunc.C (dispatch): Comment out the call to
10858 grfx::GCache::changeDisplay. The method no longer exists now that the
10859 pixmap generation part of the graphics loader has been moved into
10862 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10864 * text2.C: layout as layout
10866 * text.C: layout as layout
10868 * tabular.C (OldFormatRead): layout as layout
10870 * paragraph_pimpl.C (TeXDeeper): layout as layout
10871 (realizeFont): layout as layout
10873 * paragraph.C (writeFile): layout as layout
10874 (validate): layout as layout
10875 (getFont): layout as layout
10876 (getLabelFont): layout as layout
10877 (getLayoutFont): layout as layout
10878 (breakParagraph): layout as layout
10879 (stripLeadingSpaces): layout as layout
10880 (getEndLabel): layout as layout
10881 (getMaxDepthAfter): layout as layout
10882 (applyLayout): layout as layout
10883 (TeXOnePar): layout as layout
10884 (simpleTeXOnePar): layout as layout
10885 (TeXEnvironment): layout as layout
10886 (layout): layout as layout
10887 (layout): layout as layout
10889 * lyxtextclass.C (compare_name): new functor to work with
10890 shared_ptr, layout as layout
10891 (Read): layout as layout
10892 (hasLayout): layout as layout
10893 (operator): layout as layout
10894 (delete_layout): layout as layout
10895 (defaultLayout): layout as layout
10897 * lyxlayout_ptr_fwd.h: new file
10899 * lyxlayout.C (Read): layout as layout
10901 * lyx_cb.C (MenuInsertLabel): layout as layout
10903 * bufferlist.C (newFile): layout as layout
10905 * buffer.C (readLyXformat2): layout as layout
10906 (parseSingleLyXformat2Token): layout as layout
10907 (insertStringAsLines): layout as layout
10908 (asciiParagraph): layout as layout
10909 (latexParagraphs): layout as layout
10910 (makeLinuxDocFile): layout as layout
10911 (simpleLinuxDocOnePar): layout as layout
10912 (makeDocBookFile): layout as layout
10913 (simpleDocBookOnePar): layout as layout
10914 (getLists): layout as layout
10916 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10918 * CutAndPaste.C (cutSelection): layout as layout
10919 (pasteSelection): layout as layout
10920 (SwitchLayoutsBetweenClasses): layout as layout
10922 * BufferView_pimpl.C (Dispatch): layout as layout
10923 (smartQuote): layout as layout
10925 * BufferView2.C (unlockInset): layout as layout
10927 2002-06-24 André Pönitz <poenitz@gmx.net>
10929 * lyxfunc.C: fix #487
10931 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10935 * lyxfunc.C: remove display_shortcuts, show_banner
10937 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10939 * Buffer_pimpl.C: oops, update on resize
10941 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10948 * BufferView.C: use repaint()
10950 * BufferView_pimpl.h:
10951 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10952 as it's a clearer description. Remove superfluous
10955 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10957 * text.C: fix bug 488. Not ideal, but getting
10958 getWord() to work properly for the insets that
10959 matter is more difficult ...
10961 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10963 * BufferView_pimpl.C:
10966 * lyxfunc.C: remove the six million index lyxfuncs to just
10967 one, and DTRT (bug 458)
10969 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10973 * BufferView_pimpl.h:
10974 * BufferView_pimpl.C: clean up resize() stuff,
10975 and unnecessary updateScreen()s
10977 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10981 * BufferView_pimpl.h:
10982 * BufferView_pimpl.C:
10985 * minibuffer.C: remove focus management of workarea,
10986 not needed. Use screen's greyOut()
10988 2002-06-17 Herbert Voss <voss@lyx.org>
10990 * converter.C: (convert) do not post a message, when converting
10991 fails, let the calling function decide what to do in this case
10993 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10995 * lyxfunc.C: tidy up a little
10997 2002-06-16 <alstrup@diku.dk>
10999 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11000 Got rid of FORMS_H_LOCATION include. Now we are
11003 2002-06-15 LyX Development team <lyx@rilke>
11005 * buffer.[Ch] (sgmlOpenTag):
11006 (sgmlCloseTag): Added support for avoiding pernicious mixed
11007 content. Return number of lines written.
11009 (makeLinuxDocFile):
11010 (makeDocBookFile): Fixed calls to sgml*Tag.
11011 Simple white space clean.
11013 (simpleDocBookOnePar): Simple white space clean.
11015 * tabular.[Ch] (docBook): Renamed to docbook and got another
11016 argument to related with the pernicious mixed content.
11018 (docbookRow): Fixed calls for docbook inset method.
11020 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11022 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11023 so it's X11 independent.
11027 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11029 2002-06-15 Lyx Development team <lyx@electronia>
11031 * intl.h: Renamed getTrans to getTransManager.
11033 2002-06-14 Angus Leeming <leeming@lyx.org>
11035 * Makefile.am: nuke forgotten stl_string_fwd.h.
11037 2002-06-12 Angus Leeming <leeming@lyx.org>
11039 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11041 2002-06-13 Angus Leeming <leeming@lyx.org>
11044 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11046 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11048 * kbmap.C (getiso): add support for cyrillic and greek
11050 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11054 * BufferView_pimpl.h:
11055 * BufferView_pimpl.C: move bogus scrolling logic
11058 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11061 * BufferView_pimpl.C: view->resize() change
11063 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11065 * BufferView_pimpl.C: topCursorVisible
11068 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11072 * lyx_gui.C: move to frontends/
11076 * lyx_main.C: changes from above
11078 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11085 * lyx_main.C: minor tidy
11087 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11089 * BufferView_pimpl.h:
11090 * BufferView_pimpl.C:
11092 * BufferView.C: make painter() const,
11095 * BufferView2.C: use screen() accessor
11098 * lyx_main.C: some minor cleanup
11100 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11102 * BufferView_pimpl.h:
11103 * BufferView_pimpl.C: remove enter/leaveView,
11106 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11111 * BufferView_pimpl.h:
11112 * BufferView_pimpl.C: only construct screen once,
11115 * lyxrc.C: remove pointless comment
11117 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11120 * BufferView.C: remove active() and belowMouse()
11122 * BufferView_pimpl.h:
11123 * BufferView_pimpl.C: use workarea() not workarea_,
11124 and make it use a scoped_ptr instead
11126 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11128 * lyx_gui.C: add debug message on BadWindow
11130 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11132 * sp_spell.C: fdopen is not part of the C++ standard.
11134 * paragraph.C (InsetIterator): use >= instead of ==
11136 2002-06-07 Angus Leeming <leeming@lyx.org>
11138 Fixes needed to compile with Compaq cxx 6.5.
11139 * BufferView_pimpl.C:
11146 * lyxtextclasslist.C:
11151 all c-library variables have been moved into namespace std. Wrap
11152 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11157 Add a using std::abs declaration.
11159 * kbmap.h (modifier_pair):
11160 * paragraph.h (InsetTable, InsetList):
11161 * lyxfont.h (FontBits):
11162 type definition made public.
11164 * bufferlist.C (emergencyWriteAll): the compiler complains that
11165 there is more than one possible lyx::class_fun template to choose from.
11166 I re-named the void specialisation as lyx::void_class_fun.
11168 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11170 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11171 the compiler is is unable to find tostr in write_attribute.
11173 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11175 * buffer.C (sgmlError): hide #warning
11177 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11179 * xtl/*: get rid of xtl, which is not in use anyway
11181 * LyXAction.C (init):
11182 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11183 were unimplemented xtl experimentation
11185 2002-06-04 André Pönitz <poenitz@gmx.net>
11187 * lyxfunc.C: disable array operation on simple formulae
11189 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11191 * converter.C: constify a bit
11193 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11195 * lyx_gui.C: check xforms version correctly
11197 2002-04-30 Herbert Voss <voss@lyx.org>
11199 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11202 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11204 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11205 attempt to register it with a VCS)
11207 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11209 * lyx_main.C (init): honor variables LYX_DIR_13x and
11212 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11216 * lyx_main.C: fix a crash on bad command line,
11217 and give a useful exit status on error
11219 * lyxfunc.C (doImport): allow -i lyx to work
11221 2002-03-30 André Pönitz <poenitz@gmx.net>
11223 * lyxfunc.C: mathed font changes
11225 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11240 * trans_mgr.h: srcdocs, and some minor cleanups
11242 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11244 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11245 call getFont all the time)
11247 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11249 * switch from SigC signals to boost::signals
11251 2002-05-29 André Pönitz <poenitz@gmx.net>
11253 * paragraph_pimpl.C (getChar): don't call size() too often...
11255 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11257 * paragraph_pimpl.C (insertChar): do not try to update tables when
11258 appending (pos == size())
11260 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11261 in order to reduce drastically the number of comparisons needed to
11262 parse a large document
11264 2002-05-29 André Pönitz <poenitz@gmx.net>
11270 * textclasslist.[Ch]:
11271 * sp_ispell.h: whitespace change
11273 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11275 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11276 lyxaction directly now.
11278 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11282 * lyxvc.C: remove unused headers
11284 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11291 * undo_funcs.C: some cleanups. Use shared_ptr
11292 and a template for the undo stacks.
11294 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11296 * BufferView_pimpl.h:
11297 * BufferView_pimpl.C:
11304 * text2.C: use key_state/mouse_state
11306 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11308 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11311 * chset.C: change include order
11312 (loadFile): use boost regex and get rid of LRegex and LSubstring
11314 * Makefile.am (BOOST_LIBS): new variable
11315 (lyx_LDADD): use it
11317 * LaTeX.C: change include order.
11318 (scanAuxFile): use boost regex and get rid of LRegex and
11322 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11327 * FontInfo.C: moved to frontends/xforms/
11330 * FontLoader.C: moved into frontends for GUIIzation
11335 * lyxfunc.C: changes from above
11337 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11339 * LColor.C: remove spurious X include
11341 * BufferView_pimpl.C:
11346 * text2.C: move font metrics to frontends/
11348 2002-05-24 Juergen Vigna <jug@sad.it>
11350 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11351 setting the undo_cursor.
11353 * ParagraphParameters.h: include local includes first.
11355 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11357 * BufferView_pimpl.C:
11358 * BufferView_pimpl.h:
11362 * screen.C: move WorkArea into frontends/
11368 * BufferView2.C: move LyXScreen into frontends/
11372 * lyx_gui.C: move lyxlookup into frontends/xforms/
11374 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11377 * BufferView_pimpl.C:
11387 * bufferview_funcs.C:
11400 * vc-backend.C: move LyX/XFormsView into frontends/
11402 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11414 * text2.C: move Painter to frontends/
11416 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11418 * buffer.C: comment out some some code that depend upon lyx_format
11421 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11422 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11424 * buffer.h (NO_COMPABILITY): turn off compability
11426 * ColorHandler.C: include scoped_array.hpp
11428 * font.C: Use more specific smart_ptr header.
11431 * ShareContainer.h: ditto
11432 * lyx_main.h: ditto
11434 * FontInfo.h: ditto
11435 * BufferView_pimpl.h: ditto
11436 * ColorHandler.h: ditto
11438 * kbmap.C (defkey): change call to shared_ptr::reset
11440 2002-05-21 Juergen Vigna <jug@sad.it>
11442 * buffer.C (insertErtContents): fix to insert ert asis if it is
11443 non empty. Skip it completely if it contains only whitespaces.
11445 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11447 * BufferView_pimpl.C:
11448 * BufferView2.C: clear selection on paste (bug 393)
11450 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * DepTable.C: include ctime
11454 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11456 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11458 2002-05-14 Juergen Vigna <jug@sad.it>
11460 * text.C (breakParagraph): fixed function to honor the keepempty
11461 layout in the right maner and also to permit the right breaking
11462 algorithm on empty or non empyt keepempty paragraphs.
11464 * paragraph.C (breakParagraph): we have to check also if the par
11465 is really empty (!size()) for isempty otherwise we do the wrong
11468 2002-05-10 Juergen Vigna <jug@sad.it>
11470 * buffer.[Ch] : The following are only changes to the ert
11471 compatibility read reading old LaTeX layout and font stuff and
11472 convert it to ERTInsets.
11474 * buffer.h: added isErtInset().
11476 * buffer.C (struct ErtComp): add a fromlayout bool to check
11477 if we're inside a LaTeX layout.
11478 (isErtInset): new helper function.
11479 (insertErtContents): look for other ert insets before this one
11480 and insert the contents there, so that we don't have subsequent
11481 ERT insets with nothing between them. This way we create only one
11482 inset with multiple paragraphs. Also check if we don't insert only
11483 spaces ' ' as they are ignored anyway afterwards in the .tex file
11484 so if we have only spaces we will ignore this latex part in the
11486 (parseSingleLyXformat2Token \\layout): better compatibility when
11487 reading layout-latex stuff.
11488 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11490 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11491 stuff after reading the inset only get the information back from
11494 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11496 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11498 * LaTeXFeatures.C (getBabelOptions): New method.
11500 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11502 * BufferView_pimpl.C (Dispatch): work around missing argument for
11505 2002-05-08 Juergen Vigna <jug@sad.it>
11507 * text.C (leftMargin): handle paragraph leftindent.
11509 * paragraph.C (writeFile): write the new \\leftindent tag.
11510 (validate): handle leftindent code.
11511 (TeXEnvironment): handle paragraphleftindent code again.
11513 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11515 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11516 for paragrap_extra indent code and new token \\leftindent.
11517 (latexParagraphs): handle the leftindent as environment.
11519 * ParameterStruct.h: added leftindent support.
11521 * ParagraphParameters.C (leftIndent): added support functions for
11522 the paragraph left indent.
11524 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11527 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11529 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11532 * text.C (computeBidiTables): No bidi in insetERT.
11534 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11537 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11539 * version.C.in: pre 5
11541 2002-05-02 José Matos <jamatos@fep.up.pt>
11542 * buffer.C (makeDocBookFile): white space changes, add newline to
11544 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11546 * tabular.C (docBook): fix typo.
11548 2002-05-03 Juergen Vigna <jug@sad.it>
11550 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11551 change in LyXText as we can not be sure it was not freed.
11552 (drawOneRow): remove unused code.
11554 * text.C (drawInset): redo the calculation of the need_break_row as
11555 it could have a row which was already freed.
11556 (draw): look at the return value of drawInset and return false if
11557 it also returned false.
11558 (paintRowText): look at the return value of draw and return false if
11559 it also returned false.
11561 * lyxtext.h: added bool return type to drawInset() and draw() so that
11562 if we have a change in the row so that the rowbreak has to be redone
11563 we abort drawing as it will be called again.
11565 2002-05-02 Juergen Vigna <jug@sad.it>
11567 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11568 a change in the maintext also if we're inside an inset.
11569 (Dispatch): set the cursor again after a break line and after the
11570 screen has been updated as it could be we're in a different row.
11572 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11573 to set the cursor behind the pargraph with > size().
11574 (setCursor): check also for the same paragraph when checking where
11575 to put the cursor if we have a NFR inset.
11577 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11578 parts of layout read further up as it still was in the wrong
11581 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * screen.C (drawFromTo): change sine fullRebreak always return
11586 * buffer.C (parseSingleLyXformat2Token): reindent some
11588 * BufferView_pimpl.C (update): change since fullRebreak always
11590 (Dispatch): git rid of the last hardcoded "Standard"s.
11592 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11594 * text2.[Ch] (fullRebreak): make it return void now that we always
11597 2002-04-30 Juergen Vigna <jug@sad.it>
11599 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11600 ert compatibility check for "latex" layout.
11602 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11604 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11605 minipages: use col% instead of p%, and also use the current font.
11606 (makeLaTeXFile): Fix use babel condition.
11607 (parseSingleLyXformat2Token): Correct font when reading old floats.
11609 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11611 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11612 inserting list of floats.
11614 2002-04-25 Herbert Voss <voss@lyx.org>
11616 * MenuBackend.C (expand): don't add the graphics extensions to the
11619 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11621 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11622 non-existing layout, do not complain if it was the default layout
11623 of the original class (bug #342)
11625 2002-04-24 Juergen Vigna <jug@sad.it>
11627 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11628 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11630 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11632 * buffer.C (getBibkeyList): If using \bibliography, return the
11633 option field with the reference itself. Enables us to provide natbib
11634 support when using \bibliography.
11636 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11638 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11640 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11641 natbib is provided by the LaTeX class.
11643 2002-04-23 Juergen Vigna <jug@sad.it>
11645 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11648 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11650 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11652 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11654 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11655 ensuremath around textordmasculine, textordfeminine and
11658 2002-04-19 Juergen Vigna <jug@sad.it>
11660 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11661 reinitializing the buffer otherwise row-dimensions may be wrong.
11662 (update): reset also the selection cursors if they do exits otherwise
11663 their x/y positions may be wrong.
11665 * text2.C (cursorDown): don't enter the inset if we came from a row
11666 above and are one row over the inset.
11668 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11669 really leaving an inset.
11671 2002-04-18 Juergen Vigna <jug@sad.it>
11673 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11674 of the selected paragraph does not have the selected layout also if
11677 * text2.C (setLayout): fixed bug which did not change last selected
11680 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11681 changed the read and substituted \\end_float with \\end_inset!
11683 * BufferView_pimpl.C (cursorPrevious):
11684 (cursorNext): fixed to make it work with rows heigher than the work
11685 area without moving the cursor only the draw of the row.
11686 (workAreaMotionNotify): fix jumping over high rows.
11688 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11690 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11693 2002-04-16 Juergen Vigna <jug@sad.it>
11695 * text2.C (setCursor): set also the irow().
11696 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11698 (cursorDown): support for locking an inset if the x_fix value goes
11699 inside it. That way I can transverse insets too with cursor up/down.
11701 * lyxrow.h: added irow helper function same as other (i) functions.
11703 * BufferView_pimpl.C (cursorPrevious):
11704 (cursorNext): fixed for insets!
11706 2002-04-15 Juergen Vigna <jug@sad.it>
11708 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11709 position otherwise it is wrong in some cases.
11711 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11712 inside the inset before the call.
11714 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11716 * buffer.[Ch] (getBibkeyList): make it const.
11718 2002-04-12 Juergen Vigna <jug@sad.it>
11720 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11722 * text2.C (getCursorX): new helper function
11723 (setCursor): compute also ix_
11724 (setCursorFromCoordinates): set also ix.
11726 * lyxcursor.h: added ix_ and helper functions.
11728 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11730 * buffer.C (insertStringAsLines): dont break paragraph if the this
11731 paragraph is inside an inset which does not permit it!
11733 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11734 also with no chars on this paragraph.
11735 (paintRowText): only paint stuff if it's inside the workarea!
11737 * paragraph.C (breakParagraph): honor keepempty flag and break the
11738 paragraph always below not above.
11740 * BufferView2.C (unlockInset): update the paragraph layout on inset
11741 unlock as we changed paragraph in such a case.
11743 * lyxfind.C (LyXFind): clear the former selection if not found!
11745 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11746 again called in insertChar().
11748 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11749 an inset which uses the whole row!
11750 (rightMargin): ditto.
11751 (insertChar): force a rebreak if we inserted an inset!
11753 2002-03-28 Herbert Voss <voss@lyx.org>
11755 * lyxlength.[Ch]: add inBP() to get the right PS-point
11756 units (BigPoint). With inPixels we have rounding errors
11758 2002-04-11 Juergen Vigna <jug@sad.it>
11760 * text2.C (setCursorFromCoordinates): set iy to the right value.
11761 (setCursor): add check if row->previous exists!
11763 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11764 an old float_type as this was the case in the old code!
11766 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11768 * BufferView2.C (showLockedInsetCursor): use iy
11769 (fitLockedInsetCursor): ditto
11771 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11772 locked insets as there we have the right value now.
11774 * lyxcursor.C: added iy_ variable and iy functions to set to the
11775 baseline of cursor-y of the locked inset.
11777 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11778 (setCursor): fixed for insets which need a full row.
11780 * text.C (rowLastPrintable): don't ignore the last space when before
11781 an inset which needs a full row.
11782 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11783 as last character of a row when before a inset which needs a full row.
11785 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * version.C.in: update date
11789 * text2.C (fullRebreak): try to always return true and see what
11792 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11794 * MenuBackend.C (expand): use Floating::listName
11796 * FloatList.C (FloatList): add listName argument to the built-in
11799 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11800 text associated with the float.
11802 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11804 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11806 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11808 * ShareContainer.h: add a couple of missing typenames.
11810 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11812 * lyxrc.C (getDescription): use _() correctly rather than N_().
11814 2002-03-28 Herbert Voss <voss@lyx.org>
11816 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11817 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11819 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11821 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11822 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11824 2002-03-29 Juergen Vigna <jug@sad.it>
11826 * lyxfunc.C (dispatch): add a missing fitCursor call.
11828 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11829 it was scrolled by a cursor move, so return the bool status.
11831 * BufferView.C (fitCursor): return the bool flag also to the outside
11832 world as this is needed.
11834 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11836 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11837 call the edit() as it is not needed (and wrong) IMO.
11838 (workAreaButtonPress): set the screen_first variable before evt.
11839 unlock the inset as this may change screen_first and then we have
11840 a wrong y position for the click!
11842 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11844 * MenuBackend.C (expand): another translation that I missed
11846 2002-03-28 Juergen Vigna <jug@sad.it>
11848 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11850 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11852 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11856 * MenuBackend.C (expand): fix export/view/update when there is no
11859 2002-03-27 Herbert Voss <voss@lyx.org>
11861 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11864 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11866 * bufferview_funcs.C (currentState): only show paragraph number
11867 for is DEVEL_VERSION is set.
11869 * lyxfunc.C (dispatch): put warning in INFO channel
11871 * MenuBackend.C (expand): translate the name of floats
11873 * FloatList.C (FloatList): mark the float names for translation
11875 * converter.C (convert): use LibScriptSearch
11877 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11879 * MenuBackend.C (defaults): fix default menu (we might as well get
11882 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11887 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11889 * lyxvc.C: reorder includes.
11891 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11893 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11896 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11898 * CutAndPaste.C: change layouts earlier on paste
11899 to avoid crashing when calling getFont()
11901 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11903 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11906 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11908 * WorkArea.C: remove 'Pending' debug message.
11910 * most files: ws cleanup
11912 * buffer.[Ch]: ws changes
11914 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11916 2002-03-21 Juergen Vigna <jug@sad.it>
11918 * tabular.C (SetMultiColumn): collapse also the contents of the
11919 cells and set the last border right. Added a Buffer const * param.
11921 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11926 2002-03-19 Juergen Vigna <jug@sad.it>
11928 * text2.C (clearSelection): reset also xsel_cache.
11930 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11931 where it needs to be called (John tells us to do so too :)
11932 (selectionLost): reset sel_cache.
11934 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11936 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11938 * text2.C (setCursorIntern): put debuging code in INSETS channel
11940 2002-03-19 André Pönitz <poenitz@gmx.net>
11942 * lyxfunc.C: tiny whitespace change
11944 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11946 * ToolbarDefaults.C (init):
11947 * LyXAction.C (init):
11949 * BufferView_pimpl.C (Dispatch):
11950 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11952 2002-03-19 Allan Rae <rae@lyx.org>
11954 * exporter.C (Export): removeAutoInsets before doing anything else.
11955 While I've just introduced a dependency on BufferView this really is
11956 the best place to clean the buffer otherwise you need to cleanup in
11957 a dozen places before calling export or cleanup in a dozen functions
11960 * converter.C (runLaTeX):
11961 (scanLog): Better handling of removeAutoInsets and screen updates.
11963 * lyxfunc.C (dispatch): small whitespace changes
11965 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11967 * WorkArea.C (C_WorkAreaEvent): return a value.
11968 (event_cb): return 1 if we handled the event, 0 otherwise.
11970 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11972 2002-03-18 Juergen Vigna <jug@sad.it>
11974 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11975 (GetAdditionalWidth): ditto.
11976 (RightLine): ditto.
11979 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11980 inset if we're there actually (probably not used right now but this
11981 is the direction to go for unifying code).
11982 (paste): disable code to clear the selection.
11984 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11985 inside an InsetText and move the check further up as it is in the
11988 * text2.C (pasteSelection): set a selection over the pasted text.
11990 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11992 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11993 and libgraphics to build on Cygwin.
11995 2002-03-15 Juergen Vigna <jug@sad.it>
11997 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11998 inserting an Inset into the paragraph. I know this is not the best
11999 fix but we already use current_view in CutAndPaste so we will remove
12000 all of it's using at the same time.
12002 * buffer.C (sgmlError): deactivated function till it is rewritten in
12003 the right mode, now it can create problems.
12005 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12006 before accessing it.
12008 2002-03-14 Juergen Vigna <jug@sad.it>
12010 * undo_funcs.C (textHandleUndo): do the right thing when updating
12011 the inset after the undo/redo.
12013 * text2.C (setCursor): just some testcode for #44 not ready yet.
12015 * undo_funcs.C (textHandleUndo): set the next() and previous()
12016 pointers of the paragraph to 0 before deleting otherwise we have
12017 problems with the Paragraph::[destructor].
12019 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12020 on a paragraph insertion.
12022 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12024 * buffer.C (asciiParagraph): use += operator for char append to
12027 * paragraph.C (getFontSettings): compare >= not just >
12028 (highestFontInRange): ditto
12031 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12033 * paragraph.C: change several algorithm to be more appripriate for
12034 the problem domain. This is lookip in FontList and in the InsetList.
12036 2002-03-13 André Pönitz <poenitz@gmx.net>
12039 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12041 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12046 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12048 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12050 * Painter.C (display): anon helper function, adjust code for this
12052 (pixmap): remove function.
12054 * Painter.h: remove private display variable.
12056 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12058 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12060 * WorkArea.[Ch]: remove figinset_canvas cruft.
12062 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * lyxtextclass.C (operator): add one item cache optimization.
12066 * bufferlist.h: doxy changes
12068 * bufferlist.C: ws changes
12070 * DepTable.[Ch] (ext_exist): place const in the right spot.
12072 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12074 (workAreaExpose): call resizeInsets when the with BufferView changes.
12075 (Dispatch): adjust for protectedBlank removal
12076 (specialChar): call updateInset if the insert went ok.
12078 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12079 specialChar instead.
12081 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12083 * BufferView.h: doxy change
12085 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12087 * lyxtextclass.C (operator[]): remove non-const version
12088 (defaultLayout): remove non-const version
12090 2002-03-12 Juergen Vigna <jug@sad.it>
12092 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12093 did resize the LyXText too.
12095 * buffer.C (readLyXformat2): set layout information on newly allocated
12098 * tabular.C (OldFormatRead): set layout information on the paragraph.
12100 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12102 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12104 2002-03-11 Juergen Vigna <jug@sad.it>
12106 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12108 (resizeCurrentBuffer): force also the insets to resize themselfes.
12109 (moveCursorUpdate): fixed up for InsetText.
12111 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12114 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12115 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12116 value of Dialogs::tooltipsEnabled().
12117 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12119 2002-03-08 Juergen Vigna <jug@sad.it>
12121 * BufferView_pimpl.C (updateInset): update inset inside inset also
12122 if it isn't inside theLockingInset().
12124 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12126 * buffer.C (asciiParagraph): redo some of the word and line length
12128 (getLists): look for Caption instead of caption.
12130 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12132 * buffer.C (Buffer): initialize niceFile to true
12134 (makeLinuxDocFile):
12135 (makeDocBookFile): make sure niceFile is true on exit
12137 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12139 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12141 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12143 * LyXSendto.C: remove.
12144 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12145 * lyx_gui.C: remove now-redundant comment.
12146 * ColorHandler.h: remove forward declaration of class WorkArea.
12147 * lyxfunc.C: remove #include "WorkArea.h".
12149 2002-03-07 Juergen Vigna <jug@sad.it>
12151 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12152 got moved away with the DEPM and also set the inset_owner always
12153 right which before could have been omitted.
12155 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12157 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12158 wanted layout is not found.
12160 2002-03-07 Juergen Vigna <jug@sad.it>
12162 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12164 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12166 * paragraph.C (breakParagraph): use default layout not layout of
12168 (Paragraph): clear ParagraphParameters.
12170 2002-03-06 Juergen Vigna <jug@sad.it>
12172 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12173 otherwise it would not be a valid lenght. Fixed a special case in
12174 the minipage compatibility read where we end the document with a
12177 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12178 was set as it could be 0 for InsetTexts first entry.
12180 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12182 * paragraph.C (writeFile): if layout is empty write out
12183 defaultLayoutName().
12185 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12186 file without named layout we set layout to defaultLayoutName().
12188 2002-03-06 Juergen Vigna <jug@sad.it>
12190 * CutAndPaste.C (copySelection): set layout for new paragraph.
12192 * text.C (prepareToPrint): leave ERT inset left aligned
12193 (leftMargin): don't indent paragraphs inside ERT insets
12195 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12197 * paragraph.C (breakParagraph): dont call clear do the work manually
12199 * paragraph.[Ch] (clear): remove function
12201 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12203 * paragraph.C (Paragraph): dont call clear, the work has already
12206 * lyxtextclass.C (operator): assert if n is empty
12208 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12209 work manually instead.
12211 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12213 * BufferView_pimpl.C: protect selectionLost against text == 0
12215 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12217 * text.C (breakParagraph): fix a setting layout to '0' problem.
12219 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12221 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12222 final location of file, for the included files, and graphics.
12224 2002-03-05 Juergen Vigna <jug@sad.it>
12226 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12228 2002-03-04 Juergen Vigna <jug@sad.it>
12230 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12232 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12233 last column of multicolumn cells.
12234 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12236 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12238 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12239 file if it doesn't go to a temporary file.
12241 * buffer.C (sgmlOpenTag):
12242 (sgmlCloseTag): remove extra newline insertion.
12244 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * text.C (getRowNearY): comment out debug msg
12248 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12250 * text2.C: first -> first_y
12252 * text.C (getRowNearY): add some attemts at a possible
12253 optimization, not working.
12255 * tabular.[Ch]: add BufferParams to several function so that newly
12256 created paragraph can be initialized to he default layotu for the
12259 * tabular-old.C (ReadOld): add buf->params to call of Init
12261 * screen.C: rename text->first to text->first_y
12263 * paragraph.C (breakParagraph): always set layout in the broken
12266 * lyxtextclass.C (Read): remove lowercase
12269 (delete_layout): ditto
12271 * lyxtext.h: rename first -> first_y
12273 * lyxlayout.C (Read): remove lowercase
12276 (obsoleted_by): ditto
12278 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12280 * buffer.C (insertErtContents): add params are to InsetERT
12281 (parseSingleLyXformat2Token): add code to check if a paragraphs
12282 layout really exist.
12283 (parseSingleLyXformat2Token): add params to several inset
12285 (asciiParagraph): remove lowercase, do the layout comparisons with
12288 * BufferView_pimpl.C (cursorNext): first -> first_y
12289 (resizeCurrentBuffer): first -> first_y
12290 (updateScrollbar): first -> first_y
12291 (scrollCB): first -> first_y
12292 (workAreaMotionNotify): first -> first_y
12293 (workAreaButtonPress): first -> first_y
12294 (checkInsetHit): first -> first_y
12295 (cursorPrevious): first -> first_y
12296 (cursorNext): first -> first_y
12297 (Dispatch): add buffer_->params to severl inset contructors
12299 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12301 * lyxlayout.C (Read): remove some debug info that I forgot.
12303 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12304 clean up the code slightly.
12305 (makeLinuxDocFile): ditto
12306 (makeDocBookFile): ditto
12308 * text2.C: layout as string
12310 * text.C: layout as string
12312 * paragraph_pimpl.C: layout as string
12314 * paragraph.[Ch]: layout as string
12316 * lyxtextclasslist.[Ch]: layout as string
12318 * lyxtextclass.[Ch]: layout as string
12320 * lyxtext.h: layout as string
12322 * lyxlayout.[Ch]: layout as string
12324 * lyx_cb.C: layout as string
12326 * bufferview_funcs.C: layout as string
12328 * bufferparams.C: layout as string
12330 * buffer.C: layout as string
12332 * LyXView.[Ch]: layout as string
12334 * LaTeXFeatures.[Ch]: layout as string
12336 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12338 * BufferView_pimpl.C: change current_layout to string, remove
12343 (workAreaButtonRelease): layout as string
12345 * BufferView2.C (unlockInset): adjust
12347 * vspace.C (asLatexCommand): use an explict temp variable.
12349 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12351 * Makefile.am: use FRONTEND_*
12353 2002-03-01 Juergen Vigna <jug@sad.it>
12355 * tabular.C (SetWidthOfMulticolCell): changed to something better
12356 I hope but still work in progress.
12357 (recalculateMulticolumnsOfColumn): renamed function from
12358 recalculateMulticolCells as it is more appropriate now.
12359 (SetWidthOfCell): calculate multicols better.
12361 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12363 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12365 * lyxfunc.C (processKeySym): print sequence also if it is
12366 `deleted' (complete)
12368 * kbsequence.C (print): print sequence even if it is deleted
12369 (complete would be a better word, actually).
12371 * lyxfunc.C (dispatch): print complete options after a prefix key
12373 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12375 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12377 * text2.C (setCharFont): eliminate setCharFont code duplication.
12379 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12381 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12382 LFUN_TABULAR_FEATURE (bug #177)
12384 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12386 * Makefile.am: remove figure.h
12388 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12390 * Bufferview_pimpl.C:
12402 * text2.C: remove #include "lyx_gui_misc.h".
12404 * LaTeX.C: added #include <cstdio>
12406 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12408 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12409 that the paragraph following this one can have.
12411 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12413 * vspace.C (asLatexCommand): fix bogus gcc warning
12415 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12417 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12419 * text2.C (setLayout): get rid of redundant code
12421 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12423 * text2.C (incDepth): make sure depth cannot be increased beyond
12426 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12428 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12429 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12431 * PainterBase.h (image):
12432 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12433 a LyXImage const *.
12435 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12439 * BufferView_pimpl.C:
12440 * BufferView_pimpl.h:
12460 * sp_spell.C: remove fig inset, and the crap house of
12461 cards that follows it
12463 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12468 * os2_errortable.h:
12469 * nt_defines.h: move .h into support/
12471 * vms_defines.h: remove
12473 * WorkArea.C: add space in debug output
12477 * buffer.C: add WITH_WARNINGS
12481 * bufferlist.C: s/retrive/retrieve/, add docs
12490 * chset.C: add docs
12492 * lyxgui.C: add ID to X error handler
12494 * lyxtestclass.c: fix typo
12496 2002-02-26 Juergen Vigna <jug@sad.it>
12498 * tabular_funcs.C (write_attribute): changed so that some default
12499 attributes are not written at all.
12500 (getTokenValue): set default values before trying to read the
12501 value so we have the return value always set as default if we don't
12502 find the token we search for.
12504 * tabular.C (Write): write bools as bools not as strings!
12506 2002-02-22 Juergen Vigna <jug@sad.it>
12508 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12509 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12511 * text.C (leftMargin): don't add an indent for paragraphs inside
12512 tabular cells (fix #208).
12514 2002-02-21 José Matos <jamatos@fep.up.pt>
12516 * tabular.C (docBook): fixed support for long tables.
12518 2002-02-20 Juergen Vigna <jug@sad.it>
12520 * text2.C (getFont): get the drawing font of the Inset if this
12521 paragraph is inside an inset (only important for InsetERT for now).
12523 * buffer.C (insertErtContents): use new lanugage params in ERT
12526 * CutAndPaste.C: commenting out seemingly uneeded code.
12528 2002-02-19 Allan Rae <rae@lyx.org>
12530 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12531 Iterators might be simple to use but they also get invalidated.
12532 (removeAutoInsets): renamed saved cursor tracking variables and added
12533 some comments to clarify what everything does.
12535 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12542 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12543 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12546 * vc-backend.h: remove #include "support/syscall.h"
12550 * converter.C: rearrange #includes in Lars' approved fashion.
12552 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12553 forward declare class Timeout in the header file.
12555 * XFormsView.C: changes due to the above.
12557 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12558 similar to LyXView.
12560 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12561 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12563 2002-02-18 José Matos <jamatos@fep.up.pt>
12565 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12568 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12570 * a lot of small ws changes
12571 * add a lot of using std::XXX
12572 * use std construcs some places where approp.
12573 * use some exisint stuff from lyxfunctional where approp.
12574 * Make file changes to use partial linking (lets test this now...)
12576 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12580 remove #include "support/syscontr.h" as it's redundant. Always has been.
12588 change Systemcalls::System to Systemcalls::Wait and
12589 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12590 No change of functionality, just reflects the stripped down Systemcalls
12593 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12595 * debug.[Ch]: add a GRAPHICS type to the enum.
12597 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12599 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12601 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12604 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12606 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12607 match the changes below.
12609 * text2.C (toggleInset): if there is not editable inset at cursor
12610 position, try to see if cursor is _inside_ a collapsable inset
12613 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12615 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12616 document menu has a nice checkbox
12618 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12620 * lyxlength.C (asLatexString): change PW to output as percent of
12623 * lengthcommon.C: change '%' to 't%'
12625 * lyxfunc.C (dispatch): a few comments from Martin
12627 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12631 * BufferView_pimpl.h:
12632 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12635 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12637 * vspace.C (inPixels): fix compiler warning
12639 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12641 * lyxfunc.C (getStatus): fix status message for disabled commands.
12643 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12645 * BufferView_pimpl.C: fix crash on close buffer
12646 during selection (#227)
12648 2002-01-27 Herbert Voss <voss@lyx.org>
12650 * buffer.C: link old Figure to new graphic inset
12652 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12654 * FontLoader.C (getFontinfo): Change the latex font names in order
12655 to match the names of type1inst.
12657 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12659 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12661 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12662 (extchanged): ditto
12664 (remove_files_with_extension): ditto
12665 (remove_file): ditto
12668 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12669 document is smaller than the work area height. Do not initialize
12670 static variables to 0.
12672 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12674 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12676 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12677 LFUN_LAYOUT_PARAGRAPHS.
12679 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12680 tabular. It is possible to provide a possible cell, which will
12681 typically be the actcell from the corresponding insettabular
12683 * lyxfunc.C (getStatus): small cleanup; disable
12684 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12687 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12689 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12691 * paragraph.C (startTeXParParams):
12692 (endTeXParParams): new methods. The LaTeX code to
12693 start/end paragraph formatting
12694 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12695 empty (fixes bug #200)
12697 * vspace.C (inPixels): adapt to the change below
12698 (inPixels): [later] more cleanups (remove unused variables)
12700 * lyxlength.C (inPixels): change to use a width and a height as
12703 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12705 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12706 Replaced with \paperwidth
12708 * DepTable.C (insert): add std:: qualifier
12710 2002-01-18 Allan Rae <rae@lyx.org>
12712 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12715 * text.C (drawInset): Turned out I didn't know enough about how
12716 rebreaking worked. This fixes most of the redraw problems. I see
12717 an occasional cursor trail when a line is broken now and the cursor
12718 placement can seem out by a few pixels also after a rebreak.
12720 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12722 * buffer.C (parseSingleLyXformat2Token): update because minipage
12723 width is now a LyXLength
12725 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12727 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12730 2002-01-17 Juergen Vigna <jug@sad.it>
12732 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12734 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12735 is set correctly and the inset is updated correctly.
12737 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12739 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12740 the beginning of the loop.
12742 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12744 * lyxrc.C: improve help for use_scalable_fonts
12746 2002-01-17 Allan Rae <rae@lyx.org>
12748 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12750 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12752 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12753 make sure to set their inset_owner to the right value (bug #171)
12755 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12758 * DepTable.C: Implement mtime checking to reduce time spent doing
12761 2002-01-16 Juergen Vigna <jug@sad.it>
12763 * tabular.C (GetAdditionalHeight): one of error fixed.
12765 * lyxrc.C (output): small fix in writing use_pspell.
12767 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12769 * sp_base.h: #include LString.h
12771 2002-01-16 Allan Rae <rae@lyx.org>
12773 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12774 Can someone check this please?
12776 * text.C (drawInset): It was possible that p.row would be removed by
12777 breakAgainOneRow upsetting a few other settings. There may be another
12778 small tweak possible by setting need_break_row = 0 when p.row has been
12779 removed but I don't know enough about the logic here.
12781 2002-01-15 Allan Rae <rae@lyx.org>
12783 * text.C (insertChar): removed conditional truism.
12785 * BufferView2.C (removeAutoInsets): More tweaks.
12786 cur_par_prev could be a stray pointer. Check for trailing empty line
12787 in case last line was cur_par and only had an error inset on it.
12789 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12791 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12794 * vc-backend.C (most methods):
12795 * exporter.C (Export):
12796 * converter.C (convert):
12798 * LyXSendto.C (SendtoApplyCB):
12799 * lyxfunc.C (dispatch):
12803 * lyx_cb.C (AutoSave):
12805 * BufferView_pimpl.C (MenuInsertLyXFile):
12806 * buffer.C (runChktex): use Buffer::filePath().
12808 * buffer.h: rename filename to filename_; rename filepath to
12809 filepath_ and make it private
12810 (filePath): new method
12812 * buffer.C (writeFile): use fileName()
12815 * lyx_main.C (init): fix starting of LyX when the binary is a
12816 link from so,ewhere else.
12818 * minibuffer.C: include <cctype> for isprint
12820 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12822 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12823 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12824 name clash with InsetCollapsable's width function.
12826 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * lastfiles.C: include <iterator>
12830 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12832 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12835 * buffer.C (makeLaTeXFile): ditto.
12836 Also make loop operation more transparent.
12838 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12840 * ToolbarDefaults.C: remove trailing comma closing namespace.
12842 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12844 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12847 * trans.C (Load): comment out unused variable, allowed.
12849 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12851 * minibuffer.[Ch] (append_char): new method to recieve input from the
12852 drop-down completion browser. If a key was pressed, then recieve this
12853 char and append it to the existing string.
12854 (peek_event): modify the positioning data passed to the completion
12855 browser so that it can be placed above the minibuffer rather than below.
12856 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12858 * LyXAction.C (init): alloe error-next for readonly documents.
12860 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12863 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12865 * bufferlist.C (readFile): create the buffer _after_ checking that
12868 * lyxfunc.C (verboseDispatch): fix handling of arguments
12870 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12872 * lyxrc.C: use string::erase() instead of initializing to "".
12875 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12877 * BufferView_pimpl.h:
12878 * BufferView_pimpl.C:
12881 * text2.C: tell X when we have made a selection for copying
12883 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12885 * BufferView_pimpl.C (MenuInsertLyXFile):
12886 * lyxfunc.C (menuNew):
12888 (doImport): add shortcuts to directory buttons
12890 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12893 * lyxfunc.C (setStatusMessage):
12894 (getStatusMessage): new methods
12895 (getStatus):use setStatusMessage instead of setErrorMessage
12896 (dispatch): when function is disabled, set error message here
12897 [instead of in getStatus previously]
12899 * BufferView_pimpl.C (workAreaButtonRelease): update
12900 toolbar/menubar here too.
12902 2002-01-13 Allan Rae <rae@lyx.org>
12904 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12905 Now seems indestructible. Remaining task is to audit all other
12906 code affected by deleteEmptyParagraphMechanism. One small quirk
12907 left is that an empty document with an error in the preamble can
12908 be made to report an error but no error box appears. I don't know
12910 (removeAutoInsets): Improved comments.
12912 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12915 * Thesaurus.C: update for Aiksaurus 0.14
12917 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12919 * text2.C (firstParagraph): removed member function, all uses
12920 replaces with ownerParagraph
12921 (redoParagraphs): here
12922 (updateInset): here
12923 (toggleAppendix): here
12924 * BufferView2.C (insertErrors): here
12925 (setCursorFromRow): here
12927 2002-01-13 Allan Rae <rae@lyx.org>
12929 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12930 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12931 There is still a way to segfault this although you may have to do this
12932 multiple times: Have an InsetERT with an unknown command in it.
12933 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12934 <down-arrow>, <Enter> again, View->DVI, BANG!
12936 * text2.C (setCursor):
12937 (deleteEmptyParagraphMechanism):
12938 * lyxtext.h (setCursor):
12939 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12940 Making use of the return value may help fix other bugs.
12942 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12944 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12946 * LyXView.C (updateMenubar): call MenuBar::update here
12947 (updateToolbar): but not here
12948 (showState): do not update toolbar/menubar
12950 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12951 should need to care about that.
12953 * lyxfunc.C (verboseDispatch): simplify a bit
12954 (getStatus): have a version which takes a pseudoaction, and
12955 another which requires a (kb_action,string).
12957 * LyXAction.C (retrieveActionArg): make it work also when action
12958 is not a pseudo-action.
12959 (getActionName): simplify a bit
12962 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12964 * lyxfunc.C (verboseDispatch): new families of methods with
12965 several ways to specify a command and a bool to indicate whether
12966 the command name and shortcut should be displayed in minibuffer
12967 (eventually, we could extend that to a finer bitmask like
12968 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12969 (dispatch): the pristine dispatch command which just, well,
12970 dispatchs! Note it still sets its result to minibuffer; I'm not
12973 * lyxfunc.h: remove setHintMessage
12975 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12977 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12979 * BufferView_pimpl.C (specialChar): delete new inset if we have
12980 not been able to insert it.
12982 * kbmap.C: revert to using int instead of kb_action, since all we
12983 are dealing with is pseudo-actions.
12985 * LyXAction.C (searchActionArg): change to return int instead of
12986 kb_action, since the result is a pseudoaction.
12988 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12990 * buffer.C (insertErtContents): Fix (partially) the font bug.
12992 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12994 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12995 as the other one is broken on my machine!
12997 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13000 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13002 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13004 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13005 reflect their actual use. Provide compatibility code for older lyxrc
13008 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13010 change names of popup font variables in line with the changes to lyxrc.C
13012 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13014 * buffer.C (asciiParagraph): avoid outputing a word twice after
13017 * lyxrc.C (getDescription): document that document_path and
13018 template_path can be empty.
13020 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13022 * LaTeXFeatures.C (getMacros):
13023 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13025 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13027 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13029 (getPackages): rename feature "floats" to "float". Use an array to
13030 iterate over 'simple' features (i.e. just a \usepackage). Add
13031 handling of "amsmath" (renamed from "amsstyle").
13033 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13035 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13038 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13040 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13041 FuncStaus::FuncStatus & FuncStaus::some_method().
13043 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13045 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13046 of the func_satus stuff. Edited and massaged in various ways by
13049 * lyxfunc.C (getStatus): use FuncStatus
13051 2002-01-08 Juergen Vigna <jug@sad.it>
13053 * text.C (nextBreakPoint): use function Inset::isChar().
13055 * paragraph.C (TeXOnePar): use function
13056 Inset::forceDefaultParagraphs.
13058 * buffer.C (latexParagraphs): use function
13059 Inset::forceDefaultParagraphs.
13061 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13063 * lyx_gui.C (init): set the style of the menu popups to
13064 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13066 2002-01-07 Juergen Vigna <jug@sad.it>
13068 * text.C (setHeightOfRow): small fix
13069 (prepareToPrint): don't look at alignment if we don't have the place
13072 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13074 * box.C: New file. Move the Box methods and functions out of box.h,
13075 following Lars' suggestion.
13077 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13079 * box.h: #include "support/LOstream.h", needed for inlined function.
13082 * lyxtextclasslist.C: added some using std declarations.
13084 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13086 * box.h: make signed dimensions to allow insets wider than
13087 the screen (bug #162)
13089 * BufferView_pimpl.C: add some insetHit debug
13091 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13093 * vc-backend.C: add FIXME
13095 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13097 * lyxfunc.C (getStatus): enable code for showing math font status
13100 2002-01-07 Juergen Vigna <jug@sad.it>
13102 * text.C (nextBreakPoint): removed debug output not needed anymore.
13104 2002-01-06 Juergen Vigna <jug@sad.it>
13106 * text.C (nextBreakPoint): fixed up this function we had this bug
13107 since ever but now hopefully we break row better.
13108 (insertChar): we have to check if an inset is the next char as it
13109 could now happen that a large inset is causing a break.
13111 2002-01-05 Juergen Vigna <jug@sad.it>
13113 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13114 if it doesn't like to be drawed.
13116 2002-01-04 Juergen Vigna <jug@sad.it>
13118 * BufferView2.C (lockInset): forgot to set a cursor.
13120 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13122 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13124 * FormMathsPanel.C:
13127 * form_maths_panel.C:
13128 * form_maths_panel.h:
13129 * form_maths_panel.fd: implemented sub- and super- buttons in math
13132 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13133 (or ^ space) to be used as in TeX (req'd by André).
13135 * lyxfunc.C: Allow ^ and _ again to be used both as
13136 super/subscript (mathed) and as themselves (in text).
13138 2002-01-03 Allan Rae <rae@lyx.org>
13140 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13141 "LyX" or the filename of the current buffer if it has one. This is a
13142 modified form of John Levon's patch.
13144 * XFormsView.C (setWindowTitle): also set icon title.
13146 * LyXView.h (setWindowTitle): signature changed.
13147 * XFormsView.h (setWindowTitle): ditto.
13149 2002-01-02 Juergen Vigna <jug@sad.it>
13151 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13153 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * screen.C (topCursorVisible): introduce a temp var for
13156 text->cursor.row(), handle the case where this row is null. (kindo
13159 * text2.C (setCursor): add a couple of asserts.
13161 * paragraph.h (inset_iterator): add -> operator
13163 * paragraph.[Ch] (autoDeleteInsets): remove member function
13165 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13166 cursor pos correctly and handle inset deletion by itself.
13167 (insertErrors): move iterator declaration out of for expression
13169 * lyxtextclass.C: add <algorithm>
13171 * Makefile.am: added the new files to sources, removed layout.C
13173 * layout.C: removed file
13175 * layout.h: remove LYX_DUMMY_LAYOUT
13177 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13181 * lyxtextclass.[Ch]:
13182 * lyxtextclasslist.[Ch]: new files
13184 * include order changes to a lot of files, also changes because of
13187 2001-12-27 Juergen Vigna <jug@sad.it>
13189 * buffer.C (asciiParagraph): more fixes.
13191 * tabular.C (ascii): make ascii export support export of only the
13192 data separated by a column-delimiter.
13193 (ascii): better support for ascii export.
13195 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13197 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13199 * tabular_funcs.C: use a "using std::getline" instead of the
13200 previous fix from Angus (necessary for cxx + lyxstring)
13202 2001-12-24 Juergen Vigna <jug@sad.it>
13204 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13206 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13207 problems. First check a minipage also if we have some ert-contents
13208 (not only on par->size(), second set the right depth of the paragraph
13209 on the relink to the root-paragraph-list!
13211 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13212 which then did not anymore update the main paragraphs on undo/redo!
13214 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13216 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13217 code. Support all font-changing funcs (even those which are not in
13218 menu currently). Support for reporting font settings in
13219 mathed (disabled until Andre provides a function on mathed's side).
13221 * func_status.h (toggle): small helper function to set toggle
13224 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13226 * tabular_funcs.C: getline -> std::getline
13228 2001-12-21 Juergen Vigna <jug@sad.it>
13230 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13231 accessed and could be 0 (I couldn't generate this but it seems
13234 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13236 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13237 * tabular_funcs.h: here and include iosfwd
13239 2001-12-20 Juergen Vigna <jug@sad.it>
13241 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13242 inside inset but undo_par was.
13244 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13246 * Thesaurus.C: always include <config.h> in sources.
13250 * box.h: do not include <config.h> in header files
13252 * text.C (paintLastRow): remove unused variable
13254 * text.C (transformChar):
13256 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13258 * Painter.C (text):
13259 * font.C (width): rewrite to use uppercase() instead of
13262 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13264 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13266 * lyxfind.C: clean up of find failure position change
13268 2001-12-20 Juergen Vigna <jug@sad.it>
13270 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13272 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13273 (TeXRow): added to LaTeX a single tabular row.
13274 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13275 (Latex): simplified and finally good LT-h/f support.
13276 (various_functions): just small adaptions for LT-h/f support.
13278 * tabular_funcs.[hC]: added and moved here all not classfunctions
13281 2001-12-19 Juergen Vigna <jug@sad.it>
13283 * tabular.[Ch]: better support for longtabular options (not finished
13286 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13288 * text.C (paintLastRow): use the label font instead of the font of
13289 the last character to compute the size of *_BOX. This makes more
13290 sense and avoids a crash with empty paragraphs.
13291 Use Painter::rectangle to draw EMPTY_BOX.
13293 2001-12-19 Juergen Vigna <jug@sad.it>
13295 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13296 the paragraphs if the replaced paragraph is not the first one!
13297 Tried to delete not used paragraphs but does not work yet so for
13298 now it's inside #ifdef's and by default off!
13300 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13302 * MenuBackend.C: include "lyx_main.h" instead of declaring
13303 lastfiles (actually was declared as LastFiles* instead of a
13306 2001-12-17 Juergen Vigna <jug@sad.it>
13308 * tabular.C (AppendColumn): applied John's fix
13310 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13314 * BufferView_pimpl.h:
13315 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13318 * box.h: new start of class for above
13320 * lyxfunc.C: ignore space-only minibuffer dispatches.
13321 Show the command name when it doesn't exist
13323 * minibuffer.C: don't add empty lines to the history
13325 * minibuffer.C: add a space on dropdown completion
13327 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13329 * text.C: fix line above/below drawing in insets
13331 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13333 * lyxlength.C (LyXLength): Initialize private variables.
13335 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13337 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13338 when inserting error insets.
13340 2001-12-13 Juergen Vigna <jug@sad.it>
13342 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13343 actually sometimes the before-paragraph.
13344 (setUndo): don't clear the redostack if we're not actually undoing!
13346 2001-12-06 Juergen Vigna <jug@sad.it>
13348 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13349 and fixed redoing of main paragraph, so we can use it now ;)
13351 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13353 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13355 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13358 2001-12-13 André Pönitz <poenitz@gmx.net>
13361 * undo_func.C: minor cleanup
13363 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13365 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13366 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13367 font in urw-fonts package which is marked as -urw-fontspecific and
13368 does not work (incidentally, changing the encoding in the
13369 fonts.dir of this package to -adobe-fontspecific fixes the
13372 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13373 is a crash when undoing first paragraph (Juergen, please take a
13374 look). THis does not mean the undo fix is wrong, just that it
13377 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13378 the (Paragraph*) version when needed instead of duplicating the
13381 * text.C (workWidth): use Inset::parOwner to find out where the
13382 inset has been inserted. This is a huge performance gain for large
13383 documents with lots of insets. If Inset::parOwner is not set, fall
13384 back on the brute force method
13386 * paragraph_pimpl.C (insertInset):
13387 * paragraph.C (Paragraph):
13388 (cutIntoMinibuffer): set parOwner of insets when
13389 inserting/removing them
13391 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13393 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13399 * mathed/formulabase.C:
13400 * mathed/math_cursor.[Ch]:
13401 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13404 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13406 * lyxlength.[Ch] (operator!=): new function
13408 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13410 * text.C (workWidth): use Inset::parOwner to find out where the
13411 inset has been inserted. This is a huge performance gain for large
13412 documents with lots of insets. If Inset::parOwner is not set, fall
13413 back on the brute force method
13415 * paragraph_pimpl.C (insertInset):
13416 * paragraph.C (Paragraph):
13417 (cutIntoMinibuffer): set parOwner of insets when
13418 inserting/removing them
13420 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13422 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13424 * tabular-old.C (getTokenValue):
13425 * tabular.C (getTokenValue):
13426 (write_attribute): new versions for LyXLength
13427 (everywhere): adjust the use of widths
13429 * tabular.h: change the type of widths from string to LyXLength
13431 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13433 * paragraph.C: fixed missing line number count when exporting
13434 Environments to LaTeX file
13436 * buffer.C: added informational message for checking line numbers.
13438 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13440 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13441 paragraph, do the 'double space' part, but not the 'empty
13444 * text.C (workWidth): small optimization
13445 (getLengthMarkerHeight): use minimal size for negative lengths.
13447 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13449 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13451 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13453 2001-12-11 André Pönitz <poenitz@gmx.net>
13456 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13458 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13460 * text2.C: keep selection on a setFont()
13462 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13464 * lyx_cb.C: another bv->text misuse, from insert label
13466 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13469 * kbsequence.C: re-instate nmodifier mask
13471 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13473 * lyx_main.h: make lyxGUI private.
13475 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13477 * lyxfind.C: place the cursor correctly on failed search
13479 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13481 * text.C (getLengthMarkerHeight): for small heights, the arrows
13482 are not always on top/bottom of the text
13483 (drawLengthMarker): smaller arrows; take the left margin in
13484 account; draw also vfills.
13486 (paintLastRow): remove special code for vfill and standard spaces,
13487 since everything is handled in drawLengthMarker now.
13489 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13491 * buffer.C (insertErtContents): try to handle font and language
13492 interaction a bit better.g
13494 * ColorHandler.C (updateColor): change the hash to cover the whole
13495 LColor enum, ws cleanup
13496 (getGCLinepars): ditto
13497 (getGCLinepars): only lookup in the linecache once.
13499 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13501 * iterators.C (operator++): Make the iterator more robust
13503 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13507 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13510 * text.C: better added space drawing
13512 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13515 * BufferView2.C: fix layout combo update on inset unlock
13517 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13519 * Makefile.am: don't compile unused files
13521 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13525 * LyXAction.C: remove old LFUN_LAYOUTNO
13527 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13529 * paragraph_pimpl.h:
13530 * paragraph_pimpl.C: isTextAt() doesn't need font param
13532 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13535 * lyxlex.C: little cleanup
13537 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13539 * BufferView_pimpl.C: fix insertAscii for insets
13541 2001-12-05 Juergen Vigna <jug@sad.it>
13543 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13544 set the right font on the "multi" paragraph paste!
13546 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * lyxlength.C: remove out-commented code.
13554 * BufferView_pimpl:
13568 * vc-backend.C: change "while(" to "while ("
13570 * lyxlength.[Ch]: add zero function to check if length is zero or
13572 * lyxgluelength.C: use it
13574 2001-12-05 Allan Rae <rae@lyx.org>
13576 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13577 Works for 2.95.3, from what I understand of Garst's reports this should
13578 work for other g++ versions. We're screwed if the abs(int) definition
13579 changed between bugfix releases of gcc.
13581 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13583 * text.C: fix chapter label offset !
13585 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13588 * text.C: fix hfill at end of line, clean up
13590 2001-12-04 Juergen Vigna <jug@sad.it>
13592 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13593 that we force an update of the inset and it's owners if neccessary.
13595 2001-12-03 Juergen Vigna <jug@sad.it>
13597 * text.C (rowLast): simplified code
13599 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13601 * lyxfunc.C: fix show options on timeout
13603 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13605 * screen.C (topCursorVisible): scroll half a page when the cursor
13606 reached top of bottom of screen
13608 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13610 * minibuffer.C: deactivate on loss of focus
13612 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13614 * vspace.[Ch] (operator!=): add operator.
13616 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13618 * BufferView_pimpl.C: refuse to open an inset when
13619 there's a selection.
13621 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13623 * BufferView_pimpl.C: allow to click on RHS of full row insets
13625 2001-11-30 Juergen Vigna <jug@sad.it>
13627 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13628 insets for undo reasons.
13630 2001-11-28 André Pönitz <poenitz@gmx.net>
13632 * vspace.[Ch]: cosmetical changes
13634 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13644 * kbsequence.C: part re-write of old kb code
13647 * WorkArea.C: remove Lgb_bug_find_hack
13649 2001-11-30 José Matos <jamatos@fep.up.pt>
13651 * buffer.C (makeDocBookFile): add a comment to point a hack.
13652 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13653 Fixed a double write of labels.
13655 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13658 * LaTeX.h Fixed bug in LaTeX class where it would not
13659 re-run latex if no depfiles were changed, but the .dvi was removed.
13661 2001-11-28 André Pönitz <poenitz@gmx.net>
13663 * all the files from the change on 2001/11/26:
13664 use lyx::layout_type instead of LyXTextClass::size_type
13665 use lyx::textclass_type instead of LyXTextClassList::size_type
13667 2001-11-29 Juergen Vigna <jug@sad.it>
13669 * text.C: added support for paragraph::isFreeSpacing()
13671 * buffer.C: same as above
13673 * paragraph.h: inserted isFreeSpacing() function to enable
13674 FreeSpacing inside InsetERT.
13676 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13677 of the paragraph's in the cut/copy buffer to 0!
13679 * text2.C (removeRow): remove the assert as it can!
13681 * lyxtext.h: added helper function firstRow returning firstrow and
13682 made firstrow private again.
13684 * BufferView2.C (lockInset): don't relock if we're already locked!
13686 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13687 the only paragraph.
13688 (removeRow): added Assert::(firstrow)
13690 * debug.C: forgot to add INSETTEXT here.
13692 2001-11-28 Juergen Vigna <jug@sad.it>
13694 * sp_spell.C (initialize): changed error text to more general
13695 spellchecker command use (not only ispell!)
13697 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13699 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13701 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13703 * vspace.C: initialise lyxgluelength on failure
13705 2001-11-28 Allan Rae <rae@lyx.org>
13707 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13708 declaration & definition that looks like a function declaration.
13710 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13712 * BufferView2.C (copy):
13713 (copyEnvironment): do not clear the selection when doing a copy.
13715 * text.C (paintFirstRow): compilation fix
13717 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13719 * tabular.C (Latex): correct line count when writing latex.
13721 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13723 * paragraph_pimpl.h:
13724 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13727 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13731 * LColor.C: change vfillline->added_space
13733 * text.C: add markers and text for added space
13735 * vspace.C: fix comment
13737 2001-11-28 André Pönitz <poenitz@gmx.net>
13739 * paragraph.C: whitespace changes
13740 * all the other files from the change on 2001/11/26:
13741 change *::pos_type into lyx::pos_type
13743 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13745 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13746 language of the document when inserting error insets.
13748 2001-11-26 André Pönitz <poenitz@gmx.net>
13750 * BufferView_pimpl.[Ch]:
13758 * paragraph_pimpl.[Ch]:
13761 * text2.C: reduce header dependencies, introduce type for positions
13763 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13765 * <various>: change to use Alert.h
13767 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13769 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13770 when encountering an unknown token.
13771 (readLyXformat2): Show an error message if there were unknown tokens.
13773 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13776 * BufferView_pimpl.C:
13780 * text2.C: use par->isInset()
13782 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13784 * paragraph_pimpl.h:
13785 * paragraph_pimpl.C: cleanup
13787 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13789 * text2.C (removeRow):
13790 * text.C (setHeightOfRow): remove useless (and costly) call to
13793 2001-11-20 Allan Rae <rae@lyx.org>
13795 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13796 Now need Inset*::checkInsertChar() to return true for appropriate
13797 cases so that the characters in the minibuffer will actually be
13800 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * text.C: change the order of the includes.
13803 (workWidth): initialize it at once.
13804 (workWidth): make maxw unsigned
13805 (setHeightOfRow): remove unused variable (inset)
13806 (selectSelectedWord): remove unused variable (inset)
13807 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13809 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13811 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13812 server is not running.
13814 (closeConnection): add debug info when server is disabled.
13816 * ColorHandler.C (getGCForeground): send debug message to GUI
13819 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13821 * kbmap.C (bind): modify because return conventions of
13822 kb_sequence::parse have changed.
13824 * kbsequence.C (parse): only ignore spaces and not any stupid
13825 control character. This avoids tests like s[i] <= ' ', which are
13826 guaranteed to fail with 8bit characters and signed chars.
13827 Change return code to string::npos when there have been no error
13828 (0 was a bad idea when error is at first character)
13830 2001-11-14 José Matos <jamatos@fep.up.pt>
13833 * buffer.C (simpleDocBookOnePar): removed unused argument.
13835 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13837 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13838 insets which are part of a word. Paragraph::isLetter takes care of
13839 that now. Use Paragraph::isInset to identify insets.
13840 (selectSelectedWord): do not test for hyphenation break.
13842 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13843 that protected spaces are considered as spaces.
13845 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13848 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13851 * lyxserver.C: fix it. and small cleanup.
13853 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13855 * BufferView_pimpl.C: use inline helpers
13858 * LaTeXFeatures.C: fix typos
13861 * Spacing.C: move spacing_string into class
13863 * ToolbarDefaults.C: move stuff into namespace anon
13865 * layout.h: update enum
13867 * lyxfunc.C: use better debug
13869 * minibuffer.h: fix typo
13873 * WorkArea.C: add and use Debug::WORKAREA
13877 * text2.C: code re-organisation, inline helpers
13879 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13881 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13882 std::vector.empty().
13884 2001-11-09 Allan Rae <rae@lyx.org>
13886 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13887 '\n's after tables. Tabular and ERT inset work now makes this no
13890 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13893 * minibuffer.C: fix crash, improve drop-down completion
13895 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13898 * lyxserver.C: invalidate fd's when doing endPipe()
13900 2001-11-08 José Matos <jamatos@fep.up.pt>
13902 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13903 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13906 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13908 2001-11-07 José Matos <jamatos@fep.up.pt>
13911 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13914 * buffer.C (sgmlOpenTag):
13915 * buffer.C (sgmlCloseTag): removed debug info.
13917 * buffer.h (sgmlOpenTag):
13918 * buffer.h (sgmlCloseTag): made public.
13920 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13922 * buffer.C (saveParamsAsDefaults):
13923 * lyx_cb.C (MenuLayoutSave): remove
13925 * LyXAction.C (init):
13927 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13929 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13931 * buffer.C (setPaperStuff): removed from here...
13933 * bufferparams.C (setPaperStuff): ... and moved there.
13935 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13939 * XFormsView.C: add support for drop-down completion
13941 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13943 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13946 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13948 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13951 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13953 * lyx_main.C: change ref to known bugs
13955 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13957 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13958 to work around older babel problems.
13960 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13962 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13964 2001-10-24 Juergen Vigna <jug@sad.it>
13966 * tabular-old.C (ReadOld): below variable changes reflected.
13968 * tabular.[Ch]: added ltType struct for longtable header/footer
13969 defines and changed all instances where they are used. Added
13970 future support for double top/bottom rows.
13972 2001-10-24 José Matos <jamatos@fep.up.pt>
13974 * buffer.h (docbookHandleCaption):
13975 * buffer.C (docbookHandleCaption): removed unused function.
13976 (makeDocBookFile): moved docbook supported version to v4.1.
13978 2001-10-24 José Matos <jamatos@fep.up.pt>
13981 * tabular.C (docbookRow): new function to export docbook code of a row.
13982 (DocBook): now honors the longtable flags.
13984 2001-10-23 José Matos <jamatos@fep.up.pt>
13987 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13988 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13990 * buffer.C (makeLinuxDocFile):
13991 (makeDocBookFile): reworked the preamble, more clean, and with
13992 support for lyx defined entities. Changed the document declaration
13993 to be more XML friendly.
13995 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13996 if we need to output XML that should be done with a filter.
13998 2001-10-22 Juergen Vigna <jug@sad.it>
14000 * sp_pspell.h (class PSpell): add alive function needed in the
14001 controller to see if the spellchecker could be started.
14003 2001-10-22 Juergen Vigna <jug@sad.it>
14005 * buffer.C (insertStringAsLines): modify the font for inserting
14006 chars in certain conditions by calling checkInsertChar(font).
14008 2001-10-19 Juergen Vigna <jug@sad.it>
14010 * text.C (workWidth): use getRow instead of wrong algorithm.
14011 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14013 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14018 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14020 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14022 * text.C (workWidth): do not search for the exact row when
14023 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14024 optimization for big documents.
14026 2001-10-18 Juergen Vigna <jug@sad.it>
14028 * text.C (workWidth): new function with added Inset * parameter.
14030 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14032 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14034 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14035 change return type of getColumnNearX.
14038 * text.C (changeRegionCase): use uppercase/lowercase instead of
14041 (rightMargin): simplify code by factoring out the uses of
14046 (appendParagraph): use Paragraph::size_type
14048 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14050 * vspace.C (asLatexString): add a missing break
14052 2001-10-15 Herbert Voss <voss@perce.de>
14054 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14056 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14058 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14061 2001-10-10 André Pönitz <poenitz@gmx.net>
14063 * lyxfunc.C: removed greek_kb_flag.
14065 2001-10-10 Herbert Voss <voss@perce.de>
14067 * lyx_main.C: delete global string help_lyxdir.
14069 2001-10-09 Herbert Voss <voss@perce.de>
14071 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14073 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14075 * lyx_main.C: added global string help_lyxdir.
14077 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14079 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14081 * lyxrc.C (set_font_norm_type): support iso8859-4
14083 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14085 * LaTeX.C (deplog): add another regex for MikTeX
14087 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14089 * lyxrc.C (set_font_norm_type): support iso8859-3
14091 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14095 * LaTeXFeatures.C: remove special case of french and index
14097 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14098 before \begin{document}). This solves several incompatibilities.
14100 2001-10-03 Garst Reese <reese@isn.net>
14102 * lyx_cb.C: change CheckTex error msg.
14104 2001-10-03 José Matos <jamatos@fep.up.pt>
14106 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14108 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14110 * .cvsignore: update
14112 * lyx_main.C (commandLineVersionInfo): use new style version info.
14114 * buffer.C (writeFile):
14116 (makeLinuxDocFile):
14117 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14119 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14121 * version.h: update to use stuff in version.C
14123 * version.C.in: new file. Contains version information determined
14124 at compile time. This is a merging of version.h and
14127 2001-10-03 Juergen Vigna <jug@sad.it>
14129 * BufferView_pimpl.C (update): don't change "dirty" status in
14132 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14134 * WorkArea.C (c-tor): re-position version string slightly.
14136 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14138 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14139 revert to previous code.
14141 WorkArea.[Ch]: (show, destroySplash): methods removed.
14143 WorkArea.C: rework code so that it's an amalgam of the codes before and
14144 after the splash screen was moved to WorkArea.
14146 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14149 * vspace.C (inPixels):
14152 * buffer.C (insertStringAsLines):
14153 (asciiParagraph): fix types to be large enough
14155 * lyxlex_pimpl.h: change member status from short to int
14157 * layout.h: fix type of endlabeltype
14160 * kbsequence.C (parse): change return type to string::size_type
14162 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14165 * Bullet.C (bulletSize):
14166 (bulletEntry): do not use short ints as parameters
14168 * BufferView2.C (insertLyXFile): change a char to an int.
14170 * WorkArea.C (WorkArea): remove unneeded floats in computation
14172 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14174 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14176 * paragraph.C (asString): Do not ignore newline/hfill chars when
14177 copying to the clipboard.
14179 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14181 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14182 after a multi-line inset.
14184 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14186 * paragraph.C (validate): Set NeedLyXFootnoteCode
14188 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14190 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14191 and decrease-error to decrease.
14193 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14195 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14196 it more readable (should be equivalent)
14198 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14200 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14202 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14204 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14205 of a cursor (row, etc.) after a character has been deleted
14206 (deleteEmptyParagraphMechanism): call the method above on _all_
14207 cursors held by the LyXText when a double space has been
14210 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14212 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14214 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14216 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14217 background. Use greyOut() and the new show() methods to toggle between
14218 the foreground and background. Add code to remove the splash after
14219 its initial showing.
14221 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14222 (create_forms): no longer call Dialogs::showSplash.
14224 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14226 * .cvsignore: add version_info.h
14228 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14230 * version_info.h.in: new file
14232 * Makefile.am: add version_info.h.in
14234 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14235 version_info.h instead of VERSION_INFO
14237 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14239 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14240 The ERT inset now returns string().
14242 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14244 * lyxtext.h, text.C (selectNextWord): renamed as
14245 selectNextWordToSpellcheck.
14247 * text.C (selectNextWordToSpellcheck): Modified to not select
14248 words inside an ERT inset.
14250 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * lyx_cb.C (MenuLayoutSave): change a bit the question
14254 * sp_base.h: include <sys/types.h>
14256 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14258 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14260 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14262 * several files: fix typos in user-visible strings
14264 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14266 * text2.C (pasteSelection): do not set the selection, since it
14267 will be cleared later. Actually, the intent was to fix the way the
14268 selection was set, but I figured rmoving the code was just as good.
14270 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14272 * FontLoader.C (available): Check if font is available without
14275 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14277 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14279 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14281 * lyxrc.[Ch]: added display_graphics variable and associated code.
14283 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14285 * bufferparams.C (hasClassDefaults): new method. Returns true if
14286 the buffer parameters correspond to known class defaults
14288 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14290 * XFormsView.C (show): set minimum size to the main window.
14292 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14294 * text2.C (copySelection):
14296 * lyxfind.C (LyXReplace):
14297 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14298 LyXText::selectionAsString.
14300 * paragraph.C (asString): add "label" argument to the second form
14302 * text2.C (selectionAsString): add "label" argument and pass it to
14303 Paragraph::asString.
14305 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14307 * lyx_main.C (commandLineHelp): remove version information
14309 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14311 * lyx_main.C: add -version commandline option
14313 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14315 * paragraph.h: make the optional constructor arg required instead.
14316 some modifications to other files because of this.
14318 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14320 * lyxserver.C (C_LyXComm_callback): make it static
14322 * lyx_main.C (error_handler): make it static
14324 * lyx_gui.C (LyX_XErrHandler): make it static
14326 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14328 * WorkArea.C: make the extern "C" methods static.
14330 * Makefile.am (lyx_LDADD): simplify
14332 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14334 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14335 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14337 * LyXAction.C (init):
14338 * lyxfunc.C (dispatch): associated code removal.
14340 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14342 * lyxfont.h (isSymbolFont): shut off warning
14344 * text.C (setHeightOfRow):
14345 (getVisibleRow): fix crash with empty paragraphs which have a
14348 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14350 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14353 2001-09-04 José Matos <jamatos@fep.up.pt>
14356 * tabular.C (docbook): rename docBook method to docbook.
14358 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14360 * Makefile.am: add dependencies to main.o.
14362 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14364 * FontLoader.C (available): Return false if !lyxrc.use_gui
14366 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14368 * FontInfo.C (query):
14369 * converter.C (view):
14370 * importer.C (Import):
14371 * exporter.C (Export): Can not -> cannot.
14373 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14375 * BufferView_pimpl.C: allow to create index inset even if
14378 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14380 * buffer.C (getLists): replace boost::tie code with an explicit pair
14381 as boost::tie can break some compilers.
14383 * iterators.h: Added a std:: declaration to the return type of
14386 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14388 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14391 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14393 * iterators.[Ch]: New files. Provide paragraph iterators.
14395 * buffer.C (changeLanguage): Use paragraph iterators.
14396 (isMultiLingual): ditto
14398 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14400 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14402 * FontLoader.C: Support for cmr font.
14404 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14406 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14407 (available): New method.
14409 * FontInfo.C (getFontname): Use scalable fonts even when
14410 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14413 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14415 * converter.C (Formats::view): reverted! Incorrect fix.
14417 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14419 * converter.C (Formats::view): only output the -paper option
14420 if the dvi viewer is xdvi, thereby fixing bug #233429.
14422 2001-08-23 Herbert Voss <voss@perce>
14424 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14426 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14428 * Spacing.h (Spacing): Set space to Default on in the default
14431 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14433 * vc-backend.h (RCS::versionString): add RCS to version
14434 (CVS::versionString): add CVS to version
14436 * vc-backend.C (scanMaster): do not add CVS to version.
14437 (scanMaster): do not add RCS to version
14439 * lyxvc.C (versionString): new method
14441 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14443 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14445 * Spacing.C (set): initialize fval
14447 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14449 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14452 2001-08-16 Juergen Vigna <jug@sad.it>
14454 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14456 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14458 * BufferView_pimpl.C:
14461 * text2.C: setParagraph takes linespacing now
14463 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14465 * LyxAction.C: add internal LFUN_CITATION_INSERT
14467 * LyXView.C: actually apply fix
14469 * bufferlist.C: fix open non-existent file
14471 * lyxfind.C: fix indentation
14473 * lyxfunc.C: remove unneeded assert, fix typo
14475 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14477 * MenuBackend.C: use "Floatname List"
14479 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14481 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14482 when converting LaTeX layout to insetERT.
14483 Generate a non-collapsed float when reading old float
14485 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14487 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14490 2001-08-13 Juergen Vigna <jug@sad.it>
14492 * text.C (fill): return 0 instead of 20 as this seems to be the more
14495 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14497 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14500 2001-08-13 Juergen Vigna <jug@sad.it>
14502 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14504 (SearchBackward): comment out the unlocking of the inset_owner this
14505 should not be needed!
14507 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14509 * Many files: Remove inherit_language, and add latex_language
14511 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14512 collapsible insets.
14514 2001-08-10 Juergen Vigna <jug@sad.it>
14516 * text.C (prepareToPrint): fixed hfill-width in draw!
14518 * BufferView2.C (selectLastWord): save the selection cursor as this
14519 now is cleared in the function LyXText::clearSelection!
14521 2001-08-08 Juergen Vigna <jug@sad.it>
14523 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14524 BACKSPACE type functions.
14526 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14527 is only cutted from the document but not put in the cut-buffer, where
14528 still the old stuff should be.
14530 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14532 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14534 * tabular.C (SetWidthOfCell): fixed special case where the width
14536 (LeftLine): handle '|' in align_special.
14538 (LeftAlreadyDrawed): ditto
14539 (SetWidthOfCell): ditto
14541 2001-08-07 Juergen Vigna <jug@sad.it>
14543 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14545 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14547 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14548 * lyxlex.[hC]: ditto
14550 2001-08-06 Juergen Vigna <jug@sad.it>
14552 * text.C (getVisibleRow): fix up row clearing a bit.
14554 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14556 * minibuffer.C: make sure the X server sees the changes in the input.
14558 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14560 * paragraph.C (getFont): split into...
14561 (getLabelFont): this
14562 (getLayoutFont): and this
14563 * paragraph_pimpl.C (realizeFont): calling this
14565 * text2.C (getFont): split into...
14566 (getLayoutFont): this
14567 (getLabelFont): and this
14568 (realizeFont): all three calling this
14570 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14573 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14575 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14577 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14579 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14580 layouts from the Quote inset insertion.
14582 2001-08-03 Juergen Vigna <jug@sad.it>
14584 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14586 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14587 only if status not is already CHANGED_IN_DRAW (second level).
14589 * text.C (draw): don't set the need_break_row when inside an
14592 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14594 * buffer.C (parseSingleLyXformat2Token): handle more latex
14597 * bufferview_funcs.[hC]: change function names to
14598 begin with small char, adjust other files.
14600 2001-08-02 André Pönitz <poenitz@gmx.net>
14603 BufferView_pimpl.C: remove broken special code for math-greek
14605 2001-08-02 Juergen Vigna <jug@sad.it>
14607 * BufferView_pimpl.C (update): redone this function so that we
14608 update the text again if there was a CHANGE_IN_DRAW.
14610 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14611 (drawFromTo): added a new internal bool which is used by draw() and
14613 (general): some cursor drawing problems fixed.
14615 2001-08-01 Juergen Vigna <jug@sad.it>
14617 * lyxfind.C (LyXFind): fixed
14618 (SearchForward): ditto
14619 (SearchBackward): ditto
14621 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14622 spurius drawing of the cursor in the main area.
14624 * text2.C (status): small fix which could lead to a segfault!
14625 (clearSelection): remove unneeded BufferView param.
14627 2001-08-01 André Pönitz <poenitz@gmx.net>
14629 * lyxfunc.C: small change due to changed mathed interface
14631 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14633 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14635 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14637 * lyxfunc.c: fail gracefully if file doesn't exist
14642 * BufferView_pimpl.C: IsDirWriteable() proto changed
14644 * LyXView.C: fix updateWindowTitle() to store the last title
14646 2001-07-31 Juergen Vigna <jug@sad.it>
14648 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14649 the font (wrong since using of Paragraph::highestFontInRange).
14651 * paragraph.C (highestFontInRange): added a default_size parameter.
14653 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14654 (setHeightOfRow): reformat
14656 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14658 * converter.[hC] + affected files: move to (inital-char)lowercase
14661 * ParagraphParameters.C (ParagraphParameters): remove commented code
14663 * PainterBase.[Ch]: remove commented code
14665 * LaTeXFeatures.h: add "bool floats" for float.sty
14667 * LaTeXFeatures.C (LaTeXFeatures): init floats
14668 (require): handle float
14669 (getPackages): do it with floats
14671 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14673 * BufferView_pimpl.C (Dispatch): improve handling of
14674 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14676 * commandtags.h: #include lyxfont.h here temporarily to avoid
14679 * bufferlist.h: include LString.h here.
14681 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * text2.C (getStringToIndex): new method.
14685 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14687 * *: Reduced header file dependencies all over.
14689 2001-07-30 Baruch Even <baruch@lyx.org>
14691 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14693 2001-07-29 Baruch Even <baruch@lyx.org>
14695 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14697 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14699 * ParameterStruct.h (endif): add a default constructor to make
14700 sure that all variables is initialized.
14702 * ParagraphParameters.C (ParagraphParameters): adjust
14704 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14706 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14707 index; also, check that there is something to index, and that it
14708 does not span over several paragraphs.
14709 (doubleClick): use WHOLE_WORD_STRICT for double click.
14711 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14713 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14716 2001-07-26 Baruch Even <baruch@lyx.org>
14718 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14719 an InsetFig figure, backwards compatible reading of old figure code.
14721 2001-07-27 Juergen Vigna <jug@sad.it>
14723 * text2.C: font.realize function adaption.
14725 * text.C (draw): add a warnings lyxerr text if needed.
14727 * layout.C: font.realize function adaption.
14729 * language.C: add inherit_language and implement it's handlings
14731 * bufferview_funcs.C (StyleReset): remove language parameter from
14732 font creation (should be language_inherit now).
14734 * bufferparams.C (writeFile): handle ignore_language.
14736 * paragraph.C (getFontSettings): the language has to be resolved
14737 otherwise we have problems in LyXFont!
14739 * lyxfont.C (lyxWriteChanges): added document_language parameter
14740 (update): removed unneeded language parameter
14742 * paragraph.C (validate): fixed wrong output of color-package when
14743 using interface colors for certain fonts in certain environments,
14744 which should not seen as that on the final output.
14746 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14748 * BufferView_pimpl.C:
14753 * LyXAction.C: add thesaurus support
14756 * lyxfind.C: add "once" parameter, for thesaurus, to not
14757 move to the next match
14759 2001-07-26 Juergen Vigna <jug@sad.it>
14761 * lyxfont.C (realize): honor ignore_language too!
14764 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14766 * text.C (draw): one place more for ignore_language to not draw
14769 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14771 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14773 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14775 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14776 the minipage conversion problem.
14778 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14780 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14783 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14785 * BufferView.h: don't forward declare WorkArea
14787 * BufferView.C: don't include WorkArea.h
14789 2001-07-25 André Pönitz <poenitz@gmx.net>
14793 * lyxfunc.C: new LFUN 'math-space'
14795 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14797 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14799 * text2.C (toggleInset): call open/close
14801 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14803 * lyxfunc.C (dispatch): add debug for the disabled case
14805 * font.C (buttonText): make similar to rectText
14807 * buffer.C (readInset): comment out parsing of insetlist and
14810 * PainterBase.C (rectText): small correction
14812 * BufferView_pimpl.C: comment out insettheorem and insetlist
14813 * LyXAction.C: ditto
14814 * commandtags.h: ditto
14816 2001-07-24 Juergen Vigna <jug@sad.it>
14818 * text.C (draw): honor the ignore_language.
14820 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14822 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14824 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14827 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14829 * lyxtext.h: remove unused (and unimplemented) methods
14831 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14833 * text.C (getVisibleRow): honor background color
14836 * Painter.h: remove default color argument for fillRectangle
14838 * text.C (backgroundColor): new method
14840 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14842 * text.C (getVisibleRow): adjust
14844 * font.[Ch] (rectText): new method, metrics
14845 (buttonText): new method, metrics
14847 * PainterBase.[hC]: make rectText and buttonText always draw and take
14850 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14852 * ToolbarDefaults.C (read):
14853 * MenuBackend.C (read): allow escaping in all strings
14855 * BufferView_pimpl.C (insertAndEditInset): new method.
14856 (Dispatch): use insertAndEditInset whenever appropriate.
14858 * BufferView_pimpl.C (insertNote): removed
14860 * BufferView_pimpl.C (smartQuote): new method, moved from
14861 BufferView; if an insetquote cannot be inserted, insert a '"'
14864 * BufferView2.C: remove insertCorrectQuote();
14866 * lyxfunc.C (getStatus): Add support for all remaingin
14867 inset-insert lfuns.
14869 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14871 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14872 command (necessary to pass " as parameter of self-insert.
14874 * text.C (selectWordWhenUnderCursor):
14875 (selectWord): add word_location parameter
14876 (selectWordWhenUnderCursor): same + remove special code for word
14878 (selectNextWord): use kind() to guess type of insetspecialchar,
14881 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14882 (insertErtContents): create ert insets as collapsed.
14883 (readInset): better compatibility code for Info inset.
14885 2001-07-20 Juergen Vigna <jug@sad.it>
14887 * lyxfunc.C (dispatch): use always LyXFind now!
14889 * text2.C (init): add a reinit flag so that the LyXText can be
14890 reinited instead of deleted and reallocated (used in InsetText).
14892 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14898 2001-07-18 Juergen Vigna <jug@sad.it>
14900 * text.C (selectNextWord): handle insets inside inset by calling
14901 always the bv->text functions so that we can go up the_locking_inset!
14903 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14904 in strange locations when inside an inset!
14906 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14907 handling to include insets.
14909 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14911 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * LyXAction.C (init):
14915 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14916 LIGATURE_BREAK, since the name is so stupid.
14918 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14920 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14923 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14925 * sp_form.[Ch]: remove.
14927 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14929 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14932 * src/buffer.C (readInset): ditto.
14934 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14936 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14937 menuSeparator(), endOfSentenceDot(), ldots() and
14938 hyphenationPoint(), which are therefore removed.
14939 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14941 * LyXAction.C (init):
14942 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14944 * paragraph.C (getWord): removed.
14946 * BufferView_pimpl.C (Dispatch): use last word or selection for
14947 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14949 * lyx_main.C (queryUserLyXDir): do not ask before creating
14950 user_dir, except if it has been named explicitely.
14952 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14954 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14955 a document of zero size.
14957 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14959 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14960 approriately in the c-tor and in require().
14961 (getPackages): output the appropriate LaTeX for natbib support.
14963 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14964 variables "use_natbib" and "use_numerical_citations" when reading the
14966 (readInset): read the various natbib cite commands.
14967 (validate): white-space change.
14969 * bufferparams.[Ch]: new variables "bool use_natbib" and
14970 "bool use_numerical_citations".
14971 (writeFile): output them in the LyX file.
14973 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14975 * lyxfunc.C (getStatus): add support for all the inset insertion
14978 * text2.C (insertInset):
14979 * paragraph.C (insetAllowed):
14980 * BufferView_pimpl.C (insertInset): update to take in account the
14981 renaming of insertInsetAllowed
14983 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14985 * text2.C (getInset): new method. returns inset at cursor position.
14987 * BufferView_pimpl.C (Dispatch): changes because of this.
14989 * LyXAction.C (init): rename open-stuff to inset-toggle.
14991 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14993 * text2.C (toggleInset): renamed from openStuff; use
14996 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14998 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15000 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15002 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15004 * buffer.C (readLyXformat2): Add filename to the error dialog
15006 2001-07-18 Juergen Vigna <jug@sad.it>
15008 * tabular.C (GetCellNumber): put an assert here instead of the check!
15010 2001-07-17 Juergen Vigna <jug@sad.it>
15012 * BufferView_pimpl.C (toggleSelection): adapted too.
15014 * text.C (selectNextWord): adapted for use with insets.
15015 (selectSelectedWord): ditto
15017 2001-07-17 Juergen Vigna <jug@sad.it>
15019 * sp_spell.C (PSpell): fix initialitation order.
15021 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15023 * paragraph.C: spacing
15025 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15027 * sp_spell.C: repair language selection for pspell
15029 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15031 * lyxfunc.h: change more methods to begin with lower char.
15033 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15035 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15036 for unknown layouts.
15038 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15040 * buffer.C (readLyXformat2): Generate an error dialog if there are
15043 2001-07-16 Juergen Vigna <jug@sad.it>
15045 * sp_spell.C: always compile ISpell part.
15047 * lyxrc.C: added use_pspell entry and it's handling.
15049 2001-07-13 Juergen Vigna <jug@sad.it>
15051 * sp_spell.C: removed double includes.
15053 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15055 Consistent use of Lsstream.h:
15056 * Lsstream.h: added using std::stringstream for consistencies sake.
15058 * buffer.C: removed using std::stringstream
15060 * lyxfont.C (stateText):
15061 * paragraph.C (asString):
15062 * text.C (selectNextWord, selectSelectedWord):
15063 * text2.C (setCounter):
15064 * vspace.C (asString, asLatexString):
15065 std::ostringstream -> ostringstream.
15067 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15069 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15070 * commandtags.h: add LFUN_HELP_ABOUTLYX
15071 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15073 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15075 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15077 * lyx_gui_misc.C: remove spellchecker
15078 * lyxfunc.C: showSpellchecker
15080 * sp_ispell.h: added
15081 * sp_pspell.h: added
15082 * sp_spell.C: added
15083 * sp_form.[Ch]: removed
15084 * spellchecker.[Ch]: removed
15086 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15088 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15090 (simpleTeXSpecialChars): Simply print the input character without
15091 any special translation if pass_thru is set.
15093 * layout.h: Added bool pass_thru to layout class for being able to
15094 implement pass through of a paragraph for Literate Programming.
15096 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15097 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15098 * layout.C (Read): add "passthru" to list of layout tags and add
15099 code to set the pass_thru boolean when it is read.
15101 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15103 * trans_decl.h: remove allowed from KmodInfo
15105 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15106 remove allowed code
15109 * paragraph_pimpl.C (erase): use boost::prior
15111 * Painter.C (text): use data() instead of c_str() when length is
15113 * WorkArea.C (putClipboard): ditto
15114 * font.h (width): ditto
15116 * BufferView2.C: use it-> instead of (*it). for iterators
15118 * paragraph_pimpl.C: ditto
15119 * paragraph.C: ditto
15120 * minibuffer.C: ditto
15121 * language.C: ditto
15123 * encoding.C: ditto
15124 * counters.C: ditto
15125 * converter.C: ditto
15127 * Variables.C: ditto
15128 * TextCache.C: ditto
15129 * MenuBackend.C: ditto
15130 * LyXAction.C: ditto
15132 * FloatList.C: ditto
15133 * DepTable.C: ditto
15134 * ColorHandler.C (LyXColorHandler): ditto
15136 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15138 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15140 * text2.C (openStuff): reintroduce this method (which had been
15141 nuked in NEW_INSETS frenzy).
15143 * lyxfunc.C (Dispatch): when an action has not been handled, use
15144 its name in the error message, not its number.
15146 * paragraph.C (inInset): change method name to begin with lowercase.
15149 * text2.C: updates because of this.
15151 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15153 * ToolbarDefaults.C (add): add spaces in error message
15155 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15157 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15158 (readLyXformat2): rename return_par to first_par, use lyxlex's
15159 pushToken and remove the manual push handling.
15160 (parseSingleLyXformat2Token): add another ert comp. variable:
15161 in_tabular, rename return_par to first_par. handle newlines better
15163 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15165 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15167 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15169 * text2.C (getParFromID): removed
15171 * buffer.C (getParFromID): new method moved form lyxtext.
15172 * BufferView2.C (insertErrors): adjust
15173 (setCursorFromRow): adjust
15174 * BufferView_pimpl.C (restorePosition): adjust
15175 * lyxfunc.C (Dispatch): adjust
15176 * undo_funcs.C (textUndo): adjust
15178 (textHandleUndo): adjust
15179 (textHandleUndo): adjust
15181 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15183 * buffer.C: up' the LYX_FORMAT
15185 * lyxfont.h: turn NO_LATEX on as default
15187 * buffer.C (insertErtContents): new methods of tex style compability.
15188 (parseSingleLyXformat2Token): use it several places.
15189 * tabular.C (OldFormatRead): and here
15191 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15193 * text2.C: remove some commented code.
15196 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15197 * trans.C: changes because of the above.
15199 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15201 * text2.C (setCounter): Fix counters bug with bibliography layout.
15203 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15205 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15206 own member functions
15207 (simpleTeXSpecialChars): ditto
15209 2001-07-06 Juergen Vigna <jug@sad.it>
15211 * a lot of files: changed the access to LyXText::status and the
15212 call of undo-functions.
15214 * undo.[Ch]: added a inset_id to the undo informations.
15216 * undo_funcs.[Ch]: added and moved here all undo functions.
15218 * lyxtext.h: give the status enum a weight, made status_ a private
15219 variable and made accessor functions for it, removed the whole bunch
15220 of undo-functions as they are now in their own file, make some
15221 functions publically available. Added function ownerParagraph with
15224 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15225 made InInset() a const function, added getParFromID() function.
15227 * buffer.[Ch]: added const version for inset_iterator functions,
15228 added getInsetFromID() function.
15230 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15231 changed undo functions for new version.
15233 2001-07-05 Juergen Vigna <jug@sad.it>
15235 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15236 unknow mechanism does not call the proper constructor but only this
15237 one also if I request the other!?
15239 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15241 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15243 * text2.C (LyXText): use initialization lists.
15245 * lyxtext.h (Selection): initialize set_ and mark_
15246 (init): remove method
15248 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15250 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15252 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15254 * screen.[Ch]: change method names to begin with lowercase
15256 * BufferView_pimpl.C (updateScrollbar): simplify further and
15257 hopefully make it a bit faster.
15259 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15261 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15262 calling directly xforms functions.
15264 * Painter.C (Painter):
15265 * lyx_cb.C (MenuWrite):
15266 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15269 * lyx_gui.C: remove bogus guiruntime extern declaration.
15271 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15273 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15275 (redoDrawingOfParagraph): ditto
15276 (redoParagraphs): ditto
15277 (cutSelection): don't create a object for CutAndPaste use the
15278 static method directly
15279 (pasteSelection): ditto
15281 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15284 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15286 * modifications to some other files because of this.
15288 * Makefile.am (lyx_SOURCES): add XFormsView
15290 * XFormsView.[Ch]: new files
15292 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15293 the main window. Move the gui dependent stuff to XFormsView
15295 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * tabular.C (GetCellInset): update cur_cell also in the row/col
15298 version of this function.
15300 * lyxfunc.C: no need to include figure_form.h here.
15306 * lyxvc.C: no need to include forms.h here.
15308 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15310 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15312 * lyxfunc.C (Dispatch):
15314 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15315 constructor argument.
15317 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15319 * paragraph.C (Paragraph): dont't clear, and just set layout.
15320 (makeSameLayout): use params's copy contructor.
15322 * ParagraphParameters.[Ch] (makeSame): delete method
15324 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15326 * Variables.[Ch]: fix indentation, rename set to isSet
15328 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15330 * lyxfunc.C (Dispatch): fix typo
15332 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15334 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15337 * bufferlist.C: include assert.h for emergencyWrite().
15339 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15341 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15342 give up at last (bug #425202) !
15344 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15350 * spellchecker.C: strip spellchecker options and bring up
15351 preferences tab instead
15353 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15355 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15356 the istringstream constructor
15358 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15360 * paragraph.C (getLayout): fix return value
15362 * paragraph.h: do not declare getLayout as inline.
15364 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15366 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15368 * lyxcursor.h (operator<): new func
15369 (operator>): new func
15370 (operator>=): new func
15371 (operator<=): new func
15373 * text.C (changeCase): use selection.start and selection.end
15374 (changeRegionCase): require from to be <= to. Require par to be a
15377 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15379 2001-06-27 Juergen Vigna <jug@sad.it>
15381 * text.C (cursorLeftOneWord): changed to return the cursor and added
15382 overlay with BufferView * parameter which calls this one.
15384 (selectWord): use new getWord function.
15385 (changeCase): renamed from changeWordCase as and extended to work
15386 also on selections.
15388 * lyxtext.h: added enum word_location
15390 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15391 changeCase as this operates now also on selections.
15393 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15395 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15397 * many files: send debug output to Debug::INFO instead of
15400 * converter.C (View):
15402 (Move): send debug output to Debug::FILES instead of console.
15404 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15406 * lyxfunc.C (getStatus): use func_status
15408 * func_status.h: new header, describing the results of
15409 LyXFunc::getStatus;
15411 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15414 2001-06-25 The LyX Project <jug@sad.it>
15416 * buffer.C (sgmlOpenTag):
15418 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15420 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15422 * text2.C: remove some dead code
15424 * tabular.C (GetCellInset): store the last cell checked (gotten)
15426 * tabular.h: add the helper for the speedup
15428 * lyxtext.h: remove some dead code
15430 2001-06-26 The LyX Project <Asger>
15432 * paragraph.C: Change export to LaTeX of alignment to
15433 \begin{center} and family for better roundtrip work with reLyX.
15435 * Tune the math drawing a bit.
15437 2001-06-25 The LyX Project <Asger>
15439 * LColor.C (LColor): New color for math background. New color
15442 2001-06-25 The LyX Project <jug@sad.it>
15444 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15446 * lyxfunc.C (Open):
15447 * bufferlist.C (newFile): do not restrict to files ending with
15450 * BufferView_pimpl.C (MenuInsertLyXFile):
15452 2001-06-24 The LyX Project <jug@sad.it>
15454 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15457 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15459 * lyxtext.h: rename most methods to begin with a small char.
15460 Lots of changes because of this.
15462 * paragraph.C (Paragraph): do not call fitToSize
15463 (erase): call Pimpl::erase
15464 (insertChar): call Pimpl::insertChar
15465 (insertInset): call Pipl::insertInset
15466 (breakParagraph): do not call fitToSize
15467 (breakParagraphConservative): do not call fitToSize
15468 (fitToSize): remove method
15470 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15472 2001-06-24 The LyX Project <Asger>
15474 * Fix Qt compilation^2
15476 2001-06-24 The LyX Project <jug@sad.it>
15478 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15479 depthHook(getDepth()-1).
15482 * ParagraphParameters.h:
15483 * ParameterStruct.h: change type of depth to unsigned int ==
15484 depth_type. Many adaptations to other files before of that.
15486 2001-06-24 The LyX Project <Asger>
15488 * Fix Qt compilation.
15490 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15492 * paragraph.h: renamed several methods to begin with small letter.
15493 several changes to many parts of the code because of this.
15495 2001-06-23 The LyX Project <jug@sad.it>
15497 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15498 rewritten to discard all double spaces when KeepEmpty is off
15499 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15500 to only handle newlines but not fiddle with spaces and friends.
15502 * lyxfunc.C (MenuNew): when doing 'new from template', use
15503 template_path as default directory
15505 2001-06-23 The LyX Project <Asger>
15507 * Clean-up of header file includes all over
15508 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15510 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * paragraph.h: renamed from lyxparagraph.h
15514 2001-06-23 Asger <lyx@violet.home.sad.it>
15516 * Buffer.h: Removed Buffer::resize
15517 * BufferList.h: Removed BufferList::resize
15518 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15519 the document lazily when we change the width, or the font settings.
15521 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15523 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15525 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15527 * buffer.h: remove out of date comment
15529 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15532 * screen.C: fix "theoretical" GC leak
15534 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15536 * LaTeX.C (scanAuxFile):
15537 (deplog): remove trailing \r when reading stream (useful under
15540 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15542 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15543 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15544 and BufferView::theLockingInset(Inset*), so should use them and not
15545 access bv_->text->the_locking_inset directly.
15547 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15549 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15552 * tex-defs.h: remove old unused file
15554 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15556 * BufferView_pimpl.C: fix typo, remove minibuffer message
15557 when buffer has loaded
15559 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15561 * lyxfunc.C (Dispatch): use stringstream
15562 (MenuNew): use stringstream
15563 (Open): use stringstream
15565 * importer.C (Import): use stringstream
15567 * bufferview_funcs.C (CurrentState): use stringstream
15569 * LaTeX.C (run): use stringstream
15571 * BufferView_pimpl.C (savePosition): use stringstream
15572 (restorePosition): use stringstream
15573 (MenuInsertLyXFile): use stringstream
15575 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15588 * vspace.C: removed // -*- C++ -*- as first line.
15591 * version.h: added // -*- C++ -*- as first line.
15593 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15595 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15597 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15600 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15602 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15605 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15607 * gettext.C: include LString.h even when --disable-nls is on.
15609 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15611 * converter.h (Get): changed argument type from int to
15612 FormatList::size_type to avoid unnecessary conversion.
15614 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15617 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15619 * gettext.h: include LString.h even when --disable-nls is on.
15621 2001-06-07 Juergen Vigna <jug@sad.it>
15623 * text.C (BreakAgain): subst spaces with tabs.
15625 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15626 (resizeInsetsLyXText): set force on resizeLyXText.
15628 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15630 * gettext.h (gettext_init):
15631 (locale_init): use a real definition instead of a macro
15633 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15635 * Bufferview_pimpl.C:
15637 * LColor.C: further lcolor tidies
15639 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15641 * BufferView_pimpl.C (updateScrollbar): simplify.
15643 * BufferView2.C: don't include insets/insetinfo.h, change
15644 prototype for insertInset and call the Pimpl version. let
15645 updateInset call Pimpl version.
15647 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15648 gotoInset to BufferView::Pimpl
15650 2001-06-01 Juergen Vigna <jug@sad.it>
15652 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15653 inside a LockingInset (is the update needed at all?).
15655 2001-05-31 Juergen Vigna <jug@sad.it>
15657 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15658 here not the old one otherwise how should we compare it afterwards
15661 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15666 * FontInfo.C: bring C functions into global namespace when
15669 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15671 * LString.h: make sure config.h has been loaded before LString.h.
15673 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15674 (one for each char read by EatLine!).
15676 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15679 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15681 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15682 to the same as the par we break from
15684 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15686 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15688 * MenuBackend.C (expand): also create menu entries for wide
15689 versions of the floats.
15691 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15693 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15695 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15696 frontends/Makefile.am
15702 * tabular.C (getTokenValue): add std::
15704 * tabular-old.C (getTokenValue): add std::
15705 (getTokenValue): ditto
15706 (getTokenValue): ditto
15708 * screen.C (ToggleSelection): adjust
15710 * lyxtext.h: put selection cursors inside a Selection struct.
15712 * lyxfunc.C (moveCursorUpdate): adjust
15714 * lyxfont.C (latexWriteStartChanges): add std::
15716 * lyxfind.C: adjust
15718 * font.h: delete with(char const *, LyXFont const &)
15720 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15722 * FontInfo.C (getFontname): add std::
15724 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15725 (workAreaButtonPress): adjust
15726 (tripleClick): adjust
15728 (moveCursorUpdate): adjust
15731 * BufferView2.C (gotoInset): adjust
15733 2001-05-30 Juergen Vigna <jug@sad.it>
15735 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15736 to check pspell I add this as default as I now have new pspell
15737 libraries and they seem to use this.
15739 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15741 * text2.C (CutSelection): make the cursor valid before the call to
15744 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15746 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15747 relied on 0 terminated strings and other horrors. Bug found due to
15748 the new assert in lyxstring!
15750 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15753 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15755 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15758 * lyxfunc.C (processKeySym): change method of getting to the
15761 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15762 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15763 * BufferView_pimpl.[Ch]: here as private methods.
15765 2001-05-28 Juergen Vigna <jug@sad.it>
15767 * text.C (SetHeightOfRow): added the update() call again as it is
15768 needed to initialize inset dimensions!
15770 2001-05-16 Juergen Vigna <jug@sad.it>
15772 * text2.C (SetCharFont): Add new function with BufferView * and
15773 bool toggleall parameters for setting insets internal fonts.
15774 (SetFont): Freeze the undo as we may change fonts in Insets and
15775 all this change should be inside only one Undo!
15777 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15778 setting font's in insets as for them we have the SetFont function!
15780 2001-05-15 Juergen Vigna <jug@sad.it>
15782 * text2.C (ClearSelection): to be sure we REALLY don't have any
15785 * tabular.C (TeXCellPreamble): fixed the left border problem for
15788 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15790 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15793 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15795 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15796 LFUN_BREAKPARAGRAPH.
15798 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15799 help test to "internal only", similar for LFUN_INSERT_URL
15801 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15802 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15803 auto_region_delete and deadkeys.
15805 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15808 * LColor.C: remove some dead entries, tidy a little
15810 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15812 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15814 (Dispatch): implement LFUN_ESCAPE
15816 * commandtags.h: add LFUN_ESCAPE
15818 * LyXAction.C (init): add entry for LFUN_ESCAPE
15820 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15821 Remove commented code.
15822 (insertNote): moved here
15823 (open_new_inset): moved here
15825 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15828 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15830 * kbmap.C (findbinding): clean it up and make it work correctly.
15832 * lyx_main.C (init): do not pass argc and argv as parameters
15834 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15836 * buffer.C: fix path for OS/2 & Win32
15840 * lyx_main.C: Added os:: class.
15842 * os2_defines.h: update
15844 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15846 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15847 better by trying again with reduced state.
15849 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15851 * lyxrc.C (read): print error about invalid key sequence only when
15852 debugging (because not all latinX keysyms are known to some X
15855 * kbsequence.C (getiso): add a few std:: qualifiers
15856 (getiso): comment out extra return statement.
15858 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15860 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15862 (Dispatch): enhance the accent inset a bit. (not perfect)
15864 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15866 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15868 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15870 * bufferlist.C (emergencyWrite): fix assert() call
15872 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15874 * text.C (InsertChar): Added trivial patch to only send the "you
15875 can not do multiple spaces this way" message once during a
15878 2001-05-08 Baruch Even <baruch@lyx.org>
15880 * Makefile.am: Changed order of libraries to get LyX to link properly
15881 with the gnome frontend.
15883 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15885 * LaTeXFeatures.h: add a std:: qualifier
15887 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15889 * paragraph.C (String): use stringstream
15891 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15893 * paragraph.C (writeFile): remove footflag arg
15895 * buffer.C (makeLaTeXFile): use stringstream
15896 (latexParagraphs): remove footnot gurba
15898 * LaTeXFeatures.C (getPackages): use stringstream
15899 (getMacros): likewise
15900 (getTClassPreamble): likewise
15901 (getFloatDefinitions): new method
15903 * paragraph.C (writeFile): reindent
15906 * WorkArea.h: revert the xpos + etc changes.
15908 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15910 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15912 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15913 (pasteSelection): likewise
15914 * text2.C (CreateUndo): likewise
15916 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15918 * minibuffer.C (peek_event): temporarily reduce the functionality
15919 of the minibuffer (to allow args on lfuns)
15921 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15922 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15924 * buffer.C (readInset): add compability reading of old float
15925 lists, add reading of new style float list.
15926 (readInset): avoid reevaluation of inscmd.getCmdName()
15927 (getLists): reindent
15929 * MenuBackend.C (MenuItem): implement parsing of
15930 md_floatlistinsert and md_floatinsert.
15931 (expand::LastFiles): move initalizaton of iterators out of loop,
15932 avoid reevaluation.
15933 (expand::Documents): introduce typdedef vector<string> Strings,
15935 (expand::ExportFormats): introduce typedef vector<Format const *>
15936 Formats, and use it.
15937 (expand): implement FloatListInsert and FloatInsert.
15939 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15940 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15941 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15943 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15945 (Dispatch::LFUN_FLOAT_LIST): implement
15947 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15949 * LaTeX.C (run): Fix problem with --export code.
15951 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15953 * BufferView.[Ch] (workarea): removed.
15954 (getClipboard) new method; wrapper for workarea()->getClipboard()
15956 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15959 * WorkArea.h (width, height, xpos, ypos): These methods all
15960 returned the dimensions of the work_area sub-area of WorkArea,
15961 resulting in a position error if the WorkArea were resized. Now
15962 return the dimensions of the entire WorkArea.
15964 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15966 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15968 * LaTeX.C (deplog): correct the syntax of regex reg1
15970 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15972 * undo.C: remove !NEW_INSETS cruft
15974 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15976 * text2.C: remove !NEW_INSETS cruft
15978 * text.C: remove !NEW_INSETS cruft
15980 * tabular.C: remove !NEW_INSETS cruft
15982 * spellchecker.C: remove !NEW_INSETS cruft
15984 * lyxtext.h: remove !NEW_INSETS cruft
15986 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15988 * lyxfunc.C: remove !NEW_INSETS cruft
15990 * lyxfind.C: remove !NEW_INSETS cruft
15992 * lyx_cb.C: remove !NEW_INSETS cruft
15994 * figureForm.C: remove !NEW_INSETS cruft
15996 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15998 * buffer.[Ch]: remove !NEW_INSETS cruft
16000 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16002 * CutAndPaste.C: remove !NEW_INSETS cruft
16004 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16006 * BufferView2.C: remove !NEW_INSETS cruft
16008 * BufferView.h: remove !NEW_INSETS cruft
16010 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16012 * Lsstream.h: include LString.h before the sstream headers to
16013 fix problem with gcc 2.95.3 and lyxstring
16015 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16017 * lyx_main.C: add using directives when needed for C functions
16018 declared in std:: namespace.
16020 2001-04-27 Juergen Vigna <jug@sad.it>
16022 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16023 (SetHeightOfRow): comment out the update call should not be needed!
16025 2001-04-13 Juergen Vigna <jug@sad.it>
16027 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16028 (LyXTabular): tried to minimize operator= operations (and realized
16029 hopfully Lars wish).
16031 2001-04-27 Juergen Vigna <jug@sad.it>
16033 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16035 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16037 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16039 * buffer.C (readInset): hack to make listof algorithm work
16041 * BufferView_pimpl.C: hack to make listof algorithm work
16043 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16045 * LyXAction.C: removed all !NEW_INSETS cruft
16046 (init): moved lfun_item in method
16048 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16050 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16052 * BufferView2.C (theLockingInset): white space.
16054 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16056 * minibuffer.C: include <iostream>
16058 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16060 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16062 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16064 * text.[Ch] (TransposeChars): new method
16066 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16068 * call message directly through LyXView instead of through LyXFunc
16069 * BufferView2.C: adjust
16070 * BufferView_pimpl.C: adjust
16071 * FontLoader.C: adjust
16073 * bufferview_funcs.C: adjust
16074 * converter.C: adjust
16075 * figureForm.C: adjust
16076 * importer.C: adjust
16078 * lyx_gui_misc.C: adjust
16079 * lyxfunc.C: adjust
16082 + more files in subdirs
16084 * lyxparagraph.h (size): move up int file
16087 * adjust all uses of Assert to lyx::Assert.
16089 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16090 lyxfunctional in namespace lyx
16091 * layout.C (hasLayout): ditto
16094 (delete_layout): ditto
16095 (NumberOfClass): ditto
16096 * converter.C (GetFormat): ditto
16101 * bufferlist.C (getFileNames): ditto
16102 (emergencyWriteAll): ditto
16105 * MenuBackend.C (hasSubmenu): ditto
16108 * BufferView_pimpl.C (getInsetByCode): ditto
16110 2001-04-18 Juergen Vigna <jug@sad.it>
16112 * vspace.C (asLatexString): fixed the 100% problem.
16114 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16116 * lyxfunc.C (Dispatch):
16118 * minibuffer.h: add a few std:: qualifiers
16120 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16122 * minibuffer.[Ch]: reimplement so that commands is initiated and
16123 run from lyxfunc, simplified som handling, and made the completion
16124 and history code for complete. wip.
16126 * lyxfunc.C (processKeySym): call message
16127 (miniDispatch): new temporary method
16128 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16129 (LFUN_MESSAGE): implement
16130 (LFUN_MESSAGE_PUSH): implement
16131 (LFUN_MESSAGE_POP): implement
16132 (initMiniBuffer): the initial/defualt minibuffer message.
16134 * lyxfont.[Ch]: inline some more getters
16136 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16138 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16140 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16141 (AutoSave): use LFUN_MESSAGE
16142 (Reconfigure): ditto
16144 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16146 * figureForm.C: use LFUN_MESSAGE
16148 * converter.C (runLaTeX): use LFUN_MESSAGE
16150 * bufferview_funcs.C: use LFUN_MESSAGE
16152 (changeDepth): ditto
16154 * bufferparams.h: use boost::
16156 * bufferlist.h: inherit privately from noncopyable
16158 * bufferlist.C (loadLyXFile): remove some commented code.
16160 * buffer.C (runChktex): use LFUN_MESSAGE
16162 * ShareContainer.h: inherit privately from noncopyable
16164 * ParagraphParameters.[hC] (depth): inline it.
16166 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16168 (message): new method
16169 (messagePush): ditto
16170 (messagePop): ditto
16171 (show): init minibuffer
16172 (showState): direct call
16174 * LaTeX.[Ch]: inherit privately from noncopyable
16175 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16176 instead of WriteStatus.
16178 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16180 * BufferView_pimpl.C (buffer): don't init minibuffer
16181 (workAreaButtonPress): use LFUN_MESSAGE
16182 (workAreaButtonRelease): ditto
16183 (savePosition): ditto
16184 (restorePosition): ditto
16185 (MenuInsertLyXFile): ditto
16186 (workAreaExpose): don't init minibuffer
16187 (update): remove commented code, simplify
16189 * BufferView2.C (openStuff): use LFUN_MESSAGE
16190 (toggleFloat): ditto
16193 (copyEnvironment): ditto
16194 (pasteEnvironment): ditto
16199 (updateInset): remove some commented code
16201 * lastfiles.h: inherit privately from noncopyable
16204 * lyx_main.h: ditto
16206 * lyxlex_pimpl.h: ditto
16208 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16209 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16210 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16212 * LyXAction.h: inherit privately from noncopyable, add methods
16213 func_begin, func_end, returning iterators to the func map.
16215 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16216 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16217 (func_begin): new method
16218 (func_end): new method
16220 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16222 (copySelection): ditto
16223 (pasteSelection): ditto
16225 * BufferView.C: whitespace change
16226 * BufferView.h: inherit privately from noncopyable
16228 2001-04-16 Allan Rae <rae@lyx.org>
16230 * tabular-old.C (l_getline):
16231 * spellchecker.C (sc_check_word):
16232 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16233 an unrecognised preprocessor directive. So ensure they're wrapped.
16235 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16237 * src/exporter.C (Export): Give an error message when path to file
16240 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16242 * LaTeX.C (deplog): Always check that foundfile exists.
16244 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16247 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16249 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16251 * tabular.[Ch] (getLabelList): implement new method
16253 * minibuffer.h: comment ouf setTiimer
16255 * minibuffer.C (ExecutingCB): constify res
16256 (peek_event): constify s
16257 (Set): constify ntext
16258 (Init): constify nicename
16260 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16262 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16263 (savePosition): use two params to Minibuffer::Set
16264 (restorePosition): ditto
16266 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16268 * lyx_main.C: include language.h
16270 * Makefile.am (lyx_main.o): add language.h
16272 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16278 * CutAndPaste.C: include gettext.h
16280 * lyxfont.h: remove old hack with ON and OFF.
16283 * lyxfont.h: do not include language.h...
16288 * bufferview_funcs.C:
16294 * paragraph.C: ... but do it here instead
16296 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16298 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16300 * tabular.C: small reformat
16302 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16305 (BreakParagraph): ditto
16306 (SetOnlyLayout): ditto
16309 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16312 * lastfiles.C: removed most using decl, add std:: where needed
16314 * buffer.C: ws changes
16316 * MenuBackend.C (class compare_format): put into anon namespace
16317 (expand): constify label, names, action, action2
16320 * text.C (SingleWidth): constify font
16321 (IsBoundary): constify rtl2
16322 (GetVisibleRow): constify ww
16324 * LaTeX.C (deplog): constify logfile
16326 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16328 (workAreaExpose): constify widthChange, heightChange
16330 * lyxrow.C (par): moved
16333 * lyxrow.h: as inlines here
16335 * lyxfont.h (shape): moved from lyxfont.C
16336 (emph): moved from lyxfont.C
16338 * lyxfont.C (LyXFont): use initialization list for all
16340 (shape): move to lyxfont.h as inline
16341 (emph): move to lyxfont.h as inline
16344 2001-04-04 Juergen Vigna <jug@sad.it>
16346 * vspace.C: had to include stdio.h for use of sscanf
16348 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16351 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16352 independent of xforms.
16354 2001-04-02 Juergen Vigna <jug@sad.it>
16356 * spellchecker.C: fixed namespace placing!
16358 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16360 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16361 the LyXParagraph * is 0.
16363 2001-03-29 Juergen Vigna <jug@sad.it>
16365 * vspace.C: added support for %, c%, p%, l%.
16366 (stringFromUnit): added helper function.
16367 (asLatexString): changed to give right results for the %-values.
16369 * buffer.C: convert the widthp in a width%.
16371 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16373 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16376 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16377 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16379 * lyx_cb.[Ch]: see above.
16381 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16385 * lyx.[Ch]: replaced by figure_form.[Ch].
16389 * lyxfunc.C: changed headers associated with above changes.
16391 2001-03-27 Juergen Vigna <jug@sad.it>
16393 * BufferView_pimpl.C: set the temporary cursor right!
16395 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16397 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16399 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16401 * LString.h: removed "using std::getline"!
16403 * BufferView_pimpl.C (Dispatch): changes due to changes in
16404 InsetInclude::Params.
16406 * buffer.C (tag_name): removed redundant break statements as they were
16407 producing lots of warnings with my compiler.
16409 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16411 * LString.h: add "using std::getline" when using the real <string>.
16413 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16415 * buffer.C: removed bitset usage.
16416 PAR_TAG moved to an anonymous name space.
16417 (tag_name): new funtion, also in the anonymous namespace.
16418 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16419 (makeDocBookFile): clean code. Completed transition from string arrays
16421 (SimpleDocBookOnePar): code clean.
16423 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16425 * tabular.C: add some comments.
16427 2001-03-22 Juergen Vigna <jug@sad.it>
16429 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16430 compatibility read a bit and fixed bug with minipage in different
16433 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16435 * buffer.C (pop_tag): removed.
16436 (push_tag): removed.
16437 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16438 array replaced with vector. Added support for CDATA sections.
16439 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16441 (makeDocBookFile): XML conformant declaration of CDATA section,
16442 fixed bug related to <emphasis> in the first paragraph char.
16443 (sgmlOpenTag): exclude empty tags.
16444 (sgmlCloseTag): ditto.
16446 * buffer.h (pop_tag): removed.
16447 (push_tag): removed.
16449 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16451 * language.h (Languages): added size_type and size().
16453 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16455 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16456 response on compability reading of minipages. One probliem is that
16457 the old usage of minipages was «flertydig»
16459 * several files here and in subdirs: don't use static at file
16460 scope use anon namespaces instead.
16462 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16464 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16465 LaTeX output. This is necessary for Literate document
16468 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16470 * buffer.C: insert hfill when needed.
16472 * tabular.C (l_getline): use string::erase, small whitespace change.
16474 * BufferView_pimpl.C: try the anon namespace.
16475 * WorkArea.C: ditto
16477 2001-03-16 Juergen Vigna <jug@sad.it>
16479 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16480 otherwise it won't open options-dialogs.
16482 * buffer.C: honor pextraWidth(p) on converting minipages.
16484 * tabular.C (l_getline): changed the functions to strip trailing \r.
16486 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16488 * BufferView_pimpl.C:
16489 * minibuffer..C: added "using SigC::slot" declaration.
16491 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16493 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16499 * paragraph.C: ditto
16501 * lyxtext.h: NO_PEXTRA
16503 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16505 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16506 * ParameterStruct.h: ditto
16507 * ParagraphParameters.h: ditto
16508 * lyxparagraph.h: ditto
16510 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16512 * buffer.C: add compability for minipage alignment.
16513 (latexParagraphs): remove unwanted pextra check.
16515 * several files: remove CXX_WORKING_NAMESPACES
16517 * buffer.C (pop_tag): tie is in namespace boost
16519 * BufferView.h: noncopyable is in namespace boost
16521 * lyx_main.h: ditto
16524 * lastfiles.h: ditto
16525 * bufferlist.h: ditto
16526 * ShareContainer.h: ditto
16528 * LyXAction.h: ditto
16531 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16533 * Merging changes from BRANCH_MVC back into HEAD.
16535 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16537 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16539 * BufferView_pimpl.C: change from intl.C
16543 * Makefile.am: move combox.*
16549 * intl.C: remove dialog (covered by prefs)
16551 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16553 * lyxfunc.C (Dispatch): removed redundant break statement.
16555 2001-03-14 Juergen Vigna <jug@sad.it>
16557 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16559 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16561 * buffer.C: add hack to fix compability reading of minipages.
16563 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16565 * buffer.C (getLists): Cleanup.
16567 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16569 * lyxfont.C (update): don't honor toggleall on font size.
16571 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16575 * Makefile.am: moved to frontends/xforms/
16579 * BufferView_pimpl.C: changes for moved mathpanel
16581 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16583 * gettext.h: fix gettext_init() in --disable-nls
16585 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16587 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16589 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16592 * lyx.h: strip external form
16594 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16596 * BufferView_pimpl.C: add comment, destroySplash()
16598 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16600 * BufferView_pimpl.C:
16604 * lyxfunc.C: use re-worked insetinclude
16606 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16608 * buffer.C: add using std::stringstream.
16610 * lyx_cb.C: readd using std::ios.
16612 * buffer.C: add using std::map.
16614 * BufferView_pimpl.C: add using std::vector.
16616 * ShareContainer.h: add std:: to swap.
16618 * buffer.h: add some typedefs
16619 * buffer.C (getLists): use them
16620 (getLists): renamed from getTocList.
16621 add a counter for the different float types and use it in the
16623 (getLists): use the same counter for the NEW_INSETS and the "non"
16626 * lyx_cb.h: remove unused items, includes, using etc.
16628 * ShareContainer.h: remove some commented code, add more comments
16629 and "documentation".
16631 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16633 * buffer.C (getTocList): make the list also when NEW_INSETS is
16636 * buffer.h: remove TocType
16638 * buffer.C (getTocList): change to return a map<string,
16639 vector<TocItem> >, implement for dynamic number of list.
16641 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16642 * text2.C (PasteSelection): adjust
16643 * CutAndPaste.C (pasteSelection): adjust
16645 * FloatList.C (FloatList): update from the new_insets branch.
16646 * Floating.[Ch]: ditto
16647 * LaTeXFeatures.C: ditto
16649 * lyxlex_pimpl.C: ditto
16651 * paragraph.C (Last): remove when NEW_INSETS is defined.
16653 * other file: changes because of the above.
16655 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16657 * lyxparagraph.h: rename next to next_, previous to previous_,
16658 make them private for NEW_INSETS. Rename Next() to next(),
16659 Previous() to previous().
16661 * other files: changes because of the above.
16663 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16666 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16669 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16671 * main.C (main): pass lyx_localedir to gettext_init().
16673 * gettext.h: remove locale_init and gettext_init macros
16675 * gettext.C (locale_init): new function
16676 (gettext_init): new function
16678 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16681 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16683 * Moved credits to frontends:
16684 * credits.[Ch]: removed
16685 * credits_form.[Ch]: removed
16686 * lyx_gui_misc.C: remove credits stuff
16689 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16691 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16693 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16694 unneeded destructor.
16696 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16697 a standalone pointer again.
16699 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16701 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16707 * ToolbarDefaults.C:
16716 * BufferView_pimpl.C: use new file dialog in GUII
16719 * lyx_cb.C: remove LayoutsCB to Toolbar
16721 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16723 * ShareContainer.h (get): add std:: qualifier
16725 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16727 * ShareContainer.h: define a proper ShareContainer::value_type
16728 type (and use typename to please compaq cxx)
16730 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16732 * lyxparagraph.h: move serveral local vars to
16733 ParameterStruct/ParagraphParameters., use ShareContainer in
16734 FontTable., make vars in FontTable private and add getter and
16737 * paragraph.C: changes because of the above.
16739 * lyxfont.h: remove copy constructor and copy assignment. (the
16740 default ones is ok), move number inside FontBits. move inlines to
16743 * lyxfont.C: add number to initializaton of statics, move several
16744 inlines here. constify several local vars. some whitespace
16745 cleanup. Dont hide outerscope variables.
16747 * Spacing.h: add two new constructors to match the set methods.
16749 * ShareContainer.h: new file, will perhaps be moved to support
16751 * ParameterStruct.h: new file
16753 * ParagraphParameters.h: new file
16755 * ParagraphParameters.C: new file
16757 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16758 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16760 * BufferView_pimpl.C: ParagraphParameter changes.
16761 * buffer.C: Likewise.
16762 * bufferview_funcs.C: Likewise.
16763 * text.C: Likewise.
16764 * text2.C: Likewise.
16766 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16768 * lyxfind.C (LyXReplace): do not redefine default argument in
16770 (IsStringInText): ditto
16771 (SearchForward): ditto
16772 (SearchBackward): ditto
16774 2001-03-06 Juergen Vigna <jug@sad.it>
16776 * lyxfind.C (IsStringInText): put parentes around expressions.
16778 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16780 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16782 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16784 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16786 * stl_string_fwd.h: add comment
16788 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16791 * tabular.C: remove unused DocBook methods
16797 killed DO_USE_DEFAULT_LANGUAGE
16799 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16801 * lyx_gui.C: do not include language.h.
16803 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16804 arguments in function implementation.
16806 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16808 * BufferView_pimpl.C: add <ctime>
16810 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16812 * BufferView_pimpl.C: add using std::find_if
16814 2001-02-27 José Matos <jamatos@fep.up.pt>
16816 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16819 2001-02-11 José Matos <jamatos@fep.up.pt>
16821 * buffer.C (makeDocBookFile): command styles now have a parameter as
16822 "title" by default.
16824 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16826 * layout_forms.[Ch]: removed
16827 * lyx_cb.[Ch]: out character
16828 * lyx_gui.C: out character
16829 * lyx_gui_misc.C: out character
16830 * bufferview_funcs.C: : out character,
16831 added toggleall as parameter in ToggleAndShow
16833 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16835 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16837 * text2.C (SetCurrentFont): Disable number property at boundary.
16839 2001-02-26 Juergen Vigna <jug@sad.it>
16841 * lyxfunc.C (getStatus): added a string argument override function so
16842 that this is correctly called from LyXFunc::Dispatch if it contains a
16843 do_not_use_argument which is used!
16844 (Dispatch): added check for "custom" export and call appropriate func.
16846 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16848 * lyxrc.C: Add language_command_local, language_use_babel and
16849 language_global_options.
16851 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16853 * buffer.C (makeLaTeXFile): Use language_use_babel and
16854 language_global_options.
16856 2001-02-23 Juergen Vigna <jug@sad.it>
16858 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16859 which works with LyXText and putted it inside BufferView. Here now we
16860 only call for that part the BufferView::Dispatch() function.
16862 * BufferView.C (Dispatch): added.
16864 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16865 functions which needs to use a LyXText over from LyXFunc.
16866 (MenuInsertLyXFile): added
16867 (getInsetByCode): added
16868 (moveCursorUpdate): added
16869 (static TEXT): added
16871 2001-02-22 Juergen Vigna <jug@sad.it>
16873 * BufferView_pimpl.C (update): call a status update to see if LyXText
16876 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16878 * vc-backend.C (revert): implement for CVS
16879 (getLog): implement for CVS
16881 2001-02-20 Juergen Vigna <jug@sad.it>
16883 * text2.C (ClearSelection): added BufferView param for inset_owner call
16885 * lyxfunc.C (TEXT): added this function and use it instead of
16886 directly owner->view()-text of getLyXText().
16888 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16890 * src/layout_forms.C: out preamble
16891 * src/layout_forms.h: out preamble
16892 * src/lyx_cb.C: out preamble
16893 * src/lyx_cb.h: out preamble
16894 * src/lyx_gui.C: out preamble
16895 * src/lyx_gui_misc.C: out preamble
16896 * src/lyxfunc.C: connect with guii preamble
16898 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16900 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16902 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16904 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16905 whether to run bibtex.
16907 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16909 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16911 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16913 * Makefile.am (lyx_SOURCES): removed bibforms.h
16915 * vspace.h: doxygen
16917 * text.C (GetVisibleRow): make several local vars const
16919 * tabular.C: small cleanup.
16921 * lyxserver.C (callback): use compare instead of strncmp
16923 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16924 inlines to after class or to paragraph.C
16926 * lyxfont.h: remove friend operator!=
16928 * converter.h: move friend bool operator< to non friend and after
16931 * combox.h: small cleanup
16933 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16934 to inlines after class def.
16936 * buffer.C (pop_tag): use string operations instead of strcmp
16938 * bmtable.c: doxygen, small cleanup
16940 * LaTeX.h: remove friend operator==
16942 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16954 * BufferView_pimpl.C:
16955 * BufferView.[Ch]: remove cruft
16957 2001-02-14 Juergen Vigna <jug@sad.it>
16959 * lyxfunc.C: removed #if 0 unused code
16961 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16963 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16965 * text2.C (SetSelection): added a BufferView * parameter
16967 2001-02-13 Juergen Vigna <jug@sad.it>
16969 * lyxfunc.C (Dispatch): fixed protected blank problem.
16970 * BufferView2.C (protectedBlank): added LyxText * parameter.
16972 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16973 (AppendColumn): same as above for column_info.
16975 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16976 (moveCursorUpdate): use a LyXText param for support of InsetText.
16978 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16979 (tripleClick): ditto
16981 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16983 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16985 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16987 * text2.C (SetSelection): set correct update status if inset_owner
16988 (ToggleFree): ditto
16990 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16992 * tabular.C: remove some commented code.
16994 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16996 * BufferView_pimpl.C: call hideSplash()
16998 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17001 * bibforms.h: remove
17004 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17005 add LFUN_CHILD_CREATE
17007 * counters.h: fix tiny typo
17012 * lyx.C: move splash to frontends/xforms/
17014 * lyx_gui_misc.C: move Include and Bibform to frontends
17016 * lyxvc.h: clarify comment
17018 * vspace.C: tiny housekeeping
17020 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17022 * text.C (PrepareToPrint): RTL Fix.
17024 * paragraph.C (GetUChar): New method.
17025 (String): Use GetUChar.
17027 * buffer.C (asciiParagraph): Use GetUChar.
17029 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17031 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17033 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17036 * buffer.C: rename to getLogName(), handle
17037 build log / latex log nicely
17039 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17042 * MenuBackend.h: remove support for reference menuitem type.
17044 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17046 * BufferView_pimpl.C: housekeeping
17047 * BufferView_pimpl.h:
17052 * minibuffer.h: move Timeout GUI-I
17054 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17056 * lyxrc.C (read): Update converters data-structures.
17058 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17060 * LaTeX.h (operator!=): add operator != for Aux_Info
17062 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17064 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17066 * LaTeXLog.C: deleted, useful code moved to Buffer
17069 * buffer.C: new function getLatexLogName()
17075 * lyxfunc.C: use frontends for LaTeX and VC logs
17077 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17079 * LaTeX.h: yet another std:: that Allan forgot.
17081 * Variables.C (set): renamed from isset(), because this clashes
17082 with some HP-UX macros (grr).
17084 2001-02-06 Allan Rae <rae@lyx.org>
17086 * LaTeX.h: Another bug fix. Missing std:: this time.
17088 2001-02-04 Allan Rae <rae@lyx.org>
17090 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17091 floats problem. I've left it commented out because it's not quite
17092 correct. It should also test that the current object is a table or
17093 figure inset. But I haven't gotten around to figuring out how to do
17094 that. I *think* it'll be something like: "table" == inset.type()
17096 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17099 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17101 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17102 all the citation/databases/styles in the auxilary file.
17103 (run): Rerun latex if there was a babel language error.
17105 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17107 * text.C (Backspace): Preserve the font when changing newline char
17109 (BreakParagraph): If the cursor is before a space, delete the space.
17111 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17113 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17115 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17116 new argument (code).
17117 (ChangeCitationsIfUnique): New method.
17119 * paragraph.C (GetPositionOfInset): Handle bibkey.
17121 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17123 * BufferView_pimpl.h: change type of Position::par_pos to
17124 LyXParagraph::size_type.
17126 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17128 * BufferView_pimpl.C (savePosition, restorePosition): Write
17129 messages to minibuffer.
17131 2001-01-28 José Matos <jamatos@fep.up.pt>
17133 * buffer.C (makeDocBookFile): adds support for document language.
17134 A silly restriction on the name of LatexCommand types where removed.
17135 Added support for CDATA sections, allows to chars unescaped, used
17136 among others in code, to avoid escape < and >.
17138 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17140 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17141 saved positions instrad of a stack. Furthermore, a position is
17142 stored using paragraph id/paragraph position.
17144 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17145 Remove LFUN_REF_BACK.
17147 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17149 * converter.C (dvipdfm_options): New method.
17151 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17153 * vspace.C (isValidLength): Fix for empty input string.
17155 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17157 * LyXAction.C (init): change description of LFUN_FIGURE to
17160 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17162 * LaTeX.C: add using directive
17164 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17166 * MenuBackend.C (expand): Fix the sorting of the formats.
17168 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17170 * lyx_main.C: tiny error message fix
17172 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17174 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17175 calling fl_initialize(). This fixes the problem with ',' as
17176 decimal separator in text files.
17178 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17180 * trans.C (process): Fix the keymap bug.
17182 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17184 * LaTeX.C (scanAuxFiles): New method. Provides support for
17185 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17186 (scanLogFile) Scan for "run BibTeX" messages.
17188 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17189 OT1 font encoding. Also, load the aecompl package if the ae
17192 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17194 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17196 * texrow.C (increasePos): turn two error messages into debug
17199 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17201 * LaTeX.C (scanAux): Handle the \@input macro.
17202 (runBibTeX): Use scanAux().
17204 * language.C (latex_options_): New field.
17206 * LaTeXFeatures.C (getMacros): Add language macros.
17208 * buffer.C (makeLaTeXFile): Small fix.
17210 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17212 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17214 * text2.C: add a using directive.
17216 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17221 * lyxfunc.C: kill LyXBell.
17223 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17225 * text.C (IsBoundary): Remove the error message
17227 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17229 * lyxrc.C (setDefaults): Correct initialization value for
17232 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17234 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17237 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17238 and GotoNextNote().
17240 * src/LyXAction.C: Added reference-next.
17242 * text.C (InsertChar): Use contains instead of strchr.
17244 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17246 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17248 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17249 alignment commands (when needed).
17251 * text.C (InsertChar): Add ':' to number separator chars.