]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Invoke prependEnvPath to adjust the PATH only if
[lyx.git] / src / ChangeLog
1 2005-02-13  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
4         only if lyxrc.path_prefix is not empty.
5
6 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * bufferparams.C (readGraphicsDriver): prevent crash
9
10 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
11
12         * text2.C (setCounter): check for inInset() == 0
13
14 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
17         but use update() to get correct screen display; use convert
18         instead of istringstream. 
19         (getStatus): handle LFUN_GOTO_PARAGRAPH 
20
21         * lyxfunc.C (dispatch, getStatus): do not handle
22         LFUN_GOTO_PARAGRAPH here.
23
24 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
25
26         * text3.C (dispatch): size() -> depth()
27
28         * text2.C: remove some debug output
29
30         * paragraph.C: ws changes only
31
32         * lyxfunc.C (getStatus): size() -> depth()
33
34         * dociterator.h (clear, push_back, pop_back, internalData,
35         operator[], resize, empty): new functions
36         Make StableDocIterator and operator== be friends. Don't inherit
37         from std::vector use a privat class variable slices_ instead.
38         Modify to fit.
39
40         * dociterator.C: update because of not inheriting from std::vector
41         anymore. Call explictly to slices_ instead. Use depth() instead of
42         size() and top() instead of back()
43
44         * cursor.C: chagne size() -> depth and back() -> top(). Also
45         remove some direct operator[](i) calls in favour of foo[i]
46         (getFont): remove some dead code
47
48         * bufferview_funcs.C (coordOffset): size() -> depth()
49
50         * buffer.C: ws changes only
51
52         * CutAndPaste.C (eraseSelection): back() -> top()
53
54         * BufferView_pimpl.C (selectionRequested): back() -> top()
55
56         * BufferView.C (setCursor): size() -> depth()
57
58 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
59
60         * text3.C (cursorPrevious): return true if depm changed something
61         (cursorNext): ditto
62         (dispatch): rename sl to oldTopSlice, remove moving use the new
63         NoUpdate func attrib instead. Make sure that needsUpdate is set
64         for function that have NoUpdate, but where depm might have changed
65         the buffer anyway.
66
67         * text2.C (cursorLeft): make us return true if depm changed
68         something
69         (cursorRight): ditto
70         (cursorUpParagraph): ditto
71         (curosrDownParagraph): ditto
72         (cursorUp, cursorDown): ditto, make sure to read comments in code
73         (deleteEmptyParagraphMechanism): remove an assert, also return
74         true if just a single char was deleted.
75
76         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
77         cursor that we modify, to avoid modifying an active cursor before
78         we call setCursor. This allows depm to run. Also return true if
79         depm deleted something.
80
81         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
82         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
83         cursorDownParagraph, cursorPrevious and cursorNext, return true if
84         something was changed in the buffer because of them (ie. depm run)
85
86         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
87         debug messages. Make update by default be false. Make sure that
88         the result of update is retained throught several calls down to
89         dispatch.
90
91         * LyXAction.h: add a new func_attrib: NoUpdate
92
93         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
94         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
95         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
96         and LFUN_WORDLEFT
97         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
98
99 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
102         bv_->owner(), bv_->buffer() by direct references to the private
103         members.
104         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
105         (getStatus): isSavedPosition() is in BufferView::Pimpl.
106         (fitCursor): center() is in BufferView::Pimpl.
107         (getStatus, trackChanges, dispatch): no need for a temporary buf
108         variable
109         (fitCursor, workAreaDispatch): use workarea().workheight()
110
111 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
112
113         * CutAndPaste.C (pasteSelectionHelper): fix a crash
114
115 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
116
117         * buffer.C: format up to 241.
118         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
119         break if pasting into ERT
120         * lyxfunc.C (getStatus): suppress mathpanel and
121         LFUN_DIALOG_SHOW_NEW_INSET in ERT
122
123 2005-02-01  Angus Leeming  <leeming@lyx.org>
124
125         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
126
127 2005-02-01  Angus Leeming  <leeming@lyx.org>
128
129         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
130         calling fs::is_directory().
131
132 2005-01-31  Angus Leeming  <leeming@lyx.org>
133
134         * lyx_main.C (priv_exec): specify explicitly the relative location
135         of the top level build directory when run in-place.
136
137 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
140         LyXText containing the cursor, not the top-level one.
141
142         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
143         true.
144         (insertStringAsLines): rename par to pit; use temporary variable
145         par to hold a Paragraph; do not store par.layout() in a variable,
146         since the pointer may die when breaking paragraphs; pass pars to
147         breakParagraph() instead of Buffer::paragraphs().
148
149 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
150
151         * lyxlex_pimpl.h: #include <fstream>.
152
153         * BufferView.[Ch] (getLyXText): add a const version.
154
155         * BufferView_pimpl.C: add debug aids.
156
157         * RowList_fwd.h:
158         * buffer.h:
159         * lyxrow.h:
160         * paragraph_funcs.h: add commentary explaining what the class does.
161
162
163         * coordcache.[Ch]: add lots of commentary.
164         (startUpdating, doneUpdating): debug aids.
165         (arrays, insets, parPos, getParPos): accessors to private data.
166
167         * cursor_slice.[Ch] (text): add a const version.
168         * dociterator.[Ch] (text, innerText): add const versions.
169
170         * lyxtext.h (breakParagraph): change the keep_layout arg to a
171         bool.
172
173         * paragraph.C (getRow, pos2ros): add asserts.
174
175         * paragraph.h: add commentary. Lots of.
176
177         * paragraph.[Ch] (metrucs, draw): removed.
178
179         * cursor.C:
180         * rowpainter.[Ch]: const-correct changes.
181
182         * text.C: various obvious clean-ups. Removal of ancient cruft.
183         Bug fixes, even.
184
185 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
186
187         * vc-backend.C (find_file): rewrite to use boost.filesystem
188         (scanMaster): ditto
189
190         * main.C (main): set default name check for boost.filesystem to
191         no check
192
193         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
194         (open): ditto
195         (doImport): ditto
196         (actOnUpdatedPrefs): ditto
197
198         * lyx_main.C (init): rewrite to use boost.filesystem
199         (queryUserLyXDir): ditto
200
201         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
202         (getContentsOfAsciiFile): ditto
203
204         * lastfiles.C (readFile): rewrite to use boost.filesystem
205
206         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
207
208         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
209         (loadLyXFile): ditto
210
211         * buffer.C (Buffer): adjust for destroydir
212         (getLogName): rewrite to use boost.filesystem
213         (setFileName): ditto
214         (save): use fs::copy_file (from fs_extras)
215
216         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
217
218         * LaTeX.C (run): rewrite to use boost.filesystem
219         (scanAuxFiles): ditto
220         (handleFoundFile): ditto
221
222 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
223
224         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
225
226         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
227
228 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
229
230         * lyxlayout.[Ch]: change some vars from float to double
231
232         * buffer.C (readFile): make a local var const
233
234         * Several files: use convert<> instead of atoi,strToXXX and friends
235
236 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
237
238         * LaTeXFeatures.[Ch]: Add a static list packages_ that
239         holds the contents of packages.lst. New functions getAvailable
240         and isAvailable to parse and check that list, resp.
241
242         * LyXAction.C:
243         * lfuns.h:
244         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
245
246         * bufferparams.[Ch]: new param output_changes.
247
248         * Buffer.C: increase file format to 240.
249         Use output_changes and isVailable.
250
251         * changes.[Ch]:
252         * paragraph.C:
253         * paragraph_pimpl.C: Use output_changes and isVailable.
254
255 2005-01-23  Angus Leeming  <leeming@lyx.org>
256
257         * output_latex.C: #include "insetbibitem.h", rather than
258         forward declare function bibitemWidest.
259
260 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
261
262         * lyx_main.C (init): make it compile on the Mac.
263
264 2005-01-20  Angus Leeming  <leeming@lyx.org>
265
266         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
267         (setLyXMisc): (char string literal) != (char string literal) is
268         performing a comparison on the addresses. Convert one operand
269         explicitly to string to guarantee expected behaviour.
270         From MSVC warning.
271
272 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
273
274         * buffer.C:
275         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
276
277         * output_plaintext.C: remove unneeded #include gzstream.h.
278
279 2005-01-20  Angus Leeming  <leeming@lyx.org>
280
281         * SpellBase.h: rename some of the elements of the Result enum.
282
283         * aspell_local.h:
284         * ispell.h:
285         * pspell.h:
286         * aspell.C (check):
287         * ispell.C (check):
288         * pspell.C (check): ditto
289
290 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
291
292         * buffer.C: add #include <fstream>.
293
294         * lyx_main.C (init): Compile fix.
295
296         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
297
298 2005-01-20  Angus Leeming  <leeming@lyx.org>
299
300         * mover.h: change commentary to reflect the changed meaning of
301         the $$s placeholder.
302
303 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * output_linuxdoc.C (linuxdocParagraphs): silence warning
306
307         * lyxfind.C (MatchString::operator()): remove bogus semicolon
308
309 2005-01-20  Angus Leeming  <leeming@lyx.org>
310
311         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
312         printing diagnostic data by not dereferecing an iterator past the
313         end.
314
315 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
316
317         * buffer.C (readHeader): use "&&" rather than "and".
318
319         * lyxserver.h (inPipeName, outPipeName): make these const.
320
321 2005-01-19  Angus Leeming  <leeming@lyx.org>
322
323         * lyx_main.C (error_handler, init): protect SIGHUP with
324         #ifdef SIGHUP guards.
325
326 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
329
330 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * text.C (setHeightOfRow): add a margin at the top and bottom of
333         the document (bug 1761)
334
335 2005-01-17  Angus Leeming  <leeming@lyx.org>
336
337         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
338         with "python ". Workaround for a brain-dead Windows.
339
340 2005-01-16  Angus Leeming  <leeming@lyx.org>
341
342         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
343         for MacOSX and Windows to use prependEnvPath.
344         Strip out the hard-coded block to add elements to the PATH for
345         MacOSX and replace it with a call to prependEnvPath using the
346         contents of LyXRC::path_prefix.
347         (queryUserLyXDir): strip out the code to run reconfigure, instead
348         returning a boolean indicating the necessity to do so.
349         (reconfigureUserLyXDir): contains the code to reconfigure the
350         user support directory. Is now called after the various LyXRC data
351         files have been read.
352
353         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
354
355 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
356
357         * converter.[Ch] (convert): take a new parameter try_default. Use
358         a default converter (imagemagick) if try_default is true.
359
360 2005-01-13  Angus Leeming  <leeming@lyx.org>
361
362         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
363         os::cygwin_path_fix.
364         (write): output LyXRC::cygwin_path_fix as necessary.
365
366 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
367
368         * lyxrc.h:
369         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
370
371 2005-01-12  Angus Leeming  <leeming@lyx.org>
372
373         * lyx_main.C (init): set the PATH variable to include the
374         directory containing the LyX binary when running on Mac or Windows.
375
376 2005-01-12  Angus Leeming  <leeming@lyx.org>
377
378         * lyx_main.C (init): remove cruft that purports to set the locale
379         dir. It doesn't and is not needed anyway.
380
381 2005-01-10  Angus Leeming  <leeming@lyx.org>
382
383         * Makefile.am: remove the lyx_main.C special casing.
384
385         * BufferView_pimpl.C:
386         * bufferlist.C:
387         * exporter.C:
388         * lyx_cb.C:
389         * lyx_main.C:
390         * lyxfunc.C:
391         * messages.C: use support/package.h to provide the paths to the
392         various directories used by LyX.
393
394 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
395
396         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
397         layout if pasting into an empty paragraph)
398
399 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
400
401         * tex-accent.C: add <string>
402
403 2005-01-06  José Matos  <jamatos@lyx.org>
404
405         * ParagraphParameters.C (write): put every parameter in its own line.
406         * paragraph.C (write): reduce number of consecutive empty lines exported.
407         * buffer.C (LYX_FORMAT): increase file format to 239.
408
409 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
410
411         * everywhere: change support/tostr.h -> support/convert.h
412
413         * tabular.C: make all write_attributes templates, tostr -> convert
414
415         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
416         (emptyTag): and -> &&, and fix type for ret from getChar
417         (getFirstWord): fix type for ret from getChar
418         (onlyText): and -> &&
419         (simpleDocBookOnePar): and not -> && !, fix type for ret from
420         getChar
421
422         * toc.C (goTo, action):
423         * text3.C (dispatch):
424         * text.C (currentState):
425         * tex-accent.C (DoAccent):
426         * sgml.C:
427         * lyxrc.C:
428         * lyxfunc.C (menuNew):
429         * lyxfinc.C (replace):
430         * counters.C (laberItem):
431         * bufferview_funcs.C (font2string):
432         * bufferparams.C (writeFile):
433         * buffer.C (readFile):
434         * Spacing.C (set):
435         * MenuBackend.C: tostr -> convert
436
437         * LaTeX.C (runMessage): fix format
438         (scanAuxFiles): tostr -> convert
439
440         * BufferView_pimpl.C (savePosition): fix format
441         (restorePosition): ditto
442         (dispatch): ditto
443
444 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
445
446         * Spacing.[Ch]: New method getValueAsString().
447
448         * Spacing.[Ch]:
449         * bufferparams.C:
450         * ParagraphParameters.C:
451         * lyxlayout.C:
452         * text.C:
453         * text3.C: store/read spacing value as string.
454
455         * rowpainter.C: change float value (spacing_val) to double.
456
457         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
458         broken custom document spacing).
459
460 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
461
462         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
463         namespace, also more use of temp references and const
464
465         * cursor.[Ch] (getStatus): move to lyxfunc.C
466
467         * bufferparams.C: reformat slightly
468
469         * bufferview_funcs.C (font2string): constify arg
470
471         * changes.C:
472         * converter.C:
473         * counters.C:
474         * bufferlist.C:
475         * buffer_funcs.C: (many funcs): constify arg on function
476         definitions, also make more local vars const, also add ASSERTS on
477         pointer args.
478
479         * buffer.C (LYX_FORMAT): put const in correct place
480         (many funcs): constify arg on function definitions, also make
481         more local vars const
482
483         * aspell_local.h: remove "struct" from typdef setup
484
485         * aspell.C (check): make word_ok const
486         (nextMiss): simplify slightly
487         (error): ditto
488
489 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
490
491         * lyxrc.[Ch]: store all float values as strings.
492         use int (not float) for lyxrc.dpi.
493
494 2005-01-04  Angus Leeming  <leeming@lyx.org>
495
496         * lyx_cb.C (Reconfigure):
497         * lyx_main.C (queryUserLyXDir):
498         to run the <system_lyxdir>/configure correctly on Windows, prefix
499         the path to the script with "sh " when generating the string that
500         is passed to system().
501
502 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
503
504         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
505
506 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
507
508         * lyxlength.C (asLatexString): get rid of setprecision
509
510 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * text2.C (setLayout): remove unused variable endpit.
513         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
514
515         * paragraph.C (onlyText): remove unused variable style.
516
517         * cursor.C (bruteFind): remove unused variables beg and end.
518
519         * Makefile.am (dist_noinset_DATA): not needed anymore
520
521         * cheaders/*: remove.
522
523 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
524
525         * text3.C: fix LFUN_MATH_MODE.
526
527 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * buffer_funcs.C (countWords): new function. Counts words between
530         two iterators.
531
532         * BufferView_pimpl.C (getStatus, dispatch): handle
533         LFUN_WORDS_COUNT.
534
535         * LyXAction.C (init):
536         * lfuns.h: add LFUN_WORDS_COUNT.
537
538 2004-12-19  Angus Leeming  <leeming@lyx.org>
539
540         * buffer.C (save): s/slashify_path/internal_path/.
541
542 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
543
544         * lyxfind.C (findChange): do not search for end of pars, because
545         the change tracker cannot handle this (fixes bug 1719).
546
547 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
548
549         * paragraph.[Ch] (autoBreakRows): remove
550
551         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
552
553         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
554         avoid using the paragraph one
555
556         * text2.C (LyXText, insertStringAsLines): adjust
557
558 2004-12-16  Angus Leeming  <leeming@lyx.org>
559
560         * bufferlist.C:
561         * lyx_main.C:
562         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
563
564 2004-12-14  Angus Leeming  <leeming@lyx.org>
565
566         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
567
568         * bufferlist.C (emergencyWrite):
569         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
570         GetEnvPath("HOME").
571
572 2004-12-14  Angus Leeming  <leeming@lyx.org>
573
574         * main.C: (main): no longer pass pointers to os::init.
575
576 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
577
578         * undo.C (textUndoOrRedo): simplify logic, fix a crash
579         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
580
581 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
582
583         * lyxfunc.C:
584         * text3.C: remove selection_possible global flag
585
586 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
587
588         * text2.C (getSelectionSpan): remove
589         (changeDepth, changeDepthAllowed): adjust
590
591 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
592
593         * Makefile.am (BOOST_LIBS): use boost variables
594
595 2004-12-03  José Matos  <jamatos@lyx.org>
596
597         * buffer.C: format up to 238.
598
599 2004-12-03  José Matos  <jamatos@lyx.org>
600
601         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
602
603 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
604
605         * cursor.C (goUpDown): remove call to idxUpDown2
606
607 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
608
609         * tabular.[Ch]: use size_t-like types for cell, row and column
610         indices
611
612 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * lyxfunc.C (getStatus): do not lose previous information when
615         calling BufferView::getStatus; do not set a default "Command
616         disabled" message at the beginning, but just before returning.
617
618 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
619
620         * cursor.h (getStatus): add better comment from src/cursor.C
621
622 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * text3.C (getStatus): return false when the lfun is not handled
625
626 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
627
628         * broken_headers.h: remove
629
630         * Makefile.am (lyx_SOURCES): remove broken_headers.h
631
632 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
633
634         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
635         offset_ref accessors
636
637         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
638         top_y_, merge fitcursor with update
639         (updateScrollbar, scrollDocView, fitCursor, center, update): new
640         coord scheme
641         (metrics): introduce
642         (workAreaDispatch): adapt to new coord scheme
643         (redoCurrentBuffer): remove
644
645         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
646
647         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
648         CurStatus enum.
649
650         * coordcache.[Ch]: add paragraph cache and helpers
651
652         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
653         adjust everywhere
654
655         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
656         (targetX, setTargetX): introduce
657
658         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
659         baseline -> ascent, as the rest of lyx
660
661         * lyxtext.h: remove redoParagraphs, updateParPositions,
662         fullRebreak, redoParagraphInternal. move dist to anon namespace in
663         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
664         have ascent/descent (ascent is ascent of first par)
665
666         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
667         step of BufferView
668
669         * paragraph.[Ch]: unify dimension handling with the rest of lyx
670
671         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
672
673         * pariterator.C: fix infinite loop introduced in par->pit renaming
674
675         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
676         in insets and LyXText, draw two off-screen paragraphs using
677         NullPainter, and adapt to new coord scheme
678
679         * text.C:
680         * text2.C:
681         * text3.C: adapt lfun handlers to the new coord scheme, which
682         means: there's only guaranteed coord information for onscreen pars
683         plus one above and one below. This implies that one can do search
684         from y coordinates in the range [-1,workHeight]
685
686 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
687
688         * rename a lot of InsetOld to InsetBase
689
690 2004-11-25  Angus Leeming  <leeming@lyx.org>
691
692         * BufferView_pimpl.C:
693         * lyx_cb.C:
694         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
695
696 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
699         call BufferView::getStatus if LCursor::getStatus did nothing
700         (setStatusMessage, getStatusMessage): removed.
701
702         * FuncStatus.C (message): new methods. Used to provide an error
703         message indicating why a command is disabled.
704         (clear, |=, FuncStatus): update for message.
705
706 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
707
708         * lyxfunc.C (dispatch): always call sendDispatchMessage
709
710 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
711
712         * BufferView.C:
713         * BufferView_pimpl.C:
714         * CutAndPaste.C:
715         * FontIterator.C:
716         * buffer.C:
717         * cursor.C:
718         * cursor_slice.[Ch]:
719         * dociterator.[Ch]:
720         * lyxfind.C:
721         * paragraph_funcs.C:
722         * pariterator.C:
723         * rowpainter.C:
724         * text.C:
725         * text2.C:
726         * text3.C:
727         * undo.C: par->pit renaming
728
729 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
730
731         * tabular.C (cellstruct): use initialization, store a shared_ptr
732         to insettext instead of the insettext directly, adjust to fit.
733         (operator=):  new function
734         (swap): new function
735         (rowstruct): use initialization
736         (columnstruct): use initialization
737         (ltType): use initialization
738
739
740         * lyxlength.h (swap): new function
741
742         * LColor.[Ch] (operator=): use the common semantics
743
744 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
745
746         * lyxfind.C (findNextChange): update the bufferview after setting
747         the selection.
748
749 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
750
751         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
752         number of InsetOptArgs has already been inserted.
753
754         * output_latex.C (latexOptArgInsets): new method. This outputs all
755         the optarg insets, up to the limit defined in the layout file.
756         (optArgInset): removed
757         (TeXOnePar): call latexOptArgInsets; correctly update texrow
758
759 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
760
761         * paragraph.C (isLetter): remove special spellchecker-related
762         code; return true also for digits
763         (isWord, isKomma): remove
764
765         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
766         * lyxfind.C (MatchString()): use isLetter instead of isWord
767
768 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
769
770         * pariterator.h (operatir=): comment out un-implemented member
771         function.
772
773         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
774         static cast.
775
776 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
777
778         * lyxfont.h: include LColor.h to satisfy concept checks.
779
780 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
781
782         * pariterator.h: add typdefs for value_type, difference_type,
783         pointer and reference to satisfy concept checks. Also add default
784         constructor for same reason.
785
786         * pariterator.C (operator++): add post-increment operator to
787         satisfy concept checks.
788
789         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
790         checks.
791
792         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
793
794         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
795         checks. Also rename base_type to BaseType to follow naming
796         standard better.
797
798         * FloatList.h: include Floating.h to satisfy concept checks.
799
800 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
801
802         * lyxfunc.C (getStatus): when the origin of the request is menu or
803         toolbar, and the LyXView does not have focus, do as if there was
804         no buffer (bug 1720)
805
806         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
807         FuncRequest to individual entries of LFUN_SEQUENCE
808
809 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
810
811         * output_latex.C (TeXOnePar): override runparams.moving_arg
812         according to the needprotect value of the current paragraph (bug
813         1739)
814
815         * paragraph.C (simpleTeXOnePar): no need to override
816         runparams.moving_args here
817
818 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
819
820         * vspace.C: fix off-by-one-error, related to fix #1682
821
822 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
823
824         * lengthcommon.C: a more general fix for bug 1682
825
826 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
827
828         * text.C (backspace): fix crash
829
830 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
831
832         * format.[Ch] (getFormatFromFile): new method
833         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
834
835 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
838
839 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
840
841         * lyxfunc.C (dispatch): remove the verbose argument
842         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
843         instead
844
845         * kbmap.C (defkey): set the origin of func to KEYBOARD
846
847         * MenuBackend.C (MenuItem):
848         * ToolbarBackend.C (add): set the origin of func to UI
849
850         * funcrequest.[Ch]: add origin member, which indicates which part
851         of LyX requests an action
852
853 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
854
855         * converter.C (move): don't lie in the error message
856         * converter.h (isReachable, move): document
857
858 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
859
860         * buffer.C: remove unused using lyx::support::atoi
861         * paragraph_funcs.C: ditto
862
863 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
864
865         * bufferlist.C (exists): use bind and equal_to instead of
866         compare_memfun
867         (getBuffer): ditto
868         * lyxtextclasslist.C (NumberOfClass): ditto
869
870         * cursor.C (insert): use for_each instead of explicit for loop
871
872         * bufferlist.C (getFileNames): use std::transform and
873         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
874
875         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
876         for loop
877
878         * buffer.C (changeLanguage): use for_each instead of explicit for
879         loop
880         (hasParWithID): implement using getParFromID
881
882         * LaTeXFeatures.C: ws change only
883
884         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
885         to cleanup a bit.
886
887         * BufferView_pimpl.C (trackChanges): use for_each instead of
888         expilicit for loop
889
890 2004-11-04  André Pönitz  <poenitz@gmx.net>
891
892         * undo.h:
893         * undo.C (textUndoOrRedo): fix crash when creating undo information.
894
895         * dociterator.C (asDocIterator): use hard assert again.
896
897 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
898
899         * lyxlength.C (asLatexString): rewrite so that it does not use
900         snprintf anymore
901
902 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
903
904         * text3.C (specialChar, dispatch): make sure cursor moves to the
905         right after inserting an inset
906
907 2004-11-02  José Matos  <jamatos@lyx.org>
908
909         * output_docbook.C (docbook):
910         * paragraph.C (getID):
911         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
912         garantee that the output is always legal.
913
914         * tabular.C (docbook):
915         * outputprams.[Ch]: remove mixed contents.
916
917 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
918
919         * text2.C (setCounter): prevent endless loop
920
921 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
922
923         * exporter.C (copyFile): use the mover instead of support::copy()
924         * exporter.C (Export): pass format and latex name to copyFile()
925         * exporter.h (addExternalFile): document
926         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
927
928 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
929
930         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
931
932 2004-10-30  José Matos  <jamatos@lyx.org>
933
934         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
935         text and no inset or font change. This allows to use CDATA
936         sections just for the whole paragraph.
937
938 2004-10-30  José Matos  <jamatos@lyx.org>
939
940         * paragraph.C (getFirstWord): remove unused variable.
941
942 2004-10-30  José Matos  <jamatos@lyx.org>
943
944         * paragraph.C (getFirstWord): the content should always be escaped
945         there.
946         (simpleDocBookOnePar):
947         * output_docbook.C (makeEnvironment): replace reference to CDATA
948         to style pass_thru.
949
950 2004-10-30  José Matos  <jamatos@lyx.org>
951
952         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
953
954 2004-10-30  José Matos  <jamatos@lyx.org>
955
956         * output_docbook.C (makeParagraphs):
957         * paragraph.[Ch] (emptyTag): for docbook and company, if the
958         standard paragraph has only a given type of content drop the wrapper.
959
960 2004-10-29  José Matos  <jamatos@lyx.org>
961
962         * output_docbook.C (makeEnvironment):
963         * sgml.C (openTag):
964         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
965
966 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
967
968         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
969         (cleanID): sanitize any id.
970
971 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
972
973         * buffer.C, lyxlex_pimpl.C:
974         * lyxlex_pimpl.C (setFile):
975         s/getExtFromContents/getFormatFromContents/
976
977 2004-10-28  José Matos  <jamatos@lyx.org>
978
979         * output_docbook.C (makeEnvironment): move id to broadest possible
980         scope.
981
982         * sgml.C (openTag): apply substitution of <> for all attributes.
983
984 2004-10-28  José Matos  <jamatos@lyx.org>
985
986         * buffer.C (makeLinuxDocFile, makeDocBookFile):
987         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
988         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
989
990         * sgml.[Ch]: new version for open and closeTag for paragraph and
991         for strings. Now they handle the ids of paragraphs.
992
993 2004-10-26  Angus Leeming  <leeming@lyx.org>
994
995         * Makefile.am: add mover.[Ch].
996
997         * converter.C (convert, move): use the new Movers to move external
998         files to the temp directory.
999
1000         * lyx_main.C (init): ensure that the global system_movers data
1001         is initialised.
1002
1003         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1004         preferences file.
1005
1006         * mover.[Ch]: new files, defining a Mover as a utility to move an
1007         external file between directories and, if necessary, manipulate this
1008         file using a helper script.
1009
1010 2004-10-25  José Matos  <jamatos@lyx.org>
1011
1012         * output_docbook.C (makeCommand): merge two if's that tested the
1013         same condition.
1014
1015 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1016
1017         * sgml.C (escapeString): fix warning in a better way
1018
1019 2004-10-25  José Matos  <jamatos@lyx.org>
1020
1021         * sgml.C (escapeString): import the require boosts header file for
1022         tie, and avoid a signed unsigned comparison.
1023
1024 2004-10-25  José Matos  <jamatos@lyx.org>
1025
1026         * sgml.h: add #include <string>
1027
1028 2004-10-25  José Matos  <jamatos@lyx.org>
1029
1030         * sgml.[Ch] (escapeString): new function to escape all the string.
1031
1032 2004-10-24  José Matos  <jamatos@lyx.org>
1033
1034         * paragraph.[Ch] (getFirstWord): new function to get the first
1035         word. Useful for description.
1036         (simpleDocBookOnePar): remove depth argument, add another that
1037         says where to start the paragraph.
1038
1039         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1040         use the new functions to fix cleanly the support for descriptions.
1041
1042 2004-10-24  José Matos  <jamatos@lyx.org>
1043
1044         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1045         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1046         * output_linuxdoc.C (linuxdocParagraphs):
1047         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1048         add buffer as argument.
1049
1050 2004-10-24  José Matos  <jamatos@lyx.org>
1051
1052         * output_docbook.C (makeEnvironment, searchEnvironment): place
1053         CDATA inside paragraphs and fix scope for listitems.
1054
1055 2004-10-24  José Matos  <jamatos@lyx.org>
1056
1057         * output_docbook.C: remove using statement for stack.
1058
1059 2004-10-23  José Matos  <jamatos@lyx.org>
1060
1061         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1062         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1063         docbook. The new scheme is recursive and makes use of iterators, the
1064         same as latex export works.
1065         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1066         directly with the paragraph contents. This code was moved up to
1067         output_docbook.C (docbookParagraphs).
1068         * sgml.C (openTag, closeTag): removed unneeded newlines.
1069         (closeEnvTags) removed.
1070
1071 2004-10-23  André Pönitz  <poenitz@gmx.net>
1072
1073         * undo.C (textUndoOrRedo):
1074         * dociterator.C (asDocIterator): work around crash
1075
1076         * cursor.C (getStatus): replace ASSERT by more verbose error message
1077           and manual correction of the problem. Should increase stability
1078           while providing more sensible information.
1079
1080 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1081
1082         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1083
1084         * bufferlist.C (previous, next): new methods
1085
1086         * lfuns.h:
1087         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1088
1089 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1090
1091         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1092         entities to preamble.
1093
1094 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1095
1096         * messages.C (Pimpl): strip off translation context information
1097
1098 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1099
1100         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1101         the cursor is correct (bug 1694)
1102
1103 2004-10-13  José Matos  <jamatos@lyx.org>
1104
1105         * output_docbook.C (docbookParagraphs): fix closing tags in the
1106         end of the document.
1107
1108 2004-10-09  José Matos  <jamatos@lyx.org>
1109
1110         * buffer.C: format up to 237.
1111         * bufferparams.C (write): use tostr to convert booleans to strings.
1112
1113 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1116
1117 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1118
1119         * LaTeX.C: implement use of babel language in xindy.
1120
1121 2004-10-05  José Matos  <jamatos@lyx.org>
1122
1123         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1124         Add new translators to help reading and writing the lyx file.
1125
1126 2004-10-05  José Matos  <jamatos@lyx.org>
1127
1128         * ParagraphParameters.C (read):
1129         * text.C (readParToken): replace nexToken by more appropriate lex
1130         methods.
1131
1132 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1133
1134         * LaTeX.C (runMakeIndex):
1135         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1136         (usually 'makeindex') configurable.
1137
1138         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1139         with a variable rather than with a number.
1140
1141 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         * output_latex.C (TeXOnePar): make sure font setting is the first
1144         thing that gets output (and the last at the end). Should fix bug
1145         1404.
1146
1147 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1148
1149         * pch.h: use proper signal include
1150
1151         * LaTeX.h: Use preferred calling of Boost.Signal
1152         * buffer.h: ditto
1153
1154 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1155
1156         * pch.h: dont include <boost/function/function0.hpp>
1157
1158         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1159
1160         * paragraph_pimpl.h: remove usage of ShareContainer
1161
1162         * paragraph_pimpl.C: remove initialization of ShareContainer.
1163
1164 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1165
1166         Fix bug #1666
1167
1168         * BufferView.C (putSelectionAt): change the semantics when
1169         backwards == true: now, this just swaps cursor and anchor wrt the
1170         forward case
1171
1172         * BufferView.h (putSelectionAt): add some documentation
1173
1174         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1175         make sure backwardChar is done at least once (to avoid getting
1176         stuck)
1177         (findNextChange): use putSelectionAt in the forward direction
1178         (operator()): use Paragraph::isWord
1179
1180 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1181
1182         * Spacing.C (set): c_str fix
1183
1184 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1185
1186         * lyx_cb.C (Reconfigure): quote the name of configure script in
1187         case it contains spaces
1188
1189 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1190
1191         * client: new dir
1192
1193         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1194         (BOOST_LIBS): use top_buildir when looking for the file
1195
1196 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1197
1198         * pch.h: do not use include boost/format.hpp, multiple symbols
1199                 will result (gcc bug)
1200
1201
1202 2004-08-23  José Matos  <jamatos@lyx.org>
1203
1204         * bufferparams.C (readToken): fix reading of the author field.
1205
1206 2004-08-20  José Matos  <jamatos@lyx.org>
1207
1208         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1209
1210 2004-08-20  José Matos  <jamatos@lyx.org>
1211
1212         * lyxlex.[Ch] (findToken): remove function.
1213
1214         * ParagraphParameters.C (findToken):
1215         * bufferparams.C (findToken): replace call for previous function
1216         with local copy. This local function has one more argument, the
1217         read string argument.
1218
1219 2004-08-16  José Matos  <jamatos@lyx.org>
1220
1221         * ParagraphParameters.C (write):
1222         * Spacing.C (writeFile):
1223         * bufferparams.C (writeLaTeX):
1224         * lyx_cb.C (Reconfigure):
1225         * paragraph.C (write):
1226         * tabular.C (write): remove unnecessary space at end of line.
1227
1228
1229 2004-08-16  José Matos  <jamatos@lyx.org>
1230
1231         * text.C (readParagraph): remove debug message.
1232
1233 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1236         crash
1237
1238         * output_plaintext.C (asciiParagraph): set depth correctly
1239
1240         * outputparams.h: add member depth
1241
1242         * paragraph_funcs.C (ownerPar): remove.
1243
1244         * text2.C (setCounter): remove first_pit; comment out some
1245         non-working code that uses ownerPar
1246
1247         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1248         uses ownerPar
1249
1250 2004-08-16  José Matos  <jamatos@lyx.org>
1251
1252         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1253         For the same level of importance use the same chanel to report problems.
1254         (read): add code to deal with \begin_body and \end_body.
1255
1256
1257 2004-08-15  José Matos  <jamatos@lyx.org>
1258
1259         * lyxlex.C (getString): fix comment, buffer::readBody is now
1260         buffer:readDocument.
1261
1262         * tex-strings.C (string_papersize): Default -> default,
1263         Custom -> custom, for consistency with other options.
1264
1265 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1266
1267         * pch.h: new file
1268
1269         * Makefile.am: support pch
1270
1271 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1272
1273         * text.C (readParToken): remove the static LyXFont variable and
1274         pass it as a parameter instead. This fixes a nasty bug where an
1275         inset will be inserted with a bad font in some situations
1276         (readParagraph): adapt
1277
1278         * text2.C (setCounter): reduce number of calls to pars_[pit]
1279
1280         * text.C (singleWidth): add an assert, fix a test
1281
1282         * rowpainter.C (paintText): reduce number of calls to singleWidth
1283
1284         * paragraph.C (isHfill):
1285         (isNewline): ws only
1286
1287 2004-08-14  André Pönitz  <poenitz@gmx.net>
1288
1289         * text.C:
1290         * text2.C:
1291         * rowpainter.C:
1292         * lyxtext.h (several functions): use a Paragraph & argument
1293         instead of par_type
1294
1295 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1296
1297         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1298
1299         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1300
1301         * text.C (singleWidth): remove useless test
1302
1303 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1304
1305         * tabular.h: remove bogus comments
1306
1307         * tabular.C (getDescentOfRow):
1308         (isPartOfMultiColumn): add assertions
1309
1310         * lyxlength.C (inPixels): remove #warning
1311
1312 2004-08-14  André Pönitz  <poenitz@gmx.net>
1313
1314         * paragraph.h: inline getChar()
1315
1316         * BufferView.h: remove unused declarations
1317
1318 2004-08-14  José Matos  <jamatos@lyx.org>
1319
1320         * Buffer.[Ch] (readDocument): new name for old readBody.
1321         * Buffer.C: new file format, new keywords: \begin_document,
1322         \begin_header, \begin_body, \end_body.
1323
1324         * bufferparams.C (readToken): replace all calls to lex.nextToken
1325         by lex.next(). Do the same to eatLine except where really needed.
1326
1327         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1328         line when writing to the lyx file.
1329
1330         * output_plaintext.C (asciiParagraph): fix Bibliography style
1331         handling.
1332
1333         * text.C (read): fix end of file handling.
1334
1335 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * MenuBackend.C (Menu::operator[]): new method to access
1338         individual menu items
1339         (Menu::hasFunc): new method. search for an item that corresponds
1340         to a given func
1341         (MenuBackend::specialMenu): new method
1342         (MenuBackend::expand): if a special menu has been set, skip
1343         entries whose func() appears in this menu
1344
1345 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1346
1347         * text3.C: use Debug::DEBUG a bit more
1348
1349         * text.C (leftMargin): try to simplify a tiny bit change var x to
1350         l_margin. Dont output the wide margins always.
1351         (rightMargin): no margin in inner texts
1352
1353         * rowpainter.h (nestMargin): new func
1354         (changebarMargin): new func
1355         (rightMargin): new func
1356
1357         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1358         now functions.
1359         (paintLast): ditto
1360
1361         * factory.C (createInset): modify setDrawFrame
1362
1363         * cursor.C: use Debug::DEBUG a bit more
1364
1365 2004-08-14  André Pönitz  <poenitz@gmx.net>
1366
1367         * coordcache.[Ch]:
1368         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1369         cache for all insets in (at least partially) visible (top-level)
1370         paragraphs.
1371
1372         * BufferView_pimpl.C: reset external coord cache before every update.
1373         This means the coord cache only contains valid entries.
1374
1375 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1376
1377         bug 1096
1378         * BufferView_pimpl.C (getInsetByCode): move function out of class
1379         and change in to a template in anon namespace. Also fix to do what
1380         suits us better.
1381
1382 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1383
1384         bug 1305
1385         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1386         of char
1387         (breakParagraph): rename par to par_offset and use a local
1388         reference. Add code to keep the language over a rebreak.
1389         (breakParagraphConservative): rename par to par_offset, use a
1390         local reference
1391         (mergeParagraph): ditto
1392         (outerHook): ditto
1393         (isFirstInSequence): ditto
1394         (outerFont): rename pit to par_offset
1395
1396         * paragraph.C: ws change
1397         * paragraph.h: ditto
1398         * text3.C: ditto
1399         * text.C: ditto
1400
1401 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1404         treatment for ']'
1405
1406         * paragraph.C (simpleTeXOnePar): when we have a \item with
1407         optional argument, enclose the argument with curly brackets (in
1408         case it contains a closing square bracket)
1409
1410         * text2.C (editXY):
1411         * text2.C (editXY):
1412         * text3.C (checkInsetHit): constify
1413
1414 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1417         documents (bug 1629)
1418
1419 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1420
1421         Fix toggling of collapsable insets with the mouse (bug 1558)
1422
1423         * lyxfunc.C (dispatch): adapt to LCursor changes
1424
1425         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1426         make sure that dispatch is not invoked twice
1427
1428         * cursor.C (needsUpdate): new method
1429         (dispatch): return void
1430         (result): new method, to access the DispatchResult of the cursor.
1431
1432 2004-08-13  José Matos  <jamatos@lyx.org>
1433
1434         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1435
1436 2004-08-13  André Pönitz  <poenitz@gmx.net>
1437
1438         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1439
1440         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1441           multiple cells
1442
1443 2004-08-12  André Pönitz  <poenitz@gmx.net>
1444
1445         * text3.C: take out the 'cursor right' form insertInset and only
1446         do it in those places when it is really needed. Fixes crash on
1447         C-m...
1448
1449 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1450
1451         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1452
1453         * BufferView_pimpl.C (setBuffer): initialize the current font of
1454         the underlying LyXText
1455
1456 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * kbsequence.C (print): use UI native formatting for menu
1459         shortcuts
1460
1461         * text.C (insertChar): call Paragraph::insertChar with a font
1462         argument (cosmetic)
1463
1464         * paragraph.C (insertInset, insertChar): the version that takes a
1465         LyXFont argument is now a wrapper around the other one (the
1466         opposite used to be true).
1467
1468         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1469         argument. Font setting is done in Paragraph now.
1470
1471 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1472
1473         * outputparams.h: add new members intitle and lang.
1474
1475         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1476         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1477
1478 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1479
1480         * text3.C (dispatch): remove special handling of button 4 and 5,
1481         it is now taken care of in the frontend code.
1482
1483 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1484
1485         * Spacing.h: add <string> (STLPort compile fix)
1486
1487 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1488
1489         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1490
1491 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1492
1493         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1494         to bool.
1495
1496         * converter.C (showMessage): inherit from unary_function, make
1497         operator() const.
1498
1499         * buffer.C (writeFile): initialize retval
1500
1501         * InsetList.h: rename private variable list to list_
1502         * InsetList.[Ch]: adjust accordingly.
1503
1504 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1505
1506         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1507         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1508         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1509         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1510         * ParagraphParameters.C, LaTeXFeatures.C: replace
1511         "support/std_sstream.h" with <sstream>
1512
1513 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1514
1515         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1516         * lyxsocket.C (LyXServerSocket): ditto
1517         (serverCallback): ditto
1518
1519 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1520
1521         * LaTeXFeatures.C: check release date when loading jurabib.
1522
1523 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1524
1525         * lyxserver.C (startPipe): call register_socket_callback
1526         (endPipe): call unregister_socket_callback
1527
1528 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1529
1530         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1531         (LyXServerSocket): register the callback
1532         (LyXServerSocket): unregister the callback
1533         (fd): delete function
1534         (serverCallback): improve error checking and setup the callbacks.
1535         (dataCallback): change arg to fd.
1536         (writeln): new func (copied fro the client socket) used for server
1537         write to client.
1538         (LyXDataSocket): simplify
1539         (~LyXDataSocket): close ann unregiser callback
1540         (server): delete function
1541         (fd): delete function
1542         (readln): small changes, improve some std::string usage
1543         (writeln): constify a bit
1544
1545 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1546
1547         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1548         Qt frontend
1549
1550 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1551
1552         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1553         after it has been populated
1554
1555 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1556
1557         * text2.C (insertInset): move cursor when inserting inset.
1558
1559 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1560
1561         * kbmap.C (findbindings): a couple of new methods. returns a
1562         container of kb_sequence objects. The real work is done by the
1563         private recursive version
1564         (printbindings): uses findbindings to print out a bracketed list
1565         of bindings (renamed from findbinding).
1566
1567         * MenuBackend.C (binding): use kb_keymap::findbindings
1568
1569         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1570
1571 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1572
1573         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1574
1575 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1576
1577         * paragraph.C (isWord): return true on insets that report
1578         isLetter().
1579
1580         * text.C (getWord): use Paragraph::isWord to decide what is in a
1581         word and what is not; fix bug 1609.
1582
1583 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1584
1585         * tex-strings.C: add "none" to string_paperpackages[], fixes
1586         off-by-one-error in the paperpackage selection.
1587
1588         * lyxlex.[Ch]:
1589         * tex-strings.[Ch]: char const * string[n]
1590         -> char const * const string[]
1591
1592 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1593
1594         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1595         command, return early.
1596
1597 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1598
1599         * debug.h: add DEBUG to enum and fix size of ANY.
1600
1601         * debug.C: add support for Debug::DEBUG
1602         (showTags): cast errorTags.level to unsigned int
1603
1604         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1605         (redoCurrentBuffer): ditto
1606         (updateScrollbar): ditto
1607         * cursor.C (dispatch): ditto
1608         * text2.C (setLayout): ditto
1609         (setFont): ditto
1610         (updateCounters): ditto
1611         (editXY): ditto
1612         (deleteEmptyParagraphMechanism): ditto
1613
1614 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1615
1616         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1617         annotations to cleanup the Makefile slightly.
1618
1619 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1620
1621         * lyxrc.C: do not set user_email to a default value but use empty
1622         instead. The entry used to be translated, which does not work
1623         since at the point where lyxrc is constructed there is no
1624         translation service available
1625
1626         * messages.C (getLocaleDir): remove and use directly
1627         lyx_localedir() instead
1628
1629 2004-06-02  Angus Leeming  <leeming@lyx.org>
1630
1631         Fix crash caused by dereferencing null pointer 'exportdata' in
1632         OutputParams by creating a new ExportData variable on the heap,
1633         storing it in a boost::shared_ptr.
1634         The crash was triggered when generating an Instant Preview
1635         of an external inset.
1636
1637         * Makefile.am: add outputparams.C
1638
1639         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1640         (c-tor): allocate memory to it.
1641
1642         * exporter.C (c-tor): associated changes.
1643
1644 2004-06-01  Angus Leeming  <leeming@lyx.org>
1645
1646         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1647         contains data before calling isInset(0). (Bug 1513.)
1648
1649 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1650
1651         * exporter.C (checkOverwrite): new method
1652         * exporter.C (copyFile): new method
1653         * exporter.C (Export): copy referenced files to the document dir
1654         * exporter.[Ch]: new class ExportedFile
1655         * exporter.[Ch]: new class ExportData. Contains currently the
1656         names of referenced external files
1657         * outputparams.h: add exportdata member.
1658
1659 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1660
1661         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1662         version.C-tmp
1663
1664 2004-05-19  Angus Leeming  <leeming@lyx.org>
1665
1666         * LaTeXFeatures.C:
1667         * ToolbarBackend.C:
1668         * bufferparams.C:
1669         * lyxfunc.C: small changes due to the introduction of namespace
1670         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1671
1672 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1673
1674         * text3.C (dispatch): supress update when only moving the cursor
1675         * cursor.C (selHandle): remove commented code
1676
1677 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1678
1679         * paragraph.C (startTeXParParams): correct column count
1680         * CutAndPaste.C (pasteSelection): remove const_cast
1681         * output_docbook.C (docbookParagraphs): remove const_cast
1682         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1683         const_cast and return ParagraphList::const_iterator
1684         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1685         * output_plaintext.C (writeFileAscii): remove const_cast
1686         * paragraph.[Ch] (simpleTeXOnePar): make const
1687         * paragraph_funcs.C (outerPar): use const iterators
1688         * paragraph_pimpl.C (validate): use const iterators
1689         * text.C (setHeightOfRow): use const iterators
1690
1691 2004-05-17  Angus Leeming  <leeming@lyx.org>
1692
1693         * lfuns.h:
1694         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1695
1696         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1697         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1698         if the citation engine has changed.
1699
1700 2004-05-14  José Matos  <jamatos@lyx.org>
1701
1702         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1703         if the textclass does not provide it. Have it different for sgml and
1704         xml.
1705         support the language of document.
1706         * output_docbook.C (docbookParagraphs):
1707         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1708         first anchor as the id of the paragraph, remove special case code.
1709         * sgml.C (escapeChar): escape only < & >.
1710
1711 2004-05-14  Angus Leeming  <leeming@lyx.org>
1712
1713         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1714         dependencies on src/frontends/controllers/biblio.h. Define a
1715         CiteEngine_enum wrapper class to enable the enum to be forward
1716         declared.
1717
1718 2004-05-12  Angus Leeming  <leeming@lyx.org>
1719
1720         * buffer.C: up LYX_FORMAT to 234.
1721         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1722         use_numerical_citations with a single biblio::CiteEngine cite_engine
1723         variable.
1724         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1725
1726 2004-05-13  José Matos  <jamatos@lyx.org>
1727
1728         * converter.h:
1729         * converter.C (Converter, readFlags): add xml member.
1730         * outputparams.h: add XML flavor.
1731         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1732
1733 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1734
1735         * lyxfunc.C (dispatch):
1736         (getStatus): fix handling of LFUN_SEQUENCE
1737
1738 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1739
1740         * debug.C (showLevel): do not forget the end-of-line marker
1741
1742 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1743
1744         * kbmap.C (read): do not stop parsing a bind file when an error
1745         occurs (bug 1575)
1746
1747 2004-04-29  Angus Leeming  <leeming@lyx.org>
1748
1749         * cursor.C:
1750         * factory.C:
1751         * pariterator.C:
1752         * text2.C: wrap a bunch of #warning statements
1753         inside #ifdef WITH_WARNINGS blocks.
1754
1755 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1756
1757         * buffer.C: increment format to 233.
1758
1759 2004-04-28  Angus Leeming  <leeming@lyx.org>
1760
1761         * BufferView_pimpl.C:
1762         * lyxfunc.C:
1763         * text3.C:
1764         s/updateToolbar()/updateToolbars()/
1765         s/Toolbar.h/Toolbars.h/
1766
1767 2004-04-28  Angus Leeming  <leeming@lyx.org>
1768
1769         * BufferView.[Ch] (c-tor):
1770         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1771         No longer passes these data to the WorkArea generator.
1772
1773 2004-04-28  Angus Leeming  <leeming@lyx.org>
1774
1775         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1776
1777 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1778
1779         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1780
1781 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1782
1783         * output_latex.C (TeXEnvironment): make sure that there is a line
1784         break before \end{foo} for the last paragraph of a document
1785         (TeXOnePar): if the paragraph is at the end of the document (or
1786         inset) and the language has to be reset, then make sure that the
1787         line break is _before_ the language command, not after (fixes bug
1788         1225); also make sure that the language reset command is the first
1789         thing after the paragraph (to ensure proper nesting of
1790         environments and thus fix bug 1404)
1791
1792 2004-04-21  John Levon  <levon@movementarian.org>
1793
1794         * ToolbarBackend.h:
1795         * ToolbarBackend.C: make "name" be a programmatic name
1796         and a gui_name field.
1797
1798         * lyxfunc.C: display the minibuffer on M-x
1799
1800 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1801
1802         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1803         (bug 1526)
1804
1805 2004-04-19  Angus Leeming  <leeming@lyx.org>
1806
1807         * BufferView_pimpl.C (setBuffer): changed preview interface.
1808
1809         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1810         possible values.
1811
1812 2004-04-19  John Levon  <levon@movementarian.org>
1813
1814         * BufferView_pimpl.C:
1815         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1816
1817 2004-04-05  Angus Leeming  <leeming@lyx.org>
1818
1819         * text.C (redoParagraphs): add call to updateCounters(), thereby
1820         fixing the missing "Figure #:" label from the caption of a
1821         figure float.
1822
1823 2004-04-13  Angus Leeming  <leeming@lyx.org>
1824
1825         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1826         cursor is clicked out of an inset.
1827
1828 2004-04-13  Angus Leeming  <leeming@lyx.org>
1829
1830         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1831         than an InsetOld one.
1832
1833 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1834
1835         * format.[Ch]: add editor to Format
1836         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1837         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1838
1839 2004-04-08  André Pönitz  <poenitz@gmx.net>
1840
1841         * metricsinfo.h: remove PainterInfo::width member
1842
1843 2004-04-08  Angus Leeming  <leeming@lyx.org>
1844
1845         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1846         "\providecommand" rather than "\newcommand", thereby preventing
1847         clashes with packages that define "\boldsymbol" themselves.
1848         Eg, beamer.
1849
1850 2004-04-08  Angus Leeming  <leeming@lyx.org>
1851
1852         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1853         thereby squashing an unnecessary warning.
1854
1855 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1856
1857         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1858         setBuffer()
1859
1860 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1861
1862         * BufferView.C (setCursor): call redoParagraph (some insets could
1863         have been opened)
1864         (putSelectionAt): remove the 'double update' trick
1865
1866         * BufferView_pimpl.C (fitCursor): call refreshPar
1867         (workAreaDispatch): remove an uneeded update call
1868         (dispatch): remove some manual update calls
1869
1870         * cursor.[Ch]: remove cached_y_, updatePos
1871         (selHandle): set noUpdate when appropriate
1872
1873         * lyxfunc.C (dispatch): track if we need an update
1874
1875         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1876
1877         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1878         (paintSelection): cheap optimization, do not call cursorX when not
1879         needed
1880         (paintPars): change signature
1881         (refreshPar): add
1882         (paintText): adjust
1883         (paintTextInset): adjust
1884
1885         * text.C: adjust
1886
1887 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1888
1889         * lengthcommon.C: compilation fix: remove explicit array size from
1890         unit_name[] and friends
1891
1892 2004-04-05  Angus Leeming  <leeming@lyx.org>
1893
1894         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1895
1896         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1897         present only for the preferences dialog.
1898         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1899
1900 2004-04-05  Angus Leeming  <leeming@lyx.org>
1901
1902         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1903         to enable the frontends to export changes to lyxrc correctly.
1904
1905         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1906
1907 2004-04-07  André Pönitz  <poenitz@gmx.net>
1908
1909         * cursor.[Ch] (selClear, adjust): remove math
1910
1911         * cursor_slice.C: more agressive assert
1912
1913         * lyxfunc.C:
1914         * BufferView_pimpl.C: rework mouse event dispatch
1915
1916         * dociterator.C:
1917         * paragraph.C:
1918         * text2.C:
1919         * text3.C: adjust
1920
1921 2004-04-05  André Pönitz  <poenitz@gmx.net>
1922
1923         * cursor.[Ch] (valign, halign...): remove unneeded functions
1924
1925 2004-04-05  Angus Leeming  <leeming@lyx.org>
1926
1927         * lyxlength.[Ch] (unit_name et al.): const-correct.
1928
1929 2004-04-05  Angus Leeming  <leeming@lyx.org>
1930
1931         * BufferView_pimpl.C:
1932         * buffer.C:
1933         * counters.C:
1934         * cursor.C:
1935         * lyxfunc.C
1936         * paragraph.C:
1937         * pariterator.C:
1938         * text.C:
1939         * text2.C:
1940         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1941
1942 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1945
1946 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1947
1948         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1949         * BufferView_pimpl.[Ch] (getStatus)
1950         * BufferView.[Ch] (getStatus): add
1951         * lyxfunc.C (getStatus): move lfuns handled in
1952         BufferView::dispatch to te function above
1953         * Cursor.C (setSelection): set selection() = true
1954
1955 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1956
1957         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1958
1959 2004-03-31  Angus Leeming  <leeming@lyx.org>
1960
1961         * lyxfunc.C (dispatch): Fall through to the generic
1962         Dialogs::show("preamble").
1963
1964 2004-03-31  Angus Leeming  <leeming@lyx.org>
1965
1966         * lyxfunc.C (dispatch): Fall through to the generic
1967         Dialogs::show("spellchecker").
1968
1969 2004-03-31  Angus Leeming  <leeming@lyx.org>
1970
1971         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1972         preferences dialog.
1973
1974 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * BufferView.C
1977         * cursor.[Ch]
1978         * dociterator.[Ch]:
1979         * insetiterator.[Ch]:
1980         * lyxfind.C:
1981         * lyxfunc.C:
1982         * pariterator.[Ch]:
1983         * text2.C:
1984         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1985
1986 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1987
1988         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1989         insets where we are putting the cursor.
1990
1991 2004-03-31  Angus Leeming  <leeming@lyx.org>
1992
1993         * lfuns.h:
1994         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1995
1996         * lyxrc.[Ch] (read, write): overloaded member functions taking
1997         a std::[io]stream arguments.
1998
1999         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2000
2001 2004-03-31  Angus Leeming  <leeming@lyx.org>
2002
2003         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2004         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2005
2006         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2007         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2008
2009 2004-03-31  Angus Leeming  <leeming@lyx.org>
2010
2011         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2012         the LFUN_ALL_INSETS_TOGGLE code.
2013
2014 2004-03-30  Angus Leeming  <leeming@lyx.org>
2015
2016         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2017         has died. Fall through to the generic Dialogs::show("document").
2018
2019 2004-03-30  Angus Leeming  <leeming@lyx.org>
2020
2021         * lfuns.h:
2022         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2023         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2024
2025         * lyxfunc.C (getStatus, dispatch): define the actions for these
2026         lfuns. Little more than a cut and pste job from ControlDocument.C
2027
2028         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2029
2030 2004-03-30  Angus Leeming  <leeming@lyx.org>
2031
2032         * lfuns.h:
2033         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2034         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2035
2036         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2037         open/closed state of ollapsable insets. Usage:
2038
2039         all-inset-toggle <state> <name>, where
2040         <state> == "open" || "closed" || "toggle" and
2041         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2042
2043         * lyxtext.h, text2.C (toggleInset): removed.
2044
2045         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2046         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2047         now passes LFUN_INSET_TOGGLE to the found inset.
2048
2049         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2050         is now invoked as "all-insets-toggle toggle branch".
2051
2052 2004-03-30  Angus Leeming  <leeming@lyx.org>
2053
2054         * dociterator.C:
2055         * insetiterator.C:
2056         * pariterator.[Ch]: added/corrected header blurb.
2057
2058 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2059
2060         * dociterator.[Ch]: add an inset_ member
2061         (backwardPos): implemented
2062         (backwardPos, forwardPos): use inset_ when the stack is empty.
2063         (doc_iterator_begin, doc_iterator_end): implemented
2064         * pariterator.[Ch]: adjust, add begin, end
2065         * insetiterator.[Ch]: adjust, add begin, end
2066         * cursor.C:
2067         * document.C:
2068         * BufferView.C:
2069         * BufferView_pimpl.C:
2070         * CutAndPaste.C: adjust
2071
2072 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2073
2074         * buffer.C: increment file format to 232.
2075         * LaTeXFeatures.C: add bibtopic package.
2076         * bufferparams.[Ch]: param \use_bibtopic.
2077
2078         * lyxrc.[Ch]: add lyxrc bibtex_command
2079         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2080
2081         * buffer.C: increment file format to 231.
2082
2083 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2084
2085         * dociterator.C: implement forwardPar
2086         * iterators.[Ch]: remove, replaced by
2087         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2088         * BufferView.C:
2089         * BufferView_pimpl.C:
2090         * CutAndPaste.C:
2091         * buffer.C:
2092         * bufferview_funcs.C:
2093         * cursor.C:
2094         * lyxfind.C
2095         * lyxfunc.C
2096         * paragraph_funcs.C
2097         * toc.C:
2098         * Makefile.am: adjust
2099
2100 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * CutAndPaste.C (pasteSelection): fix 2 crashes
2103         (eraseSelection): fix a crash
2104         * paragraph_funcs.C: remove a warning
2105
2106 2004-03-28  Angus Leeming  <leeming@lyx.org>
2107
2108         * lfuns.h:
2109         * LyXAction.C (init): new LFUN_PRINT.
2110
2111         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2112
2113 2004-03-27  Angus Leeming  <leeming@lyx.org>
2114
2115         * lfuns.h:
2116         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2117
2118         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2119
2120 2004-03-27  Angus Leeming  <leeming@lyx.org>
2121
2122         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2123         insetlist always contains non-null pointers to insets.
2124
2125 2004-03-26  Angus Leeming  <leeming@lyx.org>
2126
2127         * src/BufferView_pimpl.C:
2128         * src/CutAndPaste.C:
2129         * src/buffer.C:
2130         * src/iterators.C:
2131         * src/output_plaintext.C:
2132         * src/outputparams.h:
2133         * src/paragraph_funcs.C:
2134         * src/rowpainter.C:
2135         * src/text.C:
2136         * src/text2.C:
2137         * src/frontends/controllers/ControlErrorList.C:
2138         * src/frontends/gtk/FileDialogPrivate.C:
2139         * src/frontends/gtk/GPainter.C:
2140         * src/frontends/gtk/GToolbar.C:
2141         * src/frontends/qt2/QRef.C:
2142         * src/mathed/math_scriptinset.C: squash compiler warnings.
2143
2144 2004-03-26  Angus Leeming  <leeming@lyx.org>
2145
2146         * ispell.C (LaunchIspell::start):
2147         * lyx_cb.C (AutoSaveBuffer::start):
2148         invoke run(DontWait) rather than runNonBlocking().
2149
2150 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2151
2152         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2153
2154 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2155
2156         * kbsequence.C (print): adjust
2157
2158         * kbmap.C (printKeySym): rename and change signature
2159         (printKey): use LyXKeySym::print()
2160
2161 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2162
2163         * undo.C: add using std::advance to compile for stlport
2164
2165 2004-03-24  Angus Leeming  <leeming@lyx.org>
2166
2167         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2168         it leads to a crash when no buffer is present.
2169
2170 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171             Martin Vermeer  <martin.vermeer@hut.fi>
2172
2173         * lyxfunc.C (dispatch):
2174         * bufferparams.C (readToken): use the new LColor::setColor
2175
2176         * LColor.[Ch] (setColor): new version that takes two strings as
2177         argument and creates a new color entry if necessary
2178
2179 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2180
2181         * buffer.C (makeLaTeXFile): if the main latex file that is
2182         processed is usually a subdocument of some master, then pretend
2183         for a while that it is actually the master
2184
2185 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2186
2187         * buffer.C (getLabelList):
2188         (getBibkeyList): use getMasterBuffer()
2189         (getMasterBuffer): new method. Returns the main document in the
2190         case where one is using included documents.
2191
2192 2004-03-25  André Pönitz  <poenitz@gmx.net>
2193
2194         * Makefile.am:
2195         * iterators.[Ch]:
2196         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2197
2198         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2199
2200         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2201         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2202
2203         * ParameterStruct.h: merge with ParagraphParameters
2204
2205         * lyxtext.h: remove LyXText::parOffset() and getPar()
2206
2207         * text3.C: Remove all 'manual' update calls. We do now one per user
2208         interaction which is completely sufficient.
2209
2210         * Bidi.C:
2211         * BufferView.[Ch]:
2212         * BufferView_pimpl.C:
2213         * FontIterator.[Ch]:
2214         * MenuBackend.C:
2215         * ParagraphParameters.[Ch]:
2216         * buffer.C:
2217         * buffer.h:
2218         * bufferlist.C:
2219         * cursor.[Ch]:
2220         * cursor_slice.[Ch]:
2221         * dociterator.[Ch]:
2222         * errorlist.[Ch]:
2223         * factory.C:
2224         * lfuns.h:
2225         * lyxfind.C:
2226         * lyxfunc.C:
2227         * output_docbook.[Ch]:
2228         * output_latex.[Ch]:
2229         * output_linuxdoc.[Ch]:
2230         * output_plaintext.[Ch]:
2231         * paragraph.[Ch]:
2232         * paragraph_funcs.[Ch]:
2233         * paragraph_pimpl.[Ch]:
2234         * rowpainter.C:
2235         * tabular.[Ch]:
2236         * text.C:
2237         * text2.C:
2238         * toc.C:
2239         * undo.[Ch]: adjust
2240
2241         * frontends/controllers/ControlDocument.C:
2242         * frontends/controllers/ControlErrorList.C:
2243         * frontends/controllers/ControlSpellchecker.C:
2244         * insets/inset.C:
2245         * insets/inset.h:
2246         * insets/insetbase.h:
2247         * insets/insetbibitem.C:
2248         * insets/insetbox.C:
2249         * insets/insetbranch.C:
2250         * insets/insetcaption.C:
2251         * insets/insetcharstyle.C:
2252         * insets/insetcharstyle.h:
2253         * insets/insetcollapsable.C:
2254         * insets/insetcollapsable.h:
2255         * insets/insetert.C:
2256         * insets/insetfloat.C:
2257         * insets/insetfoot.C:
2258         * insets/insetmarginal.C:
2259         * insets/insetnote.C:
2260         * insets/insetoptarg.C:
2261         * insets/insettabular.C:
2262         * insets/insettext.C:
2263         * insets/insettext.h:
2264         * insets/insetwrap.C:
2265         * mathed/math_mboxinset.C:
2266         * mathed/math_nestinset.C:
2267         * mathed/math_scriptinset.C:
2268         * mathed/math_scriptinset.h:
2269         * support/types.h:
2270
2271 2004-03-24  Angus Leeming  <leeming@lyx.org>
2272
2273         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2274         deal with any child processes that have finished but are waiting to
2275         communicate this fact to the rest of LyX.
2276
2277 2004-03-24  Angus Leeming  <leeming@lyx.org>
2278
2279         64-bit compile fixes.
2280
2281         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2282         (c-tor): pass lyx::pos_types rather than ints.
2283
2284         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2285         lyx::pos_type.
2286
2287         * text.C (Delete): compile fix.
2288         (getPar): ensure that function declaration is the same as that in
2289         the header file.
2290
2291 2004-03-23  Angus Leeming  <leeming@lyx.org>
2292
2293         * ispell.C (LaunchIspell):
2294         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2295         a boost::shred_ptr rather than a std::auto_ptr.
2296
2297 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2298
2299         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2300         handle LFUN_FILE_INSERT_*
2301
2302         * lyxrc.C (setDefaults, getDescription, output, read):
2303         * lyxrc.h: remove ps_command
2304
2305 2004-03-22  Angus Leeming  <leeming@lyx.org>
2306
2307         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2308         Ensure that error_handler is processed once only and that all data
2309         is saved before attempting to output any warning messages.
2310
2311         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2312
2313 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2314
2315         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2316
2317 2004-03-19  André Pönitz  <poenitz@gmx.net>
2318
2319         * cursor.[Ch] (reset): take main text inset as argument
2320
2321         * BufferView: adjust
2322         * BufferView_pimpl.C: adjust
2323
2324         * paragraph.[Ch]: fix completely broken operator=()
2325
2326 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2327
2328         * LColor.C (getFromLyXName): make sure that the color name is used
2329         as lowercase.
2330
2331 2004-03-17  Angus Leeming  <leeming@lyx.org>
2332
2333         * lfuns.h:
2334         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2335
2336         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2337         dialog and to kill a forked process.
2338
2339 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2340
2341         * text2.C (setCursorFromCoordinates): fix font problem
2342
2343 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2344
2345         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2346         bogus "rebuild cursor" code
2347
2348 2004-03-11  André Pönitz  <poenitz@gmx.net>
2349
2350         * buffer.[Ch]: use InsetText instead of LyXText as container for
2351         the main lyx text.
2352
2353         * dociterator.[Ch]: drop the BufferView * member which is not needed
2354         anymore after the change to buffer.C
2355
2356         * paragraph_funcs.C:
2357         * text.C:
2358         * text2.C:
2359         * BufferView.[Ch]:
2360         * BufferView_pimpl.[Ch]:
2361         * cursor.[Ch]:
2362         * cursor_slice.[Ch]: adjust
2363
2364         * text3.C: fix bug in mathDispatch
2365
2366 2004-03-08  André Pönitz  <poenitz@gmx.net>
2367
2368         * undo.[Ch]: use 'StableDocumentIterator' as base for
2369         the Undo struct.
2370
2371 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2372
2373         * LaTeXFeatures.C:
2374         * bufferparams.[Ch]: add jurabib support and param.
2375
2376         * LaTeX.C: add FIXME/comment.
2377
2378 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2379
2380         * buffer.C: increment file format to 230.
2381
2382 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2383
2384         * cursor.C (dispatch): avoid infinite loops
2385
2386 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2387
2388         * rowpainter.C (paintSelection): fix x coordinates
2389
2390 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2391
2392         * text.C (rowBreakPoint): fix breaking before displayed insets
2393
2394 2004-03-01  André Pönitz  <poenitz@gmx.net>
2395
2396         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2397
2398         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2399
2400         * Makefile.am:
2401         * BufferView.C:
2402         * BufferView_pimpl.C:
2403         * buffer.C:
2404         * lyxfind.C:
2405         * lyxfunc.C:
2406         * text.C:
2407         * text2.C:
2408         * text3.C: adjust
2409
2410 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2411
2412         * lyxtext.h:
2413         * text.C:
2414         * text2.C:
2415         * rowpainter.C:
2416         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2417         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2418
2419 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2420
2421         * Bidi.[Ch] (computeTables): const correctness
2422         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2423         fill_hfill, fill_label_hfill and x from Row
2424         * lyxtext.h: prepareToPrint returns a RowMetrics
2425         * rowPainter.C: adjust
2426         * text.C (prepareToPrint): use width, not textWidth. adjust
2427         (redoParagraphInternal, cursorX): adjust
2428         * text2.C (getColumnNearX): adjust
2429         (init): put a default value to the top LyXText::width
2430
2431 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2432
2433         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2434
2435 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2436
2437         * lyxtext.h: add FontIterator class
2438
2439         * text.C (FontIterator, operator*, operator->, operator++): add
2440         (rowBreakPoint, setRowWidth): adjust (fixing a
2441         rebreaking bug)
2442
2443 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2444
2445         * BufferView_pimpl.C (workAreaDispatch): allow also
2446         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2447
2448 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2449
2450         * text.C (rowBreakPoint): fix a bug showing with very large insets
2451
2452 2004-02-25  André Pönitz  <poenitz@gmx.net>
2453
2454         * text3.C:
2455         * cursor.[Ch]: move some mathed specific code to mathed
2456
2457 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2458
2459         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2460         use_tempdir in preferences
2461         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2462         tempfile creation
2463         * lyx_main.C: ensure that tempdir is valid
2464         * lyxlex.h: correct typo
2465         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2466         * paragraph.[Ch] (isMultiLingual): make const
2467         * cursor.[Ch] (openable): make const
2468
2469 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2470
2471         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2472
2473 2004-02-20  André Pönitz  <poenitz@gmx.net>
2474
2475         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2476
2477         * cursor.[Ch]: prepare for localized getStatus()
2478
2479         * lyxtext.h:
2480         * tabular.C:
2481         * text.C:
2482         * text2.C:
2483         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2484
2485 2004-02-20  André Pönitz  <poenitz@gmx.net>
2486
2487         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2488
2489 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2490
2491         * text2.C (setCursorFromCoordinates): switch to absolute coords
2492         (cursorUp): adjust
2493         (cursorDown): adjust
2494         * text3.C (dispatch): adjust
2495
2496 2004-02-16  André Pönitz  <poenitz@gmx.net>
2497
2498         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2499           insets/ChangeLog)
2500
2501         * cursor_slice.[Ch]: remove unneeded acessor function
2502
2503         * lyxtext.h: rename rtl() to isRTL()
2504
2505         * rowpainter.C:
2506         * tabular.C:
2507         * text.C:
2508         * text2.C:
2509         * text3.C: adjust
2510
2511 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2512
2513         * rowpainter.C (paintSelection): coord fix
2514
2515 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2516
2517         * Spacing.C: compile fix
2518
2519 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * cursor.C (dispatch): restore current_ before returning
2522
2523 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2524
2525         * text2.C (cursorUp, cursorDown): fix coords
2526         (moveUp): fix crash
2527
2528 2004-02-12  André Pönitz  <poenitz@gmx.net>
2529
2530         * lyxtext.h:
2531         * text.C:
2532         * text2.C:
2533         * text3.C: add LCursor & parameter to most cursor movement functions
2534           remove usage of LyXText::cursorRow() and cursorPar()
2535
2536         * cursor.[Ch]: add textRow() needed members
2537
2538         * BufferView.C:
2539         * BufferView_pimpl.C:
2540         * paragraph.[Ch]:
2541         * BufferView.C:
2542         * BufferView_pimpl.C: adjust
2543
2544 2004-02-11  André Pönitz  <poenitz@gmx.net>
2545
2546         * lyxfunc.C:
2547         * BufferView.[Ch]:
2548         * BufferView_pimpl.C: shift undo/redo handling
2549
2550         * cursor.[Ch]: fix mathed crash
2551
2552         * lyxfind.C:
2553         * lyxtext.h: move selectionAsText to LCursor
2554
2555         * output_latex.C:
2556         * paragraph.C:
2557         * text.C:
2558         * text2.C:
2559         * text3.C: adjust
2560
2561         * rowpainter.C: fix excessive drawing
2562
2563 2004-02-06  André Pönitz  <poenitz@gmx.net>
2564
2565         * BufferView.[Ch]:
2566         * BufferView_pimpl.[Ch]:
2567         * text3.C: move some text specific LFUN handling
2568
2569 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2570
2571         * text3.C (checkInsetHit): adjust coords
2572         * text2.C (getColumnNearX): adjust coords
2573         (edit): adjust coords
2574         * text.C (getRowNearY): add two asserts
2575
2576 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2577
2578         * converter.C:
2579         * format.C: add using std::distance to compile on gcc 2.95/stlport
2580
2581 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2582
2583         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2584
2585 2004-02-04  André Pönitz  <poenitz@gmx.net>
2586
2587         * BufferView.[Ch] (insertInset):
2588         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2589
2590         * text2.C:
2591         * text3.C: adjust
2592
2593 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2594
2595         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2596         on the default clause of the switch
2597         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2598         wasn't catched by LCursor::dispatch
2599
2600 2004-02-03  André Pönitz  <poenitz@gmx.net>
2601
2602         * BufferView.C:
2603         * cursor.[Ch]: some additional asserts
2604
2605         * undo.[Ch]: remove LyXText dependency in interface
2606
2607         * lyxfunc.C: adjust
2608
2609         * lyxtext.h (firstPar, lastPar): remove dead functions
2610
2611         * text.C:
2612         * text2.C:
2613         * text3.C:
2614         * paragraph.[Ch]: adjust
2615
2616 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2617
2618         * lyxfind.C (find): fix argument order in call to ::find
2619
2620 2004-02-02  André Pönitz  <poenitz@gmx.net>
2621
2622         * cursor.[Ch]: remove direct access to anchor
2623
2624         * text.C: remove findText() hack
2625
2626 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2627
2628         * iterators.[Ch] (lockPath): remove in favour of...
2629         * BufferView.[Ch] (setCursor): this addition
2630         * BufferView.C (putSelectionAt): adjust
2631         * undo.C (performUndoOrRedo): adjust
2632         * lyxfunc.C (dispatch): adjust
2633
2634 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2635
2636         * iterators.C (lockPath): add a missing slice
2637         * undo.C (performUndoOrRedo): remove redundant positioning code
2638
2639 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2640
2641         * vc-backend.C (scanMaster): ";" -> ';'
2642
2643 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2644
2645         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2646         std::binary_function
2647
2648         * lyxtextclass.C (compare_name): rename to...
2649         (LayoutNamesEqual): ...this
2650
2651         * lyxlex_pimpl.C (compare_tags): inherit from
2652         std::binary_function, put back into anon namespace
2653
2654         * lyxfind.C (MatchString): inherig from std::binary_function
2655         (findChange): use empty() istead of !size()
2656
2657         * format.C (FormatNamesEqual): new functor
2658         (getFormat): use it
2659         (getNumber): use it
2660         (add): use it
2661         (erase): use it
2662         (setViewer): use it
2663
2664         * converter.C (compare_Converter): rename to...
2665         (ConverterEqual): ...this, and fixup a bit.
2666         (getConverter): use it, and make function const
2667         (getNumber): use it, and make function const
2668         (add): use it
2669         (erase): use it:
2670
2671         * bufferlist.C: add using boost::bind
2672
2673         * MenuBackend.C (MenuNamesEqual): new functor
2674         (hasMenu): use it, and make function const
2675         (hasSubmenu): use nested bind to get rid of compare_memfun.
2676
2677 2004-01-30  André Pönitz  <poenitz@gmx.net>
2678
2679         * BufferView_pimpl.C:
2680         * cursor.C:
2681         * cursor.h:
2682         * cursor_slice.[Ch]:
2683         * lyxfunc.C:
2684         * lyxtext.h:
2685         * paragraph_funcs.C:
2686         * paragraph_funcs.h:
2687         * rowpainter.C:
2688         * text.C:
2689         * text2.C:
2690         * text3.C: move some of the edit(x,y) handling to the insets
2691         some coordinate changes.
2692
2693 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2694
2695         * text.C: add using statements for std::advance and std::distance
2696
2697         * paragraph.C: add using statement for std::distance
2698
2699         * lyxfind.C: add using statement for std::advance
2700
2701         * cursor.C (region): remove std:: from swap
2702         (openable): use nucleus in stead of operator->
2703
2704         * BufferView.C: add using statements for std::distance and std::swap
2705
2706 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2707
2708         * iterators.C: Remove the pimple, move the needed structures to
2709         the header file. Create accessor for the positions stack.
2710         (asPosIterator): remove function
2711
2712         * PosIterator.C (PosIterator): move constructors to top of file
2713         (PosIterator): reimplement the constructor taking a ParIterator in
2714         terms of setFrom.
2715         (setFrom): new function
2716         (operator!=): inline it
2717
2718 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2719
2720         * lyxfind.C (replaceAll): use std::advance
2721
2722         * iterators.h: inherit from std::iterator.
2723
2724         * PosIterator.C (advance, distance): remove
2725         * PosIterator.h: interit from std::iterator.
2726
2727 2004-01-26  André Pönitz  <poenitz@gmx.net>
2728
2729         * BufferView.[Ch]:
2730         * BufferView_pimpl.[Ch]:
2731         * InsetList.[Ch]:
2732         * PosIterator.[Ch]:
2733         * buffer.h:
2734         * bufferview_funcs.C:
2735         * cursor.[Ch]:
2736         * cursor_slice.h:
2737         * factory.[Ch]:
2738         * iterators.[Ch]:
2739         * lyxfind.C:
2740         * lyxfunc.C:
2741         * lyxtext.h:
2742         * output_docbook.C:
2743         * output_latex.C:
2744         * output_linuxdoc.C:
2745         * output_plaintext.C:
2746         * paragraph.[Ch]:
2747         * paragraph_funcs.[Ch]:
2748         * paragraph_pimpl.[Ch]:
2749         * rowpainter.C:
2750         * tabular.C:
2751         * tabular.h:
2752         * text.C:
2753         * text2.C:
2754         * text3.C: more IU:  dumps most of the rest of the mathcursor
2755     implementation into cursor.[Ch]; "globalize" a bit of it.
2756
2757 2004-01-25  Angus Leeming  <leeming@lyx.org>
2758
2759         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2760
2761 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2762
2763         * LaTeXFeatures.h: add nice_ and nice() const
2764         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2765
2766 2004-01-20  André Pönitz  <poenitz@gmx.net>
2767
2768         * BufferView.[Ch]:
2769         * BufferView_pimpl.C:
2770         * PosIterator.C:
2771         * bufferview_funcs.C:
2772         * cursor.[Ch]:
2773         * cursor_slice.[Ch]:
2774         * factory.C:
2775         * iterators.C:
2776         * lyx_cb.C:
2777         * lyxfind.C:
2778         * lyxfunc.C:
2779         * lyxtext.h:
2780         * rowpainter.C:
2781         * text.C:
2782         * text2.C:
2783         * text3.C:
2784         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2785           LCursor and mathcursor parts to LCursor and InsetBase.
2786
2787 2004-01-15  André Pönitz  <poenitz@gmx.net>
2788
2789         * cursor_slice.[Ch]: add a few covienience functions
2790
2791         * funcrequest.[Ch]: remove BufferView * member
2792
2793         * BufferView_pimpl.C:
2794         * cursor.C:
2795         * factory.[Ch]:
2796         * lyxfind.[Ch]:
2797         * lyxfunc.C:
2798         * lyxtext.h:
2799         * text3.C:
2800         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2801
2802 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2803
2804         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2805         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2806
2807 2004-01-13  André Pönitz  <poenitz@gmx.net>
2808
2809         * textcursor.[Ch]:
2810         * lyxtext.h: hide cursor and selection anchor behind accessor function
2811
2812         * BufferView.C:
2813         * BufferView_pimpl.[Ch]:
2814         * PosIterator.C:
2815         * bufferview_funcs.C:
2816         * cursor.h:
2817         * lyxfind.C:
2818         * lyxfunc.C:
2819         * text.C:
2820         * text2.C:
2821         * text3.C:
2822         * undo.C: adjust
2823
2824         * cursor.h:
2825         * cursor_slice.[Ch]: some integer type changes for inset unification
2826
2827         * lyxcursor.[hC]: remove, it's CursorSlice now.
2828
2829         * Makefile.am:
2830         * BufferView_pimpl.[Ch]:
2831         * bufferview_funcs.C:
2832         * cursor_slice.C:
2833         * lyxtext.h:
2834         * text.C:
2835         * text2.C:
2836         * text3.C:
2837         * textcursor.[Ch]: adjust
2838
2839 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2840
2841         * text2.C (undoSpan): add and use
2842         * text.C (breakParagraph): use undoSpan (fix bug 578)
2843         * lyxtext.h: adjust
2844
2845 2004-01-08  Angus Leeming  <leeming@lyx.org>
2846
2847         * BufferView_pimpl.C (MenuInsertLyXFile):
2848         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2849         * lyxfunc.C (menuNew, open, doImport):
2850         FileFilterList change to the FileDialog open and save functions.
2851
2852 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2853
2854         * ShareContainer.h: make isEqual and isUnique adaptable
2855
2856         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2857
2858 2004-01-07  Angus Leeming  <leeming@lyx.org>
2859
2860         * LyXAction.C:
2861         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2862
2863         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2864
2865         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2866         functions replacing find, replace and replaceAll.
2867
2868         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2869         LFUN_WORDFIND(FORWARD|BACKWARD).
2870
2871 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2872
2873         * text.C (breakParagraph): remove an outdated #warning
2874
2875 2004-01-07  André Pönitz  <poenitz@gmx.net>
2876
2877         * lyxfind.C: somewhat clearer logic
2878
2879         * text.C: prevent crash in cursorX on unitialized row cache
2880
2881 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2882
2883         * lyxcursor.[Ch] (operator>): add
2884         * textcursor.C (selStart, selEnd): use std::min and std::max
2885
2886 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2887
2888         * Chktex.C: include boost/format.hpp
2889
2890 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2891
2892         * InsetList.C: replace functor MathcIt with adaptable functor
2893         InsetTablePosLess
2894         (insetIterator): modify accordingly
2895
2896         * BranchList.h: move the BranchNamesEqual functor here from...
2897         * BranchList.C: ... to here
2898
2899         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2900         SameName and match.
2901         (add): replace a finding loop with std::find_if.
2902
2903 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2904
2905         * output_docbook.C: moving LatexParam functionality into
2906         .layout files
2907
2908 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2909
2910         * buffer.C: increment format to 229.
2911
2912 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2913
2914         * LaTeXFeatures.C:
2915         * lyx_sty.[Ch]: remove minipageindent_def
2916
2917         * LyXAction.C:
2918         * factory.C:
2919         * lfuns.h:
2920         * lyxfunc.C:
2921         * text3.C: remove LFUN_INSET_MINIPAGE
2922
2923 2003-12-28  Angus Leeming  <leeming@lyx.org>
2924
2925         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2926
2927 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2928
2929         * text2.C (setParagraph): fix off-by-one crash
2930
2931 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2932
2933         * output_docbook.C: header stuff for AGU
2934
2935 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2936
2937         * text2.C (redoCursor): remove
2938         * text.C:
2939         * text3.C:
2940         * BufferView_pimpl.C: remove calls to redoCursor and
2941         setCursor(cursor.par(), cursor.pos()) all around
2942
2943 2003-12-15  Angus Leeming  <leeming@lyx.org>
2944
2945         * buffer.C: up the format to 228.
2946
2947 2003-12-15  André Pönitz  <poenitz@gmx.net>
2948
2949         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2950         slices
2951
2952         * Makefile.am:
2953
2954         * BufferView_pimpl.C:
2955         * cursor.[Ch]:
2956         * lyxcursor.[Ch]:
2957         * rowpainter.[Ch]:
2958         * lyxtext.h:
2959         * text.C:
2960         * text2.C:
2961         * text3.C: adjust
2962
2963 2003-12-15  Angus Leeming  <leeming@lyx.org>
2964
2965         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2966         than getFromGUIName to manipulate the color.
2967
2968 2003-12-14  Angus Leeming  <leeming@lyx.org>
2969
2970         * BranchList.[Ch]: minimize the API.
2971         (Branch::getBranch, getColor): now return a 'const &'.
2972         (Branch::setSelected) now returns a bool set to true if the
2973         selection status changes.
2974         (BranchList::clear, size, getColor, setColor, setSelected,
2975         allBranches, allSelected, separator): removed.
2976         (BranchList::find): new functions, returning the Branch with
2977         the given name.
2978         (BranchList::add, remove): return a bool indicating that
2979         the operation was successful.
2980
2981         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2982         new InsetBranch::isBranchSlected member function.
2983
2984         * LColor.[Ch]: mimimize the API.
2985         (fill): renamed as addColor and made private.
2986         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2987         versions of these functions taking a string arg have been removed.
2988
2989         * bufferparams.C (readToken):
2990         * lyxfunc.C (dispatch):
2991         * lyxrc.C (read): changes due to the altered BranchList and
2992         LColor APIs.
2993
2994         * factory.C (createInset, readInset): changes due to altered
2995         InsetBranch c-tor.
2996
2997 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2998
2999         * factory.C:
3000         * lyxfunc.C: remove insetminipage. "minipage-insert"
3001         now produces a frameless minipage box inset.
3002
3003 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3004
3005         * textcursor.[Ch] (selStart,selEnd): add new methods
3006         remove selection::start, end, use LyXCursor::operator<
3007         * lyxcursor.[Ch] (operator<): add
3008         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3009         * BufferView.[Ch] (unsetXSel): add
3010         * text2.C (clearSelection): use unsetXSel,adjust
3011         * text.C: adjust
3012         * text3.C: adjust
3013         * rowpainter.C: adjust
3014         * bufferview_funcs.C (put_selection_at): adjust
3015
3016 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3017
3018         * BufferView_pimpl.C: small coord. correction
3019
3020 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3021
3022         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3023         dragging over the splash screen.
3024
3025 2003-12-11  Angus Leeming  <leeming@lyx.org>
3026
3027         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3028         as it is now handled in LyXText::dispatch.
3029
3030         * text3.C (doInsertInset): remove a level of nesting.
3031
3032 2003-12-11  Angus Leeming  <leeming@lyx.org>
3033
3034         * factory.C (createInset): changes due to the changed interface to
3035         InsetCommandMailer::string2params.
3036
3037 2003-12-10  Angus Leeming  <leeming@lyx.org>
3038
3039         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3040         'dialog-show-new-inset <inset name>'
3041
3042 2003-12-10  Angus Leeming  <leeming@lyx.org>
3043
3044         * buffer.C: up the format to 227.
3045
3046         * factory.C: the box inset is now identified simply by 'Box'.
3047
3048 2003-12-10  Angus Leeming  <leeming@lyx.org>
3049
3050         * buffer.C: up the format to 226.
3051
3052         * factory.C: the note inset is now identified simply by 'Note'.
3053
3054 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3055
3056         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3057         when a pit is enough. Standarize a couple of loops.
3058
3059 2003-12-05  Angus Leeming  <leeming@lyx.org>
3060
3061         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3062         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3063         data to the re-worked "log" dialog.
3064
3065 2003-12-03  André Pönitz  <poenitz@gmx.net>
3066
3067         * PosIterator.C:
3068         * iterators.C:
3069         * lyxtext.h:
3070         * output_latex.C:
3071         * paragraph_funcs.C:
3072         * text.C:
3073         * text2.C: use Inset::getText instead of Inset::getParagraph
3074
3075 2003-12-03  André Pönitz  <poenitz@gmx.net>
3076
3077         * buffer.[Ch]:
3078         * lyxtext.h:
3079         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3080         InsetText::read() as LyXText::read()
3081
3082 2003-12-02  Angus Leeming  <leeming@lyx.org>
3083
3084         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3085         type. Add a comment in the implementation that the function uses
3086         the stream's bad() function rather than fail() as the std::streams
3087         would do.
3088
3089 2003-12-02  André Pönitz  <poenitz@gmx.net>
3090
3091         * lyxlex.[Ch]: make interface more similar to std::stream
3092
3093         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3094
3095 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3096
3097         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3098
3099 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3100
3101         * vspace.[Ch]: remove VSpace::NONE
3102
3103 2003-12-01  André Pönitz  <poenitz@gmx.net>
3104
3105         * buffer.[Ch]:
3106         * lyxtext.h: move ParagraphList member to LyXText
3107         rename LyXText::ownerParagraphs to LyXText::paragraph
3108
3109         * CutAndPaste.C:
3110         * bufferview_funcs.C:
3111         * iterators.[Ch]:
3112         * lyx_cb.C:
3113         * paragraph.C:
3114         * rowpainter.C:
3115         * tabular.C:
3116         * text.C:
3117         * text2.C:
3118         * text3.C: adjust
3119
3120         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3121
3122         * undo.C: fix cursor positioning
3123
3124 2003-12-01  John Levon  <levon@movementarian.org>
3125
3126         * BufferView_pimpl.C: fix a crash on exit with
3127         a buffer open
3128
3129 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3130
3131         * BranchList.C: fix setSelected() method.
3132
3133 2003-11-28  André Pönitz  <poenitz@gmx.net>
3134
3135         * ParagraphParameters.[Ch]:
3136         * ParameterStruct.h: remove space above/below from Paragraph to
3137          InsetVSpace
3138
3139         * BufferView_pimpl.C:
3140         * factory.C:
3141         * lyxfunc.C:
3142         * lyxtext.h:
3143         * output_latex.C:
3144         * paragraph.C:
3145         * paragraph_funcs.C:
3146         * rowpainter.[Ch]:
3147         * text.C:
3148         * text2.C:
3149         * text3.C: adjust
3150
3151 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3152
3153         * factory.C: Syntax change for CharStyles
3154
3155 2003-11-28  André Pönitz  <poenitz@gmx.net>
3156
3157         * BufferView.[Ch]:
3158         * BufferView.[Ch]:
3159         * buffer.[Ch]:
3160         * buffer.[Ch]: move LyXText member
3161
3162 2003-11-28  André Pönitz  <poenitz@gmx.net>
3163
3164         * BufferView.[Ch]: make LyXText * text a private member
3165
3166         * BufferView_pimpl.C:
3167         * cursor.C:
3168         * iterators.C:
3169         * lyx_cb.C:
3170         * lyxfind.C:
3171         * lyxtext.h:
3172         * rowpainter.[Ch]:
3173         * text.C:
3174         * text2.C:
3175         * undo.C: adjust
3176
3177         * output_plaintext.C: cleanup
3178
3179 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3180
3181         * buffer.C:
3182         * lyxtextclass.[Ch]: parametrize SGML document header
3183
3184 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3185
3186         * converter.[Ch]:
3187         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3188         getFlavor().
3189
3190 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3191
3192         * text2.C (setFont): rework using PosIterator (no more recursive)
3193         (setCharFont): no more needed
3194         (setLayout): no more selection cursors fiddling (done by redoCursor)
3195         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3196         destroy remaining ones)
3197
3198 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3199
3200         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3201         * lyxtext.h: ditto
3202         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3203         selection cursors
3204         * lyxfunc.C: adjust
3205         * text3.C: adjust + re-allow multi par depth changes
3206         * textcursor.C: simplify a bit
3207
3208 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3209
3210         * src/buffer.C:
3211         * src/lyxlayout.C:
3212         * src/lyxlayout.h:
3213         * src/lyxtext.h:
3214         * src/output_docbook.C:
3215         * src/output_latex.C:
3216         * src/paragraph.C:
3217         * src/paragraph.h:
3218         * src/sgml.C:
3219         * src/sgml.h:
3220         * src/text2.C: Introducing a number of tags parametrizing various
3221         XML formats that we may want to support
3222
3223 2003-11-25  André Pönitz  <poenitz@gmx.net>
3224
3225         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3226
3227         * lyxtext.h (leftMargin/rightMargin): simplify interface
3228
3229         * rowpainter.C:
3230         * text.C:
3231         * text2.C:
3232         * text3.C: adjust
3233
3234 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3235
3236         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3237         master file to any child files. Fixes bug 546.
3238
3239 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3240
3241         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3242
3243 2003-11-24  André Pönitz  <poenitz@gmx.net>
3244
3245         * rowpainter.C: simplification
3246
3247         * text2.C (updateCounters): remove call to redoParagraph on
3248         changed labels as this is far too expensive.
3249
3250 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3251
3252         * converter.C (convert): fix a crash: this function gets
3253         called with buffer == 0 from importer code.
3254
3255 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3256
3257         * text3.C (cursorPrevious): make sure that we do not compare
3258         iterators form different containers.
3259         (cursorNext): ditto
3260
3261         * rowpainter.C (paintSelection): make sure that we do not compare
3262         iterators from different containers.
3263
3264         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3265         iterators from different ParagraphList containers.
3266         [NEXT] ditto
3267
3268         * text2.C (LyXText): change order of initialization slightly
3269         (operator=): new function. copy all variables except cache_par_
3270         (moveUp): make sure that we do not compare iterators from
3271         different ParagraphList constainers.
3272         (moveDown): ditto
3273
3274         * text.C (firstPar): new function
3275         (lastPar): new function
3276         (endPar): new function
3277
3278         * lyxtext.h: move things around and group public functions, public
3279         variables, private functions, private variables
3280
3281 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3282
3283         * factory.C: change call to InsetERT constructor to avoid
3284         additional invocation of method status
3285         * text2.C (toggleInset): remove redundant update() call
3286         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3287         instead of a Bufferview pointer
3288
3289 2003-11-21  André Pönitz  <poenitz@gmx.net>
3290
3291         * rowpainter.C: simplification
3292
3293 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3294
3295         * text3.C (dispatch): make possible to extend a word/row selection
3296         with the mouse
3297
3298 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3299
3300         * lyxtext.h: x0_,y0_ -> xo_,yo_
3301         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3302         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3303         * rowpainter.C (paintRows): paint full paragraphs
3304
3305 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3306
3307         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3308         screen coordinates)
3309
3310 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3311
3312         * lyxtext.h: add x0_, y0_
3313         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3314         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3315
3316 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3317
3318         * text2.C (setCursorIntern): move the x_target update here *
3319         * text3.C: change some bv() to true/false in calls to
3320         cursorUp/Down/Right/Left
3321         * cursor.C: use helper function.
3322
3323 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3324
3325         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3326         * paragraph_funcs.[Ch]: correct comment
3327         * rowpainter.C: do not paint selections away from bv->cursor()
3328         Fix a long standing selection painting bug.
3329         * text3.C: generalize mouse-selection code to LyXTexts other that
3330         top one
3331         * textcursor.C: do not use y coords if we can use par offsets
3332
3333 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3334
3335         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3336         cursor position after e.g. inset insert)
3337
3338 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3339
3340         * lyxfind.C (replace): adjust to locking removal + some
3341         code simplification
3342
3343 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3344
3345         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3346         of the path
3347
3348 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3349
3350         * lyxlayout.[Ch]:
3351         * output_docbook.C: XML sanitation: new layout
3352         parameters InnerTag and CommandDepth
3353
3354 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3355
3356         * BufferView_pimpl.C:
3357         * factory.C:
3358         * text3.C: Fix the insertion and modification of button-style
3359         insets
3360
3361 2003-11-13  André Pönitz  <poenitz@gmx.net>
3362
3363         * InsetList.[Ch]: remove deleteLyXText
3364
3365         * paragraph.[Ch]: cache beginOfBody position
3366
3367         * Bidi.C:
3368         * text.C:
3369         * text2.C:
3370         * text3.C: remove superfluous update() calls
3371
3372         * vspace.C: cleanup
3373
3374 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3375
3376         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3377         * BufferView.C (fitLockedInsetCursor): remove
3378         * cursor.[Ch] (getDim): add
3379         * text.C (getRowNearY): add faster version
3380         * text3.C: remove some update calls
3381
3382 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3383
3384         * LaTeXFeatures.C:
3385         * LyXAction.C:
3386         * MenuBackend.C:
3387         * MenuBackend.h:
3388         * dispatchresult.h:
3389         * factory.C:
3390         * lfuns.h:
3391         * lyxfunc.C:
3392         * lyxtextclass.C:
3393         * lyxtextclass.h:
3394         * text3.C: The Character Style /XML short element patch.
3395
3396 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3397
3398         * text3.C:
3399         * factory.C: Small step to solving 'unable to insert some insets'
3400         problem
3401
3402 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3403
3404         * cursor.[Ch] (updatePos): new function for updating the y
3405         position of the tip inset
3406         * bufferview_funcs.C (put_selection_at):
3407         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3408
3409 2003-11-11  André Pönitz  <poenitz@gmx.net>
3410
3411         * text.C: remove big comment on invalid Paragraph pointers as it is
3412         not valid anymore
3413
3414 2003-11-11  André Pönitz  <poenitz@gmx.net>
3415
3416         * text_funcs.[Ch]: merge with ...
3417
3418         * text.C: ... this
3419
3420         * lyxtext.h:
3421         * text2.C:
3422         * text3.C: adjust
3423
3424         * Makefile.am: remove text_funcs.[Ch]
3425
3426 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3427
3428         * cursor.C (getPos): return absolute cached y coord
3429
3430         * BufferView_pimpl.C (fitCursor): new simplistic code
3431         (workAreaDispatch): add a fitCursor call
3432
3433 2003-11-10  André Pönitz  <poenitz@gmx.net>
3434
3435         * BufferView.[Ch]:
3436         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3437
3438 2003-11-10  André Pönitz  <poenitz@gmx.net>
3439
3440         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3441         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3442         indicate that the cursor needs to leave an inset
3443
3444         * lyxtext.h: remove inset locking
3445
3446         * cursor.[Ch]: re-implement functionality provided by inset locking
3447
3448         * BufferView.[Ch]:
3449         * BufferView_pimpl.[Ch]:
3450         * LyXAction.C:
3451         * bufferview_funcs.[Ch]:
3452         * factory.C:
3453         * funcrequest.[Ch]:
3454         * iterators.C:
3455         * lyx_cb.C:
3456         * lyxfind.C:
3457         * lyxfunc.C:
3458         * text.C:
3459         * text2.C:
3460         * text3.C:
3461         * undo.C: adjust
3462
3463 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3464
3465         * PosIterator.[Ch]: replace the stack with a vector, add inset
3466         accesor
3467         * iterators.[C]: adjust
3468
3469 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3470
3471         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3472         replaced
3473         * paragraph_funcs.C (readParToken): put the correct id in the
3474         error item, not the id of the top paragraph
3475
3476 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3477
3478         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3479         * bufferview_funcs.C (put_selection_at): use the above
3480
3481 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3482
3483         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3484
3485 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3486
3487         * output_linuxdoc.h:
3488         * output_plaintext.h:
3489         * output.h:
3490         * output_docbook.h: add #include statements
3491
3492 2003-11-05  José Matos  <jamatos@lyx.org>
3493
3494         * output_docbook.[Ch]:
3495         * output_latex.[Ch]:
3496         * output_linuxdoc.[Ch]:
3497         * output_plaintext.[Ch]: New files for output formats.
3498         * output.[Ch]: New file for helper functions.
3499
3500         * buffer.[Ch]:
3501         * paragraph_funcs.[Ch]: output functions moved to new files.
3502
3503         * outputparams.h: rename of latexrunparams.h
3504
3505         * LaTeX.[Ch]:
3506         * buffer.[Ch]:
3507         * bufferlist.[Ch]:
3508         * converter.[Ch]:
3509         * exporter.C:
3510         * paragraph.[Ch]:
3511         * paragraph_funcs.[Ch]:
3512         * paragraph_pimpl.[Ch]:
3513         * tabular.[Ch]: rename ascii to plaintext
3514         and LatexRunParams to OutputParams.
3515
3516 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3517
3518         * iterators.[Ch] (text): require bv argument
3519         * undo.C (recordUndo):
3520         * lyxfunc.C (dispatch):
3521         * bufferview_funcs.C (put_selection_at): adjust
3522
3523 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3524
3525         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3526
3527 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3528
3529         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3530         nestings
3531
3532 2003-11-04  André Pönitz  <poenitz@gmx.net>
3533
3534         * cursor.[Ch]: restructure
3535
3536         * BufferView.[Ch]:
3537         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3538
3539         * iterators.[Ch] (asCursor): remove
3540
3541         * lfuns.h: remove LFUN_INSET_EDIT
3542
3543         * lyxfunc.C:
3544         * tabular.C:
3545         * text.C:
3546         * text2.C:
3547         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3548
3549 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3550
3551         * lyxfind.[Ch]: complete overhaul
3552         * BufferView_pimpl.C:
3553         * lyxfunc.C: adjust
3554         * paragraph.[Ch] (insert): add
3555
3556 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3557
3558         * BufferView.[Ch]:
3559         * lyxtext.h:
3560         * text.C: remove dead spellcheck code
3561
3562 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3563
3564         * dispatchresult.h: add a val setter
3565
3566         * cursor.C (dispatch): use a tempvar for data_[i]
3567
3568 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3569
3570         * PosIterator.[Ch]: compile fix
3571
3572 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * text.C (cursorPar): deactivate the cursor cache
3575
3576 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3579
3580 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3581
3582         * text3.C (dispatch): adjust for new DisptchResult semantics.
3583
3584         * lyxfunc.C (dispatch): handle update when return from
3585         Cursor::dispatch, adjust for new DispatchResult semantics.
3586
3587         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3588         DispatchResult(true) mean to not update. Add class functions for
3589         setting dispatched and update, as well as reading.
3590
3591         * cursor.C (dispatch): don't handle update here
3592
3593 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3594
3595         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3596         * trans_mgr.C: adjust
3597
3598         * paragraph_funcs.C (readParToken): exception safety
3599
3600         * lyxvc.h: store the vcs pointer in a scoped_ptr
3601         * lyxvc.C: adjust
3602
3603         * lyxsocket.C (serverCallback): exception safety
3604
3605         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3606
3607         * ispell.C (clone): make it return a auto_ptr
3608
3609         * factory.C (createInset): exception safety
3610         (readInset): exception safety
3611
3612         * bufferlist.C (newBuffer): exception safety
3613
3614         * Thesaurus.C (Thesaurus): use initialization for aik_
3615
3616         * MenuBackend.C (expandToc): exception safety.
3617
3618 2003-11-03  André Pönitz  <poenitz@gmx.net>
3619
3620         * buffer.C:
3621         * buffer.h:
3622         * bufferview_funcs.C: remove getInsetFromId()
3623
3624         * lyxcursor.[Ch]:
3625         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3626
3627         * lyxfunc.C:
3628         * text2.C:
3629         * text3.C: adjust
3630
3631 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3632
3633         * PosIterator.C (distance, advance): new
3634         * bufferview_funcs.[Ch] (put_selection_at): new
3635         * iterators.[Ch] (lockPath): new
3636
3637 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * iterators.[Ch] (asPosIterator): added
3640         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3641         * PosIterator.[Ch]: added
3642
3643 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3644
3645         * text3.C:
3646         * lyxfunc.C:
3647         * cursor.C (dispatch):
3648         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3649
3650         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3651         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3652         contructor, add a class function dispatched. Remove operator>=
3653
3654 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3655
3656         * debug.C: only use the default constructor for debugstream
3657         (lyxerr) here.
3658
3659         * main.C (main): include debug.h and setup the lyxerr streambuf
3660         here.
3661
3662 2003-10-31  José Matos  <jamatos@lyx.org>
3663
3664         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3665
3666         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3667         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3668         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3669         * paragraph_pimpl.C (simpleTeXSpecialC):
3670         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3671         add LatexRunParams argument.
3672
3673         * exporter.C (Export): change call accordingly.
3674
3675         * latexrunparams.h: add new member to take care of the other backends.
3676 2003-10-30  José Matos  <jamatos@lyx.org>
3677
3678         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3679         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3680         factorise code for paragraph output.
3681         * buffer.[Ch]:
3682         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3683         move functions.
3684
3685 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * text3.C (dispatch):
3688         * lyxfunc.C (dispatch):
3689         * cursor.C (dispatch):
3690         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3691
3692         * dispatchresult.h: make the dispatch_result_t ctor explicit
3693
3694 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3695
3696         * sgml.[Ch]:
3697         * buffer.C: small refactoring of docbook stuff
3698
3699 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3702         meaning.
3703
3704 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3705
3706         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3707         operator dispatch_result_t, and operators for == != and >=
3708
3709         * cursor.C (dispatch): adjust for operator dispatch_result_t
3710         removal. comment out call to update
3711
3712         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3713
3714 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3715
3716         * text3.C:
3717         * text2.C:
3718         * text.C:
3719         * lyxtext.h:
3720         * lyxfunc.C:
3721         * cursor.C:
3722         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3723         (dispatch):
3724
3725         * dispatchresult.h: new file, DispatchResult broken out of
3726         insets/insetbase.h
3727
3728         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3729
3730 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3731
3732         * text.C (rowBreakPoint): put a hack inside #if 0
3733
3734 2003-10-28  André Pönitz  <poenitz@gmx.net>
3735
3736         * lyxtext.h:
3737         * metricsinfo.C:
3738         * paragraph_funcs.C:
3739         * rowpainter.C:
3740         * text.C:
3741         * text2.C: general cleanup (lots of small stuff)
3742
3743 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3744
3745         * text2.C (cursorEnd): simple fix to the "end key goes to one
3746         before the end on last row" bug
3747
3748 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3749
3750         * text.C (backspace): fix the "zombie characters"
3751
3752 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3753
3754         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3755
3756 2003-10-27  André Pönitz  <poenitz@gmx.net>
3757
3758         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3759
3760         * factory.C: handle new InsetPagebreak, InsetLine
3761
3762         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3763         and move handling into new InsetPagebreak, InsetLine
3764
3765         * BufferView_pimpl.C:
3766         * LyXAction.C:
3767         * ParagraphParameters.C:
3768         * ParameterStruct.h:
3769         * lyxfunc.C:
3770         * lyxtext.h:
3771         * paragraph.C:
3772         * paragraph.h:
3773         * paragraph_funcs.C:
3774         * paragraph_pimpl.C:
3775         * rowpainter.C:
3776         * text.C:
3777         * text2.C:
3778         * text3.C: adjust
3779
3780 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3781
3782         * text.C:
3783         * lyxrow_funcs.[Ch]:
3784         * Bidi.C:
3785         * paragraph.C:
3786         * lyxtext.h:
3787         * rowpainter.C:
3788         * text2.C:
3789         * text3.C: remove lastPos uses in favour of Row::endpos
3790
3791 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3792
3793         * undo.C (performUndoOrRedo): fix two crashes by setting a
3794         cursor by hand and reordering some calls. Use bv->lockInset instead
3795         of inset->edit because the latter loses cursor information
3796
3797 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3798
3799         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3800         by Martin
3801         (rowBreakPoint): fix width. change point to point + 1.
3802         Add a missing check.
3803
3804 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3805
3806         * MenuBackend.C:
3807         * lyxfunc.C: fix (at least partly) the problems
3808         with the Nav menu and headers inside branch insets
3809         reported by Kayvan
3810
3811 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3812
3813         * paragraph.C (getChar): add strong asserts
3814
3815         * lyxrow_funcs.C (lastPos): remove hideous hack
3816
3817         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3818         (fill): adjust to that (avoid an infinite loop)
3819
3820 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3823
3824 2003-10-23  André Pönitz  <poenitz@gmx.net>
3825
3826         * RowList_fwd.h: change list<> to vector<> to gain speed
3827         after suggestion from Alfredo
3828
3829 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3830
3831         * lyxtext.h: move the bidi stuff from here...
3832         * text.C: and here
3833         * text2.C: and here
3834         * Bidi.[Ch]: ... to here
3835
3836 2003-10-23  André Pönitz  <poenitz@gmx.net>
3837
3838         * lyxtext.h:
3839         * text.C (isLastRow, isFirstRow): new functions
3840
3841         * paragraph.h: new width cache member
3842
3843         * rowpainter.C: replace RowList::iterator with Row & where possible
3844
3845         * lyxfunc.C: replace several view()->text with a single call
3846
3847         * toc.C: fix 'unused' warning
3848
3849 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3852         when woring with stream::pos_type
3853         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3854
3855 2003-10-22  André Pönitz  <poenitz@gmx.net>
3856
3857         * lyxtext.h:
3858         * text.C: use Row & instead of RowList::iterator
3859
3860         * lyxrow.h: rename end() to endpos()
3861
3862         * rowpainter.C:
3863         * text.C:
3864         * text2.C: adjust
3865
3866 2003-10-22  Angus Leeming  <leeming@lyx.org>
3867
3868         * buffer.[Ch] (fully_loaded): new member function, returning true
3869         only when the file has been loaded fully.
3870         Used to prevent the premature generation of previews and by the
3871         citation inset to prevent computation of the natbib-style label.
3872
3873         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3874         templates are all set up.
3875
3876         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3877
3878 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3879
3880         * text.C: fixed an "oops" in the "is a bit silly"
3881         bug fix
3882
3883 2003-10-21  André Pönitz  <poenitz@gmx.net>
3884
3885         * FuncStatus.[Ch]: small stuff, whitespace
3886
3887         * lyxfont.[Ch]: operator<<() for debug reasons
3888
3889         * lyxfunc.C:
3890         * lyxrow_funcs.C:
3891         * lyxtext.h: whitespace, spelling
3892
3893         * paragraph.C: naming of variables
3894
3895         * text.C:
3896         * text2.C: small stuff
3897
3898
3899 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3900
3901         * text.C: (1) finish off the inset display() work;
3902         (2) fix the "is a bit silly" bug (accessing char
3903         past end of par).
3904
3905 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3906
3907         * text.C: re-introduce display() for insets, fixing the
3908         various bugs (stretch of line above, math inset
3909         positioning, ...)
3910
3911 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3912
3913         * text.C (rightMargin): remove spurious semicolon
3914
3915         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3916         1415)
3917
3918 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3919
3920         * text3.C: fix one crash due to wrong cursor def
3921
3922 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3923
3924         * vc-backend.C (scanMaster): make the regex static
3925
3926         * LaTeX.C (scanAuxFile): make the regexs static
3927
3928         * text3.C (doInsertInset, dispatch, dispatch):
3929         * text2.C (cursorUp, cursorDown):
3930         * text.C (selectNextWordToSpellcheck):
3931         * BufferView_pimpl.C (dispatch):
3932         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3933
3934 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3935
3936         * lyxsocket.C: include <cerrno>
3937
3938 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3939
3940         * lyxfunc.C (dispatch): remove textcache stuff
3941
3942         * bufferlist.C (release): remove textcache stuff
3943         (closeAll): ditto
3944
3945         * TextCache.C: delete file
3946         * TextCache.h: delete file
3947
3948         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3949
3950         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3951         delete of the bv_->text.
3952         (resizeCurrentBuffer): remove texcache stuff
3953         (workAreaResize): ditto
3954
3955 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3956
3957         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3958         action.
3959
3960 2003-10-16  André Pönitz  <poenitz@gmx.net>
3961
3962         * lyxrow.[Ch]:
3963         * paragraph.h:
3964         * rowpainter.C:
3965         * text.C:
3966         * text2.C:
3967         * text3.C: speed up by storing y positions per paragraph plus per-row
3968         offset instead of having a 'full' y position in the row.
3969
3970 2003-10-15  André Pönitz  <poenitz@gmx.net>
3971
3972         * iterators.[Ch]:
3973         * iterators.[Ch]:
3974         * undo.[Ch]: make undo aware of inner insets
3975
3976 2003-10-14  Angus Leeming  <leeming@lyx.org>
3977
3978         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3979         static member functions LyX::ref() and LyX::cref.
3980         (lastfiles): new accessor functions for the new lastfiles_ member var.
3981         (addLyXView, views_): add a new LyXView to the list of views_.
3982         (updateInset): loop over all LyXViews to call their own updateInset
3983         member function, returning a pointer to the Buffer owning the inset.
3984
3985         * BufferView_pimpl.C (loadLyXFile):
3986         * MenuBackend.C (expandLastfiles):
3987         * bufferlist.C (MenuWrite, QuitLyX):
3988         lastfiles is no longer a global variable.
3989         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3990
3991         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3992         static function. Access through LyX::cref().emergencyCleanup().
3993
3994 2003-10-14  André Pönitz  <poenitz@gmx.net>
3995
3996         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3997
3998         * undo.[Ch]: restoring part of 'undo in insets'
3999
4000         * Makefile.am:
4001         * undo_funcs.[Ch]: merge with undo.[Ch]
4002
4003         * tabular.C: small cleansing stuff
4004
4005 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4006
4007         * paragraph_funcs.C (readParToken): report unknown insets as error
4008         boxes. Use the outer paragraph as location (also for unknown
4009         tokens).
4010
4011         * factory.C (readInset): do not abort on reading an unknown inset.
4012         Eat it and return 0.
4013
4014 2003-10-13  Angus Leeming  <leeming@lyx.org>
4015
4016         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4017
4018         * lyxrc.C: displayTranslator is now a function,
4019         declared in GraphicsTypes.h.
4020
4021 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4022
4023         * format.C: new placeholder $$a to pass the socket address.
4024
4025         * bufferlist.[Ch]: new function getBufferFromTmp.
4026
4027         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4028           files in the temporary dir.
4029
4030 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4031
4032         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4033
4034         * Makefile.am: add lyxsocket.[Ch].
4035
4036         * lyx_main.C (error_handler): handle SIGPIPE.
4037
4038 2003-10-13  André Pönitz  <poenitz@gmx.net>
4039
4040         * BufferView_pimpl.C:
4041         * lyxtext.h:
4042         * text.C:
4043         * text2.C:
4044         * text3.C:
4045         * undo_funcs.[Ch]: use paroffset_type instead of
4046           ParagraphList::iterators to prevent multiple conversion
4047           (and get a more robust interface)
4048
4049 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4050
4051         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4052         * lyxtext.h: ditto
4053         * text3.C (dispatch): ditto
4054
4055 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4058         move the onlyfile, use onlyfile instead of foundfile in a couple
4059         of places.
4060
4061         * DepTable.C (update): flush the error stream a bit more
4062
4063 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4064
4065         * lyxserver.C (callback): adjust
4066
4067         * lyxfunc.C (getStatus): add a missing brace in commented code
4068         (ensureBufferClean): reindent
4069         (dispatch): delete version taking a string
4070
4071 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4072
4073         * LaTeX.C (deplog): move found file handlig from here...
4074         (handleFoundFile): .. to new function here.
4075         (deplog): make sure to discover several files mentioned on the
4076         same log line.
4077
4078 2003-10-10  André Pönitz  <poenitz@gmx.net>
4079
4080         * lyxfunc.C:
4081         * lyxtext.h:
4082         * tabular.C:
4083         * text.C:
4084         * text2.C:
4085         * text3.C: fix some of the tabular crashes
4086
4087 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4088
4089         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4090
4091         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4092
4093 2003-10-09  André Pönitz  <poenitz@gmx.net>
4094
4095         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4096
4097         * BufferView.C:
4098         * BufferView_pimpl.C:
4099         * bufferview_funcs.C:
4100         * lyx_cb.C:
4101         * lyxcursor.C:
4102         * lyxfind.C:
4103         * lyxfunc.C:
4104         * lyxtext.h:
4105         * text.C:
4106         * text2.C:
4107         * text3.C:
4108         * text_funcs.[Ch]:
4109         * textcursor.[Ch]:
4110         * undo_funcs.C: adjust
4111
4112 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * text2.C (incrementItemDepth): new function, use a backtracking
4115         algorithm to discover the correct item depth.
4116         (resetEnumCounterIfNeeded): new function, use a backtracking
4117         algorithm to discover if counter reset is needed.
4118         (setCounter): use them. Simplify a bit. Add different labels for
4119         different item depths for itemize.
4120
4121         * paragraph.C (Paragraph): remove initialization of enumdepth
4122         (operator=): ditto
4123
4124         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4125         enumerate and itemize. Change the type of itemdepth to signed char.
4126
4127 2003-10-08  André Pönitz  <poenitz@gmx.net>
4128
4129         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4130           thing assignable.
4131         * text.C:
4132         * text2.C: adjust
4133
4134         * tabular.[Ch]: fix crash after 'row-insert'
4135
4136 2003-10-08  Angus Leeming  <leeming@lyx.org>
4137
4138         Fix doxygen warnings.
4139
4140         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4141         Remove CutAndPaste:: prefix from header file declaration.
4142
4143         * LColor.h (fill): remove LColor:: prefix from declaration.
4144
4145         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4146         use lyx::depth_type rather than Paragraph::depth_type so that
4147         header file and .C file match.
4148
4149         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4150
4151         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4152         * aspell.C: \file aspell_local.C -> \file aspell.C
4153         * gettext.C: \file gettext.C -> \file src/gettext.C
4154         * gettext.h: \file gettext.h -> \file src/gettext.h
4155         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4156         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4157         * text.C: \file text.C -> \file src/text.C
4158
4159         * toc.C: move comment so that doxygen is not confused.
4160
4161 2003-10-07  Angus Leeming  <leeming@lyx.org>
4162
4163         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4164
4165 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4166
4167         * aspell.C:
4168         * aspell_local.h: add forgotten std::string's.
4169
4170 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4171
4172         * LaTeXFeatures.C:
4173         * LyXAction.C:
4174         * factory.C:
4175         * lfuns.h:
4176         * lyxfunc.C:
4177         * text3.C: The Box patch. Fancybox support, minipage, parbox
4178
4179 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4180
4181         * CutAndPaste.h:
4182         * DepTable.h:
4183         * FloatList.h:
4184         * LaTeXFeatures.h:
4185         * ParagraphParameters.h:
4186         * TextCache.h:
4187         * Thesaurus.h:
4188         * bufferlist.h:
4189         * exporter.h:
4190         * importer.h:
4191         * lastfiles.h:
4192         * lyxfind.h:
4193         * lyxfont.h:
4194         * lyxlex.h:
4195         * lyxtextclasslist.h:
4196         * messages.h:
4197         * paragraph.h:
4198         * paragraph_pimpl.C:
4199         * textcursor.h: add <string> and other small fixes to make Lars'
4200         std::string patch compile with STLport.
4201
4202 2003-10-06  Angus Leeming  <leeming@lyx.org>
4203
4204         * LColor.h: Add missing #include <string>.
4205
4206 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4207
4208         * All most all file in all subdirs: Make <string> be the prefered
4209         way of getting to std::string, add using declarations.
4210
4211 2003-10-06  André Pönitz  <poenitz@gmx.net>
4212
4213         * metricsinfo.C: initialize LyXFont before changing attribute.
4214         (fixes the 'math in \emph is upright' bug)
4215
4216 2003-10-06  André Pönitz  <poenitz@gmx.net>
4217
4218         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4219
4220 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4221
4222         * graph.C:
4223         * paragraph_pimpl.C: Small fixes to build using STLport
4224
4225 2003-10-02  André Pönitz  <poenitz@gmx.net>
4226
4227         * lyxfunc.C:
4228         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4229
4230 2003-10-01  André Pönitz  <poenitz@gmx.net>
4231
4232         * factory.C: assert early
4233
4234 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4235
4236         * lyx_main.C: remove the global debug object
4237
4238         * debug.h: adjust for new debugstream
4239
4240         * debug.C: adjust for new debugstream and keep the global debug
4241         object here.
4242
4243 2003-09-22  Angus Leeming  <leeming@lyx.org>
4244
4245         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4246         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4247         an incomplete class LyXFont.
4248
4249 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4250
4251         * factory.C: bug fix in branches
4252
4253 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4254
4255         * lyxfunc.C (processKeySym): adjust
4256         (dispatch): adjust
4257         (dispatch): change arg name from ev to func, adjust
4258         (sendDispatchMessage): ditto
4259
4260         * lyx_main.C (defaultKeyBindings): adjust keybindings
4261         (deadKeyBindings): ditto
4262
4263         * kbsequence.C (addkey): return a FuncRequest
4264
4265         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4266
4267         * kbmap.C (bind): take a FuncRequest as arg, adjust
4268         (read): adjust
4269         (lookup): adjust
4270         (defkey): change to take a FuncRequest as arg, adjust
4271         (findbinding): take a FuncRequest as arg, adjust.
4272
4273         * funcrequest.h (operator=): added
4274
4275         * funcrequest.C (FuncRequest): default kb_action changed from
4276         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4277
4278         * buffer.C (dispatch): simplify
4279         (dispatch): adjust to take a FuncRequest as arg, adjust
4280
4281         * boost.C (assertion_failed): change assertion message slightly
4282
4283         * ToolbarBackend.C (read): simplify
4284
4285         * MenuBackend.C (binding): adjust call to findbinding, add a
4286         message if no binding is found.
4287         (read): simplify
4288         (expandToc): correct by adding a empty FuncRequest
4289
4290         * LyXAction.C: include <boost/assert.hpp>
4291         (isPseudoAction): delete function
4292         (LookupFunc): change name to...
4293         (lookupFunc): this. change return type to FuncRequest.
4294         (getActionName): take kb_action as arg, simplify
4295         (funcHasFlag): add an assert, simplify.
4296
4297 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4298
4299         * toc.C (action): return a FuncRequest, simplify
4300
4301         * lyxfunc.C (processKeySym): adjust
4302         (getStatus): delete version that takes an int.
4303         (getStatus): adjust
4304         (dispatch): delete version that takes action as int
4305         (dispatch): adjust
4306         (sendDispatchMessage): simplify and adjust
4307
4308         * funcrequest.C (getArg): take unsigned int as arg
4309
4310         * ToolbarBackend.C (read): adjust
4311         (add): delete version that takes func as a string.
4312         (getIton): take a FuncRequest as arg
4313
4314         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4315         action.
4316
4317         * MenuBackend.C (MenuItem): add a new construct that only takes a
4318         Kind, simplify the constructor use for submenus.
4319         (add): adjust
4320         (expandLastfiles): adjust
4321         (expandDocuments): adjust
4322         (expandFormats): adjust
4323         (expandFloatListInsert): adjust
4324         (expandFloatInsert): adjust
4325         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4326
4327         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4328         Remove class variables lyx_pseudo_map and lyx_arg_map
4329
4330         * LyXAction.C (searchActionArg): delete function
4331         (getPseudoAction): delete function
4332         (retrieveActionArg): delete function
4333         (LookupFunc): make it return kb_action, simplify.
4334         (getActionName): simplify
4335
4336         * factory.C (createInset): fix new bug
4337
4338 2003-09-19  Angus Leeming  <leeming@lyx.org>
4339
4340         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4341         masterFilename_ parameter in the include inset.
4342
4343         * factory.C (createInset): changes due to the changes to InsetInclude.
4344
4345 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4346
4347         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4348
4349 2003-09-18  Angus Leeming  <leeming@lyx.org>
4350
4351         * buffer.C:
4352         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4353         Inset::fillWithBibKeys.
4354         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4355
4356 2003-09-18  Angus Leeming  <leeming@lyx.org>
4357
4358         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4359         variables.
4360         (ctor): pass and store a 'Buffer const &'
4361         (buffer): new member function.
4362
4363         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4364         '*this' to the LaTeXFeatures ctor.
4365
4366 2003-09-18  Angus Leeming  <leeming@lyx.org>
4367
4368         * LColor.h:
4369         * lyxfont.C:
4370         * lyxfont.h:
4371         * lyxtext.h:
4372         * text.C: rename EnumLColor as LColor_color.
4373
4374 2003-09-18  Angus Leeming  <leeming@lyx.org>
4375
4376         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4377         remove #include "insets/insetbase.h" from cursor.h.
4378
4379 2003-09-18  Angus Leeming  <leeming@lyx.org>
4380
4381         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4382         InsetOld_code to remove #include "inset.h".
4383
4384         * iterators.C: add #include "insets/inset.h"
4385
4386 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4387
4388         * BufferView.C: remove more locking stuff that apparently doesn't
4389         do anything sensible.
4390
4391 2003-09-16  André Pönitz  <poenitz@gmx.net>
4392
4393         * paragraph.[Ch]:
4394         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4395           performance boost.
4396
4397 2003-09-16  Angus Leeming  <leeming@lyx.org>
4398
4399         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4400
4401         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4402         arg/return type.
4403
4404         * paragraph.h: remove #include "lyxfont.h". Forward declare
4405         LyXFont_size.
4406
4407 2003-09-16  Angus Leeming  <leeming@lyx.org>
4408
4409         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4410         of support/textutils.h.
4411         (isWord): move the contents of support/textutils.h's IsWordChar here.
4412
4413         * buffer.C:
4414         * lyxfind.C:
4415         * rowpainter.C:
4416         * text.C:
4417         * text2.C: add #include "paragraph.h".
4418
4419         * rowpainter.C:
4420         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4421
4422 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4423
4424         * main.C:
4425         * lyx_main.C:
4426         * lyx_cb.C:
4427         * buffer.C:
4428         * LaTeX.C: use namespace alias for lyx::support::os
4429
4430 2003-09-16  Angus Leeming  <leeming@lyx.org>
4431
4432         * bufferparams.C:
4433         * bufferview_funcs.C:
4434         * factory.C:
4435         * lyxfunc.C:
4436         * paragraph_pimpl.C:
4437         * rowpainter.C:
4438         * text.C: add #include "LColor.h".
4439
4440 2003-09-16  Angus Leeming  <leeming@lyx.org>
4441
4442         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4443         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4444         return LyXFont &.
4445         Store the FontBits::color variable as an int rather than as an
4446         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4447         file.
4448
4449         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4450         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4451         string calls together.
4452
4453         * lyxrc.C: add #include "LColor.h".
4454
4455 2003-09-15  Angus Leeming  <leeming@lyx.org>
4456
4457         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4458         a cow_ptr.
4459
4460 2003-09-15  Angus Leeming  <leeming@lyx.org>
4461
4462         * LColor.h: add an EnumLColor wrapper for LColor::color.
4463
4464         * lyxfont.[Ch] (color, setColor, realColor):
4465         * lyxtext.h, text.C (backgroundColor):
4466         pass EnumLColor args to/from the functions, rather than LColor::color
4467         ones.
4468
4469         * lyxfont.h:
4470         * lyxtext.h: forward declare EnumLColor.
4471
4472         * lyx_main.C: add #include "LColor.h".
4473
4474 2003-09-15  Angus Leeming  <leeming@lyx.org>
4475
4476         * .cvsignore: add lyx-gtk.
4477
4478 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4479
4480         * Chktex.C
4481         * LaTeX.C
4482         * LaTeXFeatures.C
4483         * ParagraphParameters.C
4484         * Spacing.C
4485         * buffer.C
4486         * bufferparams.C
4487         * bufferview_funcs.C
4488         * chset.C
4489         * counters.C
4490         * funcrequest.C
4491         * lyxfont.C
4492         * lyxgluelength.C
4493         * lyxlength.C
4494         * paragraph.C
4495         * paragraph_funcs.C
4496         * text3.C
4497         * vc-backend.C: remove usage of STRCONV
4498
4499 2003-09-15  Angus Leeming  <leeming@lyx.org>
4500
4501         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4502         explicitly define the color passed to the painter.
4503
4504 2003-09-15  Angus Leeming  <leeming@lyx.org>
4505
4506         * bufferparams.C (BufferParams): reorder member initializers to avoid
4507         compiler warning.
4508
4509 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4510
4511         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4512         * text.C (updateRowPositions): remove an unusual nop
4513
4514 2003-09-12  André Pönitz  <poenitz@gmx.net>
4515
4516         * BufferView_pimpl.C:
4517         * Bullet.C:
4518         * layout.h:
4519         * lyxfunc.C:
4520         * lyxlayout.[Ch]:
4521         * lyxtextclass.C:
4522         * rowpainter.C:
4523         * text.C:
4524         * text2.C:
4525         * Counters.[Ch]: finish the 'automatic counters' job
4526
4527 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4528
4529         * aspell.C: include <boost/assert.cpp> (compile fix)
4530
4531 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4532
4533         * boost.C (assertion_failed): use lyx::support::abort instead of
4534         assert.
4535
4536 2003-09-10  Angus Leeming  <leeming@lyx.org>
4537
4538         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4539         with their _fwd progeny.
4540
4541 2003-09-09  Angus Leeming  <leeming@lyx.org>
4542
4543         134 files throughtout the source tree: replace 'using namespace abc;'
4544         directives with the appropriate 'using abc::xyz;' declarations.
4545
4546 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4547
4548         * boost.C (emergencyCleanup): moved here from LAssert.c
4549         (assertion_failed): new function, called by BOOST_ASSERT
4550
4551         * several files: change Assert to BOOST_ASSERT
4552
4553 2003-09-09  Angus Leeming  <leeming@lyx.org>
4554
4555         * buffer.[Ch]: Add an Impl class and move Buffer's member
4556         variables into it. As a result move several header files out of
4557         buffer.h.
4558
4559         Add header files to lots of .C files all over the tree as a result.
4560
4561 2003-09-09  Angus Leeming  <leeming@lyx.org>
4562
4563         * buffer.[Ch]: make Buffer's member variables private. Add
4564         accessor functions.
4565
4566         Lots of changes all over the tree as a result.
4567
4568 2003-09-08  Angus Leeming  <leeming@lyx.org>
4569
4570         * graph.C: #include <config.h>.
4571
4572 2003-09-08  Angus Leeming  <leeming@lyx.org>
4573
4574         * BranchList.C:
4575         * BufferView.C:
4576         * BufferView_pimpl.C:
4577         * CutAndPaste.C:
4578         * DepTable.C:
4579         * LaTeX.C:
4580         * LaTeXFeatures.C:
4581         * LyXAction.C:
4582         * MenuBackend.C:
4583         * TextCache.C:
4584         * aspell.C:
4585         * buffer.C:
4586         * bufferlist.C:
4587         * changes.C:
4588         * chset.C:
4589         * converter.C:
4590         * counters.C:
4591         * debug.C:
4592         * graph.C:
4593         * ispell.C:
4594         * lyx_cb.C:
4595         * lyxfind.C:
4596         * lyxfunc.C:
4597         * lyxlex_pimpl.C:
4598         * lyxrc.C:
4599         * lyxrow.C:
4600         * paragraph.C:
4601         * rowpainter.C:
4602         * texrow.C:
4603         * text.C:
4604         * text2.C:
4605         * toc.C: remove redundant using directives.
4606
4607 2003-09-07  Angus Leeming  <leeming@lyx.org>
4608
4609         * LaTeXFeatures.h: remove #include "support/types.h".
4610         * ToolbarBackend.h: remove #include <algorithm>.
4611         * changes.h: remove #include <ctime>.
4612         * debug.h: remove #include <iosfwd>.
4613         * graph.h: remove #include "support/std_string.h".
4614         * lyx_main.h: remove #include <csignal>.
4615         * lyxlex_pimpl.h: remove #include <fstream>.
4616         * sgml.h: remove #include <algorithm>, <utility>.
4617         * toc.h: remove #include "support/std_ostream.h".
4618         Add #include <iosfwd>.
4619
4620 2003-09-07  Angus Leeming  <leeming@lyx.org>
4621
4622         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4623
4624         * converter.h: forward declare LatexRunParams.
4625         * encoding.h: remove #include "lyxrc.h".
4626         * lyxtext.h: remove #include "LColor.h".
4627         * lyxtextclass.h: remove #include "support/types.h".
4628         * trans.h: remove #include "tex-accent.h".
4629         * trans_mgr.h: remove #include "tex-accent.h".
4630         * insets/inset.h: remove #include "support/types.h", <vector>.
4631         * insets/insetcollapsable.h: remove #include "LColor.h".
4632         * insets/insetinclude.h: remove #include "dimension.h".
4633         * insets/insetlatexaccent.h: remove #include "dimension.h".
4634         * insets/insetoptarg.h:: remove #include "insettext.h".
4635         * insets/insettext.h: remove #include "dimension.h",
4636         <boost/shared_ptr.hpp>
4637
4638         * insets/renderers.h: add #include "dimension.h".
4639         * insets/updatableinset.h: add #include "support/types.h".
4640
4641         * many .C files: Associated changes.
4642
4643 2003-09-06  Angus Leeming  <leeming@lyx.org>
4644
4645         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4646         one, inside testInvariant.
4647
4648         * PrinterParams.C: new file.
4649         * PrinterParams.[Ch]: move the function bodies out of line.
4650
4651 2003-09-06  Angus Leeming  <leeming@lyx.org>
4652
4653         * ParagraphParameters.h: forward declare ParameterStruct rather than
4654         including its header file.
4655         (depth): moved out-of-line.
4656
4657 2003-09-06  Angus Leeming  <leeming@lyx.org>
4658
4659         * BufferView_pimpl.h:
4660         * kbmap.h:
4661         * kbsequence.h:
4662         * lyxfunc.h: forward declare LyXKeySym rather than
4663         #include "frontends/LyXKeySym.h".
4664
4665         * BufferView_pimpl.C:
4666         * kbmap.C:
4667         * kbsequence.C:
4668         * lyxfunc.C: associated changes.
4669
4670 2003-09-06  Angus Leeming  <leeming@lyx.org>
4671
4672         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4673         As a result, can remove the #include "insets/inset.h" from BufferView.h
4674
4675 2003-09-06  Angus Leeming  <leeming@lyx.org>
4676
4677         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4678         As a result, can remove the #include "insets/inset.h" from BufferView.h
4679
4680 2003-09-06  Angus Leeming  <leeming@lyx.org>
4681
4682         * buffer_funcs.C:
4683         * buffer.h:
4684         * bufferlist.C:
4685         * BufferView.C:
4686         * bufferview_funcs.C:
4687         * BufferView_pimpl.C:
4688         * CutAndPaste.C:
4689         * lyx_cb.C:
4690         * lyxfunc.C:
4691         * paragraph.h:
4692         * ParagraphParameters.C:
4693         * tabular.C:
4694         * text3.C:
4695         * toc.C:
4696         * undo_funcs.C:
4697         * frontends/controllers/ControlDocument.C:
4698         * insets/insetcaption.C: rearrange the #includes into some sort of
4699         coherent order.
4700
4701         * buffer.h: remove #includes ErrorList.h, undo.h
4702
4703 2003-09-06  Angus Leeming  <leeming@lyx.org>
4704
4705         * support/types.h: add a 'depth_type' typedef, used to store the
4706         nesting depth of a paragraph.
4707
4708         * paragraph.h:
4709         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4710         defining explicitly.
4711
4712         * buffer.h:
4713         * paragraph_funcs.h:
4714         * ParagraphParameters.h:
4715         * sgml.h: use lyx::depth_type rather than Paragraph or
4716         ParameterStruct's depth_type.
4717
4718         * buffer.h
4719         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4720
4721         * BufferView.C:
4722         * BufferView_pimpl.C:
4723         * CutAndPaste.C:
4724         * ParagraphParameters.C:
4725         * buffer_funcs.C:
4726         * bufferlist.C:
4727         * bufferview_funcs.C:
4728         * lyx_cb.C:
4729         * lyxfunc.C:
4730         * tabular.C:
4731         * text3.C:
4732         * toc.C:
4733         * undo_funcs.C:
4734         * frontends/LyXView.C:
4735         * frontends/controllers/ControlDocument.C:
4736         * frontends/controllers/ControlErrorList.C:
4737         * insets/insetbibitem.C:
4738         * insets/insetbranch.C:
4739         * insets/insetcaption.C:
4740         * insets/insetcollapsable.C:
4741         * insets/insetenv.C:
4742         * insets/insetert.C:
4743         * insets/insetfloat.C:
4744         * insets/insetfoot.C:
4745         * insets/insetfootlike.C:
4746         * insets/insetnewline.C:
4747         * insets/insetquotes.C:
4748         * insets/insettabular.C:
4749         * insets/insettext.C:
4750         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4751
4752         * frontends/controllers/ControlChanges.C: #include "changes.h".
4753
4754 2003-09-06  Angus Leeming  <leeming@lyx.org>
4755
4756         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4757         than #including paragraph.h.
4758
4759         * ParagraphList.h:
4760         * RowList.h: deleted. Superfluous.
4761
4762         * CutAndPaste.h:
4763         * iterators.h:
4764         * lyxcursor.h:
4765         * lyxtext.h:
4766         * text_funcs.h:
4767         * undo.h:
4768         * undo_funcs.h:
4769         * insets/inset.h:
4770         * insets/insettext.h: use ParagraphList_fwd.h rather than
4771         ParagraphList.h.
4772
4773         * paragraph.h: don't forward declare ParagraphList.
4774
4775         * buffer.h:
4776         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4777         rather than ParagraphList.h. paragraph.h is still needed for the
4778         Paragraph::depth_type parameters.
4779
4780         * textcursor.h: enable it to compile stand-alone in light of the
4781         above changes.
4782
4783         * bufferview_funcs.C:
4784         * iterators.C:
4785         * lyxfunc.C:
4786         * lyxrow_funcs.C:
4787         * paragraph.C:
4788         * rowpainter.C:
4789         * text.C:
4790         * text2.C:
4791         * text3.C:
4792         * text_funcs.C:
4793         * textcursor.C:
4794         * undo.C:
4795         * frontends/controllers/ControlParagraph.C:
4796         * frontends/controllers/ControlTabular.C:
4797         * insets/insetmarginal.C:
4798         * insets/insetminipage.C:
4799         * insets/insetnote.C:
4800         * insets/insetoptarg.C: add header files needed to compile again.
4801
4802 2003-09-06  Angus Leeming  <leeming@lyx.org>
4803
4804         * RowList_fwd.h: new file, forward-declaring Row rather than
4805         #including lyxrow.h.
4806
4807         * lyxrow_funcs.h:
4808         * lyxtext.h:
4809         * paragraph.h:
4810         * insets/insettext.h: use it instead of RowList.h
4811
4812         * bufferview_funcs.C:
4813         * lyxfunc.C:
4814         * lyxrow_funcs.C:
4815         * paragraph.C:
4816         * rowpainter.C:
4817         * text.C:
4818         * text2.C:
4819         * text3.C: #include "RowList.h".
4820
4821 2003-09-05  Angus Leeming  <leeming@lyx.org>
4822
4823         * factory.C (createInset):
4824         * vspace.C (c-tor): replace sscanf call with an istringstream.
4825         * ispell.C: re-add missing HP/UX headers.
4826         * lyxserver.C: re-add missing  os2 headers.
4827
4828 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4829
4830         * BranchList.C:
4831         * graph.C:
4832         * ispell.C:
4833         * lastfiles.C:
4834         * lyx_cb.C:
4835         * lyxserver.C:
4836         * texrow.C:
4837         * text3.C: re-add missing system headers, needed for 2.95.2.
4838
4839 2003-09-05  Angus Leeming  <leeming@lyx.org>
4840
4841         Changes most place everywhere due to the removal of using directives
4842         from support/std_sstream.h.
4843
4844 2003-09-05  Angus Leeming  <leeming@lyx.org>
4845
4846         Replace LString.h with support/std_string.h,
4847         Lsstream.h with support/std_sstream.h,
4848         support/LIstream.h with support/std_istream.h,
4849         support/LOstream.h with support/std_ostream.h.
4850
4851         Changes resulting throughout the tree.
4852
4853 2003-09-05  Angus Leeming  <leeming@lyx.org>
4854
4855         * sgml.h: ensure that the header file can be compiled stand-alone.
4856         * *.C: strip out redundant #includes. (320 in total.)
4857
4858 2003-09-04  Angus Leeming  <leeming@lyx.org>
4859
4860         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4861         here (from getPackages).
4862
4863         * debug.[Ch]: add a new EXTERNAL tag.
4864
4865 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4866
4867         * text2.C (cursorEnd): simplify
4868         (setCursor): adjust
4869         (getColumnNearX): adjust
4870
4871         * text.C (computeBidiTables): adjust
4872         (fill): adjust
4873
4874         * rowpainter.C (paintChars): adjust
4875         (paintSelection): adjust
4876         (paintChangeBar): adjust
4877         (paintText): adjust
4878
4879         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4880         lastPos instead.
4881         (numberOfSeparators): adjust
4882
4883 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4884
4885         * LyXAction.C:
4886         * box.[Ch]:
4887         * lfuns.h:
4888         * lyxfunc.C:
4889         * text3.C: Restricts the mouse click functionality
4890         of insets like bibtex, include, toc and floatlist to the visible
4891         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4892         up the dialogs. Cursor has to be in front of the inset (i.e.
4893         start of row) for this to function.
4894
4895 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4896
4897         * bufferview_funcs.C (currentState): output row information
4898
4899 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4900
4901         * bufferview_funcs.C (currentState): output paragraph position
4902
4903 2003-09-04  Angus Leeming  <leeming@lyx.org>
4904
4905         * FloatList.h: move out #include "Floating.h".
4906         * LaTeX.h: move out #include "DepTable.h".
4907         * LyXAction.h: move out #include "funcrequest.h".
4908         * buffer.h: move out #include "author.h", "iterators.h".
4909         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4910         * lyx_main.h: move out #include "errorlist.h".
4911         * lyxfunc.h: move out #include "FuncStatus.h".
4912         * lyxtext: move out #include "lyxcursor.h".
4913         * paragraph_pimpl.h: move out #include "counters.h".
4914
4915 2003-09-03  Angus Leeming  <leeming@lyx.org>
4916
4917         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4918         preamble_snippets list, enabling us to add snippets to the preamble
4919         only if the snippet was not there already.
4920
4921 2003-09-04  Angus Leeming  <leeming@lyx.org>
4922
4923         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4924
4925 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4928         update
4929
4930 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4931
4932         * BranchList.C: point fix, earlier forgotten
4933
4934 2003-09-02  Angus Leeming  <leeming@lyx.org>
4935
4936         * box.C (contains): renamed from 'contained' after a fantastic
4937         amount of hot air.
4938
4939 2003-09-02  John Levon  <levon@movementarian.org>
4940
4941         * BufferView.C:
4942         * lyxcursor.h:
4943         * lyxcursor.C:
4944         * lyxfunc.C:
4945         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4946
4947 2003-09-02  John Levon  <levon@movementarian.org>
4948
4949         * text2.C: simplification of cursorEnd(), including partial
4950         fix for bug 1376
4951
4952 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4953
4954         * buffer.C (readFile): add a space
4955
4956 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4957
4958         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4959
4960 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4961
4962         * buffer.C (readFile): new function, take a filename and a
4963         ParagraphList::iterator
4964         (readFile): adjust
4965         (readFile): adjust, make it private. don't use setStream, make
4966         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4967         always contain the filename.
4968
4969         * BufferView.C (insertLyXFile): simplify and make it work for
4970         gzipped files.
4971
4972 2003-08-30  John Levon  <levon@movementarian.org>
4973
4974         * Makefile.am: fix dist (from Kayvan)
4975
4976 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * most files: change to use const Buffer refs
4979
4980 2003-08-27  André Pönitz  <poenitz@gmx.net>
4981
4982         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4983         on top of ownerPar().
4984
4985 2003-08-27  John Levon  <levon@movementarian.org>
4986
4987         * funcrequest.C: properly initialise POD members
4988
4989 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4990
4991         * lyxtext.h (top_y): move top_y from here
4992         * text.C:
4993         * text2.C:
4994         * text3.C:
4995         * BufferView.[Ch]:
4996         * BufferView_pimpl.[Ch]: to here
4997         * frontends/screen.C:
4998         * insets/insettabular.C:
4999         * insets/insettext.C: adjust
5000         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5001
5002 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * BufferView.[Ch]:
5005         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5006
5007 2003-08-26  André Pönitz  <poenitz@gmx.net>
5008
5009         * paragraph_func.[Ch] (outerPar): new function
5010
5011         * paragraph.C:
5012         * paragraph_funcs.C:
5013         * paragraph_funcs.h:
5014         * paragraph_pimpl.C:
5015         * text2.C: remove Inset::par_owner
5016
5017 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5018
5019         * lyxrow_funcs.C:
5020         * lyxtext.h:
5021         * text.C:
5022         * text2.C: eliminates the needFullRow/display() stuff
5023         altogether, putting the logic in metrics/draw in the insets.
5024
5025 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * text2.C (redoParagraphInternal, redoParagraphs):
5028         * text.C (redoParagraph): add a call to updateRowPositions at the
5029         end of each 'metrics-like' call. Remove all others.
5030         (getRow): remove the 'y-computing' version.
5031         (getRowNearY): do not compute nor return the real y. Solve the
5032         'y < 0' problem and simplify.
5033
5034 2003-08-22  Angus Leeming  <leeming@lyx.org>
5035
5036         * *.[Ch]: clean-up of licence and author blurbs.
5037         Also move config.h out of a few .h files and into a few .C files.
5038
5039 2003-08-22  André Pönitz  <poenitz@gmx.net>
5040
5041         * lyxrow.[Ch]: add x_ and *fill_ members
5042
5043         * lyxtext.h:
5044         * text.C:
5045         * rowpainter.C:
5046         * text2.C: adjust/remove prepareToPrint() calls
5047
5048 2003-08-22  André Pönitz  <poenitz@gmx.net>
5049
5050         * lyxrow.[Ch]: add  end_ member
5051
5052         * lyxrow_funcs.C: use LyXRow::end_
5053
5054         * lyxtext.h (singleWidth): add LyXFont parameter
5055
5056         * rowpainter.C:
5057         * text2.C: adjust LyXText::singleWidth() calls
5058
5059         * text.C (redoParagraph): simplify row breaking logic
5060
5061
5062 2003-08-19  André Pönitz  <poenitz@gmx.net>
5063
5064         * funcrequest.C: initialize button_ member
5065
5066         * text3.C:
5067         * rowpainter.[Ch]: interface consolidation
5068
5069 2003-08-18  André Pönitz  <poenitz@gmx.net>
5070
5071         * BufferView.C:
5072         * BufferView_pimpl.C:
5073         * lyxfind.C:
5074         * paragraph_funcs.C:
5075         * rowpainter.C:
5076         * text3.C: remove LyXScreen::draw() and fitCursor calls
5077
5078         * BranchList.h: remove spurious semicolons
5079
5080         * MenuBackend.C: fix branchlist related crash
5081
5082 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5083
5084         * BranchList.[Ch]:
5085         * InsetList.[Ch]:
5086         * LColor.[Ch]:
5087         * LyXAction.C:
5088         * Makefile.am:
5089         * MenuBackend.[Ch]:
5090         * bufferparams.[Ch]:
5091         * factory.C:
5092         * lfuns.h:
5093         * lyxfunc.C:
5094         * text3.C: implements the 'branch inset'
5095         idea. This allows the output of various versions of a document
5096         from a single source version, selectively outputing or suppressing
5097         output of parts of the text.
5098         This implementation contains a 'branch list editor' in a separate
5099         tab of the document settings dialog. Branches are user definable
5100         and have a "display colour" to distinguish them on-screen.
5101
5102         ColorHandler was somewhat cleaned up.
5103         (1) make possible a dynamically growing LColor list by allowing
5104         the graphic context cache to grow along (vector);
5105         (2) eliminate an IMHO unnecessary step in colour allocation.
5106
5107 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5108
5109         * BufferView_pimpl.C: compile fix
5110
5111 2003-08-15  André Pönitz  <poenitz@gmx.net>
5112
5113         * rowpainter.C: remove extra metrics calls
5114
5115         * lyxtext.h: merge the two constructors into a single one,
5116           pass reference to owner's par list
5117
5118         * BufferView_pimpl.C:
5119         * text.C:
5120         * text2.C: adjust
5121
5122 2003-08-15  André Pönitz  <poenitz@gmx.net>
5123
5124         * lyxrow_funcs.[Ch]:
5125         * lyxtext.h:
5126         * paragraph.h:
5127         * paragraph_funcs.C:
5128         * rowpainter.C:
5129         * text.C:
5130         * text2.C:
5131         * text3.C:
5132         * text_funcs.C: split LyXText::rowlist_ into individual
5133         Paragraph::rows_ chunks
5134
5135         * BufferView.[Ch]:
5136         * BufferView_pimpl.[Ch]:
5137         * lyxfind.C:
5138         * lyxtext.h:
5139         * text3.C: remove toggleSelection()
5140
5141 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5142
5143         * bufferlist.C: beautify two alerts (shorter text of buttons)
5144         * buffer.C: Remove redundant ' ' from message
5145         * tabular.h:
5146         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5147         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5148         rename VALIGN_CENTER to VALIGN_MIDDLE
5149
5150 2003-08-11  André Pönitz  <poenitz@gmx.net>
5151
5152         * lyxtext.h (getPar):
5153         * text.C: new function
5154
5155 2003-08-11  André Pönitz  <poenitz@gmx.net>
5156
5157         * Makefile.am:
5158         * tracer.[Ch]: remove unneeded files
5159
5160         * InsetList.[Ch]: remove resizeInsetsLyXText()
5161
5162         * lyxtext.h:
5163         * text.C:
5164         * text2.C:
5165         * text3.C: merge insertParagraphs() and appendParagraph()
5166         remove breakAgain(), update()
5167
5168         * BufferView_pimpl.[Ch]:
5169         * bufferview_funcs.[Ch]:
5170         * lyxfunc.C:
5171         * paragraph.[Ch]:
5172         * rowpainter.C:
5173         * tabular.C: adjust after text & InsetList changes.
5174
5175 2003-08-08  André Pönitz  <poenitz@gmx.net>
5176
5177         * text.C (insertChar, backspace): replace rowlist fiddling
5178         with rebreak of full par
5179
5180         * lyxtext.h:
5181         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5182         checkParagraph, updateInset): removed
5183
5184 2003-08-07  André Pönitz  <poenitz@gmx.net>
5185
5186         * paragraph.C:
5187         * text3.C: merge some LFUN handlers, remove dead code
5188
5189 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5190
5191         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5192
5193 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5194
5195         * text2.C (DEPM): fix part of bug 1255 and 1256
5196
5197 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5198
5199         * BufferView_pimpl.C (workAreaDispatch): change to use
5200         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5201         that are no mouse related.
5202
5203 2003-08-05  André Pönitz  <poenitz@gmx.net>
5204
5205         * BufferView.[Ch]:
5206         * BufferView_pimpl.[Ch]:
5207         * bufferview_funcs.C:
5208         * text2.C:
5209         * text3.C: rip out "deep update"
5210
5211         * textcursor.[Ch] (last_sel_cursor): remove unused member
5212
5213 2003-08-04  André Pönitz  <poenitz@gmx.net>
5214
5215         * BufferView.[Ch]:
5216         * BufferView_pimpl.[Ch]:
5217         * ParagraphParameters.C:
5218         * bufferview_funcs.C:
5219         * lyx_cb.C:
5220         * lyxfind.C:
5221         * lyxfunc.C:
5222         * text.C:
5223         * text2.C:
5224         * text3.C: replace "complicated" BufferView::update(...) calls with
5225         simpler ones.
5226
5227         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5228
5229 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5230
5231         * Makefile.am (lyx_SOURCES): add paper.h
5232
5233 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5234
5235         * Makefile.am: move things around so that both lyx-qt and
5236         lyx-xforms can be built (according to --with-frontend). Then lyx
5237         is a symbolic link to lyx-[firstfrontend]
5238
5239 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5240
5241         * Always use std::endl with lyxerr
5242
5243 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5244
5245         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5246
5247 2003-08-01  André Pönitz  <poenitz@gmx.net>
5248
5249         * BufferView.[Ch]:
5250         * BufferView_pimpl.[Ch]:
5251         * lyxfunc.C:
5252         * text3.C: merge BufferView::repaint() and BufferView::update()
5253
5254 2003-08-01  José Matos  <jamatos@lyx.org>
5255
5256         * buffer.[Ch]: file_format is no longer a buffer data element.
5257
5258 2003-08-01  André Pönitz  <poenitz@gmx.net>
5259
5260         * BufferView.C:
5261         * lyxtext.h:
5262         * text.C:
5263         * text2.C: make redoParagraph more independent of current cursor
5264
5265         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5266         * text.C:
5267         * text2.C: remove unneeded members
5268
5269 2003-07-30  André Pönitz  <poenitz@gmx.net>
5270
5271         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5272
5273         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5274           create a single function...
5275
5276         * paragraph_funcs.C (moveItem): ... here.
5277
5278         * text.C:
5279           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5280
5281 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5282
5283         * LColor.[Ch]: Add comment and greyedout logical colors.
5284
5285 2003-07-30  André Pönitz  <poenitz@gmx.net>
5286
5287         * tabular.C: don't use Assert too heavily. This crashes where it
5288           shouldn't
5289
5290 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5291
5292         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5293         is disabled (bug 1232)
5294
5295 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5296
5297         * factory.C: limited 'arg' scope
5298
5299 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5300
5301         * factory.C: fixed Note submenu issues
5302
5303 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5304
5305         * factory.C: submenu for Note/Comment/Greyedout
5306
5307 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5308
5309         * lyx_main.C (LyX):
5310         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5311
5312 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5313
5314         * LaTeXFeatures.C:
5315         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5316         greyedout. Patch provided by Jürgen Spitzmüller.
5317
5318 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5319
5320         * kbmap.C (read): fix error message when reading bind files
5321
5322 2003-07-29  Angus Leeming  <leeming@lyx.org>
5323
5324         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5325         certainly does not do what it purports to do. I am doing it, and
5326         us, a favour by killing it.
5327
5328 2003-07-28  José Matos  <jamatos@lyx.org>
5329
5330         * buffer.C (readBody, do_writeFile):
5331         * paragraph.C(readParagraph): \end_document replaces \the_end.
5332
5333 2003-07-29  André Pönitz  <poenitz@gmx.net>
5334
5335         * BufferView.[Ch]:
5336         * BufferView_pimpl.[Ch]:
5337         * lyxfunc.C:
5338         * text2.C:
5339         * text3.C:
5340         * textcursor.[Ch]: remove toggleToggle & Co
5341
5342 2003-07-28  José Matos  <jamatos@fep.up.pt>
5343
5344         * buffer.C (readParagraph):
5345         * params_func (readParToken, readParagraph):
5346         * paragraph.C (write): \layout -> \begin_layout.
5347
5348 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * lyxlex_pimpl.C (setFile): clean up slightly.
5351
5352         * bufferparams.h: add compressed var
5353
5354         * buffer_funcs.C (readFile): adjust for LyXLex change
5355         (newFile): ditto + simplify
5356
5357         * buffer.C (writeFile): handle writing of compressed files
5358
5359         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5360         Check if the file is compressed and set a bufferparm if so.
5361
5362         * Makefile.am (lyx_LDADD): remove explicit -lz
5363
5364 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5365
5366         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5367         makeDocBookFile): put the real LyX version in the first line of
5368         the file
5369
5370         * version.h:
5371         * version.C.in: remove lyx_docversion
5372
5373         * tabular.C (write_attribute): add a template-based version to
5374         write enums properly
5375
5376 2003-07-28  André Pönitz  <poenitz@gmx.net>
5377
5378         * lyxtext.h:
5379         * text.C:
5380         * text2.C:
5381         * text3.C: use doubles again for x-coordinates. They are needed.
5382
5383 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5384
5385         * messages.C (getLocaleDir): use lyx_localedir()
5386
5387         * lyxlex_pimpl.C (setFile): compress stuff
5388
5389         * buffer.C (writeFile): add some compression stuff
5390         (do_writeFile): new func, dont call expliti close... will this
5391         breake anything?
5392
5393         * Makefile.am (lyx_LDADD): add -lz
5394
5395 2003-07-28  José Matos  <jamatos@fep.up.pt>
5396
5397         * buffer.C: increment file format.
5398         * paragraph_funcs (readParagraph, readParToken):
5399         * paragraph.C (readParagraph): add \end_layout.
5400
5401 2003-07-27  Angus Leeming  <leeming@lyx.org>
5402
5403         * Makefile.am: remove special casing for configure-time setting of
5404         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5405
5406         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5407         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5408
5409 2003-07-26  André Pönitz  <poenitz@gmx.net>
5410
5411         * paragraph_func.[Ch]:
5412         * paragraph.C (realizeFont): inline it whereever it is used
5413
5414         * rowpainter.C:
5415         * text.C:
5416         * text2.C:
5417         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5418
5419
5420 2003-07-26  André Pönitz  <poenitz@gmx.net>
5421
5422         *       lyxtext.h:
5423         * text.C:
5424         * text2.C: get rid of LyXText::need_break_row
5425
5426 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * toc.[Ch]: put namespace toc inside namespace lyx
5429
5430         * MenuBackend.C (expandToc2): adjust for lyx::toc
5431         (expandToc): ditto
5432
5433         * lyxfunc.C (dispatch): adjust for lyx::find
5434
5435         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5436         lyx::find instead. Reorganize a bit.
5437         (LyXReplace): rename to replace
5438         (LyXFind): rename to find
5439
5440         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5441         (dispatch): ditto
5442
5443 2003-07-26  André Pönitz  <poenitz@gmx.net>
5444
5445         * text.C (setHeightOfRow): restrict scope of temporary variable
5446
5447         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5448           code (never has been used?)
5449
5450 2003-07-27  Asger Alstrup  <alstrup@local>
5451
5452         * text.C (fill): Optimise algorithm to exploit that we can reuse
5453         the LyXFont for many characters.
5454         (setHeightOfRow): Same thing.
5455         (rowBreakPoint): Same thing.
5456
5457 2003-07-26  Asger Alstrup  <alstrup@local>
5458
5459         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5460
5461         * text.C (singleWidth): Spurious font copying in hot-spot
5462         singleWidth avoided. Reorder tests for arabic for efficiency.
5463
5464         * text.C (fill): handle empty paragraphs better.
5465
5466 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5467
5468         * ispell.C:
5469         * encoding.h: add includes
5470
5471         * lyxrc.C: remove reading of bind files
5472
5473         * lyx_main.C (init): setup bindings and menus only if we have a
5474         gui.
5475
5476         * kbmap.C (read): new method. Do the actual reading of bind
5477         files.
5478
5479         * converter.C (dvipdfm_options):
5480         * bufferparams.C:
5481         * lyxrc.C (read):
5482         (output): adapt PAPER_* enums.
5483
5484         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5485
5486         * bufferparams.h: remove paper-related enums from there
5487
5488         * paper.h: New file. A trivial header file to hold paper-related
5489         enums. It should later expand to contain many paper-related
5490         horrors access.
5491
5492         * lyxrc.C: declare extern displayTranslator
5493
5494 2003-07-27  José Matos  <jamatos@fep.up.pt>
5495
5496         * tabular.[Ch] (linuxdoc): add support for tables and figures
5497         (linuxdoc).
5498
5499 2003-07-27  José Matos  <jamatos@fep.up.pt>
5500
5501         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5502         consistency in both functions.
5503         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5504
5505 2003-07-26  Asger Alstrup  <alstrup@local>
5506
5507         * rowpainter.C (paintRows): Change algorithm to work directly on
5508         the insets rather than asking every character in the document
5509         whether its an inset.
5510
5511 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5512
5513         * buffer.C (openFileWrite): factorize some code
5514
5515 2003-07-26  Angus Leeming  <leeming@lyx.org>
5516
5517         * lyx_cb.C:
5518         * lyx_main.[Ch]: replace occurances of system_tempdir with
5519         os::getTmpDir().
5520
5521 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * rename Inset to InsetOld
5524
5525 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5526
5527         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5528         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5529         which I think is a bit clearer. EDIT is gone, since it was
5530         premature optimisation, and broken for mathed anyway.
5531         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5532         with cursor positioning in insets as well (math insets still do not
5533         work, but that's a different story anyway.) It mysteriously
5534         crashes sometimes with undo in the first paragraph, but I'm fairly
5535         confident that this is a compiler bug.
5536
5537 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * paragraph.C (Paragraph): adjust for new clone return type
5540         (operator==): ditto
5541         (copyIntoMinibuffer): ditto
5542
5543 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5544
5545         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5546         by not having a special case, and always doing a full rebreak of
5547         the document after undo.
5548
5549 2003-07-23  Angus Leeming  <leeming@lyx.org>
5550
5551         * factory.C (createInset): InsetExternal::setParams now takes a
5552         Buffer const * arg.
5553
5554 2003-07-23  Angus Leeming  <leeming@lyx.org>
5555
5556         * factory.C (createInset): changed interface to the external and
5557         graphics mailers' string2params functions.
5558
5559 2003-07-23  Angus Leeming  <leeming@lyx.org>
5560
5561         * factory.C (createInset): pass a
5562         Buffer const * parameter to InsetExternalMailer's string2params.
5563
5564 2003-07-22  John Levon  <levon@movementarian.org>
5565
5566         * Thesaurus.h: include the right aiksaurus header
5567
5568 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5569
5570         * MenuBackend.C (expand): check menu shortcuts unconditionally
5571
5572 2003-07-21  Angus Leeming  <leeming@lyx.org>
5573
5574         * factory.C (createInset): pass a
5575         buffer_path parameter to InsetGraphicsMailer's string2params.
5576
5577 2003-07-21  Angus Leeming  <leeming@lyx.org>
5578
5579         * BufferView_pimpl.C (buffer):
5580         * buffer.C (d-tor):
5581         * lyx_main.C (LyX):
5582         * lyxfunc.C (dispatch):
5583         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5584         rather than the grfx shortcut.
5585
5586 2003-07-21  André Pönitz  <poenitz@gmx.net>
5587
5588         * rowpainter.C: remove unused variables
5589
5590         * tabular_funcs.C:
5591         * tabular_funcs.h: move to tabular.C
5592         * Makefile.am: adjust
5593
5594         * tabular.[Ch]: basic optical cleaning
5595
5596         * author.h: pass references, not values
5597
5598 2003-07-18  André Pönitz  <poenitz@gmx.net>
5599
5600         * lyxtext.h:
5601         * metricsinfo.C:
5602         * metricsinfo.h:
5603         * rowpainter.C:
5604         * text.C:
5605         * text2.C:
5606         * text3.C: two-phase drawing for InsetText and InsetTabular
5607         some float -> int changes.
5608
5609 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5610
5611         * lyx_main.C: fix the fix
5612
5613 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5614
5615         * lyx_main.C: fix a crash in batch mode if no files specified
5616         * converter.C: ws
5617
5618 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5619
5620         * format.[Ch] (papersize): moved to BufferParams
5621         * converter.[Ch] (dvips_options): moved to BufferParams
5622         (dvipdfm_options): moved to anon namespace
5623         * bufferparams.[Ch]: added above functions.
5624
5625 2003-07-17  André Pönitz  <poenitz@gmx.net>
5626
5627         * lyxtext.h:
5628         * rowpainter.C:
5629         * text2.C: don't call inset->update() anymore
5630
5631         * metricsinfo.[Ch]: add convenience constructor
5632
5633 2003-07-16  André Pönitz  <poenitz@gmx.net>
5634
5635         * lyxcursor.[Ch]:
5636         * lyxfunc.[Ch]:
5637         * text.C:
5638         * text2.C: replace the LyXCursor::irow_ member with
5639          on-demand computation of the value
5640
5641 2003-07-16  John Levon  <levon@movementarian.org>
5642
5643         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5644
5645 2003-07-15  André Pönitz  <poenitz@gmx.net>
5646
5647         * text.C:
5648         * text2.C: remove no more needed refresh_row
5649
5650 2003-07-15  André Pönitz  <poenitz@gmx.net>
5651
5652         * lyxtext.h:
5653         * rowpainter.C:
5654         * text2.C:
5655         * text3.C: refresh_status tristate -> need_update bool
5656
5657 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5658
5659         * lyxtext.h (init): remove reinit argument (act as if always true)
5660         * text2.C: adjust to that
5661
5662 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5663
5664         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5665         * text3.C: use it to delete selections in some cases
5666         (bugs 441, 673, 702, 954).
5667
5668 2003-07-14  André Pönitz  <poenitz@gmx.net>
5669
5670         * rowpainter.[Ch]: reduce interface
5671
5672 2003-07-14  André Pönitz  <poenitz@gmx.net>
5673
5674         * BufferView_pimpl.C:
5675         * text2.C: adjust after removing unused BufferView * argument
5676
5677 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5678
5679         * text2.C (init): fix a crash fired on resize
5680
5681 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5682
5683         * buffer.[Ch]: added new closing signal
5684         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5685         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5686         BufferView::Pimpl via the closing the signal
5687
5688 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5689
5690         * buffer.[Ch]: take out all bv-related from buffer
5691         * BufferView.C:
5692         * BufferView_pimpl.[Ch]: connect to new signals
5693         * CutAndPaste.C: removed useless asserts
5694         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5695         * lyxvc.[Ch]:
5696         * vc-backend.[Ch]:
5697         * lyxfunc.C: moved view-related funciontality from vc here
5698         * paragraph.C: removed outdated comments
5699         * text.C: ws
5700
5701 2003-07-10  André Pönitz  <poenitz@gmx.net>
5702
5703         * BufferView_pimpl.C:
5704         * tabular.h:
5705         * tabular_funcs.C:
5706         * text.C:
5707         * text2.C: remove InsetText::InnerCache, clean up consequences
5708
5709 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5710
5711         * ispell.C: fix two typos in error messages
5712
5713 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5714
5715         * Extend Note inset to other forms of annotation like Comment
5716         and Greyedout. Right button click gives dialog.
5717
5718         Files modified or added (+):
5719
5720         * insetnote.[Ch]
5721         * FormNote.[Ch]      +
5722         * ControlNote.[Ch]   +
5723         * form_note.fd       +
5724         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5725         frontends/controllers
5726         * xforms/Dialogs.C
5727         * factory.C
5728
5729 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5730
5731         * aspell.C: add missing namespace lyx::support
5732
5733 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5734
5735         * BufferView.[Ch] (newFile): Add
5736         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5737         * LaTeX.[Ch] (message): added this signal and use it
5738         * buffer.[Ch] (busy, message): added these signals and use them
5739         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5740         * converter.C:
5741         * exporter.C:
5742         * format.C:
5743         * importer.C: use buffer signals instead of direct bv calling
5744         * lyx_cb.[Ch] (ShowMessage): removed
5745         * lyx_main.C:
5746         * lyxfunc.C:
5747         * paragraph_funcs.C:
5748         * text2.C: use buffer signals
5749
5750 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * introduce namespace lyx::graphics
5753
5754 2003-07-02  André Pönitz  <poenitz@gmx.net>
5755
5756         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5757
5758 2003-07-01  André Pönitz  <poenitz@gmx.net>
5759
5760         * text.C:
5761         * text2.C:
5762         * text3.C:
5763         * text_funcs.[Ch]:
5764         * textcursor.h:
5765         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5766           text*.C to text_func.C
5767
5768 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * introduce namespace lyx::support
5771
5772 2003-06-30  André Pönitz  <poenitz@gmx.net>
5773
5774         * Chktex.C:
5775         * funcrequest.C:
5776         * lyxtext.h:
5777         * text.C: re-enable --with-included-string
5778
5779 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * textcursor.C: add <config.h>
5782
5783         * text.C (getWord): remove const from word_location arg
5784
5785         * lyxvc.C (getLogFile): fix const type order
5786
5787         * lyxtext.h: remove const from word_location arg, add arg name
5788
5789         * lyxlayout.h: currect type on labeltype.
5790
5791         * importer.C: correct \file
5792
5793         * converter.C (intToFormat): use std:: on ret val, ws changes
5794
5795         * bufferlist.h: correct \file
5796
5797         * buffer.C (makeLinuxDocFile): fix const type order
5798         (makeDocBookFile): ditto
5799         (fillWithBibKeys): use std:: on stdlib args.
5800
5801         * CutAndPaste.C: fix authors.
5802         (availableSelections): use std:: on return vector
5803
5804 2003-06-27  André Pönitz  <poenitz@gmx.net>
5805
5806         * BufferView_pimpl.C:
5807         * bufferview_funcs.C:
5808         * lyxcursor.C:
5809         * lyxcursor.h:
5810         * lyxfunc.C:
5811         * lyxtext.h:
5812         * rowpainter.C:
5813         * text.C:
5814         * text2.C:
5815         * text3.C: remove LyXCursor::row_ member
5816
5817         * lyxtext.h:
5818         * text.C: rename fullRebreak() to partialRebreak() and implement
5819           a fullRebreak() that really bereks fully
5820
5821         * textcursor.h: new struct for cursor-related data
5822
5823 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5824
5825         * lyx_main.C (LyX): get full path of document loaded on the
5826         command line
5827
5828 2003-06-26  André Pönitz  <poenitz@gmx.net>
5829
5830         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5831           remove unused/broken operator>,<,>=.
5832
5833         *       text.C: remove only use of broken operator<= in an Assert().
5834
5835 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5836
5837         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5838         moved errorlist_.clear to showErrorList
5839
5840 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5841
5842         * converter.C (scanLog, runLaTeX):
5843         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5844         move the bv->showErrorList call to the callers
5845         * lyxfunc.C: i.e. here...
5846         * text2.C: and here
5847         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5848         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5849         namespace, the second to...
5850         * buffer_funcs (BufferFormat, parseErrors): added
5851         * errorlist.C (ErrorList(TeXErrors const &)): removed
5852
5853 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5854
5855         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5856
5857 2003-06-24  "Garst R. Reese" <reese@isn.net>
5858
5859         * debug.C: fix typo
5860
5861 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5862
5863         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5864
5865         * version.C.in: change docversion to 1.4
5866
5867 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5868
5869         * buffer.C: fix a bug just introduced
5870
5871 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5872
5873         * buffer.[Ch]: added the parseError signal and use it, removed
5874         sgmlError
5875         * BufferView.[Ch] (addError): moved to ...
5876         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5877         to the Buffer::parseError signal to catch (guess what) parse errors
5878         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5879
5880 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5881
5882         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5883         ability to create a buffer and to return an existing one from
5884         the list. Moved these functions to...
5885         * buffer_funcs.[Ch]: added
5886         * BufferView.[Ch] (loadLyXFile): added
5887         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5888         job removed from bufferlist::loadLyXFile.
5889         * buffer.C (setReadOnly): make it work without view
5890         (i.e added an if (users))
5891
5892 2003-06-19  Angus Leeming  <leeming@lyx.org>
5893
5894         * lfuns.h:
5895         * LyXAction.C (init):
5896         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5897         with LFUN_DIALOG_SHOW <name> <data>.
5898
5899 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5900
5901         * CutAndPaste.C (availableSelections): small compilation fix for
5902         ancient (gcc 2.9x) compilers
5903
5904 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5905
5906         * text3.C (cursorNext): add tmp var
5907
5908         * text2.C (updateCounters): for function calling out of for clause
5909         (replaceSelectionWithString): ditto
5910         (insertStringAsParagraphs): ditto
5911         (getColumnNearX): add tmp var
5912         (setCursorFromCoordinates): add tmp var
5913         (cursorDownParagraph): add tmp var
5914         (deleteEmptyParagraphMechanism): add tmp var
5915
5916         * text.C (insertChar): add tmp var
5917
5918         * rowpainter.C (paintDepthBar): add tmp var
5919
5920         * CutAndPaste.C (availableSelections): potentially check all
5921         paragraphs in a cut to fill the shown strings.
5922
5923 2003-06-18  André Pönitz  <poenitz@gmx.net>
5924
5925         * kbmap.[Ch]: use vector<> instead of list<>
5926
5927 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5928
5929         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5930         pasteSelection with index
5931
5932         * text2.C (pasteSelection): modify, call pasteSelection with index
5933
5934         * paragraph.C (asString): reimplement version with no interval to
5935         call the one with interval.
5936
5937         * lyxtext.h: add index arg to pasteSelection
5938
5939         * MenuBackend.C (MenuItem): handle PasteRecent
5940         (Menu::read::Menutags): add md_pasterecent
5941         (read): handle it
5942         (expandPasteRecent): new function
5943         (expand): use it
5944
5945         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5946
5947         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5948         the limited stack
5949         (availableSelections): new function
5950
5951 2003-06-17  Angus Leeming  <leeming@lyx.org>
5952
5953         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5954
5955 2003-06-17  Angus Leeming  <leeming@lyx.org>
5956
5957         * lfuns.h:
5958         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5959
5960         * lyxfunc.C (dispatch): invoke it.
5961
5962 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5963
5964         * iterators.C (operator++, ParPosition): reintroduce some
5965         const_cast for the benefit of older compilers.
5966
5967 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5968
5969         * text3.C (dispatch): do not modify clipboard when doing
5970         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5971         LFUN_DELETE_SKIP on a selection selection
5972
5973 2003-06-16  André Pönitz  <poenitz@gmx.net>
5974
5975         * BufferView.C:
5976         * buffer.C:
5977         * buffer.h:
5978         * paragraph.C:
5979         * tabular.[Ch]: IU of clone() and getLabelList();
5980
5981 2003-06-13  André Pönitz  <poenitz@gmx.net>
5982
5983         * tabular.h: compactification
5984
5985 2003-06-12  André Pönitz  <poenitz@gmx.net>
5986
5987         * tabular.C:
5988         * tabular.h:
5989         * tabular_funcs.h: some renaming plus whitespace
5990
5991 2003-06-12  André Pönitz  <poenitz@gmx.net>
5992
5993         * BufferView.C:
5994         * BufferView_pimpl.C:
5995         * CutAndPaste.C:
5996         * buffer.C:
5997         * iterators.[Ch]:
5998         * lyxfunc.C:
5999         * text.C:
6000         * toc.C: Return a Paragraph & for ParIterator::operator*()
6001
6002 2003-06-11  John Levon  <levon@movementarian.org>
6003
6004         * lyx_main.C:
6005         * ToolbarBackend.h:
6006         * ToolbarBackend.C: add "Toolbars" section and
6007         put the flags there
6008
6009 2003-06-10  Angus Leeming  <leeming@lyx.org>
6010
6011         * lfuns.h:
6012         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6013
6014         * lyxfunc.C (dispatch): invoke it.
6015
6016 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * main.C: protect <ios> with HAVE_IOS
6019         (main): protect sync_with_stdio with HAVE_IOS
6020
6021 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6022
6023         * text2.C (cutSelection): adjust
6024         (pasteSelection): adjust
6025
6026         * messages.C: handle get of empty string
6027
6028         * main.C (main): use sync_with_stdio(false)
6029
6030         * lyxfunc.C (dispatch): adjust
6031
6032         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6033         (WriteAs): remove unneeded BufferView arg.
6034
6035         * bufferparams.h: use correct types on papersize, papersize2 and
6036         paperpackage.
6037
6038         * bufferparams.C (readToken): adjust for type
6039         (writeLaTeX): add missing cases to switch.
6040
6041         * bufferlist.C (quitWriteBuffer): adjust
6042         (close): adjust
6043
6044         * buffer.C (asciiParagraph): remove some commented code.
6045
6046         * CutAndPaste.C: remove current_view extern variable.
6047         (cutSelection): add BufferParams arg.
6048         (eraseSelection): add BufferParams arg.
6049         (pasteSelection): add Buffer const & arg
6050
6051 2003-06-07  John Levon  <levon@movementarian.org>
6052
6053         * buffer.C:
6054         * paragraph_funcs.C:
6055         * paragraph_pimpl.C:
6056         * text.C:
6057         * text2.C:
6058         * paragraph.h:
6059         * paragraph.C: allow InsetERT to freely space lines,
6060         and some consolidation of code
6061
6062 2003-06-06  José Matos  <jamatos@fep.up.pt>
6063
6064         * buffer.C (makeDocBookFile): fix bug #821
6065
6066 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6067
6068         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6069
6070 2003-06-04  Angus Leeming  <leeming@lyx.org>
6071
6072         * buffer.C: bump format to 224.
6073
6074 2003-06-05  André Pönitz  <poenitz@gmx.net>
6075
6076         * text2.C (redoParagraphs): remove two const_cast<>
6077
6078 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6079
6080         * ParagraphList.h: remove last remnants of NO_STD_LIST
6081
6082 2003-06-03  Angus Leeming  <leeming@lyx.org>
6083
6084         * factory.C (createInset): small change to the way InsetExternal's params
6085         are set.
6086
6087 2003-06-04  André Pönitz  <poenitz@gmx.net>
6088
6089         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6090
6091         * paragraph_pimpl.h:
6092         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6093
6094         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6095
6096         * undo_funcs.C: make some simple cases of undo work again
6097
6098 2003-06-03  John Levon  <levon@movementarian.org>
6099
6100         * ispell.C: HPUX doesn't have sys/select.h
6101         (from Albert Chin)
6102
6103 2003-06-03  John Levon  <levon@movementarian.org>
6104
6105         * CutAndPaste.C: update tabular and include inset
6106         buffer references
6107
6108         * buffer.h:
6109         * paragraph.h:
6110         * paragraph.C: remove owningBuffer(), don't pass Buffer
6111         to clone()
6112
6113         * factory.C: insetGraphicsParams changed
6114
6115 2003-06-02  John Levon  <levon@movementarian.org>
6116
6117         * LyXAction.C:
6118         * factory.C:
6119         * lfuns.h:
6120         * lyxfunc.C:
6121         * text3.C: remove insetparent
6122
6123 2003-06-02  John Levon  <levon@movementarian.org>
6124
6125         * buffer.h:
6126         * buffer.C: fix inset_iterator.end(), move out of line
6127         (bug 1149)
6128
6129 2003-06-01  John Levon  <levon@movementarian.org>
6130
6131         * text3.C: use a proper cut/paste when doing inset
6132         insert (from Jürgen Spitzmüller)
6133
6134 2003-06-01  John Levon  <levon@movementarian.org>
6135
6136         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6137
6138 2003-05-30  André Pönitz  <poenitz@gmx.net>
6139
6140         * rowpainter.C: unify second drawing phase
6141
6142 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * trans_mgr.C: remove one case of current_view
6145
6146         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6147
6148         * paragraph_funcs.h: remove paragraph.h include
6149
6150         * paragraph.h: delete NO_STD_LIST stuff
6151
6152         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6153
6154         * buffer.h: remove paragraph.h include
6155
6156         * ParagraphList.C: delete file
6157
6158         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6159
6160         * toc.C (getTocList): adjust
6161
6162         * paragraph_pimpl.C (validate): adjust
6163
6164         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6165
6166         * paragraph.C (Paragraph): adjust
6167         (getPositionOfInset): use const_iterator, adjust
6168         (bibitem): use const_iterator, adjust
6169         (setInsetOwner): adjust
6170
6171         * iterators.C (operator++): adjust
6172
6173         * InsetList.[Ch]: Replace selfmade iterator with standard
6174         vector::iterator also introduce const_iterator. Remove getPos,
6175         getInset and setInset from InsetTable. Adjust accordingly.
6176
6177         * BufferView.C (lockInset): adjust
6178         (ChangeInsets): adjust
6179
6180         * tabular.[Ch]: delete commented same_id functions
6181
6182 2003-05-28  John Levon  <levon@movementarian.org>
6183
6184         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6185
6186 2003-05-28  André Pönitz  <poenitz@gmx.net>
6187
6188         * metricsinfo.[Ch]: remove 'fullredraw' member
6189
6190 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6191
6192         * lyxtextclass.C (operator): remove caching.
6193
6194 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * text3.C: adjust
6197
6198         * text2.C (cursorBottom): adjust
6199         (setCounter): use ParagraphList::find, adjust
6200
6201         * text.C (workWidth): use ParagraphList::find, adjust
6202
6203         * lyxcursor.C (LyXCursor): adjust
6204
6205         * buffer.C (inset_iterator): adjust
6206
6207         * ParagraphList.h: make iterator(value_type) private, make
6208         ParagraphList a friend of iterator.
6209
6210         * ParagraphList.C (find): new function
6211
6212         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6213
6214 2003-05-27  André Pönitz  <poenitz@gmx.net>
6215
6216         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6217
6218 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6219
6220         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6221
6222 2003-05-26  John Levon  <levon@movementarian.org>
6223
6224         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6225
6226 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * remove same_id from function signatures, adjust.
6229
6230 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6233
6234         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6235
6236         * paragraph.C (Paragraph): get rid of same_ids parameter
6237
6238         * ParagraphList.C (insert): adjust
6239         (push_back): adjust
6240
6241 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * paragraph_funcs.C (breakParagraph): adjust
6244         (breakParagraphConservative): adjust
6245
6246         * buffer.C (readParagraph): adjust
6247
6248         * ParagraphList.C (insert): take a reference instead of a pointer
6249         (insert): adjust
6250
6251         * paragraph.[Ch] (id): new function
6252
6253         * bufferlist.C (newFile): adjust
6254
6255         * ParagraphList.C (ParagraphList): adjust
6256         (assign): adjust
6257         (push_back): take a reference instead of a pointer.
6258
6259         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6260
6261         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6262         instead.
6263
6264         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6265         set else use old code.
6266
6267         * ParagraphList.C: remove all NO_NEXT code and only compile this
6268         code of NO_STD_LIST is set.
6269
6270 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6271
6272         * BufferView_pimpl.C:
6273         * TextCache.C:
6274         * TextCache.h:
6275         * bufferlist.C:
6276         * errorlist.h:
6277         * format.C:
6278         * format.h:
6279         * graph.C:
6280         * lyxfunc.C:
6281         * lyxrc.C:
6282         * graphics/GraphicsConverter.C:
6283         * graphics/PreviewLoader.C: header adjustment
6284
6285 2003-05-23  Angus Leeming  <leeming@lyx.org>
6286
6287         * LaTeXFeatures.[Ch] (useBabel): new method.
6288         * bufferparams.C (writeLaTeX): use it.
6289
6290 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * ParagraphList.h (set): remove unused function.
6293
6294 2003-05-23  André Pönitz  <poenitz@gmx.net>
6295
6296         * BufferView.C:
6297         * BufferView_pimpl.C:
6298         * buffer.C:
6299         * buffer.h:
6300         * lyxfunc.C:
6301         * undo_funcs.C: setUndo reworked
6302
6303         * iterators.[Ch]: add access to topmost ParagraphList
6304
6305         * lyxtext.[Ch] (workWidth): add a const
6306
6307 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * texrow.[Ch] (increasePos): remove function
6310         * exporter.C (export): removed unused var and outdated comment
6311
6312 2003-05-23  Angus Leeming  <leeming@lyx.org>
6313
6314         * latexrunparams.h: rename fragile as moving_arg.
6315         * paragraph.C (simpleTeXOnePar): ditto.
6316         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6317
6318 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6319
6320         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6321         (createUndo): ditto
6322         (textUndoOrRedo): comment out a currently unused var.
6323
6324         * paragraph.h (NO_NEXT): enable NO_NEXT
6325
6326         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6327
6328         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6329
6330         * exporter.C (Export): adjust for removeAutoInsets removal.
6331
6332         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6333
6334         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6335
6336         * BufferView.[Ch] (removeAutoInsets): delete function
6337
6338 2003-05-22  Angus Leeming  <leeming@lyx.org>
6339
6340         * latexrunparams.h: add a free_spacing variable.
6341
6342         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6343         to pass moving_arg, as the data is stored in runparams.fragile.
6344
6345         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6346         to Inset::latexOptional or to simpleTeXOnePar.
6347
6348         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6349         free_spacing arg to Inset::latexOptional.
6350
6351         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6352         free_spacing arg.
6353
6354 2003-05-22  Angus Leeming  <leeming@lyx.org>
6355
6356         * latexrunparams.h: add fragile and use_babel variables.
6357
6358         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6359         * buffer.C (makeLaTeXFile): store this returned value in
6360         runparams.use_babel, thus passing it to the inset::latex methods.
6361
6362         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6363         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6364
6365         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6366         longer has a fragile arg, as it is stored in runparams.fragile.
6367
6368         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6369         moving_arg parameter as the data is stored in runparams.fragile.
6370
6371         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6372         a fragile parameter as the data is stored in runparams.fragile.
6373
6374 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6375
6376         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6377
6378 2003-05-22  Angus Leeming  <leeming@lyx.org>
6379
6380         * latexrunparams.h: add a 'bool nice' which defaults to false.
6381
6382         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6383         now encapsulated within runparams.
6384
6385         * bufferlist.C (updateIncludedTeXfiles):
6386         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6387
6388 2003-05-22  Angus Leeming  <leeming@lyx.org>
6389
6390         * latexrunparams.h: new file containing struct LatexRunParams.
6391         * Makefile.am: add new file.
6392
6393         * LaTeX.[Ch] (c-tor, run):
6394         * buffer.[Ch] (makeLaTeXFile):
6395         * bufferlist.[Ch] (updateIncludedTeXfiles):
6396         * converter.C (convert, scanLog):
6397         * converter.[Ch] (runLaTeX):
6398         * exporter.C (Export):
6399         * paragraph.[Ch] (simpleTeXOnePar):
6400         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6401         * paragraph_funcs.[Ch] (latexParagraphs):
6402         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6403         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6404         pass around a LatexRunParams parameter.
6405
6406 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6407
6408         * paragraph.[Ch]: remove unused constructor
6409
6410         * ParagraphList.C (erase): new function, taking two iterators
6411
6412 2003-05-22  André Pönitz  <poenitz@gmx.net>
6413
6414         * undo_funcs.C: remove duplicated code
6415
6416         * iterator.[Ch]: operator=
6417
6418 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6419
6420         * tabular.C (SetMultiColumn): ws changes
6421
6422         * rowpainter.C (paintFirst): get rid of a ->previous
6423
6424         * lyx_cb.C (getPossibleLabel): parlist simplification
6425
6426         * BufferView.C (ChangeInsets): simplify slightly.
6427
6428 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6429
6430         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6431         * lfuns.h: new LFUN_SPACE
6432         * lyxfunc.C: protected space has a new lfun
6433         * paragraph_funcs.C: read new space insets
6434         * text3.C:
6435         * factory.C: handle new space insets
6436
6437 2003-05-22  André Pönitz  <poenitz@gmx.net>
6438
6439         * BufferView.C:
6440         * BufferView_pimpl.C:
6441         * buffer.[Ch]:
6442         * lyxfunc.C:
6443         * undo_funcs.C: return a ParIterator from getParFromID.
6444
6445         * iterators.[Ch]: add two const's
6446
6447 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * toc.C (getTocList): adjust
6450
6451         * iterators.[Ch]: rework for parlist
6452
6453         * buffer.C (par_iterator_begin): adjust
6454         (par_iterator_end): adjust
6455
6456         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6457
6458         * BufferView.C (removeAutoInsets): adjust
6459         (ChangeInsets): adjust
6460
6461 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6462
6463         * text.C (top_y): fix bug 1110
6464
6465 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6466
6467         * errorlist.[Ch]: added
6468         * buffer.C:
6469         * BufferView.[Ch]:
6470         * BufferView_pimpl.C:
6471         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6472         instead
6473
6474 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6475
6476         * Makefile.am: ensure that lyx is relinked upon changes to the
6477         various "convenience" libs.
6478
6479 2003-05-20  Angus Leeming  <leeming@lyx.org>
6480
6481         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6482         files are compiled in alphabetical order again.
6483
6484         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6485
6486 2003-05-19  Angus Leeming  <leeming@lyx.org>
6487
6488         * gettext.[Ch]: remove "char const * _(char const *)".
6489
6490 2003-05-19  André Pönitz  <poenitz@gmx.net>
6491
6492         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6493
6494         * Makefile.am:
6495         * BufferView.C:
6496         * DepTable.h:
6497         * LaTeXFeatures.C:
6498         * buffer.C:
6499         * lyxfont.C:
6500         * lyxlex.h:
6501         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6502
6503 2003-05-19  André Pönitz  <poenitz@gmx.net>
6504
6505         * buffer.C:
6506         * lyxlayout.[Ch]:
6507         * lyxtextclass.[Ch]:
6508         * paragraph.C:
6509         * paragraph_funcs.[Ch]:
6510         * text2.C:
6511         * text3.C: more insetenv work
6512
6513 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6514
6515         * ParagraphParameters.C (params2string): small bug fixed
6516
6517 2003-05-16  André Pönitz  <poenitz@gmx.net>
6518
6519         * debug.C:
6520         * bufferview_funcs.C: patch from Kornel Benko to prevent
6521           crash when _(...) is called twice in a statement
6522
6523 2003-05-16  André Pönitz  <poenitz@gmx.net>
6524
6525         * BufferView.C:
6526         * lyxfunc.C:
6527         * text.C:
6528         * text2.C:
6529         * text3.C:
6530         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6531
6532 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6533
6534         * lyx_main.C (init): remove spurious static_cast
6535
6536 2003-05-14  André Pönitz  <poenitz@gmx.net>
6537
6538         * BufferView.C: fix format string
6539
6540 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6541
6542         * BufferView.[Ch] (insertErrors): removed
6543         * BufferView.[Ch] (showErrorList): added
6544         * buffer.C (runChkTeX):
6545         * converter.C (scanLog): call showErrorList instead of inserterrors
6546
6547 2003-05-13  André Pönitz  <poenitz@gmx.net>
6548
6549         * BufferView_pimpl.C:
6550         * buffer.C:
6551         * bufferview_func.C:
6552         * MenuBackend.C:
6553         * lyxfunc.C:
6554         * lyxrc.C:
6555         * tex-accent.C:
6556         * text3.C:
6557         * toc.C:
6558         * tabular_funcs.h: tostr() from its own header
6559
6560         * ParagraphParameters.C:
6561         * ToolbarBackend.C:
6562         * bufferparams.C:
6563         * format.C:
6564         * lyxlex_pimpl.C:
6565         * text3.C: STRCONV()
6566
6567 2003-05-12  André Pönitz  <poenitz@gmx.net>
6568
6569         * BufferView.C:
6570         * BufferView_pimpl.C:
6571         * CutAndPaste.C:
6572         * LaTeX.C:
6573         * LaTeXFeatures.C:
6574         * ParagraphParameters.C:
6575         * buffer.C:
6576         * bufferlist.C:
6577         * bufferparams.C:
6578         * bufferview_funcs.C:
6579         * converter.C:
6580         * counters.C:
6581         * debug.C:
6582         * exporter.C:
6583         * format.C:
6584         * importer.C:
6585         * lyx_cb.C:
6586         * lyx_main.C:
6587         * lyxfont.C:
6588         * lyxfunc.C:
6589         * lyxvc.C:
6590         * paragraph.C:
6591         * paragraph_funcs.C:
6592         * tabular.C:
6593         * tabular_funcs.C:
6594         * text2.C:
6595         * text3.C:  boost::format -> bformat  all over the place
6596
6597
6598 2003-05-09  André Pönitz  <poenitz@gmx.net>
6599
6600         * LColor.[Ch]: Pimpl the #include <map> away
6601
6602 2003-05-09  John Levon  <levon@movementarian.org>
6603
6604         * bufferlist.C: never remove emergency saves
6605
6606 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * Makefile.am: better lib building
6609
6610 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6611
6612         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6613         instead.
6614         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6615         (simpleTeXSpecialChars): adjust
6616         (simpleTeXSpecialChars): adjust
6617         * paragraph.C (simpleTeXOnePar): adjust
6618         * buffer.C (makeLaTeXFile): adjust
6619
6620         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6621
6622         * text2.C (changeDepth): parlist cleanup
6623         (getColumnNearX): ditto
6624
6625         * rowpainter.C (getLabelFont): parlist cleanup
6626
6627         * bufferlist.C (newFile): parlist cleanup
6628
6629         * CutAndPaste.C (eraseSelection): parlist cleanup
6630
6631         * BufferView_pimpl.C (trackChanges): parlist cleanup
6632         (dispatch): ditto
6633
6634         * BufferView.C (lockInset): parlist cleanup.
6635         (ChangeInsets): ditto
6636
6637 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * CutAndPaste.h: Update file header.
6640
6641         * CutAndPaste.C: Update file header.
6642         Store the parts cut out of the Document in a limited_stack.
6643         (copySelection): adjust
6644         (pasteSelection): new function, takes the index in the limited stack.
6645         (nrOfParagraphs): adjust
6646         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6647         simplify error inset insertion.
6648         (checkPastePossible): adjust
6649
6650 2003-05-06  John Levon  <levon@movementarian.org>
6651
6652         * text2.C: don't cast wrap inset to float
6653
6654 2003-05-05  André Pönitz  <poenitz@gmx.net>
6655
6656         * iterator.C:
6657         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6658
6659         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6660           few naked Paragraph *.
6661
6662 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6663
6664         * bufferparams.C: Output warning if a document with missing
6665         TeX document class is loaded
6666         * exporter.C: Disable TeX exports if the document class is missing
6667         * lyxtextclass.C:
6668         * lyxtextclass.h:
6669         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6670         isTeXClassAvailable()
6671
6672 2003-05-03  John Levon  <levon@movementarian.org>
6673
6674         * BufferView.h:
6675         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6676         explicit cursor show/hide
6677
6678         * BufferView_pimpl.h:
6679         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6680         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6681
6682         * lyxfunc.C: hide cursor before dispatching.
6683
6684         * lyx_cb.C:
6685         * lyxfind.C:
6686         * text.C:
6687         * text3.C: remove explicit cursor hides
6688
6689 2003-05-02  André Pönitz  <poenitz@gmx.net>
6690
6691         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6692
6693         * undo_funcs.C:
6694         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6695           linked lists
6696
6697         * text2.C: tiny whitespace
6698
6699 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * undo_funcs.C: almost only ws changes.
6702
6703         * ParagraphList.C (splice): just return if pl is empty.
6704
6705 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6706
6707         * ParagraphList.C (splice): new function.
6708
6709         * CutAndPaste.C (pasteSelection): use it
6710
6711 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * CutAndPaste.C (pasteSelection): remove the last next and
6714         previous from this file.
6715
6716 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6717
6718         * CutAndPaste.C (pasteSelection): more clean up, user proper
6719         ParagraphList functions for pasteing.
6720
6721         * ParagraphList.C (insert): new function, three arg insert
6722
6723 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6724
6725         * ParagraphList.C (insert): new function, three arg insert
6726
6727         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6728         not on paragraphs.
6729
6730 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6731
6732         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6733
6734 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6735
6736         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6737
6738 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6739
6740         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6741         (copySelection): clean up a bit.
6742         (pasteSelection): use make_pair
6743
6744         * ParagraphList.C (ParagraphList): implement copy constructor
6745         (operator=): implement, base on copy constructor.
6746         (assign): new func
6747
6748         * paragraph.C (erase): return a bool
6749
6750         * paragraph_pimpl.C (erasePos): remove function, move contents...
6751         (erase): ... here. Return a bool.
6752         (erase): call erase instead of erasePos.
6753
6754 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6755
6756         * ParagraphList.h: define PitPosPair
6757         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6758         ParagraphList, fix a bug on pasting multiple pars
6759         * text2.C: change interface to C&P
6760
6761 2003-04-30  André Pönitz  <poenitz@gmx.net>
6762
6763         * undo_func.C: revert part of yesterday's patch 2
6764
6765 2003-04-30  John Levon  <levon@movementarian.org>
6766
6767         * LColor.C: s/tabular/table/
6768
6769 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6770
6771         * text3.C (dispatch): do not convert iterator -> pointer
6772         * undo_funcs.C (setCursorParUndo): ditto
6773         * text_funcs.C (transposeChars): ditto
6774
6775         * text2.C (setLayout): ws changes only
6776
6777         * text.C (breakParagraph): do not convert iterator -> pointer
6778         (insertChar): ditto
6779         (acceptChange): ditto
6780         (rejectChange): ditto
6781         (changeCase): ditto
6782         (Delete): ditto
6783         (backspace): ditto
6784
6785         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6786         pointer
6787
6788 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6789
6790         * text3.C (gotoInset): YABG (yet another bad getChar)
6791
6792 2003-04-29  André Pönitz  <poenitz@gmx.net>
6793
6794         * paragraph.h: make operator= private unimplemented as long as
6795           it is unusable
6796
6797         * ParagraphList.C: whitespace
6798
6799         * paragraph.[Ch]:
6800         * paragraph_pimpl.[Ch]:
6801         * paragraph_funcs.C:
6802         * CutAndPaste.C:
6803         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6804
6805         * text2.C:
6806           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6807
6808 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6809
6810         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6811         * paragraph.[Ch] (erase):
6812         * paragraph_pimpl.[Ch] (erase): change return type and value
6813         * text2.C (cutSelection): some rework
6814
6815 2003-04-28  John Levon  <levon@movementarian.org>
6816
6817         * bufferlist.C: changes for unsaved changes dialog
6818
6819 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * bufferlist.C (newFile): set language (messages_) for new
6822         documents also.
6823
6824         * buffer.C (readFile): ws changes only.
6825
6826 2003-04-28  André Pönitz  <poenitz@gmx.net>
6827
6828         * undo_funcs.C:
6829         * lyxfunc.C:
6830         * buffer.[Ch]:
6831         * BufferView_pimpl.C:
6832         * BufferView.C: getParFromID related ParagraphList::iterator changes
6833
6834 2003-04-28  André Pönitz  <poenitz@gmx.net>
6835
6836         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6837           Changes
6838
6839 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6840
6841         * messages.C: remove one more localedir class variable.
6842
6843 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * messages.C (getLocaleDir): singleton generation function
6846         (Pimpl): use it.
6847         (Messages): add a default constructor.
6848
6849         * main.C (main): do not setup localedir here, do not call
6850         gettext_init.
6851
6852         * gettext.C (_): use it.
6853         (gettext_init): delete funciton
6854
6855 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * gettext.C (getLyXMessages): new singleton generating function.
6858
6859         * buffer.C (updateDocLang): adjust
6860
6861         * Makefile.am (messages.o): add target
6862         (main.o): remove target
6863
6864 2003-04-27  John Levon  <levon@movementarian.org>
6865
6866         * bufferlist.C:
6867         * lyx_cb.C:
6868         * lyxfunc.C:
6869         * lyxvc.C: specify cancel button in Alert::prompt
6870
6871 2003-04-26  John Levon  <levon@movementarian.org>
6872
6873         * text3.C:
6874         * lyxfunc.C:
6875         * lfuns.h:
6876         * LyXAction.C: add LFUN_INSET_SETTINGS
6877
6878         * lyxfunc.C: don't enable tabular-feature when there's
6879         just any locking inset
6880
6881 2003-04-26  John Levon  <levon@movementarian.org>
6882
6883         * bufferlist.C: re-add Cancel to buffer close question
6884
6885         * lyxfunc.C: fix import UI a bit
6886
6887 2003-04-25  John Levon  <levon@movementarian.org>
6888
6889         * gettext.C: remove the broken asserts for now
6890
6891 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6892
6893         * messages.C: make case where setlocale cannot comply work better.
6894
6895         * buffer.C (updateDocLang): new function
6896         (changeLanguage): use it
6897         (readFile): use it
6898
6899         * text2.C (setCounter): use B_ a bit.
6900
6901         * lyxlayout.C (Read): be sure to trim the label strings.
6902
6903         * messages.C (Messages): fix typo in comment
6904
6905         * buffer.C (readFile): set message_ after file is loaded.
6906         (makeDocBookFile): remove double return
6907         (changeLanguage): reset message_ upon language change.
6908         (B_): new func, use this to get translated buffer strings.
6909
6910         * main.C: add myself and Jean Marc as authors.
6911
6912 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * messages.[hC]: pimplify Messages, and three different pimpls to be
6915         used in different circumstances.
6916
6917         * gettext.[Ch]: change for use with new message code.
6918
6919 2003-04-24 André Pönitz <poenitz@gmx.net>
6920
6921         * factory.C: support for eqref
6922
6923 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * messages.[Ch]: add missing char
6926
6927         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6928
6929         * messages.[Ch]: New files
6930
6931 2003-04-18  John Levon  <levon@movementarian.org>
6932
6933         * BufferView.h:
6934         * BufferView.C:
6935         * BufferView_pimpl.C:
6936         * lfuns.h:
6937         * LyXAction.C:
6938         * lyxtext.h:
6939         * text2.C: remove layout-copy/paste (bug 778)
6940
6941 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6942
6943         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6944
6945 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6946
6947         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6948         if they succeed. Act accordingly.
6949
6950 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6951
6952         * text2.C (setCharFont): adjust
6953         (setCounter): adjust
6954         (insertStringAsLines): adjust
6955
6956         * text.C (leftMargin): adjust
6957         (setHeightOfRow): adjust
6958
6959         * rowpainter.C (paintFirst): adjust
6960         (paintLast): adjust
6961
6962         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6963         (outerHook): ditto
6964         (isFirstInSequence): ditto
6965         (getEndLabel): ditto
6966         (outerFont): adjust
6967
6968         * paragraph.C (getParLanguage): comment out some hard stuff.
6969
6970         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6971         (sgmlError): ditto
6972         (simpleDocBookOnePar): ditto
6973         (makeDocBookFile): use ParagraphList::iterator
6974
6975         * CutAndPaste.C (pasteSelection): adjust
6976
6977 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * text2.C (getFont): adjust
6980         (getLayoutFont): adjust
6981         (getLabelFont): adjust
6982
6983         * paragraph_funcs.C (TeXOnePar): adjust
6984
6985         * buffer.C (simpleLinuxDocOnePar): adjust
6986         (simpleDocBookOnePar): adjust
6987
6988         * CutAndPaste.C (pasteSelection): adjust
6989
6990         * BufferView.C (getEncoding): adjust
6991
6992         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6993
6994 2003-04-16  John Levon  <levon@movementarian.org>
6995
6996         * lyxfind.C: use parlist stuff for search/changes
6997
6998 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7001
7002         * text2.C (deleteEmptyParagraphMechanism): adjust
7003
7004         * text2.[Ch] (ownerParagraph): delete func (both of them
7005
7006 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7007
7008         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7009
7010 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7011
7012         * ParagraphList.C: prepare for NO_NEXT
7013
7014 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * text2.C (getFont): adjust
7017         (getLayoutFont): adjust
7018         (getLabelFont): adjust
7019
7020         * paragraph.C (getFont): adjust
7021         (getLabelFont): adjust
7022         (getLayoutFont): adjust
7023
7024         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7025
7026 2003-04-15  John Levon  <levon@movementarian.org>
7027
7028         From Angus Leeming
7029
7030         * lyx_main.C: handle Include in .ui files
7031
7032 2003-04-15  John Levon  <levon@movementarian.org>
7033
7034         * MenuBackend.C: make the doc files length shorter
7035
7036         * ToolbarBackend.h:
7037         * ToolbarBackend.C: handle toolbar placement flags,
7038         Minibuffer
7039
7040 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7043         adjust
7044
7045         * paragraph_funcs.C (TeXOnePar): adjust
7046
7047         * paragraph.C (getLabelFont): add outerfont arg, adjust
7048         (getLayoutFont): ditto
7049         (simpleTeXOnePar): adjust
7050
7051         * paragraph_pimpl.C (realizeFont): delete func
7052
7053 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7054
7055         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7056         row argument, constify cur argument.
7057
7058 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7059
7060         * text2.C (getFont): adjust
7061         (getLayoutFont): adjust
7062         (getLabelFont): adjust
7063
7064         * paragraph_funcs.C (TeXOnePar): adjust
7065         (outerFont): new func...
7066         (realizeFont): ...moved out from here, changed this to facilitate
7067         transition
7068
7069         * paragraph.C (getFont): take outerfont as arg, adjust
7070         (simpleTeXOnePar): add outerfont arg, adjust
7071
7072         * buffer.C (simpleLinuxDocOnePar): adjust
7073         (simpleDocBookOnePar): adjust
7074
7075         * CutAndPaste.C (pasteSelection): adjust
7076
7077         * BufferView.C (getEncoding): adjust
7078
7079 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7080
7081         * text2.C (setCharFont): adjust
7082         (setCounter): adjust
7083
7084         * text.C (leftMargin): adjust
7085         (setHeightOfRow): adjust
7086
7087         * rowpainter.C (paintFirst): adjust
7088         (paintLast): adjust
7089
7090         * paragraph_pimpl.C (realizeFont): adjust
7091
7092         * paragraph.C (isFirstInSequence): move from here...
7093         * paragraph_funcs.C (isFirstInSequence): ...to here
7094
7095         * paragraph.C (outerHook): move from here...
7096         * paragraph_funcs.C (outerHook): ...to here
7097
7098         * paragraph.C (depthHook): move from here...
7099         * paragraph_funcs.C (depthHook): ...to here
7100
7101         * paragraph.C (getEndLabel): move from here...
7102         * paragraph_funcs.C (getEndLabel): ...to here
7103
7104         * text2.C (realizeFont): move from here...
7105         * paragraph_funcs.C (realizeFont): ...to here
7106
7107 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7110
7111 2003-04-14  Angus Leeming  <leeming@lyx.org>
7112
7113         * LColor.[Ch]: scrap LColor mathcursor.
7114
7115 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7116
7117         * lyxlex.[Ch] (text): delete function
7118         * trans.C (Load): adjust
7119         * paragraph_funcs.C (readParToken): adjust
7120
7121 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7124         vector<char> instead of a char[].
7125
7126         * lyxlex_pimpl.C (getString): adjust
7127         (next): adjust
7128         (lex): use getString
7129         (eatLine): adjust
7130         (nextToken): adjust
7131
7132         * lyxlex.C (text): use pimpl_->getString()
7133         (getBool): ditto
7134         (findToken): ditto
7135
7136 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7139         (makeFontEntriesLayoutSpecific): temp var for par.size()
7140         (setLayout): temp var for ownerParagraphs().end()
7141         (fullRebreak): temp var for rows().end()
7142         (selectionAsString): temp var for boost::next(startpit), realize
7143         that the while really is a regular for loop.
7144         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7145         setCursor in one place.
7146         (setParagraph): temp vr for ownerParagraphs().end()
7147         (updateCounters): make the while loop a for loop
7148         (cutSelection): temp var for ownerParagraphs().end()
7149         (updateInset): make the do {} while() a regular for loop
7150         (getCursorX): use temp vars
7151         (setCurrentFont): use temp vars
7152         (getColumnNearX): use temp vars
7153
7154 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7155
7156         * text.C (transformChar): use temp var for getChar
7157         (computeBidiTables): use temp var for row->par()
7158         (fill): move temp vars for row->par() and pit->layout() earlier in
7159         the function.
7160         (labelFill): use temp var for row->par()
7161         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7162         asc and desc, realize that pit never changes and that firstpit is
7163         just a duplicate and not needed. Exchange rit->par() with pit in a
7164         lot of places.
7165         (breakAgain): use a temp var for boost::next(rit)
7166         (breakAgainOneRow): ditto
7167         (breakParagraph): use a temp var for rows().begin()
7168         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7169         (cursorRightOneWord): use temp var for cursor.par() and
7170         cursor.pos(), remove usage of tmpcursor.
7171         (cursorLeftOneWord): use temp var for cursor.par() and
7172         cursor.pos() only set cur at end of function.
7173
7174 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7175
7176         * text.C, text2.C: exchange all usage of Paragraph::next with
7177         boost::next(ParagraphList::iterator)
7178
7179         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7180
7181         * text2.C (cursorTop): simplify implementation
7182         (cursorBottom): ditto
7183         (setParagraph): use ParagraphList::iterator
7184         (setCurrentFont): adjust
7185         (getColumnNearX): adjust
7186         (cursorRight): adjust
7187         (cursorLeft): remove usage of Paragraph::previous
7188         (cursorUpParagraph): ditto
7189         (deleteEmptyParagraphMechanism): slight cleanup
7190
7191         * text.C (isBoundary): take a Paragraph const & instead of a
7192         pointer as arg.
7193         (addressBreakPoint): ditto
7194         (leftMargin): remove usage of Paragraph::previous.
7195         (setHeightOfRow): ditto
7196         (cursorLeftOneWord): ditto
7197         (selectNextWordToSpellcheck): ditto
7198         (Delete): ditto
7199         (backspace): ditto
7200         (breakParagraph): remove one usage of Paragraph::next
7201         (redoParagraph): ditto
7202         (acceptChange): ditto
7203         (insertChar): adjust
7204         (rowBreakPoint): adjust
7205
7206         * bufferview_funcs.C (toggleAndShow): adjust
7207
7208 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7209
7210         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7211         methods to access it.
7212         * lyxtext.h:
7213         * text.C: Added updateRowPositions to compute all row positions.
7214         Make top_y and getRowNearY() to use the cached y position
7215
7216 2003-04-11  John Levon  <levon@movementarian.org>
7217
7218         * text.C (rowBreakPoint): reintroduce the labelEnd
7219         checks, code copied from the row fill stuff. Deep voodoo.
7220
7221         * text.C (fill): add a comment and debugging for the
7222         next poor soul.
7223
7224 2003-04-11  John Levon  <levon@movementarian.org>
7225
7226         * text.C: make sure fullrow insets get wrapped to the next line,
7227         even when they're in a manual label
7228
7229 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7230
7231         * text2.C (insertParagraph): make it take ParagraphList::iterator
7232         as arg.
7233         (setLayout): make it return ParagraphList::iterator
7234         (redoParagraphs): ditto
7235         (setCounter): ditto
7236         (checkParagraph): ditto
7237
7238         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7239
7240         * text2.C: adjust several funcs.
7241         (realizeFont): take a ParagraphList::iterator as arg.
7242         (getLayoutFont): ditto
7243         (getLabelFont): ditto
7244         (setCharFont): ditto
7245
7246         * text.C: adjust several funcs.
7247
7248 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7249
7250         * text.C (selectNextWordToSpellcheck): don't accidentally
7251         skip insets
7252
7253 2003-04-10  John Levon  <levon@movementarian.org>
7254
7255         * ToolbarBackend.C (getIcon): special handling for
7256         LFUN_MATH_DELIM
7257
7258 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7259
7260         * text2.C (cursorRight): a getChar assert fixed
7261
7262 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7263
7264         * text2.C (getFont): change to take a ParagraphList::iterator
7265         instead of Paragraph*
7266         Adjust several functions.
7267
7268         * text.C (transformChar): change to take a ParagraphList::iterator
7269         instead of Paragraph*
7270         (singleWidth): ditto
7271         Adjust several functions.
7272
7273         * rowpainter.C: adjust several functions
7274         * rowpainter.h:store a ParagraphList::iterator and not a
7275         Paragraph&.
7276
7277
7278 2003-04-09  John Levon  <levon@movementarian.org>
7279
7280         * lyxfunc.C:
7281         * lfuns.h:
7282         * LyXAction.h:
7283         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7284         and the "help" bits as well
7285
7286 2003-04-09  John Levon  <levon@movementarian.org>
7287
7288         * ToolbarBackend.h:
7289         * ToolbarBackend.C: allow multiple toolbars
7290
7291 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * undo_funcs.C (setCursorParUndo): adjust
7294
7295         * text_funcs.C (transposeChars): adjust
7296
7297         * text3.C (gotoNextInset): adjust
7298         (dispatch): adjust
7299
7300         * text2.C (setLayout): adjust
7301         (changeDepth): adjust
7302         (setFont): adjust
7303         (redoParagraphs): adjust
7304         (selectionAsString): adjust
7305         (setParagraph): adjust
7306         (insertInset): adjust
7307         (cutSelection): adjust
7308         (copySelection): adjust
7309         (pasteSelection): adjust
7310         (insertStringAsLines): adjust
7311         (updateInset): adjust
7312         (setCursor): change to take a ParagraphList::iterator parameter
7313         (setCursorIntern): change to take a ParagraphList::iterator parameter
7314         (setCurrentFont): adjust
7315         (cursorLeft): adjust
7316         (cursorRight): adjust
7317         (deleteEmptyParagraphMechanism): adjust
7318
7319         * text.C (breakParagraph): adjust
7320         (insertChar): adjust
7321         (acceptChange): adjust
7322         (rejectChange): adjust
7323         (selectNextWordToSpellcheck): adjust
7324         (changeCase): adjust
7325         (Delete): adjust
7326         (backspace): adjust
7327
7328         * lyxfind.C (SearchForward): adjust
7329         (SearchBackward): adjust
7330         (nextChange): adjust
7331
7332         * lyxcursor.C (par): adjust
7333
7334         * lyxcursor.h: store a ParagraphList::iterator instead of a
7335         Paragraph*
7336
7337         * lyx_cb.C (getPossibleLabel): adjust
7338
7339         * bufferview_funcs.C (toggleAndShow): adjust
7340
7341         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7342         (dispatch): adjust
7343
7344         * BufferView.C (removeAutoInsets): adjust
7345         (lockedInsetStoreUndo): adjust
7346
7347 2003-04-09  John Levon  <levon@movementarian.org>
7348
7349         * ToolbarBackend.C: try icon without argument
7350         if with argument fails
7351
7352 2003-04-08  John Levon  <levon@movementarian.org>
7353
7354         * ToolbarBackend.h:
7355         * ToolbarBackend.C: add getIcon(), handle tooltip,
7356         and change from "Icon" to "Item".
7357
7358 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7359
7360         * BufferView.C (lockInset): another bad getchar crunched
7361
7362 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7363
7364         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7365         again)
7366
7367 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7368
7369         * lyxfind.C (searchForward, searchBackwards): bug 782
7370
7371 2003-04-07  John Levon  <levon@movementarian.org>
7372
7373         * paragraph.C: remove dead comment
7374
7375         * text.C: remove troublesome depth-fiddling code
7376         in leftMargin() and rightMargin() (bug 1017)
7377
7378         * text.C: fix breaking of rows in nested lists
7379         (bug 1004)
7380
7381         * text2.C (updateCounters): fix up depth values
7382         (bug 1013)
7383
7384 2003-04-07  John Levon  <levon@movementarian.org>
7385
7386         * BufferView_pimpl.C: clear message when doc finishes resizing,
7387         and after a mouse event
7388
7389         * lyxfunc.C: clear message after exiting inset
7390
7391 2003-04-07  John Levon  <levon@movementarian.org>
7392
7393         * bufferview_funcs.C: show math status not outside
7394         status in the statusbar
7395
7396 2003-04-07  John Levon  <levon@movementarian.org>
7397
7398         * lyxfunc.C: note status changed after a depth change
7399
7400 2003-04-04  Angus Leeming  <leeming@lyx.org>
7401
7402         * LaTeX.h: move AuxInfo operator==, != out of line.
7403         Remove LaTeX virtual destructor; nothing derives from it.
7404         Move operator()() out of public area and rename it startscript().
7405         Change protected for private.
7406
7407 2003-04-04  Angus Leeming  <leeming@lyx.org>
7408
7409         * lyxfunc.C:
7410         * text2.C: remove unneeded #includes.
7411
7412 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7413
7414         * text2.C (dEPM): fix the heigth of the next row
7415
7416 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7417
7418         * text.C: squashed an invalid getChar requester + some ws changes
7419
7420 2003-04-03  John Levon  <levon@movementarian.org>
7421
7422         * bufferview_funcs.h:
7423         * bufferview_funcs.C:
7424         * lyxfunc.C:
7425         * lyxtext.h:
7426         * text2.C: make getStatus work for the env depth lfuns
7427
7428 2003-04-03  John Levon  <levon@movementarian.org>
7429
7430         * bufferview_funcs.h:
7431         * bufferview_funcs.C:
7432         * lyxfunc.C:
7433         * lyxtext.h:
7434         * text2.C: parlistize decDepth(), by merging it with incDepth()
7435
7436 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7437
7438         * lyxrow.h: store a ParagraphList::iterator instead of a
7439         Paragraph* and adjust other class functions to suit.
7440
7441         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7442         above.
7443
7444 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7445
7446         * text2.C (setCursor): do not anchor to cursor row for the time being
7447
7448 2003-04-02  John Levon  <levon@movementarian.org>
7449
7450         * LyXAction.C:
7451         * lfuns.h:
7452         * lyx_main.C:
7453         * lyxtext.h:
7454         * text.C:
7455         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7456
7457 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7458
7459         * paragraph.h: make ParagraphList and ParagraphList::iterator
7460         friends of Paragraph.
7461
7462         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7463
7464         * ParagraphList.C: Use the private next_ and previous_ from
7465         Paragraph.
7466
7467 2003-04-01  John Levon  <levon@movementarian.org>
7468
7469         * ToolbarBackend.h:
7470         * ToolbarBackend.C:
7471         * Makefile.am: rename, remove defaults gunk
7472
7473         * MenuBackend.h:
7474         * MenuBackend.C: remove defaults gunk
7475
7476         * Languages.h:
7477         * Languages.C: remove defaults gunk
7478
7479         * lyx_main.h:
7480         * lyx_main.C: error out if files couldn't be found.
7481
7482 2003-04-02  John Levon  <levon@movementarian.org>
7483
7484         * text2.C: make incDepth() use parlist
7485
7486 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7487
7488         * undo_funcs.C (firstUndoParagraph): adjust
7489
7490         * text3.C (gotoInset): adjust
7491         (dispatch): adjust, and rewrite loop.
7492
7493         * text2.C (init): adjust, and rewrite loop.
7494         (redoParagraphs): adjust
7495         (updateInset): adjust, and rewrite loop.
7496         (deleteEmptyParagraphMechanism): adjust
7497
7498         * tabular.C (LyXTabular): adjust
7499         (SetMultiColumn): adjust
7500         (TeXRow): adjust
7501
7502         * lyxtext.[Ch] (ownerParagraph): delete function
7503         (ownerParagraphs): new function returns a ParagraphList.
7504
7505         * BufferView.C (removeAutoInsets): adjust
7506         (insertErrors): adjust
7507         (setCursorFromRow): adjust
7508
7509 2003-04-01  Angus Leeming  <leeming@lyx.org>
7510
7511         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7512         in the frontends.
7513
7514 2003-04-02  John Levon  <levon@movementarian.org>
7515
7516         * lyxtext.h:
7517         * text.C:
7518         * Makefile.am:
7519         * text_funcs.h:
7520         * text_funcs.C: make transposeChars a free function
7521
7522         * lyxrow_funcs.C: remove wrong comment
7523
7524 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7525
7526         * lyxtext.h: adjust
7527         * rowpainter.C: adjust
7528         * text.C: adjust
7529         * text2.C: adjust
7530         * text3.C: adjust
7531
7532         * lyxrow_funcs. [Ch]: new files
7533
7534         * lyxrow.[Ch]: remove next and previous pointers
7535         (next,previous): remove accessor functions
7536         (isParEnd): move to lyxrow_funcs
7537         (lastPos): move to lyxrow_funcs
7538         (nextRowIsAllInset): move to lyxrow_funcs
7539         (lastPrintablePos): move to lyxrow_funcs
7540         (numberOfSeparators): move to lyxrow_funcs
7541         (numberOfHfills): move to lyxrow_funcs
7542         (numberOfLabelHfills): move to lyxrow_funcs
7543         (hfillExpansion): move to lyxrow_funcs
7544
7545         * lyxfunc.C: adjust
7546
7547         * bufferview_funcs.C (toggleAndShow): adjust
7548
7549         * RowList.h: Remove class RowList from file leave just a
7550         std::list<Row>.
7551
7552         * RowList.C: delete file
7553
7554         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7555         and lyxrow_funcs.h
7556
7557 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7558
7559         * text3.C (cursorPrevious): adjust
7560         (cursorNext): adjust
7561         (dispatch): adjust
7562
7563         * text2.C (redoHeightOfParagraph): adjust
7564         (redoDrawingOfParagraph): adjust
7565         (setCursor): adjust
7566
7567         * text.C (breakParagraph): adjust
7568         (insertChar): adjust
7569         (backspace): adjust
7570
7571         * rowpainter.C (RowPainter): adjust
7572         (leftMargin): simplify and adjust
7573         (most rowpainter functions): adjust.
7574
7575         * rowpainter.h: store the row as RowList::iterator not as Row*
7576
7577         * lyxcursor.C (row): taka RowList::iterator as arg
7578         (irow): ditto
7579
7580         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7581         of Row*.
7582
7583 2003-04-01  Angus Leeming  <leeming@lyx.org>
7584
7585         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7586         stuff like bool Bool.
7587
7588 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7589
7590         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7591         rewrite a loop
7592
7593 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7596         RowList::iterator.
7597
7598         * lyxtext.h (rows): drop one version and leve a const variant that
7599         returns a RowList::iterator.
7600
7601 2003-03-31  Angus Leeming  <leeming@lyx.org>
7602
7603         * text.C (fill): ensure that the signature is the same as that in the
7604         header file.
7605
7606 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * text2.C (redoParagraphs): adjust
7609         (updateCounters): adjust
7610         (checkParagraph): adjust
7611         (getColumnNearX): adjust and reformat a bit.
7612
7613         * text.C (top_y): adjust
7614         (workWidth): adjust
7615         (leftMargin): adjust
7616         (prepareToPrint): adjust
7617         (getRow): adjust
7618         (getRowNearY): adjust
7619
7620         * lyxtext.h: make rowlist_ mutable.
7621
7622         * RowList.h: add const_iterator
7623         * RowList.C: adjust for RowList::const_iterator.
7624
7625         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7626         adjust.
7627
7628 2003-03-31  John Levon  <levon@movementarian.org>
7629
7630         * lyxrc.h:
7631         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7632
7633         * lyx_main.C: set default fonts from using lyx_gui funcs
7634
7635         * exporter.C: pdf_mode moved from lyxrc
7636
7637         * lyx_cb.C:
7638         * lyxfunc.C: changes from above
7639
7640 2003-03-31  John Levon  <levon@movementarian.org>
7641
7642         * lyx_main.C: fix to the last fix
7643
7644 2003-03-31  John Levon  <levon@movementarian.org>
7645
7646         * bufferlist.C: "Load original" -> "Load Original"
7647
7648         * converter.C:
7649         * exporter.C:
7650         * importer.C:
7651         * lyx_main.C:
7652         * format.C: more Alert cleanups
7653
7654 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7655
7656         * text2.C (removeParagraph): make it take a RowList::iterator as
7657         arg, adjust.
7658         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7659         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7660
7661         * text.C (anchor_row): make it take a RowList::iterator as arg,
7662         adjust.
7663         (computeBidiTables): make it take a const reference to Row instead
7664         of Row pointer, adjust.
7665         (leftMargin): make it take a RowList::iterator as arg, adjust.
7666         (rowBreakPoint): adjust
7667         (breakAgainOneRow): make it take a RowList::iterator as arg,
7668         adjust.
7669         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7670
7671         * bufferview_funcs.C (toggleAndShow): adjust
7672
7673 2003-03-30  John Levon  <levon@movementarian.org>
7674
7675         * Makefile.am:
7676         * BoostFormat.h:
7677         * boost-inst.C: moved to support
7678
7679         * several files: changes as a result
7680
7681 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7682
7683         * text2.C (LyXText): adjust.
7684         (init): adjust
7685         (removeRow): make it take a RowList::iterator as arg, adjust.
7686         (fullRebreak): adjust
7687         (deleteEmptyParagraphMechanism): adjust
7688         (clearPaint): adjust
7689         (postPaint): adjust
7690
7691         * text.C (top_y): adjust
7692         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7693         (breakAgain): make it take a RowList::iterator as arg, adjust.
7694         (breakParagraph): adjust
7695         (insertChar): adjust
7696         (backspace): adjust
7697
7698         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7699         need_break_row, and refresh_row.
7700
7701         * text3.C (dispatch): adjust
7702
7703         * text2.C (checkParagraph): adjust
7704         (setCursor): adjust
7705         (setCursorFromCoordinates): adjust
7706
7707         * text.C (top_y): adjust
7708         (workWidth): adjust
7709         (getRow): make it return a RowList::iterator, adjust
7710         (getRowNearY): make it return a RowList::iterator, adjust
7711
7712         * text2.C (init): adjust
7713         (insertRow): remove function
7714         (insertParagraph): adjust
7715         (redoParagraphs): adjust
7716         (fullRebreak): adjust
7717         (updateCounters): adjust
7718
7719         * text.C (top_y): rewrite to use RowList iterators.
7720         (top_y): adjust
7721         (setHeightOfRow): rewrite to sue RowList iterators.
7722         (appendParagraph): adjust
7723         (breakAgain): adjust
7724         (breakAgainOneRow): adjust
7725         (breakParagraph): adjust
7726         (getRow): adjust
7727         (getRowNearY): adjust, and remove commented code.
7728
7729         * lyxtext.h (firstRow): delete function
7730         (lastRow): delete function
7731         (rows): new function (const and non-const versions.)
7732         (insertRow): delete function
7733
7734         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7735
7736 2003-03-29  John Levon  <levon@movementarian.org>
7737
7738         * BufferView_pimpl.C: always update scrollbar top
7739         because pasting text when we're anchored could mean we
7740         miss an update altogether
7741
7742 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7743
7744         * text2.C (init): use rowlist_.end() and not 0.
7745         (insertRow): change to take a RowList::iterator as arg, adjust
7746         for this.
7747         (insertParagraph): change to take a RowList::iterator as arg,
7748         adjust for this.
7749         (redoParagraphs): remove some debug msgs.
7750
7751         * text.C (appendParagraph): change to take a RowList::iterator
7752         arg, adjust for this.
7753         (breakAgain): add an assert
7754         (breakAgainOneRow): ditto
7755
7756 2003-03-29  John Levon  <levon@movementarian.org>
7757
7758         * text2.C: do not clear selection after inc/decDepth
7759         (bug 550)
7760
7761 2003-03-29  John Levon  <levon@movementarian.org>
7762
7763         * BufferView.C:
7764         * buffer.C: fix broken strerrors according to Lars
7765
7766 2003-03-29  John Levon  <levon@movementarian.org>
7767
7768         * converters.C: more Alert cleanups
7769
7770 2003-03-29  John Levon  <levon@movementarian.org>
7771
7772         * bufferview_funcs.C: remove pointless Alert
7773
7774         * buffer.C: fix confusing error message when
7775         a template is chmoded 000
7776
7777 2003-03-29  John Levon  <levon@movementarian.org>
7778
7779         * BufferView.C:
7780         * BufferView.h:
7781         * BufferView_pimpl.C: Alert fixes
7782
7783         * Makefile.am:
7784         * tabular.C:
7785         * tabular-old.C: remove unused table compat reading
7786
7787 2003-03-29  John Levon  <levon@movementarian.org>
7788
7789         * BufferView.C:
7790         * buffer.C:
7791         * lyx_cb.h:
7792         * lyx_cb.C: more Alert cleanups
7793
7794         * lyxfunc.C: don't allow chktex if not latex document
7795
7796 2003-03-29  John Levon  <levon@movementarian.org>
7797
7798         * lyx_cb.C:
7799         * BufferView.C:
7800         * buffer.C: warnings pushed down from support/,
7801         kill err_alert
7802
7803 2003-03-29  John Levon  <levon@movementarian.org>
7804
7805         * lyxfunc.C: safety check for C-r (revert)
7806
7807 2003-03-29  John Levon  <levon@movementarian.org>
7808
7809         * bufferlist.h:
7810         * bufferlist.C: several UI fixes using Alert::prompt.
7811         Fix the pointless looping quit code. Fix stupid revert
7812         behaviour (bug 938)
7813
7814         * lyxvc.h:
7815         * lyxvc.C:
7816         * lyx_cb.C: use Alert::prompt
7817
7818         * lyx_main.C: remove a silly question
7819
7820         * lyxfunc.C: remove a couple of silly questions,
7821         use Alert::prompt
7822
7823 2003-03-28  John Levon  <levon@movementarian.org>
7824
7825         * text2.C: fix bug 974 (End on empty par)
7826
7827 2003-03-28  John Levon  <levon@movementarian.org>
7828
7829         * BufferView_pimpl.C:
7830         * LyXAction.C:
7831         * lfuns.h: remove do-nothing math greek lfuns
7832
7833 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7834
7835         * lyxgluelength.h (isValidGlueLength): add default arg on
7836         parameter 2. Remove default arg from friend in class.
7837
7838         * lyxlength.h (isValidLength): add default arg on parameter 2.
7839         Remove default arg from friend in class.
7840
7841         * text2.C (LyXText): adjust, initialize refresh_row.
7842         (init): adjust
7843         (removeRow): adjust
7844         (insertRow): adjust
7845         (insertParagraph): adjst
7846         (redoParagraphs): adjust
7847         (fullRebreak): adjust
7848         (updateCounters): adjust
7849         (deleteEmptyParagraphMechanism): first attempt at fixing a
7850         crashing bug.
7851
7852         * text.C (top_y): adjust
7853         (setHeightOfRow): adjust
7854         (getRow): adjust
7855         (getRowNearY): adjust
7856
7857         * lyxtext.h: include RowList.h
7858         (~LyXText): not needed anymore, deleted.
7859         (firstRow): modify for RowList
7860         (lastRow): new function
7861         Delete firstrow and lastrow class variables, add a Rowlist
7862         rowlist_ class variable.
7863
7864         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7865         paragraph is empty.
7866
7867         * RowList.C (insert): fix case where it == begin().
7868
7869 2003-03-26  Angus Leeming  <leeming@lyx.org>
7870
7871         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7872         the thesaurus dialog.
7873
7874 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7875
7876         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7877
7878         * RowList.[Ch]: new files
7879
7880         * ParagraphList.C (erase): handle the case where it == begin
7881         correctly.
7882
7883 2003-03-25  John Levon  <levon@movementarian.org>
7884
7885         * Makefile.am:
7886         * aspell_local.h:
7887         * aspell.C: add new aspell support
7888
7889         * lyxrc.h:
7890         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7891         have it accessible.
7892
7893 2003-03-25  Angus Leeming  <leeming@lyx.org>
7894
7895         * lfuns.h:
7896         * LyXAction.C (init): new LFUN_INSET_INSERT.
7897
7898         * BufferView_pimpl.C (dispatch): split out part of the
7899         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7900
7901         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7902         LFUN_INSET_APPLY.
7903
7904 2003-03-25  Angus Leeming  <leeming@lyx.org>
7905
7906         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7907
7908 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7909
7910         * text2.C:
7911         * text3.C: remove useless row->height(0)
7912
7913 2003-03-25  John Levon  <levon@movementarian.org>
7914
7915         * lyxtext.h:
7916         * text2.C:
7917         * text3.C: rename the refreshing stuff to better names
7918
7919 2003-03-24  John Levon  <levon@movementarian.org>
7920
7921         * BufferView_pimpl.h:
7922         * BufferView_pimpl.C: update layout choice on a mouse
7923         press/release
7924
7925 2003-03-23  John Levon  <levon@movementarian.org>
7926
7927         * Makefile.am: fix commandtags.h reference
7928
7929 2003-03-22  John Levon  <levon@movementarian.org>
7930
7931         * BufferView_pimpl.C:
7932         * lyxtext.h:
7933         * rowpainter.C:
7934         * rowpainter.h:
7935         * text.C:
7936         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7937
7938 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7939
7940         * lyxtext.h:
7941         * text.C: take the rtl methods out of line
7942
7943 2003-03-21 André Pönitz <poenitz@gmx.net>
7944
7945         * metricsinfo.[Ch]: new files containing structures to be passed around
7946         during the two-phase-drawing...
7947
7948 2003-03-21 André Pönitz <poenitz@gmx.net>
7949
7950         * lyxtextclass.C: read 'environment' tag.
7951
7952 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7953
7954         * text2.C (removeRow): fix bug 964
7955
7956 2003-03-20  John Levon  <levon@movementarian.org>
7957
7958         * rowpainter.C:
7959         * text.C:
7960         * text2.C: paint cleanups. Inset::update() dropped font
7961         parameter
7962
7963 2003-03-19  John Levon  <levon@movementarian.org>
7964
7965         * lyxfunc.C: only fitcursor/markDirty if available()
7966
7967 2003-03-19  John Levon  <levon@movementarian.org>
7968
7969         * commandtags.h: rename to ...
7970
7971         * lfuns.h: ... this, and renumber / cleanup
7972
7973 2003-03-19  John Levon  <levon@movementarian.org>
7974
7975         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7976         fit the cursor after an lfun
7977
7978         * BufferView.h:
7979         * BufferView.C:
7980         * BufferView_pimpl.h:
7981         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7982
7983         * LyXAction.C: layout-character should have ReadOnly
7984
7985         * ParagraphParameters.C:
7986         * buffer.C:
7987         * bufferview_funcs.C:
7988         * lyx_cb.C:
7989         * lyxfind.C:
7990         * lyxtext.h:
7991         * text.C:
7992         * text2.C:
7993         * text3.C:
7994         * undo_funcs.C: changes from above
7995
7996 2003-03-18  John Levon  <levon@movementarian.org>
7997
7998         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7999         remove it from update()
8000
8001         * lyxfunc.C: update layout choice after an lfun
8002
8003         * text3.C: remove extra updateLayoutChoice()s
8004
8005 2003-03-18  John Levon  <levon@movementarian.org>
8006
8007         * text.C: top_y change means full repaint, fix
8008         a drawing bug with cursor movement
8009
8010 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8011
8012         * lyxtext.h:
8013         * text.C:
8014         * text2.C: anchor row on setCursor
8015
8016 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8017
8018         * lyxtext.h: remove almost all mutable keywords
8019         * text.C:
8020         * text2.C:
8021         * text3.C: remove const keywords accordingly
8022
8023 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8024
8025         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8026         anon namespace
8027         (TeXEnvironment): ditto
8028         (TeXOnePar): ditto
8029
8030 2003-03-17  John Levon  <levon@movementarian.org>
8031
8032         * text.C (rowBreakPoint): remove attempt to fix displayed
8033         math insets inside a manual label
8034
8035 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8036
8037         * lyxtext.h: remove BufferView* as first arg from almost all class
8038         functions.
8039         * other files: adjust.
8040
8041 2003-03-17  John Levon  <levon@movementarian.org>
8042
8043         * lyxtext.h:
8044         * undo_funcs.C:
8045         * text2.C: more paint cleanups
8046
8047         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8048
8049         * rowpainter.h:
8050         * rowpainter.C: remove "smart" background painting code
8051
8052 2003-03-16  John Levon  <levon@movementarian.org>
8053
8054         * lyxtext.h:
8055         * text.C:
8056         * text2.C:
8057         * text3.C: add helper functions for setting refresh_row/y
8058
8059 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8060
8061         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8062         newline inset which *can* get inserted in the pass_thru layouts.
8063         This is primarily for literate documents.
8064
8065 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8066
8067         * buffer.C: increment LYX_FORMAT to 223
8068
8069 2003-03-14 André Pönitz <poenitz@gmx.net>
8070
8071         * textclass.h: prepare for environment handling, ws changes
8072         * lyxlayout.C: read latexheader and latexfooter tags
8073
8074 2003-03-14  John Levon  <levon@movementarian.org>
8075
8076         * text2.C: rewrite ::status() a bit
8077
8078 2003-03-13  John Levon  <levon@movementarian.org>
8079
8080         * lyxtext.h: add some docs
8081
8082 2003-03-13  John Levon  <levon@movementarian.org>
8083
8084         * lyxtext.h:
8085         * text.C:
8086         * text2.C:
8087         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8088
8089 2003-03-13  John Levon  <levon@movementarian.org>
8090
8091         * text3.C: fix appendix redrawing
8092
8093 2003-03-13  John Levon  <levon@movementarian.org>
8094
8095         * text.C (setHeightOfRow):
8096         * rowpainter.h:
8097         * rowpainter.C: make appendix mark have the text
8098           "Appendix" so the user knows what it is
8099
8100         * LColor.h:
8101         * LColor.C: s/appendixline/appendix/ from above
8102
8103 2003-03-13  John Levon  <levon@movementarian.org>
8104
8105         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8106
8107         * text.C: fix a getChar(pos) bug properly
8108
8109 2003-03-13  Angus Leeming  <leeming@lyx.org>
8110
8111         * commandtags.h:
8112         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8113         Probably only temporary. Let's see how things pan out.
8114
8115         * BufferView.C (unlockInset):
8116         * BufferView_pimpl.C (fitCursor):
8117         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8118
8119         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8120         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8121
8122         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8123         new functions that convert ParagraphParameters to and from a string.
8124
8125         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8126         BufferView::Pimpl's dispatch.
8127         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8128
8129 2003-03-13 André Pönitz <poenitz@gmx.net>
8130
8131         * lyxfunc.C:
8132         * text3.C:
8133         * factory.C: make it aware of InsetEnv
8134
8135 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * text2.C (setCursor): never ask for one past last
8138         (setCursor): add some debugging messages.
8139
8140         * text.C (singleWidth): never ask for one past last
8141         (singleWidth): ditto
8142         (leftMargin): ditto
8143         (rightMargin): ditto
8144         (rowBreakPoint): ditto
8145         (setHeightOfRow): ditto
8146         (prepareToPrint): ditto
8147
8148         * rowpainter.C (paintBackground): never ask for one past last
8149         (paintText): never ask for one past last
8150
8151         * paragraph_pimpl.C (getChar): make the assert stricter, never
8152         allow the one past last pos to be taken
8153
8154         * paragraph.C (getChar): ws changes only
8155
8156         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8157         (numberOfSeparators): ditto
8158         (numberOfHfills): ditto
8159
8160 2003-03-12  John Levon  <levon@movementarian.org>
8161
8162         * author.h:
8163         * author.C:
8164         * bufferparams.h:
8165         * bufferparams.C:
8166         * paragraph_funcs.C: fix per-buffer authorlists
8167
8168 2003-03-12  John Levon  <levon@movementarian.org>
8169
8170         * text.C: fix newline in right address
8171
8172 2003-03-12  Angus Leeming  <leeming@lyx.org>
8173
8174         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8175         duplicate those in LyXFunc::dispatch.
8176
8177         * commandtags.h:
8178         * LyXAction.C:
8179         * ToolbarDefaults.C:
8180         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8181         Add LFUN_FONTFREE_UPDATE.
8182
8183         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8184         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8185
8186         * bufferview_func.[Ch]: several new functions to facilliate
8187         transfer of data to and from the character dialog.
8188
8189 2003-03-12  John Levon  <levon@movementarian.org>
8190
8191         * buffer.C:
8192         * paragraph.h:
8193         * paragraph.C:
8194         * paragraph_funcs.C:
8195         * paragraph_pimpl.C:
8196         * sgml.C:
8197         * tabular.C:
8198         * text.C:
8199         * text3.C: remove META_NEWLINE in favour of an inset
8200
8201         * rowpainter.h:
8202         * rowpainter.C: remove paintNewline (done by inset)
8203
8204 2003-03-12  John Levon  <levon@movementarian.org>
8205
8206         * paragraph_pimpl.C: complain about bad getChar()s
8207         for a while at least
8208
8209 2003-03-12  John Levon  <levon@movementarian.org>
8210
8211         * buffer.h:
8212         * buffer.C: move paragraph read into a separate function,
8213         a little renaming to reflect that.
8214
8215         * bufferparams.h:
8216         * bufferparams.C: remove the author_ids map, not necessary now
8217
8218         * factory.h:
8219         * factory.C: moved Buffer::readInset to here
8220
8221         * paragraph_funcs.h:
8222         * paragraph_funcs.C: readParagraph free function moved from
8223         buffer.C
8224
8225         * tabular.C: name change
8226
8227 2003-03-12  John Levon  <levon@movementarian.org>
8228
8229         * buffer.C:
8230         * ParagraphParameters.C: move par params input to
8231         a read() method
8232
8233         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8234         behave like a normal read from the stream wrt reading
8235         a line vs. a \\token
8236
8237 2003-03-12  John Levon  <levon@movementarian.org>
8238
8239         * paragraph.C:
8240         * ParagraphParameters.h:
8241         * ParagraphParameters.C: move output code to a
8242         ::write() method
8243
8244 2003-03-12  John Levon  <levon@movementarian.org>
8245
8246         * BufferView.C (insertLyXFile):
8247         * buffer.h:
8248         * buffer.C:
8249         * tabular.C: use a parlist iterator for creating the
8250           document.
8251
8252 2003-03-12  John Levon  <levon@movementarian.org>
8253
8254         * buffer.C: make current_change static local not
8255           static file-scope
8256
8257 2003-03-12  John Levon  <levon@movementarian.org>
8258
8259         * buffer.C: fix insertStringAsLines for change tracking
8260
8261 2003-03-12  John Levon  <levon@movementarian.org>
8262
8263         * BufferView.C:
8264         * tabular.C:
8265         * buffer.h:
8266         * buffer.C:
8267         * bufferparams.h:
8268         * bufferparams.C: move author list into params. Rename some
8269           functions. Move the header reading into a separate token
8270           loop. Move the header token reading into BufferParams.
8271
8272 2003-03-12  John Levon  <levon@movementarian.org>
8273
8274         * changes.C: put debug inside lyxerr.debugging() checks
8275
8276 2003-03-11 André Pönitz <poenitz@gmx.net>
8277
8278         * factory.C: make it aware of InsetHFill
8279
8280 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8281
8282         * buffer.C (latexParagraphs): move function from here...
8283         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8284         args.
8285
8286 2003-03-10  Angus Leeming  <leeming@lyx.org>
8287
8288         * LyXAction.C (init): fix bug in poplating array with multiple entries
8289         with the same LFUN (spotted by JMarc).
8290
8291 2003-03-10  John Levon  <levon@movementarian.org>
8292
8293         * text.C:
8294         * text2.C: move getColumnNearX() near its
8295         only call site
8296
8297 2003-03-10  John Levon  <levon@movementarian.org>
8298
8299         * text.C: fix break before a minipage
8300
8301 2003-03-10  John Levon  <levon@movementarian.org>
8302
8303         * text.C: fix the last commit
8304
8305 2003-03-09  John Levon  <levon@movementarian.org>
8306
8307         * lyxtext.h:
8308         * text.C:
8309         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8310         bug 365 (don't break before insets unless needed). Don't
8311         return a value > last under any circumstances.
8312
8313 2003-03-09  Angus Leeming  <leeming@lyx.org>
8314
8315         * BufferView_pimpl.C (trackChanges, dispatch): call
8316         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8317
8318 2003-03-09  Angus Leeming  <leeming@lyx.org>
8319
8320         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8321         than Dialogs::showAboutlyx().
8322
8323 2003-03-09  Angus Leeming  <leeming@lyx.org>
8324
8325         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8326         than Dialogs::showTabularCreate().
8327
8328 2003-03-09  John Levon  <levon@movementarian.org>
8329
8330         * lyxtext.h:
8331         * text.C:
8332         * text2.C: 3rd arg to nextBreakPoint was always the same.
8333           Use references.
8334
8335 2003-03-08  John Levon  <levon@movementarian.org>
8336
8337         * lyxrow.C:
8338         * paragraph.C:
8339         * paragraph.h:
8340         * rowpainter.C:
8341         * text.C:
8342         * text2.C: Remove the "main" bit from the "main body"
8343           notion.
8344
8345 2003-03-08  John Levon  <levon@movementarian.org>
8346
8347         * text.C (leftMargin): The left margin of an empty
8348         manual label paragraph should not include the label width
8349         string length.
8350
8351         * text.C (prepareToPrint): don't attempt to measure hfills
8352         for empty manual label paragraphs - the answer should be 0
8353
8354 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8355
8356         * CutAndPaste.C: remove commented code and reindent.
8357
8358 2003-03-08  John Levon  <levon@movementarian.org>
8359
8360         * lyxfunc.h:
8361         * lyxfunc.C: move reloadBuffer()
8362
8363         * BufferView.h:
8364         * BufferView.C: to here
8365
8366         * lyxvc.C: add comment
8367
8368         * vc-backend.h:
8369         * vc-backend.C: call bv->reload() to avoid
8370           getStatus() check on MENURELOAD
8371
8372 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8373
8374         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8375         to an old format .dep file.
8376
8377 2003-03-07  Angus Leeming  <leeming@lyx.org>
8378
8379         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8380         when the LFUN_MOUSE_RELEASE should have been handled by
8381         inset->localDispatch.
8382
8383 2003-03-07  Angus Leeming  <leeming@lyx.org>
8384
8385         * BufferView_pimpl.C (dispatch):
8386         * LyXAction.C (init):
8387         * ToolbarDefaults.C (init):
8388         * commandtags.h:
8389         * lyxfunc.C (getStatus):
8390         remove LFUN_INSET_GRAPHICS.
8391
8392         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8393
8394 2003-03-07  Angus Leeming  <leeming@lyx.org>
8395
8396         * commandtags.h:
8397         * LyXAction.C (init):
8398         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8399
8400         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8401
8402         * commandtags.h:
8403         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8404
8405         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8406         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8407
8408 2003-03-07  Angus Leeming  <leeming@lyx.org>
8409
8410         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8411         remove "ert".
8412
8413 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8414
8415         * ParagraphList.C (front): new function
8416         (back): implement
8417
8418 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8419
8420         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8421         and top_row_offset_. removed var first_y.
8422         * text.C (top_y):
8423         * text2.C (LyXText, removeRow):
8424         * text3.C:
8425         * BufferView_pimpl.C:
8426         use these methods instead of using first_y
8427
8428 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8429
8430         * text2.C (pasteSelection): adjust for checkPastePossible
8431
8432         * CutAndPaste.C: remove Paragraph * buf and replace with
8433         ParagraphList paragraphs.
8434         (DeleteBuffer): delete
8435         (cutSelection): change the tc type to textclass_type
8436         (copySelection): change the tc type to textclass_type
8437         (copySelection): adjust for ParagraphList
8438         (pasteSelection): change the tc type to textclass_type
8439         (pasteSelection): adjust for Paragraphlist
8440         (nrOfParagraphs): simplify for ParagraphList
8441         (checkPastePossible): simplify for ParagraphList
8442         (checkPastePossible): remove unused arg
8443
8444         * ParagraphList.C (insert): handle the case where there are no
8445         paragraphs yet.
8446
8447         * CutAndPaste.h: make CutAndPaste a namespace.
8448
8449         * text3.C (dispatch): adjust
8450
8451         * text.C (breakParagraph): add a ParagraphList as arg
8452
8453         * paragraph_funcs.C (breakParagraph): change to take a
8454         BufferParams and a ParagraphList as args.
8455         (breakParagraphConservative): ditto
8456         (mergeParagraph): ditto
8457         (TeXDeeper): add a ParagraphList arg
8458         (TeXEnvironment): ditto
8459         (TeXOnePar): ditto
8460
8461         * buffer.C (readLyXformat2): adjust
8462         (insertStringAsLines): adjust
8463         (latexParagraphs): adjust
8464
8465         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8466         (cutSelection): adjust
8467         (pasteSelection): adjust
8468
8469         * BufferView_pimpl.C (insertInset): adjust
8470
8471 2003-03-05  Angus Leeming  <leeming@lyx.org>
8472
8473         * commandtags.h:
8474         * LyXAction.C (init):
8475         * BufferView_pimpl.C (dispatch):
8476         * lyxfunc.C (getStatus):
8477         remove LFUN_CHILD_INSERT.
8478
8479         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8480
8481 2003-03-05  Angus Leeming  <leeming@lyx.org>
8482
8483         * commandtags.h:
8484         * LyXAction.C (init):
8485         * src/factory.C (createInset):
8486         * lyxfunc.C (getStatus):
8487         * text3.C (dispatch):
8488         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8489
8490         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8491
8492 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * ParagraphList.C (insert): handle insert right before end()
8495         (erase): fix cases where it can be first or last paragraph.
8496
8497 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8500         Paragraph::next and Paragraph::previous
8501         (TeXOnePar): ditto
8502
8503         * text.C (breakParagraph): adjust
8504
8505         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8506         BufferParams& as arg.
8507         (breakParagraph): use ParagraphList::insert
8508         (breakParagraphConservative): take a Buffer* instead of a
8509         BufferParams& as arg.
8510         (breakParagraphConservative): use ParagraphList::insert.
8511
8512         * buffer.C (insertStringAsLines): un-const it
8513         (insertStringAsLines): adjust
8514
8515         * ParagraphList.C (insert): new function
8516
8517         * CutAndPaste.C (pasteSelection): adjust
8518
8519         * text.C (backspace): adjust
8520
8521         * tabular.C (SetMultiColumn): adjust
8522
8523         * CutAndPaste.C (cutSelection): adjust
8524         (pasteSelection): adjust
8525
8526         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8527         Buffer const * as arg
8528
8529         * ParagraphList.C (erase): new function
8530         * paragraph_funcs.C (mergeParagraph): use it
8531         (mergeParagraph): make it take a Buffer* instead of a
8532         BufferParams* as arg
8533
8534         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8535         as arg
8536         (breakParagraphConservative): ditto
8537
8538         * paragraph.h: remove the breakParagraph friend
8539
8540         * paragraph.C (eraseIntern): new function
8541         (setChange): new function
8542
8543         * paragraph_funcs.C (mergeParagraph): make it take a
8544         ParagraphList::iterator instead of a Paragraph *, adjust
8545         accordingly.
8546
8547         * paragraph.h: move an #endif so that the change tracking stuff
8548         also works in the NO_NEXT case.
8549
8550 2003-03-04  Angus Leeming  <leeming@lyx.org>
8551
8552         * commandtags.h:
8553         * LyXAction.C: new LFUN_INSET_MODIFY.
8554
8555         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8556         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8557
8558 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8559
8560         * several files: ws changes only
8561
8562         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8563         (TeXEnvironment): ditto
8564         (TeXDeeper): ditto
8565
8566         * buffer.C (makeLaTeXFile): adjust
8567         (latexParagraphs): make it take ParagraphList::iterator as args
8568
8569 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8570
8571         * buffer.C (latexParagraphs): adjust
8572
8573         * paragraph.C (TeXOnePar): move function...
8574         (optArgInset): move function...
8575         (TeXEnvironment): move function...
8576         * paragraph_pimpl.C (TeXDeeper): move function...
8577         * paragraph_funcs.C: ...here
8578
8579         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8580
8581 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * buffer.C (readInset): remove compability code for old Figure and
8584         InsetInfo insets
8585
8586 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8587
8588         * buffer.C: ws changes
8589         (readInset):
8590
8591         * BufferView_pimpl.C: ditto
8592         * author.C: ditto
8593         * buffer.h: ditto
8594         * bufferlist.h: ditto
8595         * changes.h: ditto
8596         * lyxfunc.C: ditto
8597
8598 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8599
8600         * converter.[Ch]: split into itself +
8601         * graph.[Ch]
8602         * format.[Ch]
8603         * Makefile.am: += graph.[Ch] + format.[Ch]
8604         * MenuBackend.C
8605         * buffer.C
8606         * exporter.C
8607         * importer.C
8608         * lyx_main.C
8609         * lyxfunc.C
8610         * lyxrc.C: added #include "format.h"
8611
8612 2003-02-27  Angus Leeming  <leeming@lyx.org>
8613
8614         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8615           a label.
8616
8617         * factory.C (createInset): add "label" to the factory.
8618
8619         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8620           string and do no more.
8621
8622 2003-02-27  Angus Leeming  <leeming@lyx.org>
8623
8624         * commandtags.h:
8625         * LyXAction.C (init):
8626         * factory.C (createInset):
8627         * BufferView_pimpl.C (dispatch):
8628           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8629
8630         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8631
8632         * lyxfunc.C (dispatch):
8633         * text3.C (dispatch): pass name to params2string.
8634
8635 2003-02-26  Angus Leeming  <leeming@lyx.org>
8636
8637         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8638           blocks together.
8639           Rearrange the ~includes. Strip out the unnecessary ones.
8640
8641         * factory.C (createInset): reformat.
8642           create new insets for the various LFUN_XYZ_APPLY lfuns.
8643
8644 2003-02-26  John Levon  <levon@movementarian.org>
8645
8646         * lyxrow.h:
8647         * lyxrow.C: add isParStart,isParEnd helpers
8648
8649         * paragraph.h: make isInserted/DeletedText take refs
8650
8651         * paragraph_funcs.h:
8652         * paragraph_funcs.C: remove #if 0'd code
8653
8654         * lyxtext.h:
8655         * text3.C:
8656         * text2.C:
8657         * text.C: use lyxrow helpers above.
8658           Move draw and paint routines to RowPainter.
8659           Make several methods use refs not pointers.
8660           Make backgroundColor() const.
8661           Add markChangeInDraw(), isInInset().
8662           Merge changeRegionCase into changeCase.
8663           Make workWidth() shouldn't-happen code into an Assert.
8664
8665         * rowpainter.h:
8666         * rowpainter.C: new class for painting a row.
8667
8668         * vspace.h:
8669         * vspace.C: make inPixels take a ref
8670
8671 2003-02-26  Angus Leeming  <leeming@lyx.org>
8672
8673         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8674         LFUN_REF_APPLY.
8675
8676 2003-02-25  John Levon  <levon@movementarian.org>
8677
8678         * ispell.C: give the forked command a more accurate name
8679
8680 2003-02-22  John Levon  <levon@movementarian.org>
8681
8682         * toc.h:
8683         * toc.C: make TocItem store an id not a Paragraph *
8684           (bug #913)
8685
8686 2003-02-21  Angus Leeming  <leeming@lyx.org>
8687
8688         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8689           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8690           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8691           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8692           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8693           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8694
8695         * BufferView_pimpl.C (dispatch):
8696         * LyXAction.C (init):
8697         * factory.C (createInset):
8698         * lyxfunc.C (getStatus, dispatch):
8699         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8700
8701 2003-02-21  Angus Leeming  <leeming@lyx.org>
8702
8703         * BufferView_pimpl.C (MenuInsertLyXFile):
8704         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8705         * lyxfunc.C (menuNew, open, doImport):
8706           no longer pass a LyXView & to fileDlg.
8707
8708 2003-02-21  Angus Leeming  <leeming@lyx.org>
8709
8710         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8711         * LyXAction.C: change, BIBKEY to BIBITEM.
8712         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8713         Change InsetBibKey to InsetBibitem.
8714         Change BIBKEY_CODE to BIBITEM_CODE.
8715         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8716         * factory.C: replace insetbib.h with insetbibitem.h.
8717         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8718         * paragraph.C: replace insetbib.h with insetbibitem.h.
8719         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8720         Change bibkey() to bibitem().
8721         * text.C: remove insetbib.h.
8722         * text2.C: replace insetbib.h with insetbibitem.h.
8723         change bibkey() to bibitem().
8724         * text3.C: remove insetbib.h.
8725         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8726
8727 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8728
8729         * lyxrc.C (output): enclose user email in quotes (in case there are
8730         several words)
8731
8732 2003-02-18  John Levon  <levon@movementarian.org>
8733
8734         * buffer.h: add std::
8735
8736 2003-02-17  John Levon  <levon@movementarian.org>
8737
8738         * SpellBase.h:
8739         * ispell.h:
8740         * ispell.C:
8741         * pspell.h:
8742         * pspell.C: reworking. Especially in ispell, a large
8743           number of clean ups and bug fixes.
8744
8745         * lyxfunc.C: fix revert to behave sensibly
8746
8747 2003-02-17 André Pönitz <poenitz@gmx.net>
8748
8749         * LyXAction.C:
8750         * commandtags.h: new LFUN_INSERT_BIBKEY
8751
8752         * layout.h:
8753         * lyxlayout.C:
8754         * buffer.C:
8755         * factory.C:
8756         * text.C:
8757         * text2.C:
8758         * text3.C:
8759         * paragraph.[Ch]:
8760         * paragraph_func.C: remove special bibkey handling
8761
8762 2003-02-17  John Levon  <levon@movementarian.org>
8763
8764         * text.C (Delete): fix case where delete at the end of
8765           the very first paragraph would not merge the pars
8766
8767 2003-02-17  John Levon  <levon@movementarian.org>
8768
8769         * lyxrow.C: fix lastPrintablePos()
8770
8771 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8772
8773         * bufferparams.C (writeLaTeX): add a std:here
8774
8775         * buffer.C: and remove a using directive there
8776
8777 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8778
8779         * buffer.C (makeLaTeXFile): move the code that generates the
8780           preamble...
8781
8782         * bufferparams.C (writeLaTeX): ... in this new method
8783
8784         * LaTeXFeatures.C (getEncodingSet): make const
8785           (getLanguages): make const
8786
8787         * MenuBackend.C (binding): returns the binding associated to this
8788           action
8789           (add): sets the status of each item by calling getStatus. Adds
8790           some intelligence.
8791           (read): add support for OptSubMenu
8792           (expand): remove extra separator at the end of expanded menu
8793
8794 2003-02-15  John Levon  <levon@movementarian.org>
8795
8796         * BufferView.C:
8797         * BufferView_pimpl.C:
8798         * bufferlist.h:
8799         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8800           inset code that had no actual effect. Remove unneeded status
8801           code.
8802
8803 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8804
8805         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8806           in preamble
8807
8808 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8809
8810         * text.C (drawLengthMarker): also draw an arrow marker for
8811           symbolic lengths (medskip...)
8812
8813 2003-02-14  John Levon  <levon@movementarian.org>
8814
8815         * tabular.h:
8816         * tabular.C: better method names
8817
8818 2003-02-14  John Levon  <levon@movementarian.org>
8819
8820         * BufferView_pimpl.C:
8821         * bufferlist.C:
8822         * buffer.C:
8823         * converter.C:
8824         * lyx_cb.C:
8825         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8826           it's a more accurate name. Remove some pointless uses.
8827
8828 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8829
8830         * text2.C (LyXText): change order of initilizers to shut off
8831           warnings
8832
8833 2003-02-14  John Levon  <levon@movementarian.org>
8834
8835         * buffer.C: use ParIterator for getParFromID()
8836
8837         * paragraph.h:
8838         * paragraph.C:
8839         * paragraph_pimpl.h:
8840         * paragraph_pimpl.C: remove unused getParFromID()
8841
8842 2003-02-14  John Levon  <levon@movementarian.org>
8843
8844         * buffer.C: remove some very old #if 0'd parse code
8845
8846 2003-02-13  John Levon  <levon@movementarian.org>
8847
8848         * text.h:
8849         * text.C:
8850         * text2.C: move hfillExpansion(), numberOfSeparators(),
8851           rowLast(), rowLastPrintable(), numberofHfills(),
8852           numberOfLabelHfills() ...
8853
8854         * lyxrow.h:
8855         * lyxrow.C: ... to member functions here.
8856
8857         * paragraph.h:
8858         * paragraph.C:
8859         * lyxtext.h:
8860         * text.C: remove LyXText::beginningOfMainBody(), and call
8861           p->beginningOfMainBody() directly. Move the check for
8862           LABEL_MANUAL into the latter.
8863
8864         * text.h:
8865         * text.C:
8866         * text2.C:
8867         * vspace.C:
8868         * BufferView.h:
8869         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8870
8871         * text.h:
8872         * text.C:
8873         * text2.C:
8874         * text3.C:
8875         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8876           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8877
8878 2003-02-13  John Levon  <levon@movementarian.org>
8879
8880         * CutAndPaste.C: remove debug
8881
8882 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8883
8884         * paragraph.C (asString): remove two unused variables
8885
8886         * lyxtextclass.C (readTitleType):
8887           (Read):
8888           (LyXTextClass): handle new members titletype_ and titlename_
8889
8890         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8891
8892 2003-02-09  John Levon  <levon@movementarian.org>
8893
8894         * buffer.h:
8895         * buffer.C: replace hand-coded list with a map for the dep clean
8896
8897 2003-02-08  John Levon  <levon@movementarian.org>
8898
8899         * LaTeX.C: consolidate code into showRunMessage() helper
8900
8901 2003-02-08  John Levon  <levon@movementarian.org>
8902
8903         * lyxfind.C:
8904         * lyxtext.h:
8905         * text2.C:
8906         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8907           and pass the size in explicitly
8908
8909         * BufferView_pimpl.h:
8910         * BufferView_pimpl.C:
8911         * BufferView.h:
8912         * BufferView.C: add getCurrentChange()
8913
8914         * BufferView_pimpl.h:
8915         * BufferView_pimpl.C: handle change lfuns
8916
8917         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8918           for changes. Mark pasted paragraphs as new.
8919
8920         * support/lyxtime.h:
8921         * support/lyxtime.C:
8922         * DepTable.C: abstract time_t as lyx::time_type
8923
8924         * LColor.h:
8925         * LColor.C: add colours for new text, deleted text, changebars
8926
8927         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8928           package use "usenames" option.
8929
8930         * commandtags.h:
8931         * lyxfunc.C:
8932         * LyXAction.C: add change lfuns
8933
8934         * Makefile.am:
8935         * author.h:
8936         * author.C: author handling
8937
8938         * buffer.h:
8939         * buffer.C: add a per-buffer author list, with first entry as
8940           current author. Handle new .lyx tokens for change tracking. Output
8941           author list to .lyx file. Output dvipost stuff to .tex preamble.
8942           Bump lyx format to 222.
8943
8944         * bufferlist.h:
8945         * bufferlist.C: add setCurrentAuthor() to reset current author details
8946           in all buffers.
8947
8948         * bufferparams.h:
8949         * bufferparams.C: add param for tracking
8950
8951         * bufferview_funcs.C: output change info in minibuffer
8952
8953         * Makefile.am:
8954         * changes.h:
8955         * changes.C: add change-tracking structure
8956
8957         * debug.h:
8958         * debug.C: add CHANGES debug flag
8959
8960         * lyxfind.h:
8961         * lyxfind.C: add code for finding the next change piece
8962
8963         * lyxrc.h:
8964         * lyxrc.C: add user_name and user_email
8965
8966         * lyxrow.h:
8967         * lyxrow.C: add a metric for the top of the text line
8968
8969         * lyxtext.h:
8970         * text.C: implement accept/rejectChange()
8971
8972         * lyxtext.h:
8973         * text.C: paint changebars. Paint new/deleted text in the chosen
8974         colours. Strike through deleted text.
8975
8976         * paragraph.h:
8977         * paragraph.C:
8978         * paragraph_pimpl.h:
8979         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8980           in the current change to the insert functions. Rework erase to
8981           mark text as deleted, adding an eraseIntern() and a range-based
8982           erase(). Implement per-paragraph change lookup and
8983           accept/reject.
8984
8985         * paragraph_funcs.C: Fixup paste for change tracking.
8986
8987         * tabular.C: mark added row/columns as new.
8988
8989         * text.C: fix rowLast() to never return -1. Don't allow
8990           spellchecking of deleted text. Track transpose changes. Don't
8991           allow paragraph break or merge where appropriate.
8992
8993         * text2.C: leave cursor at end of selection after a cut.
8994
8995 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8996
8997         * text.C (getLengthMarkerHeight):
8998         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8999         visible on screen too.
9000
9001 2003-02-07  John Levon  <levon@movementarian.org>
9002
9003         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9004
9005 2003-02-05  Angus Leeming  <leeming@lyx.org>
9006
9007         * lyxserver.C (read_ready): revert my patch of 11 September last year
9008         as it sends PC cpu through the roof. Presumably this means that
9009         the lyxserver will no longer run on an Alpha...
9010
9011 2003-01-30  Angus Leeming  <leeming@lyx.org>
9012
9013         * factory.C (createInset): create an InsetCommandParam of type "index"
9014         and use it to 'do the right thing'.
9015
9016         * text2.C (getStringToIndex): ensure that cursor position is always
9017         reset to the reset_cursor position.
9018
9019 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9020
9021         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9022         disabled.
9023
9024 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9025
9026         * bufferview.C:
9027         * lyxcb.C:
9028         * lyxfunc.C: Output messages with identical spelling, punctuation,
9029         and spaces
9030
9031 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9032
9033         * MenuBackend.C (expandFormats): List only viewable export formats
9034         in "View" menu
9035
9036         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9037         message
9038
9039         * lyxfunc.C (getStatus): Make sure that formats other than
9040         "fax" can also be disabled
9041
9042 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9043
9044         * text3.C (dispatch): put the lfuns that insert insets in 3
9045         groups, and call doInsertInset with appropriate arguments.
9046         (doInsertInset): new function, that creates an inset and inserts
9047         it according to some boolean parameters.
9048
9049 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9050
9051         * buffer.C (readFile): remember to pass on 'par' when calling
9052         readFile recursively.
9053
9054 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9055
9056         * MenuBackend.C (expandFormats): add "..." to import formats.
9057
9058 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9059
9060         * paragraph.C (asString): Remove XForms RTL hacks.
9061
9062 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9063         * buffer.C: fix typo
9064
9065 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9066
9067         * Makefile.am (LIBS): delete var
9068         (lyx_LDADD): add @LIBS@ here instead.
9069
9070 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9071
9072         * Clarify the meaning of "wheel mouse jump"
9073
9074 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9075
9076         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9077         tabular in a float
9078
9079 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9080
9081         * importer.C (Loaders): do not preallocate 3 elements in the
9082         vector, since one ends up with 6 elements otherwise
9083
9084 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9085
9086         * DepTable.C (write): write the file name as last element of the
9087         .dep file (because it may contain spaces)
9088         (read): read info in the right order
9089
9090 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9091
9092         * paragraph_pimpl.C (simpleTeXBlanks):
9093         (simpleTeXSpecialChars):
9094         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9095
9096         * tabular.C (latex): add some missing case statements. Reindent.
9097
9098         * MenuBackend.C (expandToc): remove unused variable.
9099
9100 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9101
9102         * LColor.C:
9103         * LaTeX.C:
9104         * LyXAction.C:
9105         * MenuBackend.C:
9106         * buffer.C:
9107         * exporter.C:
9108         * lyxfunc.C:
9109         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9110         and the like.
9111
9112 2003-01-05  John Levon  <levon@movementarian.org>
9113
9114         * BufferView.h:
9115         * BufferView.C: add getEncoding()
9116
9117         * kbsequence.h:
9118         * kbsequence.C: do not store last keypress
9119
9120         * lyxfunc.h:
9121         * lyxfunc.C: store last keypress here instead. Pass encoding
9122           to getISOEncoded()
9123
9124 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9125
9126         * lyx_main.C (init): remove annoying error message when following
9127         symbolic links (bug #780)
9128
9129 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9130
9131         * text.C (insertChar):
9132         * lyxrc.C (getDescription): remove extra spaces
9133
9134 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9135
9136         * lyxrc.C (getDescription): remove extra spaces
9137
9138 2002-12-20  John Levon  <levon@movementarian.org>
9139
9140         * text3.C: hack fix for page up/down across tall rows
9141
9142 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9143
9144         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9145         not been invoked
9146
9147 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9148
9149         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9150         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9151         thesaurus is not compiled in
9152
9153 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9154
9155         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9156
9157 2002-12-16  Angus Leeming  <leeming@lyx.org>
9158
9159         * lyxrc.[Ch]:
9160         * lyx_main.C (init): remove override_x_deadkeys stuff.
9161
9162 2002-12-12  John Levon  <levon@movementarian.org>
9163
9164         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9165           insert. Only remove shift modifier under strict
9166           circumstances.
9167
9168 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9169
9170         * MenuBackend.C (expandToc): fix crash.
9171
9172 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9173
9174         * MenuBackend.C (expandToc): gettext on float names.
9175
9176 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9177
9178         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9179         implement bool empty() [bug 490]
9180
9181 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9182
9183         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9184
9185 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9186
9187         * several files: ws changes
9188
9189 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9190
9191         * text2.C (setCounter): clean up a bit, use boost.format.
9192         (updateCounters): initialize par upon declaration.
9193
9194         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9195         if the layout exists. We do not just store the layout any more.
9196         (SwitchLayoutsBetweenClasses): use boost.format
9197
9198 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9199
9200         * converter.C (convert): if from and to files are the same, use a
9201         temporary files as intermediary
9202
9203 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9204
9205         * commandtags.h:
9206         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9207
9208 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9209
9210         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9211
9212 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9213
9214         * tabular.C (asciiPrintCell): use string(size, char) instead of
9215         explicit loop.
9216
9217         * sgml.C (openTag): fix order of arguments to string constructor
9218         (closeTag): ditto
9219
9220         * lyxfunc.C (dispatch): use boost.format
9221
9222         * lots of files: change "c" -> 'c'
9223
9224 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9225
9226         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9227
9228 2002-11-25  Angus Leeming  <leeming@lyx.org>
9229
9230         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9231
9232         * lyx_main.C (init): compile fix.
9233
9234 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9235
9236         * lyx_cb.C (start): boost.formatify
9237         do not include <iostream>
9238
9239         * lengthcommon.C: ws only
9240
9241         * boost-inst.C,BoostFormat.h: add more explict instantations
9242
9243 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9244
9245         * lots of files: handle USE_BOOST_FORMAT
9246
9247 2002-11-21  John Levon  <levon@movementarian.org>
9248
9249         * pspell.C: fix compile
9250
9251 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9252
9253         * lyxfunc.C (dispatch): use boost::format
9254         (open): ditto
9255         (doImport): ditto
9256
9257         * lyxfont.C (stateText): use boost::format
9258
9259         * lyx_main.C (LyX): use boost::format
9260         (init): ditto
9261         (queryUserLyXDir): ditto
9262         (readRcFile): ditto
9263         (parse_dbg): ditto
9264         (typedef boost::function): use the recommened syntax.
9265
9266         * importer.C (Import): use boost::format
9267
9268         * debug.C (showLevel): use boost::format
9269
9270         * converter.C (view): use boost::format
9271         (convert): ditto
9272         (move): ditto
9273         (scanLog): ditto
9274
9275         * bufferview_funcs.C (currentState): use boost::format
9276
9277         * bufferlist.C (emergencyWrite): use boost::format
9278
9279         * buffer.C (readLyXformat2): use boost::format
9280         (parseSingleLyXformat2Token): ditto
9281
9282         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9283
9284         * LaTeX.C (run): use boost::format
9285
9286         * Chktex.C (scanLogFile): use boost::format
9287
9288         * BufferView_pimpl.C (savePosition): use boost::format
9289         (restorePosition): ditto
9290         (MenuInsertLyXFile): ditto
9291
9292         * BoostFormat.h: help file for explicit instation.
9293
9294 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9295
9296         * tabular.C (latex): Support for block alignment in fixed width
9297         columns.
9298
9299 2002-11-17  John Levon  <levon@movementarian.org>
9300
9301         * BufferView_pimpl.C:
9302         * lyx_cb.C:
9303         * lyxfunc.C: split filedialog into open/save
9304
9305 2002-11-08  Juergen Vigna  <jug@sad.it>
9306
9307         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9308         by my last patch (hopefully).
9309
9310 2002-11-08  John Levon  <levon@movementarian.org>
9311
9312         * iterators.h:
9313         * iterators.C:
9314         * buffer.h:
9315         * buffer.C:
9316         * paragraph.h:
9317         * paragraph.C:
9318         * toc.h:
9319         * toc.C: ParConstIterator, and use it (from Lars)
9320
9321 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9322
9323         * lyxtextclass.[Ch]: revise and add doxygen comments
9324
9325 2002-11-07  John Levon  <levon@movementarian.org>
9326
9327         * text.C: fix progress value for spellchecker
9328
9329         * toc.C: fix navigate menu for insetwrap inside minipage
9330
9331         * paragraph_funcs.C: added FIXME for suspect code
9332
9333 2002-11-07  John Levon  <levon@movementarian.org>
9334
9335         * BufferView_pimpl.C: fix redrawing of insets
9336           on buffer switch
9337
9338 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9339
9340         * text2.C (updateCounters): fix bug 668
9341
9342 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9343
9344         * text3.C (dispatch): Do not make the buffer dirty when moving the
9345         cursor.
9346
9347 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9348
9349         * vc-backend.C: STRCONV
9350         (scanMaster): ditto
9351
9352         * text2.C (setCounter): STRCONV
9353
9354         * paragraph.C (asString): STRCONV
9355
9356         * lyxlength.C (asString): STRCONV
9357         (asLatexString): ditto
9358
9359         * lyxgluelength.C (asString): STRCONV
9360         (asLatexString): ditto
9361
9362         * lyxfunc.C (dispatch): STRCONV
9363         (open): ditto
9364
9365         * lyxfont.C (stateText): STRCONV
9366
9367         * importer.C (Import): STRCONV
9368
9369         * counters.C (labelItem): STRCONV
9370         (numberLabel): ditto
9371         (numberLabel): remove unused ostringstream o
9372
9373         * chset.C: STRCONV
9374         (loadFile): ditto
9375
9376         * bufferview_funcs.C (currentState): STRCONV
9377
9378         * buffer.C (readFile): STRCONV
9379         (asciiParagraph): ditto
9380         (makeLaTeXFile): ditto
9381
9382         * Spacing.C (writeEnvirBegin): STRCONV
9383
9384         * LaTeXFeatures.C (getLanguages): STRCONV
9385         (getPackages): ditto
9386         (getMacros): ditto
9387         (getBabelOptions): ditto
9388         (getTClassPreamble): ditto
9389         (getLyXSGMLEntities): ditto
9390         (getIncludedFiles): ditto
9391
9392         * LaTeX.C: STRCONV
9393         (run): ditto
9394         (scanAuxFile): ditto
9395         (deplog): ditto
9396
9397         * LString.h: add the STRCONV macros
9398
9399         * BufferView_pimpl.C (savePosition): STRCONV
9400         (restorePosition): ditto
9401         (MenuInsertLyXFile): ditto
9402
9403         * vc-backend.C (scanMaster): change from submatch[...] to
9404         submatch.str(...)
9405
9406         * funcrequest.C: include config.h
9407
9408         * factory.C: include config.h
9409
9410         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9411
9412         * box.C: include config.h
9413
9414         * LaTeX.C (scanAuxFile): change from submatch[...] to
9415         submatch.str(...)
9416         (deplog): ditto
9417
9418 2002-10-25  Angus Leeming  <leeming@lyx.org>
9419
9420         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9421
9422         * ispell.[Ch] (setError): new method.
9423         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9424         Use setError() insetead of goto END.
9425
9426         * lyx_cb.C (AutoSave): move out child process into new class
9427         AutoSaveBuffer.
9428
9429 2002-10-30  John Levon  <levon@movementarian.org>
9430
9431         * text3.C: make start appendix undoable
9432
9433 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9434
9435         * lyxlength.C (inPixels): Fix returned value.
9436
9437         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9438         environment.
9439
9440 2002-10-24  Angus Leeming  <leeming@lyx.org>
9441
9442         * lyxgluelength.h: no need to forward declare BufferParams
9443         or BufferView, so don't.
9444
9445 2002-10-21  John Levon  <levon@movementarian.org>
9446
9447         * BufferView.C: menuUndo ->undo, redo
9448
9449         * BufferView.h: document, remove dead, make some methods private
9450
9451         * paragraph_funcs.h:
9452         * paragraph_funcs.C:
9453         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9454
9455         * buffer.h:
9456         * buffer.C:
9457         * sgml.h:
9458         * sgml.C: move sgml open/close tag into sgml.C
9459
9460         * bufferview_funcs.h: unused prototype
9461
9462         * lyxfunc.h:
9463         * lyxfunc.C: remove unused
9464
9465         * lyxtext.h:
9466         * text.C: remove unused
9467
9468 2002-10-21  John Levon  <levon@movementarian.org>
9469
9470         * BufferView.h:
9471         * BufferView.C:
9472         * BufferView_pimpl.h:
9473         * BufferView_pimpl.C: fix mouse wheel handling based on
9474           patch from Darren Freeman
9475
9476 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9477
9478         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9479
9480 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9481
9482         * lyxlength.C (inPixels): Fix hanfling of negative length.
9483         Fix LyXLength::MU case.
9484
9485 2002-10-16  John Levon  <levon@movementarian.org>
9486
9487         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9488
9489 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9490
9491         * converter.C (view): add support for $$i (file name) and $$p
9492         (file path) for the viewer command. If $$i is not specified, then
9493         it is appended to the command (for compatibility with old syntax)
9494
9495 2002-10-14  Juergen Vigna  <jug@sad.it>
9496
9497         * undo_funcs.C (textHandleUndo): alter the order in which the
9498         new undopar is added to the LyXText, as we have to set first
9499         the right prev/next and then add it as otherwise the rebuild of
9500         LyXText is not correct. Also reset the cursor to the right paragraph,
9501         with this IMO we could remove the hack in "redoParagraphs()".
9502
9503 2002-10-09  Angus Leeming  <leeming@lyx.org>
9504
9505         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9506         to turn off an optimisation if a new inset is to be inserted.
9507
9508 2002-10-11 André Pönitz <poenitz@gmx.net>
9509
9510         * lyxtext.h: make some functions public to allow access
9511         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9512
9513 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9514
9515         * text3.C (dispatch): when changing layout, avoid an infinite loop
9516         [bug #652]
9517
9518 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9519
9520         * lyxrc.C (read): treat a viewer or converter command of "none" as
9521         if it were empty.
9522
9523         * MenuBackend.C (expandFormats): for an update, also allow the
9524         formats that are not viewable
9525
9526         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9527         script if it is newer than the lyxrc.defaults in user directory
9528
9529 2002-10-07 André Pönitz <poenitz@gmx.net>
9530
9531         * text.C: Vitaly Lipatov's small i18n fix
9532
9533 2002-09-25  Angus Leeming  <leeming@lyx.org>
9534
9535         * ispell.h: doxygen fix.
9536
9537 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9538
9539         * buffer.h (readFile): Add a new argument to the method, to allow
9540         reading of old-format templates.
9541
9542 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9543
9544         * toc.C (getTocList): Get TOC from InsetWrap.
9545
9546 2002-09-16  John Levon  <levon@movementarian.org>
9547
9548         * lyxfunc.C: check tabular for cut/copy too
9549
9550 2002-09-12  John Levon  <levon@movementarian.org>
9551
9552         * LyXAction.C: tidy
9553
9554         * factory.h:
9555         * factory.C: add header
9556
9557         * paragraph_funcs.h:
9558         * paragraph_funcs.C: cleanup
9559
9560 2002-09-11  John Levon  <levon@movementarian.org>
9561
9562         * PrinterParams.h: odd/even default to true
9563
9564 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9565
9566         * PrinterParams.h: update printer parameters for new xforms dialog
9567
9568 2002-09-11  Angus Leeming  <leeming@lyx.org>
9569
9570         * lyxserver.C (read_ready): re-write to make it more transparent
9571         and to make it work in coherent fashion under Tru64 Unix.
9572
9573 2002-09-11  André Pönitz <poenitz@gmx.net>
9574
9575         * commandtags.h:
9576         * LyXAction.C:
9577         * text3.C: implement LFUN_WORDSEL
9578
9579 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9580
9581         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9582         make floatlist_ a boost::shared_ptr<FloatList>
9583
9584         * lyxtextclass.C: include FloatList.h
9585         (LyXTextClass): initialize floatlist_
9586         (TextClassTags): add TC_NOFLOAT
9587         (Read): match "nofloat" to TC_NOFLOAT and use it.
9588         (readFloat): modify call to floatlist_
9589         (floats): ditto
9590         (floats): ditto
9591
9592         * FloatList.[Ch] (FloatList): remove commented out float
9593         initialization.
9594         (erase): new function
9595
9596 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9597
9598         * MenuBackend.C (expandToc): fix crash when there is no document
9599         open
9600
9601 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9602
9603         * many files: Add insetwrap.
9604
9605 2002-09-09  John Levon  <levon@movementarian.org>
9606
9607         * text2.C: remove confusing and awkward depth wraparound
9608
9609 2002-09-09  John Levon  <levon@movementarian.org>
9610
9611         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9612
9613         * buffer.h:
9614         * buffer.C: remove getIncludeonlyList()
9615
9616         * paragraph.C:
9617         * lyxfunc.C: remove headers
9618
9619 2002-09-09  Juergen Vigna  <jug@sad.it>
9620
9621         * text.C (getColumnNearX): fix form Michael this is most
9622         probably a cut&paste bug.
9623
9624 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9625
9626         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9627
9628         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9629         references, ws changes.
9630
9631         * text2.C (init): update counters after init
9632         (insertParagraph): no need to set counter on idividual paragraphs.
9633         (setCounter): access the counters object in the textclass object
9634         on in the buffer object.
9635         (updateCounters): ditto
9636
9637         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9638         shared_ptr<Counters> to avoid loading counters.h in all
9639         compilation units.
9640         (LyXTextClass): initialize ctrs_
9641         (TextClassTags): add TC_COUNTER, and ...
9642         (Read): use it here.
9643         (CounterTags): new tags
9644         (readCounter): new function
9645         (counters): new funtion
9646         (defaultLayoutName): return a const reference
9647
9648         * counters.C (Counters): remove contructor
9649         (newCounter): remove a couple of unneeded statements.
9650         (newCounter): simplify a bit.
9651         (numberLabel): some small formatting changes.
9652
9653         * buffer.[Ch]: remove all traces of counters, move the Counters
9654         object to the LyXTextClass.
9655
9656 2002-09-06  Alain Castera  <castera@in2p3.fr>
9657
9658         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9659         package to set the horizontal alignment on fixed width columns.
9660
9661         * lyx_sty.C:
9662         * lyx_sty.h: added tabularnewline macro def.
9663
9664         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9665
9666 2002-09-06  John Levon  <levon@movementarian.org>
9667
9668         * LyXAction.C: tooltips for sub/superscript
9669
9670         * MenuBackend.C: a bit more verbose
9671
9672         * lyxfunc.C: tiny clean
9673
9674         * undo_funcs.C: document undo_frozen
9675
9676 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9677
9678         * counters.C (Counters): add missing algorithm counter.
9679
9680         * text2.C (setCounter): lookup the counter with layouts latexname
9681         instead of by section number.
9682         (setCounter): use a hackish way to lookup the correct enum
9683         counter.
9684         a float name->type change
9685         reset enum couners with counter name directly instead of depth value.
9686
9687         * counters.C (Counters): remove the push_backs, change to use the
9688         float type not the float name.
9689         (labelItem): remove unused string, float name->type change
9690
9691         * counters.h: don't include vector, loose the enums and sects vectors
9692
9693 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9694
9695         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9696         (Read): add float->TC_FLOAT to textclassTags
9697         (Read): and handle it in the switch
9698         (readFloat): new function
9699
9700         * FloatList.C (FloatList): comment out the hardcoded float
9701         definitions.
9702
9703         * lyxlayout.h: ws change.
9704
9705 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9706
9707         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9708
9709 2002-09-03  Angus Leeming  <leeming@lyx.org>
9710
9711         * BufferView_pimpl.h: qualified name is not allowed in member
9712         declaration: WorkArea & Pimpl::workarea() const;
9713
9714         * factory.C: added using std::endl directive.
9715
9716         * text3.C: added using std::find and std::vector directives.
9717
9718 2002-08-29  André Pönitz <poenitz@gmx.net>
9719
9720         * lyxtext.h:
9721         * text2.C: remove unused member number_of_rows
9722
9723         * Makefile.am:
9724         * BufferView2.C: remove file, move contents to...
9725         * BufferView.C: ... here
9726
9727         * BufferView_pimpl.C:
9728         * factory.C: move more inset creation to factory
9729
9730         * vspace.C: avoid direct usage of LyXText, ws changes
9731
9732         * BufferView.[Ch]:
9733                 don't provide direct access to WorkArea, use two simple
9734                 acessors haveSelction() and workHeight() instead
9735
9736
9737 2002-08-29  John Levon  <levon@movementarian.org>
9738
9739         * BufferView_pimpl.C (dispatch): do not continue when
9740           no buffer
9741
9742 2002-08-28  André Pönitz <poenitz@gmx.net>
9743
9744         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9745
9746         * BufferView.h:
9747         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9748
9749 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9750
9751         * buffer.C: increment LYX_FORMAT to 221
9752
9753         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9754         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9755
9756         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9757
9758         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9759
9760 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9761
9762         * factory.C (createInset): use LyXTextClass::floats
9763
9764         * MenuBackend.C (expandFloatListInsert):
9765         (expandFloatInsert):
9766         (expandToc):
9767
9768         * text2.C (setCounter):
9769
9770         * LaTeXFeatures.C (useFloat):
9771         (getFloatDefinitions):
9772
9773         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9774
9775         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9776         floatlist_, with accessor floats().
9777
9778         * FloatList.h: remove global FloatList
9779
9780 2002-08-26  André Pönitz <poenitz@gmx.net>
9781
9782         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9783
9784         * BufferView.h:
9785         * BufferView2.C:
9786         * BufferView_pimpl.C:
9787         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9788
9789 2002-08-25  John Levon  <levon@movementarian.org>
9790
9791         * LyXAction.C: fix margin note description
9792
9793 2002-08-24  John Levon  <levon@movementarian.org>
9794
9795         * buffer.C:
9796         * bufferlist.C:
9797         * bufferview_funcs.C:
9798         * lyxfont.C:
9799         * undo_funcs.C: cleanups
9800
9801         * lyxfunc.C: disable CUT/COPY when no selection
9802
9803 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9804
9805         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9806         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9807
9808         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9809         Add backward compatibility to "mono", "gray" and "no".
9810
9811 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9812
9813         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9814         (and file_format >= 200).
9815
9816 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9817
9818         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9819
9820 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9821
9822         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9823
9824 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9825
9826         * BufferView_pimpl.C:
9827         * LyXAction.C:
9828         * buffer.C:
9829         * commandtags.h:
9830         * lyxfunc.C:
9831         * paragraph.[Ch]:
9832         * text2.C:
9833         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9834         inset and code to make it  work with the paragraph code. The inset
9835         can be anywhere in the paragraph, but will only do the expected
9836         thing in LaTeX if the layout file contains the parameter line
9837                         OptionalArgs    1
9838         (or more generally, a nonzero value) for that layout.
9839
9840 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9841
9842         * paragraph.h: remove the declaration of undefined counters class
9843         function.
9844
9845 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9846
9847         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9848         Dr. Richard Hawkins.
9849
9850 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9851
9852         * paragraph_funcs.h: remove some unneeded includes
9853
9854         * text.C (backspace): pasteParagraph now in global scipe
9855
9856         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9857         (pasteSelection): ditto
9858
9859         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9860         * paragraph_funcs.C (pasteParagraph): ... here
9861
9862 2002-08-20  André Pönitz <poenitz@gmx.net>
9863
9864         * commandtags.h: new LFUNs for swapping/copying table row/colums
9865
9866         * LyXAction.C:
9867         * lyxfunc.C: support for new lfuns
9868
9869 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9870
9871         * tabular.C:
9872         * buffer.[Ch]: remove NO_COMPABILITY stuff
9873
9874 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9875
9876         * boost.C (throw_exception): new file, with helper function for
9877         boost compiled without exceptions.
9878
9879         * paragraph.h:
9880         * lyxlength.C:
9881         * buffer.C:
9882         * ParameterStruct.h:
9883         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9884
9885         * bufferlist.C (emergencyWriteAll): use boost bind
9886
9887         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9888
9889         * text.C: include paragraph_funcs.h
9890         (breakParagraph): breakParagraph is now in global scope
9891
9892         * paragraph_funcs.[Ch]: new files
9893
9894         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9895         global scope
9896
9897         * buffer.C: include paragraph_funcs.h
9898         (insertStringAsLines): breakParagraph is now in global scope
9899
9900         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9901         paragraph_funcs.C
9902
9903         * CutAndPaste.C: include paragraph_funcs.h
9904         (cutSelection): breakParagraphConservative is now in global scope
9905         (pasteSelection): ditto
9906
9907         * buffer.h: declare oprator== and operator!= for
9908         Buffer::inset_iterator
9909
9910         * bufferlist.C (emergencyWrite): don't use fmt(...)
9911
9912         * text3.C: add using std::endl
9913
9914         * BufferView.C (moveCursorUpdate): remove default arg
9915
9916 2002-08-20  André Pönitz <poenitz@gmx.net>
9917
9918         * buffer.[Ch]: move inline functions to .C
9919
9920         * BufferView2.C:
9921         * BufferView_pimpl.C:
9922         * text.C:
9923         * buffer.[Ch]: use improved inset_iterator
9924
9925         * buffer.C:
9926         * paragraph.[Ch]: write one paragraph at a time
9927
9928 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9929
9930         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9931         style if style is not specified.
9932
9933 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9934
9935         * text2.C (setCounter): when searching for right label for a
9936         caption, make sure to recurse to parent insets (so that a caption
9937         in a minipage in a figure float works) (bug #568)
9938
9939 2002-08-20  André Pönitz <poenitz@gmx.net>
9940
9941         * text3.C: new file for LyXText::dispatch() and helpers
9942
9943         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9944
9945         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9946
9947 2002-08-19  André Pönitz <poenitz@gmx.net>
9948
9949         * lyxtext.h:
9950         * text.C: new LyXText::dispatch()
9951
9952         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9953
9954 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9955
9956         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9957
9958         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9959         Hebrew text.
9960
9961 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9962
9963         * Makefile.am: use $(variables) instead of @substitutions@
9964
9965 2002-08-15  André Pönitz <poenitz@gmx.net>
9966
9967         * lyxfunc.C:
9968         * BufferView_pimpl.C: streamlining mathed <-> outer world
9969         interaction
9970
9971         * commandtags.h:
9972         * LyXAction.C: remove unused LFUN_MATH
9973
9974 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9975
9976         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9977
9978 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9979
9980         * paragraph.C (Paragraph): reformat a bit
9981         (cutIntoMinibuffer): use builtin InsetList function instad of
9982         doing it manually.
9983         (getInset): ditto
9984
9985         * buffer.C: include boost/bind.hpp, add using std::for_each
9986         (writeFileAscii): use ParagraphList iterators
9987         (validate): use for_each for validate traversal of paragraphs
9988         (getBibkeyList): use ParagraphList iterators
9989         (resizeInsets): use for_each to resizeInsetsLyXText for all
9990         paragraphs.
9991         (getParFromID): use ParagraphList iterators
9992
9993         * BufferView2.C (lockInset): use paragraph list and iterators
9994
9995 2002-08-14  John Levon  <levon@movementarian.org>
9996
9997         * lyxserver.C: remove spurious xforms include
9998
9999 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10000
10001         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10002
10003 2002-08-13  André Pönitz <poenitz@gmx.net>
10004
10005         * LyXAction.[Ch]:
10006         * lyxfunc.C: further cleaning
10007
10008 2002-08-13  André Pönitz <poenitz@gmx.net>
10009
10010         * funcrequest.h: new constructor
10011
10012         * funcrequest.C: move stuff here from .h
10013
10014         * Makefile.am:
10015         * BufferView_pimpl.C:
10016         * LyXAction.C:
10017         * toc.C:
10018         * lyxfunc.C: subsequent changes
10019
10020         * lyxfunc.h: new view() member function
10021
10022         * lyxfunc.C: subsequent changes
10023
10024 2002-08-13  Angus Leeming  <leeming@lyx.org>
10025
10026         * BufferView2.C:
10027         * BufferView_pimpl.C:
10028         * buffer.C:
10029         * converter.C:
10030         * importer.C:
10031         * lyxfunc.C:
10032         * lyxvc.C:
10033         * toc.C:
10034         * vc-backend.C:
10035         changes due to the changed LyXView interface that now returns references
10036         to member variables not pointers.
10037
10038 2002-08-13  Angus Leeming  <leeming@lyx.org>
10039
10040         * WordLangTuple (word, lang_code): return references to strings,
10041         not strings.
10042
10043         * BufferView.h:
10044         * SpellBase.h:
10045         * lyxtext.h: forward-declare WordLangTuple.
10046
10047         * BufferView2.C:
10048         * ispell.C:
10049         * pspell.C:
10050         * text.C: #include "WordLangTuple.h".
10051
10052         * lyxtext.h:
10053         * text.C: (selectNextWordToSpellcheck): constify return type.
10054
10055 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10056
10057         * buffer.C:
10058         * buffer.h:
10059         * lyxtext.h:
10060         * paragraph.C:
10061         * paragraph_pimpl.h:
10062         * text.C:
10063         * text2.C:
10064         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10065         suggested by Angus.
10066         Made updateCounter always count from start of buffer, and removed
10067         second argument (par).
10068         Reverted floats number display to '#'. Perhaps I'll try again when the
10069         code base is sanitized a bit.
10070
10071 2002-08-12  Angus Leeming  <leeming@lyx.org>
10072
10073         * buffer.[Ch] (getLabelList): constify.
10074
10075 2002-08-07  André Pönitz <poenitz@gmx.net>
10076
10077         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10078
10079         * funcrequest.h: extension to keep mouse (x,y) position
10080
10081 2002-08-12  Juergen Vigna  <jug@sad.it>
10082
10083         * BufferView2.C (insertErrors): forbid undo when inserting error
10084         insets.
10085
10086         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10087
10088 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10089
10090         * ParagraphList.[Ch]: new files
10091
10092         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10093
10094         * BufferView2.C (lockInset): ParagraphList changes
10095         * toc.C: ditto
10096         * text2.C: ditto
10097         * bufferlist.C: ditto
10098         * buffer.h: ditto
10099         * buffer.C: ditto
10100
10101 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10102
10103         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10104         unused class variable counter_,
10105
10106         * paragraph.[Ch] (getFirstCounter): delete unused function
10107
10108         * counters.C: include LAssert.h
10109         (reset): add a new function with no arg, change other version to
10110         not have def. arg and to not allow empty arg.
10111
10112         * text2.C (setCounter): remove empty arg from call to Counters::reset
10113
10114 2002-08-11  John Levon  <levon@movementarian.org>
10115
10116         * Makefile.am: add WordLangTuple.h
10117
10118 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10119
10120         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10121         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10122
10123         * insets/insettext.C: InsetList changes
10124
10125         * graphics/GraphicsSupport.C (operator()): InsetList changes
10126
10127         * toc.C (getTocList): InsetList changes
10128
10129         * paragraph_pimpl.[Ch]: InsetList changes
10130
10131         * paragraph.[Ch]: InsetList changes
10132
10133         * buffer.C (inset_iterator): InsetList changes
10134         (setParagraph): ditto
10135         * buffer.h (inset_iterator): ditto
10136         * iterators.C (operator++): ditto
10137         * iterators.h: ditto
10138
10139         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10140
10141         * InsetList.[Ch]: new files, most InsetList handling moved out of
10142         paragraph.C.
10143
10144         * BufferView2.C (removeAutoInsets): InsetList changes
10145         (lockInset): ditto
10146         (ChangeInsets): ditto
10147
10148 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10149
10150         * paragraph_pimpl.h (empty): new function
10151
10152         * paragraph.[Ch] (empty): new function
10153
10154         * other files: use the new Paragraph::empty function
10155
10156 2002-08-09  John Levon  <levon@movementarian.org>
10157
10158         * lyxtext.h: remove unused refresh_height
10159
10160 2002-08-09  John Levon  <levon@movementarian.org>
10161
10162         * Makefile.am:
10163         * sgml.h:
10164         * sgml.C:
10165         * buffer.C:
10166         * paragraph.h:
10167         * paragraph.C: move sgml char escaping out of paragraph
10168
10169         * paragraph.h:
10170         * paragraph.C: remove id setter
10171
10172         * buffer.C:
10173         * paragraph.C:
10174         * paragraph_pimpl.C: remove dead tex_code_break_column
10175
10176         * bufferview_funcs.C: small cleanup
10177
10178         * lyxfunc.C: remove dead proto
10179
10180         * lyxtext.h: make some stuff private. Remove some dead stuff.
10181
10182         * lyxgluelength.C: make as[LyX]String() readable
10183
10184 2002-08-08  John Levon  <levon@movementarian.org>
10185
10186         * LyXAction.h:
10187         * LyXAction.C:
10188         * MenuBackend.C:
10189         * ToolbarDefaults.C:
10190         * lyxfunc.C:
10191         * lyxrc.C:
10192         * toc.C: lyxaction cleanup
10193
10194 2002-08-08  John Levon  <levon@movementarian.org>
10195
10196         * BufferView2.C: small cleanup
10197
10198         * lyxfind.h:
10199         * lyxfind.C: move unnecessary header into the .C
10200
10201 2002-08-08  John Levon  <levon@movementarian.org>
10202
10203         * funcrequest.h: just tedious nonsense
10204
10205         * lyx_main.h:
10206         * lyx_main.C: cleanups
10207
10208         * buffer.C:
10209         * vspace.C: remove dead header lyx_main.h
10210
10211 2002-08-07  Angus Leeming  <leeming@lyx.org>
10212
10213         * Paragraph.[Ch]:
10214         * paragraph_pimpl.h:
10215         Forward declare class Counters in paragraph.h by moving the ctrs member
10216         variable into Paragraph::Pimpl.
10217         (counters): new method, returning a reference to pimpl_->ctrs.
10218
10219         * text2.C: ensuing changes.
10220
10221 2002-08-07  John Levon  <levon@movementarian.org>
10222
10223         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10224
10225         * BufferView_pimpl.C: announce X selection on double/triple
10226           click
10227
10228         * lyx_main.C: use correct bool in batch dispatch
10229
10230         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10231
10232 2002-08-07  André Pönitz <poenitz@gmx.net>
10233
10234         * funcrequest.h: new class to wrap a kb_action and its argument
10235
10236         * BufferView.[Ch]:
10237         * BufferView_pimpl[Ch]:
10238         * LaTeX.C:
10239         * LyXAction.[Ch]:
10240         * lyxfunc.[Ch]:
10241         * lyxrc.C: subsequent changes
10242
10243
10244 2002-08-07  John Levon  <levon@movementarian.org>
10245
10246         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10247           document options change.
10248
10249 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10250
10251         * counters.[Ch]
10252         * text2.C
10253         * paragraph.[Ch]
10254         * makefile.am: move counters functionality over from
10255         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10256
10257 2002-08-06  John Levon  <levon@movementarian.org>
10258
10259         * WordLangTuple.h: new file for word + language code tuple
10260
10261         * SpellBase.h:
10262         * pspell.h:
10263         * pspell.C:
10264         * ispell.h:
10265         * ispell.C:
10266         * lyxtext.h:
10267         * text.C:
10268         * text2.C:
10269         * BufferView.h:
10270         * BufferView2.C: use WordLangTuple
10271
10272         * layout.h:
10273         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10274
10275 2002-08-06  John Levon  <levon@movementarian.org>
10276
10277         * lyx_main.C: fix cmdline batch handling
10278
10279 2002-08-06  André Pönitz <poenitz@gmx.net>
10280
10281         * lyxrc.C: set default for show_banner to true
10282
10283 2002-08-06  John Levon  <levon@movementarian.org>
10284
10285         * pspell.C: fix a crash, and allow new aspell to work
10286
10287 2002-08-06  John Levon  <levon@movementarian.org>
10288
10289         * lyxfunc.C:
10290         * kbmap.C: small cleanup
10291
10292         * vspace.h:
10293         * vspace.C: add const
10294
10295 2002-08-05  John Levon  <levon@movementarian.org>
10296
10297         * LyXAction.C: back to tabular-insert
10298
10299 2002-08-04  John Levon  <levon@movementarian.org>
10300
10301         * BufferView.h:
10302         * BufferView.C: cosmetic change
10303
10304         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10305
10306         * bufferlist.C:
10307         * buffer.h:
10308         * buffer.C:
10309         * lyxcb.h:
10310         * lyxcb.C:
10311         * lyxserver.C:
10312         * lyxvc.C:
10313         * vc-backend.C:
10314         * BufferView2.C: purge all "Lyx" not "LyX" strings
10315
10316         * lyxcursor.h:
10317         * lyxcursor.C: attempt to add some documentation
10318
10319         * lyxfunc.C:
10320         * commandtags.h:
10321         * LyXAction.C:
10322         * ToolbarDefaults.C:
10323         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10324           merge with LFUN_TABULAR_INSERT
10325
10326         * Makefile.am:
10327         * SpellBase.h:
10328         * ispell.h:
10329         * ispell.C:
10330         * pspell.h:
10331         * pspell.C: split up i/pspell implementations into separate
10332           files, many cleanups
10333
10334         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10335
10336         * text2.C: some cleanup
10337
10338         * lyxfunc.C: don't check for isp_command == "none" any more, it
10339           didn't make any sense
10340
10341 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10342
10343         * counters.[Ch]
10344         * text2.C
10345         * paragraph.[Ch]
10346         * makefile.am: move counters functionality over
10347         from text2.C/paragraph.[Ch] to counters.[Ch], and
10348         make proper C++.
10349 2002-08-02  John Levon  <levon@movementarian.org>
10350
10351         * buffer.C: s/lyxconvert/lyx2lyx/
10352
10353 2002-08-02  Angus Leeming  <leeming@lyx.org>
10354
10355         * lyxlex.C: revert John's change as it breaks reading of the user
10356         preamble.
10357
10358 2002-08-02  Angus Leeming  <leeming@lyx.org>
10359
10360         * importer.C (Import):
10361         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10362         changes due to LyXView::view() now returning a boost::shared_ptr.
10363
10364 2002-08-02  John Levon  <levon@movementarian.org>
10365
10366         * lyxlex.C: small cleanup
10367
10368 2002-08-02  John Levon  <levon@movementarian.org>
10369
10370         * text2.C (status): small cleanup, no logic change
10371
10372 2002-08-01  John Levon  <levon@movementarian.org>
10373
10374         * buffer.h:
10375         * buffer.C (writeFile): don't output alerts, caller
10376           handles this
10377
10378         * bufferlist.C:
10379         * lyx_cb.C: from above
10380
10381         * lyxfunc.C: allow to open non-existent files
10382
10383 2002-07-31  John Levon  <levon@movementarian.org>
10384
10385         * lyxserver.C: don't let incidental errors get
10386           in the way (errno)
10387
10388 2002-07-30  John Levon  <levon@movementarian.org>
10389
10390         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10391
10392 2002-07-30  John Levon  <levon@movementarian.org>
10393
10394         * lyxserver.h:
10395         * lyxserver.C: remove I/O callback too
10396
10397 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10398
10399         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10400         log.
10401
10402 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10403
10404         * many files: strip,frontStrip -> trim,ltrim,rtrim
10405
10406 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10407
10408         * PrinterParams.h: remove extern containsOnly, and include
10409         support/lstrings.h instead.
10410
10411         * LaTeX.C (scanAuxFile): modify because of strip changes
10412         (deplog): ditto
10413         * buffer.C (makeLaTeXFile): ditto
10414         * bufferparams.C (writeFile): ditt
10415         * lyxfont.C (stateText): ditto
10416         * lyxserver.C (read_ready): ditto
10417         * vc-backend.C (scanMaster): ditto
10418
10419         * BufferView_pimpl.h: ws changes
10420
10421         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10422
10423 2002-07-26  André Pönitz <poenitz@gmx.net>
10424
10425         * kb_sequence.C: remove unnedred usings
10426
10427 2002-07-26  Juergen Vigna  <jug@sad.it>
10428
10429         * lyxfind.C (LyXReplace): we have to check better if the returned
10430         text is not of theLockingInset()->getLockingInset().
10431
10432 2002-07-25  Juergen Vigna  <jug@sad.it>
10433
10434         * lyxfind.C (LyXReplace): don't replace if we don't get the
10435         right LyXText.
10436
10437         * undo_funcs.C (createUndo): remove debugging code.
10438
10439 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10440
10441         * buffer.C (parseSingleLyXformat2Token): Use default placement
10442         when reading old floats.
10443
10444         * FloatList.C (FloatList): Change the default placement of figure
10445         and tables to "tbp".
10446
10447 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10448
10449         * MenuBackend.C: using std::max
10450
10451 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10452
10453         * MenuBackend.C (expandToc):
10454         (expandToc2): code moved from xforms menu frontend. It is now
10455         generic and TOCs are transparent to menu frontends.
10456
10457 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10458
10459         * toc.C (getTocList): protect against buf=0
10460
10461         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10462         Menu as first parameter. Now, this calls itself recursively to
10463         expand a whole tree (this will be useful for TOC handling)
10464         (expandFloatInsert): remove 'wide' version of floats
10465
10466         * MenuBackend.h (submenuname): returns the name of the submenu.
10467         (submenu): returns the submenu itself, provided it has been
10468         created by MenuBackend::expand
10469
10470 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10471
10472         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10473         insets which have noFontChange == true. (bug #172)
10474
10475 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10476
10477         * BufferView_pimpl.C: add connection objects and use them...
10478         (Pimpl): here.
10479
10480 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10481
10482         * MenuBackend.C (expandLastfiles):
10483         (expandDocuments):
10484         (expandFormats):
10485         (expandFloatListInsert):
10486         (expandFloatInsert):
10487         (expand): split expand in parts
10488
10489 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * lyx_gui.C: use lyx_gui::exit()
10492
10493 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * LyXAction.C: show the failing pseudo action
10496
10497 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10498
10499         * buffer.C (readFile): Run the lyxconvert script in order to read
10500         old files.
10501
10502 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * LyXAction.C:
10505         * commandtags.h:
10506         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10507
10508 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10509
10510         * LyXAction.C:
10511         * commandtags.h:
10512         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10513
10514 2002-07-22  Herbert Voss  <voss@lyx.org>
10515
10516         * lengthcommon.C:
10517         * lyxlength.[Ch]: add support for the vertical lengths
10518
10519 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10520
10521         * toc.[Ch]: std:: fixes
10522
10523 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10524
10525         * lyxrc.C: do not include lyx_main.h
10526
10527         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10528         for layouts
10529
10530         * lyxrc.C:
10531         * encoding.C:
10532         * bufferlist.C:
10533         * BufferView2.C: include "lyxlex.h"
10534
10535         * tabular.h:
10536         * bufferparams.h: do not #include "lyxlex.h"
10537
10538         * lyxtextclasslist.C (Add): remove method
10539         (classlist): renamed to classlist_
10540
10541         * paragraph_pimpl.C:
10542         * paragraph.C:
10543         * text2.C:
10544         * CutAndPaste.C:
10545         * bufferview_funcs.C:
10546         * bufferlist.C:
10547         * text.C:
10548         * LaTeXFeatures.C:
10549         * buffer.C:
10550         * toc.C (getTocList): use BufferParams::getLyXTextClass
10551
10552         * toc.C (getTocList): use InsetFloat::addToToc
10553
10554         * toc.[Ch]: new files, containing helper functions to handle table
10555         of contents
10556
10557         * lyxfunc.C (dispatch): no need to remove spaces around command
10558         given as a string
10559         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10560         first command of the sequence; it is not very clever, but I do not
10561         have a better idea, actually
10562
10563         * LyXAction.C (LookupFunc): make sure to remove space at the
10564         beginning and end of the command
10565
10566 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * MenuBackend.C (getMenubar): new method: return the menubar of
10569         this menu set
10570         (read): treat differently reading of menu and menubar (in
10571         particular, the menubar has no name now)
10572         (Menu::menubar): remove
10573
10574         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10575         saving is finished
10576
10577 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10578
10579         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10580         a bibitem inset in a RTL paragraph.
10581
10582 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * paragraph_pimpl.C: constify
10585
10586         * BufferView_pimpl.C:
10587         * LaTeX.C:
10588         * lyxfunc.C: fix dispatch in a nicer way
10589
10590 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * lyxfunc.C (dispatch):
10593         * BufferView_pimpl.C:
10594         * BufferView_pimpl.h:
10595         * BufferView.C:
10596         * BufferView.h: rename Dispatch() to dispatch()
10597
10598         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10599
10600         * lyxlayout.C (Read): honor DependsOn tag
10601
10602         * lyxlayout.[Ch] (depends_on): new method
10603
10604         * version.C.in: update lyx_docversion
10605
10606         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10607
10608         * paragraph.C (validate): remove from here...
10609         * paragraph_pimpl.C (validate): ... and move here
10610         (isTextAt): make it const
10611
10612         * buffer.C (getLists): ws cleanup
10613
10614 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10615
10616         * language.C (read): Use iso8859-1 encoding in latex_lang
10617         (this prevents LyX from crashing when using iso10646-1 encoding).
10618
10619 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10620
10621         * text2.C (toggleInset): if cursor is inside an inset, close the
10622         inset and leave cursor _after_ it
10623
10624 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * lyxfunc.C: move minibuffer completion handling out of here
10627
10628 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * BufferView_pimpl.C:
10631         * LaTeX.C: fix dispatch calls
10632
10633 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10634
10635         * text.C (drawChars): Fix Arabic text rendering.
10636
10637 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * LyXAction.C:
10640         * commandtags.h:
10641         * lyxfunc.C: remove message-push/pop
10642
10643         * lyxserver.C:
10644         * lyxfunc.h:
10645         * lyxfunc.C: rationalise some code by removing verboseDispatch
10646           in favour of a bool argument to dispatch()
10647
10648 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10649
10650         * lyx_main.C (init): make sure to read symlinks as absolute paths
10651
10652 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * lyxfunc.h:
10655         * lyxfunc.C: no need for commandshortcut to be a member
10656
10657 2002-07-15  André Pönitz <poenitz@gmx.net>
10658
10659         * converter.C: add support for $$s (scripts from lib/scripts dir)
10660         * lyx_main.C: white space
10661
10662 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10663
10664         * bufferlist.C:
10665         * lyxrc.h:
10666         * lyxrc.C: remove second exit confirmation
10667
10668 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10669
10670         * BufferView.h:
10671         * BufferView.C:
10672         * BufferView2.C:
10673         * BufferView_pimpl.h:
10674         * BufferView_pimpl.C:
10675         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10676
10677 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10678
10679         * MenuBackend.C (expand): add numeric shortcuts to document menu
10680
10681         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10682
10683 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10684
10685         * lyxfont.C (setLyXFamily):
10686         (setLyXSeries):
10687         (setLyXShape):
10688         (setLyXSize):
10689         (setLyXMisc):
10690         (lyxRead):
10691         * debug.C (value):
10692         * buffer.C (asciiParagraph): use ascii_lowercase
10693
10694 2002-07-15  Mike Fabian  <mfabian@suse.de>
10695
10696         * lyxlex_pimpl.C (search_kw):
10697         * lyxlex.C (getLongString):
10698         * converter.h (operator<):
10699         * converter.C (operator<):
10700         * buffer.C (parseSingleLyXformat2Token):
10701         (asciiParagraph):
10702         * ToolbarDefaults.C (read):
10703         * MenuBackend.C (checkShortcuts):
10704         (read):
10705         * LColor.C (getFromGUIName):
10706         (getFromLyXName): use the compare_ascii_no_case instead of
10707         compare_no_case, because in turkish, 'i' is not the lowercase
10708         version of 'I', and thus turkish locale breaks parsing of tags.
10709
10710 2002-07-16  Angus Leeming  <leeming@lyx.org>
10711
10712         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10713         now takes a Buffer const & argument.
10714
10715 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10716
10717         * BufferView.C (resize): check there's a buffer to resize
10718
10719 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * lyxfunc.C: remove dead code
10722
10723         * lyxserver.h:
10724         * lyxserver.C: use lyx_guii::set_read_callback
10725
10726 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10727
10728         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10729         an inset in a RTL paragraph.
10730
10731 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * lyxfunc.C: repaint after a font size update
10734
10735 2002-07-15  André Pönitz <poenitz@gmx.net>
10736
10737         * lyxlength.C: inBP should be able to return negative values
10738
10739 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10740
10741         * lyxfunc.C: use lyx_gui::update_fonts()
10742
10743 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * lyxfunc.C: use lyx_gui::update_color()
10746
10747 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * bufferlist.C:
10750         * lyxfunc.h:
10751         * lyxfunc.C:
10752         * lyxrc.h:
10753         * lyxrc.C: remove file->new asks for name option, and let
10754           buffer-new take an argument
10755
10756 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * BufferView_pimpl.C: remove unneeded extra repaint()
10759
10760 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * LyXAction.C: allow command-sequence with NoBuffer
10763
10764         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10765
10766 2002-07-10  Angus Leeming  <leeming@lyx.org>
10767
10768         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10769
10770 2002-07-09  Angus Leeming  <leeming@lyx.org>
10771
10772         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10773
10774 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * lengthcommon.h: whitespace
10777
10778         * lyxfunc.C: update scrollbar after goto paragraph
10779
10780         * lyxtext.h: factor out page break drawing, and fix it so
10781           page break/added space paints as selected nicely
10782
10783 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10784
10785         * BufferView_pimpl.C: add FIXMEs, clean up a little
10786
10787 2002-07-09  André Pönitz <poenitz@gmx.net>
10788
10789         * lyxfont.[Ch]: support for wasy symbols
10790
10791 2002-07-08  André Pönitz <poenitz@gmx.net>
10792
10793         * BufferView_pimpl.C: apply John's patch for #93.
10794
10795 2002-07-05  Angus Leeming  <leeming@lyx.org>
10796
10797         * BufferView_pimpl.C (buffer): generate previews if desired.
10798
10799         * LColor.h: add "preview" to the color enum.
10800
10801         * LColor.C (LColor): add a corresponding entry to the items array.
10802
10803         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10804         with this buffer.
10805
10806 2002-07-05  Angus Leeming  <leeming@lyx.org>
10807
10808         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10809         The body of the code is now in the method that is passed an ostream &
10810         rather than a file name.
10811         Pass an additional only_preamble parameter, useful for the forthcoming
10812         preview stuff.
10813
10814 2002-07-03  André Pönitz <poenitz@gmx.net>
10815
10816         * lyxfunc.C: simplify getStatus() a bit for math stuff
10817
10818 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10819
10820         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10821
10822 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10823
10824         * text.C (changeRegionCase): do not change case of all the
10825         document when region ends at paragraph end (bug #461)
10826
10827 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * paragraph.C (startTeXParParams):
10830         (endTeXParParams): add \protect when necessary
10831
10832 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10833
10834         * BufferView_pimpl.C (workAreaExpose): remove warning
10835
10836 2002-06-27  Angus Leeming  <leeming@lyx.org>
10837
10838         * Makefile.am: add lyxlayout_ptr_fwd.h.
10839
10840 2002-06-26  André Pönitz <poenitz@gmx.net>
10841
10842         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10843
10844 2002-06-25  Angus Leeming  <leeming@lyx.org>
10845
10846         * lyxfunc.C (dispatch): Comment out the call to
10847         grfx::GCache::changeDisplay. The method no longer exists now that the
10848         pixmap generation part of the graphics loader has been moved into
10849         InsetGraphics.
10850
10851 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10852
10853         * text2.C: layout as layout
10854
10855         * text.C: layout as layout
10856
10857         * tabular.C (OldFormatRead): layout as layout
10858
10859         * paragraph_pimpl.C (TeXDeeper): layout as layout
10860         (realizeFont): layout as layout
10861
10862         * paragraph.C (writeFile): layout as layout
10863         (validate): layout as layout
10864         (getFont): layout as layout
10865         (getLabelFont): layout as layout
10866         (getLayoutFont): layout as layout
10867         (breakParagraph): layout as layout
10868         (stripLeadingSpaces): layout as layout
10869         (getEndLabel): layout as layout
10870         (getMaxDepthAfter): layout as layout
10871         (applyLayout): layout as layout
10872         (TeXOnePar): layout as layout
10873         (simpleTeXOnePar): layout as layout
10874         (TeXEnvironment): layout as layout
10875         (layout): layout as layout
10876         (layout): layout as layout
10877
10878         * lyxtextclass.C (compare_name): new functor to work with
10879         shared_ptr, layout as layout
10880         (Read): layout as layout
10881         (hasLayout): layout as layout
10882         (operator): layout as layout
10883         (delete_layout): layout as layout
10884         (defaultLayout): layout as layout
10885
10886         * lyxlayout_ptr_fwd.h: new file
10887
10888         * lyxlayout.C (Read): layout as layout
10889
10890         * lyx_cb.C (MenuInsertLabel): layout as layout
10891
10892         * bufferlist.C (newFile): layout as layout
10893
10894         * buffer.C (readLyXformat2): layout as layout
10895         (parseSingleLyXformat2Token): layout as layout
10896         (insertStringAsLines): layout as layout
10897         (asciiParagraph): layout as layout
10898         (latexParagraphs): layout as layout
10899         (makeLinuxDocFile): layout as layout
10900         (simpleLinuxDocOnePar): layout as layout
10901         (makeDocBookFile): layout as layout
10902         (simpleDocBookOnePar): layout as layout
10903         (getLists): layout as layout
10904
10905         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10906
10907         * CutAndPaste.C (cutSelection): layout as layout
10908         (pasteSelection): layout as layout
10909         (SwitchLayoutsBetweenClasses): layout as layout
10910
10911         * BufferView_pimpl.C (Dispatch): layout as layout
10912         (smartQuote): layout as layout
10913
10914         * BufferView2.C (unlockInset): layout as layout
10915
10916 2002-06-24  André Pönitz <poenitz@gmx.net>
10917
10918         * lyxfunc.C: fix #487
10919
10920 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10921
10922         * lyxrc.h:
10923         * lyxrc.C:
10924         * lyxfunc.C: remove display_shortcuts, show_banner
10925
10926 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10927
10928         * Buffer_pimpl.C: oops, update on resize
10929
10930 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10931
10932         * buffer.C:
10933         * converter.C:
10934         * exporter.C:
10935         * lyxfunc.C:
10936         * BufferView.h:
10937         * BufferView.C: use repaint()
10938
10939         * BufferView_pimpl.h:
10940         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10941           as it's a clearer description. Remove superfluous
10942           redraws.
10943
10944 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10945
10946         * text.C: fix bug 488. Not ideal, but getting
10947           getWord() to work properly for the insets that
10948           matter is more difficult ...
10949
10950 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10951
10952         * BufferView_pimpl.C:
10953         * LyXAction.C:
10954         * commandtags.h:
10955         * lyxfunc.C: remove the six million index lyxfuncs to just
10956           one, and DTRT (bug 458)
10957
10958 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10959
10960         * BufferView.h:
10961         * BufferView.C:
10962         * BufferView_pimpl.h:
10963         * BufferView_pimpl.C: clean up resize() stuff,
10964           and unnecessary updateScreen()s
10965
10966 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * BufferView.h:
10969         * BufferView.C:
10970         * BufferView_pimpl.h:
10971         * BufferView_pimpl.C:
10972         * lyxfind.h:
10973         * lyxfind.C:
10974         * minibuffer.C: remove focus management of workarea,
10975           not needed. Use screen's greyOut()
10976
10977 2002-06-17  Herbert Voss  <voss@lyx.org>
10978
10979         * converter.C: (convert) do not post a message, when converting
10980         fails, let the calling function decide what to do in this case
10981
10982 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * lyxfunc.C: tidy up a little
10985
10986 2002-06-16    <alstrup@diku.dk>
10987
10988         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10989         Got rid of FORMS_H_LOCATION include. Now we are
10990         GUII.
10991
10992 2002-06-15  LyX Development team  <lyx@rilke>
10993
10994         * buffer.[Ch] (sgmlOpenTag):
10995         (sgmlCloseTag): Added support for avoiding pernicious mixed
10996         content. Return number of lines written.
10997
10998         (makeLinuxDocFile):
10999         (makeDocBookFile): Fixed calls to sgml*Tag.
11000         Simple white space clean.
11001
11002         (simpleDocBookOnePar): Simple white space clean.
11003
11004         * tabular.[Ch] (docBook): Renamed to docbook and got another
11005         argument to related with the pernicious mixed content.
11006
11007         (docbookRow): Fixed calls for docbook inset method.
11008
11009 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11010
11011         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11012         so it's X11 independent.
11013
11014         * kb*.[Ch]: ditto.
11015
11016         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11017
11018 2002-06-15  Lyx Development team  <lyx@electronia>
11019
11020         * intl.h: Renamed getTrans to getTransManager.
11021
11022 2002-06-14  Angus Leeming  <leeming@lyx.org>
11023
11024         * Makefile.am: nuke forgotten stl_string_fwd.h.
11025
11026 2002-06-12  Angus Leeming  <leeming@lyx.org>
11027
11028         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11029
11030 2002-06-13  Angus Leeming  <leeming@lyx.org>
11031
11032         * LaTeX.C:
11033         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11034
11035 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11036
11037         * kbmap.C (getiso): add support for cyrillic and greek
11038
11039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11040
11041         * BufferView.h:
11042         * BufferView.C:
11043         * BufferView_pimpl.h:
11044         * BufferView_pimpl.C: move bogus scrolling logic
11045           to xforms
11046
11047 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * lyxfunc.C:
11050         * BufferView_pimpl.C: view->resize() change
11051
11052 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11053
11054         * BufferView_pimpl.C: topCursorVisible
11055           prototype change
11056
11057 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11058
11059         * Makefile.am:
11060         * lyx_gui.h:
11061         * lyx_gui.C: move to frontends/
11062
11063         * main.C:
11064         * lyx_main.h:
11065         * lyx_main.C: changes from above
11066
11067 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11068
11069         * intl.C:
11070         * intl.h:
11071         * kbmap.C:
11072         * kbsequence.C:
11073         * lyx_cb.C:
11074         * lyx_main.C: minor tidy
11075
11076 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11077
11078         * BufferView_pimpl.h:
11079         * BufferView_pimpl.C:
11080         * BufferView.h:
11081         * BufferView.C: make painter() const,
11082           remove dead code
11083
11084         * BufferView2.C: use screen() accessor
11085
11086         * lyx_main.h:
11087         * lyx_main.C: some minor cleanup
11088
11089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11090
11091         * BufferView_pimpl.h:
11092         * BufferView_pimpl.C: remove enter/leaveView,
11093           use workHeight()
11094
11095 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11096
11097         * BufferView.h:
11098         * BufferView.C:
11099         * BufferView2.C:
11100         * BufferView_pimpl.h:
11101         * BufferView_pimpl.C: only construct screen once,
11102           rename
11103
11104         * lyxrc.C: remove pointless comment
11105
11106 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11107
11108         * BufferView.h:
11109         * BufferView.C: remove active() and belowMouse()
11110
11111         * BufferView_pimpl.h:
11112         * BufferView_pimpl.C: use workarea() not workarea_,
11113           and make it use a scoped_ptr instead
11114
11115 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11116
11117         * lyx_gui.C: add debug message on BadWindow
11118
11119 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11120
11121         * sp_spell.C: fdopen is not part of the C++ standard.
11122
11123         * paragraph.C (InsetIterator): use >= instead of ==
11124
11125 2002-06-07  Angus Leeming  <leeming@lyx.org>
11126
11127         Fixes needed to compile with Compaq cxx 6.5.
11128         * BufferView_pimpl.C:
11129         * DepTable.C:
11130         * buffer.C:
11131         * converter.C:
11132         * encoding.C:
11133         * lyx_gui.C:
11134         * lyx_main.C:
11135         * lyxtextclasslist.C:
11136         * minibuffer.C:
11137         * sp_spell.C:
11138         * tabular_funcs.C:
11139         * vc-backend.C:
11140         all c-library variables have been moved into namespace std. Wrap
11141         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11142
11143         * lyxlength.C:
11144         * tabular-old.C:
11145         * tabular.C:
11146         Add a using std::abs declaration.
11147
11148         * kbmap.h (modifier_pair):
11149         * paragraph.h (InsetTable, InsetList):
11150         * lyxfont.h (FontBits):
11151         type definition made public.
11152
11153         * bufferlist.C (emergencyWriteAll): the compiler complains that
11154         there is more than one possible lyx::class_fun template to choose from.
11155         I re-named the void specialisation as lyx::void_class_fun.
11156
11157         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11158
11159         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11160         the compiler is is unable to find tostr in write_attribute.
11161
11162 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11163
11164         * buffer.C (sgmlError): hide #warning
11165
11166 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11167
11168         * xtl/*: get rid of xtl, which is not in use anyway
11169
11170         * LyXAction.C (init):
11171         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11172         were unimplemented xtl experimentation
11173
11174 2002-06-04  André Pönitz <poenitz@gmx.net>
11175
11176         * lyxfunc.C: disable array operation on simple formulae
11177
11178 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * converter.C: constify a bit
11181
11182 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11183
11184         * lyx_gui.C: check xforms version correctly
11185
11186 2002-04-30  Herbert Voss  <voss@lyx.org>
11187
11188         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11189         "keep" option
11190
11191 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11192
11193         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11194           attempt to register it with a VCS)
11195
11196 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11197
11198         * lyx_main.C (init): honor variables LYX_DIR_13x and
11199         LYX_USERDIR_13x
11200
11201 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * buffer.h:
11204         * buffer.C:
11205         * lyx_main.C: fix a crash on bad command line,
11206           and give a useful exit status on error
11207
11208         * lyxfunc.C (doImport): allow -i lyx to work
11209
11210 2002-03-30  André Pönitz <poenitz@gmx.net>
11211
11212         * lyxfunc.C: mathed font changes
11213
11214 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11215
11216         * LaTeX.C:
11217         * importer.h:
11218         * importer.C:
11219         * lyx_sty.h:
11220         * lyx_sty.C:
11221         * lyxlex.C:
11222         * lyxrow.h:
11223         * lyxtext.h:
11224         * paragraph.h:
11225         * paragraph.C:
11226         * texrow.h:
11227         * texrow.C:
11228         * text.C:
11229         * trans_mgr.h: srcdocs, and some minor cleanups
11230
11231 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11232
11233         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11234         call getFont all the time)
11235
11236 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11237
11238         * switch from SigC signals to boost::signals
11239
11240 2002-05-29  André Pönitz <poenitz@gmx.net>
11241
11242         * paragraph_pimpl.C (getChar): don't call size() too often...
11243
11244 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11245
11246         * paragraph_pimpl.C (insertChar): do not try to update tables when
11247         appending (pos == size())
11248
11249         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11250         in order to reduce drastically the number of comparisons needed to
11251         parse a large document
11252
11253 2002-05-29  André Pönitz <poenitz@gmx.net>
11254
11255         * text.C:
11256         * text2.C:
11257         * lyxtextclass.C:
11258         * sp_pspell.h:
11259         * textclasslist.[Ch]:
11260         * sp_ispell.h: whitespace change
11261
11262 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11263
11264         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11265         lyxaction directly now.
11266
11267 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11268
11269         * trans.C:
11270         * lyxfont.C:
11271         * lyxvc.C: remove unused headers
11272
11273 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * Makefile.am:
11276         * buffer.h:
11277         * undostack.h:
11278         * undostack.C:
11279         * undo_funcs.h:
11280         * undo_funcs.C: some cleanups. Use shared_ptr
11281           and a template for the undo stacks.
11282
11283 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11284
11285         * BufferView_pimpl.h:
11286         * BufferView_pimpl.C:
11287         * kbmap.h:
11288         * kbmap.C:
11289         * kbsequence.h:
11290         * kbsequence.C:
11291         * lyxfunc.h:
11292         * lyxfunc.C:
11293         * text2.C: use key_state/mouse_state
11294
11295 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11296
11297         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11298         and LSubstring
11299
11300         * chset.C: change include order
11301         (loadFile): use boost regex and get rid of LRegex and LSubstring
11302
11303         * Makefile.am (BOOST_LIBS): new variable
11304         (lyx_LDADD): use it
11305
11306         * LaTeX.C: change include order.
11307         (scanAuxFile): use boost regex and get rid of LRegex and
11308         LSubstring
11309         (deplog): ditto
11310
11311 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11312
11313         * ColorHandler.h:
11314         * ColorHandler.C:
11315         * FontInfo.h:
11316         * FontInfo.C: moved to frontends/xforms/
11317
11318         * FontLoader.h:
11319         * FontLoader.C: moved into frontends for GUIIzation
11320
11321         * Makefile.am:
11322         * lyx_gui.C:
11323         * lyxfont.C:
11324         * lyxfunc.C: changes from above
11325
11326 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * LColor.C: remove spurious X include
11329
11330         * BufferView_pimpl.C:
11331         * Makefile.am:
11332         * font.h:
11333         * font.C:
11334         * text.C:
11335         * text2.C: move font metrics to frontends/
11336
11337 2002-05-24  Juergen Vigna  <jug@sad.it>
11338
11339         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11340         setting the undo_cursor.
11341
11342         * ParagraphParameters.h: include local includes first.
11343
11344 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11345
11346         * BufferView_pimpl.C:
11347         * BufferView_pimpl.h:
11348         * Makefile.am:
11349         * WorkArea.h:
11350         * WorkArea.C:
11351         * screen.C: move WorkArea into frontends/
11352
11353         * lyxscreen.h:
11354         * screen.C:
11355         * text.C:
11356         * BufferView.C:
11357         * BufferView2.C: move LyXScreen into frontends/
11358
11359         * lyxlookup.h:
11360         * lyxlookup.C:
11361         * lyx_gui.C: move lyxlookup into frontends/xforms/
11362
11363 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * BufferView2.C:
11366         * BufferView_pimpl.C:
11367         * FontLoader.C:
11368         * LyXView.h:
11369         * LyXView.C:
11370         * Makefile.am:
11371         * WorkArea.C:
11372         * XFormsView.h:
11373         * XFormsView.C:
11374         * buffer.C:
11375         * bufferlist.C:
11376         * bufferview_funcs.C:
11377         * converter.C:
11378         * importer.C:
11379         * lyx_cb.C:
11380         * lyx_gui.C:
11381         * lyx_main.C:
11382         * lyx_find.C:
11383         * lyxfunc.C:
11384         * lyxvc.C:
11385         * minibuffer.C:
11386         * text.C:
11387         * text2.C:
11388         * trans.C:
11389         * vc-backend.C: move LyX/XFormsView into frontends/
11390
11391 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * Makefile.am:
11394         * PainterBase.C:
11395         * PainterBase.h:
11396         * Painter.C:
11397         * Painter.h:
11398         * WorkArea.C:
11399         * WorkArea.h:
11400         * screen.C:
11401         * tabular.C:
11402         * text.C:
11403         * text2.C: move Painter to frontends/
11404
11405 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * buffer.C: comment out some some code that depend upon lyx_format
11408         < 220
11409
11410         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11411         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11412
11413         * buffer.h (NO_COMPABILITY): turn off compability
11414
11415         * ColorHandler.C: include scoped_array.hpp
11416
11417         * font.C: Use more specific smart_ptr header.
11418         * Painter.C: ditto
11419         * gettext.C: ditto
11420         * ShareContainer.h: ditto
11421         * lyx_main.h: ditto
11422         * kbmap.h: ditto
11423         * FontInfo.h: ditto
11424         * BufferView_pimpl.h: ditto
11425         * ColorHandler.h: ditto
11426
11427         * kbmap.C (defkey): change call to shared_ptr::reset
11428
11429 2002-05-21  Juergen Vigna  <jug@sad.it>
11430
11431         * buffer.C (insertErtContents): fix to insert ert asis if it is
11432         non empty. Skip it completely if it contains only whitespaces.
11433
11434 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11435
11436         * BufferView_pimpl.C:
11437         * BufferView2.C: clear selection on paste (bug 393)
11438
11439 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11440
11441         * DepTable.C: include ctime
11442
11443 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11444
11445         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11446
11447 2002-05-14  Juergen Vigna  <jug@sad.it>
11448
11449         * text.C (breakParagraph): fixed function to honor the keepempty
11450         layout in the right maner and also to permit the right breaking
11451         algorithm on empty or non empyt keepempty paragraphs.
11452
11453         * paragraph.C (breakParagraph): we have to check also if the par
11454         is really empty (!size()) for isempty otherwise we do the wrong
11455         paragraph break.
11456
11457 2002-05-10  Juergen Vigna  <jug@sad.it>
11458
11459         * buffer.[Ch] : The following are only changes to the ert
11460         compatibility read reading old LaTeX layout and font stuff and
11461         convert it to ERTInsets.
11462
11463         * buffer.h: added isErtInset().
11464
11465         * buffer.C (struct ErtComp): add a fromlayout bool to check
11466         if we're inside a LaTeX layout.
11467         (isErtInset): new helper function.
11468         (insertErtContents): look for other ert insets before this one
11469         and insert the contents there, so that we don't have subsequent
11470         ERT insets with nothing between them. This way we create only one
11471         inset with multiple paragraphs. Also check if we don't insert only
11472         spaces ' ' as they are ignored anyway afterwards in the .tex file
11473         so if we have only spaces we will ignore this latex part in the
11474         new file.
11475         (parseSingleLyXformat2Token \\layout): better compatibility when
11476         reading layout-latex stuff.
11477         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11478         language tag.
11479         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11480         stuff after reading the inset only get the information back from
11481         the stack.
11482
11483 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11484
11485         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11486
11487         * LaTeXFeatures.C (getBabelOptions): New method.
11488
11489 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * BufferView_pimpl.C (Dispatch): work around missing argument for
11492         'layout'
11493
11494 2002-05-08  Juergen Vigna  <jug@sad.it>
11495
11496         * text.C (leftMargin): handle paragraph leftindent.
11497
11498         * paragraph.C (writeFile): write the new \\leftindent tag.
11499         (validate): handle leftindent code.
11500         (TeXEnvironment): handle paragraphleftindent code again.
11501
11502         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11503
11504         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11505         for paragrap_extra indent code and new token \\leftindent.
11506         (latexParagraphs): handle the leftindent as environment.
11507
11508         * ParameterStruct.h: added leftindent support.
11509
11510         * ParagraphParameters.C (leftIndent): added support functions for
11511         the paragraph left indent.
11512
11513         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11514         more appropriate.
11515
11516 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11517
11518         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11519         inside insetERT.
11520
11521         * text.C (computeBidiTables): No bidi in insetERT.
11522
11523         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11524         in RTL documents.
11525
11526 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11527
11528         * version.C.in: pre 5
11529
11530 2002-05-02  José Matos  <jamatos@fep.up.pt>
11531         * buffer.C (makeDocBookFile): white space changes, add newline to
11532         command styles.
11533         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11534
11535         * tabular.C (docBook): fix typo.
11536
11537 2002-05-03  Juergen Vigna  <jug@sad.it>
11538
11539         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11540         change in LyXText as we can not be sure it was not freed.
11541         (drawOneRow): remove unused code.
11542
11543         * text.C (drawInset): redo the calculation of the need_break_row as
11544         it could have a row which was already freed.
11545         (draw): look at the return value of drawInset and return false if
11546         it also returned false.
11547         (paintRowText): look at the return value of draw and return false if
11548         it also returned false.
11549
11550         * lyxtext.h: added bool return type to drawInset() and draw() so that
11551         if we have a change in the row so that the rowbreak has to be redone
11552         we abort drawing as it will be called again.
11553
11554 2002-05-02  Juergen Vigna  <jug@sad.it>
11555
11556         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11557         a change in the maintext also if we're inside an inset.
11558         (Dispatch): set the cursor again after a break line and after the
11559         screen has been updated as it could be we're in a different row.
11560
11561         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11562         to set the cursor behind the pargraph with > size().
11563         (setCursor): check also for the same paragraph when checking where
11564         to put the cursor if we have a NFR inset.
11565
11566         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11567         parts of layout read further up as it still was in the wrong
11568         position.
11569
11570 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11571
11572         * screen.C (drawFromTo): change sine fullRebreak always return
11573         true.
11574
11575         * buffer.C (parseSingleLyXformat2Token): reindent some
11576
11577         * BufferView_pimpl.C (update): change since fullRebreak always
11578         return true.
11579         (Dispatch): git rid of the last hardcoded "Standard"s.
11580
11581 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * text2.[Ch] (fullRebreak): make it return void now that we always
11584         returned true.
11585
11586 2002-04-30  Juergen Vigna  <jug@sad.it>
11587
11588         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11589         ert compatibility check for "latex" layout.
11590
11591 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11592
11593         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11594         minipages: use col% instead of p%, and also use the current font.
11595         (makeLaTeXFile): Fix use babel condition.
11596         (parseSingleLyXformat2Token): Correct font when reading old floats.
11597
11598 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11599
11600         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11601         inserting list of floats.
11602
11603 2002-04-25  Herbert Voss  <voss@lyx.org>
11604
11605         * MenuBackend.C (expand): don't add the graphics extensions to the
11606         export menu
11607
11608 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11609
11610         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11611         non-existing layout, do not complain if it was the default layout
11612         of the original class (bug #342)
11613
11614 2002-04-24  Juergen Vigna  <jug@sad.it>
11615
11616         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11617         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11618
11619 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11620
11621         * buffer.C (getBibkeyList): If using \bibliography, return the
11622         option field with the reference itself. Enables us to provide natbib
11623         support when using \bibliography.
11624
11625 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11626
11627         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11628
11629         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11630         natbib is provided by the LaTeX class.
11631
11632 2002-04-23  Juergen Vigna  <jug@sad.it>
11633
11634         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11635         Wakeup functions.
11636
11637         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11638
11639 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11640
11641         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11642
11643         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11644         ensuremath around textordmasculine, textordfeminine and
11645         textdegree.
11646
11647 2002-04-19  Juergen Vigna  <jug@sad.it>
11648
11649         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11650         reinitializing the buffer otherwise row-dimensions may be wrong.
11651         (update): reset also the selection cursors if they do exits otherwise
11652         their x/y positions may be wrong.
11653
11654         * text2.C (cursorDown): don't enter the inset if we came from a row
11655         above and are one row over the inset.
11656
11657         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11658         really leaving an inset.
11659
11660 2002-04-18  Juergen Vigna  <jug@sad.it>
11661
11662         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11663         of the selected paragraph does not have the selected layout also if
11664         the last one had!
11665
11666         * text2.C (setLayout): fixed bug which did not change last selected
11667         paragraph.
11668
11669         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11670         changed the read and substituted \\end_float with \\end_inset!
11671
11672         * BufferView_pimpl.C (cursorPrevious):
11673         (cursorNext): fixed to make it work with rows heigher than the work
11674         area without moving the cursor only the draw of the row.
11675         (workAreaMotionNotify): fix jumping over high rows.
11676
11677 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11678
11679         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11680         Ressler.
11681
11682 2002-04-16  Juergen Vigna  <jug@sad.it>
11683
11684         * text2.C (setCursor): set also the irow().
11685         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11686         (cursorUp):
11687         (cursorDown): support for locking an inset if the x_fix value goes
11688         inside it. That way I can transverse insets too with cursor up/down.
11689
11690         * lyxrow.h: added irow helper function same as other (i) functions.
11691
11692         * BufferView_pimpl.C (cursorPrevious):
11693         (cursorNext): fixed for insets!
11694
11695 2002-04-15  Juergen Vigna  <jug@sad.it>
11696
11697         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11698         position otherwise it is wrong in some cases.
11699
11700         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11701         inside the inset before the call.
11702
11703 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11704
11705         * buffer.[Ch] (getBibkeyList): make it const.
11706
11707 2002-04-12  Juergen Vigna  <jug@sad.it>
11708
11709         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11710
11711         * text2.C (getCursorX): new helper function
11712         (setCursor): compute also ix_
11713         (setCursorFromCoordinates): set also ix.
11714
11715         * lyxcursor.h: added ix_ and helper functions.
11716
11717         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11718
11719         * buffer.C (insertStringAsLines): dont break paragraph if the this
11720         paragraph is inside an inset which does not permit it!
11721
11722         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11723         also with no chars on this paragraph.
11724         (paintRowText): only paint stuff if it's inside the workarea!
11725
11726         * paragraph.C (breakParagraph): honor keepempty flag and break the
11727         paragraph always below not above.
11728
11729         * BufferView2.C (unlockInset): update the paragraph layout on inset
11730         unlock as we changed paragraph in such a case.
11731
11732         * lyxfind.C (LyXFind): clear the former selection if not found!
11733
11734         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11735         again called in insertChar().
11736
11737         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11738         an inset which uses the whole row!
11739         (rightMargin): ditto.
11740         (insertChar): force a rebreak if we inserted an inset!
11741
11742 2002-03-28  Herbert Voss  <voss@lyx.org>
11743
11744         * lyxlength.[Ch]: add inBP() to get the right PS-point
11745         units (BigPoint). With inPixels we have rounding errors
11746
11747 2002-04-11  Juergen Vigna  <jug@sad.it>
11748
11749         * text2.C (setCursorFromCoordinates): set iy to the right value.
11750         (setCursor): add check if row->previous exists!
11751
11752         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11753         an old float_type as this was the case in the old code!
11754
11755         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11756
11757         * BufferView2.C (showLockedInsetCursor): use iy
11758         (fitLockedInsetCursor): ditto
11759
11760         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11761         locked insets as there we have the right value now.
11762
11763         * lyxcursor.C: added iy_ variable and iy functions to set to the
11764         baseline of cursor-y of the locked inset.
11765
11766         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11767         (setCursor): fixed for insets which need a full row.
11768
11769         * text.C (rowLastPrintable): don't ignore the last space when before
11770         an inset which needs a full row.
11771         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11772         as last character of a row when before a inset which needs a full row.
11773
11774 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * version.C.in: update date
11777
11778         * text2.C (fullRebreak): try to always return true and see what
11779         happens...
11780
11781 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11782
11783         * MenuBackend.C (expand): use Floating::listName
11784
11785         * FloatList.C (FloatList): add listName argument to the built-in
11786         floats
11787
11788         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11789         text associated with the float.
11790
11791 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11792
11793         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11794
11795 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11796
11797         * ShareContainer.h: add a couple of missing typenames.
11798
11799 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11800
11801         * lyxrc.C (getDescription): use _() correctly rather than N_().
11802
11803 2002-03-28  Herbert Voss  <voss@lyx.org>
11804
11805         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11806         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11807
11808 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11809
11810         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11811         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11812
11813 2002-03-29  Juergen Vigna  <jug@sad.it>
11814
11815         * lyxfunc.C (dispatch): add a missing fitCursor call.
11816
11817         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11818         it was scrolled by a cursor move, so return the bool status.
11819
11820         * BufferView.C (fitCursor): return the bool flag also to the outside
11821         world as this is needed.
11822
11823         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11824
11825         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11826         call the edit() as it is not needed (and wrong) IMO.
11827         (workAreaButtonPress): set the screen_first variable before evt.
11828         unlock the inset as this may change screen_first and then we have
11829         a wrong y position for the click!
11830
11831 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11832
11833         * MenuBackend.C (expand): another translation that I missed
11834
11835 2002-03-28  Juergen Vigna  <jug@sad.it>
11836
11837         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11838
11839         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11840
11841 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11842
11843         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11844
11845         * MenuBackend.C (expand): fix export/view/update when there is no
11846         document open.
11847
11848 2002-03-27  Herbert Voss  <voss@lyx.org>
11849
11850         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11851         and text%
11852
11853 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11854
11855         * bufferview_funcs.C (currentState): only show paragraph number
11856         for is DEVEL_VERSION is set.
11857
11858         * lyxfunc.C (dispatch): put warning in INFO channel
11859
11860         * MenuBackend.C (expand): translate the name of floats
11861
11862         * FloatList.C (FloatList): mark the float names for translation
11863
11864         * converter.C (convert): use LibScriptSearch
11865
11866 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11867
11868         * MenuBackend.C (defaults): fix default menu (we might as well get
11869         rid of it...)
11870
11871 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11872
11873         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11874         directory.
11875
11876 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * lyxvc.C: reorder includes.
11879
11880 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11883           properly
11884
11885 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * CutAndPaste.C: change layouts earlier on paste
11888           to avoid crashing when calling getFont()
11889
11890 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11891
11892         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11893         irritating #error.
11894
11895 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11896
11897         * WorkArea.C: remove 'Pending' debug message.
11898
11899         * most files: ws cleanup
11900
11901         * buffer.[Ch]: ws changes
11902
11903         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11904
11905 2002-03-21  Juergen Vigna  <jug@sad.it>
11906
11907         * tabular.C (SetMultiColumn): collapse also the contents of the
11908         cells and set the last border right. Added a Buffer const * param.
11909
11910 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11911
11912         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11913         linking or not.
11914
11915 2002-03-19  Juergen Vigna  <jug@sad.it>
11916
11917         * text2.C (clearSelection): reset also xsel_cache.
11918
11919         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11920         where it needs to be called (John tells us to do so too :)
11921         (selectionLost): reset sel_cache.
11922
11923         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11924
11925 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * text2.C (setCursorIntern): put debuging code in INSETS channel
11928
11929 2002-03-19  André Pönitz <poenitz@gmx.net>
11930
11931         * lyxfunc.C: tiny whitespace change
11932
11933 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11934
11935         * ToolbarDefaults.C (init):
11936         * LyXAction.C (init):
11937         * commandtags.h:
11938         * BufferView_pimpl.C (Dispatch):
11939         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11940
11941 2002-03-19  Allan Rae  <rae@lyx.org>
11942
11943         * exporter.C (Export): removeAutoInsets before doing anything else.
11944         While I've just introduced a dependency on BufferView this really is
11945         the best place to clean the buffer otherwise you need to cleanup in
11946         a dozen places before calling export or cleanup in a dozen functions
11947         that export calls.
11948
11949         * converter.C (runLaTeX):
11950         (scanLog): Better handling of removeAutoInsets and screen updates.
11951
11952         * lyxfunc.C (dispatch): small whitespace changes
11953
11954 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11955
11956         * WorkArea.C (C_WorkAreaEvent): return a value.
11957         (event_cb): return 1 if we handled the event, 0 otherwise.
11958
11959         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11960
11961 2002-03-18  Juergen Vigna  <jug@sad.it>
11962
11963         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11964         (GetAdditionalWidth): ditto.
11965         (RightLine): ditto.
11966         (LeftLine): ditto.
11967
11968         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11969         inset if we're there actually (probably not used right now but this
11970         is the direction to go for unifying code).
11971         (paste): disable code to clear the selection.
11972
11973         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11974         inside an InsetText and move the check further up as it is in the
11975         wrong place.
11976
11977         * text2.C (pasteSelection): set a selection over the pasted text.
11978
11979 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11980
11981         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11982         and libgraphics to build on Cygwin.
11983
11984 2002-03-15  Juergen Vigna  <jug@sad.it>
11985
11986         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11987         inserting an Inset into the paragraph. I know this is not the best
11988         fix but we already use current_view in CutAndPaste so we will remove
11989         all of it's using at the same time.
11990
11991         * buffer.C (sgmlError): deactivated function till it is rewritten in
11992         the right mode, now it can create problems.
11993
11994         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11995         before accessing it.
11996
11997 2002-03-14  Juergen Vigna  <jug@sad.it>
11998
11999         * undo_funcs.C (textHandleUndo): do the right thing when updating
12000         the inset after the undo/redo.
12001
12002         * text2.C (setCursor): just some testcode for #44 not ready yet.
12003
12004         * undo_funcs.C (textHandleUndo): set the next() and previous()
12005         pointers of the paragraph to 0 before deleting otherwise we have
12006         problems with the Paragraph::[destructor].
12007
12008         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12009         on a paragraph insertion.
12010
12011 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12012
12013         * buffer.C (asciiParagraph): use += operator for char append to
12014         string.
12015
12016         * paragraph.C (getFontSettings): compare >= not just >
12017         (highestFontInRange): ditto
12018         (setFont): ditto
12019
12020 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * paragraph.C: change several algorithm to be more appripriate for
12023         the problem domain. This is lookip in FontList and in the InsetList.
12024
12025 2002-03-13  André Pönitz <poenitz@gmx.net>
12026
12027         * commandtags.h:
12028         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12029
12030 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * commandtags.h:
12033         * LyXAction.C:
12034         * lyxfunc.C:
12035         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12036
12037 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12038
12039         * Painter.C (display): anon helper function, adjust code for this
12040         change.
12041         (pixmap): remove function.
12042
12043         * Painter.h: remove private display variable.
12044
12045         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12046
12047 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12048
12049         * WorkArea.[Ch]: remove figinset_canvas cruft.
12050
12051 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12052
12053         * lyxtextclass.C (operator): add one item cache optimization.
12054
12055         * bufferlist.h: doxy changes
12056
12057         * bufferlist.C: ws changes
12058
12059         * DepTable.[Ch] (ext_exist): place const in the right spot.
12060
12061         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12062         call resizeInsets.
12063         (workAreaExpose): call resizeInsets when the with BufferView changes.
12064         (Dispatch): adjust for protectedBlank removal
12065         (specialChar): call updateInset if the insert went ok.
12066
12067         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12068         specialChar instead.
12069
12070         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12071
12072         * BufferView.h: doxy change
12073
12074         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12075
12076         * lyxtextclass.C (operator[]): remove non-const version
12077         (defaultLayout): remove non-const version
12078
12079 2002-03-12  Juergen Vigna  <jug@sad.it>
12080
12081         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12082         did resize the LyXText too.
12083
12084         * buffer.C (readLyXformat2): set layout information on newly allocated
12085         paragraphs.
12086
12087         * tabular.C (OldFormatRead): set layout information on the paragraph.
12088
12089 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12090
12091         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12092
12093 2002-03-11  Juergen Vigna  <jug@sad.it>
12094
12095         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12096         plainly wrong.
12097         (resizeCurrentBuffer): force also the insets to resize themselfes.
12098         (moveCursorUpdate): fixed up for InsetText.
12099
12100 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12101
12102         * commandtags.h:
12103         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12104         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12105         value of Dialogs::tooltipsEnabled().
12106         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12107
12108 2002-03-08  Juergen Vigna  <jug@sad.it>
12109
12110         * BufferView_pimpl.C (updateInset): update inset inside inset also
12111         if it isn't inside theLockingInset().
12112
12113 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12114
12115         * buffer.C (asciiParagraph): redo some of the word and line length
12116         handling.
12117         (getLists): look for Caption instead of caption.
12118
12119 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12120
12121         * buffer.C (Buffer): initialize niceFile to true
12122         (makeLaTeXFile):
12123         (makeLinuxDocFile):
12124         (makeDocBookFile): make sure niceFile is true on exit
12125
12126 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12127
12128         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12129
12130 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12131
12132         * LyXSendto.C: remove.
12133         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12134         * lyx_gui.C: remove now-redundant comment.
12135         * ColorHandler.h: remove forward declaration of class WorkArea.
12136         * lyxfunc.C: remove #include "WorkArea.h".
12137
12138 2002-03-07  Juergen Vigna  <jug@sad.it>
12139
12140         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12141         got moved away with the DEPM and also set the inset_owner always
12142         right which before could have been omitted.
12143
12144 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12147         wanted layout is not found.
12148
12149 2002-03-07  Juergen Vigna  <jug@sad.it>
12150
12151         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12152
12153 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12154
12155         * paragraph.C (breakParagraph): use default layout not layout of
12156         prev paragraph.
12157         (Paragraph): clear ParagraphParameters.
12158
12159 2002-03-06  Juergen Vigna  <jug@sad.it>
12160
12161         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12162         otherwise it would not be a valid lenght. Fixed a special case in
12163         the minipage compatibility read where we end the document with a
12164         minipage.
12165
12166         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12167         was set as it could be 0 for InsetTexts first entry.
12168
12169 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12170
12171         * paragraph.C (writeFile): if layout is empty write out
12172         defaultLayoutName().
12173
12174         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12175         file without named layout we set layout to defaultLayoutName().
12176
12177 2002-03-06  Juergen Vigna  <jug@sad.it>
12178
12179         * CutAndPaste.C (copySelection): set layout for new paragraph.
12180
12181         * text.C (prepareToPrint): leave ERT inset left aligned
12182         (leftMargin): don't indent paragraphs inside ERT insets
12183
12184 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * paragraph.C (breakParagraph): dont call clear do the work manually
12187
12188         * paragraph.[Ch] (clear): remove function
12189
12190 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * paragraph.C (Paragraph): dont call clear, the work has already
12193         been done.
12194
12195         * lyxtextclass.C (operator): assert if n is empty
12196
12197         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12198         work manually instead.
12199
12200 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12201
12202         * BufferView_pimpl.C: protect selectionLost against text == 0
12203
12204 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * text.C (breakParagraph): fix a setting layout to '0' problem.
12207
12208 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12209
12210         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12211         final location of file, for the included files, and graphics.
12212
12213 2002-03-05  Juergen Vigna  <jug@sad.it>
12214
12215         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12216
12217 2002-03-04  Juergen Vigna  <jug@sad.it>
12218
12219         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12220
12221         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12222         last column of multicolumn cells.
12223         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12224
12225 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12226
12227         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12228         file if it doesn't go to a temporary file.
12229
12230         * buffer.C (sgmlOpenTag):
12231         (sgmlCloseTag):  remove extra newline insertion.
12232
12233 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12234
12235         * text.C (getRowNearY): comment out debug msg
12236
12237 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12238
12239         * text2.C: first -> first_y
12240
12241         * text.C (getRowNearY): add some attemts at a possible
12242         optimization, not working.
12243
12244         * tabular.[Ch]: add BufferParams to several function so that newly
12245         created paragraph can be initialized to he default layotu for the
12246         buffers textclass.
12247
12248         * tabular-old.C (ReadOld): add buf->params to call of Init
12249
12250         * screen.C: rename text->first to text->first_y
12251
12252         * paragraph.C (breakParagraph): always set layout in the broken
12253         paragraph
12254
12255         * lyxtextclass.C (Read): remove lowercase
12256         (hasLayout): ditto
12257         (operator): ditto
12258         (delete_layout): ditto
12259
12260         * lyxtext.h: rename first -> first_y
12261
12262         * lyxlayout.C (Read): remove lowercase
12263         (name): ditto
12264         (setName): ditto
12265         (obsoleted_by): ditto
12266
12267         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12268
12269         * buffer.C (insertErtContents): add params are to InsetERT
12270         (parseSingleLyXformat2Token): add code to check if a paragraphs
12271         layout really exist.
12272         (parseSingleLyXformat2Token): add params to several inset
12273         constructors
12274         (asciiParagraph): remove lowercase, do the layout comparisons with
12275         no_case
12276
12277         * BufferView_pimpl.C (cursorNext): first -> first_y
12278         (resizeCurrentBuffer): first -> first_y
12279         (updateScrollbar): first -> first_y
12280         (scrollCB): first -> first_y
12281         (workAreaMotionNotify): first -> first_y
12282         (workAreaButtonPress): first -> first_y
12283         (checkInsetHit): first -> first_y
12284         (cursorPrevious): first -> first_y
12285         (cursorNext): first -> first_y
12286         (Dispatch): add buffer_->params to severl inset contructors
12287
12288 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12289
12290         * lyxlayout.C (Read): remove some debug info that I forgot.
12291
12292         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12293         clean up the code slightly.
12294         (makeLinuxDocFile): ditto
12295         (makeDocBookFile): ditto
12296
12297         * text2.C: layout as string
12298
12299         * text.C: layout as string
12300
12301         * paragraph_pimpl.C: layout as string
12302
12303         * paragraph.[Ch]: layout as string
12304
12305         * lyxtextclasslist.[Ch]: layout as string
12306
12307         * lyxtextclass.[Ch]: layout as string
12308
12309         * lyxtext.h: layout as string
12310
12311         * lyxlayout.[Ch]: layout as string
12312
12313         * lyx_cb.C: layout as string
12314
12315         * bufferview_funcs.C: layout as string
12316
12317         * bufferparams.C: layout as string
12318
12319         * buffer.C: layout as string
12320
12321         * LyXView.[Ch]: layout as string
12322
12323         * LaTeXFeatures.[Ch]: layout as string
12324
12325         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12326
12327         * BufferView_pimpl.C: change current_layout to string, remove
12328         lyx::layout_type.
12329         (Dispatch):
12330         (smartQuote):
12331         (insertInset):
12332         (workAreaButtonRelease): layout as string
12333
12334         * BufferView2.C (unlockInset): adjust
12335
12336         * vspace.C (asLatexCommand): use an explict temp variable.
12337
12338 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * Makefile.am: use FRONTEND_*
12341
12342 2002-03-01  Juergen Vigna  <jug@sad.it>
12343
12344         * tabular.C (SetWidthOfMulticolCell): changed to something better
12345         I hope but still work in progress.
12346         (recalculateMulticolumnsOfColumn): renamed function from
12347         recalculateMulticolCells as it is more appropriate now.
12348         (SetWidthOfCell): calculate multicols better.
12349
12350 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12351
12352         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12353
12354         * lyxfunc.C (processKeySym): print sequence also if it is
12355         `deleted' (complete)
12356
12357         * kbsequence.C (print): print sequence even if it is deleted
12358         (complete would be a better word, actually).
12359
12360         * lyxfunc.C (dispatch): print complete options after a prefix key
12361
12362         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12363
12364 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12365
12366         * text2.C (setCharFont): eliminate setCharFont code duplication.
12367
12368 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12369
12370         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12371         LFUN_TABULAR_FEATURE (bug #177)
12372
12373 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12374
12375         * Makefile.am: remove figure.h
12376
12377 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12378
12379         * Bufferview_pimpl.C:
12380         * CutAndPasteC:
12381         * LaTeX.C:
12382         * LyXSendto.C:
12383         * buffer.C:
12384         * bufferlist.C:
12385         * converter.C:
12386         * language.C:
12387         * lyxfunc.C:
12388         * lyxvc.C:
12389         * paragraph.C:
12390         * text.C:
12391         * text2.C: remove #include "lyx_gui_misc.h".
12392
12393         * LaTeX.C: added #include <cstdio>
12394
12395 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12396
12397         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12398         that the paragraph following this one can have.
12399
12400         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12401
12402         * vspace.C (asLatexCommand): fix bogus gcc warning
12403
12404         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12405
12406 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12407
12408         * text2.C (setLayout): get rid of redundant code
12409
12410 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12411
12412         * text2.C (incDepth): make sure depth cannot be increased beyond
12413         reasonable values.
12414
12415 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12416
12417         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12418         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12419
12420         * PainterBase.h (image):
12421         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12422         a LyXImage const *.
12423
12424 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * BufferView.C:
12427         * BufferView.h:
12428         * BufferView_pimpl.C:
12429         * BufferView_pimpl.h:
12430         * LaTeXFeatures.C:
12431         * LyXAction.C:
12432         * LyXView.C:
12433         * Makefile.am:
12434         * UpdateList.h:
12435         * UpdateList.C:
12436         * buffer.C:
12437         * figure.h:
12438         * figureForm.C:
12439         * figureForm.h:
12440         * figure_form.C:
12441         * figure_form.h:
12442         * lyx_cb.C:
12443         * lyx_gui.C:
12444         * lyx_gui_misc.C:
12445         * lyxfunc.C:
12446         * sp_base.h:
12447         * sp_ispell.h:
12448         * sp_pspell.h:
12449         * sp_spell.C: remove fig inset, and the crap house of
12450           cards that follows it
12451
12452 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * Makefile.am:
12455         * lyxserver.C:
12456         * os2_defines.h:
12457         * os2_errortable.h:
12458         * nt_defines.h: move .h into support/
12459
12460         * vms_defines.h: remove
12461
12462         * WorkArea.C: add space in debug output
12463
12464         * text2.C:
12465         * paragraph.C:
12466         * buffer.C: add WITH_WARNINGS
12467
12468         * vc-backend.h:
12469         * vc-backend.C:
12470         * bufferlist.C: s/retrive/retrieve/, add docs
12471
12472         * vspace.h:
12473         * vspace.C:
12474         * kbmap.h:
12475         * lyxlength.h:
12476         * lyxgluelength.h:
12477         * length_common.h:
12478         * chset.h:
12479         * chset.C: add docs
12480
12481         * lyxgui.C: add ID to X error handler
12482
12483         * lyxtestclass.c: fix typo
12484
12485 2002-02-26  Juergen Vigna  <jug@sad.it>
12486
12487         * tabular_funcs.C (write_attribute): changed so that some default
12488         attributes are not written at all.
12489         (getTokenValue): set default values before trying to read the
12490         value so we have the return value always set as default if we don't
12491         find the token we search for.
12492
12493         * tabular.C (Write): write bools as bools not as strings!
12494
12495 2002-02-22  Juergen Vigna  <jug@sad.it>
12496
12497         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12498         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12499
12500         * text.C (leftMargin): don't add an indent for paragraphs inside
12501         tabular cells (fix #208).
12502
12503 2002-02-21  José Matos  <jamatos@fep.up.pt>
12504
12505         * tabular.C (docBook): fixed support for long tables.
12506
12507 2002-02-20  Juergen Vigna  <jug@sad.it>
12508
12509         * text2.C (getFont): get the drawing font of the Inset if this
12510         paragraph is inside an inset (only important for InsetERT for now).
12511
12512         * buffer.C (insertErtContents): use new lanugage params in ERT
12513         constructor.
12514
12515         * CutAndPaste.C: commenting out seemingly uneeded code.
12516
12517 2002-02-19  Allan Rae  <rae@lyx.org>
12518
12519         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12520         Iterators might be simple to use but they also get invalidated.
12521         (removeAutoInsets): renamed saved cursor tracking variables and added
12522         some comments to clarify what everything does.
12523
12524 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12525
12526         * Chktex.C:
12527         * LaTeX.C:
12528         * LyXSendto.C:
12529         * converter.C:
12530         * lyx_cb.C:
12531         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12532         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12533
12534         * lyxfunc.C:
12535         * vc-backend.h: remove #include "support/syscall.h"
12536
12537         * LaTeX.C:
12538         * LyXSendto.C:
12539         * converter.C: rearrange #includes in Lars' approved fashion.
12540
12541         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12542         forward declare class Timeout in the header file.
12543
12544         * XFormsView.C: changes due to the above.
12545
12546         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12547         similar to LyXView.
12548
12549         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12550         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12551
12552 2002-02-18  José Matos  <jamatos@fep.up.pt>
12553
12554         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12555         insets contents.
12556
12557 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12558
12559         * a lot of small ws changes
12560         * add a lot of using std::XXX
12561         * use std construcs some places where approp.
12562         * use some exisint stuff from lyxfunctional where approp.
12563         * Make file changes to use partial linking (lets test this now...)
12564
12565 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12566
12567         * Chktex.C:
12568         * buffer.C:
12569         remove #include "support/syscontr.h" as it's redundant. Always has been.
12570
12571         * Chktex.C:
12572         * LaTeX.C:
12573         * LyXSendto.C:
12574         * converter.C:
12575         * lyx_cb.C:
12576         * vc-backend.C:
12577         change Systemcalls::System to Systemcalls::Wait and
12578         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12579         No change of functionality, just reflects the stripped down Systemcalls
12580         class.
12581
12582 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12583
12584         * debug.[Ch]: add a GRAPHICS type to the enum.
12585
12586 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12587
12588         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12589
12590         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12591         there is an inset.
12592
12593 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12594
12595         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12596         match the changes below.
12597
12598         * text2.C (toggleInset): if there is not editable inset at cursor
12599         position, try to see if cursor is _inside_ a collapsable inset
12600         and close it.
12601
12602 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12603
12604         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12605         document menu has a nice checkbox
12606
12607 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12608
12609         * lyxlength.C (asLatexString): change PW to output as percent of
12610         \textwidth.
12611
12612         * lengthcommon.C: change '%' to 't%'
12613
12614         * lyxfunc.C (dispatch): a few comments from Martin
12615
12616 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * WorkArea.h:
12619         * WorkArea.C:
12620         * BufferView_pimpl.h:
12621         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12622           the X selection.
12623
12624 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12625
12626         * vspace.C (inPixels): fix compiler warning
12627
12628 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12629
12630         * lyxfunc.C (getStatus): fix status message for disabled commands.
12631
12632 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * BufferView_pimpl.C: fix crash on close buffer
12635         during selection (#227)
12636
12637 2002-01-27  Herbert Voss  <voss@lyx.org>
12638
12639         * buffer.C: link old Figure to new graphic inset
12640
12641 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12642
12643         * FontLoader.C (getFontinfo): Change the latex font names in order
12644         to match the names of type1inst.
12645
12646 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12647
12648         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12649
12650         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12651         (extchanged): ditto
12652         (ext_exist): ditto
12653         (remove_files_with_extension): ditto
12654         (remove_file): ditto
12655         (write): ditto
12656
12657         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12658         document is smaller than the work area height. Do not initialize
12659         static variables to 0.
12660
12661 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12662
12663         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12664
12665         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12666         LFUN_LAYOUT_PARAGRAPHS.
12667
12668         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12669         tabular. It is possible to provide a possible cell, which will
12670         typically be the actcell from the corresponding insettabular
12671
12672         * lyxfunc.C (getStatus): small cleanup; disable
12673         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12674         true
12675
12676 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12677
12678         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12679
12680         * paragraph.C (startTeXParParams):
12681         (endTeXParParams): new methods. The LaTeX code to
12682         start/end paragraph formatting
12683         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12684         empty (fixes bug #200)
12685
12686         * vspace.C (inPixels): adapt to the change below
12687         (inPixels): [later] more cleanups (remove unused variables)
12688
12689         * lyxlength.C (inPixels): change to use a width and a height as
12690         parameter.
12691
12692 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12693
12694         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12695         Replaced with \paperwidth
12696
12697         * DepTable.C (insert): add std:: qualifier
12698
12699 2002-01-18  Allan Rae  <rae@lyx.org>
12700
12701         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12702         updated also?
12703
12704         * text.C (drawInset): Turned out I didn't know enough about how
12705         rebreaking worked.  This fixes most of the redraw problems.  I see
12706         an occasional cursor trail when a line is broken now and the cursor
12707         placement can seem out by a few pixels also after a rebreak.
12708
12709 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12710
12711         * buffer.C (parseSingleLyXformat2Token): update because minipage
12712         width is now a LyXLength
12713
12714         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12715
12716         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12717         math insets
12718
12719 2002-01-17  Juergen Vigna  <jug@sad.it>
12720
12721         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12722
12723         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12724         is set correctly and the inset is updated correctly.
12725
12726 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12729         the beginning of the loop.
12730
12731 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * lyxrc.C: improve help for use_scalable_fonts
12734
12735 2002-01-17  Allan Rae  <rae@lyx.org>
12736
12737         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12738
12739 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12740
12741         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12742         make sure to set their inset_owner to the right value (bug #171)
12743
12744 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12745
12746         * DepTable.h
12747         * DepTable.C: Implement mtime checking to reduce time spent doing
12748         CRCs.
12749
12750 2002-01-16  Juergen Vigna  <jug@sad.it>
12751
12752         * tabular.C (GetAdditionalHeight): one of error fixed.
12753
12754         * lyxrc.C (output): small fix in writing use_pspell.
12755
12756 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12757
12758         * sp_base.h: #include LString.h
12759
12760 2002-01-16  Allan Rae  <rae@lyx.org>
12761
12762         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12763         Can someone check this please?
12764
12765         * text.C (drawInset): It was possible that p.row would be removed by
12766         breakAgainOneRow upsetting a few other settings.  There may be another
12767         small tweak possible by setting need_break_row = 0 when p.row has been
12768         removed but I don't know enough about the logic here.
12769
12770 2002-01-15  Allan Rae  <rae@lyx.org>
12771
12772         * text.C (insertChar): removed conditional truism.
12773
12774         * BufferView2.C (removeAutoInsets): More tweaks.
12775         cur_par_prev could be a stray pointer.  Check for trailing empty line
12776         in case last line was cur_par and only had an error inset on it.
12777
12778 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12779
12780         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12781         absolute
12782
12783         * vc-backend.C (most methods):
12784         * exporter.C (Export):
12785         * converter.C (convert):
12786         (runLaTeX):
12787         * LyXSendto.C (SendtoApplyCB):
12788         * lyxfunc.C (dispatch):
12789         (menuNew):
12790         (open):
12791         (doImport):
12792         * lyx_cb.C (AutoSave):
12793         (InsertAsciiFile):
12794         * BufferView_pimpl.C (MenuInsertLyXFile):
12795         * buffer.C (runChktex): use Buffer::filePath().
12796
12797         * buffer.h: rename filename to filename_; rename filepath to
12798         filepath_ and make it private
12799         (filePath): new method
12800
12801         * buffer.C (writeFile): use fileName()
12802         (getLatexName):
12803
12804         * lyx_main.C (init): fix starting  of LyX when the binary is a
12805         link from so,ewhere else.
12806
12807         * minibuffer.C: include <cctype> for isprint
12808
12809 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12810
12811         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12812         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12813         name clash with InsetCollapsable's width function.
12814
12815 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * lastfiles.C: include <iterator>
12818
12819 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12820
12821         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12822         std::count.
12823
12824         * buffer.C (makeLaTeXFile): ditto.
12825         Also make loop operation more transparent.
12826
12827 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12828
12829         * ToolbarDefaults.C: remove trailing comma closing namespace.
12830
12831         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12832
12833         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12834         as in WorkArea.
12835
12836         * trans.C (Load): comment out unused variable, allowed.
12837
12838 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12839
12840         * minibuffer.[Ch] (append_char): new method to recieve input from the
12841         drop-down completion browser. If a key was pressed, then recieve this
12842         char and append it to the existing string.
12843         (peek_event): modify the positioning data passed to the completion
12844         browser so that it can be placed above the minibuffer rather than below.
12845 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12846
12847         * LyXAction.C (init): alloe error-next for readonly documents.
12848
12849         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12850         count.
12851
12852 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12853
12854         * bufferlist.C (readFile): create the buffer _after_ checking that
12855         the file exists.
12856
12857         * lyxfunc.C (verboseDispatch): fix handling of arguments
12858
12859         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12860
12861         * lyxrc.C: use string::erase() instead of initializing to "".
12862
12863
12864 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12865
12866         * BufferView_pimpl.h:
12867         * BufferView_pimpl.C:
12868         * WorkArea.h:
12869         * WorkArea.C:
12870         * text2.C: tell X when we have made a selection for copying
12871
12872 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12873
12874         * BufferView_pimpl.C (MenuInsertLyXFile):
12875         * lyxfunc.C (menuNew):
12876         (open):
12877         (doImport): add shortcuts to directory buttons
12878
12879         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12880         open a float)
12881
12882         * lyxfunc.C (setStatusMessage):
12883         (getStatusMessage): new methods
12884         (getStatus):use setStatusMessage instead of setErrorMessage
12885         (dispatch): when function is disabled, set error message here
12886         [instead of in getStatus previously]
12887
12888         * BufferView_pimpl.C (workAreaButtonRelease): update
12889         toolbar/menubar here too.
12890
12891 2002-01-13  Allan Rae  <rae@lyx.org>
12892
12893         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12894         Now seems indestructible.  Remaining task is to audit all other
12895         code affected by deleteEmptyParagraphMechanism.  One small quirk
12896         left is that an empty document with an error in the preamble can
12897         be made to report an error but no error box appears.  I don't know
12898         where it goes.
12899         (removeAutoInsets): Improved comments.
12900
12901 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12902
12903         * Thesaurus.h:
12904         * Thesaurus.C: update for Aiksaurus 0.14
12905
12906 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12907
12908         * text2.C (firstParagraph): removed member function, all uses
12909         replaces with ownerParagraph
12910         (redoParagraphs): here
12911         (updateInset): here
12912         (toggleAppendix): here
12913         * BufferView2.C (insertErrors): here
12914         (setCursorFromRow): here
12915
12916 2002-01-13  Allan Rae  <rae@lyx.org>
12917
12918         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12919         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12920         There is still a way to segfault this although you may have to do this
12921         multiple times: Have an InsetERT with an unknown command in it.
12922         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12923         <down-arrow>, <Enter> again, View->DVI, BANG!
12924
12925         * text2.C (setCursor):
12926         (deleteEmptyParagraphMechanism):
12927         * lyxtext.h (setCursor):
12928         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12929         Making use of the return value may help fix other bugs.
12930
12931 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12932
12933         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12934
12935         * LyXView.C (updateMenubar): call MenuBar::update here
12936         (updateToolbar): but not here
12937         (showState): do not update toolbar/menubar
12938
12939         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12940         should need to care about that.
12941
12942         * lyxfunc.C (verboseDispatch): simplify a bit
12943         (getStatus): have a version which takes a pseudoaction, and
12944         another which requires a (kb_action,string).
12945
12946         * LyXAction.C (retrieveActionArg): make it work also when action
12947         is not a pseudo-action.
12948         (getActionName): simplify a bit
12949         (helpText):
12950
12951 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12952
12953         * lyxfunc.C (verboseDispatch): new families of methods with
12954         several ways to specify a command and a bool to indicate whether
12955         the command name and shortcut should be displayed in minibuffer
12956         (eventually, we could extend that to a finer bitmask like
12957         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12958         (dispatch): the pristine dispatch command which just, well,
12959         dispatchs! Note it still sets its result to minibuffer; I'm not
12960         sure we want that.
12961
12962         * lyxfunc.h: remove setHintMessage
12963
12964         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12965
12966 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12967
12968         * BufferView_pimpl.C (specialChar): delete new inset if we have
12969         not been able to insert it.
12970
12971         * kbmap.C: revert to using int instead of kb_action, since all we
12972         are dealing with is pseudo-actions.
12973
12974         * LyXAction.C (searchActionArg): change to return int instead of
12975         kb_action, since the result is a pseudoaction.
12976
12977 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12978
12979         * buffer.C (insertErtContents): Fix (partially) the font bug.
12980
12981 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12982
12983         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12984         as the other one is broken on my machine!
12985
12986 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12987
12988         * commandtags.h:
12989         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12990
12991 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12992
12993         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12994         reflect their actual use. Provide compatibility code for older lyxrc
12995         files.
12996
12997         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12998         FL_NORMAL_STYLE.
12999         change names of popup font variables in line with the changes to lyxrc.C
13000
13001 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13002
13003         * buffer.C (asciiParagraph): avoid outputing a word twice after
13004         an inset.
13005
13006         * lyxrc.C (getDescription): document that document_path and
13007         template_path can be empty.
13008
13009 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13010
13011         * LaTeXFeatures.C (getMacros):
13012         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13013
13014         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13015
13016         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13017         getPackages.
13018         (getPackages): rename feature "floats" to "float". Use an array to
13019         iterate over 'simple' features (i.e. just a \usepackage). Add
13020         handling of "amsmath" (renamed from "amsstyle").
13021
13022 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13023
13024         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13025         features list.
13026
13027 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13028
13029         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13030         FuncStaus::FuncStatus & FuncStaus::some_method().
13031
13032 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13033
13034         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13035         of the func_satus stuff. Edited and massaged in various ways by
13036         JMarc.
13037
13038         * lyxfunc.C (getStatus): use FuncStatus
13039
13040 2002-01-08  Juergen Vigna  <jug@sad.it>
13041
13042         * text.C (nextBreakPoint): use function Inset::isChar().
13043
13044         * paragraph.C (TeXOnePar): use function
13045         Inset::forceDefaultParagraphs.
13046
13047         * buffer.C (latexParagraphs): use function
13048         Inset::forceDefaultParagraphs.
13049
13050 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13051
13052         * lyx_gui.C (init): set the style of the menu popups to
13053         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13054
13055 2002-01-07  Juergen Vigna  <jug@sad.it>
13056
13057         * text.C (setHeightOfRow): small fix
13058         (prepareToPrint): don't look at alignment if we don't have the place
13059         for doing it.
13060
13061 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13062
13063         * box.C: New file. Move the Box methods and functions out of box.h,
13064         following Lars' suggestion.
13065
13066 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13067
13068         * box.h: #include "support/LOstream.h", needed for inlined function.
13069
13070         * lyxtextclass.C:
13071         * lyxtextclasslist.C: added some using std declarations.
13072
13073 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13074
13075         * box.h: make signed dimensions to allow insets wider than
13076           the screen (bug #162)
13077
13078         * BufferView_pimpl.C: add some insetHit debug
13079
13080 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13081
13082         * vc-backend.C: add FIXME
13083
13084 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13085
13086         * lyxfunc.C (getStatus): enable code for showing math font status
13087         in toolbar/menu.
13088
13089 2002-01-07  Juergen Vigna  <jug@sad.it>
13090
13091         * text.C (nextBreakPoint): removed debug output not needed anymore.
13092
13093 2002-01-06  Juergen Vigna  <jug@sad.it>
13094
13095         * text.C (nextBreakPoint): fixed up this function we had this bug
13096         since ever but now hopefully we break row better.
13097         (insertChar): we have to check if an inset is the next char as it
13098         could now happen that a large inset is causing a break.
13099
13100 2002-01-05  Juergen Vigna  <jug@sad.it>
13101
13102         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13103         if it doesn't like to be drawed.
13104
13105 2002-01-04  Juergen Vigna  <jug@sad.it>
13106
13107         * BufferView2.C (lockInset): forgot to set a cursor.
13108
13109         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13110
13111 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13112
13113         * FormMathsPanel.C:
13114         * FormMathsPanel.h
13115         * MathsSymbols.C:
13116         * form_maths_panel.C:
13117         * form_maths_panel.h:
13118         * form_maths_panel.fd: implemented sub- and super- buttons in math
13119         panel.
13120
13121         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13122         (or ^ space) to be used as in TeX (req'd by André).
13123
13124         * lyxfunc.C: Allow ^ and _ again to be used both as
13125         super/subscript (mathed) and as themselves (in text).
13126
13127 2002-01-03  Allan Rae  <rae@lyx.org>
13128
13129         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13130         "LyX" or the filename of the current buffer if it has one.  This is a
13131         modified form of John Levon's patch.
13132
13133         * XFormsView.C (setWindowTitle): also set icon title.
13134
13135         * LyXView.h (setWindowTitle): signature changed.
13136         * XFormsView.h (setWindowTitle): ditto.
13137
13138 2002-01-02  Juergen Vigna  <jug@sad.it>
13139
13140         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13141
13142 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * screen.C (topCursorVisible): introduce a temp var for
13145         text->cursor.row(), handle the case where this row is null. (kindo
13146         hachish)
13147
13148         * text2.C (setCursor): add a couple of asserts.
13149
13150         * paragraph.h (inset_iterator): add -> operator
13151
13152         * paragraph.[Ch] (autoDeleteInsets): remove member function
13153
13154         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13155         cursor pos correctly and handle inset deletion by itself.
13156         (insertErrors): move iterator declaration out of for expression
13157
13158         * lyxtextclass.C: add <algorithm>
13159
13160         * Makefile.am: added the new files to sources, removed layout.C
13161
13162         * layout.C: removed file
13163
13164         * layout.h: remove LYX_DUMMY_LAYOUT
13165
13166         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13167         layout.
13168
13169         * lyxlayout.[Ch]:
13170         * lyxtextclass.[Ch]:
13171         * lyxtextclasslist.[Ch]: new files
13172
13173         * include order changes to a lot of files, also changes because of
13174         the six new files.
13175
13176 2001-12-27  Juergen Vigna  <jug@sad.it>
13177
13178         * buffer.C (asciiParagraph): more fixes.
13179
13180         * tabular.C (ascii): make ascii export support export of only the
13181         data separated by a column-delimiter.
13182         (ascii): better support for ascii export.
13183
13184         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13185
13186 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13187
13188         * tabular_funcs.C: use a "using std::getline" instead of the
13189         previous fix from Angus (necessary for cxx + lyxstring)
13190
13191 2001-12-24  Juergen Vigna  <jug@sad.it>
13192
13193         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13194
13195         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13196         problems. First check a minipage also if we have some ert-contents
13197         (not only on par->size(), second set the right depth of the paragraph
13198         on the relink to the root-paragraph-list!
13199
13200         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13201         which then did not anymore update the main paragraphs on undo/redo!
13202
13203 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13204
13205         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13206         code. Support all font-changing funcs (even those which are not in
13207         menu currently). Support for reporting font settings in
13208         mathed (disabled until Andre provides a function on mathed's side).
13209
13210         * func_status.h (toggle): small helper function to set toggle
13211         state on a flag.
13212
13213 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13214
13215         * tabular_funcs.C: getline -> std::getline
13216
13217 2001-12-21  Juergen Vigna  <jug@sad.it>
13218
13219         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13220         accessed and could be 0 (I couldn't generate this but it seems
13221         Michael could!).
13222
13223 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13224
13225         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13226         * tabular_funcs.h: here and include iosfwd
13227
13228 2001-12-20  Juergen Vigna  <jug@sad.it>
13229
13230         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13231         inside inset but undo_par was.
13232
13233 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13234
13235         * Thesaurus.C: always include <config.h> in sources.
13236
13237         * Painter.h:
13238         * lyxlookup.h:
13239         * box.h: do not include <config.h> in header files
13240
13241         * text.C (paintLastRow): remove unused variable
13242
13243         * text.C (transformChar):
13244         (insertChar):
13245         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13246
13247         * Painter.C (text):
13248         * font.C (width): rewrite to use uppercase() instead of
13249         islower/toupper.
13250
13251         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13252
13253 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13254
13255         * lyxfind.C: clean up of find failure position change
13256
13257 2001-12-20  Juergen Vigna  <jug@sad.it>
13258
13259         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13260
13261         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13262         (TeXRow): added to LaTeX a single tabular row.
13263         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13264         (Latex): simplified and finally good LT-h/f support.
13265         (various_functions): just small adaptions for LT-h/f support.
13266
13267         * tabular_funcs.[hC]: added and moved here all not classfunctions
13268         of LyXTabular.
13269
13270 2001-12-19  Juergen Vigna  <jug@sad.it>
13271
13272         * tabular.[Ch]: better support for longtabular options (not finished
13273         yet!)
13274
13275 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13276
13277         * text.C (paintLastRow): use the label font instead of the font of
13278         the last character to compute the size of *_BOX. This makes more
13279         sense and avoids a crash with empty paragraphs.
13280         Use Painter::rectangle to draw EMPTY_BOX.
13281
13282 2001-12-19  Juergen Vigna  <jug@sad.it>
13283
13284         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13285         the paragraphs if the replaced paragraph is not the first one!
13286         Tried to delete not used paragraphs but does not work yet so for
13287         now it's inside #ifdef's and by default off!
13288
13289 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13290
13291         * MenuBackend.C: include "lyx_main.h" instead of declaring
13292         lastfiles (actually was declared as LastFiles* instead of a
13293         scoped_ptr).
13294
13295 2001-12-17  Juergen Vigna  <jug@sad.it>
13296
13297         * tabular.C (AppendColumn): applied John's fix
13298
13299 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13300
13301         * BufferView.h:
13302         * BufferView.C:
13303         * BufferView_pimpl.h:
13304         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13305
13306         * Makefile.am:
13307         * box.h: new start of class for above
13308
13309         * lyxfunc.C: ignore space-only minibuffer dispatches.
13310           Show the command name when it doesn't exist
13311
13312         * minibuffer.C: don't add empty lines to the history
13313
13314         * minibuffer.C: add a space on dropdown completion
13315
13316 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * text.C: fix line above/below drawing in insets
13319
13320 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13321
13322         * lyxlength.C (LyXLength): Initialize private variables.
13323
13324 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13327         when inserting error insets.
13328
13329 2001-12-13  Juergen Vigna  <jug@sad.it>
13330
13331         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13332         actually sometimes the before-paragraph.
13333         (setUndo): don't clear the redostack if we're not actually undoing!
13334
13335 2001-12-06  Juergen Vigna  <jug@sad.it>
13336
13337         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13338         and fixed redoing of main paragraph, so we can use it now ;)
13339
13340         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13341
13342 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13343
13344         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13345         Juergen's request
13346
13347 2001-12-13  André Pönitz <poenitz@gmx.net>
13348
13349         * undostack.[Ch]:
13350         * undo_func.C: minor cleanup
13351
13352 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13353
13354         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13355         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13356         font in urw-fonts package which is marked as -urw-fontspecific and
13357         does not work (incidentally, changing the encoding in the
13358         fonts.dir of this package to -adobe-fontspecific fixes the
13359         problem).
13360
13361         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13362         is a crash when undoing first paragraph (Juergen, please take a
13363         look). THis does not mean the undo fix is wrong, just that it
13364         uncovers problems.
13365
13366         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13367         the (Paragraph*) version when needed instead of duplicating the
13368         code.
13369
13370         * text.C (workWidth): use Inset::parOwner to find out where the
13371         inset has been inserted. This is a huge performance gain for large
13372         documents with lots of insets. If Inset::parOwner is not set, fall
13373         back on the brute force method
13374
13375         * paragraph_pimpl.C (insertInset):
13376         * paragraph.C (Paragraph):
13377         (cutIntoMinibuffer): set parOwner of insets when
13378         inserting/removing them
13379
13380         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13381
13382 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13383
13384         * commandtags.h:
13385         * LyXAction.C:
13386         * lyx_main.C:
13387         * lyxfunc.C:
13388         * mathed/formulabase.C:
13389         * mathed/math_cursor.[Ch]:
13390         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13391
13392
13393 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13394
13395         * lyxlength.[Ch] (operator!=): new function
13396
13397 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13398
13399         * text.C (workWidth): use Inset::parOwner to find out where the
13400         inset has been inserted. This is a huge performance gain for large
13401         documents with lots of insets. If Inset::parOwner is not set, fall
13402         back on the brute force method
13403
13404         * paragraph_pimpl.C (insertInset):
13405         * paragraph.C (Paragraph):
13406         (cutIntoMinibuffer): set parOwner of insets when
13407         inserting/removing them
13408
13409         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13410
13411 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13412
13413         * tabular-old.C (getTokenValue):
13414         * tabular.C (getTokenValue):
13415         (write_attribute): new versions for LyXLength
13416         (everywhere): adjust the use of widths
13417
13418         * tabular.h: change the type of widths from string to LyXLength
13419
13420 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13421
13422         * paragraph.C: fixed missing line number count when exporting
13423         Environments to LaTeX file
13424
13425         * buffer.C: added informational message for checking line numbers.
13426
13427 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13428
13429         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13430         paragraph, do the 'double space' part, but not the 'empty
13431         paragraph' one.
13432
13433         * text.C (workWidth): small optimization
13434         (getLengthMarkerHeight): use minimal size for negative lengths.
13435
13436 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13437
13438         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13439
13440         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13441
13442 2001-12-11  André Pönitz <poenitz@gmx.net>
13443
13444         * FontLoader.C:
13445         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13446
13447 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13448
13449         * text2.C: keep selection on a setFont()
13450
13451 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13452
13453         * lyx_cb.C: another bv->text misuse, from insert label
13454
13455 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13456
13457         * kbsequence.h:
13458         * kbsequence.C: re-instate nmodifier mask
13459
13460 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13461
13462         * lyx_main.h: make lyxGUI private.
13463
13464 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13465
13466         * lyxfind.C: place the cursor correctly on failed search
13467
13468 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13469
13470         * text.C (getLengthMarkerHeight): for small heights, the arrows
13471         are not always on top/bottom of the text
13472         (drawLengthMarker): smaller arrows; take the left margin in
13473         account; draw also vfills.
13474         (paintFirstRow):
13475         (paintLastRow): remove special code for vfill and standard spaces,
13476         since everything is handled in drawLengthMarker now.
13477
13478 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13479
13480         * buffer.C (insertErtContents): try to handle font and language
13481         interaction a bit better.g
13482
13483         * ColorHandler.C (updateColor): change the hash to cover the whole
13484         LColor enum, ws cleanup
13485         (getGCLinepars): ditto
13486         (getGCLinepars): only lookup in the linecache once.
13487
13488 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13489
13490         * iterators.C (operator++): Make the iterator more robust
13491
13492         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13493         (John's patch)
13494         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13495
13496 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * lyxtext.h:
13499         * text.C: better added space drawing
13500
13501 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13502
13503         * LyXView.C:
13504         * BufferView2.C: fix layout combo update on inset unlock
13505
13506 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13507
13508         * Makefile.am: don't compile unused files
13509
13510 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13511
13512         * lyxfunc.C:
13513         * commandtags.h:
13514         * LyXAction.C: remove old LFUN_LAYOUTNO
13515
13516 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13517
13518         * paragraph_pimpl.h:
13519         * paragraph_pimpl.C: isTextAt() doesn't need font param
13520
13521 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * lyxlex.h:
13524         * lyxlex.C: little cleanup
13525
13526 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13527
13528         * BufferView_pimpl.C: fix insertAscii for insets
13529
13530 2001-12-05  Juergen Vigna  <jug@sad.it>
13531
13532         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13533         set the right font on the "multi" paragraph paste!
13534
13535 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * trans_decl.h:
13538         * trans_mgr.[Ch]:
13539         * trans.[Ch]:
13540         * lyxgluelength.C:
13541         * lyxlength.C: remove out-commented code.
13542
13543         * BufferView_pimpl:
13544         * CutAndPaste.C:
13545         * DepTable.C:
13546         * buffer.C:
13547         * chset.C:
13548         * lastfiles.C:
13549         * lyxlex.C:
13550         * lyxlex_pimpl.C:
13551         * lyxserver.C:
13552         * screen.C:
13553         * tabular-old.C:
13554         * tabular.C:
13555         * text.C:
13556         * trans_mgr.C:
13557         * vc-backend.C: change "while(" to "while ("
13558
13559         * lyxlength.[Ch]: add zero function to check if length is zero or
13560         not
13561         * lyxgluelength.C: use it
13562
13563 2001-12-05  Allan Rae  <rae@lyx.org>
13564
13565         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13566         Works for 2.95.3, from what I understand of Garst's reports this should
13567         work for other g++ versions.  We're screwed if the abs(int) definition
13568         changed between bugfix releases of gcc.
13569
13570 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * text.C: fix chapter label offset !
13573
13574 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * lyxtext.h:
13577         * text.C: fix hfill at end of line, clean up
13578
13579 2001-12-04  Juergen Vigna  <jug@sad.it>
13580
13581         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13582         that we force an update of the inset and it's owners if neccessary.
13583
13584 2001-12-03  Juergen Vigna  <jug@sad.it>
13585
13586         * text.C (rowLast): simplified code
13587
13588 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * lyxfunc.C: fix show options on timeout
13591
13592 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13593
13594         * screen.C (topCursorVisible): scroll half a page when the cursor
13595         reached top of bottom of screen
13596
13597 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13598
13599         * minibuffer.C: deactivate on loss of focus
13600
13601 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13602
13603         * vspace.[Ch] (operator!=): add operator.
13604
13605 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13606
13607         * BufferView_pimpl.C: refuse to open an inset when
13608         there's a selection.
13609
13610 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13611
13612         * BufferView_pimpl.C: allow to click on RHS of full row insets
13613
13614 2001-11-30  Juergen Vigna  <jug@sad.it>
13615
13616         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13617         insets for undo reasons.
13618
13619 2001-11-28  André Pönitz <poenitz@gmx.net>
13620
13621         * vspace.[Ch]: cosmetical changes
13622
13623 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13624
13625         * LyXAction.h:
13626         * LyXAction.C:
13627         * lyxfunc.h:
13628         * lyxfunc.C:
13629         * kbmap.h:
13630         * kbmap.C:
13631         * lyxrc.C:
13632         * kbsequence.h:
13633         * kbsequence.C: part re-write of old kb code
13634
13635         * Painter.C:
13636         * WorkArea.C: remove Lgb_bug_find_hack
13637
13638 2001-11-30  José Matos <jamatos@fep.up.pt>
13639
13640         * buffer.C (makeDocBookFile): add a comment to point a hack.
13641         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13642         Fixed a double write of labels.
13643
13644 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13645
13646         * LaTeX.C:
13647         * LaTeX.h Fixed bug in LaTeX class where it would not
13648         re-run latex if no depfiles were changed, but the .dvi was removed.
13649
13650 2001-11-28  André Pönitz <poenitz@gmx.net>
13651
13652         * all the files from the change on 2001/11/26:
13653         use lyx::layout_type instead of LyXTextClass::size_type
13654         use lyx::textclass_type instead of LyXTextClassList::size_type
13655
13656 2001-11-29  Juergen Vigna  <jug@sad.it>
13657
13658         * text.C: added support for paragraph::isFreeSpacing()
13659
13660         * buffer.C: same as above
13661
13662         * paragraph.h: inserted isFreeSpacing() function to enable
13663         FreeSpacing inside InsetERT.
13664
13665         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13666         of the paragraph's in the cut/copy buffer to 0!
13667
13668         * text2.C (removeRow): remove the assert as it can!
13669
13670         * lyxtext.h: added helper function firstRow returning firstrow and
13671         made firstrow private again.
13672
13673         * BufferView2.C (lockInset): don't relock if we're already locked!
13674
13675         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13676         the only paragraph.
13677         (removeRow): added Assert::(firstrow)
13678
13679         * debug.C: forgot to add INSETTEXT here.
13680
13681 2001-11-28  Juergen Vigna  <jug@sad.it>
13682
13683         * sp_spell.C (initialize): changed error text to more general
13684         spellchecker command use (not only ispell!)
13685
13686         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13687
13688         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13689
13690 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13691
13692         * vspace.C: initialise lyxgluelength on failure
13693
13694 2001-11-28  Allan Rae  <rae@lyx.org>
13695
13696         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13697         declaration & definition that looks like a function declaration.
13698
13699 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * BufferView2.C (copy):
13702         (copyEnvironment): do not clear the selection when doing a copy.
13703
13704         * text.C (paintFirstRow): compilation fix
13705
13706 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13707
13708         * tabular.C (Latex): correct line count when writing latex.
13709
13710 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13711
13712         * paragraph_pimpl.h:
13713         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13714           bug a bit
13715
13716 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13717
13718         * text.C:
13719         * LColor.h:
13720         * LColor.C: change vfillline->added_space
13721
13722         * text.C: add markers and text for added space
13723
13724         * vspace.C: fix comment
13725
13726 2001-11-28  André Pönitz <poenitz@gmx.net>
13727
13728         * paragraph.C: whitespace changes
13729         * all the other files from the change on 2001/11/26:
13730         change *::pos_type into lyx::pos_type
13731
13732 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13733
13734         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13735         language of the document when inserting error insets.
13736
13737 2001-11-26  André Pönitz <poenitz@gmx.net>
13738
13739         * BufferView_pimpl.[Ch]:
13740         *       CutAndPaste.C:
13741         * buffer.[Ch]:
13742         * lyxcursor.[Ch]:
13743         * lyxfind.C:
13744         * lyxfunc.C:
13745         * lyxrow.[Ch]:
13746         * paragraph.[Ch]:
13747         * paragraph_pimpl.[Ch]:
13748         * sp_spell.C:
13749         * text.C:
13750         * text2.C: reduce header dependencies, introduce type for positions
13751
13752 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13753
13754         * <various>: change to use Alert.h
13755
13756 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13757
13758         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13759         when encountering an unknown token.
13760         (readLyXformat2): Show an error message if there were unknown tokens.
13761
13762 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13763
13764         * BufferView2.C:
13765         * BufferView_pimpl.C:
13766         * buffer.C:
13767         * paragraph.h:
13768         * text.C:
13769         * text2.C: use par->isInset()
13770
13771 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13772
13773         * paragraph_pimpl.h:
13774         * paragraph_pimpl.C: cleanup
13775
13776 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13777
13778         * text2.C (removeRow):
13779         * text.C (setHeightOfRow): remove useless (and costly) call to
13780         getRow.
13781
13782 2001-11-20  Allan Rae  <rae@lyx.org>
13783
13784         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13785         Now need Inset*::checkInsertChar() to return true for appropriate
13786         cases so that the characters in the minibuffer will actually be
13787         inserted.
13788
13789 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13790
13791         * text.C: change the order of the includes.
13792         (workWidth): initialize it at once.
13793         (workWidth): make maxw unsigned
13794         (setHeightOfRow): remove unused variable (inset)
13795         (selectSelectedWord): remove unused variable (inset)
13796         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13797
13798 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13799
13800         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13801         server is not running.
13802         (openConnection):
13803         (closeConnection): add debug info when server is disabled.
13804
13805         * ColorHandler.C (getGCForeground): send debug message to GUI
13806         channel.
13807
13808         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13809
13810         * kbmap.C (bind): modify because return conventions of
13811         kb_sequence::parse have changed.
13812
13813         * kbsequence.C (parse): only ignore spaces and not any stupid
13814         control character. This avoids tests like s[i] <= ' ', which are
13815         guaranteed to fail with 8bit characters and signed chars.
13816         Change return code to string::npos when there have been no error
13817         (0 was a bad idea when error is at first character)
13818
13819 2001-11-14  José Matos  <jamatos@fep.up.pt>
13820
13821         * buffer.h:
13822         * buffer.C (simpleDocBookOnePar): removed unused argument.
13823
13824 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13825
13826         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13827         insets which are part of a word. Paragraph::isLetter takes care of
13828         that now. Use Paragraph::isInset to identify insets.
13829         (selectSelectedWord): do not test for hyphenation break.
13830
13831         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13832         that protected spaces are considered as spaces.
13833
13834         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13835         Inset::isLetter.
13836
13837 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13838
13839         * lyxserver.h:
13840         * lyxserver.C: fix it. and small cleanup.
13841
13842 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13843
13844         * BufferView_pimpl.C: use inline helpers
13845
13846         * LaTeXFeatures.h:
13847         * LaTeXFeatures.C: fix typos
13848
13849         * Spacing.h:
13850         * Spacing.C: move spacing_string into class
13851
13852         * ToolbarDefaults.C: move stuff into namespace anon
13853
13854         * layout.h: update enum
13855
13856         * lyxfunc.C: use better debug
13857
13858         * minibuffer.h: fix typo
13859
13860         * debug.h:
13861         * debug.C:
13862         * WorkArea.C: add and use Debug::WORKAREA
13863
13864         * lyxtext.h:
13865         * text.C:
13866         * text2.C: code re-organisation, inline helpers
13867
13868 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13869
13870         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13871         std::vector.empty().
13872
13873 2001-11-09  Allan Rae  <rae@lyx.org>
13874
13875         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13876         '\n's after tables.  Tabular and ERT inset work now makes this no
13877         longer necessary.
13878
13879 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13880
13881         * minibuffer.h:
13882         * minibuffer.C: fix crash, improve drop-down completion
13883
13884 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13885
13886         * lyxserver.h:
13887         * lyxserver.C: invalidate fd's when doing endPipe()
13888
13889 2001-11-08  José Matos  <jamatos@fep.up.pt>
13890
13891         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13892         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13893
13894         * paragraph.h:
13895         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13896
13897 2001-11-07  José Matos  <jamatos@fep.up.pt>
13898
13899         * buffer.h:
13900         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13901         const qualifier.
13902
13903         * buffer.C (sgmlOpenTag):
13904         * buffer.C (sgmlCloseTag): removed debug info.
13905
13906         * buffer.h (sgmlOpenTag):
13907         * buffer.h (sgmlCloseTag): made public.
13908
13909 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * buffer.C (saveParamsAsDefaults):
13912         * lyx_cb.C (MenuLayoutSave): remove
13913
13914         * LyXAction.C (init):
13915         * commandtags.h:
13916         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13917
13918 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13919
13920         * buffer.C (setPaperStuff): removed from here...
13921
13922         * bufferparams.C (setPaperStuff): ... and moved there.
13923
13924 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * minibuffer.h:
13927         * minibuffer.C:
13928         * XFormsView.C: add support for drop-down completion
13929
13930 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13931
13932         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13933         commands.
13934
13935 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13938         disabled.
13939
13940 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13941
13942         * lyx_main.C: change ref to known bugs
13943
13944 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13945
13946         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13947         to work around older babel problems.
13948
13949 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13950
13951         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13952
13953 2001-10-24  Juergen Vigna  <jug@sad.it>
13954
13955         * tabular-old.C (ReadOld): below variable changes reflected.
13956
13957         * tabular.[Ch]: added ltType struct for longtable header/footer
13958         defines and changed all instances where they are used. Added
13959         future support for double top/bottom rows.
13960
13961 2001-10-24  José Matos  <jamatos@fep.up.pt>
13962
13963         * buffer.h (docbookHandleCaption):
13964         * buffer.C (docbookHandleCaption): removed unused function.
13965         (makeDocBookFile): moved docbook supported version to v4.1.
13966
13967 2001-10-24  José Matos  <jamatos@fep.up.pt>
13968
13969         * tabular.h:
13970         * tabular.C (docbookRow): new function to export docbook code of a row.
13971         (DocBook): now honors the longtable flags.
13972
13973 2001-10-23  José Matos  <jamatos@fep.up.pt>
13974
13975         * LaTeXFeatures.h:
13976         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13977         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13978
13979         * buffer.C (makeLinuxDocFile):
13980         (makeDocBookFile): reworked the preamble, more clean, and with
13981         support for lyx defined entities. Changed the document declaration
13982         to be more XML friendly.
13983
13984         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13985         if we need to output XML that should be done with a filter.
13986
13987 2001-10-22  Juergen Vigna  <jug@sad.it>
13988
13989         * sp_pspell.h (class PSpell): add alive function needed in the
13990         controller to see if the spellchecker could be started.
13991
13992 2001-10-22  Juergen Vigna  <jug@sad.it>
13993
13994         * buffer.C (insertStringAsLines): modify the font for inserting
13995         chars in certain conditions by calling checkInsertChar(font).
13996
13997 2001-10-19  Juergen Vigna  <jug@sad.it>
13998
13999         * text.C (workWidth): use getRow instead of wrong algorithm.
14000         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14001
14002 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14003
14004         * lyxserver.h:
14005         * lyxserver.C:
14006         * lyx_main.h:
14007         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14008
14009 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * text.C (workWidth): do not search for the exact row when
14012         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14013         optimization for big documents.
14014
14015 2001-10-18  Juergen Vigna  <jug@sad.it>
14016
14017         * text.C (workWidth): new function with added Inset * parameter.
14018
14019 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14020
14021         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14022
14023         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14024         change return type of getColumnNearX.
14025
14026
14027         * text.C (changeRegionCase): use uppercase/lowercase instead of
14028         toupper/tolower.
14029         (leftMargin):
14030         (rightMargin): simplify code by factoring out the uses of
14031         textclasslist.
14032         (labelFill):
14033         (numberOfHfills):
14034         (setHeightOfRow):
14035         (appendParagraph): use Paragraph::size_type
14036
14037 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14038
14039         * vspace.C (asLatexString): add a missing break
14040
14041 2001-10-15  Herbert Voss  <voss@perce.de>
14042
14043         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14044
14045 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14046
14047         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14048         is not available.
14049
14050 2001-10-10  André Pönitz <poenitz@gmx.net>
14051
14052         * lyxfunc.C: removed greek_kb_flag.
14053
14054 2001-10-10  Herbert Voss  <voss@perce.de>
14055
14056         * lyx_main.C: delete global string help_lyxdir.
14057
14058 2001-10-09  Herbert Voss  <voss@perce.de>
14059
14060         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14061
14062         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14063
14064         * lyx_main.C: added global string help_lyxdir.
14065
14066         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14067
14068 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14069
14070         * lyxrc.C (set_font_norm_type): support iso8859-4
14071
14072 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14073
14074         * LaTeX.C (deplog): add another regex for MikTeX
14075
14076 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14077
14078         * lyxrc.C (set_font_norm_type): support iso8859-3
14079
14080 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14081
14082         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14083
14084         * LaTeXFeatures.C: remove special case of french and index
14085
14086         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14087         before \begin{document}). This solves several incompatibilities.
14088
14089 2001-10-03  Garst Reese  <reese@isn.net>
14090
14091         * lyx_cb.C: change CheckTex error msg.
14092
14093 2001-10-03  José Matos  <jamatos@fep.up.pt>
14094
14095         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14096
14097 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14098
14099         * .cvsignore: update
14100
14101         * lyx_main.C (commandLineVersionInfo): use new style version info.
14102
14103         * buffer.C (writeFile):
14104         (makeLaTeXFile):
14105         (makeLinuxDocFile):
14106         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14107
14108         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14109
14110         * version.h: update to use stuff in version.C
14111
14112         * version.C.in: new file. Contains version information determined
14113         at compile time. This is a merging of version.h and
14114         version_info.h.in.
14115
14116 2001-10-03  Juergen Vigna  <jug@sad.it>
14117
14118         * BufferView_pimpl.C (update): don't change "dirty" status in
14119         updateInset call.
14120
14121 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14122
14123         * WorkArea.C (c-tor): re-position version string slightly.
14124
14125 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14126
14127         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14128         revert to previous code.
14129
14130         WorkArea.[Ch]: (show, destroySplash): methods removed.
14131
14132         WorkArea.C: rework code so that it's an amalgam of the codes before and
14133         after the splash screen was moved to WorkArea.
14134
14135 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14136
14137         * lyxrc.C (read):
14138         * vspace.C (inPixels):
14139         (lyx_advance):
14140         * kbmap.C (bind):
14141         * buffer.C (insertStringAsLines):
14142         (asciiParagraph): fix types to be large enough
14143
14144         * lyxlex_pimpl.h: change member status from short to int
14145
14146         * layout.h: fix type of endlabeltype
14147
14148         * kbmap.C (bind):
14149         * kbsequence.C (parse): change return type to string::size_type
14150
14151         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14152         variable
14153
14154         * Bullet.C (bulletSize):
14155         (bulletEntry): do not use short ints as parameters
14156
14157         * BufferView2.C (insertLyXFile): change a char to an int.
14158
14159         * WorkArea.C (WorkArea): remove unneeded floats in computation
14160
14161 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14162
14163         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14164
14165         * paragraph.C (asString): Do not ignore newline/hfill chars when
14166         copying to the clipboard.
14167
14168 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14169
14170         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14171         after a multi-line inset.
14172
14173 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14174
14175         * paragraph.C (validate): Set NeedLyXFootnoteCode
14176
14177 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14178
14179         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14180         and decrease-error to decrease.
14181
14182 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14183
14184         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14185         it more readable (should be equivalent)
14186
14187 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14188
14189         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14190
14191 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14192
14193         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14194         of a cursor (row, etc.) after a character has been deleted
14195         (deleteEmptyParagraphMechanism): call the method above on _all_
14196         cursors held by the LyXText when a double space has been
14197         detected/deleted.
14198
14199 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14202         pixmap.
14203         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14204
14205         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14206         background. Use greyOut() and the new show() methods to toggle between
14207         the foreground and background. Add code to remove the splash after
14208         its initial showing.
14209
14210         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14211         (create_forms): no longer call Dialogs::showSplash.
14212
14213 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14214
14215         * .cvsignore: add version_info.h
14216
14217 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14218
14219         * version_info.h.in: new file
14220
14221         * Makefile.am: add version_info.h.in
14222
14223         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14224         version_info.h instead of VERSION_INFO
14225
14226 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14227
14228         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14229         The ERT inset now returns string().
14230
14231 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14232
14233         * lyxtext.h, text.C (selectNextWord): renamed as
14234         selectNextWordToSpellcheck.
14235
14236         * text.C (selectNextWordToSpellcheck): Modified to not select
14237         words inside an ERT inset.
14238
14239 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14240
14241         * lyx_cb.C (MenuLayoutSave): change a bit the question
14242
14243         * sp_base.h: include <sys/types.h>
14244
14245 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14246
14247         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14248
14249 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14250
14251         * several files: fix typos in user-visible strings
14252
14253 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14254
14255         * text2.C (pasteSelection): do not set the selection, since it
14256         will be cleared later. Actually, the intent was to fix the way the
14257         selection was set, but I figured rmoving the code was just as good.
14258
14259 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14260
14261         * FontLoader.C (available): Check if font is available without
14262         loading the font.
14263
14264 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14265
14266         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14267
14268 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14269
14270         * lyxrc.[Ch]: added display_graphics variable and associated code.
14271
14272 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14273
14274         * bufferparams.C (hasClassDefaults): new method. Returns true if
14275         the buffer parameters correspond to known class defaults
14276
14277 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14278
14279         * XFormsView.C (show): set minimum size to the main window.
14280
14281 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14282
14283         * text2.C (copySelection):
14284         (cutSelection):
14285         * lyxfind.C (LyXReplace):
14286         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14287         LyXText::selectionAsString.
14288
14289         * paragraph.C (asString): add "label" argument to the second form
14290
14291         * text2.C (selectionAsString): add "label" argument and pass it to
14292         Paragraph::asString.
14293
14294 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14295
14296         * lyx_main.C (commandLineHelp): remove version information
14297
14298 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14299
14300         * lyx_main.C: add -version commandline option
14301
14302 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14303
14304         * paragraph.h: make the optional constructor arg required instead.
14305         some modifications to other files because of this.
14306
14307         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14308
14309         * lyxserver.C (C_LyXComm_callback): make it static
14310
14311         * lyx_main.C (error_handler): make it static
14312
14313         * lyx_gui.C (LyX_XErrHandler): make it static
14314
14315         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14316
14317         * WorkArea.C: make the extern "C" methods static.
14318
14319         * Makefile.am (lyx_LDADD): simplify
14320
14321 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14322
14323         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14324         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14325
14326         * LyXAction.C (init):
14327         * lyxfunc.C (dispatch): associated code removal.
14328
14329 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * lyxfont.h (isSymbolFont): shut off warning
14332
14333         * text.C (setHeightOfRow):
14334         (getVisibleRow): fix crash with empty paragraphs which have a
14335         bottom line
14336
14337 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14338
14339         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14340         code.
14341
14342 2001-09-04  José Matos  <jamatos@fep.up.pt>
14343         * buffer.C
14344         * buffer.h
14345         * tabular.C (docbook): rename docBook method to docbook.
14346
14347 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14348
14349         * Makefile.am: add dependencies to main.o.
14350
14351 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14352
14353         * FontLoader.C (available): Return false if !lyxrc.use_gui
14354
14355 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14356
14357         * FontInfo.C (query):
14358         * converter.C (view):
14359         * importer.C (Import):
14360         * exporter.C (Export): Can not -> cannot.
14361
14362 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14363
14364         * BufferView_pimpl.C: allow to create index inset even if
14365           string is empty
14366
14367 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14368
14369         * buffer.C (getLists): replace boost::tie code with an explicit pair
14370         as boost::tie can break some compilers.
14371
14372         * iterators.h: Added a std:: declaration to the return type of
14373         ParIterator::size.
14374
14375 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14376
14377         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14378           case.
14379
14380 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14381
14382         * iterators.[Ch]: New files. Provide paragraph iterators.
14383
14384         * buffer.C (changeLanguage): Use paragraph iterators.
14385         (isMultiLingual): ditto
14386
14387         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14388
14389 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14390
14391         * FontLoader.C: Support for cmr font.
14392
14393 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14394
14395         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14396         (available): New method.
14397
14398         * FontInfo.C (getFontname): Use scalable fonts even when
14399         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14400         found.
14401
14402 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14403
14404         * converter.C (Formats::view): reverted! Incorrect fix.
14405
14406 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14407
14408         * converter.C (Formats::view): only output the -paper option
14409         if the dvi viewer is xdvi, thereby fixing bug #233429.
14410
14411 2001-08-23  Herbert Voss  <voss@perce>
14412
14413         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14414
14415 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14416
14417         * Spacing.h (Spacing): Set space to Default on in the default
14418         constructor.
14419
14420 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14421
14422         * vc-backend.h (RCS::versionString): add RCS to version
14423         (CVS::versionString): add CVS to version
14424
14425         * vc-backend.C (scanMaster): do not add CVS to version.
14426         (scanMaster): do not add RCS to version
14427
14428         * lyxvc.C (versionString): new method
14429
14430         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14431
14432 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14433
14434         * Spacing.C (set): initialize fval
14435
14436 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14437
14438         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14439         " or \.
14440
14441 2001-08-16  Juergen Vigna  <jug@sad.it>
14442
14443         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14444
14445 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14446
14447         * BufferView_pimpl.C:
14448         * figureForm.C:
14449         * lyxtext.h:
14450         * text2.C: setParagraph takes linespacing now
14451
14452 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14453
14454         * LyxAction.C: add internal LFUN_CITATION_INSERT
14455
14456         * LyXView.C: actually apply fix
14457
14458         * bufferlist.C: fix open non-existent file
14459
14460         * lyxfind.C: fix indentation
14461
14462         * lyxfunc.C: remove unneeded assert, fix typo
14463
14464 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14465
14466         * MenuBackend.C: use "Floatname List"
14467
14468 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14469
14470         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14471         when converting LaTeX layout to insetERT.
14472         Generate a non-collapsed float when reading old float
14473
14474 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14475
14476         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14477         ERT insets.
14478
14479 2001-08-13  Juergen Vigna  <jug@sad.it>
14480
14481         * text.C (fill): return 0 instead of 20 as this seems to be the more
14482         correct value.
14483
14484 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14485
14486         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14487         lyxrc.font_norm.
14488
14489 2001-08-13  Juergen Vigna  <jug@sad.it>
14490
14491         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14492         casesensitive off.
14493         (SearchBackward): comment out the unlocking of the inset_owner this
14494         should not be needed!
14495
14496 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14497
14498         * Many files: Remove inherit_language, and add latex_language
14499
14500         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14501         collapsible insets.
14502
14503 2001-08-10  Juergen Vigna  <jug@sad.it>
14504
14505         * text.C (prepareToPrint): fixed hfill-width in draw!
14506
14507         * BufferView2.C (selectLastWord): save the selection cursor as this
14508         now is cleared in the function LyXText::clearSelection!
14509
14510 2001-08-08  Juergen Vigna  <jug@sad.it>
14511
14512         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14513         BACKSPACE type functions.
14514
14515         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14516         is only cutted from the document but not put in the cut-buffer, where
14517         still the old stuff should be.
14518
14519         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14520
14521         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14522
14523         * tabular.C (SetWidthOfCell): fixed special case where the width
14524         was not updated!
14525         (LeftLine): handle '|' in align_special.
14526         (RightLine): ditto
14527         (LeftAlreadyDrawed): ditto
14528         (SetWidthOfCell): ditto
14529
14530 2001-08-07  Juergen Vigna  <jug@sad.it>
14531
14532         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14533
14534 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14535
14536         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14537         * lyxlex.[hC]: ditto
14538
14539 2001-08-06  Juergen Vigna  <jug@sad.it>
14540
14541         * text.C (getVisibleRow): fix up row clearing a bit.
14542
14543 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14544
14545         * minibuffer.C: make sure the X server sees the changes in the input.
14546
14547 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14548
14549         * paragraph.C (getFont): split into...
14550         (getLabelFont): this
14551         (getLayoutFont): and this
14552         * paragraph_pimpl.C (realizeFont): calling this
14553
14554         * text2.C (getFont): split into...
14555         (getLayoutFont): this
14556         (getLabelFont): and this
14557         (realizeFont): all three calling this
14558
14559         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14560         files where used.
14561
14562 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14563
14564         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14565
14566 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14567
14568         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14569         layouts from the Quote inset insertion.
14570
14571 2001-08-03  Juergen Vigna  <jug@sad.it>
14572
14573         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14574
14575         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14576         only if status not is already CHANGED_IN_DRAW (second level).
14577
14578         * text.C (draw): don't set the need_break_row when inside an
14579         InsetText LyXText.
14580
14581 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14582
14583         * buffer.C (parseSingleLyXformat2Token): handle more latex
14584         conversion cases.
14585
14586         * bufferview_funcs.[hC]: change function names to
14587         begin with small char, adjust other files.
14588
14589 2001-08-02  André Pönitz <poenitz@gmx.net>
14590
14591         * lyxfunc.C:
14592         BufferView_pimpl.C: remove broken special code for math-greek
14593
14594 2001-08-02  Juergen Vigna  <jug@sad.it>
14595
14596         * BufferView_pimpl.C (update): redone this function so that we
14597         update the text again if there was a CHANGE_IN_DRAW.
14598
14599         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14600         (drawFromTo): added a new internal bool which is used by draw() and
14601         redraw() function.
14602         (general): some cursor drawing problems fixed.
14603
14604 2001-08-01  Juergen Vigna  <jug@sad.it>
14605
14606         * lyxfind.C (LyXFind): fixed
14607         (SearchForward): ditto
14608         (SearchBackward): ditto
14609
14610         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14611         spurius drawing of the cursor in the main area.
14612
14613         * text2.C (status): small fix which could lead to a segfault!
14614         (clearSelection): remove unneeded BufferView param.
14615
14616 2001-08-01  André Pönitz <poenitz@gmx.net>
14617
14618         * lyxfunc.C: small change due to changed mathed interface
14619
14620 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14621
14622         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14623
14624 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14625
14626         * lyxfunc.c: fail gracefully if file doesn't exist
14627
14628         * LyXSendto.C:
14629         * buffer.C:
14630         * lyxfunc.C:
14631         * BufferView_pimpl.C: IsDirWriteable() proto changed
14632
14633         * LyXView.C: fix updateWindowTitle() to store the last title
14634
14635 2001-07-31  Juergen Vigna  <jug@sad.it>
14636
14637         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14638         the font (wrong since using of Paragraph::highestFontInRange).
14639
14640         * paragraph.C (highestFontInRange): added a default_size parameter.
14641
14642         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14643         (setHeightOfRow): reformat
14644
14645 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14646
14647         * converter.[hC] + affected files: move to (inital-char)lowercase
14648         function names.
14649
14650         * ParagraphParameters.C (ParagraphParameters): remove commented code
14651
14652         * PainterBase.[Ch]: remove commented code
14653
14654         * LaTeXFeatures.h: add "bool floats" for float.sty
14655
14656         * LaTeXFeatures.C (LaTeXFeatures): init floats
14657         (require): handle float
14658         (getPackages): do it with floats
14659
14660 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14661
14662         * BufferView_pimpl.C (Dispatch): improve handling of
14663         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14664
14665         * commandtags.h: #include lyxfont.h here temporarily to avoid
14666         keybinding bug.
14667
14668         * bufferlist.h: include LString.h here.
14669
14670 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14671
14672         * text2.C (getStringToIndex): new method.
14673
14674 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14675
14676         * *: Reduced header file dependencies all over.
14677
14678 2001-07-30  Baruch Even  <baruch@lyx.org>
14679
14680         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14681
14682 2001-07-29  Baruch Even  <baruch@lyx.org>
14683
14684         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14685
14686 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14687
14688         * ParameterStruct.h (endif): add a default constructor to make
14689         sure that all variables is initialized.
14690
14691         * ParagraphParameters.C (ParagraphParameters): adjust
14692
14693 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14694
14695         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14696         index; also, check that there is something to index, and that it
14697         does not span over several paragraphs.
14698         (doubleClick): use WHOLE_WORD_STRICT for double click.
14699
14700         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14701
14702         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14703         scheme.
14704
14705 2001-07-26  Baruch Even  <baruch@lyx.org>
14706
14707         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14708         an InsetFig figure, backwards compatible reading of old figure code.
14709
14710 2001-07-27  Juergen Vigna  <jug@sad.it>
14711
14712         * text2.C: font.realize function adaption.
14713
14714         * text.C (draw): add a warnings lyxerr text if needed.
14715
14716         * layout.C: font.realize function adaption.
14717
14718         * language.C: add inherit_language and implement it's handlings
14719
14720         * bufferview_funcs.C (StyleReset): remove language parameter from
14721         font creation (should be language_inherit now).
14722
14723         * bufferparams.C (writeFile): handle ignore_language.
14724
14725         * paragraph.C (getFontSettings): the language has to be resolved
14726         otherwise we have problems in LyXFont!
14727
14728         * lyxfont.C (lyxWriteChanges): added document_language parameter
14729         (update): removed unneeded language parameter
14730
14731         * paragraph.C (validate): fixed wrong output of color-package when
14732         using interface colors for certain fonts in certain environments,
14733         which should not seen as that on the final output.
14734
14735 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14736
14737         * BufferView_pimpl.C:
14738         * Thesaurus.h:
14739         * Thesaurus.C:
14740         * Makefile.am:
14741         * commandtags.h:
14742         * LyXAction.C: add thesaurus support
14743
14744         * lyxfind.h:
14745         * lyxfind.C: add "once" parameter, for thesaurus, to not
14746           move to the next match
14747
14748 2001-07-26  Juergen Vigna  <jug@sad.it>
14749
14750         * lyxfont.C (realize): honor ignore_language too!
14751         (resolved): ditto.
14752
14753         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14754
14755         * text.C (draw): one place more for ignore_language to not draw
14756         itself!
14757
14758 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14759
14760         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14761
14762 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14763
14764         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14765         the minipage conversion problem.
14766
14767 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14770         insert an inset.
14771
14772 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * BufferView.h: don't forward declare WorkArea
14775
14776         * BufferView.C: don't include WorkArea.h
14777
14778 2001-07-25  André Pönitz <poenitz@gmx.net>
14779
14780         * commandtags.h:
14781         * LyXAction.C:
14782         * lyxfunc.C:  new LFUN 'math-space'
14783
14784         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14785
14786 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14787
14788         * text2.C (toggleInset): call open/close
14789
14790 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14791
14792         * lyxfunc.C (dispatch): add debug for the disabled case
14793
14794         * font.C (buttonText): make similar to rectText
14795
14796         * buffer.C (readInset): comment out parsing of insetlist and
14797         insttheorem
14798
14799         * PainterBase.C (rectText): small correction
14800
14801         * BufferView_pimpl.C: comment out insettheorem and insetlist
14802         * LyXAction.C: ditto
14803         * commandtags.h: ditto
14804
14805 2001-07-24  Juergen Vigna  <jug@sad.it>
14806
14807         * text.C (draw): honor the ignore_language.
14808
14809         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14810
14811 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14814         char inset.
14815
14816 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14817
14818         * lyxtext.h: remove unused (and unimplemented) methods
14819
14820 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14821
14822         * text.C (getVisibleRow): honor background color
14823
14824         * PainterBase.h:
14825         * Painter.h: remove default color argument for fillRectangle
14826
14827         * text.C (backgroundColor): new method
14828
14829 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14830
14831         * text.C (getVisibleRow): adjust
14832
14833         * font.[Ch] (rectText): new method, metrics
14834         (buttonText): new method, metrics
14835
14836         * PainterBase.[hC]: make rectText and buttonText always draw and take
14837         fewer paramteres.
14838
14839 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14840
14841         * ToolbarDefaults.C (read):
14842         * MenuBackend.C (read): allow escaping in all strings
14843
14844         * BufferView_pimpl.C (insertAndEditInset): new method.
14845         (Dispatch): use insertAndEditInset whenever appropriate.
14846
14847         * BufferView_pimpl.C (insertNote): removed
14848
14849         * BufferView_pimpl.C (smartQuote): new method, moved from
14850         BufferView; if an insetquote cannot be inserted, insert a '"'
14851         character instead.
14852
14853         * BufferView2.C: remove insertCorrectQuote();
14854
14855         * lyxfunc.C (getStatus): Add support for all remaingin
14856         inset-insert lfuns.
14857
14858         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14859
14860         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14861         command (necessary to pass " as parameter of self-insert.
14862
14863         * text.C (selectWordWhenUnderCursor):
14864         (selectWord): add word_location parameter
14865         (selectWordWhenUnderCursor): same + remove special code for word
14866         boundary.
14867         (selectNextWord): use kind() to guess type of insetspecialchar,
14868         not latex().
14869
14870         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14871         (insertErtContents): create ert insets as collapsed.
14872         (readInset): better compatibility code for Info inset.
14873
14874 2001-07-20  Juergen Vigna  <jug@sad.it>
14875
14876         * lyxfunc.C (dispatch): use always LyXFind now!
14877
14878         * text2.C (init): add a reinit flag so that the LyXText can be
14879         reinited instead of deleted and reallocated (used in InsetText).
14880
14881         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14882
14883         * text.C: ditto
14884
14885         * text2.C: ditto
14886
14887 2001-07-18  Juergen Vigna  <jug@sad.it>
14888
14889         * text.C (selectNextWord): handle insets inside inset by calling
14890         always the bv->text functions so that we can go up the_locking_inset!
14891
14892         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14893         in strange locations when inside an inset!
14894
14895         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14896         handling to include insets.
14897
14898         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14899
14900 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14901
14902         * LyXAction.C (init):
14903         * commandtags.h:
14904         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14905         LIGATURE_BREAK, since the name is so stupid.
14906
14907 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14908
14909         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14910         InsetInfos.
14911
14912         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14913
14914         * sp_form.[Ch]: remove.
14915
14916         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14917
14918         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14919         InsetInfo.
14920
14921         * src/buffer.C (readInset): ditto.
14922
14923 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14924
14925         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14926         menuSeparator(), endOfSentenceDot(), ldots() and
14927         hyphenationPoint(), which are therefore removed.
14928         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14929
14930         * LyXAction.C (init):
14931         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14932
14933         * paragraph.C (getWord): removed.
14934
14935         * BufferView_pimpl.C (Dispatch): use last word or selection for
14936         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14937
14938         * lyx_main.C (queryUserLyXDir): do not ask before creating
14939         user_dir, except if it has been named explicitely.
14940
14941 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14942
14943         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14944         a document of zero size.
14945
14946 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14947
14948         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14949         approriately in the c-tor and in require().
14950         (getPackages): output the appropriate LaTeX for natbib support.
14951
14952         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14953         variables "use_natbib" and "use_numerical_citations" when reading the
14954         LyX file.
14955         (readInset): read the various natbib cite commands.
14956         (validate): white-space change.
14957
14958         * bufferparams.[Ch]: new variables "bool use_natbib" and
14959         "bool use_numerical_citations".
14960         (writeFile): output them in the LyX file.
14961
14962 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14963
14964         * lyxfunc.C (getStatus): add support for all the inset insertion
14965         commands.
14966
14967         * text2.C (insertInset):
14968         * paragraph.C (insetAllowed):
14969         * BufferView_pimpl.C (insertInset): update to take in account the
14970         renaming of insertInsetAllowed
14971
14972         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14973
14974         * text2.C (getInset): new method. returns inset at cursor position.
14975
14976         * BufferView_pimpl.C (Dispatch): changes because of this.
14977
14978         * LyXAction.C (init): rename open-stuff to inset-toggle.
14979
14980         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14981
14982         * text2.C (toggleInset): renamed from openStuff; use
14983         Inset::open().
14984
14985 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14986
14987         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14988
14989         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14990
14991 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14992
14993         * buffer.C (readLyXformat2): Add filename to the error dialog
14994
14995 2001-07-18  Juergen Vigna  <jug@sad.it>
14996
14997         * tabular.C (GetCellNumber): put an assert here instead of the check!
14998
14999 2001-07-17  Juergen Vigna  <jug@sad.it>
15000
15001         * BufferView_pimpl.C (toggleSelection): adapted too.
15002
15003         * text.C (selectNextWord): adapted for use with insets.
15004         (selectSelectedWord): ditto
15005
15006 2001-07-17  Juergen Vigna  <jug@sad.it>
15007
15008         * sp_spell.C (PSpell): fix initialitation order.
15009
15010 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15011
15012         * paragraph.C: spacing
15013
15014 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15015
15016         * sp_spell.C: repair language selection for pspell
15017
15018 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15019
15020         * lyxfunc.h: change more methods to begin with lower char.
15021
15022 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15023
15024         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15025         for unknown layouts.
15026
15027 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15028
15029         * buffer.C (readLyXformat2): Generate an error dialog if there are
15030         unknown layouts.
15031
15032 2001-07-16  Juergen Vigna  <jug@sad.it>
15033
15034         * sp_spell.C: always compile ISpell part.
15035
15036         * lyxrc.C: added use_pspell entry and it's handling.
15037
15038 2001-07-13  Juergen Vigna  <jug@sad.it>
15039
15040         * sp_spell.C: removed double includes.
15041
15042 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15043
15044         Consistent use of Lsstream.h:
15045         * Lsstream.h: added using std::stringstream for consistencies sake.
15046
15047         * buffer.C: removed using std::stringstream
15048
15049         * lyxfont.C (stateText):
15050         * paragraph.C (asString):
15051         * text.C (selectNextWord, selectSelectedWord):
15052         * text2.C (setCounter):
15053         * vspace.C (asString, asLatexString):
15054         std::ostringstream -> ostringstream.
15055
15056 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15057
15058         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15059         * commandtags.h: add LFUN_HELP_ABOUTLYX
15060         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15061
15062 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15063
15064         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15065         cursorToggle()
15066         * lyx_gui_misc.C: remove spellchecker
15067         * lyxfunc.C: showSpellchecker
15068         * sp_base.h: added
15069         * sp_ispell.h: added
15070         * sp_pspell.h: added
15071         * sp_spell.C: added
15072         * sp_form.[Ch]: removed
15073         * spellchecker.[Ch]: removed
15074
15075 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15076
15077         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15078         is set.
15079         (simpleTeXSpecialChars): Simply print the input character without
15080         any special translation if pass_thru is set.
15081
15082         * layout.h: Added bool pass_thru to layout class for being able to
15083         implement pass through of a paragraph for Literate Programming.
15084
15085         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15086         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15087         * layout.C (Read): add "passthru" to list of layout tags and add
15088         code to set the pass_thru boolean when it is read.
15089
15090 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15091
15092         * trans_decl.h: remove allowed from KmodInfo
15093
15094         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15095         remove allowed code
15096         (Load): adjust
15097
15098         * paragraph_pimpl.C (erase): use boost::prior
15099
15100         * Painter.C (text): use data() instead of c_str() when length is
15101         also provided.
15102         * WorkArea.C (putClipboard): ditto
15103         * font.h (width): ditto
15104
15105         * BufferView2.C: use it-> instead of (*it). for iterators
15106         * texrow.C: ditto
15107         * paragraph_pimpl.C: ditto
15108         * paragraph.C: ditto
15109         * minibuffer.C: ditto
15110         * language.C: ditto
15111         * kbmap.C: ditto
15112         * encoding.C: ditto
15113         * counters.C: ditto
15114         * converter.C: ditto
15115         * chset.C: ditto
15116         * Variables.C: ditto
15117         * TextCache.C: ditto
15118         * MenuBackend.C: ditto
15119         * LyXAction.C: ditto
15120         * LColor.C: ditto
15121         * FloatList.C: ditto
15122         * DepTable.C: ditto
15123         * ColorHandler.C (LyXColorHandler): ditto
15124
15125 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15126
15127         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15128
15129         * text2.C (openStuff): reintroduce this method (which had been
15130         nuked in NEW_INSETS frenzy).
15131
15132         * lyxfunc.C (Dispatch): when an action has not been handled, use
15133         its name in the error message, not its number.
15134
15135         * paragraph.C (inInset): change method name to begin with lowercase.
15136
15137         * undo_funcs.C:
15138         * text2.C: updates because of this.
15139
15140 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15141
15142         * ToolbarDefaults.C (add): add spaces in error message
15143
15144 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15145
15146         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15147         (readLyXformat2): rename return_par to first_par, use lyxlex's
15148         pushToken and remove the manual push handling.
15149         (parseSingleLyXformat2Token): add another ert comp. variable:
15150         in_tabular, rename return_par to first_par. handle newlines better
15151
15152 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15155
15156 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15157
15158         * text2.C (getParFromID): removed
15159
15160         * buffer.C (getParFromID): new method moved form lyxtext.
15161         * BufferView2.C (insertErrors): adjust
15162         (setCursorFromRow): adjust
15163         * BufferView_pimpl.C (restorePosition): adjust
15164         * lyxfunc.C (Dispatch): adjust
15165         * undo_funcs.C (textUndo): adjust
15166         (textRedo): adjust
15167         (textHandleUndo): adjust
15168         (textHandleUndo): adjust
15169
15170 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15171
15172         * buffer.C: up' the LYX_FORMAT
15173
15174         * lyxfont.h: turn NO_LATEX on as default
15175
15176         * buffer.C (insertErtContents): new methods of tex style compability.
15177         (parseSingleLyXformat2Token): use it several places.
15178         * tabular.C (OldFormatRead): and here
15179
15180 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15181
15182         * text2.C: remove some commented code.
15183         reindent file.
15184
15185         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15186         * trans.C: changes because of the above.
15187
15188 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15189
15190         * text2.C (setCounter): Fix counters bug with bibliography layout.
15191
15192 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15193
15194         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15195         own member functions
15196         (simpleTeXSpecialChars): ditto
15197
15198 2001-07-06  Juergen Vigna  <jug@sad.it>
15199
15200         * a lot of files: changed the access to LyXText::status and the
15201         call of undo-functions.
15202
15203         * undo.[Ch]: added a inset_id to the undo informations.
15204
15205         * undo_funcs.[Ch]: added and moved here all undo functions.
15206
15207         * lyxtext.h: give the status enum a weight, made status_ a private
15208         variable and made accessor functions for it, removed the whole bunch
15209         of undo-functions as they are now in their own file, make some
15210         functions publically available. Added function ownerParagraph with
15211         int parameter.
15212
15213         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15214         made InInset() a const function, added getParFromID() function.
15215
15216         * buffer.[Ch]: added const version for inset_iterator functions,
15217         added getInsetFromID() function.
15218
15219         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15220         changed undo functions for new version.
15221
15222 2001-07-05  Juergen Vigna  <jug@sad.it>
15223
15224         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15225         unknow mechanism does not call the proper constructor but only this
15226         one also if I request the other!?
15227
15228 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15229
15230         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15231
15232         * text2.C (LyXText): use initialization lists.
15233
15234         * lyxtext.h (Selection): initialize set_ and mark_
15235         (init): remove method
15236
15237 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15238
15239         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15240
15241 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15242
15243         * screen.[Ch]: change method names to begin with lowercase
15244
15245         * BufferView_pimpl.C (updateScrollbar): simplify further and
15246         hopefully make it a bit faster.
15247
15248 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15249
15250         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15251         calling directly xforms functions.
15252
15253         * Painter.C (Painter):
15254         * lyx_cb.C (MenuWrite):
15255         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15256         fl_display.
15257
15258         * lyx_gui.C: remove bogus guiruntime extern declaration.
15259
15260 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15261
15262         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15263         in NEW_INSETS
15264         (redoDrawingOfParagraph): ditto
15265         (redoParagraphs): ditto
15266         (cutSelection): don't create a object for CutAndPaste use the
15267         static method directly
15268         (pasteSelection): ditto
15269
15270         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15271         LyXview (+ rename)
15272
15273 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15274
15275         * modifications to some other files because of this.
15276
15277         * Makefile.am (lyx_SOURCES): add XFormsView
15278
15279         * XFormsView.[Ch]: new files
15280
15281         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15282         the main window. Move the gui dependent stuff to XFormsView
15283
15284 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15285
15286         * tabular.C (GetCellInset): update cur_cell also in the row/col
15287         version of this function.
15288
15289         * lyxfunc.C: no need to include figure_form.h here.
15290
15291         * FontLoader.h:
15292         * lyxfunc.h:
15293         * lyxscreen.h:
15294         * text2.C:
15295         * lyxvc.C: no need to include forms.h here.
15296
15297 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15298
15299         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15300
15301         * lyxfunc.C (Dispatch):
15302         * Spacing.C (set):
15303         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15304         constructor argument.
15305
15306 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15307
15308         * paragraph.C (Paragraph): dont't clear, and just set layout.
15309         (makeSameLayout): use params's copy contructor.
15310
15311         * ParagraphParameters.[Ch] (makeSame): delete method
15312
15313 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15314
15315         * Variables.[Ch]: fix indentation, rename set to isSet
15316
15317 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15318
15319         * lyxfunc.C (Dispatch): fix typo
15320
15321 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15322
15323         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15324         upper_bound.
15325
15326         * bufferlist.C: include assert.h for emergencyWrite().
15327
15328 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15329
15330         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15331           give up at last (bug #425202) !
15332
15333 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15334
15335         * lyx_gui_misc.C:
15336         * sp_form.h:
15337         * sp_form.C:
15338         * spellchecker.h:
15339         * spellchecker.C: strip spellchecker options and bring up
15340           preferences tab instead
15341
15342 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15343
15344         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15345         the istringstream constructor
15346
15347 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15348
15349         * paragraph.C (getLayout): fix return value
15350
15351         * paragraph.h: do not declare getLayout as inline.
15352
15353         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15354
15355 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15356
15357         * lyxcursor.h (operator<): new func
15358         (operator>): new func
15359         (operator>=): new func
15360         (operator<=): new func
15361
15362         * text.C (changeCase): use selection.start and selection.end
15363         (changeRegionCase): require from to be <= to. Require par to be a
15364         valid paragraph.
15365
15366         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15367
15368 2001-06-27  Juergen Vigna  <jug@sad.it>
15369
15370         * text.C (cursorLeftOneWord): changed to return the cursor and added
15371         overlay with BufferView * parameter which calls this one.
15372         (getWord): added
15373         (selectWord): use new getWord function.
15374         (changeCase): renamed from changeWordCase as and extended to work
15375         also on selections.
15376
15377         * lyxtext.h: added enum word_location
15378
15379         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15380         changeCase as this operates now also on selections.
15381
15382 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15383
15384         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15385
15386         * many files: send debug output to Debug::INFO instead of
15387         Debug::ANY.
15388
15389         * converter.C (View):
15390         (Convert):
15391         (Move): send debug output to Debug::FILES instead of console.
15392
15393 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15394
15395         * lyxfunc.C (getStatus): use func_status
15396
15397         * func_status.h: new header, describing the results of
15398         LyXFunc::getStatus;
15399
15400         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15401         LFUN_MATH_HALIGN.
15402
15403 2001-06-25  The LyX Project  <jug@sad.it>
15404
15405         * buffer.C (sgmlOpenTag):
15406         (sgmlCloseTag):
15407         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15408
15409 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15410
15411         * text2.C: remove some dead code
15412
15413         * tabular.C (GetCellInset): store the last cell checked (gotten)
15414
15415         * tabular.h: add the helper for the speedup
15416
15417         * lyxtext.h: remove some dead code
15418
15419 2001-06-26  The LyX Project  <Asger>
15420
15421         * paragraph.C: Change export to LaTeX of alignment to
15422         \begin{center} and family for better roundtrip work with reLyX.
15423
15424         * Tune the math drawing a bit.
15425
15426 2001-06-25  The LyX Project  <Asger>
15427
15428         * LColor.C (LColor): New color for math background. New color
15429         for buttons.
15430
15431 2001-06-25  The LyX Project  <jug@sad.it>
15432
15433         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15434
15435         * lyxfunc.C (Open):
15436         * bufferlist.C (newFile): do not restrict to files ending with
15437         .lyx
15438
15439         * BufferView_pimpl.C (MenuInsertLyXFile):
15440
15441 2001-06-24  The LyX Project  <jug@sad.it>
15442
15443         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15444         of compare_no_case
15445
15446 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15447
15448         * lyxtext.h: rename most methods to begin with a small char.
15449         Lots of changes because of this.
15450
15451         * paragraph.C (Paragraph): do not call fitToSize
15452         (erase): call Pimpl::erase
15453         (insertChar): call Pimpl::insertChar
15454         (insertInset): call Pipl::insertInset
15455         (breakParagraph): do not call fitToSize
15456         (breakParagraphConservative): do not call fitToSize
15457         (fitToSize): remove method
15458
15459         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15460
15461 2001-06-24  The LyX Project  <Asger>
15462
15463         * Fix Qt compilation^2
15464
15465 2001-06-24  The LyX Project  <jug@sad.it>
15466
15467         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15468         depthHook(getDepth()-1).
15469
15470         * paragraph.h:
15471         * ParagraphParameters.h:
15472         * ParameterStruct.h: change type of depth to unsigned int ==
15473         depth_type. Many adaptations to other files before of that.
15474
15475 2001-06-24  The LyX Project  <Asger>
15476
15477         * Fix Qt compilation.
15478
15479 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15480
15481         * paragraph.h: renamed several methods to begin with small letter.
15482         several changes to many parts of the code because of this.
15483
15484 2001-06-23  The LyX Project  <jug@sad.it>
15485
15486         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15487         rewritten to discard all double spaces when KeepEmpty is off
15488         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15489         to only handle newlines but not fiddle with spaces and friends.
15490
15491         * lyxfunc.C (MenuNew): when doing 'new from template', use
15492         template_path as default directory
15493
15494 2001-06-23  The LyX Project  <Asger>
15495
15496         * Clean-up of header file includes all over
15497         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15498
15499 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15500
15501         * paragraph.h: renamed from lyxparagraph.h
15502
15503 2001-06-23  Asger  <lyx@violet.home.sad.it>
15504
15505         * Buffer.h: Removed Buffer::resize
15506         * BufferList.h: Removed BufferList::resize
15507         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15508         the document lazily when we change the width, or the font settings.
15509
15510 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15511
15512         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15513
15514 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15515
15516         * buffer.h: remove out of date comment
15517
15518 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15519
15520         * lyxscreen.h:
15521         * screen.C: fix "theoretical" GC leak
15522
15523 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15524
15525         * LaTeX.C (scanAuxFile):
15526         (deplog): remove trailing \r when reading stream (useful under
15527         win32)
15528
15529 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15530
15531         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15532         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15533         and BufferView::theLockingInset(Inset*), so should use them and not
15534         access bv_->text->the_locking_inset directly.
15535
15536         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15537
15538 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15539
15540         * Makefile.am:
15541         * tex-defs.h: remove old unused file
15542
15543 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15544
15545         * BufferView_pimpl.C: fix typo, remove minibuffer message
15546           when buffer has loaded
15547
15548 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15549
15550         * lyxfunc.C (Dispatch): use stringstream
15551         (MenuNew): use stringstream
15552         (Open): use stringstream
15553
15554         * importer.C (Import): use stringstream
15555
15556         * bufferview_funcs.C (CurrentState): use stringstream
15557
15558         * LaTeX.C (run): use stringstream
15559
15560         * BufferView_pimpl.C (savePosition): use stringstream
15561         (restorePosition): use stringstream
15562         (MenuInsertLyXFile): use stringstream
15563
15564 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15565
15566         * BufferView.C:
15567         * Bullet.C:
15568         * ColorHandler.C:
15569         * FontInfo.C:
15570         * FontLoader.C:
15571         * LColor.C:
15572         * LaTeXFeatures.C:
15573         * Painter.C:
15574         * gettext.C:
15575         * lyx_gui_misc.C:
15576         * lyxserver.C:
15577         * vspace.C: removed // -*- C++ -*- as first line.
15578
15579         * lyxfind.h:
15580         * version.h: added // -*- C++ -*- as first line.
15581
15582 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15583
15584         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15585
15586         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15587         of string
15588
15589 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15590
15591         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15592         of floats.
15593
15594 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15595
15596         * gettext.C: include LString.h even when --disable-nls is on.
15597
15598 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15599
15600         * converter.h (Get): changed argument type from int to
15601         FormatList::size_type to avoid unnecessary conversion.
15602
15603         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15604         before using it.
15605
15606 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15607
15608         * gettext.h: include LString.h even when --disable-nls is on.
15609
15610 2001-06-07  Juergen Vigna  <jug@sad.it>
15611
15612         * text.C (BreakAgain): subst spaces with tabs.
15613
15614         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15615         (resizeInsetsLyXText): set force on resizeLyXText.
15616
15617 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15618
15619         * gettext.h (gettext_init):
15620         (locale_init): use a real definition instead of a macro
15621
15622 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15623
15624         * Bufferview_pimpl.C:
15625         * LColor.h:
15626         * LColor.C: further lcolor tidies
15627
15628 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15629
15630         * BufferView_pimpl.C (updateScrollbar): simplify.
15631
15632         * BufferView2.C: don't include insets/insetinfo.h, change
15633         prototype for insertInset and call the Pimpl version. let
15634         updateInset call Pimpl version.
15635
15636         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15637         gotoInset to BufferView::Pimpl
15638
15639 2001-06-01  Juergen Vigna  <jug@sad.it>
15640
15641         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15642         inside a LockingInset (is the update needed at all?).
15643
15644 2001-05-31  Juergen Vigna  <jug@sad.it>
15645
15646         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15647         here not the old one otherwise how should we compare it afterwards
15648         if it's the same!
15649
15650 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * lyxfont.C:
15653         * tabular.C:
15654         * tabular-old.C:
15655         * FontInfo.C: bring C functions into global namespace when
15656         necessary
15657
15658 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15659
15660         * LString.h: make sure config.h has been loaded before LString.h.
15661
15662         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15663         (one for each char read by EatLine!).
15664
15665         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15666         variables.
15667
15668 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15669
15670         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15671         to the same as the par we break from
15672
15673 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15674
15675         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15676
15677         * MenuBackend.C (expand): also create menu entries for wide
15678         versions of the floats.
15679
15680         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15681
15682         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15683
15684         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15685         frontends/Makefile.am
15686
15687         * text2.C: adjust
15688         * text.C: adjust
15689
15690
15691         * tabular.C (getTokenValue): add std::
15692
15693         * tabular-old.C (getTokenValue): add std::
15694         (getTokenValue): ditto
15695         (getTokenValue): ditto
15696
15697         * screen.C (ToggleSelection): adjust
15698
15699         * lyxtext.h: put selection cursors inside a Selection struct.
15700
15701         * lyxfunc.C (moveCursorUpdate): adjust
15702
15703         * lyxfont.C (latexWriteStartChanges): add std::
15704
15705         * lyxfind.C: adjust
15706
15707         * font.h: delete with(char const *, LyXFont const &)
15708
15709         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15710
15711         * FontInfo.C (getFontname): add std::
15712
15713         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15714         (workAreaButtonPress): adjust
15715         (tripleClick): adjust
15716         (update): adjust
15717         (moveCursorUpdate): adjust
15718         (Dispatch): adjust
15719
15720         * BufferView2.C (gotoInset): adjust
15721
15722 2001-05-30  Juergen Vigna  <jug@sad.it>
15723
15724         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15725         to check pspell I add this as default as I now have new pspell
15726         libraries and they seem to use this.
15727
15728 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15729
15730         * text2.C (CutSelection): make the cursor valid before the call to
15731         ClearSelection.
15732
15733 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15734
15735         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15736         relied on 0 terminated strings and other horrors. Bug found due to
15737         the new assert in lyxstring!
15738
15739         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15740         KP_ keys.
15741
15742 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15743
15744         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15745         to latinkeys.bind.
15746
15747         * lyxfunc.C (processKeySym): change method of getting to the
15748         self-insert char.
15749
15750         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15751         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15752         * BufferView_pimpl.[Ch]: here as private methods.
15753
15754 2001-05-28  Juergen Vigna  <jug@sad.it>
15755
15756         * text.C (SetHeightOfRow): added the update() call again as it is
15757         needed to initialize inset dimensions!
15758
15759 2001-05-16  Juergen Vigna  <jug@sad.it>
15760
15761         * text2.C (SetCharFont): Add new function with BufferView * and
15762         bool toggleall parameters for setting insets internal fonts.
15763         (SetFont): Freeze the undo as we may change fonts in Insets and
15764         all this change should be inside only one Undo!
15765
15766         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15767         setting font's in insets as for them we have the SetFont function!
15768
15769 2001-05-15  Juergen Vigna  <jug@sad.it>
15770
15771         * text2.C (ClearSelection): to be sure we REALLY don't have any
15772         selection anymore!
15773
15774         * tabular.C (TeXCellPreamble): fixed the left border problem for
15775         multicolumn cells.
15776
15777 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15778
15779         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15780         dependancy file
15781
15782 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15783
15784         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15785         LFUN_BREAKPARAGRAPH.
15786
15787         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15788         help test to "internal only", similar for LFUN_INSERT_URL
15789
15790         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15791         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15792         auto_region_delete and deadkeys.
15793
15794 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15795
15796         * LColor.h:
15797         * LColor.C: remove some dead entries, tidy a little
15798
15799 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15800
15801         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15802         commented code.
15803         (Dispatch): implement LFUN_ESCAPE
15804
15805         * commandtags.h: add LFUN_ESCAPE
15806
15807         * LyXAction.C (init): add entry for LFUN_ESCAPE
15808
15809         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15810         Remove commented code.
15811         (insertNote): moved here
15812         (open_new_inset): moved here
15813
15814         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15815         BufferView_pimpl
15816
15817 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15818
15819         * kbmap.C (findbinding): clean it up and make it work correctly.
15820
15821         * lyx_main.C (init): do not pass argc and argv as parameters
15822
15823 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15824
15825         * buffer.C: fix path for OS/2 & Win32
15826
15827         * lyx_gui.C:
15828         * lyx_main:
15829         * lyx_main.C: Added os:: class.
15830
15831         * os2_defines.h: update
15832
15833 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15834
15835         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15836         better by trying again with reduced state.
15837
15838 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15839
15840         * lyxrc.C (read): print error about invalid key sequence only when
15841         debugging (because not all latinX keysyms are known to some X
15842         servers)
15843
15844         * kbsequence.C (getiso): add a few std:: qualifiers
15845         (getiso): comment out extra return statement.
15846
15847 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15848
15849         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15850         handling.
15851         (Dispatch): enhance the accent inset a bit. (not perfect)
15852
15853 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15854
15855         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15856
15857 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15858
15859         * bufferlist.C (emergencyWrite): fix assert() call
15860
15861 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15862
15863         * text.C (InsertChar): Added trivial patch to only send the "you
15864         can not do multiple spaces this way" message once during a
15865         session.
15866
15867 2001-05-08  Baruch Even  <baruch@lyx.org>
15868
15869         * Makefile.am: Changed order of libraries to get LyX to link properly
15870         with the gnome frontend.
15871
15872 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15873
15874         * LaTeXFeatures.h: add a std:: qualifier
15875
15876 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15877
15878         * paragraph.C (String): use stringstream
15879
15880 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15881
15882         * paragraph.C (writeFile): remove footflag arg
15883
15884         * buffer.C (makeLaTeXFile): use stringstream
15885         (latexParagraphs): remove footnot gurba
15886
15887         * LaTeXFeatures.C (getPackages): use stringstream
15888         (getMacros): likewise
15889         (getTClassPreamble): likewise
15890         (getFloatDefinitions): new method
15891
15892         * paragraph.C (writeFile): reindent
15893         (Erase): reindent
15894
15895         * WorkArea.h: revert the xpos + etc changes.
15896
15897         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15898
15899         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15900
15901         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15902         (pasteSelection): likewise
15903         * text2.C (CreateUndo): likewise
15904
15905 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15906
15907         * minibuffer.C (peek_event): temporarily reduce the functionality
15908         of the minibuffer (to allow args on lfuns)
15909
15910         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15911         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15912
15913         * buffer.C (readInset): add compability reading of old float
15914         lists, add reading of new style float list.
15915         (readInset): avoid reevaluation of inscmd.getCmdName()
15916         (getLists): reindent
15917
15918         * MenuBackend.C (MenuItem): implement parsing of
15919         md_floatlistinsert and md_floatinsert.
15920         (expand::LastFiles): move initalizaton of iterators out of loop,
15921         avoid reevaluation.
15922         (expand::Documents): introduce typdedef vector<string> Strings,
15923         and use it.
15924         (expand::ExportFormats): introduce typedef vector<Format const *>
15925         Formats, and use it.
15926         (expand): implement FloatListInsert and FloatInsert.
15927
15928         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15929         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15930         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15931
15932         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15933         handling.
15934         (Dispatch::LFUN_FLOAT_LIST): implement
15935
15936 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15937
15938         * LaTeX.C (run): Fix problem with --export code.
15939
15940 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15941
15942         * BufferView.[Ch] (workarea): removed.
15943         (getClipboard) new method; wrapper for workarea()->getClipboard()
15944
15945         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15946         bug.
15947
15948         * WorkArea.h (width, height, xpos, ypos): These methods all
15949         returned the dimensions of the work_area sub-area of WorkArea,
15950         resulting in a position error if the WorkArea were resized. Now
15951         return the dimensions of the entire WorkArea.
15952
15953         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15954
15955 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * LaTeX.C (deplog): correct the syntax of regex reg1
15958
15959 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15960
15961         * undo.C: remove !NEW_INSETS cruft
15962
15963 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15964
15965         * text2.C: remove !NEW_INSETS cruft
15966
15967         * text.C: remove !NEW_INSETS cruft
15968
15969         * tabular.C: remove !NEW_INSETS cruft
15970
15971         * spellchecker.C: remove !NEW_INSETS cruft
15972
15973         * lyxtext.h: remove !NEW_INSETS cruft
15974
15975         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15976
15977         * lyxfunc.C: remove !NEW_INSETS cruft
15978
15979         * lyxfind.C: remove !NEW_INSETS cruft
15980
15981         * lyx_cb.C: remove !NEW_INSETS cruft
15982
15983         * figureForm.C: remove  !NEW_INSETS cruft
15984
15985         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15986
15987         * buffer.[Ch]: remove !NEW_INSETS cruft
15988
15989         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15990
15991         * CutAndPaste.C: remove !NEW_INSETS cruft
15992
15993         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15994
15995         * BufferView2.C: remove !NEW_INSETS cruft
15996
15997         * BufferView.h: remove !NEW_INSETS cruft
15998
15999 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16000
16001         * Lsstream.h: include LString.h before the sstream headers to
16002         fix problem with gcc 2.95.3 and lyxstring
16003
16004 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16005
16006         * lyx_main.C: add using directives when needed for C functions
16007         declared in std:: namespace.
16008
16009 2001-04-27  Juergen Vigna  <jug@sad.it>
16010
16011         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16012         (SetHeightOfRow): comment out the update call should not be needed!
16013
16014 2001-04-13  Juergen Vigna  <jug@sad.it>
16015
16016         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16017         (LyXTabular): tried to minimize operator= operations (and realized
16018         hopfully Lars wish).
16019
16020 2001-04-27  Juergen Vigna  <jug@sad.it>
16021
16022         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16023
16024 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16027
16028         * buffer.C (readInset): hack to make listof algorithm work
16029
16030         * BufferView_pimpl.C: hack to make listof algorithm work
16031
16032 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16033
16034         * LyXAction.C: removed all !NEW_INSETS cruft
16035         (init): moved lfun_item in method
16036
16037         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16038
16039 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16040
16041         * BufferView2.C (theLockingInset): white space.
16042
16043 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16044
16045         * minibuffer.C: include <iostream>
16046
16047         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16048
16049         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16050
16051         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16052
16053         * text.[Ch] (TransposeChars): new method
16054
16055 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16056
16057         * call message directly through LyXView instead of through LyXFunc
16058         * BufferView2.C: adjust
16059         * BufferView_pimpl.C: adjust
16060         * FontLoader.C: adjust
16061         * buffer.C: adjust
16062         * bufferview_funcs.C: adjust
16063         * converter.C: adjust
16064         * figureForm.C: adjust
16065         * importer.C: adjust
16066         * lyx_cb.C: adjust
16067         * lyx_gui_misc.C: adjust
16068         * lyxfunc.C: adjust
16069         * lyxvc.C: adjust
16070         * text2.C: adjust
16071         + more files in subdirs
16072
16073         * lyxparagraph.h (size): move up int file
16074         (GetLayout): ditto
16075
16076         * adjust all uses of Assert to lyx::Assert.
16077
16078         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16079         lyxfunctional in namespace lyx
16080         * layout.C (hasLayout): ditto
16081         (GetLayout): ditto
16082         (GetLayout): ditto
16083         (delete_layout): ditto
16084         (NumberOfClass): ditto
16085         * converter.C (GetFormat): ditto
16086         (GetNumber): ditto
16087         (Add): ditto
16088         (Delete): ditto
16089         (SetViewer): ditto
16090         * bufferlist.C (getFileNames): ditto
16091         (emergencyWriteAll): ditto
16092         (exists): ditto
16093         (getBuffer): ditto
16094         * MenuBackend.C (hasSubmenu): ditto
16095         (hasMenu): ditto
16096         (getMenu): ditto
16097         * BufferView_pimpl.C (getInsetByCode): ditto
16098
16099 2001-04-18  Juergen Vigna  <jug@sad.it>
16100
16101         * vspace.C (asLatexString): fixed the 100% problem.
16102
16103 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16104
16105         * lyxfunc.C (Dispatch):
16106         * minibuffer.C:
16107         * minibuffer.h: add a few std:: qualifiers
16108
16109 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16110
16111         * minibuffer.[Ch]: reimplement so that commands is initiated and
16112         run from lyxfunc, simplified som handling, and made the completion
16113         and history code for complete. wip.
16114
16115         * lyxfunc.C (processKeySym): call message
16116         (miniDispatch): new temporary method
16117         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16118         (LFUN_MESSAGE): implement
16119         (LFUN_MESSAGE_PUSH): implement
16120         (LFUN_MESSAGE_POP): implement
16121         (initMiniBuffer): the initial/defualt minibuffer message.
16122
16123         * lyxfont.[Ch]: inline some more getters
16124
16125         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16126
16127         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16128
16129         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16130         (AutoSave): use LFUN_MESSAGE
16131         (Reconfigure): ditto
16132
16133         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16134
16135         * figureForm.C: use LFUN_MESSAGE
16136
16137         * converter.C (runLaTeX): use LFUN_MESSAGE
16138
16139         * bufferview_funcs.C: use LFUN_MESSAGE
16140         (Melt): ditto
16141         (changeDepth): ditto
16142
16143         * bufferparams.h: use boost::
16144
16145         * bufferlist.h: inherit privately from noncopyable
16146
16147         * bufferlist.C (loadLyXFile): remove some commented code.
16148
16149         * buffer.C (runChktex): use LFUN_MESSAGE
16150
16151         * ShareContainer.h: inherit privately from noncopyable
16152
16153         * ParagraphParameters.[hC] (depth): inline it.
16154
16155         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16156         methods.
16157         (message): new method
16158         (messagePush): ditto
16159         (messagePop): ditto
16160         (show): init minibuffer
16161         (showState): direct call
16162
16163         * LaTeX.[Ch]: inherit privately from noncopyable
16164         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16165         instead of WriteStatus.
16166
16167         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16168
16169         * BufferView_pimpl.C (buffer): don't init minibuffer
16170         (workAreaButtonPress): use LFUN_MESSAGE
16171         (workAreaButtonRelease): ditto
16172         (savePosition): ditto
16173         (restorePosition): ditto
16174         (MenuInsertLyXFile): ditto
16175         (workAreaExpose): don't init minibuffer
16176         (update): remove commented code, simplify
16177
16178         * BufferView2.C (openStuff): use LFUN_MESSAGE
16179         (toggleFloat): ditto
16180         (menuUndo): ditto
16181         (menuRedo): ditto
16182         (copyEnvironment): ditto
16183         (pasteEnvironment): ditto
16184         (copy): ditto
16185         (cut): ditto
16186         (paste): ditto
16187         (gotoInset): ditto
16188         (updateInset): remove some commented code
16189
16190         * lastfiles.h: inherit privately from noncopyable
16191         * layout.h: ditto
16192         * lyx_gui.h: ditto
16193         * lyx_main.h: ditto
16194         * lyxlex.h: ditto
16195         * lyxlex_pimpl.h: ditto
16196
16197         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16198         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16199         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16200
16201         * LyXAction.h: inherit privately from noncopyable, add methods
16202         func_begin, func_end, returning iterators to the func map.
16203
16204         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16205         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16206         (func_begin): new method
16207         (func_end): new method
16208
16209         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16210         and not)
16211         (copySelection): ditto
16212         (pasteSelection): ditto
16213
16214         * BufferView.C: whitespace change
16215         * BufferView.h: inherit privately from noncopyable
16216
16217 2001-04-16  Allan Rae  <rae@lyx.org>
16218
16219         * tabular-old.C (l_getline):
16220         * spellchecker.C (sc_check_word):
16221         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16222         an unrecognised preprocessor directive.  So ensure they're wrapped.
16223
16224 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16225
16226         * src/exporter.C (Export): Give an error message when path to file
16227         contains spaces.
16228
16229 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16230
16231         * LaTeX.C (deplog): Always check that foundfile exists.
16232
16233 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16234
16235         * lyx_main.h:
16236         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16237
16238 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16239
16240         * tabular.[Ch] (getLabelList): implement new method
16241
16242         * minibuffer.h: comment ouf setTiimer
16243
16244         * minibuffer.C (ExecutingCB): constify res
16245         (peek_event): constify s
16246         (Set): constify ntext
16247         (Init): constify nicename
16248
16249         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16250
16251         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16252         (savePosition): use two params to Minibuffer::Set
16253         (restorePosition): ditto
16254
16255 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16256
16257         * lyx_main.C: include language.h
16258
16259         * Makefile.am (lyx_main.o): add language.h
16260
16261 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16262
16263         * exporter.C:
16264         * paragraph.C:
16265         * screen.C:
16266         * tabular.C:
16267         * CutAndPaste.C: include gettext.h
16268
16269         * lyxfont.h: remove old hack with ON and OFF.
16270
16271         * lyxparagraph.h:
16272         * lyxfont.h: do not include language.h...
16273
16274         * BufferView2.C:
16275         * LaTeXFeatures.C:
16276         * Painter.C:
16277         * bufferview_funcs.C:
16278         * font.C:
16279         * lyxfont.C:
16280         * text.C:
16281         * text2.C:
16282         * trans_mgr.C:
16283         * paragraph.C: ... but do it here instead
16284
16285 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16286
16287         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16288
16289         * tabular.C: small reformat
16290
16291         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16292         NEW_INSETS version
16293         (GetChar): ditto
16294         (BreakParagraph): ditto
16295         (SetOnlyLayout): ditto
16296         (SetLayout): ditto
16297
16298         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16299         with one arg less.
16300
16301         * lastfiles.C: removed most using decl, add std:: where needed
16302
16303         * buffer.C: ws changes
16304
16305         * MenuBackend.C (class compare_format): put into anon namespace
16306         (expand): constify label, names, action, action2
16307         (expand):
16308
16309         * text.C (SingleWidth): constify font
16310         (IsBoundary): constify rtl2
16311         (GetVisibleRow): constify ww
16312
16313         * LaTeX.C (deplog): constify logfile
16314
16315         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16316         start_x, end_x
16317         (workAreaExpose): constify widthChange, heightChange
16318
16319         * lyxrow.C (par): moved
16320         (height): moved
16321         (next): moved
16322         * lyxrow.h: as inlines here
16323
16324         * lyxfont.h (shape): moved from lyxfont.C
16325         (emph): moved from lyxfont.C
16326
16327         * lyxfont.C (LyXFont): use initialization list for all
16328         constructors
16329         (shape): move to lyxfont.h as inline
16330         (emph): move to lyxfont.h as inline
16331
16332
16333 2001-04-04  Juergen Vigna  <jug@sad.it>
16334
16335         * vspace.C: had to include stdio.h for use of sscanf
16336
16337 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16338
16339         * BufferView.h:
16340         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16341         independent of xforms.
16342
16343 2001-04-02  Juergen Vigna  <jug@sad.it>
16344
16345         * spellchecker.C: fixed namespace placing!
16346
16347 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16348
16349         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16350         the LyXParagraph * is 0.
16351
16352 2001-03-29  Juergen Vigna  <jug@sad.it>
16353
16354         * vspace.C: added support for %, c%, p%, l%.
16355         (stringFromUnit): added helper function.
16356         (asLatexString): changed to give right results for the %-values.
16357
16358         * buffer.C: convert the widthp in a width%.
16359
16360 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16361
16362         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16363         figureForm.[Ch].
16364
16365         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16366         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16367
16368         * lyx_cb.[Ch]: see above.
16369
16370         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16371         form1.[Ch].
16372
16373         * form1.[Ch]:
16374         * lyx.[Ch]: replaced by figure_form.[Ch].
16375
16376         * lyx_gui.C:
16377         * lyx_gui_misc.C:
16378         * lyxfunc.C: changed headers associated with above changes.
16379
16380 2001-03-27  Juergen Vigna  <jug@sad.it>
16381
16382         * BufferView_pimpl.C: set the temporary cursor right!
16383
16384 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16385
16386         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16387
16388 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16389
16390         * LString.h: removed "using std::getline"!
16391
16392         * BufferView_pimpl.C (Dispatch): changes due to changes in
16393         InsetInclude::Params.
16394
16395         * buffer.C (tag_name): removed redundant break statements as they were
16396         producing lots of warnings with my compiler.
16397
16398 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16399
16400         * LString.h: add "using std::getline" when using the real <string>.
16401
16402 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16403
16404         * buffer.C: removed bitset usage.
16405         PAR_TAG moved to an anonymous name space.
16406         (tag_name): new funtion, also in the anonymous namespace.
16407         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16408         (makeDocBookFile): clean code. Completed transition from string arrays
16409         to string vectors.
16410         (SimpleDocBookOnePar): code clean.
16411
16412 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16413
16414         * tabular.C: add some comments.
16415
16416 2001-03-22  Juergen Vigna  <jug@sad.it>
16417
16418         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16419         compatibility read a bit and fixed bug with minipage in different
16420         depth.
16421
16422 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16423
16424         * buffer.C (pop_tag): removed.
16425         (push_tag): removed.
16426         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16427         array replaced with vector. Added support for CDATA sections.
16428         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16429         at any nest level.
16430         (makeDocBookFile): XML conformant declaration of CDATA section,
16431         fixed bug related to <emphasis> in the first paragraph char.
16432         (sgmlOpenTag): exclude empty tags.
16433         (sgmlCloseTag): ditto.
16434
16435         * buffer.h (pop_tag): removed.
16436         (push_tag): removed.
16437
16438 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16439
16440         * language.h (Languages): added size_type and size().
16441
16442 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16443
16444         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16445         response on compability reading of minipages. One probliem is that
16446         the old usage of minipages was «flertydig»
16447
16448         * several files here and in subdirs: don't use static at file
16449         scope use anon namespaces instead.
16450
16451 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16452
16453         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16454         LaTeX output. This is necessary for Literate document
16455         processing.
16456
16457 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16458
16459         * buffer.C: insert hfill when needed.
16460
16461         * tabular.C (l_getline): use string::erase, small whitespace change.
16462
16463         * BufferView_pimpl.C: try the anon namespace.
16464         * WorkArea.C: ditto
16465
16466 2001-03-16  Juergen Vigna  <jug@sad.it>
16467
16468         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16469         otherwise it won't open options-dialogs.
16470
16471         * buffer.C: honor pextraWidth(p) on converting minipages.
16472
16473         * tabular.C (l_getline): changed the functions to strip trailing \r.
16474
16475 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16476
16477         * BufferView_pimpl.C:
16478         * minibuffer..C: added "using SigC::slot" declaration.
16479
16480 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16481
16482         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16483
16484         * text2.C: ditto
16485
16486         * text.C: ditto
16487
16488         * paragraph.C: ditto
16489
16490         * lyxtext.h: NO_PEXTRA
16491
16492         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16493
16494         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16495         * ParameterStruct.h: ditto
16496         * ParagraphParameters.h: ditto
16497         * lyxparagraph.h: ditto
16498
16499 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16500
16501         * buffer.C: add compability for minipage alignment.
16502         (latexParagraphs): remove unwanted pextra check.
16503
16504         * several files: remove CXX_WORKING_NAMESPACES
16505
16506         * buffer.C (pop_tag): tie is in namespace boost
16507
16508         * BufferView.h: noncopyable is in namespace boost
16509         * lyxlex.h: ditto
16510         * lyx_main.h: ditto
16511         * lyx_gui.h: ditto
16512         * layout.h: ditto
16513         * lastfiles.h: ditto
16514         * bufferlist.h: ditto
16515         * ShareContainer.h: ditto
16516         * LyXView.h: ditto
16517         * LyXAction.h: ditto
16518         * LaTeX.h: ditto
16519
16520 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16521
16522         * Merging changes from BRANCH_MVC back into HEAD.
16523
16524         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16525
16526 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16527
16528         * BufferView_pimpl.C: change from intl.C
16529
16530         * combox.h:
16531         * combox.C:
16532         * Makefile.am: move combox.*
16533
16534         * form1.h:
16535         * form1.C:
16536         * lyx_gui.C:
16537         * intl.h:
16538         * intl.C: remove dialog (covered by prefs)
16539
16540 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16541
16542         * lyxfunc.C (Dispatch): removed redundant break statement.
16543
16544 2001-03-14  Juergen Vigna  <jug@sad.it>
16545
16546         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16547
16548 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16549
16550         * buffer.C: add hack to fix compability reading of minipages.
16551
16552 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16553
16554         * buffer.C (getLists): Cleanup.
16555
16556 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16557
16558         * lyxfont.C (update): don't honor toggleall on font size.
16559
16560 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16561
16562         * bmtable.c:
16563         * bmtable.h:
16564         * Makefile.am: moved to frontends/xforms/
16565
16566         * lyx_gui_misc.C:
16567         * lyxfunc.C:
16568         * BufferView_pimpl.C: changes for moved mathpanel
16569
16570 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16571
16572         * gettext.h: fix gettext_init() in --disable-nls
16573
16574 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16575
16576         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16577
16578 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16579
16580         * lyx.C:
16581         * lyx.h: strip external form
16582
16583 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16584
16585         * BufferView_pimpl.C: add comment, destroySplash()
16586
16587 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16588
16589         * BufferView_pimpl.C:
16590         * LyXAction.C:
16591         * buffer.C:
16592         * commandtags.h:
16593         * lyxfunc.C: use re-worked insetinclude
16594
16595 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16596
16597         * buffer.C: add using std::stringstream.
16598
16599         * lyx_cb.C: readd using std::ios.
16600
16601         * buffer.C: add using std::map.
16602
16603         * BufferView_pimpl.C: add using std::vector.
16604
16605         * ShareContainer.h: add std:: to swap.
16606
16607         * buffer.h: add some typedefs
16608         * buffer.C (getLists): use them
16609         (getLists): renamed from getTocList.
16610         add a counter for the different float types and use it in the
16611         generated string.
16612         (getLists): use the same counter for the NEW_INSETS and the "non"
16613         NEW_INSETS
16614
16615         * lyx_cb.h: remove unused items, includes, using etc.
16616
16617         * ShareContainer.h: remove some commented code, add more comments
16618         and "documentation".
16619
16620 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16621
16622         * buffer.C (getTocList): make the list also when NEW_INSETS is
16623         defined.
16624
16625         * buffer.h: remove TocType
16626
16627         * buffer.C (getTocList): change to return a map<string,
16628         vector<TocItem> >, implement for dynamic number of list.
16629
16630         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16631         * text2.C (PasteSelection): adjust
16632         * CutAndPaste.C (pasteSelection): adjust
16633
16634         * FloatList.C (FloatList): update from the new_insets branch.
16635         * Floating.[Ch]: ditto
16636         * LaTeXFeatures.C: ditto
16637         * buffer.C: ditto
16638         * lyxlex_pimpl.C: ditto
16639
16640         * paragraph.C (Last): remove when NEW_INSETS is defined.
16641
16642         * other file: changes because of the above.
16643
16644 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16645
16646         * lyxparagraph.h: rename next to next_, previous to previous_,
16647         make them private for NEW_INSETS. Rename Next() to next(),
16648         Previous() to previous().
16649
16650         * other files: changes because of the above.
16651
16652 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16653
16654         * BufferView.h:
16655         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16656         problem.
16657
16658 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16659
16660         * main.C (main): pass lyx_localedir to gettext_init().
16661
16662         * gettext.h: remove locale_init and gettext_init macros
16663
16664         * gettext.C (locale_init): new function
16665         (gettext_init): new function
16666
16667         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16668         setlocale().
16669
16670 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16671
16672         * Moved credits to frontends:
16673         * credits.[Ch]: removed
16674         * credits_form.[Ch]: removed
16675         * lyx_gui_misc.C: remove credits stuff
16676         * Makefile.am:
16677
16678 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16679
16680         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16681
16682         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16683         unneeded destructor.
16684
16685         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16686         a standalone pointer again.
16687
16688         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16689
16690 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16691
16692         * Makefile.am:
16693         * filedlg.h:
16694         * filedlg.C:
16695         * LyXAction.C:
16696         * ToolbarDefaults.C:
16697         * bufferlist.C:
16698         * commandtags.h:
16699         * form1.C:
16700         * form1.h:
16701         * lyx_cb.C:
16702         * lyx_cb.h:
16703         * lyxfunc.h:
16704         * lyxfunc.C:
16705         * BufferView_pimpl.C: use new file dialog in GUII
16706
16707         * lyx_cb.h:
16708         * lyx_cb.C: remove LayoutsCB to Toolbar
16709
16710 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16711
16712         * ShareContainer.h (get): add std:: qualifier
16713
16714 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16715
16716         * ShareContainer.h: define a proper ShareContainer::value_type
16717         type (and use typename to please compaq cxx)
16718
16719 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16720
16721         * lyxparagraph.h: move serveral local vars to
16722         ParameterStruct/ParagraphParameters., use ShareContainer in
16723         FontTable., make vars in FontTable private and add getter and
16724         setter.
16725
16726         * paragraph.C: changes because of the above.
16727
16728         * lyxfont.h: remove copy constructor and copy assignment. (the
16729         default ones is ok), move number inside FontBits. move inlines to
16730         lyxfont.C
16731
16732         * lyxfont.C: add number to initializaton of statics, move several
16733         inlines here. constify several local vars. some whitespace
16734         cleanup. Dont hide outerscope variables.
16735
16736         * Spacing.h: add two new constructors to match the set methods.
16737
16738         * ShareContainer.h: new file, will perhaps be moved to support
16739
16740         * ParameterStruct.h: new file
16741
16742         * ParagraphParameters.h: new file
16743
16744         * ParagraphParameters.C: new file
16745
16746         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16747         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16748
16749         * BufferView_pimpl.C: ParagraphParameter changes.
16750         * buffer.C: Likewise.
16751         * bufferview_funcs.C: Likewise.
16752         * text.C: Likewise.
16753         * text2.C: Likewise.
16754
16755 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16756
16757         * lyxfind.C (LyXReplace): do not redefine default argument in
16758         implementation.
16759         (IsStringInText): ditto
16760         (SearchForward): ditto
16761         (SearchBackward): ditto
16762
16763 2001-03-06  Juergen Vigna  <jug@sad.it>
16764
16765         * lyxfind.C (IsStringInText): put parentes around expressions.
16766
16767 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16768
16769         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16770
16771 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16772
16773         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16774
16775         * stl_string_fwd.h: add comment
16776
16777         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16778
16779         * tabular.h:
16780         * tabular.C: remove unused DocBook methods
16781
16782         * intl.C:
16783         * language.C:
16784         * paragraph.C:
16785         * buffer.C:
16786         killed DO_USE_DEFAULT_LANGUAGE
16787
16788 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16789
16790         * lyx_gui.C: do not include language.h.
16791
16792         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16793         arguments in function implementation.
16794
16795 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16796
16797         * BufferView_pimpl.C: add <ctime>
16798
16799 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16800
16801         * BufferView_pimpl.C: add using std::find_if
16802
16803 2001-02-27  José Matos  <jamatos@fep.up.pt>
16804
16805         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16806         by OnlyPath.
16807
16808 2001-02-11  José Matos  <jamatos@fep.up.pt>
16809
16810         * buffer.C (makeDocBookFile): command styles now have a parameter as
16811         "title" by default.
16812
16813 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16814
16815         * layout_forms.[Ch]: removed
16816         * lyx_cb.[Ch]: out character
16817         * lyx_gui.C: out character
16818         * lyx_gui_misc.C: out character
16819         * bufferview_funcs.C: : out character,
16820         added toggleall as parameter in ToggleAndShow
16821
16822 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16823
16824         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16825
16826         * text2.C (SetCurrentFont): Disable number property at boundary.
16827
16828 2001-02-26  Juergen Vigna  <jug@sad.it>
16829
16830         * lyxfunc.C (getStatus): added a string argument override function so
16831         that this is correctly called from LyXFunc::Dispatch if it contains a
16832         do_not_use_argument which is used!
16833         (Dispatch): added check for "custom" export and call appropriate func.
16834
16835 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16836
16837         * lyxrc.C: Add language_command_local, language_use_babel and
16838         language_global_options.
16839
16840         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16841
16842         * buffer.C (makeLaTeXFile): Use language_use_babel and
16843         language_global_options.
16844
16845 2001-02-23  Juergen Vigna  <jug@sad.it>
16846
16847         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16848         which works with LyXText and putted it inside BufferView. Here now we
16849         only call for that part the BufferView::Dispatch() function.
16850
16851         * BufferView.C (Dispatch): added.
16852
16853         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16854         functions which needs to use a LyXText over from LyXFunc.
16855         (MenuInsertLyXFile): added
16856         (getInsetByCode): added
16857         (moveCursorUpdate): added
16858         (static TEXT): added
16859
16860 2001-02-22  Juergen Vigna  <jug@sad.it>
16861
16862         * BufferView_pimpl.C (update): call a status update to see if LyXText
16863         needs it.
16864
16865 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16866
16867         * vc-backend.C (revert): implement for CVS
16868         (getLog): implement for CVS
16869
16870 2001-02-20  Juergen Vigna  <jug@sad.it>
16871
16872         * text2.C (ClearSelection): added BufferView param for inset_owner call
16873
16874         * lyxfunc.C (TEXT): added this function and use it instead of
16875         directly owner->view()-text of getLyXText().
16876
16877 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16878
16879         * src/layout_forms.C: out preamble
16880         * src/layout_forms.h: out preamble
16881         * src/lyx_cb.C: out preamble
16882         * src/lyx_cb.h: out preamble
16883         * src/lyx_gui.C: out preamble
16884         * src/lyx_gui_misc.C: out preamble
16885         * src/lyxfunc.C: connect with guii preamble
16886
16887 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16888
16889         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16890
16891 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16892
16893         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16894         whether to run bibtex.
16895
16896 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16897
16898         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16899
16900 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16901
16902         * Makefile.am (lyx_SOURCES): removed bibforms.h
16903
16904         * vspace.h: doxygen
16905
16906         * text.C (GetVisibleRow): make several local vars const
16907
16908         * tabular.C: small cleanup.
16909
16910         * lyxserver.C (callback): use compare instead of strncmp
16911
16912         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16913         inlines to after class or to paragraph.C
16914
16915         * lyxfont.h: remove friend operator!=
16916
16917         * converter.h: move friend bool operator< to non friend and after
16918         class def.
16919
16920         * combox.h: small cleanup
16921
16922         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16923         to inlines after class def.
16924
16925         * buffer.C (pop_tag): use string operations instead of strcmp
16926
16927         * bmtable.c: doxygen, small cleanup
16928
16929         * LaTeX.h: remove friend operator==
16930
16931 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16932
16933         * screen.C:
16934         * lyxrc.[Ch]:
16935         * lyxfunc.C:
16936         * lyxfont.[Ch]:
16937         * lyx_cb.C:
16938         * intl.[Ch]:
16939         * commandtags.h:
16940         * buffer.C:
16941         * WorkArea.[Ch]:
16942         * LyXAction.C:
16943         * BufferView_pimpl.C:
16944         * BufferView.[Ch]: remove cruft
16945
16946 2001-02-14  Juergen Vigna  <jug@sad.it>
16947
16948         * lyxfunc.C: removed #if 0 unused code
16949
16950         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16951
16952         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16953
16954         * text2.C (SetSelection): added a BufferView * parameter
16955
16956 2001-02-13  Juergen Vigna  <jug@sad.it>
16957
16958         * lyxfunc.C (Dispatch): fixed protected blank problem.
16959         * BufferView2.C (protectedBlank): added LyxText * parameter.
16960
16961         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16962         (AppendColumn): same as above for column_info.
16963
16964         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16965         (moveCursorUpdate): use a LyXText param for support of InsetText.
16966
16967         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16968         (tripleClick): ditto
16969
16970         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16971
16972         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16973
16974         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16975
16976         * text2.C (SetSelection): set correct update status if inset_owner
16977         (ToggleFree): ditto
16978
16979 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16980
16981         * tabular.C: remove some commented code.
16982
16983 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16984
16985         * BufferView_pimpl.C: call hideSplash()
16986
16987         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16988
16989         * include_form.h:
16990         * bibforms.h: remove
16991
16992         * lyxfunc.C:
16993         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16994           add LFUN_CHILD_CREATE
16995
16996         * counters.h: fix tiny typo
16997
16998         * lyx_cb.C:
16999         * lyx.h:
17000         * lyx_gui.C:
17001         * lyx.C: move splash to frontends/xforms/
17002
17003         * lyx_gui_misc.C: move Include and Bibform to frontends
17004
17005         * lyxvc.h: clarify comment
17006
17007         * vspace.C: tiny housekeeping
17008
17009 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17010
17011         * text.C (PrepareToPrint): RTL Fix.
17012
17013         * paragraph.C (GetUChar): New method.
17014         (String):  Use GetUChar.
17015
17016         * buffer.C (asciiParagraph): Use GetUChar.
17017
17018 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17019
17020         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17021
17022 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17023
17024         * buffer.h:
17025         * buffer.C: rename to getLogName(), handle
17026           build log / latex log nicely
17027
17028 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17029
17030         * MenuBackend.C:
17031         * MenuBackend.h: remove support for reference menuitem type.
17032
17033 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17034
17035         * BufferView_pimpl.C: housekeeping
17036         * BufferView_pimpl.h:
17037         * LyXView.h:
17038         * Makefile.am:
17039         * Timeout.C:
17040         * Timeout.h:
17041         * minibuffer.h: move Timeout GUI-I
17042
17043 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17044
17045         * lyxrc.C (read): Update converters data-structures.
17046
17047 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17048
17049         * LaTeX.h (operator!=): add operator != for Aux_Info
17050
17051 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17052
17053         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17054
17055         * LaTeXLog.C: deleted, useful code moved to Buffer
17056
17057         * buffer.h:
17058         * buffer.C: new function getLatexLogName()
17059
17060         * lyx_gui_misc.C:
17061         * lyx_gui.C:
17062         * lyxvc.C:
17063         * lyxvc.h:
17064         * lyxfunc.C: use frontends for LaTeX and VC logs
17065
17066 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17067
17068         * LaTeX.h: yet another std:: that Allan forgot.
17069
17070         * Variables.C (set): renamed from isset(), because this clashes
17071         with some HP-UX macros (grr).
17072
17073 2001-02-06  Allan Rae  <rae@lyx.org>
17074
17075         * LaTeX.h: Another bug fix.  Missing std:: this time.
17076
17077 2001-02-04  Allan Rae  <rae@lyx.org>
17078
17079         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17080         floats problem. I've left it commented out because it's not quite
17081         correct.  It should also test that the current object is a table or
17082         figure inset.  But I haven't gotten around to figuring out how to do
17083         that.  I *think* it'll be something like: "table" == inset.type()
17084
17085         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17086         bool.
17087
17088 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17089
17090         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17091         all the citation/databases/styles in the auxilary file.
17092         (run): Rerun latex if there was a babel language error.
17093
17094 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17095
17096         * text.C (Backspace): Preserve the font when changing newline char
17097         with a space.
17098         (BreakParagraph): If the cursor is before a space, delete the space.
17099
17100         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17101
17102 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17103
17104         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17105         new argument (code).
17106         (ChangeCitationsIfUnique): New method.
17107
17108         * paragraph.C (GetPositionOfInset): Handle bibkey.
17109
17110 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17111
17112         * BufferView_pimpl.h: change type of Position::par_pos to
17113         LyXParagraph::size_type.
17114
17115 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17116
17117         * BufferView_pimpl.C (savePosition, restorePosition): Write
17118         messages to minibuffer.
17119
17120 2001-01-28  José Matos  <jamatos@fep.up.pt>
17121
17122         * buffer.C (makeDocBookFile): adds support for document language.
17123         A silly restriction on the name of LatexCommand types where removed.
17124         Added support for CDATA sections, allows to chars unescaped, used
17125         among others in code, to avoid escape < and >.
17126
17127 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17128
17129         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17130         saved positions instrad of a stack. Furthermore, a position is
17131         stored using paragraph id/paragraph position.
17132
17133         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17134         Remove LFUN_REF_BACK.
17135
17136 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17137
17138         * converter.C (dvipdfm_options): New method.
17139
17140 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17141
17142         * vspace.C (isValidLength): Fix for empty input string.
17143
17144 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17145
17146         * LyXAction.C (init): change description of LFUN_FIGURE to
17147         "Insert Graphics"
17148
17149 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17150
17151         * LaTeX.C: add using directive
17152
17153 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17154
17155         * MenuBackend.C (expand): Fix the sorting of the formats.
17156
17157 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17158
17159         * lyx_main.C: tiny error message fix
17160
17161 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17162
17163         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17164         calling fl_initialize(). This fixes the problem with ',' as
17165         decimal separator in text files.
17166
17167 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17168
17169         * trans.C (process): Fix the keymap bug.
17170
17171 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17172
17173         * LaTeX.C (scanAuxFiles): New method. Provides support for
17174         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17175         (scanLogFile) Scan for "run BibTeX" messages.
17176
17177         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17178         OT1 font encoding. Also, load the aecompl package if the ae
17179         package is loaded.
17180
17181         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17182
17183 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17184
17185         * texrow.C (increasePos): turn two error messages into debug
17186         messages.
17187
17188 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17189
17190         * LaTeX.C (scanAux): Handle the \@input macro.
17191         (runBibTeX): Use scanAux().
17192
17193         * language.C (latex_options_): New field.
17194
17195         * LaTeXFeatures.C (getMacros): Add language macros.
17196
17197         * buffer.C (makeLaTeXFile): Small fix.
17198
17199 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17200
17201         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17202
17203         * text2.C: add a using directive.
17204
17205 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17206
17207         * BufferView2.C:
17208         * lyx_gui_misc.h:
17209         * lyxfr1.C:
17210         * lyxfunc.C: kill LyXBell.
17211
17212 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17213
17214         * text.C (IsBoundary): Remove the error message
17215
17216         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17217
17218         * lyxrc.C (setDefaults): Correct initialization value for
17219         font_norm_type.
17220
17221 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17222
17223         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17224         gotoError().
17225
17226         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17227         and GotoNextNote().
17228
17229         * src/LyXAction.C: Added reference-next.
17230
17231         * text.C (InsertChar): Use contains instead of strchr.
17232
17233         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17234
17235 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17236
17237         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17238         alignment commands (when needed).
17239
17240         * text.C (InsertChar): Add ':' to number separator chars.