1 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * text2.C (setCounter): check for inInset() == 0
5 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
8 but use update() to get correct screen display; use convert
9 instead of istringstream.
10 (getStatus): handle LFUN_GOTO_PARAGRAPH
12 * lyxfunc.C (dispatch, getStatus): do not handle
13 LFUN_GOTO_PARAGRAPH here.
15 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
17 * text3.C (dispatch): size() -> depth()
19 * text2.C: remove some debug output
21 * paragraph.C: ws changes only
23 * lyxfunc.C (getStatus): size() -> depth()
25 * dociterator.h (clear, push_back, pop_back, internalData,
26 operator[], resize, empty): new functions
27 Make StableDocIterator and operator== be friends. Don't inherit
28 from std::vector use a privat class variable slices_ instead.
31 * dociterator.C: update because of not inheriting from std::vector
32 anymore. Call explictly to slices_ instead. Use depth() instead of
33 size() and top() instead of back()
35 * cursor.C: chagne size() -> depth and back() -> top(). Also
36 remove some direct operator[](i) calls in favour of foo[i]
37 (getFont): remove some dead code
39 * bufferview_funcs.C (coordOffset): size() -> depth()
41 * buffer.C: ws changes only
43 * CutAndPaste.C (eraseSelection): back() -> top()
45 * BufferView_pimpl.C (selectionRequested): back() -> top()
47 * BufferView.C (setCursor): size() -> depth()
49 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
51 * text3.C (cursorPrevious): return true if depm changed something
53 (dispatch): rename sl to oldTopSlice, remove moving use the new
54 NoUpdate func attrib instead. Make sure that needsUpdate is set
55 for function that have NoUpdate, but where depm might have changed
58 * text2.C (cursorLeft): make us return true if depm changed
61 (cursorUpParagraph): ditto
62 (curosrDownParagraph): ditto
63 (cursorUp, cursorDown): ditto, make sure to read comments in code
64 (deleteEmptyParagraphMechanism): remove an assert, also return
65 true if just a single char was deleted.
67 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
68 cursor that we modify, to avoid modifying an active cursor before
69 we call setCursor. This allows depm to run. Also return true if
70 depm deleted something.
72 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
73 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
74 cursorDownParagraph, cursorPrevious and cursorNext, return true if
75 something was changed in the buffer because of them (ie. depm run)
77 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
78 debug messages. Make update by default be false. Make sure that
79 the result of update is retained throught several calls down to
82 * LyXAction.h: add a new func_attrib: NoUpdate
84 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
85 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
86 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
88 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
90 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
93 bv_->owner(), bv_->buffer() by direct references to the private
95 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
96 (getStatus): isSavedPosition() is in BufferView::Pimpl.
97 (fitCursor): center() is in BufferView::Pimpl.
98 (getStatus, trackChanges, dispatch): no need for a temporary buf
100 (fitCursor, workAreaDispatch): use workarea().workheight()
102 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * CutAndPaste.C (pasteSelectionHelper): fix a crash
106 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
108 * buffer.C: format up to 241.
109 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
110 break if pasting into ERT
111 * lyxfunc.C (getStatus): suppress mathpanel and
112 LFUN_DIALOG_SHOW_NEW_INSET in ERT
114 2005-02-01 Angus Leeming <leeming@lyx.org>
116 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
118 2005-02-01 Angus Leeming <leeming@lyx.org>
120 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
121 calling fs::is_directory().
123 2005-01-31 Angus Leeming <leeming@lyx.org>
125 * lyx_main.C (priv_exec): specify explicitly the relative location
126 of the top level build directory when run in-place.
128 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
131 LyXText containing the cursor, not the top-level one.
133 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
135 (insertStringAsLines): rename par to pit; use temporary variable
136 par to hold a Paragraph; do not store par.layout() in a variable,
137 since the pointer may die when breaking paragraphs; pass pars to
138 breakParagraph() instead of Buffer::paragraphs().
140 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
142 * lyxlex_pimpl.h: #include <fstream>.
144 * BufferView.[Ch] (getLyXText): add a const version.
146 * BufferView_pimpl.C: add debug aids.
151 * paragraph_funcs.h: add commentary explaining what the class does.
154 * coordcache.[Ch]: add lots of commentary.
155 (startUpdating, doneUpdating): debug aids.
156 (arrays, insets, parPos, getParPos): accessors to private data.
158 * cursor_slice.[Ch] (text): add a const version.
159 * dociterator.[Ch] (text, innerText): add const versions.
161 * lyxtext.h (breakParagraph): change the keep_layout arg to a
164 * paragraph.C (getRow, pos2ros): add asserts.
166 * paragraph.h: add commentary. Lots of.
168 * paragraph.[Ch] (metrucs, draw): removed.
171 * rowpainter.[Ch]: const-correct changes.
173 * text.C: various obvious clean-ups. Removal of ancient cruft.
176 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
178 * vc-backend.C (find_file): rewrite to use boost.filesystem
181 * main.C (main): set default name check for boost.filesystem to
184 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
187 (actOnUpdatedPrefs): ditto
189 * lyx_main.C (init): rewrite to use boost.filesystem
190 (queryUserLyXDir): ditto
192 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
193 (getContentsOfAsciiFile): ditto
195 * lastfiles.C (readFile): rewrite to use boost.filesystem
197 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
199 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
202 * buffer.C (Buffer): adjust for destroydir
203 (getLogName): rewrite to use boost.filesystem
205 (save): use fs::copy_file (from fs_extras)
207 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
209 * LaTeX.C (run): rewrite to use boost.filesystem
210 (scanAuxFiles): ditto
211 (handleFoundFile): ditto
213 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
215 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
217 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
219 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
221 * lyxlayout.[Ch]: change some vars from float to double
223 * buffer.C (readFile): make a local var const
225 * Several files: use convert<> instead of atoi,strToXXX and friends
227 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
229 * LaTeXFeatures.[Ch]: Add a static list packages_ that
230 holds the contents of packages.lst. New functions getAvailable
231 and isAvailable to parse and check that list, resp.
235 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
237 * bufferparams.[Ch]: new param output_changes.
239 * Buffer.C: increase file format to 240.
240 Use output_changes and isVailable.
244 * paragraph_pimpl.C: Use output_changes and isVailable.
246 2005-01-23 Angus Leeming <leeming@lyx.org>
248 * output_latex.C: #include "insetbibitem.h", rather than
249 forward declare function bibitemWidest.
251 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
253 * lyx_main.C (init): make it compile on the Mac.
255 2005-01-20 Angus Leeming <leeming@lyx.org>
257 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
258 (setLyXMisc): (char string literal) != (char string literal) is
259 performing a comparison on the addresses. Convert one operand
260 explicitly to string to guarantee expected behaviour.
263 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
266 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
268 * output_plaintext.C: remove unneeded #include gzstream.h.
270 2005-01-20 Angus Leeming <leeming@lyx.org>
272 * SpellBase.h: rename some of the elements of the Result enum.
279 * pspell.C (check): ditto
281 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
283 * buffer.C: add #include <fstream>.
285 * lyx_main.C (init): Compile fix.
287 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
289 2005-01-20 Angus Leeming <leeming@lyx.org>
291 * mover.h: change commentary to reflect the changed meaning of
294 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * output_linuxdoc.C (linuxdocParagraphs): silence warning
298 * lyxfind.C (MatchString::operator()): remove bogus semicolon
300 2005-01-20 Angus Leeming <leeming@lyx.org>
302 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
303 printing diagnostic data by not dereferecing an iterator past the
306 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
308 * buffer.C (readHeader): use "&&" rather than "and".
310 * lyxserver.h (inPipeName, outPipeName): make these const.
312 2005-01-19 Angus Leeming <leeming@lyx.org>
314 * lyx_main.C (error_handler, init): protect SIGHUP with
315 #ifdef SIGHUP guards.
317 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
321 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * text.C (setHeightOfRow): add a margin at the top and bottom of
324 the document (bug 1761)
326 2005-01-17 Angus Leeming <leeming@lyx.org>
328 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
329 with "python ". Workaround for a brain-dead Windows.
331 2005-01-16 Angus Leeming <leeming@lyx.org>
333 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
334 for MacOSX and Windows to use prependEnvPath.
335 Strip out the hard-coded block to add elements to the PATH for
336 MacOSX and replace it with a call to prependEnvPath using the
337 contents of LyXRC::path_prefix.
338 (queryUserLyXDir): strip out the code to run reconfigure, instead
339 returning a boolean indicating the necessity to do so.
340 (reconfigureUserLyXDir): contains the code to reconfigure the
341 user support directory. Is now called after the various LyXRC data
342 files have been read.
344 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
346 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
348 * converter.[Ch] (convert): take a new parameter try_default. Use
349 a default converter (imagemagick) if try_default is true.
351 2005-01-13 Angus Leeming <leeming@lyx.org>
353 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
355 (write): output LyXRC::cygwin_path_fix as necessary.
357 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
360 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
362 2005-01-12 Angus Leeming <leeming@lyx.org>
364 * lyx_main.C (init): set the PATH variable to include the
365 directory containing the LyX binary when running on Mac or Windows.
367 2005-01-12 Angus Leeming <leeming@lyx.org>
369 * lyx_main.C (init): remove cruft that purports to set the locale
370 dir. It doesn't and is not needed anyway.
372 2005-01-10 Angus Leeming <leeming@lyx.org>
374 * Makefile.am: remove the lyx_main.C special casing.
376 * BufferView_pimpl.C:
382 * messages.C: use support/package.h to provide the paths to the
383 various directories used by LyX.
385 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
387 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
388 layout if pasting into an empty paragraph)
390 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
392 * tex-accent.C: add <string>
394 2005-01-06 José Matos <jamatos@lyx.org>
396 * ParagraphParameters.C (write): put every parameter in its own line.
397 * paragraph.C (write): reduce number of consecutive empty lines exported.
398 * buffer.C (LYX_FORMAT): increase file format to 239.
400 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
402 * everywhere: change support/tostr.h -> support/convert.h
404 * tabular.C: make all write_attributes templates, tostr -> convert
406 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
407 (emptyTag): and -> &&, and fix type for ret from getChar
408 (getFirstWord): fix type for ret from getChar
409 (onlyText): and -> &&
410 (simpleDocBookOnePar): and not -> && !, fix type for ret from
413 * toc.C (goTo, action):
414 * text3.C (dispatch):
415 * text.C (currentState):
416 * tex-accent.C (DoAccent):
419 * lyxfunc.C (menuNew):
420 * lyxfinc.C (replace):
421 * counters.C (laberItem):
422 * bufferview_funcs.C (font2string):
423 * bufferparams.C (writeFile):
424 * buffer.C (readFile):
426 * MenuBackend.C: tostr -> convert
428 * LaTeX.C (runMessage): fix format
429 (scanAuxFiles): tostr -> convert
431 * BufferView_pimpl.C (savePosition): fix format
432 (restorePosition): ditto
435 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
437 * Spacing.[Ch]: New method getValueAsString().
441 * ParagraphParameters.C:
444 * text3.C: store/read spacing value as string.
446 * rowpainter.C: change float value (spacing_val) to double.
448 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
449 broken custom document spacing).
451 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
453 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
454 namespace, also more use of temp references and const
456 * cursor.[Ch] (getStatus): move to lyxfunc.C
458 * bufferparams.C: reformat slightly
460 * bufferview_funcs.C (font2string): constify arg
466 * buffer_funcs.C: (many funcs): constify arg on function
467 definitions, also make more local vars const, also add ASSERTS on
470 * buffer.C (LYX_FORMAT): put const in correct place
471 (many funcs): constify arg on function definitions, also make
472 more local vars const
474 * aspell_local.h: remove "struct" from typdef setup
476 * aspell.C (check): make word_ok const
477 (nextMiss): simplify slightly
480 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
482 * lyxrc.[Ch]: store all float values as strings.
483 use int (not float) for lyxrc.dpi.
485 2005-01-04 Angus Leeming <leeming@lyx.org>
487 * lyx_cb.C (Reconfigure):
488 * lyx_main.C (queryUserLyXDir):
489 to run the <system_lyxdir>/configure correctly on Windows, prefix
490 the path to the script with "sh " when generating the string that
491 is passed to system().
493 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
495 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
497 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * lyxlength.C (asLatexString): get rid of setprecision
501 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
503 * text2.C (setLayout): remove unused variable endpit.
504 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
506 * paragraph.C (onlyText): remove unused variable style.
508 * cursor.C (bruteFind): remove unused variables beg and end.
510 * Makefile.am (dist_noinset_DATA): not needed anymore
512 * cheaders/*: remove.
514 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
516 * text3.C: fix LFUN_MATH_MODE.
518 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * buffer_funcs.C (countWords): new function. Counts words between
523 * BufferView_pimpl.C (getStatus, dispatch): handle
526 * LyXAction.C (init):
527 * lfuns.h: add LFUN_WORDS_COUNT.
529 2004-12-19 Angus Leeming <leeming@lyx.org>
531 * buffer.C (save): s/slashify_path/internal_path/.
533 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
535 * lyxfind.C (findChange): do not search for end of pars, because
536 the change tracker cannot handle this (fixes bug 1719).
538 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
540 * paragraph.[Ch] (autoBreakRows): remove
542 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
544 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
545 avoid using the paragraph one
547 * text2.C (LyXText, insertStringAsLines): adjust
549 2004-12-16 Angus Leeming <leeming@lyx.org>
553 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
555 2004-12-14 Angus Leeming <leeming@lyx.org>
557 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
559 * bufferlist.C (emergencyWrite):
560 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
563 2004-12-14 Angus Leeming <leeming@lyx.org>
565 * main.C: (main): no longer pass pointers to os::init.
567 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
569 * undo.C (textUndoOrRedo): simplify logic, fix a crash
570 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
572 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
575 * text3.C: remove selection_possible global flag
577 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
579 * text2.C (getSelectionSpan): remove
580 (changeDepth, changeDepthAllowed): adjust
582 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
584 * Makefile.am (BOOST_LIBS): use boost variables
586 2004-12-03 José Matos <jamatos@lyx.org>
588 * buffer.C: format up to 238.
590 2004-12-03 José Matos <jamatos@lyx.org>
592 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
594 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
596 * cursor.C (goUpDown): remove call to idxUpDown2
598 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
600 * tabular.[Ch]: use size_t-like types for cell, row and column
603 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
605 * lyxfunc.C (getStatus): do not lose previous information when
606 calling BufferView::getStatus; do not set a default "Command
607 disabled" message at the beginning, but just before returning.
609 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
611 * cursor.h (getStatus): add better comment from src/cursor.C
613 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
615 * text3.C (getStatus): return false when the lfun is not handled
617 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
619 * broken_headers.h: remove
621 * Makefile.am (lyx_SOURCES): remove broken_headers.h
623 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
625 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
628 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
629 top_y_, merge fitcursor with update
630 (updateScrollbar, scrollDocView, fitCursor, center, update): new
633 (workAreaDispatch): adapt to new coord scheme
634 (redoCurrentBuffer): remove
636 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
638 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
641 * coordcache.[Ch]: add paragraph cache and helpers
643 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
646 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
647 (targetX, setTargetX): introduce
649 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
650 baseline -> ascent, as the rest of lyx
652 * lyxtext.h: remove redoParagraphs, updateParPositions,
653 fullRebreak, redoParagraphInternal. move dist to anon namespace in
654 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
655 have ascent/descent (ascent is ascent of first par)
657 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
660 * paragraph.[Ch]: unify dimension handling with the rest of lyx
662 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
664 * pariterator.C: fix infinite loop introduced in par->pit renaming
666 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
667 in insets and LyXText, draw two off-screen paragraphs using
668 NullPainter, and adapt to new coord scheme
672 * text3.C: adapt lfun handlers to the new coord scheme, which
673 means: there's only guaranteed coord information for onscreen pars
674 plus one above and one below. This implies that one can do search
675 from y coordinates in the range [-1,workHeight]
677 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
679 * rename a lot of InsetOld to InsetBase
681 2004-11-25 Angus Leeming <leeming@lyx.org>
683 * BufferView_pimpl.C:
685 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
687 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
689 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
690 call BufferView::getStatus if LCursor::getStatus did nothing
691 (setStatusMessage, getStatusMessage): removed.
693 * FuncStatus.C (message): new methods. Used to provide an error
694 message indicating why a command is disabled.
695 (clear, |=, FuncStatus): update for message.
697 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
699 * lyxfunc.C (dispatch): always call sendDispatchMessage
701 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
704 * BufferView_pimpl.C:
718 * undo.C: par->pit renaming
720 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
722 * tabular.C (cellstruct): use initialization, store a shared_ptr
723 to insettext instead of the insettext directly, adjust to fit.
724 (operator=): new function
726 (rowstruct): use initialization
727 (columnstruct): use initialization
728 (ltType): use initialization
731 * lyxlength.h (swap): new function
733 * LColor.[Ch] (operator=): use the common semantics
735 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * lyxfind.C (findNextChange): update the bufferview after setting
740 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
742 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
743 number of InsetOptArgs has already been inserted.
745 * output_latex.C (latexOptArgInsets): new method. This outputs all
746 the optarg insets, up to the limit defined in the layout file.
747 (optArgInset): removed
748 (TeXOnePar): call latexOptArgInsets; correctly update texrow
750 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
752 * paragraph.C (isLetter): remove special spellchecker-related
753 code; return true also for digits
754 (isWord, isKomma): remove
756 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
757 * lyxfind.C (MatchString()): use isLetter instead of isWord
759 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
761 * pariterator.h (operatir=): comment out un-implemented member
764 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
767 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
769 * lyxfont.h: include LColor.h to satisfy concept checks.
771 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
773 * pariterator.h: add typdefs for value_type, difference_type,
774 pointer and reference to satisfy concept checks. Also add default
775 constructor for same reason.
777 * pariterator.C (operator++): add post-increment operator to
778 satisfy concept checks.
780 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
783 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
785 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
786 checks. Also rename base_type to BaseType to follow naming
789 * FloatList.h: include Floating.h to satisfy concept checks.
791 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
793 * lyxfunc.C (getStatus): when the origin of the request is menu or
794 toolbar, and the LyXView does not have focus, do as if there was
797 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
798 FuncRequest to individual entries of LFUN_SEQUENCE
800 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
802 * output_latex.C (TeXOnePar): override runparams.moving_arg
803 according to the needprotect value of the current paragraph (bug
806 * paragraph.C (simpleTeXOnePar): no need to override
807 runparams.moving_args here
809 2004-11-14 John Spray <spray_john@users.sourceforge.net>
811 * vspace.C: fix off-by-one-error, related to fix #1682
813 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
815 * lengthcommon.C: a more general fix for bug 1682
817 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
819 * text.C (backspace): fix crash
821 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
823 * format.[Ch] (getFormatFromFile): new method
824 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
826 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
828 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
830 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
832 * lyxfunc.C (dispatch): remove the verbose argument
833 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
836 * kbmap.C (defkey): set the origin of func to KEYBOARD
838 * MenuBackend.C (MenuItem):
839 * ToolbarBackend.C (add): set the origin of func to UI
841 * funcrequest.[Ch]: add origin member, which indicates which part
842 of LyX requests an action
844 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
846 * converter.C (move): don't lie in the error message
847 * converter.h (isReachable, move): document
849 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
851 * buffer.C: remove unused using lyx::support::atoi
852 * paragraph_funcs.C: ditto
854 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
856 * bufferlist.C (exists): use bind and equal_to instead of
859 * lyxtextclasslist.C (NumberOfClass): ditto
861 * cursor.C (insert): use for_each instead of explicit for loop
863 * bufferlist.C (getFileNames): use std::transform and
864 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
866 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
869 * buffer.C (changeLanguage): use for_each instead of explicit for
871 (hasParWithID): implement using getParFromID
873 * LaTeXFeatures.C: ws change only
875 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
878 * BufferView_pimpl.C (trackChanges): use for_each instead of
881 2004-11-04 André Pönitz <poenitz@gmx.net>
884 * undo.C (textUndoOrRedo): fix crash when creating undo information.
886 * dociterator.C (asDocIterator): use hard assert again.
888 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
890 * lyxlength.C (asLatexString): rewrite so that it does not use
893 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 * text3.C (specialChar, dispatch): make sure cursor moves to the
896 right after inserting an inset
898 2004-11-02 José Matos <jamatos@lyx.org>
900 * output_docbook.C (docbook):
901 * paragraph.C (getID):
902 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
903 garantee that the output is always legal.
905 * tabular.C (docbook):
906 * outputprams.[Ch]: remove mixed contents.
908 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
910 * text2.C (setCounter): prevent endless loop
912 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
914 * exporter.C (copyFile): use the mover instead of support::copy()
915 * exporter.C (Export): pass format and latex name to copyFile()
916 * exporter.h (addExternalFile): document
917 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
919 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
921 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
923 2004-10-30 José Matos <jamatos@lyx.org>
925 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
926 text and no inset or font change. This allows to use CDATA
927 sections just for the whole paragraph.
929 2004-10-30 José Matos <jamatos@lyx.org>
931 * paragraph.C (getFirstWord): remove unused variable.
933 2004-10-30 José Matos <jamatos@lyx.org>
935 * paragraph.C (getFirstWord): the content should always be escaped
937 (simpleDocBookOnePar):
938 * output_docbook.C (makeEnvironment): replace reference to CDATA
941 2004-10-30 José Matos <jamatos@lyx.org>
943 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
945 2004-10-30 José Matos <jamatos@lyx.org>
947 * output_docbook.C (makeParagraphs):
948 * paragraph.[Ch] (emptyTag): for docbook and company, if the
949 standard paragraph has only a given type of content drop the wrapper.
951 2004-10-29 José Matos <jamatos@lyx.org>
953 * output_docbook.C (makeEnvironment):
955 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
957 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
959 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
960 (cleanID): sanitize any id.
962 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
964 * buffer.C, lyxlex_pimpl.C:
965 * lyxlex_pimpl.C (setFile):
966 s/getExtFromContents/getFormatFromContents/
968 2004-10-28 José Matos <jamatos@lyx.org>
970 * output_docbook.C (makeEnvironment): move id to broadest possible
973 * sgml.C (openTag): apply substitution of <> for all attributes.
975 2004-10-28 José Matos <jamatos@lyx.org>
977 * buffer.C (makeLinuxDocFile, makeDocBookFile):
978 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
979 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
981 * sgml.[Ch]: new version for open and closeTag for paragraph and
982 for strings. Now they handle the ids of paragraphs.
984 2004-10-26 Angus Leeming <leeming@lyx.org>
986 * Makefile.am: add mover.[Ch].
988 * converter.C (convert, move): use the new Movers to move external
989 files to the temp directory.
991 * lyx_main.C (init): ensure that the global system_movers data
994 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
997 * mover.[Ch]: new files, defining a Mover as a utility to move an
998 external file between directories and, if necessary, manipulate this
999 file using a helper script.
1001 2004-10-25 José Matos <jamatos@lyx.org>
1003 * output_docbook.C (makeCommand): merge two if's that tested the
1006 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1008 * sgml.C (escapeString): fix warning in a better way
1010 2004-10-25 José Matos <jamatos@lyx.org>
1012 * sgml.C (escapeString): import the require boosts header file for
1013 tie, and avoid a signed unsigned comparison.
1015 2004-10-25 José Matos <jamatos@lyx.org>
1017 * sgml.h: add #include <string>
1019 2004-10-25 José Matos <jamatos@lyx.org>
1021 * sgml.[Ch] (escapeString): new function to escape all the string.
1023 2004-10-24 José Matos <jamatos@lyx.org>
1025 * paragraph.[Ch] (getFirstWord): new function to get the first
1026 word. Useful for description.
1027 (simpleDocBookOnePar): remove depth argument, add another that
1028 says where to start the paragraph.
1030 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1031 use the new functions to fix cleanly the support for descriptions.
1033 2004-10-24 José Matos <jamatos@lyx.org>
1035 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1036 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1037 * output_linuxdoc.C (linuxdocParagraphs):
1038 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1039 add buffer as argument.
1041 2004-10-24 José Matos <jamatos@lyx.org>
1043 * output_docbook.C (makeEnvironment, searchEnvironment): place
1044 CDATA inside paragraphs and fix scope for listitems.
1046 2004-10-24 José Matos <jamatos@lyx.org>
1048 * output_docbook.C: remove using statement for stack.
1050 2004-10-23 José Matos <jamatos@lyx.org>
1052 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1053 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1054 docbook. The new scheme is recursive and makes use of iterators, the
1055 same as latex export works.
1056 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1057 directly with the paragraph contents. This code was moved up to
1058 output_docbook.C (docbookParagraphs).
1059 * sgml.C (openTag, closeTag): removed unneeded newlines.
1060 (closeEnvTags) removed.
1062 2004-10-23 André Pönitz <poenitz@gmx.net>
1064 * undo.C (textUndoOrRedo):
1065 * dociterator.C (asDocIterator): work around crash
1067 * cursor.C (getStatus): replace ASSERT by more verbose error message
1068 and manual correction of the problem. Should increase stability
1069 while providing more sensible information.
1071 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1073 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1075 * bufferlist.C (previous, next): new methods
1078 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1080 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1082 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1083 entities to preamble.
1085 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1087 * messages.C (Pimpl): strip off translation context information
1089 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1091 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1092 the cursor is correct (bug 1694)
1094 2004-10-13 José Matos <jamatos@lyx.org>
1096 * output_docbook.C (docbookParagraphs): fix closing tags in the
1097 end of the document.
1099 2004-10-09 José Matos <jamatos@lyx.org>
1101 * buffer.C: format up to 237.
1102 * bufferparams.C (write): use tostr to convert booleans to strings.
1104 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1106 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1108 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1110 * LaTeX.C: implement use of babel language in xindy.
1112 2004-10-05 José Matos <jamatos@lyx.org>
1114 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1115 Add new translators to help reading and writing the lyx file.
1117 2004-10-05 José Matos <jamatos@lyx.org>
1119 * ParagraphParameters.C (read):
1120 * text.C (readParToken): replace nexToken by more appropriate lex
1123 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1125 * LaTeX.C (runMakeIndex):
1126 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1127 (usually 'makeindex') configurable.
1129 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1130 with a variable rather than with a number.
1132 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1134 * output_latex.C (TeXOnePar): make sure font setting is the first
1135 thing that gets output (and the last at the end). Should fix bug
1138 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1140 * pch.h: use proper signal include
1142 * LaTeX.h: Use preferred calling of Boost.Signal
1145 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1147 * pch.h: dont include <boost/function/function0.hpp>
1149 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1151 * paragraph_pimpl.h: remove usage of ShareContainer
1153 * paragraph_pimpl.C: remove initialization of ShareContainer.
1155 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1159 * BufferView.C (putSelectionAt): change the semantics when
1160 backwards == true: now, this just swaps cursor and anchor wrt the
1163 * BufferView.h (putSelectionAt): add some documentation
1165 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1166 make sure backwardChar is done at least once (to avoid getting
1168 (findNextChange): use putSelectionAt in the forward direction
1169 (operator()): use Paragraph::isWord
1171 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1173 * Spacing.C (set): c_str fix
1175 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1177 * lyx_cb.C (Reconfigure): quote the name of configure script in
1178 case it contains spaces
1180 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1184 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1185 (BOOST_LIBS): use top_buildir when looking for the file
1187 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1189 * pch.h: do not use include boost/format.hpp, multiple symbols
1190 will result (gcc bug)
1193 2004-08-23 José Matos <jamatos@lyx.org>
1195 * bufferparams.C (readToken): fix reading of the author field.
1197 2004-08-20 José Matos <jamatos@lyx.org>
1199 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1201 2004-08-20 José Matos <jamatos@lyx.org>
1203 * lyxlex.[Ch] (findToken): remove function.
1205 * ParagraphParameters.C (findToken):
1206 * bufferparams.C (findToken): replace call for previous function
1207 with local copy. This local function has one more argument, the
1208 read string argument.
1210 2004-08-16 José Matos <jamatos@lyx.org>
1212 * ParagraphParameters.C (write):
1213 * Spacing.C (writeFile):
1214 * bufferparams.C (writeLaTeX):
1215 * lyx_cb.C (Reconfigure):
1216 * paragraph.C (write):
1217 * tabular.C (write): remove unnecessary space at end of line.
1220 2004-08-16 José Matos <jamatos@lyx.org>
1222 * text.C (readParagraph): remove debug message.
1224 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1226 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1229 * output_plaintext.C (asciiParagraph): set depth correctly
1231 * outputparams.h: add member depth
1233 * paragraph_funcs.C (ownerPar): remove.
1235 * text2.C (setCounter): remove first_pit; comment out some
1236 non-working code that uses ownerPar
1238 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1241 2004-08-16 José Matos <jamatos@lyx.org>
1243 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1244 For the same level of importance use the same chanel to report problems.
1245 (read): add code to deal with \begin_body and \end_body.
1248 2004-08-15 José Matos <jamatos@lyx.org>
1250 * lyxlex.C (getString): fix comment, buffer::readBody is now
1251 buffer:readDocument.
1253 * tex-strings.C (string_papersize): Default -> default,
1254 Custom -> custom, for consistency with other options.
1256 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1260 * Makefile.am: support pch
1262 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1264 * text.C (readParToken): remove the static LyXFont variable and
1265 pass it as a parameter instead. This fixes a nasty bug where an
1266 inset will be inserted with a bad font in some situations
1267 (readParagraph): adapt
1269 * text2.C (setCounter): reduce number of calls to pars_[pit]
1271 * text.C (singleWidth): add an assert, fix a test
1273 * rowpainter.C (paintText): reduce number of calls to singleWidth
1275 * paragraph.C (isHfill):
1276 (isNewline): ws only
1278 2004-08-14 André Pönitz <poenitz@gmx.net>
1283 * lyxtext.h (several functions): use a Paragraph & argument
1286 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1288 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1290 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1292 * text.C (singleWidth): remove useless test
1294 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1296 * tabular.h: remove bogus comments
1298 * tabular.C (getDescentOfRow):
1299 (isPartOfMultiColumn): add assertions
1301 * lyxlength.C (inPixels): remove #warning
1303 2004-08-14 André Pönitz <poenitz@gmx.net>
1305 * paragraph.h: inline getChar()
1307 * BufferView.h: remove unused declarations
1309 2004-08-14 José Matos <jamatos@lyx.org>
1311 * Buffer.[Ch] (readDocument): new name for old readBody.
1312 * Buffer.C: new file format, new keywords: \begin_document,
1313 \begin_header, \begin_body, \end_body.
1315 * bufferparams.C (readToken): replace all calls to lex.nextToken
1316 by lex.next(). Do the same to eatLine except where really needed.
1318 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1319 line when writing to the lyx file.
1321 * output_plaintext.C (asciiParagraph): fix Bibliography style
1324 * text.C (read): fix end of file handling.
1326 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1328 * MenuBackend.C (Menu::operator[]): new method to access
1329 individual menu items
1330 (Menu::hasFunc): new method. search for an item that corresponds
1332 (MenuBackend::specialMenu): new method
1333 (MenuBackend::expand): if a special menu has been set, skip
1334 entries whose func() appears in this menu
1336 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1338 * text3.C: use Debug::DEBUG a bit more
1340 * text.C (leftMargin): try to simplify a tiny bit change var x to
1341 l_margin. Dont output the wide margins always.
1342 (rightMargin): no margin in inner texts
1344 * rowpainter.h (nestMargin): new func
1345 (changebarMargin): new func
1346 (rightMargin): new func
1348 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1352 * factory.C (createInset): modify setDrawFrame
1354 * cursor.C: use Debug::DEBUG a bit more
1356 2004-08-14 André Pönitz <poenitz@gmx.net>
1359 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1360 cache for all insets in (at least partially) visible (top-level)
1363 * BufferView_pimpl.C: reset external coord cache before every update.
1364 This means the coord cache only contains valid entries.
1366 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1369 * BufferView_pimpl.C (getInsetByCode): move function out of class
1370 and change in to a template in anon namespace. Also fix to do what
1373 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1376 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1378 (breakParagraph): rename par to par_offset and use a local
1379 reference. Add code to keep the language over a rebreak.
1380 (breakParagraphConservative): rename par to par_offset, use a
1382 (mergeParagraph): ditto
1384 (isFirstInSequence): ditto
1385 (outerFont): rename pit to par_offset
1387 * paragraph.C: ws change
1388 * paragraph.h: ditto
1392 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1394 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1397 * paragraph.C (simpleTeXOnePar): when we have a \item with
1398 optional argument, enclose the argument with curly brackets (in
1399 case it contains a closing square bracket)
1403 * text3.C (checkInsetHit): constify
1405 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1407 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1408 documents (bug 1629)
1410 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1412 Fix toggling of collapsable insets with the mouse (bug 1558)
1414 * lyxfunc.C (dispatch): adapt to LCursor changes
1416 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1417 make sure that dispatch is not invoked twice
1419 * cursor.C (needsUpdate): new method
1420 (dispatch): return void
1421 (result): new method, to access the DispatchResult of the cursor.
1423 2004-08-13 José Matos <jamatos@lyx.org>
1425 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1427 2004-08-13 André Pönitz <poenitz@gmx.net>
1429 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1431 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1434 2004-08-12 André Pönitz <poenitz@gmx.net>
1436 * text3.C: take out the 'cursor right' form insertInset and only
1437 do it in those places when it is really needed. Fixes crash on
1440 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1444 * BufferView_pimpl.C (setBuffer): initialize the current font of
1445 the underlying LyXText
1447 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * kbsequence.C (print): use UI native formatting for menu
1452 * text.C (insertChar): call Paragraph::insertChar with a font
1455 * paragraph.C (insertInset, insertChar): the version that takes a
1456 LyXFont argument is now a wrapper around the other one (the
1457 opposite used to be true).
1459 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1460 argument. Font setting is done in Paragraph now.
1462 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1464 * outputparams.h: add new members intitle and lang.
1466 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1467 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1469 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1471 * text3.C (dispatch): remove special handling of button 4 and 5,
1472 it is now taken care of in the frontend code.
1474 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1476 * Spacing.h: add <string> (STLPort compile fix)
1478 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1480 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1482 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1484 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1487 * converter.C (showMessage): inherit from unary_function, make
1490 * buffer.C (writeFile): initialize retval
1492 * InsetList.h: rename private variable list to list_
1493 * InsetList.[Ch]: adjust accordingly.
1495 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1497 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1498 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1499 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1500 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1501 * ParagraphParameters.C, LaTeXFeatures.C: replace
1502 "support/std_sstream.h" with <sstream>
1504 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1506 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1507 * lyxsocket.C (LyXServerSocket): ditto
1508 (serverCallback): ditto
1510 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1512 * LaTeXFeatures.C: check release date when loading jurabib.
1514 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1516 * lyxserver.C (startPipe): call register_socket_callback
1517 (endPipe): call unregister_socket_callback
1519 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1521 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1522 (LyXServerSocket): register the callback
1523 (LyXServerSocket): unregister the callback
1524 (fd): delete function
1525 (serverCallback): improve error checking and setup the callbacks.
1526 (dataCallback): change arg to fd.
1527 (writeln): new func (copied fro the client socket) used for server
1529 (LyXDataSocket): simplify
1530 (~LyXDataSocket): close ann unregiser callback
1531 (server): delete function
1532 (fd): delete function
1533 (readln): small changes, improve some std::string usage
1534 (writeln): constify a bit
1536 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1538 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1541 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1543 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1544 after it has been populated
1546 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * text2.C (insertInset): move cursor when inserting inset.
1550 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1552 * kbmap.C (findbindings): a couple of new methods. returns a
1553 container of kb_sequence objects. The real work is done by the
1554 private recursive version
1555 (printbindings): uses findbindings to print out a bracketed list
1556 of bindings (renamed from findbinding).
1558 * MenuBackend.C (binding): use kb_keymap::findbindings
1560 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1562 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1564 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1566 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1568 * paragraph.C (isWord): return true on insets that report
1571 * text.C (getWord): use Paragraph::isWord to decide what is in a
1572 word and what is not; fix bug 1609.
1574 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1576 * tex-strings.C: add "none" to string_paperpackages[], fixes
1577 off-by-one-error in the paperpackage selection.
1580 * tex-strings.[Ch]: char const * string[n]
1581 -> char const * const string[]
1583 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1585 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1586 command, return early.
1588 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1590 * debug.h: add DEBUG to enum and fix size of ANY.
1592 * debug.C: add support for Debug::DEBUG
1593 (showTags): cast errorTags.level to unsigned int
1595 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1596 (redoCurrentBuffer): ditto
1597 (updateScrollbar): ditto
1598 * cursor.C (dispatch): ditto
1599 * text2.C (setLayout): ditto
1601 (updateCounters): ditto
1603 (deleteEmptyParagraphMechanism): ditto
1605 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1607 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1608 annotations to cleanup the Makefile slightly.
1610 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1612 * lyxrc.C: do not set user_email to a default value but use empty
1613 instead. The entry used to be translated, which does not work
1614 since at the point where lyxrc is constructed there is no
1615 translation service available
1617 * messages.C (getLocaleDir): remove and use directly
1618 lyx_localedir() instead
1620 2004-06-02 Angus Leeming <leeming@lyx.org>
1622 Fix crash caused by dereferencing null pointer 'exportdata' in
1623 OutputParams by creating a new ExportData variable on the heap,
1624 storing it in a boost::shared_ptr.
1625 The crash was triggered when generating an Instant Preview
1626 of an external inset.
1628 * Makefile.am: add outputparams.C
1630 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1631 (c-tor): allocate memory to it.
1633 * exporter.C (c-tor): associated changes.
1635 2004-06-01 Angus Leeming <leeming@lyx.org>
1637 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1638 contains data before calling isInset(0). (Bug 1513.)
1640 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1642 * exporter.C (checkOverwrite): new method
1643 * exporter.C (copyFile): new method
1644 * exporter.C (Export): copy referenced files to the document dir
1645 * exporter.[Ch]: new class ExportedFile
1646 * exporter.[Ch]: new class ExportData. Contains currently the
1647 names of referenced external files
1648 * outputparams.h: add exportdata member.
1650 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1652 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1655 2004-05-19 Angus Leeming <leeming@lyx.org>
1660 * lyxfunc.C: small changes due to the introduction of namespace
1661 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1663 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1665 * text3.C (dispatch): supress update when only moving the cursor
1666 * cursor.C (selHandle): remove commented code
1668 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1670 * paragraph.C (startTeXParParams): correct column count
1671 * CutAndPaste.C (pasteSelection): remove const_cast
1672 * output_docbook.C (docbookParagraphs): remove const_cast
1673 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1674 const_cast and return ParagraphList::const_iterator
1675 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1676 * output_plaintext.C (writeFileAscii): remove const_cast
1677 * paragraph.[Ch] (simpleTeXOnePar): make const
1678 * paragraph_funcs.C (outerPar): use const iterators
1679 * paragraph_pimpl.C (validate): use const iterators
1680 * text.C (setHeightOfRow): use const iterators
1682 2004-05-17 Angus Leeming <leeming@lyx.org>
1685 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1687 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1688 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1689 if the citation engine has changed.
1691 2004-05-14 José Matos <jamatos@lyx.org>
1693 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1694 if the textclass does not provide it. Have it different for sgml and
1696 support the language of document.
1697 * output_docbook.C (docbookParagraphs):
1698 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1699 first anchor as the id of the paragraph, remove special case code.
1700 * sgml.C (escapeChar): escape only < & >.
1702 2004-05-14 Angus Leeming <leeming@lyx.org>
1704 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1705 dependencies on src/frontends/controllers/biblio.h. Define a
1706 CiteEngine_enum wrapper class to enable the enum to be forward
1709 2004-05-12 Angus Leeming <leeming@lyx.org>
1711 * buffer.C: up LYX_FORMAT to 234.
1712 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1713 use_numerical_citations with a single biblio::CiteEngine cite_engine
1715 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1717 2004-05-13 José Matos <jamatos@lyx.org>
1720 * converter.C (Converter, readFlags): add xml member.
1721 * outputparams.h: add XML flavor.
1722 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1724 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1726 * lyxfunc.C (dispatch):
1727 (getStatus): fix handling of LFUN_SEQUENCE
1729 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1731 * debug.C (showLevel): do not forget the end-of-line marker
1733 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1735 * kbmap.C (read): do not stop parsing a bind file when an error
1738 2004-04-29 Angus Leeming <leeming@lyx.org>
1743 * text2.C: wrap a bunch of #warning statements
1744 inside #ifdef WITH_WARNINGS blocks.
1746 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1748 * buffer.C: increment format to 233.
1750 2004-04-28 Angus Leeming <leeming@lyx.org>
1752 * BufferView_pimpl.C:
1755 s/updateToolbar()/updateToolbars()/
1756 s/Toolbar.h/Toolbars.h/
1758 2004-04-28 Angus Leeming <leeming@lyx.org>
1760 * BufferView.[Ch] (c-tor):
1761 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1762 No longer passes these data to the WorkArea generator.
1764 2004-04-28 Angus Leeming <leeming@lyx.org>
1766 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1768 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1770 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1772 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1774 * output_latex.C (TeXEnvironment): make sure that there is a line
1775 break before \end{foo} for the last paragraph of a document
1776 (TeXOnePar): if the paragraph is at the end of the document (or
1777 inset) and the language has to be reset, then make sure that the
1778 line break is _before_ the language command, not after (fixes bug
1779 1225); also make sure that the language reset command is the first
1780 thing after the paragraph (to ensure proper nesting of
1781 environments and thus fix bug 1404)
1783 2004-04-21 John Levon <levon@movementarian.org>
1786 * ToolbarBackend.C: make "name" be a programmatic name
1787 and a gui_name field.
1789 * lyxfunc.C: display the minibuffer on M-x
1791 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1793 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1796 2004-04-19 Angus Leeming <leeming@lyx.org>
1798 * BufferView_pimpl.C (setBuffer): changed preview interface.
1800 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1803 2004-04-19 John Levon <levon@movementarian.org>
1805 * BufferView_pimpl.C:
1806 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1808 2004-04-05 Angus Leeming <leeming@lyx.org>
1810 * text.C (redoParagraphs): add call to updateCounters(), thereby
1811 fixing the missing "Figure #:" label from the caption of a
1814 2004-04-13 Angus Leeming <leeming@lyx.org>
1816 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1817 cursor is clicked out of an inset.
1819 2004-04-13 Angus Leeming <leeming@lyx.org>
1821 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1822 than an InsetOld one.
1824 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1826 * format.[Ch]: add editor to Format
1827 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1828 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1830 2004-04-08 André Pönitz <poenitz@gmx.net>
1832 * metricsinfo.h: remove PainterInfo::width member
1834 2004-04-08 Angus Leeming <leeming@lyx.org>
1836 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1837 "\providecommand" rather than "\newcommand", thereby preventing
1838 clashes with packages that define "\boldsymbol" themselves.
1841 2004-04-08 Angus Leeming <leeming@lyx.org>
1843 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1844 thereby squashing an unnecessary warning.
1846 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1848 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1851 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1853 * BufferView.C (setCursor): call redoParagraph (some insets could
1855 (putSelectionAt): remove the 'double update' trick
1857 * BufferView_pimpl.C (fitCursor): call refreshPar
1858 (workAreaDispatch): remove an uneeded update call
1859 (dispatch): remove some manual update calls
1861 * cursor.[Ch]: remove cached_y_, updatePos
1862 (selHandle): set noUpdate when appropriate
1864 * lyxfunc.C (dispatch): track if we need an update
1866 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1868 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1869 (paintSelection): cheap optimization, do not call cursorX when not
1871 (paintPars): change signature
1874 (paintTextInset): adjust
1878 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1880 * lengthcommon.C: compilation fix: remove explicit array size from
1881 unit_name[] and friends
1883 2004-04-05 Angus Leeming <leeming@lyx.org>
1885 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1887 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1888 present only for the preferences dialog.
1889 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1891 2004-04-05 Angus Leeming <leeming@lyx.org>
1893 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1894 to enable the frontends to export changes to lyxrc correctly.
1896 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1898 2004-04-07 André Pönitz <poenitz@gmx.net>
1900 * cursor.[Ch] (selClear, adjust): remove math
1902 * cursor_slice.C: more agressive assert
1905 * BufferView_pimpl.C: rework mouse event dispatch
1912 2004-04-05 André Pönitz <poenitz@gmx.net>
1914 * cursor.[Ch] (valign, halign...): remove unneeded functions
1916 2004-04-05 Angus Leeming <leeming@lyx.org>
1918 * lyxlength.[Ch] (unit_name et al.): const-correct.
1920 2004-04-05 Angus Leeming <leeming@lyx.org>
1922 * BufferView_pimpl.C:
1931 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1933 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1935 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1937 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1939 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1940 * BufferView_pimpl.[Ch] (getStatus)
1941 * BufferView.[Ch] (getStatus): add
1942 * lyxfunc.C (getStatus): move lfuns handled in
1943 BufferView::dispatch to te function above
1944 * Cursor.C (setSelection): set selection() = true
1946 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1948 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1950 2004-03-31 Angus Leeming <leeming@lyx.org>
1952 * lyxfunc.C (dispatch): Fall through to the generic
1953 Dialogs::show("preamble").
1955 2004-03-31 Angus Leeming <leeming@lyx.org>
1957 * lyxfunc.C (dispatch): Fall through to the generic
1958 Dialogs::show("spellchecker").
1960 2004-03-31 Angus Leeming <leeming@lyx.org>
1962 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1965 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1970 * insetiterator.[Ch]:
1975 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1977 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1979 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1980 insets where we are putting the cursor.
1982 2004-03-31 Angus Leeming <leeming@lyx.org>
1985 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1987 * lyxrc.[Ch] (read, write): overloaded member functions taking
1988 a std::[io]stream arguments.
1990 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1992 2004-03-31 Angus Leeming <leeming@lyx.org>
1994 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1995 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1997 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1998 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2000 2004-03-31 Angus Leeming <leeming@lyx.org>
2002 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2003 the LFUN_ALL_INSETS_TOGGLE code.
2005 2004-03-30 Angus Leeming <leeming@lyx.org>
2007 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2008 has died. Fall through to the generic Dialogs::show("document").
2010 2004-03-30 Angus Leeming <leeming@lyx.org>
2013 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2014 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2016 * lyxfunc.C (getStatus, dispatch): define the actions for these
2017 lfuns. Little more than a cut and pste job from ControlDocument.C
2019 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2021 2004-03-30 Angus Leeming <leeming@lyx.org>
2024 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2025 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2027 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2028 open/closed state of ollapsable insets. Usage:
2030 all-inset-toggle <state> <name>, where
2031 <state> == "open" || "closed" || "toggle" and
2032 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2034 * lyxtext.h, text2.C (toggleInset): removed.
2036 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2037 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2038 now passes LFUN_INSET_TOGGLE to the found inset.
2040 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2041 is now invoked as "all-insets-toggle toggle branch".
2043 2004-03-30 Angus Leeming <leeming@lyx.org>
2047 * pariterator.[Ch]: added/corrected header blurb.
2049 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2051 * dociterator.[Ch]: add an inset_ member
2052 (backwardPos): implemented
2053 (backwardPos, forwardPos): use inset_ when the stack is empty.
2054 (doc_iterator_begin, doc_iterator_end): implemented
2055 * pariterator.[Ch]: adjust, add begin, end
2056 * insetiterator.[Ch]: adjust, add begin, end
2060 * BufferView_pimpl.C:
2061 * CutAndPaste.C: adjust
2063 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2065 * buffer.C: increment file format to 232.
2066 * LaTeXFeatures.C: add bibtopic package.
2067 * bufferparams.[Ch]: param \use_bibtopic.
2069 * lyxrc.[Ch]: add lyxrc bibtex_command
2070 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2072 * buffer.C: increment file format to 231.
2074 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2076 * dociterator.C: implement forwardPar
2077 * iterators.[Ch]: remove, replaced by
2078 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2080 * BufferView_pimpl.C:
2083 * bufferview_funcs.C:
2089 * Makefile.am: adjust
2091 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2093 * CutAndPaste.C (pasteSelection): fix 2 crashes
2094 (eraseSelection): fix a crash
2095 * paragraph_funcs.C: remove a warning
2097 2004-03-28 Angus Leeming <leeming@lyx.org>
2100 * LyXAction.C (init): new LFUN_PRINT.
2102 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2104 2004-03-27 Angus Leeming <leeming@lyx.org>
2107 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2109 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2111 2004-03-27 Angus Leeming <leeming@lyx.org>
2113 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2114 insetlist always contains non-null pointers to insets.
2116 2004-03-26 Angus Leeming <leeming@lyx.org>
2118 * src/BufferView_pimpl.C:
2119 * src/CutAndPaste.C:
2122 * src/output_plaintext.C:
2123 * src/outputparams.h:
2124 * src/paragraph_funcs.C:
2128 * src/frontends/controllers/ControlErrorList.C:
2129 * src/frontends/gtk/FileDialogPrivate.C:
2130 * src/frontends/gtk/GPainter.C:
2131 * src/frontends/gtk/GToolbar.C:
2132 * src/frontends/qt2/QRef.C:
2133 * src/mathed/math_scriptinset.C: squash compiler warnings.
2135 2004-03-26 Angus Leeming <leeming@lyx.org>
2137 * ispell.C (LaunchIspell::start):
2138 * lyx_cb.C (AutoSaveBuffer::start):
2139 invoke run(DontWait) rather than runNonBlocking().
2141 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2143 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2145 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2147 * kbsequence.C (print): adjust
2149 * kbmap.C (printKeySym): rename and change signature
2150 (printKey): use LyXKeySym::print()
2152 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2154 * undo.C: add using std::advance to compile for stlport
2156 2004-03-24 Angus Leeming <leeming@lyx.org>
2158 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2159 it leads to a crash when no buffer is present.
2161 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2162 Martin Vermeer <martin.vermeer@hut.fi>
2164 * lyxfunc.C (dispatch):
2165 * bufferparams.C (readToken): use the new LColor::setColor
2167 * LColor.[Ch] (setColor): new version that takes two strings as
2168 argument and creates a new color entry if necessary
2170 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2172 * buffer.C (makeLaTeXFile): if the main latex file that is
2173 processed is usually a subdocument of some master, then pretend
2174 for a while that it is actually the master
2176 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2178 * buffer.C (getLabelList):
2179 (getBibkeyList): use getMasterBuffer()
2180 (getMasterBuffer): new method. Returns the main document in the
2181 case where one is using included documents.
2183 2004-03-25 André Pönitz <poenitz@gmx.net>
2187 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2189 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2191 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2192 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2194 * ParameterStruct.h: merge with ParagraphParameters
2196 * lyxtext.h: remove LyXText::parOffset() and getPar()
2198 * text3.C: Remove all 'manual' update calls. We do now one per user
2199 interaction which is completely sufficient.
2203 * BufferView_pimpl.C:
2204 * FontIterator.[Ch]:
2206 * ParagraphParameters.[Ch]:
2211 * cursor_slice.[Ch]:
2218 * output_docbook.[Ch]:
2219 * output_latex.[Ch]:
2220 * output_linuxdoc.[Ch]:
2221 * output_plaintext.[Ch]:
2223 * paragraph_funcs.[Ch]:
2224 * paragraph_pimpl.[Ch]:
2232 * frontends/controllers/ControlDocument.C:
2233 * frontends/controllers/ControlErrorList.C:
2234 * frontends/controllers/ControlSpellchecker.C:
2237 * insets/insetbase.h:
2238 * insets/insetbibitem.C:
2239 * insets/insetbox.C:
2240 * insets/insetbranch.C:
2241 * insets/insetcaption.C:
2242 * insets/insetcharstyle.C:
2243 * insets/insetcharstyle.h:
2244 * insets/insetcollapsable.C:
2245 * insets/insetcollapsable.h:
2246 * insets/insetert.C:
2247 * insets/insetfloat.C:
2248 * insets/insetfoot.C:
2249 * insets/insetmarginal.C:
2250 * insets/insetnote.C:
2251 * insets/insetoptarg.C:
2252 * insets/insettabular.C:
2253 * insets/insettext.C:
2254 * insets/insettext.h:
2255 * insets/insetwrap.C:
2256 * mathed/math_mboxinset.C:
2257 * mathed/math_nestinset.C:
2258 * mathed/math_scriptinset.C:
2259 * mathed/math_scriptinset.h:
2262 2004-03-24 Angus Leeming <leeming@lyx.org>
2264 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2265 deal with any child processes that have finished but are waiting to
2266 communicate this fact to the rest of LyX.
2268 2004-03-24 Angus Leeming <leeming@lyx.org>
2270 64-bit compile fixes.
2272 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2273 (c-tor): pass lyx::pos_types rather than ints.
2275 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2278 * text.C (Delete): compile fix.
2279 (getPar): ensure that function declaration is the same as that in
2282 2004-03-23 Angus Leeming <leeming@lyx.org>
2284 * ispell.C (LaunchIspell):
2285 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2286 a boost::shred_ptr rather than a std::auto_ptr.
2288 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2290 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2291 handle LFUN_FILE_INSERT_*
2293 * lyxrc.C (setDefaults, getDescription, output, read):
2294 * lyxrc.h: remove ps_command
2296 2004-03-22 Angus Leeming <leeming@lyx.org>
2298 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2299 Ensure that error_handler is processed once only and that all data
2300 is saved before attempting to output any warning messages.
2302 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2304 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2306 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2308 2004-03-19 André Pönitz <poenitz@gmx.net>
2310 * cursor.[Ch] (reset): take main text inset as argument
2312 * BufferView: adjust
2313 * BufferView_pimpl.C: adjust
2315 * paragraph.[Ch]: fix completely broken operator=()
2317 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2319 * LColor.C (getFromLyXName): make sure that the color name is used
2322 2004-03-17 Angus Leeming <leeming@lyx.org>
2325 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2327 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2328 dialog and to kill a forked process.
2330 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2332 * text2.C (setCursorFromCoordinates): fix font problem
2334 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2336 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2337 bogus "rebuild cursor" code
2339 2004-03-11 André Pönitz <poenitz@gmx.net>
2341 * buffer.[Ch]: use InsetText instead of LyXText as container for
2344 * dociterator.[Ch]: drop the BufferView * member which is not needed
2345 anymore after the change to buffer.C
2347 * paragraph_funcs.C:
2351 * BufferView_pimpl.[Ch]:
2353 * cursor_slice.[Ch]: adjust
2355 * text3.C: fix bug in mathDispatch
2357 2004-03-08 André Pönitz <poenitz@gmx.net>
2359 * undo.[Ch]: use 'StableDocumentIterator' as base for
2362 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2365 * bufferparams.[Ch]: add jurabib support and param.
2367 * LaTeX.C: add FIXME/comment.
2369 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2371 * buffer.C: increment file format to 230.
2373 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2375 * cursor.C (dispatch): avoid infinite loops
2377 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2379 * rowpainter.C (paintSelection): fix x coordinates
2381 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2383 * text.C (rowBreakPoint): fix breaking before displayed insets
2385 2004-03-01 André Pönitz <poenitz@gmx.net>
2387 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2389 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2393 * BufferView_pimpl.C:
2401 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2407 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2408 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2410 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2412 * Bidi.[Ch] (computeTables): const correctness
2413 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2414 fill_hfill, fill_label_hfill and x from Row
2415 * lyxtext.h: prepareToPrint returns a RowMetrics
2416 * rowPainter.C: adjust
2417 * text.C (prepareToPrint): use width, not textWidth. adjust
2418 (redoParagraphInternal, cursorX): adjust
2419 * text2.C (getColumnNearX): adjust
2420 (init): put a default value to the top LyXText::width
2422 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2424 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2426 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2428 * lyxtext.h: add FontIterator class
2430 * text.C (FontIterator, operator*, operator->, operator++): add
2431 (rowBreakPoint, setRowWidth): adjust (fixing a
2434 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2436 * BufferView_pimpl.C (workAreaDispatch): allow also
2437 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2439 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2441 * text.C (rowBreakPoint): fix a bug showing with very large insets
2443 2004-02-25 André Pönitz <poenitz@gmx.net>
2446 * cursor.[Ch]: move some mathed specific code to mathed
2448 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2450 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2451 use_tempdir in preferences
2452 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2454 * lyx_main.C: ensure that tempdir is valid
2455 * lyxlex.h: correct typo
2456 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2457 * paragraph.[Ch] (isMultiLingual): make const
2458 * cursor.[Ch] (openable): make const
2460 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2462 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2464 2004-02-20 André Pönitz <poenitz@gmx.net>
2466 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2468 * cursor.[Ch]: prepare for localized getStatus()
2474 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2476 2004-02-20 André Pönitz <poenitz@gmx.net>
2478 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2480 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2482 * text2.C (setCursorFromCoordinates): switch to absolute coords
2484 (cursorDown): adjust
2485 * text3.C (dispatch): adjust
2487 2004-02-16 André Pönitz <poenitz@gmx.net>
2489 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2492 * cursor_slice.[Ch]: remove unneeded acessor function
2494 * lyxtext.h: rename rtl() to isRTL()
2502 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2504 * rowpainter.C (paintSelection): coord fix
2506 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2508 * Spacing.C: compile fix
2510 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2512 * cursor.C (dispatch): restore current_ before returning
2514 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2516 * text2.C (cursorUp, cursorDown): fix coords
2519 2004-02-12 André Pönitz <poenitz@gmx.net>
2524 * text3.C: add LCursor & parameter to most cursor movement functions
2525 remove usage of LyXText::cursorRow() and cursorPar()
2527 * cursor.[Ch]: add textRow() needed members
2530 * BufferView_pimpl.C:
2533 * BufferView_pimpl.C: adjust
2535 2004-02-11 André Pönitz <poenitz@gmx.net>
2539 * BufferView_pimpl.C: shift undo/redo handling
2541 * cursor.[Ch]: fix mathed crash
2544 * lyxtext.h: move selectionAsText to LCursor
2552 * rowpainter.C: fix excessive drawing
2554 2004-02-06 André Pönitz <poenitz@gmx.net>
2557 * BufferView_pimpl.[Ch]:
2558 * text3.C: move some text specific LFUN handling
2560 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2562 * text3.C (checkInsetHit): adjust coords
2563 * text2.C (getColumnNearX): adjust coords
2564 (edit): adjust coords
2565 * text.C (getRowNearY): add two asserts
2567 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2570 * format.C: add using std::distance to compile on gcc 2.95/stlport
2572 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2574 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2576 2004-02-04 André Pönitz <poenitz@gmx.net>
2578 * BufferView.[Ch] (insertInset):
2579 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2584 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2586 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2587 on the default clause of the switch
2588 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2589 wasn't catched by LCursor::dispatch
2591 2004-02-03 André Pönitz <poenitz@gmx.net>
2594 * cursor.[Ch]: some additional asserts
2596 * undo.[Ch]: remove LyXText dependency in interface
2600 * lyxtext.h (firstPar, lastPar): remove dead functions
2605 * paragraph.[Ch]: adjust
2607 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2609 * lyxfind.C (find): fix argument order in call to ::find
2611 2004-02-02 André Pönitz <poenitz@gmx.net>
2613 * cursor.[Ch]: remove direct access to anchor
2615 * text.C: remove findText() hack
2617 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2619 * iterators.[Ch] (lockPath): remove in favour of...
2620 * BufferView.[Ch] (setCursor): this addition
2621 * BufferView.C (putSelectionAt): adjust
2622 * undo.C (performUndoOrRedo): adjust
2623 * lyxfunc.C (dispatch): adjust
2625 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2627 * iterators.C (lockPath): add a missing slice
2628 * undo.C (performUndoOrRedo): remove redundant positioning code
2630 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2632 * vc-backend.C (scanMaster): ";" -> ';'
2634 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2636 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2637 std::binary_function
2639 * lyxtextclass.C (compare_name): rename to...
2640 (LayoutNamesEqual): ...this
2642 * lyxlex_pimpl.C (compare_tags): inherit from
2643 std::binary_function, put back into anon namespace
2645 * lyxfind.C (MatchString): inherig from std::binary_function
2646 (findChange): use empty() istead of !size()
2648 * format.C (FormatNamesEqual): new functor
2655 * converter.C (compare_Converter): rename to...
2656 (ConverterEqual): ...this, and fixup a bit.
2657 (getConverter): use it, and make function const
2658 (getNumber): use it, and make function const
2662 * bufferlist.C: add using boost::bind
2664 * MenuBackend.C (MenuNamesEqual): new functor
2665 (hasMenu): use it, and make function const
2666 (hasSubmenu): use nested bind to get rid of compare_memfun.
2668 2004-01-30 André Pönitz <poenitz@gmx.net>
2670 * BufferView_pimpl.C:
2673 * cursor_slice.[Ch]:
2676 * paragraph_funcs.C:
2677 * paragraph_funcs.h:
2681 * text3.C: move some of the edit(x,y) handling to the insets
2682 some coordinate changes.
2684 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2686 * text.C: add using statements for std::advance and std::distance
2688 * paragraph.C: add using statement for std::distance
2690 * lyxfind.C: add using statement for std::advance
2692 * cursor.C (region): remove std:: from swap
2693 (openable): use nucleus in stead of operator->
2695 * BufferView.C: add using statements for std::distance and std::swap
2697 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2699 * iterators.C: Remove the pimple, move the needed structures to
2700 the header file. Create accessor for the positions stack.
2701 (asPosIterator): remove function
2703 * PosIterator.C (PosIterator): move constructors to top of file
2704 (PosIterator): reimplement the constructor taking a ParIterator in
2706 (setFrom): new function
2707 (operator!=): inline it
2709 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2711 * lyxfind.C (replaceAll): use std::advance
2713 * iterators.h: inherit from std::iterator.
2715 * PosIterator.C (advance, distance): remove
2716 * PosIterator.h: interit from std::iterator.
2718 2004-01-26 André Pönitz <poenitz@gmx.net>
2721 * BufferView_pimpl.[Ch]:
2725 * bufferview_funcs.C:
2735 * output_linuxdoc.C:
2736 * output_plaintext.C:
2738 * paragraph_funcs.[Ch]:
2739 * paragraph_pimpl.[Ch]:
2745 * text3.C: more IU: dumps most of the rest of the mathcursor
2746 implementation into cursor.[Ch]; "globalize" a bit of it.
2748 2004-01-25 Angus Leeming <leeming@lyx.org>
2750 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2752 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2754 * LaTeXFeatures.h: add nice_ and nice() const
2755 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2757 2004-01-20 André Pönitz <poenitz@gmx.net>
2760 * BufferView_pimpl.C:
2762 * bufferview_funcs.C:
2764 * cursor_slice.[Ch]:
2775 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2776 LCursor and mathcursor parts to LCursor and InsetBase.
2778 2004-01-15 André Pönitz <poenitz@gmx.net>
2780 * cursor_slice.[Ch]: add a few covienience functions
2782 * funcrequest.[Ch]: remove BufferView * member
2784 * BufferView_pimpl.C:
2791 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2793 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2795 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2796 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2798 2004-01-13 André Pönitz <poenitz@gmx.net>
2801 * lyxtext.h: hide cursor and selection anchor behind accessor function
2804 * BufferView_pimpl.[Ch]:
2806 * bufferview_funcs.C:
2816 * cursor_slice.[Ch]: some integer type changes for inset unification
2818 * lyxcursor.[hC]: remove, it's CursorSlice now.
2821 * BufferView_pimpl.[Ch]:
2822 * bufferview_funcs.C:
2828 * textcursor.[Ch]: adjust
2830 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2832 * text2.C (undoSpan): add and use
2833 * text.C (breakParagraph): use undoSpan (fix bug 578)
2836 2004-01-08 Angus Leeming <leeming@lyx.org>
2838 * BufferView_pimpl.C (MenuInsertLyXFile):
2839 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2840 * lyxfunc.C (menuNew, open, doImport):
2841 FileFilterList change to the FileDialog open and save functions.
2843 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2845 * ShareContainer.h: make isEqual and isUnique adaptable
2847 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2849 2004-01-07 Angus Leeming <leeming@lyx.org>
2852 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2854 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2856 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2857 functions replacing find, replace and replaceAll.
2859 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2860 LFUN_WORDFIND(FORWARD|BACKWARD).
2862 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2864 * text.C (breakParagraph): remove an outdated #warning
2866 2004-01-07 André Pönitz <poenitz@gmx.net>
2868 * lyxfind.C: somewhat clearer logic
2870 * text.C: prevent crash in cursorX on unitialized row cache
2872 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2874 * lyxcursor.[Ch] (operator>): add
2875 * textcursor.C (selStart, selEnd): use std::min and std::max
2877 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2879 * Chktex.C: include boost/format.hpp
2881 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2883 * InsetList.C: replace functor MathcIt with adaptable functor
2885 (insetIterator): modify accordingly
2887 * BranchList.h: move the BranchNamesEqual functor here from...
2888 * BranchList.C: ... to here
2890 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2892 (add): replace a finding loop with std::find_if.
2894 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2896 * output_docbook.C: moving LatexParam functionality into
2899 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2901 * buffer.C: increment format to 229.
2903 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2906 * lyx_sty.[Ch]: remove minipageindent_def
2912 * text3.C: remove LFUN_INSET_MINIPAGE
2914 2003-12-28 Angus Leeming <leeming@lyx.org>
2916 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2918 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2920 * text2.C (setParagraph): fix off-by-one crash
2922 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2924 * output_docbook.C: header stuff for AGU
2926 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2928 * text2.C (redoCursor): remove
2931 * BufferView_pimpl.C: remove calls to redoCursor and
2932 setCursor(cursor.par(), cursor.pos()) all around
2934 2003-12-15 Angus Leeming <leeming@lyx.org>
2936 * buffer.C: up the format to 228.
2938 2003-12-15 André Pönitz <poenitz@gmx.net>
2940 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2945 * BufferView_pimpl.C:
2954 2003-12-15 Angus Leeming <leeming@lyx.org>
2956 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2957 than getFromGUIName to manipulate the color.
2959 2003-12-14 Angus Leeming <leeming@lyx.org>
2961 * BranchList.[Ch]: minimize the API.
2962 (Branch::getBranch, getColor): now return a 'const &'.
2963 (Branch::setSelected) now returns a bool set to true if the
2964 selection status changes.
2965 (BranchList::clear, size, getColor, setColor, setSelected,
2966 allBranches, allSelected, separator): removed.
2967 (BranchList::find): new functions, returning the Branch with
2969 (BranchList::add, remove): return a bool indicating that
2970 the operation was successful.
2972 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2973 new InsetBranch::isBranchSlected member function.
2975 * LColor.[Ch]: mimimize the API.
2976 (fill): renamed as addColor and made private.
2977 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2978 versions of these functions taking a string arg have been removed.
2980 * bufferparams.C (readToken):
2981 * lyxfunc.C (dispatch):
2982 * lyxrc.C (read): changes due to the altered BranchList and
2985 * factory.C (createInset, readInset): changes due to altered
2988 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2991 * lyxfunc.C: remove insetminipage. "minipage-insert"
2992 now produces a frameless minipage box inset.
2994 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2996 * textcursor.[Ch] (selStart,selEnd): add new methods
2997 remove selection::start, end, use LyXCursor::operator<
2998 * lyxcursor.[Ch] (operator<): add
2999 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3000 * BufferView.[Ch] (unsetXSel): add
3001 * text2.C (clearSelection): use unsetXSel,adjust
3004 * rowpainter.C: adjust
3005 * bufferview_funcs.C (put_selection_at): adjust
3007 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3009 * BufferView_pimpl.C: small coord. correction
3011 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3013 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3014 dragging over the splash screen.
3016 2003-12-11 Angus Leeming <leeming@lyx.org>
3018 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3019 as it is now handled in LyXText::dispatch.
3021 * text3.C (doInsertInset): remove a level of nesting.
3023 2003-12-11 Angus Leeming <leeming@lyx.org>
3025 * factory.C (createInset): changes due to the changed interface to
3026 InsetCommandMailer::string2params.
3028 2003-12-10 Angus Leeming <leeming@lyx.org>
3030 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3031 'dialog-show-new-inset <inset name>'
3033 2003-12-10 Angus Leeming <leeming@lyx.org>
3035 * buffer.C: up the format to 227.
3037 * factory.C: the box inset is now identified simply by 'Box'.
3039 2003-12-10 Angus Leeming <leeming@lyx.org>
3041 * buffer.C: up the format to 226.
3043 * factory.C: the note inset is now identified simply by 'Note'.
3045 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3047 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3048 when a pit is enough. Standarize a couple of loops.
3050 2003-12-05 Angus Leeming <leeming@lyx.org>
3052 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3053 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3054 data to the re-worked "log" dialog.
3056 2003-12-03 André Pönitz <poenitz@gmx.net>
3062 * paragraph_funcs.C:
3064 * text2.C: use Inset::getText instead of Inset::getParagraph
3066 2003-12-03 André Pönitz <poenitz@gmx.net>
3070 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3071 InsetText::read() as LyXText::read()
3073 2003-12-02 Angus Leeming <leeming@lyx.org>
3075 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3076 type. Add a comment in the implementation that the function uses
3077 the stream's bad() function rather than fail() as the std::streams
3080 2003-12-02 André Pönitz <poenitz@gmx.net>
3082 * lyxlex.[Ch]: make interface more similar to std::stream
3084 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3086 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3088 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3090 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3092 * vspace.[Ch]: remove VSpace::NONE
3094 2003-12-01 André Pönitz <poenitz@gmx.net>
3097 * lyxtext.h: move ParagraphList member to LyXText
3098 rename LyXText::ownerParagraphs to LyXText::paragraph
3101 * bufferview_funcs.C:
3111 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3113 * undo.C: fix cursor positioning
3115 2003-12-01 John Levon <levon@movementarian.org>
3117 * BufferView_pimpl.C: fix a crash on exit with
3120 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3122 * BranchList.C: fix setSelected() method.
3124 2003-11-28 André Pönitz <poenitz@gmx.net>
3126 * ParagraphParameters.[Ch]:
3127 * ParameterStruct.h: remove space above/below from Paragraph to
3130 * BufferView_pimpl.C:
3136 * paragraph_funcs.C:
3142 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3144 * factory.C: Syntax change for CharStyles
3146 2003-11-28 André Pönitz <poenitz@gmx.net>
3151 * buffer.[Ch]: move LyXText member
3153 2003-11-28 André Pönitz <poenitz@gmx.net>
3155 * BufferView.[Ch]: make LyXText * text a private member
3157 * BufferView_pimpl.C:
3168 * output_plaintext.C: cleanup
3170 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3173 * lyxtextclass.[Ch]: parametrize SGML document header
3175 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3178 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3181 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3183 * text2.C (setFont): rework using PosIterator (no more recursive)
3184 (setCharFont): no more needed
3185 (setLayout): no more selection cursors fiddling (done by redoCursor)
3186 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3187 destroy remaining ones)
3189 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3191 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3193 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3196 * text3.C: adjust + re-allow multi par depth changes
3197 * textcursor.C: simplify a bit
3199 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3205 * src/output_docbook.C:
3206 * src/output_latex.C:
3211 * src/text2.C: Introducing a number of tags parametrizing various
3212 XML formats that we may want to support
3214 2003-11-25 André Pönitz <poenitz@gmx.net>
3216 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3218 * lyxtext.h (leftMargin/rightMargin): simplify interface
3225 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3227 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3228 master file to any child files. Fixes bug 546.
3230 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3232 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3234 2003-11-24 André Pönitz <poenitz@gmx.net>
3236 * rowpainter.C: simplification
3238 * text2.C (updateCounters): remove call to redoParagraph on
3239 changed labels as this is far too expensive.
3241 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3243 * converter.C (convert): fix a crash: this function gets
3244 called with buffer == 0 from importer code.
3246 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3248 * text3.C (cursorPrevious): make sure that we do not compare
3249 iterators form different containers.
3252 * rowpainter.C (paintSelection): make sure that we do not compare
3253 iterators from different containers.
3255 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3256 iterators from different ParagraphList containers.
3259 * text2.C (LyXText): change order of initialization slightly
3260 (operator=): new function. copy all variables except cache_par_
3261 (moveUp): make sure that we do not compare iterators from
3262 different ParagraphList constainers.
3265 * text.C (firstPar): new function
3266 (lastPar): new function
3267 (endPar): new function
3269 * lyxtext.h: move things around and group public functions, public
3270 variables, private functions, private variables
3272 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3274 * factory.C: change call to InsetERT constructor to avoid
3275 additional invocation of method status
3276 * text2.C (toggleInset): remove redundant update() call
3277 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3278 instead of a Bufferview pointer
3280 2003-11-21 André Pönitz <poenitz@gmx.net>
3282 * rowpainter.C: simplification
3284 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3286 * text3.C (dispatch): make possible to extend a word/row selection
3289 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3291 * lyxtext.h: x0_,y0_ -> xo_,yo_
3292 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3293 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3294 * rowpainter.C (paintRows): paint full paragraphs
3296 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3298 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3301 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3303 * lyxtext.h: add x0_, y0_
3304 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3305 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3307 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3309 * text2.C (setCursorIntern): move the x_target update here *
3310 * text3.C: change some bv() to true/false in calls to
3311 cursorUp/Down/Right/Left
3312 * cursor.C: use helper function.
3314 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3316 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3317 * paragraph_funcs.[Ch]: correct comment
3318 * rowpainter.C: do not paint selections away from bv->cursor()
3319 Fix a long standing selection painting bug.
3320 * text3.C: generalize mouse-selection code to LyXTexts other that
3322 * textcursor.C: do not use y coords if we can use par offsets
3324 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3326 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3327 cursor position after e.g. inset insert)
3329 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3331 * lyxfind.C (replace): adjust to locking removal + some
3334 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3336 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3339 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3342 * output_docbook.C: XML sanitation: new layout
3343 parameters InnerTag and CommandDepth
3345 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3347 * BufferView_pimpl.C:
3349 * text3.C: Fix the insertion and modification of button-style
3352 2003-11-13 André Pönitz <poenitz@gmx.net>
3354 * InsetList.[Ch]: remove deleteLyXText
3356 * paragraph.[Ch]: cache beginOfBody position
3361 * text3.C: remove superfluous update() calls
3365 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3367 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3368 * BufferView.C (fitLockedInsetCursor): remove
3369 * cursor.[Ch] (getDim): add
3370 * text.C (getRowNearY): add faster version
3371 * text3.C: remove some update calls
3373 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3385 * text3.C: The Character Style /XML short element patch.
3387 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3390 * factory.C: Small step to solving 'unable to insert some insets'
3393 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3395 * cursor.[Ch] (updatePos): new function for updating the y
3396 position of the tip inset
3397 * bufferview_funcs.C (put_selection_at):
3398 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3400 2003-11-11 André Pönitz <poenitz@gmx.net>
3402 * text.C: remove big comment on invalid Paragraph pointers as it is
3405 2003-11-11 André Pönitz <poenitz@gmx.net>
3407 * text_funcs.[Ch]: merge with ...
3415 * Makefile.am: remove text_funcs.[Ch]
3417 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3419 * cursor.C (getPos): return absolute cached y coord
3421 * BufferView_pimpl.C (fitCursor): new simplistic code
3422 (workAreaDispatch): add a fitCursor call
3424 2003-11-10 André Pönitz <poenitz@gmx.net>
3427 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3429 2003-11-10 André Pönitz <poenitz@gmx.net>
3431 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3432 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3433 indicate that the cursor needs to leave an inset
3435 * lyxtext.h: remove inset locking
3437 * cursor.[Ch]: re-implement functionality provided by inset locking
3440 * BufferView_pimpl.[Ch]:
3442 * bufferview_funcs.[Ch]:
3454 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3456 * PosIterator.[Ch]: replace the stack with a vector, add inset
3458 * iterators.[C]: adjust
3460 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3462 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3464 * paragraph_funcs.C (readParToken): put the correct id in the
3465 error item, not the id of the top paragraph
3467 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3469 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3470 * bufferview_funcs.C (put_selection_at): use the above
3472 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3474 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3476 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3478 * output_linuxdoc.h:
3479 * output_plaintext.h:
3481 * output_docbook.h: add #include statements
3483 2003-11-05 José Matos <jamatos@lyx.org>
3485 * output_docbook.[Ch]:
3486 * output_latex.[Ch]:
3487 * output_linuxdoc.[Ch]:
3488 * output_plaintext.[Ch]: New files for output formats.
3489 * output.[Ch]: New file for helper functions.
3492 * paragraph_funcs.[Ch]: output functions moved to new files.
3494 * outputparams.h: rename of latexrunparams.h
3502 * paragraph_funcs.[Ch]:
3503 * paragraph_pimpl.[Ch]:
3504 * tabular.[Ch]: rename ascii to plaintext
3505 and LatexRunParams to OutputParams.
3507 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3509 * iterators.[Ch] (text): require bv argument
3510 * undo.C (recordUndo):
3511 * lyxfunc.C (dispatch):
3512 * bufferview_funcs.C (put_selection_at): adjust
3514 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3516 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3518 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3520 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3523 2003-11-04 André Pönitz <poenitz@gmx.net>
3525 * cursor.[Ch]: restructure
3528 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3530 * iterators.[Ch] (asCursor): remove
3532 * lfuns.h: remove LFUN_INSET_EDIT
3538 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3540 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3542 * lyxfind.[Ch]: complete overhaul
3543 * BufferView_pimpl.C:
3545 * paragraph.[Ch] (insert): add
3547 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3551 * text.C: remove dead spellcheck code
3553 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * dispatchresult.h: add a val setter
3557 * cursor.C (dispatch): use a tempvar for data_[i]
3559 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3561 * PosIterator.[Ch]: compile fix
3563 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3565 * text.C (cursorPar): deactivate the cursor cache
3567 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3569 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3571 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * text3.C (dispatch): adjust for new DisptchResult semantics.
3575 * lyxfunc.C (dispatch): handle update when return from
3576 Cursor::dispatch, adjust for new DispatchResult semantics.
3578 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3579 DispatchResult(true) mean to not update. Add class functions for
3580 setting dispatched and update, as well as reading.
3582 * cursor.C (dispatch): don't handle update here
3584 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3586 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3587 * trans_mgr.C: adjust
3589 * paragraph_funcs.C (readParToken): exception safety
3591 * lyxvc.h: store the vcs pointer in a scoped_ptr
3594 * lyxsocket.C (serverCallback): exception safety
3596 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3598 * ispell.C (clone): make it return a auto_ptr
3600 * factory.C (createInset): exception safety
3601 (readInset): exception safety
3603 * bufferlist.C (newBuffer): exception safety
3605 * Thesaurus.C (Thesaurus): use initialization for aik_
3607 * MenuBackend.C (expandToc): exception safety.
3609 2003-11-03 André Pönitz <poenitz@gmx.net>
3613 * bufferview_funcs.C: remove getInsetFromId()
3616 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3622 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3624 * PosIterator.C (distance, advance): new
3625 * bufferview_funcs.[Ch] (put_selection_at): new
3626 * iterators.[Ch] (lockPath): new
3628 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3630 * iterators.[Ch] (asPosIterator): added
3631 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3632 * PosIterator.[Ch]: added
3634 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * cursor.C (dispatch):
3639 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3641 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3642 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3643 contructor, add a class function dispatched. Remove operator>=
3645 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3647 * debug.C: only use the default constructor for debugstream
3650 * main.C (main): include debug.h and setup the lyxerr streambuf
3653 2003-10-31 José Matos <jamatos@lyx.org>
3655 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3657 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3658 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3659 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3660 * paragraph_pimpl.C (simpleTeXSpecialC):
3661 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3662 add LatexRunParams argument.
3664 * exporter.C (Export): change call accordingly.
3666 * latexrunparams.h: add new member to take care of the other backends.
3667 2003-10-30 José Matos <jamatos@lyx.org>
3669 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3670 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3671 factorise code for paragraph output.
3673 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3676 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3678 * text3.C (dispatch):
3679 * lyxfunc.C (dispatch):
3680 * cursor.C (dispatch):
3681 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3683 * dispatchresult.h: make the dispatch_result_t ctor explicit
3685 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3688 * buffer.C: small refactoring of docbook stuff
3690 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3695 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3698 operator dispatch_result_t, and operators for == != and >=
3700 * cursor.C (dispatch): adjust for operator dispatch_result_t
3701 removal. comment out call to update
3703 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3705 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3713 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3716 * dispatchresult.h: new file, DispatchResult broken out of
3719 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3721 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3723 * text.C (rowBreakPoint): put a hack inside #if 0
3725 2003-10-28 André Pönitz <poenitz@gmx.net>
3729 * paragraph_funcs.C:
3732 * text2.C: general cleanup (lots of small stuff)
3734 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3736 * text2.C (cursorEnd): simple fix to the "end key goes to one
3737 before the end on last row" bug
3739 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3741 * text.C (backspace): fix the "zombie characters"
3743 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3745 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3747 2003-10-27 André Pönitz <poenitz@gmx.net>
3749 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3751 * factory.C: handle new InsetPagebreak, InsetLine
3753 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3754 and move handling into new InsetPagebreak, InsetLine
3756 * BufferView_pimpl.C:
3758 * ParagraphParameters.C:
3759 * ParameterStruct.h:
3764 * paragraph_funcs.C:
3765 * paragraph_pimpl.C:
3771 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3774 * lyxrow_funcs.[Ch]:
3780 * text3.C: remove lastPos uses in favour of Row::endpos
3782 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3784 * undo.C (performUndoOrRedo): fix two crashes by setting a
3785 cursor by hand and reordering some calls. Use bv->lockInset instead
3786 of inset->edit because the latter loses cursor information
3788 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3790 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3792 (rowBreakPoint): fix width. change point to point + 1.
3793 Add a missing check.
3795 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3798 * lyxfunc.C: fix (at least partly) the problems
3799 with the Nav menu and headers inside branch insets
3802 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3804 * paragraph.C (getChar): add strong asserts
3806 * lyxrow_funcs.C (lastPos): remove hideous hack
3808 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3809 (fill): adjust to that (avoid an infinite loop)
3811 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3813 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3815 2003-10-23 André Pönitz <poenitz@gmx.net>
3817 * RowList_fwd.h: change list<> to vector<> to gain speed
3818 after suggestion from Alfredo
3820 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3822 * lyxtext.h: move the bidi stuff from here...
3825 * Bidi.[Ch]: ... to here
3827 2003-10-23 André Pönitz <poenitz@gmx.net>
3830 * text.C (isLastRow, isFirstRow): new functions
3832 * paragraph.h: new width cache member
3834 * rowpainter.C: replace RowList::iterator with Row & where possible
3836 * lyxfunc.C: replace several view()->text with a single call
3838 * toc.C: fix 'unused' warning
3840 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3842 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3843 when woring with stream::pos_type
3844 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3846 2003-10-22 André Pönitz <poenitz@gmx.net>
3849 * text.C: use Row & instead of RowList::iterator
3851 * lyxrow.h: rename end() to endpos()
3857 2003-10-22 Angus Leeming <leeming@lyx.org>
3859 * buffer.[Ch] (fully_loaded): new member function, returning true
3860 only when the file has been loaded fully.
3861 Used to prevent the premature generation of previews and by the
3862 citation inset to prevent computation of the natbib-style label.
3864 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3865 templates are all set up.
3867 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3869 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3871 * text.C: fixed an "oops" in the "is a bit silly"
3874 2003-10-21 André Pönitz <poenitz@gmx.net>
3876 * FuncStatus.[Ch]: small stuff, whitespace
3878 * lyxfont.[Ch]: operator<<() for debug reasons
3882 * lyxtext.h: whitespace, spelling
3884 * paragraph.C: naming of variables
3887 * text2.C: small stuff
3890 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3892 * text.C: (1) finish off the inset display() work;
3893 (2) fix the "is a bit silly" bug (accessing char
3896 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3898 * text.C: re-introduce display() for insets, fixing the
3899 various bugs (stretch of line above, math inset
3902 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3904 * text.C (rightMargin): remove spurious semicolon
3906 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3909 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3911 * text3.C: fix one crash due to wrong cursor def
3913 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * vc-backend.C (scanMaster): make the regex static
3917 * LaTeX.C (scanAuxFile): make the regexs static
3919 * text3.C (doInsertInset, dispatch, dispatch):
3920 * text2.C (cursorUp, cursorDown):
3921 * text.C (selectNextWordToSpellcheck):
3922 * BufferView_pimpl.C (dispatch):
3923 * lyxfunc.C (dispatch): localDispatch -> dispatch
3925 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3927 * lyxsocket.C: include <cerrno>
3929 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * lyxfunc.C (dispatch): remove textcache stuff
3933 * bufferlist.C (release): remove textcache stuff
3936 * TextCache.C: delete file
3937 * TextCache.h: delete file
3939 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3941 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3942 delete of the bv_->text.
3943 (resizeCurrentBuffer): remove texcache stuff
3944 (workAreaResize): ditto
3946 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3948 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3951 2003-10-16 André Pönitz <poenitz@gmx.net>
3958 * text3.C: speed up by storing y positions per paragraph plus per-row
3959 offset instead of having a 'full' y position in the row.
3961 2003-10-15 André Pönitz <poenitz@gmx.net>
3965 * undo.[Ch]: make undo aware of inner insets
3967 2003-10-14 Angus Leeming <leeming@lyx.org>
3969 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3970 static member functions LyX::ref() and LyX::cref.
3971 (lastfiles): new accessor functions for the new lastfiles_ member var.
3972 (addLyXView, views_): add a new LyXView to the list of views_.
3973 (updateInset): loop over all LyXViews to call their own updateInset
3974 member function, returning a pointer to the Buffer owning the inset.
3976 * BufferView_pimpl.C (loadLyXFile):
3977 * MenuBackend.C (expandLastfiles):
3978 * bufferlist.C (MenuWrite, QuitLyX):
3979 lastfiles is no longer a global variable.
3980 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3982 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3983 static function. Access through LyX::cref().emergencyCleanup().
3985 2003-10-14 André Pönitz <poenitz@gmx.net>
3987 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3989 * undo.[Ch]: restoring part of 'undo in insets'
3992 * undo_funcs.[Ch]: merge with undo.[Ch]
3994 * tabular.C: small cleansing stuff
3996 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3998 * paragraph_funcs.C (readParToken): report unknown insets as error
3999 boxes. Use the outer paragraph as location (also for unknown
4002 * factory.C (readInset): do not abort on reading an unknown inset.
4003 Eat it and return 0.
4005 2003-10-13 Angus Leeming <leeming@lyx.org>
4007 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4009 * lyxrc.C: displayTranslator is now a function,
4010 declared in GraphicsTypes.h.
4012 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4014 * format.C: new placeholder $$a to pass the socket address.
4016 * bufferlist.[Ch]: new function getBufferFromTmp.
4018 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4019 files in the temporary dir.
4021 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4023 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4025 * Makefile.am: add lyxsocket.[Ch].
4027 * lyx_main.C (error_handler): handle SIGPIPE.
4029 2003-10-13 André Pönitz <poenitz@gmx.net>
4031 * BufferView_pimpl.C:
4036 * undo_funcs.[Ch]: use paroffset_type instead of
4037 ParagraphList::iterators to prevent multiple conversion
4038 (and get a more robust interface)
4040 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4042 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4044 * text3.C (dispatch): ditto
4046 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4048 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4049 move the onlyfile, use onlyfile instead of foundfile in a couple
4052 * DepTable.C (update): flush the error stream a bit more
4054 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * lyxserver.C (callback): adjust
4058 * lyxfunc.C (getStatus): add a missing brace in commented code
4059 (ensureBufferClean): reindent
4060 (dispatch): delete version taking a string
4062 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * LaTeX.C (deplog): move found file handlig from here...
4065 (handleFoundFile): .. to new function here.
4066 (deplog): make sure to discover several files mentioned on the
4069 2003-10-10 André Pönitz <poenitz@gmx.net>
4076 * text3.C: fix some of the tabular crashes
4078 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4080 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4082 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4084 2003-10-09 André Pönitz <poenitz@gmx.net>
4086 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4089 * BufferView_pimpl.C:
4090 * bufferview_funcs.C:
4101 * undo_funcs.C: adjust
4103 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * text2.C (incrementItemDepth): new function, use a backtracking
4106 algorithm to discover the correct item depth.
4107 (resetEnumCounterIfNeeded): new function, use a backtracking
4108 algorithm to discover if counter reset is needed.
4109 (setCounter): use them. Simplify a bit. Add different labels for
4110 different item depths for itemize.
4112 * paragraph.C (Paragraph): remove initialization of enumdepth
4115 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4116 enumerate and itemize. Change the type of itemdepth to signed char.
4118 2003-10-08 André Pönitz <poenitz@gmx.net>
4120 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4125 * tabular.[Ch]: fix crash after 'row-insert'
4127 2003-10-08 Angus Leeming <leeming@lyx.org>
4129 Fix doxygen warnings.
4131 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4132 Remove CutAndPaste:: prefix from header file declaration.
4134 * LColor.h (fill): remove LColor:: prefix from declaration.
4136 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4137 use lyx::depth_type rather than Paragraph::depth_type so that
4138 header file and .C file match.
4140 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4142 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4143 * aspell.C: \file aspell_local.C -> \file aspell.C
4144 * gettext.C: \file gettext.C -> \file src/gettext.C
4145 * gettext.h: \file gettext.h -> \file src/gettext.h
4146 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4147 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4148 * text.C: \file text.C -> \file src/text.C
4150 * toc.C: move comment so that doxygen is not confused.
4152 2003-10-07 Angus Leeming <leeming@lyx.org>
4154 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4156 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4159 * aspell_local.h: add forgotten std::string's.
4161 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4168 * text3.C: The Box patch. Fancybox support, minipage, parbox
4170 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4176 * ParagraphParameters.h:
4186 * lyxtextclasslist.h:
4189 * paragraph_pimpl.C:
4190 * textcursor.h: add <string> and other small fixes to make Lars'
4191 std::string patch compile with STLport.
4193 2003-10-06 Angus Leeming <leeming@lyx.org>
4195 * LColor.h: Add missing #include <string>.
4197 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * All most all file in all subdirs: Make <string> be the prefered
4200 way of getting to std::string, add using declarations.
4202 2003-10-06 André Pönitz <poenitz@gmx.net>
4204 * metricsinfo.C: initialize LyXFont before changing attribute.
4205 (fixes the 'math in \emph is upright' bug)
4207 2003-10-06 André Pönitz <poenitz@gmx.net>
4209 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4211 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4214 * paragraph_pimpl.C: Small fixes to build using STLport
4216 2003-10-02 André Pönitz <poenitz@gmx.net>
4219 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4221 2003-10-01 André Pönitz <poenitz@gmx.net>
4223 * factory.C: assert early
4225 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * lyx_main.C: remove the global debug object
4229 * debug.h: adjust for new debugstream
4231 * debug.C: adjust for new debugstream and keep the global debug
4234 2003-09-22 Angus Leeming <leeming@lyx.org>
4236 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4237 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4238 an incomplete class LyXFont.
4240 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4242 * factory.C: bug fix in branches
4244 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * lyxfunc.C (processKeySym): adjust
4248 (dispatch): change arg name from ev to func, adjust
4249 (sendDispatchMessage): ditto
4251 * lyx_main.C (defaultKeyBindings): adjust keybindings
4252 (deadKeyBindings): ditto
4254 * kbsequence.C (addkey): return a FuncRequest
4256 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4258 * kbmap.C (bind): take a FuncRequest as arg, adjust
4261 (defkey): change to take a FuncRequest as arg, adjust
4262 (findbinding): take a FuncRequest as arg, adjust.
4264 * funcrequest.h (operator=): added
4266 * funcrequest.C (FuncRequest): default kb_action changed from
4267 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4269 * buffer.C (dispatch): simplify
4270 (dispatch): adjust to take a FuncRequest as arg, adjust
4272 * boost.C (assertion_failed): change assertion message slightly
4274 * ToolbarBackend.C (read): simplify
4276 * MenuBackend.C (binding): adjust call to findbinding, add a
4277 message if no binding is found.
4279 (expandToc): correct by adding a empty FuncRequest
4281 * LyXAction.C: include <boost/assert.hpp>
4282 (isPseudoAction): delete function
4283 (LookupFunc): change name to...
4284 (lookupFunc): this. change return type to FuncRequest.
4285 (getActionName): take kb_action as arg, simplify
4286 (funcHasFlag): add an assert, simplify.
4288 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4290 * toc.C (action): return a FuncRequest, simplify
4292 * lyxfunc.C (processKeySym): adjust
4293 (getStatus): delete version that takes an int.
4295 (dispatch): delete version that takes action as int
4297 (sendDispatchMessage): simplify and adjust
4299 * funcrequest.C (getArg): take unsigned int as arg
4301 * ToolbarBackend.C (read): adjust
4302 (add): delete version that takes func as a string.
4303 (getIton): take a FuncRequest as arg
4305 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4308 * MenuBackend.C (MenuItem): add a new construct that only takes a
4309 Kind, simplify the constructor use for submenus.
4311 (expandLastfiles): adjust
4312 (expandDocuments): adjust
4313 (expandFormats): adjust
4314 (expandFloatListInsert): adjust
4315 (expandFloatInsert): adjust
4316 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4318 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4319 Remove class variables lyx_pseudo_map and lyx_arg_map
4321 * LyXAction.C (searchActionArg): delete function
4322 (getPseudoAction): delete function
4323 (retrieveActionArg): delete function
4324 (LookupFunc): make it return kb_action, simplify.
4325 (getActionName): simplify
4327 * factory.C (createInset): fix new bug
4329 2003-09-19 Angus Leeming <leeming@lyx.org>
4331 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4332 masterFilename_ parameter in the include inset.
4334 * factory.C (createInset): changes due to the changes to InsetInclude.
4336 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4338 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4340 2003-09-18 Angus Leeming <leeming@lyx.org>
4343 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4344 Inset::fillWithBibKeys.
4345 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4347 2003-09-18 Angus Leeming <leeming@lyx.org>
4349 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4351 (ctor): pass and store a 'Buffer const &'
4352 (buffer): new member function.
4354 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4355 '*this' to the LaTeXFeatures ctor.
4357 2003-09-18 Angus Leeming <leeming@lyx.org>
4363 * text.C: rename EnumLColor as LColor_color.
4365 2003-09-18 Angus Leeming <leeming@lyx.org>
4367 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4368 remove #include "insets/insetbase.h" from cursor.h.
4370 2003-09-18 Angus Leeming <leeming@lyx.org>
4372 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4373 InsetOld_code to remove #include "inset.h".
4375 * iterators.C: add #include "insets/inset.h"
4377 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4379 * BufferView.C: remove more locking stuff that apparently doesn't
4380 do anything sensible.
4382 2003-09-16 André Pönitz <poenitz@gmx.net>
4385 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4388 2003-09-16 Angus Leeming <leeming@lyx.org>
4390 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4392 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4395 * paragraph.h: remove #include "lyxfont.h". Forward declare
4398 2003-09-16 Angus Leeming <leeming@lyx.org>
4400 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4401 of support/textutils.h.
4402 (isWord): move the contents of support/textutils.h's IsWordChar here.
4408 * text2.C: add #include "paragraph.h".
4411 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4413 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4419 * LaTeX.C: use namespace alias for lyx::support::os
4421 2003-09-16 Angus Leeming <leeming@lyx.org>
4424 * bufferview_funcs.C:
4427 * paragraph_pimpl.C:
4429 * text.C: add #include "LColor.h".
4431 2003-09-16 Angus Leeming <leeming@lyx.org>
4433 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4434 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4436 Store the FontBits::color variable as an int rather than as an
4437 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4440 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4441 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4442 string calls together.
4444 * lyxrc.C: add #include "LColor.h".
4446 2003-09-15 Angus Leeming <leeming@lyx.org>
4448 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4451 2003-09-15 Angus Leeming <leeming@lyx.org>
4453 * LColor.h: add an EnumLColor wrapper for LColor::color.
4455 * lyxfont.[Ch] (color, setColor, realColor):
4456 * lyxtext.h, text.C (backgroundColor):
4457 pass EnumLColor args to/from the functions, rather than LColor::color
4461 * lyxtext.h: forward declare EnumLColor.
4463 * lyx_main.C: add #include "LColor.h".
4465 2003-09-15 Angus Leeming <leeming@lyx.org>
4467 * .cvsignore: add lyx-gtk.
4469 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4474 * ParagraphParameters.C
4478 * bufferview_funcs.C
4488 * vc-backend.C: remove usage of STRCONV
4490 2003-09-15 Angus Leeming <leeming@lyx.org>
4492 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4493 explicitly define the color passed to the painter.
4495 2003-09-15 Angus Leeming <leeming@lyx.org>
4497 * bufferparams.C (BufferParams): reorder member initializers to avoid
4500 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4502 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4503 * text.C (updateRowPositions): remove an unusual nop
4505 2003-09-12 André Pönitz <poenitz@gmx.net>
4507 * BufferView_pimpl.C:
4516 * Counters.[Ch]: finish the 'automatic counters' job
4518 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4520 * aspell.C: include <boost/assert.cpp> (compile fix)
4522 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4524 * boost.C (assertion_failed): use lyx::support::abort instead of
4527 2003-09-10 Angus Leeming <leeming@lyx.org>
4529 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4530 with their _fwd progeny.
4532 2003-09-09 Angus Leeming <leeming@lyx.org>
4534 134 files throughtout the source tree: replace 'using namespace abc;'
4535 directives with the appropriate 'using abc::xyz;' declarations.
4537 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4539 * boost.C (emergencyCleanup): moved here from LAssert.c
4540 (assertion_failed): new function, called by BOOST_ASSERT
4542 * several files: change Assert to BOOST_ASSERT
4544 2003-09-09 Angus Leeming <leeming@lyx.org>
4546 * buffer.[Ch]: Add an Impl class and move Buffer's member
4547 variables into it. As a result move several header files out of
4550 Add header files to lots of .C files all over the tree as a result.
4552 2003-09-09 Angus Leeming <leeming@lyx.org>
4554 * buffer.[Ch]: make Buffer's member variables private. Add
4557 Lots of changes all over the tree as a result.
4559 2003-09-08 Angus Leeming <leeming@lyx.org>
4561 * graph.C: #include <config.h>.
4563 2003-09-08 Angus Leeming <leeming@lyx.org>
4567 * BufferView_pimpl.C:
4596 * toc.C: remove redundant using directives.
4598 2003-09-07 Angus Leeming <leeming@lyx.org>
4600 * LaTeXFeatures.h: remove #include "support/types.h".
4601 * ToolbarBackend.h: remove #include <algorithm>.
4602 * changes.h: remove #include <ctime>.
4603 * debug.h: remove #include <iosfwd>.
4604 * graph.h: remove #include "support/std_string.h".
4605 * lyx_main.h: remove #include <csignal>.
4606 * lyxlex_pimpl.h: remove #include <fstream>.
4607 * sgml.h: remove #include <algorithm>, <utility>.
4608 * toc.h: remove #include "support/std_ostream.h".
4609 Add #include <iosfwd>.
4611 2003-09-07 Angus Leeming <leeming@lyx.org>
4613 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4615 * converter.h: forward declare LatexRunParams.
4616 * encoding.h: remove #include "lyxrc.h".
4617 * lyxtext.h: remove #include "LColor.h".
4618 * lyxtextclass.h: remove #include "support/types.h".
4619 * trans.h: remove #include "tex-accent.h".
4620 * trans_mgr.h: remove #include "tex-accent.h".
4621 * insets/inset.h: remove #include "support/types.h", <vector>.
4622 * insets/insetcollapsable.h: remove #include "LColor.h".
4623 * insets/insetinclude.h: remove #include "dimension.h".
4624 * insets/insetlatexaccent.h: remove #include "dimension.h".
4625 * insets/insetoptarg.h:: remove #include "insettext.h".
4626 * insets/insettext.h: remove #include "dimension.h",
4627 <boost/shared_ptr.hpp>
4629 * insets/renderers.h: add #include "dimension.h".
4630 * insets/updatableinset.h: add #include "support/types.h".
4632 * many .C files: Associated changes.
4634 2003-09-06 Angus Leeming <leeming@lyx.org>
4636 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4637 one, inside testInvariant.
4639 * PrinterParams.C: new file.
4640 * PrinterParams.[Ch]: move the function bodies out of line.
4642 2003-09-06 Angus Leeming <leeming@lyx.org>
4644 * ParagraphParameters.h: forward declare ParameterStruct rather than
4645 including its header file.
4646 (depth): moved out-of-line.
4648 2003-09-06 Angus Leeming <leeming@lyx.org>
4650 * BufferView_pimpl.h:
4653 * lyxfunc.h: forward declare LyXKeySym rather than
4654 #include "frontends/LyXKeySym.h".
4656 * BufferView_pimpl.C:
4659 * lyxfunc.C: associated changes.
4661 2003-09-06 Angus Leeming <leeming@lyx.org>
4663 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4664 As a result, can remove the #include "insets/inset.h" from BufferView.h
4666 2003-09-06 Angus Leeming <leeming@lyx.org>
4668 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4669 As a result, can remove the #include "insets/inset.h" from BufferView.h
4671 2003-09-06 Angus Leeming <leeming@lyx.org>
4677 * bufferview_funcs.C:
4678 * BufferView_pimpl.C:
4683 * ParagraphParameters.C:
4688 * frontends/controllers/ControlDocument.C:
4689 * insets/insetcaption.C: rearrange the #includes into some sort of
4692 * buffer.h: remove #includes ErrorList.h, undo.h
4694 2003-09-06 Angus Leeming <leeming@lyx.org>
4696 * support/types.h: add a 'depth_type' typedef, used to store the
4697 nesting depth of a paragraph.
4700 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4701 defining explicitly.
4704 * paragraph_funcs.h:
4705 * ParagraphParameters.h:
4706 * sgml.h: use lyx::depth_type rather than Paragraph or
4707 ParameterStruct's depth_type.
4710 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4713 * BufferView_pimpl.C:
4715 * ParagraphParameters.C:
4718 * bufferview_funcs.C:
4725 * frontends/LyXView.C:
4726 * frontends/controllers/ControlDocument.C:
4727 * frontends/controllers/ControlErrorList.C:
4728 * insets/insetbibitem.C:
4729 * insets/insetbranch.C:
4730 * insets/insetcaption.C:
4731 * insets/insetcollapsable.C:
4732 * insets/insetenv.C:
4733 * insets/insetert.C:
4734 * insets/insetfloat.C:
4735 * insets/insetfoot.C:
4736 * insets/insetfootlike.C:
4737 * insets/insetnewline.C:
4738 * insets/insetquotes.C:
4739 * insets/insettabular.C:
4740 * insets/insettext.C:
4741 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4743 * frontends/controllers/ControlChanges.C: #include "changes.h".
4745 2003-09-06 Angus Leeming <leeming@lyx.org>
4747 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4748 than #including paragraph.h.
4751 * RowList.h: deleted. Superfluous.
4761 * insets/insettext.h: use ParagraphList_fwd.h rather than
4764 * paragraph.h: don't forward declare ParagraphList.
4767 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4768 rather than ParagraphList.h. paragraph.h is still needed for the
4769 Paragraph::depth_type parameters.
4771 * textcursor.h: enable it to compile stand-alone in light of the
4774 * bufferview_funcs.C:
4786 * frontends/controllers/ControlParagraph.C:
4787 * frontends/controllers/ControlTabular.C:
4788 * insets/insetmarginal.C:
4789 * insets/insetminipage.C:
4790 * insets/insetnote.C:
4791 * insets/insetoptarg.C: add header files needed to compile again.
4793 2003-09-06 Angus Leeming <leeming@lyx.org>
4795 * RowList_fwd.h: new file, forward-declaring Row rather than
4796 #including lyxrow.h.
4801 * insets/insettext.h: use it instead of RowList.h
4803 * bufferview_funcs.C:
4810 * text3.C: #include "RowList.h".
4812 2003-09-05 Angus Leeming <leeming@lyx.org>
4814 * factory.C (createInset):
4815 * vspace.C (c-tor): replace sscanf call with an istringstream.
4816 * ispell.C: re-add missing HP/UX headers.
4817 * lyxserver.C: re-add missing os2 headers.
4819 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4828 * text3.C: re-add missing system headers, needed for 2.95.2.
4830 2003-09-05 Angus Leeming <leeming@lyx.org>
4832 Changes most place everywhere due to the removal of using directives
4833 from support/std_sstream.h.
4835 2003-09-05 Angus Leeming <leeming@lyx.org>
4837 Replace LString.h with support/std_string.h,
4838 Lsstream.h with support/std_sstream.h,
4839 support/LIstream.h with support/std_istream.h,
4840 support/LOstream.h with support/std_ostream.h.
4842 Changes resulting throughout the tree.
4844 2003-09-05 Angus Leeming <leeming@lyx.org>
4846 * sgml.h: ensure that the header file can be compiled stand-alone.
4847 * *.C: strip out redundant #includes. (320 in total.)
4849 2003-09-04 Angus Leeming <leeming@lyx.org>
4851 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4852 here (from getPackages).
4854 * debug.[Ch]: add a new EXTERNAL tag.
4856 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4858 * text2.C (cursorEnd): simplify
4860 (getColumnNearX): adjust
4862 * text.C (computeBidiTables): adjust
4865 * rowpainter.C (paintChars): adjust
4866 (paintSelection): adjust
4867 (paintChangeBar): adjust
4870 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4872 (numberOfSeparators): adjust
4874 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4880 * text3.C: Restricts the mouse click functionality
4881 of insets like bibtex, include, toc and floatlist to the visible
4882 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4883 up the dialogs. Cursor has to be in front of the inset (i.e.
4884 start of row) for this to function.
4886 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4888 * bufferview_funcs.C (currentState): output row information
4890 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4892 * bufferview_funcs.C (currentState): output paragraph position
4894 2003-09-04 Angus Leeming <leeming@lyx.org>
4896 * FloatList.h: move out #include "Floating.h".
4897 * LaTeX.h: move out #include "DepTable.h".
4898 * LyXAction.h: move out #include "funcrequest.h".
4899 * buffer.h: move out #include "author.h", "iterators.h".
4900 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4901 * lyx_main.h: move out #include "errorlist.h".
4902 * lyxfunc.h: move out #include "FuncStatus.h".
4903 * lyxtext: move out #include "lyxcursor.h".
4904 * paragraph_pimpl.h: move out #include "counters.h".
4906 2003-09-03 Angus Leeming <leeming@lyx.org>
4908 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4909 preamble_snippets list, enabling us to add snippets to the preamble
4910 only if the snippet was not there already.
4912 2003-09-04 Angus Leeming <leeming@lyx.org>
4914 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4916 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4921 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4923 * BranchList.C: point fix, earlier forgotten
4925 2003-09-02 Angus Leeming <leeming@lyx.org>
4927 * box.C (contains): renamed from 'contained' after a fantastic
4930 2003-09-02 John Levon <levon@movementarian.org>
4936 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4938 2003-09-02 John Levon <levon@movementarian.org>
4940 * text2.C: simplification of cursorEnd(), including partial
4943 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * buffer.C (readFile): add a space
4947 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4949 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4951 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * buffer.C (readFile): new function, take a filename and a
4954 ParagraphList::iterator
4956 (readFile): adjust, make it private. don't use setStream, make
4957 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4958 always contain the filename.
4960 * BufferView.C (insertLyXFile): simplify and make it work for
4963 2003-08-30 John Levon <levon@movementarian.org>
4965 * Makefile.am: fix dist (from Kayvan)
4967 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * most files: change to use const Buffer refs
4971 2003-08-27 André Pönitz <poenitz@gmx.net>
4973 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4974 on top of ownerPar().
4976 2003-08-27 John Levon <levon@movementarian.org>
4978 * funcrequest.C: properly initialise POD members
4980 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4982 * lyxtext.h (top_y): move top_y from here
4987 * BufferView_pimpl.[Ch]: to here
4988 * frontends/screen.C:
4989 * insets/insettabular.C:
4990 * insets/insettext.C: adjust
4991 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4993 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4996 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4998 2003-08-26 André Pönitz <poenitz@gmx.net>
5000 * paragraph_func.[Ch] (outerPar): new function
5003 * paragraph_funcs.C:
5004 * paragraph_funcs.h:
5005 * paragraph_pimpl.C:
5006 * text2.C: remove Inset::par_owner
5008 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5013 * text2.C: eliminates the needFullRow/display() stuff
5014 altogether, putting the logic in metrics/draw in the insets.
5016 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5018 * text2.C (redoParagraphInternal, redoParagraphs):
5019 * text.C (redoParagraph): add a call to updateRowPositions at the
5020 end of each 'metrics-like' call. Remove all others.
5021 (getRow): remove the 'y-computing' version.
5022 (getRowNearY): do not compute nor return the real y. Solve the
5023 'y < 0' problem and simplify.
5025 2003-08-22 Angus Leeming <leeming@lyx.org>
5027 * *.[Ch]: clean-up of licence and author blurbs.
5028 Also move config.h out of a few .h files and into a few .C files.
5030 2003-08-22 André Pönitz <poenitz@gmx.net>
5032 * lyxrow.[Ch]: add x_ and *fill_ members
5037 * text2.C: adjust/remove prepareToPrint() calls
5039 2003-08-22 André Pönitz <poenitz@gmx.net>
5041 * lyxrow.[Ch]: add end_ member
5043 * lyxrow_funcs.C: use LyXRow::end_
5045 * lyxtext.h (singleWidth): add LyXFont parameter
5048 * text2.C: adjust LyXText::singleWidth() calls
5050 * text.C (redoParagraph): simplify row breaking logic
5053 2003-08-19 André Pönitz <poenitz@gmx.net>
5055 * funcrequest.C: initialize button_ member
5058 * rowpainter.[Ch]: interface consolidation
5060 2003-08-18 André Pönitz <poenitz@gmx.net>
5063 * BufferView_pimpl.C:
5065 * paragraph_funcs.C:
5067 * text3.C: remove LyXScreen::draw() and fitCursor calls
5069 * BranchList.h: remove spurious semicolons
5071 * MenuBackend.C: fix branchlist related crash
5073 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5081 * bufferparams.[Ch]:
5085 * text3.C: implements the 'branch inset'
5086 idea. This allows the output of various versions of a document
5087 from a single source version, selectively outputing or suppressing
5088 output of parts of the text.
5089 This implementation contains a 'branch list editor' in a separate
5090 tab of the document settings dialog. Branches are user definable
5091 and have a "display colour" to distinguish them on-screen.
5093 ColorHandler was somewhat cleaned up.
5094 (1) make possible a dynamically growing LColor list by allowing
5095 the graphic context cache to grow along (vector);
5096 (2) eliminate an IMHO unnecessary step in colour allocation.
5098 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5100 * BufferView_pimpl.C: compile fix
5102 2003-08-15 André Pönitz <poenitz@gmx.net>
5104 * rowpainter.C: remove extra metrics calls
5106 * lyxtext.h: merge the two constructors into a single one,
5107 pass reference to owner's par list
5109 * BufferView_pimpl.C:
5113 2003-08-15 André Pönitz <poenitz@gmx.net>
5115 * lyxrow_funcs.[Ch]:
5118 * paragraph_funcs.C:
5123 * text_funcs.C: split LyXText::rowlist_ into individual
5124 Paragraph::rows_ chunks
5127 * BufferView_pimpl.[Ch]:
5130 * text3.C: remove toggleSelection()
5132 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5134 * bufferlist.C: beautify two alerts (shorter text of buttons)
5135 * buffer.C: Remove redundant ' ' from message
5137 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5138 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5139 rename VALIGN_CENTER to VALIGN_MIDDLE
5141 2003-08-11 André Pönitz <poenitz@gmx.net>
5143 * lyxtext.h (getPar):
5144 * text.C: new function
5146 2003-08-11 André Pönitz <poenitz@gmx.net>
5149 * tracer.[Ch]: remove unneeded files
5151 * InsetList.[Ch]: remove resizeInsetsLyXText()
5156 * text3.C: merge insertParagraphs() and appendParagraph()
5157 remove breakAgain(), update()
5159 * BufferView_pimpl.[Ch]:
5160 * bufferview_funcs.[Ch]:
5164 * tabular.C: adjust after text & InsetList changes.
5166 2003-08-08 André Pönitz <poenitz@gmx.net>
5168 * text.C (insertChar, backspace): replace rowlist fiddling
5169 with rebreak of full par
5172 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5173 checkParagraph, updateInset): removed
5175 2003-08-07 André Pönitz <poenitz@gmx.net>
5178 * text3.C: merge some LFUN handlers, remove dead code
5180 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5182 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5184 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5186 * text2.C (DEPM): fix part of bug 1255 and 1256
5188 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5190 * BufferView_pimpl.C (workAreaDispatch): change to use
5191 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5192 that are no mouse related.
5194 2003-08-05 André Pönitz <poenitz@gmx.net>
5197 * BufferView_pimpl.[Ch]:
5198 * bufferview_funcs.C:
5200 * text3.C: rip out "deep update"
5202 * textcursor.[Ch] (last_sel_cursor): remove unused member
5204 2003-08-04 André Pönitz <poenitz@gmx.net>
5207 * BufferView_pimpl.[Ch]:
5208 * ParagraphParameters.C:
5209 * bufferview_funcs.C:
5215 * text3.C: replace "complicated" BufferView::update(...) calls with
5218 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5220 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5222 * Makefile.am (lyx_SOURCES): add paper.h
5224 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5226 * Makefile.am: move things around so that both lyx-qt and
5227 lyx-xforms can be built (according to --with-frontend). Then lyx
5228 is a symbolic link to lyx-[firstfrontend]
5230 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5232 * Always use std::endl with lyxerr
5234 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5236 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5238 2003-08-01 André Pönitz <poenitz@gmx.net>
5241 * BufferView_pimpl.[Ch]:
5243 * text3.C: merge BufferView::repaint() and BufferView::update()
5245 2003-08-01 José Matos <jamatos@lyx.org>
5247 * buffer.[Ch]: file_format is no longer a buffer data element.
5249 2003-08-01 André Pönitz <poenitz@gmx.net>
5254 * text2.C: make redoParagraph more independent of current cursor
5256 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5258 * text2.C: remove unneeded members
5260 2003-07-30 André Pönitz <poenitz@gmx.net>
5262 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5264 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5265 create a single function...
5267 * paragraph_funcs.C (moveItem): ... here.
5270 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5272 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5274 * LColor.[Ch]: Add comment and greyedout logical colors.
5276 2003-07-30 André Pönitz <poenitz@gmx.net>
5278 * tabular.C: don't use Assert too heavily. This crashes where it
5281 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5283 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5284 is disabled (bug 1232)
5286 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5288 * factory.C: limited 'arg' scope
5290 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5292 * factory.C: fixed Note submenu issues
5294 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5296 * factory.C: submenu for Note/Comment/Greyedout
5298 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5301 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5303 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5306 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5307 greyedout. Patch provided by Jürgen Spitzmüller.
5309 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5311 * kbmap.C (read): fix error message when reading bind files
5313 2003-07-29 Angus Leeming <leeming@lyx.org>
5315 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5316 certainly does not do what it purports to do. I am doing it, and
5317 us, a favour by killing it.
5319 2003-07-28 José Matos <jamatos@lyx.org>
5321 * buffer.C (readBody, do_writeFile):
5322 * paragraph.C(readParagraph): \end_document replaces \the_end.
5324 2003-07-29 André Pönitz <poenitz@gmx.net>
5327 * BufferView_pimpl.[Ch]:
5331 * textcursor.[Ch]: remove toggleToggle & Co
5333 2003-07-28 José Matos <jamatos@fep.up.pt>
5335 * buffer.C (readParagraph):
5336 * params_func (readParToken, readParagraph):
5337 * paragraph.C (write): \layout -> \begin_layout.
5339 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5341 * lyxlex_pimpl.C (setFile): clean up slightly.
5343 * bufferparams.h: add compressed var
5345 * buffer_funcs.C (readFile): adjust for LyXLex change
5346 (newFile): ditto + simplify
5348 * buffer.C (writeFile): handle writing of compressed files
5350 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5351 Check if the file is compressed and set a bufferparm if so.
5353 * Makefile.am (lyx_LDADD): remove explicit -lz
5355 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5357 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5358 makeDocBookFile): put the real LyX version in the first line of
5362 * version.C.in: remove lyx_docversion
5364 * tabular.C (write_attribute): add a template-based version to
5365 write enums properly
5367 2003-07-28 André Pönitz <poenitz@gmx.net>
5372 * text3.C: use doubles again for x-coordinates. They are needed.
5374 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * messages.C (getLocaleDir): use lyx_localedir()
5378 * lyxlex_pimpl.C (setFile): compress stuff
5380 * buffer.C (writeFile): add some compression stuff
5381 (do_writeFile): new func, dont call expliti close... will this
5384 * Makefile.am (lyx_LDADD): add -lz
5386 2003-07-28 José Matos <jamatos@fep.up.pt>
5388 * buffer.C: increment file format.
5389 * paragraph_funcs (readParagraph, readParToken):
5390 * paragraph.C (readParagraph): add \end_layout.
5392 2003-07-27 Angus Leeming <leeming@lyx.org>
5394 * Makefile.am: remove special casing for configure-time setting of
5395 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5397 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5398 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5400 2003-07-26 André Pönitz <poenitz@gmx.net>
5402 * paragraph_func.[Ch]:
5403 * paragraph.C (realizeFont): inline it whereever it is used
5408 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5411 2003-07-26 André Pönitz <poenitz@gmx.net>
5415 * text2.C: get rid of LyXText::need_break_row
5417 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * toc.[Ch]: put namespace toc inside namespace lyx
5421 * MenuBackend.C (expandToc2): adjust for lyx::toc
5424 * lyxfunc.C (dispatch): adjust for lyx::find
5426 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5427 lyx::find instead. Reorganize a bit.
5428 (LyXReplace): rename to replace
5429 (LyXFind): rename to find
5431 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5434 2003-07-26 André Pönitz <poenitz@gmx.net>
5436 * text.C (setHeightOfRow): restrict scope of temporary variable
5438 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5439 code (never has been used?)
5441 2003-07-27 Asger Alstrup <alstrup@local>
5443 * text.C (fill): Optimise algorithm to exploit that we can reuse
5444 the LyXFont for many characters.
5445 (setHeightOfRow): Same thing.
5446 (rowBreakPoint): Same thing.
5448 2003-07-26 Asger Alstrup <alstrup@local>
5450 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5452 * text.C (singleWidth): Spurious font copying in hot-spot
5453 singleWidth avoided. Reorder tests for arabic for efficiency.
5455 * text.C (fill): handle empty paragraphs better.
5457 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5460 * encoding.h: add includes
5462 * lyxrc.C: remove reading of bind files
5464 * lyx_main.C (init): setup bindings and menus only if we have a
5467 * kbmap.C (read): new method. Do the actual reading of bind
5470 * converter.C (dvipdfm_options):
5473 (output): adapt PAPER_* enums.
5475 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5477 * bufferparams.h: remove paper-related enums from there
5479 * paper.h: New file. A trivial header file to hold paper-related
5480 enums. It should later expand to contain many paper-related
5483 * lyxrc.C: declare extern displayTranslator
5485 2003-07-27 José Matos <jamatos@fep.up.pt>
5487 * tabular.[Ch] (linuxdoc): add support for tables and figures
5490 2003-07-27 José Matos <jamatos@fep.up.pt>
5492 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5493 consistency in both functions.
5494 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5496 2003-07-26 Asger Alstrup <alstrup@local>
5498 * rowpainter.C (paintRows): Change algorithm to work directly on
5499 the insets rather than asking every character in the document
5500 whether its an inset.
5502 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5504 * buffer.C (openFileWrite): factorize some code
5506 2003-07-26 Angus Leeming <leeming@lyx.org>
5509 * lyx_main.[Ch]: replace occurances of system_tempdir with
5512 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * rename Inset to InsetOld
5516 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5518 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5519 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5520 which I think is a bit clearer. EDIT is gone, since it was
5521 premature optimisation, and broken for mathed anyway.
5522 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5523 with cursor positioning in insets as well (math insets still do not
5524 work, but that's a different story anyway.) It mysteriously
5525 crashes sometimes with undo in the first paragraph, but I'm fairly
5526 confident that this is a compiler bug.
5528 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * paragraph.C (Paragraph): adjust for new clone return type
5532 (copyIntoMinibuffer): ditto
5534 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5536 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5537 by not having a special case, and always doing a full rebreak of
5538 the document after undo.
5540 2003-07-23 Angus Leeming <leeming@lyx.org>
5542 * factory.C (createInset): InsetExternal::setParams now takes a
5545 2003-07-23 Angus Leeming <leeming@lyx.org>
5547 * factory.C (createInset): changed interface to the external and
5548 graphics mailers' string2params functions.
5550 2003-07-23 Angus Leeming <leeming@lyx.org>
5552 * factory.C (createInset): pass a
5553 Buffer const * parameter to InsetExternalMailer's string2params.
5555 2003-07-22 John Levon <levon@movementarian.org>
5557 * Thesaurus.h: include the right aiksaurus header
5559 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5561 * MenuBackend.C (expand): check menu shortcuts unconditionally
5563 2003-07-21 Angus Leeming <leeming@lyx.org>
5565 * factory.C (createInset): pass a
5566 buffer_path parameter to InsetGraphicsMailer's string2params.
5568 2003-07-21 Angus Leeming <leeming@lyx.org>
5570 * BufferView_pimpl.C (buffer):
5573 * lyxfunc.C (dispatch):
5574 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5575 rather than the grfx shortcut.
5577 2003-07-21 André Pönitz <poenitz@gmx.net>
5579 * rowpainter.C: remove unused variables
5582 * tabular_funcs.h: move to tabular.C
5583 * Makefile.am: adjust
5585 * tabular.[Ch]: basic optical cleaning
5587 * author.h: pass references, not values
5589 2003-07-18 André Pönitz <poenitz@gmx.net>
5597 * text3.C: two-phase drawing for InsetText and InsetTabular
5598 some float -> int changes.
5600 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5602 * lyx_main.C: fix the fix
5604 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5606 * lyx_main.C: fix a crash in batch mode if no files specified
5609 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5611 * format.[Ch] (papersize): moved to BufferParams
5612 * converter.[Ch] (dvips_options): moved to BufferParams
5613 (dvipdfm_options): moved to anon namespace
5614 * bufferparams.[Ch]: added above functions.
5616 2003-07-17 André Pönitz <poenitz@gmx.net>
5620 * text2.C: don't call inset->update() anymore
5622 * metricsinfo.[Ch]: add convenience constructor
5624 2003-07-16 André Pönitz <poenitz@gmx.net>
5629 * text2.C: replace the LyXCursor::irow_ member with
5630 on-demand computation of the value
5632 2003-07-16 John Levon <levon@movementarian.org>
5634 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5636 2003-07-15 André Pönitz <poenitz@gmx.net>
5639 * text2.C: remove no more needed refresh_row
5641 2003-07-15 André Pönitz <poenitz@gmx.net>
5646 * text3.C: refresh_status tristate -> need_update bool
5648 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5650 * lyxtext.h (init): remove reinit argument (act as if always true)
5651 * text2.C: adjust to that
5653 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5655 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5656 * text3.C: use it to delete selections in some cases
5657 (bugs 441, 673, 702, 954).
5659 2003-07-14 André Pönitz <poenitz@gmx.net>
5661 * rowpainter.[Ch]: reduce interface
5663 2003-07-14 André Pönitz <poenitz@gmx.net>
5665 * BufferView_pimpl.C:
5666 * text2.C: adjust after removing unused BufferView * argument
5668 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5670 * text2.C (init): fix a crash fired on resize
5672 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5674 * buffer.[Ch]: added new closing signal
5675 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5676 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5677 BufferView::Pimpl via the closing the signal
5679 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5681 * buffer.[Ch]: take out all bv-related from buffer
5683 * BufferView_pimpl.[Ch]: connect to new signals
5684 * CutAndPaste.C: removed useless asserts
5685 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5688 * lyxfunc.C: moved view-related funciontality from vc here
5689 * paragraph.C: removed outdated comments
5692 2003-07-10 André Pönitz <poenitz@gmx.net>
5694 * BufferView_pimpl.C:
5698 * text2.C: remove InsetText::InnerCache, clean up consequences
5700 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5702 * ispell.C: fix two typos in error messages
5704 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5706 * Extend Note inset to other forms of annotation like Comment
5707 and Greyedout. Right button click gives dialog.
5709 Files modified or added (+):
5713 * ControlNote.[Ch] +
5715 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5716 frontends/controllers
5720 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5722 * aspell.C: add missing namespace lyx::support
5724 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5726 * BufferView.[Ch] (newFile): Add
5727 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5728 * LaTeX.[Ch] (message): added this signal and use it
5729 * buffer.[Ch] (busy, message): added these signals and use them
5730 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5734 * importer.C: use buffer signals instead of direct bv calling
5735 * lyx_cb.[Ch] (ShowMessage): removed
5738 * paragraph_funcs.C:
5739 * text2.C: use buffer signals
5741 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * introduce namespace lyx::graphics
5745 2003-07-02 André Pönitz <poenitz@gmx.net>
5747 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5749 2003-07-01 André Pönitz <poenitz@gmx.net>
5756 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5757 text*.C to text_func.C
5759 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5761 * introduce namespace lyx::support
5763 2003-06-30 André Pönitz <poenitz@gmx.net>
5768 * text.C: re-enable --with-included-string
5770 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5772 * textcursor.C: add <config.h>
5774 * text.C (getWord): remove const from word_location arg
5776 * lyxvc.C (getLogFile): fix const type order
5778 * lyxtext.h: remove const from word_location arg, add arg name
5780 * lyxlayout.h: currect type on labeltype.
5782 * importer.C: correct \file
5784 * converter.C (intToFormat): use std:: on ret val, ws changes
5786 * bufferlist.h: correct \file
5788 * buffer.C (makeLinuxDocFile): fix const type order
5789 (makeDocBookFile): ditto
5790 (fillWithBibKeys): use std:: on stdlib args.
5792 * CutAndPaste.C: fix authors.
5793 (availableSelections): use std:: on return vector
5795 2003-06-27 André Pönitz <poenitz@gmx.net>
5797 * BufferView_pimpl.C:
5798 * bufferview_funcs.C:
5806 * text3.C: remove LyXCursor::row_ member
5809 * text.C: rename fullRebreak() to partialRebreak() and implement
5810 a fullRebreak() that really bereks fully
5812 * textcursor.h: new struct for cursor-related data
5814 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5816 * lyx_main.C (LyX): get full path of document loaded on the
5819 2003-06-26 André Pönitz <poenitz@gmx.net>
5821 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5822 remove unused/broken operator>,<,>=.
5824 * text.C: remove only use of broken operator<= in an Assert().
5826 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5828 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5829 moved errorlist_.clear to showErrorList
5831 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5833 * converter.C (scanLog, runLaTeX):
5834 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5835 move the bv->showErrorList call to the callers
5836 * lyxfunc.C: i.e. here...
5838 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5839 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5840 namespace, the second to...
5841 * buffer_funcs (BufferFormat, parseErrors): added
5842 * errorlist.C (ErrorList(TeXErrors const &)): removed
5844 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5846 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5848 2003-06-24 "Garst R. Reese" <reese@isn.net>
5852 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5854 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5856 * version.C.in: change docversion to 1.4
5858 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5860 * buffer.C: fix a bug just introduced
5862 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5864 * buffer.[Ch]: added the parseError signal and use it, removed
5866 * BufferView.[Ch] (addError): moved to ...
5867 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5868 to the Buffer::parseError signal to catch (guess what) parse errors
5869 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5871 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5873 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5874 ability to create a buffer and to return an existing one from
5875 the list. Moved these functions to...
5876 * buffer_funcs.[Ch]: added
5877 * BufferView.[Ch] (loadLyXFile): added
5878 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5879 job removed from bufferlist::loadLyXFile.
5880 * buffer.C (setReadOnly): make it work without view
5881 (i.e added an if (users))
5883 2003-06-19 Angus Leeming <leeming@lyx.org>
5886 * LyXAction.C (init):
5887 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5888 with LFUN_DIALOG_SHOW <name> <data>.
5890 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5892 * CutAndPaste.C (availableSelections): small compilation fix for
5893 ancient (gcc 2.9x) compilers
5895 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5897 * text3.C (cursorNext): add tmp var
5899 * text2.C (updateCounters): for function calling out of for clause
5900 (replaceSelectionWithString): ditto
5901 (insertStringAsParagraphs): ditto
5902 (getColumnNearX): add tmp var
5903 (setCursorFromCoordinates): add tmp var
5904 (cursorDownParagraph): add tmp var
5905 (deleteEmptyParagraphMechanism): add tmp var
5907 * text.C (insertChar): add tmp var
5909 * rowpainter.C (paintDepthBar): add tmp var
5911 * CutAndPaste.C (availableSelections): potentially check all
5912 paragraphs in a cut to fill the shown strings.
5914 2003-06-18 André Pönitz <poenitz@gmx.net>
5916 * kbmap.[Ch]: use vector<> instead of list<>
5918 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5920 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5921 pasteSelection with index
5923 * text2.C (pasteSelection): modify, call pasteSelection with index
5925 * paragraph.C (asString): reimplement version with no interval to
5926 call the one with interval.
5928 * lyxtext.h: add index arg to pasteSelection
5930 * MenuBackend.C (MenuItem): handle PasteRecent
5931 (Menu::read::Menutags): add md_pasterecent
5933 (expandPasteRecent): new function
5936 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5938 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5940 (availableSelections): new function
5942 2003-06-17 Angus Leeming <leeming@lyx.org>
5944 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5946 2003-06-17 Angus Leeming <leeming@lyx.org>
5949 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5951 * lyxfunc.C (dispatch): invoke it.
5953 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5955 * iterators.C (operator++, ParPosition): reintroduce some
5956 const_cast for the benefit of older compilers.
5958 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5960 * text3.C (dispatch): do not modify clipboard when doing
5961 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5962 LFUN_DELETE_SKIP on a selection selection
5964 2003-06-16 André Pönitz <poenitz@gmx.net>
5970 * tabular.[Ch]: IU of clone() and getLabelList();
5972 2003-06-13 André Pönitz <poenitz@gmx.net>
5974 * tabular.h: compactification
5976 2003-06-12 André Pönitz <poenitz@gmx.net>
5980 * tabular_funcs.h: some renaming plus whitespace
5982 2003-06-12 André Pönitz <poenitz@gmx.net>
5985 * BufferView_pimpl.C:
5991 * toc.C: Return a Paragraph & for ParIterator::operator*()
5993 2003-06-11 John Levon <levon@movementarian.org>
5997 * ToolbarBackend.C: add "Toolbars" section and
6000 2003-06-10 Angus Leeming <leeming@lyx.org>
6003 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6005 * lyxfunc.C (dispatch): invoke it.
6007 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6009 * main.C: protect <ios> with HAVE_IOS
6010 (main): protect sync_with_stdio with HAVE_IOS
6012 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6014 * text2.C (cutSelection): adjust
6015 (pasteSelection): adjust
6017 * messages.C: handle get of empty string
6019 * main.C (main): use sync_with_stdio(false)
6021 * lyxfunc.C (dispatch): adjust
6023 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6024 (WriteAs): remove unneeded BufferView arg.
6026 * bufferparams.h: use correct types on papersize, papersize2 and
6029 * bufferparams.C (readToken): adjust for type
6030 (writeLaTeX): add missing cases to switch.
6032 * bufferlist.C (quitWriteBuffer): adjust
6035 * buffer.C (asciiParagraph): remove some commented code.
6037 * CutAndPaste.C: remove current_view extern variable.
6038 (cutSelection): add BufferParams arg.
6039 (eraseSelection): add BufferParams arg.
6040 (pasteSelection): add Buffer const & arg
6042 2003-06-07 John Levon <levon@movementarian.org>
6045 * paragraph_funcs.C:
6046 * paragraph_pimpl.C:
6050 * paragraph.C: allow InsetERT to freely space lines,
6051 and some consolidation of code
6053 2003-06-06 José Matos <jamatos@fep.up.pt>
6055 * buffer.C (makeDocBookFile): fix bug #821
6057 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6059 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6061 2003-06-04 Angus Leeming <leeming@lyx.org>
6063 * buffer.C: bump format to 224.
6065 2003-06-05 André Pönitz <poenitz@gmx.net>
6067 * text2.C (redoParagraphs): remove two const_cast<>
6069 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6071 * ParagraphList.h: remove last remnants of NO_STD_LIST
6073 2003-06-03 Angus Leeming <leeming@lyx.org>
6075 * factory.C (createInset): small change to the way InsetExternal's params
6078 2003-06-04 André Pönitz <poenitz@gmx.net>
6080 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6082 * paragraph_pimpl.h:
6083 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6085 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6087 * undo_funcs.C: make some simple cases of undo work again
6089 2003-06-03 John Levon <levon@movementarian.org>
6091 * ispell.C: HPUX doesn't have sys/select.h
6094 2003-06-03 John Levon <levon@movementarian.org>
6096 * CutAndPaste.C: update tabular and include inset
6101 * paragraph.C: remove owningBuffer(), don't pass Buffer
6104 * factory.C: insetGraphicsParams changed
6106 2003-06-02 John Levon <levon@movementarian.org>
6112 * text3.C: remove insetparent
6114 2003-06-02 John Levon <levon@movementarian.org>
6117 * buffer.C: fix inset_iterator.end(), move out of line
6120 2003-06-01 John Levon <levon@movementarian.org>
6122 * text3.C: use a proper cut/paste when doing inset
6123 insert (from Jürgen Spitzmüller)
6125 2003-06-01 John Levon <levon@movementarian.org>
6127 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6129 2003-05-30 André Pönitz <poenitz@gmx.net>
6131 * rowpainter.C: unify second drawing phase
6133 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * trans_mgr.C: remove one case of current_view
6137 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6139 * paragraph_funcs.h: remove paragraph.h include
6141 * paragraph.h: delete NO_STD_LIST stuff
6143 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6145 * buffer.h: remove paragraph.h include
6147 * ParagraphList.C: delete file
6149 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6151 * toc.C (getTocList): adjust
6153 * paragraph_pimpl.C (validate): adjust
6155 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6157 * paragraph.C (Paragraph): adjust
6158 (getPositionOfInset): use const_iterator, adjust
6159 (bibitem): use const_iterator, adjust
6160 (setInsetOwner): adjust
6162 * iterators.C (operator++): adjust
6164 * InsetList.[Ch]: Replace selfmade iterator with standard
6165 vector::iterator also introduce const_iterator. Remove getPos,
6166 getInset and setInset from InsetTable. Adjust accordingly.
6168 * BufferView.C (lockInset): adjust
6169 (ChangeInsets): adjust
6171 * tabular.[Ch]: delete commented same_id functions
6173 2003-05-28 John Levon <levon@movementarian.org>
6175 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6177 2003-05-28 André Pönitz <poenitz@gmx.net>
6179 * metricsinfo.[Ch]: remove 'fullredraw' member
6181 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6183 * lyxtextclass.C (operator): remove caching.
6185 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6189 * text2.C (cursorBottom): adjust
6190 (setCounter): use ParagraphList::find, adjust
6192 * text.C (workWidth): use ParagraphList::find, adjust
6194 * lyxcursor.C (LyXCursor): adjust
6196 * buffer.C (inset_iterator): adjust
6198 * ParagraphList.h: make iterator(value_type) private, make
6199 ParagraphList a friend of iterator.
6201 * ParagraphList.C (find): new function
6203 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6205 2003-05-27 André Pönitz <poenitz@gmx.net>
6207 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6209 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6211 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6213 2003-05-26 John Levon <levon@movementarian.org>
6215 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6217 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6219 * remove same_id from function signatures, adjust.
6221 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6223 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6225 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6227 * paragraph.C (Paragraph): get rid of same_ids parameter
6229 * ParagraphList.C (insert): adjust
6232 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6234 * paragraph_funcs.C (breakParagraph): adjust
6235 (breakParagraphConservative): adjust
6237 * buffer.C (readParagraph): adjust
6239 * ParagraphList.C (insert): take a reference instead of a pointer
6242 * paragraph.[Ch] (id): new function
6244 * bufferlist.C (newFile): adjust
6246 * ParagraphList.C (ParagraphList): adjust
6248 (push_back): take a reference instead of a pointer.
6250 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6252 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6255 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6256 set else use old code.
6258 * ParagraphList.C: remove all NO_NEXT code and only compile this
6259 code of NO_STD_LIST is set.
6261 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6263 * BufferView_pimpl.C:
6273 * graphics/GraphicsConverter.C:
6274 * graphics/PreviewLoader.C: header adjustment
6276 2003-05-23 Angus Leeming <leeming@lyx.org>
6278 * LaTeXFeatures.[Ch] (useBabel): new method.
6279 * bufferparams.C (writeLaTeX): use it.
6281 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6283 * ParagraphList.h (set): remove unused function.
6285 2003-05-23 André Pönitz <poenitz@gmx.net>
6288 * BufferView_pimpl.C:
6292 * undo_funcs.C: setUndo reworked
6294 * iterators.[Ch]: add access to topmost ParagraphList
6296 * lyxtext.[Ch] (workWidth): add a const
6298 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6300 * texrow.[Ch] (increasePos): remove function
6301 * exporter.C (export): removed unused var and outdated comment
6303 2003-05-23 Angus Leeming <leeming@lyx.org>
6305 * latexrunparams.h: rename fragile as moving_arg.
6306 * paragraph.C (simpleTeXOnePar): ditto.
6307 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6309 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6313 (textUndoOrRedo): comment out a currently unused var.
6315 * paragraph.h (NO_NEXT): enable NO_NEXT
6317 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6319 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6321 * exporter.C (Export): adjust for removeAutoInsets removal.
6323 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6325 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6327 * BufferView.[Ch] (removeAutoInsets): delete function
6329 2003-05-22 Angus Leeming <leeming@lyx.org>
6331 * latexrunparams.h: add a free_spacing variable.
6333 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6334 to pass moving_arg, as the data is stored in runparams.fragile.
6336 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6337 to Inset::latexOptional or to simpleTeXOnePar.
6339 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6340 free_spacing arg to Inset::latexOptional.
6342 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6345 2003-05-22 Angus Leeming <leeming@lyx.org>
6347 * latexrunparams.h: add fragile and use_babel variables.
6349 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6350 * buffer.C (makeLaTeXFile): store this returned value in
6351 runparams.use_babel, thus passing it to the inset::latex methods.
6353 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6354 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6356 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6357 longer has a fragile arg, as it is stored in runparams.fragile.
6359 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6360 moving_arg parameter as the data is stored in runparams.fragile.
6362 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6363 a fragile parameter as the data is stored in runparams.fragile.
6365 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6369 2003-05-22 Angus Leeming <leeming@lyx.org>
6371 * latexrunparams.h: add a 'bool nice' which defaults to false.
6373 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6374 now encapsulated within runparams.
6376 * bufferlist.C (updateIncludedTeXfiles):
6377 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6379 2003-05-22 Angus Leeming <leeming@lyx.org>
6381 * latexrunparams.h: new file containing struct LatexRunParams.
6382 * Makefile.am: add new file.
6384 * LaTeX.[Ch] (c-tor, run):
6385 * buffer.[Ch] (makeLaTeXFile):
6386 * bufferlist.[Ch] (updateIncludedTeXfiles):
6387 * converter.C (convert, scanLog):
6388 * converter.[Ch] (runLaTeX):
6389 * exporter.C (Export):
6390 * paragraph.[Ch] (simpleTeXOnePar):
6391 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6392 * paragraph_funcs.[Ch] (latexParagraphs):
6393 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6394 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6395 pass around a LatexRunParams parameter.
6397 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6399 * paragraph.[Ch]: remove unused constructor
6401 * ParagraphList.C (erase): new function, taking two iterators
6403 2003-05-22 André Pönitz <poenitz@gmx.net>
6405 * undo_funcs.C: remove duplicated code
6407 * iterator.[Ch]: operator=
6409 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * tabular.C (SetMultiColumn): ws changes
6413 * rowpainter.C (paintFirst): get rid of a ->previous
6415 * lyx_cb.C (getPossibleLabel): parlist simplification
6417 * BufferView.C (ChangeInsets): simplify slightly.
6419 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6421 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6422 * lfuns.h: new LFUN_SPACE
6423 * lyxfunc.C: protected space has a new lfun
6424 * paragraph_funcs.C: read new space insets
6426 * factory.C: handle new space insets
6428 2003-05-22 André Pönitz <poenitz@gmx.net>
6431 * BufferView_pimpl.C:
6434 * undo_funcs.C: return a ParIterator from getParFromID.
6436 * iterators.[Ch]: add two const's
6438 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6440 * toc.C (getTocList): adjust
6442 * iterators.[Ch]: rework for parlist
6444 * buffer.C (par_iterator_begin): adjust
6445 (par_iterator_end): adjust
6447 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6449 * BufferView.C (removeAutoInsets): adjust
6450 (ChangeInsets): adjust
6452 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6454 * text.C (top_y): fix bug 1110
6456 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6458 * errorlist.[Ch]: added
6461 * BufferView_pimpl.C:
6462 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6465 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * Makefile.am: ensure that lyx is relinked upon changes to the
6468 various "convenience" libs.
6470 2003-05-20 Angus Leeming <leeming@lyx.org>
6472 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6473 files are compiled in alphabetical order again.
6475 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6477 2003-05-19 Angus Leeming <leeming@lyx.org>
6479 * gettext.[Ch]: remove "char const * _(char const *)".
6481 2003-05-19 André Pönitz <poenitz@gmx.net>
6483 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6492 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6494 2003-05-19 André Pönitz <poenitz@gmx.net>
6498 * lyxtextclass.[Ch]:
6500 * paragraph_funcs.[Ch]:
6502 * text3.C: more insetenv work
6504 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6506 * ParagraphParameters.C (params2string): small bug fixed
6508 2003-05-16 André Pönitz <poenitz@gmx.net>
6511 * bufferview_funcs.C: patch from Kornel Benko to prevent
6512 crash when _(...) is called twice in a statement
6514 2003-05-16 André Pönitz <poenitz@gmx.net>
6521 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6523 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6525 * lyx_main.C (init): remove spurious static_cast
6527 2003-05-14 André Pönitz <poenitz@gmx.net>
6529 * BufferView.C: fix format string
6531 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6533 * BufferView.[Ch] (insertErrors): removed
6534 * BufferView.[Ch] (showErrorList): added
6535 * buffer.C (runChkTeX):
6536 * converter.C (scanLog): call showErrorList instead of inserterrors
6538 2003-05-13 André Pönitz <poenitz@gmx.net>
6540 * BufferView_pimpl.C:
6542 * bufferview_func.C:
6549 * tabular_funcs.h: tostr() from its own header
6551 * ParagraphParameters.C:
6556 * text3.C: STRCONV()
6558 2003-05-12 André Pönitz <poenitz@gmx.net>
6561 * BufferView_pimpl.C:
6565 * ParagraphParameters.C:
6569 * bufferview_funcs.C:
6582 * paragraph_funcs.C:
6586 * text3.C: boost::format -> bformat all over the place
6589 2003-05-09 André Pönitz <poenitz@gmx.net>
6591 * LColor.[Ch]: Pimpl the #include <map> away
6593 2003-05-09 John Levon <levon@movementarian.org>
6595 * bufferlist.C: never remove emergency saves
6597 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6599 * Makefile.am: better lib building
6601 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6605 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6606 (simpleTeXSpecialChars): adjust
6607 (simpleTeXSpecialChars): adjust
6608 * paragraph.C (simpleTeXOnePar): adjust
6609 * buffer.C (makeLaTeXFile): adjust
6611 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6613 * text2.C (changeDepth): parlist cleanup
6614 (getColumnNearX): ditto
6616 * rowpainter.C (getLabelFont): parlist cleanup
6618 * bufferlist.C (newFile): parlist cleanup
6620 * CutAndPaste.C (eraseSelection): parlist cleanup
6622 * BufferView_pimpl.C (trackChanges): parlist cleanup
6625 * BufferView.C (lockInset): parlist cleanup.
6626 (ChangeInsets): ditto
6628 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * CutAndPaste.h: Update file header.
6632 * CutAndPaste.C: Update file header.
6633 Store the parts cut out of the Document in a limited_stack.
6634 (copySelection): adjust
6635 (pasteSelection): new function, takes the index in the limited stack.
6636 (nrOfParagraphs): adjust
6637 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6638 simplify error inset insertion.
6639 (checkPastePossible): adjust
6641 2003-05-06 John Levon <levon@movementarian.org>
6643 * text2.C: don't cast wrap inset to float
6645 2003-05-05 André Pönitz <poenitz@gmx.net>
6648 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6650 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6651 few naked Paragraph *.
6653 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6655 * bufferparams.C: Output warning if a document with missing
6656 TeX document class is loaded
6657 * exporter.C: Disable TeX exports if the document class is missing
6660 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6661 isTeXClassAvailable()
6663 2003-05-03 John Levon <levon@movementarian.org>
6666 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6667 explicit cursor show/hide
6669 * BufferView_pimpl.h:
6670 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6671 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6673 * lyxfunc.C: hide cursor before dispatching.
6678 * text3.C: remove explicit cursor hides
6680 2003-05-02 André Pönitz <poenitz@gmx.net>
6682 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6685 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6688 * text2.C: tiny whitespace
6690 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6692 * undo_funcs.C: almost only ws changes.
6694 * ParagraphList.C (splice): just return if pl is empty.
6696 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * ParagraphList.C (splice): new function.
6700 * CutAndPaste.C (pasteSelection): use it
6702 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6704 * CutAndPaste.C (pasteSelection): remove the last next and
6705 previous from this file.
6707 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6709 * CutAndPaste.C (pasteSelection): more clean up, user proper
6710 ParagraphList functions for pasteing.
6712 * ParagraphList.C (insert): new function, three arg insert
6714 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6716 * ParagraphList.C (insert): new function, three arg insert
6718 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6721 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6723 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6725 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6729 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6732 (copySelection): clean up a bit.
6733 (pasteSelection): use make_pair
6735 * ParagraphList.C (ParagraphList): implement copy constructor
6736 (operator=): implement, base on copy constructor.
6739 * paragraph.C (erase): return a bool
6741 * paragraph_pimpl.C (erasePos): remove function, move contents...
6742 (erase): ... here. Return a bool.
6743 (erase): call erase instead of erasePos.
6745 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6747 * ParagraphList.h: define PitPosPair
6748 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6749 ParagraphList, fix a bug on pasting multiple pars
6750 * text2.C: change interface to C&P
6752 2003-04-30 André Pönitz <poenitz@gmx.net>
6754 * undo_func.C: revert part of yesterday's patch 2
6756 2003-04-30 John Levon <levon@movementarian.org>
6758 * LColor.C: s/tabular/table/
6760 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6762 * text3.C (dispatch): do not convert iterator -> pointer
6763 * undo_funcs.C (setCursorParUndo): ditto
6764 * text_funcs.C (transposeChars): ditto
6766 * text2.C (setLayout): ws changes only
6768 * text.C (breakParagraph): do not convert iterator -> pointer
6770 (acceptChange): ditto
6771 (rejectChange): ditto
6776 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6779 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6781 * text3.C (gotoInset): YABG (yet another bad getChar)
6783 2003-04-29 André Pönitz <poenitz@gmx.net>
6785 * paragraph.h: make operator= private unimplemented as long as
6788 * ParagraphList.C: whitespace
6791 * paragraph_pimpl.[Ch]:
6792 * paragraph_funcs.C:
6794 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6797 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6799 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6801 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6802 * paragraph.[Ch] (erase):
6803 * paragraph_pimpl.[Ch] (erase): change return type and value
6804 * text2.C (cutSelection): some rework
6806 2003-04-28 John Levon <levon@movementarian.org>
6808 * bufferlist.C: changes for unsaved changes dialog
6810 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6812 * bufferlist.C (newFile): set language (messages_) for new
6815 * buffer.C (readFile): ws changes only.
6817 2003-04-28 André Pönitz <poenitz@gmx.net>
6822 * BufferView_pimpl.C:
6823 * BufferView.C: getParFromID related ParagraphList::iterator changes
6825 2003-04-28 André Pönitz <poenitz@gmx.net>
6827 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6830 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * messages.C: remove one more localedir class variable.
6834 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * messages.C (getLocaleDir): singleton generation function
6838 (Messages): add a default constructor.
6840 * main.C (main): do not setup localedir here, do not call
6843 * gettext.C (_): use it.
6844 (gettext_init): delete funciton
6846 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6848 * gettext.C (getLyXMessages): new singleton generating function.
6850 * buffer.C (updateDocLang): adjust
6852 * Makefile.am (messages.o): add target
6853 (main.o): remove target
6855 2003-04-27 John Levon <levon@movementarian.org>
6860 * lyxvc.C: specify cancel button in Alert::prompt
6862 2003-04-26 John Levon <levon@movementarian.org>
6867 * LyXAction.C: add LFUN_INSET_SETTINGS
6869 * lyxfunc.C: don't enable tabular-feature when there's
6870 just any locking inset
6872 2003-04-26 John Levon <levon@movementarian.org>
6874 * bufferlist.C: re-add Cancel to buffer close question
6876 * lyxfunc.C: fix import UI a bit
6878 2003-04-25 John Levon <levon@movementarian.org>
6880 * gettext.C: remove the broken asserts for now
6882 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * messages.C: make case where setlocale cannot comply work better.
6886 * buffer.C (updateDocLang): new function
6887 (changeLanguage): use it
6890 * text2.C (setCounter): use B_ a bit.
6892 * lyxlayout.C (Read): be sure to trim the label strings.
6894 * messages.C (Messages): fix typo in comment
6896 * buffer.C (readFile): set message_ after file is loaded.
6897 (makeDocBookFile): remove double return
6898 (changeLanguage): reset message_ upon language change.
6899 (B_): new func, use this to get translated buffer strings.
6901 * main.C: add myself and Jean Marc as authors.
6903 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6905 * messages.[hC]: pimplify Messages, and three different pimpls to be
6906 used in different circumstances.
6908 * gettext.[Ch]: change for use with new message code.
6910 2003-04-24 André Pönitz <poenitz@gmx.net>
6912 * factory.C: support for eqref
6914 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6916 * messages.[Ch]: add missing char
6918 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6920 * messages.[Ch]: New files
6922 2003-04-18 John Levon <levon@movementarian.org>
6926 * BufferView_pimpl.C:
6930 * text2.C: remove layout-copy/paste (bug 778)
6932 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6934 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6936 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6938 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6939 if they succeed. Act accordingly.
6941 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6943 * text2.C (setCharFont): adjust
6944 (setCounter): adjust
6945 (insertStringAsLines): adjust
6947 * text.C (leftMargin): adjust
6948 (setHeightOfRow): adjust
6950 * rowpainter.C (paintFirst): adjust
6953 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6955 (isFirstInSequence): ditto
6956 (getEndLabel): ditto
6959 * paragraph.C (getParLanguage): comment out some hard stuff.
6961 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6963 (simpleDocBookOnePar): ditto
6964 (makeDocBookFile): use ParagraphList::iterator
6966 * CutAndPaste.C (pasteSelection): adjust
6968 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * text2.C (getFont): adjust
6971 (getLayoutFont): adjust
6972 (getLabelFont): adjust
6974 * paragraph_funcs.C (TeXOnePar): adjust
6976 * buffer.C (simpleLinuxDocOnePar): adjust
6977 (simpleDocBookOnePar): adjust
6979 * CutAndPaste.C (pasteSelection): adjust
6981 * BufferView.C (getEncoding): adjust
6983 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6985 2003-04-16 John Levon <levon@movementarian.org>
6987 * lyxfind.C: use parlist stuff for search/changes
6989 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6991 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6993 * text2.C (deleteEmptyParagraphMechanism): adjust
6995 * text2.[Ch] (ownerParagraph): delete func (both of them
6997 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6999 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7001 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7003 * ParagraphList.C: prepare for NO_NEXT
7005 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7007 * text2.C (getFont): adjust
7008 (getLayoutFont): adjust
7009 (getLabelFont): adjust
7011 * paragraph.C (getFont): adjust
7012 (getLabelFont): adjust
7013 (getLayoutFont): adjust
7015 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7017 2003-04-15 John Levon <levon@movementarian.org>
7021 * lyx_main.C: handle Include in .ui files
7023 2003-04-15 John Levon <levon@movementarian.org>
7025 * MenuBackend.C: make the doc files length shorter
7028 * ToolbarBackend.C: handle toolbar placement flags,
7031 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7033 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7036 * paragraph_funcs.C (TeXOnePar): adjust
7038 * paragraph.C (getLabelFont): add outerfont arg, adjust
7039 (getLayoutFont): ditto
7040 (simpleTeXOnePar): adjust
7042 * paragraph_pimpl.C (realizeFont): delete func
7044 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7046 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7047 row argument, constify cur argument.
7049 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7051 * text2.C (getFont): adjust
7052 (getLayoutFont): adjust
7053 (getLabelFont): adjust
7055 * paragraph_funcs.C (TeXOnePar): adjust
7056 (outerFont): new func...
7057 (realizeFont): ...moved out from here, changed this to facilitate
7060 * paragraph.C (getFont): take outerfont as arg, adjust
7061 (simpleTeXOnePar): add outerfont arg, adjust
7063 * buffer.C (simpleLinuxDocOnePar): adjust
7064 (simpleDocBookOnePar): adjust
7066 * CutAndPaste.C (pasteSelection): adjust
7068 * BufferView.C (getEncoding): adjust
7070 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7072 * text2.C (setCharFont): adjust
7073 (setCounter): adjust
7075 * text.C (leftMargin): adjust
7076 (setHeightOfRow): adjust
7078 * rowpainter.C (paintFirst): adjust
7081 * paragraph_pimpl.C (realizeFont): adjust
7083 * paragraph.C (isFirstInSequence): move from here...
7084 * paragraph_funcs.C (isFirstInSequence): ...to here
7086 * paragraph.C (outerHook): move from here...
7087 * paragraph_funcs.C (outerHook): ...to here
7089 * paragraph.C (depthHook): move from here...
7090 * paragraph_funcs.C (depthHook): ...to here
7092 * paragraph.C (getEndLabel): move from here...
7093 * paragraph_funcs.C (getEndLabel): ...to here
7095 * text2.C (realizeFont): move from here...
7096 * paragraph_funcs.C (realizeFont): ...to here
7098 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7100 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7102 2003-04-14 Angus Leeming <leeming@lyx.org>
7104 * LColor.[Ch]: scrap LColor mathcursor.
7106 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7108 * lyxlex.[Ch] (text): delete function
7109 * trans.C (Load): adjust
7110 * paragraph_funcs.C (readParToken): adjust
7112 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7114 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7115 vector<char> instead of a char[].
7117 * lyxlex_pimpl.C (getString): adjust
7119 (lex): use getString
7123 * lyxlex.C (text): use pimpl_->getString()
7127 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7129 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7130 (makeFontEntriesLayoutSpecific): temp var for par.size()
7131 (setLayout): temp var for ownerParagraphs().end()
7132 (fullRebreak): temp var for rows().end()
7133 (selectionAsString): temp var for boost::next(startpit), realize
7134 that the while really is a regular for loop.
7135 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7136 setCursor in one place.
7137 (setParagraph): temp vr for ownerParagraphs().end()
7138 (updateCounters): make the while loop a for loop
7139 (cutSelection): temp var for ownerParagraphs().end()
7140 (updateInset): make the do {} while() a regular for loop
7141 (getCursorX): use temp vars
7142 (setCurrentFont): use temp vars
7143 (getColumnNearX): use temp vars
7145 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * text.C (transformChar): use temp var for getChar
7148 (computeBidiTables): use temp var for row->par()
7149 (fill): move temp vars for row->par() and pit->layout() earlier in
7151 (labelFill): use temp var for row->par()
7152 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7153 asc and desc, realize that pit never changes and that firstpit is
7154 just a duplicate and not needed. Exchange rit->par() with pit in a
7156 (breakAgain): use a temp var for boost::next(rit)
7157 (breakAgainOneRow): ditto
7158 (breakParagraph): use a temp var for rows().begin()
7159 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7160 (cursorRightOneWord): use temp var for cursor.par() and
7161 cursor.pos(), remove usage of tmpcursor.
7162 (cursorLeftOneWord): use temp var for cursor.par() and
7163 cursor.pos() only set cur at end of function.
7165 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7167 * text.C, text2.C: exchange all usage of Paragraph::next with
7168 boost::next(ParagraphList::iterator)
7170 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7172 * text2.C (cursorTop): simplify implementation
7173 (cursorBottom): ditto
7174 (setParagraph): use ParagraphList::iterator
7175 (setCurrentFont): adjust
7176 (getColumnNearX): adjust
7177 (cursorRight): adjust
7178 (cursorLeft): remove usage of Paragraph::previous
7179 (cursorUpParagraph): ditto
7180 (deleteEmptyParagraphMechanism): slight cleanup
7182 * text.C (isBoundary): take a Paragraph const & instead of a
7184 (addressBreakPoint): ditto
7185 (leftMargin): remove usage of Paragraph::previous.
7186 (setHeightOfRow): ditto
7187 (cursorLeftOneWord): ditto
7188 (selectNextWordToSpellcheck): ditto
7191 (breakParagraph): remove one usage of Paragraph::next
7192 (redoParagraph): ditto
7193 (acceptChange): ditto
7194 (insertChar): adjust
7195 (rowBreakPoint): adjust
7197 * bufferview_funcs.C (toggleAndShow): adjust
7199 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7201 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7202 methods to access it.
7204 * text.C: Added updateRowPositions to compute all row positions.
7205 Make top_y and getRowNearY() to use the cached y position
7207 2003-04-11 John Levon <levon@movementarian.org>
7209 * text.C (rowBreakPoint): reintroduce the labelEnd
7210 checks, code copied from the row fill stuff. Deep voodoo.
7212 * text.C (fill): add a comment and debugging for the
7215 2003-04-11 John Levon <levon@movementarian.org>
7217 * text.C: make sure fullrow insets get wrapped to the next line,
7218 even when they're in a manual label
7220 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7222 * text2.C (insertParagraph): make it take ParagraphList::iterator
7224 (setLayout): make it return ParagraphList::iterator
7225 (redoParagraphs): ditto
7227 (checkParagraph): ditto
7229 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7231 * text2.C: adjust several funcs.
7232 (realizeFont): take a ParagraphList::iterator as arg.
7233 (getLayoutFont): ditto
7234 (getLabelFont): ditto
7235 (setCharFont): ditto
7237 * text.C: adjust several funcs.
7239 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7241 * text.C (selectNextWordToSpellcheck): don't accidentally
7244 2003-04-10 John Levon <levon@movementarian.org>
7246 * ToolbarBackend.C (getIcon): special handling for
7249 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7251 * text2.C (cursorRight): a getChar assert fixed
7253 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * text2.C (getFont): change to take a ParagraphList::iterator
7256 instead of Paragraph*
7257 Adjust several functions.
7259 * text.C (transformChar): change to take a ParagraphList::iterator
7260 instead of Paragraph*
7261 (singleWidth): ditto
7262 Adjust several functions.
7264 * rowpainter.C: adjust several functions
7265 * rowpainter.h:store a ParagraphList::iterator and not a
7269 2003-04-09 John Levon <levon@movementarian.org>
7274 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7275 and the "help" bits as well
7277 2003-04-09 John Levon <levon@movementarian.org>
7280 * ToolbarBackend.C: allow multiple toolbars
7282 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7284 * undo_funcs.C (setCursorParUndo): adjust
7286 * text_funcs.C (transposeChars): adjust
7288 * text3.C (gotoNextInset): adjust
7291 * text2.C (setLayout): adjust
7292 (changeDepth): adjust
7294 (redoParagraphs): adjust
7295 (selectionAsString): adjust
7296 (setParagraph): adjust
7297 (insertInset): adjust
7298 (cutSelection): adjust
7299 (copySelection): adjust
7300 (pasteSelection): adjust
7301 (insertStringAsLines): adjust
7302 (updateInset): adjust
7303 (setCursor): change to take a ParagraphList::iterator parameter
7304 (setCursorIntern): change to take a ParagraphList::iterator parameter
7305 (setCurrentFont): adjust
7306 (cursorLeft): adjust
7307 (cursorRight): adjust
7308 (deleteEmptyParagraphMechanism): adjust
7310 * text.C (breakParagraph): adjust
7311 (insertChar): adjust
7312 (acceptChange): adjust
7313 (rejectChange): adjust
7314 (selectNextWordToSpellcheck): adjust
7315 (changeCase): adjust
7319 * lyxfind.C (SearchForward): adjust
7320 (SearchBackward): adjust
7321 (nextChange): adjust
7323 * lyxcursor.C (par): adjust
7325 * lyxcursor.h: store a ParagraphList::iterator instead of a
7328 * lyx_cb.C (getPossibleLabel): adjust
7330 * bufferview_funcs.C (toggleAndShow): adjust
7332 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7335 * BufferView.C (removeAutoInsets): adjust
7336 (lockedInsetStoreUndo): adjust
7338 2003-04-09 John Levon <levon@movementarian.org>
7340 * ToolbarBackend.C: try icon without argument
7341 if with argument fails
7343 2003-04-08 John Levon <levon@movementarian.org>
7346 * ToolbarBackend.C: add getIcon(), handle tooltip,
7347 and change from "Icon" to "Item".
7349 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7351 * BufferView.C (lockInset): another bad getchar crunched
7353 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7355 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7358 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7360 * lyxfind.C (searchForward, searchBackwards): bug 782
7362 2003-04-07 John Levon <levon@movementarian.org>
7364 * paragraph.C: remove dead comment
7366 * text.C: remove troublesome depth-fiddling code
7367 in leftMargin() and rightMargin() (bug 1017)
7369 * text.C: fix breaking of rows in nested lists
7372 * text2.C (updateCounters): fix up depth values
7375 2003-04-07 John Levon <levon@movementarian.org>
7377 * BufferView_pimpl.C: clear message when doc finishes resizing,
7378 and after a mouse event
7380 * lyxfunc.C: clear message after exiting inset
7382 2003-04-07 John Levon <levon@movementarian.org>
7384 * bufferview_funcs.C: show math status not outside
7385 status in the statusbar
7387 2003-04-07 John Levon <levon@movementarian.org>
7389 * lyxfunc.C: note status changed after a depth change
7391 2003-04-04 Angus Leeming <leeming@lyx.org>
7393 * LaTeX.h: move AuxInfo operator==, != out of line.
7394 Remove LaTeX virtual destructor; nothing derives from it.
7395 Move operator()() out of public area and rename it startscript().
7396 Change protected for private.
7398 2003-04-04 Angus Leeming <leeming@lyx.org>
7401 * text2.C: remove unneeded #includes.
7403 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7405 * text2.C (dEPM): fix the heigth of the next row
7407 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7409 * text.C: squashed an invalid getChar requester + some ws changes
7411 2003-04-03 John Levon <levon@movementarian.org>
7413 * bufferview_funcs.h:
7414 * bufferview_funcs.C:
7417 * text2.C: make getStatus work for the env depth lfuns
7419 2003-04-03 John Levon <levon@movementarian.org>
7421 * bufferview_funcs.h:
7422 * bufferview_funcs.C:
7425 * text2.C: parlistize decDepth(), by merging it with incDepth()
7427 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7429 * lyxrow.h: store a ParagraphList::iterator instead of a
7430 Paragraph* and adjust other class functions to suit.
7432 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7435 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7437 * text2.C (setCursor): do not anchor to cursor row for the time being
7439 2003-04-02 John Levon <levon@movementarian.org>
7446 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7448 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7450 * paragraph.h: make ParagraphList and ParagraphList::iterator
7451 friends of Paragraph.
7453 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7455 * ParagraphList.C: Use the private next_ and previous_ from
7458 2003-04-01 John Levon <levon@movementarian.org>
7462 * Makefile.am: rename, remove defaults gunk
7465 * MenuBackend.C: remove defaults gunk
7468 * Languages.C: remove defaults gunk
7471 * lyx_main.C: error out if files couldn't be found.
7473 2003-04-02 John Levon <levon@movementarian.org>
7475 * text2.C: make incDepth() use parlist
7477 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7479 * undo_funcs.C (firstUndoParagraph): adjust
7481 * text3.C (gotoInset): adjust
7482 (dispatch): adjust, and rewrite loop.
7484 * text2.C (init): adjust, and rewrite loop.
7485 (redoParagraphs): adjust
7486 (updateInset): adjust, and rewrite loop.
7487 (deleteEmptyParagraphMechanism): adjust
7489 * tabular.C (LyXTabular): adjust
7490 (SetMultiColumn): adjust
7493 * lyxtext.[Ch] (ownerParagraph): delete function
7494 (ownerParagraphs): new function returns a ParagraphList.
7496 * BufferView.C (removeAutoInsets): adjust
7497 (insertErrors): adjust
7498 (setCursorFromRow): adjust
7500 2003-04-01 Angus Leeming <leeming@lyx.org>
7502 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7505 2003-04-02 John Levon <levon@movementarian.org>
7511 * text_funcs.C: make transposeChars a free function
7513 * lyxrow_funcs.C: remove wrong comment
7515 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * rowpainter.C: adjust
7523 * lyxrow_funcs. [Ch]: new files
7525 * lyxrow.[Ch]: remove next and previous pointers
7526 (next,previous): remove accessor functions
7527 (isParEnd): move to lyxrow_funcs
7528 (lastPos): move to lyxrow_funcs
7529 (nextRowIsAllInset): move to lyxrow_funcs
7530 (lastPrintablePos): move to lyxrow_funcs
7531 (numberOfSeparators): move to lyxrow_funcs
7532 (numberOfHfills): move to lyxrow_funcs
7533 (numberOfLabelHfills): move to lyxrow_funcs
7534 (hfillExpansion): move to lyxrow_funcs
7538 * bufferview_funcs.C (toggleAndShow): adjust
7540 * RowList.h: Remove class RowList from file leave just a
7543 * RowList.C: delete file
7545 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7548 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7550 * text3.C (cursorPrevious): adjust
7551 (cursorNext): adjust
7554 * text2.C (redoHeightOfParagraph): adjust
7555 (redoDrawingOfParagraph): adjust
7558 * text.C (breakParagraph): adjust
7559 (insertChar): adjust
7562 * rowpainter.C (RowPainter): adjust
7563 (leftMargin): simplify and adjust
7564 (most rowpainter functions): adjust.
7566 * rowpainter.h: store the row as RowList::iterator not as Row*
7568 * lyxcursor.C (row): taka RowList::iterator as arg
7571 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7574 2003-04-01 Angus Leeming <leeming@lyx.org>
7576 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7577 stuff like bool Bool.
7579 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7581 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7584 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7586 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7589 * lyxtext.h (rows): drop one version and leve a const variant that
7590 returns a RowList::iterator.
7592 2003-03-31 Angus Leeming <leeming@lyx.org>
7594 * text.C (fill): ensure that the signature is the same as that in the
7597 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7599 * text2.C (redoParagraphs): adjust
7600 (updateCounters): adjust
7601 (checkParagraph): adjust
7602 (getColumnNearX): adjust and reformat a bit.
7604 * text.C (top_y): adjust
7606 (leftMargin): adjust
7607 (prepareToPrint): adjust
7609 (getRowNearY): adjust
7611 * lyxtext.h: make rowlist_ mutable.
7613 * RowList.h: add const_iterator
7614 * RowList.C: adjust for RowList::const_iterator.
7616 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7619 2003-03-31 John Levon <levon@movementarian.org>
7622 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7624 * lyx_main.C: set default fonts from using lyx_gui funcs
7626 * exporter.C: pdf_mode moved from lyxrc
7629 * lyxfunc.C: changes from above
7631 2003-03-31 John Levon <levon@movementarian.org>
7633 * lyx_main.C: fix to the last fix
7635 2003-03-31 John Levon <levon@movementarian.org>
7637 * bufferlist.C: "Load original" -> "Load Original"
7643 * format.C: more Alert cleanups
7645 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7647 * text2.C (removeParagraph): make it take a RowList::iterator as
7649 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7650 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7652 * text.C (anchor_row): make it take a RowList::iterator as arg,
7654 (computeBidiTables): make it take a const reference to Row instead
7655 of Row pointer, adjust.
7656 (leftMargin): make it take a RowList::iterator as arg, adjust.
7657 (rowBreakPoint): adjust
7658 (breakAgainOneRow): make it take a RowList::iterator as arg,
7660 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7662 * bufferview_funcs.C (toggleAndShow): adjust
7664 2003-03-30 John Levon <levon@movementarian.org>
7668 * boost-inst.C: moved to support
7670 * several files: changes as a result
7672 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7674 * text2.C (LyXText): adjust.
7676 (removeRow): make it take a RowList::iterator as arg, adjust.
7677 (fullRebreak): adjust
7678 (deleteEmptyParagraphMechanism): adjust
7679 (clearPaint): adjust
7682 * text.C (top_y): adjust
7683 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7684 (breakAgain): make it take a RowList::iterator as arg, adjust.
7685 (breakParagraph): adjust
7686 (insertChar): adjust
7689 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7690 need_break_row, and refresh_row.
7692 * text3.C (dispatch): adjust
7694 * text2.C (checkParagraph): adjust
7696 (setCursorFromCoordinates): adjust
7698 * text.C (top_y): adjust
7700 (getRow): make it return a RowList::iterator, adjust
7701 (getRowNearY): make it return a RowList::iterator, adjust
7703 * text2.C (init): adjust
7704 (insertRow): remove function
7705 (insertParagraph): adjust
7706 (redoParagraphs): adjust
7707 (fullRebreak): adjust
7708 (updateCounters): adjust
7710 * text.C (top_y): rewrite to use RowList iterators.
7712 (setHeightOfRow): rewrite to sue RowList iterators.
7713 (appendParagraph): adjust
7714 (breakAgain): adjust
7715 (breakAgainOneRow): adjust
7716 (breakParagraph): adjust
7718 (getRowNearY): adjust, and remove commented code.
7720 * lyxtext.h (firstRow): delete function
7721 (lastRow): delete function
7722 (rows): new function (const and non-const versions.)
7723 (insertRow): delete function
7725 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7727 2003-03-29 John Levon <levon@movementarian.org>
7729 * BufferView_pimpl.C: always update scrollbar top
7730 because pasting text when we're anchored could mean we
7731 miss an update altogether
7733 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7735 * text2.C (init): use rowlist_.end() and not 0.
7736 (insertRow): change to take a RowList::iterator as arg, adjust
7738 (insertParagraph): change to take a RowList::iterator as arg,
7740 (redoParagraphs): remove some debug msgs.
7742 * text.C (appendParagraph): change to take a RowList::iterator
7743 arg, adjust for this.
7744 (breakAgain): add an assert
7745 (breakAgainOneRow): ditto
7747 2003-03-29 John Levon <levon@movementarian.org>
7749 * text2.C: do not clear selection after inc/decDepth
7752 2003-03-29 John Levon <levon@movementarian.org>
7755 * buffer.C: fix broken strerrors according to Lars
7757 2003-03-29 John Levon <levon@movementarian.org>
7759 * converters.C: more Alert cleanups
7761 2003-03-29 John Levon <levon@movementarian.org>
7763 * bufferview_funcs.C: remove pointless Alert
7765 * buffer.C: fix confusing error message when
7766 a template is chmoded 000
7768 2003-03-29 John Levon <levon@movementarian.org>
7772 * BufferView_pimpl.C: Alert fixes
7776 * tabular-old.C: remove unused table compat reading
7778 2003-03-29 John Levon <levon@movementarian.org>
7783 * lyx_cb.C: more Alert cleanups
7785 * lyxfunc.C: don't allow chktex if not latex document
7787 2003-03-29 John Levon <levon@movementarian.org>
7791 * buffer.C: warnings pushed down from support/,
7794 2003-03-29 John Levon <levon@movementarian.org>
7796 * lyxfunc.C: safety check for C-r (revert)
7798 2003-03-29 John Levon <levon@movementarian.org>
7801 * bufferlist.C: several UI fixes using Alert::prompt.
7802 Fix the pointless looping quit code. Fix stupid revert
7807 * lyx_cb.C: use Alert::prompt
7809 * lyx_main.C: remove a silly question
7811 * lyxfunc.C: remove a couple of silly questions,
7814 2003-03-28 John Levon <levon@movementarian.org>
7816 * text2.C: fix bug 974 (End on empty par)
7818 2003-03-28 John Levon <levon@movementarian.org>
7820 * BufferView_pimpl.C:
7822 * lfuns.h: remove do-nothing math greek lfuns
7824 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7826 * lyxgluelength.h (isValidGlueLength): add default arg on
7827 parameter 2. Remove default arg from friend in class.
7829 * lyxlength.h (isValidLength): add default arg on parameter 2.
7830 Remove default arg from friend in class.
7832 * text2.C (LyXText): adjust, initialize refresh_row.
7836 (insertParagraph): adjst
7837 (redoParagraphs): adjust
7838 (fullRebreak): adjust
7839 (updateCounters): adjust
7840 (deleteEmptyParagraphMechanism): first attempt at fixing a
7843 * text.C (top_y): adjust
7844 (setHeightOfRow): adjust
7846 (getRowNearY): adjust
7848 * lyxtext.h: include RowList.h
7849 (~LyXText): not needed anymore, deleted.
7850 (firstRow): modify for RowList
7851 (lastRow): new function
7852 Delete firstrow and lastrow class variables, add a Rowlist
7853 rowlist_ class variable.
7855 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7858 * RowList.C (insert): fix case where it == begin().
7860 2003-03-26 Angus Leeming <leeming@lyx.org>
7862 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7863 the thesaurus dialog.
7865 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7867 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7869 * RowList.[Ch]: new files
7871 * ParagraphList.C (erase): handle the case where it == begin
7874 2003-03-25 John Levon <levon@movementarian.org>
7878 * aspell.C: add new aspell support
7881 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7884 2003-03-25 Angus Leeming <leeming@lyx.org>
7887 * LyXAction.C (init): new LFUN_INSET_INSERT.
7889 * BufferView_pimpl.C (dispatch): split out part of the
7890 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7892 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7895 2003-03-25 Angus Leeming <leeming@lyx.org>
7897 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7899 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7902 * text3.C: remove useless row->height(0)
7904 2003-03-25 John Levon <levon@movementarian.org>
7908 * text3.C: rename the refreshing stuff to better names
7910 2003-03-24 John Levon <levon@movementarian.org>
7912 * BufferView_pimpl.h:
7913 * BufferView_pimpl.C: update layout choice on a mouse
7916 2003-03-23 John Levon <levon@movementarian.org>
7918 * Makefile.am: fix commandtags.h reference
7920 2003-03-22 John Levon <levon@movementarian.org>
7922 * BufferView_pimpl.C:
7927 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7929 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7932 * text.C: take the rtl methods out of line
7934 2003-03-21 André Pönitz <poenitz@gmx.net>
7936 * metricsinfo.[Ch]: new files containing structures to be passed around
7937 during the two-phase-drawing...
7939 2003-03-21 André Pönitz <poenitz@gmx.net>
7941 * lyxtextclass.C: read 'environment' tag.
7943 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7945 * text2.C (removeRow): fix bug 964
7947 2003-03-20 John Levon <levon@movementarian.org>
7951 * text2.C: paint cleanups. Inset::update() dropped font
7954 2003-03-19 John Levon <levon@movementarian.org>
7956 * lyxfunc.C: only fitcursor/markDirty if available()
7958 2003-03-19 John Levon <levon@movementarian.org>
7960 * commandtags.h: rename to ...
7962 * lfuns.h: ... this, and renumber / cleanup
7964 2003-03-19 John Levon <levon@movementarian.org>
7966 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7967 fit the cursor after an lfun
7971 * BufferView_pimpl.h:
7972 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7974 * LyXAction.C: layout-character should have ReadOnly
7976 * ParagraphParameters.C:
7978 * bufferview_funcs.C:
7985 * undo_funcs.C: changes from above
7987 2003-03-18 John Levon <levon@movementarian.org>
7989 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7990 remove it from update()
7992 * lyxfunc.C: update layout choice after an lfun
7994 * text3.C: remove extra updateLayoutChoice()s
7996 2003-03-18 John Levon <levon@movementarian.org>
7998 * text.C: top_y change means full repaint, fix
7999 a drawing bug with cursor movement
8001 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8005 * text2.C: anchor row on setCursor
8007 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8009 * lyxtext.h: remove almost all mutable keywords
8012 * text3.C: remove const keywords accordingly
8014 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8016 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8018 (TeXEnvironment): ditto
8021 2003-03-17 John Levon <levon@movementarian.org>
8023 * text.C (rowBreakPoint): remove attempt to fix displayed
8024 math insets inside a manual label
8026 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * lyxtext.h: remove BufferView* as first arg from almost all class
8030 * other files: adjust.
8032 2003-03-17 John Levon <levon@movementarian.org>
8036 * text2.C: more paint cleanups
8038 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8041 * rowpainter.C: remove "smart" background painting code
8043 2003-03-16 John Levon <levon@movementarian.org>
8048 * text3.C: add helper functions for setting refresh_row/y
8050 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8052 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8053 newline inset which *can* get inserted in the pass_thru layouts.
8054 This is primarily for literate documents.
8056 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8058 * buffer.C: increment LYX_FORMAT to 223
8060 2003-03-14 André Pönitz <poenitz@gmx.net>
8062 * textclass.h: prepare for environment handling, ws changes
8063 * lyxlayout.C: read latexheader and latexfooter tags
8065 2003-03-14 John Levon <levon@movementarian.org>
8067 * text2.C: rewrite ::status() a bit
8069 2003-03-13 John Levon <levon@movementarian.org>
8071 * lyxtext.h: add some docs
8073 2003-03-13 John Levon <levon@movementarian.org>
8078 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8080 2003-03-13 John Levon <levon@movementarian.org>
8082 * text3.C: fix appendix redrawing
8084 2003-03-13 John Levon <levon@movementarian.org>
8086 * text.C (setHeightOfRow):
8088 * rowpainter.C: make appendix mark have the text
8089 "Appendix" so the user knows what it is
8092 * LColor.C: s/appendixline/appendix/ from above
8094 2003-03-13 John Levon <levon@movementarian.org>
8096 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8098 * text.C: fix a getChar(pos) bug properly
8100 2003-03-13 Angus Leeming <leeming@lyx.org>
8103 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8104 Probably only temporary. Let's see how things pan out.
8106 * BufferView.C (unlockInset):
8107 * BufferView_pimpl.C (fitCursor):
8108 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8110 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8111 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8113 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8114 new functions that convert ParagraphParameters to and from a string.
8116 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8117 BufferView::Pimpl's dispatch.
8118 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8120 2003-03-13 André Pönitz <poenitz@gmx.net>
8124 * factory.C: make it aware of InsetEnv
8126 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8128 * text2.C (setCursor): never ask for one past last
8129 (setCursor): add some debugging messages.
8131 * text.C (singleWidth): never ask for one past last
8132 (singleWidth): ditto
8134 (rightMargin): ditto
8135 (rowBreakPoint): ditto
8136 (setHeightOfRow): ditto
8137 (prepareToPrint): ditto
8139 * rowpainter.C (paintBackground): never ask for one past last
8140 (paintText): never ask for one past last
8142 * paragraph_pimpl.C (getChar): make the assert stricter, never
8143 allow the one past last pos to be taken
8145 * paragraph.C (getChar): ws changes only
8147 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8148 (numberOfSeparators): ditto
8149 (numberOfHfills): ditto
8151 2003-03-12 John Levon <levon@movementarian.org>
8157 * paragraph_funcs.C: fix per-buffer authorlists
8159 2003-03-12 John Levon <levon@movementarian.org>
8161 * text.C: fix newline in right address
8163 2003-03-12 Angus Leeming <leeming@lyx.org>
8165 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8166 duplicate those in LyXFunc::dispatch.
8170 * ToolbarDefaults.C:
8171 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8172 Add LFUN_FONTFREE_UPDATE.
8174 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8175 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8177 * bufferview_func.[Ch]: several new functions to facilliate
8178 transfer of data to and from the character dialog.
8180 2003-03-12 John Levon <levon@movementarian.org>
8185 * paragraph_funcs.C:
8186 * paragraph_pimpl.C:
8190 * text3.C: remove META_NEWLINE in favour of an inset
8193 * rowpainter.C: remove paintNewline (done by inset)
8195 2003-03-12 John Levon <levon@movementarian.org>
8197 * paragraph_pimpl.C: complain about bad getChar()s
8198 for a while at least
8200 2003-03-12 John Levon <levon@movementarian.org>
8203 * buffer.C: move paragraph read into a separate function,
8204 a little renaming to reflect that.
8207 * bufferparams.C: remove the author_ids map, not necessary now
8210 * factory.C: moved Buffer::readInset to here
8212 * paragraph_funcs.h:
8213 * paragraph_funcs.C: readParagraph free function moved from
8216 * tabular.C: name change
8218 2003-03-12 John Levon <levon@movementarian.org>
8221 * ParagraphParameters.C: move par params input to
8224 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8225 behave like a normal read from the stream wrt reading
8226 a line vs. a \\token
8228 2003-03-12 John Levon <levon@movementarian.org>
8231 * ParagraphParameters.h:
8232 * ParagraphParameters.C: move output code to a
8235 2003-03-12 John Levon <levon@movementarian.org>
8237 * BufferView.C (insertLyXFile):
8240 * tabular.C: use a parlist iterator for creating the
8243 2003-03-12 John Levon <levon@movementarian.org>
8245 * buffer.C: make current_change static local not
8248 2003-03-12 John Levon <levon@movementarian.org>
8250 * buffer.C: fix insertStringAsLines for change tracking
8252 2003-03-12 John Levon <levon@movementarian.org>
8259 * bufferparams.C: move author list into params. Rename some
8260 functions. Move the header reading into a separate token
8261 loop. Move the header token reading into BufferParams.
8263 2003-03-12 John Levon <levon@movementarian.org>
8265 * changes.C: put debug inside lyxerr.debugging() checks
8267 2003-03-11 André Pönitz <poenitz@gmx.net>
8269 * factory.C: make it aware of InsetHFill
8271 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8273 * buffer.C (latexParagraphs): move function from here...
8274 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8277 2003-03-10 Angus Leeming <leeming@lyx.org>
8279 * LyXAction.C (init): fix bug in poplating array with multiple entries
8280 with the same LFUN (spotted by JMarc).
8282 2003-03-10 John Levon <levon@movementarian.org>
8285 * text2.C: move getColumnNearX() near its
8288 2003-03-10 John Levon <levon@movementarian.org>
8290 * text.C: fix break before a minipage
8292 2003-03-10 John Levon <levon@movementarian.org>
8294 * text.C: fix the last commit
8296 2003-03-09 John Levon <levon@movementarian.org>
8300 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8301 bug 365 (don't break before insets unless needed). Don't
8302 return a value > last under any circumstances.
8304 2003-03-09 Angus Leeming <leeming@lyx.org>
8306 * BufferView_pimpl.C (trackChanges, dispatch): call
8307 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8309 2003-03-09 Angus Leeming <leeming@lyx.org>
8311 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8312 than Dialogs::showAboutlyx().
8314 2003-03-09 Angus Leeming <leeming@lyx.org>
8316 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8317 than Dialogs::showTabularCreate().
8319 2003-03-09 John Levon <levon@movementarian.org>
8323 * text2.C: 3rd arg to nextBreakPoint was always the same.
8326 2003-03-08 John Levon <levon@movementarian.org>
8333 * text2.C: Remove the "main" bit from the "main body"
8336 2003-03-08 John Levon <levon@movementarian.org>
8338 * text.C (leftMargin): The left margin of an empty
8339 manual label paragraph should not include the label width
8342 * text.C (prepareToPrint): don't attempt to measure hfills
8343 for empty manual label paragraphs - the answer should be 0
8345 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8347 * CutAndPaste.C: remove commented code and reindent.
8349 2003-03-08 John Levon <levon@movementarian.org>
8352 * lyxfunc.C: move reloadBuffer()
8355 * BufferView.C: to here
8357 * lyxvc.C: add comment
8360 * vc-backend.C: call bv->reload() to avoid
8361 getStatus() check on MENURELOAD
8363 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8365 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8366 to an old format .dep file.
8368 2003-03-07 Angus Leeming <leeming@lyx.org>
8370 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8371 when the LFUN_MOUSE_RELEASE should have been handled by
8372 inset->localDispatch.
8374 2003-03-07 Angus Leeming <leeming@lyx.org>
8376 * BufferView_pimpl.C (dispatch):
8377 * LyXAction.C (init):
8378 * ToolbarDefaults.C (init):
8380 * lyxfunc.C (getStatus):
8381 remove LFUN_INSET_GRAPHICS.
8383 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8385 2003-03-07 Angus Leeming <leeming@lyx.org>
8388 * LyXAction.C (init):
8389 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8391 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8394 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8396 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8397 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8399 2003-03-07 Angus Leeming <leeming@lyx.org>
8401 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8404 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8406 * ParagraphList.C (front): new function
8409 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8411 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8412 and top_row_offset_. removed var first_y.
8414 * text2.C (LyXText, removeRow):
8416 * BufferView_pimpl.C:
8417 use these methods instead of using first_y
8419 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8421 * text2.C (pasteSelection): adjust for checkPastePossible
8423 * CutAndPaste.C: remove Paragraph * buf and replace with
8424 ParagraphList paragraphs.
8425 (DeleteBuffer): delete
8426 (cutSelection): change the tc type to textclass_type
8427 (copySelection): change the tc type to textclass_type
8428 (copySelection): adjust for ParagraphList
8429 (pasteSelection): change the tc type to textclass_type
8430 (pasteSelection): adjust for Paragraphlist
8431 (nrOfParagraphs): simplify for ParagraphList
8432 (checkPastePossible): simplify for ParagraphList
8433 (checkPastePossible): remove unused arg
8435 * ParagraphList.C (insert): handle the case where there are no
8438 * CutAndPaste.h: make CutAndPaste a namespace.
8440 * text3.C (dispatch): adjust
8442 * text.C (breakParagraph): add a ParagraphList as arg
8444 * paragraph_funcs.C (breakParagraph): change to take a
8445 BufferParams and a ParagraphList as args.
8446 (breakParagraphConservative): ditto
8447 (mergeParagraph): ditto
8448 (TeXDeeper): add a ParagraphList arg
8449 (TeXEnvironment): ditto
8452 * buffer.C (readLyXformat2): adjust
8453 (insertStringAsLines): adjust
8454 (latexParagraphs): adjust
8456 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8457 (cutSelection): adjust
8458 (pasteSelection): adjust
8460 * BufferView_pimpl.C (insertInset): adjust
8462 2003-03-05 Angus Leeming <leeming@lyx.org>
8465 * LyXAction.C (init):
8466 * BufferView_pimpl.C (dispatch):
8467 * lyxfunc.C (getStatus):
8468 remove LFUN_CHILD_INSERT.
8470 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8472 2003-03-05 Angus Leeming <leeming@lyx.org>
8475 * LyXAction.C (init):
8476 * src/factory.C (createInset):
8477 * lyxfunc.C (getStatus):
8478 * text3.C (dispatch):
8479 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8481 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8483 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8485 * ParagraphList.C (insert): handle insert right before end()
8486 (erase): fix cases where it can be first or last paragraph.
8488 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8491 Paragraph::next and Paragraph::previous
8494 * text.C (breakParagraph): adjust
8496 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8497 BufferParams& as arg.
8498 (breakParagraph): use ParagraphList::insert
8499 (breakParagraphConservative): take a Buffer* instead of a
8500 BufferParams& as arg.
8501 (breakParagraphConservative): use ParagraphList::insert.
8503 * buffer.C (insertStringAsLines): un-const it
8504 (insertStringAsLines): adjust
8506 * ParagraphList.C (insert): new function
8508 * CutAndPaste.C (pasteSelection): adjust
8510 * text.C (backspace): adjust
8512 * tabular.C (SetMultiColumn): adjust
8514 * CutAndPaste.C (cutSelection): adjust
8515 (pasteSelection): adjust
8517 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8518 Buffer const * as arg
8520 * ParagraphList.C (erase): new function
8521 * paragraph_funcs.C (mergeParagraph): use it
8522 (mergeParagraph): make it take a Buffer* instead of a
8523 BufferParams* as arg
8525 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8527 (breakParagraphConservative): ditto
8529 * paragraph.h: remove the breakParagraph friend
8531 * paragraph.C (eraseIntern): new function
8532 (setChange): new function
8534 * paragraph_funcs.C (mergeParagraph): make it take a
8535 ParagraphList::iterator instead of a Paragraph *, adjust
8538 * paragraph.h: move an #endif so that the change tracking stuff
8539 also works in the NO_NEXT case.
8541 2003-03-04 Angus Leeming <leeming@lyx.org>
8544 * LyXAction.C: new LFUN_INSET_MODIFY.
8546 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8547 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8549 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8551 * several files: ws changes only
8553 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8554 (TeXEnvironment): ditto
8557 * buffer.C (makeLaTeXFile): adjust
8558 (latexParagraphs): make it take ParagraphList::iterator as args
8560 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8562 * buffer.C (latexParagraphs): adjust
8564 * paragraph.C (TeXOnePar): move function...
8565 (optArgInset): move function...
8566 (TeXEnvironment): move function...
8567 * paragraph_pimpl.C (TeXDeeper): move function...
8568 * paragraph_funcs.C: ...here
8570 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8572 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8574 * buffer.C (readInset): remove compability code for old Figure and
8577 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8579 * buffer.C: ws changes
8582 * BufferView_pimpl.C: ditto
8585 * bufferlist.h: ditto
8589 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8591 * converter.[Ch]: split into itself +
8594 * Makefile.am: += graph.[Ch] + format.[Ch]
8601 * lyxrc.C: added #include "format.h"
8603 2003-02-27 Angus Leeming <leeming@lyx.org>
8605 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8608 * factory.C (createInset): add "label" to the factory.
8610 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8611 string and do no more.
8613 2003-02-27 Angus Leeming <leeming@lyx.org>
8616 * LyXAction.C (init):
8617 * factory.C (createInset):
8618 * BufferView_pimpl.C (dispatch):
8619 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8621 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8623 * lyxfunc.C (dispatch):
8624 * text3.C (dispatch): pass name to params2string.
8626 2003-02-26 Angus Leeming <leeming@lyx.org>
8628 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8630 Rearrange the ~includes. Strip out the unnecessary ones.
8632 * factory.C (createInset): reformat.
8633 create new insets for the various LFUN_XYZ_APPLY lfuns.
8635 2003-02-26 John Levon <levon@movementarian.org>
8638 * lyxrow.C: add isParStart,isParEnd helpers
8640 * paragraph.h: make isInserted/DeletedText take refs
8642 * paragraph_funcs.h:
8643 * paragraph_funcs.C: remove #if 0'd code
8648 * text.C: use lyxrow helpers above.
8649 Move draw and paint routines to RowPainter.
8650 Make several methods use refs not pointers.
8651 Make backgroundColor() const.
8652 Add markChangeInDraw(), isInInset().
8653 Merge changeRegionCase into changeCase.
8654 Make workWidth() shouldn't-happen code into an Assert.
8657 * rowpainter.C: new class for painting a row.
8660 * vspace.C: make inPixels take a ref
8662 2003-02-26 Angus Leeming <leeming@lyx.org>
8664 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8667 2003-02-25 John Levon <levon@movementarian.org>
8669 * ispell.C: give the forked command a more accurate name
8671 2003-02-22 John Levon <levon@movementarian.org>
8674 * toc.C: make TocItem store an id not a Paragraph *
8677 2003-02-21 Angus Leeming <leeming@lyx.org>
8679 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8680 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8681 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8682 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8683 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8684 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8686 * BufferView_pimpl.C (dispatch):
8687 * LyXAction.C (init):
8688 * factory.C (createInset):
8689 * lyxfunc.C (getStatus, dispatch):
8690 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8692 2003-02-21 Angus Leeming <leeming@lyx.org>
8694 * BufferView_pimpl.C (MenuInsertLyXFile):
8695 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8696 * lyxfunc.C (menuNew, open, doImport):
8697 no longer pass a LyXView & to fileDlg.
8699 2003-02-21 Angus Leeming <leeming@lyx.org>
8701 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8702 * LyXAction.C: change, BIBKEY to BIBITEM.
8703 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8704 Change InsetBibKey to InsetBibitem.
8705 Change BIBKEY_CODE to BIBITEM_CODE.
8706 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8707 * factory.C: replace insetbib.h with insetbibitem.h.
8708 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8709 * paragraph.C: replace insetbib.h with insetbibitem.h.
8710 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8711 Change bibkey() to bibitem().
8712 * text.C: remove insetbib.h.
8713 * text2.C: replace insetbib.h with insetbibitem.h.
8714 change bibkey() to bibitem().
8715 * text3.C: remove insetbib.h.
8716 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8718 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8720 * lyxrc.C (output): enclose user email in quotes (in case there are
8723 2003-02-18 John Levon <levon@movementarian.org>
8725 * buffer.h: add std::
8727 2003-02-17 John Levon <levon@movementarian.org>
8733 * pspell.C: reworking. Especially in ispell, a large
8734 number of clean ups and bug fixes.
8736 * lyxfunc.C: fix revert to behave sensibly
8738 2003-02-17 André Pönitz <poenitz@gmx.net>
8741 * commandtags.h: new LFUN_INSERT_BIBKEY
8751 * paragraph_func.C: remove special bibkey handling
8753 2003-02-17 John Levon <levon@movementarian.org>
8755 * text.C (Delete): fix case where delete at the end of
8756 the very first paragraph would not merge the pars
8758 2003-02-17 John Levon <levon@movementarian.org>
8760 * lyxrow.C: fix lastPrintablePos()
8762 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8764 * bufferparams.C (writeLaTeX): add a std:here
8766 * buffer.C: and remove a using directive there
8768 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8770 * buffer.C (makeLaTeXFile): move the code that generates the
8773 * bufferparams.C (writeLaTeX): ... in this new method
8775 * LaTeXFeatures.C (getEncodingSet): make const
8776 (getLanguages): make const
8778 * MenuBackend.C (binding): returns the binding associated to this
8780 (add): sets the status of each item by calling getStatus. Adds
8782 (read): add support for OptSubMenu
8783 (expand): remove extra separator at the end of expanded menu
8785 2003-02-15 John Levon <levon@movementarian.org>
8788 * BufferView_pimpl.C:
8790 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8791 inset code that had no actual effect. Remove unneeded status
8794 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8796 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8799 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8801 * text.C (drawLengthMarker): also draw an arrow marker for
8802 symbolic lengths (medskip...)
8804 2003-02-14 John Levon <levon@movementarian.org>
8807 * tabular.C: better method names
8809 2003-02-14 John Levon <levon@movementarian.org>
8811 * BufferView_pimpl.C:
8816 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8817 it's a more accurate name. Remove some pointless uses.
8819 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8821 * text2.C (LyXText): change order of initilizers to shut off
8824 2003-02-14 John Levon <levon@movementarian.org>
8826 * buffer.C: use ParIterator for getParFromID()
8830 * paragraph_pimpl.h:
8831 * paragraph_pimpl.C: remove unused getParFromID()
8833 2003-02-14 John Levon <levon@movementarian.org>
8835 * buffer.C: remove some very old #if 0'd parse code
8837 2003-02-13 John Levon <levon@movementarian.org>
8841 * text2.C: move hfillExpansion(), numberOfSeparators(),
8842 rowLast(), rowLastPrintable(), numberofHfills(),
8843 numberOfLabelHfills() ...
8846 * lyxrow.C: ... to member functions here.
8851 * text.C: remove LyXText::beginningOfMainBody(), and call
8852 p->beginningOfMainBody() directly. Move the check for
8853 LABEL_MANUAL into the latter.
8860 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8866 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8867 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8869 2003-02-13 John Levon <levon@movementarian.org>
8871 * CutAndPaste.C: remove debug
8873 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8875 * paragraph.C (asString): remove two unused variables
8877 * lyxtextclass.C (readTitleType):
8879 (LyXTextClass): handle new members titletype_ and titlename_
8881 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8883 2003-02-09 John Levon <levon@movementarian.org>
8886 * buffer.C: replace hand-coded list with a map for the dep clean
8888 2003-02-08 John Levon <levon@movementarian.org>
8890 * LaTeX.C: consolidate code into showRunMessage() helper
8892 2003-02-08 John Levon <levon@movementarian.org>
8897 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8898 and pass the size in explicitly
8900 * BufferView_pimpl.h:
8901 * BufferView_pimpl.C:
8903 * BufferView.C: add getCurrentChange()
8905 * BufferView_pimpl.h:
8906 * BufferView_pimpl.C: handle change lfuns
8908 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8909 for changes. Mark pasted paragraphs as new.
8911 * support/lyxtime.h:
8912 * support/lyxtime.C:
8913 * DepTable.C: abstract time_t as lyx::time_type
8916 * LColor.C: add colours for new text, deleted text, changebars
8918 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8919 package use "usenames" option.
8923 * LyXAction.C: add change lfuns
8927 * author.C: author handling
8930 * buffer.C: add a per-buffer author list, with first entry as
8931 current author. Handle new .lyx tokens for change tracking. Output
8932 author list to .lyx file. Output dvipost stuff to .tex preamble.
8933 Bump lyx format to 222.
8936 * bufferlist.C: add setCurrentAuthor() to reset current author details
8940 * bufferparams.C: add param for tracking
8942 * bufferview_funcs.C: output change info in minibuffer
8946 * changes.C: add change-tracking structure
8949 * debug.C: add CHANGES debug flag
8952 * lyxfind.C: add code for finding the next change piece
8955 * lyxrc.C: add user_name and user_email
8958 * lyxrow.C: add a metric for the top of the text line
8961 * text.C: implement accept/rejectChange()
8964 * text.C: paint changebars. Paint new/deleted text in the chosen
8965 colours. Strike through deleted text.
8969 * paragraph_pimpl.h:
8970 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8971 in the current change to the insert functions. Rework erase to
8972 mark text as deleted, adding an eraseIntern() and a range-based
8973 erase(). Implement per-paragraph change lookup and
8976 * paragraph_funcs.C: Fixup paste for change tracking.
8978 * tabular.C: mark added row/columns as new.
8980 * text.C: fix rowLast() to never return -1. Don't allow
8981 spellchecking of deleted text. Track transpose changes. Don't
8982 allow paragraph break or merge where appropriate.
8984 * text2.C: leave cursor at end of selection after a cut.
8986 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8988 * text.C (getLengthMarkerHeight):
8989 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8990 visible on screen too.
8992 2003-02-07 John Levon <levon@movementarian.org>
8994 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8996 2003-02-05 Angus Leeming <leeming@lyx.org>
8998 * lyxserver.C (read_ready): revert my patch of 11 September last year
8999 as it sends PC cpu through the roof. Presumably this means that
9000 the lyxserver will no longer run on an Alpha...
9002 2003-01-30 Angus Leeming <leeming@lyx.org>
9004 * factory.C (createInset): create an InsetCommandParam of type "index"
9005 and use it to 'do the right thing'.
9007 * text2.C (getStringToIndex): ensure that cursor position is always
9008 reset to the reset_cursor position.
9010 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9012 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9015 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9019 * lyxfunc.C: Output messages with identical spelling, punctuation,
9022 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9024 * MenuBackend.C (expandFormats): List only viewable export formats
9027 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9030 * lyxfunc.C (getStatus): Make sure that formats other than
9031 "fax" can also be disabled
9033 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9035 * text3.C (dispatch): put the lfuns that insert insets in 3
9036 groups, and call doInsertInset with appropriate arguments.
9037 (doInsertInset): new function, that creates an inset and inserts
9038 it according to some boolean parameters.
9040 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9042 * buffer.C (readFile): remember to pass on 'par' when calling
9043 readFile recursively.
9045 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9047 * MenuBackend.C (expandFormats): add "..." to import formats.
9049 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9051 * paragraph.C (asString): Remove XForms RTL hacks.
9053 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9054 * buffer.C: fix typo
9056 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9058 * Makefile.am (LIBS): delete var
9059 (lyx_LDADD): add @LIBS@ here instead.
9061 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9063 * Clarify the meaning of "wheel mouse jump"
9065 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9067 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9070 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9072 * importer.C (Loaders): do not preallocate 3 elements in the
9073 vector, since one ends up with 6 elements otherwise
9075 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9077 * DepTable.C (write): write the file name as last element of the
9078 .dep file (because it may contain spaces)
9079 (read): read info in the right order
9081 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9083 * paragraph_pimpl.C (simpleTeXBlanks):
9084 (simpleTeXSpecialChars):
9085 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9087 * tabular.C (latex): add some missing case statements. Reindent.
9089 * MenuBackend.C (expandToc): remove unused variable.
9091 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9100 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9103 2003-01-05 John Levon <levon@movementarian.org>
9106 * BufferView.C: add getEncoding()
9109 * kbsequence.C: do not store last keypress
9112 * lyxfunc.C: store last keypress here instead. Pass encoding
9115 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9117 * lyx_main.C (init): remove annoying error message when following
9118 symbolic links (bug #780)
9120 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9122 * text.C (insertChar):
9123 * lyxrc.C (getDescription): remove extra spaces
9125 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9127 * lyxrc.C (getDescription): remove extra spaces
9129 2002-12-20 John Levon <levon@movementarian.org>
9131 * text3.C: hack fix for page up/down across tall rows
9133 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9135 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9138 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9140 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9141 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9142 thesaurus is not compiled in
9144 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9146 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9148 2002-12-16 Angus Leeming <leeming@lyx.org>
9151 * lyx_main.C (init): remove override_x_deadkeys stuff.
9153 2002-12-12 John Levon <levon@movementarian.org>
9155 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9156 insert. Only remove shift modifier under strict
9159 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9161 * MenuBackend.C (expandToc): fix crash.
9163 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9165 * MenuBackend.C (expandToc): gettext on float names.
9167 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9169 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9170 implement bool empty() [bug 490]
9172 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9174 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9176 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9178 * several files: ws changes
9180 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9182 * text2.C (setCounter): clean up a bit, use boost.format.
9183 (updateCounters): initialize par upon declaration.
9185 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9186 if the layout exists. We do not just store the layout any more.
9187 (SwitchLayoutsBetweenClasses): use boost.format
9189 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9191 * converter.C (convert): if from and to files are the same, use a
9192 temporary files as intermediary
9194 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9197 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9199 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9201 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9203 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9205 * tabular.C (asciiPrintCell): use string(size, char) instead of
9208 * sgml.C (openTag): fix order of arguments to string constructor
9211 * lyxfunc.C (dispatch): use boost.format
9213 * lots of files: change "c" -> 'c'
9215 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9217 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9219 2002-11-25 Angus Leeming <leeming@lyx.org>
9221 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9223 * lyx_main.C (init): compile fix.
9225 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9227 * lyx_cb.C (start): boost.formatify
9228 do not include <iostream>
9230 * lengthcommon.C: ws only
9232 * boost-inst.C,BoostFormat.h: add more explict instantations
9234 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9236 * lots of files: handle USE_BOOST_FORMAT
9238 2002-11-21 John Levon <levon@movementarian.org>
9240 * pspell.C: fix compile
9242 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9244 * lyxfunc.C (dispatch): use boost::format
9248 * lyxfont.C (stateText): use boost::format
9250 * lyx_main.C (LyX): use boost::format
9252 (queryUserLyXDir): ditto
9255 (typedef boost::function): use the recommened syntax.
9257 * importer.C (Import): use boost::format
9259 * debug.C (showLevel): use boost::format
9261 * converter.C (view): use boost::format
9266 * bufferview_funcs.C (currentState): use boost::format
9268 * bufferlist.C (emergencyWrite): use boost::format
9270 * buffer.C (readLyXformat2): use boost::format
9271 (parseSingleLyXformat2Token): ditto
9273 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9275 * LaTeX.C (run): use boost::format
9277 * Chktex.C (scanLogFile): use boost::format
9279 * BufferView_pimpl.C (savePosition): use boost::format
9280 (restorePosition): ditto
9281 (MenuInsertLyXFile): ditto
9283 * BoostFormat.h: help file for explicit instation.
9285 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9287 * tabular.C (latex): Support for block alignment in fixed width
9290 2002-11-17 John Levon <levon@movementarian.org>
9292 * BufferView_pimpl.C:
9294 * lyxfunc.C: split filedialog into open/save
9296 2002-11-08 Juergen Vigna <jug@sad.it>
9298 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9299 by my last patch (hopefully).
9301 2002-11-08 John Levon <levon@movementarian.org>
9310 * toc.C: ParConstIterator, and use it (from Lars)
9312 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9314 * lyxtextclass.[Ch]: revise and add doxygen comments
9316 2002-11-07 John Levon <levon@movementarian.org>
9318 * text.C: fix progress value for spellchecker
9320 * toc.C: fix navigate menu for insetwrap inside minipage
9322 * paragraph_funcs.C: added FIXME for suspect code
9324 2002-11-07 John Levon <levon@movementarian.org>
9326 * BufferView_pimpl.C: fix redrawing of insets
9329 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9331 * text2.C (updateCounters): fix bug 668
9333 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9335 * text3.C (dispatch): Do not make the buffer dirty when moving the
9338 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9340 * vc-backend.C: STRCONV
9343 * text2.C (setCounter): STRCONV
9345 * paragraph.C (asString): STRCONV
9347 * lyxlength.C (asString): STRCONV
9348 (asLatexString): ditto
9350 * lyxgluelength.C (asString): STRCONV
9351 (asLatexString): ditto
9353 * lyxfunc.C (dispatch): STRCONV
9356 * lyxfont.C (stateText): STRCONV
9358 * importer.C (Import): STRCONV
9360 * counters.C (labelItem): STRCONV
9361 (numberLabel): ditto
9362 (numberLabel): remove unused ostringstream o
9367 * bufferview_funcs.C (currentState): STRCONV
9369 * buffer.C (readFile): STRCONV
9370 (asciiParagraph): ditto
9371 (makeLaTeXFile): ditto
9373 * Spacing.C (writeEnvirBegin): STRCONV
9375 * LaTeXFeatures.C (getLanguages): STRCONV
9376 (getPackages): ditto
9378 (getBabelOptions): ditto
9379 (getTClassPreamble): ditto
9380 (getLyXSGMLEntities): ditto
9381 (getIncludedFiles): ditto
9385 (scanAuxFile): ditto
9388 * LString.h: add the STRCONV macros
9390 * BufferView_pimpl.C (savePosition): STRCONV
9391 (restorePosition): ditto
9392 (MenuInsertLyXFile): ditto
9394 * vc-backend.C (scanMaster): change from submatch[...] to
9397 * funcrequest.C: include config.h
9399 * factory.C: include config.h
9401 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9403 * box.C: include config.h
9405 * LaTeX.C (scanAuxFile): change from submatch[...] to
9409 2002-10-25 Angus Leeming <leeming@lyx.org>
9411 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9413 * ispell.[Ch] (setError): new method.
9414 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9415 Use setError() insetead of goto END.
9417 * lyx_cb.C (AutoSave): move out child process into new class
9420 2002-10-30 John Levon <levon@movementarian.org>
9422 * text3.C: make start appendix undoable
9424 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9426 * lyxlength.C (inPixels): Fix returned value.
9428 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9431 2002-10-24 Angus Leeming <leeming@lyx.org>
9433 * lyxgluelength.h: no need to forward declare BufferParams
9434 or BufferView, so don't.
9436 2002-10-21 John Levon <levon@movementarian.org>
9438 * BufferView.C: menuUndo ->undo, redo
9440 * BufferView.h: document, remove dead, make some methods private
9442 * paragraph_funcs.h:
9443 * paragraph_funcs.C:
9444 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9449 * sgml.C: move sgml open/close tag into sgml.C
9451 * bufferview_funcs.h: unused prototype
9454 * lyxfunc.C: remove unused
9457 * text.C: remove unused
9459 2002-10-21 John Levon <levon@movementarian.org>
9463 * BufferView_pimpl.h:
9464 * BufferView_pimpl.C: fix mouse wheel handling based on
9465 patch from Darren Freeman
9467 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9469 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9471 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9473 * lyxlength.C (inPixels): Fix hanfling of negative length.
9474 Fix LyXLength::MU case.
9476 2002-10-16 John Levon <levon@movementarian.org>
9478 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9480 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9482 * converter.C (view): add support for $$i (file name) and $$p
9483 (file path) for the viewer command. If $$i is not specified, then
9484 it is appended to the command (for compatibility with old syntax)
9486 2002-10-14 Juergen Vigna <jug@sad.it>
9488 * undo_funcs.C (textHandleUndo): alter the order in which the
9489 new undopar is added to the LyXText, as we have to set first
9490 the right prev/next and then add it as otherwise the rebuild of
9491 LyXText is not correct. Also reset the cursor to the right paragraph,
9492 with this IMO we could remove the hack in "redoParagraphs()".
9494 2002-10-09 Angus Leeming <leeming@lyx.org>
9496 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9497 to turn off an optimisation if a new inset is to be inserted.
9499 2002-10-11 André Pönitz <poenitz@gmx.net>
9501 * lyxtext.h: make some functions public to allow access
9502 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9504 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9506 * text3.C (dispatch): when changing layout, avoid an infinite loop
9509 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9511 * lyxrc.C (read): treat a viewer or converter command of "none" as
9514 * MenuBackend.C (expandFormats): for an update, also allow the
9515 formats that are not viewable
9517 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9518 script if it is newer than the lyxrc.defaults in user directory
9520 2002-10-07 André Pönitz <poenitz@gmx.net>
9522 * text.C: Vitaly Lipatov's small i18n fix
9524 2002-09-25 Angus Leeming <leeming@lyx.org>
9526 * ispell.h: doxygen fix.
9528 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9530 * buffer.h (readFile): Add a new argument to the method, to allow
9531 reading of old-format templates.
9533 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9535 * toc.C (getTocList): Get TOC from InsetWrap.
9537 2002-09-16 John Levon <levon@movementarian.org>
9539 * lyxfunc.C: check tabular for cut/copy too
9541 2002-09-12 John Levon <levon@movementarian.org>
9546 * factory.C: add header
9548 * paragraph_funcs.h:
9549 * paragraph_funcs.C: cleanup
9551 2002-09-11 John Levon <levon@movementarian.org>
9553 * PrinterParams.h: odd/even default to true
9555 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9557 * PrinterParams.h: update printer parameters for new xforms dialog
9559 2002-09-11 Angus Leeming <leeming@lyx.org>
9561 * lyxserver.C (read_ready): re-write to make it more transparent
9562 and to make it work in coherent fashion under Tru64 Unix.
9564 2002-09-11 André Pönitz <poenitz@gmx.net>
9568 * text3.C: implement LFUN_WORDSEL
9570 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9572 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9573 make floatlist_ a boost::shared_ptr<FloatList>
9575 * lyxtextclass.C: include FloatList.h
9576 (LyXTextClass): initialize floatlist_
9577 (TextClassTags): add TC_NOFLOAT
9578 (Read): match "nofloat" to TC_NOFLOAT and use it.
9579 (readFloat): modify call to floatlist_
9583 * FloatList.[Ch] (FloatList): remove commented out float
9585 (erase): new function
9587 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9589 * MenuBackend.C (expandToc): fix crash when there is no document
9592 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9594 * many files: Add insetwrap.
9596 2002-09-09 John Levon <levon@movementarian.org>
9598 * text2.C: remove confusing and awkward depth wraparound
9600 2002-09-09 John Levon <levon@movementarian.org>
9602 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9605 * buffer.C: remove getIncludeonlyList()
9608 * lyxfunc.C: remove headers
9610 2002-09-09 Juergen Vigna <jug@sad.it>
9612 * text.C (getColumnNearX): fix form Michael this is most
9613 probably a cut&paste bug.
9615 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9617 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9619 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9620 references, ws changes.
9622 * text2.C (init): update counters after init
9623 (insertParagraph): no need to set counter on idividual paragraphs.
9624 (setCounter): access the counters object in the textclass object
9625 on in the buffer object.
9626 (updateCounters): ditto
9628 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9629 shared_ptr<Counters> to avoid loading counters.h in all
9631 (LyXTextClass): initialize ctrs_
9632 (TextClassTags): add TC_COUNTER, and ...
9633 (Read): use it here.
9634 (CounterTags): new tags
9635 (readCounter): new function
9636 (counters): new funtion
9637 (defaultLayoutName): return a const reference
9639 * counters.C (Counters): remove contructor
9640 (newCounter): remove a couple of unneeded statements.
9641 (newCounter): simplify a bit.
9642 (numberLabel): some small formatting changes.
9644 * buffer.[Ch]: remove all traces of counters, move the Counters
9645 object to the LyXTextClass.
9647 2002-09-06 Alain Castera <castera@in2p3.fr>
9649 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9650 package to set the horizontal alignment on fixed width columns.
9653 * lyx_sty.h: added tabularnewline macro def.
9655 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9657 2002-09-06 John Levon <levon@movementarian.org>
9659 * LyXAction.C: tooltips for sub/superscript
9661 * MenuBackend.C: a bit more verbose
9663 * lyxfunc.C: tiny clean
9665 * undo_funcs.C: document undo_frozen
9667 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9669 * counters.C (Counters): add missing algorithm counter.
9671 * text2.C (setCounter): lookup the counter with layouts latexname
9672 instead of by section number.
9673 (setCounter): use a hackish way to lookup the correct enum
9675 a float name->type change
9676 reset enum couners with counter name directly instead of depth value.
9678 * counters.C (Counters): remove the push_backs, change to use the
9679 float type not the float name.
9680 (labelItem): remove unused string, float name->type change
9682 * counters.h: don't include vector, loose the enums and sects vectors
9684 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9686 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9687 (Read): add float->TC_FLOAT to textclassTags
9688 (Read): and handle it in the switch
9689 (readFloat): new function
9691 * FloatList.C (FloatList): comment out the hardcoded float
9694 * lyxlayout.h: ws change.
9696 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9698 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9700 2002-09-03 Angus Leeming <leeming@lyx.org>
9702 * BufferView_pimpl.h: qualified name is not allowed in member
9703 declaration: WorkArea & Pimpl::workarea() const;
9705 * factory.C: added using std::endl directive.
9707 * text3.C: added using std::find and std::vector directives.
9709 2002-08-29 André Pönitz <poenitz@gmx.net>
9712 * text2.C: remove unused member number_of_rows
9715 * BufferView2.C: remove file, move contents to...
9716 * BufferView.C: ... here
9718 * BufferView_pimpl.C:
9719 * factory.C: move more inset creation to factory
9721 * vspace.C: avoid direct usage of LyXText, ws changes
9724 don't provide direct access to WorkArea, use two simple
9725 acessors haveSelction() and workHeight() instead
9728 2002-08-29 John Levon <levon@movementarian.org>
9730 * BufferView_pimpl.C (dispatch): do not continue when
9733 2002-08-28 André Pönitz <poenitz@gmx.net>
9735 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9738 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9740 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9742 * buffer.C: increment LYX_FORMAT to 221
9744 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9745 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9747 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9749 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9751 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9753 * factory.C (createInset): use LyXTextClass::floats
9755 * MenuBackend.C (expandFloatListInsert):
9756 (expandFloatInsert):
9759 * text2.C (setCounter):
9761 * LaTeXFeatures.C (useFloat):
9762 (getFloatDefinitions):
9764 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9766 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9767 floatlist_, with accessor floats().
9769 * FloatList.h: remove global FloatList
9771 2002-08-26 André Pönitz <poenitz@gmx.net>
9773 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9777 * BufferView_pimpl.C:
9778 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9780 2002-08-25 John Levon <levon@movementarian.org>
9782 * LyXAction.C: fix margin note description
9784 2002-08-24 John Levon <levon@movementarian.org>
9788 * bufferview_funcs.C:
9790 * undo_funcs.C: cleanups
9792 * lyxfunc.C: disable CUT/COPY when no selection
9794 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9796 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9797 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9799 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9800 Add backward compatibility to "mono", "gray" and "no".
9802 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9804 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9805 (and file_format >= 200).
9807 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9811 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9813 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9815 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9817 * BufferView_pimpl.C:
9824 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9825 inset and code to make it work with the paragraph code. The inset
9826 can be anywhere in the paragraph, but will only do the expected
9827 thing in LaTeX if the layout file contains the parameter line
9829 (or more generally, a nonzero value) for that layout.
9831 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9833 * paragraph.h: remove the declaration of undefined counters class
9836 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9838 * text2.C (setCounter): fixed enumeration mis-count as reported by
9839 Dr. Richard Hawkins.
9841 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9843 * paragraph_funcs.h: remove some unneeded includes
9845 * text.C (backspace): pasteParagraph now in global scipe
9847 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9848 (pasteSelection): ditto
9850 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9851 * paragraph_funcs.C (pasteParagraph): ... here
9853 2002-08-20 André Pönitz <poenitz@gmx.net>
9855 * commandtags.h: new LFUNs for swapping/copying table row/colums
9858 * lyxfunc.C: support for new lfuns
9860 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9863 * buffer.[Ch]: remove NO_COMPABILITY stuff
9865 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9867 * boost.C (throw_exception): new file, with helper function for
9868 boost compiled without exceptions.
9873 * ParameterStruct.h:
9874 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9876 * bufferlist.C (emergencyWriteAll): use boost bind
9878 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9880 * text.C: include paragraph_funcs.h
9881 (breakParagraph): breakParagraph is now in global scope
9883 * paragraph_funcs.[Ch]: new files
9885 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9888 * buffer.C: include paragraph_funcs.h
9889 (insertStringAsLines): breakParagraph is now in global scope
9891 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9894 * CutAndPaste.C: include paragraph_funcs.h
9895 (cutSelection): breakParagraphConservative is now in global scope
9896 (pasteSelection): ditto
9898 * buffer.h: declare oprator== and operator!= for
9899 Buffer::inset_iterator
9901 * bufferlist.C (emergencyWrite): don't use fmt(...)
9903 * text3.C: add using std::endl
9905 * BufferView.C (moveCursorUpdate): remove default arg
9907 2002-08-20 André Pönitz <poenitz@gmx.net>
9909 * buffer.[Ch]: move inline functions to .C
9912 * BufferView_pimpl.C:
9914 * buffer.[Ch]: use improved inset_iterator
9917 * paragraph.[Ch]: write one paragraph at a time
9919 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9921 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9922 style if style is not specified.
9924 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9926 * text2.C (setCounter): when searching for right label for a
9927 caption, make sure to recurse to parent insets (so that a caption
9928 in a minipage in a figure float works) (bug #568)
9930 2002-08-20 André Pönitz <poenitz@gmx.net>
9932 * text3.C: new file for LyXText::dispatch() and helpers
9934 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9936 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9938 2002-08-19 André Pönitz <poenitz@gmx.net>
9941 * text.C: new LyXText::dispatch()
9943 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9945 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9947 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9949 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9952 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9954 * Makefile.am: use $(variables) instead of @substitutions@
9956 2002-08-15 André Pönitz <poenitz@gmx.net>
9959 * BufferView_pimpl.C: streamlining mathed <-> outer world
9963 * LyXAction.C: remove unused LFUN_MATH
9965 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9967 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9969 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9971 * paragraph.C (Paragraph): reformat a bit
9972 (cutIntoMinibuffer): use builtin InsetList function instad of
9976 * buffer.C: include boost/bind.hpp, add using std::for_each
9977 (writeFileAscii): use ParagraphList iterators
9978 (validate): use for_each for validate traversal of paragraphs
9979 (getBibkeyList): use ParagraphList iterators
9980 (resizeInsets): use for_each to resizeInsetsLyXText for all
9982 (getParFromID): use ParagraphList iterators
9984 * BufferView2.C (lockInset): use paragraph list and iterators
9986 2002-08-14 John Levon <levon@movementarian.org>
9988 * lyxserver.C: remove spurious xforms include
9990 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9992 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9994 2002-08-13 André Pönitz <poenitz@gmx.net>
9997 * lyxfunc.C: further cleaning
9999 2002-08-13 André Pönitz <poenitz@gmx.net>
10001 * funcrequest.h: new constructor
10003 * funcrequest.C: move stuff here from .h
10006 * BufferView_pimpl.C:
10009 * lyxfunc.C: subsequent changes
10011 * lyxfunc.h: new view() member function
10013 * lyxfunc.C: subsequent changes
10015 2002-08-13 Angus Leeming <leeming@lyx.org>
10018 * BufferView_pimpl.C:
10026 changes due to the changed LyXView interface that now returns references
10027 to member variables not pointers.
10029 2002-08-13 Angus Leeming <leeming@lyx.org>
10031 * WordLangTuple (word, lang_code): return references to strings,
10036 * lyxtext.h: forward-declare WordLangTuple.
10041 * text.C: #include "WordLangTuple.h".
10044 * text.C: (selectNextWordToSpellcheck): constify return type.
10046 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10052 * paragraph_pimpl.h:
10055 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10056 suggested by Angus.
10057 Made updateCounter always count from start of buffer, and removed
10058 second argument (par).
10059 Reverted floats number display to '#'. Perhaps I'll try again when the
10060 code base is sanitized a bit.
10062 2002-08-12 Angus Leeming <leeming@lyx.org>
10064 * buffer.[Ch] (getLabelList): constify.
10066 2002-08-07 André Pönitz <poenitz@gmx.net>
10068 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10070 * funcrequest.h: extension to keep mouse (x,y) position
10072 2002-08-12 Juergen Vigna <jug@sad.it>
10074 * BufferView2.C (insertErrors): forbid undo when inserting error
10077 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10079 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10081 * ParagraphList.[Ch]: new files
10083 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10085 * BufferView2.C (lockInset): ParagraphList changes
10088 * bufferlist.C: ditto
10092 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10094 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10095 unused class variable counter_,
10097 * paragraph.[Ch] (getFirstCounter): delete unused function
10099 * counters.C: include LAssert.h
10100 (reset): add a new function with no arg, change other version to
10101 not have def. arg and to not allow empty arg.
10103 * text2.C (setCounter): remove empty arg from call to Counters::reset
10105 2002-08-11 John Levon <levon@movementarian.org>
10107 * Makefile.am: add WordLangTuple.h
10109 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10111 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10112 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10114 * insets/insettext.C: InsetList changes
10116 * graphics/GraphicsSupport.C (operator()): InsetList changes
10118 * toc.C (getTocList): InsetList changes
10120 * paragraph_pimpl.[Ch]: InsetList changes
10122 * paragraph.[Ch]: InsetList changes
10124 * buffer.C (inset_iterator): InsetList changes
10125 (setParagraph): ditto
10126 * buffer.h (inset_iterator): ditto
10127 * iterators.C (operator++): ditto
10128 * iterators.h: ditto
10130 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10132 * InsetList.[Ch]: new files, most InsetList handling moved out of
10135 * BufferView2.C (removeAutoInsets): InsetList changes
10137 (ChangeInsets): ditto
10139 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10141 * paragraph_pimpl.h (empty): new function
10143 * paragraph.[Ch] (empty): new function
10145 * other files: use the new Paragraph::empty function
10147 2002-08-09 John Levon <levon@movementarian.org>
10149 * lyxtext.h: remove unused refresh_height
10151 2002-08-09 John Levon <levon@movementarian.org>
10158 * paragraph.C: move sgml char escaping out of paragraph
10161 * paragraph.C: remove id setter
10165 * paragraph_pimpl.C: remove dead tex_code_break_column
10167 * bufferview_funcs.C: small cleanup
10169 * lyxfunc.C: remove dead proto
10171 * lyxtext.h: make some stuff private. Remove some dead stuff.
10173 * lyxgluelength.C: make as[LyX]String() readable
10175 2002-08-08 John Levon <levon@movementarian.org>
10180 * ToolbarDefaults.C:
10183 * toc.C: lyxaction cleanup
10185 2002-08-08 John Levon <levon@movementarian.org>
10187 * BufferView2.C: small cleanup
10190 * lyxfind.C: move unnecessary header into the .C
10192 2002-08-08 John Levon <levon@movementarian.org>
10194 * funcrequest.h: just tedious nonsense
10197 * lyx_main.C: cleanups
10200 * vspace.C: remove dead header lyx_main.h
10202 2002-08-07 Angus Leeming <leeming@lyx.org>
10205 * paragraph_pimpl.h:
10206 Forward declare class Counters in paragraph.h by moving the ctrs member
10207 variable into Paragraph::Pimpl.
10208 (counters): new method, returning a reference to pimpl_->ctrs.
10210 * text2.C: ensuing changes.
10212 2002-08-07 John Levon <levon@movementarian.org>
10214 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10216 * BufferView_pimpl.C: announce X selection on double/triple
10219 * lyx_main.C: use correct bool in batch dispatch
10221 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10223 2002-08-07 André Pönitz <poenitz@gmx.net>
10225 * funcrequest.h: new class to wrap a kb_action and its argument
10228 * BufferView_pimpl[Ch]:
10232 * lyxrc.C: subsequent changes
10235 2002-08-07 John Levon <levon@movementarian.org>
10237 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10238 document options change.
10240 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10245 * makefile.am: move counters functionality over from
10246 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10248 2002-08-06 John Levon <levon@movementarian.org>
10250 * WordLangTuple.h: new file for word + language code tuple
10261 * BufferView2.C: use WordLangTuple
10264 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10266 2002-08-06 John Levon <levon@movementarian.org>
10268 * lyx_main.C: fix cmdline batch handling
10270 2002-08-06 André Pönitz <poenitz@gmx.net>
10272 * lyxrc.C: set default for show_banner to true
10274 2002-08-06 John Levon <levon@movementarian.org>
10276 * pspell.C: fix a crash, and allow new aspell to work
10278 2002-08-06 John Levon <levon@movementarian.org>
10281 * kbmap.C: small cleanup
10284 * vspace.C: add const
10286 2002-08-05 John Levon <levon@movementarian.org>
10288 * LyXAction.C: back to tabular-insert
10290 2002-08-04 John Levon <levon@movementarian.org>
10293 * BufferView.C: cosmetic change
10295 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10305 * BufferView2.C: purge all "Lyx" not "LyX" strings
10308 * lyxcursor.C: attempt to add some documentation
10313 * ToolbarDefaults.C:
10314 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10315 merge with LFUN_TABULAR_INSERT
10322 * pspell.C: split up i/pspell implementations into separate
10323 files, many cleanups
10325 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10327 * text2.C: some cleanup
10329 * lyxfunc.C: don't check for isp_command == "none" any more, it
10330 didn't make any sense
10332 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10337 * makefile.am: move counters functionality over
10338 from text2.C/paragraph.[Ch] to counters.[Ch], and
10340 2002-08-02 John Levon <levon@movementarian.org>
10342 * buffer.C: s/lyxconvert/lyx2lyx/
10344 2002-08-02 Angus Leeming <leeming@lyx.org>
10346 * lyxlex.C: revert John's change as it breaks reading of the user
10349 2002-08-02 Angus Leeming <leeming@lyx.org>
10351 * importer.C (Import):
10352 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10353 changes due to LyXView::view() now returning a boost::shared_ptr.
10355 2002-08-02 John Levon <levon@movementarian.org>
10357 * lyxlex.C: small cleanup
10359 2002-08-02 John Levon <levon@movementarian.org>
10361 * text2.C (status): small cleanup, no logic change
10363 2002-08-01 John Levon <levon@movementarian.org>
10366 * buffer.C (writeFile): don't output alerts, caller
10370 * lyx_cb.C: from above
10372 * lyxfunc.C: allow to open non-existent files
10374 2002-07-31 John Levon <levon@movementarian.org>
10376 * lyxserver.C: don't let incidental errors get
10379 2002-07-30 John Levon <levon@movementarian.org>
10381 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10383 2002-07-30 John Levon <levon@movementarian.org>
10386 * lyxserver.C: remove I/O callback too
10388 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10390 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10393 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10395 * many files: strip,frontStrip -> trim,ltrim,rtrim
10397 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10399 * PrinterParams.h: remove extern containsOnly, and include
10400 support/lstrings.h instead.
10402 * LaTeX.C (scanAuxFile): modify because of strip changes
10404 * buffer.C (makeLaTeXFile): ditto
10405 * bufferparams.C (writeFile): ditt
10406 * lyxfont.C (stateText): ditto
10407 * lyxserver.C (read_ready): ditto
10408 * vc-backend.C (scanMaster): ditto
10410 * BufferView_pimpl.h: ws changes
10412 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10414 2002-07-26 André Pönitz <poenitz@gmx.net>
10416 * kb_sequence.C: remove unnedred usings
10418 2002-07-26 Juergen Vigna <jug@sad.it>
10420 * lyxfind.C (LyXReplace): we have to check better if the returned
10421 text is not of theLockingInset()->getLockingInset().
10423 2002-07-25 Juergen Vigna <jug@sad.it>
10425 * lyxfind.C (LyXReplace): don't replace if we don't get the
10428 * undo_funcs.C (createUndo): remove debugging code.
10430 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10432 * buffer.C (parseSingleLyXformat2Token): Use default placement
10433 when reading old floats.
10435 * FloatList.C (FloatList): Change the default placement of figure
10436 and tables to "tbp".
10438 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10440 * MenuBackend.C: using std::max
10442 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * MenuBackend.C (expandToc):
10445 (expandToc2): code moved from xforms menu frontend. It is now
10446 generic and TOCs are transparent to menu frontends.
10448 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10450 * toc.C (getTocList): protect against buf=0
10452 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10453 Menu as first parameter. Now, this calls itself recursively to
10454 expand a whole tree (this will be useful for TOC handling)
10455 (expandFloatInsert): remove 'wide' version of floats
10457 * MenuBackend.h (submenuname): returns the name of the submenu.
10458 (submenu): returns the submenu itself, provided it has been
10459 created by MenuBackend::expand
10461 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10463 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10464 insets which have noFontChange == true. (bug #172)
10466 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10468 * BufferView_pimpl.C: add connection objects and use them...
10471 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10473 * MenuBackend.C (expandLastfiles):
10476 (expandFloatListInsert):
10477 (expandFloatInsert):
10478 (expand): split expand in parts
10480 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10482 * lyx_gui.C: use lyx_gui::exit()
10484 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10486 * LyXAction.C: show the failing pseudo action
10488 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10490 * buffer.C (readFile): Run the lyxconvert script in order to read
10493 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10497 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10499 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10503 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10505 2002-07-22 Herbert Voss <voss@lyx.org>
10508 * lyxlength.[Ch]: add support for the vertical lengths
10510 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10512 * toc.[Ch]: std:: fixes
10514 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10516 * lyxrc.C: do not include lyx_main.h
10518 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10524 * BufferView2.C: include "lyxlex.h"
10527 * bufferparams.h: do not #include "lyxlex.h"
10529 * lyxtextclasslist.C (Add): remove method
10530 (classlist): renamed to classlist_
10532 * paragraph_pimpl.C:
10536 * bufferview_funcs.C:
10541 * toc.C (getTocList): use BufferParams::getLyXTextClass
10543 * toc.C (getTocList): use InsetFloat::addToToc
10545 * toc.[Ch]: new files, containing helper functions to handle table
10548 * lyxfunc.C (dispatch): no need to remove spaces around command
10550 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10551 first command of the sequence; it is not very clever, but I do not
10552 have a better idea, actually
10554 * LyXAction.C (LookupFunc): make sure to remove space at the
10555 beginning and end of the command
10557 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * MenuBackend.C (getMenubar): new method: return the menubar of
10561 (read): treat differently reading of menu and menubar (in
10562 particular, the menubar has no name now)
10563 (Menu::menubar): remove
10565 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10568 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10570 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10571 a bibitem inset in a RTL paragraph.
10573 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10575 * paragraph_pimpl.C: constify
10577 * BufferView_pimpl.C:
10579 * lyxfunc.C: fix dispatch in a nicer way
10581 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10583 * lyxfunc.C (dispatch):
10584 * BufferView_pimpl.C:
10585 * BufferView_pimpl.h:
10587 * BufferView.h: rename Dispatch() to dispatch()
10589 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10591 * lyxlayout.C (Read): honor DependsOn tag
10593 * lyxlayout.[Ch] (depends_on): new method
10595 * version.C.in: update lyx_docversion
10597 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10599 * paragraph.C (validate): remove from here...
10600 * paragraph_pimpl.C (validate): ... and move here
10601 (isTextAt): make it const
10603 * buffer.C (getLists): ws cleanup
10605 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10607 * language.C (read): Use iso8859-1 encoding in latex_lang
10608 (this prevents LyX from crashing when using iso10646-1 encoding).
10610 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10612 * text2.C (toggleInset): if cursor is inside an inset, close the
10613 inset and leave cursor _after_ it
10615 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10617 * lyxfunc.C: move minibuffer completion handling out of here
10619 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10621 * BufferView_pimpl.C:
10622 * LaTeX.C: fix dispatch calls
10624 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10626 * text.C (drawChars): Fix Arabic text rendering.
10628 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10632 * lyxfunc.C: remove message-push/pop
10636 * lyxfunc.C: rationalise some code by removing verboseDispatch
10637 in favour of a bool argument to dispatch()
10639 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10641 * lyx_main.C (init): make sure to read symlinks as absolute paths
10643 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10646 * lyxfunc.C: no need for commandshortcut to be a member
10648 2002-07-15 André Pönitz <poenitz@gmx.net>
10650 * converter.C: add support for $$s (scripts from lib/scripts dir)
10651 * lyx_main.C: white space
10653 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10657 * lyxrc.C: remove second exit confirmation
10659 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10664 * BufferView_pimpl.h:
10665 * BufferView_pimpl.C:
10666 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10668 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10670 * MenuBackend.C (expand): add numeric shortcuts to document menu
10672 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10674 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10676 * lyxfont.C (setLyXFamily):
10683 * buffer.C (asciiParagraph): use ascii_lowercase
10685 2002-07-15 Mike Fabian <mfabian@suse.de>
10687 * lyxlex_pimpl.C (search_kw):
10688 * lyxlex.C (getLongString):
10689 * converter.h (operator<):
10690 * converter.C (operator<):
10691 * buffer.C (parseSingleLyXformat2Token):
10693 * ToolbarDefaults.C (read):
10694 * MenuBackend.C (checkShortcuts):
10696 * LColor.C (getFromGUIName):
10697 (getFromLyXName): use the compare_ascii_no_case instead of
10698 compare_no_case, because in turkish, 'i' is not the lowercase
10699 version of 'I', and thus turkish locale breaks parsing of tags.
10701 2002-07-16 Angus Leeming <leeming@lyx.org>
10703 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10704 now takes a Buffer const & argument.
10706 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10708 * BufferView.C (resize): check there's a buffer to resize
10710 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10712 * lyxfunc.C: remove dead code
10715 * lyxserver.C: use lyx_guii::set_read_callback
10717 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10719 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10720 an inset in a RTL paragraph.
10722 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10724 * lyxfunc.C: repaint after a font size update
10726 2002-07-15 André Pönitz <poenitz@gmx.net>
10728 * lyxlength.C: inBP should be able to return negative values
10730 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10732 * lyxfunc.C: use lyx_gui::update_fonts()
10734 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10736 * lyxfunc.C: use lyx_gui::update_color()
10738 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10744 * lyxrc.C: remove file->new asks for name option, and let
10745 buffer-new take an argument
10747 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10749 * BufferView_pimpl.C: remove unneeded extra repaint()
10751 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10753 * LyXAction.C: allow command-sequence with NoBuffer
10755 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10757 2002-07-10 Angus Leeming <leeming@lyx.org>
10759 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10761 2002-07-09 Angus Leeming <leeming@lyx.org>
10763 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10765 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10767 * lengthcommon.h: whitespace
10769 * lyxfunc.C: update scrollbar after goto paragraph
10771 * lyxtext.h: factor out page break drawing, and fix it so
10772 page break/added space paints as selected nicely
10774 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10776 * BufferView_pimpl.C: add FIXMEs, clean up a little
10778 2002-07-09 André Pönitz <poenitz@gmx.net>
10780 * lyxfont.[Ch]: support for wasy symbols
10782 2002-07-08 André Pönitz <poenitz@gmx.net>
10784 * BufferView_pimpl.C: apply John's patch for #93.
10786 2002-07-05 Angus Leeming <leeming@lyx.org>
10788 * BufferView_pimpl.C (buffer): generate previews if desired.
10790 * LColor.h: add "preview" to the color enum.
10792 * LColor.C (LColor): add a corresponding entry to the items array.
10794 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10797 2002-07-05 Angus Leeming <leeming@lyx.org>
10799 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10800 The body of the code is now in the method that is passed an ostream &
10801 rather than a file name.
10802 Pass an additional only_preamble parameter, useful for the forthcoming
10805 2002-07-03 André Pönitz <poenitz@gmx.net>
10807 * lyxfunc.C: simplify getStatus() a bit for math stuff
10809 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10811 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10813 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * text.C (changeRegionCase): do not change case of all the
10816 document when region ends at paragraph end (bug #461)
10818 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10820 * paragraph.C (startTeXParParams):
10821 (endTeXParParams): add \protect when necessary
10823 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10825 * BufferView_pimpl.C (workAreaExpose): remove warning
10827 2002-06-27 Angus Leeming <leeming@lyx.org>
10829 * Makefile.am: add lyxlayout_ptr_fwd.h.
10831 2002-06-26 André Pönitz <poenitz@gmx.net>
10833 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10835 2002-06-25 Angus Leeming <leeming@lyx.org>
10837 * lyxfunc.C (dispatch): Comment out the call to
10838 grfx::GCache::changeDisplay. The method no longer exists now that the
10839 pixmap generation part of the graphics loader has been moved into
10842 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * text2.C: layout as layout
10846 * text.C: layout as layout
10848 * tabular.C (OldFormatRead): layout as layout
10850 * paragraph_pimpl.C (TeXDeeper): layout as layout
10851 (realizeFont): layout as layout
10853 * paragraph.C (writeFile): layout as layout
10854 (validate): layout as layout
10855 (getFont): layout as layout
10856 (getLabelFont): layout as layout
10857 (getLayoutFont): layout as layout
10858 (breakParagraph): layout as layout
10859 (stripLeadingSpaces): layout as layout
10860 (getEndLabel): layout as layout
10861 (getMaxDepthAfter): layout as layout
10862 (applyLayout): layout as layout
10863 (TeXOnePar): layout as layout
10864 (simpleTeXOnePar): layout as layout
10865 (TeXEnvironment): layout as layout
10866 (layout): layout as layout
10867 (layout): layout as layout
10869 * lyxtextclass.C (compare_name): new functor to work with
10870 shared_ptr, layout as layout
10871 (Read): layout as layout
10872 (hasLayout): layout as layout
10873 (operator): layout as layout
10874 (delete_layout): layout as layout
10875 (defaultLayout): layout as layout
10877 * lyxlayout_ptr_fwd.h: new file
10879 * lyxlayout.C (Read): layout as layout
10881 * lyx_cb.C (MenuInsertLabel): layout as layout
10883 * bufferlist.C (newFile): layout as layout
10885 * buffer.C (readLyXformat2): layout as layout
10886 (parseSingleLyXformat2Token): layout as layout
10887 (insertStringAsLines): layout as layout
10888 (asciiParagraph): layout as layout
10889 (latexParagraphs): layout as layout
10890 (makeLinuxDocFile): layout as layout
10891 (simpleLinuxDocOnePar): layout as layout
10892 (makeDocBookFile): layout as layout
10893 (simpleDocBookOnePar): layout as layout
10894 (getLists): layout as layout
10896 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10898 * CutAndPaste.C (cutSelection): layout as layout
10899 (pasteSelection): layout as layout
10900 (SwitchLayoutsBetweenClasses): layout as layout
10902 * BufferView_pimpl.C (Dispatch): layout as layout
10903 (smartQuote): layout as layout
10905 * BufferView2.C (unlockInset): layout as layout
10907 2002-06-24 André Pönitz <poenitz@gmx.net>
10909 * lyxfunc.C: fix #487
10911 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10915 * lyxfunc.C: remove display_shortcuts, show_banner
10917 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10919 * Buffer_pimpl.C: oops, update on resize
10921 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10928 * BufferView.C: use repaint()
10930 * BufferView_pimpl.h:
10931 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10932 as it's a clearer description. Remove superfluous
10935 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10937 * text.C: fix bug 488. Not ideal, but getting
10938 getWord() to work properly for the insets that
10939 matter is more difficult ...
10941 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10943 * BufferView_pimpl.C:
10946 * lyxfunc.C: remove the six million index lyxfuncs to just
10947 one, and DTRT (bug 458)
10949 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10953 * BufferView_pimpl.h:
10954 * BufferView_pimpl.C: clean up resize() stuff,
10955 and unnecessary updateScreen()s
10957 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10961 * BufferView_pimpl.h:
10962 * BufferView_pimpl.C:
10965 * minibuffer.C: remove focus management of workarea,
10966 not needed. Use screen's greyOut()
10968 2002-06-17 Herbert Voss <voss@lyx.org>
10970 * converter.C: (convert) do not post a message, when converting
10971 fails, let the calling function decide what to do in this case
10973 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10975 * lyxfunc.C: tidy up a little
10977 2002-06-16 <alstrup@diku.dk>
10979 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10980 Got rid of FORMS_H_LOCATION include. Now we are
10983 2002-06-15 LyX Development team <lyx@rilke>
10985 * buffer.[Ch] (sgmlOpenTag):
10986 (sgmlCloseTag): Added support for avoiding pernicious mixed
10987 content. Return number of lines written.
10989 (makeLinuxDocFile):
10990 (makeDocBookFile): Fixed calls to sgml*Tag.
10991 Simple white space clean.
10993 (simpleDocBookOnePar): Simple white space clean.
10995 * tabular.[Ch] (docBook): Renamed to docbook and got another
10996 argument to related with the pernicious mixed content.
10998 (docbookRow): Fixed calls for docbook inset method.
11000 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11002 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11003 so it's X11 independent.
11007 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11009 2002-06-15 Lyx Development team <lyx@electronia>
11011 * intl.h: Renamed getTrans to getTransManager.
11013 2002-06-14 Angus Leeming <leeming@lyx.org>
11015 * Makefile.am: nuke forgotten stl_string_fwd.h.
11017 2002-06-12 Angus Leeming <leeming@lyx.org>
11019 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11021 2002-06-13 Angus Leeming <leeming@lyx.org>
11024 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11026 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11028 * kbmap.C (getiso): add support for cyrillic and greek
11030 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11034 * BufferView_pimpl.h:
11035 * BufferView_pimpl.C: move bogus scrolling logic
11038 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11041 * BufferView_pimpl.C: view->resize() change
11043 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11045 * BufferView_pimpl.C: topCursorVisible
11048 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11052 * lyx_gui.C: move to frontends/
11056 * lyx_main.C: changes from above
11058 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11065 * lyx_main.C: minor tidy
11067 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11069 * BufferView_pimpl.h:
11070 * BufferView_pimpl.C:
11072 * BufferView.C: make painter() const,
11075 * BufferView2.C: use screen() accessor
11078 * lyx_main.C: some minor cleanup
11080 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11082 * BufferView_pimpl.h:
11083 * BufferView_pimpl.C: remove enter/leaveView,
11086 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11091 * BufferView_pimpl.h:
11092 * BufferView_pimpl.C: only construct screen once,
11095 * lyxrc.C: remove pointless comment
11097 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11100 * BufferView.C: remove active() and belowMouse()
11102 * BufferView_pimpl.h:
11103 * BufferView_pimpl.C: use workarea() not workarea_,
11104 and make it use a scoped_ptr instead
11106 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11108 * lyx_gui.C: add debug message on BadWindow
11110 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11112 * sp_spell.C: fdopen is not part of the C++ standard.
11114 * paragraph.C (InsetIterator): use >= instead of ==
11116 2002-06-07 Angus Leeming <leeming@lyx.org>
11118 Fixes needed to compile with Compaq cxx 6.5.
11119 * BufferView_pimpl.C:
11126 * lyxtextclasslist.C:
11131 all c-library variables have been moved into namespace std. Wrap
11132 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11137 Add a using std::abs declaration.
11139 * kbmap.h (modifier_pair):
11140 * paragraph.h (InsetTable, InsetList):
11141 * lyxfont.h (FontBits):
11142 type definition made public.
11144 * bufferlist.C (emergencyWriteAll): the compiler complains that
11145 there is more than one possible lyx::class_fun template to choose from.
11146 I re-named the void specialisation as lyx::void_class_fun.
11148 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11150 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11151 the compiler is is unable to find tostr in write_attribute.
11153 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11155 * buffer.C (sgmlError): hide #warning
11157 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11159 * xtl/*: get rid of xtl, which is not in use anyway
11161 * LyXAction.C (init):
11162 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11163 were unimplemented xtl experimentation
11165 2002-06-04 André Pönitz <poenitz@gmx.net>
11167 * lyxfunc.C: disable array operation on simple formulae
11169 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11171 * converter.C: constify a bit
11173 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11175 * lyx_gui.C: check xforms version correctly
11177 2002-04-30 Herbert Voss <voss@lyx.org>
11179 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11182 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11184 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11185 attempt to register it with a VCS)
11187 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11189 * lyx_main.C (init): honor variables LYX_DIR_13x and
11192 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11196 * lyx_main.C: fix a crash on bad command line,
11197 and give a useful exit status on error
11199 * lyxfunc.C (doImport): allow -i lyx to work
11201 2002-03-30 André Pönitz <poenitz@gmx.net>
11203 * lyxfunc.C: mathed font changes
11205 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11220 * trans_mgr.h: srcdocs, and some minor cleanups
11222 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11224 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11225 call getFont all the time)
11227 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11229 * switch from SigC signals to boost::signals
11231 2002-05-29 André Pönitz <poenitz@gmx.net>
11233 * paragraph_pimpl.C (getChar): don't call size() too often...
11235 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11237 * paragraph_pimpl.C (insertChar): do not try to update tables when
11238 appending (pos == size())
11240 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11241 in order to reduce drastically the number of comparisons needed to
11242 parse a large document
11244 2002-05-29 André Pönitz <poenitz@gmx.net>
11250 * textclasslist.[Ch]:
11251 * sp_ispell.h: whitespace change
11253 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11255 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11256 lyxaction directly now.
11258 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11262 * lyxvc.C: remove unused headers
11264 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11271 * undo_funcs.C: some cleanups. Use shared_ptr
11272 and a template for the undo stacks.
11274 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11276 * BufferView_pimpl.h:
11277 * BufferView_pimpl.C:
11284 * text2.C: use key_state/mouse_state
11286 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11288 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11291 * chset.C: change include order
11292 (loadFile): use boost regex and get rid of LRegex and LSubstring
11294 * Makefile.am (BOOST_LIBS): new variable
11295 (lyx_LDADD): use it
11297 * LaTeX.C: change include order.
11298 (scanAuxFile): use boost regex and get rid of LRegex and
11302 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11307 * FontInfo.C: moved to frontends/xforms/
11310 * FontLoader.C: moved into frontends for GUIIzation
11315 * lyxfunc.C: changes from above
11317 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11319 * LColor.C: remove spurious X include
11321 * BufferView_pimpl.C:
11326 * text2.C: move font metrics to frontends/
11328 2002-05-24 Juergen Vigna <jug@sad.it>
11330 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11331 setting the undo_cursor.
11333 * ParagraphParameters.h: include local includes first.
11335 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11337 * BufferView_pimpl.C:
11338 * BufferView_pimpl.h:
11342 * screen.C: move WorkArea into frontends/
11348 * BufferView2.C: move LyXScreen into frontends/
11352 * lyx_gui.C: move lyxlookup into frontends/xforms/
11354 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11357 * BufferView_pimpl.C:
11367 * bufferview_funcs.C:
11380 * vc-backend.C: move LyX/XFormsView into frontends/
11382 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11394 * text2.C: move Painter to frontends/
11396 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11398 * buffer.C: comment out some some code that depend upon lyx_format
11401 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11402 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11404 * buffer.h (NO_COMPABILITY): turn off compability
11406 * ColorHandler.C: include scoped_array.hpp
11408 * font.C: Use more specific smart_ptr header.
11411 * ShareContainer.h: ditto
11412 * lyx_main.h: ditto
11414 * FontInfo.h: ditto
11415 * BufferView_pimpl.h: ditto
11416 * ColorHandler.h: ditto
11418 * kbmap.C (defkey): change call to shared_ptr::reset
11420 2002-05-21 Juergen Vigna <jug@sad.it>
11422 * buffer.C (insertErtContents): fix to insert ert asis if it is
11423 non empty. Skip it completely if it contains only whitespaces.
11425 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11427 * BufferView_pimpl.C:
11428 * BufferView2.C: clear selection on paste (bug 393)
11430 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11432 * DepTable.C: include ctime
11434 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11436 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11438 2002-05-14 Juergen Vigna <jug@sad.it>
11440 * text.C (breakParagraph): fixed function to honor the keepempty
11441 layout in the right maner and also to permit the right breaking
11442 algorithm on empty or non empyt keepempty paragraphs.
11444 * paragraph.C (breakParagraph): we have to check also if the par
11445 is really empty (!size()) for isempty otherwise we do the wrong
11448 2002-05-10 Juergen Vigna <jug@sad.it>
11450 * buffer.[Ch] : The following are only changes to the ert
11451 compatibility read reading old LaTeX layout and font stuff and
11452 convert it to ERTInsets.
11454 * buffer.h: added isErtInset().
11456 * buffer.C (struct ErtComp): add a fromlayout bool to check
11457 if we're inside a LaTeX layout.
11458 (isErtInset): new helper function.
11459 (insertErtContents): look for other ert insets before this one
11460 and insert the contents there, so that we don't have subsequent
11461 ERT insets with nothing between them. This way we create only one
11462 inset with multiple paragraphs. Also check if we don't insert only
11463 spaces ' ' as they are ignored anyway afterwards in the .tex file
11464 so if we have only spaces we will ignore this latex part in the
11466 (parseSingleLyXformat2Token \\layout): better compatibility when
11467 reading layout-latex stuff.
11468 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11470 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11471 stuff after reading the inset only get the information back from
11474 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11476 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11478 * LaTeXFeatures.C (getBabelOptions): New method.
11480 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11482 * BufferView_pimpl.C (Dispatch): work around missing argument for
11485 2002-05-08 Juergen Vigna <jug@sad.it>
11487 * text.C (leftMargin): handle paragraph leftindent.
11489 * paragraph.C (writeFile): write the new \\leftindent tag.
11490 (validate): handle leftindent code.
11491 (TeXEnvironment): handle paragraphleftindent code again.
11493 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11495 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11496 for paragrap_extra indent code and new token \\leftindent.
11497 (latexParagraphs): handle the leftindent as environment.
11499 * ParameterStruct.h: added leftindent support.
11501 * ParagraphParameters.C (leftIndent): added support functions for
11502 the paragraph left indent.
11504 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11507 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11509 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11512 * text.C (computeBidiTables): No bidi in insetERT.
11514 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11517 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * version.C.in: pre 5
11521 2002-05-02 José Matos <jamatos@fep.up.pt>
11522 * buffer.C (makeDocBookFile): white space changes, add newline to
11524 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11526 * tabular.C (docBook): fix typo.
11528 2002-05-03 Juergen Vigna <jug@sad.it>
11530 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11531 change in LyXText as we can not be sure it was not freed.
11532 (drawOneRow): remove unused code.
11534 * text.C (drawInset): redo the calculation of the need_break_row as
11535 it could have a row which was already freed.
11536 (draw): look at the return value of drawInset and return false if
11537 it also returned false.
11538 (paintRowText): look at the return value of draw and return false if
11539 it also returned false.
11541 * lyxtext.h: added bool return type to drawInset() and draw() so that
11542 if we have a change in the row so that the rowbreak has to be redone
11543 we abort drawing as it will be called again.
11545 2002-05-02 Juergen Vigna <jug@sad.it>
11547 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11548 a change in the maintext also if we're inside an inset.
11549 (Dispatch): set the cursor again after a break line and after the
11550 screen has been updated as it could be we're in a different row.
11552 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11553 to set the cursor behind the pargraph with > size().
11554 (setCursor): check also for the same paragraph when checking where
11555 to put the cursor if we have a NFR inset.
11557 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11558 parts of layout read further up as it still was in the wrong
11561 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11563 * screen.C (drawFromTo): change sine fullRebreak always return
11566 * buffer.C (parseSingleLyXformat2Token): reindent some
11568 * BufferView_pimpl.C (update): change since fullRebreak always
11570 (Dispatch): git rid of the last hardcoded "Standard"s.
11572 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11574 * text2.[Ch] (fullRebreak): make it return void now that we always
11577 2002-04-30 Juergen Vigna <jug@sad.it>
11579 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11580 ert compatibility check for "latex" layout.
11582 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11584 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11585 minipages: use col% instead of p%, and also use the current font.
11586 (makeLaTeXFile): Fix use babel condition.
11587 (parseSingleLyXformat2Token): Correct font when reading old floats.
11589 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11591 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11592 inserting list of floats.
11594 2002-04-25 Herbert Voss <voss@lyx.org>
11596 * MenuBackend.C (expand): don't add the graphics extensions to the
11599 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11601 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11602 non-existing layout, do not complain if it was the default layout
11603 of the original class (bug #342)
11605 2002-04-24 Juergen Vigna <jug@sad.it>
11607 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11608 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11610 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11612 * buffer.C (getBibkeyList): If using \bibliography, return the
11613 option field with the reference itself. Enables us to provide natbib
11614 support when using \bibliography.
11616 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11618 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11620 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11621 natbib is provided by the LaTeX class.
11623 2002-04-23 Juergen Vigna <jug@sad.it>
11625 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11628 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11630 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11632 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11634 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11635 ensuremath around textordmasculine, textordfeminine and
11638 2002-04-19 Juergen Vigna <jug@sad.it>
11640 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11641 reinitializing the buffer otherwise row-dimensions may be wrong.
11642 (update): reset also the selection cursors if they do exits otherwise
11643 their x/y positions may be wrong.
11645 * text2.C (cursorDown): don't enter the inset if we came from a row
11646 above and are one row over the inset.
11648 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11649 really leaving an inset.
11651 2002-04-18 Juergen Vigna <jug@sad.it>
11653 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11654 of the selected paragraph does not have the selected layout also if
11657 * text2.C (setLayout): fixed bug which did not change last selected
11660 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11661 changed the read and substituted \\end_float with \\end_inset!
11663 * BufferView_pimpl.C (cursorPrevious):
11664 (cursorNext): fixed to make it work with rows heigher than the work
11665 area without moving the cursor only the draw of the row.
11666 (workAreaMotionNotify): fix jumping over high rows.
11668 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11673 2002-04-16 Juergen Vigna <jug@sad.it>
11675 * text2.C (setCursor): set also the irow().
11676 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11678 (cursorDown): support for locking an inset if the x_fix value goes
11679 inside it. That way I can transverse insets too with cursor up/down.
11681 * lyxrow.h: added irow helper function same as other (i) functions.
11683 * BufferView_pimpl.C (cursorPrevious):
11684 (cursorNext): fixed for insets!
11686 2002-04-15 Juergen Vigna <jug@sad.it>
11688 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11689 position otherwise it is wrong in some cases.
11691 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11692 inside the inset before the call.
11694 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11696 * buffer.[Ch] (getBibkeyList): make it const.
11698 2002-04-12 Juergen Vigna <jug@sad.it>
11700 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11702 * text2.C (getCursorX): new helper function
11703 (setCursor): compute also ix_
11704 (setCursorFromCoordinates): set also ix.
11706 * lyxcursor.h: added ix_ and helper functions.
11708 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11710 * buffer.C (insertStringAsLines): dont break paragraph if the this
11711 paragraph is inside an inset which does not permit it!
11713 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11714 also with no chars on this paragraph.
11715 (paintRowText): only paint stuff if it's inside the workarea!
11717 * paragraph.C (breakParagraph): honor keepempty flag and break the
11718 paragraph always below not above.
11720 * BufferView2.C (unlockInset): update the paragraph layout on inset
11721 unlock as we changed paragraph in such a case.
11723 * lyxfind.C (LyXFind): clear the former selection if not found!
11725 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11726 again called in insertChar().
11728 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11729 an inset which uses the whole row!
11730 (rightMargin): ditto.
11731 (insertChar): force a rebreak if we inserted an inset!
11733 2002-03-28 Herbert Voss <voss@lyx.org>
11735 * lyxlength.[Ch]: add inBP() to get the right PS-point
11736 units (BigPoint). With inPixels we have rounding errors
11738 2002-04-11 Juergen Vigna <jug@sad.it>
11740 * text2.C (setCursorFromCoordinates): set iy to the right value.
11741 (setCursor): add check if row->previous exists!
11743 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11744 an old float_type as this was the case in the old code!
11746 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11748 * BufferView2.C (showLockedInsetCursor): use iy
11749 (fitLockedInsetCursor): ditto
11751 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11752 locked insets as there we have the right value now.
11754 * lyxcursor.C: added iy_ variable and iy functions to set to the
11755 baseline of cursor-y of the locked inset.
11757 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11758 (setCursor): fixed for insets which need a full row.
11760 * text.C (rowLastPrintable): don't ignore the last space when before
11761 an inset which needs a full row.
11762 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11763 as last character of a row when before a inset which needs a full row.
11765 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11767 * version.C.in: update date
11769 * text2.C (fullRebreak): try to always return true and see what
11772 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * MenuBackend.C (expand): use Floating::listName
11776 * FloatList.C (FloatList): add listName argument to the built-in
11779 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11780 text associated with the float.
11782 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11784 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11786 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11788 * ShareContainer.h: add a couple of missing typenames.
11790 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11792 * lyxrc.C (getDescription): use _() correctly rather than N_().
11794 2002-03-28 Herbert Voss <voss@lyx.org>
11796 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11797 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11799 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11802 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11804 2002-03-29 Juergen Vigna <jug@sad.it>
11806 * lyxfunc.C (dispatch): add a missing fitCursor call.
11808 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11809 it was scrolled by a cursor move, so return the bool status.
11811 * BufferView.C (fitCursor): return the bool flag also to the outside
11812 world as this is needed.
11814 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11816 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11817 call the edit() as it is not needed (and wrong) IMO.
11818 (workAreaButtonPress): set the screen_first variable before evt.
11819 unlock the inset as this may change screen_first and then we have
11820 a wrong y position for the click!
11822 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11824 * MenuBackend.C (expand): another translation that I missed
11826 2002-03-28 Juergen Vigna <jug@sad.it>
11828 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11830 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11832 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11834 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11836 * MenuBackend.C (expand): fix export/view/update when there is no
11839 2002-03-27 Herbert Voss <voss@lyx.org>
11841 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11844 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11846 * bufferview_funcs.C (currentState): only show paragraph number
11847 for is DEVEL_VERSION is set.
11849 * lyxfunc.C (dispatch): put warning in INFO channel
11851 * MenuBackend.C (expand): translate the name of floats
11853 * FloatList.C (FloatList): mark the float names for translation
11855 * converter.C (convert): use LibScriptSearch
11857 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11859 * MenuBackend.C (defaults): fix default menu (we might as well get
11862 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11864 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11867 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11869 * lyxvc.C: reorder includes.
11871 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11873 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11876 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11878 * CutAndPaste.C: change layouts earlier on paste
11879 to avoid crashing when calling getFont()
11881 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11883 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11886 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11888 * WorkArea.C: remove 'Pending' debug message.
11890 * most files: ws cleanup
11892 * buffer.[Ch]: ws changes
11894 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11896 2002-03-21 Juergen Vigna <jug@sad.it>
11898 * tabular.C (SetMultiColumn): collapse also the contents of the
11899 cells and set the last border right. Added a Buffer const * param.
11901 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11906 2002-03-19 Juergen Vigna <jug@sad.it>
11908 * text2.C (clearSelection): reset also xsel_cache.
11910 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11911 where it needs to be called (John tells us to do so too :)
11912 (selectionLost): reset sel_cache.
11914 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11916 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11918 * text2.C (setCursorIntern): put debuging code in INSETS channel
11920 2002-03-19 André Pönitz <poenitz@gmx.net>
11922 * lyxfunc.C: tiny whitespace change
11924 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11926 * ToolbarDefaults.C (init):
11927 * LyXAction.C (init):
11929 * BufferView_pimpl.C (Dispatch):
11930 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11932 2002-03-19 Allan Rae <rae@lyx.org>
11934 * exporter.C (Export): removeAutoInsets before doing anything else.
11935 While I've just introduced a dependency on BufferView this really is
11936 the best place to clean the buffer otherwise you need to cleanup in
11937 a dozen places before calling export or cleanup in a dozen functions
11940 * converter.C (runLaTeX):
11941 (scanLog): Better handling of removeAutoInsets and screen updates.
11943 * lyxfunc.C (dispatch): small whitespace changes
11945 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * WorkArea.C (C_WorkAreaEvent): return a value.
11948 (event_cb): return 1 if we handled the event, 0 otherwise.
11950 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11952 2002-03-18 Juergen Vigna <jug@sad.it>
11954 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11955 (GetAdditionalWidth): ditto.
11956 (RightLine): ditto.
11959 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11960 inset if we're there actually (probably not used right now but this
11961 is the direction to go for unifying code).
11962 (paste): disable code to clear the selection.
11964 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11965 inside an InsetText and move the check further up as it is in the
11968 * text2.C (pasteSelection): set a selection over the pasted text.
11970 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11972 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11973 and libgraphics to build on Cygwin.
11975 2002-03-15 Juergen Vigna <jug@sad.it>
11977 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11978 inserting an Inset into the paragraph. I know this is not the best
11979 fix but we already use current_view in CutAndPaste so we will remove
11980 all of it's using at the same time.
11982 * buffer.C (sgmlError): deactivated function till it is rewritten in
11983 the right mode, now it can create problems.
11985 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11986 before accessing it.
11988 2002-03-14 Juergen Vigna <jug@sad.it>
11990 * undo_funcs.C (textHandleUndo): do the right thing when updating
11991 the inset after the undo/redo.
11993 * text2.C (setCursor): just some testcode for #44 not ready yet.
11995 * undo_funcs.C (textHandleUndo): set the next() and previous()
11996 pointers of the paragraph to 0 before deleting otherwise we have
11997 problems with the Paragraph::[destructor].
11999 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12000 on a paragraph insertion.
12002 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12004 * buffer.C (asciiParagraph): use += operator for char append to
12007 * paragraph.C (getFontSettings): compare >= not just >
12008 (highestFontInRange): ditto
12011 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12013 * paragraph.C: change several algorithm to be more appripriate for
12014 the problem domain. This is lookip in FontList and in the InsetList.
12016 2002-03-13 André Pönitz <poenitz@gmx.net>
12019 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12021 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12026 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12028 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * Painter.C (display): anon helper function, adjust code for this
12032 (pixmap): remove function.
12034 * Painter.h: remove private display variable.
12036 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12038 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12040 * WorkArea.[Ch]: remove figinset_canvas cruft.
12042 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12044 * lyxtextclass.C (operator): add one item cache optimization.
12046 * bufferlist.h: doxy changes
12048 * bufferlist.C: ws changes
12050 * DepTable.[Ch] (ext_exist): place const in the right spot.
12052 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12054 (workAreaExpose): call resizeInsets when the with BufferView changes.
12055 (Dispatch): adjust for protectedBlank removal
12056 (specialChar): call updateInset if the insert went ok.
12058 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12059 specialChar instead.
12061 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12063 * BufferView.h: doxy change
12065 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12067 * lyxtextclass.C (operator[]): remove non-const version
12068 (defaultLayout): remove non-const version
12070 2002-03-12 Juergen Vigna <jug@sad.it>
12072 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12073 did resize the LyXText too.
12075 * buffer.C (readLyXformat2): set layout information on newly allocated
12078 * tabular.C (OldFormatRead): set layout information on the paragraph.
12080 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12082 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12084 2002-03-11 Juergen Vigna <jug@sad.it>
12086 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12088 (resizeCurrentBuffer): force also the insets to resize themselfes.
12089 (moveCursorUpdate): fixed up for InsetText.
12091 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12094 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12095 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12096 value of Dialogs::tooltipsEnabled().
12097 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12099 2002-03-08 Juergen Vigna <jug@sad.it>
12101 * BufferView_pimpl.C (updateInset): update inset inside inset also
12102 if it isn't inside theLockingInset().
12104 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12106 * buffer.C (asciiParagraph): redo some of the word and line length
12108 (getLists): look for Caption instead of caption.
12110 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12112 * buffer.C (Buffer): initialize niceFile to true
12114 (makeLinuxDocFile):
12115 (makeDocBookFile): make sure niceFile is true on exit
12117 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12119 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12121 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12123 * LyXSendto.C: remove.
12124 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12125 * lyx_gui.C: remove now-redundant comment.
12126 * ColorHandler.h: remove forward declaration of class WorkArea.
12127 * lyxfunc.C: remove #include "WorkArea.h".
12129 2002-03-07 Juergen Vigna <jug@sad.it>
12131 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12132 got moved away with the DEPM and also set the inset_owner always
12133 right which before could have been omitted.
12135 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12137 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12138 wanted layout is not found.
12140 2002-03-07 Juergen Vigna <jug@sad.it>
12142 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12144 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12146 * paragraph.C (breakParagraph): use default layout not layout of
12148 (Paragraph): clear ParagraphParameters.
12150 2002-03-06 Juergen Vigna <jug@sad.it>
12152 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12153 otherwise it would not be a valid lenght. Fixed a special case in
12154 the minipage compatibility read where we end the document with a
12157 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12158 was set as it could be 0 for InsetTexts first entry.
12160 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12162 * paragraph.C (writeFile): if layout is empty write out
12163 defaultLayoutName().
12165 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12166 file without named layout we set layout to defaultLayoutName().
12168 2002-03-06 Juergen Vigna <jug@sad.it>
12170 * CutAndPaste.C (copySelection): set layout for new paragraph.
12172 * text.C (prepareToPrint): leave ERT inset left aligned
12173 (leftMargin): don't indent paragraphs inside ERT insets
12175 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * paragraph.C (breakParagraph): dont call clear do the work manually
12179 * paragraph.[Ch] (clear): remove function
12181 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12183 * paragraph.C (Paragraph): dont call clear, the work has already
12186 * lyxtextclass.C (operator): assert if n is empty
12188 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12189 work manually instead.
12191 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12193 * BufferView_pimpl.C: protect selectionLost against text == 0
12195 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12197 * text.C (breakParagraph): fix a setting layout to '0' problem.
12199 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12201 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12202 final location of file, for the included files, and graphics.
12204 2002-03-05 Juergen Vigna <jug@sad.it>
12206 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12208 2002-03-04 Juergen Vigna <jug@sad.it>
12210 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12212 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12213 last column of multicolumn cells.
12214 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12216 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12218 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12219 file if it doesn't go to a temporary file.
12221 * buffer.C (sgmlOpenTag):
12222 (sgmlCloseTag): remove extra newline insertion.
12224 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12226 * text.C (getRowNearY): comment out debug msg
12228 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12230 * text2.C: first -> first_y
12232 * text.C (getRowNearY): add some attemts at a possible
12233 optimization, not working.
12235 * tabular.[Ch]: add BufferParams to several function so that newly
12236 created paragraph can be initialized to he default layotu for the
12239 * tabular-old.C (ReadOld): add buf->params to call of Init
12241 * screen.C: rename text->first to text->first_y
12243 * paragraph.C (breakParagraph): always set layout in the broken
12246 * lyxtextclass.C (Read): remove lowercase
12249 (delete_layout): ditto
12251 * lyxtext.h: rename first -> first_y
12253 * lyxlayout.C (Read): remove lowercase
12256 (obsoleted_by): ditto
12258 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12260 * buffer.C (insertErtContents): add params are to InsetERT
12261 (parseSingleLyXformat2Token): add code to check if a paragraphs
12262 layout really exist.
12263 (parseSingleLyXformat2Token): add params to several inset
12265 (asciiParagraph): remove lowercase, do the layout comparisons with
12268 * BufferView_pimpl.C (cursorNext): first -> first_y
12269 (resizeCurrentBuffer): first -> first_y
12270 (updateScrollbar): first -> first_y
12271 (scrollCB): first -> first_y
12272 (workAreaMotionNotify): first -> first_y
12273 (workAreaButtonPress): first -> first_y
12274 (checkInsetHit): first -> first_y
12275 (cursorPrevious): first -> first_y
12276 (cursorNext): first -> first_y
12277 (Dispatch): add buffer_->params to severl inset contructors
12279 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12281 * lyxlayout.C (Read): remove some debug info that I forgot.
12283 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12284 clean up the code slightly.
12285 (makeLinuxDocFile): ditto
12286 (makeDocBookFile): ditto
12288 * text2.C: layout as string
12290 * text.C: layout as string
12292 * paragraph_pimpl.C: layout as string
12294 * paragraph.[Ch]: layout as string
12296 * lyxtextclasslist.[Ch]: layout as string
12298 * lyxtextclass.[Ch]: layout as string
12300 * lyxtext.h: layout as string
12302 * lyxlayout.[Ch]: layout as string
12304 * lyx_cb.C: layout as string
12306 * bufferview_funcs.C: layout as string
12308 * bufferparams.C: layout as string
12310 * buffer.C: layout as string
12312 * LyXView.[Ch]: layout as string
12314 * LaTeXFeatures.[Ch]: layout as string
12316 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12318 * BufferView_pimpl.C: change current_layout to string, remove
12323 (workAreaButtonRelease): layout as string
12325 * BufferView2.C (unlockInset): adjust
12327 * vspace.C (asLatexCommand): use an explict temp variable.
12329 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12331 * Makefile.am: use FRONTEND_*
12333 2002-03-01 Juergen Vigna <jug@sad.it>
12335 * tabular.C (SetWidthOfMulticolCell): changed to something better
12336 I hope but still work in progress.
12337 (recalculateMulticolumnsOfColumn): renamed function from
12338 recalculateMulticolCells as it is more appropriate now.
12339 (SetWidthOfCell): calculate multicols better.
12341 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12343 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12345 * lyxfunc.C (processKeySym): print sequence also if it is
12346 `deleted' (complete)
12348 * kbsequence.C (print): print sequence even if it is deleted
12349 (complete would be a better word, actually).
12351 * lyxfunc.C (dispatch): print complete options after a prefix key
12353 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12355 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12357 * text2.C (setCharFont): eliminate setCharFont code duplication.
12359 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12361 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12362 LFUN_TABULAR_FEATURE (bug #177)
12364 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12366 * Makefile.am: remove figure.h
12368 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12370 * Bufferview_pimpl.C:
12382 * text2.C: remove #include "lyx_gui_misc.h".
12384 * LaTeX.C: added #include <cstdio>
12386 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12388 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12389 that the paragraph following this one can have.
12391 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12393 * vspace.C (asLatexCommand): fix bogus gcc warning
12395 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12397 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12399 * text2.C (setLayout): get rid of redundant code
12401 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12403 * text2.C (incDepth): make sure depth cannot be increased beyond
12406 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12408 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12409 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12411 * PainterBase.h (image):
12412 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12413 a LyXImage const *.
12415 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12419 * BufferView_pimpl.C:
12420 * BufferView_pimpl.h:
12440 * sp_spell.C: remove fig inset, and the crap house of
12441 cards that follows it
12443 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12448 * os2_errortable.h:
12449 * nt_defines.h: move .h into support/
12451 * vms_defines.h: remove
12453 * WorkArea.C: add space in debug output
12457 * buffer.C: add WITH_WARNINGS
12461 * bufferlist.C: s/retrive/retrieve/, add docs
12470 * chset.C: add docs
12472 * lyxgui.C: add ID to X error handler
12474 * lyxtestclass.c: fix typo
12476 2002-02-26 Juergen Vigna <jug@sad.it>
12478 * tabular_funcs.C (write_attribute): changed so that some default
12479 attributes are not written at all.
12480 (getTokenValue): set default values before trying to read the
12481 value so we have the return value always set as default if we don't
12482 find the token we search for.
12484 * tabular.C (Write): write bools as bools not as strings!
12486 2002-02-22 Juergen Vigna <jug@sad.it>
12488 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12489 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12491 * text.C (leftMargin): don't add an indent for paragraphs inside
12492 tabular cells (fix #208).
12494 2002-02-21 José Matos <jamatos@fep.up.pt>
12496 * tabular.C (docBook): fixed support for long tables.
12498 2002-02-20 Juergen Vigna <jug@sad.it>
12500 * text2.C (getFont): get the drawing font of the Inset if this
12501 paragraph is inside an inset (only important for InsetERT for now).
12503 * buffer.C (insertErtContents): use new lanugage params in ERT
12506 * CutAndPaste.C: commenting out seemingly uneeded code.
12508 2002-02-19 Allan Rae <rae@lyx.org>
12510 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12511 Iterators might be simple to use but they also get invalidated.
12512 (removeAutoInsets): renamed saved cursor tracking variables and added
12513 some comments to clarify what everything does.
12515 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12522 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12523 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12526 * vc-backend.h: remove #include "support/syscall.h"
12530 * converter.C: rearrange #includes in Lars' approved fashion.
12532 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12533 forward declare class Timeout in the header file.
12535 * XFormsView.C: changes due to the above.
12537 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12538 similar to LyXView.
12540 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12541 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12543 2002-02-18 José Matos <jamatos@fep.up.pt>
12545 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12548 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12550 * a lot of small ws changes
12551 * add a lot of using std::XXX
12552 * use std construcs some places where approp.
12553 * use some exisint stuff from lyxfunctional where approp.
12554 * Make file changes to use partial linking (lets test this now...)
12556 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12560 remove #include "support/syscontr.h" as it's redundant. Always has been.
12568 change Systemcalls::System to Systemcalls::Wait and
12569 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12570 No change of functionality, just reflects the stripped down Systemcalls
12573 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12575 * debug.[Ch]: add a GRAPHICS type to the enum.
12577 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12579 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12581 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12584 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12586 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12587 match the changes below.
12589 * text2.C (toggleInset): if there is not editable inset at cursor
12590 position, try to see if cursor is _inside_ a collapsable inset
12593 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12595 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12596 document menu has a nice checkbox
12598 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12600 * lyxlength.C (asLatexString): change PW to output as percent of
12603 * lengthcommon.C: change '%' to 't%'
12605 * lyxfunc.C (dispatch): a few comments from Martin
12607 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12611 * BufferView_pimpl.h:
12612 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12615 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12617 * vspace.C (inPixels): fix compiler warning
12619 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12621 * lyxfunc.C (getStatus): fix status message for disabled commands.
12623 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12625 * BufferView_pimpl.C: fix crash on close buffer
12626 during selection (#227)
12628 2002-01-27 Herbert Voss <voss@lyx.org>
12630 * buffer.C: link old Figure to new graphic inset
12632 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12634 * FontLoader.C (getFontinfo): Change the latex font names in order
12635 to match the names of type1inst.
12637 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12639 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12641 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12642 (extchanged): ditto
12644 (remove_files_with_extension): ditto
12645 (remove_file): ditto
12648 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12649 document is smaller than the work area height. Do not initialize
12650 static variables to 0.
12652 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12654 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12656 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12657 LFUN_LAYOUT_PARAGRAPHS.
12659 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12660 tabular. It is possible to provide a possible cell, which will
12661 typically be the actcell from the corresponding insettabular
12663 * lyxfunc.C (getStatus): small cleanup; disable
12664 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12667 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12669 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12671 * paragraph.C (startTeXParParams):
12672 (endTeXParParams): new methods. The LaTeX code to
12673 start/end paragraph formatting
12674 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12675 empty (fixes bug #200)
12677 * vspace.C (inPixels): adapt to the change below
12678 (inPixels): [later] more cleanups (remove unused variables)
12680 * lyxlength.C (inPixels): change to use a width and a height as
12683 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12685 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12686 Replaced with \paperwidth
12688 * DepTable.C (insert): add std:: qualifier
12690 2002-01-18 Allan Rae <rae@lyx.org>
12692 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12695 * text.C (drawInset): Turned out I didn't know enough about how
12696 rebreaking worked. This fixes most of the redraw problems. I see
12697 an occasional cursor trail when a line is broken now and the cursor
12698 placement can seem out by a few pixels also after a rebreak.
12700 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12702 * buffer.C (parseSingleLyXformat2Token): update because minipage
12703 width is now a LyXLength
12705 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12707 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12710 2002-01-17 Juergen Vigna <jug@sad.it>
12712 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12714 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12715 is set correctly and the inset is updated correctly.
12717 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12719 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12720 the beginning of the loop.
12722 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12724 * lyxrc.C: improve help for use_scalable_fonts
12726 2002-01-17 Allan Rae <rae@lyx.org>
12728 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12730 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12732 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12733 make sure to set their inset_owner to the right value (bug #171)
12735 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12738 * DepTable.C: Implement mtime checking to reduce time spent doing
12741 2002-01-16 Juergen Vigna <jug@sad.it>
12743 * tabular.C (GetAdditionalHeight): one of error fixed.
12745 * lyxrc.C (output): small fix in writing use_pspell.
12747 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12749 * sp_base.h: #include LString.h
12751 2002-01-16 Allan Rae <rae@lyx.org>
12753 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12754 Can someone check this please?
12756 * text.C (drawInset): It was possible that p.row would be removed by
12757 breakAgainOneRow upsetting a few other settings. There may be another
12758 small tweak possible by setting need_break_row = 0 when p.row has been
12759 removed but I don't know enough about the logic here.
12761 2002-01-15 Allan Rae <rae@lyx.org>
12763 * text.C (insertChar): removed conditional truism.
12765 * BufferView2.C (removeAutoInsets): More tweaks.
12766 cur_par_prev could be a stray pointer. Check for trailing empty line
12767 in case last line was cur_par and only had an error inset on it.
12769 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12771 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12774 * vc-backend.C (most methods):
12775 * exporter.C (Export):
12776 * converter.C (convert):
12778 * LyXSendto.C (SendtoApplyCB):
12779 * lyxfunc.C (dispatch):
12783 * lyx_cb.C (AutoSave):
12785 * BufferView_pimpl.C (MenuInsertLyXFile):
12786 * buffer.C (runChktex): use Buffer::filePath().
12788 * buffer.h: rename filename to filename_; rename filepath to
12789 filepath_ and make it private
12790 (filePath): new method
12792 * buffer.C (writeFile): use fileName()
12795 * lyx_main.C (init): fix starting of LyX when the binary is a
12796 link from so,ewhere else.
12798 * minibuffer.C: include <cctype> for isprint
12800 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12802 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12803 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12804 name clash with InsetCollapsable's width function.
12806 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12808 * lastfiles.C: include <iterator>
12810 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12812 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12815 * buffer.C (makeLaTeXFile): ditto.
12816 Also make loop operation more transparent.
12818 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12820 * ToolbarDefaults.C: remove trailing comma closing namespace.
12822 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12824 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12827 * trans.C (Load): comment out unused variable, allowed.
12829 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12831 * minibuffer.[Ch] (append_char): new method to recieve input from the
12832 drop-down completion browser. If a key was pressed, then recieve this
12833 char and append it to the existing string.
12834 (peek_event): modify the positioning data passed to the completion
12835 browser so that it can be placed above the minibuffer rather than below.
12836 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12838 * LyXAction.C (init): alloe error-next for readonly documents.
12840 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12843 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12845 * bufferlist.C (readFile): create the buffer _after_ checking that
12848 * lyxfunc.C (verboseDispatch): fix handling of arguments
12850 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12852 * lyxrc.C: use string::erase() instead of initializing to "".
12855 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12857 * BufferView_pimpl.h:
12858 * BufferView_pimpl.C:
12861 * text2.C: tell X when we have made a selection for copying
12863 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12865 * BufferView_pimpl.C (MenuInsertLyXFile):
12866 * lyxfunc.C (menuNew):
12868 (doImport): add shortcuts to directory buttons
12870 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12873 * lyxfunc.C (setStatusMessage):
12874 (getStatusMessage): new methods
12875 (getStatus):use setStatusMessage instead of setErrorMessage
12876 (dispatch): when function is disabled, set error message here
12877 [instead of in getStatus previously]
12879 * BufferView_pimpl.C (workAreaButtonRelease): update
12880 toolbar/menubar here too.
12882 2002-01-13 Allan Rae <rae@lyx.org>
12884 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12885 Now seems indestructible. Remaining task is to audit all other
12886 code affected by deleteEmptyParagraphMechanism. One small quirk
12887 left is that an empty document with an error in the preamble can
12888 be made to report an error but no error box appears. I don't know
12890 (removeAutoInsets): Improved comments.
12892 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12895 * Thesaurus.C: update for Aiksaurus 0.14
12897 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12899 * text2.C (firstParagraph): removed member function, all uses
12900 replaces with ownerParagraph
12901 (redoParagraphs): here
12902 (updateInset): here
12903 (toggleAppendix): here
12904 * BufferView2.C (insertErrors): here
12905 (setCursorFromRow): here
12907 2002-01-13 Allan Rae <rae@lyx.org>
12909 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12910 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12911 There is still a way to segfault this although you may have to do this
12912 multiple times: Have an InsetERT with an unknown command in it.
12913 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12914 <down-arrow>, <Enter> again, View->DVI, BANG!
12916 * text2.C (setCursor):
12917 (deleteEmptyParagraphMechanism):
12918 * lyxtext.h (setCursor):
12919 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12920 Making use of the return value may help fix other bugs.
12922 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12924 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12926 * LyXView.C (updateMenubar): call MenuBar::update here
12927 (updateToolbar): but not here
12928 (showState): do not update toolbar/menubar
12930 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12931 should need to care about that.
12933 * lyxfunc.C (verboseDispatch): simplify a bit
12934 (getStatus): have a version which takes a pseudoaction, and
12935 another which requires a (kb_action,string).
12937 * LyXAction.C (retrieveActionArg): make it work also when action
12938 is not a pseudo-action.
12939 (getActionName): simplify a bit
12942 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12944 * lyxfunc.C (verboseDispatch): new families of methods with
12945 several ways to specify a command and a bool to indicate whether
12946 the command name and shortcut should be displayed in minibuffer
12947 (eventually, we could extend that to a finer bitmask like
12948 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12949 (dispatch): the pristine dispatch command which just, well,
12950 dispatchs! Note it still sets its result to minibuffer; I'm not
12953 * lyxfunc.h: remove setHintMessage
12955 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12957 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12959 * BufferView_pimpl.C (specialChar): delete new inset if we have
12960 not been able to insert it.
12962 * kbmap.C: revert to using int instead of kb_action, since all we
12963 are dealing with is pseudo-actions.
12965 * LyXAction.C (searchActionArg): change to return int instead of
12966 kb_action, since the result is a pseudoaction.
12968 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12970 * buffer.C (insertErtContents): Fix (partially) the font bug.
12972 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12974 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12975 as the other one is broken on my machine!
12977 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12980 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12982 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12984 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12985 reflect their actual use. Provide compatibility code for older lyxrc
12988 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12990 change names of popup font variables in line with the changes to lyxrc.C
12992 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12994 * buffer.C (asciiParagraph): avoid outputing a word twice after
12997 * lyxrc.C (getDescription): document that document_path and
12998 template_path can be empty.
13000 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13002 * LaTeXFeatures.C (getMacros):
13003 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13005 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13007 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13009 (getPackages): rename feature "floats" to "float". Use an array to
13010 iterate over 'simple' features (i.e. just a \usepackage). Add
13011 handling of "amsmath" (renamed from "amsstyle").
13013 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13015 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13018 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13020 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13021 FuncStaus::FuncStatus & FuncStaus::some_method().
13023 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13025 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13026 of the func_satus stuff. Edited and massaged in various ways by
13029 * lyxfunc.C (getStatus): use FuncStatus
13031 2002-01-08 Juergen Vigna <jug@sad.it>
13033 * text.C (nextBreakPoint): use function Inset::isChar().
13035 * paragraph.C (TeXOnePar): use function
13036 Inset::forceDefaultParagraphs.
13038 * buffer.C (latexParagraphs): use function
13039 Inset::forceDefaultParagraphs.
13041 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13043 * lyx_gui.C (init): set the style of the menu popups to
13044 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13046 2002-01-07 Juergen Vigna <jug@sad.it>
13048 * text.C (setHeightOfRow): small fix
13049 (prepareToPrint): don't look at alignment if we don't have the place
13052 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13054 * box.C: New file. Move the Box methods and functions out of box.h,
13055 following Lars' suggestion.
13057 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13059 * box.h: #include "support/LOstream.h", needed for inlined function.
13062 * lyxtextclasslist.C: added some using std declarations.
13064 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13066 * box.h: make signed dimensions to allow insets wider than
13067 the screen (bug #162)
13069 * BufferView_pimpl.C: add some insetHit debug
13071 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13073 * vc-backend.C: add FIXME
13075 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13077 * lyxfunc.C (getStatus): enable code for showing math font status
13080 2002-01-07 Juergen Vigna <jug@sad.it>
13082 * text.C (nextBreakPoint): removed debug output not needed anymore.
13084 2002-01-06 Juergen Vigna <jug@sad.it>
13086 * text.C (nextBreakPoint): fixed up this function we had this bug
13087 since ever but now hopefully we break row better.
13088 (insertChar): we have to check if an inset is the next char as it
13089 could now happen that a large inset is causing a break.
13091 2002-01-05 Juergen Vigna <jug@sad.it>
13093 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13094 if it doesn't like to be drawed.
13096 2002-01-04 Juergen Vigna <jug@sad.it>
13098 * BufferView2.C (lockInset): forgot to set a cursor.
13100 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13102 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13104 * FormMathsPanel.C:
13107 * form_maths_panel.C:
13108 * form_maths_panel.h:
13109 * form_maths_panel.fd: implemented sub- and super- buttons in math
13112 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13113 (or ^ space) to be used as in TeX (req'd by André).
13115 * lyxfunc.C: Allow ^ and _ again to be used both as
13116 super/subscript (mathed) and as themselves (in text).
13118 2002-01-03 Allan Rae <rae@lyx.org>
13120 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13121 "LyX" or the filename of the current buffer if it has one. This is a
13122 modified form of John Levon's patch.
13124 * XFormsView.C (setWindowTitle): also set icon title.
13126 * LyXView.h (setWindowTitle): signature changed.
13127 * XFormsView.h (setWindowTitle): ditto.
13129 2002-01-02 Juergen Vigna <jug@sad.it>
13131 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13133 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * screen.C (topCursorVisible): introduce a temp var for
13136 text->cursor.row(), handle the case where this row is null. (kindo
13139 * text2.C (setCursor): add a couple of asserts.
13141 * paragraph.h (inset_iterator): add -> operator
13143 * paragraph.[Ch] (autoDeleteInsets): remove member function
13145 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13146 cursor pos correctly and handle inset deletion by itself.
13147 (insertErrors): move iterator declaration out of for expression
13149 * lyxtextclass.C: add <algorithm>
13151 * Makefile.am: added the new files to sources, removed layout.C
13153 * layout.C: removed file
13155 * layout.h: remove LYX_DUMMY_LAYOUT
13157 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13161 * lyxtextclass.[Ch]:
13162 * lyxtextclasslist.[Ch]: new files
13164 * include order changes to a lot of files, also changes because of
13167 2001-12-27 Juergen Vigna <jug@sad.it>
13169 * buffer.C (asciiParagraph): more fixes.
13171 * tabular.C (ascii): make ascii export support export of only the
13172 data separated by a column-delimiter.
13173 (ascii): better support for ascii export.
13175 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13177 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13179 * tabular_funcs.C: use a "using std::getline" instead of the
13180 previous fix from Angus (necessary for cxx + lyxstring)
13182 2001-12-24 Juergen Vigna <jug@sad.it>
13184 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13186 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13187 problems. First check a minipage also if we have some ert-contents
13188 (not only on par->size(), second set the right depth of the paragraph
13189 on the relink to the root-paragraph-list!
13191 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13192 which then did not anymore update the main paragraphs on undo/redo!
13194 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13196 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13197 code. Support all font-changing funcs (even those which are not in
13198 menu currently). Support for reporting font settings in
13199 mathed (disabled until Andre provides a function on mathed's side).
13201 * func_status.h (toggle): small helper function to set toggle
13204 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13206 * tabular_funcs.C: getline -> std::getline
13208 2001-12-21 Juergen Vigna <jug@sad.it>
13210 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13211 accessed and could be 0 (I couldn't generate this but it seems
13214 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13216 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13217 * tabular_funcs.h: here and include iosfwd
13219 2001-12-20 Juergen Vigna <jug@sad.it>
13221 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13222 inside inset but undo_par was.
13224 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13226 * Thesaurus.C: always include <config.h> in sources.
13230 * box.h: do not include <config.h> in header files
13232 * text.C (paintLastRow): remove unused variable
13234 * text.C (transformChar):
13236 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13238 * Painter.C (text):
13239 * font.C (width): rewrite to use uppercase() instead of
13242 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13244 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13246 * lyxfind.C: clean up of find failure position change
13248 2001-12-20 Juergen Vigna <jug@sad.it>
13250 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13252 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13253 (TeXRow): added to LaTeX a single tabular row.
13254 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13255 (Latex): simplified and finally good LT-h/f support.
13256 (various_functions): just small adaptions for LT-h/f support.
13258 * tabular_funcs.[hC]: added and moved here all not classfunctions
13261 2001-12-19 Juergen Vigna <jug@sad.it>
13263 * tabular.[Ch]: better support for longtabular options (not finished
13266 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13268 * text.C (paintLastRow): use the label font instead of the font of
13269 the last character to compute the size of *_BOX. This makes more
13270 sense and avoids a crash with empty paragraphs.
13271 Use Painter::rectangle to draw EMPTY_BOX.
13273 2001-12-19 Juergen Vigna <jug@sad.it>
13275 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13276 the paragraphs if the replaced paragraph is not the first one!
13277 Tried to delete not used paragraphs but does not work yet so for
13278 now it's inside #ifdef's and by default off!
13280 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13282 * MenuBackend.C: include "lyx_main.h" instead of declaring
13283 lastfiles (actually was declared as LastFiles* instead of a
13286 2001-12-17 Juergen Vigna <jug@sad.it>
13288 * tabular.C (AppendColumn): applied John's fix
13290 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13294 * BufferView_pimpl.h:
13295 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13298 * box.h: new start of class for above
13300 * lyxfunc.C: ignore space-only minibuffer dispatches.
13301 Show the command name when it doesn't exist
13303 * minibuffer.C: don't add empty lines to the history
13305 * minibuffer.C: add a space on dropdown completion
13307 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13309 * text.C: fix line above/below drawing in insets
13311 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13313 * lyxlength.C (LyXLength): Initialize private variables.
13315 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13317 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13318 when inserting error insets.
13320 2001-12-13 Juergen Vigna <jug@sad.it>
13322 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13323 actually sometimes the before-paragraph.
13324 (setUndo): don't clear the redostack if we're not actually undoing!
13326 2001-12-06 Juergen Vigna <jug@sad.it>
13328 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13329 and fixed redoing of main paragraph, so we can use it now ;)
13331 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13333 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13335 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13338 2001-12-13 André Pönitz <poenitz@gmx.net>
13341 * undo_func.C: minor cleanup
13343 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13345 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13346 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13347 font in urw-fonts package which is marked as -urw-fontspecific and
13348 does not work (incidentally, changing the encoding in the
13349 fonts.dir of this package to -adobe-fontspecific fixes the
13352 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13353 is a crash when undoing first paragraph (Juergen, please take a
13354 look). THis does not mean the undo fix is wrong, just that it
13357 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13358 the (Paragraph*) version when needed instead of duplicating the
13361 * text.C (workWidth): use Inset::parOwner to find out where the
13362 inset has been inserted. This is a huge performance gain for large
13363 documents with lots of insets. If Inset::parOwner is not set, fall
13364 back on the brute force method
13366 * paragraph_pimpl.C (insertInset):
13367 * paragraph.C (Paragraph):
13368 (cutIntoMinibuffer): set parOwner of insets when
13369 inserting/removing them
13371 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13373 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13379 * mathed/formulabase.C:
13380 * mathed/math_cursor.[Ch]:
13381 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13384 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13386 * lyxlength.[Ch] (operator!=): new function
13388 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13390 * text.C (workWidth): use Inset::parOwner to find out where the
13391 inset has been inserted. This is a huge performance gain for large
13392 documents with lots of insets. If Inset::parOwner is not set, fall
13393 back on the brute force method
13395 * paragraph_pimpl.C (insertInset):
13396 * paragraph.C (Paragraph):
13397 (cutIntoMinibuffer): set parOwner of insets when
13398 inserting/removing them
13400 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13402 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13404 * tabular-old.C (getTokenValue):
13405 * tabular.C (getTokenValue):
13406 (write_attribute): new versions for LyXLength
13407 (everywhere): adjust the use of widths
13409 * tabular.h: change the type of widths from string to LyXLength
13411 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13413 * paragraph.C: fixed missing line number count when exporting
13414 Environments to LaTeX file
13416 * buffer.C: added informational message for checking line numbers.
13418 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13420 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13421 paragraph, do the 'double space' part, but not the 'empty
13424 * text.C (workWidth): small optimization
13425 (getLengthMarkerHeight): use minimal size for negative lengths.
13427 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13429 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13431 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13433 2001-12-11 André Pönitz <poenitz@gmx.net>
13436 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13438 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13440 * text2.C: keep selection on a setFont()
13442 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13444 * lyx_cb.C: another bv->text misuse, from insert label
13446 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13449 * kbsequence.C: re-instate nmodifier mask
13451 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13453 * lyx_main.h: make lyxGUI private.
13455 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13457 * lyxfind.C: place the cursor correctly on failed search
13459 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13461 * text.C (getLengthMarkerHeight): for small heights, the arrows
13462 are not always on top/bottom of the text
13463 (drawLengthMarker): smaller arrows; take the left margin in
13464 account; draw also vfills.
13466 (paintLastRow): remove special code for vfill and standard spaces,
13467 since everything is handled in drawLengthMarker now.
13469 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13471 * buffer.C (insertErtContents): try to handle font and language
13472 interaction a bit better.g
13474 * ColorHandler.C (updateColor): change the hash to cover the whole
13475 LColor enum, ws cleanup
13476 (getGCLinepars): ditto
13477 (getGCLinepars): only lookup in the linecache once.
13479 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13481 * iterators.C (operator++): Make the iterator more robust
13483 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13485 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13487 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13490 * text.C: better added space drawing
13492 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13495 * BufferView2.C: fix layout combo update on inset unlock
13497 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13499 * Makefile.am: don't compile unused files
13501 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13505 * LyXAction.C: remove old LFUN_LAYOUTNO
13507 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13509 * paragraph_pimpl.h:
13510 * paragraph_pimpl.C: isTextAt() doesn't need font param
13512 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13515 * lyxlex.C: little cleanup
13517 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13519 * BufferView_pimpl.C: fix insertAscii for insets
13521 2001-12-05 Juergen Vigna <jug@sad.it>
13523 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13524 set the right font on the "multi" paragraph paste!
13526 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * lyxlength.C: remove out-commented code.
13534 * BufferView_pimpl:
13548 * vc-backend.C: change "while(" to "while ("
13550 * lyxlength.[Ch]: add zero function to check if length is zero or
13552 * lyxgluelength.C: use it
13554 2001-12-05 Allan Rae <rae@lyx.org>
13556 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13557 Works for 2.95.3, from what I understand of Garst's reports this should
13558 work for other g++ versions. We're screwed if the abs(int) definition
13559 changed between bugfix releases of gcc.
13561 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13563 * text.C: fix chapter label offset !
13565 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13568 * text.C: fix hfill at end of line, clean up
13570 2001-12-04 Juergen Vigna <jug@sad.it>
13572 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13573 that we force an update of the inset and it's owners if neccessary.
13575 2001-12-03 Juergen Vigna <jug@sad.it>
13577 * text.C (rowLast): simplified code
13579 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13581 * lyxfunc.C: fix show options on timeout
13583 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13585 * screen.C (topCursorVisible): scroll half a page when the cursor
13586 reached top of bottom of screen
13588 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13590 * minibuffer.C: deactivate on loss of focus
13592 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13594 * vspace.[Ch] (operator!=): add operator.
13596 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13598 * BufferView_pimpl.C: refuse to open an inset when
13599 there's a selection.
13601 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13603 * BufferView_pimpl.C: allow to click on RHS of full row insets
13605 2001-11-30 Juergen Vigna <jug@sad.it>
13607 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13608 insets for undo reasons.
13610 2001-11-28 André Pönitz <poenitz@gmx.net>
13612 * vspace.[Ch]: cosmetical changes
13614 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13624 * kbsequence.C: part re-write of old kb code
13627 * WorkArea.C: remove Lgb_bug_find_hack
13629 2001-11-30 José Matos <jamatos@fep.up.pt>
13631 * buffer.C (makeDocBookFile): add a comment to point a hack.
13632 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13633 Fixed a double write of labels.
13635 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13638 * LaTeX.h Fixed bug in LaTeX class where it would not
13639 re-run latex if no depfiles were changed, but the .dvi was removed.
13641 2001-11-28 André Pönitz <poenitz@gmx.net>
13643 * all the files from the change on 2001/11/26:
13644 use lyx::layout_type instead of LyXTextClass::size_type
13645 use lyx::textclass_type instead of LyXTextClassList::size_type
13647 2001-11-29 Juergen Vigna <jug@sad.it>
13649 * text.C: added support for paragraph::isFreeSpacing()
13651 * buffer.C: same as above
13653 * paragraph.h: inserted isFreeSpacing() function to enable
13654 FreeSpacing inside InsetERT.
13656 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13657 of the paragraph's in the cut/copy buffer to 0!
13659 * text2.C (removeRow): remove the assert as it can!
13661 * lyxtext.h: added helper function firstRow returning firstrow and
13662 made firstrow private again.
13664 * BufferView2.C (lockInset): don't relock if we're already locked!
13666 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13667 the only paragraph.
13668 (removeRow): added Assert::(firstrow)
13670 * debug.C: forgot to add INSETTEXT here.
13672 2001-11-28 Juergen Vigna <jug@sad.it>
13674 * sp_spell.C (initialize): changed error text to more general
13675 spellchecker command use (not only ispell!)
13677 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13679 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13681 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13683 * vspace.C: initialise lyxgluelength on failure
13685 2001-11-28 Allan Rae <rae@lyx.org>
13687 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13688 declaration & definition that looks like a function declaration.
13690 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13692 * BufferView2.C (copy):
13693 (copyEnvironment): do not clear the selection when doing a copy.
13695 * text.C (paintFirstRow): compilation fix
13697 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13699 * tabular.C (Latex): correct line count when writing latex.
13701 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13703 * paragraph_pimpl.h:
13704 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13707 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13711 * LColor.C: change vfillline->added_space
13713 * text.C: add markers and text for added space
13715 * vspace.C: fix comment
13717 2001-11-28 André Pönitz <poenitz@gmx.net>
13719 * paragraph.C: whitespace changes
13720 * all the other files from the change on 2001/11/26:
13721 change *::pos_type into lyx::pos_type
13723 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13725 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13726 language of the document when inserting error insets.
13728 2001-11-26 André Pönitz <poenitz@gmx.net>
13730 * BufferView_pimpl.[Ch]:
13738 * paragraph_pimpl.[Ch]:
13741 * text2.C: reduce header dependencies, introduce type for positions
13743 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13745 * <various>: change to use Alert.h
13747 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13749 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13750 when encountering an unknown token.
13751 (readLyXformat2): Show an error message if there were unknown tokens.
13753 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13756 * BufferView_pimpl.C:
13760 * text2.C: use par->isInset()
13762 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13764 * paragraph_pimpl.h:
13765 * paragraph_pimpl.C: cleanup
13767 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13769 * text2.C (removeRow):
13770 * text.C (setHeightOfRow): remove useless (and costly) call to
13773 2001-11-20 Allan Rae <rae@lyx.org>
13775 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13776 Now need Inset*::checkInsertChar() to return true for appropriate
13777 cases so that the characters in the minibuffer will actually be
13780 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13782 * text.C: change the order of the includes.
13783 (workWidth): initialize it at once.
13784 (workWidth): make maxw unsigned
13785 (setHeightOfRow): remove unused variable (inset)
13786 (selectSelectedWord): remove unused variable (inset)
13787 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13789 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13791 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13792 server is not running.
13794 (closeConnection): add debug info when server is disabled.
13796 * ColorHandler.C (getGCForeground): send debug message to GUI
13799 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13801 * kbmap.C (bind): modify because return conventions of
13802 kb_sequence::parse have changed.
13804 * kbsequence.C (parse): only ignore spaces and not any stupid
13805 control character. This avoids tests like s[i] <= ' ', which are
13806 guaranteed to fail with 8bit characters and signed chars.
13807 Change return code to string::npos when there have been no error
13808 (0 was a bad idea when error is at first character)
13810 2001-11-14 José Matos <jamatos@fep.up.pt>
13813 * buffer.C (simpleDocBookOnePar): removed unused argument.
13815 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13817 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13818 insets which are part of a word. Paragraph::isLetter takes care of
13819 that now. Use Paragraph::isInset to identify insets.
13820 (selectSelectedWord): do not test for hyphenation break.
13822 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13823 that protected spaces are considered as spaces.
13825 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13828 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13831 * lyxserver.C: fix it. and small cleanup.
13833 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13835 * BufferView_pimpl.C: use inline helpers
13838 * LaTeXFeatures.C: fix typos
13841 * Spacing.C: move spacing_string into class
13843 * ToolbarDefaults.C: move stuff into namespace anon
13845 * layout.h: update enum
13847 * lyxfunc.C: use better debug
13849 * minibuffer.h: fix typo
13853 * WorkArea.C: add and use Debug::WORKAREA
13857 * text2.C: code re-organisation, inline helpers
13859 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13861 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13862 std::vector.empty().
13864 2001-11-09 Allan Rae <rae@lyx.org>
13866 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13867 '\n's after tables. Tabular and ERT inset work now makes this no
13870 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13873 * minibuffer.C: fix crash, improve drop-down completion
13875 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13878 * lyxserver.C: invalidate fd's when doing endPipe()
13880 2001-11-08 José Matos <jamatos@fep.up.pt>
13882 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13883 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13886 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13888 2001-11-07 José Matos <jamatos@fep.up.pt>
13891 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13894 * buffer.C (sgmlOpenTag):
13895 * buffer.C (sgmlCloseTag): removed debug info.
13897 * buffer.h (sgmlOpenTag):
13898 * buffer.h (sgmlCloseTag): made public.
13900 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13902 * buffer.C (saveParamsAsDefaults):
13903 * lyx_cb.C (MenuLayoutSave): remove
13905 * LyXAction.C (init):
13907 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13909 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * buffer.C (setPaperStuff): removed from here...
13913 * bufferparams.C (setPaperStuff): ... and moved there.
13915 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13919 * XFormsView.C: add support for drop-down completion
13921 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13923 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13926 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13928 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13931 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13933 * lyx_main.C: change ref to known bugs
13935 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13937 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13938 to work around older babel problems.
13940 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13942 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13944 2001-10-24 Juergen Vigna <jug@sad.it>
13946 * tabular-old.C (ReadOld): below variable changes reflected.
13948 * tabular.[Ch]: added ltType struct for longtable header/footer
13949 defines and changed all instances where they are used. Added
13950 future support for double top/bottom rows.
13952 2001-10-24 José Matos <jamatos@fep.up.pt>
13954 * buffer.h (docbookHandleCaption):
13955 * buffer.C (docbookHandleCaption): removed unused function.
13956 (makeDocBookFile): moved docbook supported version to v4.1.
13958 2001-10-24 José Matos <jamatos@fep.up.pt>
13961 * tabular.C (docbookRow): new function to export docbook code of a row.
13962 (DocBook): now honors the longtable flags.
13964 2001-10-23 José Matos <jamatos@fep.up.pt>
13967 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13968 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13970 * buffer.C (makeLinuxDocFile):
13971 (makeDocBookFile): reworked the preamble, more clean, and with
13972 support for lyx defined entities. Changed the document declaration
13973 to be more XML friendly.
13975 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13976 if we need to output XML that should be done with a filter.
13978 2001-10-22 Juergen Vigna <jug@sad.it>
13980 * sp_pspell.h (class PSpell): add alive function needed in the
13981 controller to see if the spellchecker could be started.
13983 2001-10-22 Juergen Vigna <jug@sad.it>
13985 * buffer.C (insertStringAsLines): modify the font for inserting
13986 chars in certain conditions by calling checkInsertChar(font).
13988 2001-10-19 Juergen Vigna <jug@sad.it>
13990 * text.C (workWidth): use getRow instead of wrong algorithm.
13991 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13993 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13998 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14000 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14002 * text.C (workWidth): do not search for the exact row when
14003 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14004 optimization for big documents.
14006 2001-10-18 Juergen Vigna <jug@sad.it>
14008 * text.C (workWidth): new function with added Inset * parameter.
14010 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14012 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14014 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14015 change return type of getColumnNearX.
14018 * text.C (changeRegionCase): use uppercase/lowercase instead of
14021 (rightMargin): simplify code by factoring out the uses of
14026 (appendParagraph): use Paragraph::size_type
14028 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14030 * vspace.C (asLatexString): add a missing break
14032 2001-10-15 Herbert Voss <voss@perce.de>
14034 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14036 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14038 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14041 2001-10-10 André Pönitz <poenitz@gmx.net>
14043 * lyxfunc.C: removed greek_kb_flag.
14045 2001-10-10 Herbert Voss <voss@perce.de>
14047 * lyx_main.C: delete global string help_lyxdir.
14049 2001-10-09 Herbert Voss <voss@perce.de>
14051 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14053 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14055 * lyx_main.C: added global string help_lyxdir.
14057 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14059 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14061 * lyxrc.C (set_font_norm_type): support iso8859-4
14063 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14065 * LaTeX.C (deplog): add another regex for MikTeX
14067 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14069 * lyxrc.C (set_font_norm_type): support iso8859-3
14071 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14073 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14075 * LaTeXFeatures.C: remove special case of french and index
14077 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14078 before \begin{document}). This solves several incompatibilities.
14080 2001-10-03 Garst Reese <reese@isn.net>
14082 * lyx_cb.C: change CheckTex error msg.
14084 2001-10-03 José Matos <jamatos@fep.up.pt>
14086 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14088 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14090 * .cvsignore: update
14092 * lyx_main.C (commandLineVersionInfo): use new style version info.
14094 * buffer.C (writeFile):
14096 (makeLinuxDocFile):
14097 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14099 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14101 * version.h: update to use stuff in version.C
14103 * version.C.in: new file. Contains version information determined
14104 at compile time. This is a merging of version.h and
14107 2001-10-03 Juergen Vigna <jug@sad.it>
14109 * BufferView_pimpl.C (update): don't change "dirty" status in
14112 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14114 * WorkArea.C (c-tor): re-position version string slightly.
14116 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14118 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14119 revert to previous code.
14121 WorkArea.[Ch]: (show, destroySplash): methods removed.
14123 WorkArea.C: rework code so that it's an amalgam of the codes before and
14124 after the splash screen was moved to WorkArea.
14126 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14129 * vspace.C (inPixels):
14132 * buffer.C (insertStringAsLines):
14133 (asciiParagraph): fix types to be large enough
14135 * lyxlex_pimpl.h: change member status from short to int
14137 * layout.h: fix type of endlabeltype
14140 * kbsequence.C (parse): change return type to string::size_type
14142 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14145 * Bullet.C (bulletSize):
14146 (bulletEntry): do not use short ints as parameters
14148 * BufferView2.C (insertLyXFile): change a char to an int.
14150 * WorkArea.C (WorkArea): remove unneeded floats in computation
14152 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14154 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14156 * paragraph.C (asString): Do not ignore newline/hfill chars when
14157 copying to the clipboard.
14159 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14161 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14162 after a multi-line inset.
14164 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14166 * paragraph.C (validate): Set NeedLyXFootnoteCode
14168 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14170 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14171 and decrease-error to decrease.
14173 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14175 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14176 it more readable (should be equivalent)
14178 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14180 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14182 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14184 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14185 of a cursor (row, etc.) after a character has been deleted
14186 (deleteEmptyParagraphMechanism): call the method above on _all_
14187 cursors held by the LyXText when a double space has been
14190 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14192 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14194 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14196 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14197 background. Use greyOut() and the new show() methods to toggle between
14198 the foreground and background. Add code to remove the splash after
14199 its initial showing.
14201 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14202 (create_forms): no longer call Dialogs::showSplash.
14204 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14206 * .cvsignore: add version_info.h
14208 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14210 * version_info.h.in: new file
14212 * Makefile.am: add version_info.h.in
14214 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14215 version_info.h instead of VERSION_INFO
14217 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14219 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14220 The ERT inset now returns string().
14222 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14224 * lyxtext.h, text.C (selectNextWord): renamed as
14225 selectNextWordToSpellcheck.
14227 * text.C (selectNextWordToSpellcheck): Modified to not select
14228 words inside an ERT inset.
14230 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14232 * lyx_cb.C (MenuLayoutSave): change a bit the question
14234 * sp_base.h: include <sys/types.h>
14236 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14238 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14240 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14242 * several files: fix typos in user-visible strings
14244 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14246 * text2.C (pasteSelection): do not set the selection, since it
14247 will be cleared later. Actually, the intent was to fix the way the
14248 selection was set, but I figured rmoving the code was just as good.
14250 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14252 * FontLoader.C (available): Check if font is available without
14255 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14257 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14259 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14261 * lyxrc.[Ch]: added display_graphics variable and associated code.
14263 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14265 * bufferparams.C (hasClassDefaults): new method. Returns true if
14266 the buffer parameters correspond to known class defaults
14268 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14270 * XFormsView.C (show): set minimum size to the main window.
14272 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14274 * text2.C (copySelection):
14276 * lyxfind.C (LyXReplace):
14277 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14278 LyXText::selectionAsString.
14280 * paragraph.C (asString): add "label" argument to the second form
14282 * text2.C (selectionAsString): add "label" argument and pass it to
14283 Paragraph::asString.
14285 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14287 * lyx_main.C (commandLineHelp): remove version information
14289 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14291 * lyx_main.C: add -version commandline option
14293 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14295 * paragraph.h: make the optional constructor arg required instead.
14296 some modifications to other files because of this.
14298 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14300 * lyxserver.C (C_LyXComm_callback): make it static
14302 * lyx_main.C (error_handler): make it static
14304 * lyx_gui.C (LyX_XErrHandler): make it static
14306 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14308 * WorkArea.C: make the extern "C" methods static.
14310 * Makefile.am (lyx_LDADD): simplify
14312 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14314 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14315 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14317 * LyXAction.C (init):
14318 * lyxfunc.C (dispatch): associated code removal.
14320 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14322 * lyxfont.h (isSymbolFont): shut off warning
14324 * text.C (setHeightOfRow):
14325 (getVisibleRow): fix crash with empty paragraphs which have a
14328 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14330 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14333 2001-09-04 José Matos <jamatos@fep.up.pt>
14336 * tabular.C (docbook): rename docBook method to docbook.
14338 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14340 * Makefile.am: add dependencies to main.o.
14342 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14344 * FontLoader.C (available): Return false if !lyxrc.use_gui
14346 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14348 * FontInfo.C (query):
14349 * converter.C (view):
14350 * importer.C (Import):
14351 * exporter.C (Export): Can not -> cannot.
14353 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14355 * BufferView_pimpl.C: allow to create index inset even if
14358 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14360 * buffer.C (getLists): replace boost::tie code with an explicit pair
14361 as boost::tie can break some compilers.
14363 * iterators.h: Added a std:: declaration to the return type of
14366 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14368 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14371 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14373 * iterators.[Ch]: New files. Provide paragraph iterators.
14375 * buffer.C (changeLanguage): Use paragraph iterators.
14376 (isMultiLingual): ditto
14378 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14380 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14382 * FontLoader.C: Support for cmr font.
14384 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14386 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14387 (available): New method.
14389 * FontInfo.C (getFontname): Use scalable fonts even when
14390 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14393 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14395 * converter.C (Formats::view): reverted! Incorrect fix.
14397 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14399 * converter.C (Formats::view): only output the -paper option
14400 if the dvi viewer is xdvi, thereby fixing bug #233429.
14402 2001-08-23 Herbert Voss <voss@perce>
14404 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14406 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14408 * Spacing.h (Spacing): Set space to Default on in the default
14411 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14413 * vc-backend.h (RCS::versionString): add RCS to version
14414 (CVS::versionString): add CVS to version
14416 * vc-backend.C (scanMaster): do not add CVS to version.
14417 (scanMaster): do not add RCS to version
14419 * lyxvc.C (versionString): new method
14421 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14423 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14425 * Spacing.C (set): initialize fval
14427 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14429 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14432 2001-08-16 Juergen Vigna <jug@sad.it>
14434 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14436 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14438 * BufferView_pimpl.C:
14441 * text2.C: setParagraph takes linespacing now
14443 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14445 * LyxAction.C: add internal LFUN_CITATION_INSERT
14447 * LyXView.C: actually apply fix
14449 * bufferlist.C: fix open non-existent file
14451 * lyxfind.C: fix indentation
14453 * lyxfunc.C: remove unneeded assert, fix typo
14455 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14457 * MenuBackend.C: use "Floatname List"
14459 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14461 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14462 when converting LaTeX layout to insetERT.
14463 Generate a non-collapsed float when reading old float
14465 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14467 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14470 2001-08-13 Juergen Vigna <jug@sad.it>
14472 * text.C (fill): return 0 instead of 20 as this seems to be the more
14475 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14477 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14480 2001-08-13 Juergen Vigna <jug@sad.it>
14482 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14484 (SearchBackward): comment out the unlocking of the inset_owner this
14485 should not be needed!
14487 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14489 * Many files: Remove inherit_language, and add latex_language
14491 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14492 collapsible insets.
14494 2001-08-10 Juergen Vigna <jug@sad.it>
14496 * text.C (prepareToPrint): fixed hfill-width in draw!
14498 * BufferView2.C (selectLastWord): save the selection cursor as this
14499 now is cleared in the function LyXText::clearSelection!
14501 2001-08-08 Juergen Vigna <jug@sad.it>
14503 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14504 BACKSPACE type functions.
14506 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14507 is only cutted from the document but not put in the cut-buffer, where
14508 still the old stuff should be.
14510 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14512 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14514 * tabular.C (SetWidthOfCell): fixed special case where the width
14516 (LeftLine): handle '|' in align_special.
14518 (LeftAlreadyDrawed): ditto
14519 (SetWidthOfCell): ditto
14521 2001-08-07 Juergen Vigna <jug@sad.it>
14523 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14525 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14527 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14528 * lyxlex.[hC]: ditto
14530 2001-08-06 Juergen Vigna <jug@sad.it>
14532 * text.C (getVisibleRow): fix up row clearing a bit.
14534 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14536 * minibuffer.C: make sure the X server sees the changes in the input.
14538 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14540 * paragraph.C (getFont): split into...
14541 (getLabelFont): this
14542 (getLayoutFont): and this
14543 * paragraph_pimpl.C (realizeFont): calling this
14545 * text2.C (getFont): split into...
14546 (getLayoutFont): this
14547 (getLabelFont): and this
14548 (realizeFont): all three calling this
14550 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14553 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14555 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14557 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14559 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14560 layouts from the Quote inset insertion.
14562 2001-08-03 Juergen Vigna <jug@sad.it>
14564 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14566 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14567 only if status not is already CHANGED_IN_DRAW (second level).
14569 * text.C (draw): don't set the need_break_row when inside an
14572 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14574 * buffer.C (parseSingleLyXformat2Token): handle more latex
14577 * bufferview_funcs.[hC]: change function names to
14578 begin with small char, adjust other files.
14580 2001-08-02 André Pönitz <poenitz@gmx.net>
14583 BufferView_pimpl.C: remove broken special code for math-greek
14585 2001-08-02 Juergen Vigna <jug@sad.it>
14587 * BufferView_pimpl.C (update): redone this function so that we
14588 update the text again if there was a CHANGE_IN_DRAW.
14590 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14591 (drawFromTo): added a new internal bool which is used by draw() and
14593 (general): some cursor drawing problems fixed.
14595 2001-08-01 Juergen Vigna <jug@sad.it>
14597 * lyxfind.C (LyXFind): fixed
14598 (SearchForward): ditto
14599 (SearchBackward): ditto
14601 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14602 spurius drawing of the cursor in the main area.
14604 * text2.C (status): small fix which could lead to a segfault!
14605 (clearSelection): remove unneeded BufferView param.
14607 2001-08-01 André Pönitz <poenitz@gmx.net>
14609 * lyxfunc.C: small change due to changed mathed interface
14611 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14613 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14615 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14617 * lyxfunc.c: fail gracefully if file doesn't exist
14622 * BufferView_pimpl.C: IsDirWriteable() proto changed
14624 * LyXView.C: fix updateWindowTitle() to store the last title
14626 2001-07-31 Juergen Vigna <jug@sad.it>
14628 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14629 the font (wrong since using of Paragraph::highestFontInRange).
14631 * paragraph.C (highestFontInRange): added a default_size parameter.
14633 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14634 (setHeightOfRow): reformat
14636 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14638 * converter.[hC] + affected files: move to (inital-char)lowercase
14641 * ParagraphParameters.C (ParagraphParameters): remove commented code
14643 * PainterBase.[Ch]: remove commented code
14645 * LaTeXFeatures.h: add "bool floats" for float.sty
14647 * LaTeXFeatures.C (LaTeXFeatures): init floats
14648 (require): handle float
14649 (getPackages): do it with floats
14651 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14653 * BufferView_pimpl.C (Dispatch): improve handling of
14654 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14656 * commandtags.h: #include lyxfont.h here temporarily to avoid
14659 * bufferlist.h: include LString.h here.
14661 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14663 * text2.C (getStringToIndex): new method.
14665 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14667 * *: Reduced header file dependencies all over.
14669 2001-07-30 Baruch Even <baruch@lyx.org>
14671 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14673 2001-07-29 Baruch Even <baruch@lyx.org>
14675 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14677 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14679 * ParameterStruct.h (endif): add a default constructor to make
14680 sure that all variables is initialized.
14682 * ParagraphParameters.C (ParagraphParameters): adjust
14684 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14686 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14687 index; also, check that there is something to index, and that it
14688 does not span over several paragraphs.
14689 (doubleClick): use WHOLE_WORD_STRICT for double click.
14691 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14693 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14696 2001-07-26 Baruch Even <baruch@lyx.org>
14698 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14699 an InsetFig figure, backwards compatible reading of old figure code.
14701 2001-07-27 Juergen Vigna <jug@sad.it>
14703 * text2.C: font.realize function adaption.
14705 * text.C (draw): add a warnings lyxerr text if needed.
14707 * layout.C: font.realize function adaption.
14709 * language.C: add inherit_language and implement it's handlings
14711 * bufferview_funcs.C (StyleReset): remove language parameter from
14712 font creation (should be language_inherit now).
14714 * bufferparams.C (writeFile): handle ignore_language.
14716 * paragraph.C (getFontSettings): the language has to be resolved
14717 otherwise we have problems in LyXFont!
14719 * lyxfont.C (lyxWriteChanges): added document_language parameter
14720 (update): removed unneeded language parameter
14722 * paragraph.C (validate): fixed wrong output of color-package when
14723 using interface colors for certain fonts in certain environments,
14724 which should not seen as that on the final output.
14726 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14728 * BufferView_pimpl.C:
14733 * LyXAction.C: add thesaurus support
14736 * lyxfind.C: add "once" parameter, for thesaurus, to not
14737 move to the next match
14739 2001-07-26 Juergen Vigna <jug@sad.it>
14741 * lyxfont.C (realize): honor ignore_language too!
14744 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14746 * text.C (draw): one place more for ignore_language to not draw
14749 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14751 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14753 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14755 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14756 the minipage conversion problem.
14758 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14760 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14763 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14765 * BufferView.h: don't forward declare WorkArea
14767 * BufferView.C: don't include WorkArea.h
14769 2001-07-25 André Pönitz <poenitz@gmx.net>
14773 * lyxfunc.C: new LFUN 'math-space'
14775 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14777 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14779 * text2.C (toggleInset): call open/close
14781 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14783 * lyxfunc.C (dispatch): add debug for the disabled case
14785 * font.C (buttonText): make similar to rectText
14787 * buffer.C (readInset): comment out parsing of insetlist and
14790 * PainterBase.C (rectText): small correction
14792 * BufferView_pimpl.C: comment out insettheorem and insetlist
14793 * LyXAction.C: ditto
14794 * commandtags.h: ditto
14796 2001-07-24 Juergen Vigna <jug@sad.it>
14798 * text.C (draw): honor the ignore_language.
14800 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14802 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14807 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14809 * lyxtext.h: remove unused (and unimplemented) methods
14811 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14813 * text.C (getVisibleRow): honor background color
14816 * Painter.h: remove default color argument for fillRectangle
14818 * text.C (backgroundColor): new method
14820 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14822 * text.C (getVisibleRow): adjust
14824 * font.[Ch] (rectText): new method, metrics
14825 (buttonText): new method, metrics
14827 * PainterBase.[hC]: make rectText and buttonText always draw and take
14830 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14832 * ToolbarDefaults.C (read):
14833 * MenuBackend.C (read): allow escaping in all strings
14835 * BufferView_pimpl.C (insertAndEditInset): new method.
14836 (Dispatch): use insertAndEditInset whenever appropriate.
14838 * BufferView_pimpl.C (insertNote): removed
14840 * BufferView_pimpl.C (smartQuote): new method, moved from
14841 BufferView; if an insetquote cannot be inserted, insert a '"'
14844 * BufferView2.C: remove insertCorrectQuote();
14846 * lyxfunc.C (getStatus): Add support for all remaingin
14847 inset-insert lfuns.
14849 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14851 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14852 command (necessary to pass " as parameter of self-insert.
14854 * text.C (selectWordWhenUnderCursor):
14855 (selectWord): add word_location parameter
14856 (selectWordWhenUnderCursor): same + remove special code for word
14858 (selectNextWord): use kind() to guess type of insetspecialchar,
14861 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14862 (insertErtContents): create ert insets as collapsed.
14863 (readInset): better compatibility code for Info inset.
14865 2001-07-20 Juergen Vigna <jug@sad.it>
14867 * lyxfunc.C (dispatch): use always LyXFind now!
14869 * text2.C (init): add a reinit flag so that the LyXText can be
14870 reinited instead of deleted and reallocated (used in InsetText).
14872 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14878 2001-07-18 Juergen Vigna <jug@sad.it>
14880 * text.C (selectNextWord): handle insets inside inset by calling
14881 always the bv->text functions so that we can go up the_locking_inset!
14883 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14884 in strange locations when inside an inset!
14886 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14887 handling to include insets.
14889 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14891 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14893 * LyXAction.C (init):
14895 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14896 LIGATURE_BREAK, since the name is so stupid.
14898 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14900 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14903 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14905 * sp_form.[Ch]: remove.
14907 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14909 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14912 * src/buffer.C (readInset): ditto.
14914 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14916 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14917 menuSeparator(), endOfSentenceDot(), ldots() and
14918 hyphenationPoint(), which are therefore removed.
14919 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14921 * LyXAction.C (init):
14922 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14924 * paragraph.C (getWord): removed.
14926 * BufferView_pimpl.C (Dispatch): use last word or selection for
14927 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14929 * lyx_main.C (queryUserLyXDir): do not ask before creating
14930 user_dir, except if it has been named explicitely.
14932 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14934 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14935 a document of zero size.
14937 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14939 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14940 approriately in the c-tor and in require().
14941 (getPackages): output the appropriate LaTeX for natbib support.
14943 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14944 variables "use_natbib" and "use_numerical_citations" when reading the
14946 (readInset): read the various natbib cite commands.
14947 (validate): white-space change.
14949 * bufferparams.[Ch]: new variables "bool use_natbib" and
14950 "bool use_numerical_citations".
14951 (writeFile): output them in the LyX file.
14953 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14955 * lyxfunc.C (getStatus): add support for all the inset insertion
14958 * text2.C (insertInset):
14959 * paragraph.C (insetAllowed):
14960 * BufferView_pimpl.C (insertInset): update to take in account the
14961 renaming of insertInsetAllowed
14963 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14965 * text2.C (getInset): new method. returns inset at cursor position.
14967 * BufferView_pimpl.C (Dispatch): changes because of this.
14969 * LyXAction.C (init): rename open-stuff to inset-toggle.
14971 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14973 * text2.C (toggleInset): renamed from openStuff; use
14976 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14978 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14980 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14982 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14984 * buffer.C (readLyXformat2): Add filename to the error dialog
14986 2001-07-18 Juergen Vigna <jug@sad.it>
14988 * tabular.C (GetCellNumber): put an assert here instead of the check!
14990 2001-07-17 Juergen Vigna <jug@sad.it>
14992 * BufferView_pimpl.C (toggleSelection): adapted too.
14994 * text.C (selectNextWord): adapted for use with insets.
14995 (selectSelectedWord): ditto
14997 2001-07-17 Juergen Vigna <jug@sad.it>
14999 * sp_spell.C (PSpell): fix initialitation order.
15001 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15003 * paragraph.C: spacing
15005 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15007 * sp_spell.C: repair language selection for pspell
15009 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15011 * lyxfunc.h: change more methods to begin with lower char.
15013 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15015 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15016 for unknown layouts.
15018 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15020 * buffer.C (readLyXformat2): Generate an error dialog if there are
15023 2001-07-16 Juergen Vigna <jug@sad.it>
15025 * sp_spell.C: always compile ISpell part.
15027 * lyxrc.C: added use_pspell entry and it's handling.
15029 2001-07-13 Juergen Vigna <jug@sad.it>
15031 * sp_spell.C: removed double includes.
15033 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15035 Consistent use of Lsstream.h:
15036 * Lsstream.h: added using std::stringstream for consistencies sake.
15038 * buffer.C: removed using std::stringstream
15040 * lyxfont.C (stateText):
15041 * paragraph.C (asString):
15042 * text.C (selectNextWord, selectSelectedWord):
15043 * text2.C (setCounter):
15044 * vspace.C (asString, asLatexString):
15045 std::ostringstream -> ostringstream.
15047 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15049 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15050 * commandtags.h: add LFUN_HELP_ABOUTLYX
15051 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15053 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15055 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15057 * lyx_gui_misc.C: remove spellchecker
15058 * lyxfunc.C: showSpellchecker
15060 * sp_ispell.h: added
15061 * sp_pspell.h: added
15062 * sp_spell.C: added
15063 * sp_form.[Ch]: removed
15064 * spellchecker.[Ch]: removed
15066 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15068 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15070 (simpleTeXSpecialChars): Simply print the input character without
15071 any special translation if pass_thru is set.
15073 * layout.h: Added bool pass_thru to layout class for being able to
15074 implement pass through of a paragraph for Literate Programming.
15076 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15077 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15078 * layout.C (Read): add "passthru" to list of layout tags and add
15079 code to set the pass_thru boolean when it is read.
15081 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15083 * trans_decl.h: remove allowed from KmodInfo
15085 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15086 remove allowed code
15089 * paragraph_pimpl.C (erase): use boost::prior
15091 * Painter.C (text): use data() instead of c_str() when length is
15093 * WorkArea.C (putClipboard): ditto
15094 * font.h (width): ditto
15096 * BufferView2.C: use it-> instead of (*it). for iterators
15098 * paragraph_pimpl.C: ditto
15099 * paragraph.C: ditto
15100 * minibuffer.C: ditto
15101 * language.C: ditto
15103 * encoding.C: ditto
15104 * counters.C: ditto
15105 * converter.C: ditto
15107 * Variables.C: ditto
15108 * TextCache.C: ditto
15109 * MenuBackend.C: ditto
15110 * LyXAction.C: ditto
15112 * FloatList.C: ditto
15113 * DepTable.C: ditto
15114 * ColorHandler.C (LyXColorHandler): ditto
15116 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15118 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15120 * text2.C (openStuff): reintroduce this method (which had been
15121 nuked in NEW_INSETS frenzy).
15123 * lyxfunc.C (Dispatch): when an action has not been handled, use
15124 its name in the error message, not its number.
15126 * paragraph.C (inInset): change method name to begin with lowercase.
15129 * text2.C: updates because of this.
15131 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15133 * ToolbarDefaults.C (add): add spaces in error message
15135 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15137 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15138 (readLyXformat2): rename return_par to first_par, use lyxlex's
15139 pushToken and remove the manual push handling.
15140 (parseSingleLyXformat2Token): add another ert comp. variable:
15141 in_tabular, rename return_par to first_par. handle newlines better
15143 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15145 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15147 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15149 * text2.C (getParFromID): removed
15151 * buffer.C (getParFromID): new method moved form lyxtext.
15152 * BufferView2.C (insertErrors): adjust
15153 (setCursorFromRow): adjust
15154 * BufferView_pimpl.C (restorePosition): adjust
15155 * lyxfunc.C (Dispatch): adjust
15156 * undo_funcs.C (textUndo): adjust
15158 (textHandleUndo): adjust
15159 (textHandleUndo): adjust
15161 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15163 * buffer.C: up' the LYX_FORMAT
15165 * lyxfont.h: turn NO_LATEX on as default
15167 * buffer.C (insertErtContents): new methods of tex style compability.
15168 (parseSingleLyXformat2Token): use it several places.
15169 * tabular.C (OldFormatRead): and here
15171 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15173 * text2.C: remove some commented code.
15176 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15177 * trans.C: changes because of the above.
15179 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15181 * text2.C (setCounter): Fix counters bug with bibliography layout.
15183 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15185 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15186 own member functions
15187 (simpleTeXSpecialChars): ditto
15189 2001-07-06 Juergen Vigna <jug@sad.it>
15191 * a lot of files: changed the access to LyXText::status and the
15192 call of undo-functions.
15194 * undo.[Ch]: added a inset_id to the undo informations.
15196 * undo_funcs.[Ch]: added and moved here all undo functions.
15198 * lyxtext.h: give the status enum a weight, made status_ a private
15199 variable and made accessor functions for it, removed the whole bunch
15200 of undo-functions as they are now in their own file, make some
15201 functions publically available. Added function ownerParagraph with
15204 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15205 made InInset() a const function, added getParFromID() function.
15207 * buffer.[Ch]: added const version for inset_iterator functions,
15208 added getInsetFromID() function.
15210 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15211 changed undo functions for new version.
15213 2001-07-05 Juergen Vigna <jug@sad.it>
15215 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15216 unknow mechanism does not call the proper constructor but only this
15217 one also if I request the other!?
15219 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15221 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15223 * text2.C (LyXText): use initialization lists.
15225 * lyxtext.h (Selection): initialize set_ and mark_
15226 (init): remove method
15228 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15230 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15232 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15234 * screen.[Ch]: change method names to begin with lowercase
15236 * BufferView_pimpl.C (updateScrollbar): simplify further and
15237 hopefully make it a bit faster.
15239 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15241 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15242 calling directly xforms functions.
15244 * Painter.C (Painter):
15245 * lyx_cb.C (MenuWrite):
15246 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15249 * lyx_gui.C: remove bogus guiruntime extern declaration.
15251 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15253 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15255 (redoDrawingOfParagraph): ditto
15256 (redoParagraphs): ditto
15257 (cutSelection): don't create a object for CutAndPaste use the
15258 static method directly
15259 (pasteSelection): ditto
15261 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15264 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15266 * modifications to some other files because of this.
15268 * Makefile.am (lyx_SOURCES): add XFormsView
15270 * XFormsView.[Ch]: new files
15272 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15273 the main window. Move the gui dependent stuff to XFormsView
15275 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15277 * tabular.C (GetCellInset): update cur_cell also in the row/col
15278 version of this function.
15280 * lyxfunc.C: no need to include figure_form.h here.
15286 * lyxvc.C: no need to include forms.h here.
15288 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15290 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15292 * lyxfunc.C (Dispatch):
15294 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15295 constructor argument.
15297 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15299 * paragraph.C (Paragraph): dont't clear, and just set layout.
15300 (makeSameLayout): use params's copy contructor.
15302 * ParagraphParameters.[Ch] (makeSame): delete method
15304 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15306 * Variables.[Ch]: fix indentation, rename set to isSet
15308 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15310 * lyxfunc.C (Dispatch): fix typo
15312 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15314 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15317 * bufferlist.C: include assert.h for emergencyWrite().
15319 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15321 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15322 give up at last (bug #425202) !
15324 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15330 * spellchecker.C: strip spellchecker options and bring up
15331 preferences tab instead
15333 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15335 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15336 the istringstream constructor
15338 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15340 * paragraph.C (getLayout): fix return value
15342 * paragraph.h: do not declare getLayout as inline.
15344 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15346 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15348 * lyxcursor.h (operator<): new func
15349 (operator>): new func
15350 (operator>=): new func
15351 (operator<=): new func
15353 * text.C (changeCase): use selection.start and selection.end
15354 (changeRegionCase): require from to be <= to. Require par to be a
15357 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15359 2001-06-27 Juergen Vigna <jug@sad.it>
15361 * text.C (cursorLeftOneWord): changed to return the cursor and added
15362 overlay with BufferView * parameter which calls this one.
15364 (selectWord): use new getWord function.
15365 (changeCase): renamed from changeWordCase as and extended to work
15366 also on selections.
15368 * lyxtext.h: added enum word_location
15370 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15371 changeCase as this operates now also on selections.
15373 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15375 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15377 * many files: send debug output to Debug::INFO instead of
15380 * converter.C (View):
15382 (Move): send debug output to Debug::FILES instead of console.
15384 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15386 * lyxfunc.C (getStatus): use func_status
15388 * func_status.h: new header, describing the results of
15389 LyXFunc::getStatus;
15391 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15394 2001-06-25 The LyX Project <jug@sad.it>
15396 * buffer.C (sgmlOpenTag):
15398 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15400 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15402 * text2.C: remove some dead code
15404 * tabular.C (GetCellInset): store the last cell checked (gotten)
15406 * tabular.h: add the helper for the speedup
15408 * lyxtext.h: remove some dead code
15410 2001-06-26 The LyX Project <Asger>
15412 * paragraph.C: Change export to LaTeX of alignment to
15413 \begin{center} and family for better roundtrip work with reLyX.
15415 * Tune the math drawing a bit.
15417 2001-06-25 The LyX Project <Asger>
15419 * LColor.C (LColor): New color for math background. New color
15422 2001-06-25 The LyX Project <jug@sad.it>
15424 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15426 * lyxfunc.C (Open):
15427 * bufferlist.C (newFile): do not restrict to files ending with
15430 * BufferView_pimpl.C (MenuInsertLyXFile):
15432 2001-06-24 The LyX Project <jug@sad.it>
15434 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15437 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * lyxtext.h: rename most methods to begin with a small char.
15440 Lots of changes because of this.
15442 * paragraph.C (Paragraph): do not call fitToSize
15443 (erase): call Pimpl::erase
15444 (insertChar): call Pimpl::insertChar
15445 (insertInset): call Pipl::insertInset
15446 (breakParagraph): do not call fitToSize
15447 (breakParagraphConservative): do not call fitToSize
15448 (fitToSize): remove method
15450 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15452 2001-06-24 The LyX Project <Asger>
15454 * Fix Qt compilation^2
15456 2001-06-24 The LyX Project <jug@sad.it>
15458 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15459 depthHook(getDepth()-1).
15462 * ParagraphParameters.h:
15463 * ParameterStruct.h: change type of depth to unsigned int ==
15464 depth_type. Many adaptations to other files before of that.
15466 2001-06-24 The LyX Project <Asger>
15468 * Fix Qt compilation.
15470 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15472 * paragraph.h: renamed several methods to begin with small letter.
15473 several changes to many parts of the code because of this.
15475 2001-06-23 The LyX Project <jug@sad.it>
15477 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15478 rewritten to discard all double spaces when KeepEmpty is off
15479 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15480 to only handle newlines but not fiddle with spaces and friends.
15482 * lyxfunc.C (MenuNew): when doing 'new from template', use
15483 template_path as default directory
15485 2001-06-23 The LyX Project <Asger>
15487 * Clean-up of header file includes all over
15488 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15490 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15492 * paragraph.h: renamed from lyxparagraph.h
15494 2001-06-23 Asger <lyx@violet.home.sad.it>
15496 * Buffer.h: Removed Buffer::resize
15497 * BufferList.h: Removed BufferList::resize
15498 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15499 the document lazily when we change the width, or the font settings.
15501 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15503 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15505 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15507 * buffer.h: remove out of date comment
15509 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15512 * screen.C: fix "theoretical" GC leak
15514 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15516 * LaTeX.C (scanAuxFile):
15517 (deplog): remove trailing \r when reading stream (useful under
15520 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15522 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15523 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15524 and BufferView::theLockingInset(Inset*), so should use them and not
15525 access bv_->text->the_locking_inset directly.
15527 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15529 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15532 * tex-defs.h: remove old unused file
15534 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15536 * BufferView_pimpl.C: fix typo, remove minibuffer message
15537 when buffer has loaded
15539 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15541 * lyxfunc.C (Dispatch): use stringstream
15542 (MenuNew): use stringstream
15543 (Open): use stringstream
15545 * importer.C (Import): use stringstream
15547 * bufferview_funcs.C (CurrentState): use stringstream
15549 * LaTeX.C (run): use stringstream
15551 * BufferView_pimpl.C (savePosition): use stringstream
15552 (restorePosition): use stringstream
15553 (MenuInsertLyXFile): use stringstream
15555 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15568 * vspace.C: removed // -*- C++ -*- as first line.
15571 * version.h: added // -*- C++ -*- as first line.
15573 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15575 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15577 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15580 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15582 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15585 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15587 * gettext.C: include LString.h even when --disable-nls is on.
15589 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15591 * converter.h (Get): changed argument type from int to
15592 FormatList::size_type to avoid unnecessary conversion.
15594 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15597 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15599 * gettext.h: include LString.h even when --disable-nls is on.
15601 2001-06-07 Juergen Vigna <jug@sad.it>
15603 * text.C (BreakAgain): subst spaces with tabs.
15605 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15606 (resizeInsetsLyXText): set force on resizeLyXText.
15608 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15610 * gettext.h (gettext_init):
15611 (locale_init): use a real definition instead of a macro
15613 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15615 * Bufferview_pimpl.C:
15617 * LColor.C: further lcolor tidies
15619 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15621 * BufferView_pimpl.C (updateScrollbar): simplify.
15623 * BufferView2.C: don't include insets/insetinfo.h, change
15624 prototype for insertInset and call the Pimpl version. let
15625 updateInset call Pimpl version.
15627 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15628 gotoInset to BufferView::Pimpl
15630 2001-06-01 Juergen Vigna <jug@sad.it>
15632 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15633 inside a LockingInset (is the update needed at all?).
15635 2001-05-31 Juergen Vigna <jug@sad.it>
15637 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15638 here not the old one otherwise how should we compare it afterwards
15641 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15646 * FontInfo.C: bring C functions into global namespace when
15649 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15651 * LString.h: make sure config.h has been loaded before LString.h.
15653 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15654 (one for each char read by EatLine!).
15656 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15659 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15661 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15662 to the same as the par we break from
15664 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15666 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15668 * MenuBackend.C (expand): also create menu entries for wide
15669 versions of the floats.
15671 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15673 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15675 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15676 frontends/Makefile.am
15682 * tabular.C (getTokenValue): add std::
15684 * tabular-old.C (getTokenValue): add std::
15685 (getTokenValue): ditto
15686 (getTokenValue): ditto
15688 * screen.C (ToggleSelection): adjust
15690 * lyxtext.h: put selection cursors inside a Selection struct.
15692 * lyxfunc.C (moveCursorUpdate): adjust
15694 * lyxfont.C (latexWriteStartChanges): add std::
15696 * lyxfind.C: adjust
15698 * font.h: delete with(char const *, LyXFont const &)
15700 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15702 * FontInfo.C (getFontname): add std::
15704 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15705 (workAreaButtonPress): adjust
15706 (tripleClick): adjust
15708 (moveCursorUpdate): adjust
15711 * BufferView2.C (gotoInset): adjust
15713 2001-05-30 Juergen Vigna <jug@sad.it>
15715 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15716 to check pspell I add this as default as I now have new pspell
15717 libraries and they seem to use this.
15719 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15721 * text2.C (CutSelection): make the cursor valid before the call to
15724 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15726 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15727 relied on 0 terminated strings and other horrors. Bug found due to
15728 the new assert in lyxstring!
15730 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15733 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15735 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15738 * lyxfunc.C (processKeySym): change method of getting to the
15741 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15742 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15743 * BufferView_pimpl.[Ch]: here as private methods.
15745 2001-05-28 Juergen Vigna <jug@sad.it>
15747 * text.C (SetHeightOfRow): added the update() call again as it is
15748 needed to initialize inset dimensions!
15750 2001-05-16 Juergen Vigna <jug@sad.it>
15752 * text2.C (SetCharFont): Add new function with BufferView * and
15753 bool toggleall parameters for setting insets internal fonts.
15754 (SetFont): Freeze the undo as we may change fonts in Insets and
15755 all this change should be inside only one Undo!
15757 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15758 setting font's in insets as for them we have the SetFont function!
15760 2001-05-15 Juergen Vigna <jug@sad.it>
15762 * text2.C (ClearSelection): to be sure we REALLY don't have any
15765 * tabular.C (TeXCellPreamble): fixed the left border problem for
15768 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15770 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15773 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15775 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15776 LFUN_BREAKPARAGRAPH.
15778 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15779 help test to "internal only", similar for LFUN_INSERT_URL
15781 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15782 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15783 auto_region_delete and deadkeys.
15785 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15788 * LColor.C: remove some dead entries, tidy a little
15790 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15792 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15794 (Dispatch): implement LFUN_ESCAPE
15796 * commandtags.h: add LFUN_ESCAPE
15798 * LyXAction.C (init): add entry for LFUN_ESCAPE
15800 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15801 Remove commented code.
15802 (insertNote): moved here
15803 (open_new_inset): moved here
15805 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15808 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15810 * kbmap.C (findbinding): clean it up and make it work correctly.
15812 * lyx_main.C (init): do not pass argc and argv as parameters
15814 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15816 * buffer.C: fix path for OS/2 & Win32
15820 * lyx_main.C: Added os:: class.
15822 * os2_defines.h: update
15824 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15826 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15827 better by trying again with reduced state.
15829 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15831 * lyxrc.C (read): print error about invalid key sequence only when
15832 debugging (because not all latinX keysyms are known to some X
15835 * kbsequence.C (getiso): add a few std:: qualifiers
15836 (getiso): comment out extra return statement.
15838 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15840 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15842 (Dispatch): enhance the accent inset a bit. (not perfect)
15844 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15846 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15848 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15850 * bufferlist.C (emergencyWrite): fix assert() call
15852 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15854 * text.C (InsertChar): Added trivial patch to only send the "you
15855 can not do multiple spaces this way" message once during a
15858 2001-05-08 Baruch Even <baruch@lyx.org>
15860 * Makefile.am: Changed order of libraries to get LyX to link properly
15861 with the gnome frontend.
15863 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15865 * LaTeXFeatures.h: add a std:: qualifier
15867 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15869 * paragraph.C (String): use stringstream
15871 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15873 * paragraph.C (writeFile): remove footflag arg
15875 * buffer.C (makeLaTeXFile): use stringstream
15876 (latexParagraphs): remove footnot gurba
15878 * LaTeXFeatures.C (getPackages): use stringstream
15879 (getMacros): likewise
15880 (getTClassPreamble): likewise
15881 (getFloatDefinitions): new method
15883 * paragraph.C (writeFile): reindent
15886 * WorkArea.h: revert the xpos + etc changes.
15888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15890 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15892 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15893 (pasteSelection): likewise
15894 * text2.C (CreateUndo): likewise
15896 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15898 * minibuffer.C (peek_event): temporarily reduce the functionality
15899 of the minibuffer (to allow args on lfuns)
15901 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15902 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15904 * buffer.C (readInset): add compability reading of old float
15905 lists, add reading of new style float list.
15906 (readInset): avoid reevaluation of inscmd.getCmdName()
15907 (getLists): reindent
15909 * MenuBackend.C (MenuItem): implement parsing of
15910 md_floatlistinsert and md_floatinsert.
15911 (expand::LastFiles): move initalizaton of iterators out of loop,
15912 avoid reevaluation.
15913 (expand::Documents): introduce typdedef vector<string> Strings,
15915 (expand::ExportFormats): introduce typedef vector<Format const *>
15916 Formats, and use it.
15917 (expand): implement FloatListInsert and FloatInsert.
15919 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15920 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15921 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15923 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15925 (Dispatch::LFUN_FLOAT_LIST): implement
15927 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15929 * LaTeX.C (run): Fix problem with --export code.
15931 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15933 * BufferView.[Ch] (workarea): removed.
15934 (getClipboard) new method; wrapper for workarea()->getClipboard()
15936 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15939 * WorkArea.h (width, height, xpos, ypos): These methods all
15940 returned the dimensions of the work_area sub-area of WorkArea,
15941 resulting in a position error if the WorkArea were resized. Now
15942 return the dimensions of the entire WorkArea.
15944 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15946 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15948 * LaTeX.C (deplog): correct the syntax of regex reg1
15950 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15952 * undo.C: remove !NEW_INSETS cruft
15954 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15956 * text2.C: remove !NEW_INSETS cruft
15958 * text.C: remove !NEW_INSETS cruft
15960 * tabular.C: remove !NEW_INSETS cruft
15962 * spellchecker.C: remove !NEW_INSETS cruft
15964 * lyxtext.h: remove !NEW_INSETS cruft
15966 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15968 * lyxfunc.C: remove !NEW_INSETS cruft
15970 * lyxfind.C: remove !NEW_INSETS cruft
15972 * lyx_cb.C: remove !NEW_INSETS cruft
15974 * figureForm.C: remove !NEW_INSETS cruft
15976 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15978 * buffer.[Ch]: remove !NEW_INSETS cruft
15980 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15982 * CutAndPaste.C: remove !NEW_INSETS cruft
15984 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15986 * BufferView2.C: remove !NEW_INSETS cruft
15988 * BufferView.h: remove !NEW_INSETS cruft
15990 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15992 * Lsstream.h: include LString.h before the sstream headers to
15993 fix problem with gcc 2.95.3 and lyxstring
15995 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15997 * lyx_main.C: add using directives when needed for C functions
15998 declared in std:: namespace.
16000 2001-04-27 Juergen Vigna <jug@sad.it>
16002 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16003 (SetHeightOfRow): comment out the update call should not be needed!
16005 2001-04-13 Juergen Vigna <jug@sad.it>
16007 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16008 (LyXTabular): tried to minimize operator= operations (and realized
16009 hopfully Lars wish).
16011 2001-04-27 Juergen Vigna <jug@sad.it>
16013 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16015 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16017 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16019 * buffer.C (readInset): hack to make listof algorithm work
16021 * BufferView_pimpl.C: hack to make listof algorithm work
16023 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16025 * LyXAction.C: removed all !NEW_INSETS cruft
16026 (init): moved lfun_item in method
16028 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16030 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16032 * BufferView2.C (theLockingInset): white space.
16034 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16036 * minibuffer.C: include <iostream>
16038 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16040 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16042 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16044 * text.[Ch] (TransposeChars): new method
16046 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16048 * call message directly through LyXView instead of through LyXFunc
16049 * BufferView2.C: adjust
16050 * BufferView_pimpl.C: adjust
16051 * FontLoader.C: adjust
16053 * bufferview_funcs.C: adjust
16054 * converter.C: adjust
16055 * figureForm.C: adjust
16056 * importer.C: adjust
16058 * lyx_gui_misc.C: adjust
16059 * lyxfunc.C: adjust
16062 + more files in subdirs
16064 * lyxparagraph.h (size): move up int file
16067 * adjust all uses of Assert to lyx::Assert.
16069 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16070 lyxfunctional in namespace lyx
16071 * layout.C (hasLayout): ditto
16074 (delete_layout): ditto
16075 (NumberOfClass): ditto
16076 * converter.C (GetFormat): ditto
16081 * bufferlist.C (getFileNames): ditto
16082 (emergencyWriteAll): ditto
16085 * MenuBackend.C (hasSubmenu): ditto
16088 * BufferView_pimpl.C (getInsetByCode): ditto
16090 2001-04-18 Juergen Vigna <jug@sad.it>
16092 * vspace.C (asLatexString): fixed the 100% problem.
16094 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16096 * lyxfunc.C (Dispatch):
16098 * minibuffer.h: add a few std:: qualifiers
16100 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16102 * minibuffer.[Ch]: reimplement so that commands is initiated and
16103 run from lyxfunc, simplified som handling, and made the completion
16104 and history code for complete. wip.
16106 * lyxfunc.C (processKeySym): call message
16107 (miniDispatch): new temporary method
16108 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16109 (LFUN_MESSAGE): implement
16110 (LFUN_MESSAGE_PUSH): implement
16111 (LFUN_MESSAGE_POP): implement
16112 (initMiniBuffer): the initial/defualt minibuffer message.
16114 * lyxfont.[Ch]: inline some more getters
16116 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16118 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16120 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16121 (AutoSave): use LFUN_MESSAGE
16122 (Reconfigure): ditto
16124 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16126 * figureForm.C: use LFUN_MESSAGE
16128 * converter.C (runLaTeX): use LFUN_MESSAGE
16130 * bufferview_funcs.C: use LFUN_MESSAGE
16132 (changeDepth): ditto
16134 * bufferparams.h: use boost::
16136 * bufferlist.h: inherit privately from noncopyable
16138 * bufferlist.C (loadLyXFile): remove some commented code.
16140 * buffer.C (runChktex): use LFUN_MESSAGE
16142 * ShareContainer.h: inherit privately from noncopyable
16144 * ParagraphParameters.[hC] (depth): inline it.
16146 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16148 (message): new method
16149 (messagePush): ditto
16150 (messagePop): ditto
16151 (show): init minibuffer
16152 (showState): direct call
16154 * LaTeX.[Ch]: inherit privately from noncopyable
16155 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16156 instead of WriteStatus.
16158 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16160 * BufferView_pimpl.C (buffer): don't init minibuffer
16161 (workAreaButtonPress): use LFUN_MESSAGE
16162 (workAreaButtonRelease): ditto
16163 (savePosition): ditto
16164 (restorePosition): ditto
16165 (MenuInsertLyXFile): ditto
16166 (workAreaExpose): don't init minibuffer
16167 (update): remove commented code, simplify
16169 * BufferView2.C (openStuff): use LFUN_MESSAGE
16170 (toggleFloat): ditto
16173 (copyEnvironment): ditto
16174 (pasteEnvironment): ditto
16179 (updateInset): remove some commented code
16181 * lastfiles.h: inherit privately from noncopyable
16184 * lyx_main.h: ditto
16186 * lyxlex_pimpl.h: ditto
16188 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16189 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16190 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16192 * LyXAction.h: inherit privately from noncopyable, add methods
16193 func_begin, func_end, returning iterators to the func map.
16195 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16196 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16197 (func_begin): new method
16198 (func_end): new method
16200 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16202 (copySelection): ditto
16203 (pasteSelection): ditto
16205 * BufferView.C: whitespace change
16206 * BufferView.h: inherit privately from noncopyable
16208 2001-04-16 Allan Rae <rae@lyx.org>
16210 * tabular-old.C (l_getline):
16211 * spellchecker.C (sc_check_word):
16212 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16213 an unrecognised preprocessor directive. So ensure they're wrapped.
16215 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16217 * src/exporter.C (Export): Give an error message when path to file
16220 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16222 * LaTeX.C (deplog): Always check that foundfile exists.
16224 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16227 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16229 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16231 * tabular.[Ch] (getLabelList): implement new method
16233 * minibuffer.h: comment ouf setTiimer
16235 * minibuffer.C (ExecutingCB): constify res
16236 (peek_event): constify s
16237 (Set): constify ntext
16238 (Init): constify nicename
16240 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16242 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16243 (savePosition): use two params to Minibuffer::Set
16244 (restorePosition): ditto
16246 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16248 * lyx_main.C: include language.h
16250 * Makefile.am (lyx_main.o): add language.h
16252 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16258 * CutAndPaste.C: include gettext.h
16260 * lyxfont.h: remove old hack with ON and OFF.
16263 * lyxfont.h: do not include language.h...
16268 * bufferview_funcs.C:
16274 * paragraph.C: ... but do it here instead
16276 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16278 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16280 * tabular.C: small reformat
16282 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16285 (BreakParagraph): ditto
16286 (SetOnlyLayout): ditto
16289 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16292 * lastfiles.C: removed most using decl, add std:: where needed
16294 * buffer.C: ws changes
16296 * MenuBackend.C (class compare_format): put into anon namespace
16297 (expand): constify label, names, action, action2
16300 * text.C (SingleWidth): constify font
16301 (IsBoundary): constify rtl2
16302 (GetVisibleRow): constify ww
16304 * LaTeX.C (deplog): constify logfile
16306 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16308 (workAreaExpose): constify widthChange, heightChange
16310 * lyxrow.C (par): moved
16313 * lyxrow.h: as inlines here
16315 * lyxfont.h (shape): moved from lyxfont.C
16316 (emph): moved from lyxfont.C
16318 * lyxfont.C (LyXFont): use initialization list for all
16320 (shape): move to lyxfont.h as inline
16321 (emph): move to lyxfont.h as inline
16324 2001-04-04 Juergen Vigna <jug@sad.it>
16326 * vspace.C: had to include stdio.h for use of sscanf
16328 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16331 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16332 independent of xforms.
16334 2001-04-02 Juergen Vigna <jug@sad.it>
16336 * spellchecker.C: fixed namespace placing!
16338 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16340 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16341 the LyXParagraph * is 0.
16343 2001-03-29 Juergen Vigna <jug@sad.it>
16345 * vspace.C: added support for %, c%, p%, l%.
16346 (stringFromUnit): added helper function.
16347 (asLatexString): changed to give right results for the %-values.
16349 * buffer.C: convert the widthp in a width%.
16351 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16353 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16356 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16357 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16359 * lyx_cb.[Ch]: see above.
16361 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16365 * lyx.[Ch]: replaced by figure_form.[Ch].
16369 * lyxfunc.C: changed headers associated with above changes.
16371 2001-03-27 Juergen Vigna <jug@sad.it>
16373 * BufferView_pimpl.C: set the temporary cursor right!
16375 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16377 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16379 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16381 * LString.h: removed "using std::getline"!
16383 * BufferView_pimpl.C (Dispatch): changes due to changes in
16384 InsetInclude::Params.
16386 * buffer.C (tag_name): removed redundant break statements as they were
16387 producing lots of warnings with my compiler.
16389 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16391 * LString.h: add "using std::getline" when using the real <string>.
16393 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16395 * buffer.C: removed bitset usage.
16396 PAR_TAG moved to an anonymous name space.
16397 (tag_name): new funtion, also in the anonymous namespace.
16398 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16399 (makeDocBookFile): clean code. Completed transition from string arrays
16401 (SimpleDocBookOnePar): code clean.
16403 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16405 * tabular.C: add some comments.
16407 2001-03-22 Juergen Vigna <jug@sad.it>
16409 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16410 compatibility read a bit and fixed bug with minipage in different
16413 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16415 * buffer.C (pop_tag): removed.
16416 (push_tag): removed.
16417 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16418 array replaced with vector. Added support for CDATA sections.
16419 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16421 (makeDocBookFile): XML conformant declaration of CDATA section,
16422 fixed bug related to <emphasis> in the first paragraph char.
16423 (sgmlOpenTag): exclude empty tags.
16424 (sgmlCloseTag): ditto.
16426 * buffer.h (pop_tag): removed.
16427 (push_tag): removed.
16429 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16431 * language.h (Languages): added size_type and size().
16433 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16435 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16436 response on compability reading of minipages. One probliem is that
16437 the old usage of minipages was «flertydig»
16439 * several files here and in subdirs: don't use static at file
16440 scope use anon namespaces instead.
16442 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16444 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16445 LaTeX output. This is necessary for Literate document
16448 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16450 * buffer.C: insert hfill when needed.
16452 * tabular.C (l_getline): use string::erase, small whitespace change.
16454 * BufferView_pimpl.C: try the anon namespace.
16455 * WorkArea.C: ditto
16457 2001-03-16 Juergen Vigna <jug@sad.it>
16459 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16460 otherwise it won't open options-dialogs.
16462 * buffer.C: honor pextraWidth(p) on converting minipages.
16464 * tabular.C (l_getline): changed the functions to strip trailing \r.
16466 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16468 * BufferView_pimpl.C:
16469 * minibuffer..C: added "using SigC::slot" declaration.
16471 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16473 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16479 * paragraph.C: ditto
16481 * lyxtext.h: NO_PEXTRA
16483 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16485 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16486 * ParameterStruct.h: ditto
16487 * ParagraphParameters.h: ditto
16488 * lyxparagraph.h: ditto
16490 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16492 * buffer.C: add compability for minipage alignment.
16493 (latexParagraphs): remove unwanted pextra check.
16495 * several files: remove CXX_WORKING_NAMESPACES
16497 * buffer.C (pop_tag): tie is in namespace boost
16499 * BufferView.h: noncopyable is in namespace boost
16501 * lyx_main.h: ditto
16504 * lastfiles.h: ditto
16505 * bufferlist.h: ditto
16506 * ShareContainer.h: ditto
16508 * LyXAction.h: ditto
16511 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16513 * Merging changes from BRANCH_MVC back into HEAD.
16515 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16517 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16519 * BufferView_pimpl.C: change from intl.C
16523 * Makefile.am: move combox.*
16529 * intl.C: remove dialog (covered by prefs)
16531 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16533 * lyxfunc.C (Dispatch): removed redundant break statement.
16535 2001-03-14 Juergen Vigna <jug@sad.it>
16537 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16539 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16541 * buffer.C: add hack to fix compability reading of minipages.
16543 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16545 * buffer.C (getLists): Cleanup.
16547 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16549 * lyxfont.C (update): don't honor toggleall on font size.
16551 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16555 * Makefile.am: moved to frontends/xforms/
16559 * BufferView_pimpl.C: changes for moved mathpanel
16561 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16563 * gettext.h: fix gettext_init() in --disable-nls
16565 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16567 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16569 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16572 * lyx.h: strip external form
16574 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16576 * BufferView_pimpl.C: add comment, destroySplash()
16578 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16580 * BufferView_pimpl.C:
16584 * lyxfunc.C: use re-worked insetinclude
16586 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16588 * buffer.C: add using std::stringstream.
16590 * lyx_cb.C: readd using std::ios.
16592 * buffer.C: add using std::map.
16594 * BufferView_pimpl.C: add using std::vector.
16596 * ShareContainer.h: add std:: to swap.
16598 * buffer.h: add some typedefs
16599 * buffer.C (getLists): use them
16600 (getLists): renamed from getTocList.
16601 add a counter for the different float types and use it in the
16603 (getLists): use the same counter for the NEW_INSETS and the "non"
16606 * lyx_cb.h: remove unused items, includes, using etc.
16608 * ShareContainer.h: remove some commented code, add more comments
16609 and "documentation".
16611 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16613 * buffer.C (getTocList): make the list also when NEW_INSETS is
16616 * buffer.h: remove TocType
16618 * buffer.C (getTocList): change to return a map<string,
16619 vector<TocItem> >, implement for dynamic number of list.
16621 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16622 * text2.C (PasteSelection): adjust
16623 * CutAndPaste.C (pasteSelection): adjust
16625 * FloatList.C (FloatList): update from the new_insets branch.
16626 * Floating.[Ch]: ditto
16627 * LaTeXFeatures.C: ditto
16629 * lyxlex_pimpl.C: ditto
16631 * paragraph.C (Last): remove when NEW_INSETS is defined.
16633 * other file: changes because of the above.
16635 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16637 * lyxparagraph.h: rename next to next_, previous to previous_,
16638 make them private for NEW_INSETS. Rename Next() to next(),
16639 Previous() to previous().
16641 * other files: changes because of the above.
16643 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16646 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16649 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16651 * main.C (main): pass lyx_localedir to gettext_init().
16653 * gettext.h: remove locale_init and gettext_init macros
16655 * gettext.C (locale_init): new function
16656 (gettext_init): new function
16658 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16661 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16663 * Moved credits to frontends:
16664 * credits.[Ch]: removed
16665 * credits_form.[Ch]: removed
16666 * lyx_gui_misc.C: remove credits stuff
16669 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16671 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16673 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16674 unneeded destructor.
16676 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16677 a standalone pointer again.
16679 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16681 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16687 * ToolbarDefaults.C:
16696 * BufferView_pimpl.C: use new file dialog in GUII
16699 * lyx_cb.C: remove LayoutsCB to Toolbar
16701 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16703 * ShareContainer.h (get): add std:: qualifier
16705 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16707 * ShareContainer.h: define a proper ShareContainer::value_type
16708 type (and use typename to please compaq cxx)
16710 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16712 * lyxparagraph.h: move serveral local vars to
16713 ParameterStruct/ParagraphParameters., use ShareContainer in
16714 FontTable., make vars in FontTable private and add getter and
16717 * paragraph.C: changes because of the above.
16719 * lyxfont.h: remove copy constructor and copy assignment. (the
16720 default ones is ok), move number inside FontBits. move inlines to
16723 * lyxfont.C: add number to initializaton of statics, move several
16724 inlines here. constify several local vars. some whitespace
16725 cleanup. Dont hide outerscope variables.
16727 * Spacing.h: add two new constructors to match the set methods.
16729 * ShareContainer.h: new file, will perhaps be moved to support
16731 * ParameterStruct.h: new file
16733 * ParagraphParameters.h: new file
16735 * ParagraphParameters.C: new file
16737 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16738 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16740 * BufferView_pimpl.C: ParagraphParameter changes.
16741 * buffer.C: Likewise.
16742 * bufferview_funcs.C: Likewise.
16743 * text.C: Likewise.
16744 * text2.C: Likewise.
16746 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16748 * lyxfind.C (LyXReplace): do not redefine default argument in
16750 (IsStringInText): ditto
16751 (SearchForward): ditto
16752 (SearchBackward): ditto
16754 2001-03-06 Juergen Vigna <jug@sad.it>
16756 * lyxfind.C (IsStringInText): put parentes around expressions.
16758 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16760 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16762 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16764 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16766 * stl_string_fwd.h: add comment
16768 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16771 * tabular.C: remove unused DocBook methods
16777 killed DO_USE_DEFAULT_LANGUAGE
16779 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16781 * lyx_gui.C: do not include language.h.
16783 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16784 arguments in function implementation.
16786 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16788 * BufferView_pimpl.C: add <ctime>
16790 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16792 * BufferView_pimpl.C: add using std::find_if
16794 2001-02-27 José Matos <jamatos@fep.up.pt>
16796 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16799 2001-02-11 José Matos <jamatos@fep.up.pt>
16801 * buffer.C (makeDocBookFile): command styles now have a parameter as
16802 "title" by default.
16804 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16806 * layout_forms.[Ch]: removed
16807 * lyx_cb.[Ch]: out character
16808 * lyx_gui.C: out character
16809 * lyx_gui_misc.C: out character
16810 * bufferview_funcs.C: : out character,
16811 added toggleall as parameter in ToggleAndShow
16813 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16815 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16817 * text2.C (SetCurrentFont): Disable number property at boundary.
16819 2001-02-26 Juergen Vigna <jug@sad.it>
16821 * lyxfunc.C (getStatus): added a string argument override function so
16822 that this is correctly called from LyXFunc::Dispatch if it contains a
16823 do_not_use_argument which is used!
16824 (Dispatch): added check for "custom" export and call appropriate func.
16826 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16828 * lyxrc.C: Add language_command_local, language_use_babel and
16829 language_global_options.
16831 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16833 * buffer.C (makeLaTeXFile): Use language_use_babel and
16834 language_global_options.
16836 2001-02-23 Juergen Vigna <jug@sad.it>
16838 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16839 which works with LyXText and putted it inside BufferView. Here now we
16840 only call for that part the BufferView::Dispatch() function.
16842 * BufferView.C (Dispatch): added.
16844 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16845 functions which needs to use a LyXText over from LyXFunc.
16846 (MenuInsertLyXFile): added
16847 (getInsetByCode): added
16848 (moveCursorUpdate): added
16849 (static TEXT): added
16851 2001-02-22 Juergen Vigna <jug@sad.it>
16853 * BufferView_pimpl.C (update): call a status update to see if LyXText
16856 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16858 * vc-backend.C (revert): implement for CVS
16859 (getLog): implement for CVS
16861 2001-02-20 Juergen Vigna <jug@sad.it>
16863 * text2.C (ClearSelection): added BufferView param for inset_owner call
16865 * lyxfunc.C (TEXT): added this function and use it instead of
16866 directly owner->view()-text of getLyXText().
16868 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16870 * src/layout_forms.C: out preamble
16871 * src/layout_forms.h: out preamble
16872 * src/lyx_cb.C: out preamble
16873 * src/lyx_cb.h: out preamble
16874 * src/lyx_gui.C: out preamble
16875 * src/lyx_gui_misc.C: out preamble
16876 * src/lyxfunc.C: connect with guii preamble
16878 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16880 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16882 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16884 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16885 whether to run bibtex.
16887 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16889 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16891 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16893 * Makefile.am (lyx_SOURCES): removed bibforms.h
16895 * vspace.h: doxygen
16897 * text.C (GetVisibleRow): make several local vars const
16899 * tabular.C: small cleanup.
16901 * lyxserver.C (callback): use compare instead of strncmp
16903 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16904 inlines to after class or to paragraph.C
16906 * lyxfont.h: remove friend operator!=
16908 * converter.h: move friend bool operator< to non friend and after
16911 * combox.h: small cleanup
16913 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16914 to inlines after class def.
16916 * buffer.C (pop_tag): use string operations instead of strcmp
16918 * bmtable.c: doxygen, small cleanup
16920 * LaTeX.h: remove friend operator==
16922 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16934 * BufferView_pimpl.C:
16935 * BufferView.[Ch]: remove cruft
16937 2001-02-14 Juergen Vigna <jug@sad.it>
16939 * lyxfunc.C: removed #if 0 unused code
16941 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16943 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16945 * text2.C (SetSelection): added a BufferView * parameter
16947 2001-02-13 Juergen Vigna <jug@sad.it>
16949 * lyxfunc.C (Dispatch): fixed protected blank problem.
16950 * BufferView2.C (protectedBlank): added LyxText * parameter.
16952 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16953 (AppendColumn): same as above for column_info.
16955 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16956 (moveCursorUpdate): use a LyXText param for support of InsetText.
16958 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16959 (tripleClick): ditto
16961 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16963 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16965 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16967 * text2.C (SetSelection): set correct update status if inset_owner
16968 (ToggleFree): ditto
16970 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16972 * tabular.C: remove some commented code.
16974 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16976 * BufferView_pimpl.C: call hideSplash()
16978 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16981 * bibforms.h: remove
16984 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16985 add LFUN_CHILD_CREATE
16987 * counters.h: fix tiny typo
16992 * lyx.C: move splash to frontends/xforms/
16994 * lyx_gui_misc.C: move Include and Bibform to frontends
16996 * lyxvc.h: clarify comment
16998 * vspace.C: tiny housekeeping
17000 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17002 * text.C (PrepareToPrint): RTL Fix.
17004 * paragraph.C (GetUChar): New method.
17005 (String): Use GetUChar.
17007 * buffer.C (asciiParagraph): Use GetUChar.
17009 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17011 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17013 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17016 * buffer.C: rename to getLogName(), handle
17017 build log / latex log nicely
17019 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17022 * MenuBackend.h: remove support for reference menuitem type.
17024 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17026 * BufferView_pimpl.C: housekeeping
17027 * BufferView_pimpl.h:
17032 * minibuffer.h: move Timeout GUI-I
17034 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17036 * lyxrc.C (read): Update converters data-structures.
17038 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17040 * LaTeX.h (operator!=): add operator != for Aux_Info
17042 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17044 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17046 * LaTeXLog.C: deleted, useful code moved to Buffer
17049 * buffer.C: new function getLatexLogName()
17055 * lyxfunc.C: use frontends for LaTeX and VC logs
17057 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17059 * LaTeX.h: yet another std:: that Allan forgot.
17061 * Variables.C (set): renamed from isset(), because this clashes
17062 with some HP-UX macros (grr).
17064 2001-02-06 Allan Rae <rae@lyx.org>
17066 * LaTeX.h: Another bug fix. Missing std:: this time.
17068 2001-02-04 Allan Rae <rae@lyx.org>
17070 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17071 floats problem. I've left it commented out because it's not quite
17072 correct. It should also test that the current object is a table or
17073 figure inset. But I haven't gotten around to figuring out how to do
17074 that. I *think* it'll be something like: "table" == inset.type()
17076 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17079 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17081 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17082 all the citation/databases/styles in the auxilary file.
17083 (run): Rerun latex if there was a babel language error.
17085 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17087 * text.C (Backspace): Preserve the font when changing newline char
17089 (BreakParagraph): If the cursor is before a space, delete the space.
17091 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17093 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17095 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17096 new argument (code).
17097 (ChangeCitationsIfUnique): New method.
17099 * paragraph.C (GetPositionOfInset): Handle bibkey.
17101 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17103 * BufferView_pimpl.h: change type of Position::par_pos to
17104 LyXParagraph::size_type.
17106 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17108 * BufferView_pimpl.C (savePosition, restorePosition): Write
17109 messages to minibuffer.
17111 2001-01-28 José Matos <jamatos@fep.up.pt>
17113 * buffer.C (makeDocBookFile): adds support for document language.
17114 A silly restriction on the name of LatexCommand types where removed.
17115 Added support for CDATA sections, allows to chars unescaped, used
17116 among others in code, to avoid escape < and >.
17118 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17120 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17121 saved positions instrad of a stack. Furthermore, a position is
17122 stored using paragraph id/paragraph position.
17124 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17125 Remove LFUN_REF_BACK.
17127 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17129 * converter.C (dvipdfm_options): New method.
17131 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17133 * vspace.C (isValidLength): Fix for empty input string.
17135 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17137 * LyXAction.C (init): change description of LFUN_FIGURE to
17140 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17142 * LaTeX.C: add using directive
17144 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17146 * MenuBackend.C (expand): Fix the sorting of the formats.
17148 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17150 * lyx_main.C: tiny error message fix
17152 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17154 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17155 calling fl_initialize(). This fixes the problem with ',' as
17156 decimal separator in text files.
17158 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17160 * trans.C (process): Fix the keymap bug.
17162 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17164 * LaTeX.C (scanAuxFiles): New method. Provides support for
17165 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17166 (scanLogFile) Scan for "run BibTeX" messages.
17168 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17169 OT1 font encoding. Also, load the aecompl package if the ae
17172 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17174 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17176 * texrow.C (increasePos): turn two error messages into debug
17179 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17181 * LaTeX.C (scanAux): Handle the \@input macro.
17182 (runBibTeX): Use scanAux().
17184 * language.C (latex_options_): New field.
17186 * LaTeXFeatures.C (getMacros): Add language macros.
17188 * buffer.C (makeLaTeXFile): Small fix.
17190 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17192 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17194 * text2.C: add a using directive.
17196 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17201 * lyxfunc.C: kill LyXBell.
17203 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17205 * text.C (IsBoundary): Remove the error message
17207 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17209 * lyxrc.C (setDefaults): Correct initialization value for
17212 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17214 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17217 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17218 and GotoNextNote().
17220 * src/LyXAction.C: Added reference-next.
17222 * text.C (InsertChar): Use contains instead of strchr.
17224 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17226 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17228 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17229 alignment commands (when needed).
17231 * text.C (InsertChar): Add ':' to number separator chars.