]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix bug 1792
[lyx.git] / src / ChangeLog
1 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text2.C: fix for cursor up/down stuck in math [bug 1792]
4
5 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * text2.C (cursorUp): get rid of a crash
8         * text.C (x2pos): add an assert
9
10 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * lyxfunc.C (getStatus): fix warning when assertions are disabled
13
14         * text3.C: 
15         * lyxfunc.C: 
16         * dociterator.C: include <boost/current_function.hpp>, which is
17         needed when assertions are disabled.
18
19 >>>>>>> 1.2135
20 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
21
22         * text2.C: fix for stuck cursor when traversing two 
23         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
24
25 2005-02-25  Andreas Vox  <avox@arcor.de>
26
27         * output_docbook.C (makeParagraph): suppress trailing newline
28         after a run of paragraphs
29
30 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
31
32         * paragraph.C: fix for confused change tracker when pasting
33         text that begins with a lineseparator. [bug 1827]
34         (setChange(0, Change::INSERTED);)
35
36         * paragraph_funcs.C: fix for lost changes on triple-paste
37         in change tracking mode [bug 1827] (par.setChange()).
38
39 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * text2.C (updateCounters, setCounter, expandLabel): move to
42         buffer_funcs.
43
44         * buffer_funcs.C (updateCounters): turn into a free standing
45         function and add a buffer parameter. Remove dead code for tracking
46         labelstring change.
47         (setCounter): change into a free-standing function which gets a
48         dociterator as argument. Use this iterator to fix captions in a
49         simple way. When no float is found above the caption, use the
50         labelstring of the caption layout as default.
51
52         * text.C (breakParagraph, backspace): 
53         * text2.C (init, setLayout, changeDepth):
54         * text3.C (dispatch): 
55         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
56         updateCounters.
57
58         * dociterator.C (forwardPar): make it much faster by calling
59         forwardPos() only when really necessary.
60
61         * output_docbook.C (makeCommand): adapt to expandLabel move.
62
63         * cursor.C: remove unused variable
64
65 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
66
67         * paragraph_funcs.C: fix crash when pasting insets in change 
68         tracking mode [bug 1277] (honour change type in moveItem).
69
70 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
71
72         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
73
74 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
75
76         * BufferView.C (setCursor): change to use a DocIterator.
77         (gotoLabel): use BufferView::setCursor (other part of bug 781).
78         (putSelectionAt): adapt to BufferView::setCursor change.
79
80         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
81         moved here from LyXText and rewritten to use proper cursor
82         methods. Fixes bug 1787, 616 and 835.
83
84         * BufferView_pimpl.C (restorePosition): set the cursor correctly
85         when inside an inset (part of bug 781).
86         (dispatch): adapt to change of BufferView::setCursor.
87         (getStatus, dispatch): handle LFUN_GOTOERROR,
88         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
89
90         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
91         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
92         * text3.C (gotoNextInset, gotoInset): removed.
93
94 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
97
98 2005-02-15  Angus Leeming  <leeming@lyx.org>
99
100         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
101         can be used meaningfully in a comparison.
102
103 2005-02-13  André Pönitz  <poenitz@gmx.net>
104
105         * bufferview_funcs.C (coordOffset): improve cursor drawing
106
107 2005-02-13  André Pönitz  <poenitz@gmx.net>
108
109         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
110         * Cursor.C (dispatch): use fixIfBroken
111         * lyxfunc.C (getStatus): use fixIfBroken
112
113 2005-02-15  Angus Leeming  <leeming@lyx.org>
114
115         * lyx_main.C (error_handler):
116         * lyxfunc.C:
117         * lyxrc.C (setDefaults):
118         s/GetEnv/getEnv/.
119         #include "environment.h".
120
121         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
122
123 2005-02-15  Angus Leeming  <leeming@lyx.org>
124
125         * lyxserver.C (startPipe): squash MSVC warning "local variable
126         'fd' used without having been initialized".
127
128 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
129
130         * BufferView_pimpl.C: revert accidental commit.
131
132 2005-02-14  André Pönitz  <poenitz@gmx.net>
133
134         * dociterator.[Ch]: new member forwardPosNoDescent(),
135         which doesn't enter nested insets.
136         * text2.C (setFont): use forwardPosNoDescent() instead
137         of ForwardPos() (fixes crash on font change).
138
139 2005-02-13  Angus Leeming  <leeming@lyx.org>
140
141         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
142         only if lyxrc.path_prefix is not empty.
143
144 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
145
146         * bufferparams.C (readGraphicsDriver): prevent crash
147
148 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
149
150         * text2.C (setCounter): check for inInset() == 0
151
152 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
155         but use update() to get correct screen display; use convert
156         instead of istringstream. 
157         (getStatus): handle LFUN_GOTO_PARAGRAPH 
158
159         * lyxfunc.C (dispatch, getStatus): do not handle
160         LFUN_GOTO_PARAGRAPH here.
161
162 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
163
164         * text3.C (dispatch): size() -> depth()
165
166         * text2.C: remove some debug output
167
168         * paragraph.C: ws changes only
169
170         * lyxfunc.C (getStatus): size() -> depth()
171
172         * dociterator.h (clear, push_back, pop_back, internalData,
173         operator[], resize, empty): new functions
174         Make StableDocIterator and operator== be friends. Don't inherit
175         from std::vector use a privat class variable slices_ instead.
176         Modify to fit.
177
178         * dociterator.C: update because of not inheriting from std::vector
179         anymore. Call explictly to slices_ instead. Use depth() instead of
180         size() and top() instead of back()
181
182         * cursor.C: chagne size() -> depth and back() -> top(). Also
183         remove some direct operator[](i) calls in favour of foo[i]
184         (getFont): remove some dead code
185
186         * bufferview_funcs.C (coordOffset): size() -> depth()
187
188         * buffer.C: ws changes only
189
190         * CutAndPaste.C (eraseSelection): back() -> top()
191
192         * BufferView_pimpl.C (selectionRequested): back() -> top()
193
194         * BufferView.C (setCursor): size() -> depth()
195
196 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
197
198         * text3.C (cursorPrevious): return true if depm changed something
199         (cursorNext): ditto
200         (dispatch): rename sl to oldTopSlice, remove moving use the new
201         NoUpdate func attrib instead. Make sure that needsUpdate is set
202         for function that have NoUpdate, but where depm might have changed
203         the buffer anyway.
204
205         * text2.C (cursorLeft): make us return true if depm changed
206         something
207         (cursorRight): ditto
208         (cursorUpParagraph): ditto
209         (curosrDownParagraph): ditto
210         (cursorUp, cursorDown): ditto, make sure to read comments in code
211         (deleteEmptyParagraphMechanism): remove an assert, also return
212         true if just a single char was deleted.
213
214         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
215         cursor that we modify, to avoid modifying an active cursor before
216         we call setCursor. This allows depm to run. Also return true if
217         depm deleted something.
218
219         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
220         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
221         cursorDownParagraph, cursorPrevious and cursorNext, return true if
222         something was changed in the buffer because of them (ie. depm run)
223
224         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
225         debug messages. Make update by default be false. Make sure that
226         the result of update is retained throught several calls down to
227         dispatch.
228
229         * LyXAction.h: add a new func_attrib: NoUpdate
230
231         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
232         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
233         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
234         and LFUN_WORDLEFT
235         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
236
237 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
240         bv_->owner(), bv_->buffer() by direct references to the private
241         members.
242         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
243         (getStatus): isSavedPosition() is in BufferView::Pimpl.
244         (fitCursor): center() is in BufferView::Pimpl.
245         (getStatus, trackChanges, dispatch): no need for a temporary buf
246         variable
247         (fitCursor, workAreaDispatch): use workarea().workheight()
248
249 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
250
251         * CutAndPaste.C (pasteSelectionHelper): fix a crash
252
253 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
254
255         * buffer.C: format up to 241.
256         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
257         break if pasting into ERT
258         * lyxfunc.C (getStatus): suppress mathpanel and
259         LFUN_DIALOG_SHOW_NEW_INSET in ERT
260
261 2005-02-01  Angus Leeming  <leeming@lyx.org>
262
263         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
264
265 2005-02-01  Angus Leeming  <leeming@lyx.org>
266
267         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
268         calling fs::is_directory().
269
270 2005-01-31  Angus Leeming  <leeming@lyx.org>
271
272         * lyx_main.C (priv_exec): specify explicitly the relative location
273         of the top level build directory when run in-place.
274
275 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
278         LyXText containing the cursor, not the top-level one.
279
280         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
281         true.
282         (insertStringAsLines): rename par to pit; use temporary variable
283         par to hold a Paragraph; do not store par.layout() in a variable,
284         since the pointer may die when breaking paragraphs; pass pars to
285         breakParagraph() instead of Buffer::paragraphs().
286
287 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
288
289         * lyxlex_pimpl.h: #include <fstream>.
290
291         * BufferView.[Ch] (getLyXText): add a const version.
292
293         * BufferView_pimpl.C: add debug aids.
294
295         * RowList_fwd.h:
296         * buffer.h:
297         * lyxrow.h:
298         * paragraph_funcs.h: add commentary explaining what the class does.
299
300
301         * coordcache.[Ch]: add lots of commentary.
302         (startUpdating, doneUpdating): debug aids.
303         (arrays, insets, parPos, getParPos): accessors to private data.
304
305         * cursor_slice.[Ch] (text): add a const version.
306         * dociterator.[Ch] (text, innerText): add const versions.
307
308         * lyxtext.h (breakParagraph): change the keep_layout arg to a
309         bool.
310
311         * paragraph.C (getRow, pos2ros): add asserts.
312
313         * paragraph.h: add commentary. Lots of.
314
315         * paragraph.[Ch] (metrucs, draw): removed.
316
317         * cursor.C:
318         * rowpainter.[Ch]: const-correct changes.
319
320         * text.C: various obvious clean-ups. Removal of ancient cruft.
321         Bug fixes, even.
322
323 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
324
325         * vc-backend.C (find_file): rewrite to use boost.filesystem
326         (scanMaster): ditto
327
328         * main.C (main): set default name check for boost.filesystem to
329         no check
330
331         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
332         (open): ditto
333         (doImport): ditto
334         (actOnUpdatedPrefs): ditto
335
336         * lyx_main.C (init): rewrite to use boost.filesystem
337         (queryUserLyXDir): ditto
338
339         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
340         (getContentsOfAsciiFile): ditto
341
342         * lastfiles.C (readFile): rewrite to use boost.filesystem
343
344         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
345
346         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
347         (loadLyXFile): ditto
348
349         * buffer.C (Buffer): adjust for destroydir
350         (getLogName): rewrite to use boost.filesystem
351         (setFileName): ditto
352         (save): use fs::copy_file (from fs_extras)
353
354         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
355
356         * LaTeX.C (run): rewrite to use boost.filesystem
357         (scanAuxFiles): ditto
358         (handleFoundFile): ditto
359
360 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
361
362         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
363
364         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
365
366 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
367
368         * lyxlayout.[Ch]: change some vars from float to double
369
370         * buffer.C (readFile): make a local var const
371
372         * Several files: use convert<> instead of atoi,strToXXX and friends
373
374 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
375
376         * LaTeXFeatures.[Ch]: Add a static list packages_ that
377         holds the contents of packages.lst. New functions getAvailable
378         and isAvailable to parse and check that list, resp.
379
380         * LyXAction.C:
381         * lfuns.h:
382         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
383
384         * bufferparams.[Ch]: new param output_changes.
385
386         * Buffer.C: increase file format to 240.
387         Use output_changes and isVailable.
388
389         * changes.[Ch]:
390         * paragraph.C:
391         * paragraph_pimpl.C: Use output_changes and isVailable.
392
393 2005-01-23  Angus Leeming  <leeming@lyx.org>
394
395         * output_latex.C: #include "insetbibitem.h", rather than
396         forward declare function bibitemWidest.
397
398 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
399
400         * lyx_main.C (init): make it compile on the Mac.
401
402 2005-01-20  Angus Leeming  <leeming@lyx.org>
403
404         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
405         (setLyXMisc): (char string literal) != (char string literal) is
406         performing a comparison on the addresses. Convert one operand
407         explicitly to string to guarantee expected behaviour.
408         From MSVC warning.
409
410 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
411
412         * buffer.C:
413         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
414
415         * output_plaintext.C: remove unneeded #include gzstream.h.
416
417 2005-01-20  Angus Leeming  <leeming@lyx.org>
418
419         * SpellBase.h: rename some of the elements of the Result enum.
420
421         * aspell_local.h:
422         * ispell.h:
423         * pspell.h:
424         * aspell.C (check):
425         * ispell.C (check):
426         * pspell.C (check): ditto
427
428 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
429
430         * buffer.C: add #include <fstream>.
431
432         * lyx_main.C (init): Compile fix.
433
434         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
435
436 2005-01-20  Angus Leeming  <leeming@lyx.org>
437
438         * mover.h: change commentary to reflect the changed meaning of
439         the $$s placeholder.
440
441 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         * output_linuxdoc.C (linuxdocParagraphs): silence warning
444
445         * lyxfind.C (MatchString::operator()): remove bogus semicolon
446
447 2005-01-20  Angus Leeming  <leeming@lyx.org>
448
449         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
450         printing diagnostic data by not dereferecing an iterator past the
451         end.
452
453 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
454
455         * buffer.C (readHeader): use "&&" rather than "and".
456
457         * lyxserver.h (inPipeName, outPipeName): make these const.
458
459 2005-01-19  Angus Leeming  <leeming@lyx.org>
460
461         * lyx_main.C (error_handler, init): protect SIGHUP with
462         #ifdef SIGHUP guards.
463
464 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
467
468 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * text.C (setHeightOfRow): add a margin at the top and bottom of
471         the document (bug 1761)
472
473 2005-01-17  Angus Leeming  <leeming@lyx.org>
474
475         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
476         with "python ". Workaround for a brain-dead Windows.
477
478 2005-01-16  Angus Leeming  <leeming@lyx.org>
479
480         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
481         for MacOSX and Windows to use prependEnvPath.
482         Strip out the hard-coded block to add elements to the PATH for
483         MacOSX and replace it with a call to prependEnvPath using the
484         contents of LyXRC::path_prefix.
485         (queryUserLyXDir): strip out the code to run reconfigure, instead
486         returning a boolean indicating the necessity to do so.
487         (reconfigureUserLyXDir): contains the code to reconfigure the
488         user support directory. Is now called after the various LyXRC data
489         files have been read.
490
491         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
492
493 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
494
495         * converter.[Ch] (convert): take a new parameter try_default. Use
496         a default converter (imagemagick) if try_default is true.
497
498 2005-01-13  Angus Leeming  <leeming@lyx.org>
499
500         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
501         os::cygwin_path_fix.
502         (write): output LyXRC::cygwin_path_fix as necessary.
503
504 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
505
506         * lyxrc.h:
507         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
508
509 2005-01-12  Angus Leeming  <leeming@lyx.org>
510
511         * lyx_main.C (init): set the PATH variable to include the
512         directory containing the LyX binary when running on Mac or Windows.
513
514 2005-01-12  Angus Leeming  <leeming@lyx.org>
515
516         * lyx_main.C (init): remove cruft that purports to set the locale
517         dir. It doesn't and is not needed anyway.
518
519 2005-01-10  Angus Leeming  <leeming@lyx.org>
520
521         * Makefile.am: remove the lyx_main.C special casing.
522
523         * BufferView_pimpl.C:
524         * bufferlist.C:
525         * exporter.C:
526         * lyx_cb.C:
527         * lyx_main.C:
528         * lyxfunc.C:
529         * messages.C: use support/package.h to provide the paths to the
530         various directories used by LyX.
531
532 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
533
534         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
535         layout if pasting into an empty paragraph)
536
537 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
538
539         * tex-accent.C: add <string>
540
541 2005-01-06  José Matos  <jamatos@lyx.org>
542
543         * ParagraphParameters.C (write): put every parameter in its own line.
544         * paragraph.C (write): reduce number of consecutive empty lines exported.
545         * buffer.C (LYX_FORMAT): increase file format to 239.
546
547 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
548
549         * everywhere: change support/tostr.h -> support/convert.h
550
551         * tabular.C: make all write_attributes templates, tostr -> convert
552
553         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
554         (emptyTag): and -> &&, and fix type for ret from getChar
555         (getFirstWord): fix type for ret from getChar
556         (onlyText): and -> &&
557         (simpleDocBookOnePar): and not -> && !, fix type for ret from
558         getChar
559
560         * toc.C (goTo, action):
561         * text3.C (dispatch):
562         * text.C (currentState):
563         * tex-accent.C (DoAccent):
564         * sgml.C:
565         * lyxrc.C:
566         * lyxfunc.C (menuNew):
567         * lyxfinc.C (replace):
568         * counters.C (laberItem):
569         * bufferview_funcs.C (font2string):
570         * bufferparams.C (writeFile):
571         * buffer.C (readFile):
572         * Spacing.C (set):
573         * MenuBackend.C: tostr -> convert
574
575         * LaTeX.C (runMessage): fix format
576         (scanAuxFiles): tostr -> convert
577
578         * BufferView_pimpl.C (savePosition): fix format
579         (restorePosition): ditto
580         (dispatch): ditto
581
582 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
583
584         * Spacing.[Ch]: New method getValueAsString().
585
586         * Spacing.[Ch]:
587         * bufferparams.C:
588         * ParagraphParameters.C:
589         * lyxlayout.C:
590         * text.C:
591         * text3.C: store/read spacing value as string.
592
593         * rowpainter.C: change float value (spacing_val) to double.
594
595         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
596         broken custom document spacing).
597
598 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
599
600         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
601         namespace, also more use of temp references and const
602
603         * cursor.[Ch] (getStatus): move to lyxfunc.C
604
605         * bufferparams.C: reformat slightly
606
607         * bufferview_funcs.C (font2string): constify arg
608
609         * changes.C:
610         * converter.C:
611         * counters.C:
612         * bufferlist.C:
613         * buffer_funcs.C: (many funcs): constify arg on function
614         definitions, also make more local vars const, also add ASSERTS on
615         pointer args.
616
617         * buffer.C (LYX_FORMAT): put const in correct place
618         (many funcs): constify arg on function definitions, also make
619         more local vars const
620
621         * aspell_local.h: remove "struct" from typdef setup
622
623         * aspell.C (check): make word_ok const
624         (nextMiss): simplify slightly
625         (error): ditto
626
627 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
628
629         * lyxrc.[Ch]: store all float values as strings.
630         use int (not float) for lyxrc.dpi.
631
632 2005-01-04  Angus Leeming  <leeming@lyx.org>
633
634         * lyx_cb.C (Reconfigure):
635         * lyx_main.C (queryUserLyXDir):
636         to run the <system_lyxdir>/configure correctly on Windows, prefix
637         the path to the script with "sh " when generating the string that
638         is passed to system().
639
640 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
641
642         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
643
644 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * lyxlength.C (asLatexString): get rid of setprecision
647
648 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
649
650         * text2.C (setLayout): remove unused variable endpit.
651         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
652
653         * paragraph.C (onlyText): remove unused variable style.
654
655         * cursor.C (bruteFind): remove unused variables beg and end.
656
657         * Makefile.am (dist_noinset_DATA): not needed anymore
658
659         * cheaders/*: remove.
660
661 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
662
663         * text3.C: fix LFUN_MATH_MODE.
664
665 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * buffer_funcs.C (countWords): new function. Counts words between
668         two iterators.
669
670         * BufferView_pimpl.C (getStatus, dispatch): handle
671         LFUN_WORDS_COUNT.
672
673         * LyXAction.C (init):
674         * lfuns.h: add LFUN_WORDS_COUNT.
675
676 2004-12-19  Angus Leeming  <leeming@lyx.org>
677
678         * buffer.C (save): s/slashify_path/internal_path/.
679
680 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
681
682         * lyxfind.C (findChange): do not search for end of pars, because
683         the change tracker cannot handle this (fixes bug 1719).
684
685 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
686
687         * paragraph.[Ch] (autoBreakRows): remove
688
689         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
690
691         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
692         avoid using the paragraph one
693
694         * text2.C (LyXText, insertStringAsLines): adjust
695
696 2004-12-16  Angus Leeming  <leeming@lyx.org>
697
698         * bufferlist.C:
699         * lyx_main.C:
700         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
701
702 2004-12-14  Angus Leeming  <leeming@lyx.org>
703
704         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
705
706         * bufferlist.C (emergencyWrite):
707         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
708         GetEnvPath("HOME").
709
710 2004-12-14  Angus Leeming  <leeming@lyx.org>
711
712         * main.C: (main): no longer pass pointers to os::init.
713
714 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
715
716         * undo.C (textUndoOrRedo): simplify logic, fix a crash
717         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
718
719 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
720
721         * lyxfunc.C:
722         * text3.C: remove selection_possible global flag
723
724 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
725
726         * text2.C (getSelectionSpan): remove
727         (changeDepth, changeDepthAllowed): adjust
728
729 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
730
731         * Makefile.am (BOOST_LIBS): use boost variables
732
733 2004-12-03  José Matos  <jamatos@lyx.org>
734
735         * buffer.C: format up to 238.
736
737 2004-12-03  José Matos  <jamatos@lyx.org>
738
739         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
740
741 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
742
743         * cursor.C (goUpDown): remove call to idxUpDown2
744
745 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
746
747         * tabular.[Ch]: use size_t-like types for cell, row and column
748         indices
749
750 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * lyxfunc.C (getStatus): do not lose previous information when
753         calling BufferView::getStatus; do not set a default "Command
754         disabled" message at the beginning, but just before returning.
755
756 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
757
758         * cursor.h (getStatus): add better comment from src/cursor.C
759
760 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
761
762         * text3.C (getStatus): return false when the lfun is not handled
763
764 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
765
766         * broken_headers.h: remove
767
768         * Makefile.am (lyx_SOURCES): remove broken_headers.h
769
770 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
771
772         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
773         offset_ref accessors
774
775         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
776         top_y_, merge fitcursor with update
777         (updateScrollbar, scrollDocView, fitCursor, center, update): new
778         coord scheme
779         (metrics): introduce
780         (workAreaDispatch): adapt to new coord scheme
781         (redoCurrentBuffer): remove
782
783         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
784
785         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
786         CurStatus enum.
787
788         * coordcache.[Ch]: add paragraph cache and helpers
789
790         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
791         adjust everywhere
792
793         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
794         (targetX, setTargetX): introduce
795
796         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
797         baseline -> ascent, as the rest of lyx
798
799         * lyxtext.h: remove redoParagraphs, updateParPositions,
800         fullRebreak, redoParagraphInternal. move dist to anon namespace in
801         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
802         have ascent/descent (ascent is ascent of first par)
803
804         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
805         step of BufferView
806
807         * paragraph.[Ch]: unify dimension handling with the rest of lyx
808
809         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
810
811         * pariterator.C: fix infinite loop introduced in par->pit renaming
812
813         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
814         in insets and LyXText, draw two off-screen paragraphs using
815         NullPainter, and adapt to new coord scheme
816
817         * text.C:
818         * text2.C:
819         * text3.C: adapt lfun handlers to the new coord scheme, which
820         means: there's only guaranteed coord information for onscreen pars
821         plus one above and one below. This implies that one can do search
822         from y coordinates in the range [-1,workHeight]
823
824 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
825
826         * rename a lot of InsetOld to InsetBase
827
828 2004-11-25  Angus Leeming  <leeming@lyx.org>
829
830         * BufferView_pimpl.C:
831         * lyx_cb.C:
832         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
833
834 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
835
836         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
837         call BufferView::getStatus if LCursor::getStatus did nothing
838         (setStatusMessage, getStatusMessage): removed.
839
840         * FuncStatus.C (message): new methods. Used to provide an error
841         message indicating why a command is disabled.
842         (clear, |=, FuncStatus): update for message.
843
844 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
845
846         * lyxfunc.C (dispatch): always call sendDispatchMessage
847
848 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
849
850         * BufferView.C:
851         * BufferView_pimpl.C:
852         * CutAndPaste.C:
853         * FontIterator.C:
854         * buffer.C:
855         * cursor.C:
856         * cursor_slice.[Ch]:
857         * dociterator.[Ch]:
858         * lyxfind.C:
859         * paragraph_funcs.C:
860         * pariterator.C:
861         * rowpainter.C:
862         * text.C:
863         * text2.C:
864         * text3.C:
865         * undo.C: par->pit renaming
866
867 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
868
869         * tabular.C (cellstruct): use initialization, store a shared_ptr
870         to insettext instead of the insettext directly, adjust to fit.
871         (operator=):  new function
872         (swap): new function
873         (rowstruct): use initialization
874         (columnstruct): use initialization
875         (ltType): use initialization
876
877
878         * lyxlength.h (swap): new function
879
880         * LColor.[Ch] (operator=): use the common semantics
881
882 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
883
884         * lyxfind.C (findNextChange): update the bufferview after setting
885         the selection.
886
887 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
890         number of InsetOptArgs has already been inserted.
891
892         * output_latex.C (latexOptArgInsets): new method. This outputs all
893         the optarg insets, up to the limit defined in the layout file.
894         (optArgInset): removed
895         (TeXOnePar): call latexOptArgInsets; correctly update texrow
896
897 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
898
899         * paragraph.C (isLetter): remove special spellchecker-related
900         code; return true also for digits
901         (isWord, isKomma): remove
902
903         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
904         * lyxfind.C (MatchString()): use isLetter instead of isWord
905
906 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
907
908         * pariterator.h (operatir=): comment out un-implemented member
909         function.
910
911         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
912         static cast.
913
914 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
915
916         * lyxfont.h: include LColor.h to satisfy concept checks.
917
918 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
919
920         * pariterator.h: add typdefs for value_type, difference_type,
921         pointer and reference to satisfy concept checks. Also add default
922         constructor for same reason.
923
924         * pariterator.C (operator++): add post-increment operator to
925         satisfy concept checks.
926
927         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
928         checks.
929
930         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
931
932         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
933         checks. Also rename base_type to BaseType to follow naming
934         standard better.
935
936         * FloatList.h: include Floating.h to satisfy concept checks.
937
938 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * lyxfunc.C (getStatus): when the origin of the request is menu or
941         toolbar, and the LyXView does not have focus, do as if there was
942         no buffer (bug 1720)
943
944         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
945         FuncRequest to individual entries of LFUN_SEQUENCE
946
947 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
948
949         * output_latex.C (TeXOnePar): override runparams.moving_arg
950         according to the needprotect value of the current paragraph (bug
951         1739)
952
953         * paragraph.C (simpleTeXOnePar): no need to override
954         runparams.moving_args here
955
956 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
957
958         * vspace.C: fix off-by-one-error, related to fix #1682
959
960 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
961
962         * lengthcommon.C: a more general fix for bug 1682
963
964 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * text.C (backspace): fix crash
967
968 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
969
970         * format.[Ch] (getFormatFromFile): new method
971         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
972
973 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
974
975         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
976
977 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
978
979         * lyxfunc.C (dispatch): remove the verbose argument
980         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
981         instead
982
983         * kbmap.C (defkey): set the origin of func to KEYBOARD
984
985         * MenuBackend.C (MenuItem):
986         * ToolbarBackend.C (add): set the origin of func to UI
987
988         * funcrequest.[Ch]: add origin member, which indicates which part
989         of LyX requests an action
990
991 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
992
993         * converter.C (move): don't lie in the error message
994         * converter.h (isReachable, move): document
995
996 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
997
998         * buffer.C: remove unused using lyx::support::atoi
999         * paragraph_funcs.C: ditto
1000
1001 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1002
1003         * bufferlist.C (exists): use bind and equal_to instead of
1004         compare_memfun
1005         (getBuffer): ditto
1006         * lyxtextclasslist.C (NumberOfClass): ditto
1007
1008         * cursor.C (insert): use for_each instead of explicit for loop
1009
1010         * bufferlist.C (getFileNames): use std::transform and
1011         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1012
1013         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1014         for loop
1015
1016         * buffer.C (changeLanguage): use for_each instead of explicit for
1017         loop
1018         (hasParWithID): implement using getParFromID
1019
1020         * LaTeXFeatures.C: ws change only
1021
1022         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1023         to cleanup a bit.
1024
1025         * BufferView_pimpl.C (trackChanges): use for_each instead of
1026         expilicit for loop
1027
1028 2004-11-04  André Pönitz  <poenitz@gmx.net>
1029
1030         * undo.h:
1031         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1032
1033         * dociterator.C (asDocIterator): use hard assert again.
1034
1035 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1036
1037         * lyxlength.C (asLatexString): rewrite so that it does not use
1038         snprintf anymore
1039
1040 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1041
1042         * text3.C (specialChar, dispatch): make sure cursor moves to the
1043         right after inserting an inset
1044
1045 2004-11-02  José Matos  <jamatos@lyx.org>
1046
1047         * output_docbook.C (docbook):
1048         * paragraph.C (getID):
1049         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1050         garantee that the output is always legal.
1051
1052         * tabular.C (docbook):
1053         * outputprams.[Ch]: remove mixed contents.
1054
1055 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1056
1057         * text2.C (setCounter): prevent endless loop
1058
1059 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1060
1061         * exporter.C (copyFile): use the mover instead of support::copy()
1062         * exporter.C (Export): pass format and latex name to copyFile()
1063         * exporter.h (addExternalFile): document
1064         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1065
1066 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1067
1068         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1069
1070 2004-10-30  José Matos  <jamatos@lyx.org>
1071
1072         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1073         text and no inset or font change. This allows to use CDATA
1074         sections just for the whole paragraph.
1075
1076 2004-10-30  José Matos  <jamatos@lyx.org>
1077
1078         * paragraph.C (getFirstWord): remove unused variable.
1079
1080 2004-10-30  José Matos  <jamatos@lyx.org>
1081
1082         * paragraph.C (getFirstWord): the content should always be escaped
1083         there.
1084         (simpleDocBookOnePar):
1085         * output_docbook.C (makeEnvironment): replace reference to CDATA
1086         to style pass_thru.
1087
1088 2004-10-30  José Matos  <jamatos@lyx.org>
1089
1090         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1091
1092 2004-10-30  José Matos  <jamatos@lyx.org>
1093
1094         * output_docbook.C (makeParagraphs):
1095         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1096         standard paragraph has only a given type of content drop the wrapper.
1097
1098 2004-10-29  José Matos  <jamatos@lyx.org>
1099
1100         * output_docbook.C (makeEnvironment):
1101         * sgml.C (openTag):
1102         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1103
1104 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1105
1106         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1107         (cleanID): sanitize any id.
1108
1109 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1110
1111         * buffer.C, lyxlex_pimpl.C:
1112         * lyxlex_pimpl.C (setFile):
1113         s/getExtFromContents/getFormatFromContents/
1114
1115 2004-10-28  José Matos  <jamatos@lyx.org>
1116
1117         * output_docbook.C (makeEnvironment): move id to broadest possible
1118         scope.
1119
1120         * sgml.C (openTag): apply substitution of <> for all attributes.
1121
1122 2004-10-28  José Matos  <jamatos@lyx.org>
1123
1124         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1125         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1126         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1127
1128         * sgml.[Ch]: new version for open and closeTag for paragraph and
1129         for strings. Now they handle the ids of paragraphs.
1130
1131 2004-10-26  Angus Leeming  <leeming@lyx.org>
1132
1133         * Makefile.am: add mover.[Ch].
1134
1135         * converter.C (convert, move): use the new Movers to move external
1136         files to the temp directory.
1137
1138         * lyx_main.C (init): ensure that the global system_movers data
1139         is initialised.
1140
1141         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1142         preferences file.
1143
1144         * mover.[Ch]: new files, defining a Mover as a utility to move an
1145         external file between directories and, if necessary, manipulate this
1146         file using a helper script.
1147
1148 2004-10-25  José Matos  <jamatos@lyx.org>
1149
1150         * output_docbook.C (makeCommand): merge two if's that tested the
1151         same condition.
1152
1153 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1154
1155         * sgml.C (escapeString): fix warning in a better way
1156
1157 2004-10-25  José Matos  <jamatos@lyx.org>
1158
1159         * sgml.C (escapeString): import the require boosts header file for
1160         tie, and avoid a signed unsigned comparison.
1161
1162 2004-10-25  José Matos  <jamatos@lyx.org>
1163
1164         * sgml.h: add #include <string>
1165
1166 2004-10-25  José Matos  <jamatos@lyx.org>
1167
1168         * sgml.[Ch] (escapeString): new function to escape all the string.
1169
1170 2004-10-24  José Matos  <jamatos@lyx.org>
1171
1172         * paragraph.[Ch] (getFirstWord): new function to get the first
1173         word. Useful for description.
1174         (simpleDocBookOnePar): remove depth argument, add another that
1175         says where to start the paragraph.
1176
1177         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1178         use the new functions to fix cleanly the support for descriptions.
1179
1180 2004-10-24  José Matos  <jamatos@lyx.org>
1181
1182         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1183         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1184         * output_linuxdoc.C (linuxdocParagraphs):
1185         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1186         add buffer as argument.
1187
1188 2004-10-24  José Matos  <jamatos@lyx.org>
1189
1190         * output_docbook.C (makeEnvironment, searchEnvironment): place
1191         CDATA inside paragraphs and fix scope for listitems.
1192
1193 2004-10-24  José Matos  <jamatos@lyx.org>
1194
1195         * output_docbook.C: remove using statement for stack.
1196
1197 2004-10-23  José Matos  <jamatos@lyx.org>
1198
1199         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1200         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1201         docbook. The new scheme is recursive and makes use of iterators, the
1202         same as latex export works.
1203         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1204         directly with the paragraph contents. This code was moved up to
1205         output_docbook.C (docbookParagraphs).
1206         * sgml.C (openTag, closeTag): removed unneeded newlines.
1207         (closeEnvTags) removed.
1208
1209 2004-10-23  André Pönitz  <poenitz@gmx.net>
1210
1211         * undo.C (textUndoOrRedo):
1212         * dociterator.C (asDocIterator): work around crash
1213
1214         * cursor.C (getStatus): replace ASSERT by more verbose error message
1215           and manual correction of the problem. Should increase stability
1216           while providing more sensible information.
1217
1218 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1219
1220         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1221
1222         * bufferlist.C (previous, next): new methods
1223
1224         * lfuns.h:
1225         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1226
1227 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1228
1229         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1230         entities to preamble.
1231
1232 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1233
1234         * messages.C (Pimpl): strip off translation context information
1235
1236 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1237
1238         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1239         the cursor is correct (bug 1694)
1240
1241 2004-10-13  José Matos  <jamatos@lyx.org>
1242
1243         * output_docbook.C (docbookParagraphs): fix closing tags in the
1244         end of the document.
1245
1246 2004-10-09  José Matos  <jamatos@lyx.org>
1247
1248         * buffer.C: format up to 237.
1249         * bufferparams.C (write): use tostr to convert booleans to strings.
1250
1251 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1252
1253         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1254
1255 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1256
1257         * LaTeX.C: implement use of babel language in xindy.
1258
1259 2004-10-05  José Matos  <jamatos@lyx.org>
1260
1261         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1262         Add new translators to help reading and writing the lyx file.
1263
1264 2004-10-05  José Matos  <jamatos@lyx.org>
1265
1266         * ParagraphParameters.C (read):
1267         * text.C (readParToken): replace nexToken by more appropriate lex
1268         methods.
1269
1270 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1271
1272         * LaTeX.C (runMakeIndex):
1273         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1274         (usually 'makeindex') configurable.
1275
1276         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1277         with a variable rather than with a number.
1278
1279 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1280
1281         * output_latex.C (TeXOnePar): make sure font setting is the first
1282         thing that gets output (and the last at the end). Should fix bug
1283         1404.
1284
1285 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1286
1287         * pch.h: use proper signal include
1288
1289         * LaTeX.h: Use preferred calling of Boost.Signal
1290         * buffer.h: ditto
1291
1292 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1293
1294         * pch.h: dont include <boost/function/function0.hpp>
1295
1296         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1297
1298         * paragraph_pimpl.h: remove usage of ShareContainer
1299
1300         * paragraph_pimpl.C: remove initialization of ShareContainer.
1301
1302 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         Fix bug #1666
1305
1306         * BufferView.C (putSelectionAt): change the semantics when
1307         backwards == true: now, this just swaps cursor and anchor wrt the
1308         forward case
1309
1310         * BufferView.h (putSelectionAt): add some documentation
1311
1312         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1313         make sure backwardChar is done at least once (to avoid getting
1314         stuck)
1315         (findNextChange): use putSelectionAt in the forward direction
1316         (operator()): use Paragraph::isWord
1317
1318 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1319
1320         * Spacing.C (set): c_str fix
1321
1322 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1323
1324         * lyx_cb.C (Reconfigure): quote the name of configure script in
1325         case it contains spaces
1326
1327 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1328
1329         * client: new dir
1330
1331         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1332         (BOOST_LIBS): use top_buildir when looking for the file
1333
1334 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1335
1336         * pch.h: do not use include boost/format.hpp, multiple symbols
1337                 will result (gcc bug)
1338
1339
1340 2004-08-23  José Matos  <jamatos@lyx.org>
1341
1342         * bufferparams.C (readToken): fix reading of the author field.
1343
1344 2004-08-20  José Matos  <jamatos@lyx.org>
1345
1346         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1347
1348 2004-08-20  José Matos  <jamatos@lyx.org>
1349
1350         * lyxlex.[Ch] (findToken): remove function.
1351
1352         * ParagraphParameters.C (findToken):
1353         * bufferparams.C (findToken): replace call for previous function
1354         with local copy. This local function has one more argument, the
1355         read string argument.
1356
1357 2004-08-16  José Matos  <jamatos@lyx.org>
1358
1359         * ParagraphParameters.C (write):
1360         * Spacing.C (writeFile):
1361         * bufferparams.C (writeLaTeX):
1362         * lyx_cb.C (Reconfigure):
1363         * paragraph.C (write):
1364         * tabular.C (write): remove unnecessary space at end of line.
1365
1366
1367 2004-08-16  José Matos  <jamatos@lyx.org>
1368
1369         * text.C (readParagraph): remove debug message.
1370
1371 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372
1373         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1374         crash
1375
1376         * output_plaintext.C (asciiParagraph): set depth correctly
1377
1378         * outputparams.h: add member depth
1379
1380         * paragraph_funcs.C (ownerPar): remove.
1381
1382         * text2.C (setCounter): remove first_pit; comment out some
1383         non-working code that uses ownerPar
1384
1385         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1386         uses ownerPar
1387
1388 2004-08-16  José Matos  <jamatos@lyx.org>
1389
1390         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1391         For the same level of importance use the same chanel to report problems.
1392         (read): add code to deal with \begin_body and \end_body.
1393
1394
1395 2004-08-15  José Matos  <jamatos@lyx.org>
1396
1397         * lyxlex.C (getString): fix comment, buffer::readBody is now
1398         buffer:readDocument.
1399
1400         * tex-strings.C (string_papersize): Default -> default,
1401         Custom -> custom, for consistency with other options.
1402
1403 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1404
1405         * pch.h: new file
1406
1407         * Makefile.am: support pch
1408
1409 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1410
1411         * text.C (readParToken): remove the static LyXFont variable and
1412         pass it as a parameter instead. This fixes a nasty bug where an
1413         inset will be inserted with a bad font in some situations
1414         (readParagraph): adapt
1415
1416         * text2.C (setCounter): reduce number of calls to pars_[pit]
1417
1418         * text.C (singleWidth): add an assert, fix a test
1419
1420         * rowpainter.C (paintText): reduce number of calls to singleWidth
1421
1422         * paragraph.C (isHfill):
1423         (isNewline): ws only
1424
1425 2004-08-14  André Pönitz  <poenitz@gmx.net>
1426
1427         * text.C:
1428         * text2.C:
1429         * rowpainter.C:
1430         * lyxtext.h (several functions): use a Paragraph & argument
1431         instead of par_type
1432
1433 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1436
1437         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1438
1439         * text.C (singleWidth): remove useless test
1440
1441 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1442
1443         * tabular.h: remove bogus comments
1444
1445         * tabular.C (getDescentOfRow):
1446         (isPartOfMultiColumn): add assertions
1447
1448         * lyxlength.C (inPixels): remove #warning
1449
1450 2004-08-14  André Pönitz  <poenitz@gmx.net>
1451
1452         * paragraph.h: inline getChar()
1453
1454         * BufferView.h: remove unused declarations
1455
1456 2004-08-14  José Matos  <jamatos@lyx.org>
1457
1458         * Buffer.[Ch] (readDocument): new name for old readBody.
1459         * Buffer.C: new file format, new keywords: \begin_document,
1460         \begin_header, \begin_body, \end_body.
1461
1462         * bufferparams.C (readToken): replace all calls to lex.nextToken
1463         by lex.next(). Do the same to eatLine except where really needed.
1464
1465         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1466         line when writing to the lyx file.
1467
1468         * output_plaintext.C (asciiParagraph): fix Bibliography style
1469         handling.
1470
1471         * text.C (read): fix end of file handling.
1472
1473 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1474
1475         * MenuBackend.C (Menu::operator[]): new method to access
1476         individual menu items
1477         (Menu::hasFunc): new method. search for an item that corresponds
1478         to a given func
1479         (MenuBackend::specialMenu): new method
1480         (MenuBackend::expand): if a special menu has been set, skip
1481         entries whose func() appears in this menu
1482
1483 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1484
1485         * text3.C: use Debug::DEBUG a bit more
1486
1487         * text.C (leftMargin): try to simplify a tiny bit change var x to
1488         l_margin. Dont output the wide margins always.
1489         (rightMargin): no margin in inner texts
1490
1491         * rowpainter.h (nestMargin): new func
1492         (changebarMargin): new func
1493         (rightMargin): new func
1494
1495         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1496         now functions.
1497         (paintLast): ditto
1498
1499         * factory.C (createInset): modify setDrawFrame
1500
1501         * cursor.C: use Debug::DEBUG a bit more
1502
1503 2004-08-14  André Pönitz  <poenitz@gmx.net>
1504
1505         * coordcache.[Ch]:
1506         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1507         cache for all insets in (at least partially) visible (top-level)
1508         paragraphs.
1509
1510         * BufferView_pimpl.C: reset external coord cache before every update.
1511         This means the coord cache only contains valid entries.
1512
1513 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1514
1515         bug 1096
1516         * BufferView_pimpl.C (getInsetByCode): move function out of class
1517         and change in to a template in anon namespace. Also fix to do what
1518         suits us better.
1519
1520 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1521
1522         bug 1305
1523         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1524         of char
1525         (breakParagraph): rename par to par_offset and use a local
1526         reference. Add code to keep the language over a rebreak.
1527         (breakParagraphConservative): rename par to par_offset, use a
1528         local reference
1529         (mergeParagraph): ditto
1530         (outerHook): ditto
1531         (isFirstInSequence): ditto
1532         (outerFont): rename pit to par_offset
1533
1534         * paragraph.C: ws change
1535         * paragraph.h: ditto
1536         * text3.C: ditto
1537         * text.C: ditto
1538
1539 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1540
1541         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1542         treatment for ']'
1543
1544         * paragraph.C (simpleTeXOnePar): when we have a \item with
1545         optional argument, enclose the argument with curly brackets (in
1546         case it contains a closing square bracket)
1547
1548         * text2.C (editXY):
1549         * text2.C (editXY):
1550         * text3.C (checkInsetHit): constify
1551
1552 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1553
1554         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1555         documents (bug 1629)
1556
1557 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1558
1559         Fix toggling of collapsable insets with the mouse (bug 1558)
1560
1561         * lyxfunc.C (dispatch): adapt to LCursor changes
1562
1563         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1564         make sure that dispatch is not invoked twice
1565
1566         * cursor.C (needsUpdate): new method
1567         (dispatch): return void
1568         (result): new method, to access the DispatchResult of the cursor.
1569
1570 2004-08-13  José Matos  <jamatos@lyx.org>
1571
1572         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1573
1574 2004-08-13  André Pönitz  <poenitz@gmx.net>
1575
1576         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1577
1578         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1579           multiple cells
1580
1581 2004-08-12  André Pönitz  <poenitz@gmx.net>
1582
1583         * text3.C: take out the 'cursor right' form insertInset and only
1584         do it in those places when it is really needed. Fixes crash on
1585         C-m...
1586
1587 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1588
1589         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1590
1591         * BufferView_pimpl.C (setBuffer): initialize the current font of
1592         the underlying LyXText
1593
1594 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1595
1596         * kbsequence.C (print): use UI native formatting for menu
1597         shortcuts
1598
1599         * text.C (insertChar): call Paragraph::insertChar with a font
1600         argument (cosmetic)
1601
1602         * paragraph.C (insertInset, insertChar): the version that takes a
1603         LyXFont argument is now a wrapper around the other one (the
1604         opposite used to be true).
1605
1606         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1607         argument. Font setting is done in Paragraph now.
1608
1609 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1610
1611         * outputparams.h: add new members intitle and lang.
1612
1613         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1614         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1615
1616 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1617
1618         * text3.C (dispatch): remove special handling of button 4 and 5,
1619         it is now taken care of in the frontend code.
1620
1621 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1622
1623         * Spacing.h: add <string> (STLPort compile fix)
1624
1625 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1626
1627         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1628
1629 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1630
1631         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1632         to bool.
1633
1634         * converter.C (showMessage): inherit from unary_function, make
1635         operator() const.
1636
1637         * buffer.C (writeFile): initialize retval
1638
1639         * InsetList.h: rename private variable list to list_
1640         * InsetList.[Ch]: adjust accordingly.
1641
1642 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1643
1644         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1645         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1646         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1647         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1648         * ParagraphParameters.C, LaTeXFeatures.C: replace
1649         "support/std_sstream.h" with <sstream>
1650
1651 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1652
1653         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1654         * lyxsocket.C (LyXServerSocket): ditto
1655         (serverCallback): ditto
1656
1657 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1658
1659         * LaTeXFeatures.C: check release date when loading jurabib.
1660
1661 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1662
1663         * lyxserver.C (startPipe): call register_socket_callback
1664         (endPipe): call unregister_socket_callback
1665
1666 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1667
1668         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1669         (LyXServerSocket): register the callback
1670         (LyXServerSocket): unregister the callback
1671         (fd): delete function
1672         (serverCallback): improve error checking and setup the callbacks.
1673         (dataCallback): change arg to fd.
1674         (writeln): new func (copied fro the client socket) used for server
1675         write to client.
1676         (LyXDataSocket): simplify
1677         (~LyXDataSocket): close ann unregiser callback
1678         (server): delete function
1679         (fd): delete function
1680         (readln): small changes, improve some std::string usage
1681         (writeln): constify a bit
1682
1683 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1684
1685         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1686         Qt frontend
1687
1688 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1689
1690         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1691         after it has been populated
1692
1693 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1694
1695         * text2.C (insertInset): move cursor when inserting inset.
1696
1697 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1698
1699         * kbmap.C (findbindings): a couple of new methods. returns a
1700         container of kb_sequence objects. The real work is done by the
1701         private recursive version
1702         (printbindings): uses findbindings to print out a bracketed list
1703         of bindings (renamed from findbinding).
1704
1705         * MenuBackend.C (binding): use kb_keymap::findbindings
1706
1707         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1708
1709 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1710
1711         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1712
1713 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1714
1715         * paragraph.C (isWord): return true on insets that report
1716         isLetter().
1717
1718         * text.C (getWord): use Paragraph::isWord to decide what is in a
1719         word and what is not; fix bug 1609.
1720
1721 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1722
1723         * tex-strings.C: add "none" to string_paperpackages[], fixes
1724         off-by-one-error in the paperpackage selection.
1725
1726         * lyxlex.[Ch]:
1727         * tex-strings.[Ch]: char const * string[n]
1728         -> char const * const string[]
1729
1730 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1731
1732         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1733         command, return early.
1734
1735 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1736
1737         * debug.h: add DEBUG to enum and fix size of ANY.
1738
1739         * debug.C: add support for Debug::DEBUG
1740         (showTags): cast errorTags.level to unsigned int
1741
1742         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1743         (redoCurrentBuffer): ditto
1744         (updateScrollbar): ditto
1745         * cursor.C (dispatch): ditto
1746         * text2.C (setLayout): ditto
1747         (setFont): ditto
1748         (updateCounters): ditto
1749         (editXY): ditto
1750         (deleteEmptyParagraphMechanism): ditto
1751
1752 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1753
1754         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1755         annotations to cleanup the Makefile slightly.
1756
1757 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1758
1759         * lyxrc.C: do not set user_email to a default value but use empty
1760         instead. The entry used to be translated, which does not work
1761         since at the point where lyxrc is constructed there is no
1762         translation service available
1763
1764         * messages.C (getLocaleDir): remove and use directly
1765         lyx_localedir() instead
1766
1767 2004-06-02  Angus Leeming  <leeming@lyx.org>
1768
1769         Fix crash caused by dereferencing null pointer 'exportdata' in
1770         OutputParams by creating a new ExportData variable on the heap,
1771         storing it in a boost::shared_ptr.
1772         The crash was triggered when generating an Instant Preview
1773         of an external inset.
1774
1775         * Makefile.am: add outputparams.C
1776
1777         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1778         (c-tor): allocate memory to it.
1779
1780         * exporter.C (c-tor): associated changes.
1781
1782 2004-06-01  Angus Leeming  <leeming@lyx.org>
1783
1784         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1785         contains data before calling isInset(0). (Bug 1513.)
1786
1787 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1788
1789         * exporter.C (checkOverwrite): new method
1790         * exporter.C (copyFile): new method
1791         * exporter.C (Export): copy referenced files to the document dir
1792         * exporter.[Ch]: new class ExportedFile
1793         * exporter.[Ch]: new class ExportData. Contains currently the
1794         names of referenced external files
1795         * outputparams.h: add exportdata member.
1796
1797 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1798
1799         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1800         version.C-tmp
1801
1802 2004-05-19  Angus Leeming  <leeming@lyx.org>
1803
1804         * LaTeXFeatures.C:
1805         * ToolbarBackend.C:
1806         * bufferparams.C:
1807         * lyxfunc.C: small changes due to the introduction of namespace
1808         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1809
1810 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1811
1812         * text3.C (dispatch): supress update when only moving the cursor
1813         * cursor.C (selHandle): remove commented code
1814
1815 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1816
1817         * paragraph.C (startTeXParParams): correct column count
1818         * CutAndPaste.C (pasteSelection): remove const_cast
1819         * output_docbook.C (docbookParagraphs): remove const_cast
1820         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1821         const_cast and return ParagraphList::const_iterator
1822         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1823         * output_plaintext.C (writeFileAscii): remove const_cast
1824         * paragraph.[Ch] (simpleTeXOnePar): make const
1825         * paragraph_funcs.C (outerPar): use const iterators
1826         * paragraph_pimpl.C (validate): use const iterators
1827         * text.C (setHeightOfRow): use const iterators
1828
1829 2004-05-17  Angus Leeming  <leeming@lyx.org>
1830
1831         * lfuns.h:
1832         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1833
1834         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1835         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1836         if the citation engine has changed.
1837
1838 2004-05-14  José Matos  <jamatos@lyx.org>
1839
1840         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1841         if the textclass does not provide it. Have it different for sgml and
1842         xml.
1843         support the language of document.
1844         * output_docbook.C (docbookParagraphs):
1845         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1846         first anchor as the id of the paragraph, remove special case code.
1847         * sgml.C (escapeChar): escape only < & >.
1848
1849 2004-05-14  Angus Leeming  <leeming@lyx.org>
1850
1851         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1852         dependencies on src/frontends/controllers/biblio.h. Define a
1853         CiteEngine_enum wrapper class to enable the enum to be forward
1854         declared.
1855
1856 2004-05-12  Angus Leeming  <leeming@lyx.org>
1857
1858         * buffer.C: up LYX_FORMAT to 234.
1859         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1860         use_numerical_citations with a single biblio::CiteEngine cite_engine
1861         variable.
1862         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1863
1864 2004-05-13  José Matos  <jamatos@lyx.org>
1865
1866         * converter.h:
1867         * converter.C (Converter, readFlags): add xml member.
1868         * outputparams.h: add XML flavor.
1869         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1870
1871 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1872
1873         * lyxfunc.C (dispatch):
1874         (getStatus): fix handling of LFUN_SEQUENCE
1875
1876 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1877
1878         * debug.C (showLevel): do not forget the end-of-line marker
1879
1880 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1881
1882         * kbmap.C (read): do not stop parsing a bind file when an error
1883         occurs (bug 1575)
1884
1885 2004-04-29  Angus Leeming  <leeming@lyx.org>
1886
1887         * cursor.C:
1888         * factory.C:
1889         * pariterator.C:
1890         * text2.C: wrap a bunch of #warning statements
1891         inside #ifdef WITH_WARNINGS blocks.
1892
1893 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1894
1895         * buffer.C: increment format to 233.
1896
1897 2004-04-28  Angus Leeming  <leeming@lyx.org>
1898
1899         * BufferView_pimpl.C:
1900         * lyxfunc.C:
1901         * text3.C:
1902         s/updateToolbar()/updateToolbars()/
1903         s/Toolbar.h/Toolbars.h/
1904
1905 2004-04-28  Angus Leeming  <leeming@lyx.org>
1906
1907         * BufferView.[Ch] (c-tor):
1908         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1909         No longer passes these data to the WorkArea generator.
1910
1911 2004-04-28  Angus Leeming  <leeming@lyx.org>
1912
1913         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1914
1915 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1916
1917         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1918
1919 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1920
1921         * output_latex.C (TeXEnvironment): make sure that there is a line
1922         break before \end{foo} for the last paragraph of a document
1923         (TeXOnePar): if the paragraph is at the end of the document (or
1924         inset) and the language has to be reset, then make sure that the
1925         line break is _before_ the language command, not after (fixes bug
1926         1225); also make sure that the language reset command is the first
1927         thing after the paragraph (to ensure proper nesting of
1928         environments and thus fix bug 1404)
1929
1930 2004-04-21  John Levon  <levon@movementarian.org>
1931
1932         * ToolbarBackend.h:
1933         * ToolbarBackend.C: make "name" be a programmatic name
1934         and a gui_name field.
1935
1936         * lyxfunc.C: display the minibuffer on M-x
1937
1938 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1939
1940         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1941         (bug 1526)
1942
1943 2004-04-19  Angus Leeming  <leeming@lyx.org>
1944
1945         * BufferView_pimpl.C (setBuffer): changed preview interface.
1946
1947         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1948         possible values.
1949
1950 2004-04-19  John Levon  <levon@movementarian.org>
1951
1952         * BufferView_pimpl.C:
1953         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1954
1955 2004-04-05  Angus Leeming  <leeming@lyx.org>
1956
1957         * text.C (redoParagraphs): add call to updateCounters(), thereby
1958         fixing the missing "Figure #:" label from the caption of a
1959         figure float.
1960
1961 2004-04-13  Angus Leeming  <leeming@lyx.org>
1962
1963         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1964         cursor is clicked out of an inset.
1965
1966 2004-04-13  Angus Leeming  <leeming@lyx.org>
1967
1968         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1969         than an InsetOld one.
1970
1971 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1972
1973         * format.[Ch]: add editor to Format
1974         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1975         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1976
1977 2004-04-08  André Pönitz  <poenitz@gmx.net>
1978
1979         * metricsinfo.h: remove PainterInfo::width member
1980
1981 2004-04-08  Angus Leeming  <leeming@lyx.org>
1982
1983         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1984         "\providecommand" rather than "\newcommand", thereby preventing
1985         clashes with packages that define "\boldsymbol" themselves.
1986         Eg, beamer.
1987
1988 2004-04-08  Angus Leeming  <leeming@lyx.org>
1989
1990         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1991         thereby squashing an unnecessary warning.
1992
1993 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1994
1995         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1996         setBuffer()
1997
1998 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1999
2000         * BufferView.C (setCursor): call redoParagraph (some insets could
2001         have been opened)
2002         (putSelectionAt): remove the 'double update' trick
2003
2004         * BufferView_pimpl.C (fitCursor): call refreshPar
2005         (workAreaDispatch): remove an uneeded update call
2006         (dispatch): remove some manual update calls
2007
2008         * cursor.[Ch]: remove cached_y_, updatePos
2009         (selHandle): set noUpdate when appropriate
2010
2011         * lyxfunc.C (dispatch): track if we need an update
2012
2013         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2014
2015         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2016         (paintSelection): cheap optimization, do not call cursorX when not
2017         needed
2018         (paintPars): change signature
2019         (refreshPar): add
2020         (paintText): adjust
2021         (paintTextInset): adjust
2022
2023         * text.C: adjust
2024
2025 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2026
2027         * lengthcommon.C: compilation fix: remove explicit array size from
2028         unit_name[] and friends
2029
2030 2004-04-05  Angus Leeming  <leeming@lyx.org>
2031
2032         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2033
2034         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2035         present only for the preferences dialog.
2036         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2037
2038 2004-04-05  Angus Leeming  <leeming@lyx.org>
2039
2040         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2041         to enable the frontends to export changes to lyxrc correctly.
2042
2043         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2044
2045 2004-04-07  André Pönitz  <poenitz@gmx.net>
2046
2047         * cursor.[Ch] (selClear, adjust): remove math
2048
2049         * cursor_slice.C: more agressive assert
2050
2051         * lyxfunc.C:
2052         * BufferView_pimpl.C: rework mouse event dispatch
2053
2054         * dociterator.C:
2055         * paragraph.C:
2056         * text2.C:
2057         * text3.C: adjust
2058
2059 2004-04-05  André Pönitz  <poenitz@gmx.net>
2060
2061         * cursor.[Ch] (valign, halign...): remove unneeded functions
2062
2063 2004-04-05  Angus Leeming  <leeming@lyx.org>
2064
2065         * lyxlength.[Ch] (unit_name et al.): const-correct.
2066
2067 2004-04-05  Angus Leeming  <leeming@lyx.org>
2068
2069         * BufferView_pimpl.C:
2070         * buffer.C:
2071         * counters.C:
2072         * cursor.C:
2073         * lyxfunc.C
2074         * paragraph.C:
2075         * pariterator.C:
2076         * text.C:
2077         * text2.C:
2078         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2079
2080 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2083
2084 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2085
2086         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2087         * BufferView_pimpl.[Ch] (getStatus)
2088         * BufferView.[Ch] (getStatus): add
2089         * lyxfunc.C (getStatus): move lfuns handled in
2090         BufferView::dispatch to te function above
2091         * Cursor.C (setSelection): set selection() = true
2092
2093 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2094
2095         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2096
2097 2004-03-31  Angus Leeming  <leeming@lyx.org>
2098
2099         * lyxfunc.C (dispatch): Fall through to the generic
2100         Dialogs::show("preamble").
2101
2102 2004-03-31  Angus Leeming  <leeming@lyx.org>
2103
2104         * lyxfunc.C (dispatch): Fall through to the generic
2105         Dialogs::show("spellchecker").
2106
2107 2004-03-31  Angus Leeming  <leeming@lyx.org>
2108
2109         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2110         preferences dialog.
2111
2112 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2113
2114         * BufferView.C
2115         * cursor.[Ch]
2116         * dociterator.[Ch]:
2117         * insetiterator.[Ch]:
2118         * lyxfind.C:
2119         * lyxfunc.C:
2120         * pariterator.[Ch]:
2121         * text2.C:
2122         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2123
2124 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2125
2126         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2127         insets where we are putting the cursor.
2128
2129 2004-03-31  Angus Leeming  <leeming@lyx.org>
2130
2131         * lfuns.h:
2132         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2133
2134         * lyxrc.[Ch] (read, write): overloaded member functions taking
2135         a std::[io]stream arguments.
2136
2137         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2138
2139 2004-03-31  Angus Leeming  <leeming@lyx.org>
2140
2141         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2142         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2143
2144         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2145         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2146
2147 2004-03-31  Angus Leeming  <leeming@lyx.org>
2148
2149         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2150         the LFUN_ALL_INSETS_TOGGLE code.
2151
2152 2004-03-30  Angus Leeming  <leeming@lyx.org>
2153
2154         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2155         has died. Fall through to the generic Dialogs::show("document").
2156
2157 2004-03-30  Angus Leeming  <leeming@lyx.org>
2158
2159         * lfuns.h:
2160         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2161         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2162
2163         * lyxfunc.C (getStatus, dispatch): define the actions for these
2164         lfuns. Little more than a cut and pste job from ControlDocument.C
2165
2166         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2167
2168 2004-03-30  Angus Leeming  <leeming@lyx.org>
2169
2170         * lfuns.h:
2171         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2172         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2173
2174         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2175         open/closed state of ollapsable insets. Usage:
2176
2177         all-inset-toggle <state> <name>, where
2178         <state> == "open" || "closed" || "toggle" and
2179         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2180
2181         * lyxtext.h, text2.C (toggleInset): removed.
2182
2183         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2184         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2185         now passes LFUN_INSET_TOGGLE to the found inset.
2186
2187         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2188         is now invoked as "all-insets-toggle toggle branch".
2189
2190 2004-03-30  Angus Leeming  <leeming@lyx.org>
2191
2192         * dociterator.C:
2193         * insetiterator.C:
2194         * pariterator.[Ch]: added/corrected header blurb.
2195
2196 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2197
2198         * dociterator.[Ch]: add an inset_ member
2199         (backwardPos): implemented
2200         (backwardPos, forwardPos): use inset_ when the stack is empty.
2201         (doc_iterator_begin, doc_iterator_end): implemented
2202         * pariterator.[Ch]: adjust, add begin, end
2203         * insetiterator.[Ch]: adjust, add begin, end
2204         * cursor.C:
2205         * document.C:
2206         * BufferView.C:
2207         * BufferView_pimpl.C:
2208         * CutAndPaste.C: adjust
2209
2210 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2211
2212         * buffer.C: increment file format to 232.
2213         * LaTeXFeatures.C: add bibtopic package.
2214         * bufferparams.[Ch]: param \use_bibtopic.
2215
2216         * lyxrc.[Ch]: add lyxrc bibtex_command
2217         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2218
2219         * buffer.C: increment file format to 231.
2220
2221 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2222
2223         * dociterator.C: implement forwardPar
2224         * iterators.[Ch]: remove, replaced by
2225         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2226         * BufferView.C:
2227         * BufferView_pimpl.C:
2228         * CutAndPaste.C:
2229         * buffer.C:
2230         * bufferview_funcs.C:
2231         * cursor.C:
2232         * lyxfind.C
2233         * lyxfunc.C
2234         * paragraph_funcs.C
2235         * toc.C:
2236         * Makefile.am: adjust
2237
2238 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2239
2240         * CutAndPaste.C (pasteSelection): fix 2 crashes
2241         (eraseSelection): fix a crash
2242         * paragraph_funcs.C: remove a warning
2243
2244 2004-03-28  Angus Leeming  <leeming@lyx.org>
2245
2246         * lfuns.h:
2247         * LyXAction.C (init): new LFUN_PRINT.
2248
2249         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2250
2251 2004-03-27  Angus Leeming  <leeming@lyx.org>
2252
2253         * lfuns.h:
2254         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2255
2256         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2257
2258 2004-03-27  Angus Leeming  <leeming@lyx.org>
2259
2260         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2261         insetlist always contains non-null pointers to insets.
2262
2263 2004-03-26  Angus Leeming  <leeming@lyx.org>
2264
2265         * src/BufferView_pimpl.C:
2266         * src/CutAndPaste.C:
2267         * src/buffer.C:
2268         * src/iterators.C:
2269         * src/output_plaintext.C:
2270         * src/outputparams.h:
2271         * src/paragraph_funcs.C:
2272         * src/rowpainter.C:
2273         * src/text.C:
2274         * src/text2.C:
2275         * src/frontends/controllers/ControlErrorList.C:
2276         * src/frontends/gtk/FileDialogPrivate.C:
2277         * src/frontends/gtk/GPainter.C:
2278         * src/frontends/gtk/GToolbar.C:
2279         * src/frontends/qt2/QRef.C:
2280         * src/mathed/math_scriptinset.C: squash compiler warnings.
2281
2282 2004-03-26  Angus Leeming  <leeming@lyx.org>
2283
2284         * ispell.C (LaunchIspell::start):
2285         * lyx_cb.C (AutoSaveBuffer::start):
2286         invoke run(DontWait) rather than runNonBlocking().
2287
2288 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2289
2290         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2291
2292 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2293
2294         * kbsequence.C (print): adjust
2295
2296         * kbmap.C (printKeySym): rename and change signature
2297         (printKey): use LyXKeySym::print()
2298
2299 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2300
2301         * undo.C: add using std::advance to compile for stlport
2302
2303 2004-03-24  Angus Leeming  <leeming@lyx.org>
2304
2305         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2306         it leads to a crash when no buffer is present.
2307
2308 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2309             Martin Vermeer  <martin.vermeer@hut.fi>
2310
2311         * lyxfunc.C (dispatch):
2312         * bufferparams.C (readToken): use the new LColor::setColor
2313
2314         * LColor.[Ch] (setColor): new version that takes two strings as
2315         argument and creates a new color entry if necessary
2316
2317 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2318
2319         * buffer.C (makeLaTeXFile): if the main latex file that is
2320         processed is usually a subdocument of some master, then pretend
2321         for a while that it is actually the master
2322
2323 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2324
2325         * buffer.C (getLabelList):
2326         (getBibkeyList): use getMasterBuffer()
2327         (getMasterBuffer): new method. Returns the main document in the
2328         case where one is using included documents.
2329
2330 2004-03-25  André Pönitz  <poenitz@gmx.net>
2331
2332         * Makefile.am:
2333         * iterators.[Ch]:
2334         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2335
2336         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2337
2338         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2339         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2340
2341         * ParameterStruct.h: merge with ParagraphParameters
2342
2343         * lyxtext.h: remove LyXText::parOffset() and getPar()
2344
2345         * text3.C: Remove all 'manual' update calls. We do now one per user
2346         interaction which is completely sufficient.
2347
2348         * Bidi.C:
2349         * BufferView.[Ch]:
2350         * BufferView_pimpl.C:
2351         * FontIterator.[Ch]:
2352         * MenuBackend.C:
2353         * ParagraphParameters.[Ch]:
2354         * buffer.C:
2355         * buffer.h:
2356         * bufferlist.C:
2357         * cursor.[Ch]:
2358         * cursor_slice.[Ch]:
2359         * dociterator.[Ch]:
2360         * errorlist.[Ch]:
2361         * factory.C:
2362         * lfuns.h:
2363         * lyxfind.C:
2364         * lyxfunc.C:
2365         * output_docbook.[Ch]:
2366         * output_latex.[Ch]:
2367         * output_linuxdoc.[Ch]:
2368         * output_plaintext.[Ch]:
2369         * paragraph.[Ch]:
2370         * paragraph_funcs.[Ch]:
2371         * paragraph_pimpl.[Ch]:
2372         * rowpainter.C:
2373         * tabular.[Ch]:
2374         * text.C:
2375         * text2.C:
2376         * toc.C:
2377         * undo.[Ch]: adjust
2378
2379         * frontends/controllers/ControlDocument.C:
2380         * frontends/controllers/ControlErrorList.C:
2381         * frontends/controllers/ControlSpellchecker.C:
2382         * insets/inset.C:
2383         * insets/inset.h:
2384         * insets/insetbase.h:
2385         * insets/insetbibitem.C:
2386         * insets/insetbox.C:
2387         * insets/insetbranch.C:
2388         * insets/insetcaption.C:
2389         * insets/insetcharstyle.C:
2390         * insets/insetcharstyle.h:
2391         * insets/insetcollapsable.C:
2392         * insets/insetcollapsable.h:
2393         * insets/insetert.C:
2394         * insets/insetfloat.C:
2395         * insets/insetfoot.C:
2396         * insets/insetmarginal.C:
2397         * insets/insetnote.C:
2398         * insets/insetoptarg.C:
2399         * insets/insettabular.C:
2400         * insets/insettext.C:
2401         * insets/insettext.h:
2402         * insets/insetwrap.C:
2403         * mathed/math_mboxinset.C:
2404         * mathed/math_nestinset.C:
2405         * mathed/math_scriptinset.C:
2406         * mathed/math_scriptinset.h:
2407         * support/types.h:
2408
2409 2004-03-24  Angus Leeming  <leeming@lyx.org>
2410
2411         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2412         deal with any child processes that have finished but are waiting to
2413         communicate this fact to the rest of LyX.
2414
2415 2004-03-24  Angus Leeming  <leeming@lyx.org>
2416
2417         64-bit compile fixes.
2418
2419         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2420         (c-tor): pass lyx::pos_types rather than ints.
2421
2422         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2423         lyx::pos_type.
2424
2425         * text.C (Delete): compile fix.
2426         (getPar): ensure that function declaration is the same as that in
2427         the header file.
2428
2429 2004-03-23  Angus Leeming  <leeming@lyx.org>
2430
2431         * ispell.C (LaunchIspell):
2432         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2433         a boost::shred_ptr rather than a std::auto_ptr.
2434
2435 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2436
2437         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2438         handle LFUN_FILE_INSERT_*
2439
2440         * lyxrc.C (setDefaults, getDescription, output, read):
2441         * lyxrc.h: remove ps_command
2442
2443 2004-03-22  Angus Leeming  <leeming@lyx.org>
2444
2445         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2446         Ensure that error_handler is processed once only and that all data
2447         is saved before attempting to output any warning messages.
2448
2449         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2450
2451 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2452
2453         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2454
2455 2004-03-19  André Pönitz  <poenitz@gmx.net>
2456
2457         * cursor.[Ch] (reset): take main text inset as argument
2458
2459         * BufferView: adjust
2460         * BufferView_pimpl.C: adjust
2461
2462         * paragraph.[Ch]: fix completely broken operator=()
2463
2464 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2465
2466         * LColor.C (getFromLyXName): make sure that the color name is used
2467         as lowercase.
2468
2469 2004-03-17  Angus Leeming  <leeming@lyx.org>
2470
2471         * lfuns.h:
2472         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2473
2474         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2475         dialog and to kill a forked process.
2476
2477 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2478
2479         * text2.C (setCursorFromCoordinates): fix font problem
2480
2481 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2484         bogus "rebuild cursor" code
2485
2486 2004-03-11  André Pönitz  <poenitz@gmx.net>
2487
2488         * buffer.[Ch]: use InsetText instead of LyXText as container for
2489         the main lyx text.
2490
2491         * dociterator.[Ch]: drop the BufferView * member which is not needed
2492         anymore after the change to buffer.C
2493
2494         * paragraph_funcs.C:
2495         * text.C:
2496         * text2.C:
2497         * BufferView.[Ch]:
2498         * BufferView_pimpl.[Ch]:
2499         * cursor.[Ch]:
2500         * cursor_slice.[Ch]: adjust
2501
2502         * text3.C: fix bug in mathDispatch
2503
2504 2004-03-08  André Pönitz  <poenitz@gmx.net>
2505
2506         * undo.[Ch]: use 'StableDocumentIterator' as base for
2507         the Undo struct.
2508
2509 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2510
2511         * LaTeXFeatures.C:
2512         * bufferparams.[Ch]: add jurabib support and param.
2513
2514         * LaTeX.C: add FIXME/comment.
2515
2516 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2517
2518         * buffer.C: increment file format to 230.
2519
2520 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2521
2522         * cursor.C (dispatch): avoid infinite loops
2523
2524 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2525
2526         * rowpainter.C (paintSelection): fix x coordinates
2527
2528 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2529
2530         * text.C (rowBreakPoint): fix breaking before displayed insets
2531
2532 2004-03-01  André Pönitz  <poenitz@gmx.net>
2533
2534         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2535
2536         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2537
2538         * Makefile.am:
2539         * BufferView.C:
2540         * BufferView_pimpl.C:
2541         * buffer.C:
2542         * lyxfind.C:
2543         * lyxfunc.C:
2544         * text.C:
2545         * text2.C:
2546         * text3.C: adjust
2547
2548 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2549
2550         * lyxtext.h:
2551         * text.C:
2552         * text2.C:
2553         * rowpainter.C:
2554         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2555         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2556
2557 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2558
2559         * Bidi.[Ch] (computeTables): const correctness
2560         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2561         fill_hfill, fill_label_hfill and x from Row
2562         * lyxtext.h: prepareToPrint returns a RowMetrics
2563         * rowPainter.C: adjust
2564         * text.C (prepareToPrint): use width, not textWidth. adjust
2565         (redoParagraphInternal, cursorX): adjust
2566         * text2.C (getColumnNearX): adjust
2567         (init): put a default value to the top LyXText::width
2568
2569 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2570
2571         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2572
2573 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2574
2575         * lyxtext.h: add FontIterator class
2576
2577         * text.C (FontIterator, operator*, operator->, operator++): add
2578         (rowBreakPoint, setRowWidth): adjust (fixing a
2579         rebreaking bug)
2580
2581 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2582
2583         * BufferView_pimpl.C (workAreaDispatch): allow also
2584         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2585
2586 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2587
2588         * text.C (rowBreakPoint): fix a bug showing with very large insets
2589
2590 2004-02-25  André Pönitz  <poenitz@gmx.net>
2591
2592         * text3.C:
2593         * cursor.[Ch]: move some mathed specific code to mathed
2594
2595 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2596
2597         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2598         use_tempdir in preferences
2599         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2600         tempfile creation
2601         * lyx_main.C: ensure that tempdir is valid
2602         * lyxlex.h: correct typo
2603         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2604         * paragraph.[Ch] (isMultiLingual): make const
2605         * cursor.[Ch] (openable): make const
2606
2607 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2608
2609         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2610
2611 2004-02-20  André Pönitz  <poenitz@gmx.net>
2612
2613         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2614
2615         * cursor.[Ch]: prepare for localized getStatus()
2616
2617         * lyxtext.h:
2618         * tabular.C:
2619         * text.C:
2620         * text2.C:
2621         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2622
2623 2004-02-20  André Pönitz  <poenitz@gmx.net>
2624
2625         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2626
2627 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2628
2629         * text2.C (setCursorFromCoordinates): switch to absolute coords
2630         (cursorUp): adjust
2631         (cursorDown): adjust
2632         * text3.C (dispatch): adjust
2633
2634 2004-02-16  André Pönitz  <poenitz@gmx.net>
2635
2636         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2637           insets/ChangeLog)
2638
2639         * cursor_slice.[Ch]: remove unneeded acessor function
2640
2641         * lyxtext.h: rename rtl() to isRTL()
2642
2643         * rowpainter.C:
2644         * tabular.C:
2645         * text.C:
2646         * text2.C:
2647         * text3.C: adjust
2648
2649 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2650
2651         * rowpainter.C (paintSelection): coord fix
2652
2653 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2654
2655         * Spacing.C: compile fix
2656
2657 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2658
2659         * cursor.C (dispatch): restore current_ before returning
2660
2661 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2662
2663         * text2.C (cursorUp, cursorDown): fix coords
2664         (moveUp): fix crash
2665
2666 2004-02-12  André Pönitz  <poenitz@gmx.net>
2667
2668         * lyxtext.h:
2669         * text.C:
2670         * text2.C:
2671         * text3.C: add LCursor & parameter to most cursor movement functions
2672           remove usage of LyXText::cursorRow() and cursorPar()
2673
2674         * cursor.[Ch]: add textRow() needed members
2675
2676         * BufferView.C:
2677         * BufferView_pimpl.C:
2678         * paragraph.[Ch]:
2679         * BufferView.C:
2680         * BufferView_pimpl.C: adjust
2681
2682 2004-02-11  André Pönitz  <poenitz@gmx.net>
2683
2684         * lyxfunc.C:
2685         * BufferView.[Ch]:
2686         * BufferView_pimpl.C: shift undo/redo handling
2687
2688         * cursor.[Ch]: fix mathed crash
2689
2690         * lyxfind.C:
2691         * lyxtext.h: move selectionAsText to LCursor
2692
2693         * output_latex.C:
2694         * paragraph.C:
2695         * text.C:
2696         * text2.C:
2697         * text3.C: adjust
2698
2699         * rowpainter.C: fix excessive drawing
2700
2701 2004-02-06  André Pönitz  <poenitz@gmx.net>
2702
2703         * BufferView.[Ch]:
2704         * BufferView_pimpl.[Ch]:
2705         * text3.C: move some text specific LFUN handling
2706
2707 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2708
2709         * text3.C (checkInsetHit): adjust coords
2710         * text2.C (getColumnNearX): adjust coords
2711         (edit): adjust coords
2712         * text.C (getRowNearY): add two asserts
2713
2714 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2715
2716         * converter.C:
2717         * format.C: add using std::distance to compile on gcc 2.95/stlport
2718
2719 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2720
2721         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2722
2723 2004-02-04  André Pönitz  <poenitz@gmx.net>
2724
2725         * BufferView.[Ch] (insertInset):
2726         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2727
2728         * text2.C:
2729         * text3.C: adjust
2730
2731 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2732
2733         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2734         on the default clause of the switch
2735         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2736         wasn't catched by LCursor::dispatch
2737
2738 2004-02-03  André Pönitz  <poenitz@gmx.net>
2739
2740         * BufferView.C:
2741         * cursor.[Ch]: some additional asserts
2742
2743         * undo.[Ch]: remove LyXText dependency in interface
2744
2745         * lyxfunc.C: adjust
2746
2747         * lyxtext.h (firstPar, lastPar): remove dead functions
2748
2749         * text.C:
2750         * text2.C:
2751         * text3.C:
2752         * paragraph.[Ch]: adjust
2753
2754 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2755
2756         * lyxfind.C (find): fix argument order in call to ::find
2757
2758 2004-02-02  André Pönitz  <poenitz@gmx.net>
2759
2760         * cursor.[Ch]: remove direct access to anchor
2761
2762         * text.C: remove findText() hack
2763
2764 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2765
2766         * iterators.[Ch] (lockPath): remove in favour of...
2767         * BufferView.[Ch] (setCursor): this addition
2768         * BufferView.C (putSelectionAt): adjust
2769         * undo.C (performUndoOrRedo): adjust
2770         * lyxfunc.C (dispatch): adjust
2771
2772 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2773
2774         * iterators.C (lockPath): add a missing slice
2775         * undo.C (performUndoOrRedo): remove redundant positioning code
2776
2777 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2778
2779         * vc-backend.C (scanMaster): ";" -> ';'
2780
2781 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2782
2783         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2784         std::binary_function
2785
2786         * lyxtextclass.C (compare_name): rename to...
2787         (LayoutNamesEqual): ...this
2788
2789         * lyxlex_pimpl.C (compare_tags): inherit from
2790         std::binary_function, put back into anon namespace
2791
2792         * lyxfind.C (MatchString): inherig from std::binary_function
2793         (findChange): use empty() istead of !size()
2794
2795         * format.C (FormatNamesEqual): new functor
2796         (getFormat): use it
2797         (getNumber): use it
2798         (add): use it
2799         (erase): use it
2800         (setViewer): use it
2801
2802         * converter.C (compare_Converter): rename to...
2803         (ConverterEqual): ...this, and fixup a bit.
2804         (getConverter): use it, and make function const
2805         (getNumber): use it, and make function const
2806         (add): use it
2807         (erase): use it:
2808
2809         * bufferlist.C: add using boost::bind
2810
2811         * MenuBackend.C (MenuNamesEqual): new functor
2812         (hasMenu): use it, and make function const
2813         (hasSubmenu): use nested bind to get rid of compare_memfun.
2814
2815 2004-01-30  André Pönitz  <poenitz@gmx.net>
2816
2817         * BufferView_pimpl.C:
2818         * cursor.C:
2819         * cursor.h:
2820         * cursor_slice.[Ch]:
2821         * lyxfunc.C:
2822         * lyxtext.h:
2823         * paragraph_funcs.C:
2824         * paragraph_funcs.h:
2825         * rowpainter.C:
2826         * text.C:
2827         * text2.C:
2828         * text3.C: move some of the edit(x,y) handling to the insets
2829         some coordinate changes.
2830
2831 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2832
2833         * text.C: add using statements for std::advance and std::distance
2834
2835         * paragraph.C: add using statement for std::distance
2836
2837         * lyxfind.C: add using statement for std::advance
2838
2839         * cursor.C (region): remove std:: from swap
2840         (openable): use nucleus in stead of operator->
2841
2842         * BufferView.C: add using statements for std::distance and std::swap
2843
2844 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2845
2846         * iterators.C: Remove the pimple, move the needed structures to
2847         the header file. Create accessor for the positions stack.
2848         (asPosIterator): remove function
2849
2850         * PosIterator.C (PosIterator): move constructors to top of file
2851         (PosIterator): reimplement the constructor taking a ParIterator in
2852         terms of setFrom.
2853         (setFrom): new function
2854         (operator!=): inline it
2855
2856 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2857
2858         * lyxfind.C (replaceAll): use std::advance
2859
2860         * iterators.h: inherit from std::iterator.
2861
2862         * PosIterator.C (advance, distance): remove
2863         * PosIterator.h: interit from std::iterator.
2864
2865 2004-01-26  André Pönitz  <poenitz@gmx.net>
2866
2867         * BufferView.[Ch]:
2868         * BufferView_pimpl.[Ch]:
2869         * InsetList.[Ch]:
2870         * PosIterator.[Ch]:
2871         * buffer.h:
2872         * bufferview_funcs.C:
2873         * cursor.[Ch]:
2874         * cursor_slice.h:
2875         * factory.[Ch]:
2876         * iterators.[Ch]:
2877         * lyxfind.C:
2878         * lyxfunc.C:
2879         * lyxtext.h:
2880         * output_docbook.C:
2881         * output_latex.C:
2882         * output_linuxdoc.C:
2883         * output_plaintext.C:
2884         * paragraph.[Ch]:
2885         * paragraph_funcs.[Ch]:
2886         * paragraph_pimpl.[Ch]:
2887         * rowpainter.C:
2888         * tabular.C:
2889         * tabular.h:
2890         * text.C:
2891         * text2.C:
2892         * text3.C: more IU:  dumps most of the rest of the mathcursor
2893     implementation into cursor.[Ch]; "globalize" a bit of it.
2894
2895 2004-01-25  Angus Leeming  <leeming@lyx.org>
2896
2897         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2898
2899 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2900
2901         * LaTeXFeatures.h: add nice_ and nice() const
2902         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2903
2904 2004-01-20  André Pönitz  <poenitz@gmx.net>
2905
2906         * BufferView.[Ch]:
2907         * BufferView_pimpl.C:
2908         * PosIterator.C:
2909         * bufferview_funcs.C:
2910         * cursor.[Ch]:
2911         * cursor_slice.[Ch]:
2912         * factory.C:
2913         * iterators.C:
2914         * lyx_cb.C:
2915         * lyxfind.C:
2916         * lyxfunc.C:
2917         * lyxtext.h:
2918         * rowpainter.C:
2919         * text.C:
2920         * text2.C:
2921         * text3.C:
2922         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2923           LCursor and mathcursor parts to LCursor and InsetBase.
2924
2925 2004-01-15  André Pönitz  <poenitz@gmx.net>
2926
2927         * cursor_slice.[Ch]: add a few covienience functions
2928
2929         * funcrequest.[Ch]: remove BufferView * member
2930
2931         * BufferView_pimpl.C:
2932         * cursor.C:
2933         * factory.[Ch]:
2934         * lyxfind.[Ch]:
2935         * lyxfunc.C:
2936         * lyxtext.h:
2937         * text3.C:
2938         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2939
2940 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2941
2942         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2943         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2944
2945 2004-01-13  André Pönitz  <poenitz@gmx.net>
2946
2947         * textcursor.[Ch]:
2948         * lyxtext.h: hide cursor and selection anchor behind accessor function
2949
2950         * BufferView.C:
2951         * BufferView_pimpl.[Ch]:
2952         * PosIterator.C:
2953         * bufferview_funcs.C:
2954         * cursor.h:
2955         * lyxfind.C:
2956         * lyxfunc.C:
2957         * text.C:
2958         * text2.C:
2959         * text3.C:
2960         * undo.C: adjust
2961
2962         * cursor.h:
2963         * cursor_slice.[Ch]: some integer type changes for inset unification
2964
2965         * lyxcursor.[hC]: remove, it's CursorSlice now.
2966
2967         * Makefile.am:
2968         * BufferView_pimpl.[Ch]:
2969         * bufferview_funcs.C:
2970         * cursor_slice.C:
2971         * lyxtext.h:
2972         * text.C:
2973         * text2.C:
2974         * text3.C:
2975         * textcursor.[Ch]: adjust
2976
2977 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2978
2979         * text2.C (undoSpan): add and use
2980         * text.C (breakParagraph): use undoSpan (fix bug 578)
2981         * lyxtext.h: adjust
2982
2983 2004-01-08  Angus Leeming  <leeming@lyx.org>
2984
2985         * BufferView_pimpl.C (MenuInsertLyXFile):
2986         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2987         * lyxfunc.C (menuNew, open, doImport):
2988         FileFilterList change to the FileDialog open and save functions.
2989
2990 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2991
2992         * ShareContainer.h: make isEqual and isUnique adaptable
2993
2994         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2995
2996 2004-01-07  Angus Leeming  <leeming@lyx.org>
2997
2998         * LyXAction.C:
2999         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3000
3001         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3002
3003         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3004         functions replacing find, replace and replaceAll.
3005
3006         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3007         LFUN_WORDFIND(FORWARD|BACKWARD).
3008
3009 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3010
3011         * text.C (breakParagraph): remove an outdated #warning
3012
3013 2004-01-07  André Pönitz  <poenitz@gmx.net>
3014
3015         * lyxfind.C: somewhat clearer logic
3016
3017         * text.C: prevent crash in cursorX on unitialized row cache
3018
3019 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3020
3021         * lyxcursor.[Ch] (operator>): add
3022         * textcursor.C (selStart, selEnd): use std::min and std::max
3023
3024 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3025
3026         * Chktex.C: include boost/format.hpp
3027
3028 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3029
3030         * InsetList.C: replace functor MathcIt with adaptable functor
3031         InsetTablePosLess
3032         (insetIterator): modify accordingly
3033
3034         * BranchList.h: move the BranchNamesEqual functor here from...
3035         * BranchList.C: ... to here
3036
3037         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3038         SameName and match.
3039         (add): replace a finding loop with std::find_if.
3040
3041 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3042
3043         * output_docbook.C: moving LatexParam functionality into
3044         .layout files
3045
3046 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3047
3048         * buffer.C: increment format to 229.
3049
3050 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3051
3052         * LaTeXFeatures.C:
3053         * lyx_sty.[Ch]: remove minipageindent_def
3054
3055         * LyXAction.C:
3056         * factory.C:
3057         * lfuns.h:
3058         * lyxfunc.C:
3059         * text3.C: remove LFUN_INSET_MINIPAGE
3060
3061 2003-12-28  Angus Leeming  <leeming@lyx.org>
3062
3063         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3064
3065 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3066
3067         * text2.C (setParagraph): fix off-by-one crash
3068
3069 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3070
3071         * output_docbook.C: header stuff for AGU
3072
3073 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3074
3075         * text2.C (redoCursor): remove
3076         * text.C:
3077         * text3.C:
3078         * BufferView_pimpl.C: remove calls to redoCursor and
3079         setCursor(cursor.par(), cursor.pos()) all around
3080
3081 2003-12-15  Angus Leeming  <leeming@lyx.org>
3082
3083         * buffer.C: up the format to 228.
3084
3085 2003-12-15  André Pönitz  <poenitz@gmx.net>
3086
3087         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3088         slices
3089
3090         * Makefile.am:
3091
3092         * BufferView_pimpl.C:
3093         * cursor.[Ch]:
3094         * lyxcursor.[Ch]:
3095         * rowpainter.[Ch]:
3096         * lyxtext.h:
3097         * text.C:
3098         * text2.C:
3099         * text3.C: adjust
3100
3101 2003-12-15  Angus Leeming  <leeming@lyx.org>
3102
3103         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3104         than getFromGUIName to manipulate the color.
3105
3106 2003-12-14  Angus Leeming  <leeming@lyx.org>
3107
3108         * BranchList.[Ch]: minimize the API.
3109         (Branch::getBranch, getColor): now return a 'const &'.
3110         (Branch::setSelected) now returns a bool set to true if the
3111         selection status changes.
3112         (BranchList::clear, size, getColor, setColor, setSelected,
3113         allBranches, allSelected, separator): removed.
3114         (BranchList::find): new functions, returning the Branch with
3115         the given name.
3116         (BranchList::add, remove): return a bool indicating that
3117         the operation was successful.
3118
3119         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3120         new InsetBranch::isBranchSlected member function.
3121
3122         * LColor.[Ch]: mimimize the API.
3123         (fill): renamed as addColor and made private.
3124         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3125         versions of these functions taking a string arg have been removed.
3126
3127         * bufferparams.C (readToken):
3128         * lyxfunc.C (dispatch):
3129         * lyxrc.C (read): changes due to the altered BranchList and
3130         LColor APIs.
3131
3132         * factory.C (createInset, readInset): changes due to altered
3133         InsetBranch c-tor.
3134
3135 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3136
3137         * factory.C:
3138         * lyxfunc.C: remove insetminipage. "minipage-insert"
3139         now produces a frameless minipage box inset.
3140
3141 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3142
3143         * textcursor.[Ch] (selStart,selEnd): add new methods
3144         remove selection::start, end, use LyXCursor::operator<
3145         * lyxcursor.[Ch] (operator<): add
3146         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3147         * BufferView.[Ch] (unsetXSel): add
3148         * text2.C (clearSelection): use unsetXSel,adjust
3149         * text.C: adjust
3150         * text3.C: adjust
3151         * rowpainter.C: adjust
3152         * bufferview_funcs.C (put_selection_at): adjust
3153
3154 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * BufferView_pimpl.C: small coord. correction
3157
3158 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3159
3160         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3161         dragging over the splash screen.
3162
3163 2003-12-11  Angus Leeming  <leeming@lyx.org>
3164
3165         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3166         as it is now handled in LyXText::dispatch.
3167
3168         * text3.C (doInsertInset): remove a level of nesting.
3169
3170 2003-12-11  Angus Leeming  <leeming@lyx.org>
3171
3172         * factory.C (createInset): changes due to the changed interface to
3173         InsetCommandMailer::string2params.
3174
3175 2003-12-10  Angus Leeming  <leeming@lyx.org>
3176
3177         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3178         'dialog-show-new-inset <inset name>'
3179
3180 2003-12-10  Angus Leeming  <leeming@lyx.org>
3181
3182         * buffer.C: up the format to 227.
3183
3184         * factory.C: the box inset is now identified simply by 'Box'.
3185
3186 2003-12-10  Angus Leeming  <leeming@lyx.org>
3187
3188         * buffer.C: up the format to 226.
3189
3190         * factory.C: the note inset is now identified simply by 'Note'.
3191
3192 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3193
3194         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3195         when a pit is enough. Standarize a couple of loops.
3196
3197 2003-12-05  Angus Leeming  <leeming@lyx.org>
3198
3199         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3200         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3201         data to the re-worked "log" dialog.
3202
3203 2003-12-03  André Pönitz  <poenitz@gmx.net>
3204
3205         * PosIterator.C:
3206         * iterators.C:
3207         * lyxtext.h:
3208         * output_latex.C:
3209         * paragraph_funcs.C:
3210         * text.C:
3211         * text2.C: use Inset::getText instead of Inset::getParagraph
3212
3213 2003-12-03  André Pönitz  <poenitz@gmx.net>
3214
3215         * buffer.[Ch]:
3216         * lyxtext.h:
3217         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3218         InsetText::read() as LyXText::read()
3219
3220 2003-12-02  Angus Leeming  <leeming@lyx.org>
3221
3222         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3223         type. Add a comment in the implementation that the function uses
3224         the stream's bad() function rather than fail() as the std::streams
3225         would do.
3226
3227 2003-12-02  André Pönitz  <poenitz@gmx.net>
3228
3229         * lyxlex.[Ch]: make interface more similar to std::stream
3230
3231         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3232
3233 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3234
3235         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3236
3237 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3238
3239         * vspace.[Ch]: remove VSpace::NONE
3240
3241 2003-12-01  André Pönitz  <poenitz@gmx.net>
3242
3243         * buffer.[Ch]:
3244         * lyxtext.h: move ParagraphList member to LyXText
3245         rename LyXText::ownerParagraphs to LyXText::paragraph
3246
3247         * CutAndPaste.C:
3248         * bufferview_funcs.C:
3249         * iterators.[Ch]:
3250         * lyx_cb.C:
3251         * paragraph.C:
3252         * rowpainter.C:
3253         * tabular.C:
3254         * text.C:
3255         * text2.C:
3256         * text3.C: adjust
3257
3258         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3259
3260         * undo.C: fix cursor positioning
3261
3262 2003-12-01  John Levon  <levon@movementarian.org>
3263
3264         * BufferView_pimpl.C: fix a crash on exit with
3265         a buffer open
3266
3267 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3268
3269         * BranchList.C: fix setSelected() method.
3270
3271 2003-11-28  André Pönitz  <poenitz@gmx.net>
3272
3273         * ParagraphParameters.[Ch]:
3274         * ParameterStruct.h: remove space above/below from Paragraph to
3275          InsetVSpace
3276
3277         * BufferView_pimpl.C:
3278         * factory.C:
3279         * lyxfunc.C:
3280         * lyxtext.h:
3281         * output_latex.C:
3282         * paragraph.C:
3283         * paragraph_funcs.C:
3284         * rowpainter.[Ch]:
3285         * text.C:
3286         * text2.C:
3287         * text3.C: adjust
3288
3289 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3290
3291         * factory.C: Syntax change for CharStyles
3292
3293 2003-11-28  André Pönitz  <poenitz@gmx.net>
3294
3295         * BufferView.[Ch]:
3296         * BufferView.[Ch]:
3297         * buffer.[Ch]:
3298         * buffer.[Ch]: move LyXText member
3299
3300 2003-11-28  André Pönitz  <poenitz@gmx.net>
3301
3302         * BufferView.[Ch]: make LyXText * text a private member
3303
3304         * BufferView_pimpl.C:
3305         * cursor.C:
3306         * iterators.C:
3307         * lyx_cb.C:
3308         * lyxfind.C:
3309         * lyxtext.h:
3310         * rowpainter.[Ch]:
3311         * text.C:
3312         * text2.C:
3313         * undo.C: adjust
3314
3315         * output_plaintext.C: cleanup
3316
3317 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3318
3319         * buffer.C:
3320         * lyxtextclass.[Ch]: parametrize SGML document header
3321
3322 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3323
3324         * converter.[Ch]:
3325         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3326         getFlavor().
3327
3328 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3329
3330         * text2.C (setFont): rework using PosIterator (no more recursive)
3331         (setCharFont): no more needed
3332         (setLayout): no more selection cursors fiddling (done by redoCursor)
3333         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3334         destroy remaining ones)
3335
3336 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3337
3338         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3339         * lyxtext.h: ditto
3340         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3341         selection cursors
3342         * lyxfunc.C: adjust
3343         * text3.C: adjust + re-allow multi par depth changes
3344         * textcursor.C: simplify a bit
3345
3346 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3347
3348         * src/buffer.C:
3349         * src/lyxlayout.C:
3350         * src/lyxlayout.h:
3351         * src/lyxtext.h:
3352         * src/output_docbook.C:
3353         * src/output_latex.C:
3354         * src/paragraph.C:
3355         * src/paragraph.h:
3356         * src/sgml.C:
3357         * src/sgml.h:
3358         * src/text2.C: Introducing a number of tags parametrizing various
3359         XML formats that we may want to support
3360
3361 2003-11-25  André Pönitz  <poenitz@gmx.net>
3362
3363         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3364
3365         * lyxtext.h (leftMargin/rightMargin): simplify interface
3366
3367         * rowpainter.C:
3368         * text.C:
3369         * text2.C:
3370         * text3.C: adjust
3371
3372 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3373
3374         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3375         master file to any child files. Fixes bug 546.
3376
3377 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3378
3379         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3380
3381 2003-11-24  André Pönitz  <poenitz@gmx.net>
3382
3383         * rowpainter.C: simplification
3384
3385         * text2.C (updateCounters): remove call to redoParagraph on
3386         changed labels as this is far too expensive.
3387
3388 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3389
3390         * converter.C (convert): fix a crash: this function gets
3391         called with buffer == 0 from importer code.
3392
3393 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3394
3395         * text3.C (cursorPrevious): make sure that we do not compare
3396         iterators form different containers.
3397         (cursorNext): ditto
3398
3399         * rowpainter.C (paintSelection): make sure that we do not compare
3400         iterators from different containers.
3401
3402         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3403         iterators from different ParagraphList containers.
3404         [NEXT] ditto
3405
3406         * text2.C (LyXText): change order of initialization slightly
3407         (operator=): new function. copy all variables except cache_par_
3408         (moveUp): make sure that we do not compare iterators from
3409         different ParagraphList constainers.
3410         (moveDown): ditto
3411
3412         * text.C (firstPar): new function
3413         (lastPar): new function
3414         (endPar): new function
3415
3416         * lyxtext.h: move things around and group public functions, public
3417         variables, private functions, private variables
3418
3419 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3420
3421         * factory.C: change call to InsetERT constructor to avoid
3422         additional invocation of method status
3423         * text2.C (toggleInset): remove redundant update() call
3424         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3425         instead of a Bufferview pointer
3426
3427 2003-11-21  André Pönitz  <poenitz@gmx.net>
3428
3429         * rowpainter.C: simplification
3430
3431 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3432
3433         * text3.C (dispatch): make possible to extend a word/row selection
3434         with the mouse
3435
3436 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3437
3438         * lyxtext.h: x0_,y0_ -> xo_,yo_
3439         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3440         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3441         * rowpainter.C (paintRows): paint full paragraphs
3442
3443 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3444
3445         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3446         screen coordinates)
3447
3448 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3449
3450         * lyxtext.h: add x0_, y0_
3451         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3452         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3453
3454 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3455
3456         * text2.C (setCursorIntern): move the x_target update here *
3457         * text3.C: change some bv() to true/false in calls to
3458         cursorUp/Down/Right/Left
3459         * cursor.C: use helper function.
3460
3461 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3462
3463         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3464         * paragraph_funcs.[Ch]: correct comment
3465         * rowpainter.C: do not paint selections away from bv->cursor()
3466         Fix a long standing selection painting bug.
3467         * text3.C: generalize mouse-selection code to LyXTexts other that
3468         top one
3469         * textcursor.C: do not use y coords if we can use par offsets
3470
3471 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3472
3473         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3474         cursor position after e.g. inset insert)
3475
3476 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3477
3478         * lyxfind.C (replace): adjust to locking removal + some
3479         code simplification
3480
3481 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3482
3483         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3484         of the path
3485
3486 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3487
3488         * lyxlayout.[Ch]:
3489         * output_docbook.C: XML sanitation: new layout
3490         parameters InnerTag and CommandDepth
3491
3492 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3493
3494         * BufferView_pimpl.C:
3495         * factory.C:
3496         * text3.C: Fix the insertion and modification of button-style
3497         insets
3498
3499 2003-11-13  André Pönitz  <poenitz@gmx.net>
3500
3501         * InsetList.[Ch]: remove deleteLyXText
3502
3503         * paragraph.[Ch]: cache beginOfBody position
3504
3505         * Bidi.C:
3506         * text.C:
3507         * text2.C:
3508         * text3.C: remove superfluous update() calls
3509
3510         * vspace.C: cleanup
3511
3512 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3513
3514         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3515         * BufferView.C (fitLockedInsetCursor): remove
3516         * cursor.[Ch] (getDim): add
3517         * text.C (getRowNearY): add faster version
3518         * text3.C: remove some update calls
3519
3520 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3521
3522         * LaTeXFeatures.C:
3523         * LyXAction.C:
3524         * MenuBackend.C:
3525         * MenuBackend.h:
3526         * dispatchresult.h:
3527         * factory.C:
3528         * lfuns.h:
3529         * lyxfunc.C:
3530         * lyxtextclass.C:
3531         * lyxtextclass.h:
3532         * text3.C: The Character Style /XML short element patch.
3533
3534 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3535
3536         * text3.C:
3537         * factory.C: Small step to solving 'unable to insert some insets'
3538         problem
3539
3540 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3541
3542         * cursor.[Ch] (updatePos): new function for updating the y
3543         position of the tip inset
3544         * bufferview_funcs.C (put_selection_at):
3545         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3546
3547 2003-11-11  André Pönitz  <poenitz@gmx.net>
3548
3549         * text.C: remove big comment on invalid Paragraph pointers as it is
3550         not valid anymore
3551
3552 2003-11-11  André Pönitz  <poenitz@gmx.net>
3553
3554         * text_funcs.[Ch]: merge with ...
3555
3556         * text.C: ... this
3557
3558         * lyxtext.h:
3559         * text2.C:
3560         * text3.C: adjust
3561
3562         * Makefile.am: remove text_funcs.[Ch]
3563
3564 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * cursor.C (getPos): return absolute cached y coord
3567
3568         * BufferView_pimpl.C (fitCursor): new simplistic code
3569         (workAreaDispatch): add a fitCursor call
3570
3571 2003-11-10  André Pönitz  <poenitz@gmx.net>
3572
3573         * BufferView.[Ch]:
3574         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3575
3576 2003-11-10  André Pönitz  <poenitz@gmx.net>
3577
3578         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3579         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3580         indicate that the cursor needs to leave an inset
3581
3582         * lyxtext.h: remove inset locking
3583
3584         * cursor.[Ch]: re-implement functionality provided by inset locking
3585
3586         * BufferView.[Ch]:
3587         * BufferView_pimpl.[Ch]:
3588         * LyXAction.C:
3589         * bufferview_funcs.[Ch]:
3590         * factory.C:
3591         * funcrequest.[Ch]:
3592         * iterators.C:
3593         * lyx_cb.C:
3594         * lyxfind.C:
3595         * lyxfunc.C:
3596         * text.C:
3597         * text2.C:
3598         * text3.C:
3599         * undo.C: adjust
3600
3601 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3602
3603         * PosIterator.[Ch]: replace the stack with a vector, add inset
3604         accesor
3605         * iterators.[C]: adjust
3606
3607 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3608
3609         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3610         replaced
3611         * paragraph_funcs.C (readParToken): put the correct id in the
3612         error item, not the id of the top paragraph
3613
3614 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3615
3616         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3617         * bufferview_funcs.C (put_selection_at): use the above
3618
3619 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3620
3621         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3622
3623 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3624
3625         * output_linuxdoc.h:
3626         * output_plaintext.h:
3627         * output.h:
3628         * output_docbook.h: add #include statements
3629
3630 2003-11-05  José Matos  <jamatos@lyx.org>
3631
3632         * output_docbook.[Ch]:
3633         * output_latex.[Ch]:
3634         * output_linuxdoc.[Ch]:
3635         * output_plaintext.[Ch]: New files for output formats.
3636         * output.[Ch]: New file for helper functions.
3637
3638         * buffer.[Ch]:
3639         * paragraph_funcs.[Ch]: output functions moved to new files.
3640
3641         * outputparams.h: rename of latexrunparams.h
3642
3643         * LaTeX.[Ch]:
3644         * buffer.[Ch]:
3645         * bufferlist.[Ch]:
3646         * converter.[Ch]:
3647         * exporter.C:
3648         * paragraph.[Ch]:
3649         * paragraph_funcs.[Ch]:
3650         * paragraph_pimpl.[Ch]:
3651         * tabular.[Ch]: rename ascii to plaintext
3652         and LatexRunParams to OutputParams.
3653
3654 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3655
3656         * iterators.[Ch] (text): require bv argument
3657         * undo.C (recordUndo):
3658         * lyxfunc.C (dispatch):
3659         * bufferview_funcs.C (put_selection_at): adjust
3660
3661 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3662
3663         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3664
3665 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3668         nestings
3669
3670 2003-11-04  André Pönitz  <poenitz@gmx.net>
3671
3672         * cursor.[Ch]: restructure
3673
3674         * BufferView.[Ch]:
3675         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3676
3677         * iterators.[Ch] (asCursor): remove
3678
3679         * lfuns.h: remove LFUN_INSET_EDIT
3680
3681         * lyxfunc.C:
3682         * tabular.C:
3683         * text.C:
3684         * text2.C:
3685         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3686
3687 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * lyxfind.[Ch]: complete overhaul
3690         * BufferView_pimpl.C:
3691         * lyxfunc.C: adjust
3692         * paragraph.[Ch] (insert): add
3693
3694 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3695
3696         * BufferView.[Ch]:
3697         * lyxtext.h:
3698         * text.C: remove dead spellcheck code
3699
3700 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3701
3702         * dispatchresult.h: add a val setter
3703
3704         * cursor.C (dispatch): use a tempvar for data_[i]
3705
3706 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3707
3708         * PosIterator.[Ch]: compile fix
3709
3710 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3711
3712         * text.C (cursorPar): deactivate the cursor cache
3713
3714 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3715
3716         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3717
3718 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3719
3720         * text3.C (dispatch): adjust for new DisptchResult semantics.
3721
3722         * lyxfunc.C (dispatch): handle update when return from
3723         Cursor::dispatch, adjust for new DispatchResult semantics.
3724
3725         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3726         DispatchResult(true) mean to not update. Add class functions for
3727         setting dispatched and update, as well as reading.
3728
3729         * cursor.C (dispatch): don't handle update here
3730
3731 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3732
3733         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3734         * trans_mgr.C: adjust
3735
3736         * paragraph_funcs.C (readParToken): exception safety
3737
3738         * lyxvc.h: store the vcs pointer in a scoped_ptr
3739         * lyxvc.C: adjust
3740
3741         * lyxsocket.C (serverCallback): exception safety
3742
3743         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3744
3745         * ispell.C (clone): make it return a auto_ptr
3746
3747         * factory.C (createInset): exception safety
3748         (readInset): exception safety
3749
3750         * bufferlist.C (newBuffer): exception safety
3751
3752         * Thesaurus.C (Thesaurus): use initialization for aik_
3753
3754         * MenuBackend.C (expandToc): exception safety.
3755
3756 2003-11-03  André Pönitz  <poenitz@gmx.net>
3757
3758         * buffer.C:
3759         * buffer.h:
3760         * bufferview_funcs.C: remove getInsetFromId()
3761
3762         * lyxcursor.[Ch]:
3763         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3764
3765         * lyxfunc.C:
3766         * text2.C:
3767         * text3.C: adjust
3768
3769 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3770
3771         * PosIterator.C (distance, advance): new
3772         * bufferview_funcs.[Ch] (put_selection_at): new
3773         * iterators.[Ch] (lockPath): new
3774
3775 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3776
3777         * iterators.[Ch] (asPosIterator): added
3778         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3779         * PosIterator.[Ch]: added
3780
3781 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3782
3783         * text3.C:
3784         * lyxfunc.C:
3785         * cursor.C (dispatch):
3786         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3787
3788         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3789         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3790         contructor, add a class function dispatched. Remove operator>=
3791
3792 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * debug.C: only use the default constructor for debugstream
3795         (lyxerr) here.
3796
3797         * main.C (main): include debug.h and setup the lyxerr streambuf
3798         here.
3799
3800 2003-10-31  José Matos  <jamatos@lyx.org>
3801
3802         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3803
3804         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3805         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3806         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3807         * paragraph_pimpl.C (simpleTeXSpecialC):
3808         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3809         add LatexRunParams argument.
3810
3811         * exporter.C (Export): change call accordingly.
3812
3813         * latexrunparams.h: add new member to take care of the other backends.
3814 2003-10-30  José Matos  <jamatos@lyx.org>
3815
3816         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3817         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3818         factorise code for paragraph output.
3819         * buffer.[Ch]:
3820         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3821         move functions.
3822
3823 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3824
3825         * text3.C (dispatch):
3826         * lyxfunc.C (dispatch):
3827         * cursor.C (dispatch):
3828         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3829
3830         * dispatchresult.h: make the dispatch_result_t ctor explicit
3831
3832 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3833
3834         * sgml.[Ch]:
3835         * buffer.C: small refactoring of docbook stuff
3836
3837 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3838
3839         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3840         meaning.
3841
3842 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3845         operator dispatch_result_t, and operators for == != and >=
3846
3847         * cursor.C (dispatch): adjust for operator dispatch_result_t
3848         removal. comment out call to update
3849
3850         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3851
3852 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3853
3854         * text3.C:
3855         * text2.C:
3856         * text.C:
3857         * lyxtext.h:
3858         * lyxfunc.C:
3859         * cursor.C:
3860         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3861         (dispatch):
3862
3863         * dispatchresult.h: new file, DispatchResult broken out of
3864         insets/insetbase.h
3865
3866         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3867
3868 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3869
3870         * text.C (rowBreakPoint): put a hack inside #if 0
3871
3872 2003-10-28  André Pönitz  <poenitz@gmx.net>
3873
3874         * lyxtext.h:
3875         * metricsinfo.C:
3876         * paragraph_funcs.C:
3877         * rowpainter.C:
3878         * text.C:
3879         * text2.C: general cleanup (lots of small stuff)
3880
3881 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3882
3883         * text2.C (cursorEnd): simple fix to the "end key goes to one
3884         before the end on last row" bug
3885
3886 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3887
3888         * text.C (backspace): fix the "zombie characters"
3889
3890 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3891
3892         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3893
3894 2003-10-27  André Pönitz  <poenitz@gmx.net>
3895
3896         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3897
3898         * factory.C: handle new InsetPagebreak, InsetLine
3899
3900         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3901         and move handling into new InsetPagebreak, InsetLine
3902
3903         * BufferView_pimpl.C:
3904         * LyXAction.C:
3905         * ParagraphParameters.C:
3906         * ParameterStruct.h:
3907         * lyxfunc.C:
3908         * lyxtext.h:
3909         * paragraph.C:
3910         * paragraph.h:
3911         * paragraph_funcs.C:
3912         * paragraph_pimpl.C:
3913         * rowpainter.C:
3914         * text.C:
3915         * text2.C:
3916         * text3.C: adjust
3917
3918 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3919
3920         * text.C:
3921         * lyxrow_funcs.[Ch]:
3922         * Bidi.C:
3923         * paragraph.C:
3924         * lyxtext.h:
3925         * rowpainter.C:
3926         * text2.C:
3927         * text3.C: remove lastPos uses in favour of Row::endpos
3928
3929 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3930
3931         * undo.C (performUndoOrRedo): fix two crashes by setting a
3932         cursor by hand and reordering some calls. Use bv->lockInset instead
3933         of inset->edit because the latter loses cursor information
3934
3935 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3936
3937         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3938         by Martin
3939         (rowBreakPoint): fix width. change point to point + 1.
3940         Add a missing check.
3941
3942 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3943
3944         * MenuBackend.C:
3945         * lyxfunc.C: fix (at least partly) the problems
3946         with the Nav menu and headers inside branch insets
3947         reported by Kayvan
3948
3949 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3950
3951         * paragraph.C (getChar): add strong asserts
3952
3953         * lyxrow_funcs.C (lastPos): remove hideous hack
3954
3955         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3956         (fill): adjust to that (avoid an infinite loop)
3957
3958 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3959
3960         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3961
3962 2003-10-23  André Pönitz  <poenitz@gmx.net>
3963
3964         * RowList_fwd.h: change list<> to vector<> to gain speed
3965         after suggestion from Alfredo
3966
3967 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3968
3969         * lyxtext.h: move the bidi stuff from here...
3970         * text.C: and here
3971         * text2.C: and here
3972         * Bidi.[Ch]: ... to here
3973
3974 2003-10-23  André Pönitz  <poenitz@gmx.net>
3975
3976         * lyxtext.h:
3977         * text.C (isLastRow, isFirstRow): new functions
3978
3979         * paragraph.h: new width cache member
3980
3981         * rowpainter.C: replace RowList::iterator with Row & where possible
3982
3983         * lyxfunc.C: replace several view()->text with a single call
3984
3985         * toc.C: fix 'unused' warning
3986
3987 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3990         when woring with stream::pos_type
3991         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3992
3993 2003-10-22  André Pönitz  <poenitz@gmx.net>
3994
3995         * lyxtext.h:
3996         * text.C: use Row & instead of RowList::iterator
3997
3998         * lyxrow.h: rename end() to endpos()
3999
4000         * rowpainter.C:
4001         * text.C:
4002         * text2.C: adjust
4003
4004 2003-10-22  Angus Leeming  <leeming@lyx.org>
4005
4006         * buffer.[Ch] (fully_loaded): new member function, returning true
4007         only when the file has been loaded fully.
4008         Used to prevent the premature generation of previews and by the
4009         citation inset to prevent computation of the natbib-style label.
4010
4011         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4012         templates are all set up.
4013
4014         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4015
4016 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4017
4018         * text.C: fixed an "oops" in the "is a bit silly"
4019         bug fix
4020
4021 2003-10-21  André Pönitz  <poenitz@gmx.net>
4022
4023         * FuncStatus.[Ch]: small stuff, whitespace
4024
4025         * lyxfont.[Ch]: operator<<() for debug reasons
4026
4027         * lyxfunc.C:
4028         * lyxrow_funcs.C:
4029         * lyxtext.h: whitespace, spelling
4030
4031         * paragraph.C: naming of variables
4032
4033         * text.C:
4034         * text2.C: small stuff
4035
4036
4037 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4038
4039         * text.C: (1) finish off the inset display() work;
4040         (2) fix the "is a bit silly" bug (accessing char
4041         past end of par).
4042
4043 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4044
4045         * text.C: re-introduce display() for insets, fixing the
4046         various bugs (stretch of line above, math inset
4047         positioning, ...)
4048
4049 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4050
4051         * text.C (rightMargin): remove spurious semicolon
4052
4053         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4054         1415)
4055
4056 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4057
4058         * text3.C: fix one crash due to wrong cursor def
4059
4060 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * vc-backend.C (scanMaster): make the regex static
4063
4064         * LaTeX.C (scanAuxFile): make the regexs static
4065
4066         * text3.C (doInsertInset, dispatch, dispatch):
4067         * text2.C (cursorUp, cursorDown):
4068         * text.C (selectNextWordToSpellcheck):
4069         * BufferView_pimpl.C (dispatch):
4070         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4071
4072 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4073
4074         * lyxsocket.C: include <cerrno>
4075
4076 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * lyxfunc.C (dispatch): remove textcache stuff
4079
4080         * bufferlist.C (release): remove textcache stuff
4081         (closeAll): ditto
4082
4083         * TextCache.C: delete file
4084         * TextCache.h: delete file
4085
4086         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4087
4088         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4089         delete of the bv_->text.
4090         (resizeCurrentBuffer): remove texcache stuff
4091         (workAreaResize): ditto
4092
4093 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4094
4095         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4096         action.
4097
4098 2003-10-16  André Pönitz  <poenitz@gmx.net>
4099
4100         * lyxrow.[Ch]:
4101         * paragraph.h:
4102         * rowpainter.C:
4103         * text.C:
4104         * text2.C:
4105         * text3.C: speed up by storing y positions per paragraph plus per-row
4106         offset instead of having a 'full' y position in the row.
4107
4108 2003-10-15  André Pönitz  <poenitz@gmx.net>
4109
4110         * iterators.[Ch]:
4111         * iterators.[Ch]:
4112         * undo.[Ch]: make undo aware of inner insets
4113
4114 2003-10-14  Angus Leeming  <leeming@lyx.org>
4115
4116         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4117         static member functions LyX::ref() and LyX::cref.
4118         (lastfiles): new accessor functions for the new lastfiles_ member var.
4119         (addLyXView, views_): add a new LyXView to the list of views_.
4120         (updateInset): loop over all LyXViews to call their own updateInset
4121         member function, returning a pointer to the Buffer owning the inset.
4122
4123         * BufferView_pimpl.C (loadLyXFile):
4124         * MenuBackend.C (expandLastfiles):
4125         * bufferlist.C (MenuWrite, QuitLyX):
4126         lastfiles is no longer a global variable.
4127         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4128
4129         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4130         static function. Access through LyX::cref().emergencyCleanup().
4131
4132 2003-10-14  André Pönitz  <poenitz@gmx.net>
4133
4134         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4135
4136         * undo.[Ch]: restoring part of 'undo in insets'
4137
4138         * Makefile.am:
4139         * undo_funcs.[Ch]: merge with undo.[Ch]
4140
4141         * tabular.C: small cleansing stuff
4142
4143 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4144
4145         * paragraph_funcs.C (readParToken): report unknown insets as error
4146         boxes. Use the outer paragraph as location (also for unknown
4147         tokens).
4148
4149         * factory.C (readInset): do not abort on reading an unknown inset.
4150         Eat it and return 0.
4151
4152 2003-10-13  Angus Leeming  <leeming@lyx.org>
4153
4154         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4155
4156         * lyxrc.C: displayTranslator is now a function,
4157         declared in GraphicsTypes.h.
4158
4159 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4160
4161         * format.C: new placeholder $$a to pass the socket address.
4162
4163         * bufferlist.[Ch]: new function getBufferFromTmp.
4164
4165         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4166           files in the temporary dir.
4167
4168 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4169
4170         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4171
4172         * Makefile.am: add lyxsocket.[Ch].
4173
4174         * lyx_main.C (error_handler): handle SIGPIPE.
4175
4176 2003-10-13  André Pönitz  <poenitz@gmx.net>
4177
4178         * BufferView_pimpl.C:
4179         * lyxtext.h:
4180         * text.C:
4181         * text2.C:
4182         * text3.C:
4183         * undo_funcs.[Ch]: use paroffset_type instead of
4184           ParagraphList::iterators to prevent multiple conversion
4185           (and get a more robust interface)
4186
4187 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4190         * lyxtext.h: ditto
4191         * text3.C (dispatch): ditto
4192
4193 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4196         move the onlyfile, use onlyfile instead of foundfile in a couple
4197         of places.
4198
4199         * DepTable.C (update): flush the error stream a bit more
4200
4201 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * lyxserver.C (callback): adjust
4204
4205         * lyxfunc.C (getStatus): add a missing brace in commented code
4206         (ensureBufferClean): reindent
4207         (dispatch): delete version taking a string
4208
4209 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * LaTeX.C (deplog): move found file handlig from here...
4212         (handleFoundFile): .. to new function here.
4213         (deplog): make sure to discover several files mentioned on the
4214         same log line.
4215
4216 2003-10-10  André Pönitz  <poenitz@gmx.net>
4217
4218         * lyxfunc.C:
4219         * lyxtext.h:
4220         * tabular.C:
4221         * text.C:
4222         * text2.C:
4223         * text3.C: fix some of the tabular crashes
4224
4225 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4226
4227         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4228
4229         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4230
4231 2003-10-09  André Pönitz  <poenitz@gmx.net>
4232
4233         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4234
4235         * BufferView.C:
4236         * BufferView_pimpl.C:
4237         * bufferview_funcs.C:
4238         * lyx_cb.C:
4239         * lyxcursor.C:
4240         * lyxfind.C:
4241         * lyxfunc.C:
4242         * lyxtext.h:
4243         * text.C:
4244         * text2.C:
4245         * text3.C:
4246         * text_funcs.[Ch]:
4247         * textcursor.[Ch]:
4248         * undo_funcs.C: adjust
4249
4250 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * text2.C (incrementItemDepth): new function, use a backtracking
4253         algorithm to discover the correct item depth.
4254         (resetEnumCounterIfNeeded): new function, use a backtracking
4255         algorithm to discover if counter reset is needed.
4256         (setCounter): use them. Simplify a bit. Add different labels for
4257         different item depths for itemize.
4258
4259         * paragraph.C (Paragraph): remove initialization of enumdepth
4260         (operator=): ditto
4261
4262         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4263         enumerate and itemize. Change the type of itemdepth to signed char.
4264
4265 2003-10-08  André Pönitz  <poenitz@gmx.net>
4266
4267         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4268           thing assignable.
4269         * text.C:
4270         * text2.C: adjust
4271
4272         * tabular.[Ch]: fix crash after 'row-insert'
4273
4274 2003-10-08  Angus Leeming  <leeming@lyx.org>
4275
4276         Fix doxygen warnings.
4277
4278         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4279         Remove CutAndPaste:: prefix from header file declaration.
4280
4281         * LColor.h (fill): remove LColor:: prefix from declaration.
4282
4283         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4284         use lyx::depth_type rather than Paragraph::depth_type so that
4285         header file and .C file match.
4286
4287         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4288
4289         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4290         * aspell.C: \file aspell_local.C -> \file aspell.C
4291         * gettext.C: \file gettext.C -> \file src/gettext.C
4292         * gettext.h: \file gettext.h -> \file src/gettext.h
4293         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4294         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4295         * text.C: \file text.C -> \file src/text.C
4296
4297         * toc.C: move comment so that doxygen is not confused.
4298
4299 2003-10-07  Angus Leeming  <leeming@lyx.org>
4300
4301         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4302
4303 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4304
4305         * aspell.C:
4306         * aspell_local.h: add forgotten std::string's.
4307
4308 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4309
4310         * LaTeXFeatures.C:
4311         * LyXAction.C:
4312         * factory.C:
4313         * lfuns.h:
4314         * lyxfunc.C:
4315         * text3.C: The Box patch. Fancybox support, minipage, parbox
4316
4317 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4318
4319         * CutAndPaste.h:
4320         * DepTable.h:
4321         * FloatList.h:
4322         * LaTeXFeatures.h:
4323         * ParagraphParameters.h:
4324         * TextCache.h:
4325         * Thesaurus.h:
4326         * bufferlist.h:
4327         * exporter.h:
4328         * importer.h:
4329         * lastfiles.h:
4330         * lyxfind.h:
4331         * lyxfont.h:
4332         * lyxlex.h:
4333         * lyxtextclasslist.h:
4334         * messages.h:
4335         * paragraph.h:
4336         * paragraph_pimpl.C:
4337         * textcursor.h: add <string> and other small fixes to make Lars'
4338         std::string patch compile with STLport.
4339
4340 2003-10-06  Angus Leeming  <leeming@lyx.org>
4341
4342         * LColor.h: Add missing #include <string>.
4343
4344 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * All most all file in all subdirs: Make <string> be the prefered
4347         way of getting to std::string, add using declarations.
4348
4349 2003-10-06  André Pönitz  <poenitz@gmx.net>
4350
4351         * metricsinfo.C: initialize LyXFont before changing attribute.
4352         (fixes the 'math in \emph is upright' bug)
4353
4354 2003-10-06  André Pönitz  <poenitz@gmx.net>
4355
4356         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4357
4358 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4359
4360         * graph.C:
4361         * paragraph_pimpl.C: Small fixes to build using STLport
4362
4363 2003-10-02  André Pönitz  <poenitz@gmx.net>
4364
4365         * lyxfunc.C:
4366         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4367
4368 2003-10-01  André Pönitz  <poenitz@gmx.net>
4369
4370         * factory.C: assert early
4371
4372 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4373
4374         * lyx_main.C: remove the global debug object
4375
4376         * debug.h: adjust for new debugstream
4377
4378         * debug.C: adjust for new debugstream and keep the global debug
4379         object here.
4380
4381 2003-09-22  Angus Leeming  <leeming@lyx.org>
4382
4383         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4384         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4385         an incomplete class LyXFont.
4386
4387 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4388
4389         * factory.C: bug fix in branches
4390
4391 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4392
4393         * lyxfunc.C (processKeySym): adjust
4394         (dispatch): adjust
4395         (dispatch): change arg name from ev to func, adjust
4396         (sendDispatchMessage): ditto
4397
4398         * lyx_main.C (defaultKeyBindings): adjust keybindings
4399         (deadKeyBindings): ditto
4400
4401         * kbsequence.C (addkey): return a FuncRequest
4402
4403         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4404
4405         * kbmap.C (bind): take a FuncRequest as arg, adjust
4406         (read): adjust
4407         (lookup): adjust
4408         (defkey): change to take a FuncRequest as arg, adjust
4409         (findbinding): take a FuncRequest as arg, adjust.
4410
4411         * funcrequest.h (operator=): added
4412
4413         * funcrequest.C (FuncRequest): default kb_action changed from
4414         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4415
4416         * buffer.C (dispatch): simplify
4417         (dispatch): adjust to take a FuncRequest as arg, adjust
4418
4419         * boost.C (assertion_failed): change assertion message slightly
4420
4421         * ToolbarBackend.C (read): simplify
4422
4423         * MenuBackend.C (binding): adjust call to findbinding, add a
4424         message if no binding is found.
4425         (read): simplify
4426         (expandToc): correct by adding a empty FuncRequest
4427
4428         * LyXAction.C: include <boost/assert.hpp>
4429         (isPseudoAction): delete function
4430         (LookupFunc): change name to...
4431         (lookupFunc): this. change return type to FuncRequest.
4432         (getActionName): take kb_action as arg, simplify
4433         (funcHasFlag): add an assert, simplify.
4434
4435 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * toc.C (action): return a FuncRequest, simplify
4438
4439         * lyxfunc.C (processKeySym): adjust
4440         (getStatus): delete version that takes an int.
4441         (getStatus): adjust
4442         (dispatch): delete version that takes action as int
4443         (dispatch): adjust
4444         (sendDispatchMessage): simplify and adjust
4445
4446         * funcrequest.C (getArg): take unsigned int as arg
4447
4448         * ToolbarBackend.C (read): adjust
4449         (add): delete version that takes func as a string.
4450         (getIton): take a FuncRequest as arg
4451
4452         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4453         action.
4454
4455         * MenuBackend.C (MenuItem): add a new construct that only takes a
4456         Kind, simplify the constructor use for submenus.
4457         (add): adjust
4458         (expandLastfiles): adjust
4459         (expandDocuments): adjust
4460         (expandFormats): adjust
4461         (expandFloatListInsert): adjust
4462         (expandFloatInsert): adjust
4463         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4464
4465         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4466         Remove class variables lyx_pseudo_map and lyx_arg_map
4467
4468         * LyXAction.C (searchActionArg): delete function
4469         (getPseudoAction): delete function
4470         (retrieveActionArg): delete function
4471         (LookupFunc): make it return kb_action, simplify.
4472         (getActionName): simplify
4473
4474         * factory.C (createInset): fix new bug
4475
4476 2003-09-19  Angus Leeming  <leeming@lyx.org>
4477
4478         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4479         masterFilename_ parameter in the include inset.
4480
4481         * factory.C (createInset): changes due to the changes to InsetInclude.
4482
4483 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4484
4485         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4486
4487 2003-09-18  Angus Leeming  <leeming@lyx.org>
4488
4489         * buffer.C:
4490         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4491         Inset::fillWithBibKeys.
4492         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4493
4494 2003-09-18  Angus Leeming  <leeming@lyx.org>
4495
4496         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4497         variables.
4498         (ctor): pass and store a 'Buffer const &'
4499         (buffer): new member function.
4500
4501         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4502         '*this' to the LaTeXFeatures ctor.
4503
4504 2003-09-18  Angus Leeming  <leeming@lyx.org>
4505
4506         * LColor.h:
4507         * lyxfont.C:
4508         * lyxfont.h:
4509         * lyxtext.h:
4510         * text.C: rename EnumLColor as LColor_color.
4511
4512 2003-09-18  Angus Leeming  <leeming@lyx.org>
4513
4514         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4515         remove #include "insets/insetbase.h" from cursor.h.
4516
4517 2003-09-18  Angus Leeming  <leeming@lyx.org>
4518
4519         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4520         InsetOld_code to remove #include "inset.h".
4521
4522         * iterators.C: add #include "insets/inset.h"
4523
4524 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4525
4526         * BufferView.C: remove more locking stuff that apparently doesn't
4527         do anything sensible.
4528
4529 2003-09-16  André Pönitz  <poenitz@gmx.net>
4530
4531         * paragraph.[Ch]:
4532         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4533           performance boost.
4534
4535 2003-09-16  Angus Leeming  <leeming@lyx.org>
4536
4537         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4538
4539         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4540         arg/return type.
4541
4542         * paragraph.h: remove #include "lyxfont.h". Forward declare
4543         LyXFont_size.
4544
4545 2003-09-16  Angus Leeming  <leeming@lyx.org>
4546
4547         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4548         of support/textutils.h.
4549         (isWord): move the contents of support/textutils.h's IsWordChar here.
4550
4551         * buffer.C:
4552         * lyxfind.C:
4553         * rowpainter.C:
4554         * text.C:
4555         * text2.C: add #include "paragraph.h".
4556
4557         * rowpainter.C:
4558         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4559
4560 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * main.C:
4563         * lyx_main.C:
4564         * lyx_cb.C:
4565         * buffer.C:
4566         * LaTeX.C: use namespace alias for lyx::support::os
4567
4568 2003-09-16  Angus Leeming  <leeming@lyx.org>
4569
4570         * bufferparams.C:
4571         * bufferview_funcs.C:
4572         * factory.C:
4573         * lyxfunc.C:
4574         * paragraph_pimpl.C:
4575         * rowpainter.C:
4576         * text.C: add #include "LColor.h".
4577
4578 2003-09-16  Angus Leeming  <leeming@lyx.org>
4579
4580         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4581         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4582         return LyXFont &.
4583         Store the FontBits::color variable as an int rather than as an
4584         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4585         file.
4586
4587         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4588         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4589         string calls together.
4590
4591         * lyxrc.C: add #include "LColor.h".
4592
4593 2003-09-15  Angus Leeming  <leeming@lyx.org>
4594
4595         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4596         a cow_ptr.
4597
4598 2003-09-15  Angus Leeming  <leeming@lyx.org>
4599
4600         * LColor.h: add an EnumLColor wrapper for LColor::color.
4601
4602         * lyxfont.[Ch] (color, setColor, realColor):
4603         * lyxtext.h, text.C (backgroundColor):
4604         pass EnumLColor args to/from the functions, rather than LColor::color
4605         ones.
4606
4607         * lyxfont.h:
4608         * lyxtext.h: forward declare EnumLColor.
4609
4610         * lyx_main.C: add #include "LColor.h".
4611
4612 2003-09-15  Angus Leeming  <leeming@lyx.org>
4613
4614         * .cvsignore: add lyx-gtk.
4615
4616 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * Chktex.C
4619         * LaTeX.C
4620         * LaTeXFeatures.C
4621         * ParagraphParameters.C
4622         * Spacing.C
4623         * buffer.C
4624         * bufferparams.C
4625         * bufferview_funcs.C
4626         * chset.C
4627         * counters.C
4628         * funcrequest.C
4629         * lyxfont.C
4630         * lyxgluelength.C
4631         * lyxlength.C
4632         * paragraph.C
4633         * paragraph_funcs.C
4634         * text3.C
4635         * vc-backend.C: remove usage of STRCONV
4636
4637 2003-09-15  Angus Leeming  <leeming@lyx.org>
4638
4639         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4640         explicitly define the color passed to the painter.
4641
4642 2003-09-15  Angus Leeming  <leeming@lyx.org>
4643
4644         * bufferparams.C (BufferParams): reorder member initializers to avoid
4645         compiler warning.
4646
4647 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4648
4649         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4650         * text.C (updateRowPositions): remove an unusual nop
4651
4652 2003-09-12  André Pönitz  <poenitz@gmx.net>
4653
4654         * BufferView_pimpl.C:
4655         * Bullet.C:
4656         * layout.h:
4657         * lyxfunc.C:
4658         * lyxlayout.[Ch]:
4659         * lyxtextclass.C:
4660         * rowpainter.C:
4661         * text.C:
4662         * text2.C:
4663         * Counters.[Ch]: finish the 'automatic counters' job
4664
4665 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4666
4667         * aspell.C: include <boost/assert.cpp> (compile fix)
4668
4669 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4670
4671         * boost.C (assertion_failed): use lyx::support::abort instead of
4672         assert.
4673
4674 2003-09-10  Angus Leeming  <leeming@lyx.org>
4675
4676         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4677         with their _fwd progeny.
4678
4679 2003-09-09  Angus Leeming  <leeming@lyx.org>
4680
4681         134 files throughtout the source tree: replace 'using namespace abc;'
4682         directives with the appropriate 'using abc::xyz;' declarations.
4683
4684 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4685
4686         * boost.C (emergencyCleanup): moved here from LAssert.c
4687         (assertion_failed): new function, called by BOOST_ASSERT
4688
4689         * several files: change Assert to BOOST_ASSERT
4690
4691 2003-09-09  Angus Leeming  <leeming@lyx.org>
4692
4693         * buffer.[Ch]: Add an Impl class and move Buffer's member
4694         variables into it. As a result move several header files out of
4695         buffer.h.
4696
4697         Add header files to lots of .C files all over the tree as a result.
4698
4699 2003-09-09  Angus Leeming  <leeming@lyx.org>
4700
4701         * buffer.[Ch]: make Buffer's member variables private. Add
4702         accessor functions.
4703
4704         Lots of changes all over the tree as a result.
4705
4706 2003-09-08  Angus Leeming  <leeming@lyx.org>
4707
4708         * graph.C: #include <config.h>.
4709
4710 2003-09-08  Angus Leeming  <leeming@lyx.org>
4711
4712         * BranchList.C:
4713         * BufferView.C:
4714         * BufferView_pimpl.C:
4715         * CutAndPaste.C:
4716         * DepTable.C:
4717         * LaTeX.C:
4718         * LaTeXFeatures.C:
4719         * LyXAction.C:
4720         * MenuBackend.C:
4721         * TextCache.C:
4722         * aspell.C:
4723         * buffer.C:
4724         * bufferlist.C:
4725         * changes.C:
4726         * chset.C:
4727         * converter.C:
4728         * counters.C:
4729         * debug.C:
4730         * graph.C:
4731         * ispell.C:
4732         * lyx_cb.C:
4733         * lyxfind.C:
4734         * lyxfunc.C:
4735         * lyxlex_pimpl.C:
4736         * lyxrc.C:
4737         * lyxrow.C:
4738         * paragraph.C:
4739         * rowpainter.C:
4740         * texrow.C:
4741         * text.C:
4742         * text2.C:
4743         * toc.C: remove redundant using directives.
4744
4745 2003-09-07  Angus Leeming  <leeming@lyx.org>
4746
4747         * LaTeXFeatures.h: remove #include "support/types.h".
4748         * ToolbarBackend.h: remove #include <algorithm>.
4749         * changes.h: remove #include <ctime>.
4750         * debug.h: remove #include <iosfwd>.
4751         * graph.h: remove #include "support/std_string.h".
4752         * lyx_main.h: remove #include <csignal>.
4753         * lyxlex_pimpl.h: remove #include <fstream>.
4754         * sgml.h: remove #include <algorithm>, <utility>.
4755         * toc.h: remove #include "support/std_ostream.h".
4756         Add #include <iosfwd>.
4757
4758 2003-09-07  Angus Leeming  <leeming@lyx.org>
4759
4760         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4761
4762         * converter.h: forward declare LatexRunParams.
4763         * encoding.h: remove #include "lyxrc.h".
4764         * lyxtext.h: remove #include "LColor.h".
4765         * lyxtextclass.h: remove #include "support/types.h".
4766         * trans.h: remove #include "tex-accent.h".
4767         * trans_mgr.h: remove #include "tex-accent.h".
4768         * insets/inset.h: remove #include "support/types.h", <vector>.
4769         * insets/insetcollapsable.h: remove #include "LColor.h".
4770         * insets/insetinclude.h: remove #include "dimension.h".
4771         * insets/insetlatexaccent.h: remove #include "dimension.h".
4772         * insets/insetoptarg.h:: remove #include "insettext.h".
4773         * insets/insettext.h: remove #include "dimension.h",
4774         <boost/shared_ptr.hpp>
4775
4776         * insets/renderers.h: add #include "dimension.h".
4777         * insets/updatableinset.h: add #include "support/types.h".
4778
4779         * many .C files: Associated changes.
4780
4781 2003-09-06  Angus Leeming  <leeming@lyx.org>
4782
4783         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4784         one, inside testInvariant.
4785
4786         * PrinterParams.C: new file.
4787         * PrinterParams.[Ch]: move the function bodies out of line.
4788
4789 2003-09-06  Angus Leeming  <leeming@lyx.org>
4790
4791         * ParagraphParameters.h: forward declare ParameterStruct rather than
4792         including its header file.
4793         (depth): moved out-of-line.
4794
4795 2003-09-06  Angus Leeming  <leeming@lyx.org>
4796
4797         * BufferView_pimpl.h:
4798         * kbmap.h:
4799         * kbsequence.h:
4800         * lyxfunc.h: forward declare LyXKeySym rather than
4801         #include "frontends/LyXKeySym.h".
4802
4803         * BufferView_pimpl.C:
4804         * kbmap.C:
4805         * kbsequence.C:
4806         * lyxfunc.C: associated changes.
4807
4808 2003-09-06  Angus Leeming  <leeming@lyx.org>
4809
4810         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4811         As a result, can remove the #include "insets/inset.h" from BufferView.h
4812
4813 2003-09-06  Angus Leeming  <leeming@lyx.org>
4814
4815         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4816         As a result, can remove the #include "insets/inset.h" from BufferView.h
4817
4818 2003-09-06  Angus Leeming  <leeming@lyx.org>
4819
4820         * buffer_funcs.C:
4821         * buffer.h:
4822         * bufferlist.C:
4823         * BufferView.C:
4824         * bufferview_funcs.C:
4825         * BufferView_pimpl.C:
4826         * CutAndPaste.C:
4827         * lyx_cb.C:
4828         * lyxfunc.C:
4829         * paragraph.h:
4830         * ParagraphParameters.C:
4831         * tabular.C:
4832         * text3.C:
4833         * toc.C:
4834         * undo_funcs.C:
4835         * frontends/controllers/ControlDocument.C:
4836         * insets/insetcaption.C: rearrange the #includes into some sort of
4837         coherent order.
4838
4839         * buffer.h: remove #includes ErrorList.h, undo.h
4840
4841 2003-09-06  Angus Leeming  <leeming@lyx.org>
4842
4843         * support/types.h: add a 'depth_type' typedef, used to store the
4844         nesting depth of a paragraph.
4845
4846         * paragraph.h:
4847         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4848         defining explicitly.
4849
4850         * buffer.h:
4851         * paragraph_funcs.h:
4852         * ParagraphParameters.h:
4853         * sgml.h: use lyx::depth_type rather than Paragraph or
4854         ParameterStruct's depth_type.
4855
4856         * buffer.h
4857         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4858
4859         * BufferView.C:
4860         * BufferView_pimpl.C:
4861         * CutAndPaste.C:
4862         * ParagraphParameters.C:
4863         * buffer_funcs.C:
4864         * bufferlist.C:
4865         * bufferview_funcs.C:
4866         * lyx_cb.C:
4867         * lyxfunc.C:
4868         * tabular.C:
4869         * text3.C:
4870         * toc.C:
4871         * undo_funcs.C:
4872         * frontends/LyXView.C:
4873         * frontends/controllers/ControlDocument.C:
4874         * frontends/controllers/ControlErrorList.C:
4875         * insets/insetbibitem.C:
4876         * insets/insetbranch.C:
4877         * insets/insetcaption.C:
4878         * insets/insetcollapsable.C:
4879         * insets/insetenv.C:
4880         * insets/insetert.C:
4881         * insets/insetfloat.C:
4882         * insets/insetfoot.C:
4883         * insets/insetfootlike.C:
4884         * insets/insetnewline.C:
4885         * insets/insetquotes.C:
4886         * insets/insettabular.C:
4887         * insets/insettext.C:
4888         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4889
4890         * frontends/controllers/ControlChanges.C: #include "changes.h".
4891
4892 2003-09-06  Angus Leeming  <leeming@lyx.org>
4893
4894         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4895         than #including paragraph.h.
4896
4897         * ParagraphList.h:
4898         * RowList.h: deleted. Superfluous.
4899
4900         * CutAndPaste.h:
4901         * iterators.h:
4902         * lyxcursor.h:
4903         * lyxtext.h:
4904         * text_funcs.h:
4905         * undo.h:
4906         * undo_funcs.h:
4907         * insets/inset.h:
4908         * insets/insettext.h: use ParagraphList_fwd.h rather than
4909         ParagraphList.h.
4910
4911         * paragraph.h: don't forward declare ParagraphList.
4912
4913         * buffer.h:
4914         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4915         rather than ParagraphList.h. paragraph.h is still needed for the
4916         Paragraph::depth_type parameters.
4917
4918         * textcursor.h: enable it to compile stand-alone in light of the
4919         above changes.
4920
4921         * bufferview_funcs.C:
4922         * iterators.C:
4923         * lyxfunc.C:
4924         * lyxrow_funcs.C:
4925         * paragraph.C:
4926         * rowpainter.C:
4927         * text.C:
4928         * text2.C:
4929         * text3.C:
4930         * text_funcs.C:
4931         * textcursor.C:
4932         * undo.C:
4933         * frontends/controllers/ControlParagraph.C:
4934         * frontends/controllers/ControlTabular.C:
4935         * insets/insetmarginal.C:
4936         * insets/insetminipage.C:
4937         * insets/insetnote.C:
4938         * insets/insetoptarg.C: add header files needed to compile again.
4939
4940 2003-09-06  Angus Leeming  <leeming@lyx.org>
4941
4942         * RowList_fwd.h: new file, forward-declaring Row rather than
4943         #including lyxrow.h.
4944
4945         * lyxrow_funcs.h:
4946         * lyxtext.h:
4947         * paragraph.h:
4948         * insets/insettext.h: use it instead of RowList.h
4949
4950         * bufferview_funcs.C:
4951         * lyxfunc.C:
4952         * lyxrow_funcs.C:
4953         * paragraph.C:
4954         * rowpainter.C:
4955         * text.C:
4956         * text2.C:
4957         * text3.C: #include "RowList.h".
4958
4959 2003-09-05  Angus Leeming  <leeming@lyx.org>
4960
4961         * factory.C (createInset):
4962         * vspace.C (c-tor): replace sscanf call with an istringstream.
4963         * ispell.C: re-add missing HP/UX headers.
4964         * lyxserver.C: re-add missing  os2 headers.
4965
4966 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4967
4968         * BranchList.C:
4969         * graph.C:
4970         * ispell.C:
4971         * lastfiles.C:
4972         * lyx_cb.C:
4973         * lyxserver.C:
4974         * texrow.C:
4975         * text3.C: re-add missing system headers, needed for 2.95.2.
4976
4977 2003-09-05  Angus Leeming  <leeming@lyx.org>
4978
4979         Changes most place everywhere due to the removal of using directives
4980         from support/std_sstream.h.
4981
4982 2003-09-05  Angus Leeming  <leeming@lyx.org>
4983
4984         Replace LString.h with support/std_string.h,
4985         Lsstream.h with support/std_sstream.h,
4986         support/LIstream.h with support/std_istream.h,
4987         support/LOstream.h with support/std_ostream.h.
4988
4989         Changes resulting throughout the tree.
4990
4991 2003-09-05  Angus Leeming  <leeming@lyx.org>
4992
4993         * sgml.h: ensure that the header file can be compiled stand-alone.
4994         * *.C: strip out redundant #includes. (320 in total.)
4995
4996 2003-09-04  Angus Leeming  <leeming@lyx.org>
4997
4998         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4999         here (from getPackages).
5000
5001         * debug.[Ch]: add a new EXTERNAL tag.
5002
5003 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5004
5005         * text2.C (cursorEnd): simplify
5006         (setCursor): adjust
5007         (getColumnNearX): adjust
5008
5009         * text.C (computeBidiTables): adjust
5010         (fill): adjust
5011
5012         * rowpainter.C (paintChars): adjust
5013         (paintSelection): adjust
5014         (paintChangeBar): adjust
5015         (paintText): adjust
5016
5017         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5018         lastPos instead.
5019         (numberOfSeparators): adjust
5020
5021 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5022
5023         * LyXAction.C:
5024         * box.[Ch]:
5025         * lfuns.h:
5026         * lyxfunc.C:
5027         * text3.C: Restricts the mouse click functionality
5028         of insets like bibtex, include, toc and floatlist to the visible
5029         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5030         up the dialogs. Cursor has to be in front of the inset (i.e.
5031         start of row) for this to function.
5032
5033 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5034
5035         * bufferview_funcs.C (currentState): output row information
5036
5037 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5038
5039         * bufferview_funcs.C (currentState): output paragraph position
5040
5041 2003-09-04  Angus Leeming  <leeming@lyx.org>
5042
5043         * FloatList.h: move out #include "Floating.h".
5044         * LaTeX.h: move out #include "DepTable.h".
5045         * LyXAction.h: move out #include "funcrequest.h".
5046         * buffer.h: move out #include "author.h", "iterators.h".
5047         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5048         * lyx_main.h: move out #include "errorlist.h".
5049         * lyxfunc.h: move out #include "FuncStatus.h".
5050         * lyxtext: move out #include "lyxcursor.h".
5051         * paragraph_pimpl.h: move out #include "counters.h".
5052
5053 2003-09-03  Angus Leeming  <leeming@lyx.org>
5054
5055         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5056         preamble_snippets list, enabling us to add snippets to the preamble
5057         only if the snippet was not there already.
5058
5059 2003-09-04  Angus Leeming  <leeming@lyx.org>
5060
5061         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5062
5063 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5064
5065         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5066         update
5067
5068 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5069
5070         * BranchList.C: point fix, earlier forgotten
5071
5072 2003-09-02  Angus Leeming  <leeming@lyx.org>
5073
5074         * box.C (contains): renamed from 'contained' after a fantastic
5075         amount of hot air.
5076
5077 2003-09-02  John Levon  <levon@movementarian.org>
5078
5079         * BufferView.C:
5080         * lyxcursor.h:
5081         * lyxcursor.C:
5082         * lyxfunc.C:
5083         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5084
5085 2003-09-02  John Levon  <levon@movementarian.org>
5086
5087         * text2.C: simplification of cursorEnd(), including partial
5088         fix for bug 1376
5089
5090 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * buffer.C (readFile): add a space
5093
5094 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5097
5098 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * buffer.C (readFile): new function, take a filename and a
5101         ParagraphList::iterator
5102         (readFile): adjust
5103         (readFile): adjust, make it private. don't use setStream, make
5104         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5105         always contain the filename.
5106
5107         * BufferView.C (insertLyXFile): simplify and make it work for
5108         gzipped files.
5109
5110 2003-08-30  John Levon  <levon@movementarian.org>
5111
5112         * Makefile.am: fix dist (from Kayvan)
5113
5114 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * most files: change to use const Buffer refs
5117
5118 2003-08-27  André Pönitz  <poenitz@gmx.net>
5119
5120         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5121         on top of ownerPar().
5122
5123 2003-08-27  John Levon  <levon@movementarian.org>
5124
5125         * funcrequest.C: properly initialise POD members
5126
5127 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5128
5129         * lyxtext.h (top_y): move top_y from here
5130         * text.C:
5131         * text2.C:
5132         * text3.C:
5133         * BufferView.[Ch]:
5134         * BufferView_pimpl.[Ch]: to here
5135         * frontends/screen.C:
5136         * insets/insettabular.C:
5137         * insets/insettext.C: adjust
5138         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5139
5140 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * BufferView.[Ch]:
5143         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5144
5145 2003-08-26  André Pönitz  <poenitz@gmx.net>
5146
5147         * paragraph_func.[Ch] (outerPar): new function
5148
5149         * paragraph.C:
5150         * paragraph_funcs.C:
5151         * paragraph_funcs.h:
5152         * paragraph_pimpl.C:
5153         * text2.C: remove Inset::par_owner
5154
5155 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5156
5157         * lyxrow_funcs.C:
5158         * lyxtext.h:
5159         * text.C:
5160         * text2.C: eliminates the needFullRow/display() stuff
5161         altogether, putting the logic in metrics/draw in the insets.
5162
5163 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5164
5165         * text2.C (redoParagraphInternal, redoParagraphs):
5166         * text.C (redoParagraph): add a call to updateRowPositions at the
5167         end of each 'metrics-like' call. Remove all others.
5168         (getRow): remove the 'y-computing' version.
5169         (getRowNearY): do not compute nor return the real y. Solve the
5170         'y < 0' problem and simplify.
5171
5172 2003-08-22  Angus Leeming  <leeming@lyx.org>
5173
5174         * *.[Ch]: clean-up of licence and author blurbs.
5175         Also move config.h out of a few .h files and into a few .C files.
5176
5177 2003-08-22  André Pönitz  <poenitz@gmx.net>
5178
5179         * lyxrow.[Ch]: add x_ and *fill_ members
5180
5181         * lyxtext.h:
5182         * text.C:
5183         * rowpainter.C:
5184         * text2.C: adjust/remove prepareToPrint() calls
5185
5186 2003-08-22  André Pönitz  <poenitz@gmx.net>
5187
5188         * lyxrow.[Ch]: add  end_ member
5189
5190         * lyxrow_funcs.C: use LyXRow::end_
5191
5192         * lyxtext.h (singleWidth): add LyXFont parameter
5193
5194         * rowpainter.C:
5195         * text2.C: adjust LyXText::singleWidth() calls
5196
5197         * text.C (redoParagraph): simplify row breaking logic
5198
5199
5200 2003-08-19  André Pönitz  <poenitz@gmx.net>
5201
5202         * funcrequest.C: initialize button_ member
5203
5204         * text3.C:
5205         * rowpainter.[Ch]: interface consolidation
5206
5207 2003-08-18  André Pönitz  <poenitz@gmx.net>
5208
5209         * BufferView.C:
5210         * BufferView_pimpl.C:
5211         * lyxfind.C:
5212         * paragraph_funcs.C:
5213         * rowpainter.C:
5214         * text3.C: remove LyXScreen::draw() and fitCursor calls
5215
5216         * BranchList.h: remove spurious semicolons
5217
5218         * MenuBackend.C: fix branchlist related crash
5219
5220 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5221
5222         * BranchList.[Ch]:
5223         * InsetList.[Ch]:
5224         * LColor.[Ch]:
5225         * LyXAction.C:
5226         * Makefile.am:
5227         * MenuBackend.[Ch]:
5228         * bufferparams.[Ch]:
5229         * factory.C:
5230         * lfuns.h:
5231         * lyxfunc.C:
5232         * text3.C: implements the 'branch inset'
5233         idea. This allows the output of various versions of a document
5234         from a single source version, selectively outputing or suppressing
5235         output of parts of the text.
5236         This implementation contains a 'branch list editor' in a separate
5237         tab of the document settings dialog. Branches are user definable
5238         and have a "display colour" to distinguish them on-screen.
5239
5240         ColorHandler was somewhat cleaned up.
5241         (1) make possible a dynamically growing LColor list by allowing
5242         the graphic context cache to grow along (vector);
5243         (2) eliminate an IMHO unnecessary step in colour allocation.
5244
5245 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5246
5247         * BufferView_pimpl.C: compile fix
5248
5249 2003-08-15  André Pönitz  <poenitz@gmx.net>
5250
5251         * rowpainter.C: remove extra metrics calls
5252
5253         * lyxtext.h: merge the two constructors into a single one,
5254           pass reference to owner's par list
5255
5256         * BufferView_pimpl.C:
5257         * text.C:
5258         * text2.C: adjust
5259
5260 2003-08-15  André Pönitz  <poenitz@gmx.net>
5261
5262         * lyxrow_funcs.[Ch]:
5263         * lyxtext.h:
5264         * paragraph.h:
5265         * paragraph_funcs.C:
5266         * rowpainter.C:
5267         * text.C:
5268         * text2.C:
5269         * text3.C:
5270         * text_funcs.C: split LyXText::rowlist_ into individual
5271         Paragraph::rows_ chunks
5272
5273         * BufferView.[Ch]:
5274         * BufferView_pimpl.[Ch]:
5275         * lyxfind.C:
5276         * lyxtext.h:
5277         * text3.C: remove toggleSelection()
5278
5279 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5280
5281         * bufferlist.C: beautify two alerts (shorter text of buttons)
5282         * buffer.C: Remove redundant ' ' from message
5283         * tabular.h:
5284         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5285         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5286         rename VALIGN_CENTER to VALIGN_MIDDLE
5287
5288 2003-08-11  André Pönitz  <poenitz@gmx.net>
5289
5290         * lyxtext.h (getPar):
5291         * text.C: new function
5292
5293 2003-08-11  André Pönitz  <poenitz@gmx.net>
5294
5295         * Makefile.am:
5296         * tracer.[Ch]: remove unneeded files
5297
5298         * InsetList.[Ch]: remove resizeInsetsLyXText()
5299
5300         * lyxtext.h:
5301         * text.C:
5302         * text2.C:
5303         * text3.C: merge insertParagraphs() and appendParagraph()
5304         remove breakAgain(), update()
5305
5306         * BufferView_pimpl.[Ch]:
5307         * bufferview_funcs.[Ch]:
5308         * lyxfunc.C:
5309         * paragraph.[Ch]:
5310         * rowpainter.C:
5311         * tabular.C: adjust after text & InsetList changes.
5312
5313 2003-08-08  André Pönitz  <poenitz@gmx.net>
5314
5315         * text.C (insertChar, backspace): replace rowlist fiddling
5316         with rebreak of full par
5317
5318         * lyxtext.h:
5319         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5320         checkParagraph, updateInset): removed
5321
5322 2003-08-07  André Pönitz  <poenitz@gmx.net>
5323
5324         * paragraph.C:
5325         * text3.C: merge some LFUN handlers, remove dead code
5326
5327 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5328
5329         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5330
5331 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * text2.C (DEPM): fix part of bug 1255 and 1256
5334
5335 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5336
5337         * BufferView_pimpl.C (workAreaDispatch): change to use
5338         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5339         that are no mouse related.
5340
5341 2003-08-05  André Pönitz  <poenitz@gmx.net>
5342
5343         * BufferView.[Ch]:
5344         * BufferView_pimpl.[Ch]:
5345         * bufferview_funcs.C:
5346         * text2.C:
5347         * text3.C: rip out "deep update"
5348
5349         * textcursor.[Ch] (last_sel_cursor): remove unused member
5350
5351 2003-08-04  André Pönitz  <poenitz@gmx.net>
5352
5353         * BufferView.[Ch]:
5354         * BufferView_pimpl.[Ch]:
5355         * ParagraphParameters.C:
5356         * bufferview_funcs.C:
5357         * lyx_cb.C:
5358         * lyxfind.C:
5359         * lyxfunc.C:
5360         * text.C:
5361         * text2.C:
5362         * text3.C: replace "complicated" BufferView::update(...) calls with
5363         simpler ones.
5364
5365         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5366
5367 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5368
5369         * Makefile.am (lyx_SOURCES): add paper.h
5370
5371 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5372
5373         * Makefile.am: move things around so that both lyx-qt and
5374         lyx-xforms can be built (according to --with-frontend). Then lyx
5375         is a symbolic link to lyx-[firstfrontend]
5376
5377 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5378
5379         * Always use std::endl with lyxerr
5380
5381 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5382
5383         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5384
5385 2003-08-01  André Pönitz  <poenitz@gmx.net>
5386
5387         * BufferView.[Ch]:
5388         * BufferView_pimpl.[Ch]:
5389         * lyxfunc.C:
5390         * text3.C: merge BufferView::repaint() and BufferView::update()
5391
5392 2003-08-01  José Matos  <jamatos@lyx.org>
5393
5394         * buffer.[Ch]: file_format is no longer a buffer data element.
5395
5396 2003-08-01  André Pönitz  <poenitz@gmx.net>
5397
5398         * BufferView.C:
5399         * lyxtext.h:
5400         * text.C:
5401         * text2.C: make redoParagraph more independent of current cursor
5402
5403         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5404         * text.C:
5405         * text2.C: remove unneeded members
5406
5407 2003-07-30  André Pönitz  <poenitz@gmx.net>
5408
5409         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5410
5411         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5412           create a single function...
5413
5414         * paragraph_funcs.C (moveItem): ... here.
5415
5416         * text.C:
5417           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5418
5419 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5420
5421         * LColor.[Ch]: Add comment and greyedout logical colors.
5422
5423 2003-07-30  André Pönitz  <poenitz@gmx.net>
5424
5425         * tabular.C: don't use Assert too heavily. This crashes where it
5426           shouldn't
5427
5428 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5429
5430         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5431         is disabled (bug 1232)
5432
5433 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5434
5435         * factory.C: limited 'arg' scope
5436
5437 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5438
5439         * factory.C: fixed Note submenu issues
5440
5441 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5442
5443         * factory.C: submenu for Note/Comment/Greyedout
5444
5445 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5446
5447         * lyx_main.C (LyX):
5448         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5449
5450 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5451
5452         * LaTeXFeatures.C:
5453         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5454         greyedout. Patch provided by Jürgen Spitzmüller.
5455
5456 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5457
5458         * kbmap.C (read): fix error message when reading bind files
5459
5460 2003-07-29  Angus Leeming  <leeming@lyx.org>
5461
5462         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5463         certainly does not do what it purports to do. I am doing it, and
5464         us, a favour by killing it.
5465
5466 2003-07-28  José Matos  <jamatos@lyx.org>
5467
5468         * buffer.C (readBody, do_writeFile):
5469         * paragraph.C(readParagraph): \end_document replaces \the_end.
5470
5471 2003-07-29  André Pönitz  <poenitz@gmx.net>
5472
5473         * BufferView.[Ch]:
5474         * BufferView_pimpl.[Ch]:
5475         * lyxfunc.C:
5476         * text2.C:
5477         * text3.C:
5478         * textcursor.[Ch]: remove toggleToggle & Co
5479
5480 2003-07-28  José Matos  <jamatos@fep.up.pt>
5481
5482         * buffer.C (readParagraph):
5483         * params_func (readParToken, readParagraph):
5484         * paragraph.C (write): \layout -> \begin_layout.
5485
5486 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * lyxlex_pimpl.C (setFile): clean up slightly.
5489
5490         * bufferparams.h: add compressed var
5491
5492         * buffer_funcs.C (readFile): adjust for LyXLex change
5493         (newFile): ditto + simplify
5494
5495         * buffer.C (writeFile): handle writing of compressed files
5496
5497         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5498         Check if the file is compressed and set a bufferparm if so.
5499
5500         * Makefile.am (lyx_LDADD): remove explicit -lz
5501
5502 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5503
5504         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5505         makeDocBookFile): put the real LyX version in the first line of
5506         the file
5507
5508         * version.h:
5509         * version.C.in: remove lyx_docversion
5510
5511         * tabular.C (write_attribute): add a template-based version to
5512         write enums properly
5513
5514 2003-07-28  André Pönitz  <poenitz@gmx.net>
5515
5516         * lyxtext.h:
5517         * text.C:
5518         * text2.C:
5519         * text3.C: use doubles again for x-coordinates. They are needed.
5520
5521 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * messages.C (getLocaleDir): use lyx_localedir()
5524
5525         * lyxlex_pimpl.C (setFile): compress stuff
5526
5527         * buffer.C (writeFile): add some compression stuff
5528         (do_writeFile): new func, dont call expliti close... will this
5529         breake anything?
5530
5531         * Makefile.am (lyx_LDADD): add -lz
5532
5533 2003-07-28  José Matos  <jamatos@fep.up.pt>
5534
5535         * buffer.C: increment file format.
5536         * paragraph_funcs (readParagraph, readParToken):
5537         * paragraph.C (readParagraph): add \end_layout.
5538
5539 2003-07-27  Angus Leeming  <leeming@lyx.org>
5540
5541         * Makefile.am: remove special casing for configure-time setting of
5542         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5543
5544         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5545         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5546
5547 2003-07-26  André Pönitz  <poenitz@gmx.net>
5548
5549         * paragraph_func.[Ch]:
5550         * paragraph.C (realizeFont): inline it whereever it is used
5551
5552         * rowpainter.C:
5553         * text.C:
5554         * text2.C:
5555         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5556
5557
5558 2003-07-26  André Pönitz  <poenitz@gmx.net>
5559
5560         *       lyxtext.h:
5561         * text.C:
5562         * text2.C: get rid of LyXText::need_break_row
5563
5564 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * toc.[Ch]: put namespace toc inside namespace lyx
5567
5568         * MenuBackend.C (expandToc2): adjust for lyx::toc
5569         (expandToc): ditto
5570
5571         * lyxfunc.C (dispatch): adjust for lyx::find
5572
5573         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5574         lyx::find instead. Reorganize a bit.
5575         (LyXReplace): rename to replace
5576         (LyXFind): rename to find
5577
5578         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5579         (dispatch): ditto
5580
5581 2003-07-26  André Pönitz  <poenitz@gmx.net>
5582
5583         * text.C (setHeightOfRow): restrict scope of temporary variable
5584
5585         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5586           code (never has been used?)
5587
5588 2003-07-27  Asger Alstrup  <alstrup@local>
5589
5590         * text.C (fill): Optimise algorithm to exploit that we can reuse
5591         the LyXFont for many characters.
5592         (setHeightOfRow): Same thing.
5593         (rowBreakPoint): Same thing.
5594
5595 2003-07-26  Asger Alstrup  <alstrup@local>
5596
5597         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5598
5599         * text.C (singleWidth): Spurious font copying in hot-spot
5600         singleWidth avoided. Reorder tests for arabic for efficiency.
5601
5602         * text.C (fill): handle empty paragraphs better.
5603
5604 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5605
5606         * ispell.C:
5607         * encoding.h: add includes
5608
5609         * lyxrc.C: remove reading of bind files
5610
5611         * lyx_main.C (init): setup bindings and menus only if we have a
5612         gui.
5613
5614         * kbmap.C (read): new method. Do the actual reading of bind
5615         files.
5616
5617         * converter.C (dvipdfm_options):
5618         * bufferparams.C:
5619         * lyxrc.C (read):
5620         (output): adapt PAPER_* enums.
5621
5622         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5623
5624         * bufferparams.h: remove paper-related enums from there
5625
5626         * paper.h: New file. A trivial header file to hold paper-related
5627         enums. It should later expand to contain many paper-related
5628         horrors access.
5629
5630         * lyxrc.C: declare extern displayTranslator
5631
5632 2003-07-27  José Matos  <jamatos@fep.up.pt>
5633
5634         * tabular.[Ch] (linuxdoc): add support for tables and figures
5635         (linuxdoc).
5636
5637 2003-07-27  José Matos  <jamatos@fep.up.pt>
5638
5639         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5640         consistency in both functions.
5641         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5642
5643 2003-07-26  Asger Alstrup  <alstrup@local>
5644
5645         * rowpainter.C (paintRows): Change algorithm to work directly on
5646         the insets rather than asking every character in the document
5647         whether its an inset.
5648
5649 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5650
5651         * buffer.C (openFileWrite): factorize some code
5652
5653 2003-07-26  Angus Leeming  <leeming@lyx.org>
5654
5655         * lyx_cb.C:
5656         * lyx_main.[Ch]: replace occurances of system_tempdir with
5657         os::getTmpDir().
5658
5659 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * rename Inset to InsetOld
5662
5663 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5664
5665         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5666         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5667         which I think is a bit clearer. EDIT is gone, since it was
5668         premature optimisation, and broken for mathed anyway.
5669         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5670         with cursor positioning in insets as well (math insets still do not
5671         work, but that's a different story anyway.) It mysteriously
5672         crashes sometimes with undo in the first paragraph, but I'm fairly
5673         confident that this is a compiler bug.
5674
5675 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * paragraph.C (Paragraph): adjust for new clone return type
5678         (operator==): ditto
5679         (copyIntoMinibuffer): ditto
5680
5681 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5682
5683         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5684         by not having a special case, and always doing a full rebreak of
5685         the document after undo.
5686
5687 2003-07-23  Angus Leeming  <leeming@lyx.org>
5688
5689         * factory.C (createInset): InsetExternal::setParams now takes a
5690         Buffer const * arg.
5691
5692 2003-07-23  Angus Leeming  <leeming@lyx.org>
5693
5694         * factory.C (createInset): changed interface to the external and
5695         graphics mailers' string2params functions.
5696
5697 2003-07-23  Angus Leeming  <leeming@lyx.org>
5698
5699         * factory.C (createInset): pass a
5700         Buffer const * parameter to InsetExternalMailer's string2params.
5701
5702 2003-07-22  John Levon  <levon@movementarian.org>
5703
5704         * Thesaurus.h: include the right aiksaurus header
5705
5706 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5707
5708         * MenuBackend.C (expand): check menu shortcuts unconditionally
5709
5710 2003-07-21  Angus Leeming  <leeming@lyx.org>
5711
5712         * factory.C (createInset): pass a
5713         buffer_path parameter to InsetGraphicsMailer's string2params.
5714
5715 2003-07-21  Angus Leeming  <leeming@lyx.org>
5716
5717         * BufferView_pimpl.C (buffer):
5718         * buffer.C (d-tor):
5719         * lyx_main.C (LyX):
5720         * lyxfunc.C (dispatch):
5721         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5722         rather than the grfx shortcut.
5723
5724 2003-07-21  André Pönitz  <poenitz@gmx.net>
5725
5726         * rowpainter.C: remove unused variables
5727
5728         * tabular_funcs.C:
5729         * tabular_funcs.h: move to tabular.C
5730         * Makefile.am: adjust
5731
5732         * tabular.[Ch]: basic optical cleaning
5733
5734         * author.h: pass references, not values
5735
5736 2003-07-18  André Pönitz  <poenitz@gmx.net>
5737
5738         * lyxtext.h:
5739         * metricsinfo.C:
5740         * metricsinfo.h:
5741         * rowpainter.C:
5742         * text.C:
5743         * text2.C:
5744         * text3.C: two-phase drawing for InsetText and InsetTabular
5745         some float -> int changes.
5746
5747 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5748
5749         * lyx_main.C: fix the fix
5750
5751 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5752
5753         * lyx_main.C: fix a crash in batch mode if no files specified
5754         * converter.C: ws
5755
5756 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5757
5758         * format.[Ch] (papersize): moved to BufferParams
5759         * converter.[Ch] (dvips_options): moved to BufferParams
5760         (dvipdfm_options): moved to anon namespace
5761         * bufferparams.[Ch]: added above functions.
5762
5763 2003-07-17  André Pönitz  <poenitz@gmx.net>
5764
5765         * lyxtext.h:
5766         * rowpainter.C:
5767         * text2.C: don't call inset->update() anymore
5768
5769         * metricsinfo.[Ch]: add convenience constructor
5770
5771 2003-07-16  André Pönitz  <poenitz@gmx.net>
5772
5773         * lyxcursor.[Ch]:
5774         * lyxfunc.[Ch]:
5775         * text.C:
5776         * text2.C: replace the LyXCursor::irow_ member with
5777          on-demand computation of the value
5778
5779 2003-07-16  John Levon  <levon@movementarian.org>
5780
5781         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5782
5783 2003-07-15  André Pönitz  <poenitz@gmx.net>
5784
5785         * text.C:
5786         * text2.C: remove no more needed refresh_row
5787
5788 2003-07-15  André Pönitz  <poenitz@gmx.net>
5789
5790         * lyxtext.h:
5791         * rowpainter.C:
5792         * text2.C:
5793         * text3.C: refresh_status tristate -> need_update bool
5794
5795 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5796
5797         * lyxtext.h (init): remove reinit argument (act as if always true)
5798         * text2.C: adjust to that
5799
5800 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5801
5802         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5803         * text3.C: use it to delete selections in some cases
5804         (bugs 441, 673, 702, 954).
5805
5806 2003-07-14  André Pönitz  <poenitz@gmx.net>
5807
5808         * rowpainter.[Ch]: reduce interface
5809
5810 2003-07-14  André Pönitz  <poenitz@gmx.net>
5811
5812         * BufferView_pimpl.C:
5813         * text2.C: adjust after removing unused BufferView * argument
5814
5815 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5816
5817         * text2.C (init): fix a crash fired on resize
5818
5819 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5820
5821         * buffer.[Ch]: added new closing signal
5822         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5823         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5824         BufferView::Pimpl via the closing the signal
5825
5826 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5827
5828         * buffer.[Ch]: take out all bv-related from buffer
5829         * BufferView.C:
5830         * BufferView_pimpl.[Ch]: connect to new signals
5831         * CutAndPaste.C: removed useless asserts
5832         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5833         * lyxvc.[Ch]:
5834         * vc-backend.[Ch]:
5835         * lyxfunc.C: moved view-related funciontality from vc here
5836         * paragraph.C: removed outdated comments
5837         * text.C: ws
5838
5839 2003-07-10  André Pönitz  <poenitz@gmx.net>
5840
5841         * BufferView_pimpl.C:
5842         * tabular.h:
5843         * tabular_funcs.C:
5844         * text.C:
5845         * text2.C: remove InsetText::InnerCache, clean up consequences
5846
5847 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5848
5849         * ispell.C: fix two typos in error messages
5850
5851 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5852
5853         * Extend Note inset to other forms of annotation like Comment
5854         and Greyedout. Right button click gives dialog.
5855
5856         Files modified or added (+):
5857
5858         * insetnote.[Ch]
5859         * FormNote.[Ch]      +
5860         * ControlNote.[Ch]   +
5861         * form_note.fd       +
5862         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5863         frontends/controllers
5864         * xforms/Dialogs.C
5865         * factory.C
5866
5867 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5868
5869         * aspell.C: add missing namespace lyx::support
5870
5871 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5872
5873         * BufferView.[Ch] (newFile): Add
5874         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5875         * LaTeX.[Ch] (message): added this signal and use it
5876         * buffer.[Ch] (busy, message): added these signals and use them
5877         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5878         * converter.C:
5879         * exporter.C:
5880         * format.C:
5881         * importer.C: use buffer signals instead of direct bv calling
5882         * lyx_cb.[Ch] (ShowMessage): removed
5883         * lyx_main.C:
5884         * lyxfunc.C:
5885         * paragraph_funcs.C:
5886         * text2.C: use buffer signals
5887
5888 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5889
5890         * introduce namespace lyx::graphics
5891
5892 2003-07-02  André Pönitz  <poenitz@gmx.net>
5893
5894         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5895
5896 2003-07-01  André Pönitz  <poenitz@gmx.net>
5897
5898         * text.C:
5899         * text2.C:
5900         * text3.C:
5901         * text_funcs.[Ch]:
5902         * textcursor.h:
5903         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5904           text*.C to text_func.C
5905
5906 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * introduce namespace lyx::support
5909
5910 2003-06-30  André Pönitz  <poenitz@gmx.net>
5911
5912         * Chktex.C:
5913         * funcrequest.C:
5914         * lyxtext.h:
5915         * text.C: re-enable --with-included-string
5916
5917 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * textcursor.C: add <config.h>
5920
5921         * text.C (getWord): remove const from word_location arg
5922
5923         * lyxvc.C (getLogFile): fix const type order
5924
5925         * lyxtext.h: remove const from word_location arg, add arg name
5926
5927         * lyxlayout.h: currect type on labeltype.
5928
5929         * importer.C: correct \file
5930
5931         * converter.C (intToFormat): use std:: on ret val, ws changes
5932
5933         * bufferlist.h: correct \file
5934
5935         * buffer.C (makeLinuxDocFile): fix const type order
5936         (makeDocBookFile): ditto
5937         (fillWithBibKeys): use std:: on stdlib args.
5938
5939         * CutAndPaste.C: fix authors.
5940         (availableSelections): use std:: on return vector
5941
5942 2003-06-27  André Pönitz  <poenitz@gmx.net>
5943
5944         * BufferView_pimpl.C:
5945         * bufferview_funcs.C:
5946         * lyxcursor.C:
5947         * lyxcursor.h:
5948         * lyxfunc.C:
5949         * lyxtext.h:
5950         * rowpainter.C:
5951         * text.C:
5952         * text2.C:
5953         * text3.C: remove LyXCursor::row_ member
5954
5955         * lyxtext.h:
5956         * text.C: rename fullRebreak() to partialRebreak() and implement
5957           a fullRebreak() that really bereks fully
5958
5959         * textcursor.h: new struct for cursor-related data
5960
5961 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5962
5963         * lyx_main.C (LyX): get full path of document loaded on the
5964         command line
5965
5966 2003-06-26  André Pönitz  <poenitz@gmx.net>
5967
5968         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5969           remove unused/broken operator>,<,>=.
5970
5971         *       text.C: remove only use of broken operator<= in an Assert().
5972
5973 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5974
5975         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5976         moved errorlist_.clear to showErrorList
5977
5978 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5979
5980         * converter.C (scanLog, runLaTeX):
5981         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5982         move the bv->showErrorList call to the callers
5983         * lyxfunc.C: i.e. here...
5984         * text2.C: and here
5985         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5986         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5987         namespace, the second to...
5988         * buffer_funcs (BufferFormat, parseErrors): added
5989         * errorlist.C (ErrorList(TeXErrors const &)): removed
5990
5991 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5992
5993         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5994
5995 2003-06-24  "Garst R. Reese" <reese@isn.net>
5996
5997         * debug.C: fix typo
5998
5999 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6000
6001         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6002
6003         * version.C.in: change docversion to 1.4
6004
6005 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6006
6007         * buffer.C: fix a bug just introduced
6008
6009 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6010
6011         * buffer.[Ch]: added the parseError signal and use it, removed
6012         sgmlError
6013         * BufferView.[Ch] (addError): moved to ...
6014         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6015         to the Buffer::parseError signal to catch (guess what) parse errors
6016         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6017
6018 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6019
6020         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6021         ability to create a buffer and to return an existing one from
6022         the list. Moved these functions to...
6023         * buffer_funcs.[Ch]: added
6024         * BufferView.[Ch] (loadLyXFile): added
6025         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6026         job removed from bufferlist::loadLyXFile.
6027         * buffer.C (setReadOnly): make it work without view
6028         (i.e added an if (users))
6029
6030 2003-06-19  Angus Leeming  <leeming@lyx.org>
6031
6032         * lfuns.h:
6033         * LyXAction.C (init):
6034         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6035         with LFUN_DIALOG_SHOW <name> <data>.
6036
6037 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6038
6039         * CutAndPaste.C (availableSelections): small compilation fix for
6040         ancient (gcc 2.9x) compilers
6041
6042 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * text3.C (cursorNext): add tmp var
6045
6046         * text2.C (updateCounters): for function calling out of for clause
6047         (replaceSelectionWithString): ditto
6048         (insertStringAsParagraphs): ditto
6049         (getColumnNearX): add tmp var
6050         (setCursorFromCoordinates): add tmp var
6051         (cursorDownParagraph): add tmp var
6052         (deleteEmptyParagraphMechanism): add tmp var
6053
6054         * text.C (insertChar): add tmp var
6055
6056         * rowpainter.C (paintDepthBar): add tmp var
6057
6058         * CutAndPaste.C (availableSelections): potentially check all
6059         paragraphs in a cut to fill the shown strings.
6060
6061 2003-06-18  André Pönitz  <poenitz@gmx.net>
6062
6063         * kbmap.[Ch]: use vector<> instead of list<>
6064
6065 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6066
6067         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6068         pasteSelection with index
6069
6070         * text2.C (pasteSelection): modify, call pasteSelection with index
6071
6072         * paragraph.C (asString): reimplement version with no interval to
6073         call the one with interval.
6074
6075         * lyxtext.h: add index arg to pasteSelection
6076
6077         * MenuBackend.C (MenuItem): handle PasteRecent
6078         (Menu::read::Menutags): add md_pasterecent
6079         (read): handle it
6080         (expandPasteRecent): new function
6081         (expand): use it
6082
6083         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6084
6085         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6086         the limited stack
6087         (availableSelections): new function
6088
6089 2003-06-17  Angus Leeming  <leeming@lyx.org>
6090
6091         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6092
6093 2003-06-17  Angus Leeming  <leeming@lyx.org>
6094
6095         * lfuns.h:
6096         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6097
6098         * lyxfunc.C (dispatch): invoke it.
6099
6100 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6101
6102         * iterators.C (operator++, ParPosition): reintroduce some
6103         const_cast for the benefit of older compilers.
6104
6105 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6106
6107         * text3.C (dispatch): do not modify clipboard when doing
6108         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6109         LFUN_DELETE_SKIP on a selection selection
6110
6111 2003-06-16  André Pönitz  <poenitz@gmx.net>
6112
6113         * BufferView.C:
6114         * buffer.C:
6115         * buffer.h:
6116         * paragraph.C:
6117         * tabular.[Ch]: IU of clone() and getLabelList();
6118
6119 2003-06-13  André Pönitz  <poenitz@gmx.net>
6120
6121         * tabular.h: compactification
6122
6123 2003-06-12  André Pönitz  <poenitz@gmx.net>
6124
6125         * tabular.C:
6126         * tabular.h:
6127         * tabular_funcs.h: some renaming plus whitespace
6128
6129 2003-06-12  André Pönitz  <poenitz@gmx.net>
6130
6131         * BufferView.C:
6132         * BufferView_pimpl.C:
6133         * CutAndPaste.C:
6134         * buffer.C:
6135         * iterators.[Ch]:
6136         * lyxfunc.C:
6137         * text.C:
6138         * toc.C: Return a Paragraph & for ParIterator::operator*()
6139
6140 2003-06-11  John Levon  <levon@movementarian.org>
6141
6142         * lyx_main.C:
6143         * ToolbarBackend.h:
6144         * ToolbarBackend.C: add "Toolbars" section and
6145         put the flags there
6146
6147 2003-06-10  Angus Leeming  <leeming@lyx.org>
6148
6149         * lfuns.h:
6150         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6151
6152         * lyxfunc.C (dispatch): invoke it.
6153
6154 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * main.C: protect <ios> with HAVE_IOS
6157         (main): protect sync_with_stdio with HAVE_IOS
6158
6159 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6160
6161         * text2.C (cutSelection): adjust
6162         (pasteSelection): adjust
6163
6164         * messages.C: handle get of empty string
6165
6166         * main.C (main): use sync_with_stdio(false)
6167
6168         * lyxfunc.C (dispatch): adjust
6169
6170         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6171         (WriteAs): remove unneeded BufferView arg.
6172
6173         * bufferparams.h: use correct types on papersize, papersize2 and
6174         paperpackage.
6175
6176         * bufferparams.C (readToken): adjust for type
6177         (writeLaTeX): add missing cases to switch.
6178
6179         * bufferlist.C (quitWriteBuffer): adjust
6180         (close): adjust
6181
6182         * buffer.C (asciiParagraph): remove some commented code.
6183
6184         * CutAndPaste.C: remove current_view extern variable.
6185         (cutSelection): add BufferParams arg.
6186         (eraseSelection): add BufferParams arg.
6187         (pasteSelection): add Buffer const & arg
6188
6189 2003-06-07  John Levon  <levon@movementarian.org>
6190
6191         * buffer.C:
6192         * paragraph_funcs.C:
6193         * paragraph_pimpl.C:
6194         * text.C:
6195         * text2.C:
6196         * paragraph.h:
6197         * paragraph.C: allow InsetERT to freely space lines,
6198         and some consolidation of code
6199
6200 2003-06-06  José Matos  <jamatos@fep.up.pt>
6201
6202         * buffer.C (makeDocBookFile): fix bug #821
6203
6204 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6205
6206         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6207
6208 2003-06-04  Angus Leeming  <leeming@lyx.org>
6209
6210         * buffer.C: bump format to 224.
6211
6212 2003-06-05  André Pönitz  <poenitz@gmx.net>
6213
6214         * text2.C (redoParagraphs): remove two const_cast<>
6215
6216 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6217
6218         * ParagraphList.h: remove last remnants of NO_STD_LIST
6219
6220 2003-06-03  Angus Leeming  <leeming@lyx.org>
6221
6222         * factory.C (createInset): small change to the way InsetExternal's params
6223         are set.
6224
6225 2003-06-04  André Pönitz  <poenitz@gmx.net>
6226
6227         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6228
6229         * paragraph_pimpl.h:
6230         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6231
6232         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6233
6234         * undo_funcs.C: make some simple cases of undo work again
6235
6236 2003-06-03  John Levon  <levon@movementarian.org>
6237
6238         * ispell.C: HPUX doesn't have sys/select.h
6239         (from Albert Chin)
6240
6241 2003-06-03  John Levon  <levon@movementarian.org>
6242
6243         * CutAndPaste.C: update tabular and include inset
6244         buffer references
6245
6246         * buffer.h:
6247         * paragraph.h:
6248         * paragraph.C: remove owningBuffer(), don't pass Buffer
6249         to clone()
6250
6251         * factory.C: insetGraphicsParams changed
6252
6253 2003-06-02  John Levon  <levon@movementarian.org>
6254
6255         * LyXAction.C:
6256         * factory.C:
6257         * lfuns.h:
6258         * lyxfunc.C:
6259         * text3.C: remove insetparent
6260
6261 2003-06-02  John Levon  <levon@movementarian.org>
6262
6263         * buffer.h:
6264         * buffer.C: fix inset_iterator.end(), move out of line
6265         (bug 1149)
6266
6267 2003-06-01  John Levon  <levon@movementarian.org>
6268
6269         * text3.C: use a proper cut/paste when doing inset
6270         insert (from Jürgen Spitzmüller)
6271
6272 2003-06-01  John Levon  <levon@movementarian.org>
6273
6274         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6275
6276 2003-05-30  André Pönitz  <poenitz@gmx.net>
6277
6278         * rowpainter.C: unify second drawing phase
6279
6280 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * trans_mgr.C: remove one case of current_view
6283
6284         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6285
6286         * paragraph_funcs.h: remove paragraph.h include
6287
6288         * paragraph.h: delete NO_STD_LIST stuff
6289
6290         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6291
6292         * buffer.h: remove paragraph.h include
6293
6294         * ParagraphList.C: delete file
6295
6296         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6297
6298         * toc.C (getTocList): adjust
6299
6300         * paragraph_pimpl.C (validate): adjust
6301
6302         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6303
6304         * paragraph.C (Paragraph): adjust
6305         (getPositionOfInset): use const_iterator, adjust
6306         (bibitem): use const_iterator, adjust
6307         (setInsetOwner): adjust
6308
6309         * iterators.C (operator++): adjust
6310
6311         * InsetList.[Ch]: Replace selfmade iterator with standard
6312         vector::iterator also introduce const_iterator. Remove getPos,
6313         getInset and setInset from InsetTable. Adjust accordingly.
6314
6315         * BufferView.C (lockInset): adjust
6316         (ChangeInsets): adjust
6317
6318         * tabular.[Ch]: delete commented same_id functions
6319
6320 2003-05-28  John Levon  <levon@movementarian.org>
6321
6322         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6323
6324 2003-05-28  André Pönitz  <poenitz@gmx.net>
6325
6326         * metricsinfo.[Ch]: remove 'fullredraw' member
6327
6328 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6329
6330         * lyxtextclass.C (operator): remove caching.
6331
6332 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * text3.C: adjust
6335
6336         * text2.C (cursorBottom): adjust
6337         (setCounter): use ParagraphList::find, adjust
6338
6339         * text.C (workWidth): use ParagraphList::find, adjust
6340
6341         * lyxcursor.C (LyXCursor): adjust
6342
6343         * buffer.C (inset_iterator): adjust
6344
6345         * ParagraphList.h: make iterator(value_type) private, make
6346         ParagraphList a friend of iterator.
6347
6348         * ParagraphList.C (find): new function
6349
6350         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6351
6352 2003-05-27  André Pönitz  <poenitz@gmx.net>
6353
6354         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6355
6356 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6357
6358         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6359
6360 2003-05-26  John Levon  <levon@movementarian.org>
6361
6362         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6363
6364 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * remove same_id from function signatures, adjust.
6367
6368 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6369
6370         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6371
6372         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6373
6374         * paragraph.C (Paragraph): get rid of same_ids parameter
6375
6376         * ParagraphList.C (insert): adjust
6377         (push_back): adjust
6378
6379 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * paragraph_funcs.C (breakParagraph): adjust
6382         (breakParagraphConservative): adjust
6383
6384         * buffer.C (readParagraph): adjust
6385
6386         * ParagraphList.C (insert): take a reference instead of a pointer
6387         (insert): adjust
6388
6389         * paragraph.[Ch] (id): new function
6390
6391         * bufferlist.C (newFile): adjust
6392
6393         * ParagraphList.C (ParagraphList): adjust
6394         (assign): adjust
6395         (push_back): take a reference instead of a pointer.
6396
6397         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6398
6399         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6400         instead.
6401
6402         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6403         set else use old code.
6404
6405         * ParagraphList.C: remove all NO_NEXT code and only compile this
6406         code of NO_STD_LIST is set.
6407
6408 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6409
6410         * BufferView_pimpl.C:
6411         * TextCache.C:
6412         * TextCache.h:
6413         * bufferlist.C:
6414         * errorlist.h:
6415         * format.C:
6416         * format.h:
6417         * graph.C:
6418         * lyxfunc.C:
6419         * lyxrc.C:
6420         * graphics/GraphicsConverter.C:
6421         * graphics/PreviewLoader.C: header adjustment
6422
6423 2003-05-23  Angus Leeming  <leeming@lyx.org>
6424
6425         * LaTeXFeatures.[Ch] (useBabel): new method.
6426         * bufferparams.C (writeLaTeX): use it.
6427
6428 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6429
6430         * ParagraphList.h (set): remove unused function.
6431
6432 2003-05-23  André Pönitz  <poenitz@gmx.net>
6433
6434         * BufferView.C:
6435         * BufferView_pimpl.C:
6436         * buffer.C:
6437         * buffer.h:
6438         * lyxfunc.C:
6439         * undo_funcs.C: setUndo reworked
6440
6441         * iterators.[Ch]: add access to topmost ParagraphList
6442
6443         * lyxtext.[Ch] (workWidth): add a const
6444
6445 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6446
6447         * texrow.[Ch] (increasePos): remove function
6448         * exporter.C (export): removed unused var and outdated comment
6449
6450 2003-05-23  Angus Leeming  <leeming@lyx.org>
6451
6452         * latexrunparams.h: rename fragile as moving_arg.
6453         * paragraph.C (simpleTeXOnePar): ditto.
6454         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6455
6456 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6457
6458         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6459         (createUndo): ditto
6460         (textUndoOrRedo): comment out a currently unused var.
6461
6462         * paragraph.h (NO_NEXT): enable NO_NEXT
6463
6464         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6465
6466         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6467
6468         * exporter.C (Export): adjust for removeAutoInsets removal.
6469
6470         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6471
6472         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6473
6474         * BufferView.[Ch] (removeAutoInsets): delete function
6475
6476 2003-05-22  Angus Leeming  <leeming@lyx.org>
6477
6478         * latexrunparams.h: add a free_spacing variable.
6479
6480         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6481         to pass moving_arg, as the data is stored in runparams.fragile.
6482
6483         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6484         to Inset::latexOptional or to simpleTeXOnePar.
6485
6486         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6487         free_spacing arg to Inset::latexOptional.
6488
6489         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6490         free_spacing arg.
6491
6492 2003-05-22  Angus Leeming  <leeming@lyx.org>
6493
6494         * latexrunparams.h: add fragile and use_babel variables.
6495
6496         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6497         * buffer.C (makeLaTeXFile): store this returned value in
6498         runparams.use_babel, thus passing it to the inset::latex methods.
6499
6500         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6501         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6502
6503         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6504         longer has a fragile arg, as it is stored in runparams.fragile.
6505
6506         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6507         moving_arg parameter as the data is stored in runparams.fragile.
6508
6509         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6510         a fragile parameter as the data is stored in runparams.fragile.
6511
6512 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6515
6516 2003-05-22  Angus Leeming  <leeming@lyx.org>
6517
6518         * latexrunparams.h: add a 'bool nice' which defaults to false.
6519
6520         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6521         now encapsulated within runparams.
6522
6523         * bufferlist.C (updateIncludedTeXfiles):
6524         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6525
6526 2003-05-22  Angus Leeming  <leeming@lyx.org>
6527
6528         * latexrunparams.h: new file containing struct LatexRunParams.
6529         * Makefile.am: add new file.
6530
6531         * LaTeX.[Ch] (c-tor, run):
6532         * buffer.[Ch] (makeLaTeXFile):
6533         * bufferlist.[Ch] (updateIncludedTeXfiles):
6534         * converter.C (convert, scanLog):
6535         * converter.[Ch] (runLaTeX):
6536         * exporter.C (Export):
6537         * paragraph.[Ch] (simpleTeXOnePar):
6538         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6539         * paragraph_funcs.[Ch] (latexParagraphs):
6540         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6541         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6542         pass around a LatexRunParams parameter.
6543
6544 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6545
6546         * paragraph.[Ch]: remove unused constructor
6547
6548         * ParagraphList.C (erase): new function, taking two iterators
6549
6550 2003-05-22  André Pönitz  <poenitz@gmx.net>
6551
6552         * undo_funcs.C: remove duplicated code
6553
6554         * iterator.[Ch]: operator=
6555
6556 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * tabular.C (SetMultiColumn): ws changes
6559
6560         * rowpainter.C (paintFirst): get rid of a ->previous
6561
6562         * lyx_cb.C (getPossibleLabel): parlist simplification
6563
6564         * BufferView.C (ChangeInsets): simplify slightly.
6565
6566 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6567
6568         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6569         * lfuns.h: new LFUN_SPACE
6570         * lyxfunc.C: protected space has a new lfun
6571         * paragraph_funcs.C: read new space insets
6572         * text3.C:
6573         * factory.C: handle new space insets
6574
6575 2003-05-22  André Pönitz  <poenitz@gmx.net>
6576
6577         * BufferView.C:
6578         * BufferView_pimpl.C:
6579         * buffer.[Ch]:
6580         * lyxfunc.C:
6581         * undo_funcs.C: return a ParIterator from getParFromID.
6582
6583         * iterators.[Ch]: add two const's
6584
6585 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * toc.C (getTocList): adjust
6588
6589         * iterators.[Ch]: rework for parlist
6590
6591         * buffer.C (par_iterator_begin): adjust
6592         (par_iterator_end): adjust
6593
6594         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6595
6596         * BufferView.C (removeAutoInsets): adjust
6597         (ChangeInsets): adjust
6598
6599 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6600
6601         * text.C (top_y): fix bug 1110
6602
6603 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6604
6605         * errorlist.[Ch]: added
6606         * buffer.C:
6607         * BufferView.[Ch]:
6608         * BufferView_pimpl.C:
6609         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6610         instead
6611
6612 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * Makefile.am: ensure that lyx is relinked upon changes to the
6615         various "convenience" libs.
6616
6617 2003-05-20  Angus Leeming  <leeming@lyx.org>
6618
6619         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6620         files are compiled in alphabetical order again.
6621
6622         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6623
6624 2003-05-19  Angus Leeming  <leeming@lyx.org>
6625
6626         * gettext.[Ch]: remove "char const * _(char const *)".
6627
6628 2003-05-19  André Pönitz  <poenitz@gmx.net>
6629
6630         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6631
6632         * Makefile.am:
6633         * BufferView.C:
6634         * DepTable.h:
6635         * LaTeXFeatures.C:
6636         * buffer.C:
6637         * lyxfont.C:
6638         * lyxlex.h:
6639         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6640
6641 2003-05-19  André Pönitz  <poenitz@gmx.net>
6642
6643         * buffer.C:
6644         * lyxlayout.[Ch]:
6645         * lyxtextclass.[Ch]:
6646         * paragraph.C:
6647         * paragraph_funcs.[Ch]:
6648         * text2.C:
6649         * text3.C: more insetenv work
6650
6651 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6652
6653         * ParagraphParameters.C (params2string): small bug fixed
6654
6655 2003-05-16  André Pönitz  <poenitz@gmx.net>
6656
6657         * debug.C:
6658         * bufferview_funcs.C: patch from Kornel Benko to prevent
6659           crash when _(...) is called twice in a statement
6660
6661 2003-05-16  André Pönitz  <poenitz@gmx.net>
6662
6663         * BufferView.C:
6664         * lyxfunc.C:
6665         * text.C:
6666         * text2.C:
6667         * text3.C:
6668         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6669
6670 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6671
6672         * lyx_main.C (init): remove spurious static_cast
6673
6674 2003-05-14  André Pönitz  <poenitz@gmx.net>
6675
6676         * BufferView.C: fix format string
6677
6678 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6679
6680         * BufferView.[Ch] (insertErrors): removed
6681         * BufferView.[Ch] (showErrorList): added
6682         * buffer.C (runChkTeX):
6683         * converter.C (scanLog): call showErrorList instead of inserterrors
6684
6685 2003-05-13  André Pönitz  <poenitz@gmx.net>
6686
6687         * BufferView_pimpl.C:
6688         * buffer.C:
6689         * bufferview_func.C:
6690         * MenuBackend.C:
6691         * lyxfunc.C:
6692         * lyxrc.C:
6693         * tex-accent.C:
6694         * text3.C:
6695         * toc.C:
6696         * tabular_funcs.h: tostr() from its own header
6697
6698         * ParagraphParameters.C:
6699         * ToolbarBackend.C:
6700         * bufferparams.C:
6701         * format.C:
6702         * lyxlex_pimpl.C:
6703         * text3.C: STRCONV()
6704
6705 2003-05-12  André Pönitz  <poenitz@gmx.net>
6706
6707         * BufferView.C:
6708         * BufferView_pimpl.C:
6709         * CutAndPaste.C:
6710         * LaTeX.C:
6711         * LaTeXFeatures.C:
6712         * ParagraphParameters.C:
6713         * buffer.C:
6714         * bufferlist.C:
6715         * bufferparams.C:
6716         * bufferview_funcs.C:
6717         * converter.C:
6718         * counters.C:
6719         * debug.C:
6720         * exporter.C:
6721         * format.C:
6722         * importer.C:
6723         * lyx_cb.C:
6724         * lyx_main.C:
6725         * lyxfont.C:
6726         * lyxfunc.C:
6727         * lyxvc.C:
6728         * paragraph.C:
6729         * paragraph_funcs.C:
6730         * tabular.C:
6731         * tabular_funcs.C:
6732         * text2.C:
6733         * text3.C:  boost::format -> bformat  all over the place
6734
6735
6736 2003-05-09  André Pönitz  <poenitz@gmx.net>
6737
6738         * LColor.[Ch]: Pimpl the #include <map> away
6739
6740 2003-05-09  John Levon  <levon@movementarian.org>
6741
6742         * bufferlist.C: never remove emergency saves
6743
6744 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * Makefile.am: better lib building
6747
6748 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6749
6750         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6751         instead.
6752         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6753         (simpleTeXSpecialChars): adjust
6754         (simpleTeXSpecialChars): adjust
6755         * paragraph.C (simpleTeXOnePar): adjust
6756         * buffer.C (makeLaTeXFile): adjust
6757
6758         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6759
6760         * text2.C (changeDepth): parlist cleanup
6761         (getColumnNearX): ditto
6762
6763         * rowpainter.C (getLabelFont): parlist cleanup
6764
6765         * bufferlist.C (newFile): parlist cleanup
6766
6767         * CutAndPaste.C (eraseSelection): parlist cleanup
6768
6769         * BufferView_pimpl.C (trackChanges): parlist cleanup
6770         (dispatch): ditto
6771
6772         * BufferView.C (lockInset): parlist cleanup.
6773         (ChangeInsets): ditto
6774
6775 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * CutAndPaste.h: Update file header.
6778
6779         * CutAndPaste.C: Update file header.
6780         Store the parts cut out of the Document in a limited_stack.
6781         (copySelection): adjust
6782         (pasteSelection): new function, takes the index in the limited stack.
6783         (nrOfParagraphs): adjust
6784         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6785         simplify error inset insertion.
6786         (checkPastePossible): adjust
6787
6788 2003-05-06  John Levon  <levon@movementarian.org>
6789
6790         * text2.C: don't cast wrap inset to float
6791
6792 2003-05-05  André Pönitz  <poenitz@gmx.net>
6793
6794         * iterator.C:
6795         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6796
6797         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6798           few naked Paragraph *.
6799
6800 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6801
6802         * bufferparams.C: Output warning if a document with missing
6803         TeX document class is loaded
6804         * exporter.C: Disable TeX exports if the document class is missing
6805         * lyxtextclass.C:
6806         * lyxtextclass.h:
6807         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6808         isTeXClassAvailable()
6809
6810 2003-05-03  John Levon  <levon@movementarian.org>
6811
6812         * BufferView.h:
6813         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6814         explicit cursor show/hide
6815
6816         * BufferView_pimpl.h:
6817         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6818         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6819
6820         * lyxfunc.C: hide cursor before dispatching.
6821
6822         * lyx_cb.C:
6823         * lyxfind.C:
6824         * text.C:
6825         * text3.C: remove explicit cursor hides
6826
6827 2003-05-02  André Pönitz  <poenitz@gmx.net>
6828
6829         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6830
6831         * undo_funcs.C:
6832         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6833           linked lists
6834
6835         * text2.C: tiny whitespace
6836
6837 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6838
6839         * undo_funcs.C: almost only ws changes.
6840
6841         * ParagraphList.C (splice): just return if pl is empty.
6842
6843 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * ParagraphList.C (splice): new function.
6846
6847         * CutAndPaste.C (pasteSelection): use it
6848
6849 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6850
6851         * CutAndPaste.C (pasteSelection): remove the last next and
6852         previous from this file.
6853
6854 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6855
6856         * CutAndPaste.C (pasteSelection): more clean up, user proper
6857         ParagraphList functions for pasteing.
6858
6859         * ParagraphList.C (insert): new function, three arg insert
6860
6861 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * ParagraphList.C (insert): new function, three arg insert
6864
6865         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6866         not on paragraphs.
6867
6868 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6871
6872 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6875
6876 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6879         (copySelection): clean up a bit.
6880         (pasteSelection): use make_pair
6881
6882         * ParagraphList.C (ParagraphList): implement copy constructor
6883         (operator=): implement, base on copy constructor.
6884         (assign): new func
6885
6886         * paragraph.C (erase): return a bool
6887
6888         * paragraph_pimpl.C (erasePos): remove function, move contents...
6889         (erase): ... here. Return a bool.
6890         (erase): call erase instead of erasePos.
6891
6892 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6893
6894         * ParagraphList.h: define PitPosPair
6895         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6896         ParagraphList, fix a bug on pasting multiple pars
6897         * text2.C: change interface to C&P
6898
6899 2003-04-30  André Pönitz  <poenitz@gmx.net>
6900
6901         * undo_func.C: revert part of yesterday's patch 2
6902
6903 2003-04-30  John Levon  <levon@movementarian.org>
6904
6905         * LColor.C: s/tabular/table/
6906
6907 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6908
6909         * text3.C (dispatch): do not convert iterator -> pointer
6910         * undo_funcs.C (setCursorParUndo): ditto
6911         * text_funcs.C (transposeChars): ditto
6912
6913         * text2.C (setLayout): ws changes only
6914
6915         * text.C (breakParagraph): do not convert iterator -> pointer
6916         (insertChar): ditto
6917         (acceptChange): ditto
6918         (rejectChange): ditto
6919         (changeCase): ditto
6920         (Delete): ditto
6921         (backspace): ditto
6922
6923         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6924         pointer
6925
6926 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6927
6928         * text3.C (gotoInset): YABG (yet another bad getChar)
6929
6930 2003-04-29  André Pönitz  <poenitz@gmx.net>
6931
6932         * paragraph.h: make operator= private unimplemented as long as
6933           it is unusable
6934
6935         * ParagraphList.C: whitespace
6936
6937         * paragraph.[Ch]:
6938         * paragraph_pimpl.[Ch]:
6939         * paragraph_funcs.C:
6940         * CutAndPaste.C:
6941         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6942
6943         * text2.C:
6944           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6945
6946 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6947
6948         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6949         * paragraph.[Ch] (erase):
6950         * paragraph_pimpl.[Ch] (erase): change return type and value
6951         * text2.C (cutSelection): some rework
6952
6953 2003-04-28  John Levon  <levon@movementarian.org>
6954
6955         * bufferlist.C: changes for unsaved changes dialog
6956
6957 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6958
6959         * bufferlist.C (newFile): set language (messages_) for new
6960         documents also.
6961
6962         * buffer.C (readFile): ws changes only.
6963
6964 2003-04-28  André Pönitz  <poenitz@gmx.net>
6965
6966         * undo_funcs.C:
6967         * lyxfunc.C:
6968         * buffer.[Ch]:
6969         * BufferView_pimpl.C:
6970         * BufferView.C: getParFromID related ParagraphList::iterator changes
6971
6972 2003-04-28  André Pönitz  <poenitz@gmx.net>
6973
6974         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6975           Changes
6976
6977 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * messages.C: remove one more localedir class variable.
6980
6981 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * messages.C (getLocaleDir): singleton generation function
6984         (Pimpl): use it.
6985         (Messages): add a default constructor.
6986
6987         * main.C (main): do not setup localedir here, do not call
6988         gettext_init.
6989
6990         * gettext.C (_): use it.
6991         (gettext_init): delete funciton
6992
6993 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * gettext.C (getLyXMessages): new singleton generating function.
6996
6997         * buffer.C (updateDocLang): adjust
6998
6999         * Makefile.am (messages.o): add target
7000         (main.o): remove target
7001
7002 2003-04-27  John Levon  <levon@movementarian.org>
7003
7004         * bufferlist.C:
7005         * lyx_cb.C:
7006         * lyxfunc.C:
7007         * lyxvc.C: specify cancel button in Alert::prompt
7008
7009 2003-04-26  John Levon  <levon@movementarian.org>
7010
7011         * text3.C:
7012         * lyxfunc.C:
7013         * lfuns.h:
7014         * LyXAction.C: add LFUN_INSET_SETTINGS
7015
7016         * lyxfunc.C: don't enable tabular-feature when there's
7017         just any locking inset
7018
7019 2003-04-26  John Levon  <levon@movementarian.org>
7020
7021         * bufferlist.C: re-add Cancel to buffer close question
7022
7023         * lyxfunc.C: fix import UI a bit
7024
7025 2003-04-25  John Levon  <levon@movementarian.org>
7026
7027         * gettext.C: remove the broken asserts for now
7028
7029 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7030
7031         * messages.C: make case where setlocale cannot comply work better.
7032
7033         * buffer.C (updateDocLang): new function
7034         (changeLanguage): use it
7035         (readFile): use it
7036
7037         * text2.C (setCounter): use B_ a bit.
7038
7039         * lyxlayout.C (Read): be sure to trim the label strings.
7040
7041         * messages.C (Messages): fix typo in comment
7042
7043         * buffer.C (readFile): set message_ after file is loaded.
7044         (makeDocBookFile): remove double return
7045         (changeLanguage): reset message_ upon language change.
7046         (B_): new func, use this to get translated buffer strings.
7047
7048         * main.C: add myself and Jean Marc as authors.
7049
7050 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7051
7052         * messages.[hC]: pimplify Messages, and three different pimpls to be
7053         used in different circumstances.
7054
7055         * gettext.[Ch]: change for use with new message code.
7056
7057 2003-04-24 André Pönitz <poenitz@gmx.net>
7058
7059         * factory.C: support for eqref
7060
7061 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7062
7063         * messages.[Ch]: add missing char
7064
7065         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7066
7067         * messages.[Ch]: New files
7068
7069 2003-04-18  John Levon  <levon@movementarian.org>
7070
7071         * BufferView.h:
7072         * BufferView.C:
7073         * BufferView_pimpl.C:
7074         * lfuns.h:
7075         * LyXAction.C:
7076         * lyxtext.h:
7077         * text2.C: remove layout-copy/paste (bug 778)
7078
7079 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7082
7083 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7084
7085         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7086         if they succeed. Act accordingly.
7087
7088 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7089
7090         * text2.C (setCharFont): adjust
7091         (setCounter): adjust
7092         (insertStringAsLines): adjust
7093
7094         * text.C (leftMargin): adjust
7095         (setHeightOfRow): adjust
7096
7097         * rowpainter.C (paintFirst): adjust
7098         (paintLast): adjust
7099
7100         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7101         (outerHook): ditto
7102         (isFirstInSequence): ditto
7103         (getEndLabel): ditto
7104         (outerFont): adjust
7105
7106         * paragraph.C (getParLanguage): comment out some hard stuff.
7107
7108         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7109         (sgmlError): ditto
7110         (simpleDocBookOnePar): ditto
7111         (makeDocBookFile): use ParagraphList::iterator
7112
7113         * CutAndPaste.C (pasteSelection): adjust
7114
7115 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7116
7117         * text2.C (getFont): adjust
7118         (getLayoutFont): adjust
7119         (getLabelFont): adjust
7120
7121         * paragraph_funcs.C (TeXOnePar): adjust
7122
7123         * buffer.C (simpleLinuxDocOnePar): adjust
7124         (simpleDocBookOnePar): adjust
7125
7126         * CutAndPaste.C (pasteSelection): adjust
7127
7128         * BufferView.C (getEncoding): adjust
7129
7130         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7131
7132 2003-04-16  John Levon  <levon@movementarian.org>
7133
7134         * lyxfind.C: use parlist stuff for search/changes
7135
7136 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7139
7140         * text2.C (deleteEmptyParagraphMechanism): adjust
7141
7142         * text2.[Ch] (ownerParagraph): delete func (both of them
7143
7144 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7147
7148 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * ParagraphList.C: prepare for NO_NEXT
7151
7152 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * text2.C (getFont): adjust
7155         (getLayoutFont): adjust
7156         (getLabelFont): adjust
7157
7158         * paragraph.C (getFont): adjust
7159         (getLabelFont): adjust
7160         (getLayoutFont): adjust
7161
7162         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7163
7164 2003-04-15  John Levon  <levon@movementarian.org>
7165
7166         From Angus Leeming
7167
7168         * lyx_main.C: handle Include in .ui files
7169
7170 2003-04-15  John Levon  <levon@movementarian.org>
7171
7172         * MenuBackend.C: make the doc files length shorter
7173
7174         * ToolbarBackend.h:
7175         * ToolbarBackend.C: handle toolbar placement flags,
7176         Minibuffer
7177
7178 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7181         adjust
7182
7183         * paragraph_funcs.C (TeXOnePar): adjust
7184
7185         * paragraph.C (getLabelFont): add outerfont arg, adjust
7186         (getLayoutFont): ditto
7187         (simpleTeXOnePar): adjust
7188
7189         * paragraph_pimpl.C (realizeFont): delete func
7190
7191 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7192
7193         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7194         row argument, constify cur argument.
7195
7196 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7197
7198         * text2.C (getFont): adjust
7199         (getLayoutFont): adjust
7200         (getLabelFont): adjust
7201
7202         * paragraph_funcs.C (TeXOnePar): adjust
7203         (outerFont): new func...
7204         (realizeFont): ...moved out from here, changed this to facilitate
7205         transition
7206
7207         * paragraph.C (getFont): take outerfont as arg, adjust
7208         (simpleTeXOnePar): add outerfont arg, adjust
7209
7210         * buffer.C (simpleLinuxDocOnePar): adjust
7211         (simpleDocBookOnePar): adjust
7212
7213         * CutAndPaste.C (pasteSelection): adjust
7214
7215         * BufferView.C (getEncoding): adjust
7216
7217 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7218
7219         * text2.C (setCharFont): adjust
7220         (setCounter): adjust
7221
7222         * text.C (leftMargin): adjust
7223         (setHeightOfRow): adjust
7224
7225         * rowpainter.C (paintFirst): adjust
7226         (paintLast): adjust
7227
7228         * paragraph_pimpl.C (realizeFont): adjust
7229
7230         * paragraph.C (isFirstInSequence): move from here...
7231         * paragraph_funcs.C (isFirstInSequence): ...to here
7232
7233         * paragraph.C (outerHook): move from here...
7234         * paragraph_funcs.C (outerHook): ...to here
7235
7236         * paragraph.C (depthHook): move from here...
7237         * paragraph_funcs.C (depthHook): ...to here
7238
7239         * paragraph.C (getEndLabel): move from here...
7240         * paragraph_funcs.C (getEndLabel): ...to here
7241
7242         * text2.C (realizeFont): move from here...
7243         * paragraph_funcs.C (realizeFont): ...to here
7244
7245 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7248
7249 2003-04-14  Angus Leeming  <leeming@lyx.org>
7250
7251         * LColor.[Ch]: scrap LColor mathcursor.
7252
7253 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * lyxlex.[Ch] (text): delete function
7256         * trans.C (Load): adjust
7257         * paragraph_funcs.C (readParToken): adjust
7258
7259 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7262         vector<char> instead of a char[].
7263
7264         * lyxlex_pimpl.C (getString): adjust
7265         (next): adjust
7266         (lex): use getString
7267         (eatLine): adjust
7268         (nextToken): adjust
7269
7270         * lyxlex.C (text): use pimpl_->getString()
7271         (getBool): ditto
7272         (findToken): ditto
7273
7274 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7275
7276         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7277         (makeFontEntriesLayoutSpecific): temp var for par.size()
7278         (setLayout): temp var for ownerParagraphs().end()
7279         (fullRebreak): temp var for rows().end()
7280         (selectionAsString): temp var for boost::next(startpit), realize
7281         that the while really is a regular for loop.
7282         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7283         setCursor in one place.
7284         (setParagraph): temp vr for ownerParagraphs().end()
7285         (updateCounters): make the while loop a for loop
7286         (cutSelection): temp var for ownerParagraphs().end()
7287         (updateInset): make the do {} while() a regular for loop
7288         (getCursorX): use temp vars
7289         (setCurrentFont): use temp vars
7290         (getColumnNearX): use temp vars
7291
7292 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7293
7294         * text.C (transformChar): use temp var for getChar
7295         (computeBidiTables): use temp var for row->par()
7296         (fill): move temp vars for row->par() and pit->layout() earlier in
7297         the function.
7298         (labelFill): use temp var for row->par()
7299         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7300         asc and desc, realize that pit never changes and that firstpit is
7301         just a duplicate and not needed. Exchange rit->par() with pit in a
7302         lot of places.
7303         (breakAgain): use a temp var for boost::next(rit)
7304         (breakAgainOneRow): ditto
7305         (breakParagraph): use a temp var for rows().begin()
7306         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7307         (cursorRightOneWord): use temp var for cursor.par() and
7308         cursor.pos(), remove usage of tmpcursor.
7309         (cursorLeftOneWord): use temp var for cursor.par() and
7310         cursor.pos() only set cur at end of function.
7311
7312 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7313
7314         * text.C, text2.C: exchange all usage of Paragraph::next with
7315         boost::next(ParagraphList::iterator)
7316
7317         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7318
7319         * text2.C (cursorTop): simplify implementation
7320         (cursorBottom): ditto
7321         (setParagraph): use ParagraphList::iterator
7322         (setCurrentFont): adjust
7323         (getColumnNearX): adjust
7324         (cursorRight): adjust
7325         (cursorLeft): remove usage of Paragraph::previous
7326         (cursorUpParagraph): ditto
7327         (deleteEmptyParagraphMechanism): slight cleanup
7328
7329         * text.C (isBoundary): take a Paragraph const & instead of a
7330         pointer as arg.
7331         (addressBreakPoint): ditto
7332         (leftMargin): remove usage of Paragraph::previous.
7333         (setHeightOfRow): ditto
7334         (cursorLeftOneWord): ditto
7335         (selectNextWordToSpellcheck): ditto
7336         (Delete): ditto
7337         (backspace): ditto
7338         (breakParagraph): remove one usage of Paragraph::next
7339         (redoParagraph): ditto
7340         (acceptChange): ditto
7341         (insertChar): adjust
7342         (rowBreakPoint): adjust
7343
7344         * bufferview_funcs.C (toggleAndShow): adjust
7345
7346 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7347
7348         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7349         methods to access it.
7350         * lyxtext.h:
7351         * text.C: Added updateRowPositions to compute all row positions.
7352         Make top_y and getRowNearY() to use the cached y position
7353
7354 2003-04-11  John Levon  <levon@movementarian.org>
7355
7356         * text.C (rowBreakPoint): reintroduce the labelEnd
7357         checks, code copied from the row fill stuff. Deep voodoo.
7358
7359         * text.C (fill): add a comment and debugging for the
7360         next poor soul.
7361
7362 2003-04-11  John Levon  <levon@movementarian.org>
7363
7364         * text.C: make sure fullrow insets get wrapped to the next line,
7365         even when they're in a manual label
7366
7367 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7368
7369         * text2.C (insertParagraph): make it take ParagraphList::iterator
7370         as arg.
7371         (setLayout): make it return ParagraphList::iterator
7372         (redoParagraphs): ditto
7373         (setCounter): ditto
7374         (checkParagraph): ditto
7375
7376         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7377
7378         * text2.C: adjust several funcs.
7379         (realizeFont): take a ParagraphList::iterator as arg.
7380         (getLayoutFont): ditto
7381         (getLabelFont): ditto
7382         (setCharFont): ditto
7383
7384         * text.C: adjust several funcs.
7385
7386 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7387
7388         * text.C (selectNextWordToSpellcheck): don't accidentally
7389         skip insets
7390
7391 2003-04-10  John Levon  <levon@movementarian.org>
7392
7393         * ToolbarBackend.C (getIcon): special handling for
7394         LFUN_MATH_DELIM
7395
7396 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7397
7398         * text2.C (cursorRight): a getChar assert fixed
7399
7400 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * text2.C (getFont): change to take a ParagraphList::iterator
7403         instead of Paragraph*
7404         Adjust several functions.
7405
7406         * text.C (transformChar): change to take a ParagraphList::iterator
7407         instead of Paragraph*
7408         (singleWidth): ditto
7409         Adjust several functions.
7410
7411         * rowpainter.C: adjust several functions
7412         * rowpainter.h:store a ParagraphList::iterator and not a
7413         Paragraph&.
7414
7415
7416 2003-04-09  John Levon  <levon@movementarian.org>
7417
7418         * lyxfunc.C:
7419         * lfuns.h:
7420         * LyXAction.h:
7421         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7422         and the "help" bits as well
7423
7424 2003-04-09  John Levon  <levon@movementarian.org>
7425
7426         * ToolbarBackend.h:
7427         * ToolbarBackend.C: allow multiple toolbars
7428
7429 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * undo_funcs.C (setCursorParUndo): adjust
7432
7433         * text_funcs.C (transposeChars): adjust
7434
7435         * text3.C (gotoNextInset): adjust
7436         (dispatch): adjust
7437
7438         * text2.C (setLayout): adjust
7439         (changeDepth): adjust
7440         (setFont): adjust
7441         (redoParagraphs): adjust
7442         (selectionAsString): adjust
7443         (setParagraph): adjust
7444         (insertInset): adjust
7445         (cutSelection): adjust
7446         (copySelection): adjust
7447         (pasteSelection): adjust
7448         (insertStringAsLines): adjust
7449         (updateInset): adjust
7450         (setCursor): change to take a ParagraphList::iterator parameter
7451         (setCursorIntern): change to take a ParagraphList::iterator parameter
7452         (setCurrentFont): adjust
7453         (cursorLeft): adjust
7454         (cursorRight): adjust
7455         (deleteEmptyParagraphMechanism): adjust
7456
7457         * text.C (breakParagraph): adjust
7458         (insertChar): adjust
7459         (acceptChange): adjust
7460         (rejectChange): adjust
7461         (selectNextWordToSpellcheck): adjust
7462         (changeCase): adjust
7463         (Delete): adjust
7464         (backspace): adjust
7465
7466         * lyxfind.C (SearchForward): adjust
7467         (SearchBackward): adjust
7468         (nextChange): adjust
7469
7470         * lyxcursor.C (par): adjust
7471
7472         * lyxcursor.h: store a ParagraphList::iterator instead of a
7473         Paragraph*
7474
7475         * lyx_cb.C (getPossibleLabel): adjust
7476
7477         * bufferview_funcs.C (toggleAndShow): adjust
7478
7479         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7480         (dispatch): adjust
7481
7482         * BufferView.C (removeAutoInsets): adjust
7483         (lockedInsetStoreUndo): adjust
7484
7485 2003-04-09  John Levon  <levon@movementarian.org>
7486
7487         * ToolbarBackend.C: try icon without argument
7488         if with argument fails
7489
7490 2003-04-08  John Levon  <levon@movementarian.org>
7491
7492         * ToolbarBackend.h:
7493         * ToolbarBackend.C: add getIcon(), handle tooltip,
7494         and change from "Icon" to "Item".
7495
7496 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7497
7498         * BufferView.C (lockInset): another bad getchar crunched
7499
7500 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7501
7502         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7503         again)
7504
7505 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7506
7507         * lyxfind.C (searchForward, searchBackwards): bug 782
7508
7509 2003-04-07  John Levon  <levon@movementarian.org>
7510
7511         * paragraph.C: remove dead comment
7512
7513         * text.C: remove troublesome depth-fiddling code
7514         in leftMargin() and rightMargin() (bug 1017)
7515
7516         * text.C: fix breaking of rows in nested lists
7517         (bug 1004)
7518
7519         * text2.C (updateCounters): fix up depth values
7520         (bug 1013)
7521
7522 2003-04-07  John Levon  <levon@movementarian.org>
7523
7524         * BufferView_pimpl.C: clear message when doc finishes resizing,
7525         and after a mouse event
7526
7527         * lyxfunc.C: clear message after exiting inset
7528
7529 2003-04-07  John Levon  <levon@movementarian.org>
7530
7531         * bufferview_funcs.C: show math status not outside
7532         status in the statusbar
7533
7534 2003-04-07  John Levon  <levon@movementarian.org>
7535
7536         * lyxfunc.C: note status changed after a depth change
7537
7538 2003-04-04  Angus Leeming  <leeming@lyx.org>
7539
7540         * LaTeX.h: move AuxInfo operator==, != out of line.
7541         Remove LaTeX virtual destructor; nothing derives from it.
7542         Move operator()() out of public area and rename it startscript().
7543         Change protected for private.
7544
7545 2003-04-04  Angus Leeming  <leeming@lyx.org>
7546
7547         * lyxfunc.C:
7548         * text2.C: remove unneeded #includes.
7549
7550 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7551
7552         * text2.C (dEPM): fix the heigth of the next row
7553
7554 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7555
7556         * text.C: squashed an invalid getChar requester + some ws changes
7557
7558 2003-04-03  John Levon  <levon@movementarian.org>
7559
7560         * bufferview_funcs.h:
7561         * bufferview_funcs.C:
7562         * lyxfunc.C:
7563         * lyxtext.h:
7564         * text2.C: make getStatus work for the env depth lfuns
7565
7566 2003-04-03  John Levon  <levon@movementarian.org>
7567
7568         * bufferview_funcs.h:
7569         * bufferview_funcs.C:
7570         * lyxfunc.C:
7571         * lyxtext.h:
7572         * text2.C: parlistize decDepth(), by merging it with incDepth()
7573
7574 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7575
7576         * lyxrow.h: store a ParagraphList::iterator instead of a
7577         Paragraph* and adjust other class functions to suit.
7578
7579         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7580         above.
7581
7582 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7583
7584         * text2.C (setCursor): do not anchor to cursor row for the time being
7585
7586 2003-04-02  John Levon  <levon@movementarian.org>
7587
7588         * LyXAction.C:
7589         * lfuns.h:
7590         * lyx_main.C:
7591         * lyxtext.h:
7592         * text.C:
7593         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7594
7595 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * paragraph.h: make ParagraphList and ParagraphList::iterator
7598         friends of Paragraph.
7599
7600         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7601
7602         * ParagraphList.C: Use the private next_ and previous_ from
7603         Paragraph.
7604
7605 2003-04-01  John Levon  <levon@movementarian.org>
7606
7607         * ToolbarBackend.h:
7608         * ToolbarBackend.C:
7609         * Makefile.am: rename, remove defaults gunk
7610
7611         * MenuBackend.h:
7612         * MenuBackend.C: remove defaults gunk
7613
7614         * Languages.h:
7615         * Languages.C: remove defaults gunk
7616
7617         * lyx_main.h:
7618         * lyx_main.C: error out if files couldn't be found.
7619
7620 2003-04-02  John Levon  <levon@movementarian.org>
7621
7622         * text2.C: make incDepth() use parlist
7623
7624 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * undo_funcs.C (firstUndoParagraph): adjust
7627
7628         * text3.C (gotoInset): adjust
7629         (dispatch): adjust, and rewrite loop.
7630
7631         * text2.C (init): adjust, and rewrite loop.
7632         (redoParagraphs): adjust
7633         (updateInset): adjust, and rewrite loop.
7634         (deleteEmptyParagraphMechanism): adjust
7635
7636         * tabular.C (LyXTabular): adjust
7637         (SetMultiColumn): adjust
7638         (TeXRow): adjust
7639
7640         * lyxtext.[Ch] (ownerParagraph): delete function
7641         (ownerParagraphs): new function returns a ParagraphList.
7642
7643         * BufferView.C (removeAutoInsets): adjust
7644         (insertErrors): adjust
7645         (setCursorFromRow): adjust
7646
7647 2003-04-01  Angus Leeming  <leeming@lyx.org>
7648
7649         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7650         in the frontends.
7651
7652 2003-04-02  John Levon  <levon@movementarian.org>
7653
7654         * lyxtext.h:
7655         * text.C:
7656         * Makefile.am:
7657         * text_funcs.h:
7658         * text_funcs.C: make transposeChars a free function
7659
7660         * lyxrow_funcs.C: remove wrong comment
7661
7662 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * lyxtext.h: adjust
7665         * rowpainter.C: adjust
7666         * text.C: adjust
7667         * text2.C: adjust
7668         * text3.C: adjust
7669
7670         * lyxrow_funcs. [Ch]: new files
7671
7672         * lyxrow.[Ch]: remove next and previous pointers
7673         (next,previous): remove accessor functions
7674         (isParEnd): move to lyxrow_funcs
7675         (lastPos): move to lyxrow_funcs
7676         (nextRowIsAllInset): move to lyxrow_funcs
7677         (lastPrintablePos): move to lyxrow_funcs
7678         (numberOfSeparators): move to lyxrow_funcs
7679         (numberOfHfills): move to lyxrow_funcs
7680         (numberOfLabelHfills): move to lyxrow_funcs
7681         (hfillExpansion): move to lyxrow_funcs
7682
7683         * lyxfunc.C: adjust
7684
7685         * bufferview_funcs.C (toggleAndShow): adjust
7686
7687         * RowList.h: Remove class RowList from file leave just a
7688         std::list<Row>.
7689
7690         * RowList.C: delete file
7691
7692         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7693         and lyxrow_funcs.h
7694
7695 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * text3.C (cursorPrevious): adjust
7698         (cursorNext): adjust
7699         (dispatch): adjust
7700
7701         * text2.C (redoHeightOfParagraph): adjust
7702         (redoDrawingOfParagraph): adjust
7703         (setCursor): adjust
7704
7705         * text.C (breakParagraph): adjust
7706         (insertChar): adjust
7707         (backspace): adjust
7708
7709         * rowpainter.C (RowPainter): adjust
7710         (leftMargin): simplify and adjust
7711         (most rowpainter functions): adjust.
7712
7713         * rowpainter.h: store the row as RowList::iterator not as Row*
7714
7715         * lyxcursor.C (row): taka RowList::iterator as arg
7716         (irow): ditto
7717
7718         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7719         of Row*.
7720
7721 2003-04-01  Angus Leeming  <leeming@lyx.org>
7722
7723         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7724         stuff like bool Bool.
7725
7726 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7727
7728         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7729         rewrite a loop
7730
7731 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7734         RowList::iterator.
7735
7736         * lyxtext.h (rows): drop one version and leve a const variant that
7737         returns a RowList::iterator.
7738
7739 2003-03-31  Angus Leeming  <leeming@lyx.org>
7740
7741         * text.C (fill): ensure that the signature is the same as that in the
7742         header file.
7743
7744 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * text2.C (redoParagraphs): adjust
7747         (updateCounters): adjust
7748         (checkParagraph): adjust
7749         (getColumnNearX): adjust and reformat a bit.
7750
7751         * text.C (top_y): adjust
7752         (workWidth): adjust
7753         (leftMargin): adjust
7754         (prepareToPrint): adjust
7755         (getRow): adjust
7756         (getRowNearY): adjust
7757
7758         * lyxtext.h: make rowlist_ mutable.
7759
7760         * RowList.h: add const_iterator
7761         * RowList.C: adjust for RowList::const_iterator.
7762
7763         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7764         adjust.
7765
7766 2003-03-31  John Levon  <levon@movementarian.org>
7767
7768         * lyxrc.h:
7769         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7770
7771         * lyx_main.C: set default fonts from using lyx_gui funcs
7772
7773         * exporter.C: pdf_mode moved from lyxrc
7774
7775         * lyx_cb.C:
7776         * lyxfunc.C: changes from above
7777
7778 2003-03-31  John Levon  <levon@movementarian.org>
7779
7780         * lyx_main.C: fix to the last fix
7781
7782 2003-03-31  John Levon  <levon@movementarian.org>
7783
7784         * bufferlist.C: "Load original" -> "Load Original"
7785
7786         * converter.C:
7787         * exporter.C:
7788         * importer.C:
7789         * lyx_main.C:
7790         * format.C: more Alert cleanups
7791
7792 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * text2.C (removeParagraph): make it take a RowList::iterator as
7795         arg, adjust.
7796         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7797         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7798
7799         * text.C (anchor_row): make it take a RowList::iterator as arg,
7800         adjust.
7801         (computeBidiTables): make it take a const reference to Row instead
7802         of Row pointer, adjust.
7803         (leftMargin): make it take a RowList::iterator as arg, adjust.
7804         (rowBreakPoint): adjust
7805         (breakAgainOneRow): make it take a RowList::iterator as arg,
7806         adjust.
7807         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7808
7809         * bufferview_funcs.C (toggleAndShow): adjust
7810
7811 2003-03-30  John Levon  <levon@movementarian.org>
7812
7813         * Makefile.am:
7814         * BoostFormat.h:
7815         * boost-inst.C: moved to support
7816
7817         * several files: changes as a result
7818
7819 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7820
7821         * text2.C (LyXText): adjust.
7822         (init): adjust
7823         (removeRow): make it take a RowList::iterator as arg, adjust.
7824         (fullRebreak): adjust
7825         (deleteEmptyParagraphMechanism): adjust
7826         (clearPaint): adjust
7827         (postPaint): adjust
7828
7829         * text.C (top_y): adjust
7830         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7831         (breakAgain): make it take a RowList::iterator as arg, adjust.
7832         (breakParagraph): adjust
7833         (insertChar): adjust
7834         (backspace): adjust
7835
7836         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7837         need_break_row, and refresh_row.
7838
7839         * text3.C (dispatch): adjust
7840
7841         * text2.C (checkParagraph): adjust
7842         (setCursor): adjust
7843         (setCursorFromCoordinates): adjust
7844
7845         * text.C (top_y): adjust
7846         (workWidth): adjust
7847         (getRow): make it return a RowList::iterator, adjust
7848         (getRowNearY): make it return a RowList::iterator, adjust
7849
7850         * text2.C (init): adjust
7851         (insertRow): remove function
7852         (insertParagraph): adjust
7853         (redoParagraphs): adjust
7854         (fullRebreak): adjust
7855         (updateCounters): adjust
7856
7857         * text.C (top_y): rewrite to use RowList iterators.
7858         (top_y): adjust
7859         (setHeightOfRow): rewrite to sue RowList iterators.
7860         (appendParagraph): adjust
7861         (breakAgain): adjust
7862         (breakAgainOneRow): adjust
7863         (breakParagraph): adjust
7864         (getRow): adjust
7865         (getRowNearY): adjust, and remove commented code.
7866
7867         * lyxtext.h (firstRow): delete function
7868         (lastRow): delete function
7869         (rows): new function (const and non-const versions.)
7870         (insertRow): delete function
7871
7872         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7873
7874 2003-03-29  John Levon  <levon@movementarian.org>
7875
7876         * BufferView_pimpl.C: always update scrollbar top
7877         because pasting text when we're anchored could mean we
7878         miss an update altogether
7879
7880 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7881
7882         * text2.C (init): use rowlist_.end() and not 0.
7883         (insertRow): change to take a RowList::iterator as arg, adjust
7884         for this.
7885         (insertParagraph): change to take a RowList::iterator as arg,
7886         adjust for this.
7887         (redoParagraphs): remove some debug msgs.
7888
7889         * text.C (appendParagraph): change to take a RowList::iterator
7890         arg, adjust for this.
7891         (breakAgain): add an assert
7892         (breakAgainOneRow): ditto
7893
7894 2003-03-29  John Levon  <levon@movementarian.org>
7895
7896         * text2.C: do not clear selection after inc/decDepth
7897         (bug 550)
7898
7899 2003-03-29  John Levon  <levon@movementarian.org>
7900
7901         * BufferView.C:
7902         * buffer.C: fix broken strerrors according to Lars
7903
7904 2003-03-29  John Levon  <levon@movementarian.org>
7905
7906         * converters.C: more Alert cleanups
7907
7908 2003-03-29  John Levon  <levon@movementarian.org>
7909
7910         * bufferview_funcs.C: remove pointless Alert
7911
7912         * buffer.C: fix confusing error message when
7913         a template is chmoded 000
7914
7915 2003-03-29  John Levon  <levon@movementarian.org>
7916
7917         * BufferView.C:
7918         * BufferView.h:
7919         * BufferView_pimpl.C: Alert fixes
7920
7921         * Makefile.am:
7922         * tabular.C:
7923         * tabular-old.C: remove unused table compat reading
7924
7925 2003-03-29  John Levon  <levon@movementarian.org>
7926
7927         * BufferView.C:
7928         * buffer.C:
7929         * lyx_cb.h:
7930         * lyx_cb.C: more Alert cleanups
7931
7932         * lyxfunc.C: don't allow chktex if not latex document
7933
7934 2003-03-29  John Levon  <levon@movementarian.org>
7935
7936         * lyx_cb.C:
7937         * BufferView.C:
7938         * buffer.C: warnings pushed down from support/,
7939         kill err_alert
7940
7941 2003-03-29  John Levon  <levon@movementarian.org>
7942
7943         * lyxfunc.C: safety check for C-r (revert)
7944
7945 2003-03-29  John Levon  <levon@movementarian.org>
7946
7947         * bufferlist.h:
7948         * bufferlist.C: several UI fixes using Alert::prompt.
7949         Fix the pointless looping quit code. Fix stupid revert
7950         behaviour (bug 938)
7951
7952         * lyxvc.h:
7953         * lyxvc.C:
7954         * lyx_cb.C: use Alert::prompt
7955
7956         * lyx_main.C: remove a silly question
7957
7958         * lyxfunc.C: remove a couple of silly questions,
7959         use Alert::prompt
7960
7961 2003-03-28  John Levon  <levon@movementarian.org>
7962
7963         * text2.C: fix bug 974 (End on empty par)
7964
7965 2003-03-28  John Levon  <levon@movementarian.org>
7966
7967         * BufferView_pimpl.C:
7968         * LyXAction.C:
7969         * lfuns.h: remove do-nothing math greek lfuns
7970
7971 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7972
7973         * lyxgluelength.h (isValidGlueLength): add default arg on
7974         parameter 2. Remove default arg from friend in class.
7975
7976         * lyxlength.h (isValidLength): add default arg on parameter 2.
7977         Remove default arg from friend in class.
7978
7979         * text2.C (LyXText): adjust, initialize refresh_row.
7980         (init): adjust
7981         (removeRow): adjust
7982         (insertRow): adjust
7983         (insertParagraph): adjst
7984         (redoParagraphs): adjust
7985         (fullRebreak): adjust
7986         (updateCounters): adjust
7987         (deleteEmptyParagraphMechanism): first attempt at fixing a
7988         crashing bug.
7989
7990         * text.C (top_y): adjust
7991         (setHeightOfRow): adjust
7992         (getRow): adjust
7993         (getRowNearY): adjust
7994
7995         * lyxtext.h: include RowList.h
7996         (~LyXText): not needed anymore, deleted.
7997         (firstRow): modify for RowList
7998         (lastRow): new function
7999         Delete firstrow and lastrow class variables, add a Rowlist
8000         rowlist_ class variable.
8001
8002         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8003         paragraph is empty.
8004
8005         * RowList.C (insert): fix case where it == begin().
8006
8007 2003-03-26  Angus Leeming  <leeming@lyx.org>
8008
8009         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8010         the thesaurus dialog.
8011
8012 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8015
8016         * RowList.[Ch]: new files
8017
8018         * ParagraphList.C (erase): handle the case where it == begin
8019         correctly.
8020
8021 2003-03-25  John Levon  <levon@movementarian.org>
8022
8023         * Makefile.am:
8024         * aspell_local.h:
8025         * aspell.C: add new aspell support
8026
8027         * lyxrc.h:
8028         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8029         have it accessible.
8030
8031 2003-03-25  Angus Leeming  <leeming@lyx.org>
8032
8033         * lfuns.h:
8034         * LyXAction.C (init): new LFUN_INSET_INSERT.
8035
8036         * BufferView_pimpl.C (dispatch): split out part of the
8037         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8038
8039         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8040         LFUN_INSET_APPLY.
8041
8042 2003-03-25  Angus Leeming  <leeming@lyx.org>
8043
8044         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8045
8046 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8047
8048         * text2.C:
8049         * text3.C: remove useless row->height(0)
8050
8051 2003-03-25  John Levon  <levon@movementarian.org>
8052
8053         * lyxtext.h:
8054         * text2.C:
8055         * text3.C: rename the refreshing stuff to better names
8056
8057 2003-03-24  John Levon  <levon@movementarian.org>
8058
8059         * BufferView_pimpl.h:
8060         * BufferView_pimpl.C: update layout choice on a mouse
8061         press/release
8062
8063 2003-03-23  John Levon  <levon@movementarian.org>
8064
8065         * Makefile.am: fix commandtags.h reference
8066
8067 2003-03-22  John Levon  <levon@movementarian.org>
8068
8069         * BufferView_pimpl.C:
8070         * lyxtext.h:
8071         * rowpainter.C:
8072         * rowpainter.h:
8073         * text.C:
8074         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8075
8076 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8077
8078         * lyxtext.h:
8079         * text.C: take the rtl methods out of line
8080
8081 2003-03-21 André Pönitz <poenitz@gmx.net>
8082
8083         * metricsinfo.[Ch]: new files containing structures to be passed around
8084         during the two-phase-drawing...
8085
8086 2003-03-21 André Pönitz <poenitz@gmx.net>
8087
8088         * lyxtextclass.C: read 'environment' tag.
8089
8090 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8091
8092         * text2.C (removeRow): fix bug 964
8093
8094 2003-03-20  John Levon  <levon@movementarian.org>
8095
8096         * rowpainter.C:
8097         * text.C:
8098         * text2.C: paint cleanups. Inset::update() dropped font
8099         parameter
8100
8101 2003-03-19  John Levon  <levon@movementarian.org>
8102
8103         * lyxfunc.C: only fitcursor/markDirty if available()
8104
8105 2003-03-19  John Levon  <levon@movementarian.org>
8106
8107         * commandtags.h: rename to ...
8108
8109         * lfuns.h: ... this, and renumber / cleanup
8110
8111 2003-03-19  John Levon  <levon@movementarian.org>
8112
8113         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8114         fit the cursor after an lfun
8115
8116         * BufferView.h:
8117         * BufferView.C:
8118         * BufferView_pimpl.h:
8119         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8120
8121         * LyXAction.C: layout-character should have ReadOnly
8122
8123         * ParagraphParameters.C:
8124         * buffer.C:
8125         * bufferview_funcs.C:
8126         * lyx_cb.C:
8127         * lyxfind.C:
8128         * lyxtext.h:
8129         * text.C:
8130         * text2.C:
8131         * text3.C:
8132         * undo_funcs.C: changes from above
8133
8134 2003-03-18  John Levon  <levon@movementarian.org>
8135
8136         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8137         remove it from update()
8138
8139         * lyxfunc.C: update layout choice after an lfun
8140
8141         * text3.C: remove extra updateLayoutChoice()s
8142
8143 2003-03-18  John Levon  <levon@movementarian.org>
8144
8145         * text.C: top_y change means full repaint, fix
8146         a drawing bug with cursor movement
8147
8148 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8149
8150         * lyxtext.h:
8151         * text.C:
8152         * text2.C: anchor row on setCursor
8153
8154 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8155
8156         * lyxtext.h: remove almost all mutable keywords
8157         * text.C:
8158         * text2.C:
8159         * text3.C: remove const keywords accordingly
8160
8161 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8164         anon namespace
8165         (TeXEnvironment): ditto
8166         (TeXOnePar): ditto
8167
8168 2003-03-17  John Levon  <levon@movementarian.org>
8169
8170         * text.C (rowBreakPoint): remove attempt to fix displayed
8171         math insets inside a manual label
8172
8173 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * lyxtext.h: remove BufferView* as first arg from almost all class
8176         functions.
8177         * other files: adjust.
8178
8179 2003-03-17  John Levon  <levon@movementarian.org>
8180
8181         * lyxtext.h:
8182         * undo_funcs.C:
8183         * text2.C: more paint cleanups
8184
8185         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8186
8187         * rowpainter.h:
8188         * rowpainter.C: remove "smart" background painting code
8189
8190 2003-03-16  John Levon  <levon@movementarian.org>
8191
8192         * lyxtext.h:
8193         * text.C:
8194         * text2.C:
8195         * text3.C: add helper functions for setting refresh_row/y
8196
8197 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8198
8199         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8200         newline inset which *can* get inserted in the pass_thru layouts.
8201         This is primarily for literate documents.
8202
8203 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8204
8205         * buffer.C: increment LYX_FORMAT to 223
8206
8207 2003-03-14 André Pönitz <poenitz@gmx.net>
8208
8209         * textclass.h: prepare for environment handling, ws changes
8210         * lyxlayout.C: read latexheader and latexfooter tags
8211
8212 2003-03-14  John Levon  <levon@movementarian.org>
8213
8214         * text2.C: rewrite ::status() a bit
8215
8216 2003-03-13  John Levon  <levon@movementarian.org>
8217
8218         * lyxtext.h: add some docs
8219
8220 2003-03-13  John Levon  <levon@movementarian.org>
8221
8222         * lyxtext.h:
8223         * text.C:
8224         * text2.C:
8225         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8226
8227 2003-03-13  John Levon  <levon@movementarian.org>
8228
8229         * text3.C: fix appendix redrawing
8230
8231 2003-03-13  John Levon  <levon@movementarian.org>
8232
8233         * text.C (setHeightOfRow):
8234         * rowpainter.h:
8235         * rowpainter.C: make appendix mark have the text
8236           "Appendix" so the user knows what it is
8237
8238         * LColor.h:
8239         * LColor.C: s/appendixline/appendix/ from above
8240
8241 2003-03-13  John Levon  <levon@movementarian.org>
8242
8243         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8244
8245         * text.C: fix a getChar(pos) bug properly
8246
8247 2003-03-13  Angus Leeming  <leeming@lyx.org>
8248
8249         * commandtags.h:
8250         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8251         Probably only temporary. Let's see how things pan out.
8252
8253         * BufferView.C (unlockInset):
8254         * BufferView_pimpl.C (fitCursor):
8255         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8256
8257         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8258         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8259
8260         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8261         new functions that convert ParagraphParameters to and from a string.
8262
8263         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8264         BufferView::Pimpl's dispatch.
8265         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8266
8267 2003-03-13 André Pönitz <poenitz@gmx.net>
8268
8269         * lyxfunc.C:
8270         * text3.C:
8271         * factory.C: make it aware of InsetEnv
8272
8273 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8274
8275         * text2.C (setCursor): never ask for one past last
8276         (setCursor): add some debugging messages.
8277
8278         * text.C (singleWidth): never ask for one past last
8279         (singleWidth): ditto
8280         (leftMargin): ditto
8281         (rightMargin): ditto
8282         (rowBreakPoint): ditto
8283         (setHeightOfRow): ditto
8284         (prepareToPrint): ditto
8285
8286         * rowpainter.C (paintBackground): never ask for one past last
8287         (paintText): never ask for one past last
8288
8289         * paragraph_pimpl.C (getChar): make the assert stricter, never
8290         allow the one past last pos to be taken
8291
8292         * paragraph.C (getChar): ws changes only
8293
8294         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8295         (numberOfSeparators): ditto
8296         (numberOfHfills): ditto
8297
8298 2003-03-12  John Levon  <levon@movementarian.org>
8299
8300         * author.h:
8301         * author.C:
8302         * bufferparams.h:
8303         * bufferparams.C:
8304         * paragraph_funcs.C: fix per-buffer authorlists
8305
8306 2003-03-12  John Levon  <levon@movementarian.org>
8307
8308         * text.C: fix newline in right address
8309
8310 2003-03-12  Angus Leeming  <leeming@lyx.org>
8311
8312         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8313         duplicate those in LyXFunc::dispatch.
8314
8315         * commandtags.h:
8316         * LyXAction.C:
8317         * ToolbarDefaults.C:
8318         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8319         Add LFUN_FONTFREE_UPDATE.
8320
8321         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8322         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8323
8324         * bufferview_func.[Ch]: several new functions to facilliate
8325         transfer of data to and from the character dialog.
8326
8327 2003-03-12  John Levon  <levon@movementarian.org>
8328
8329         * buffer.C:
8330         * paragraph.h:
8331         * paragraph.C:
8332         * paragraph_funcs.C:
8333         * paragraph_pimpl.C:
8334         * sgml.C:
8335         * tabular.C:
8336         * text.C:
8337         * text3.C: remove META_NEWLINE in favour of an inset
8338
8339         * rowpainter.h:
8340         * rowpainter.C: remove paintNewline (done by inset)
8341
8342 2003-03-12  John Levon  <levon@movementarian.org>
8343
8344         * paragraph_pimpl.C: complain about bad getChar()s
8345         for a while at least
8346
8347 2003-03-12  John Levon  <levon@movementarian.org>
8348
8349         * buffer.h:
8350         * buffer.C: move paragraph read into a separate function,
8351         a little renaming to reflect that.
8352
8353         * bufferparams.h:
8354         * bufferparams.C: remove the author_ids map, not necessary now
8355
8356         * factory.h:
8357         * factory.C: moved Buffer::readInset to here
8358
8359         * paragraph_funcs.h:
8360         * paragraph_funcs.C: readParagraph free function moved from
8361         buffer.C
8362
8363         * tabular.C: name change
8364
8365 2003-03-12  John Levon  <levon@movementarian.org>
8366
8367         * buffer.C:
8368         * ParagraphParameters.C: move par params input to
8369         a read() method
8370
8371         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8372         behave like a normal read from the stream wrt reading
8373         a line vs. a \\token
8374
8375 2003-03-12  John Levon  <levon@movementarian.org>
8376
8377         * paragraph.C:
8378         * ParagraphParameters.h:
8379         * ParagraphParameters.C: move output code to a
8380         ::write() method
8381
8382 2003-03-12  John Levon  <levon@movementarian.org>
8383
8384         * BufferView.C (insertLyXFile):
8385         * buffer.h:
8386         * buffer.C:
8387         * tabular.C: use a parlist iterator for creating the
8388           document.
8389
8390 2003-03-12  John Levon  <levon@movementarian.org>
8391
8392         * buffer.C: make current_change static local not
8393           static file-scope
8394
8395 2003-03-12  John Levon  <levon@movementarian.org>
8396
8397         * buffer.C: fix insertStringAsLines for change tracking
8398
8399 2003-03-12  John Levon  <levon@movementarian.org>
8400
8401         * BufferView.C:
8402         * tabular.C:
8403         * buffer.h:
8404         * buffer.C:
8405         * bufferparams.h:
8406         * bufferparams.C: move author list into params. Rename some
8407           functions. Move the header reading into a separate token
8408           loop. Move the header token reading into BufferParams.
8409
8410 2003-03-12  John Levon  <levon@movementarian.org>
8411
8412         * changes.C: put debug inside lyxerr.debugging() checks
8413
8414 2003-03-11 André Pönitz <poenitz@gmx.net>
8415
8416         * factory.C: make it aware of InsetHFill
8417
8418 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8419
8420         * buffer.C (latexParagraphs): move function from here...
8421         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8422         args.
8423
8424 2003-03-10  Angus Leeming  <leeming@lyx.org>
8425
8426         * LyXAction.C (init): fix bug in poplating array with multiple entries
8427         with the same LFUN (spotted by JMarc).
8428
8429 2003-03-10  John Levon  <levon@movementarian.org>
8430
8431         * text.C:
8432         * text2.C: move getColumnNearX() near its
8433         only call site
8434
8435 2003-03-10  John Levon  <levon@movementarian.org>
8436
8437         * text.C: fix break before a minipage
8438
8439 2003-03-10  John Levon  <levon@movementarian.org>
8440
8441         * text.C: fix the last commit
8442
8443 2003-03-09  John Levon  <levon@movementarian.org>
8444
8445         * lyxtext.h:
8446         * text.C:
8447         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8448         bug 365 (don't break before insets unless needed). Don't
8449         return a value > last under any circumstances.
8450
8451 2003-03-09  Angus Leeming  <leeming@lyx.org>
8452
8453         * BufferView_pimpl.C (trackChanges, dispatch): call
8454         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8455
8456 2003-03-09  Angus Leeming  <leeming@lyx.org>
8457
8458         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8459         than Dialogs::showAboutlyx().
8460
8461 2003-03-09  Angus Leeming  <leeming@lyx.org>
8462
8463         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8464         than Dialogs::showTabularCreate().
8465
8466 2003-03-09  John Levon  <levon@movementarian.org>
8467
8468         * lyxtext.h:
8469         * text.C:
8470         * text2.C: 3rd arg to nextBreakPoint was always the same.
8471           Use references.
8472
8473 2003-03-08  John Levon  <levon@movementarian.org>
8474
8475         * lyxrow.C:
8476         * paragraph.C:
8477         * paragraph.h:
8478         * rowpainter.C:
8479         * text.C:
8480         * text2.C: Remove the "main" bit from the "main body"
8481           notion.
8482
8483 2003-03-08  John Levon  <levon@movementarian.org>
8484
8485         * text.C (leftMargin): The left margin of an empty
8486         manual label paragraph should not include the label width
8487         string length.
8488
8489         * text.C (prepareToPrint): don't attempt to measure hfills
8490         for empty manual label paragraphs - the answer should be 0
8491
8492 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * CutAndPaste.C: remove commented code and reindent.
8495
8496 2003-03-08  John Levon  <levon@movementarian.org>
8497
8498         * lyxfunc.h:
8499         * lyxfunc.C: move reloadBuffer()
8500
8501         * BufferView.h:
8502         * BufferView.C: to here
8503
8504         * lyxvc.C: add comment
8505
8506         * vc-backend.h:
8507         * vc-backend.C: call bv->reload() to avoid
8508           getStatus() check on MENURELOAD
8509
8510 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8511
8512         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8513         to an old format .dep file.
8514
8515 2003-03-07  Angus Leeming  <leeming@lyx.org>
8516
8517         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8518         when the LFUN_MOUSE_RELEASE should have been handled by
8519         inset->localDispatch.
8520
8521 2003-03-07  Angus Leeming  <leeming@lyx.org>
8522
8523         * BufferView_pimpl.C (dispatch):
8524         * LyXAction.C (init):
8525         * ToolbarDefaults.C (init):
8526         * commandtags.h:
8527         * lyxfunc.C (getStatus):
8528         remove LFUN_INSET_GRAPHICS.
8529
8530         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8531
8532 2003-03-07  Angus Leeming  <leeming@lyx.org>
8533
8534         * commandtags.h:
8535         * LyXAction.C (init):
8536         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8537
8538         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8539
8540         * commandtags.h:
8541         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8542
8543         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8544         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8545
8546 2003-03-07  Angus Leeming  <leeming@lyx.org>
8547
8548         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8549         remove "ert".
8550
8551 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8552
8553         * ParagraphList.C (front): new function
8554         (back): implement
8555
8556 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8557
8558         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8559         and top_row_offset_. removed var first_y.
8560         * text.C (top_y):
8561         * text2.C (LyXText, removeRow):
8562         * text3.C:
8563         * BufferView_pimpl.C:
8564         use these methods instead of using first_y
8565
8566 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * text2.C (pasteSelection): adjust for checkPastePossible
8569
8570         * CutAndPaste.C: remove Paragraph * buf and replace with
8571         ParagraphList paragraphs.
8572         (DeleteBuffer): delete
8573         (cutSelection): change the tc type to textclass_type
8574         (copySelection): change the tc type to textclass_type
8575         (copySelection): adjust for ParagraphList
8576         (pasteSelection): change the tc type to textclass_type
8577         (pasteSelection): adjust for Paragraphlist
8578         (nrOfParagraphs): simplify for ParagraphList
8579         (checkPastePossible): simplify for ParagraphList
8580         (checkPastePossible): remove unused arg
8581
8582         * ParagraphList.C (insert): handle the case where there are no
8583         paragraphs yet.
8584
8585         * CutAndPaste.h: make CutAndPaste a namespace.
8586
8587         * text3.C (dispatch): adjust
8588
8589         * text.C (breakParagraph): add a ParagraphList as arg
8590
8591         * paragraph_funcs.C (breakParagraph): change to take a
8592         BufferParams and a ParagraphList as args.
8593         (breakParagraphConservative): ditto
8594         (mergeParagraph): ditto
8595         (TeXDeeper): add a ParagraphList arg
8596         (TeXEnvironment): ditto
8597         (TeXOnePar): ditto
8598
8599         * buffer.C (readLyXformat2): adjust
8600         (insertStringAsLines): adjust
8601         (latexParagraphs): adjust
8602
8603         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8604         (cutSelection): adjust
8605         (pasteSelection): adjust
8606
8607         * BufferView_pimpl.C (insertInset): adjust
8608
8609 2003-03-05  Angus Leeming  <leeming@lyx.org>
8610
8611         * commandtags.h:
8612         * LyXAction.C (init):
8613         * BufferView_pimpl.C (dispatch):
8614         * lyxfunc.C (getStatus):
8615         remove LFUN_CHILD_INSERT.
8616
8617         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8618
8619 2003-03-05  Angus Leeming  <leeming@lyx.org>
8620
8621         * commandtags.h:
8622         * LyXAction.C (init):
8623         * src/factory.C (createInset):
8624         * lyxfunc.C (getStatus):
8625         * text3.C (dispatch):
8626         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8627
8628         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8629
8630 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8631
8632         * ParagraphList.C (insert): handle insert right before end()
8633         (erase): fix cases where it can be first or last paragraph.
8634
8635 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8638         Paragraph::next and Paragraph::previous
8639         (TeXOnePar): ditto
8640
8641         * text.C (breakParagraph): adjust
8642
8643         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8644         BufferParams& as arg.
8645         (breakParagraph): use ParagraphList::insert
8646         (breakParagraphConservative): take a Buffer* instead of a
8647         BufferParams& as arg.
8648         (breakParagraphConservative): use ParagraphList::insert.
8649
8650         * buffer.C (insertStringAsLines): un-const it
8651         (insertStringAsLines): adjust
8652
8653         * ParagraphList.C (insert): new function
8654
8655         * CutAndPaste.C (pasteSelection): adjust
8656
8657         * text.C (backspace): adjust
8658
8659         * tabular.C (SetMultiColumn): adjust
8660
8661         * CutAndPaste.C (cutSelection): adjust
8662         (pasteSelection): adjust
8663
8664         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8665         Buffer const * as arg
8666
8667         * ParagraphList.C (erase): new function
8668         * paragraph_funcs.C (mergeParagraph): use it
8669         (mergeParagraph): make it take a Buffer* instead of a
8670         BufferParams* as arg
8671
8672         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8673         as arg
8674         (breakParagraphConservative): ditto
8675
8676         * paragraph.h: remove the breakParagraph friend
8677
8678         * paragraph.C (eraseIntern): new function
8679         (setChange): new function
8680
8681         * paragraph_funcs.C (mergeParagraph): make it take a
8682         ParagraphList::iterator instead of a Paragraph *, adjust
8683         accordingly.
8684
8685         * paragraph.h: move an #endif so that the change tracking stuff
8686         also works in the NO_NEXT case.
8687
8688 2003-03-04  Angus Leeming  <leeming@lyx.org>
8689
8690         * commandtags.h:
8691         * LyXAction.C: new LFUN_INSET_MODIFY.
8692
8693         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8694         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8695
8696 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8697
8698         * several files: ws changes only
8699
8700         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8701         (TeXEnvironment): ditto
8702         (TeXDeeper): ditto
8703
8704         * buffer.C (makeLaTeXFile): adjust
8705         (latexParagraphs): make it take ParagraphList::iterator as args
8706
8707 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8708
8709         * buffer.C (latexParagraphs): adjust
8710
8711         * paragraph.C (TeXOnePar): move function...
8712         (optArgInset): move function...
8713         (TeXEnvironment): move function...
8714         * paragraph_pimpl.C (TeXDeeper): move function...
8715         * paragraph_funcs.C: ...here
8716
8717         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8718
8719 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8720
8721         * buffer.C (readInset): remove compability code for old Figure and
8722         InsetInfo insets
8723
8724 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8725
8726         * buffer.C: ws changes
8727         (readInset):
8728
8729         * BufferView_pimpl.C: ditto
8730         * author.C: ditto
8731         * buffer.h: ditto
8732         * bufferlist.h: ditto
8733         * changes.h: ditto
8734         * lyxfunc.C: ditto
8735
8736 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8737
8738         * converter.[Ch]: split into itself +
8739         * graph.[Ch]
8740         * format.[Ch]
8741         * Makefile.am: += graph.[Ch] + format.[Ch]
8742         * MenuBackend.C
8743         * buffer.C
8744         * exporter.C
8745         * importer.C
8746         * lyx_main.C
8747         * lyxfunc.C
8748         * lyxrc.C: added #include "format.h"
8749
8750 2003-02-27  Angus Leeming  <leeming@lyx.org>
8751
8752         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8753           a label.
8754
8755         * factory.C (createInset): add "label" to the factory.
8756
8757         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8758           string and do no more.
8759
8760 2003-02-27  Angus Leeming  <leeming@lyx.org>
8761
8762         * commandtags.h:
8763         * LyXAction.C (init):
8764         * factory.C (createInset):
8765         * BufferView_pimpl.C (dispatch):
8766           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8767
8768         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8769
8770         * lyxfunc.C (dispatch):
8771         * text3.C (dispatch): pass name to params2string.
8772
8773 2003-02-26  Angus Leeming  <leeming@lyx.org>
8774
8775         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8776           blocks together.
8777           Rearrange the ~includes. Strip out the unnecessary ones.
8778
8779         * factory.C (createInset): reformat.
8780           create new insets for the various LFUN_XYZ_APPLY lfuns.
8781
8782 2003-02-26  John Levon  <levon@movementarian.org>
8783
8784         * lyxrow.h:
8785         * lyxrow.C: add isParStart,isParEnd helpers
8786
8787         * paragraph.h: make isInserted/DeletedText take refs
8788
8789         * paragraph_funcs.h:
8790         * paragraph_funcs.C: remove #if 0'd code
8791
8792         * lyxtext.h:
8793         * text3.C:
8794         * text2.C:
8795         * text.C: use lyxrow helpers above.
8796           Move draw and paint routines to RowPainter.
8797           Make several methods use refs not pointers.
8798           Make backgroundColor() const.
8799           Add markChangeInDraw(), isInInset().
8800           Merge changeRegionCase into changeCase.
8801           Make workWidth() shouldn't-happen code into an Assert.
8802
8803         * rowpainter.h:
8804         * rowpainter.C: new class for painting a row.
8805
8806         * vspace.h:
8807         * vspace.C: make inPixels take a ref
8808
8809 2003-02-26  Angus Leeming  <leeming@lyx.org>
8810
8811         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8812         LFUN_REF_APPLY.
8813
8814 2003-02-25  John Levon  <levon@movementarian.org>
8815
8816         * ispell.C: give the forked command a more accurate name
8817
8818 2003-02-22  John Levon  <levon@movementarian.org>
8819
8820         * toc.h:
8821         * toc.C: make TocItem store an id not a Paragraph *
8822           (bug #913)
8823
8824 2003-02-21  Angus Leeming  <leeming@lyx.org>
8825
8826         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8827           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8828           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8829           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8830           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8831           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8832
8833         * BufferView_pimpl.C (dispatch):
8834         * LyXAction.C (init):
8835         * factory.C (createInset):
8836         * lyxfunc.C (getStatus, dispatch):
8837         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8838
8839 2003-02-21  Angus Leeming  <leeming@lyx.org>
8840
8841         * BufferView_pimpl.C (MenuInsertLyXFile):
8842         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8843         * lyxfunc.C (menuNew, open, doImport):
8844           no longer pass a LyXView & to fileDlg.
8845
8846 2003-02-21  Angus Leeming  <leeming@lyx.org>
8847
8848         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8849         * LyXAction.C: change, BIBKEY to BIBITEM.
8850         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8851         Change InsetBibKey to InsetBibitem.
8852         Change BIBKEY_CODE to BIBITEM_CODE.
8853         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8854         * factory.C: replace insetbib.h with insetbibitem.h.
8855         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8856         * paragraph.C: replace insetbib.h with insetbibitem.h.
8857         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8858         Change bibkey() to bibitem().
8859         * text.C: remove insetbib.h.
8860         * text2.C: replace insetbib.h with insetbibitem.h.
8861         change bibkey() to bibitem().
8862         * text3.C: remove insetbib.h.
8863         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8864
8865 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8866
8867         * lyxrc.C (output): enclose user email in quotes (in case there are
8868         several words)
8869
8870 2003-02-18  John Levon  <levon@movementarian.org>
8871
8872         * buffer.h: add std::
8873
8874 2003-02-17  John Levon  <levon@movementarian.org>
8875
8876         * SpellBase.h:
8877         * ispell.h:
8878         * ispell.C:
8879         * pspell.h:
8880         * pspell.C: reworking. Especially in ispell, a large
8881           number of clean ups and bug fixes.
8882
8883         * lyxfunc.C: fix revert to behave sensibly
8884
8885 2003-02-17 André Pönitz <poenitz@gmx.net>
8886
8887         * LyXAction.C:
8888         * commandtags.h: new LFUN_INSERT_BIBKEY
8889
8890         * layout.h:
8891         * lyxlayout.C:
8892         * buffer.C:
8893         * factory.C:
8894         * text.C:
8895         * text2.C:
8896         * text3.C:
8897         * paragraph.[Ch]:
8898         * paragraph_func.C: remove special bibkey handling
8899
8900 2003-02-17  John Levon  <levon@movementarian.org>
8901
8902         * text.C (Delete): fix case where delete at the end of
8903           the very first paragraph would not merge the pars
8904
8905 2003-02-17  John Levon  <levon@movementarian.org>
8906
8907         * lyxrow.C: fix lastPrintablePos()
8908
8909 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8910
8911         * bufferparams.C (writeLaTeX): add a std:here
8912
8913         * buffer.C: and remove a using directive there
8914
8915 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8916
8917         * buffer.C (makeLaTeXFile): move the code that generates the
8918           preamble...
8919
8920         * bufferparams.C (writeLaTeX): ... in this new method
8921
8922         * LaTeXFeatures.C (getEncodingSet): make const
8923           (getLanguages): make const
8924
8925         * MenuBackend.C (binding): returns the binding associated to this
8926           action
8927           (add): sets the status of each item by calling getStatus. Adds
8928           some intelligence.
8929           (read): add support for OptSubMenu
8930           (expand): remove extra separator at the end of expanded menu
8931
8932 2003-02-15  John Levon  <levon@movementarian.org>
8933
8934         * BufferView.C:
8935         * BufferView_pimpl.C:
8936         * bufferlist.h:
8937         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8938           inset code that had no actual effect. Remove unneeded status
8939           code.
8940
8941 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8942
8943         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8944           in preamble
8945
8946 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8947
8948         * text.C (drawLengthMarker): also draw an arrow marker for
8949           symbolic lengths (medskip...)
8950
8951 2003-02-14  John Levon  <levon@movementarian.org>
8952
8953         * tabular.h:
8954         * tabular.C: better method names
8955
8956 2003-02-14  John Levon  <levon@movementarian.org>
8957
8958         * BufferView_pimpl.C:
8959         * bufferlist.C:
8960         * buffer.C:
8961         * converter.C:
8962         * lyx_cb.C:
8963         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8964           it's a more accurate name. Remove some pointless uses.
8965
8966 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8967
8968         * text2.C (LyXText): change order of initilizers to shut off
8969           warnings
8970
8971 2003-02-14  John Levon  <levon@movementarian.org>
8972
8973         * buffer.C: use ParIterator for getParFromID()
8974
8975         * paragraph.h:
8976         * paragraph.C:
8977         * paragraph_pimpl.h:
8978         * paragraph_pimpl.C: remove unused getParFromID()
8979
8980 2003-02-14  John Levon  <levon@movementarian.org>
8981
8982         * buffer.C: remove some very old #if 0'd parse code
8983
8984 2003-02-13  John Levon  <levon@movementarian.org>
8985
8986         * text.h:
8987         * text.C:
8988         * text2.C: move hfillExpansion(), numberOfSeparators(),
8989           rowLast(), rowLastPrintable(), numberofHfills(),
8990           numberOfLabelHfills() ...
8991
8992         * lyxrow.h:
8993         * lyxrow.C: ... to member functions here.
8994
8995         * paragraph.h:
8996         * paragraph.C:
8997         * lyxtext.h:
8998         * text.C: remove LyXText::beginningOfMainBody(), and call
8999           p->beginningOfMainBody() directly. Move the check for
9000           LABEL_MANUAL into the latter.
9001
9002         * text.h:
9003         * text.C:
9004         * text2.C:
9005         * vspace.C:
9006         * BufferView.h:
9007         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9008
9009         * text.h:
9010         * text.C:
9011         * text2.C:
9012         * text3.C:
9013         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9014           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9015
9016 2003-02-13  John Levon  <levon@movementarian.org>
9017
9018         * CutAndPaste.C: remove debug
9019
9020 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9021
9022         * paragraph.C (asString): remove two unused variables
9023
9024         * lyxtextclass.C (readTitleType):
9025           (Read):
9026           (LyXTextClass): handle new members titletype_ and titlename_
9027
9028         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9029
9030 2003-02-09  John Levon  <levon@movementarian.org>
9031
9032         * buffer.h:
9033         * buffer.C: replace hand-coded list with a map for the dep clean
9034
9035 2003-02-08  John Levon  <levon@movementarian.org>
9036
9037         * LaTeX.C: consolidate code into showRunMessage() helper
9038
9039 2003-02-08  John Levon  <levon@movementarian.org>
9040
9041         * lyxfind.C:
9042         * lyxtext.h:
9043         * text2.C:
9044         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9045           and pass the size in explicitly
9046
9047         * BufferView_pimpl.h:
9048         * BufferView_pimpl.C:
9049         * BufferView.h:
9050         * BufferView.C: add getCurrentChange()
9051
9052         * BufferView_pimpl.h:
9053         * BufferView_pimpl.C: handle change lfuns
9054
9055         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9056           for changes. Mark pasted paragraphs as new.
9057
9058         * support/lyxtime.h:
9059         * support/lyxtime.C:
9060         * DepTable.C: abstract time_t as lyx::time_type
9061
9062         * LColor.h:
9063         * LColor.C: add colours for new text, deleted text, changebars
9064
9065         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9066           package use "usenames" option.
9067
9068         * commandtags.h:
9069         * lyxfunc.C:
9070         * LyXAction.C: add change lfuns
9071
9072         * Makefile.am:
9073         * author.h:
9074         * author.C: author handling
9075
9076         * buffer.h:
9077         * buffer.C: add a per-buffer author list, with first entry as
9078           current author. Handle new .lyx tokens for change tracking. Output
9079           author list to .lyx file. Output dvipost stuff to .tex preamble.
9080           Bump lyx format to 222.
9081
9082         * bufferlist.h:
9083         * bufferlist.C: add setCurrentAuthor() to reset current author details
9084           in all buffers.
9085
9086         * bufferparams.h:
9087         * bufferparams.C: add param for tracking
9088
9089         * bufferview_funcs.C: output change info in minibuffer
9090
9091         * Makefile.am:
9092         * changes.h:
9093         * changes.C: add change-tracking structure
9094
9095         * debug.h:
9096         * debug.C: add CHANGES debug flag
9097
9098         * lyxfind.h:
9099         * lyxfind.C: add code for finding the next change piece
9100
9101         * lyxrc.h:
9102         * lyxrc.C: add user_name and user_email
9103
9104         * lyxrow.h:
9105         * lyxrow.C: add a metric for the top of the text line
9106
9107         * lyxtext.h:
9108         * text.C: implement accept/rejectChange()
9109
9110         * lyxtext.h:
9111         * text.C: paint changebars. Paint new/deleted text in the chosen
9112         colours. Strike through deleted text.
9113
9114         * paragraph.h:
9115         * paragraph.C:
9116         * paragraph_pimpl.h:
9117         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9118           in the current change to the insert functions. Rework erase to
9119           mark text as deleted, adding an eraseIntern() and a range-based
9120           erase(). Implement per-paragraph change lookup and
9121           accept/reject.
9122
9123         * paragraph_funcs.C: Fixup paste for change tracking.
9124
9125         * tabular.C: mark added row/columns as new.
9126
9127         * text.C: fix rowLast() to never return -1. Don't allow
9128           spellchecking of deleted text. Track transpose changes. Don't
9129           allow paragraph break or merge where appropriate.
9130
9131         * text2.C: leave cursor at end of selection after a cut.
9132
9133 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9134
9135         * text.C (getLengthMarkerHeight):
9136         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9137         visible on screen too.
9138
9139 2003-02-07  John Levon  <levon@movementarian.org>
9140
9141         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9142
9143 2003-02-05  Angus Leeming  <leeming@lyx.org>
9144
9145         * lyxserver.C (read_ready): revert my patch of 11 September last year
9146         as it sends PC cpu through the roof. Presumably this means that
9147         the lyxserver will no longer run on an Alpha...
9148
9149 2003-01-30  Angus Leeming  <leeming@lyx.org>
9150
9151         * factory.C (createInset): create an InsetCommandParam of type "index"
9152         and use it to 'do the right thing'.
9153
9154         * text2.C (getStringToIndex): ensure that cursor position is always
9155         reset to the reset_cursor position.
9156
9157 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9158
9159         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9160         disabled.
9161
9162 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9163
9164         * bufferview.C:
9165         * lyxcb.C:
9166         * lyxfunc.C: Output messages with identical spelling, punctuation,
9167         and spaces
9168
9169 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9170
9171         * MenuBackend.C (expandFormats): List only viewable export formats
9172         in "View" menu
9173
9174         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9175         message
9176
9177         * lyxfunc.C (getStatus): Make sure that formats other than
9178         "fax" can also be disabled
9179
9180 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9181
9182         * text3.C (dispatch): put the lfuns that insert insets in 3
9183         groups, and call doInsertInset with appropriate arguments.
9184         (doInsertInset): new function, that creates an inset and inserts
9185         it according to some boolean parameters.
9186
9187 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9188
9189         * buffer.C (readFile): remember to pass on 'par' when calling
9190         readFile recursively.
9191
9192 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9193
9194         * MenuBackend.C (expandFormats): add "..." to import formats.
9195
9196 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9197
9198         * paragraph.C (asString): Remove XForms RTL hacks.
9199
9200 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9201         * buffer.C: fix typo
9202
9203 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9204
9205         * Makefile.am (LIBS): delete var
9206         (lyx_LDADD): add @LIBS@ here instead.
9207
9208 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9209
9210         * Clarify the meaning of "wheel mouse jump"
9211
9212 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9213
9214         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9215         tabular in a float
9216
9217 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9218
9219         * importer.C (Loaders): do not preallocate 3 elements in the
9220         vector, since one ends up with 6 elements otherwise
9221
9222 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9223
9224         * DepTable.C (write): write the file name as last element of the
9225         .dep file (because it may contain spaces)
9226         (read): read info in the right order
9227
9228 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9229
9230         * paragraph_pimpl.C (simpleTeXBlanks):
9231         (simpleTeXSpecialChars):
9232         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9233
9234         * tabular.C (latex): add some missing case statements. Reindent.
9235
9236         * MenuBackend.C (expandToc): remove unused variable.
9237
9238 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9239
9240         * LColor.C:
9241         * LaTeX.C:
9242         * LyXAction.C:
9243         * MenuBackend.C:
9244         * buffer.C:
9245         * exporter.C:
9246         * lyxfunc.C:
9247         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9248         and the like.
9249
9250 2003-01-05  John Levon  <levon@movementarian.org>
9251
9252         * BufferView.h:
9253         * BufferView.C: add getEncoding()
9254
9255         * kbsequence.h:
9256         * kbsequence.C: do not store last keypress
9257
9258         * lyxfunc.h:
9259         * lyxfunc.C: store last keypress here instead. Pass encoding
9260           to getISOEncoded()
9261
9262 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9263
9264         * lyx_main.C (init): remove annoying error message when following
9265         symbolic links (bug #780)
9266
9267 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9268
9269         * text.C (insertChar):
9270         * lyxrc.C (getDescription): remove extra spaces
9271
9272 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9273
9274         * lyxrc.C (getDescription): remove extra spaces
9275
9276 2002-12-20  John Levon  <levon@movementarian.org>
9277
9278         * text3.C: hack fix for page up/down across tall rows
9279
9280 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9281
9282         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9283         not been invoked
9284
9285 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9286
9287         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9288         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9289         thesaurus is not compiled in
9290
9291 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9292
9293         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9294
9295 2002-12-16  Angus Leeming  <leeming@lyx.org>
9296
9297         * lyxrc.[Ch]:
9298         * lyx_main.C (init): remove override_x_deadkeys stuff.
9299
9300 2002-12-12  John Levon  <levon@movementarian.org>
9301
9302         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9303           insert. Only remove shift modifier under strict
9304           circumstances.
9305
9306 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9307
9308         * MenuBackend.C (expandToc): fix crash.
9309
9310 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9311
9312         * MenuBackend.C (expandToc): gettext on float names.
9313
9314 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9315
9316         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9317         implement bool empty() [bug 490]
9318
9319 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9320
9321         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9322
9323 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9324
9325         * several files: ws changes
9326
9327 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9328
9329         * text2.C (setCounter): clean up a bit, use boost.format.
9330         (updateCounters): initialize par upon declaration.
9331
9332         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9333         if the layout exists. We do not just store the layout any more.
9334         (SwitchLayoutsBetweenClasses): use boost.format
9335
9336 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9337
9338         * converter.C (convert): if from and to files are the same, use a
9339         temporary files as intermediary
9340
9341 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9342
9343         * commandtags.h:
9344         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9345
9346 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9347
9348         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9349
9350 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9351
9352         * tabular.C (asciiPrintCell): use string(size, char) instead of
9353         explicit loop.
9354
9355         * sgml.C (openTag): fix order of arguments to string constructor
9356         (closeTag): ditto
9357
9358         * lyxfunc.C (dispatch): use boost.format
9359
9360         * lots of files: change "c" -> 'c'
9361
9362 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9363
9364         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9365
9366 2002-11-25  Angus Leeming  <leeming@lyx.org>
9367
9368         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9369
9370         * lyx_main.C (init): compile fix.
9371
9372 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9373
9374         * lyx_cb.C (start): boost.formatify
9375         do not include <iostream>
9376
9377         * lengthcommon.C: ws only
9378
9379         * boost-inst.C,BoostFormat.h: add more explict instantations
9380
9381 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9382
9383         * lots of files: handle USE_BOOST_FORMAT
9384
9385 2002-11-21  John Levon  <levon@movementarian.org>
9386
9387         * pspell.C: fix compile
9388
9389 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9390
9391         * lyxfunc.C (dispatch): use boost::format
9392         (open): ditto
9393         (doImport): ditto
9394
9395         * lyxfont.C (stateText): use boost::format
9396
9397         * lyx_main.C (LyX): use boost::format
9398         (init): ditto
9399         (queryUserLyXDir): ditto
9400         (readRcFile): ditto
9401         (parse_dbg): ditto
9402         (typedef boost::function): use the recommened syntax.
9403
9404         * importer.C (Import): use boost::format
9405
9406         * debug.C (showLevel): use boost::format
9407
9408         * converter.C (view): use boost::format
9409         (convert): ditto
9410         (move): ditto
9411         (scanLog): ditto
9412
9413         * bufferview_funcs.C (currentState): use boost::format
9414
9415         * bufferlist.C (emergencyWrite): use boost::format
9416
9417         * buffer.C (readLyXformat2): use boost::format
9418         (parseSingleLyXformat2Token): ditto
9419
9420         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9421
9422         * LaTeX.C (run): use boost::format
9423
9424         * Chktex.C (scanLogFile): use boost::format
9425
9426         * BufferView_pimpl.C (savePosition): use boost::format
9427         (restorePosition): ditto
9428         (MenuInsertLyXFile): ditto
9429
9430         * BoostFormat.h: help file for explicit instation.
9431
9432 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9433
9434         * tabular.C (latex): Support for block alignment in fixed width
9435         columns.
9436
9437 2002-11-17  John Levon  <levon@movementarian.org>
9438
9439         * BufferView_pimpl.C:
9440         * lyx_cb.C:
9441         * lyxfunc.C: split filedialog into open/save
9442
9443 2002-11-08  Juergen Vigna  <jug@sad.it>
9444
9445         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9446         by my last patch (hopefully).
9447
9448 2002-11-08  John Levon  <levon@movementarian.org>
9449
9450         * iterators.h:
9451         * iterators.C:
9452         * buffer.h:
9453         * buffer.C:
9454         * paragraph.h:
9455         * paragraph.C:
9456         * toc.h:
9457         * toc.C: ParConstIterator, and use it (from Lars)
9458
9459 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9460
9461         * lyxtextclass.[Ch]: revise and add doxygen comments
9462
9463 2002-11-07  John Levon  <levon@movementarian.org>
9464
9465         * text.C: fix progress value for spellchecker
9466
9467         * toc.C: fix navigate menu for insetwrap inside minipage
9468
9469         * paragraph_funcs.C: added FIXME for suspect code
9470
9471 2002-11-07  John Levon  <levon@movementarian.org>
9472
9473         * BufferView_pimpl.C: fix redrawing of insets
9474           on buffer switch
9475
9476 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9477
9478         * text2.C (updateCounters): fix bug 668
9479
9480 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9481
9482         * text3.C (dispatch): Do not make the buffer dirty when moving the
9483         cursor.
9484
9485 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9486
9487         * vc-backend.C: STRCONV
9488         (scanMaster): ditto
9489
9490         * text2.C (setCounter): STRCONV
9491
9492         * paragraph.C (asString): STRCONV
9493
9494         * lyxlength.C (asString): STRCONV
9495         (asLatexString): ditto
9496
9497         * lyxgluelength.C (asString): STRCONV
9498         (asLatexString): ditto
9499
9500         * lyxfunc.C (dispatch): STRCONV
9501         (open): ditto
9502
9503         * lyxfont.C (stateText): STRCONV
9504
9505         * importer.C (Import): STRCONV
9506
9507         * counters.C (labelItem): STRCONV
9508         (numberLabel): ditto
9509         (numberLabel): remove unused ostringstream o
9510
9511         * chset.C: STRCONV
9512         (loadFile): ditto
9513
9514         * bufferview_funcs.C (currentState): STRCONV
9515
9516         * buffer.C (readFile): STRCONV
9517         (asciiParagraph): ditto
9518         (makeLaTeXFile): ditto
9519
9520         * Spacing.C (writeEnvirBegin): STRCONV
9521
9522         * LaTeXFeatures.C (getLanguages): STRCONV
9523         (getPackages): ditto
9524         (getMacros): ditto
9525         (getBabelOptions): ditto
9526         (getTClassPreamble): ditto
9527         (getLyXSGMLEntities): ditto
9528         (getIncludedFiles): ditto
9529
9530         * LaTeX.C: STRCONV
9531         (run): ditto
9532         (scanAuxFile): ditto
9533         (deplog): ditto
9534
9535         * LString.h: add the STRCONV macros
9536
9537         * BufferView_pimpl.C (savePosition): STRCONV
9538         (restorePosition): ditto
9539         (MenuInsertLyXFile): ditto
9540
9541         * vc-backend.C (scanMaster): change from submatch[...] to
9542         submatch.str(...)
9543
9544         * funcrequest.C: include config.h
9545
9546         * factory.C: include config.h
9547
9548         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9549
9550         * box.C: include config.h
9551
9552         * LaTeX.C (scanAuxFile): change from submatch[...] to
9553         submatch.str(...)
9554         (deplog): ditto
9555
9556 2002-10-25  Angus Leeming  <leeming@lyx.org>
9557
9558         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9559
9560         * ispell.[Ch] (setError): new method.
9561         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9562         Use setError() insetead of goto END.
9563
9564         * lyx_cb.C (AutoSave): move out child process into new class
9565         AutoSaveBuffer.
9566
9567 2002-10-30  John Levon  <levon@movementarian.org>
9568
9569         * text3.C: make start appendix undoable
9570
9571 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9572
9573         * lyxlength.C (inPixels): Fix returned value.
9574
9575         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9576         environment.
9577
9578 2002-10-24  Angus Leeming  <leeming@lyx.org>
9579
9580         * lyxgluelength.h: no need to forward declare BufferParams
9581         or BufferView, so don't.
9582
9583 2002-10-21  John Levon  <levon@movementarian.org>
9584
9585         * BufferView.C: menuUndo ->undo, redo
9586
9587         * BufferView.h: document, remove dead, make some methods private
9588
9589         * paragraph_funcs.h:
9590         * paragraph_funcs.C:
9591         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9592
9593         * buffer.h:
9594         * buffer.C:
9595         * sgml.h:
9596         * sgml.C: move sgml open/close tag into sgml.C
9597
9598         * bufferview_funcs.h: unused prototype
9599
9600         * lyxfunc.h:
9601         * lyxfunc.C: remove unused
9602
9603         * lyxtext.h:
9604         * text.C: remove unused
9605
9606 2002-10-21  John Levon  <levon@movementarian.org>
9607
9608         * BufferView.h:
9609         * BufferView.C:
9610         * BufferView_pimpl.h:
9611         * BufferView_pimpl.C: fix mouse wheel handling based on
9612           patch from Darren Freeman
9613
9614 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9615
9616         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9617
9618 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9619
9620         * lyxlength.C (inPixels): Fix hanfling of negative length.
9621         Fix LyXLength::MU case.
9622
9623 2002-10-16  John Levon  <levon@movementarian.org>
9624
9625         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9626
9627 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9628
9629         * converter.C (view): add support for $$i (file name) and $$p
9630         (file path) for the viewer command. If $$i is not specified, then
9631         it is appended to the command (for compatibility with old syntax)
9632
9633 2002-10-14  Juergen Vigna  <jug@sad.it>
9634
9635         * undo_funcs.C (textHandleUndo): alter the order in which the
9636         new undopar is added to the LyXText, as we have to set first
9637         the right prev/next and then add it as otherwise the rebuild of
9638         LyXText is not correct. Also reset the cursor to the right paragraph,
9639         with this IMO we could remove the hack in "redoParagraphs()".
9640
9641 2002-10-09  Angus Leeming  <leeming@lyx.org>
9642
9643         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9644         to turn off an optimisation if a new inset is to be inserted.
9645
9646 2002-10-11 André Pönitz <poenitz@gmx.net>
9647
9648         * lyxtext.h: make some functions public to allow access
9649         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9650
9651 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9652
9653         * text3.C (dispatch): when changing layout, avoid an infinite loop
9654         [bug #652]
9655
9656 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9657
9658         * lyxrc.C (read): treat a viewer or converter command of "none" as
9659         if it were empty.
9660
9661         * MenuBackend.C (expandFormats): for an update, also allow the
9662         formats that are not viewable
9663
9664         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9665         script if it is newer than the lyxrc.defaults in user directory
9666
9667 2002-10-07 André Pönitz <poenitz@gmx.net>
9668
9669         * text.C: Vitaly Lipatov's small i18n fix
9670
9671 2002-09-25  Angus Leeming  <leeming@lyx.org>
9672
9673         * ispell.h: doxygen fix.
9674
9675 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9676
9677         * buffer.h (readFile): Add a new argument to the method, to allow
9678         reading of old-format templates.
9679
9680 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9681
9682         * toc.C (getTocList): Get TOC from InsetWrap.
9683
9684 2002-09-16  John Levon  <levon@movementarian.org>
9685
9686         * lyxfunc.C: check tabular for cut/copy too
9687
9688 2002-09-12  John Levon  <levon@movementarian.org>
9689
9690         * LyXAction.C: tidy
9691
9692         * factory.h:
9693         * factory.C: add header
9694
9695         * paragraph_funcs.h:
9696         * paragraph_funcs.C: cleanup
9697
9698 2002-09-11  John Levon  <levon@movementarian.org>
9699
9700         * PrinterParams.h: odd/even default to true
9701
9702 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9703
9704         * PrinterParams.h: update printer parameters for new xforms dialog
9705
9706 2002-09-11  Angus Leeming  <leeming@lyx.org>
9707
9708         * lyxserver.C (read_ready): re-write to make it more transparent
9709         and to make it work in coherent fashion under Tru64 Unix.
9710
9711 2002-09-11  André Pönitz <poenitz@gmx.net>
9712
9713         * commandtags.h:
9714         * LyXAction.C:
9715         * text3.C: implement LFUN_WORDSEL
9716
9717 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9718
9719         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9720         make floatlist_ a boost::shared_ptr<FloatList>
9721
9722         * lyxtextclass.C: include FloatList.h
9723         (LyXTextClass): initialize floatlist_
9724         (TextClassTags): add TC_NOFLOAT
9725         (Read): match "nofloat" to TC_NOFLOAT and use it.
9726         (readFloat): modify call to floatlist_
9727         (floats): ditto
9728         (floats): ditto
9729
9730         * FloatList.[Ch] (FloatList): remove commented out float
9731         initialization.
9732         (erase): new function
9733
9734 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9735
9736         * MenuBackend.C (expandToc): fix crash when there is no document
9737         open
9738
9739 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9740
9741         * many files: Add insetwrap.
9742
9743 2002-09-09  John Levon  <levon@movementarian.org>
9744
9745         * text2.C: remove confusing and awkward depth wraparound
9746
9747 2002-09-09  John Levon  <levon@movementarian.org>
9748
9749         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9750
9751         * buffer.h:
9752         * buffer.C: remove getIncludeonlyList()
9753
9754         * paragraph.C:
9755         * lyxfunc.C: remove headers
9756
9757 2002-09-09  Juergen Vigna  <jug@sad.it>
9758
9759         * text.C (getColumnNearX): fix form Michael this is most
9760         probably a cut&paste bug.
9761
9762 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9763
9764         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9765
9766         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9767         references, ws changes.
9768
9769         * text2.C (init): update counters after init
9770         (insertParagraph): no need to set counter on idividual paragraphs.
9771         (setCounter): access the counters object in the textclass object
9772         on in the buffer object.
9773         (updateCounters): ditto
9774
9775         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9776         shared_ptr<Counters> to avoid loading counters.h in all
9777         compilation units.
9778         (LyXTextClass): initialize ctrs_
9779         (TextClassTags): add TC_COUNTER, and ...
9780         (Read): use it here.
9781         (CounterTags): new tags
9782         (readCounter): new function
9783         (counters): new funtion
9784         (defaultLayoutName): return a const reference
9785
9786         * counters.C (Counters): remove contructor
9787         (newCounter): remove a couple of unneeded statements.
9788         (newCounter): simplify a bit.
9789         (numberLabel): some small formatting changes.
9790
9791         * buffer.[Ch]: remove all traces of counters, move the Counters
9792         object to the LyXTextClass.
9793
9794 2002-09-06  Alain Castera  <castera@in2p3.fr>
9795
9796         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9797         package to set the horizontal alignment on fixed width columns.
9798
9799         * lyx_sty.C:
9800         * lyx_sty.h: added tabularnewline macro def.
9801
9802         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9803
9804 2002-09-06  John Levon  <levon@movementarian.org>
9805
9806         * LyXAction.C: tooltips for sub/superscript
9807
9808         * MenuBackend.C: a bit more verbose
9809
9810         * lyxfunc.C: tiny clean
9811
9812         * undo_funcs.C: document undo_frozen
9813
9814 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9815
9816         * counters.C (Counters): add missing algorithm counter.
9817
9818         * text2.C (setCounter): lookup the counter with layouts latexname
9819         instead of by section number.
9820         (setCounter): use a hackish way to lookup the correct enum
9821         counter.
9822         a float name->type change
9823         reset enum couners with counter name directly instead of depth value.
9824
9825         * counters.C (Counters): remove the push_backs, change to use the
9826         float type not the float name.
9827         (labelItem): remove unused string, float name->type change
9828
9829         * counters.h: don't include vector, loose the enums and sects vectors
9830
9831 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9832
9833         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9834         (Read): add float->TC_FLOAT to textclassTags
9835         (Read): and handle it in the switch
9836         (readFloat): new function
9837
9838         * FloatList.C (FloatList): comment out the hardcoded float
9839         definitions.
9840
9841         * lyxlayout.h: ws change.
9842
9843 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9844
9845         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9846
9847 2002-09-03  Angus Leeming  <leeming@lyx.org>
9848
9849         * BufferView_pimpl.h: qualified name is not allowed in member
9850         declaration: WorkArea & Pimpl::workarea() const;
9851
9852         * factory.C: added using std::endl directive.
9853
9854         * text3.C: added using std::find and std::vector directives.
9855
9856 2002-08-29  André Pönitz <poenitz@gmx.net>
9857
9858         * lyxtext.h:
9859         * text2.C: remove unused member number_of_rows
9860
9861         * Makefile.am:
9862         * BufferView2.C: remove file, move contents to...
9863         * BufferView.C: ... here
9864
9865         * BufferView_pimpl.C:
9866         * factory.C: move more inset creation to factory
9867
9868         * vspace.C: avoid direct usage of LyXText, ws changes
9869
9870         * BufferView.[Ch]:
9871                 don't provide direct access to WorkArea, use two simple
9872                 acessors haveSelction() and workHeight() instead
9873
9874
9875 2002-08-29  John Levon  <levon@movementarian.org>
9876
9877         * BufferView_pimpl.C (dispatch): do not continue when
9878           no buffer
9879
9880 2002-08-28  André Pönitz <poenitz@gmx.net>
9881
9882         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9883
9884         * BufferView.h:
9885         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9886
9887 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9888
9889         * buffer.C: increment LYX_FORMAT to 221
9890
9891         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9892         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9893
9894         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9895
9896         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9897
9898 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9899
9900         * factory.C (createInset): use LyXTextClass::floats
9901
9902         * MenuBackend.C (expandFloatListInsert):
9903         (expandFloatInsert):
9904         (expandToc):
9905
9906         * text2.C (setCounter):
9907
9908         * LaTeXFeatures.C (useFloat):
9909         (getFloatDefinitions):
9910
9911         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9912
9913         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9914         floatlist_, with accessor floats().
9915
9916         * FloatList.h: remove global FloatList
9917
9918 2002-08-26  André Pönitz <poenitz@gmx.net>
9919
9920         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9921
9922         * BufferView.h:
9923         * BufferView2.C:
9924         * BufferView_pimpl.C:
9925         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9926
9927 2002-08-25  John Levon  <levon@movementarian.org>
9928
9929         * LyXAction.C: fix margin note description
9930
9931 2002-08-24  John Levon  <levon@movementarian.org>
9932
9933         * buffer.C:
9934         * bufferlist.C:
9935         * bufferview_funcs.C:
9936         * lyxfont.C:
9937         * undo_funcs.C: cleanups
9938
9939         * lyxfunc.C: disable CUT/COPY when no selection
9940
9941 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9942
9943         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9944         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9945
9946         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9947         Add backward compatibility to "mono", "gray" and "no".
9948
9949 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9950
9951         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9952         (and file_format >= 200).
9953
9954 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9957
9958 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9959
9960         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9961
9962 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9963
9964         * BufferView_pimpl.C:
9965         * LyXAction.C:
9966         * buffer.C:
9967         * commandtags.h:
9968         * lyxfunc.C:
9969         * paragraph.[Ch]:
9970         * text2.C:
9971         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9972         inset and code to make it  work with the paragraph code. The inset
9973         can be anywhere in the paragraph, but will only do the expected
9974         thing in LaTeX if the layout file contains the parameter line
9975                         OptionalArgs    1
9976         (or more generally, a nonzero value) for that layout.
9977
9978 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9979
9980         * paragraph.h: remove the declaration of undefined counters class
9981         function.
9982
9983 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9984
9985         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9986         Dr. Richard Hawkins.
9987
9988 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9989
9990         * paragraph_funcs.h: remove some unneeded includes
9991
9992         * text.C (backspace): pasteParagraph now in global scipe
9993
9994         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9995         (pasteSelection): ditto
9996
9997         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9998         * paragraph_funcs.C (pasteParagraph): ... here
9999
10000 2002-08-20  André Pönitz <poenitz@gmx.net>
10001
10002         * commandtags.h: new LFUNs for swapping/copying table row/colums
10003
10004         * LyXAction.C:
10005         * lyxfunc.C: support for new lfuns
10006
10007 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10008
10009         * tabular.C:
10010         * buffer.[Ch]: remove NO_COMPABILITY stuff
10011
10012 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10013
10014         * boost.C (throw_exception): new file, with helper function for
10015         boost compiled without exceptions.
10016
10017         * paragraph.h:
10018         * lyxlength.C:
10019         * buffer.C:
10020         * ParameterStruct.h:
10021         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10022
10023         * bufferlist.C (emergencyWriteAll): use boost bind
10024
10025         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10026
10027         * text.C: include paragraph_funcs.h
10028         (breakParagraph): breakParagraph is now in global scope
10029
10030         * paragraph_funcs.[Ch]: new files
10031
10032         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10033         global scope
10034
10035         * buffer.C: include paragraph_funcs.h
10036         (insertStringAsLines): breakParagraph is now in global scope
10037
10038         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10039         paragraph_funcs.C
10040
10041         * CutAndPaste.C: include paragraph_funcs.h
10042         (cutSelection): breakParagraphConservative is now in global scope
10043         (pasteSelection): ditto
10044
10045         * buffer.h: declare oprator== and operator!= for
10046         Buffer::inset_iterator
10047
10048         * bufferlist.C (emergencyWrite): don't use fmt(...)
10049
10050         * text3.C: add using std::endl
10051
10052         * BufferView.C (moveCursorUpdate): remove default arg
10053
10054 2002-08-20  André Pönitz <poenitz@gmx.net>
10055
10056         * buffer.[Ch]: move inline functions to .C
10057
10058         * BufferView2.C:
10059         * BufferView_pimpl.C:
10060         * text.C:
10061         * buffer.[Ch]: use improved inset_iterator
10062
10063         * buffer.C:
10064         * paragraph.[Ch]: write one paragraph at a time
10065
10066 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10067
10068         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10069         style if style is not specified.
10070
10071 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10072
10073         * text2.C (setCounter): when searching for right label for a
10074         caption, make sure to recurse to parent insets (so that a caption
10075         in a minipage in a figure float works) (bug #568)
10076
10077 2002-08-20  André Pönitz <poenitz@gmx.net>
10078
10079         * text3.C: new file for LyXText::dispatch() and helpers
10080
10081         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10082
10083         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10084
10085 2002-08-19  André Pönitz <poenitz@gmx.net>
10086
10087         * lyxtext.h:
10088         * text.C: new LyXText::dispatch()
10089
10090         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10091
10092 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10093
10094         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10095
10096         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10097         Hebrew text.
10098
10099 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10100
10101         * Makefile.am: use $(variables) instead of @substitutions@
10102
10103 2002-08-15  André Pönitz <poenitz@gmx.net>
10104
10105         * lyxfunc.C:
10106         * BufferView_pimpl.C: streamlining mathed <-> outer world
10107         interaction
10108
10109         * commandtags.h:
10110         * LyXAction.C: remove unused LFUN_MATH
10111
10112 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10113
10114         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10115
10116 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10117
10118         * paragraph.C (Paragraph): reformat a bit
10119         (cutIntoMinibuffer): use builtin InsetList function instad of
10120         doing it manually.
10121         (getInset): ditto
10122
10123         * buffer.C: include boost/bind.hpp, add using std::for_each
10124         (writeFileAscii): use ParagraphList iterators
10125         (validate): use for_each for validate traversal of paragraphs
10126         (getBibkeyList): use ParagraphList iterators
10127         (resizeInsets): use for_each to resizeInsetsLyXText for all
10128         paragraphs.
10129         (getParFromID): use ParagraphList iterators
10130
10131         * BufferView2.C (lockInset): use paragraph list and iterators
10132
10133 2002-08-14  John Levon  <levon@movementarian.org>
10134
10135         * lyxserver.C: remove spurious xforms include
10136
10137 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10138
10139         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10140
10141 2002-08-13  André Pönitz <poenitz@gmx.net>
10142
10143         * LyXAction.[Ch]:
10144         * lyxfunc.C: further cleaning
10145
10146 2002-08-13  André Pönitz <poenitz@gmx.net>
10147
10148         * funcrequest.h: new constructor
10149
10150         * funcrequest.C: move stuff here from .h
10151
10152         * Makefile.am:
10153         * BufferView_pimpl.C:
10154         * LyXAction.C:
10155         * toc.C:
10156         * lyxfunc.C: subsequent changes
10157
10158         * lyxfunc.h: new view() member function
10159
10160         * lyxfunc.C: subsequent changes
10161
10162 2002-08-13  Angus Leeming  <leeming@lyx.org>
10163
10164         * BufferView2.C:
10165         * BufferView_pimpl.C:
10166         * buffer.C:
10167         * converter.C:
10168         * importer.C:
10169         * lyxfunc.C:
10170         * lyxvc.C:
10171         * toc.C:
10172         * vc-backend.C:
10173         changes due to the changed LyXView interface that now returns references
10174         to member variables not pointers.
10175
10176 2002-08-13  Angus Leeming  <leeming@lyx.org>
10177
10178         * WordLangTuple (word, lang_code): return references to strings,
10179         not strings.
10180
10181         * BufferView.h:
10182         * SpellBase.h:
10183         * lyxtext.h: forward-declare WordLangTuple.
10184
10185         * BufferView2.C:
10186         * ispell.C:
10187         * pspell.C:
10188         * text.C: #include "WordLangTuple.h".
10189
10190         * lyxtext.h:
10191         * text.C: (selectNextWordToSpellcheck): constify return type.
10192
10193 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10194
10195         * buffer.C:
10196         * buffer.h:
10197         * lyxtext.h:
10198         * paragraph.C:
10199         * paragraph_pimpl.h:
10200         * text.C:
10201         * text2.C:
10202         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10203         suggested by Angus.
10204         Made updateCounter always count from start of buffer, and removed
10205         second argument (par).
10206         Reverted floats number display to '#'. Perhaps I'll try again when the
10207         code base is sanitized a bit.
10208
10209 2002-08-12  Angus Leeming  <leeming@lyx.org>
10210
10211         * buffer.[Ch] (getLabelList): constify.
10212
10213 2002-08-07  André Pönitz <poenitz@gmx.net>
10214
10215         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10216
10217         * funcrequest.h: extension to keep mouse (x,y) position
10218
10219 2002-08-12  Juergen Vigna  <jug@sad.it>
10220
10221         * BufferView2.C (insertErrors): forbid undo when inserting error
10222         insets.
10223
10224         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10225
10226 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10227
10228         * ParagraphList.[Ch]: new files
10229
10230         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10231
10232         * BufferView2.C (lockInset): ParagraphList changes
10233         * toc.C: ditto
10234         * text2.C: ditto
10235         * bufferlist.C: ditto
10236         * buffer.h: ditto
10237         * buffer.C: ditto
10238
10239 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10240
10241         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10242         unused class variable counter_,
10243
10244         * paragraph.[Ch] (getFirstCounter): delete unused function
10245
10246         * counters.C: include LAssert.h
10247         (reset): add a new function with no arg, change other version to
10248         not have def. arg and to not allow empty arg.
10249
10250         * text2.C (setCounter): remove empty arg from call to Counters::reset
10251
10252 2002-08-11  John Levon  <levon@movementarian.org>
10253
10254         * Makefile.am: add WordLangTuple.h
10255
10256 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10257
10258         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10259         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10260
10261         * insets/insettext.C: InsetList changes
10262
10263         * graphics/GraphicsSupport.C (operator()): InsetList changes
10264
10265         * toc.C (getTocList): InsetList changes
10266
10267         * paragraph_pimpl.[Ch]: InsetList changes
10268
10269         * paragraph.[Ch]: InsetList changes
10270
10271         * buffer.C (inset_iterator): InsetList changes
10272         (setParagraph): ditto
10273         * buffer.h (inset_iterator): ditto
10274         * iterators.C (operator++): ditto
10275         * iterators.h: ditto
10276
10277         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10278
10279         * InsetList.[Ch]: new files, most InsetList handling moved out of
10280         paragraph.C.
10281
10282         * BufferView2.C (removeAutoInsets): InsetList changes
10283         (lockInset): ditto
10284         (ChangeInsets): ditto
10285
10286 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10287
10288         * paragraph_pimpl.h (empty): new function
10289
10290         * paragraph.[Ch] (empty): new function
10291
10292         * other files: use the new Paragraph::empty function
10293
10294 2002-08-09  John Levon  <levon@movementarian.org>
10295
10296         * lyxtext.h: remove unused refresh_height
10297
10298 2002-08-09  John Levon  <levon@movementarian.org>
10299
10300         * Makefile.am:
10301         * sgml.h:
10302         * sgml.C:
10303         * buffer.C:
10304         * paragraph.h:
10305         * paragraph.C: move sgml char escaping out of paragraph
10306
10307         * paragraph.h:
10308         * paragraph.C: remove id setter
10309
10310         * buffer.C:
10311         * paragraph.C:
10312         * paragraph_pimpl.C: remove dead tex_code_break_column
10313
10314         * bufferview_funcs.C: small cleanup
10315
10316         * lyxfunc.C: remove dead proto
10317
10318         * lyxtext.h: make some stuff private. Remove some dead stuff.
10319
10320         * lyxgluelength.C: make as[LyX]String() readable
10321
10322 2002-08-08  John Levon  <levon@movementarian.org>
10323
10324         * LyXAction.h:
10325         * LyXAction.C:
10326         * MenuBackend.C:
10327         * ToolbarDefaults.C:
10328         * lyxfunc.C:
10329         * lyxrc.C:
10330         * toc.C: lyxaction cleanup
10331
10332 2002-08-08  John Levon  <levon@movementarian.org>
10333
10334         * BufferView2.C: small cleanup
10335
10336         * lyxfind.h:
10337         * lyxfind.C: move unnecessary header into the .C
10338
10339 2002-08-08  John Levon  <levon@movementarian.org>
10340
10341         * funcrequest.h: just tedious nonsense
10342
10343         * lyx_main.h:
10344         * lyx_main.C: cleanups
10345
10346         * buffer.C:
10347         * vspace.C: remove dead header lyx_main.h
10348
10349 2002-08-07  Angus Leeming  <leeming@lyx.org>
10350
10351         * Paragraph.[Ch]:
10352         * paragraph_pimpl.h:
10353         Forward declare class Counters in paragraph.h by moving the ctrs member
10354         variable into Paragraph::Pimpl.
10355         (counters): new method, returning a reference to pimpl_->ctrs.
10356
10357         * text2.C: ensuing changes.
10358
10359 2002-08-07  John Levon  <levon@movementarian.org>
10360
10361         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10362
10363         * BufferView_pimpl.C: announce X selection on double/triple
10364           click
10365
10366         * lyx_main.C: use correct bool in batch dispatch
10367
10368         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10369
10370 2002-08-07  André Pönitz <poenitz@gmx.net>
10371
10372         * funcrequest.h: new class to wrap a kb_action and its argument
10373
10374         * BufferView.[Ch]:
10375         * BufferView_pimpl[Ch]:
10376         * LaTeX.C:
10377         * LyXAction.[Ch]:
10378         * lyxfunc.[Ch]:
10379         * lyxrc.C: subsequent changes
10380
10381
10382 2002-08-07  John Levon  <levon@movementarian.org>
10383
10384         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10385           document options change.
10386
10387 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10388
10389         * counters.[Ch]
10390         * text2.C
10391         * paragraph.[Ch]
10392         * makefile.am: move counters functionality over from
10393         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10394
10395 2002-08-06  John Levon  <levon@movementarian.org>
10396
10397         * WordLangTuple.h: new file for word + language code tuple
10398
10399         * SpellBase.h:
10400         * pspell.h:
10401         * pspell.C:
10402         * ispell.h:
10403         * ispell.C:
10404         * lyxtext.h:
10405         * text.C:
10406         * text2.C:
10407         * BufferView.h:
10408         * BufferView2.C: use WordLangTuple
10409
10410         * layout.h:
10411         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10412
10413 2002-08-06  John Levon  <levon@movementarian.org>
10414
10415         * lyx_main.C: fix cmdline batch handling
10416
10417 2002-08-06  André Pönitz <poenitz@gmx.net>
10418
10419         * lyxrc.C: set default for show_banner to true
10420
10421 2002-08-06  John Levon  <levon@movementarian.org>
10422
10423         * pspell.C: fix a crash, and allow new aspell to work
10424
10425 2002-08-06  John Levon  <levon@movementarian.org>
10426
10427         * lyxfunc.C:
10428         * kbmap.C: small cleanup
10429
10430         * vspace.h:
10431         * vspace.C: add const
10432
10433 2002-08-05  John Levon  <levon@movementarian.org>
10434
10435         * LyXAction.C: back to tabular-insert
10436
10437 2002-08-04  John Levon  <levon@movementarian.org>
10438
10439         * BufferView.h:
10440         * BufferView.C: cosmetic change
10441
10442         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10443
10444         * bufferlist.C:
10445         * buffer.h:
10446         * buffer.C:
10447         * lyxcb.h:
10448         * lyxcb.C:
10449         * lyxserver.C:
10450         * lyxvc.C:
10451         * vc-backend.C:
10452         * BufferView2.C: purge all "Lyx" not "LyX" strings
10453
10454         * lyxcursor.h:
10455         * lyxcursor.C: attempt to add some documentation
10456
10457         * lyxfunc.C:
10458         * commandtags.h:
10459         * LyXAction.C:
10460         * ToolbarDefaults.C:
10461         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10462           merge with LFUN_TABULAR_INSERT
10463
10464         * Makefile.am:
10465         * SpellBase.h:
10466         * ispell.h:
10467         * ispell.C:
10468         * pspell.h:
10469         * pspell.C: split up i/pspell implementations into separate
10470           files, many cleanups
10471
10472         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10473
10474         * text2.C: some cleanup
10475
10476         * lyxfunc.C: don't check for isp_command == "none" any more, it
10477           didn't make any sense
10478
10479 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10480
10481         * counters.[Ch]
10482         * text2.C
10483         * paragraph.[Ch]
10484         * makefile.am: move counters functionality over
10485         from text2.C/paragraph.[Ch] to counters.[Ch], and
10486         make proper C++.
10487 2002-08-02  John Levon  <levon@movementarian.org>
10488
10489         * buffer.C: s/lyxconvert/lyx2lyx/
10490
10491 2002-08-02  Angus Leeming  <leeming@lyx.org>
10492
10493         * lyxlex.C: revert John's change as it breaks reading of the user
10494         preamble.
10495
10496 2002-08-02  Angus Leeming  <leeming@lyx.org>
10497
10498         * importer.C (Import):
10499         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10500         changes due to LyXView::view() now returning a boost::shared_ptr.
10501
10502 2002-08-02  John Levon  <levon@movementarian.org>
10503
10504         * lyxlex.C: small cleanup
10505
10506 2002-08-02  John Levon  <levon@movementarian.org>
10507
10508         * text2.C (status): small cleanup, no logic change
10509
10510 2002-08-01  John Levon  <levon@movementarian.org>
10511
10512         * buffer.h:
10513         * buffer.C (writeFile): don't output alerts, caller
10514           handles this
10515
10516         * bufferlist.C:
10517         * lyx_cb.C: from above
10518
10519         * lyxfunc.C: allow to open non-existent files
10520
10521 2002-07-31  John Levon  <levon@movementarian.org>
10522
10523         * lyxserver.C: don't let incidental errors get
10524           in the way (errno)
10525
10526 2002-07-30  John Levon  <levon@movementarian.org>
10527
10528         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10529
10530 2002-07-30  John Levon  <levon@movementarian.org>
10531
10532         * lyxserver.h:
10533         * lyxserver.C: remove I/O callback too
10534
10535 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10538         log.
10539
10540 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10541
10542         * many files: strip,frontStrip -> trim,ltrim,rtrim
10543
10544 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10545
10546         * PrinterParams.h: remove extern containsOnly, and include
10547         support/lstrings.h instead.
10548
10549         * LaTeX.C (scanAuxFile): modify because of strip changes
10550         (deplog): ditto
10551         * buffer.C (makeLaTeXFile): ditto
10552         * bufferparams.C (writeFile): ditt
10553         * lyxfont.C (stateText): ditto
10554         * lyxserver.C (read_ready): ditto
10555         * vc-backend.C (scanMaster): ditto
10556
10557         * BufferView_pimpl.h: ws changes
10558
10559         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10560
10561 2002-07-26  André Pönitz <poenitz@gmx.net>
10562
10563         * kb_sequence.C: remove unnedred usings
10564
10565 2002-07-26  Juergen Vigna  <jug@sad.it>
10566
10567         * lyxfind.C (LyXReplace): we have to check better if the returned
10568         text is not of theLockingInset()->getLockingInset().
10569
10570 2002-07-25  Juergen Vigna  <jug@sad.it>
10571
10572         * lyxfind.C (LyXReplace): don't replace if we don't get the
10573         right LyXText.
10574
10575         * undo_funcs.C (createUndo): remove debugging code.
10576
10577 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10578
10579         * buffer.C (parseSingleLyXformat2Token): Use default placement
10580         when reading old floats.
10581
10582         * FloatList.C (FloatList): Change the default placement of figure
10583         and tables to "tbp".
10584
10585 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * MenuBackend.C: using std::max
10588
10589 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * MenuBackend.C (expandToc):
10592         (expandToc2): code moved from xforms menu frontend. It is now
10593         generic and TOCs are transparent to menu frontends.
10594
10595 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10596
10597         * toc.C (getTocList): protect against buf=0
10598
10599         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10600         Menu as first parameter. Now, this calls itself recursively to
10601         expand a whole tree (this will be useful for TOC handling)
10602         (expandFloatInsert): remove 'wide' version of floats
10603
10604         * MenuBackend.h (submenuname): returns the name of the submenu.
10605         (submenu): returns the submenu itself, provided it has been
10606         created by MenuBackend::expand
10607
10608 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10609
10610         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10611         insets which have noFontChange == true. (bug #172)
10612
10613 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10614
10615         * BufferView_pimpl.C: add connection objects and use them...
10616         (Pimpl): here.
10617
10618 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10619
10620         * MenuBackend.C (expandLastfiles):
10621         (expandDocuments):
10622         (expandFormats):
10623         (expandFloatListInsert):
10624         (expandFloatInsert):
10625         (expand): split expand in parts
10626
10627 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * lyx_gui.C: use lyx_gui::exit()
10630
10631 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * LyXAction.C: show the failing pseudo action
10634
10635 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10636
10637         * buffer.C (readFile): Run the lyxconvert script in order to read
10638         old files.
10639
10640 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * LyXAction.C:
10643         * commandtags.h:
10644         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10645
10646 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * LyXAction.C:
10649         * commandtags.h:
10650         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10651
10652 2002-07-22  Herbert Voss  <voss@lyx.org>
10653
10654         * lengthcommon.C:
10655         * lyxlength.[Ch]: add support for the vertical lengths
10656
10657 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10658
10659         * toc.[Ch]: std:: fixes
10660
10661 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * lyxrc.C: do not include lyx_main.h
10664
10665         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10666         for layouts
10667
10668         * lyxrc.C:
10669         * encoding.C:
10670         * bufferlist.C:
10671         * BufferView2.C: include "lyxlex.h"
10672
10673         * tabular.h:
10674         * bufferparams.h: do not #include "lyxlex.h"
10675
10676         * lyxtextclasslist.C (Add): remove method
10677         (classlist): renamed to classlist_
10678
10679         * paragraph_pimpl.C:
10680         * paragraph.C:
10681         * text2.C:
10682         * CutAndPaste.C:
10683         * bufferview_funcs.C:
10684         * bufferlist.C:
10685         * text.C:
10686         * LaTeXFeatures.C:
10687         * buffer.C:
10688         * toc.C (getTocList): use BufferParams::getLyXTextClass
10689
10690         * toc.C (getTocList): use InsetFloat::addToToc
10691
10692         * toc.[Ch]: new files, containing helper functions to handle table
10693         of contents
10694
10695         * lyxfunc.C (dispatch): no need to remove spaces around command
10696         given as a string
10697         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10698         first command of the sequence; it is not very clever, but I do not
10699         have a better idea, actually
10700
10701         * LyXAction.C (LookupFunc): make sure to remove space at the
10702         beginning and end of the command
10703
10704 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10705
10706         * MenuBackend.C (getMenubar): new method: return the menubar of
10707         this menu set
10708         (read): treat differently reading of menu and menubar (in
10709         particular, the menubar has no name now)
10710         (Menu::menubar): remove
10711
10712         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10713         saving is finished
10714
10715 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10716
10717         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10718         a bibitem inset in a RTL paragraph.
10719
10720 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * paragraph_pimpl.C: constify
10723
10724         * BufferView_pimpl.C:
10725         * LaTeX.C:
10726         * lyxfunc.C: fix dispatch in a nicer way
10727
10728 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10729
10730         * lyxfunc.C (dispatch):
10731         * BufferView_pimpl.C:
10732         * BufferView_pimpl.h:
10733         * BufferView.C:
10734         * BufferView.h: rename Dispatch() to dispatch()
10735
10736         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10737
10738         * lyxlayout.C (Read): honor DependsOn tag
10739
10740         * lyxlayout.[Ch] (depends_on): new method
10741
10742         * version.C.in: update lyx_docversion
10743
10744         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10745
10746         * paragraph.C (validate): remove from here...
10747         * paragraph_pimpl.C (validate): ... and move here
10748         (isTextAt): make it const
10749
10750         * buffer.C (getLists): ws cleanup
10751
10752 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10753
10754         * language.C (read): Use iso8859-1 encoding in latex_lang
10755         (this prevents LyX from crashing when using iso10646-1 encoding).
10756
10757 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10758
10759         * text2.C (toggleInset): if cursor is inside an inset, close the
10760         inset and leave cursor _after_ it
10761
10762 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10763
10764         * lyxfunc.C: move minibuffer completion handling out of here
10765
10766 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * BufferView_pimpl.C:
10769         * LaTeX.C: fix dispatch calls
10770
10771 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10772
10773         * text.C (drawChars): Fix Arabic text rendering.
10774
10775 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10776
10777         * LyXAction.C:
10778         * commandtags.h:
10779         * lyxfunc.C: remove message-push/pop
10780
10781         * lyxserver.C:
10782         * lyxfunc.h:
10783         * lyxfunc.C: rationalise some code by removing verboseDispatch
10784           in favour of a bool argument to dispatch()
10785
10786 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10787
10788         * lyx_main.C (init): make sure to read symlinks as absolute paths
10789
10790 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * lyxfunc.h:
10793         * lyxfunc.C: no need for commandshortcut to be a member
10794
10795 2002-07-15  André Pönitz <poenitz@gmx.net>
10796
10797         * converter.C: add support for $$s (scripts from lib/scripts dir)
10798         * lyx_main.C: white space
10799
10800 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10801
10802         * bufferlist.C:
10803         * lyxrc.h:
10804         * lyxrc.C: remove second exit confirmation
10805
10806 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * BufferView.h:
10809         * BufferView.C:
10810         * BufferView2.C:
10811         * BufferView_pimpl.h:
10812         * BufferView_pimpl.C:
10813         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10814
10815 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10816
10817         * MenuBackend.C (expand): add numeric shortcuts to document menu
10818
10819         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10820
10821 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10822
10823         * lyxfont.C (setLyXFamily):
10824         (setLyXSeries):
10825         (setLyXShape):
10826         (setLyXSize):
10827         (setLyXMisc):
10828         (lyxRead):
10829         * debug.C (value):
10830         * buffer.C (asciiParagraph): use ascii_lowercase
10831
10832 2002-07-15  Mike Fabian  <mfabian@suse.de>
10833
10834         * lyxlex_pimpl.C (search_kw):
10835         * lyxlex.C (getLongString):
10836         * converter.h (operator<):
10837         * converter.C (operator<):
10838         * buffer.C (parseSingleLyXformat2Token):
10839         (asciiParagraph):
10840         * ToolbarDefaults.C (read):
10841         * MenuBackend.C (checkShortcuts):
10842         (read):
10843         * LColor.C (getFromGUIName):
10844         (getFromLyXName): use the compare_ascii_no_case instead of
10845         compare_no_case, because in turkish, 'i' is not the lowercase
10846         version of 'I', and thus turkish locale breaks parsing of tags.
10847
10848 2002-07-16  Angus Leeming  <leeming@lyx.org>
10849
10850         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10851         now takes a Buffer const & argument.
10852
10853 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10854
10855         * BufferView.C (resize): check there's a buffer to resize
10856
10857 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10858
10859         * lyxfunc.C: remove dead code
10860
10861         * lyxserver.h:
10862         * lyxserver.C: use lyx_guii::set_read_callback
10863
10864 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10865
10866         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10867         an inset in a RTL paragraph.
10868
10869 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * lyxfunc.C: repaint after a font size update
10872
10873 2002-07-15  André Pönitz <poenitz@gmx.net>
10874
10875         * lyxlength.C: inBP should be able to return negative values
10876
10877 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10878
10879         * lyxfunc.C: use lyx_gui::update_fonts()
10880
10881 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * lyxfunc.C: use lyx_gui::update_color()
10884
10885 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10886
10887         * bufferlist.C:
10888         * lyxfunc.h:
10889         * lyxfunc.C:
10890         * lyxrc.h:
10891         * lyxrc.C: remove file->new asks for name option, and let
10892           buffer-new take an argument
10893
10894 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10895
10896         * BufferView_pimpl.C: remove unneeded extra repaint()
10897
10898 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10899
10900         * LyXAction.C: allow command-sequence with NoBuffer
10901
10902         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10903
10904 2002-07-10  Angus Leeming  <leeming@lyx.org>
10905
10906         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10907
10908 2002-07-09  Angus Leeming  <leeming@lyx.org>
10909
10910         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10911
10912 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * lengthcommon.h: whitespace
10915
10916         * lyxfunc.C: update scrollbar after goto paragraph
10917
10918         * lyxtext.h: factor out page break drawing, and fix it so
10919           page break/added space paints as selected nicely
10920
10921 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * BufferView_pimpl.C: add FIXMEs, clean up a little
10924
10925 2002-07-09  André Pönitz <poenitz@gmx.net>
10926
10927         * lyxfont.[Ch]: support for wasy symbols
10928
10929 2002-07-08  André Pönitz <poenitz@gmx.net>
10930
10931         * BufferView_pimpl.C: apply John's patch for #93.
10932
10933 2002-07-05  Angus Leeming  <leeming@lyx.org>
10934
10935         * BufferView_pimpl.C (buffer): generate previews if desired.
10936
10937         * LColor.h: add "preview" to the color enum.
10938
10939         * LColor.C (LColor): add a corresponding entry to the items array.
10940
10941         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10942         with this buffer.
10943
10944 2002-07-05  Angus Leeming  <leeming@lyx.org>
10945
10946         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10947         The body of the code is now in the method that is passed an ostream &
10948         rather than a file name.
10949         Pass an additional only_preamble parameter, useful for the forthcoming
10950         preview stuff.
10951
10952 2002-07-03  André Pönitz <poenitz@gmx.net>
10953
10954         * lyxfunc.C: simplify getStatus() a bit for math stuff
10955
10956 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10959
10960 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * text.C (changeRegionCase): do not change case of all the
10963         document when region ends at paragraph end (bug #461)
10964
10965 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10966
10967         * paragraph.C (startTeXParParams):
10968         (endTeXParParams): add \protect when necessary
10969
10970 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10971
10972         * BufferView_pimpl.C (workAreaExpose): remove warning
10973
10974 2002-06-27  Angus Leeming  <leeming@lyx.org>
10975
10976         * Makefile.am: add lyxlayout_ptr_fwd.h.
10977
10978 2002-06-26  André Pönitz <poenitz@gmx.net>
10979
10980         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10981
10982 2002-06-25  Angus Leeming  <leeming@lyx.org>
10983
10984         * lyxfunc.C (dispatch): Comment out the call to
10985         grfx::GCache::changeDisplay. The method no longer exists now that the
10986         pixmap generation part of the graphics loader has been moved into
10987         InsetGraphics.
10988
10989 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * text2.C: layout as layout
10992
10993         * text.C: layout as layout
10994
10995         * tabular.C (OldFormatRead): layout as layout
10996
10997         * paragraph_pimpl.C (TeXDeeper): layout as layout
10998         (realizeFont): layout as layout
10999
11000         * paragraph.C (writeFile): layout as layout
11001         (validate): layout as layout
11002         (getFont): layout as layout
11003         (getLabelFont): layout as layout
11004         (getLayoutFont): layout as layout
11005         (breakParagraph): layout as layout
11006         (stripLeadingSpaces): layout as layout
11007         (getEndLabel): layout as layout
11008         (getMaxDepthAfter): layout as layout
11009         (applyLayout): layout as layout
11010         (TeXOnePar): layout as layout
11011         (simpleTeXOnePar): layout as layout
11012         (TeXEnvironment): layout as layout
11013         (layout): layout as layout
11014         (layout): layout as layout
11015
11016         * lyxtextclass.C (compare_name): new functor to work with
11017         shared_ptr, layout as layout
11018         (Read): layout as layout
11019         (hasLayout): layout as layout
11020         (operator): layout as layout
11021         (delete_layout): layout as layout
11022         (defaultLayout): layout as layout
11023
11024         * lyxlayout_ptr_fwd.h: new file
11025
11026         * lyxlayout.C (Read): layout as layout
11027
11028         * lyx_cb.C (MenuInsertLabel): layout as layout
11029
11030         * bufferlist.C (newFile): layout as layout
11031
11032         * buffer.C (readLyXformat2): layout as layout
11033         (parseSingleLyXformat2Token): layout as layout
11034         (insertStringAsLines): layout as layout
11035         (asciiParagraph): layout as layout
11036         (latexParagraphs): layout as layout
11037         (makeLinuxDocFile): layout as layout
11038         (simpleLinuxDocOnePar): layout as layout
11039         (makeDocBookFile): layout as layout
11040         (simpleDocBookOnePar): layout as layout
11041         (getLists): layout as layout
11042
11043         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11044
11045         * CutAndPaste.C (cutSelection): layout as layout
11046         (pasteSelection): layout as layout
11047         (SwitchLayoutsBetweenClasses): layout as layout
11048
11049         * BufferView_pimpl.C (Dispatch): layout as layout
11050         (smartQuote): layout as layout
11051
11052         * BufferView2.C (unlockInset): layout as layout
11053
11054 2002-06-24  André Pönitz <poenitz@gmx.net>
11055
11056         * lyxfunc.C: fix #487
11057
11058 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11059
11060         * lyxrc.h:
11061         * lyxrc.C:
11062         * lyxfunc.C: remove display_shortcuts, show_banner
11063
11064 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * Buffer_pimpl.C: oops, update on resize
11067
11068 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * buffer.C:
11071         * converter.C:
11072         * exporter.C:
11073         * lyxfunc.C:
11074         * BufferView.h:
11075         * BufferView.C: use repaint()
11076
11077         * BufferView_pimpl.h:
11078         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11079           as it's a clearer description. Remove superfluous
11080           redraws.
11081
11082 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11083
11084         * text.C: fix bug 488. Not ideal, but getting
11085           getWord() to work properly for the insets that
11086           matter is more difficult ...
11087
11088 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11089
11090         * BufferView_pimpl.C:
11091         * LyXAction.C:
11092         * commandtags.h:
11093         * lyxfunc.C: remove the six million index lyxfuncs to just
11094           one, and DTRT (bug 458)
11095
11096 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11097
11098         * BufferView.h:
11099         * BufferView.C:
11100         * BufferView_pimpl.h:
11101         * BufferView_pimpl.C: clean up resize() stuff,
11102           and unnecessary updateScreen()s
11103
11104 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11105
11106         * BufferView.h:
11107         * BufferView.C:
11108         * BufferView_pimpl.h:
11109         * BufferView_pimpl.C:
11110         * lyxfind.h:
11111         * lyxfind.C:
11112         * minibuffer.C: remove focus management of workarea,
11113           not needed. Use screen's greyOut()
11114
11115 2002-06-17  Herbert Voss  <voss@lyx.org>
11116
11117         * converter.C: (convert) do not post a message, when converting
11118         fails, let the calling function decide what to do in this case
11119
11120 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * lyxfunc.C: tidy up a little
11123
11124 2002-06-16    <alstrup@diku.dk>
11125
11126         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11127         Got rid of FORMS_H_LOCATION include. Now we are
11128         GUII.
11129
11130 2002-06-15  LyX Development team  <lyx@rilke>
11131
11132         * buffer.[Ch] (sgmlOpenTag):
11133         (sgmlCloseTag): Added support for avoiding pernicious mixed
11134         content. Return number of lines written.
11135
11136         (makeLinuxDocFile):
11137         (makeDocBookFile): Fixed calls to sgml*Tag.
11138         Simple white space clean.
11139
11140         (simpleDocBookOnePar): Simple white space clean.
11141
11142         * tabular.[Ch] (docBook): Renamed to docbook and got another
11143         argument to related with the pernicious mixed content.
11144
11145         (docbookRow): Fixed calls for docbook inset method.
11146
11147 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11148
11149         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11150         so it's X11 independent.
11151
11152         * kb*.[Ch]: ditto.
11153
11154         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11155
11156 2002-06-15  Lyx Development team  <lyx@electronia>
11157
11158         * intl.h: Renamed getTrans to getTransManager.
11159
11160 2002-06-14  Angus Leeming  <leeming@lyx.org>
11161
11162         * Makefile.am: nuke forgotten stl_string_fwd.h.
11163
11164 2002-06-12  Angus Leeming  <leeming@lyx.org>
11165
11166         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11167
11168 2002-06-13  Angus Leeming  <leeming@lyx.org>
11169
11170         * LaTeX.C:
11171         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11172
11173 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11174
11175         * kbmap.C (getiso): add support for cyrillic and greek
11176
11177 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11178
11179         * BufferView.h:
11180         * BufferView.C:
11181         * BufferView_pimpl.h:
11182         * BufferView_pimpl.C: move bogus scrolling logic
11183           to xforms
11184
11185 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * lyxfunc.C:
11188         * BufferView_pimpl.C: view->resize() change
11189
11190 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * BufferView_pimpl.C: topCursorVisible
11193           prototype change
11194
11195 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11196
11197         * Makefile.am:
11198         * lyx_gui.h:
11199         * lyx_gui.C: move to frontends/
11200
11201         * main.C:
11202         * lyx_main.h:
11203         * lyx_main.C: changes from above
11204
11205 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11206
11207         * intl.C:
11208         * intl.h:
11209         * kbmap.C:
11210         * kbsequence.C:
11211         * lyx_cb.C:
11212         * lyx_main.C: minor tidy
11213
11214 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11215
11216         * BufferView_pimpl.h:
11217         * BufferView_pimpl.C:
11218         * BufferView.h:
11219         * BufferView.C: make painter() const,
11220           remove dead code
11221
11222         * BufferView2.C: use screen() accessor
11223
11224         * lyx_main.h:
11225         * lyx_main.C: some minor cleanup
11226
11227 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * BufferView_pimpl.h:
11230         * BufferView_pimpl.C: remove enter/leaveView,
11231           use workHeight()
11232
11233 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11234
11235         * BufferView.h:
11236         * BufferView.C:
11237         * BufferView2.C:
11238         * BufferView_pimpl.h:
11239         * BufferView_pimpl.C: only construct screen once,
11240           rename
11241
11242         * lyxrc.C: remove pointless comment
11243
11244 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * BufferView.h:
11247         * BufferView.C: remove active() and belowMouse()
11248
11249         * BufferView_pimpl.h:
11250         * BufferView_pimpl.C: use workarea() not workarea_,
11251           and make it use a scoped_ptr instead
11252
11253 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * lyx_gui.C: add debug message on BadWindow
11256
11257 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11258
11259         * sp_spell.C: fdopen is not part of the C++ standard.
11260
11261         * paragraph.C (InsetIterator): use >= instead of ==
11262
11263 2002-06-07  Angus Leeming  <leeming@lyx.org>
11264
11265         Fixes needed to compile with Compaq cxx 6.5.
11266         * BufferView_pimpl.C:
11267         * DepTable.C:
11268         * buffer.C:
11269         * converter.C:
11270         * encoding.C:
11271         * lyx_gui.C:
11272         * lyx_main.C:
11273         * lyxtextclasslist.C:
11274         * minibuffer.C:
11275         * sp_spell.C:
11276         * tabular_funcs.C:
11277         * vc-backend.C:
11278         all c-library variables have been moved into namespace std. Wrap
11279         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11280
11281         * lyxlength.C:
11282         * tabular-old.C:
11283         * tabular.C:
11284         Add a using std::abs declaration.
11285
11286         * kbmap.h (modifier_pair):
11287         * paragraph.h (InsetTable, InsetList):
11288         * lyxfont.h (FontBits):
11289         type definition made public.
11290
11291         * bufferlist.C (emergencyWriteAll): the compiler complains that
11292         there is more than one possible lyx::class_fun template to choose from.
11293         I re-named the void specialisation as lyx::void_class_fun.
11294
11295         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11296
11297         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11298         the compiler is is unable to find tostr in write_attribute.
11299
11300 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11301
11302         * buffer.C (sgmlError): hide #warning
11303
11304 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11305
11306         * xtl/*: get rid of xtl, which is not in use anyway
11307
11308         * LyXAction.C (init):
11309         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11310         were unimplemented xtl experimentation
11311
11312 2002-06-04  André Pönitz <poenitz@gmx.net>
11313
11314         * lyxfunc.C: disable array operation on simple formulae
11315
11316 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11317
11318         * converter.C: constify a bit
11319
11320 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * lyx_gui.C: check xforms version correctly
11323
11324 2002-04-30  Herbert Voss  <voss@lyx.org>
11325
11326         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11327         "keep" option
11328
11329 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11332           attempt to register it with a VCS)
11333
11334 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11335
11336         * lyx_main.C (init): honor variables LYX_DIR_13x and
11337         LYX_USERDIR_13x
11338
11339 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * buffer.h:
11342         * buffer.C:
11343         * lyx_main.C: fix a crash on bad command line,
11344           and give a useful exit status on error
11345
11346         * lyxfunc.C (doImport): allow -i lyx to work
11347
11348 2002-03-30  André Pönitz <poenitz@gmx.net>
11349
11350         * lyxfunc.C: mathed font changes
11351
11352 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * LaTeX.C:
11355         * importer.h:
11356         * importer.C:
11357         * lyx_sty.h:
11358         * lyx_sty.C:
11359         * lyxlex.C:
11360         * lyxrow.h:
11361         * lyxtext.h:
11362         * paragraph.h:
11363         * paragraph.C:
11364         * texrow.h:
11365         * texrow.C:
11366         * text.C:
11367         * trans_mgr.h: srcdocs, and some minor cleanups
11368
11369 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11370
11371         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11372         call getFont all the time)
11373
11374 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11375
11376         * switch from SigC signals to boost::signals
11377
11378 2002-05-29  André Pönitz <poenitz@gmx.net>
11379
11380         * paragraph_pimpl.C (getChar): don't call size() too often...
11381
11382 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11383
11384         * paragraph_pimpl.C (insertChar): do not try to update tables when
11385         appending (pos == size())
11386
11387         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11388         in order to reduce drastically the number of comparisons needed to
11389         parse a large document
11390
11391 2002-05-29  André Pönitz <poenitz@gmx.net>
11392
11393         * text.C:
11394         * text2.C:
11395         * lyxtextclass.C:
11396         * sp_pspell.h:
11397         * textclasslist.[Ch]:
11398         * sp_ispell.h: whitespace change
11399
11400 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11401
11402         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11403         lyxaction directly now.
11404
11405 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11406
11407         * trans.C:
11408         * lyxfont.C:
11409         * lyxvc.C: remove unused headers
11410
11411 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * Makefile.am:
11414         * buffer.h:
11415         * undostack.h:
11416         * undostack.C:
11417         * undo_funcs.h:
11418         * undo_funcs.C: some cleanups. Use shared_ptr
11419           and a template for the undo stacks.
11420
11421 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * BufferView_pimpl.h:
11424         * BufferView_pimpl.C:
11425         * kbmap.h:
11426         * kbmap.C:
11427         * kbsequence.h:
11428         * kbsequence.C:
11429         * lyxfunc.h:
11430         * lyxfunc.C:
11431         * text2.C: use key_state/mouse_state
11432
11433 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11434
11435         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11436         and LSubstring
11437
11438         * chset.C: change include order
11439         (loadFile): use boost regex and get rid of LRegex and LSubstring
11440
11441         * Makefile.am (BOOST_LIBS): new variable
11442         (lyx_LDADD): use it
11443
11444         * LaTeX.C: change include order.
11445         (scanAuxFile): use boost regex and get rid of LRegex and
11446         LSubstring
11447         (deplog): ditto
11448
11449 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11450
11451         * ColorHandler.h:
11452         * ColorHandler.C:
11453         * FontInfo.h:
11454         * FontInfo.C: moved to frontends/xforms/
11455
11456         * FontLoader.h:
11457         * FontLoader.C: moved into frontends for GUIIzation
11458
11459         * Makefile.am:
11460         * lyx_gui.C:
11461         * lyxfont.C:
11462         * lyxfunc.C: changes from above
11463
11464 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11465
11466         * LColor.C: remove spurious X include
11467
11468         * BufferView_pimpl.C:
11469         * Makefile.am:
11470         * font.h:
11471         * font.C:
11472         * text.C:
11473         * text2.C: move font metrics to frontends/
11474
11475 2002-05-24  Juergen Vigna  <jug@sad.it>
11476
11477         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11478         setting the undo_cursor.
11479
11480         * ParagraphParameters.h: include local includes first.
11481
11482 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * BufferView_pimpl.C:
11485         * BufferView_pimpl.h:
11486         * Makefile.am:
11487         * WorkArea.h:
11488         * WorkArea.C:
11489         * screen.C: move WorkArea into frontends/
11490
11491         * lyxscreen.h:
11492         * screen.C:
11493         * text.C:
11494         * BufferView.C:
11495         * BufferView2.C: move LyXScreen into frontends/
11496
11497         * lyxlookup.h:
11498         * lyxlookup.C:
11499         * lyx_gui.C: move lyxlookup into frontends/xforms/
11500
11501 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11502
11503         * BufferView2.C:
11504         * BufferView_pimpl.C:
11505         * FontLoader.C:
11506         * LyXView.h:
11507         * LyXView.C:
11508         * Makefile.am:
11509         * WorkArea.C:
11510         * XFormsView.h:
11511         * XFormsView.C:
11512         * buffer.C:
11513         * bufferlist.C:
11514         * bufferview_funcs.C:
11515         * converter.C:
11516         * importer.C:
11517         * lyx_cb.C:
11518         * lyx_gui.C:
11519         * lyx_main.C:
11520         * lyx_find.C:
11521         * lyxfunc.C:
11522         * lyxvc.C:
11523         * minibuffer.C:
11524         * text.C:
11525         * text2.C:
11526         * trans.C:
11527         * vc-backend.C: move LyX/XFormsView into frontends/
11528
11529 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11530
11531         * Makefile.am:
11532         * PainterBase.C:
11533         * PainterBase.h:
11534         * Painter.C:
11535         * Painter.h:
11536         * WorkArea.C:
11537         * WorkArea.h:
11538         * screen.C:
11539         * tabular.C:
11540         * text.C:
11541         * text2.C: move Painter to frontends/
11542
11543 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11544
11545         * buffer.C: comment out some some code that depend upon lyx_format
11546         < 220
11547
11548         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11549         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11550
11551         * buffer.h (NO_COMPABILITY): turn off compability
11552
11553         * ColorHandler.C: include scoped_array.hpp
11554
11555         * font.C: Use more specific smart_ptr header.
11556         * Painter.C: ditto
11557         * gettext.C: ditto
11558         * ShareContainer.h: ditto
11559         * lyx_main.h: ditto
11560         * kbmap.h: ditto
11561         * FontInfo.h: ditto
11562         * BufferView_pimpl.h: ditto
11563         * ColorHandler.h: ditto
11564
11565         * kbmap.C (defkey): change call to shared_ptr::reset
11566
11567 2002-05-21  Juergen Vigna  <jug@sad.it>
11568
11569         * buffer.C (insertErtContents): fix to insert ert asis if it is
11570         non empty. Skip it completely if it contains only whitespaces.
11571
11572 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11573
11574         * BufferView_pimpl.C:
11575         * BufferView2.C: clear selection on paste (bug 393)
11576
11577 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * DepTable.C: include ctime
11580
11581 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11582
11583         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11584
11585 2002-05-14  Juergen Vigna  <jug@sad.it>
11586
11587         * text.C (breakParagraph): fixed function to honor the keepempty
11588         layout in the right maner and also to permit the right breaking
11589         algorithm on empty or non empyt keepempty paragraphs.
11590
11591         * paragraph.C (breakParagraph): we have to check also if the par
11592         is really empty (!size()) for isempty otherwise we do the wrong
11593         paragraph break.
11594
11595 2002-05-10  Juergen Vigna  <jug@sad.it>
11596
11597         * buffer.[Ch] : The following are only changes to the ert
11598         compatibility read reading old LaTeX layout and font stuff and
11599         convert it to ERTInsets.
11600
11601         * buffer.h: added isErtInset().
11602
11603         * buffer.C (struct ErtComp): add a fromlayout bool to check
11604         if we're inside a LaTeX layout.
11605         (isErtInset): new helper function.
11606         (insertErtContents): look for other ert insets before this one
11607         and insert the contents there, so that we don't have subsequent
11608         ERT insets with nothing between them. This way we create only one
11609         inset with multiple paragraphs. Also check if we don't insert only
11610         spaces ' ' as they are ignored anyway afterwards in the .tex file
11611         so if we have only spaces we will ignore this latex part in the
11612         new file.
11613         (parseSingleLyXformat2Token \\layout): better compatibility when
11614         reading layout-latex stuff.
11615         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11616         language tag.
11617         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11618         stuff after reading the inset only get the information back from
11619         the stack.
11620
11621 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11622
11623         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11624
11625         * LaTeXFeatures.C (getBabelOptions): New method.
11626
11627 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * BufferView_pimpl.C (Dispatch): work around missing argument for
11630         'layout'
11631
11632 2002-05-08  Juergen Vigna  <jug@sad.it>
11633
11634         * text.C (leftMargin): handle paragraph leftindent.
11635
11636         * paragraph.C (writeFile): write the new \\leftindent tag.
11637         (validate): handle leftindent code.
11638         (TeXEnvironment): handle paragraphleftindent code again.
11639
11640         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11641
11642         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11643         for paragrap_extra indent code and new token \\leftindent.
11644         (latexParagraphs): handle the leftindent as environment.
11645
11646         * ParameterStruct.h: added leftindent support.
11647
11648         * ParagraphParameters.C (leftIndent): added support functions for
11649         the paragraph left indent.
11650
11651         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11652         more appropriate.
11653
11654 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11655
11656         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11657         inside insetERT.
11658
11659         * text.C (computeBidiTables): No bidi in insetERT.
11660
11661         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11662         in RTL documents.
11663
11664 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * version.C.in: pre 5
11667
11668 2002-05-02  José Matos  <jamatos@fep.up.pt>
11669         * buffer.C (makeDocBookFile): white space changes, add newline to
11670         command styles.
11671         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11672
11673         * tabular.C (docBook): fix typo.
11674
11675 2002-05-03  Juergen Vigna  <jug@sad.it>
11676
11677         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11678         change in LyXText as we can not be sure it was not freed.
11679         (drawOneRow): remove unused code.
11680
11681         * text.C (drawInset): redo the calculation of the need_break_row as
11682         it could have a row which was already freed.
11683         (draw): look at the return value of drawInset and return false if
11684         it also returned false.
11685         (paintRowText): look at the return value of draw and return false if
11686         it also returned false.
11687
11688         * lyxtext.h: added bool return type to drawInset() and draw() so that
11689         if we have a change in the row so that the rowbreak has to be redone
11690         we abort drawing as it will be called again.
11691
11692 2002-05-02  Juergen Vigna  <jug@sad.it>
11693
11694         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11695         a change in the maintext also if we're inside an inset.
11696         (Dispatch): set the cursor again after a break line and after the
11697         screen has been updated as it could be we're in a different row.
11698
11699         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11700         to set the cursor behind the pargraph with > size().
11701         (setCursor): check also for the same paragraph when checking where
11702         to put the cursor if we have a NFR inset.
11703
11704         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11705         parts of layout read further up as it still was in the wrong
11706         position.
11707
11708 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11709
11710         * screen.C (drawFromTo): change sine fullRebreak always return
11711         true.
11712
11713         * buffer.C (parseSingleLyXformat2Token): reindent some
11714
11715         * BufferView_pimpl.C (update): change since fullRebreak always
11716         return true.
11717         (Dispatch): git rid of the last hardcoded "Standard"s.
11718
11719 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11720
11721         * text2.[Ch] (fullRebreak): make it return void now that we always
11722         returned true.
11723
11724 2002-04-30  Juergen Vigna  <jug@sad.it>
11725
11726         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11727         ert compatibility check for "latex" layout.
11728
11729 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11730
11731         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11732         minipages: use col% instead of p%, and also use the current font.
11733         (makeLaTeXFile): Fix use babel condition.
11734         (parseSingleLyXformat2Token): Correct font when reading old floats.
11735
11736 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11737
11738         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11739         inserting list of floats.
11740
11741 2002-04-25  Herbert Voss  <voss@lyx.org>
11742
11743         * MenuBackend.C (expand): don't add the graphics extensions to the
11744         export menu
11745
11746 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11747
11748         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11749         non-existing layout, do not complain if it was the default layout
11750         of the original class (bug #342)
11751
11752 2002-04-24  Juergen Vigna  <jug@sad.it>
11753
11754         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11755         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11756
11757 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11758
11759         * buffer.C (getBibkeyList): If using \bibliography, return the
11760         option field with the reference itself. Enables us to provide natbib
11761         support when using \bibliography.
11762
11763 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11764
11765         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11766
11767         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11768         natbib is provided by the LaTeX class.
11769
11770 2002-04-23  Juergen Vigna  <jug@sad.it>
11771
11772         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11773         Wakeup functions.
11774
11775         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11776
11777 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11778
11779         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11780
11781         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11782         ensuremath around textordmasculine, textordfeminine and
11783         textdegree.
11784
11785 2002-04-19  Juergen Vigna  <jug@sad.it>
11786
11787         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11788         reinitializing the buffer otherwise row-dimensions may be wrong.
11789         (update): reset also the selection cursors if they do exits otherwise
11790         their x/y positions may be wrong.
11791
11792         * text2.C (cursorDown): don't enter the inset if we came from a row
11793         above and are one row over the inset.
11794
11795         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11796         really leaving an inset.
11797
11798 2002-04-18  Juergen Vigna  <jug@sad.it>
11799
11800         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11801         of the selected paragraph does not have the selected layout also if
11802         the last one had!
11803
11804         * text2.C (setLayout): fixed bug which did not change last selected
11805         paragraph.
11806
11807         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11808         changed the read and substituted \\end_float with \\end_inset!
11809
11810         * BufferView_pimpl.C (cursorPrevious):
11811         (cursorNext): fixed to make it work with rows heigher than the work
11812         area without moving the cursor only the draw of the row.
11813         (workAreaMotionNotify): fix jumping over high rows.
11814
11815 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11816
11817         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11818         Ressler.
11819
11820 2002-04-16  Juergen Vigna  <jug@sad.it>
11821
11822         * text2.C (setCursor): set also the irow().
11823         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11824         (cursorUp):
11825         (cursorDown): support for locking an inset if the x_fix value goes
11826         inside it. That way I can transverse insets too with cursor up/down.
11827
11828         * lyxrow.h: added irow helper function same as other (i) functions.
11829
11830         * BufferView_pimpl.C (cursorPrevious):
11831         (cursorNext): fixed for insets!
11832
11833 2002-04-15  Juergen Vigna  <jug@sad.it>
11834
11835         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11836         position otherwise it is wrong in some cases.
11837
11838         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11839         inside the inset before the call.
11840
11841 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11842
11843         * buffer.[Ch] (getBibkeyList): make it const.
11844
11845 2002-04-12  Juergen Vigna  <jug@sad.it>
11846
11847         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11848
11849         * text2.C (getCursorX): new helper function
11850         (setCursor): compute also ix_
11851         (setCursorFromCoordinates): set also ix.
11852
11853         * lyxcursor.h: added ix_ and helper functions.
11854
11855         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11856
11857         * buffer.C (insertStringAsLines): dont break paragraph if the this
11858         paragraph is inside an inset which does not permit it!
11859
11860         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11861         also with no chars on this paragraph.
11862         (paintRowText): only paint stuff if it's inside the workarea!
11863
11864         * paragraph.C (breakParagraph): honor keepempty flag and break the
11865         paragraph always below not above.
11866
11867         * BufferView2.C (unlockInset): update the paragraph layout on inset
11868         unlock as we changed paragraph in such a case.
11869
11870         * lyxfind.C (LyXFind): clear the former selection if not found!
11871
11872         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11873         again called in insertChar().
11874
11875         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11876         an inset which uses the whole row!
11877         (rightMargin): ditto.
11878         (insertChar): force a rebreak if we inserted an inset!
11879
11880 2002-03-28  Herbert Voss  <voss@lyx.org>
11881
11882         * lyxlength.[Ch]: add inBP() to get the right PS-point
11883         units (BigPoint). With inPixels we have rounding errors
11884
11885 2002-04-11  Juergen Vigna  <jug@sad.it>
11886
11887         * text2.C (setCursorFromCoordinates): set iy to the right value.
11888         (setCursor): add check if row->previous exists!
11889
11890         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11891         an old float_type as this was the case in the old code!
11892
11893         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11894
11895         * BufferView2.C (showLockedInsetCursor): use iy
11896         (fitLockedInsetCursor): ditto
11897
11898         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11899         locked insets as there we have the right value now.
11900
11901         * lyxcursor.C: added iy_ variable and iy functions to set to the
11902         baseline of cursor-y of the locked inset.
11903
11904         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11905         (setCursor): fixed for insets which need a full row.
11906
11907         * text.C (rowLastPrintable): don't ignore the last space when before
11908         an inset which needs a full row.
11909         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11910         as last character of a row when before a inset which needs a full row.
11911
11912 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * version.C.in: update date
11915
11916         * text2.C (fullRebreak): try to always return true and see what
11917         happens...
11918
11919 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11920
11921         * MenuBackend.C (expand): use Floating::listName
11922
11923         * FloatList.C (FloatList): add listName argument to the built-in
11924         floats
11925
11926         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11927         text associated with the float.
11928
11929 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11930
11931         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11932
11933 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11934
11935         * ShareContainer.h: add a couple of missing typenames.
11936
11937 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11938
11939         * lyxrc.C (getDescription): use _() correctly rather than N_().
11940
11941 2002-03-28  Herbert Voss  <voss@lyx.org>
11942
11943         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11944         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11945
11946 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11947
11948         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11949         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11950
11951 2002-03-29  Juergen Vigna  <jug@sad.it>
11952
11953         * lyxfunc.C (dispatch): add a missing fitCursor call.
11954
11955         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11956         it was scrolled by a cursor move, so return the bool status.
11957
11958         * BufferView.C (fitCursor): return the bool flag also to the outside
11959         world as this is needed.
11960
11961         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11962
11963         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11964         call the edit() as it is not needed (and wrong) IMO.
11965         (workAreaButtonPress): set the screen_first variable before evt.
11966         unlock the inset as this may change screen_first and then we have
11967         a wrong y position for the click!
11968
11969 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11970
11971         * MenuBackend.C (expand): another translation that I missed
11972
11973 2002-03-28  Juergen Vigna  <jug@sad.it>
11974
11975         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11976
11977         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11978
11979 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11980
11981         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11982
11983         * MenuBackend.C (expand): fix export/view/update when there is no
11984         document open.
11985
11986 2002-03-27  Herbert Voss  <voss@lyx.org>
11987
11988         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11989         and text%
11990
11991 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * bufferview_funcs.C (currentState): only show paragraph number
11994         for is DEVEL_VERSION is set.
11995
11996         * lyxfunc.C (dispatch): put warning in INFO channel
11997
11998         * MenuBackend.C (expand): translate the name of floats
11999
12000         * FloatList.C (FloatList): mark the float names for translation
12001
12002         * converter.C (convert): use LibScriptSearch
12003
12004 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12005
12006         * MenuBackend.C (defaults): fix default menu (we might as well get
12007         rid of it...)
12008
12009 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12010
12011         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12012         directory.
12013
12014 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12015
12016         * lyxvc.C: reorder includes.
12017
12018 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12019
12020         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12021           properly
12022
12023 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12024
12025         * CutAndPaste.C: change layouts earlier on paste
12026           to avoid crashing when calling getFont()
12027
12028 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12029
12030         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12031         irritating #error.
12032
12033 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12034
12035         * WorkArea.C: remove 'Pending' debug message.
12036
12037         * most files: ws cleanup
12038
12039         * buffer.[Ch]: ws changes
12040
12041         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12042
12043 2002-03-21  Juergen Vigna  <jug@sad.it>
12044
12045         * tabular.C (SetMultiColumn): collapse also the contents of the
12046         cells and set the last border right. Added a Buffer const * param.
12047
12048 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12051         linking or not.
12052
12053 2002-03-19  Juergen Vigna  <jug@sad.it>
12054
12055         * text2.C (clearSelection): reset also xsel_cache.
12056
12057         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12058         where it needs to be called (John tells us to do so too :)
12059         (selectionLost): reset sel_cache.
12060
12061         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12062
12063 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12064
12065         * text2.C (setCursorIntern): put debuging code in INSETS channel
12066
12067 2002-03-19  André Pönitz <poenitz@gmx.net>
12068
12069         * lyxfunc.C: tiny whitespace change
12070
12071 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12072
12073         * ToolbarDefaults.C (init):
12074         * LyXAction.C (init):
12075         * commandtags.h:
12076         * BufferView_pimpl.C (Dispatch):
12077         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12078
12079 2002-03-19  Allan Rae  <rae@lyx.org>
12080
12081         * exporter.C (Export): removeAutoInsets before doing anything else.
12082         While I've just introduced a dependency on BufferView this really is
12083         the best place to clean the buffer otherwise you need to cleanup in
12084         a dozen places before calling export or cleanup in a dozen functions
12085         that export calls.
12086
12087         * converter.C (runLaTeX):
12088         (scanLog): Better handling of removeAutoInsets and screen updates.
12089
12090         * lyxfunc.C (dispatch): small whitespace changes
12091
12092 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12093
12094         * WorkArea.C (C_WorkAreaEvent): return a value.
12095         (event_cb): return 1 if we handled the event, 0 otherwise.
12096
12097         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12098
12099 2002-03-18  Juergen Vigna  <jug@sad.it>
12100
12101         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12102         (GetAdditionalWidth): ditto.
12103         (RightLine): ditto.
12104         (LeftLine): ditto.
12105
12106         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12107         inset if we're there actually (probably not used right now but this
12108         is the direction to go for unifying code).
12109         (paste): disable code to clear the selection.
12110
12111         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12112         inside an InsetText and move the check further up as it is in the
12113         wrong place.
12114
12115         * text2.C (pasteSelection): set a selection over the pasted text.
12116
12117 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12118
12119         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12120         and libgraphics to build on Cygwin.
12121
12122 2002-03-15  Juergen Vigna  <jug@sad.it>
12123
12124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12125         inserting an Inset into the paragraph. I know this is not the best
12126         fix but we already use current_view in CutAndPaste so we will remove
12127         all of it's using at the same time.
12128
12129         * buffer.C (sgmlError): deactivated function till it is rewritten in
12130         the right mode, now it can create problems.
12131
12132         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12133         before accessing it.
12134
12135 2002-03-14  Juergen Vigna  <jug@sad.it>
12136
12137         * undo_funcs.C (textHandleUndo): do the right thing when updating
12138         the inset after the undo/redo.
12139
12140         * text2.C (setCursor): just some testcode for #44 not ready yet.
12141
12142         * undo_funcs.C (textHandleUndo): set the next() and previous()
12143         pointers of the paragraph to 0 before deleting otherwise we have
12144         problems with the Paragraph::[destructor].
12145
12146         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12147         on a paragraph insertion.
12148
12149 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12150
12151         * buffer.C (asciiParagraph): use += operator for char append to
12152         string.
12153
12154         * paragraph.C (getFontSettings): compare >= not just >
12155         (highestFontInRange): ditto
12156         (setFont): ditto
12157
12158 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * paragraph.C: change several algorithm to be more appripriate for
12161         the problem domain. This is lookip in FontList and in the InsetList.
12162
12163 2002-03-13  André Pönitz <poenitz@gmx.net>
12164
12165         * commandtags.h:
12166         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12167
12168 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * commandtags.h:
12171         * LyXAction.C:
12172         * lyxfunc.C:
12173         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12174
12175 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * Painter.C (display): anon helper function, adjust code for this
12178         change.
12179         (pixmap): remove function.
12180
12181         * Painter.h: remove private display variable.
12182
12183         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12184
12185 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12186
12187         * WorkArea.[Ch]: remove figinset_canvas cruft.
12188
12189 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12190
12191         * lyxtextclass.C (operator): add one item cache optimization.
12192
12193         * bufferlist.h: doxy changes
12194
12195         * bufferlist.C: ws changes
12196
12197         * DepTable.[Ch] (ext_exist): place const in the right spot.
12198
12199         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12200         call resizeInsets.
12201         (workAreaExpose): call resizeInsets when the with BufferView changes.
12202         (Dispatch): adjust for protectedBlank removal
12203         (specialChar): call updateInset if the insert went ok.
12204
12205         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12206         specialChar instead.
12207
12208         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12209
12210         * BufferView.h: doxy change
12211
12212         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12213
12214         * lyxtextclass.C (operator[]): remove non-const version
12215         (defaultLayout): remove non-const version
12216
12217 2002-03-12  Juergen Vigna  <jug@sad.it>
12218
12219         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12220         did resize the LyXText too.
12221
12222         * buffer.C (readLyXformat2): set layout information on newly allocated
12223         paragraphs.
12224
12225         * tabular.C (OldFormatRead): set layout information on the paragraph.
12226
12227 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12228
12229         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12230
12231 2002-03-11  Juergen Vigna  <jug@sad.it>
12232
12233         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12234         plainly wrong.
12235         (resizeCurrentBuffer): force also the insets to resize themselfes.
12236         (moveCursorUpdate): fixed up for InsetText.
12237
12238 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12239
12240         * commandtags.h:
12241         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12242         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12243         value of Dialogs::tooltipsEnabled().
12244         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12245
12246 2002-03-08  Juergen Vigna  <jug@sad.it>
12247
12248         * BufferView_pimpl.C (updateInset): update inset inside inset also
12249         if it isn't inside theLockingInset().
12250
12251 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12252
12253         * buffer.C (asciiParagraph): redo some of the word and line length
12254         handling.
12255         (getLists): look for Caption instead of caption.
12256
12257 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12258
12259         * buffer.C (Buffer): initialize niceFile to true
12260         (makeLaTeXFile):
12261         (makeLinuxDocFile):
12262         (makeDocBookFile): make sure niceFile is true on exit
12263
12264 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12265
12266         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12267
12268 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12269
12270         * LyXSendto.C: remove.
12271         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12272         * lyx_gui.C: remove now-redundant comment.
12273         * ColorHandler.h: remove forward declaration of class WorkArea.
12274         * lyxfunc.C: remove #include "WorkArea.h".
12275
12276 2002-03-07  Juergen Vigna  <jug@sad.it>
12277
12278         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12279         got moved away with the DEPM and also set the inset_owner always
12280         right which before could have been omitted.
12281
12282 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12285         wanted layout is not found.
12286
12287 2002-03-07  Juergen Vigna  <jug@sad.it>
12288
12289         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12290
12291 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12292
12293         * paragraph.C (breakParagraph): use default layout not layout of
12294         prev paragraph.
12295         (Paragraph): clear ParagraphParameters.
12296
12297 2002-03-06  Juergen Vigna  <jug@sad.it>
12298
12299         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12300         otherwise it would not be a valid lenght. Fixed a special case in
12301         the minipage compatibility read where we end the document with a
12302         minipage.
12303
12304         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12305         was set as it could be 0 for InsetTexts first entry.
12306
12307 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * paragraph.C (writeFile): if layout is empty write out
12310         defaultLayoutName().
12311
12312         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12313         file without named layout we set layout to defaultLayoutName().
12314
12315 2002-03-06  Juergen Vigna  <jug@sad.it>
12316
12317         * CutAndPaste.C (copySelection): set layout for new paragraph.
12318
12319         * text.C (prepareToPrint): leave ERT inset left aligned
12320         (leftMargin): don't indent paragraphs inside ERT insets
12321
12322 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * paragraph.C (breakParagraph): dont call clear do the work manually
12325
12326         * paragraph.[Ch] (clear): remove function
12327
12328 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12329
12330         * paragraph.C (Paragraph): dont call clear, the work has already
12331         been done.
12332
12333         * lyxtextclass.C (operator): assert if n is empty
12334
12335         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12336         work manually instead.
12337
12338 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * BufferView_pimpl.C: protect selectionLost against text == 0
12341
12342 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12343
12344         * text.C (breakParagraph): fix a setting layout to '0' problem.
12345
12346 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12347
12348         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12349         final location of file, for the included files, and graphics.
12350
12351 2002-03-05  Juergen Vigna  <jug@sad.it>
12352
12353         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12354
12355 2002-03-04  Juergen Vigna  <jug@sad.it>
12356
12357         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12358
12359         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12360         last column of multicolumn cells.
12361         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12362
12363 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12364
12365         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12366         file if it doesn't go to a temporary file.
12367
12368         * buffer.C (sgmlOpenTag):
12369         (sgmlCloseTag):  remove extra newline insertion.
12370
12371 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * text.C (getRowNearY): comment out debug msg
12374
12375 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12376
12377         * text2.C: first -> first_y
12378
12379         * text.C (getRowNearY): add some attemts at a possible
12380         optimization, not working.
12381
12382         * tabular.[Ch]: add BufferParams to several function so that newly
12383         created paragraph can be initialized to he default layotu for the
12384         buffers textclass.
12385
12386         * tabular-old.C (ReadOld): add buf->params to call of Init
12387
12388         * screen.C: rename text->first to text->first_y
12389
12390         * paragraph.C (breakParagraph): always set layout in the broken
12391         paragraph
12392
12393         * lyxtextclass.C (Read): remove lowercase
12394         (hasLayout): ditto
12395         (operator): ditto
12396         (delete_layout): ditto
12397
12398         * lyxtext.h: rename first -> first_y
12399
12400         * lyxlayout.C (Read): remove lowercase
12401         (name): ditto
12402         (setName): ditto
12403         (obsoleted_by): ditto
12404
12405         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12406
12407         * buffer.C (insertErtContents): add params are to InsetERT
12408         (parseSingleLyXformat2Token): add code to check if a paragraphs
12409         layout really exist.
12410         (parseSingleLyXformat2Token): add params to several inset
12411         constructors
12412         (asciiParagraph): remove lowercase, do the layout comparisons with
12413         no_case
12414
12415         * BufferView_pimpl.C (cursorNext): first -> first_y
12416         (resizeCurrentBuffer): first -> first_y
12417         (updateScrollbar): first -> first_y
12418         (scrollCB): first -> first_y
12419         (workAreaMotionNotify): first -> first_y
12420         (workAreaButtonPress): first -> first_y
12421         (checkInsetHit): first -> first_y
12422         (cursorPrevious): first -> first_y
12423         (cursorNext): first -> first_y
12424         (Dispatch): add buffer_->params to severl inset contructors
12425
12426 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12427
12428         * lyxlayout.C (Read): remove some debug info that I forgot.
12429
12430         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12431         clean up the code slightly.
12432         (makeLinuxDocFile): ditto
12433         (makeDocBookFile): ditto
12434
12435         * text2.C: layout as string
12436
12437         * text.C: layout as string
12438
12439         * paragraph_pimpl.C: layout as string
12440
12441         * paragraph.[Ch]: layout as string
12442
12443         * lyxtextclasslist.[Ch]: layout as string
12444
12445         * lyxtextclass.[Ch]: layout as string
12446
12447         * lyxtext.h: layout as string
12448
12449         * lyxlayout.[Ch]: layout as string
12450
12451         * lyx_cb.C: layout as string
12452
12453         * bufferview_funcs.C: layout as string
12454
12455         * bufferparams.C: layout as string
12456
12457         * buffer.C: layout as string
12458
12459         * LyXView.[Ch]: layout as string
12460
12461         * LaTeXFeatures.[Ch]: layout as string
12462
12463         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12464
12465         * BufferView_pimpl.C: change current_layout to string, remove
12466         lyx::layout_type.
12467         (Dispatch):
12468         (smartQuote):
12469         (insertInset):
12470         (workAreaButtonRelease): layout as string
12471
12472         * BufferView2.C (unlockInset): adjust
12473
12474         * vspace.C (asLatexCommand): use an explict temp variable.
12475
12476 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12477
12478         * Makefile.am: use FRONTEND_*
12479
12480 2002-03-01  Juergen Vigna  <jug@sad.it>
12481
12482         * tabular.C (SetWidthOfMulticolCell): changed to something better
12483         I hope but still work in progress.
12484         (recalculateMulticolumnsOfColumn): renamed function from
12485         recalculateMulticolCells as it is more appropriate now.
12486         (SetWidthOfCell): calculate multicols better.
12487
12488 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12491
12492         * lyxfunc.C (processKeySym): print sequence also if it is
12493         `deleted' (complete)
12494
12495         * kbsequence.C (print): print sequence even if it is deleted
12496         (complete would be a better word, actually).
12497
12498         * lyxfunc.C (dispatch): print complete options after a prefix key
12499
12500         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12501
12502 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12503
12504         * text2.C (setCharFont): eliminate setCharFont code duplication.
12505
12506 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12507
12508         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12509         LFUN_TABULAR_FEATURE (bug #177)
12510
12511 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12512
12513         * Makefile.am: remove figure.h
12514
12515 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12516
12517         * Bufferview_pimpl.C:
12518         * CutAndPasteC:
12519         * LaTeX.C:
12520         * LyXSendto.C:
12521         * buffer.C:
12522         * bufferlist.C:
12523         * converter.C:
12524         * language.C:
12525         * lyxfunc.C:
12526         * lyxvc.C:
12527         * paragraph.C:
12528         * text.C:
12529         * text2.C: remove #include "lyx_gui_misc.h".
12530
12531         * LaTeX.C: added #include <cstdio>
12532
12533 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12534
12535         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12536         that the paragraph following this one can have.
12537
12538         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12539
12540         * vspace.C (asLatexCommand): fix bogus gcc warning
12541
12542         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12543
12544 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12545
12546         * text2.C (setLayout): get rid of redundant code
12547
12548 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12549
12550         * text2.C (incDepth): make sure depth cannot be increased beyond
12551         reasonable values.
12552
12553 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12554
12555         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12556         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12557
12558         * PainterBase.h (image):
12559         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12560         a LyXImage const *.
12561
12562 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12563
12564         * BufferView.C:
12565         * BufferView.h:
12566         * BufferView_pimpl.C:
12567         * BufferView_pimpl.h:
12568         * LaTeXFeatures.C:
12569         * LyXAction.C:
12570         * LyXView.C:
12571         * Makefile.am:
12572         * UpdateList.h:
12573         * UpdateList.C:
12574         * buffer.C:
12575         * figure.h:
12576         * figureForm.C:
12577         * figureForm.h:
12578         * figure_form.C:
12579         * figure_form.h:
12580         * lyx_cb.C:
12581         * lyx_gui.C:
12582         * lyx_gui_misc.C:
12583         * lyxfunc.C:
12584         * sp_base.h:
12585         * sp_ispell.h:
12586         * sp_pspell.h:
12587         * sp_spell.C: remove fig inset, and the crap house of
12588           cards that follows it
12589
12590 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * Makefile.am:
12593         * lyxserver.C:
12594         * os2_defines.h:
12595         * os2_errortable.h:
12596         * nt_defines.h: move .h into support/
12597
12598         * vms_defines.h: remove
12599
12600         * WorkArea.C: add space in debug output
12601
12602         * text2.C:
12603         * paragraph.C:
12604         * buffer.C: add WITH_WARNINGS
12605
12606         * vc-backend.h:
12607         * vc-backend.C:
12608         * bufferlist.C: s/retrive/retrieve/, add docs
12609
12610         * vspace.h:
12611         * vspace.C:
12612         * kbmap.h:
12613         * lyxlength.h:
12614         * lyxgluelength.h:
12615         * length_common.h:
12616         * chset.h:
12617         * chset.C: add docs
12618
12619         * lyxgui.C: add ID to X error handler
12620
12621         * lyxtestclass.c: fix typo
12622
12623 2002-02-26  Juergen Vigna  <jug@sad.it>
12624
12625         * tabular_funcs.C (write_attribute): changed so that some default
12626         attributes are not written at all.
12627         (getTokenValue): set default values before trying to read the
12628         value so we have the return value always set as default if we don't
12629         find the token we search for.
12630
12631         * tabular.C (Write): write bools as bools not as strings!
12632
12633 2002-02-22  Juergen Vigna  <jug@sad.it>
12634
12635         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12636         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12637
12638         * text.C (leftMargin): don't add an indent for paragraphs inside
12639         tabular cells (fix #208).
12640
12641 2002-02-21  José Matos  <jamatos@fep.up.pt>
12642
12643         * tabular.C (docBook): fixed support for long tables.
12644
12645 2002-02-20  Juergen Vigna  <jug@sad.it>
12646
12647         * text2.C (getFont): get the drawing font of the Inset if this
12648         paragraph is inside an inset (only important for InsetERT for now).
12649
12650         * buffer.C (insertErtContents): use new lanugage params in ERT
12651         constructor.
12652
12653         * CutAndPaste.C: commenting out seemingly uneeded code.
12654
12655 2002-02-19  Allan Rae  <rae@lyx.org>
12656
12657         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12658         Iterators might be simple to use but they also get invalidated.
12659         (removeAutoInsets): renamed saved cursor tracking variables and added
12660         some comments to clarify what everything does.
12661
12662 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12663
12664         * Chktex.C:
12665         * LaTeX.C:
12666         * LyXSendto.C:
12667         * converter.C:
12668         * lyx_cb.C:
12669         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12670         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12671
12672         * lyxfunc.C:
12673         * vc-backend.h: remove #include "support/syscall.h"
12674
12675         * LaTeX.C:
12676         * LyXSendto.C:
12677         * converter.C: rearrange #includes in Lars' approved fashion.
12678
12679         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12680         forward declare class Timeout in the header file.
12681
12682         * XFormsView.C: changes due to the above.
12683
12684         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12685         similar to LyXView.
12686
12687         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12688         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12689
12690 2002-02-18  José Matos  <jamatos@fep.up.pt>
12691
12692         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12693         insets contents.
12694
12695 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12696
12697         * a lot of small ws changes
12698         * add a lot of using std::XXX
12699         * use std construcs some places where approp.
12700         * use some exisint stuff from lyxfunctional where approp.
12701         * Make file changes to use partial linking (lets test this now...)
12702
12703 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12704
12705         * Chktex.C:
12706         * buffer.C:
12707         remove #include "support/syscontr.h" as it's redundant. Always has been.
12708
12709         * Chktex.C:
12710         * LaTeX.C:
12711         * LyXSendto.C:
12712         * converter.C:
12713         * lyx_cb.C:
12714         * vc-backend.C:
12715         change Systemcalls::System to Systemcalls::Wait and
12716         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12717         No change of functionality, just reflects the stripped down Systemcalls
12718         class.
12719
12720 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12721
12722         * debug.[Ch]: add a GRAPHICS type to the enum.
12723
12724 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12725
12726         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12727
12728         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12729         there is an inset.
12730
12731 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12732
12733         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12734         match the changes below.
12735
12736         * text2.C (toggleInset): if there is not editable inset at cursor
12737         position, try to see if cursor is _inside_ a collapsable inset
12738         and close it.
12739
12740 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12741
12742         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12743         document menu has a nice checkbox
12744
12745 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12746
12747         * lyxlength.C (asLatexString): change PW to output as percent of
12748         \textwidth.
12749
12750         * lengthcommon.C: change '%' to 't%'
12751
12752         * lyxfunc.C (dispatch): a few comments from Martin
12753
12754 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * WorkArea.h:
12757         * WorkArea.C:
12758         * BufferView_pimpl.h:
12759         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12760           the X selection.
12761
12762 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12763
12764         * vspace.C (inPixels): fix compiler warning
12765
12766 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12767
12768         * lyxfunc.C (getStatus): fix status message for disabled commands.
12769
12770 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12771
12772         * BufferView_pimpl.C: fix crash on close buffer
12773         during selection (#227)
12774
12775 2002-01-27  Herbert Voss  <voss@lyx.org>
12776
12777         * buffer.C: link old Figure to new graphic inset
12778
12779 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12780
12781         * FontLoader.C (getFontinfo): Change the latex font names in order
12782         to match the names of type1inst.
12783
12784 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12787
12788         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12789         (extchanged): ditto
12790         (ext_exist): ditto
12791         (remove_files_with_extension): ditto
12792         (remove_file): ditto
12793         (write): ditto
12794
12795         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12796         document is smaller than the work area height. Do not initialize
12797         static variables to 0.
12798
12799 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12800
12801         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12802
12803         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12804         LFUN_LAYOUT_PARAGRAPHS.
12805
12806         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12807         tabular. It is possible to provide a possible cell, which will
12808         typically be the actcell from the corresponding insettabular
12809
12810         * lyxfunc.C (getStatus): small cleanup; disable
12811         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12812         true
12813
12814 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12815
12816         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12817
12818         * paragraph.C (startTeXParParams):
12819         (endTeXParParams): new methods. The LaTeX code to
12820         start/end paragraph formatting
12821         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12822         empty (fixes bug #200)
12823
12824         * vspace.C (inPixels): adapt to the change below
12825         (inPixels): [later] more cleanups (remove unused variables)
12826
12827         * lyxlength.C (inPixels): change to use a width and a height as
12828         parameter.
12829
12830 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12831
12832         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12833         Replaced with \paperwidth
12834
12835         * DepTable.C (insert): add std:: qualifier
12836
12837 2002-01-18  Allan Rae  <rae@lyx.org>
12838
12839         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12840         updated also?
12841
12842         * text.C (drawInset): Turned out I didn't know enough about how
12843         rebreaking worked.  This fixes most of the redraw problems.  I see
12844         an occasional cursor trail when a line is broken now and the cursor
12845         placement can seem out by a few pixels also after a rebreak.
12846
12847 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * buffer.C (parseSingleLyXformat2Token): update because minipage
12850         width is now a LyXLength
12851
12852         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12853
12854         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12855         math insets
12856
12857 2002-01-17  Juergen Vigna  <jug@sad.it>
12858
12859         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12860
12861         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12862         is set correctly and the inset is updated correctly.
12863
12864 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12865
12866         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12867         the beginning of the loop.
12868
12869 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12870
12871         * lyxrc.C: improve help for use_scalable_fonts
12872
12873 2002-01-17  Allan Rae  <rae@lyx.org>
12874
12875         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12876
12877 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12878
12879         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12880         make sure to set their inset_owner to the right value (bug #171)
12881
12882 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12883
12884         * DepTable.h
12885         * DepTable.C: Implement mtime checking to reduce time spent doing
12886         CRCs.
12887
12888 2002-01-16  Juergen Vigna  <jug@sad.it>
12889
12890         * tabular.C (GetAdditionalHeight): one of error fixed.
12891
12892         * lyxrc.C (output): small fix in writing use_pspell.
12893
12894 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12895
12896         * sp_base.h: #include LString.h
12897
12898 2002-01-16  Allan Rae  <rae@lyx.org>
12899
12900         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12901         Can someone check this please?
12902
12903         * text.C (drawInset): It was possible that p.row would be removed by
12904         breakAgainOneRow upsetting a few other settings.  There may be another
12905         small tweak possible by setting need_break_row = 0 when p.row has been
12906         removed but I don't know enough about the logic here.
12907
12908 2002-01-15  Allan Rae  <rae@lyx.org>
12909
12910         * text.C (insertChar): removed conditional truism.
12911
12912         * BufferView2.C (removeAutoInsets): More tweaks.
12913         cur_par_prev could be a stray pointer.  Check for trailing empty line
12914         in case last line was cur_par and only had an error inset on it.
12915
12916 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12917
12918         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12919         absolute
12920
12921         * vc-backend.C (most methods):
12922         * exporter.C (Export):
12923         * converter.C (convert):
12924         (runLaTeX):
12925         * LyXSendto.C (SendtoApplyCB):
12926         * lyxfunc.C (dispatch):
12927         (menuNew):
12928         (open):
12929         (doImport):
12930         * lyx_cb.C (AutoSave):
12931         (InsertAsciiFile):
12932         * BufferView_pimpl.C (MenuInsertLyXFile):
12933         * buffer.C (runChktex): use Buffer::filePath().
12934
12935         * buffer.h: rename filename to filename_; rename filepath to
12936         filepath_ and make it private
12937         (filePath): new method
12938
12939         * buffer.C (writeFile): use fileName()
12940         (getLatexName):
12941
12942         * lyx_main.C (init): fix starting  of LyX when the binary is a
12943         link from so,ewhere else.
12944
12945         * minibuffer.C: include <cctype> for isprint
12946
12947 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12948
12949         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12950         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12951         name clash with InsetCollapsable's width function.
12952
12953 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12954
12955         * lastfiles.C: include <iterator>
12956
12957 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12958
12959         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12960         std::count.
12961
12962         * buffer.C (makeLaTeXFile): ditto.
12963         Also make loop operation more transparent.
12964
12965 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12966
12967         * ToolbarDefaults.C: remove trailing comma closing namespace.
12968
12969         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12970
12971         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12972         as in WorkArea.
12973
12974         * trans.C (Load): comment out unused variable, allowed.
12975
12976 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12977
12978         * minibuffer.[Ch] (append_char): new method to recieve input from the
12979         drop-down completion browser. If a key was pressed, then recieve this
12980         char and append it to the existing string.
12981         (peek_event): modify the positioning data passed to the completion
12982         browser so that it can be placed above the minibuffer rather than below.
12983 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * LyXAction.C (init): alloe error-next for readonly documents.
12986
12987         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12988         count.
12989
12990 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12991
12992         * bufferlist.C (readFile): create the buffer _after_ checking that
12993         the file exists.
12994
12995         * lyxfunc.C (verboseDispatch): fix handling of arguments
12996
12997         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12998
12999         * lyxrc.C: use string::erase() instead of initializing to "".
13000
13001
13002 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13003
13004         * BufferView_pimpl.h:
13005         * BufferView_pimpl.C:
13006         * WorkArea.h:
13007         * WorkArea.C:
13008         * text2.C: tell X when we have made a selection for copying
13009
13010 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13011
13012         * BufferView_pimpl.C (MenuInsertLyXFile):
13013         * lyxfunc.C (menuNew):
13014         (open):
13015         (doImport): add shortcuts to directory buttons
13016
13017         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13018         open a float)
13019
13020         * lyxfunc.C (setStatusMessage):
13021         (getStatusMessage): new methods
13022         (getStatus):use setStatusMessage instead of setErrorMessage
13023         (dispatch): when function is disabled, set error message here
13024         [instead of in getStatus previously]
13025
13026         * BufferView_pimpl.C (workAreaButtonRelease): update
13027         toolbar/menubar here too.
13028
13029 2002-01-13  Allan Rae  <rae@lyx.org>
13030
13031         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13032         Now seems indestructible.  Remaining task is to audit all other
13033         code affected by deleteEmptyParagraphMechanism.  One small quirk
13034         left is that an empty document with an error in the preamble can
13035         be made to report an error but no error box appears.  I don't know
13036         where it goes.
13037         (removeAutoInsets): Improved comments.
13038
13039 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13040
13041         * Thesaurus.h:
13042         * Thesaurus.C: update for Aiksaurus 0.14
13043
13044 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13045
13046         * text2.C (firstParagraph): removed member function, all uses
13047         replaces with ownerParagraph
13048         (redoParagraphs): here
13049         (updateInset): here
13050         (toggleAppendix): here
13051         * BufferView2.C (insertErrors): here
13052         (setCursorFromRow): here
13053
13054 2002-01-13  Allan Rae  <rae@lyx.org>
13055
13056         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13057         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13058         There is still a way to segfault this although you may have to do this
13059         multiple times: Have an InsetERT with an unknown command in it.
13060         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13061         <down-arrow>, <Enter> again, View->DVI, BANG!
13062
13063         * text2.C (setCursor):
13064         (deleteEmptyParagraphMechanism):
13065         * lyxtext.h (setCursor):
13066         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13067         Making use of the return value may help fix other bugs.
13068
13069 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13070
13071         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13072
13073         * LyXView.C (updateMenubar): call MenuBar::update here
13074         (updateToolbar): but not here
13075         (showState): do not update toolbar/menubar
13076
13077         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13078         should need to care about that.
13079
13080         * lyxfunc.C (verboseDispatch): simplify a bit
13081         (getStatus): have a version which takes a pseudoaction, and
13082         another which requires a (kb_action,string).
13083
13084         * LyXAction.C (retrieveActionArg): make it work also when action
13085         is not a pseudo-action.
13086         (getActionName): simplify a bit
13087         (helpText):
13088
13089 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13090
13091         * lyxfunc.C (verboseDispatch): new families of methods with
13092         several ways to specify a command and a bool to indicate whether
13093         the command name and shortcut should be displayed in minibuffer
13094         (eventually, we could extend that to a finer bitmask like
13095         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13096         (dispatch): the pristine dispatch command which just, well,
13097         dispatchs! Note it still sets its result to minibuffer; I'm not
13098         sure we want that.
13099
13100         * lyxfunc.h: remove setHintMessage
13101
13102         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13103
13104 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13105
13106         * BufferView_pimpl.C (specialChar): delete new inset if we have
13107         not been able to insert it.
13108
13109         * kbmap.C: revert to using int instead of kb_action, since all we
13110         are dealing with is pseudo-actions.
13111
13112         * LyXAction.C (searchActionArg): change to return int instead of
13113         kb_action, since the result is a pseudoaction.
13114
13115 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13116
13117         * buffer.C (insertErtContents): Fix (partially) the font bug.
13118
13119 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13120
13121         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13122         as the other one is broken on my machine!
13123
13124 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13125
13126         * commandtags.h:
13127         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13128
13129 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13130
13131         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13132         reflect their actual use. Provide compatibility code for older lyxrc
13133         files.
13134
13135         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13136         FL_NORMAL_STYLE.
13137         change names of popup font variables in line with the changes to lyxrc.C
13138
13139 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13140
13141         * buffer.C (asciiParagraph): avoid outputing a word twice after
13142         an inset.
13143
13144         * lyxrc.C (getDescription): document that document_path and
13145         template_path can be empty.
13146
13147 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13148
13149         * LaTeXFeatures.C (getMacros):
13150         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13151
13152         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13153
13154         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13155         getPackages.
13156         (getPackages): rename feature "floats" to "float". Use an array to
13157         iterate over 'simple' features (i.e. just a \usepackage). Add
13158         handling of "amsmath" (renamed from "amsstyle").
13159
13160 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13161
13162         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13163         features list.
13164
13165 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13166
13167         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13168         FuncStaus::FuncStatus & FuncStaus::some_method().
13169
13170 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13171
13172         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13173         of the func_satus stuff. Edited and massaged in various ways by
13174         JMarc.
13175
13176         * lyxfunc.C (getStatus): use FuncStatus
13177
13178 2002-01-08  Juergen Vigna  <jug@sad.it>
13179
13180         * text.C (nextBreakPoint): use function Inset::isChar().
13181
13182         * paragraph.C (TeXOnePar): use function
13183         Inset::forceDefaultParagraphs.
13184
13185         * buffer.C (latexParagraphs): use function
13186         Inset::forceDefaultParagraphs.
13187
13188 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * lyx_gui.C (init): set the style of the menu popups to
13191         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13192
13193 2002-01-07  Juergen Vigna  <jug@sad.it>
13194
13195         * text.C (setHeightOfRow): small fix
13196         (prepareToPrint): don't look at alignment if we don't have the place
13197         for doing it.
13198
13199 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13200
13201         * box.C: New file. Move the Box methods and functions out of box.h,
13202         following Lars' suggestion.
13203
13204 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13205
13206         * box.h: #include "support/LOstream.h", needed for inlined function.
13207
13208         * lyxtextclass.C:
13209         * lyxtextclasslist.C: added some using std declarations.
13210
13211 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * box.h: make signed dimensions to allow insets wider than
13214           the screen (bug #162)
13215
13216         * BufferView_pimpl.C: add some insetHit debug
13217
13218 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13219
13220         * vc-backend.C: add FIXME
13221
13222 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13223
13224         * lyxfunc.C (getStatus): enable code for showing math font status
13225         in toolbar/menu.
13226
13227 2002-01-07  Juergen Vigna  <jug@sad.it>
13228
13229         * text.C (nextBreakPoint): removed debug output not needed anymore.
13230
13231 2002-01-06  Juergen Vigna  <jug@sad.it>
13232
13233         * text.C (nextBreakPoint): fixed up this function we had this bug
13234         since ever but now hopefully we break row better.
13235         (insertChar): we have to check if an inset is the next char as it
13236         could now happen that a large inset is causing a break.
13237
13238 2002-01-05  Juergen Vigna  <jug@sad.it>
13239
13240         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13241         if it doesn't like to be drawed.
13242
13243 2002-01-04  Juergen Vigna  <jug@sad.it>
13244
13245         * BufferView2.C (lockInset): forgot to set a cursor.
13246
13247         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13248
13249 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13250
13251         * FormMathsPanel.C:
13252         * FormMathsPanel.h
13253         * MathsSymbols.C:
13254         * form_maths_panel.C:
13255         * form_maths_panel.h:
13256         * form_maths_panel.fd: implemented sub- and super- buttons in math
13257         panel.
13258
13259         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13260         (or ^ space) to be used as in TeX (req'd by André).
13261
13262         * lyxfunc.C: Allow ^ and _ again to be used both as
13263         super/subscript (mathed) and as themselves (in text).
13264
13265 2002-01-03  Allan Rae  <rae@lyx.org>
13266
13267         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13268         "LyX" or the filename of the current buffer if it has one.  This is a
13269         modified form of John Levon's patch.
13270
13271         * XFormsView.C (setWindowTitle): also set icon title.
13272
13273         * LyXView.h (setWindowTitle): signature changed.
13274         * XFormsView.h (setWindowTitle): ditto.
13275
13276 2002-01-02  Juergen Vigna  <jug@sad.it>
13277
13278         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13279
13280 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13281
13282         * screen.C (topCursorVisible): introduce a temp var for
13283         text->cursor.row(), handle the case where this row is null. (kindo
13284         hachish)
13285
13286         * text2.C (setCursor): add a couple of asserts.
13287
13288         * paragraph.h (inset_iterator): add -> operator
13289
13290         * paragraph.[Ch] (autoDeleteInsets): remove member function
13291
13292         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13293         cursor pos correctly and handle inset deletion by itself.
13294         (insertErrors): move iterator declaration out of for expression
13295
13296         * lyxtextclass.C: add <algorithm>
13297
13298         * Makefile.am: added the new files to sources, removed layout.C
13299
13300         * layout.C: removed file
13301
13302         * layout.h: remove LYX_DUMMY_LAYOUT
13303
13304         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13305         layout.
13306
13307         * lyxlayout.[Ch]:
13308         * lyxtextclass.[Ch]:
13309         * lyxtextclasslist.[Ch]: new files
13310
13311         * include order changes to a lot of files, also changes because of
13312         the six new files.
13313
13314 2001-12-27  Juergen Vigna  <jug@sad.it>
13315
13316         * buffer.C (asciiParagraph): more fixes.
13317
13318         * tabular.C (ascii): make ascii export support export of only the
13319         data separated by a column-delimiter.
13320         (ascii): better support for ascii export.
13321
13322         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13323
13324 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13325
13326         * tabular_funcs.C: use a "using std::getline" instead of the
13327         previous fix from Angus (necessary for cxx + lyxstring)
13328
13329 2001-12-24  Juergen Vigna  <jug@sad.it>
13330
13331         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13332
13333         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13334         problems. First check a minipage also if we have some ert-contents
13335         (not only on par->size(), second set the right depth of the paragraph
13336         on the relink to the root-paragraph-list!
13337
13338         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13339         which then did not anymore update the main paragraphs on undo/redo!
13340
13341 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13342
13343         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13344         code. Support all font-changing funcs (even those which are not in
13345         menu currently). Support for reporting font settings in
13346         mathed (disabled until Andre provides a function on mathed's side).
13347
13348         * func_status.h (toggle): small helper function to set toggle
13349         state on a flag.
13350
13351 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13352
13353         * tabular_funcs.C: getline -> std::getline
13354
13355 2001-12-21  Juergen Vigna  <jug@sad.it>
13356
13357         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13358         accessed and could be 0 (I couldn't generate this but it seems
13359         Michael could!).
13360
13361 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13364         * tabular_funcs.h: here and include iosfwd
13365
13366 2001-12-20  Juergen Vigna  <jug@sad.it>
13367
13368         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13369         inside inset but undo_par was.
13370
13371 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13372
13373         * Thesaurus.C: always include <config.h> in sources.
13374
13375         * Painter.h:
13376         * lyxlookup.h:
13377         * box.h: do not include <config.h> in header files
13378
13379         * text.C (paintLastRow): remove unused variable
13380
13381         * text.C (transformChar):
13382         (insertChar):
13383         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13384
13385         * Painter.C (text):
13386         * font.C (width): rewrite to use uppercase() instead of
13387         islower/toupper.
13388
13389         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13390
13391 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * lyxfind.C: clean up of find failure position change
13394
13395 2001-12-20  Juergen Vigna  <jug@sad.it>
13396
13397         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13398
13399         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13400         (TeXRow): added to LaTeX a single tabular row.
13401         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13402         (Latex): simplified and finally good LT-h/f support.
13403         (various_functions): just small adaptions for LT-h/f support.
13404
13405         * tabular_funcs.[hC]: added and moved here all not classfunctions
13406         of LyXTabular.
13407
13408 2001-12-19  Juergen Vigna  <jug@sad.it>
13409
13410         * tabular.[Ch]: better support for longtabular options (not finished
13411         yet!)
13412
13413 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13414
13415         * text.C (paintLastRow): use the label font instead of the font of
13416         the last character to compute the size of *_BOX. This makes more
13417         sense and avoids a crash with empty paragraphs.
13418         Use Painter::rectangle to draw EMPTY_BOX.
13419
13420 2001-12-19  Juergen Vigna  <jug@sad.it>
13421
13422         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13423         the paragraphs if the replaced paragraph is not the first one!
13424         Tried to delete not used paragraphs but does not work yet so for
13425         now it's inside #ifdef's and by default off!
13426
13427 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13428
13429         * MenuBackend.C: include "lyx_main.h" instead of declaring
13430         lastfiles (actually was declared as LastFiles* instead of a
13431         scoped_ptr).
13432
13433 2001-12-17  Juergen Vigna  <jug@sad.it>
13434
13435         * tabular.C (AppendColumn): applied John's fix
13436
13437 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13438
13439         * BufferView.h:
13440         * BufferView.C:
13441         * BufferView_pimpl.h:
13442         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13443
13444         * Makefile.am:
13445         * box.h: new start of class for above
13446
13447         * lyxfunc.C: ignore space-only minibuffer dispatches.
13448           Show the command name when it doesn't exist
13449
13450         * minibuffer.C: don't add empty lines to the history
13451
13452         * minibuffer.C: add a space on dropdown completion
13453
13454 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13455
13456         * text.C: fix line above/below drawing in insets
13457
13458 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * lyxlength.C (LyXLength): Initialize private variables.
13461
13462 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13463
13464         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13465         when inserting error insets.
13466
13467 2001-12-13  Juergen Vigna  <jug@sad.it>
13468
13469         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13470         actually sometimes the before-paragraph.
13471         (setUndo): don't clear the redostack if we're not actually undoing!
13472
13473 2001-12-06  Juergen Vigna  <jug@sad.it>
13474
13475         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13476         and fixed redoing of main paragraph, so we can use it now ;)
13477
13478         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13479
13480 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13481
13482         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13483         Juergen's request
13484
13485 2001-12-13  André Pönitz <poenitz@gmx.net>
13486
13487         * undostack.[Ch]:
13488         * undo_func.C: minor cleanup
13489
13490 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13491
13492         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13493         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13494         font in urw-fonts package which is marked as -urw-fontspecific and
13495         does not work (incidentally, changing the encoding in the
13496         fonts.dir of this package to -adobe-fontspecific fixes the
13497         problem).
13498
13499         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13500         is a crash when undoing first paragraph (Juergen, please take a
13501         look). THis does not mean the undo fix is wrong, just that it
13502         uncovers problems.
13503
13504         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13505         the (Paragraph*) version when needed instead of duplicating the
13506         code.
13507
13508         * text.C (workWidth): use Inset::parOwner to find out where the
13509         inset has been inserted. This is a huge performance gain for large
13510         documents with lots of insets. If Inset::parOwner is not set, fall
13511         back on the brute force method
13512
13513         * paragraph_pimpl.C (insertInset):
13514         * paragraph.C (Paragraph):
13515         (cutIntoMinibuffer): set parOwner of insets when
13516         inserting/removing them
13517
13518         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13519
13520 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13521
13522         * commandtags.h:
13523         * LyXAction.C:
13524         * lyx_main.C:
13525         * lyxfunc.C:
13526         * mathed/formulabase.C:
13527         * mathed/math_cursor.[Ch]:
13528         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13529
13530
13531 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13532
13533         * lyxlength.[Ch] (operator!=): new function
13534
13535 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13536
13537         * text.C (workWidth): use Inset::parOwner to find out where the
13538         inset has been inserted. This is a huge performance gain for large
13539         documents with lots of insets. If Inset::parOwner is not set, fall
13540         back on the brute force method
13541
13542         * paragraph_pimpl.C (insertInset):
13543         * paragraph.C (Paragraph):
13544         (cutIntoMinibuffer): set parOwner of insets when
13545         inserting/removing them
13546
13547         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13548
13549 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13550
13551         * tabular-old.C (getTokenValue):
13552         * tabular.C (getTokenValue):
13553         (write_attribute): new versions for LyXLength
13554         (everywhere): adjust the use of widths
13555
13556         * tabular.h: change the type of widths from string to LyXLength
13557
13558 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13559
13560         * paragraph.C: fixed missing line number count when exporting
13561         Environments to LaTeX file
13562
13563         * buffer.C: added informational message for checking line numbers.
13564
13565 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13566
13567         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13568         paragraph, do the 'double space' part, but not the 'empty
13569         paragraph' one.
13570
13571         * text.C (workWidth): small optimization
13572         (getLengthMarkerHeight): use minimal size for negative lengths.
13573
13574 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13575
13576         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13577
13578         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13579
13580 2001-12-11  André Pönitz <poenitz@gmx.net>
13581
13582         * FontLoader.C:
13583         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13584
13585 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13586
13587         * text2.C: keep selection on a setFont()
13588
13589 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13590
13591         * lyx_cb.C: another bv->text misuse, from insert label
13592
13593 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13594
13595         * kbsequence.h:
13596         * kbsequence.C: re-instate nmodifier mask
13597
13598 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13599
13600         * lyx_main.h: make lyxGUI private.
13601
13602 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13603
13604         * lyxfind.C: place the cursor correctly on failed search
13605
13606 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13607
13608         * text.C (getLengthMarkerHeight): for small heights, the arrows
13609         are not always on top/bottom of the text
13610         (drawLengthMarker): smaller arrows; take the left margin in
13611         account; draw also vfills.
13612         (paintFirstRow):
13613         (paintLastRow): remove special code for vfill and standard spaces,
13614         since everything is handled in drawLengthMarker now.
13615
13616 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13617
13618         * buffer.C (insertErtContents): try to handle font and language
13619         interaction a bit better.g
13620
13621         * ColorHandler.C (updateColor): change the hash to cover the whole
13622         LColor enum, ws cleanup
13623         (getGCLinepars): ditto
13624         (getGCLinepars): only lookup in the linecache once.
13625
13626 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13627
13628         * iterators.C (operator++): Make the iterator more robust
13629
13630         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13631         (John's patch)
13632         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13633
13634 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13635
13636         * lyxtext.h:
13637         * text.C: better added space drawing
13638
13639 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13640
13641         * LyXView.C:
13642         * BufferView2.C: fix layout combo update on inset unlock
13643
13644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * Makefile.am: don't compile unused files
13647
13648 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13649
13650         * lyxfunc.C:
13651         * commandtags.h:
13652         * LyXAction.C: remove old LFUN_LAYOUTNO
13653
13654 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13655
13656         * paragraph_pimpl.h:
13657         * paragraph_pimpl.C: isTextAt() doesn't need font param
13658
13659 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13660
13661         * lyxlex.h:
13662         * lyxlex.C: little cleanup
13663
13664 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * BufferView_pimpl.C: fix insertAscii for insets
13667
13668 2001-12-05  Juergen Vigna  <jug@sad.it>
13669
13670         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13671         set the right font on the "multi" paragraph paste!
13672
13673 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * trans_decl.h:
13676         * trans_mgr.[Ch]:
13677         * trans.[Ch]:
13678         * lyxgluelength.C:
13679         * lyxlength.C: remove out-commented code.
13680
13681         * BufferView_pimpl:
13682         * CutAndPaste.C:
13683         * DepTable.C:
13684         * buffer.C:
13685         * chset.C:
13686         * lastfiles.C:
13687         * lyxlex.C:
13688         * lyxlex_pimpl.C:
13689         * lyxserver.C:
13690         * screen.C:
13691         * tabular-old.C:
13692         * tabular.C:
13693         * text.C:
13694         * trans_mgr.C:
13695         * vc-backend.C: change "while(" to "while ("
13696
13697         * lyxlength.[Ch]: add zero function to check if length is zero or
13698         not
13699         * lyxgluelength.C: use it
13700
13701 2001-12-05  Allan Rae  <rae@lyx.org>
13702
13703         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13704         Works for 2.95.3, from what I understand of Garst's reports this should
13705         work for other g++ versions.  We're screwed if the abs(int) definition
13706         changed between bugfix releases of gcc.
13707
13708 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13709
13710         * text.C: fix chapter label offset !
13711
13712 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13713
13714         * lyxtext.h:
13715         * text.C: fix hfill at end of line, clean up
13716
13717 2001-12-04  Juergen Vigna  <jug@sad.it>
13718
13719         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13720         that we force an update of the inset and it's owners if neccessary.
13721
13722 2001-12-03  Juergen Vigna  <jug@sad.it>
13723
13724         * text.C (rowLast): simplified code
13725
13726 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13727
13728         * lyxfunc.C: fix show options on timeout
13729
13730 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13731
13732         * screen.C (topCursorVisible): scroll half a page when the cursor
13733         reached top of bottom of screen
13734
13735 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13736
13737         * minibuffer.C: deactivate on loss of focus
13738
13739 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13740
13741         * vspace.[Ch] (operator!=): add operator.
13742
13743 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * BufferView_pimpl.C: refuse to open an inset when
13746         there's a selection.
13747
13748 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13749
13750         * BufferView_pimpl.C: allow to click on RHS of full row insets
13751
13752 2001-11-30  Juergen Vigna  <jug@sad.it>
13753
13754         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13755         insets for undo reasons.
13756
13757 2001-11-28  André Pönitz <poenitz@gmx.net>
13758
13759         * vspace.[Ch]: cosmetical changes
13760
13761 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13762
13763         * LyXAction.h:
13764         * LyXAction.C:
13765         * lyxfunc.h:
13766         * lyxfunc.C:
13767         * kbmap.h:
13768         * kbmap.C:
13769         * lyxrc.C:
13770         * kbsequence.h:
13771         * kbsequence.C: part re-write of old kb code
13772
13773         * Painter.C:
13774         * WorkArea.C: remove Lgb_bug_find_hack
13775
13776 2001-11-30  José Matos <jamatos@fep.up.pt>
13777
13778         * buffer.C (makeDocBookFile): add a comment to point a hack.
13779         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13780         Fixed a double write of labels.
13781
13782 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13783
13784         * LaTeX.C:
13785         * LaTeX.h Fixed bug in LaTeX class where it would not
13786         re-run latex if no depfiles were changed, but the .dvi was removed.
13787
13788 2001-11-28  André Pönitz <poenitz@gmx.net>
13789
13790         * all the files from the change on 2001/11/26:
13791         use lyx::layout_type instead of LyXTextClass::size_type
13792         use lyx::textclass_type instead of LyXTextClassList::size_type
13793
13794 2001-11-29  Juergen Vigna  <jug@sad.it>
13795
13796         * text.C: added support for paragraph::isFreeSpacing()
13797
13798         * buffer.C: same as above
13799
13800         * paragraph.h: inserted isFreeSpacing() function to enable
13801         FreeSpacing inside InsetERT.
13802
13803         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13804         of the paragraph's in the cut/copy buffer to 0!
13805
13806         * text2.C (removeRow): remove the assert as it can!
13807
13808         * lyxtext.h: added helper function firstRow returning firstrow and
13809         made firstrow private again.
13810
13811         * BufferView2.C (lockInset): don't relock if we're already locked!
13812
13813         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13814         the only paragraph.
13815         (removeRow): added Assert::(firstrow)
13816
13817         * debug.C: forgot to add INSETTEXT here.
13818
13819 2001-11-28  Juergen Vigna  <jug@sad.it>
13820
13821         * sp_spell.C (initialize): changed error text to more general
13822         spellchecker command use (not only ispell!)
13823
13824         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13825
13826         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13827
13828 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13829
13830         * vspace.C: initialise lyxgluelength on failure
13831
13832 2001-11-28  Allan Rae  <rae@lyx.org>
13833
13834         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13835         declaration & definition that looks like a function declaration.
13836
13837 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13838
13839         * BufferView2.C (copy):
13840         (copyEnvironment): do not clear the selection when doing a copy.
13841
13842         * text.C (paintFirstRow): compilation fix
13843
13844 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13845
13846         * tabular.C (Latex): correct line count when writing latex.
13847
13848 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13849
13850         * paragraph_pimpl.h:
13851         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13852           bug a bit
13853
13854 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13855
13856         * text.C:
13857         * LColor.h:
13858         * LColor.C: change vfillline->added_space
13859
13860         * text.C: add markers and text for added space
13861
13862         * vspace.C: fix comment
13863
13864 2001-11-28  André Pönitz <poenitz@gmx.net>
13865
13866         * paragraph.C: whitespace changes
13867         * all the other files from the change on 2001/11/26:
13868         change *::pos_type into lyx::pos_type
13869
13870 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13871
13872         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13873         language of the document when inserting error insets.
13874
13875 2001-11-26  André Pönitz <poenitz@gmx.net>
13876
13877         * BufferView_pimpl.[Ch]:
13878         *       CutAndPaste.C:
13879         * buffer.[Ch]:
13880         * lyxcursor.[Ch]:
13881         * lyxfind.C:
13882         * lyxfunc.C:
13883         * lyxrow.[Ch]:
13884         * paragraph.[Ch]:
13885         * paragraph_pimpl.[Ch]:
13886         * sp_spell.C:
13887         * text.C:
13888         * text2.C: reduce header dependencies, introduce type for positions
13889
13890 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * <various>: change to use Alert.h
13893
13894 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13897         when encountering an unknown token.
13898         (readLyXformat2): Show an error message if there were unknown tokens.
13899
13900 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13901
13902         * BufferView2.C:
13903         * BufferView_pimpl.C:
13904         * buffer.C:
13905         * paragraph.h:
13906         * text.C:
13907         * text2.C: use par->isInset()
13908
13909 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13910
13911         * paragraph_pimpl.h:
13912         * paragraph_pimpl.C: cleanup
13913
13914 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13915
13916         * text2.C (removeRow):
13917         * text.C (setHeightOfRow): remove useless (and costly) call to
13918         getRow.
13919
13920 2001-11-20  Allan Rae  <rae@lyx.org>
13921
13922         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13923         Now need Inset*::checkInsertChar() to return true for appropriate
13924         cases so that the characters in the minibuffer will actually be
13925         inserted.
13926
13927 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13928
13929         * text.C: change the order of the includes.
13930         (workWidth): initialize it at once.
13931         (workWidth): make maxw unsigned
13932         (setHeightOfRow): remove unused variable (inset)
13933         (selectSelectedWord): remove unused variable (inset)
13934         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13935
13936 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13937
13938         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13939         server is not running.
13940         (openConnection):
13941         (closeConnection): add debug info when server is disabled.
13942
13943         * ColorHandler.C (getGCForeground): send debug message to GUI
13944         channel.
13945
13946         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13947
13948         * kbmap.C (bind): modify because return conventions of
13949         kb_sequence::parse have changed.
13950
13951         * kbsequence.C (parse): only ignore spaces and not any stupid
13952         control character. This avoids tests like s[i] <= ' ', which are
13953         guaranteed to fail with 8bit characters and signed chars.
13954         Change return code to string::npos when there have been no error
13955         (0 was a bad idea when error is at first character)
13956
13957 2001-11-14  José Matos  <jamatos@fep.up.pt>
13958
13959         * buffer.h:
13960         * buffer.C (simpleDocBookOnePar): removed unused argument.
13961
13962 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13963
13964         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13965         insets which are part of a word. Paragraph::isLetter takes care of
13966         that now. Use Paragraph::isInset to identify insets.
13967         (selectSelectedWord): do not test for hyphenation break.
13968
13969         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13970         that protected spaces are considered as spaces.
13971
13972         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13973         Inset::isLetter.
13974
13975 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13976
13977         * lyxserver.h:
13978         * lyxserver.C: fix it. and small cleanup.
13979
13980 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13981
13982         * BufferView_pimpl.C: use inline helpers
13983
13984         * LaTeXFeatures.h:
13985         * LaTeXFeatures.C: fix typos
13986
13987         * Spacing.h:
13988         * Spacing.C: move spacing_string into class
13989
13990         * ToolbarDefaults.C: move stuff into namespace anon
13991
13992         * layout.h: update enum
13993
13994         * lyxfunc.C: use better debug
13995
13996         * minibuffer.h: fix typo
13997
13998         * debug.h:
13999         * debug.C:
14000         * WorkArea.C: add and use Debug::WORKAREA
14001
14002         * lyxtext.h:
14003         * text.C:
14004         * text2.C: code re-organisation, inline helpers
14005
14006 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14007
14008         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14009         std::vector.empty().
14010
14011 2001-11-09  Allan Rae  <rae@lyx.org>
14012
14013         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14014         '\n's after tables.  Tabular and ERT inset work now makes this no
14015         longer necessary.
14016
14017 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14018
14019         * minibuffer.h:
14020         * minibuffer.C: fix crash, improve drop-down completion
14021
14022 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14023
14024         * lyxserver.h:
14025         * lyxserver.C: invalidate fd's when doing endPipe()
14026
14027 2001-11-08  José Matos  <jamatos@fep.up.pt>
14028
14029         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14030         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14031
14032         * paragraph.h:
14033         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14034
14035 2001-11-07  José Matos  <jamatos@fep.up.pt>
14036
14037         * buffer.h:
14038         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14039         const qualifier.
14040
14041         * buffer.C (sgmlOpenTag):
14042         * buffer.C (sgmlCloseTag): removed debug info.
14043
14044         * buffer.h (sgmlOpenTag):
14045         * buffer.h (sgmlCloseTag): made public.
14046
14047 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14048
14049         * buffer.C (saveParamsAsDefaults):
14050         * lyx_cb.C (MenuLayoutSave): remove
14051
14052         * LyXAction.C (init):
14053         * commandtags.h:
14054         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14055
14056 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14057
14058         * buffer.C (setPaperStuff): removed from here...
14059
14060         * bufferparams.C (setPaperStuff): ... and moved there.
14061
14062 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14063
14064         * minibuffer.h:
14065         * minibuffer.C:
14066         * XFormsView.C: add support for drop-down completion
14067
14068 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14069
14070         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14071         commands.
14072
14073 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14074
14075         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14076         disabled.
14077
14078 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14079
14080         * lyx_main.C: change ref to known bugs
14081
14082 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14083
14084         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14085         to work around older babel problems.
14086
14087 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14088
14089         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14090
14091 2001-10-24  Juergen Vigna  <jug@sad.it>
14092
14093         * tabular-old.C (ReadOld): below variable changes reflected.
14094
14095         * tabular.[Ch]: added ltType struct for longtable header/footer
14096         defines and changed all instances where they are used. Added
14097         future support for double top/bottom rows.
14098
14099 2001-10-24  José Matos  <jamatos@fep.up.pt>
14100
14101         * buffer.h (docbookHandleCaption):
14102         * buffer.C (docbookHandleCaption): removed unused function.
14103         (makeDocBookFile): moved docbook supported version to v4.1.
14104
14105 2001-10-24  José Matos  <jamatos@fep.up.pt>
14106
14107         * tabular.h:
14108         * tabular.C (docbookRow): new function to export docbook code of a row.
14109         (DocBook): now honors the longtable flags.
14110
14111 2001-10-23  José Matos  <jamatos@fep.up.pt>
14112
14113         * LaTeXFeatures.h:
14114         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14115         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14116
14117         * buffer.C (makeLinuxDocFile):
14118         (makeDocBookFile): reworked the preamble, more clean, and with
14119         support for lyx defined entities. Changed the document declaration
14120         to be more XML friendly.
14121
14122         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14123         if we need to output XML that should be done with a filter.
14124
14125 2001-10-22  Juergen Vigna  <jug@sad.it>
14126
14127         * sp_pspell.h (class PSpell): add alive function needed in the
14128         controller to see if the spellchecker could be started.
14129
14130 2001-10-22  Juergen Vigna  <jug@sad.it>
14131
14132         * buffer.C (insertStringAsLines): modify the font for inserting
14133         chars in certain conditions by calling checkInsertChar(font).
14134
14135 2001-10-19  Juergen Vigna  <jug@sad.it>
14136
14137         * text.C (workWidth): use getRow instead of wrong algorithm.
14138         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14139
14140 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14141
14142         * lyxserver.h:
14143         * lyxserver.C:
14144         * lyx_main.h:
14145         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14146
14147 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * text.C (workWidth): do not search for the exact row when
14150         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14151         optimization for big documents.
14152
14153 2001-10-18  Juergen Vigna  <jug@sad.it>
14154
14155         * text.C (workWidth): new function with added Inset * parameter.
14156
14157 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14158
14159         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14160
14161         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14162         change return type of getColumnNearX.
14163
14164
14165         * text.C (changeRegionCase): use uppercase/lowercase instead of
14166         toupper/tolower.
14167         (leftMargin):
14168         (rightMargin): simplify code by factoring out the uses of
14169         textclasslist.
14170         (labelFill):
14171         (numberOfHfills):
14172         (setHeightOfRow):
14173         (appendParagraph): use Paragraph::size_type
14174
14175 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14176
14177         * vspace.C (asLatexString): add a missing break
14178
14179 2001-10-15  Herbert Voss  <voss@perce.de>
14180
14181         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14182
14183 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14184
14185         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14186         is not available.
14187
14188 2001-10-10  André Pönitz <poenitz@gmx.net>
14189
14190         * lyxfunc.C: removed greek_kb_flag.
14191
14192 2001-10-10  Herbert Voss  <voss@perce.de>
14193
14194         * lyx_main.C: delete global string help_lyxdir.
14195
14196 2001-10-09  Herbert Voss  <voss@perce.de>
14197
14198         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14199
14200         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14201
14202         * lyx_main.C: added global string help_lyxdir.
14203
14204         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14205
14206 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14207
14208         * lyxrc.C (set_font_norm_type): support iso8859-4
14209
14210 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14211
14212         * LaTeX.C (deplog): add another regex for MikTeX
14213
14214 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14215
14216         * lyxrc.C (set_font_norm_type): support iso8859-3
14217
14218 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14219
14220         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14221
14222         * LaTeXFeatures.C: remove special case of french and index
14223
14224         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14225         before \begin{document}). This solves several incompatibilities.
14226
14227 2001-10-03  Garst Reese  <reese@isn.net>
14228
14229         * lyx_cb.C: change CheckTex error msg.
14230
14231 2001-10-03  José Matos  <jamatos@fep.up.pt>
14232
14233         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14234
14235 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14236
14237         * .cvsignore: update
14238
14239         * lyx_main.C (commandLineVersionInfo): use new style version info.
14240
14241         * buffer.C (writeFile):
14242         (makeLaTeXFile):
14243         (makeLinuxDocFile):
14244         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14245
14246         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14247
14248         * version.h: update to use stuff in version.C
14249
14250         * version.C.in: new file. Contains version information determined
14251         at compile time. This is a merging of version.h and
14252         version_info.h.in.
14253
14254 2001-10-03  Juergen Vigna  <jug@sad.it>
14255
14256         * BufferView_pimpl.C (update): don't change "dirty" status in
14257         updateInset call.
14258
14259 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14260
14261         * WorkArea.C (c-tor): re-position version string slightly.
14262
14263 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14264
14265         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14266         revert to previous code.
14267
14268         WorkArea.[Ch]: (show, destroySplash): methods removed.
14269
14270         WorkArea.C: rework code so that it's an amalgam of the codes before and
14271         after the splash screen was moved to WorkArea.
14272
14273 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14274
14275         * lyxrc.C (read):
14276         * vspace.C (inPixels):
14277         (lyx_advance):
14278         * kbmap.C (bind):
14279         * buffer.C (insertStringAsLines):
14280         (asciiParagraph): fix types to be large enough
14281
14282         * lyxlex_pimpl.h: change member status from short to int
14283
14284         * layout.h: fix type of endlabeltype
14285
14286         * kbmap.C (bind):
14287         * kbsequence.C (parse): change return type to string::size_type
14288
14289         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14290         variable
14291
14292         * Bullet.C (bulletSize):
14293         (bulletEntry): do not use short ints as parameters
14294
14295         * BufferView2.C (insertLyXFile): change a char to an int.
14296
14297         * WorkArea.C (WorkArea): remove unneeded floats in computation
14298
14299 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14300
14301         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14302
14303         * paragraph.C (asString): Do not ignore newline/hfill chars when
14304         copying to the clipboard.
14305
14306 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14307
14308         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14309         after a multi-line inset.
14310
14311 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14312
14313         * paragraph.C (validate): Set NeedLyXFootnoteCode
14314
14315 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14316
14317         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14318         and decrease-error to decrease.
14319
14320 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14323         it more readable (should be equivalent)
14324
14325 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14326
14327         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14328
14329 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14332         of a cursor (row, etc.) after a character has been deleted
14333         (deleteEmptyParagraphMechanism): call the method above on _all_
14334         cursors held by the LyXText when a double space has been
14335         detected/deleted.
14336
14337 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14338
14339         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14340         pixmap.
14341         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14342
14343         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14344         background. Use greyOut() and the new show() methods to toggle between
14345         the foreground and background. Add code to remove the splash after
14346         its initial showing.
14347
14348         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14349         (create_forms): no longer call Dialogs::showSplash.
14350
14351 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14352
14353         * .cvsignore: add version_info.h
14354
14355 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14356
14357         * version_info.h.in: new file
14358
14359         * Makefile.am: add version_info.h.in
14360
14361         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14362         version_info.h instead of VERSION_INFO
14363
14364 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14365
14366         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14367         The ERT inset now returns string().
14368
14369 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14370
14371         * lyxtext.h, text.C (selectNextWord): renamed as
14372         selectNextWordToSpellcheck.
14373
14374         * text.C (selectNextWordToSpellcheck): Modified to not select
14375         words inside an ERT inset.
14376
14377 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14378
14379         * lyx_cb.C (MenuLayoutSave): change a bit the question
14380
14381         * sp_base.h: include <sys/types.h>
14382
14383 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14384
14385         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14386
14387 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14388
14389         * several files: fix typos in user-visible strings
14390
14391 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14392
14393         * text2.C (pasteSelection): do not set the selection, since it
14394         will be cleared later. Actually, the intent was to fix the way the
14395         selection was set, but I figured rmoving the code was just as good.
14396
14397 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14398
14399         * FontLoader.C (available): Check if font is available without
14400         loading the font.
14401
14402 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14403
14404         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14405
14406 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14407
14408         * lyxrc.[Ch]: added display_graphics variable and associated code.
14409
14410 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14411
14412         * bufferparams.C (hasClassDefaults): new method. Returns true if
14413         the buffer parameters correspond to known class defaults
14414
14415 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14416
14417         * XFormsView.C (show): set minimum size to the main window.
14418
14419 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14420
14421         * text2.C (copySelection):
14422         (cutSelection):
14423         * lyxfind.C (LyXReplace):
14424         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14425         LyXText::selectionAsString.
14426
14427         * paragraph.C (asString): add "label" argument to the second form
14428
14429         * text2.C (selectionAsString): add "label" argument and pass it to
14430         Paragraph::asString.
14431
14432 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14433
14434         * lyx_main.C (commandLineHelp): remove version information
14435
14436 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14437
14438         * lyx_main.C: add -version commandline option
14439
14440 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14441
14442         * paragraph.h: make the optional constructor arg required instead.
14443         some modifications to other files because of this.
14444
14445         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14446
14447         * lyxserver.C (C_LyXComm_callback): make it static
14448
14449         * lyx_main.C (error_handler): make it static
14450
14451         * lyx_gui.C (LyX_XErrHandler): make it static
14452
14453         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14454
14455         * WorkArea.C: make the extern "C" methods static.
14456
14457         * Makefile.am (lyx_LDADD): simplify
14458
14459 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14460
14461         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14462         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14463
14464         * LyXAction.C (init):
14465         * lyxfunc.C (dispatch): associated code removal.
14466
14467 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14468
14469         * lyxfont.h (isSymbolFont): shut off warning
14470
14471         * text.C (setHeightOfRow):
14472         (getVisibleRow): fix crash with empty paragraphs which have a
14473         bottom line
14474
14475 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14476
14477         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14478         code.
14479
14480 2001-09-04  José Matos  <jamatos@fep.up.pt>
14481         * buffer.C
14482         * buffer.h
14483         * tabular.C (docbook): rename docBook method to docbook.
14484
14485 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14486
14487         * Makefile.am: add dependencies to main.o.
14488
14489 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14490
14491         * FontLoader.C (available): Return false if !lyxrc.use_gui
14492
14493 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14494
14495         * FontInfo.C (query):
14496         * converter.C (view):
14497         * importer.C (Import):
14498         * exporter.C (Export): Can not -> cannot.
14499
14500 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14501
14502         * BufferView_pimpl.C: allow to create index inset even if
14503           string is empty
14504
14505 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14506
14507         * buffer.C (getLists): replace boost::tie code with an explicit pair
14508         as boost::tie can break some compilers.
14509
14510         * iterators.h: Added a std:: declaration to the return type of
14511         ParIterator::size.
14512
14513 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14514
14515         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14516           case.
14517
14518 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14519
14520         * iterators.[Ch]: New files. Provide paragraph iterators.
14521
14522         * buffer.C (changeLanguage): Use paragraph iterators.
14523         (isMultiLingual): ditto
14524
14525         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14526
14527 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14528
14529         * FontLoader.C: Support for cmr font.
14530
14531 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14532
14533         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14534         (available): New method.
14535
14536         * FontInfo.C (getFontname): Use scalable fonts even when
14537         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14538         found.
14539
14540 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14541
14542         * converter.C (Formats::view): reverted! Incorrect fix.
14543
14544 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14545
14546         * converter.C (Formats::view): only output the -paper option
14547         if the dvi viewer is xdvi, thereby fixing bug #233429.
14548
14549 2001-08-23  Herbert Voss  <voss@perce>
14550
14551         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14552
14553 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14554
14555         * Spacing.h (Spacing): Set space to Default on in the default
14556         constructor.
14557
14558 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14559
14560         * vc-backend.h (RCS::versionString): add RCS to version
14561         (CVS::versionString): add CVS to version
14562
14563         * vc-backend.C (scanMaster): do not add CVS to version.
14564         (scanMaster): do not add RCS to version
14565
14566         * lyxvc.C (versionString): new method
14567
14568         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14569
14570 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14571
14572         * Spacing.C (set): initialize fval
14573
14574 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14575
14576         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14577         " or \.
14578
14579 2001-08-16  Juergen Vigna  <jug@sad.it>
14580
14581         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14582
14583 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14584
14585         * BufferView_pimpl.C:
14586         * figureForm.C:
14587         * lyxtext.h:
14588         * text2.C: setParagraph takes linespacing now
14589
14590 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * LyxAction.C: add internal LFUN_CITATION_INSERT
14593
14594         * LyXView.C: actually apply fix
14595
14596         * bufferlist.C: fix open non-existent file
14597
14598         * lyxfind.C: fix indentation
14599
14600         * lyxfunc.C: remove unneeded assert, fix typo
14601
14602 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * MenuBackend.C: use "Floatname List"
14605
14606 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14607
14608         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14609         when converting LaTeX layout to insetERT.
14610         Generate a non-collapsed float when reading old float
14611
14612 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14613
14614         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14615         ERT insets.
14616
14617 2001-08-13  Juergen Vigna  <jug@sad.it>
14618
14619         * text.C (fill): return 0 instead of 20 as this seems to be the more
14620         correct value.
14621
14622 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14623
14624         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14625         lyxrc.font_norm.
14626
14627 2001-08-13  Juergen Vigna  <jug@sad.it>
14628
14629         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14630         casesensitive off.
14631         (SearchBackward): comment out the unlocking of the inset_owner this
14632         should not be needed!
14633
14634 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14635
14636         * Many files: Remove inherit_language, and add latex_language
14637
14638         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14639         collapsible insets.
14640
14641 2001-08-10  Juergen Vigna  <jug@sad.it>
14642
14643         * text.C (prepareToPrint): fixed hfill-width in draw!
14644
14645         * BufferView2.C (selectLastWord): save the selection cursor as this
14646         now is cleared in the function LyXText::clearSelection!
14647
14648 2001-08-08  Juergen Vigna  <jug@sad.it>
14649
14650         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14651         BACKSPACE type functions.
14652
14653         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14654         is only cutted from the document but not put in the cut-buffer, where
14655         still the old stuff should be.
14656
14657         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14658
14659         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14660
14661         * tabular.C (SetWidthOfCell): fixed special case where the width
14662         was not updated!
14663         (LeftLine): handle '|' in align_special.
14664         (RightLine): ditto
14665         (LeftAlreadyDrawed): ditto
14666         (SetWidthOfCell): ditto
14667
14668 2001-08-07  Juergen Vigna  <jug@sad.it>
14669
14670         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14671
14672 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14673
14674         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14675         * lyxlex.[hC]: ditto
14676
14677 2001-08-06  Juergen Vigna  <jug@sad.it>
14678
14679         * text.C (getVisibleRow): fix up row clearing a bit.
14680
14681 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14682
14683         * minibuffer.C: make sure the X server sees the changes in the input.
14684
14685 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14686
14687         * paragraph.C (getFont): split into...
14688         (getLabelFont): this
14689         (getLayoutFont): and this
14690         * paragraph_pimpl.C (realizeFont): calling this
14691
14692         * text2.C (getFont): split into...
14693         (getLayoutFont): this
14694         (getLabelFont): and this
14695         (realizeFont): all three calling this
14696
14697         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14698         files where used.
14699
14700 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14701
14702         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14703
14704 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14705
14706         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14707         layouts from the Quote inset insertion.
14708
14709 2001-08-03  Juergen Vigna  <jug@sad.it>
14710
14711         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14712
14713         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14714         only if status not is already CHANGED_IN_DRAW (second level).
14715
14716         * text.C (draw): don't set the need_break_row when inside an
14717         InsetText LyXText.
14718
14719 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * buffer.C (parseSingleLyXformat2Token): handle more latex
14722         conversion cases.
14723
14724         * bufferview_funcs.[hC]: change function names to
14725         begin with small char, adjust other files.
14726
14727 2001-08-02  André Pönitz <poenitz@gmx.net>
14728
14729         * lyxfunc.C:
14730         BufferView_pimpl.C: remove broken special code for math-greek
14731
14732 2001-08-02  Juergen Vigna  <jug@sad.it>
14733
14734         * BufferView_pimpl.C (update): redone this function so that we
14735         update the text again if there was a CHANGE_IN_DRAW.
14736
14737         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14738         (drawFromTo): added a new internal bool which is used by draw() and
14739         redraw() function.
14740         (general): some cursor drawing problems fixed.
14741
14742 2001-08-01  Juergen Vigna  <jug@sad.it>
14743
14744         * lyxfind.C (LyXFind): fixed
14745         (SearchForward): ditto
14746         (SearchBackward): ditto
14747
14748         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14749         spurius drawing of the cursor in the main area.
14750
14751         * text2.C (status): small fix which could lead to a segfault!
14752         (clearSelection): remove unneeded BufferView param.
14753
14754 2001-08-01  André Pönitz <poenitz@gmx.net>
14755
14756         * lyxfunc.C: small change due to changed mathed interface
14757
14758 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14761
14762 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14763
14764         * lyxfunc.c: fail gracefully if file doesn't exist
14765
14766         * LyXSendto.C:
14767         * buffer.C:
14768         * lyxfunc.C:
14769         * BufferView_pimpl.C: IsDirWriteable() proto changed
14770
14771         * LyXView.C: fix updateWindowTitle() to store the last title
14772
14773 2001-07-31  Juergen Vigna  <jug@sad.it>
14774
14775         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14776         the font (wrong since using of Paragraph::highestFontInRange).
14777
14778         * paragraph.C (highestFontInRange): added a default_size parameter.
14779
14780         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14781         (setHeightOfRow): reformat
14782
14783 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * converter.[hC] + affected files: move to (inital-char)lowercase
14786         function names.
14787
14788         * ParagraphParameters.C (ParagraphParameters): remove commented code
14789
14790         * PainterBase.[Ch]: remove commented code
14791
14792         * LaTeXFeatures.h: add "bool floats" for float.sty
14793
14794         * LaTeXFeatures.C (LaTeXFeatures): init floats
14795         (require): handle float
14796         (getPackages): do it with floats
14797
14798 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * BufferView_pimpl.C (Dispatch): improve handling of
14801         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14802
14803         * commandtags.h: #include lyxfont.h here temporarily to avoid
14804         keybinding bug.
14805
14806         * bufferlist.h: include LString.h here.
14807
14808 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14809
14810         * text2.C (getStringToIndex): new method.
14811
14812 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14813
14814         * *: Reduced header file dependencies all over.
14815
14816 2001-07-30  Baruch Even  <baruch@lyx.org>
14817
14818         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14819
14820 2001-07-29  Baruch Even  <baruch@lyx.org>
14821
14822         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14823
14824 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14825
14826         * ParameterStruct.h (endif): add a default constructor to make
14827         sure that all variables is initialized.
14828
14829         * ParagraphParameters.C (ParagraphParameters): adjust
14830
14831 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14834         index; also, check that there is something to index, and that it
14835         does not span over several paragraphs.
14836         (doubleClick): use WHOLE_WORD_STRICT for double click.
14837
14838         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14839
14840         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14841         scheme.
14842
14843 2001-07-26  Baruch Even  <baruch@lyx.org>
14844
14845         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14846         an InsetFig figure, backwards compatible reading of old figure code.
14847
14848 2001-07-27  Juergen Vigna  <jug@sad.it>
14849
14850         * text2.C: font.realize function adaption.
14851
14852         * text.C (draw): add a warnings lyxerr text if needed.
14853
14854         * layout.C: font.realize function adaption.
14855
14856         * language.C: add inherit_language and implement it's handlings
14857
14858         * bufferview_funcs.C (StyleReset): remove language parameter from
14859         font creation (should be language_inherit now).
14860
14861         * bufferparams.C (writeFile): handle ignore_language.
14862
14863         * paragraph.C (getFontSettings): the language has to be resolved
14864         otherwise we have problems in LyXFont!
14865
14866         * lyxfont.C (lyxWriteChanges): added document_language parameter
14867         (update): removed unneeded language parameter
14868
14869         * paragraph.C (validate): fixed wrong output of color-package when
14870         using interface colors for certain fonts in certain environments,
14871         which should not seen as that on the final output.
14872
14873 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14874
14875         * BufferView_pimpl.C:
14876         * Thesaurus.h:
14877         * Thesaurus.C:
14878         * Makefile.am:
14879         * commandtags.h:
14880         * LyXAction.C: add thesaurus support
14881
14882         * lyxfind.h:
14883         * lyxfind.C: add "once" parameter, for thesaurus, to not
14884           move to the next match
14885
14886 2001-07-26  Juergen Vigna  <jug@sad.it>
14887
14888         * lyxfont.C (realize): honor ignore_language too!
14889         (resolved): ditto.
14890
14891         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14892
14893         * text.C (draw): one place more for ignore_language to not draw
14894         itself!
14895
14896 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14897
14898         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14899
14900 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14901
14902         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14903         the minipage conversion problem.
14904
14905 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14906
14907         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14908         insert an inset.
14909
14910 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14911
14912         * BufferView.h: don't forward declare WorkArea
14913
14914         * BufferView.C: don't include WorkArea.h
14915
14916 2001-07-25  André Pönitz <poenitz@gmx.net>
14917
14918         * commandtags.h:
14919         * LyXAction.C:
14920         * lyxfunc.C:  new LFUN 'math-space'
14921
14922         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14923
14924 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14925
14926         * text2.C (toggleInset): call open/close
14927
14928 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14929
14930         * lyxfunc.C (dispatch): add debug for the disabled case
14931
14932         * font.C (buttonText): make similar to rectText
14933
14934         * buffer.C (readInset): comment out parsing of insetlist and
14935         insttheorem
14936
14937         * PainterBase.C (rectText): small correction
14938
14939         * BufferView_pimpl.C: comment out insettheorem and insetlist
14940         * LyXAction.C: ditto
14941         * commandtags.h: ditto
14942
14943 2001-07-24  Juergen Vigna  <jug@sad.it>
14944
14945         * text.C (draw): honor the ignore_language.
14946
14947         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14948
14949 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14950
14951         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14952         char inset.
14953
14954 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14955
14956         * lyxtext.h: remove unused (and unimplemented) methods
14957
14958 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14959
14960         * text.C (getVisibleRow): honor background color
14961
14962         * PainterBase.h:
14963         * Painter.h: remove default color argument for fillRectangle
14964
14965         * text.C (backgroundColor): new method
14966
14967 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14968
14969         * text.C (getVisibleRow): adjust
14970
14971         * font.[Ch] (rectText): new method, metrics
14972         (buttonText): new method, metrics
14973
14974         * PainterBase.[hC]: make rectText and buttonText always draw and take
14975         fewer paramteres.
14976
14977 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14978
14979         * ToolbarDefaults.C (read):
14980         * MenuBackend.C (read): allow escaping in all strings
14981
14982         * BufferView_pimpl.C (insertAndEditInset): new method.
14983         (Dispatch): use insertAndEditInset whenever appropriate.
14984
14985         * BufferView_pimpl.C (insertNote): removed
14986
14987         * BufferView_pimpl.C (smartQuote): new method, moved from
14988         BufferView; if an insetquote cannot be inserted, insert a '"'
14989         character instead.
14990
14991         * BufferView2.C: remove insertCorrectQuote();
14992
14993         * lyxfunc.C (getStatus): Add support for all remaingin
14994         inset-insert lfuns.
14995
14996         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14997
14998         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14999         command (necessary to pass " as parameter of self-insert.
15000
15001         * text.C (selectWordWhenUnderCursor):
15002         (selectWord): add word_location parameter
15003         (selectWordWhenUnderCursor): same + remove special code for word
15004         boundary.
15005         (selectNextWord): use kind() to guess type of insetspecialchar,
15006         not latex().
15007
15008         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15009         (insertErtContents): create ert insets as collapsed.
15010         (readInset): better compatibility code for Info inset.
15011
15012 2001-07-20  Juergen Vigna  <jug@sad.it>
15013
15014         * lyxfunc.C (dispatch): use always LyXFind now!
15015
15016         * text2.C (init): add a reinit flag so that the LyXText can be
15017         reinited instead of deleted and reallocated (used in InsetText).
15018
15019         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15020
15021         * text.C: ditto
15022
15023         * text2.C: ditto
15024
15025 2001-07-18  Juergen Vigna  <jug@sad.it>
15026
15027         * text.C (selectNextWord): handle insets inside inset by calling
15028         always the bv->text functions so that we can go up the_locking_inset!
15029
15030         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15031         in strange locations when inside an inset!
15032
15033         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15034         handling to include insets.
15035
15036         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15037
15038 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15039
15040         * LyXAction.C (init):
15041         * commandtags.h:
15042         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15043         LIGATURE_BREAK, since the name is so stupid.
15044
15045 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15046
15047         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15048         InsetInfos.
15049
15050         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15051
15052         * sp_form.[Ch]: remove.
15053
15054         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15055
15056         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15057         InsetInfo.
15058
15059         * src/buffer.C (readInset): ditto.
15060
15061 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15062
15063         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15064         menuSeparator(), endOfSentenceDot(), ldots() and
15065         hyphenationPoint(), which are therefore removed.
15066         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15067
15068         * LyXAction.C (init):
15069         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15070
15071         * paragraph.C (getWord): removed.
15072
15073         * BufferView_pimpl.C (Dispatch): use last word or selection for
15074         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15075
15076         * lyx_main.C (queryUserLyXDir): do not ask before creating
15077         user_dir, except if it has been named explicitely.
15078
15079 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15080
15081         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15082         a document of zero size.
15083
15084 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15085
15086         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15087         approriately in the c-tor and in require().
15088         (getPackages): output the appropriate LaTeX for natbib support.
15089
15090         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15091         variables "use_natbib" and "use_numerical_citations" when reading the
15092         LyX file.
15093         (readInset): read the various natbib cite commands.
15094         (validate): white-space change.
15095
15096         * bufferparams.[Ch]: new variables "bool use_natbib" and
15097         "bool use_numerical_citations".
15098         (writeFile): output them in the LyX file.
15099
15100 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15101
15102         * lyxfunc.C (getStatus): add support for all the inset insertion
15103         commands.
15104
15105         * text2.C (insertInset):
15106         * paragraph.C (insetAllowed):
15107         * BufferView_pimpl.C (insertInset): update to take in account the
15108         renaming of insertInsetAllowed
15109
15110         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15111
15112         * text2.C (getInset): new method. returns inset at cursor position.
15113
15114         * BufferView_pimpl.C (Dispatch): changes because of this.
15115
15116         * LyXAction.C (init): rename open-stuff to inset-toggle.
15117
15118         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15119
15120         * text2.C (toggleInset): renamed from openStuff; use
15121         Inset::open().
15122
15123 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15124
15125         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15126
15127         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15128
15129 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15130
15131         * buffer.C (readLyXformat2): Add filename to the error dialog
15132
15133 2001-07-18  Juergen Vigna  <jug@sad.it>
15134
15135         * tabular.C (GetCellNumber): put an assert here instead of the check!
15136
15137 2001-07-17  Juergen Vigna  <jug@sad.it>
15138
15139         * BufferView_pimpl.C (toggleSelection): adapted too.
15140
15141         * text.C (selectNextWord): adapted for use with insets.
15142         (selectSelectedWord): ditto
15143
15144 2001-07-17  Juergen Vigna  <jug@sad.it>
15145
15146         * sp_spell.C (PSpell): fix initialitation order.
15147
15148 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15149
15150         * paragraph.C: spacing
15151
15152 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15153
15154         * sp_spell.C: repair language selection for pspell
15155
15156 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15157
15158         * lyxfunc.h: change more methods to begin with lower char.
15159
15160 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15161
15162         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15163         for unknown layouts.
15164
15165 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15166
15167         * buffer.C (readLyXformat2): Generate an error dialog if there are
15168         unknown layouts.
15169
15170 2001-07-16  Juergen Vigna  <jug@sad.it>
15171
15172         * sp_spell.C: always compile ISpell part.
15173
15174         * lyxrc.C: added use_pspell entry and it's handling.
15175
15176 2001-07-13  Juergen Vigna  <jug@sad.it>
15177
15178         * sp_spell.C: removed double includes.
15179
15180 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15181
15182         Consistent use of Lsstream.h:
15183         * Lsstream.h: added using std::stringstream for consistencies sake.
15184
15185         * buffer.C: removed using std::stringstream
15186
15187         * lyxfont.C (stateText):
15188         * paragraph.C (asString):
15189         * text.C (selectNextWord, selectSelectedWord):
15190         * text2.C (setCounter):
15191         * vspace.C (asString, asLatexString):
15192         std::ostringstream -> ostringstream.
15193
15194 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15195
15196         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15197         * commandtags.h: add LFUN_HELP_ABOUTLYX
15198         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15199
15200 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15201
15202         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15203         cursorToggle()
15204         * lyx_gui_misc.C: remove spellchecker
15205         * lyxfunc.C: showSpellchecker
15206         * sp_base.h: added
15207         * sp_ispell.h: added
15208         * sp_pspell.h: added
15209         * sp_spell.C: added
15210         * sp_form.[Ch]: removed
15211         * spellchecker.[Ch]: removed
15212
15213 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15214
15215         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15216         is set.
15217         (simpleTeXSpecialChars): Simply print the input character without
15218         any special translation if pass_thru is set.
15219
15220         * layout.h: Added bool pass_thru to layout class for being able to
15221         implement pass through of a paragraph for Literate Programming.
15222
15223         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15224         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15225         * layout.C (Read): add "passthru" to list of layout tags and add
15226         code to set the pass_thru boolean when it is read.
15227
15228 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15229
15230         * trans_decl.h: remove allowed from KmodInfo
15231
15232         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15233         remove allowed code
15234         (Load): adjust
15235
15236         * paragraph_pimpl.C (erase): use boost::prior
15237
15238         * Painter.C (text): use data() instead of c_str() when length is
15239         also provided.
15240         * WorkArea.C (putClipboard): ditto
15241         * font.h (width): ditto
15242
15243         * BufferView2.C: use it-> instead of (*it). for iterators
15244         * texrow.C: ditto
15245         * paragraph_pimpl.C: ditto
15246         * paragraph.C: ditto
15247         * minibuffer.C: ditto
15248         * language.C: ditto
15249         * kbmap.C: ditto
15250         * encoding.C: ditto
15251         * counters.C: ditto
15252         * converter.C: ditto
15253         * chset.C: ditto
15254         * Variables.C: ditto
15255         * TextCache.C: ditto
15256         * MenuBackend.C: ditto
15257         * LyXAction.C: ditto
15258         * LColor.C: ditto
15259         * FloatList.C: ditto
15260         * DepTable.C: ditto
15261         * ColorHandler.C (LyXColorHandler): ditto
15262
15263 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15264
15265         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15266
15267         * text2.C (openStuff): reintroduce this method (which had been
15268         nuked in NEW_INSETS frenzy).
15269
15270         * lyxfunc.C (Dispatch): when an action has not been handled, use
15271         its name in the error message, not its number.
15272
15273         * paragraph.C (inInset): change method name to begin with lowercase.
15274
15275         * undo_funcs.C:
15276         * text2.C: updates because of this.
15277
15278 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15279
15280         * ToolbarDefaults.C (add): add spaces in error message
15281
15282 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15283
15284         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15285         (readLyXformat2): rename return_par to first_par, use lyxlex's
15286         pushToken and remove the manual push handling.
15287         (parseSingleLyXformat2Token): add another ert comp. variable:
15288         in_tabular, rename return_par to first_par. handle newlines better
15289
15290 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15291
15292         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15293
15294 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * text2.C (getParFromID): removed
15297
15298         * buffer.C (getParFromID): new method moved form lyxtext.
15299         * BufferView2.C (insertErrors): adjust
15300         (setCursorFromRow): adjust
15301         * BufferView_pimpl.C (restorePosition): adjust
15302         * lyxfunc.C (Dispatch): adjust
15303         * undo_funcs.C (textUndo): adjust
15304         (textRedo): adjust
15305         (textHandleUndo): adjust
15306         (textHandleUndo): adjust
15307
15308 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15309
15310         * buffer.C: up' the LYX_FORMAT
15311
15312         * lyxfont.h: turn NO_LATEX on as default
15313
15314         * buffer.C (insertErtContents): new methods of tex style compability.
15315         (parseSingleLyXformat2Token): use it several places.
15316         * tabular.C (OldFormatRead): and here
15317
15318 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15319
15320         * text2.C: remove some commented code.
15321         reindent file.
15322
15323         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15324         * trans.C: changes because of the above.
15325
15326 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15327
15328         * text2.C (setCounter): Fix counters bug with bibliography layout.
15329
15330 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15331
15332         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15333         own member functions
15334         (simpleTeXSpecialChars): ditto
15335
15336 2001-07-06  Juergen Vigna  <jug@sad.it>
15337
15338         * a lot of files: changed the access to LyXText::status and the
15339         call of undo-functions.
15340
15341         * undo.[Ch]: added a inset_id to the undo informations.
15342
15343         * undo_funcs.[Ch]: added and moved here all undo functions.
15344
15345         * lyxtext.h: give the status enum a weight, made status_ a private
15346         variable and made accessor functions for it, removed the whole bunch
15347         of undo-functions as they are now in their own file, make some
15348         functions publically available. Added function ownerParagraph with
15349         int parameter.
15350
15351         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15352         made InInset() a const function, added getParFromID() function.
15353
15354         * buffer.[Ch]: added const version for inset_iterator functions,
15355         added getInsetFromID() function.
15356
15357         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15358         changed undo functions for new version.
15359
15360 2001-07-05  Juergen Vigna  <jug@sad.it>
15361
15362         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15363         unknow mechanism does not call the proper constructor but only this
15364         one also if I request the other!?
15365
15366 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15367
15368         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15369
15370         * text2.C (LyXText): use initialization lists.
15371
15372         * lyxtext.h (Selection): initialize set_ and mark_
15373         (init): remove method
15374
15375 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15376
15377         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15378
15379 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15380
15381         * screen.[Ch]: change method names to begin with lowercase
15382
15383         * BufferView_pimpl.C (updateScrollbar): simplify further and
15384         hopefully make it a bit faster.
15385
15386 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15387
15388         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15389         calling directly xforms functions.
15390
15391         * Painter.C (Painter):
15392         * lyx_cb.C (MenuWrite):
15393         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15394         fl_display.
15395
15396         * lyx_gui.C: remove bogus guiruntime extern declaration.
15397
15398 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15399
15400         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15401         in NEW_INSETS
15402         (redoDrawingOfParagraph): ditto
15403         (redoParagraphs): ditto
15404         (cutSelection): don't create a object for CutAndPaste use the
15405         static method directly
15406         (pasteSelection): ditto
15407
15408         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15409         LyXview (+ rename)
15410
15411 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15412
15413         * modifications to some other files because of this.
15414
15415         * Makefile.am (lyx_SOURCES): add XFormsView
15416
15417         * XFormsView.[Ch]: new files
15418
15419         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15420         the main window. Move the gui dependent stuff to XFormsView
15421
15422 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15423
15424         * tabular.C (GetCellInset): update cur_cell also in the row/col
15425         version of this function.
15426
15427         * lyxfunc.C: no need to include figure_form.h here.
15428
15429         * FontLoader.h:
15430         * lyxfunc.h:
15431         * lyxscreen.h:
15432         * text2.C:
15433         * lyxvc.C: no need to include forms.h here.
15434
15435 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15436
15437         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15438
15439         * lyxfunc.C (Dispatch):
15440         * Spacing.C (set):
15441         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15442         constructor argument.
15443
15444 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15445
15446         * paragraph.C (Paragraph): dont't clear, and just set layout.
15447         (makeSameLayout): use params's copy contructor.
15448
15449         * ParagraphParameters.[Ch] (makeSame): delete method
15450
15451 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15452
15453         * Variables.[Ch]: fix indentation, rename set to isSet
15454
15455 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15456
15457         * lyxfunc.C (Dispatch): fix typo
15458
15459 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15460
15461         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15462         upper_bound.
15463
15464         * bufferlist.C: include assert.h for emergencyWrite().
15465
15466 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15467
15468         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15469           give up at last (bug #425202) !
15470
15471 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15472
15473         * lyx_gui_misc.C:
15474         * sp_form.h:
15475         * sp_form.C:
15476         * spellchecker.h:
15477         * spellchecker.C: strip spellchecker options and bring up
15478           preferences tab instead
15479
15480 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15481
15482         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15483         the istringstream constructor
15484
15485 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15486
15487         * paragraph.C (getLayout): fix return value
15488
15489         * paragraph.h: do not declare getLayout as inline.
15490
15491         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15492
15493 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15494
15495         * lyxcursor.h (operator<): new func
15496         (operator>): new func
15497         (operator>=): new func
15498         (operator<=): new func
15499
15500         * text.C (changeCase): use selection.start and selection.end
15501         (changeRegionCase): require from to be <= to. Require par to be a
15502         valid paragraph.
15503
15504         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15505
15506 2001-06-27  Juergen Vigna  <jug@sad.it>
15507
15508         * text.C (cursorLeftOneWord): changed to return the cursor and added
15509         overlay with BufferView * parameter which calls this one.
15510         (getWord): added
15511         (selectWord): use new getWord function.
15512         (changeCase): renamed from changeWordCase as and extended to work
15513         also on selections.
15514
15515         * lyxtext.h: added enum word_location
15516
15517         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15518         changeCase as this operates now also on selections.
15519
15520 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15521
15522         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15523
15524         * many files: send debug output to Debug::INFO instead of
15525         Debug::ANY.
15526
15527         * converter.C (View):
15528         (Convert):
15529         (Move): send debug output to Debug::FILES instead of console.
15530
15531 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15532
15533         * lyxfunc.C (getStatus): use func_status
15534
15535         * func_status.h: new header, describing the results of
15536         LyXFunc::getStatus;
15537
15538         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15539         LFUN_MATH_HALIGN.
15540
15541 2001-06-25  The LyX Project  <jug@sad.it>
15542
15543         * buffer.C (sgmlOpenTag):
15544         (sgmlCloseTag):
15545         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15546
15547 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15548
15549         * text2.C: remove some dead code
15550
15551         * tabular.C (GetCellInset): store the last cell checked (gotten)
15552
15553         * tabular.h: add the helper for the speedup
15554
15555         * lyxtext.h: remove some dead code
15556
15557 2001-06-26  The LyX Project  <Asger>
15558
15559         * paragraph.C: Change export to LaTeX of alignment to
15560         \begin{center} and family for better roundtrip work with reLyX.
15561
15562         * Tune the math drawing a bit.
15563
15564 2001-06-25  The LyX Project  <Asger>
15565
15566         * LColor.C (LColor): New color for math background. New color
15567         for buttons.
15568
15569 2001-06-25  The LyX Project  <jug@sad.it>
15570
15571         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15572
15573         * lyxfunc.C (Open):
15574         * bufferlist.C (newFile): do not restrict to files ending with
15575         .lyx
15576
15577         * BufferView_pimpl.C (MenuInsertLyXFile):
15578
15579 2001-06-24  The LyX Project  <jug@sad.it>
15580
15581         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15582         of compare_no_case
15583
15584 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15585
15586         * lyxtext.h: rename most methods to begin with a small char.
15587         Lots of changes because of this.
15588
15589         * paragraph.C (Paragraph): do not call fitToSize
15590         (erase): call Pimpl::erase
15591         (insertChar): call Pimpl::insertChar
15592         (insertInset): call Pipl::insertInset
15593         (breakParagraph): do not call fitToSize
15594         (breakParagraphConservative): do not call fitToSize
15595         (fitToSize): remove method
15596
15597         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15598
15599 2001-06-24  The LyX Project  <Asger>
15600
15601         * Fix Qt compilation^2
15602
15603 2001-06-24  The LyX Project  <jug@sad.it>
15604
15605         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15606         depthHook(getDepth()-1).
15607
15608         * paragraph.h:
15609         * ParagraphParameters.h:
15610         * ParameterStruct.h: change type of depth to unsigned int ==
15611         depth_type. Many adaptations to other files before of that.
15612
15613 2001-06-24  The LyX Project  <Asger>
15614
15615         * Fix Qt compilation.
15616
15617 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15618
15619         * paragraph.h: renamed several methods to begin with small letter.
15620         several changes to many parts of the code because of this.
15621
15622 2001-06-23  The LyX Project  <jug@sad.it>
15623
15624         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15625         rewritten to discard all double spaces when KeepEmpty is off
15626         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15627         to only handle newlines but not fiddle with spaces and friends.
15628
15629         * lyxfunc.C (MenuNew): when doing 'new from template', use
15630         template_path as default directory
15631
15632 2001-06-23  The LyX Project  <Asger>
15633
15634         * Clean-up of header file includes all over
15635         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15636
15637 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15638
15639         * paragraph.h: renamed from lyxparagraph.h
15640
15641 2001-06-23  Asger  <lyx@violet.home.sad.it>
15642
15643         * Buffer.h: Removed Buffer::resize
15644         * BufferList.h: Removed BufferList::resize
15645         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15646         the document lazily when we change the width, or the font settings.
15647
15648 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15649
15650         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15651
15652 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15653
15654         * buffer.h: remove out of date comment
15655
15656 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15657
15658         * lyxscreen.h:
15659         * screen.C: fix "theoretical" GC leak
15660
15661 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15662
15663         * LaTeX.C (scanAuxFile):
15664         (deplog): remove trailing \r when reading stream (useful under
15665         win32)
15666
15667 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15668
15669         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15670         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15671         and BufferView::theLockingInset(Inset*), so should use them and not
15672         access bv_->text->the_locking_inset directly.
15673
15674         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15675
15676 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15677
15678         * Makefile.am:
15679         * tex-defs.h: remove old unused file
15680
15681 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15682
15683         * BufferView_pimpl.C: fix typo, remove minibuffer message
15684           when buffer has loaded
15685
15686 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15687
15688         * lyxfunc.C (Dispatch): use stringstream
15689         (MenuNew): use stringstream
15690         (Open): use stringstream
15691
15692         * importer.C (Import): use stringstream
15693
15694         * bufferview_funcs.C (CurrentState): use stringstream
15695
15696         * LaTeX.C (run): use stringstream
15697
15698         * BufferView_pimpl.C (savePosition): use stringstream
15699         (restorePosition): use stringstream
15700         (MenuInsertLyXFile): use stringstream
15701
15702 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15703
15704         * BufferView.C:
15705         * Bullet.C:
15706         * ColorHandler.C:
15707         * FontInfo.C:
15708         * FontLoader.C:
15709         * LColor.C:
15710         * LaTeXFeatures.C:
15711         * Painter.C:
15712         * gettext.C:
15713         * lyx_gui_misc.C:
15714         * lyxserver.C:
15715         * vspace.C: removed // -*- C++ -*- as first line.
15716
15717         * lyxfind.h:
15718         * version.h: added // -*- C++ -*- as first line.
15719
15720 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15721
15722         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15723
15724         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15725         of string
15726
15727 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15728
15729         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15730         of floats.
15731
15732 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * gettext.C: include LString.h even when --disable-nls is on.
15735
15736 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15737
15738         * converter.h (Get): changed argument type from int to
15739         FormatList::size_type to avoid unnecessary conversion.
15740
15741         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15742         before using it.
15743
15744 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15745
15746         * gettext.h: include LString.h even when --disable-nls is on.
15747
15748 2001-06-07  Juergen Vigna  <jug@sad.it>
15749
15750         * text.C (BreakAgain): subst spaces with tabs.
15751
15752         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15753         (resizeInsetsLyXText): set force on resizeLyXText.
15754
15755 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15756
15757         * gettext.h (gettext_init):
15758         (locale_init): use a real definition instead of a macro
15759
15760 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15761
15762         * Bufferview_pimpl.C:
15763         * LColor.h:
15764         * LColor.C: further lcolor tidies
15765
15766 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15767
15768         * BufferView_pimpl.C (updateScrollbar): simplify.
15769
15770         * BufferView2.C: don't include insets/insetinfo.h, change
15771         prototype for insertInset and call the Pimpl version. let
15772         updateInset call Pimpl version.
15773
15774         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15775         gotoInset to BufferView::Pimpl
15776
15777 2001-06-01  Juergen Vigna  <jug@sad.it>
15778
15779         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15780         inside a LockingInset (is the update needed at all?).
15781
15782 2001-05-31  Juergen Vigna  <jug@sad.it>
15783
15784         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15785         here not the old one otherwise how should we compare it afterwards
15786         if it's the same!
15787
15788 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15789
15790         * lyxfont.C:
15791         * tabular.C:
15792         * tabular-old.C:
15793         * FontInfo.C: bring C functions into global namespace when
15794         necessary
15795
15796 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15797
15798         * LString.h: make sure config.h has been loaded before LString.h.
15799
15800         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15801         (one for each char read by EatLine!).
15802
15803         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15804         variables.
15805
15806 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15807
15808         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15809         to the same as the par we break from
15810
15811 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15812
15813         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15814
15815         * MenuBackend.C (expand): also create menu entries for wide
15816         versions of the floats.
15817
15818         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15819
15820         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15821
15822         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15823         frontends/Makefile.am
15824
15825         * text2.C: adjust
15826         * text.C: adjust
15827
15828
15829         * tabular.C (getTokenValue): add std::
15830
15831         * tabular-old.C (getTokenValue): add std::
15832         (getTokenValue): ditto
15833         (getTokenValue): ditto
15834
15835         * screen.C (ToggleSelection): adjust
15836
15837         * lyxtext.h: put selection cursors inside a Selection struct.
15838
15839         * lyxfunc.C (moveCursorUpdate): adjust
15840
15841         * lyxfont.C (latexWriteStartChanges): add std::
15842
15843         * lyxfind.C: adjust
15844
15845         * font.h: delete with(char const *, LyXFont const &)
15846
15847         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15848
15849         * FontInfo.C (getFontname): add std::
15850
15851         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15852         (workAreaButtonPress): adjust
15853         (tripleClick): adjust
15854         (update): adjust
15855         (moveCursorUpdate): adjust
15856         (Dispatch): adjust
15857
15858         * BufferView2.C (gotoInset): adjust
15859
15860 2001-05-30  Juergen Vigna  <jug@sad.it>
15861
15862         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15863         to check pspell I add this as default as I now have new pspell
15864         libraries and they seem to use this.
15865
15866 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15867
15868         * text2.C (CutSelection): make the cursor valid before the call to
15869         ClearSelection.
15870
15871 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15872
15873         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15874         relied on 0 terminated strings and other horrors. Bug found due to
15875         the new assert in lyxstring!
15876
15877         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15878         KP_ keys.
15879
15880 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15881
15882         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15883         to latinkeys.bind.
15884
15885         * lyxfunc.C (processKeySym): change method of getting to the
15886         self-insert char.
15887
15888         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15889         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15890         * BufferView_pimpl.[Ch]: here as private methods.
15891
15892 2001-05-28  Juergen Vigna  <jug@sad.it>
15893
15894         * text.C (SetHeightOfRow): added the update() call again as it is
15895         needed to initialize inset dimensions!
15896
15897 2001-05-16  Juergen Vigna  <jug@sad.it>
15898
15899         * text2.C (SetCharFont): Add new function with BufferView * and
15900         bool toggleall parameters for setting insets internal fonts.
15901         (SetFont): Freeze the undo as we may change fonts in Insets and
15902         all this change should be inside only one Undo!
15903
15904         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15905         setting font's in insets as for them we have the SetFont function!
15906
15907 2001-05-15  Juergen Vigna  <jug@sad.it>
15908
15909         * text2.C (ClearSelection): to be sure we REALLY don't have any
15910         selection anymore!
15911
15912         * tabular.C (TeXCellPreamble): fixed the left border problem for
15913         multicolumn cells.
15914
15915 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15916
15917         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15918         dependancy file
15919
15920 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15921
15922         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15923         LFUN_BREAKPARAGRAPH.
15924
15925         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15926         help test to "internal only", similar for LFUN_INSERT_URL
15927
15928         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15929         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15930         auto_region_delete and deadkeys.
15931
15932 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15933
15934         * LColor.h:
15935         * LColor.C: remove some dead entries, tidy a little
15936
15937 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15938
15939         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15940         commented code.
15941         (Dispatch): implement LFUN_ESCAPE
15942
15943         * commandtags.h: add LFUN_ESCAPE
15944
15945         * LyXAction.C (init): add entry for LFUN_ESCAPE
15946
15947         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15948         Remove commented code.
15949         (insertNote): moved here
15950         (open_new_inset): moved here
15951
15952         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15953         BufferView_pimpl
15954
15955 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * kbmap.C (findbinding): clean it up and make it work correctly.
15958
15959         * lyx_main.C (init): do not pass argc and argv as parameters
15960
15961 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15962
15963         * buffer.C: fix path for OS/2 & Win32
15964
15965         * lyx_gui.C:
15966         * lyx_main:
15967         * lyx_main.C: Added os:: class.
15968
15969         * os2_defines.h: update
15970
15971 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15974         better by trying again with reduced state.
15975
15976 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15977
15978         * lyxrc.C (read): print error about invalid key sequence only when
15979         debugging (because not all latinX keysyms are known to some X
15980         servers)
15981
15982         * kbsequence.C (getiso): add a few std:: qualifiers
15983         (getiso): comment out extra return statement.
15984
15985 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15986
15987         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15988         handling.
15989         (Dispatch): enhance the accent inset a bit. (not perfect)
15990
15991 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15992
15993         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15994
15995 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15996
15997         * bufferlist.C (emergencyWrite): fix assert() call
15998
15999 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16000
16001         * text.C (InsertChar): Added trivial patch to only send the "you
16002         can not do multiple spaces this way" message once during a
16003         session.
16004
16005 2001-05-08  Baruch Even  <baruch@lyx.org>
16006
16007         * Makefile.am: Changed order of libraries to get LyX to link properly
16008         with the gnome frontend.
16009
16010 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16011
16012         * LaTeXFeatures.h: add a std:: qualifier
16013
16014 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16015
16016         * paragraph.C (String): use stringstream
16017
16018 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16019
16020         * paragraph.C (writeFile): remove footflag arg
16021
16022         * buffer.C (makeLaTeXFile): use stringstream
16023         (latexParagraphs): remove footnot gurba
16024
16025         * LaTeXFeatures.C (getPackages): use stringstream
16026         (getMacros): likewise
16027         (getTClassPreamble): likewise
16028         (getFloatDefinitions): new method
16029
16030         * paragraph.C (writeFile): reindent
16031         (Erase): reindent
16032
16033         * WorkArea.h: revert the xpos + etc changes.
16034
16035         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16036
16037         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16038
16039         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16040         (pasteSelection): likewise
16041         * text2.C (CreateUndo): likewise
16042
16043 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16044
16045         * minibuffer.C (peek_event): temporarily reduce the functionality
16046         of the minibuffer (to allow args on lfuns)
16047
16048         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16049         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16050
16051         * buffer.C (readInset): add compability reading of old float
16052         lists, add reading of new style float list.
16053         (readInset): avoid reevaluation of inscmd.getCmdName()
16054         (getLists): reindent
16055
16056         * MenuBackend.C (MenuItem): implement parsing of
16057         md_floatlistinsert and md_floatinsert.
16058         (expand::LastFiles): move initalizaton of iterators out of loop,
16059         avoid reevaluation.
16060         (expand::Documents): introduce typdedef vector<string> Strings,
16061         and use it.
16062         (expand::ExportFormats): introduce typedef vector<Format const *>
16063         Formats, and use it.
16064         (expand): implement FloatListInsert and FloatInsert.
16065
16066         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16067         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16068         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16069
16070         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16071         handling.
16072         (Dispatch::LFUN_FLOAT_LIST): implement
16073
16074 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16075
16076         * LaTeX.C (run): Fix problem with --export code.
16077
16078 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16079
16080         * BufferView.[Ch] (workarea): removed.
16081         (getClipboard) new method; wrapper for workarea()->getClipboard()
16082
16083         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16084         bug.
16085
16086         * WorkArea.h (width, height, xpos, ypos): These methods all
16087         returned the dimensions of the work_area sub-area of WorkArea,
16088         resulting in a position error if the WorkArea were resized. Now
16089         return the dimensions of the entire WorkArea.
16090
16091         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16092
16093 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16094
16095         * LaTeX.C (deplog): correct the syntax of regex reg1
16096
16097 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16098
16099         * undo.C: remove !NEW_INSETS cruft
16100
16101 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16102
16103         * text2.C: remove !NEW_INSETS cruft
16104
16105         * text.C: remove !NEW_INSETS cruft
16106
16107         * tabular.C: remove !NEW_INSETS cruft
16108
16109         * spellchecker.C: remove !NEW_INSETS cruft
16110
16111         * lyxtext.h: remove !NEW_INSETS cruft
16112
16113         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16114
16115         * lyxfunc.C: remove !NEW_INSETS cruft
16116
16117         * lyxfind.C: remove !NEW_INSETS cruft
16118
16119         * lyx_cb.C: remove !NEW_INSETS cruft
16120
16121         * figureForm.C: remove  !NEW_INSETS cruft
16122
16123         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16124
16125         * buffer.[Ch]: remove !NEW_INSETS cruft
16126
16127         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16128
16129         * CutAndPaste.C: remove !NEW_INSETS cruft
16130
16131         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16132
16133         * BufferView2.C: remove !NEW_INSETS cruft
16134
16135         * BufferView.h: remove !NEW_INSETS cruft
16136
16137 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16138
16139         * Lsstream.h: include LString.h before the sstream headers to
16140         fix problem with gcc 2.95.3 and lyxstring
16141
16142 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16143
16144         * lyx_main.C: add using directives when needed for C functions
16145         declared in std:: namespace.
16146
16147 2001-04-27  Juergen Vigna  <jug@sad.it>
16148
16149         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16150         (SetHeightOfRow): comment out the update call should not be needed!
16151
16152 2001-04-13  Juergen Vigna  <jug@sad.it>
16153
16154         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16155         (LyXTabular): tried to minimize operator= operations (and realized
16156         hopfully Lars wish).
16157
16158 2001-04-27  Juergen Vigna  <jug@sad.it>
16159
16160         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16161
16162 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16163
16164         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16165
16166         * buffer.C (readInset): hack to make listof algorithm work
16167
16168         * BufferView_pimpl.C: hack to make listof algorithm work
16169
16170 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16171
16172         * LyXAction.C: removed all !NEW_INSETS cruft
16173         (init): moved lfun_item in method
16174
16175         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16176
16177 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16178
16179         * BufferView2.C (theLockingInset): white space.
16180
16181 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16182
16183         * minibuffer.C: include <iostream>
16184
16185         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16186
16187         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16188
16189         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16190
16191         * text.[Ch] (TransposeChars): new method
16192
16193 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16194
16195         * call message directly through LyXView instead of through LyXFunc
16196         * BufferView2.C: adjust
16197         * BufferView_pimpl.C: adjust
16198         * FontLoader.C: adjust
16199         * buffer.C: adjust
16200         * bufferview_funcs.C: adjust
16201         * converter.C: adjust
16202         * figureForm.C: adjust
16203         * importer.C: adjust
16204         * lyx_cb.C: adjust
16205         * lyx_gui_misc.C: adjust
16206         * lyxfunc.C: adjust
16207         * lyxvc.C: adjust
16208         * text2.C: adjust
16209         + more files in subdirs
16210
16211         * lyxparagraph.h (size): move up int file
16212         (GetLayout): ditto
16213
16214         * adjust all uses of Assert to lyx::Assert.
16215
16216         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16217         lyxfunctional in namespace lyx
16218         * layout.C (hasLayout): ditto
16219         (GetLayout): ditto
16220         (GetLayout): ditto
16221         (delete_layout): ditto
16222         (NumberOfClass): ditto
16223         * converter.C (GetFormat): ditto
16224         (GetNumber): ditto
16225         (Add): ditto
16226         (Delete): ditto
16227         (SetViewer): ditto
16228         * bufferlist.C (getFileNames): ditto
16229         (emergencyWriteAll): ditto
16230         (exists): ditto
16231         (getBuffer): ditto
16232         * MenuBackend.C (hasSubmenu): ditto
16233         (hasMenu): ditto
16234         (getMenu): ditto
16235         * BufferView_pimpl.C (getInsetByCode): ditto
16236
16237 2001-04-18  Juergen Vigna  <jug@sad.it>
16238
16239         * vspace.C (asLatexString): fixed the 100% problem.
16240
16241 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16242
16243         * lyxfunc.C (Dispatch):
16244         * minibuffer.C:
16245         * minibuffer.h: add a few std:: qualifiers
16246
16247 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16248
16249         * minibuffer.[Ch]: reimplement so that commands is initiated and
16250         run from lyxfunc, simplified som handling, and made the completion
16251         and history code for complete. wip.
16252
16253         * lyxfunc.C (processKeySym): call message
16254         (miniDispatch): new temporary method
16255         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16256         (LFUN_MESSAGE): implement
16257         (LFUN_MESSAGE_PUSH): implement
16258         (LFUN_MESSAGE_POP): implement
16259         (initMiniBuffer): the initial/defualt minibuffer message.
16260
16261         * lyxfont.[Ch]: inline some more getters
16262
16263         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16264
16265         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16266
16267         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16268         (AutoSave): use LFUN_MESSAGE
16269         (Reconfigure): ditto
16270
16271         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16272
16273         * figureForm.C: use LFUN_MESSAGE
16274
16275         * converter.C (runLaTeX): use LFUN_MESSAGE
16276
16277         * bufferview_funcs.C: use LFUN_MESSAGE
16278         (Melt): ditto
16279         (changeDepth): ditto
16280
16281         * bufferparams.h: use boost::
16282
16283         * bufferlist.h: inherit privately from noncopyable
16284
16285         * bufferlist.C (loadLyXFile): remove some commented code.
16286
16287         * buffer.C (runChktex): use LFUN_MESSAGE
16288
16289         * ShareContainer.h: inherit privately from noncopyable
16290
16291         * ParagraphParameters.[hC] (depth): inline it.
16292
16293         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16294         methods.
16295         (message): new method
16296         (messagePush): ditto
16297         (messagePop): ditto
16298         (show): init minibuffer
16299         (showState): direct call
16300
16301         * LaTeX.[Ch]: inherit privately from noncopyable
16302         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16303         instead of WriteStatus.
16304
16305         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16306
16307         * BufferView_pimpl.C (buffer): don't init minibuffer
16308         (workAreaButtonPress): use LFUN_MESSAGE
16309         (workAreaButtonRelease): ditto
16310         (savePosition): ditto
16311         (restorePosition): ditto
16312         (MenuInsertLyXFile): ditto
16313         (workAreaExpose): don't init minibuffer
16314         (update): remove commented code, simplify
16315
16316         * BufferView2.C (openStuff): use LFUN_MESSAGE
16317         (toggleFloat): ditto
16318         (menuUndo): ditto
16319         (menuRedo): ditto
16320         (copyEnvironment): ditto
16321         (pasteEnvironment): ditto
16322         (copy): ditto
16323         (cut): ditto
16324         (paste): ditto
16325         (gotoInset): ditto
16326         (updateInset): remove some commented code
16327
16328         * lastfiles.h: inherit privately from noncopyable
16329         * layout.h: ditto
16330         * lyx_gui.h: ditto
16331         * lyx_main.h: ditto
16332         * lyxlex.h: ditto
16333         * lyxlex_pimpl.h: ditto
16334
16335         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16336         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16337         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16338
16339         * LyXAction.h: inherit privately from noncopyable, add methods
16340         func_begin, func_end, returning iterators to the func map.
16341
16342         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16343         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16344         (func_begin): new method
16345         (func_end): new method
16346
16347         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16348         and not)
16349         (copySelection): ditto
16350         (pasteSelection): ditto
16351
16352         * BufferView.C: whitespace change
16353         * BufferView.h: inherit privately from noncopyable
16354
16355 2001-04-16  Allan Rae  <rae@lyx.org>
16356
16357         * tabular-old.C (l_getline):
16358         * spellchecker.C (sc_check_word):
16359         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16360         an unrecognised preprocessor directive.  So ensure they're wrapped.
16361
16362 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16363
16364         * src/exporter.C (Export): Give an error message when path to file
16365         contains spaces.
16366
16367 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16368
16369         * LaTeX.C (deplog): Always check that foundfile exists.
16370
16371 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16372
16373         * lyx_main.h:
16374         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16375
16376 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16377
16378         * tabular.[Ch] (getLabelList): implement new method
16379
16380         * minibuffer.h: comment ouf setTiimer
16381
16382         * minibuffer.C (ExecutingCB): constify res
16383         (peek_event): constify s
16384         (Set): constify ntext
16385         (Init): constify nicename
16386
16387         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16388
16389         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16390         (savePosition): use two params to Minibuffer::Set
16391         (restorePosition): ditto
16392
16393 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16394
16395         * lyx_main.C: include language.h
16396
16397         * Makefile.am (lyx_main.o): add language.h
16398
16399 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16400
16401         * exporter.C:
16402         * paragraph.C:
16403         * screen.C:
16404         * tabular.C:
16405         * CutAndPaste.C: include gettext.h
16406
16407         * lyxfont.h: remove old hack with ON and OFF.
16408
16409         * lyxparagraph.h:
16410         * lyxfont.h: do not include language.h...
16411
16412         * BufferView2.C:
16413         * LaTeXFeatures.C:
16414         * Painter.C:
16415         * bufferview_funcs.C:
16416         * font.C:
16417         * lyxfont.C:
16418         * text.C:
16419         * text2.C:
16420         * trans_mgr.C:
16421         * paragraph.C: ... but do it here instead
16422
16423 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16424
16425         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16426
16427         * tabular.C: small reformat
16428
16429         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16430         NEW_INSETS version
16431         (GetChar): ditto
16432         (BreakParagraph): ditto
16433         (SetOnlyLayout): ditto
16434         (SetLayout): ditto
16435
16436         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16437         with one arg less.
16438
16439         * lastfiles.C: removed most using decl, add std:: where needed
16440
16441         * buffer.C: ws changes
16442
16443         * MenuBackend.C (class compare_format): put into anon namespace
16444         (expand): constify label, names, action, action2
16445         (expand):
16446
16447         * text.C (SingleWidth): constify font
16448         (IsBoundary): constify rtl2
16449         (GetVisibleRow): constify ww
16450
16451         * LaTeX.C (deplog): constify logfile
16452
16453         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16454         start_x, end_x
16455         (workAreaExpose): constify widthChange, heightChange
16456
16457         * lyxrow.C (par): moved
16458         (height): moved
16459         (next): moved
16460         * lyxrow.h: as inlines here
16461
16462         * lyxfont.h (shape): moved from lyxfont.C
16463         (emph): moved from lyxfont.C
16464
16465         * lyxfont.C (LyXFont): use initialization list for all
16466         constructors
16467         (shape): move to lyxfont.h as inline
16468         (emph): move to lyxfont.h as inline
16469
16470
16471 2001-04-04  Juergen Vigna  <jug@sad.it>
16472
16473         * vspace.C: had to include stdio.h for use of sscanf
16474
16475 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16476
16477         * BufferView.h:
16478         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16479         independent of xforms.
16480
16481 2001-04-02  Juergen Vigna  <jug@sad.it>
16482
16483         * spellchecker.C: fixed namespace placing!
16484
16485 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16486
16487         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16488         the LyXParagraph * is 0.
16489
16490 2001-03-29  Juergen Vigna  <jug@sad.it>
16491
16492         * vspace.C: added support for %, c%, p%, l%.
16493         (stringFromUnit): added helper function.
16494         (asLatexString): changed to give right results for the %-values.
16495
16496         * buffer.C: convert the widthp in a width%.
16497
16498 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16499
16500         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16501         figureForm.[Ch].
16502
16503         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16504         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16505
16506         * lyx_cb.[Ch]: see above.
16507
16508         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16509         form1.[Ch].
16510
16511         * form1.[Ch]:
16512         * lyx.[Ch]: replaced by figure_form.[Ch].
16513
16514         * lyx_gui.C:
16515         * lyx_gui_misc.C:
16516         * lyxfunc.C: changed headers associated with above changes.
16517
16518 2001-03-27  Juergen Vigna  <jug@sad.it>
16519
16520         * BufferView_pimpl.C: set the temporary cursor right!
16521
16522 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16523
16524         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16525
16526 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16527
16528         * LString.h: removed "using std::getline"!
16529
16530         * BufferView_pimpl.C (Dispatch): changes due to changes in
16531         InsetInclude::Params.
16532
16533         * buffer.C (tag_name): removed redundant break statements as they were
16534         producing lots of warnings with my compiler.
16535
16536 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16537
16538         * LString.h: add "using std::getline" when using the real <string>.
16539
16540 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16541
16542         * buffer.C: removed bitset usage.
16543         PAR_TAG moved to an anonymous name space.
16544         (tag_name): new funtion, also in the anonymous namespace.
16545         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16546         (makeDocBookFile): clean code. Completed transition from string arrays
16547         to string vectors.
16548         (SimpleDocBookOnePar): code clean.
16549
16550 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16551
16552         * tabular.C: add some comments.
16553
16554 2001-03-22  Juergen Vigna  <jug@sad.it>
16555
16556         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16557         compatibility read a bit and fixed bug with minipage in different
16558         depth.
16559
16560 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16561
16562         * buffer.C (pop_tag): removed.
16563         (push_tag): removed.
16564         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16565         array replaced with vector. Added support for CDATA sections.
16566         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16567         at any nest level.
16568         (makeDocBookFile): XML conformant declaration of CDATA section,
16569         fixed bug related to <emphasis> in the first paragraph char.
16570         (sgmlOpenTag): exclude empty tags.
16571         (sgmlCloseTag): ditto.
16572
16573         * buffer.h (pop_tag): removed.
16574         (push_tag): removed.
16575
16576 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16577
16578         * language.h (Languages): added size_type and size().
16579
16580 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16581
16582         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16583         response on compability reading of minipages. One probliem is that
16584         the old usage of minipages was «flertydig»
16585
16586         * several files here and in subdirs: don't use static at file
16587         scope use anon namespaces instead.
16588
16589 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16590
16591         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16592         LaTeX output. This is necessary for Literate document
16593         processing.
16594
16595 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16596
16597         * buffer.C: insert hfill when needed.
16598
16599         * tabular.C (l_getline): use string::erase, small whitespace change.
16600
16601         * BufferView_pimpl.C: try the anon namespace.
16602         * WorkArea.C: ditto
16603
16604 2001-03-16  Juergen Vigna  <jug@sad.it>
16605
16606         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16607         otherwise it won't open options-dialogs.
16608
16609         * buffer.C: honor pextraWidth(p) on converting minipages.
16610
16611         * tabular.C (l_getline): changed the functions to strip trailing \r.
16612
16613 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16614
16615         * BufferView_pimpl.C:
16616         * minibuffer..C: added "using SigC::slot" declaration.
16617
16618 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16619
16620         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16621
16622         * text2.C: ditto
16623
16624         * text.C: ditto
16625
16626         * paragraph.C: ditto
16627
16628         * lyxtext.h: NO_PEXTRA
16629
16630         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16631
16632         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16633         * ParameterStruct.h: ditto
16634         * ParagraphParameters.h: ditto
16635         * lyxparagraph.h: ditto
16636
16637 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16638
16639         * buffer.C: add compability for minipage alignment.
16640         (latexParagraphs): remove unwanted pextra check.
16641
16642         * several files: remove CXX_WORKING_NAMESPACES
16643
16644         * buffer.C (pop_tag): tie is in namespace boost
16645
16646         * BufferView.h: noncopyable is in namespace boost
16647         * lyxlex.h: ditto
16648         * lyx_main.h: ditto
16649         * lyx_gui.h: ditto
16650         * layout.h: ditto
16651         * lastfiles.h: ditto
16652         * bufferlist.h: ditto
16653         * ShareContainer.h: ditto
16654         * LyXView.h: ditto
16655         * LyXAction.h: ditto
16656         * LaTeX.h: ditto
16657
16658 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16659
16660         * Merging changes from BRANCH_MVC back into HEAD.
16661
16662         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16663
16664 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16665
16666         * BufferView_pimpl.C: change from intl.C
16667
16668         * combox.h:
16669         * combox.C:
16670         * Makefile.am: move combox.*
16671
16672         * form1.h:
16673         * form1.C:
16674         * lyx_gui.C:
16675         * intl.h:
16676         * intl.C: remove dialog (covered by prefs)
16677
16678 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16679
16680         * lyxfunc.C (Dispatch): removed redundant break statement.
16681
16682 2001-03-14  Juergen Vigna  <jug@sad.it>
16683
16684         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16685
16686 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16687
16688         * buffer.C: add hack to fix compability reading of minipages.
16689
16690 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16691
16692         * buffer.C (getLists): Cleanup.
16693
16694 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16695
16696         * lyxfont.C (update): don't honor toggleall on font size.
16697
16698 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16699
16700         * bmtable.c:
16701         * bmtable.h:
16702         * Makefile.am: moved to frontends/xforms/
16703
16704         * lyx_gui_misc.C:
16705         * lyxfunc.C:
16706         * BufferView_pimpl.C: changes for moved mathpanel
16707
16708 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16709
16710         * gettext.h: fix gettext_init() in --disable-nls
16711
16712 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16713
16714         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16715
16716 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16717
16718         * lyx.C:
16719         * lyx.h: strip external form
16720
16721 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16722
16723         * BufferView_pimpl.C: add comment, destroySplash()
16724
16725 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16726
16727         * BufferView_pimpl.C:
16728         * LyXAction.C:
16729         * buffer.C:
16730         * commandtags.h:
16731         * lyxfunc.C: use re-worked insetinclude
16732
16733 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16734
16735         * buffer.C: add using std::stringstream.
16736
16737         * lyx_cb.C: readd using std::ios.
16738
16739         * buffer.C: add using std::map.
16740
16741         * BufferView_pimpl.C: add using std::vector.
16742
16743         * ShareContainer.h: add std:: to swap.
16744
16745         * buffer.h: add some typedefs
16746         * buffer.C (getLists): use them
16747         (getLists): renamed from getTocList.
16748         add a counter for the different float types and use it in the
16749         generated string.
16750         (getLists): use the same counter for the NEW_INSETS and the "non"
16751         NEW_INSETS
16752
16753         * lyx_cb.h: remove unused items, includes, using etc.
16754
16755         * ShareContainer.h: remove some commented code, add more comments
16756         and "documentation".
16757
16758 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16759
16760         * buffer.C (getTocList): make the list also when NEW_INSETS is
16761         defined.
16762
16763         * buffer.h: remove TocType
16764
16765         * buffer.C (getTocList): change to return a map<string,
16766         vector<TocItem> >, implement for dynamic number of list.
16767
16768         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16769         * text2.C (PasteSelection): adjust
16770         * CutAndPaste.C (pasteSelection): adjust
16771
16772         * FloatList.C (FloatList): update from the new_insets branch.
16773         * Floating.[Ch]: ditto
16774         * LaTeXFeatures.C: ditto
16775         * buffer.C: ditto
16776         * lyxlex_pimpl.C: ditto
16777
16778         * paragraph.C (Last): remove when NEW_INSETS is defined.
16779
16780         * other file: changes because of the above.
16781
16782 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16783
16784         * lyxparagraph.h: rename next to next_, previous to previous_,
16785         make them private for NEW_INSETS. Rename Next() to next(),
16786         Previous() to previous().
16787
16788         * other files: changes because of the above.
16789
16790 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16791
16792         * BufferView.h:
16793         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16794         problem.
16795
16796 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16797
16798         * main.C (main): pass lyx_localedir to gettext_init().
16799
16800         * gettext.h: remove locale_init and gettext_init macros
16801
16802         * gettext.C (locale_init): new function
16803         (gettext_init): new function
16804
16805         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16806         setlocale().
16807
16808 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16809
16810         * Moved credits to frontends:
16811         * credits.[Ch]: removed
16812         * credits_form.[Ch]: removed
16813         * lyx_gui_misc.C: remove credits stuff
16814         * Makefile.am:
16815
16816 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16817
16818         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16819
16820         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16821         unneeded destructor.
16822
16823         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16824         a standalone pointer again.
16825
16826         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16827
16828 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16829
16830         * Makefile.am:
16831         * filedlg.h:
16832         * filedlg.C:
16833         * LyXAction.C:
16834         * ToolbarDefaults.C:
16835         * bufferlist.C:
16836         * commandtags.h:
16837         * form1.C:
16838         * form1.h:
16839         * lyx_cb.C:
16840         * lyx_cb.h:
16841         * lyxfunc.h:
16842         * lyxfunc.C:
16843         * BufferView_pimpl.C: use new file dialog in GUII
16844
16845         * lyx_cb.h:
16846         * lyx_cb.C: remove LayoutsCB to Toolbar
16847
16848 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16849
16850         * ShareContainer.h (get): add std:: qualifier
16851
16852 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16853
16854         * ShareContainer.h: define a proper ShareContainer::value_type
16855         type (and use typename to please compaq cxx)
16856
16857 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16858
16859         * lyxparagraph.h: move serveral local vars to
16860         ParameterStruct/ParagraphParameters., use ShareContainer in
16861         FontTable., make vars in FontTable private and add getter and
16862         setter.
16863
16864         * paragraph.C: changes because of the above.
16865
16866         * lyxfont.h: remove copy constructor and copy assignment. (the
16867         default ones is ok), move number inside FontBits. move inlines to
16868         lyxfont.C
16869
16870         * lyxfont.C: add number to initializaton of statics, move several
16871         inlines here. constify several local vars. some whitespace
16872         cleanup. Dont hide outerscope variables.
16873
16874         * Spacing.h: add two new constructors to match the set methods.
16875
16876         * ShareContainer.h: new file, will perhaps be moved to support
16877
16878         * ParameterStruct.h: new file
16879
16880         * ParagraphParameters.h: new file
16881
16882         * ParagraphParameters.C: new file
16883
16884         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16885         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16886
16887         * BufferView_pimpl.C: ParagraphParameter changes.
16888         * buffer.C: Likewise.
16889         * bufferview_funcs.C: Likewise.
16890         * text.C: Likewise.
16891         * text2.C: Likewise.
16892
16893 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16894
16895         * lyxfind.C (LyXReplace): do not redefine default argument in
16896         implementation.
16897         (IsStringInText): ditto
16898         (SearchForward): ditto
16899         (SearchBackward): ditto
16900
16901 2001-03-06  Juergen Vigna  <jug@sad.it>
16902
16903         * lyxfind.C (IsStringInText): put parentes around expressions.
16904
16905 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16906
16907         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16908
16909 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16910
16911         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16912
16913         * stl_string_fwd.h: add comment
16914
16915         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16916
16917         * tabular.h:
16918         * tabular.C: remove unused DocBook methods
16919
16920         * intl.C:
16921         * language.C:
16922         * paragraph.C:
16923         * buffer.C:
16924         killed DO_USE_DEFAULT_LANGUAGE
16925
16926 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16927
16928         * lyx_gui.C: do not include language.h.
16929
16930         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16931         arguments in function implementation.
16932
16933 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16934
16935         * BufferView_pimpl.C: add <ctime>
16936
16937 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16938
16939         * BufferView_pimpl.C: add using std::find_if
16940
16941 2001-02-27  José Matos  <jamatos@fep.up.pt>
16942
16943         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16944         by OnlyPath.
16945
16946 2001-02-11  José Matos  <jamatos@fep.up.pt>
16947
16948         * buffer.C (makeDocBookFile): command styles now have a parameter as
16949         "title" by default.
16950
16951 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16952
16953         * layout_forms.[Ch]: removed
16954         * lyx_cb.[Ch]: out character
16955         * lyx_gui.C: out character
16956         * lyx_gui_misc.C: out character
16957         * bufferview_funcs.C: : out character,
16958         added toggleall as parameter in ToggleAndShow
16959
16960 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16961
16962         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16963
16964         * text2.C (SetCurrentFont): Disable number property at boundary.
16965
16966 2001-02-26  Juergen Vigna  <jug@sad.it>
16967
16968         * lyxfunc.C (getStatus): added a string argument override function so
16969         that this is correctly called from LyXFunc::Dispatch if it contains a
16970         do_not_use_argument which is used!
16971         (Dispatch): added check for "custom" export and call appropriate func.
16972
16973 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16974
16975         * lyxrc.C: Add language_command_local, language_use_babel and
16976         language_global_options.
16977
16978         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16979
16980         * buffer.C (makeLaTeXFile): Use language_use_babel and
16981         language_global_options.
16982
16983 2001-02-23  Juergen Vigna  <jug@sad.it>
16984
16985         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16986         which works with LyXText and putted it inside BufferView. Here now we
16987         only call for that part the BufferView::Dispatch() function.
16988
16989         * BufferView.C (Dispatch): added.
16990
16991         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16992         functions which needs to use a LyXText over from LyXFunc.
16993         (MenuInsertLyXFile): added
16994         (getInsetByCode): added
16995         (moveCursorUpdate): added
16996         (static TEXT): added
16997
16998 2001-02-22  Juergen Vigna  <jug@sad.it>
16999
17000         * BufferView_pimpl.C (update): call a status update to see if LyXText
17001         needs it.
17002
17003 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17004
17005         * vc-backend.C (revert): implement for CVS
17006         (getLog): implement for CVS
17007
17008 2001-02-20  Juergen Vigna  <jug@sad.it>
17009
17010         * text2.C (ClearSelection): added BufferView param for inset_owner call
17011
17012         * lyxfunc.C (TEXT): added this function and use it instead of
17013         directly owner->view()-text of getLyXText().
17014
17015 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17016
17017         * src/layout_forms.C: out preamble
17018         * src/layout_forms.h: out preamble
17019         * src/lyx_cb.C: out preamble
17020         * src/lyx_cb.h: out preamble
17021         * src/lyx_gui.C: out preamble
17022         * src/lyx_gui_misc.C: out preamble
17023         * src/lyxfunc.C: connect with guii preamble
17024
17025 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17026
17027         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17028
17029 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17030
17031         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17032         whether to run bibtex.
17033
17034 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17035
17036         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17037
17038 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17039
17040         * Makefile.am (lyx_SOURCES): removed bibforms.h
17041
17042         * vspace.h: doxygen
17043
17044         * text.C (GetVisibleRow): make several local vars const
17045
17046         * tabular.C: small cleanup.
17047
17048         * lyxserver.C (callback): use compare instead of strncmp
17049
17050         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17051         inlines to after class or to paragraph.C
17052
17053         * lyxfont.h: remove friend operator!=
17054
17055         * converter.h: move friend bool operator< to non friend and after
17056         class def.
17057
17058         * combox.h: small cleanup
17059
17060         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17061         to inlines after class def.
17062
17063         * buffer.C (pop_tag): use string operations instead of strcmp
17064
17065         * bmtable.c: doxygen, small cleanup
17066
17067         * LaTeX.h: remove friend operator==
17068
17069 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17070
17071         * screen.C:
17072         * lyxrc.[Ch]:
17073         * lyxfunc.C:
17074         * lyxfont.[Ch]:
17075         * lyx_cb.C:
17076         * intl.[Ch]:
17077         * commandtags.h:
17078         * buffer.C:
17079         * WorkArea.[Ch]:
17080         * LyXAction.C:
17081         * BufferView_pimpl.C:
17082         * BufferView.[Ch]: remove cruft
17083
17084 2001-02-14  Juergen Vigna  <jug@sad.it>
17085
17086         * lyxfunc.C: removed #if 0 unused code
17087
17088         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17089
17090         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17091
17092         * text2.C (SetSelection): added a BufferView * parameter
17093
17094 2001-02-13  Juergen Vigna  <jug@sad.it>
17095
17096         * lyxfunc.C (Dispatch): fixed protected blank problem.
17097         * BufferView2.C (protectedBlank): added LyxText * parameter.
17098
17099         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17100         (AppendColumn): same as above for column_info.
17101
17102         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17103         (moveCursorUpdate): use a LyXText param for support of InsetText.
17104
17105         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17106         (tripleClick): ditto
17107
17108         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17109
17110         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17111
17112         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17113
17114         * text2.C (SetSelection): set correct update status if inset_owner
17115         (ToggleFree): ditto
17116
17117 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17118
17119         * tabular.C: remove some commented code.
17120
17121 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17122
17123         * BufferView_pimpl.C: call hideSplash()
17124
17125         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17126
17127         * include_form.h:
17128         * bibforms.h: remove
17129
17130         * lyxfunc.C:
17131         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17132           add LFUN_CHILD_CREATE
17133
17134         * counters.h: fix tiny typo
17135
17136         * lyx_cb.C:
17137         * lyx.h:
17138         * lyx_gui.C:
17139         * lyx.C: move splash to frontends/xforms/
17140
17141         * lyx_gui_misc.C: move Include and Bibform to frontends
17142
17143         * lyxvc.h: clarify comment
17144
17145         * vspace.C: tiny housekeeping
17146
17147 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17148
17149         * text.C (PrepareToPrint): RTL Fix.
17150
17151         * paragraph.C (GetUChar): New method.
17152         (String):  Use GetUChar.
17153
17154         * buffer.C (asciiParagraph): Use GetUChar.
17155
17156 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17157
17158         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17159
17160 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17161
17162         * buffer.h:
17163         * buffer.C: rename to getLogName(), handle
17164           build log / latex log nicely
17165
17166 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17167
17168         * MenuBackend.C:
17169         * MenuBackend.h: remove support for reference menuitem type.
17170
17171 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17172
17173         * BufferView_pimpl.C: housekeeping
17174         * BufferView_pimpl.h:
17175         * LyXView.h:
17176         * Makefile.am:
17177         * Timeout.C:
17178         * Timeout.h:
17179         * minibuffer.h: move Timeout GUI-I
17180
17181 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17182
17183         * lyxrc.C (read): Update converters data-structures.
17184
17185 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17186
17187         * LaTeX.h (operator!=): add operator != for Aux_Info
17188
17189 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17190
17191         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17192
17193         * LaTeXLog.C: deleted, useful code moved to Buffer
17194
17195         * buffer.h:
17196         * buffer.C: new function getLatexLogName()
17197
17198         * lyx_gui_misc.C:
17199         * lyx_gui.C:
17200         * lyxvc.C:
17201         * lyxvc.h:
17202         * lyxfunc.C: use frontends for LaTeX and VC logs
17203
17204 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17205
17206         * LaTeX.h: yet another std:: that Allan forgot.
17207
17208         * Variables.C (set): renamed from isset(), because this clashes
17209         with some HP-UX macros (grr).
17210
17211 2001-02-06  Allan Rae  <rae@lyx.org>
17212
17213         * LaTeX.h: Another bug fix.  Missing std:: this time.
17214
17215 2001-02-04  Allan Rae  <rae@lyx.org>
17216
17217         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17218         floats problem. I've left it commented out because it's not quite
17219         correct.  It should also test that the current object is a table or
17220         figure inset.  But I haven't gotten around to figuring out how to do
17221         that.  I *think* it'll be something like: "table" == inset.type()
17222
17223         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17224         bool.
17225
17226 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17227
17228         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17229         all the citation/databases/styles in the auxilary file.
17230         (run): Rerun latex if there was a babel language error.
17231
17232 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17233
17234         * text.C (Backspace): Preserve the font when changing newline char
17235         with a space.
17236         (BreakParagraph): If the cursor is before a space, delete the space.
17237
17238         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17239
17240 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17241
17242         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17243         new argument (code).
17244         (ChangeCitationsIfUnique): New method.
17245
17246         * paragraph.C (GetPositionOfInset): Handle bibkey.
17247
17248 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17249
17250         * BufferView_pimpl.h: change type of Position::par_pos to
17251         LyXParagraph::size_type.
17252
17253 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17254
17255         * BufferView_pimpl.C (savePosition, restorePosition): Write
17256         messages to minibuffer.
17257
17258 2001-01-28  José Matos  <jamatos@fep.up.pt>
17259
17260         * buffer.C (makeDocBookFile): adds support for document language.
17261         A silly restriction on the name of LatexCommand types where removed.
17262         Added support for CDATA sections, allows to chars unescaped, used
17263         among others in code, to avoid escape < and >.
17264
17265 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17266
17267         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17268         saved positions instrad of a stack. Furthermore, a position is
17269         stored using paragraph id/paragraph position.
17270
17271         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17272         Remove LFUN_REF_BACK.
17273
17274 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17275
17276         * converter.C (dvipdfm_options): New method.
17277
17278 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17279
17280         * vspace.C (isValidLength): Fix for empty input string.
17281
17282 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17283
17284         * LyXAction.C (init): change description of LFUN_FIGURE to
17285         "Insert Graphics"
17286
17287 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17288
17289         * LaTeX.C: add using directive
17290
17291 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17292
17293         * MenuBackend.C (expand): Fix the sorting of the formats.
17294
17295 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17296
17297         * lyx_main.C: tiny error message fix
17298
17299 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17300
17301         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17302         calling fl_initialize(). This fixes the problem with ',' as
17303         decimal separator in text files.
17304
17305 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17306
17307         * trans.C (process): Fix the keymap bug.
17308
17309 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17310
17311         * LaTeX.C (scanAuxFiles): New method. Provides support for
17312         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17313         (scanLogFile) Scan for "run BibTeX" messages.
17314
17315         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17316         OT1 font encoding. Also, load the aecompl package if the ae
17317         package is loaded.
17318
17319         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17320
17321 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17322
17323         * texrow.C (increasePos): turn two error messages into debug
17324         messages.
17325
17326 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17327
17328         * LaTeX.C (scanAux): Handle the \@input macro.
17329         (runBibTeX): Use scanAux().
17330
17331         * language.C (latex_options_): New field.
17332
17333         * LaTeXFeatures.C (getMacros): Add language macros.
17334
17335         * buffer.C (makeLaTeXFile): Small fix.
17336
17337 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17338
17339         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17340
17341         * text2.C: add a using directive.
17342
17343 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17344
17345         * BufferView2.C:
17346         * lyx_gui_misc.h:
17347         * lyxfr1.C:
17348         * lyxfunc.C: kill LyXBell.
17349
17350 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17351
17352         * text.C (IsBoundary): Remove the error message
17353
17354         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17355
17356         * lyxrc.C (setDefaults): Correct initialization value for
17357         font_norm_type.
17358
17359 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17360
17361         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17362         gotoError().
17363
17364         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17365         and GotoNextNote().
17366
17367         * src/LyXAction.C: Added reference-next.
17368
17369         * text.C (InsertChar): Use contains instead of strchr.
17370
17371         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17372
17373 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17374
17375         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17376         alignment commands (when needed).
17377
17378         * text.C (InsertChar): Add ':' to number separator chars.