]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
24d03d44b22242ecd514237852b3d4bfeabd31c7
[lyx.git] / src / ChangeLog
1 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * paragraph.[Ch] (autoBreakRows): remove
4
5         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
6
7         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
8         avoid using the paragraph one
9
10         * text2.C (LyXText, insertStringAsLines): adjust
11         
12 2004-12-16  Angus Leeming  <leeming@lyx.org>
13
14         * bufferlist.C:
15         * lyx_main.C: 
16         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
17
18 2004-12-14  Angus Leeming  <leeming@lyx.org>
19
20         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
21
22         * bufferlist.C (emergencyWrite):
23         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
24         GetEnvPath("HOME").
25
26 2004-12-14  Angus Leeming  <leeming@lyx.org>
27
28         * main.C: (main): no longer pass pointers to os::init.
29
30 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
31
32         * undo.C (textUndoOrRedo): simplify logic, fix a crash
33         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
34
35 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
36
37         * lyxfunc.C: 
38         * text3.C: remove selection_possible global flag
39
40 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
41
42         * text2.C (getSelectionSpan): remove
43         (changeDepth, changeDepthAllowed): adjust
44
45 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
46
47         * Makefile.am (BOOST_LIBS): use boost variables
48
49 2004-12-03  José Matos <jamatos@lyx.org>
50
51         * buffer.C: format up to 238.
52
53 2004-12-03  José Matos  <jamatos@lyx.org>
54
55         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
56
57 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
58
59         * cursor.C (goUpDown): remove call to idxUpDown2
60
61 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
62
63         * tabular.[Ch]: use size_t-like types for cell, row and column
64         indices
65
66 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * lyxfunc.C (getStatus): do not lose previous information when
69         calling BufferView::getStatus; do not set a default "Command
70         disabled" message at the beginning, but just before returning.
71
72 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
73
74         * cursor.h (getStatus): add better comment from src/cursor.C
75
76 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * text3.C (getStatus): return false when the lfun is not handled
79
80 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * broken_headers.h: remove
83
84         * Makefile.am (lyx_SOURCES): remove broken_headers.h
85
86 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
87
88         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
89         offset_ref accessors
90
91         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
92         top_y_, merge fitcursor with update
93         (updateScrollbar, scrollDocView, fitCursor, center, update): new
94         coord scheme
95         (metrics): introduce
96         (workAreaDispatch): adapt to new coord scheme
97         (redoCurrentBuffer): remove
98
99         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
100
101         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
102         CurStatus enum.
103
104         * coordcache.[Ch]: add paragraph cache and helpers
105
106         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
107         adjust everywhere
108
109         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
110         (targetX, setTargetX): introduce
111
112         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
113         baseline -> ascent, as the rest of lyx
114
115         * lyxtext.h: remove redoParagraphs, updateParPositions,
116         fullRebreak, redoParagraphInternal. move dist to anon namespace in
117         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
118         have ascent/descent (ascent is ascent of first par)
119
120         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
121         step of BufferView
122
123         * paragraph.[Ch]: unify dimension handling with the rest of lyx
124
125         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
126
127         * pariterator.C: fix infinite loop introduced in par->pit renaming
128
129         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
130         in insets and LyXText, draw two off-screen paragraphs using
131         NullPainter, and adapt to new coord scheme
132
133         * text.C:
134         * text2.C:
135         * text3.C: adapt lfun handlers to the new coord scheme, which
136         means: there's only guaranteed coord information for onscreen pars
137         plus one above and one below. This implies that one can do search
138         from y coordinates in the range [-1,workHeight]
139
140 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
141
142         * rename a lot of InsetOld to InsetBase
143
144 2004-11-25  Angus Leeming  <leeming@lyx.org>
145
146         * BufferView_pimpl.C:
147         * lyx_cb.C:
148         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
149
150 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
153         call BufferView::getStatus if LCursor::getStatus did nothing
154         (setStatusMessage, getStatusMessage): removed.
155
156         * FuncStatus.C (message): new methods. Used to provide an error
157         message indicating why a command is disabled.
158         (clear, |=, FuncStatus): update for message.
159
160 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
161
162         * lyxfunc.C (dispatch): always call sendDispatchMessage
163
164 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
165
166         * BufferView.C:
167         * BufferView_pimpl.C:
168         * CutAndPaste.C:
169         * FontIterator.C:
170         * buffer.C:
171         * cursor.C:
172         * cursor_slice.[Ch]:
173         * dociterator.[Ch]:
174         * lyxfind.C:
175         * paragraph_funcs.C:
176         * pariterator.C:
177         * rowpainter.C:
178         * text.C:
179         * text2.C:
180         * text3.C:
181         * undo.C: par->pit renaming
182
183 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
184
185         * tabular.C (cellstruct): use initialization, store a shared_ptr
186         to insettext instead of the insettext directly, adjust to fit.
187         (operator=):  new function
188         (swap): new function
189         (rowstruct): use initialization
190         (columnstruct): use initialization
191         (ltType): use initialization
192
193
194         * lyxlength.h (swap): new function
195
196         * LColor.[Ch] (operator=): use the common semantics
197
198 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * lyxfind.C (findNextChange): update the bufferview after setting
201         the selection.
202
203 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
206         number of InsetOptArgs has already been inserted.
207
208         * output_latex.C (latexOptArgInsets): new method. This outputs all
209         the optarg insets, up to the limit defined in the layout file.
210         (optArgInset): removed
211         (TeXOnePar): call latexOptArgInsets; correctly update texrow
212
213 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * paragraph.C (isLetter): remove special spellchecker-related
216         code; return true also for digits
217         (isWord, isKomma): remove
218
219         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
220         * lyxfind.C (MatchString()): use isLetter instead of isWord
221
222 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
223
224         * pariterator.h (operatir=): comment out un-implemented member
225         function.
226
227         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
228         static cast.
229
230 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
231
232         * lyxfont.h: include LColor.h to satisfy concept checks.
233
234 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
235
236         * pariterator.h: add typdefs for value_type, difference_type,
237         pointer and reference to satisfy concept checks. Also add default
238         constructor for same reason.
239
240         * pariterator.C (operator++): add post-increment operator to
241         satisfy concept checks.
242
243         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
244         checks.
245
246         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
247
248         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
249         checks. Also rename base_type to BaseType to follow naming
250         standard better.
251
252         * FloatList.h: include Floating.h to satisfy concept checks.
253
254 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * lyxfunc.C (getStatus): when the origin of the request is menu or
257         toolbar, and the LyXView does not have focus, do as if there was
258         no buffer (bug 1720)
259
260         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
261         FuncRequest to individual entries of LFUN_SEQUENCE
262
263 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         * output_latex.C (TeXOnePar): override runparams.moving_arg
266         according to the needprotect value of the current paragraph (bug
267         1739)
268
269         * paragraph.C (simpleTeXOnePar): no need to override
270         runparams.moving_args here
271
272 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
273
274         * vspace.C: fix off-by-one-error, related to fix #1682
275
276 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
277
278         * lengthcommon.C: a more general fix for bug 1682
279
280 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
281
282         * text.C (backspace): fix crash
283
284 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
285
286         * format.[Ch] (getFormatFromFile): new method
287         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
288
289 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
292
293 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * lyxfunc.C (dispatch): remove the verbose argument
296         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
297         instead
298
299         * kbmap.C (defkey): set the origin of func to KEYBOARD
300
301         * MenuBackend.C (MenuItem):
302         * ToolbarBackend.C (add): set the origin of func to UI
303
304         * funcrequest.[Ch]: add origin member, which indicates which part
305         of LyX requests an action
306
307 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
308
309         * converter.C (move): don't lie in the error message
310         * converter.h (isReachable, move): document
311
312 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
313
314         * buffer.C: remove unused using lyx::support::atoi
315         * paragraph_funcs.C: ditto
316
317 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
318
319         * bufferlist.C (exists): use bind and equal_to instead of
320         compare_memfun
321         (getBuffer): ditto
322         * lyxtextclasslist.C (NumberOfClass): ditto
323
324         * cursor.C (insert): use for_each instead of explicit for loop
325
326         * bufferlist.C (getFileNames): use std::transform and
327         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
328
329         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
330         for loop
331
332         * buffer.C (changeLanguage): use for_each instead of explicit for
333         loop
334         (hasParWithID): implement using getParFromID
335
336         * LaTeXFeatures.C: ws change only
337
338         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
339         to cleanup a bit.
340
341         * BufferView_pimpl.C (trackChanges): use for_each instead of
342         expilicit for loop
343
344 2004-11-04  André Pönitz  <poenitz@gmx.net>
345
346         * undo.h:
347         * undo.C (textUndoOrRedo): fix crash when creating undo information.
348
349         * dociterator.C (asDocIterator): use hard assert again.
350
351 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * lyxlength.C (asLatexString): rewrite so that it does not use
354         snprintf anymore
355
356 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
357
358         * text3.C (specialChar, dispatch): make sure cursor moves to the
359         right after inserting an inset
360
361 2004-11-02  José Matos  <jamatos@lyx.org>
362
363         * output_docbook.C (docbook):
364         * paragraph.C (getID):
365         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
366         garantee that the output is always legal.
367
368         * tabular.C (docbook):
369         * outputprams.[Ch]: remove mixed contents.
370
371 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * text2.C (setCounter): prevent endless loop
374
375 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
376
377         * exporter.C (copyFile): use the mover instead of support::copy()
378         * exporter.C (Export): pass format and latex name to copyFile()
379         * exporter.h (addExternalFile): document
380         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
381
382 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
383
384         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
385
386 2004-10-30  José Matos  <jamatos@lyx.org>
387
388         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
389         text and no inset or font change. This allows to use CDATA
390         sections just for the whole paragraph.
391
392 2004-10-30  José Matos  <jamatos@lyx.org>
393
394         * paragraph.C (getFirstWord): remove unused variable.
395
396 2004-10-30  José Matos  <jamatos@lyx.org>
397
398         * paragraph.C (getFirstWord): the content should always be escaped
399         there.
400         (simpleDocBookOnePar):
401         * output_docbook.C (makeEnvironment): replace reference to CDATA
402         to style pass_thru.
403
404 2004-10-30  José Matos  <jamatos@lyx.org>
405
406         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
407
408 2004-10-30  José Matos  <jamatos@lyx.org>
409
410         * output_docbook.C (makeParagraphs):
411         * paragraph.[Ch] (emptyTag): for docbook and company, if the
412         standard paragraph has only a given type of content drop the wrapper.
413
414 2004-10-29  José Matos  <jamatos@lyx.org>
415
416         * output_docbook.C (makeEnvironment):
417         * sgml.C (openTag):
418         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
419
420 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
421
422         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
423         (cleanID): sanitize any id.
424
425 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
426
427         * buffer.C, lyxlex_pimpl.C:
428         * lyxlex_pimpl.C (setFile):
429         s/getExtFromContents/getFormatFromContents/
430
431 2004-10-28  José Matos  <jamatos@lyx.org>
432
433         * output_docbook.C (makeEnvironment): move id to broadest possible
434         scope.
435
436         * sgml.C (openTag): apply substitution of <> for all attributes.
437
438 2004-10-28  José Matos  <jamatos@lyx.org>
439
440         * buffer.C (makeLinuxDocFile, makeDocBookFile):
441         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
442         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
443
444         * sgml.[Ch]: new version for open and closeTag for paragraph and
445         for strings. Now they handle the ids of paragraphs.
446
447 2004-10-26  Angus Leeming  <leeming@lyx.org>
448
449         * Makefile.am: add mover.[Ch].
450
451         * converter.C (convert, move): use the new Movers to move external
452         files to the temp directory.
453
454         * lyx_main.C (init): ensure that the global system_movers data
455         is initialised.
456
457         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
458         preferences file.
459
460         * mover.[Ch]: new files, defining a Mover as a utility to move an
461         external file between directories and, if necessary, manipulate this
462         file using a helper script.
463
464 2004-10-25  José Matos  <jamatos@lyx.org>
465
466         * output_docbook.C (makeCommand): merge two if's that tested the
467         same condition.
468
469 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * sgml.C (escapeString): fix warning in a better way
472
473 2004-10-25  José Matos  <jamatos@lyx.org>
474
475         * sgml.C (escapeString): import the require boosts header file for
476         tie, and avoid a signed unsigned comparison.
477
478 2004-10-25  José Matos  <jamatos@lyx.org>
479
480         * sgml.h: add #include <string>
481
482 2004-10-25  José Matos  <jamatos@lyx.org>
483
484         * sgml.[Ch] (escapeString): new function to escape all the string.
485
486 2004-10-24  José Matos  <jamatos@lyx.org>
487
488         * paragraph.[Ch] (getFirstWord): new function to get the first
489         word. Useful for description.
490         (simpleDocBookOnePar): remove depth argument, add another that
491         says where to start the paragraph.
492
493         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
494         use the new functions to fix cleanly the support for descriptions.
495
496 2004-10-24  José Matos  <jamatos@lyx.org>
497
498         * buffer.C (makeLinuxDocFile, makeDocBookFile):
499         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
500         * output_linuxdoc.C (linuxdocParagraphs):
501         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
502         add buffer as argument.
503
504 2004-10-24  José Matos  <jamatos@lyx.org>
505
506         * output_docbook.C (makeEnvironment, searchEnvironment): place
507         CDATA inside paragraphs and fix scope for listitems.
508
509 2004-10-24  José Matos  <jamatos@lyx.org>
510
511         * output_docbook.C: remove using statement for stack.
512
513 2004-10-23  José Matos  <jamatos@lyx.org>
514
515         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
516         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
517         docbook. The new scheme is recursive and makes use of iterators, the
518         same as latex export works.
519         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
520         directly with the paragraph contents. This code was moved up to
521         output_docbook.C (docbookParagraphs).
522         * sgml.C (openTag, closeTag): removed unneeded newlines.
523         (closeEnvTags) removed.
524
525 2004-10-23  André Pönitz  <poenitz@gmx.net>
526
527         * undo.C (textUndoOrRedo):
528         * dociterator.C (asDocIterator): work around crash
529
530         * cursor.C (getStatus): replace ASSERT by more verbose error message
531           and manual correction of the problem. Should increase stability
532           while providing more sensible information.
533
534 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
535
536         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
537
538         * bufferlist.C (previous, next): new methods
539
540         * lfuns.h:
541         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
542
543 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
544
545         * buffer.C (makeDocBookFile): add dsssl stylesheet control
546         entities to preamble.
547
548 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
549
550         * messages.C (Pimpl): strip off translation context information
551
552 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553
554         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
555         the cursor is correct (bug 1694)
556
557 2004-10-13  José Matos  <jamatos@lyx.org>
558
559         * output_docbook.C (docbookParagraphs): fix closing tags in the
560         end of the document.
561
562 2004-10-09  José Matos  <jamatos@lyx.org>
563
564         * buffer.C: format up to 237.
565         * bufferparams.C (write): use tostr to convert booleans to strings.
566
567 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
568
569         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
570
571 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
572
573         * LaTeX.C: implement use of babel language in xindy.
574
575 2004-10-05  José Matos  <jamatos@lyx.org>
576
577         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
578         Add new translators to help reading and writing the lyx file.
579
580 2004-10-05  José Matos  <jamatos@lyx.org>
581
582         * ParagraphParameters.C (read):
583         * text.C (readParToken): replace nexToken by more appropriate lex
584         methods.
585
586 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
587
588         * LaTeX.C (runMakeIndex):
589         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
590         (usually 'makeindex') configurable.
591
592         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
593         with a variable rather than with a number.
594
595 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * output_latex.C (TeXOnePar): make sure font setting is the first
598         thing that gets output (and the last at the end). Should fix bug
599         1404.
600
601 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
602
603         * pch.h: use proper signal include
604
605         * LaTeX.h: Use preferred calling of Boost.Signal
606         * buffer.h: ditto
607
608 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
609
610         * pch.h: dont include <boost/function/function0.hpp>
611
612         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
613
614         * paragraph_pimpl.h: remove usage of ShareContainer
615
616         * paragraph_pimpl.C: remove initialization of ShareContainer.
617
618 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
619
620         Fix bug #1666
621
622         * BufferView.C (putSelectionAt): change the semantics when
623         backwards == true: now, this just swaps cursor and anchor wrt the
624         forward case
625
626         * BufferView.h (putSelectionAt): add some documentation
627
628         * lyxfind.C (findBackwards): rewrite using while(). In particular,
629         make sure backwardChar is done at least once (to avoid getting
630         stuck)
631         (findNextChange): use putSelectionAt in the forward direction
632         (operator()): use Paragraph::isWord
633
634 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
635
636         * Spacing.C (set): c_str fix
637
638 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         * lyx_cb.C (Reconfigure): quote the name of configure script in
641         case it contains spaces
642
643 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
644
645         * client: new dir
646
647         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
648         (BOOST_LIBS): use top_buildir when looking for the file
649
650 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
651
652         * pch.h: do not use include boost/format.hpp, multiple symbols
653                 will result (gcc bug)
654
655
656 2004-08-23  José Matos  <jamatos@lyx.org>
657
658         * bufferparams.C (readToken): fix reading of the author field.
659
660 2004-08-20  José Matos  <jamatos@lyx.org>
661
662         * lyxrc.C: remove support/translator.h inclusion since it is not used.
663
664 2004-08-20  José Matos  <jamatos@lyx.org>
665
666         * lyxlex.[Ch] (findToken): remove function.
667
668         * ParagraphParameters.C (findToken):
669         * bufferparams.C (findToken): replace call for previous function
670         with local copy. This local function has one more argument, the
671         read string argument.
672
673 2004-08-16  José Matos  <jamatos@lyx.org>
674
675         * ParagraphParameters.C (write):
676         * Spacing.C (writeFile):
677         * bufferparams.C (writeLaTeX):
678         * lyx_cb.C (Reconfigure):
679         * paragraph.C (write):
680         * tabular.C (write): remove unnecessary space at end of line.
681
682
683 2004-08-16  José Matos  <jamatos@lyx.org>
684
685         * text.C (readParagraph): remove debug message.
686
687 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
690         crash
691
692         * output_plaintext.C (asciiParagraph): set depth correctly
693
694         * outputparams.h: add member depth
695
696         * paragraph_funcs.C (ownerPar): remove.
697
698         * text2.C (setCounter): remove first_pit; comment out some
699         non-working code that uses ownerPar
700
701         * BufferView.C (getParentLanguage): remove. Not used anymore, and
702         uses ownerPar
703
704 2004-08-16  José Matos  <jamatos@lyx.org>
705
706         * text.C (readParToken, readParagraph, read): report all unknown tokens.
707         For the same level of importance use the same chanel to report problems.
708         (read): add code to deal with \begin_body and \end_body.
709
710
711 2004-08-15  José Matos  <jamatos@lyx.org>
712
713         * lyxlex.C (getString): fix comment, buffer::readBody is now
714         buffer:readDocument.
715
716         * tex-strings.C (string_papersize): Default -> default,
717         Custom -> custom, for consistency with other options.
718
719 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
720
721         * pch.h: new file
722
723         * Makefile.am: support pch
724
725 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         * text.C (readParToken): remove the static LyXFont variable and
728         pass it as a parameter instead. This fixes a nasty bug where an
729         inset will be inserted with a bad font in some situations
730         (readParagraph): adapt
731
732         * text2.C (setCounter): reduce number of calls to pars_[pit]
733
734         * text.C (singleWidth): add an assert, fix a test
735
736         * rowpainter.C (paintText): reduce number of calls to singleWidth
737
738         * paragraph.C (isHfill):
739         (isNewline): ws only
740
741 2004-08-14  André Pönitz  <poenitz@gmx.net>
742
743         * text.C:
744         * text2.C:
745         * rowpainter.C:
746         * lyxtext.h (several functions): use a Paragraph & argument
747         instead of par_type
748
749 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
750
751         * metricsinfo.h: add a new field ltr_pos to PainterInfo
752
753         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
754
755         * text.C (singleWidth): remove useless test
756
757 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * tabular.h: remove bogus comments
760
761         * tabular.C (getDescentOfRow):
762         (isPartOfMultiColumn): add assertions
763
764         * lyxlength.C (inPixels): remove #warning
765
766 2004-08-14  André Pönitz  <poenitz@gmx.net>
767
768         * paragraph.h: inline getChar()
769
770         * BufferView.h: remove unused declarations
771
772 2004-08-14  José Matos  <jamatos@lyx.org>
773
774         * Buffer.[Ch] (readDocument): new name for old readBody.
775         * Buffer.C: new file format, new keywords: \begin_document,
776         \begin_header, \begin_body, \end_body.
777
778         * bufferparams.C (readToken): replace all calls to lex.nextToken
779         by lex.next(). Do the same to eatLine except where really needed.
780
781         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
782         line when writing to the lyx file.
783
784         * output_plaintext.C (asciiParagraph): fix Bibliography style
785         handling.
786
787         * text.C (read): fix end of file handling.
788
789 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         * MenuBackend.C (Menu::operator[]): new method to access
792         individual menu items
793         (Menu::hasFunc): new method. search for an item that corresponds
794         to a given func
795         (MenuBackend::specialMenu): new method
796         (MenuBackend::expand): if a special menu has been set, skip
797         entries whose func() appears in this menu
798
799 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
800
801         * text3.C: use Debug::DEBUG a bit more
802
803         * text.C (leftMargin): try to simplify a tiny bit change var x to
804         l_margin. Dont output the wide margins always.
805         (rightMargin): no margin in inner texts
806
807         * rowpainter.h (nestMargin): new func
808         (changebarMargin): new func
809         (rightMargin): new func
810
811         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
812         now functions.
813         (paintLast): ditto
814
815         * factory.C (createInset): modify setDrawFrame
816
817         * cursor.C: use Debug::DEBUG a bit more
818
819 2004-08-14  André Pönitz  <poenitz@gmx.net>
820
821         * coordcache.[Ch]:
822         * Makefile.am: new files to accomodate an 'external' (x,y)-position
823         cache for all insets in (at least partially) visible (top-level)
824         paragraphs.
825
826         * BufferView_pimpl.C: reset external coord cache before every update.
827         This means the coord cache only contains valid entries.
828
829 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
830
831         bug 1096
832         * BufferView_pimpl.C (getInsetByCode): move function out of class
833         and change in to a template in anon namespace. Also fix to do what
834         suits us better.
835
836 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
837
838         bug 1305
839         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
840         of char
841         (breakParagraph): rename par to par_offset and use a local
842         reference. Add code to keep the language over a rebreak.
843         (breakParagraphConservative): rename par to par_offset, use a
844         local reference
845         (mergeParagraph): ditto
846         (outerHook): ditto
847         (isFirstInSequence): ditto
848         (outerFont): rename pit to par_offset
849
850         * paragraph.C: ws change
851         * paragraph.h: ditto
852         * text3.C: ditto
853         * text.C: ditto
854
855 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
856
857         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
858         treatment for ']'
859
860         * paragraph.C (simpleTeXOnePar): when we have a \item with
861         optional argument, enclose the argument with curly brackets (in
862         case it contains a closing square bracket)
863
864         * text2.C (editXY):
865         * text2.C (editXY):
866         * text3.C (checkInsetHit): constify
867
868 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
871         documents (bug 1629)
872
873 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
874
875         Fix toggling of collapsable insets with the mouse (bug 1558)
876
877         * lyxfunc.C (dispatch): adapt to LCursor changes
878
879         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
880         make sure that dispatch is not invoked twice
881
882         * cursor.C (needsUpdate): new method
883         (dispatch): return void
884         (result): new method, to access the DispatchResult of the cursor.
885
886 2004-08-13  José Matos  <jamatos@lyx.org>
887
888         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
889
890 2004-08-13  André Pönitz  <poenitz@gmx.net>
891
892         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
893
894         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
895           multiple cells
896
897 2004-08-12  André Pönitz  <poenitz@gmx.net>
898
899         * text3.C: take out the 'cursor right' form insertInset and only
900         do it in those places when it is really needed. Fixes crash on
901         C-m...
902
903 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
904
905         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
906
907         * BufferView_pimpl.C (setBuffer): initialize the current font of
908         the underlying LyXText
909
910 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
911
912         * kbsequence.C (print): use UI native formatting for menu
913         shortcuts
914
915         * text.C (insertChar): call Paragraph::insertChar with a font
916         argument (cosmetic)
917
918         * paragraph.C (insertInset, insertChar): the version that takes a
919         LyXFont argument is now a wrapper around the other one (the
920         opposite used to be true).
921
922         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
923         argument. Font setting is done in Paragraph now.
924
925 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * outputparams.h: add new members intitle and lang.
928
929         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
930         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
931
932 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
933
934         * text3.C (dispatch): remove special handling of button 4 and 5,
935         it is now taken care of in the frontend code.
936
937 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
938
939         * Spacing.h: add <string> (STLPort compile fix)
940
941 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
942
943         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
944
945 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
946
947         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
948         to bool.
949
950         * converter.C (showMessage): inherit from unary_function, make
951         operator() const.
952
953         * buffer.C (writeFile): initialize retval
954
955         * InsetList.h: rename private variable list to list_
956         * InsetList.[Ch]: adjust accordingly.
957
958 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
959
960         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
961         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
962         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
963         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
964         * ParagraphParameters.C, LaTeXFeatures.C: replace
965         "support/std_sstream.h" with <sstream>
966
967 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
968
969         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
970         * lyxsocket.C (LyXServerSocket): ditto
971         (serverCallback): ditto
972
973 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
974
975         * LaTeXFeatures.C: check release date when loading jurabib.
976
977 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
978
979         * lyxserver.C (startPipe): call register_socket_callback
980         (endPipe): call unregister_socket_callback
981
982 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
983
984         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
985         (LyXServerSocket): register the callback
986         (LyXServerSocket): unregister the callback
987         (fd): delete function
988         (serverCallback): improve error checking and setup the callbacks.
989         (dataCallback): change arg to fd.
990         (writeln): new func (copied fro the client socket) used for server
991         write to client.
992         (LyXDataSocket): simplify
993         (~LyXDataSocket): close ann unregiser callback
994         (server): delete function
995         (fd): delete function
996         (readln): small changes, improve some std::string usage
997         (writeln): constify a bit
998
999 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1000
1001         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1002         Qt frontend
1003
1004 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1007         after it has been populated
1008
1009 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1010
1011         * text2.C (insertInset): move cursor when inserting inset.
1012
1013 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1014
1015         * kbmap.C (findbindings): a couple of new methods. returns a
1016         container of kb_sequence objects. The real work is done by the
1017         private recursive version
1018         (printbindings): uses findbindings to print out a bracketed list
1019         of bindings (renamed from findbinding).
1020
1021         * MenuBackend.C (binding): use kb_keymap::findbindings
1022
1023         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1024
1025 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1026
1027         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1028
1029 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1030
1031         * paragraph.C (isWord): return true on insets that report
1032         isLetter().
1033
1034         * text.C (getWord): use Paragraph::isWord to decide what is in a
1035         word and what is not; fix bug 1609.
1036
1037 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1038
1039         * tex-strings.C: add "none" to string_paperpackages[], fixes
1040         off-by-one-error in the paperpackage selection.
1041
1042         * lyxlex.[Ch]:
1043         * tex-strings.[Ch]: char const * string[n]
1044         -> char const * const string[]
1045
1046 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1047
1048         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1049         command, return early.
1050
1051 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1052
1053         * debug.h: add DEBUG to enum and fix size of ANY.
1054
1055         * debug.C: add support for Debug::DEBUG
1056         (showTags): cast errorTags.level to unsigned int
1057
1058         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1059         (redoCurrentBuffer): ditto
1060         (updateScrollbar): ditto
1061         * cursor.C (dispatch): ditto
1062         * text2.C (setLayout): ditto
1063         (setFont): ditto
1064         (updateCounters): ditto
1065         (editXY): ditto
1066         (deleteEmptyParagraphMechanism): ditto
1067
1068 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1069
1070         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1071         annotations to cleanup the Makefile slightly.
1072
1073 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1074
1075         * lyxrc.C: do not set user_email to a default value but use empty
1076         instead. The entry used to be translated, which does not work
1077         since at the point where lyxrc is constructed there is no
1078         translation service available
1079
1080         * messages.C (getLocaleDir): remove and use directly
1081         lyx_localedir() instead
1082
1083 2004-06-02  Angus Leeming  <leeming@lyx.org>
1084
1085         Fix crash caused by dereferencing null pointer 'exportdata' in
1086         OutputParams by creating a new ExportData variable on the heap,
1087         storing it in a boost::shared_ptr.
1088         The crash was triggered when generating an Instant Preview
1089         of an external inset.
1090
1091         * Makefile.am: add outputparams.C
1092
1093         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1094         (c-tor): allocate memory to it.
1095
1096         * exporter.C (c-tor): associated changes.
1097
1098 2004-06-01  Angus Leeming  <leeming@lyx.org>
1099
1100         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1101         contains data before calling isInset(0). (Bug 1513.)
1102
1103 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1104
1105         * exporter.C (checkOverwrite): new method
1106         * exporter.C (copyFile): new method
1107         * exporter.C (Export): copy referenced files to the document dir
1108         * exporter.[Ch]: new class ExportedFile
1109         * exporter.[Ch]: new class ExportData. Contains currently the
1110         names of referenced external files
1111         * outputparams.h: add exportdata member.
1112
1113 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1114
1115         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1116         version.C-tmp
1117
1118 2004-05-19  Angus Leeming  <leeming@lyx.org>
1119
1120         * LaTeXFeatures.C:
1121         * ToolbarBackend.C:
1122         * bufferparams.C:
1123         * lyxfunc.C: small changes due to the introduction of namespace
1124         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1125
1126 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1127
1128         * text3.C (dispatch): supress update when only moving the cursor
1129         * cursor.C (selHandle): remove commented code
1130
1131 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1132
1133         * paragraph.C (startTeXParParams): correct column count
1134         * CutAndPaste.C (pasteSelection): remove const_cast
1135         * output_docbook.C (docbookParagraphs): remove const_cast
1136         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1137         const_cast and return ParagraphList::const_iterator
1138         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1139         * output_plaintext.C (writeFileAscii): remove const_cast
1140         * paragraph.[Ch] (simpleTeXOnePar): make const
1141         * paragraph_funcs.C (outerPar): use const iterators
1142         * paragraph_pimpl.C (validate): use const iterators
1143         * text.C (setHeightOfRow): use const iterators
1144
1145 2004-05-17  Angus Leeming  <leeming@lyx.org>
1146
1147         * lfuns.h:
1148         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1149
1150         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1151         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1152         if the citation engine has changed.
1153
1154 2004-05-14  José Matos  <jamatos@lyx.org>
1155
1156         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1157         if the textclass does not provide it. Have it different for sgml and
1158         xml.
1159         support the language of document.
1160         * output_docbook.C (docbookParagraphs):
1161         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1162         first anchor as the id of the paragraph, remove special case code.
1163         * sgml.C (escapeChar): escape only < & >.
1164
1165 2004-05-14  Angus Leeming  <leeming@lyx.org>
1166
1167         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1168         dependencies on src/frontends/controllers/biblio.h. Define a
1169         CiteEngine_enum wrapper class to enable the enum to be forward
1170         declared.
1171
1172 2004-05-12  Angus Leeming  <leeming@lyx.org>
1173
1174         * buffer.C: up LYX_FORMAT to 234.
1175         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1176         use_numerical_citations with a single biblio::CiteEngine cite_engine
1177         variable.
1178         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1179
1180 2004-05-13  José Matos  <jamatos@lyx.org>
1181
1182         * converter.h:
1183         * converter.C (Converter, readFlags): add xml member.
1184         * outputparams.h: add XML flavor.
1185         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1186
1187 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * lyxfunc.C (dispatch):
1190         (getStatus): fix handling of LFUN_SEQUENCE
1191
1192 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1193
1194         * debug.C (showLevel): do not forget the end-of-line marker
1195
1196 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1197
1198         * kbmap.C (read): do not stop parsing a bind file when an error
1199         occurs (bug 1575)
1200
1201 2004-04-29  Angus Leeming  <leeming@lyx.org>
1202
1203         * cursor.C:
1204         * factory.C:
1205         * pariterator.C:
1206         * text2.C: wrap a bunch of #warning statements
1207         inside #ifdef WITH_WARNINGS blocks.
1208
1209 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1210
1211         * buffer.C: increment format to 233.
1212
1213 2004-04-28  Angus Leeming  <leeming@lyx.org>
1214
1215         * BufferView_pimpl.C:
1216         * lyxfunc.C:
1217         * text3.C:
1218         s/updateToolbar()/updateToolbars()/
1219         s/Toolbar.h/Toolbars.h/
1220
1221 2004-04-28  Angus Leeming  <leeming@lyx.org>
1222
1223         * BufferView.[Ch] (c-tor):
1224         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1225         No longer passes these data to the WorkArea generator.
1226
1227 2004-04-28  Angus Leeming  <leeming@lyx.org>
1228
1229         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1230
1231 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1232
1233         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1234
1235 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         * output_latex.C (TeXEnvironment): make sure that there is a line
1238         break before \end{foo} for the last paragraph of a document
1239         (TeXOnePar): if the paragraph is at the end of the document (or
1240         inset) and the language has to be reset, then make sure that the
1241         line break is _before_ the language command, not after (fixes bug
1242         1225); also make sure that the language reset command is the first
1243         thing after the paragraph (to ensure proper nesting of
1244         environments and thus fix bug 1404)
1245
1246 2004-04-21  John Levon  <levon@movementarian.org>
1247
1248         * ToolbarBackend.h:
1249         * ToolbarBackend.C: make "name" be a programmatic name
1250         and a gui_name field.
1251
1252         * lyxfunc.C: display the minibuffer on M-x
1253
1254 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1255
1256         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1257         (bug 1526)
1258
1259 2004-04-19  Angus Leeming  <leeming@lyx.org>
1260
1261         * BufferView_pimpl.C (setBuffer): changed preview interface.
1262
1263         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1264         possible values.
1265
1266 2004-04-19  John Levon  <levon@movementarian.org>
1267
1268         * BufferView_pimpl.C:
1269         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1270
1271 2004-04-05  Angus Leeming  <leeming@lyx.org>
1272
1273         * text.C (redoParagraphs): add call to updateCounters(), thereby
1274         fixing the missing "Figure #:" label from the caption of a
1275         figure float.
1276
1277 2004-04-13  Angus Leeming  <leeming@lyx.org>
1278
1279         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1280         cursor is clicked out of an inset.
1281
1282 2004-04-13  Angus Leeming  <leeming@lyx.org>
1283
1284         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1285         than an InsetOld one.
1286
1287 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1288
1289         * format.[Ch]: add editor to Format
1290         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1291         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1292
1293 2004-04-08  André Pönitz  <poenitz@gmx.net>
1294
1295         * metricsinfo.h: remove PainterInfo::width member
1296
1297 2004-04-08  Angus Leeming  <leeming@lyx.org>
1298
1299         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1300         "\providecommand" rather than "\newcommand", thereby preventing
1301         clashes with packages that define "\boldsymbol" themselves.
1302         Eg, beamer.
1303
1304 2004-04-08  Angus Leeming  <leeming@lyx.org>
1305
1306         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1307         thereby squashing an unnecessary warning.
1308
1309 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1310
1311         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1312         setBuffer()
1313
1314 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1315
1316         * BufferView.C (setCursor): call redoParagraph (some insets could
1317         have been opened)
1318         (putSelectionAt): remove the 'double update' trick
1319
1320         * BufferView_pimpl.C (fitCursor): call refreshPar
1321         (workAreaDispatch): remove an uneeded update call
1322         (dispatch): remove some manual update calls
1323
1324         * cursor.[Ch]: remove cached_y_, updatePos
1325         (selHandle): set noUpdate when appropriate
1326
1327         * lyxfunc.C (dispatch): track if we need an update
1328
1329         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1330
1331         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1332         (paintSelection): cheap optimization, do not call cursorX when not
1333         needed
1334         (paintPars): change signature
1335         (refreshPar): add
1336         (paintText): adjust
1337         (paintTextInset): adjust
1338
1339         * text.C: adjust
1340
1341 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * lengthcommon.C: compilation fix: remove explicit array size from
1344         unit_name[] and friends
1345
1346 2004-04-05  Angus Leeming  <leeming@lyx.org>
1347
1348         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1349
1350         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1351         present only for the preferences dialog.
1352         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1353
1354 2004-04-05  Angus Leeming  <leeming@lyx.org>
1355
1356         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1357         to enable the frontends to export changes to lyxrc correctly.
1358
1359         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1360
1361 2004-04-07  André Pönitz  <poenitz@gmx.net>
1362
1363         * cursor.[Ch] (selClear, adjust): remove math
1364
1365         * cursor_slice.C: more agressive assert
1366
1367         * lyxfunc.C:
1368         * BufferView_pimpl.C: rework mouse event dispatch
1369
1370         * dociterator.C:
1371         * paragraph.C:
1372         * text2.C:
1373         * text3.C: adjust
1374
1375 2004-04-05  André Pönitz  <poenitz@gmx.net>
1376
1377         * cursor.[Ch] (valign, halign...): remove unneeded functions
1378
1379 2004-04-05  Angus Leeming  <leeming@lyx.org>
1380
1381         * lyxlength.[Ch] (unit_name et al.): const-correct.
1382
1383 2004-04-05  Angus Leeming  <leeming@lyx.org>
1384
1385         * BufferView_pimpl.C:
1386         * buffer.C:
1387         * counters.C:
1388         * cursor.C:
1389         * lyxfunc.C
1390         * paragraph.C:
1391         * pariterator.C:
1392         * text.C:
1393         * text2.C:
1394         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1395
1396 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1397
1398         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1399
1400 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1401
1402         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1403         * BufferView_pimpl.[Ch] (getStatus)
1404         * BufferView.[Ch] (getStatus): add
1405         * lyxfunc.C (getStatus): move lfuns handled in
1406         BufferView::dispatch to te function above
1407         * Cursor.C (setSelection): set selection() = true
1408
1409 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1410
1411         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1412
1413 2004-03-31  Angus Leeming  <leeming@lyx.org>
1414
1415         * lyxfunc.C (dispatch): Fall through to the generic
1416         Dialogs::show("preamble").
1417
1418 2004-03-31  Angus Leeming  <leeming@lyx.org>
1419
1420         * lyxfunc.C (dispatch): Fall through to the generic
1421         Dialogs::show("spellchecker").
1422
1423 2004-03-31  Angus Leeming  <leeming@lyx.org>
1424
1425         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1426         preferences dialog.
1427
1428 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1429
1430         * BufferView.C
1431         * cursor.[Ch]
1432         * dociterator.[Ch]:
1433         * insetiterator.[Ch]:
1434         * lyxfind.C:
1435         * lyxfunc.C:
1436         * pariterator.[Ch]:
1437         * text2.C:
1438         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1439
1440 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1441
1442         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1443         insets where we are putting the cursor.
1444
1445 2004-03-31  Angus Leeming  <leeming@lyx.org>
1446
1447         * lfuns.h:
1448         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1449
1450         * lyxrc.[Ch] (read, write): overloaded member functions taking
1451         a std::[io]stream arguments.
1452
1453         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1454
1455 2004-03-31  Angus Leeming  <leeming@lyx.org>
1456
1457         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1458         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1459
1460         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1461         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1462
1463 2004-03-31  Angus Leeming  <leeming@lyx.org>
1464
1465         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1466         the LFUN_ALL_INSETS_TOGGLE code.
1467
1468 2004-03-30  Angus Leeming  <leeming@lyx.org>
1469
1470         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1471         has died. Fall through to the generic Dialogs::show("document").
1472
1473 2004-03-30  Angus Leeming  <leeming@lyx.org>
1474
1475         * lfuns.h:
1476         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1477         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1478
1479         * lyxfunc.C (getStatus, dispatch): define the actions for these
1480         lfuns. Little more than a cut and pste job from ControlDocument.C
1481
1482         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1483
1484 2004-03-30  Angus Leeming  <leeming@lyx.org>
1485
1486         * lfuns.h:
1487         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1488         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1489
1490         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1491         open/closed state of ollapsable insets. Usage:
1492
1493         all-inset-toggle <state> <name>, where
1494         <state> == "open" || "closed" || "toggle" and
1495         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1496
1497         * lyxtext.h, text2.C (toggleInset): removed.
1498
1499         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1500         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1501         now passes LFUN_INSET_TOGGLE to the found inset.
1502
1503         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1504         is now invoked as "all-insets-toggle toggle branch".
1505
1506 2004-03-30  Angus Leeming  <leeming@lyx.org>
1507
1508         * dociterator.C:
1509         * insetiterator.C:
1510         * pariterator.[Ch]: added/corrected header blurb.
1511
1512 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1513
1514         * dociterator.[Ch]: add an inset_ member
1515         (backwardPos): implemented
1516         (backwardPos, forwardPos): use inset_ when the stack is empty.
1517         (doc_iterator_begin, doc_iterator_end): implemented
1518         * pariterator.[Ch]: adjust, add begin, end
1519         * insetiterator.[Ch]: adjust, add begin, end
1520         * cursor.C:
1521         * document.C:
1522         * BufferView.C:
1523         * BufferView_pimpl.C:
1524         * CutAndPaste.C: adjust
1525
1526 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1527
1528         * buffer.C: increment file format to 232.
1529         * LaTeXFeatures.C: add bibtopic package.
1530         * bufferparams.[Ch]: param \use_bibtopic.
1531
1532         * lyxrc.[Ch]: add lyxrc bibtex_command
1533         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1534
1535         * buffer.C: increment file format to 231.
1536
1537 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1538
1539         * dociterator.C: implement forwardPar
1540         * iterators.[Ch]: remove, replaced by
1541         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1542         * BufferView.C:
1543         * BufferView_pimpl.C:
1544         * CutAndPaste.C:
1545         * buffer.C:
1546         * bufferview_funcs.C:
1547         * cursor.C:
1548         * lyxfind.C
1549         * lyxfunc.C
1550         * paragraph_funcs.C
1551         * toc.C:
1552         * Makefile.am: adjust
1553
1554 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1555
1556         * CutAndPaste.C (pasteSelection): fix 2 crashes
1557         (eraseSelection): fix a crash
1558         * paragraph_funcs.C: remove a warning
1559
1560 2004-03-28  Angus Leeming  <leeming@lyx.org>
1561
1562         * lfuns.h:
1563         * LyXAction.C (init): new LFUN_PRINT.
1564
1565         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1566
1567 2004-03-27  Angus Leeming  <leeming@lyx.org>
1568
1569         * lfuns.h:
1570         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1571
1572         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1573
1574 2004-03-27  Angus Leeming  <leeming@lyx.org>
1575
1576         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1577         insetlist always contains non-null pointers to insets.
1578
1579 2004-03-26  Angus Leeming  <leeming@lyx.org>
1580
1581         * src/BufferView_pimpl.C:
1582         * src/CutAndPaste.C:
1583         * src/buffer.C:
1584         * src/iterators.C:
1585         * src/output_plaintext.C:
1586         * src/outputparams.h:
1587         * src/paragraph_funcs.C:
1588         * src/rowpainter.C:
1589         * src/text.C:
1590         * src/text2.C:
1591         * src/frontends/controllers/ControlErrorList.C:
1592         * src/frontends/gtk/FileDialogPrivate.C:
1593         * src/frontends/gtk/GPainter.C:
1594         * src/frontends/gtk/GToolbar.C:
1595         * src/frontends/qt2/QRef.C:
1596         * src/mathed/math_scriptinset.C: squash compiler warnings.
1597
1598 2004-03-26  Angus Leeming  <leeming@lyx.org>
1599
1600         * ispell.C (LaunchIspell::start):
1601         * lyx_cb.C (AutoSaveBuffer::start):
1602         invoke run(DontWait) rather than runNonBlocking().
1603
1604 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1605
1606         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1607
1608 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * kbsequence.C (print): adjust
1611
1612         * kbmap.C (printKeySym): rename and change signature
1613         (printKey): use LyXKeySym::print()
1614
1615 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1616
1617         * undo.C: add using std::advance to compile for stlport
1618
1619 2004-03-24  Angus Leeming  <leeming@lyx.org>
1620
1621         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1622         it leads to a crash when no buffer is present.
1623
1624 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625             Martin Vermeer  <martin.vermeer@hut.fi>
1626
1627         * lyxfunc.C (dispatch):
1628         * bufferparams.C (readToken): use the new LColor::setColor
1629
1630         * LColor.[Ch] (setColor): new version that takes two strings as
1631         argument and creates a new color entry if necessary
1632
1633 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1634
1635         * buffer.C (makeLaTeXFile): if the main latex file that is
1636         processed is usually a subdocument of some master, then pretend
1637         for a while that it is actually the master
1638
1639 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1640
1641         * buffer.C (getLabelList):
1642         (getBibkeyList): use getMasterBuffer()
1643         (getMasterBuffer): new method. Returns the main document in the
1644         case where one is using included documents.
1645
1646 2004-03-25  André Pönitz  <poenitz@gmx.net>
1647
1648         * Makefile.am:
1649         * iterators.[Ch]:
1650         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1651
1652         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1653
1654         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1655         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1656
1657         * ParameterStruct.h: merge with ParagraphParameters
1658
1659         * lyxtext.h: remove LyXText::parOffset() and getPar()
1660
1661         * text3.C: Remove all 'manual' update calls. We do now one per user
1662         interaction which is completely sufficient.
1663
1664         * Bidi.C:
1665         * BufferView.[Ch]:
1666         * BufferView_pimpl.C:
1667         * FontIterator.[Ch]:
1668         * MenuBackend.C:
1669         * ParagraphParameters.[Ch]:
1670         * buffer.C:
1671         * buffer.h:
1672         * bufferlist.C:
1673         * cursor.[Ch]:
1674         * cursor_slice.[Ch]:
1675         * dociterator.[Ch]:
1676         * errorlist.[Ch]:
1677         * factory.C:
1678         * lfuns.h:
1679         * lyxfind.C:
1680         * lyxfunc.C:
1681         * output_docbook.[Ch]:
1682         * output_latex.[Ch]:
1683         * output_linuxdoc.[Ch]:
1684         * output_plaintext.[Ch]:
1685         * paragraph.[Ch]:
1686         * paragraph_funcs.[Ch]:
1687         * paragraph_pimpl.[Ch]:
1688         * rowpainter.C:
1689         * tabular.[Ch]:
1690         * text.C:
1691         * text2.C:
1692         * toc.C:
1693         * undo.[Ch]: adjust
1694
1695         * frontends/controllers/ControlDocument.C:
1696         * frontends/controllers/ControlErrorList.C:
1697         * frontends/controllers/ControlSpellchecker.C:
1698         * insets/inset.C:
1699         * insets/inset.h:
1700         * insets/insetbase.h:
1701         * insets/insetbibitem.C:
1702         * insets/insetbox.C:
1703         * insets/insetbranch.C:
1704         * insets/insetcaption.C:
1705         * insets/insetcharstyle.C:
1706         * insets/insetcharstyle.h:
1707         * insets/insetcollapsable.C:
1708         * insets/insetcollapsable.h:
1709         * insets/insetert.C:
1710         * insets/insetfloat.C:
1711         * insets/insetfoot.C:
1712         * insets/insetmarginal.C:
1713         * insets/insetnote.C:
1714         * insets/insetoptarg.C:
1715         * insets/insettabular.C:
1716         * insets/insettext.C:
1717         * insets/insettext.h:
1718         * insets/insetwrap.C:
1719         * mathed/math_mboxinset.C:
1720         * mathed/math_nestinset.C:
1721         * mathed/math_scriptinset.C:
1722         * mathed/math_scriptinset.h:
1723         * support/types.h:
1724
1725 2004-03-24  Angus Leeming  <leeming@lyx.org>
1726
1727         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1728         deal with any child processes that have finished but are waiting to
1729         communicate this fact to the rest of LyX.
1730
1731 2004-03-24  Angus Leeming  <leeming@lyx.org>
1732
1733         64-bit compile fixes.
1734
1735         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1736         (c-tor): pass lyx::pos_types rather than ints.
1737
1738         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1739         lyx::pos_type.
1740
1741         * text.C (Delete): compile fix.
1742         (getPar): ensure that function declaration is the same as that in
1743         the header file.
1744
1745 2004-03-23  Angus Leeming  <leeming@lyx.org>
1746
1747         * ispell.C (LaunchIspell):
1748         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1749         a boost::shred_ptr rather than a std::auto_ptr.
1750
1751 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1752
1753         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1754         handle LFUN_FILE_INSERT_*
1755
1756         * lyxrc.C (setDefaults, getDescription, output, read):
1757         * lyxrc.h: remove ps_command
1758
1759 2004-03-22  Angus Leeming  <leeming@lyx.org>
1760
1761         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1762         Ensure that error_handler is processed once only and that all data
1763         is saved before attempting to output any warning messages.
1764
1765         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1766
1767 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1768
1769         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1770
1771 2004-03-19  André Pönitz  <poenitz@gmx.net>
1772
1773         * cursor.[Ch] (reset): take main text inset as argument
1774
1775         * BufferView: adjust
1776         * BufferView_pimpl.C: adjust
1777
1778         * paragraph.[Ch]: fix completely broken operator=()
1779
1780 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1781
1782         * LColor.C (getFromLyXName): make sure that the color name is used
1783         as lowercase.
1784
1785 2004-03-17  Angus Leeming  <leeming@lyx.org>
1786
1787         * lfuns.h:
1788         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1789
1790         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1791         dialog and to kill a forked process.
1792
1793 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1794
1795         * text2.C (setCursorFromCoordinates): fix font problem
1796
1797 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1798
1799         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1800         bogus "rebuild cursor" code
1801
1802 2004-03-11  André Pönitz  <poenitz@gmx.net>
1803
1804         * buffer.[Ch]: use InsetText instead of LyXText as container for
1805         the main lyx text.
1806
1807         * dociterator.[Ch]: drop the BufferView * member which is not needed
1808         anymore after the change to buffer.C
1809
1810         * paragraph_funcs.C:
1811         * text.C:
1812         * text2.C:
1813         * BufferView.[Ch]:
1814         * BufferView_pimpl.[Ch]:
1815         * cursor.[Ch]:
1816         * cursor_slice.[Ch]: adjust
1817
1818         * text3.C: fix bug in mathDispatch
1819
1820 2004-03-08  André Pönitz  <poenitz@gmx.net>
1821
1822         * undo.[Ch]: use 'StableDocumentIterator' as base for
1823         the Undo struct.
1824
1825 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1826
1827         * LaTeXFeatures.C:
1828         * bufferparams.[Ch]: add jurabib support and param.
1829
1830         * LaTeX.C: add FIXME/comment.
1831
1832 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1833
1834         * buffer.C: increment file format to 230.
1835
1836 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1837
1838         * cursor.C (dispatch): avoid infinite loops
1839
1840 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1841
1842         * rowpainter.C (paintSelection): fix x coordinates
1843
1844 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1845
1846         * text.C (rowBreakPoint): fix breaking before displayed insets
1847
1848 2004-03-01  André Pönitz  <poenitz@gmx.net>
1849
1850         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1851
1852         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1853
1854         * Makefile.am:
1855         * BufferView.C:
1856         * BufferView_pimpl.C:
1857         * buffer.C:
1858         * lyxfind.C:
1859         * lyxfunc.C:
1860         * text.C:
1861         * text2.C:
1862         * text3.C: adjust
1863
1864 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1865
1866         * lyxtext.h:
1867         * text.C:
1868         * text2.C:
1869         * rowpainter.C:
1870         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1871         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1872
1873 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1874
1875         * Bidi.[Ch] (computeTables): const correctness
1876         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1877         fill_hfill, fill_label_hfill and x from Row
1878         * lyxtext.h: prepareToPrint returns a RowMetrics
1879         * rowPainter.C: adjust
1880         * text.C (prepareToPrint): use width, not textWidth. adjust
1881         (redoParagraphInternal, cursorX): adjust
1882         * text2.C (getColumnNearX): adjust
1883         (init): put a default value to the top LyXText::width
1884
1885 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1886
1887         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1888
1889 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1890
1891         * lyxtext.h: add FontIterator class
1892
1893         * text.C (FontIterator, operator*, operator->, operator++): add
1894         (rowBreakPoint, setRowWidth): adjust (fixing a
1895         rebreaking bug)
1896
1897 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1898
1899         * BufferView_pimpl.C (workAreaDispatch): allow also
1900         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1901
1902 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1903
1904         * text.C (rowBreakPoint): fix a bug showing with very large insets
1905
1906 2004-02-25  André Pönitz  <poenitz@gmx.net>
1907
1908         * text3.C:
1909         * cursor.[Ch]: move some mathed specific code to mathed
1910
1911 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1912
1913         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1914         use_tempdir in preferences
1915         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1916         tempfile creation
1917         * lyx_main.C: ensure that tempdir is valid
1918         * lyxlex.h: correct typo
1919         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1920         * paragraph.[Ch] (isMultiLingual): make const
1921         * cursor.[Ch] (openable): make const
1922
1923 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1924
1925         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1926
1927 2004-02-20  André Pönitz  <poenitz@gmx.net>
1928
1929         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1930
1931         * cursor.[Ch]: prepare for localized getStatus()
1932
1933         * lyxtext.h:
1934         * tabular.C:
1935         * text.C:
1936         * text2.C:
1937         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1938
1939 2004-02-20  André Pönitz  <poenitz@gmx.net>
1940
1941         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1942
1943 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1944
1945         * text2.C (setCursorFromCoordinates): switch to absolute coords
1946         (cursorUp): adjust
1947         (cursorDown): adjust
1948         * text3.C (dispatch): adjust
1949
1950 2004-02-16  André Pönitz  <poenitz@gmx.net>
1951
1952         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1953           insets/ChangeLog)
1954
1955         * cursor_slice.[Ch]: remove unneeded acessor function
1956
1957         * lyxtext.h: rename rtl() to isRTL()
1958
1959         * rowpainter.C:
1960         * tabular.C:
1961         * text.C:
1962         * text2.C:
1963         * text3.C: adjust
1964
1965 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1966
1967         * rowpainter.C (paintSelection): coord fix
1968
1969 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1970
1971         * Spacing.C: compile fix
1972
1973 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1974
1975         * cursor.C (dispatch): restore current_ before returning
1976
1977 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1978
1979         * text2.C (cursorUp, cursorDown): fix coords
1980         (moveUp): fix crash
1981
1982 2004-02-12  André Pönitz  <poenitz@gmx.net>
1983
1984         * lyxtext.h:
1985         * text.C:
1986         * text2.C:
1987         * text3.C: add LCursor & parameter to most cursor movement functions
1988           remove usage of LyXText::cursorRow() and cursorPar()
1989
1990         * cursor.[Ch]: add textRow() needed members
1991
1992         * BufferView.C:
1993         * BufferView_pimpl.C:
1994         * paragraph.[Ch]:
1995         * BufferView.C:
1996         * BufferView_pimpl.C: adjust
1997
1998 2004-02-11  André Pönitz  <poenitz@gmx.net>
1999
2000         * lyxfunc.C:
2001         * BufferView.[Ch]:
2002         * BufferView_pimpl.C: shift undo/redo handling
2003
2004         * cursor.[Ch]: fix mathed crash
2005
2006         * lyxfind.C:
2007         * lyxtext.h: move selectionAsText to LCursor
2008
2009         * output_latex.C:
2010         * paragraph.C:
2011         * text.C:
2012         * text2.C:
2013         * text3.C: adjust
2014
2015         * rowpainter.C: fix excessive drawing
2016
2017 2004-02-06  André Pönitz  <poenitz@gmx.net>
2018
2019         * BufferView.[Ch]:
2020         * BufferView_pimpl.[Ch]:
2021         * text3.C: move some text specific LFUN handling
2022
2023 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * text3.C (checkInsetHit): adjust coords
2026         * text2.C (getColumnNearX): adjust coords
2027         (edit): adjust coords
2028         * text.C (getRowNearY): add two asserts
2029
2030 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2031
2032         * converter.C:
2033         * format.C: add using std::distance to compile on gcc 2.95/stlport
2034
2035 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2036
2037         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2038
2039 2004-02-04  André Pönitz  <poenitz@gmx.net>
2040
2041         * BufferView.[Ch] (insertInset):
2042         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2043
2044         * text2.C:
2045         * text3.C: adjust
2046
2047 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2048
2049         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2050         on the default clause of the switch
2051         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2052         wasn't catched by LCursor::dispatch
2053
2054 2004-02-03  André Pönitz  <poenitz@gmx.net>
2055
2056         * BufferView.C:
2057         * cursor.[Ch]: some additional asserts
2058
2059         * undo.[Ch]: remove LyXText dependency in interface
2060
2061         * lyxfunc.C: adjust
2062
2063         * lyxtext.h (firstPar, lastPar): remove dead functions
2064
2065         * text.C:
2066         * text2.C:
2067         * text3.C:
2068         * paragraph.[Ch]: adjust
2069
2070 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2071
2072         * lyxfind.C (find): fix argument order in call to ::find
2073
2074 2004-02-02  André Pönitz  <poenitz@gmx.net>
2075
2076         * cursor.[Ch]: remove direct access to anchor
2077
2078         * text.C: remove findText() hack
2079
2080 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * iterators.[Ch] (lockPath): remove in favour of...
2083         * BufferView.[Ch] (setCursor): this addition
2084         * BufferView.C (putSelectionAt): adjust
2085         * undo.C (performUndoOrRedo): adjust
2086         * lyxfunc.C (dispatch): adjust
2087
2088 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2089
2090         * iterators.C (lockPath): add a missing slice
2091         * undo.C (performUndoOrRedo): remove redundant positioning code
2092
2093 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2094
2095         * vc-backend.C (scanMaster): ";" -> ';'
2096
2097 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2098
2099         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2100         std::binary_function
2101
2102         * lyxtextclass.C (compare_name): rename to...
2103         (LayoutNamesEqual): ...this
2104
2105         * lyxlex_pimpl.C (compare_tags): inherit from
2106         std::binary_function, put back into anon namespace
2107
2108         * lyxfind.C (MatchString): inherig from std::binary_function
2109         (findChange): use empty() istead of !size()
2110
2111         * format.C (FormatNamesEqual): new functor
2112         (getFormat): use it
2113         (getNumber): use it
2114         (add): use it
2115         (erase): use it
2116         (setViewer): use it
2117
2118         * converter.C (compare_Converter): rename to...
2119         (ConverterEqual): ...this, and fixup a bit.
2120         (getConverter): use it, and make function const
2121         (getNumber): use it, and make function const
2122         (add): use it
2123         (erase): use it:
2124
2125         * bufferlist.C: add using boost::bind
2126
2127         * MenuBackend.C (MenuNamesEqual): new functor
2128         (hasMenu): use it, and make function const
2129         (hasSubmenu): use nested bind to get rid of compare_memfun.
2130
2131 2004-01-30  André Pönitz  <poenitz@gmx.net>
2132
2133         * BufferView_pimpl.C:
2134         * cursor.C:
2135         * cursor.h:
2136         * cursor_slice.[Ch]:
2137         * lyxfunc.C:
2138         * lyxtext.h:
2139         * paragraph_funcs.C:
2140         * paragraph_funcs.h:
2141         * rowpainter.C:
2142         * text.C:
2143         * text2.C:
2144         * text3.C: move some of the edit(x,y) handling to the insets
2145         some coordinate changes.
2146
2147 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2148
2149         * text.C: add using statements for std::advance and std::distance
2150
2151         * paragraph.C: add using statement for std::distance
2152
2153         * lyxfind.C: add using statement for std::advance
2154
2155         * cursor.C (region): remove std:: from swap
2156         (openable): use nucleus in stead of operator->
2157
2158         * BufferView.C: add using statements for std::distance and std::swap
2159
2160 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2161
2162         * iterators.C: Remove the pimple, move the needed structures to
2163         the header file. Create accessor for the positions stack.
2164         (asPosIterator): remove function
2165
2166         * PosIterator.C (PosIterator): move constructors to top of file
2167         (PosIterator): reimplement the constructor taking a ParIterator in
2168         terms of setFrom.
2169         (setFrom): new function
2170         (operator!=): inline it
2171
2172 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2173
2174         * lyxfind.C (replaceAll): use std::advance
2175
2176         * iterators.h: inherit from std::iterator.
2177
2178         * PosIterator.C (advance, distance): remove
2179         * PosIterator.h: interit from std::iterator.
2180
2181 2004-01-26  André Pönitz  <poenitz@gmx.net>
2182
2183         * BufferView.[Ch]:
2184         * BufferView_pimpl.[Ch]:
2185         * InsetList.[Ch]:
2186         * PosIterator.[Ch]:
2187         * buffer.h:
2188         * bufferview_funcs.C:
2189         * cursor.[Ch]:
2190         * cursor_slice.h:
2191         * factory.[Ch]:
2192         * iterators.[Ch]:
2193         * lyxfind.C:
2194         * lyxfunc.C:
2195         * lyxtext.h:
2196         * output_docbook.C:
2197         * output_latex.C:
2198         * output_linuxdoc.C:
2199         * output_plaintext.C:
2200         * paragraph.[Ch]:
2201         * paragraph_funcs.[Ch]:
2202         * paragraph_pimpl.[Ch]:
2203         * rowpainter.C:
2204         * tabular.C:
2205         * tabular.h:
2206         * text.C:
2207         * text2.C:
2208         * text3.C: more IU:  dumps most of the rest of the mathcursor
2209     implementation into cursor.[Ch]; "globalize" a bit of it.
2210
2211 2004-01-25  Angus Leeming  <leeming@lyx.org>
2212
2213         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2214
2215 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2216
2217         * LaTeXFeatures.h: add nice_ and nice() const
2218         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2219
2220 2004-01-20  André Pönitz  <poenitz@gmx.net>
2221
2222         * BufferView.[Ch]:
2223         * BufferView_pimpl.C:
2224         * PosIterator.C:
2225         * bufferview_funcs.C:
2226         * cursor.[Ch]:
2227         * cursor_slice.[Ch]:
2228         * factory.C:
2229         * iterators.C:
2230         * lyx_cb.C:
2231         * lyxfind.C:
2232         * lyxfunc.C:
2233         * lyxtext.h:
2234         * rowpainter.C:
2235         * text.C:
2236         * text2.C:
2237         * text3.C:
2238         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2239           LCursor and mathcursor parts to LCursor and InsetBase.
2240
2241 2004-01-15  André Pönitz  <poenitz@gmx.net>
2242
2243         * cursor_slice.[Ch]: add a few covienience functions
2244
2245         * funcrequest.[Ch]: remove BufferView * member
2246
2247         * BufferView_pimpl.C:
2248         * cursor.C:
2249         * factory.[Ch]:
2250         * lyxfind.[Ch]:
2251         * lyxfunc.C:
2252         * lyxtext.h:
2253         * text3.C:
2254         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2255
2256 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2259         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2260
2261 2004-01-13  André Pönitz  <poenitz@gmx.net>
2262
2263         * textcursor.[Ch]:
2264         * lyxtext.h: hide cursor and selection anchor behind accessor function
2265
2266         * BufferView.C:
2267         * BufferView_pimpl.[Ch]:
2268         * PosIterator.C:
2269         * bufferview_funcs.C:
2270         * cursor.h:
2271         * lyxfind.C:
2272         * lyxfunc.C:
2273         * text.C:
2274         * text2.C:
2275         * text3.C:
2276         * undo.C: adjust
2277
2278         * cursor.h:
2279         * cursor_slice.[Ch]: some integer type changes for inset unification
2280
2281         * lyxcursor.[hC]: remove, it's CursorSlice now.
2282
2283         * Makefile.am:
2284         * BufferView_pimpl.[Ch]:
2285         * bufferview_funcs.C:
2286         * cursor_slice.C:
2287         * lyxtext.h:
2288         * text.C:
2289         * text2.C:
2290         * text3.C:
2291         * textcursor.[Ch]: adjust
2292
2293 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2294
2295         * text2.C (undoSpan): add and use
2296         * text.C (breakParagraph): use undoSpan (fix bug 578)
2297         * lyxtext.h: adjust
2298
2299 2004-01-08  Angus Leeming  <leeming@lyx.org>
2300
2301         * BufferView_pimpl.C (MenuInsertLyXFile):
2302         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2303         * lyxfunc.C (menuNew, open, doImport):
2304         FileFilterList change to the FileDialog open and save functions.
2305
2306 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2307
2308         * ShareContainer.h: make isEqual and isUnique adaptable
2309
2310         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2311
2312 2004-01-07  Angus Leeming  <leeming@lyx.org>
2313
2314         * LyXAction.C:
2315         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2316
2317         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2318
2319         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2320         functions replacing find, replace and replaceAll.
2321
2322         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2323         LFUN_WORDFIND(FORWARD|BACKWARD).
2324
2325 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2326
2327         * text.C (breakParagraph): remove an outdated #warning
2328
2329 2004-01-07  André Pönitz  <poenitz@gmx.net>
2330
2331         * lyxfind.C: somewhat clearer logic
2332
2333         * text.C: prevent crash in cursorX on unitialized row cache
2334
2335 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2336
2337         * lyxcursor.[Ch] (operator>): add
2338         * textcursor.C (selStart, selEnd): use std::min and std::max
2339
2340 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2341
2342         * Chktex.C: include boost/format.hpp
2343
2344 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2345
2346         * InsetList.C: replace functor MathcIt with adaptable functor
2347         InsetTablePosLess
2348         (insetIterator): modify accordingly
2349
2350         * BranchList.h: move the BranchNamesEqual functor here from...
2351         * BranchList.C: ... to here
2352
2353         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2354         SameName and match.
2355         (add): replace a finding loop with std::find_if.
2356
2357 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2358
2359         * output_docbook.C: moving LatexParam functionality into
2360         .layout files
2361
2362 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2363
2364         * buffer.C: increment format to 229.
2365
2366 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2367
2368         * LaTeXFeatures.C:
2369         * lyx_sty.[Ch]: remove minipageindent_def
2370
2371         * LyXAction.C:
2372         * factory.C:
2373         * lfuns.h:
2374         * lyxfunc.C:
2375         * text3.C: remove LFUN_INSET_MINIPAGE
2376
2377 2003-12-28  Angus Leeming  <leeming@lyx.org>
2378
2379         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2380
2381 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2382
2383         * text2.C (setParagraph): fix off-by-one crash
2384
2385 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2386
2387         * output_docbook.C: header stuff for AGU
2388
2389 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2390
2391         * text2.C (redoCursor): remove
2392         * text.C:
2393         * text3.C:
2394         * BufferView_pimpl.C: remove calls to redoCursor and
2395         setCursor(cursor.par(), cursor.pos()) all around
2396
2397 2003-12-15  Angus Leeming  <leeming@lyx.org>
2398
2399         * buffer.C: up the format to 228.
2400
2401 2003-12-15  André Pönitz  <poenitz@gmx.net>
2402
2403         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2404         slices
2405
2406         * Makefile.am:
2407
2408         * BufferView_pimpl.C:
2409         * cursor.[Ch]:
2410         * lyxcursor.[Ch]:
2411         * rowpainter.[Ch]:
2412         * lyxtext.h:
2413         * text.C:
2414         * text2.C:
2415         * text3.C: adjust
2416
2417 2003-12-15  Angus Leeming  <leeming@lyx.org>
2418
2419         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2420         than getFromGUIName to manipulate the color.
2421
2422 2003-12-14  Angus Leeming  <leeming@lyx.org>
2423
2424         * BranchList.[Ch]: minimize the API.
2425         (Branch::getBranch, getColor): now return a 'const &'.
2426         (Branch::setSelected) now returns a bool set to true if the
2427         selection status changes.
2428         (BranchList::clear, size, getColor, setColor, setSelected,
2429         allBranches, allSelected, separator): removed.
2430         (BranchList::find): new functions, returning the Branch with
2431         the given name.
2432         (BranchList::add, remove): return a bool indicating that
2433         the operation was successful.
2434
2435         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2436         new InsetBranch::isBranchSlected member function.
2437
2438         * LColor.[Ch]: mimimize the API.
2439         (fill): renamed as addColor and made private.
2440         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2441         versions of these functions taking a string arg have been removed.
2442
2443         * bufferparams.C (readToken):
2444         * lyxfunc.C (dispatch):
2445         * lyxrc.C (read): changes due to the altered BranchList and
2446         LColor APIs.
2447
2448         * factory.C (createInset, readInset): changes due to altered
2449         InsetBranch c-tor.
2450
2451 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2452
2453         * factory.C:
2454         * lyxfunc.C: remove insetminipage. "minipage-insert"
2455         now produces a frameless minipage box inset.
2456
2457 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2458
2459         * textcursor.[Ch] (selStart,selEnd): add new methods
2460         remove selection::start, end, use LyXCursor::operator<
2461         * lyxcursor.[Ch] (operator<): add
2462         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2463         * BufferView.[Ch] (unsetXSel): add
2464         * text2.C (clearSelection): use unsetXSel,adjust
2465         * text.C: adjust
2466         * text3.C: adjust
2467         * rowpainter.C: adjust
2468         * bufferview_funcs.C (put_selection_at): adjust
2469
2470 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2471
2472         * BufferView_pimpl.C: small coord. correction
2473
2474 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2475
2476         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2477         dragging over the splash screen.
2478
2479 2003-12-11  Angus Leeming  <leeming@lyx.org>
2480
2481         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2482         as it is now handled in LyXText::dispatch.
2483
2484         * text3.C (doInsertInset): remove a level of nesting.
2485
2486 2003-12-11  Angus Leeming  <leeming@lyx.org>
2487
2488         * factory.C (createInset): changes due to the changed interface to
2489         InsetCommandMailer::string2params.
2490
2491 2003-12-10  Angus Leeming  <leeming@lyx.org>
2492
2493         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2494         'dialog-show-new-inset <inset name>'
2495
2496 2003-12-10  Angus Leeming  <leeming@lyx.org>
2497
2498         * buffer.C: up the format to 227.
2499
2500         * factory.C: the box inset is now identified simply by 'Box'.
2501
2502 2003-12-10  Angus Leeming  <leeming@lyx.org>
2503
2504         * buffer.C: up the format to 226.
2505
2506         * factory.C: the note inset is now identified simply by 'Note'.
2507
2508 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2509
2510         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2511         when a pit is enough. Standarize a couple of loops.
2512
2513 2003-12-05  Angus Leeming  <leeming@lyx.org>
2514
2515         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2516         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2517         data to the re-worked "log" dialog.
2518
2519 2003-12-03  André Pönitz  <poenitz@gmx.net>
2520
2521         * PosIterator.C:
2522         * iterators.C:
2523         * lyxtext.h:
2524         * output_latex.C:
2525         * paragraph_funcs.C:
2526         * text.C:
2527         * text2.C: use Inset::getText instead of Inset::getParagraph
2528
2529 2003-12-03  André Pönitz  <poenitz@gmx.net>
2530
2531         * buffer.[Ch]:
2532         * lyxtext.h:
2533         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2534         InsetText::read() as LyXText::read()
2535
2536 2003-12-02  Angus Leeming  <leeming@lyx.org>
2537
2538         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2539         type. Add a comment in the implementation that the function uses
2540         the stream's bad() function rather than fail() as the std::streams
2541         would do.
2542
2543 2003-12-02  André Pönitz  <poenitz@gmx.net>
2544
2545         * lyxlex.[Ch]: make interface more similar to std::stream
2546
2547         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2548
2549 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2550
2551         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2552
2553 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2554
2555         * vspace.[Ch]: remove VSpace::NONE
2556
2557 2003-12-01  André Pönitz  <poenitz@gmx.net>
2558
2559         * buffer.[Ch]:
2560         * lyxtext.h: move ParagraphList member to LyXText
2561         rename LyXText::ownerParagraphs to LyXText::paragraph
2562
2563         * CutAndPaste.C:
2564         * bufferview_funcs.C:
2565         * iterators.[Ch]:
2566         * lyx_cb.C:
2567         * paragraph.C:
2568         * rowpainter.C:
2569         * tabular.C:
2570         * text.C:
2571         * text2.C:
2572         * text3.C: adjust
2573
2574         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2575
2576         * undo.C: fix cursor positioning
2577
2578 2003-12-01  John Levon  <levon@movementarian.org>
2579
2580         * BufferView_pimpl.C: fix a crash on exit with
2581         a buffer open
2582
2583 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2584
2585         * BranchList.C: fix setSelected() method.
2586
2587 2003-11-28  André Pönitz  <poenitz@gmx.net>
2588
2589         * ParagraphParameters.[Ch]:
2590         * ParameterStruct.h: remove space above/below from Paragraph to
2591          InsetVSpace
2592
2593         * BufferView_pimpl.C:
2594         * factory.C:
2595         * lyxfunc.C:
2596         * lyxtext.h:
2597         * output_latex.C:
2598         * paragraph.C:
2599         * paragraph_funcs.C:
2600         * rowpainter.[Ch]:
2601         * text.C:
2602         * text2.C:
2603         * text3.C: adjust
2604
2605 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2606
2607         * factory.C: Syntax change for CharStyles
2608
2609 2003-11-28  André Pönitz  <poenitz@gmx.net>
2610
2611         * BufferView.[Ch]:
2612         * BufferView.[Ch]:
2613         * buffer.[Ch]:
2614         * buffer.[Ch]: move LyXText member
2615
2616 2003-11-28  André Pönitz  <poenitz@gmx.net>
2617
2618         * BufferView.[Ch]: make LyXText * text a private member
2619
2620         * BufferView_pimpl.C:
2621         * cursor.C:
2622         * iterators.C:
2623         * lyx_cb.C:
2624         * lyxfind.C:
2625         * lyxtext.h:
2626         * rowpainter.[Ch]:
2627         * text.C:
2628         * text2.C:
2629         * undo.C: adjust
2630
2631         * output_plaintext.C: cleanup
2632
2633 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2634
2635         * buffer.C:
2636         * lyxtextclass.[Ch]: parametrize SGML document header
2637
2638 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2639
2640         * converter.[Ch]:
2641         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2642         getFlavor().
2643
2644 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * text2.C (setFont): rework using PosIterator (no more recursive)
2647         (setCharFont): no more needed
2648         (setLayout): no more selection cursors fiddling (done by redoCursor)
2649         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2650         destroy remaining ones)
2651
2652 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2653
2654         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2655         * lyxtext.h: ditto
2656         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2657         selection cursors
2658         * lyxfunc.C: adjust
2659         * text3.C: adjust + re-allow multi par depth changes
2660         * textcursor.C: simplify a bit
2661
2662 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2663
2664         * src/buffer.C:
2665         * src/lyxlayout.C:
2666         * src/lyxlayout.h:
2667         * src/lyxtext.h:
2668         * src/output_docbook.C:
2669         * src/output_latex.C:
2670         * src/paragraph.C:
2671         * src/paragraph.h:
2672         * src/sgml.C:
2673         * src/sgml.h:
2674         * src/text2.C: Introducing a number of tags parametrizing various
2675         XML formats that we may want to support
2676
2677 2003-11-25  André Pönitz  <poenitz@gmx.net>
2678
2679         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2680
2681         * lyxtext.h (leftMargin/rightMargin): simplify interface
2682
2683         * rowpainter.C:
2684         * text.C:
2685         * text2.C:
2686         * text3.C: adjust
2687
2688 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2689
2690         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2691         master file to any child files. Fixes bug 546.
2692
2693 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2694
2695         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2696
2697 2003-11-24  André Pönitz  <poenitz@gmx.net>
2698
2699         * rowpainter.C: simplification
2700
2701         * text2.C (updateCounters): remove call to redoParagraph on
2702         changed labels as this is far too expensive.
2703
2704 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2705
2706         * converter.C (convert): fix a crash: this function gets
2707         called with buffer == 0 from importer code.
2708
2709 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2710
2711         * text3.C (cursorPrevious): make sure that we do not compare
2712         iterators form different containers.
2713         (cursorNext): ditto
2714
2715         * rowpainter.C (paintSelection): make sure that we do not compare
2716         iterators from different containers.
2717
2718         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2719         iterators from different ParagraphList containers.
2720         [NEXT] ditto
2721
2722         * text2.C (LyXText): change order of initialization slightly
2723         (operator=): new function. copy all variables except cache_par_
2724         (moveUp): make sure that we do not compare iterators from
2725         different ParagraphList constainers.
2726         (moveDown): ditto
2727
2728         * text.C (firstPar): new function
2729         (lastPar): new function
2730         (endPar): new function
2731
2732         * lyxtext.h: move things around and group public functions, public
2733         variables, private functions, private variables
2734
2735 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2736
2737         * factory.C: change call to InsetERT constructor to avoid
2738         additional invocation of method status
2739         * text2.C (toggleInset): remove redundant update() call
2740         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2741         instead of a Bufferview pointer
2742
2743 2003-11-21  André Pönitz  <poenitz@gmx.net>
2744
2745         * rowpainter.C: simplification
2746
2747 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2748
2749         * text3.C (dispatch): make possible to extend a word/row selection
2750         with the mouse
2751
2752 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2753
2754         * lyxtext.h: x0_,y0_ -> xo_,yo_
2755         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2756         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2757         * rowpainter.C (paintRows): paint full paragraphs
2758
2759 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2760
2761         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2762         screen coordinates)
2763
2764 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2765
2766         * lyxtext.h: add x0_, y0_
2767         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2768         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2769
2770 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2771
2772         * text2.C (setCursorIntern): move the x_target update here *
2773         * text3.C: change some bv() to true/false in calls to
2774         cursorUp/Down/Right/Left
2775         * cursor.C: use helper function.
2776
2777 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2778
2779         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2780         * paragraph_funcs.[Ch]: correct comment
2781         * rowpainter.C: do not paint selections away from bv->cursor()
2782         Fix a long standing selection painting bug.
2783         * text3.C: generalize mouse-selection code to LyXTexts other that
2784         top one
2785         * textcursor.C: do not use y coords if we can use par offsets
2786
2787 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2788
2789         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2790         cursor position after e.g. inset insert)
2791
2792 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2793
2794         * lyxfind.C (replace): adjust to locking removal + some
2795         code simplification
2796
2797 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2798
2799         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2800         of the path
2801
2802 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2803
2804         * lyxlayout.[Ch]:
2805         * output_docbook.C: XML sanitation: new layout
2806         parameters InnerTag and CommandDepth
2807
2808 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2809
2810         * BufferView_pimpl.C:
2811         * factory.C:
2812         * text3.C: Fix the insertion and modification of button-style
2813         insets
2814
2815 2003-11-13  André Pönitz  <poenitz@gmx.net>
2816
2817         * InsetList.[Ch]: remove deleteLyXText
2818
2819         * paragraph.[Ch]: cache beginOfBody position
2820
2821         * Bidi.C:
2822         * text.C:
2823         * text2.C:
2824         * text3.C: remove superfluous update() calls
2825
2826         * vspace.C: cleanup
2827
2828 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2829
2830         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2831         * BufferView.C (fitLockedInsetCursor): remove
2832         * cursor.[Ch] (getDim): add
2833         * text.C (getRowNearY): add faster version
2834         * text3.C: remove some update calls
2835
2836 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2837
2838         * LaTeXFeatures.C:
2839         * LyXAction.C:
2840         * MenuBackend.C:
2841         * MenuBackend.h:
2842         * dispatchresult.h:
2843         * factory.C:
2844         * lfuns.h:
2845         * lyxfunc.C:
2846         * lyxtextclass.C:
2847         * lyxtextclass.h:
2848         * text3.C: The Character Style /XML short element patch.
2849
2850 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2851
2852         * text3.C:
2853         * factory.C: Small step to solving 'unable to insert some insets'
2854         problem
2855
2856 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2857
2858         * cursor.[Ch] (updatePos): new function for updating the y
2859         position of the tip inset
2860         * bufferview_funcs.C (put_selection_at):
2861         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2862
2863 2003-11-11  André Pönitz  <poenitz@gmx.net>
2864
2865         * text.C: remove big comment on invalid Paragraph pointers as it is
2866         not valid anymore
2867
2868 2003-11-11  André Pönitz  <poenitz@gmx.net>
2869
2870         * text_funcs.[Ch]: merge with ...
2871
2872         * text.C: ... this
2873
2874         * lyxtext.h:
2875         * text2.C:
2876         * text3.C: adjust
2877
2878         * Makefile.am: remove text_funcs.[Ch]
2879
2880 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2881
2882         * cursor.C (getPos): return absolute cached y coord
2883
2884         * BufferView_pimpl.C (fitCursor): new simplistic code
2885         (workAreaDispatch): add a fitCursor call
2886
2887 2003-11-10  André Pönitz  <poenitz@gmx.net>
2888
2889         * BufferView.[Ch]:
2890         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2891
2892 2003-11-10  André Pönitz  <poenitz@gmx.net>
2893
2894         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2895         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2896         indicate that the cursor needs to leave an inset
2897
2898         * lyxtext.h: remove inset locking
2899
2900         * cursor.[Ch]: re-implement functionality provided by inset locking
2901
2902         * BufferView.[Ch]:
2903         * BufferView_pimpl.[Ch]:
2904         * LyXAction.C:
2905         * bufferview_funcs.[Ch]:
2906         * factory.C:
2907         * funcrequest.[Ch]:
2908         * iterators.C:
2909         * lyx_cb.C:
2910         * lyxfind.C:
2911         * lyxfunc.C:
2912         * text.C:
2913         * text2.C:
2914         * text3.C:
2915         * undo.C: adjust
2916
2917 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2918
2919         * PosIterator.[Ch]: replace the stack with a vector, add inset
2920         accesor
2921         * iterators.[C]: adjust
2922
2923 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2924
2925         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2926         replaced
2927         * paragraph_funcs.C (readParToken): put the correct id in the
2928         error item, not the id of the top paragraph
2929
2930 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2931
2932         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2933         * bufferview_funcs.C (put_selection_at): use the above
2934
2935 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2936
2937         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2938
2939 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2940
2941         * output_linuxdoc.h:
2942         * output_plaintext.h:
2943         * output.h:
2944         * output_docbook.h: add #include statements
2945
2946 2003-11-05  José Matos  <jamatos@lyx.org>
2947
2948         * output_docbook.[Ch]:
2949         * output_latex.[Ch]:
2950         * output_linuxdoc.[Ch]:
2951         * output_plaintext.[Ch]: New files for output formats.
2952         * output.[Ch]: New file for helper functions.
2953
2954         * buffer.[Ch]:
2955         * paragraph_funcs.[Ch]: output functions moved to new files.
2956
2957         * outputparams.h: rename of latexrunparams.h
2958
2959         * LaTeX.[Ch]:
2960         * buffer.[Ch]:
2961         * bufferlist.[Ch]:
2962         * converter.[Ch]:
2963         * exporter.C:
2964         * paragraph.[Ch]:
2965         * paragraph_funcs.[Ch]:
2966         * paragraph_pimpl.[Ch]:
2967         * tabular.[Ch]: rename ascii to plaintext
2968         and LatexRunParams to OutputParams.
2969
2970 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2971
2972         * iterators.[Ch] (text): require bv argument
2973         * undo.C (recordUndo):
2974         * lyxfunc.C (dispatch):
2975         * bufferview_funcs.C (put_selection_at): adjust
2976
2977 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2978
2979         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2980
2981 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2982
2983         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2984         nestings
2985
2986 2003-11-04  André Pönitz  <poenitz@gmx.net>
2987
2988         * cursor.[Ch]: restructure
2989
2990         * BufferView.[Ch]:
2991         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2992
2993         * iterators.[Ch] (asCursor): remove
2994
2995         * lfuns.h: remove LFUN_INSET_EDIT
2996
2997         * lyxfunc.C:
2998         * tabular.C:
2999         * text.C:
3000         * text2.C:
3001         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3002
3003 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * lyxfind.[Ch]: complete overhaul
3006         * BufferView_pimpl.C:
3007         * lyxfunc.C: adjust
3008         * paragraph.[Ch] (insert): add
3009
3010 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3011
3012         * BufferView.[Ch]:
3013         * lyxtext.h:
3014         * text.C: remove dead spellcheck code
3015
3016 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3017
3018         * dispatchresult.h: add a val setter
3019
3020         * cursor.C (dispatch): use a tempvar for data_[i]
3021
3022 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3023
3024         * PosIterator.[Ch]: compile fix
3025
3026 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3027
3028         * text.C (cursorPar): deactivate the cursor cache
3029
3030 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3033
3034 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3035
3036         * text3.C (dispatch): adjust for new DisptchResult semantics.
3037
3038         * lyxfunc.C (dispatch): handle update when return from
3039         Cursor::dispatch, adjust for new DispatchResult semantics.
3040
3041         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3042         DispatchResult(true) mean to not update. Add class functions for
3043         setting dispatched and update, as well as reading.
3044
3045         * cursor.C (dispatch): don't handle update here
3046
3047 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3048
3049         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3050         * trans_mgr.C: adjust
3051
3052         * paragraph_funcs.C (readParToken): exception safety
3053
3054         * lyxvc.h: store the vcs pointer in a scoped_ptr
3055         * lyxvc.C: adjust
3056
3057         * lyxsocket.C (serverCallback): exception safety
3058
3059         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3060
3061         * ispell.C (clone): make it return a auto_ptr
3062
3063         * factory.C (createInset): exception safety
3064         (readInset): exception safety
3065
3066         * bufferlist.C (newBuffer): exception safety
3067
3068         * Thesaurus.C (Thesaurus): use initialization for aik_
3069
3070         * MenuBackend.C (expandToc): exception safety.
3071
3072 2003-11-03  André Pönitz  <poenitz@gmx.net>
3073
3074         * buffer.C:
3075         * buffer.h:
3076         * bufferview_funcs.C: remove getInsetFromId()
3077
3078         * lyxcursor.[Ch]:
3079         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3080
3081         * lyxfunc.C:
3082         * text2.C:
3083         * text3.C: adjust
3084
3085 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3086
3087         * PosIterator.C (distance, advance): new
3088         * bufferview_funcs.[Ch] (put_selection_at): new
3089         * iterators.[Ch] (lockPath): new
3090
3091 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3092
3093         * iterators.[Ch] (asPosIterator): added
3094         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3095         * PosIterator.[Ch]: added
3096
3097 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3098
3099         * text3.C:
3100         * lyxfunc.C:
3101         * cursor.C (dispatch):
3102         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3103
3104         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3105         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3106         contructor, add a class function dispatched. Remove operator>=
3107
3108 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3109
3110         * debug.C: only use the default constructor for debugstream
3111         (lyxerr) here.
3112
3113         * main.C (main): include debug.h and setup the lyxerr streambuf
3114         here.
3115
3116 2003-10-31  José Matos  <jamatos@lyx.org>
3117
3118         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3119
3120         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3121         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3122         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3123         * paragraph_pimpl.C (simpleTeXSpecialC):
3124         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3125         add LatexRunParams argument.
3126
3127         * exporter.C (Export): change call accordingly.
3128
3129         * latexrunparams.h: add new member to take care of the other backends.
3130 2003-10-30  José Matos  <jamatos@lyx.org>
3131
3132         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3133         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3134         factorise code for paragraph output.
3135         * buffer.[Ch]:
3136         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3137         move functions.
3138
3139 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3140
3141         * text3.C (dispatch):
3142         * lyxfunc.C (dispatch):
3143         * cursor.C (dispatch):
3144         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3145
3146         * dispatchresult.h: make the dispatch_result_t ctor explicit
3147
3148 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3149
3150         * sgml.[Ch]:
3151         * buffer.C: small refactoring of docbook stuff
3152
3153 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3156         meaning.
3157
3158 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3159
3160         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3161         operator dispatch_result_t, and operators for == != and >=
3162
3163         * cursor.C (dispatch): adjust for operator dispatch_result_t
3164         removal. comment out call to update
3165
3166         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3167
3168 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3169
3170         * text3.C:
3171         * text2.C:
3172         * text.C:
3173         * lyxtext.h:
3174         * lyxfunc.C:
3175         * cursor.C:
3176         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3177         (dispatch):
3178
3179         * dispatchresult.h: new file, DispatchResult broken out of
3180         insets/insetbase.h
3181
3182         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3183
3184 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3185
3186         * text.C (rowBreakPoint): put a hack inside #if 0
3187
3188 2003-10-28  André Pönitz  <poenitz@gmx.net>
3189
3190         * lyxtext.h:
3191         * metricsinfo.C:
3192         * paragraph_funcs.C:
3193         * rowpainter.C:
3194         * text.C:
3195         * text2.C: general cleanup (lots of small stuff)
3196
3197 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3198
3199         * text2.C (cursorEnd): simple fix to the "end key goes to one
3200         before the end on last row" bug
3201
3202 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * text.C (backspace): fix the "zombie characters"
3205
3206 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3207
3208         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3209
3210 2003-10-27  André Pönitz  <poenitz@gmx.net>
3211
3212         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3213
3214         * factory.C: handle new InsetPagebreak, InsetLine
3215
3216         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3217         and move handling into new InsetPagebreak, InsetLine
3218
3219         * BufferView_pimpl.C:
3220         * LyXAction.C:
3221         * ParagraphParameters.C:
3222         * ParameterStruct.h:
3223         * lyxfunc.C:
3224         * lyxtext.h:
3225         * paragraph.C:
3226         * paragraph.h:
3227         * paragraph_funcs.C:
3228         * paragraph_pimpl.C:
3229         * rowpainter.C:
3230         * text.C:
3231         * text2.C:
3232         * text3.C: adjust
3233
3234 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3235
3236         * text.C:
3237         * lyxrow_funcs.[Ch]:
3238         * Bidi.C:
3239         * paragraph.C:
3240         * lyxtext.h:
3241         * rowpainter.C:
3242         * text2.C:
3243         * text3.C: remove lastPos uses in favour of Row::endpos
3244
3245 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3246
3247         * undo.C (performUndoOrRedo): fix two crashes by setting a
3248         cursor by hand and reordering some calls. Use bv->lockInset instead
3249         of inset->edit because the latter loses cursor information
3250
3251 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3252
3253         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3254         by Martin
3255         (rowBreakPoint): fix width. change point to point + 1.
3256         Add a missing check.
3257
3258 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3259
3260         * MenuBackend.C:
3261         * lyxfunc.C: fix (at least partly) the problems
3262         with the Nav menu and headers inside branch insets
3263         reported by Kayvan
3264
3265 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3266
3267         * paragraph.C (getChar): add strong asserts
3268
3269         * lyxrow_funcs.C (lastPos): remove hideous hack
3270
3271         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3272         (fill): adjust to that (avoid an infinite loop)
3273
3274 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3275
3276         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3277
3278 2003-10-23  André Pönitz  <poenitz@gmx.net>
3279
3280         * RowList_fwd.h: change list<> to vector<> to gain speed
3281         after suggestion from Alfredo
3282
3283 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3284
3285         * lyxtext.h: move the bidi stuff from here...
3286         * text.C: and here
3287         * text2.C: and here
3288         * Bidi.[Ch]: ... to here
3289
3290 2003-10-23  André Pönitz  <poenitz@gmx.net>
3291
3292         * lyxtext.h:
3293         * text.C (isLastRow, isFirstRow): new functions
3294
3295         * paragraph.h: new width cache member
3296
3297         * rowpainter.C: replace RowList::iterator with Row & where possible
3298
3299         * lyxfunc.C: replace several view()->text with a single call
3300
3301         * toc.C: fix 'unused' warning
3302
3303 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3304
3305         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3306         when woring with stream::pos_type
3307         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3308
3309 2003-10-22  André Pönitz  <poenitz@gmx.net>
3310
3311         * lyxtext.h:
3312         * text.C: use Row & instead of RowList::iterator
3313
3314         * lyxrow.h: rename end() to endpos()
3315
3316         * rowpainter.C:
3317         * text.C:
3318         * text2.C: adjust
3319
3320 2003-10-22  Angus Leeming  <leeming@lyx.org>
3321
3322         * buffer.[Ch] (fully_loaded): new member function, returning true
3323         only when the file has been loaded fully.
3324         Used to prevent the premature generation of previews and by the
3325         citation inset to prevent computation of the natbib-style label.
3326
3327         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3328         templates are all set up.
3329
3330         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3331
3332 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3333
3334         * text.C: fixed an "oops" in the "is a bit silly"
3335         bug fix
3336
3337 2003-10-21  André Pönitz  <poenitz@gmx.net>
3338
3339         * FuncStatus.[Ch]: small stuff, whitespace
3340
3341         * lyxfont.[Ch]: operator<<() for debug reasons
3342
3343         * lyxfunc.C:
3344         * lyxrow_funcs.C:
3345         * lyxtext.h: whitespace, spelling
3346
3347         * paragraph.C: naming of variables
3348
3349         * text.C:
3350         * text2.C: small stuff
3351
3352
3353 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3354
3355         * text.C: (1) finish off the inset display() work;
3356         (2) fix the "is a bit silly" bug (accessing char
3357         past end of par).
3358
3359 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3360
3361         * text.C: re-introduce display() for insets, fixing the
3362         various bugs (stretch of line above, math inset
3363         positioning, ...)
3364
3365 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3366
3367         * text.C (rightMargin): remove spurious semicolon
3368
3369         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3370         1415)
3371
3372 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3373
3374         * text3.C: fix one crash due to wrong cursor def
3375
3376 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3377
3378         * vc-backend.C (scanMaster): make the regex static
3379
3380         * LaTeX.C (scanAuxFile): make the regexs static
3381
3382         * text3.C (doInsertInset, dispatch, dispatch):
3383         * text2.C (cursorUp, cursorDown):
3384         * text.C (selectNextWordToSpellcheck):
3385         * BufferView_pimpl.C (dispatch):
3386         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3387
3388 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3389
3390         * lyxsocket.C: include <cerrno>
3391
3392 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3393
3394         * lyxfunc.C (dispatch): remove textcache stuff
3395
3396         * bufferlist.C (release): remove textcache stuff
3397         (closeAll): ditto
3398
3399         * TextCache.C: delete file
3400         * TextCache.h: delete file
3401
3402         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3403
3404         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3405         delete of the bv_->text.
3406         (resizeCurrentBuffer): remove texcache stuff
3407         (workAreaResize): ditto
3408
3409 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3410
3411         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3412         action.
3413
3414 2003-10-16  André Pönitz  <poenitz@gmx.net>
3415
3416         * lyxrow.[Ch]:
3417         * paragraph.h:
3418         * rowpainter.C:
3419         * text.C:
3420         * text2.C:
3421         * text3.C: speed up by storing y positions per paragraph plus per-row
3422         offset instead of having a 'full' y position in the row.
3423
3424 2003-10-15  André Pönitz  <poenitz@gmx.net>
3425
3426         * iterators.[Ch]:
3427         * iterators.[Ch]:
3428         * undo.[Ch]: make undo aware of inner insets
3429
3430 2003-10-14  Angus Leeming  <leeming@lyx.org>
3431
3432         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3433         static member functions LyX::ref() and LyX::cref.
3434         (lastfiles): new accessor functions for the new lastfiles_ member var.
3435         (addLyXView, views_): add a new LyXView to the list of views_.
3436         (updateInset): loop over all LyXViews to call their own updateInset
3437         member function, returning a pointer to the Buffer owning the inset.
3438
3439         * BufferView_pimpl.C (loadLyXFile):
3440         * MenuBackend.C (expandLastfiles):
3441         * bufferlist.C (MenuWrite, QuitLyX):
3442         lastfiles is no longer a global variable.
3443         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3444
3445         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3446         static function. Access through LyX::cref().emergencyCleanup().
3447
3448 2003-10-14  André Pönitz  <poenitz@gmx.net>
3449
3450         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3451
3452         * undo.[Ch]: restoring part of 'undo in insets'
3453
3454         * Makefile.am:
3455         * undo_funcs.[Ch]: merge with undo.[Ch]
3456
3457         * tabular.C: small cleansing stuff
3458
3459 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3460
3461         * paragraph_funcs.C (readParToken): report unknown insets as error
3462         boxes. Use the outer paragraph as location (also for unknown
3463         tokens).
3464
3465         * factory.C (readInset): do not abort on reading an unknown inset.
3466         Eat it and return 0.
3467
3468 2003-10-13  Angus Leeming  <leeming@lyx.org>
3469
3470         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3471
3472         * lyxrc.C: displayTranslator is now a function,
3473         declared in GraphicsTypes.h.
3474
3475 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3476
3477         * format.C: new placeholder $$a to pass the socket address.
3478
3479         * bufferlist.[Ch]: new function getBufferFromTmp.
3480
3481         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3482           files in the temporary dir.
3483
3484 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3485
3486         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3487
3488         * Makefile.am: add lyxsocket.[Ch].
3489
3490         * lyx_main.C (error_handler): handle SIGPIPE.
3491
3492 2003-10-13  André Pönitz  <poenitz@gmx.net>
3493
3494         * BufferView_pimpl.C:
3495         * lyxtext.h:
3496         * text.C:
3497         * text2.C:
3498         * text3.C:
3499         * undo_funcs.[Ch]: use paroffset_type instead of
3500           ParagraphList::iterators to prevent multiple conversion
3501           (and get a more robust interface)
3502
3503 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3504
3505         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3506         * lyxtext.h: ditto
3507         * text3.C (dispatch): ditto
3508
3509 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3510
3511         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3512         move the onlyfile, use onlyfile instead of foundfile in a couple
3513         of places.
3514
3515         * DepTable.C (update): flush the error stream a bit more
3516
3517 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * lyxserver.C (callback): adjust
3520
3521         * lyxfunc.C (getStatus): add a missing brace in commented code
3522         (ensureBufferClean): reindent
3523         (dispatch): delete version taking a string
3524
3525 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3526
3527         * LaTeX.C (deplog): move found file handlig from here...
3528         (handleFoundFile): .. to new function here.
3529         (deplog): make sure to discover several files mentioned on the
3530         same log line.
3531
3532 2003-10-10  André Pönitz  <poenitz@gmx.net>
3533
3534         * lyxfunc.C:
3535         * lyxtext.h:
3536         * tabular.C:
3537         * text.C:
3538         * text2.C:
3539         * text3.C: fix some of the tabular crashes
3540
3541 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3542
3543         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3544
3545         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3546
3547 2003-10-09  André Pönitz  <poenitz@gmx.net>
3548
3549         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3550
3551         * BufferView.C:
3552         * BufferView_pimpl.C:
3553         * bufferview_funcs.C:
3554         * lyx_cb.C:
3555         * lyxcursor.C:
3556         * lyxfind.C:
3557         * lyxfunc.C:
3558         * lyxtext.h:
3559         * text.C:
3560         * text2.C:
3561         * text3.C:
3562         * text_funcs.[Ch]:
3563         * textcursor.[Ch]:
3564         * undo_funcs.C: adjust
3565
3566 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3567
3568         * text2.C (incrementItemDepth): new function, use a backtracking
3569         algorithm to discover the correct item depth.
3570         (resetEnumCounterIfNeeded): new function, use a backtracking
3571         algorithm to discover if counter reset is needed.
3572         (setCounter): use them. Simplify a bit. Add different labels for
3573         different item depths for itemize.
3574
3575         * paragraph.C (Paragraph): remove initialization of enumdepth
3576         (operator=): ditto
3577
3578         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3579         enumerate and itemize. Change the type of itemdepth to signed char.
3580
3581 2003-10-08  André Pönitz  <poenitz@gmx.net>
3582
3583         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3584           thing assignable.
3585         * text.C:
3586         * text2.C: adjust
3587
3588         * tabular.[Ch]: fix crash after 'row-insert'
3589
3590 2003-10-08  Angus Leeming  <leeming@lyx.org>
3591
3592         Fix doxygen warnings.
3593
3594         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3595         Remove CutAndPaste:: prefix from header file declaration.
3596
3597         * LColor.h (fill): remove LColor:: prefix from declaration.
3598
3599         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3600         use lyx::depth_type rather than Paragraph::depth_type so that
3601         header file and .C file match.
3602
3603         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3604
3605         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3606         * aspell.C: \file aspell_local.C -> \file aspell.C
3607         * gettext.C: \file gettext.C -> \file src/gettext.C
3608         * gettext.h: \file gettext.h -> \file src/gettext.h
3609         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3610         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3611         * text.C: \file text.C -> \file src/text.C
3612
3613         * toc.C: move comment so that doxygen is not confused.
3614
3615 2003-10-07  Angus Leeming  <leeming@lyx.org>
3616
3617         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3618
3619 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3620
3621         * aspell.C:
3622         * aspell_local.h: add forgotten std::string's.
3623
3624 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3625
3626         * LaTeXFeatures.C:
3627         * LyXAction.C:
3628         * factory.C:
3629         * lfuns.h:
3630         * lyxfunc.C:
3631         * text3.C: The Box patch. Fancybox support, minipage, parbox
3632
3633 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3634
3635         * CutAndPaste.h:
3636         * DepTable.h:
3637         * FloatList.h:
3638         * LaTeXFeatures.h:
3639         * ParagraphParameters.h:
3640         * TextCache.h:
3641         * Thesaurus.h:
3642         * bufferlist.h:
3643         * exporter.h:
3644         * importer.h:
3645         * lastfiles.h:
3646         * lyxfind.h:
3647         * lyxfont.h:
3648         * lyxlex.h:
3649         * lyxtextclasslist.h:
3650         * messages.h:
3651         * paragraph.h:
3652         * paragraph_pimpl.C:
3653         * textcursor.h: add <string> and other small fixes to make Lars'
3654         std::string patch compile with STLport.
3655
3656 2003-10-06  Angus Leeming  <leeming@lyx.org>
3657
3658         * LColor.h: Add missing #include <string>.
3659
3660 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3661
3662         * All most all file in all subdirs: Make <string> be the prefered
3663         way of getting to std::string, add using declarations.
3664
3665 2003-10-06  André Pönitz  <poenitz@gmx.net>
3666
3667         * metricsinfo.C: initialize LyXFont before changing attribute.
3668         (fixes the 'math in \emph is upright' bug)
3669
3670 2003-10-06  André Pönitz  <poenitz@gmx.net>
3671
3672         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3673
3674 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3675
3676         * graph.C:
3677         * paragraph_pimpl.C: Small fixes to build using STLport
3678
3679 2003-10-02  André Pönitz  <poenitz@gmx.net>
3680
3681         * lyxfunc.C:
3682         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3683
3684 2003-10-01  André Pönitz  <poenitz@gmx.net>
3685
3686         * factory.C: assert early
3687
3688 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3689
3690         * lyx_main.C: remove the global debug object
3691
3692         * debug.h: adjust for new debugstream
3693
3694         * debug.C: adjust for new debugstream and keep the global debug
3695         object here.
3696
3697 2003-09-22  Angus Leeming  <leeming@lyx.org>
3698
3699         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3700         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3701         an incomplete class LyXFont.
3702
3703 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3704
3705         * factory.C: bug fix in branches
3706
3707 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3708
3709         * lyxfunc.C (processKeySym): adjust
3710         (dispatch): adjust
3711         (dispatch): change arg name from ev to func, adjust
3712         (sendDispatchMessage): ditto
3713
3714         * lyx_main.C (defaultKeyBindings): adjust keybindings
3715         (deadKeyBindings): ditto
3716
3717         * kbsequence.C (addkey): return a FuncRequest
3718
3719         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3720
3721         * kbmap.C (bind): take a FuncRequest as arg, adjust
3722         (read): adjust
3723         (lookup): adjust
3724         (defkey): change to take a FuncRequest as arg, adjust
3725         (findbinding): take a FuncRequest as arg, adjust.
3726
3727         * funcrequest.h (operator=): added
3728
3729         * funcrequest.C (FuncRequest): default kb_action changed from
3730         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3731
3732         * buffer.C (dispatch): simplify
3733         (dispatch): adjust to take a FuncRequest as arg, adjust
3734
3735         * boost.C (assertion_failed): change assertion message slightly
3736
3737         * ToolbarBackend.C (read): simplify
3738
3739         * MenuBackend.C (binding): adjust call to findbinding, add a
3740         message if no binding is found.
3741         (read): simplify
3742         (expandToc): correct by adding a empty FuncRequest
3743
3744         * LyXAction.C: include <boost/assert.hpp>
3745         (isPseudoAction): delete function
3746         (LookupFunc): change name to...
3747         (lookupFunc): this. change return type to FuncRequest.
3748         (getActionName): take kb_action as arg, simplify
3749         (funcHasFlag): add an assert, simplify.
3750
3751 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3752
3753         * toc.C (action): return a FuncRequest, simplify
3754
3755         * lyxfunc.C (processKeySym): adjust
3756         (getStatus): delete version that takes an int.
3757         (getStatus): adjust
3758         (dispatch): delete version that takes action as int
3759         (dispatch): adjust
3760         (sendDispatchMessage): simplify and adjust
3761
3762         * funcrequest.C (getArg): take unsigned int as arg
3763
3764         * ToolbarBackend.C (read): adjust
3765         (add): delete version that takes func as a string.
3766         (getIton): take a FuncRequest as arg
3767
3768         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3769         action.
3770
3771         * MenuBackend.C (MenuItem): add a new construct that only takes a
3772         Kind, simplify the constructor use for submenus.
3773         (add): adjust
3774         (expandLastfiles): adjust
3775         (expandDocuments): adjust
3776         (expandFormats): adjust
3777         (expandFloatListInsert): adjust
3778         (expandFloatInsert): adjust
3779         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3780
3781         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3782         Remove class variables lyx_pseudo_map and lyx_arg_map
3783
3784         * LyXAction.C (searchActionArg): delete function
3785         (getPseudoAction): delete function
3786         (retrieveActionArg): delete function
3787         (LookupFunc): make it return kb_action, simplify.
3788         (getActionName): simplify
3789
3790         * factory.C (createInset): fix new bug
3791
3792 2003-09-19  Angus Leeming  <leeming@lyx.org>
3793
3794         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3795         masterFilename_ parameter in the include inset.
3796
3797         * factory.C (createInset): changes due to the changes to InsetInclude.
3798
3799 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3800
3801         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3802
3803 2003-09-18  Angus Leeming  <leeming@lyx.org>
3804
3805         * buffer.C:
3806         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3807         Inset::fillWithBibKeys.
3808         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3809
3810 2003-09-18  Angus Leeming  <leeming@lyx.org>
3811
3812         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3813         variables.
3814         (ctor): pass and store a 'Buffer const &'
3815         (buffer): new member function.
3816
3817         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3818         '*this' to the LaTeXFeatures ctor.
3819
3820 2003-09-18  Angus Leeming  <leeming@lyx.org>
3821
3822         * LColor.h:
3823         * lyxfont.C:
3824         * lyxfont.h:
3825         * lyxtext.h:
3826         * text.C: rename EnumLColor as LColor_color.
3827
3828 2003-09-18  Angus Leeming  <leeming@lyx.org>
3829
3830         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3831         remove #include "insets/insetbase.h" from cursor.h.
3832
3833 2003-09-18  Angus Leeming  <leeming@lyx.org>
3834
3835         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3836         InsetOld_code to remove #include "inset.h".
3837
3838         * iterators.C: add #include "insets/inset.h"
3839
3840 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3841
3842         * BufferView.C: remove more locking stuff that apparently doesn't
3843         do anything sensible.
3844
3845 2003-09-16  André Pönitz  <poenitz@gmx.net>
3846
3847         * paragraph.[Ch]:
3848         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3849           performance boost.
3850
3851 2003-09-16  Angus Leeming  <leeming@lyx.org>
3852
3853         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3854
3855         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3856         arg/return type.
3857
3858         * paragraph.h: remove #include "lyxfont.h". Forward declare
3859         LyXFont_size.
3860
3861 2003-09-16  Angus Leeming  <leeming@lyx.org>
3862
3863         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3864         of support/textutils.h.
3865         (isWord): move the contents of support/textutils.h's IsWordChar here.
3866
3867         * buffer.C:
3868         * lyxfind.C:
3869         * rowpainter.C:
3870         * text.C:
3871         * text2.C: add #include "paragraph.h".
3872
3873         * rowpainter.C:
3874         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3875
3876 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * main.C:
3879         * lyx_main.C:
3880         * lyx_cb.C:
3881         * buffer.C:
3882         * LaTeX.C: use namespace alias for lyx::support::os
3883
3884 2003-09-16  Angus Leeming  <leeming@lyx.org>
3885
3886         * bufferparams.C:
3887         * bufferview_funcs.C:
3888         * factory.C:
3889         * lyxfunc.C:
3890         * paragraph_pimpl.C:
3891         * rowpainter.C:
3892         * text.C: add #include "LColor.h".
3893
3894 2003-09-16  Angus Leeming  <leeming@lyx.org>
3895
3896         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3897         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3898         return LyXFont &.
3899         Store the FontBits::color variable as an int rather than as an
3900         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3901         file.
3902
3903         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3904         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3905         string calls together.
3906
3907         * lyxrc.C: add #include "LColor.h".
3908
3909 2003-09-15  Angus Leeming  <leeming@lyx.org>
3910
3911         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3912         a cow_ptr.
3913
3914 2003-09-15  Angus Leeming  <leeming@lyx.org>
3915
3916         * LColor.h: add an EnumLColor wrapper for LColor::color.
3917
3918         * lyxfont.[Ch] (color, setColor, realColor):
3919         * lyxtext.h, text.C (backgroundColor):
3920         pass EnumLColor args to/from the functions, rather than LColor::color
3921         ones.
3922
3923         * lyxfont.h:
3924         * lyxtext.h: forward declare EnumLColor.
3925
3926         * lyx_main.C: add #include "LColor.h".
3927
3928 2003-09-15  Angus Leeming  <leeming@lyx.org>
3929
3930         * .cvsignore: add lyx-gtk.
3931
3932 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * Chktex.C
3935         * LaTeX.C
3936         * LaTeXFeatures.C
3937         * ParagraphParameters.C
3938         * Spacing.C
3939         * buffer.C
3940         * bufferparams.C
3941         * bufferview_funcs.C
3942         * chset.C
3943         * counters.C
3944         * funcrequest.C
3945         * lyxfont.C
3946         * lyxgluelength.C
3947         * lyxlength.C
3948         * paragraph.C
3949         * paragraph_funcs.C
3950         * text3.C
3951         * vc-backend.C: remove usage of STRCONV
3952
3953 2003-09-15  Angus Leeming  <leeming@lyx.org>
3954
3955         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3956         explicitly define the color passed to the painter.
3957
3958 2003-09-15  Angus Leeming  <leeming@lyx.org>
3959
3960         * bufferparams.C (BufferParams): reorder member initializers to avoid
3961         compiler warning.
3962
3963 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3964
3965         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3966         * text.C (updateRowPositions): remove an unusual nop
3967
3968 2003-09-12  André Pönitz  <poenitz@gmx.net>
3969
3970         * BufferView_pimpl.C:
3971         * Bullet.C:
3972         * layout.h:
3973         * lyxfunc.C:
3974         * lyxlayout.[Ch]:
3975         * lyxtextclass.C:
3976         * rowpainter.C:
3977         * text.C:
3978         * text2.C:
3979         * Counters.[Ch]: finish the 'automatic counters' job
3980
3981 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3982
3983         * aspell.C: include <boost/assert.cpp> (compile fix)
3984
3985 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3986
3987         * boost.C (assertion_failed): use lyx::support::abort instead of
3988         assert.
3989
3990 2003-09-10  Angus Leeming  <leeming@lyx.org>
3991
3992         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3993         with their _fwd progeny.
3994
3995 2003-09-09  Angus Leeming  <leeming@lyx.org>
3996
3997         134 files throughtout the source tree: replace 'using namespace abc;'
3998         directives with the appropriate 'using abc::xyz;' declarations.
3999
4000 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4001
4002         * boost.C (emergencyCleanup): moved here from LAssert.c
4003         (assertion_failed): new function, called by BOOST_ASSERT
4004
4005         * several files: change Assert to BOOST_ASSERT
4006
4007 2003-09-09  Angus Leeming  <leeming@lyx.org>
4008
4009         * buffer.[Ch]: Add an Impl class and move Buffer's member
4010         variables into it. As a result move several header files out of
4011         buffer.h.
4012
4013         Add header files to lots of .C files all over the tree as a result.
4014
4015 2003-09-09  Angus Leeming  <leeming@lyx.org>
4016
4017         * buffer.[Ch]: make Buffer's member variables private. Add
4018         accessor functions.
4019
4020         Lots of changes all over the tree as a result.
4021
4022 2003-09-08  Angus Leeming  <leeming@lyx.org>
4023
4024         * graph.C: #include <config.h>.
4025
4026 2003-09-08  Angus Leeming  <leeming@lyx.org>
4027
4028         * BranchList.C:
4029         * BufferView.C:
4030         * BufferView_pimpl.C:
4031         * CutAndPaste.C:
4032         * DepTable.C:
4033         * LaTeX.C:
4034         * LaTeXFeatures.C:
4035         * LyXAction.C:
4036         * MenuBackend.C:
4037         * TextCache.C:
4038         * aspell.C:
4039         * buffer.C:
4040         * bufferlist.C:
4041         * changes.C:
4042         * chset.C:
4043         * converter.C:
4044         * counters.C:
4045         * debug.C:
4046         * graph.C:
4047         * ispell.C:
4048         * lyx_cb.C:
4049         * lyxfind.C:
4050         * lyxfunc.C:
4051         * lyxlex_pimpl.C:
4052         * lyxrc.C:
4053         * lyxrow.C:
4054         * paragraph.C:
4055         * rowpainter.C:
4056         * texrow.C:
4057         * text.C:
4058         * text2.C:
4059         * toc.C: remove redundant using directives.
4060
4061 2003-09-07  Angus Leeming  <leeming@lyx.org>
4062
4063         * LaTeXFeatures.h: remove #include "support/types.h".
4064         * ToolbarBackend.h: remove #include <algorithm>.
4065         * changes.h: remove #include <ctime>.
4066         * debug.h: remove #include <iosfwd>.
4067         * graph.h: remove #include "support/std_string.h".
4068         * lyx_main.h: remove #include <csignal>.
4069         * lyxlex_pimpl.h: remove #include <fstream>.
4070         * sgml.h: remove #include <algorithm>, <utility>.
4071         * toc.h: remove #include "support/std_ostream.h".
4072         Add #include <iosfwd>.
4073
4074 2003-09-07  Angus Leeming  <leeming@lyx.org>
4075
4076         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4077
4078         * converter.h: forward declare LatexRunParams.
4079         * encoding.h: remove #include "lyxrc.h".
4080         * lyxtext.h: remove #include "LColor.h".
4081         * lyxtextclass.h: remove #include "support/types.h".
4082         * trans.h: remove #include "tex-accent.h".
4083         * trans_mgr.h: remove #include "tex-accent.h".
4084         * insets/inset.h: remove #include "support/types.h", <vector>.
4085         * insets/insetcollapsable.h: remove #include "LColor.h".
4086         * insets/insetinclude.h: remove #include "dimension.h".
4087         * insets/insetlatexaccent.h: remove #include "dimension.h".
4088         * insets/insetoptarg.h:: remove #include "insettext.h".
4089         * insets/insettext.h: remove #include "dimension.h",
4090         <boost/shared_ptr.hpp>
4091
4092         * insets/renderers.h: add #include "dimension.h".
4093         * insets/updatableinset.h: add #include "support/types.h".
4094
4095         * many .C files: Associated changes.
4096
4097 2003-09-06  Angus Leeming  <leeming@lyx.org>
4098
4099         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4100         one, inside testInvariant.
4101
4102         * PrinterParams.C: new file.
4103         * PrinterParams.[Ch]: move the function bodies out of line.
4104
4105 2003-09-06  Angus Leeming  <leeming@lyx.org>
4106
4107         * ParagraphParameters.h: forward declare ParameterStruct rather than
4108         including its header file.
4109         (depth): moved out-of-line.
4110
4111 2003-09-06  Angus Leeming  <leeming@lyx.org>
4112
4113         * BufferView_pimpl.h:
4114         * kbmap.h:
4115         * kbsequence.h:
4116         * lyxfunc.h: forward declare LyXKeySym rather than
4117         #include "frontends/LyXKeySym.h".
4118
4119         * BufferView_pimpl.C:
4120         * kbmap.C:
4121         * kbsequence.C:
4122         * lyxfunc.C: associated changes.
4123
4124 2003-09-06  Angus Leeming  <leeming@lyx.org>
4125
4126         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4127         As a result, can remove the #include "insets/inset.h" from BufferView.h
4128
4129 2003-09-06  Angus Leeming  <leeming@lyx.org>
4130
4131         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4132         As a result, can remove the #include "insets/inset.h" from BufferView.h
4133
4134 2003-09-06  Angus Leeming  <leeming@lyx.org>
4135
4136         * buffer_funcs.C:
4137         * buffer.h:
4138         * bufferlist.C:
4139         * BufferView.C:
4140         * bufferview_funcs.C:
4141         * BufferView_pimpl.C:
4142         * CutAndPaste.C:
4143         * lyx_cb.C:
4144         * lyxfunc.C:
4145         * paragraph.h:
4146         * ParagraphParameters.C:
4147         * tabular.C:
4148         * text3.C:
4149         * toc.C:
4150         * undo_funcs.C:
4151         * frontends/controllers/ControlDocument.C:
4152         * insets/insetcaption.C: rearrange the #includes into some sort of
4153         coherent order.
4154
4155         * buffer.h: remove #includes ErrorList.h, undo.h
4156
4157 2003-09-06  Angus Leeming  <leeming@lyx.org>
4158
4159         * support/types.h: add a 'depth_type' typedef, used to store the
4160         nesting depth of a paragraph.
4161
4162         * paragraph.h:
4163         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4164         defining explicitly.
4165
4166         * buffer.h:
4167         * paragraph_funcs.h:
4168         * ParagraphParameters.h:
4169         * sgml.h: use lyx::depth_type rather than Paragraph or
4170         ParameterStruct's depth_type.
4171
4172         * buffer.h
4173         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4174
4175         * BufferView.C:
4176         * BufferView_pimpl.C:
4177         * CutAndPaste.C:
4178         * ParagraphParameters.C:
4179         * buffer_funcs.C:
4180         * bufferlist.C:
4181         * bufferview_funcs.C:
4182         * lyx_cb.C:
4183         * lyxfunc.C:
4184         * tabular.C:
4185         * text3.C:
4186         * toc.C:
4187         * undo_funcs.C:
4188         * frontends/LyXView.C:
4189         * frontends/controllers/ControlDocument.C:
4190         * frontends/controllers/ControlErrorList.C:
4191         * insets/insetbibitem.C:
4192         * insets/insetbranch.C:
4193         * insets/insetcaption.C:
4194         * insets/insetcollapsable.C:
4195         * insets/insetenv.C:
4196         * insets/insetert.C:
4197         * insets/insetfloat.C:
4198         * insets/insetfoot.C:
4199         * insets/insetfootlike.C:
4200         * insets/insetnewline.C:
4201         * insets/insetquotes.C:
4202         * insets/insettabular.C:
4203         * insets/insettext.C:
4204         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4205
4206         * frontends/controllers/ControlChanges.C: #include "changes.h".
4207
4208 2003-09-06  Angus Leeming  <leeming@lyx.org>
4209
4210         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4211         than #including paragraph.h.
4212
4213         * ParagraphList.h:
4214         * RowList.h: deleted. Superfluous.
4215
4216         * CutAndPaste.h:
4217         * iterators.h:
4218         * lyxcursor.h:
4219         * lyxtext.h:
4220         * text_funcs.h:
4221         * undo.h:
4222         * undo_funcs.h:
4223         * insets/inset.h:
4224         * insets/insettext.h: use ParagraphList_fwd.h rather than
4225         ParagraphList.h.
4226
4227         * paragraph.h: don't forward declare ParagraphList.
4228
4229         * buffer.h:
4230         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4231         rather than ParagraphList.h. paragraph.h is still needed for the
4232         Paragraph::depth_type parameters.
4233
4234         * textcursor.h: enable it to compile stand-alone in light of the
4235         above changes.
4236
4237         * bufferview_funcs.C:
4238         * iterators.C:
4239         * lyxfunc.C:
4240         * lyxrow_funcs.C:
4241         * paragraph.C:
4242         * rowpainter.C:
4243         * text.C:
4244         * text2.C:
4245         * text3.C:
4246         * text_funcs.C:
4247         * textcursor.C:
4248         * undo.C:
4249         * frontends/controllers/ControlParagraph.C:
4250         * frontends/controllers/ControlTabular.C:
4251         * insets/insetmarginal.C:
4252         * insets/insetminipage.C:
4253         * insets/insetnote.C:
4254         * insets/insetoptarg.C: add header files needed to compile again.
4255
4256 2003-09-06  Angus Leeming  <leeming@lyx.org>
4257
4258         * RowList_fwd.h: new file, forward-declaring Row rather than
4259         #including lyxrow.h.
4260
4261         * lyxrow_funcs.h:
4262         * lyxtext.h:
4263         * paragraph.h:
4264         * insets/insettext.h: use it instead of RowList.h
4265
4266         * bufferview_funcs.C:
4267         * lyxfunc.C:
4268         * lyxrow_funcs.C:
4269         * paragraph.C:
4270         * rowpainter.C:
4271         * text.C:
4272         * text2.C:
4273         * text3.C: #include "RowList.h".
4274
4275 2003-09-05  Angus Leeming  <leeming@lyx.org>
4276
4277         * factory.C (createInset):
4278         * vspace.C (c-tor): replace sscanf call with an istringstream.
4279         * ispell.C: re-add missing HP/UX headers.
4280         * lyxserver.C: re-add missing  os2 headers.
4281
4282 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4283
4284         * BranchList.C:
4285         * graph.C:
4286         * ispell.C:
4287         * lastfiles.C:
4288         * lyx_cb.C:
4289         * lyxserver.C:
4290         * texrow.C:
4291         * text3.C: re-add missing system headers, needed for 2.95.2.
4292
4293 2003-09-05  Angus Leeming  <leeming@lyx.org>
4294
4295         Changes most place everywhere due to the removal of using directives
4296         from support/std_sstream.h.
4297
4298 2003-09-05  Angus Leeming  <leeming@lyx.org>
4299
4300         Replace LString.h with support/std_string.h,
4301         Lsstream.h with support/std_sstream.h,
4302         support/LIstream.h with support/std_istream.h,
4303         support/LOstream.h with support/std_ostream.h.
4304
4305         Changes resulting throughout the tree.
4306
4307 2003-09-05  Angus Leeming  <leeming@lyx.org>
4308
4309         * sgml.h: ensure that the header file can be compiled stand-alone.
4310         * *.C: strip out redundant #includes. (320 in total.)
4311
4312 2003-09-04  Angus Leeming  <leeming@lyx.org>
4313
4314         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4315         here (from getPackages).
4316
4317         * debug.[Ch]: add a new EXTERNAL tag.
4318
4319 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4320
4321         * text2.C (cursorEnd): simplify
4322         (setCursor): adjust
4323         (getColumnNearX): adjust
4324
4325         * text.C (computeBidiTables): adjust
4326         (fill): adjust
4327
4328         * rowpainter.C (paintChars): adjust
4329         (paintSelection): adjust
4330         (paintChangeBar): adjust
4331         (paintText): adjust
4332
4333         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4334         lastPos instead.
4335         (numberOfSeparators): adjust
4336
4337 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4338
4339         * LyXAction.C:
4340         * box.[Ch]:
4341         * lfuns.h:
4342         * lyxfunc.C:
4343         * text3.C: Restricts the mouse click functionality
4344         of insets like bibtex, include, toc and floatlist to the visible
4345         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4346         up the dialogs. Cursor has to be in front of the inset (i.e.
4347         start of row) for this to function.
4348
4349 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4350
4351         * bufferview_funcs.C (currentState): output row information
4352
4353 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4354
4355         * bufferview_funcs.C (currentState): output paragraph position
4356
4357 2003-09-04  Angus Leeming  <leeming@lyx.org>
4358
4359         * FloatList.h: move out #include "Floating.h".
4360         * LaTeX.h: move out #include "DepTable.h".
4361         * LyXAction.h: move out #include "funcrequest.h".
4362         * buffer.h: move out #include "author.h", "iterators.h".
4363         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4364         * lyx_main.h: move out #include "errorlist.h".
4365         * lyxfunc.h: move out #include "FuncStatus.h".
4366         * lyxtext: move out #include "lyxcursor.h".
4367         * paragraph_pimpl.h: move out #include "counters.h".
4368
4369 2003-09-03  Angus Leeming  <leeming@lyx.org>
4370
4371         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4372         preamble_snippets list, enabling us to add snippets to the preamble
4373         only if the snippet was not there already.
4374
4375 2003-09-04  Angus Leeming  <leeming@lyx.org>
4376
4377         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4378
4379 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4380
4381         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4382         update
4383
4384 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4385
4386         * BranchList.C: point fix, earlier forgotten
4387
4388 2003-09-02  Angus Leeming  <leeming@lyx.org>
4389
4390         * box.C (contains): renamed from 'contained' after a fantastic
4391         amount of hot air.
4392
4393 2003-09-02  John Levon  <levon@movementarian.org>
4394
4395         * BufferView.C:
4396         * lyxcursor.h:
4397         * lyxcursor.C:
4398         * lyxfunc.C:
4399         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4400
4401 2003-09-02  John Levon  <levon@movementarian.org>
4402
4403         * text2.C: simplification of cursorEnd(), including partial
4404         fix for bug 1376
4405
4406 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * buffer.C (readFile): add a space
4409
4410 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4411
4412         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4413
4414 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4415
4416         * buffer.C (readFile): new function, take a filename and a
4417         ParagraphList::iterator
4418         (readFile): adjust
4419         (readFile): adjust, make it private. don't use setStream, make
4420         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4421         always contain the filename.
4422
4423         * BufferView.C (insertLyXFile): simplify and make it work for
4424         gzipped files.
4425
4426 2003-08-30  John Levon  <levon@movementarian.org>
4427
4428         * Makefile.am: fix dist (from Kayvan)
4429
4430 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * most files: change to use const Buffer refs
4433
4434 2003-08-27  André Pönitz  <poenitz@gmx.net>
4435
4436         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4437         on top of ownerPar().
4438
4439 2003-08-27  John Levon  <levon@movementarian.org>
4440
4441         * funcrequest.C: properly initialise POD members
4442
4443 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4444
4445         * lyxtext.h (top_y): move top_y from here
4446         * text.C:
4447         * text2.C:
4448         * text3.C:
4449         * BufferView.[Ch]:
4450         * BufferView_pimpl.[Ch]: to here
4451         * frontends/screen.C:
4452         * insets/insettabular.C:
4453         * insets/insettext.C: adjust
4454         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4455
4456 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * BufferView.[Ch]:
4459         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4460
4461 2003-08-26  André Pönitz  <poenitz@gmx.net>
4462
4463         * paragraph_func.[Ch] (outerPar): new function
4464
4465         * paragraph.C:
4466         * paragraph_funcs.C:
4467         * paragraph_funcs.h:
4468         * paragraph_pimpl.C:
4469         * text2.C: remove Inset::par_owner
4470
4471 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4472
4473         * lyxrow_funcs.C:
4474         * lyxtext.h:
4475         * text.C:
4476         * text2.C: eliminates the needFullRow/display() stuff
4477         altogether, putting the logic in metrics/draw in the insets.
4478
4479 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4480
4481         * text2.C (redoParagraphInternal, redoParagraphs):
4482         * text.C (redoParagraph): add a call to updateRowPositions at the
4483         end of each 'metrics-like' call. Remove all others.
4484         (getRow): remove the 'y-computing' version.
4485         (getRowNearY): do not compute nor return the real y. Solve the
4486         'y < 0' problem and simplify.
4487
4488 2003-08-22  Angus Leeming  <leeming@lyx.org>
4489
4490         * *.[Ch]: clean-up of licence and author blurbs.
4491         Also move config.h out of a few .h files and into a few .C files.
4492
4493 2003-08-22  André Pönitz  <poenitz@gmx.net>
4494
4495         * lyxrow.[Ch]: add x_ and *fill_ members
4496
4497         * lyxtext.h:
4498         * text.C:
4499         * rowpainter.C:
4500         * text2.C: adjust/remove prepareToPrint() calls
4501
4502 2003-08-22  André Pönitz  <poenitz@gmx.net>
4503
4504         * lyxrow.[Ch]: add  end_ member
4505
4506         * lyxrow_funcs.C: use LyXRow::end_
4507
4508         * lyxtext.h (singleWidth): add LyXFont parameter
4509
4510         * rowpainter.C:
4511         * text2.C: adjust LyXText::singleWidth() calls
4512
4513         * text.C (redoParagraph): simplify row breaking logic
4514
4515
4516 2003-08-19  André Pönitz  <poenitz@gmx.net>
4517
4518         * funcrequest.C: initialize button_ member
4519
4520         * text3.C:
4521         * rowpainter.[Ch]: interface consolidation
4522
4523 2003-08-18  André Pönitz  <poenitz@gmx.net>
4524
4525         * BufferView.C:
4526         * BufferView_pimpl.C:
4527         * lyxfind.C:
4528         * paragraph_funcs.C:
4529         * rowpainter.C:
4530         * text3.C: remove LyXScreen::draw() and fitCursor calls
4531
4532         * BranchList.h: remove spurious semicolons
4533
4534         * MenuBackend.C: fix branchlist related crash
4535
4536 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4537
4538         * BranchList.[Ch]:
4539         * InsetList.[Ch]:
4540         * LColor.[Ch]:
4541         * LyXAction.C:
4542         * Makefile.am:
4543         * MenuBackend.[Ch]:
4544         * bufferparams.[Ch]:
4545         * factory.C:
4546         * lfuns.h:
4547         * lyxfunc.C:
4548         * text3.C: implements the 'branch inset'
4549         idea. This allows the output of various versions of a document
4550         from a single source version, selectively outputing or suppressing
4551         output of parts of the text.
4552         This implementation contains a 'branch list editor' in a separate
4553         tab of the document settings dialog. Branches are user definable
4554         and have a "display colour" to distinguish them on-screen.
4555
4556         ColorHandler was somewhat cleaned up.
4557         (1) make possible a dynamically growing LColor list by allowing
4558         the graphic context cache to grow along (vector);
4559         (2) eliminate an IMHO unnecessary step in colour allocation.
4560
4561 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4562
4563         * BufferView_pimpl.C: compile fix
4564
4565 2003-08-15  André Pönitz  <poenitz@gmx.net>
4566
4567         * rowpainter.C: remove extra metrics calls
4568
4569         * lyxtext.h: merge the two constructors into a single one,
4570           pass reference to owner's par list
4571
4572         * BufferView_pimpl.C:
4573         * text.C:
4574         * text2.C: adjust
4575
4576 2003-08-15  André Pönitz  <poenitz@gmx.net>
4577
4578         * lyxrow_funcs.[Ch]:
4579         * lyxtext.h:
4580         * paragraph.h:
4581         * paragraph_funcs.C:
4582         * rowpainter.C:
4583         * text.C:
4584         * text2.C:
4585         * text3.C:
4586         * text_funcs.C: split LyXText::rowlist_ into individual
4587         Paragraph::rows_ chunks
4588
4589         * BufferView.[Ch]:
4590         * BufferView_pimpl.[Ch]:
4591         * lyxfind.C:
4592         * lyxtext.h:
4593         * text3.C: remove toggleSelection()
4594
4595 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4596
4597         * bufferlist.C: beautify two alerts (shorter text of buttons)
4598         * buffer.C: Remove redundant ' ' from message
4599         * tabular.h:
4600         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4601         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4602         rename VALIGN_CENTER to VALIGN_MIDDLE
4603
4604 2003-08-11  André Pönitz  <poenitz@gmx.net>
4605
4606         * lyxtext.h (getPar):
4607         * text.C: new function
4608
4609 2003-08-11  André Pönitz  <poenitz@gmx.net>
4610
4611         * Makefile.am:
4612         * tracer.[Ch]: remove unneeded files
4613
4614         * InsetList.[Ch]: remove resizeInsetsLyXText()
4615
4616         * lyxtext.h:
4617         * text.C:
4618         * text2.C:
4619         * text3.C: merge insertParagraphs() and appendParagraph()
4620         remove breakAgain(), update()
4621
4622         * BufferView_pimpl.[Ch]:
4623         * bufferview_funcs.[Ch]:
4624         * lyxfunc.C:
4625         * paragraph.[Ch]:
4626         * rowpainter.C:
4627         * tabular.C: adjust after text & InsetList changes.
4628
4629 2003-08-08  André Pönitz  <poenitz@gmx.net>
4630
4631         * text.C (insertChar, backspace): replace rowlist fiddling
4632         with rebreak of full par
4633
4634         * lyxtext.h:
4635         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4636         checkParagraph, updateInset): removed
4637
4638 2003-08-07  André Pönitz  <poenitz@gmx.net>
4639
4640         * paragraph.C:
4641         * text3.C: merge some LFUN handlers, remove dead code
4642
4643 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4644
4645         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4646
4647 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4648
4649         * text2.C (DEPM): fix part of bug 1255 and 1256
4650
4651 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4652
4653         * BufferView_pimpl.C (workAreaDispatch): change to use
4654         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4655         that are no mouse related.
4656
4657 2003-08-05  André Pönitz  <poenitz@gmx.net>
4658
4659         * BufferView.[Ch]:
4660         * BufferView_pimpl.[Ch]:
4661         * bufferview_funcs.C:
4662         * text2.C:
4663         * text3.C: rip out "deep update"
4664
4665         * textcursor.[Ch] (last_sel_cursor): remove unused member
4666
4667 2003-08-04  André Pönitz  <poenitz@gmx.net>
4668
4669         * BufferView.[Ch]:
4670         * BufferView_pimpl.[Ch]:
4671         * ParagraphParameters.C:
4672         * bufferview_funcs.C:
4673         * lyx_cb.C:
4674         * lyxfind.C:
4675         * lyxfunc.C:
4676         * text.C:
4677         * text2.C:
4678         * text3.C: replace "complicated" BufferView::update(...) calls with
4679         simpler ones.
4680
4681         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4682
4683 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4684
4685         * Makefile.am (lyx_SOURCES): add paper.h
4686
4687 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4688
4689         * Makefile.am: move things around so that both lyx-qt and
4690         lyx-xforms can be built (according to --with-frontend). Then lyx
4691         is a symbolic link to lyx-[firstfrontend]
4692
4693 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4694
4695         * Always use std::endl with lyxerr
4696
4697 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4698
4699         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4700
4701 2003-08-01  André Pönitz  <poenitz@gmx.net>
4702
4703         * BufferView.[Ch]:
4704         * BufferView_pimpl.[Ch]:
4705         * lyxfunc.C:
4706         * text3.C: merge BufferView::repaint() and BufferView::update()
4707
4708 2003-08-01  José Matos  <jamatos@lyx.org>
4709
4710         * buffer.[Ch]: file_format is no longer a buffer data element.
4711
4712 2003-08-01  André Pönitz  <poenitz@gmx.net>
4713
4714         * BufferView.C:
4715         * lyxtext.h:
4716         * text.C:
4717         * text2.C: make redoParagraph more independent of current cursor
4718
4719         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4720         * text.C:
4721         * text2.C: remove unneeded members
4722
4723 2003-07-30  André Pönitz  <poenitz@gmx.net>
4724
4725         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4726
4727         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4728           create a single function...
4729
4730         * paragraph_funcs.C (moveItem): ... here.
4731
4732         * text.C:
4733           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4734
4735 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4736
4737         * LColor.[Ch]: Add comment and greyedout logical colors.
4738
4739 2003-07-30  André Pönitz  <poenitz@gmx.net>
4740
4741         * tabular.C: don't use Assert too heavily. This crashes where it
4742           shouldn't
4743
4744 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4745
4746         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4747         is disabled (bug 1232)
4748
4749 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4750
4751         * factory.C: limited 'arg' scope
4752
4753 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4754
4755         * factory.C: fixed Note submenu issues
4756
4757 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4758
4759         * factory.C: submenu for Note/Comment/Greyedout
4760
4761 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4762
4763         * lyx_main.C (LyX):
4764         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4765
4766 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4767
4768         * LaTeXFeatures.C:
4769         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4770         greyedout. Patch provided by Jürgen Spitzmüller.
4771
4772 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4773
4774         * kbmap.C (read): fix error message when reading bind files
4775
4776 2003-07-29  Angus Leeming  <leeming@lyx.org>
4777
4778         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4779         certainly does not do what it purports to do. I am doing it, and
4780         us, a favour by killing it.
4781
4782 2003-07-28  José Matos  <jamatos@lyx.org>
4783
4784         * buffer.C (readBody, do_writeFile):
4785         * paragraph.C(readParagraph): \end_document replaces \the_end.
4786
4787 2003-07-29  André Pönitz  <poenitz@gmx.net>
4788
4789         * BufferView.[Ch]:
4790         * BufferView_pimpl.[Ch]:
4791         * lyxfunc.C:
4792         * text2.C:
4793         * text3.C:
4794         * textcursor.[Ch]: remove toggleToggle & Co
4795
4796 2003-07-28  José Matos  <jamatos@fep.up.pt>
4797
4798         * buffer.C (readParagraph):
4799         * params_func (readParToken, readParagraph):
4800         * paragraph.C (write): \layout -> \begin_layout.
4801
4802 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * lyxlex_pimpl.C (setFile): clean up slightly.
4805
4806         * bufferparams.h: add compressed var
4807
4808         * buffer_funcs.C (readFile): adjust for LyXLex change
4809         (newFile): ditto + simplify
4810
4811         * buffer.C (writeFile): handle writing of compressed files
4812
4813         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4814         Check if the file is compressed and set a bufferparm if so.
4815
4816         * Makefile.am (lyx_LDADD): remove explicit -lz
4817
4818 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4819
4820         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4821         makeDocBookFile): put the real LyX version in the first line of
4822         the file
4823
4824         * version.h:
4825         * version.C.in: remove lyx_docversion
4826
4827         * tabular.C (write_attribute): add a template-based version to
4828         write enums properly
4829
4830 2003-07-28  André Pönitz  <poenitz@gmx.net>
4831
4832         * lyxtext.h:
4833         * text.C:
4834         * text2.C:
4835         * text3.C: use doubles again for x-coordinates. They are needed.
4836
4837 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * messages.C (getLocaleDir): use lyx_localedir()
4840
4841         * lyxlex_pimpl.C (setFile): compress stuff
4842
4843         * buffer.C (writeFile): add some compression stuff
4844         (do_writeFile): new func, dont call expliti close... will this
4845         breake anything?
4846
4847         * Makefile.am (lyx_LDADD): add -lz
4848
4849 2003-07-28  José Matos  <jamatos@fep.up.pt>
4850
4851         * buffer.C: increment file format.
4852         * paragraph_funcs (readParagraph, readParToken):
4853         * paragraph.C (readParagraph): add \end_layout.
4854
4855 2003-07-27  Angus Leeming  <leeming@lyx.org>
4856
4857         * Makefile.am: remove special casing for configure-time setting of
4858         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4859
4860         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4861         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4862
4863 2003-07-26  André Pönitz  <poenitz@gmx.net>
4864
4865         * paragraph_func.[Ch]:
4866         * paragraph.C (realizeFont): inline it whereever it is used
4867
4868         * rowpainter.C:
4869         * text.C:
4870         * text2.C:
4871         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4872
4873
4874 2003-07-26  André Pönitz  <poenitz@gmx.net>
4875
4876         *       lyxtext.h:
4877         * text.C:
4878         * text2.C: get rid of LyXText::need_break_row
4879
4880 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4881
4882         * toc.[Ch]: put namespace toc inside namespace lyx
4883
4884         * MenuBackend.C (expandToc2): adjust for lyx::toc
4885         (expandToc): ditto
4886
4887         * lyxfunc.C (dispatch): adjust for lyx::find
4888
4889         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4890         lyx::find instead. Reorganize a bit.
4891         (LyXReplace): rename to replace
4892         (LyXFind): rename to find
4893
4894         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4895         (dispatch): ditto
4896
4897 2003-07-26  André Pönitz  <poenitz@gmx.net>
4898
4899         * text.C (setHeightOfRow): restrict scope of temporary variable
4900
4901         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4902           code (never has been used?)
4903
4904 2003-07-27  Asger Alstrup  <alstrup@local>
4905
4906         * text.C (fill): Optimise algorithm to exploit that we can reuse
4907         the LyXFont for many characters.
4908         (setHeightOfRow): Same thing.
4909         (rowBreakPoint): Same thing.
4910
4911 2003-07-26  Asger Alstrup  <alstrup@local>
4912
4913         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4914
4915         * text.C (singleWidth): Spurious font copying in hot-spot
4916         singleWidth avoided. Reorder tests for arabic for efficiency.
4917
4918         * text.C (fill): handle empty paragraphs better.
4919
4920 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4921
4922         * ispell.C:
4923         * encoding.h: add includes
4924
4925         * lyxrc.C: remove reading of bind files
4926
4927         * lyx_main.C (init): setup bindings and menus only if we have a
4928         gui.
4929
4930         * kbmap.C (read): new method. Do the actual reading of bind
4931         files.
4932
4933         * converter.C (dvipdfm_options):
4934         * bufferparams.C:
4935         * lyxrc.C (read):
4936         (output): adapt PAPER_* enums.
4937
4938         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4939
4940         * bufferparams.h: remove paper-related enums from there
4941
4942         * paper.h: New file. A trivial header file to hold paper-related
4943         enums. It should later expand to contain many paper-related
4944         horrors access.
4945
4946         * lyxrc.C: declare extern displayTranslator
4947
4948 2003-07-27  José Matos  <jamatos@fep.up.pt>
4949
4950         * tabular.[Ch] (linuxdoc): add support for tables and figures
4951         (linuxdoc).
4952
4953 2003-07-27  José Matos  <jamatos@fep.up.pt>
4954
4955         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4956         consistency in both functions.
4957         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4958
4959 2003-07-26  Asger Alstrup  <alstrup@local>
4960
4961         * rowpainter.C (paintRows): Change algorithm to work directly on
4962         the insets rather than asking every character in the document
4963         whether its an inset.
4964
4965 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4966
4967         * buffer.C (openFileWrite): factorize some code
4968
4969 2003-07-26  Angus Leeming  <leeming@lyx.org>
4970
4971         * lyx_cb.C:
4972         * lyx_main.[Ch]: replace occurances of system_tempdir with
4973         os::getTmpDir().
4974
4975 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4976
4977         * rename Inset to InsetOld
4978
4979 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4980
4981         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4982         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4983         which I think is a bit clearer. EDIT is gone, since it was
4984         premature optimisation, and broken for mathed anyway.
4985         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4986         with cursor positioning in insets as well (math insets still do not
4987         work, but that's a different story anyway.) It mysteriously
4988         crashes sometimes with undo in the first paragraph, but I'm fairly
4989         confident that this is a compiler bug.
4990
4991 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4992
4993         * paragraph.C (Paragraph): adjust for new clone return type
4994         (operator==): ditto
4995         (copyIntoMinibuffer): ditto
4996
4997 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4998
4999         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5000         by not having a special case, and always doing a full rebreak of
5001         the document after undo.
5002
5003 2003-07-23  Angus Leeming  <leeming@lyx.org>
5004
5005         * factory.C (createInset): InsetExternal::setParams now takes a
5006         Buffer const * arg.
5007
5008 2003-07-23  Angus Leeming  <leeming@lyx.org>
5009
5010         * factory.C (createInset): changed interface to the external and
5011         graphics mailers' string2params functions.
5012
5013 2003-07-23  Angus Leeming  <leeming@lyx.org>
5014
5015         * factory.C (createInset): pass a
5016         Buffer const * parameter to InsetExternalMailer's string2params.
5017
5018 2003-07-22  John Levon  <levon@movementarian.org>
5019
5020         * Thesaurus.h: include the right aiksaurus header
5021
5022 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5023
5024         * MenuBackend.C (expand): check menu shortcuts unconditionally
5025
5026 2003-07-21  Angus Leeming  <leeming@lyx.org>
5027
5028         * factory.C (createInset): pass a
5029         buffer_path parameter to InsetGraphicsMailer's string2params.
5030
5031 2003-07-21  Angus Leeming  <leeming@lyx.org>
5032
5033         * BufferView_pimpl.C (buffer):
5034         * buffer.C (d-tor):
5035         * lyx_main.C (LyX):
5036         * lyxfunc.C (dispatch):
5037         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5038         rather than the grfx shortcut.
5039
5040 2003-07-21  André Pönitz  <poenitz@gmx.net>
5041
5042         * rowpainter.C: remove unused variables
5043
5044         * tabular_funcs.C:
5045         * tabular_funcs.h: move to tabular.C
5046         * Makefile.am: adjust
5047
5048         * tabular.[Ch]: basic optical cleaning
5049
5050         * author.h: pass references, not values
5051
5052 2003-07-18  André Pönitz  <poenitz@gmx.net>
5053
5054         * lyxtext.h:
5055         * metricsinfo.C:
5056         * metricsinfo.h:
5057         * rowpainter.C:
5058         * text.C:
5059         * text2.C:
5060         * text3.C: two-phase drawing for InsetText and InsetTabular
5061         some float -> int changes.
5062
5063 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * lyx_main.C: fix the fix
5066
5067 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * lyx_main.C: fix a crash in batch mode if no files specified
5070         * converter.C: ws
5071
5072 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * format.[Ch] (papersize): moved to BufferParams
5075         * converter.[Ch] (dvips_options): moved to BufferParams
5076         (dvipdfm_options): moved to anon namespace
5077         * bufferparams.[Ch]: added above functions.
5078
5079 2003-07-17  André Pönitz  <poenitz@gmx.net>
5080
5081         * lyxtext.h:
5082         * rowpainter.C:
5083         * text2.C: don't call inset->update() anymore
5084
5085         * metricsinfo.[Ch]: add convenience constructor
5086
5087 2003-07-16  André Pönitz  <poenitz@gmx.net>
5088
5089         * lyxcursor.[Ch]:
5090         * lyxfunc.[Ch]:
5091         * text.C:
5092         * text2.C: replace the LyXCursor::irow_ member with
5093          on-demand computation of the value
5094
5095 2003-07-16  John Levon  <levon@movementarian.org>
5096
5097         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5098
5099 2003-07-15  André Pönitz  <poenitz@gmx.net>
5100
5101         * text.C:
5102         * text2.C: remove no more needed refresh_row
5103
5104 2003-07-15  André Pönitz  <poenitz@gmx.net>
5105
5106         * lyxtext.h:
5107         * rowpainter.C:
5108         * text2.C:
5109         * text3.C: refresh_status tristate -> need_update bool
5110
5111 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * lyxtext.h (init): remove reinit argument (act as if always true)
5114         * text2.C: adjust to that
5115
5116 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5117
5118         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5119         * text3.C: use it to delete selections in some cases
5120         (bugs 441, 673, 702, 954).
5121
5122 2003-07-14  André Pönitz  <poenitz@gmx.net>
5123
5124         * rowpainter.[Ch]: reduce interface
5125
5126 2003-07-14  André Pönitz  <poenitz@gmx.net>
5127
5128         * BufferView_pimpl.C:
5129         * text2.C: adjust after removing unused BufferView * argument
5130
5131 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5132
5133         * text2.C (init): fix a crash fired on resize
5134
5135 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5136
5137         * buffer.[Ch]: added new closing signal
5138         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5139         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5140         BufferView::Pimpl via the closing the signal
5141
5142 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5143
5144         * buffer.[Ch]: take out all bv-related from buffer
5145         * BufferView.C:
5146         * BufferView_pimpl.[Ch]: connect to new signals
5147         * CutAndPaste.C: removed useless asserts
5148         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5149         * lyxvc.[Ch]:
5150         * vc-backend.[Ch]:
5151         * lyxfunc.C: moved view-related funciontality from vc here
5152         * paragraph.C: removed outdated comments
5153         * text.C: ws
5154
5155 2003-07-10  André Pönitz  <poenitz@gmx.net>
5156
5157         * BufferView_pimpl.C:
5158         * tabular.h:
5159         * tabular_funcs.C:
5160         * text.C:
5161         * text2.C: remove InsetText::InnerCache, clean up consequences
5162
5163 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5164
5165         * ispell.C: fix two typos in error messages
5166
5167 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5168
5169         * Extend Note inset to other forms of annotation like Comment
5170         and Greyedout. Right button click gives dialog.
5171
5172         Files modified or added (+):
5173
5174         * insetnote.[Ch]
5175         * FormNote.[Ch]      +
5176         * ControlNote.[Ch]   +
5177         * form_note.fd       +
5178         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5179         frontends/controllers
5180         * xforms/Dialogs.C
5181         * factory.C
5182
5183 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5184
5185         * aspell.C: add missing namespace lyx::support
5186
5187 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5188
5189         * BufferView.[Ch] (newFile): Add
5190         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5191         * LaTeX.[Ch] (message): added this signal and use it
5192         * buffer.[Ch] (busy, message): added these signals and use them
5193         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5194         * converter.C:
5195         * exporter.C:
5196         * format.C:
5197         * importer.C: use buffer signals instead of direct bv calling
5198         * lyx_cb.[Ch] (ShowMessage): removed
5199         * lyx_main.C:
5200         * lyxfunc.C:
5201         * paragraph_funcs.C:
5202         * text2.C: use buffer signals
5203
5204 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5205
5206         * introduce namespace lyx::graphics
5207
5208 2003-07-02  André Pönitz  <poenitz@gmx.net>
5209
5210         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5211
5212 2003-07-01  André Pönitz  <poenitz@gmx.net>
5213
5214         * text.C:
5215         * text2.C:
5216         * text3.C:
5217         * text_funcs.[Ch]:
5218         * textcursor.h:
5219         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5220           text*.C to text_func.C
5221
5222 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * introduce namespace lyx::support
5225
5226 2003-06-30  André Pönitz  <poenitz@gmx.net>
5227
5228         * Chktex.C:
5229         * funcrequest.C:
5230         * lyxtext.h:
5231         * text.C: re-enable --with-included-string
5232
5233 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * textcursor.C: add <config.h>
5236
5237         * text.C (getWord): remove const from word_location arg
5238
5239         * lyxvc.C (getLogFile): fix const type order
5240
5241         * lyxtext.h: remove const from word_location arg, add arg name
5242
5243         * lyxlayout.h: currect type on labeltype.
5244
5245         * importer.C: correct \file
5246
5247         * converter.C (intToFormat): use std:: on ret val, ws changes
5248
5249         * bufferlist.h: correct \file
5250
5251         * buffer.C (makeLinuxDocFile): fix const type order
5252         (makeDocBookFile): ditto
5253         (fillWithBibKeys): use std:: on stdlib args.
5254
5255         * CutAndPaste.C: fix authors.
5256         (availableSelections): use std:: on return vector
5257
5258 2003-06-27  André Pönitz  <poenitz@gmx.net>
5259
5260         * BufferView_pimpl.C:
5261         * bufferview_funcs.C:
5262         * lyxcursor.C:
5263         * lyxcursor.h:
5264         * lyxfunc.C:
5265         * lyxtext.h:
5266         * rowpainter.C:
5267         * text.C:
5268         * text2.C:
5269         * text3.C: remove LyXCursor::row_ member
5270
5271         * lyxtext.h:
5272         * text.C: rename fullRebreak() to partialRebreak() and implement
5273           a fullRebreak() that really bereks fully
5274
5275         * textcursor.h: new struct for cursor-related data
5276
5277 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5278
5279         * lyx_main.C (LyX): get full path of document loaded on the
5280         command line
5281
5282 2003-06-26  André Pönitz  <poenitz@gmx.net>
5283
5284         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5285           remove unused/broken operator>,<,>=.
5286
5287         *       text.C: remove only use of broken operator<= in an Assert().
5288
5289 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5290
5291         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5292         moved errorlist_.clear to showErrorList
5293
5294 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5295
5296         * converter.C (scanLog, runLaTeX):
5297         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5298         move the bv->showErrorList call to the callers
5299         * lyxfunc.C: i.e. here...
5300         * text2.C: and here
5301         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5302         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5303         namespace, the second to...
5304         * buffer_funcs (BufferFormat, parseErrors): added
5305         * errorlist.C (ErrorList(TeXErrors const &)): removed
5306
5307 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5308
5309         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5310
5311 2003-06-24  "Garst R. Reese" <reese@isn.net>
5312
5313         * debug.C: fix typo
5314
5315 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5316
5317         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5318
5319         * version.C.in: change docversion to 1.4
5320
5321 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5322
5323         * buffer.C: fix a bug just introduced
5324
5325 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5326
5327         * buffer.[Ch]: added the parseError signal and use it, removed
5328         sgmlError
5329         * BufferView.[Ch] (addError): moved to ...
5330         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5331         to the Buffer::parseError signal to catch (guess what) parse errors
5332         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5333
5334 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5335
5336         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5337         ability to create a buffer and to return an existing one from
5338         the list. Moved these functions to...
5339         * buffer_funcs.[Ch]: added
5340         * BufferView.[Ch] (loadLyXFile): added
5341         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5342         job removed from bufferlist::loadLyXFile.
5343         * buffer.C (setReadOnly): make it work without view
5344         (i.e added an if (users))
5345
5346 2003-06-19  Angus Leeming  <leeming@lyx.org>
5347
5348         * lfuns.h:
5349         * LyXAction.C (init):
5350         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5351         with LFUN_DIALOG_SHOW <name> <data>.
5352
5353 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5354
5355         * CutAndPaste.C (availableSelections): small compilation fix for
5356         ancient (gcc 2.9x) compilers
5357
5358 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * text3.C (cursorNext): add tmp var
5361
5362         * text2.C (updateCounters): for function calling out of for clause
5363         (replaceSelectionWithString): ditto
5364         (insertStringAsParagraphs): ditto
5365         (getColumnNearX): add tmp var
5366         (setCursorFromCoordinates): add tmp var
5367         (cursorDownParagraph): add tmp var
5368         (deleteEmptyParagraphMechanism): add tmp var
5369
5370         * text.C (insertChar): add tmp var
5371
5372         * rowpainter.C (paintDepthBar): add tmp var
5373
5374         * CutAndPaste.C (availableSelections): potentially check all
5375         paragraphs in a cut to fill the shown strings.
5376
5377 2003-06-18  André Pönitz  <poenitz@gmx.net>
5378
5379         * kbmap.[Ch]: use vector<> instead of list<>
5380
5381 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5382
5383         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5384         pasteSelection with index
5385
5386         * text2.C (pasteSelection): modify, call pasteSelection with index
5387
5388         * paragraph.C (asString): reimplement version with no interval to
5389         call the one with interval.
5390
5391         * lyxtext.h: add index arg to pasteSelection
5392
5393         * MenuBackend.C (MenuItem): handle PasteRecent
5394         (Menu::read::Menutags): add md_pasterecent
5395         (read): handle it
5396         (expandPasteRecent): new function
5397         (expand): use it
5398
5399         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5400
5401         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5402         the limited stack
5403         (availableSelections): new function
5404
5405 2003-06-17  Angus Leeming  <leeming@lyx.org>
5406
5407         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5408
5409 2003-06-17  Angus Leeming  <leeming@lyx.org>
5410
5411         * lfuns.h:
5412         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5413
5414         * lyxfunc.C (dispatch): invoke it.
5415
5416 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5417
5418         * iterators.C (operator++, ParPosition): reintroduce some
5419         const_cast for the benefit of older compilers.
5420
5421 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5422
5423         * text3.C (dispatch): do not modify clipboard when doing
5424         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5425         LFUN_DELETE_SKIP on a selection selection
5426
5427 2003-06-16  André Pönitz  <poenitz@gmx.net>
5428
5429         * BufferView.C:
5430         * buffer.C:
5431         * buffer.h:
5432         * paragraph.C:
5433         * tabular.[Ch]: IU of clone() and getLabelList();
5434
5435 2003-06-13  André Pönitz  <poenitz@gmx.net>
5436
5437         * tabular.h: compactification
5438
5439 2003-06-12  André Pönitz  <poenitz@gmx.net>
5440
5441         * tabular.C:
5442         * tabular.h:
5443         * tabular_funcs.h: some renaming plus whitespace
5444
5445 2003-06-12  André Pönitz  <poenitz@gmx.net>
5446
5447         * BufferView.C:
5448         * BufferView_pimpl.C:
5449         * CutAndPaste.C:
5450         * buffer.C:
5451         * iterators.[Ch]:
5452         * lyxfunc.C:
5453         * text.C:
5454         * toc.C: Return a Paragraph & for ParIterator::operator*()
5455
5456 2003-06-11  John Levon  <levon@movementarian.org>
5457
5458         * lyx_main.C:
5459         * ToolbarBackend.h:
5460         * ToolbarBackend.C: add "Toolbars" section and
5461         put the flags there
5462
5463 2003-06-10  Angus Leeming  <leeming@lyx.org>
5464
5465         * lfuns.h:
5466         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5467
5468         * lyxfunc.C (dispatch): invoke it.
5469
5470 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * main.C: protect <ios> with HAVE_IOS
5473         (main): protect sync_with_stdio with HAVE_IOS
5474
5475 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5476
5477         * text2.C (cutSelection): adjust
5478         (pasteSelection): adjust
5479
5480         * messages.C: handle get of empty string
5481
5482         * main.C (main): use sync_with_stdio(false)
5483
5484         * lyxfunc.C (dispatch): adjust
5485
5486         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5487         (WriteAs): remove unneeded BufferView arg.
5488
5489         * bufferparams.h: use correct types on papersize, papersize2 and
5490         paperpackage.
5491
5492         * bufferparams.C (readToken): adjust for type
5493         (writeLaTeX): add missing cases to switch.
5494
5495         * bufferlist.C (quitWriteBuffer): adjust
5496         (close): adjust
5497
5498         * buffer.C (asciiParagraph): remove some commented code.
5499
5500         * CutAndPaste.C: remove current_view extern variable.
5501         (cutSelection): add BufferParams arg.
5502         (eraseSelection): add BufferParams arg.
5503         (pasteSelection): add Buffer const & arg
5504
5505 2003-06-07  John Levon  <levon@movementarian.org>
5506
5507         * buffer.C:
5508         * paragraph_funcs.C:
5509         * paragraph_pimpl.C:
5510         * text.C:
5511         * text2.C:
5512         * paragraph.h:
5513         * paragraph.C: allow InsetERT to freely space lines,
5514         and some consolidation of code
5515
5516 2003-06-06  José Matos  <jamatos@fep.up.pt>
5517
5518         * buffer.C (makeDocBookFile): fix bug #821
5519
5520 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5521
5522         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5523
5524 2003-06-04  Angus Leeming  <leeming@lyx.org>
5525
5526         * buffer.C: bump format to 224.
5527
5528 2003-06-05  André Pönitz  <poenitz@gmx.net>
5529
5530         * text2.C (redoParagraphs): remove two const_cast<>
5531
5532 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5533
5534         * ParagraphList.h: remove last remnants of NO_STD_LIST
5535
5536 2003-06-03  Angus Leeming  <leeming@lyx.org>
5537
5538         * factory.C (createInset): small change to the way InsetExternal's params
5539         are set.
5540
5541 2003-06-04  André Pönitz  <poenitz@gmx.net>
5542
5543         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5544
5545         * paragraph_pimpl.h:
5546         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5547
5548         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5549
5550         * undo_funcs.C: make some simple cases of undo work again
5551
5552 2003-06-03  John Levon  <levon@movementarian.org>
5553
5554         * ispell.C: HPUX doesn't have sys/select.h
5555         (from Albert Chin)
5556
5557 2003-06-03  John Levon  <levon@movementarian.org>
5558
5559         * CutAndPaste.C: update tabular and include inset
5560         buffer references
5561
5562         * buffer.h:
5563         * paragraph.h:
5564         * paragraph.C: remove owningBuffer(), don't pass Buffer
5565         to clone()
5566
5567         * factory.C: insetGraphicsParams changed
5568
5569 2003-06-02  John Levon  <levon@movementarian.org>
5570
5571         * LyXAction.C:
5572         * factory.C:
5573         * lfuns.h:
5574         * lyxfunc.C:
5575         * text3.C: remove insetparent
5576
5577 2003-06-02  John Levon  <levon@movementarian.org>
5578
5579         * buffer.h:
5580         * buffer.C: fix inset_iterator.end(), move out of line
5581         (bug 1149)
5582
5583 2003-06-01  John Levon  <levon@movementarian.org>
5584
5585         * text3.C: use a proper cut/paste when doing inset
5586         insert (from Jürgen Spitzmüller)
5587
5588 2003-06-01  John Levon  <levon@movementarian.org>
5589
5590         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5591
5592 2003-05-30  André Pönitz  <poenitz@gmx.net>
5593
5594         * rowpainter.C: unify second drawing phase
5595
5596 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * trans_mgr.C: remove one case of current_view
5599
5600         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5601
5602         * paragraph_funcs.h: remove paragraph.h include
5603
5604         * paragraph.h: delete NO_STD_LIST stuff
5605
5606         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5607
5608         * buffer.h: remove paragraph.h include
5609
5610         * ParagraphList.C: delete file
5611
5612         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5613
5614         * toc.C (getTocList): adjust
5615
5616         * paragraph_pimpl.C (validate): adjust
5617
5618         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5619
5620         * paragraph.C (Paragraph): adjust
5621         (getPositionOfInset): use const_iterator, adjust
5622         (bibitem): use const_iterator, adjust
5623         (setInsetOwner): adjust
5624
5625         * iterators.C (operator++): adjust
5626
5627         * InsetList.[Ch]: Replace selfmade iterator with standard
5628         vector::iterator also introduce const_iterator. Remove getPos,
5629         getInset and setInset from InsetTable. Adjust accordingly.
5630
5631         * BufferView.C (lockInset): adjust
5632         (ChangeInsets): adjust
5633
5634         * tabular.[Ch]: delete commented same_id functions
5635
5636 2003-05-28  John Levon  <levon@movementarian.org>
5637
5638         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5639
5640 2003-05-28  André Pönitz  <poenitz@gmx.net>
5641
5642         * metricsinfo.[Ch]: remove 'fullredraw' member
5643
5644 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5645
5646         * lyxtextclass.C (operator): remove caching.
5647
5648 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5649
5650         * text3.C: adjust
5651
5652         * text2.C (cursorBottom): adjust
5653         (setCounter): use ParagraphList::find, adjust
5654
5655         * text.C (workWidth): use ParagraphList::find, adjust
5656
5657         * lyxcursor.C (LyXCursor): adjust
5658
5659         * buffer.C (inset_iterator): adjust
5660
5661         * ParagraphList.h: make iterator(value_type) private, make
5662         ParagraphList a friend of iterator.
5663
5664         * ParagraphList.C (find): new function
5665
5666         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5667
5668 2003-05-27  André Pönitz  <poenitz@gmx.net>
5669
5670         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5671
5672 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5673
5674         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5675
5676 2003-05-26  John Levon  <levon@movementarian.org>
5677
5678         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5679
5680 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * remove same_id from function signatures, adjust.
5683
5684 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5687
5688         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5689
5690         * paragraph.C (Paragraph): get rid of same_ids parameter
5691
5692         * ParagraphList.C (insert): adjust
5693         (push_back): adjust
5694
5695 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * paragraph_funcs.C (breakParagraph): adjust
5698         (breakParagraphConservative): adjust
5699
5700         * buffer.C (readParagraph): adjust
5701
5702         * ParagraphList.C (insert): take a reference instead of a pointer
5703         (insert): adjust
5704
5705         * paragraph.[Ch] (id): new function
5706
5707         * bufferlist.C (newFile): adjust
5708
5709         * ParagraphList.C (ParagraphList): adjust
5710         (assign): adjust
5711         (push_back): take a reference instead of a pointer.
5712
5713         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5714
5715         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5716         instead.
5717
5718         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5719         set else use old code.
5720
5721         * ParagraphList.C: remove all NO_NEXT code and only compile this
5722         code of NO_STD_LIST is set.
5723
5724 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5725
5726         * BufferView_pimpl.C:
5727         * TextCache.C:
5728         * TextCache.h:
5729         * bufferlist.C:
5730         * errorlist.h:
5731         * format.C:
5732         * format.h:
5733         * graph.C:
5734         * lyxfunc.C:
5735         * lyxrc.C:
5736         * graphics/GraphicsConverter.C:
5737         * graphics/PreviewLoader.C: header adjustment
5738
5739 2003-05-23  Angus Leeming  <leeming@lyx.org>
5740
5741         * LaTeXFeatures.[Ch] (useBabel): new method.
5742         * bufferparams.C (writeLaTeX): use it.
5743
5744 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * ParagraphList.h (set): remove unused function.
5747
5748 2003-05-23  André Pönitz  <poenitz@gmx.net>
5749
5750         * BufferView.C:
5751         * BufferView_pimpl.C:
5752         * buffer.C:
5753         * buffer.h:
5754         * lyxfunc.C:
5755         * undo_funcs.C: setUndo reworked
5756
5757         * iterators.[Ch]: add access to topmost ParagraphList
5758
5759         * lyxtext.[Ch] (workWidth): add a const
5760
5761 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5762
5763         * texrow.[Ch] (increasePos): remove function
5764         * exporter.C (export): removed unused var and outdated comment
5765
5766 2003-05-23  Angus Leeming  <leeming@lyx.org>
5767
5768         * latexrunparams.h: rename fragile as moving_arg.
5769         * paragraph.C (simpleTeXOnePar): ditto.
5770         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5771
5772 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5775         (createUndo): ditto
5776         (textUndoOrRedo): comment out a currently unused var.
5777
5778         * paragraph.h (NO_NEXT): enable NO_NEXT
5779
5780         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5781
5782         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5783
5784         * exporter.C (Export): adjust for removeAutoInsets removal.
5785
5786         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5787
5788         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5789
5790         * BufferView.[Ch] (removeAutoInsets): delete function
5791
5792 2003-05-22  Angus Leeming  <leeming@lyx.org>
5793
5794         * latexrunparams.h: add a free_spacing variable.
5795
5796         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5797         to pass moving_arg, as the data is stored in runparams.fragile.
5798
5799         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5800         to Inset::latexOptional or to simpleTeXOnePar.
5801
5802         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5803         free_spacing arg to Inset::latexOptional.
5804
5805         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5806         free_spacing arg.
5807
5808 2003-05-22  Angus Leeming  <leeming@lyx.org>
5809
5810         * latexrunparams.h: add fragile and use_babel variables.
5811
5812         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5813         * buffer.C (makeLaTeXFile): store this returned value in
5814         runparams.use_babel, thus passing it to the inset::latex methods.
5815
5816         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5817         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5818
5819         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5820         longer has a fragile arg, as it is stored in runparams.fragile.
5821
5822         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5823         moving_arg parameter as the data is stored in runparams.fragile.
5824
5825         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5826         a fragile parameter as the data is stored in runparams.fragile.
5827
5828 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5831
5832 2003-05-22  Angus Leeming  <leeming@lyx.org>
5833
5834         * latexrunparams.h: add a 'bool nice' which defaults to false.
5835
5836         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5837         now encapsulated within runparams.
5838
5839         * bufferlist.C (updateIncludedTeXfiles):
5840         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5841
5842 2003-05-22  Angus Leeming  <leeming@lyx.org>
5843
5844         * latexrunparams.h: new file containing struct LatexRunParams.
5845         * Makefile.am: add new file.
5846
5847         * LaTeX.[Ch] (c-tor, run):
5848         * buffer.[Ch] (makeLaTeXFile):
5849         * bufferlist.[Ch] (updateIncludedTeXfiles):
5850         * converter.C (convert, scanLog):
5851         * converter.[Ch] (runLaTeX):
5852         * exporter.C (Export):
5853         * paragraph.[Ch] (simpleTeXOnePar):
5854         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5855         * paragraph_funcs.[Ch] (latexParagraphs):
5856         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5857         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5858         pass around a LatexRunParams parameter.
5859
5860 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5861
5862         * paragraph.[Ch]: remove unused constructor
5863
5864         * ParagraphList.C (erase): new function, taking two iterators
5865
5866 2003-05-22  André Pönitz  <poenitz@gmx.net>
5867
5868         * undo_funcs.C: remove duplicated code
5869
5870         * iterator.[Ch]: operator=
5871
5872 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * tabular.C (SetMultiColumn): ws changes
5875
5876         * rowpainter.C (paintFirst): get rid of a ->previous
5877
5878         * lyx_cb.C (getPossibleLabel): parlist simplification
5879
5880         * BufferView.C (ChangeInsets): simplify slightly.
5881
5882 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5883
5884         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5885         * lfuns.h: new LFUN_SPACE
5886         * lyxfunc.C: protected space has a new lfun
5887         * paragraph_funcs.C: read new space insets
5888         * text3.C:
5889         * factory.C: handle new space insets
5890
5891 2003-05-22  André Pönitz  <poenitz@gmx.net>
5892
5893         * BufferView.C:
5894         * BufferView_pimpl.C:
5895         * buffer.[Ch]:
5896         * lyxfunc.C:
5897         * undo_funcs.C: return a ParIterator from getParFromID.
5898
5899         * iterators.[Ch]: add two const's
5900
5901 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5902
5903         * toc.C (getTocList): adjust
5904
5905         * iterators.[Ch]: rework for parlist
5906
5907         * buffer.C (par_iterator_begin): adjust
5908         (par_iterator_end): adjust
5909
5910         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5911
5912         * BufferView.C (removeAutoInsets): adjust
5913         (ChangeInsets): adjust
5914
5915 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5916
5917         * text.C (top_y): fix bug 1110
5918
5919 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5920
5921         * errorlist.[Ch]: added
5922         * buffer.C:
5923         * BufferView.[Ch]:
5924         * BufferView_pimpl.C:
5925         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5926         instead
5927
5928 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5929
5930         * Makefile.am: ensure that lyx is relinked upon changes to the
5931         various "convenience" libs.
5932
5933 2003-05-20  Angus Leeming  <leeming@lyx.org>
5934
5935         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5936         files are compiled in alphabetical order again.
5937
5938         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5939
5940 2003-05-19  Angus Leeming  <leeming@lyx.org>
5941
5942         * gettext.[Ch]: remove "char const * _(char const *)".
5943
5944 2003-05-19  André Pönitz  <poenitz@gmx.net>
5945
5946         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5947
5948         * Makefile.am:
5949         * BufferView.C:
5950         * DepTable.h:
5951         * LaTeXFeatures.C:
5952         * buffer.C:
5953         * lyxfont.C:
5954         * lyxlex.h:
5955         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5956
5957 2003-05-19  André Pönitz  <poenitz@gmx.net>
5958
5959         * buffer.C:
5960         * lyxlayout.[Ch]:
5961         * lyxtextclass.[Ch]:
5962         * paragraph.C:
5963         * paragraph_funcs.[Ch]:
5964         * text2.C:
5965         * text3.C: more insetenv work
5966
5967 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5968
5969         * ParagraphParameters.C (params2string): small bug fixed
5970
5971 2003-05-16  André Pönitz  <poenitz@gmx.net>
5972
5973         * debug.C:
5974         * bufferview_funcs.C: patch from Kornel Benko to prevent
5975           crash when _(...) is called twice in a statement
5976
5977 2003-05-16  André Pönitz  <poenitz@gmx.net>
5978
5979         * BufferView.C:
5980         * lyxfunc.C:
5981         * text.C:
5982         * text2.C:
5983         * text3.C:
5984         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5985
5986 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5987
5988         * lyx_main.C (init): remove spurious static_cast
5989
5990 2003-05-14  André Pönitz  <poenitz@gmx.net>
5991
5992         * BufferView.C: fix format string
5993
5994 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5995
5996         * BufferView.[Ch] (insertErrors): removed
5997         * BufferView.[Ch] (showErrorList): added
5998         * buffer.C (runChkTeX):
5999         * converter.C (scanLog): call showErrorList instead of inserterrors
6000
6001 2003-05-13  André Pönitz  <poenitz@gmx.net>
6002
6003         * BufferView_pimpl.C:
6004         * buffer.C:
6005         * bufferview_func.C:
6006         * MenuBackend.C:
6007         * lyxfunc.C:
6008         * lyxrc.C:
6009         * tex-accent.C:
6010         * text3.C:
6011         * toc.C:
6012         * tabular_funcs.h: tostr() from its own header
6013
6014         * ParagraphParameters.C:
6015         * ToolbarBackend.C:
6016         * bufferparams.C:
6017         * format.C:
6018         * lyxlex_pimpl.C:
6019         * text3.C: STRCONV()
6020
6021 2003-05-12  André Pönitz  <poenitz@gmx.net>
6022
6023         * BufferView.C:
6024         * BufferView_pimpl.C:
6025         * CutAndPaste.C:
6026         * LaTeX.C:
6027         * LaTeXFeatures.C:
6028         * ParagraphParameters.C:
6029         * buffer.C:
6030         * bufferlist.C:
6031         * bufferparams.C:
6032         * bufferview_funcs.C:
6033         * converter.C:
6034         * counters.C:
6035         * debug.C:
6036         * exporter.C:
6037         * format.C:
6038         * importer.C:
6039         * lyx_cb.C:
6040         * lyx_main.C:
6041         * lyxfont.C:
6042         * lyxfunc.C:
6043         * lyxvc.C:
6044         * paragraph.C:
6045         * paragraph_funcs.C:
6046         * tabular.C:
6047         * tabular_funcs.C:
6048         * text2.C:
6049         * text3.C:  boost::format -> bformat  all over the place
6050
6051
6052 2003-05-09  André Pönitz  <poenitz@gmx.net>
6053
6054         * LColor.[Ch]: Pimpl the #include <map> away
6055
6056 2003-05-09  John Levon  <levon@movementarian.org>
6057
6058         * bufferlist.C: never remove emergency saves
6059
6060 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6061
6062         * Makefile.am: better lib building
6063
6064 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6067         instead.
6068         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6069         (simpleTeXSpecialChars): adjust
6070         (simpleTeXSpecialChars): adjust
6071         * paragraph.C (simpleTeXOnePar): adjust
6072         * buffer.C (makeLaTeXFile): adjust
6073
6074         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6075
6076         * text2.C (changeDepth): parlist cleanup
6077         (getColumnNearX): ditto
6078
6079         * rowpainter.C (getLabelFont): parlist cleanup
6080
6081         * bufferlist.C (newFile): parlist cleanup
6082
6083         * CutAndPaste.C (eraseSelection): parlist cleanup
6084
6085         * BufferView_pimpl.C (trackChanges): parlist cleanup
6086         (dispatch): ditto
6087
6088         * BufferView.C (lockInset): parlist cleanup.
6089         (ChangeInsets): ditto
6090
6091 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * CutAndPaste.h: Update file header.
6094
6095         * CutAndPaste.C: Update file header.
6096         Store the parts cut out of the Document in a limited_stack.
6097         (copySelection): adjust
6098         (pasteSelection): new function, takes the index in the limited stack.
6099         (nrOfParagraphs): adjust
6100         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6101         simplify error inset insertion.
6102         (checkPastePossible): adjust
6103
6104 2003-05-06  John Levon  <levon@movementarian.org>
6105
6106         * text2.C: don't cast wrap inset to float
6107
6108 2003-05-05  André Pönitz  <poenitz@gmx.net>
6109
6110         * iterator.C:
6111         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6112
6113         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6114           few naked Paragraph *.
6115
6116 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6117
6118         * bufferparams.C: Output warning if a document with missing
6119         TeX document class is loaded
6120         * exporter.C: Disable TeX exports if the document class is missing
6121         * lyxtextclass.C:
6122         * lyxtextclass.h:
6123         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6124         isTeXClassAvailable()
6125
6126 2003-05-03  John Levon  <levon@movementarian.org>
6127
6128         * BufferView.h:
6129         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6130         explicit cursor show/hide
6131
6132         * BufferView_pimpl.h:
6133         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6134         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6135
6136         * lyxfunc.C: hide cursor before dispatching.
6137
6138         * lyx_cb.C:
6139         * lyxfind.C:
6140         * text.C:
6141         * text3.C: remove explicit cursor hides
6142
6143 2003-05-02  André Pönitz  <poenitz@gmx.net>
6144
6145         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6146
6147         * undo_funcs.C:
6148         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6149           linked lists
6150
6151         * text2.C: tiny whitespace
6152
6153 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * undo_funcs.C: almost only ws changes.
6156
6157         * ParagraphList.C (splice): just return if pl is empty.
6158
6159 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6160
6161         * ParagraphList.C (splice): new function.
6162
6163         * CutAndPaste.C (pasteSelection): use it
6164
6165 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6166
6167         * CutAndPaste.C (pasteSelection): remove the last next and
6168         previous from this file.
6169
6170 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * CutAndPaste.C (pasteSelection): more clean up, user proper
6173         ParagraphList functions for pasteing.
6174
6175         * ParagraphList.C (insert): new function, three arg insert
6176
6177 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * ParagraphList.C (insert): new function, three arg insert
6180
6181         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6182         not on paragraphs.
6183
6184 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6187
6188 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6191
6192 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6193
6194         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6195         (copySelection): clean up a bit.
6196         (pasteSelection): use make_pair
6197
6198         * ParagraphList.C (ParagraphList): implement copy constructor
6199         (operator=): implement, base on copy constructor.
6200         (assign): new func
6201
6202         * paragraph.C (erase): return a bool
6203
6204         * paragraph_pimpl.C (erasePos): remove function, move contents...
6205         (erase): ... here. Return a bool.
6206         (erase): call erase instead of erasePos.
6207
6208 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6209
6210         * ParagraphList.h: define PitPosPair
6211         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6212         ParagraphList, fix a bug on pasting multiple pars
6213         * text2.C: change interface to C&P
6214
6215 2003-04-30  André Pönitz  <poenitz@gmx.net>
6216
6217         * undo_func.C: revert part of yesterday's patch 2
6218
6219 2003-04-30  John Levon  <levon@movementarian.org>
6220
6221         * LColor.C: s/tabular/table/
6222
6223 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * text3.C (dispatch): do not convert iterator -> pointer
6226         * undo_funcs.C (setCursorParUndo): ditto
6227         * text_funcs.C (transposeChars): ditto
6228
6229         * text2.C (setLayout): ws changes only
6230
6231         * text.C (breakParagraph): do not convert iterator -> pointer
6232         (insertChar): ditto
6233         (acceptChange): ditto
6234         (rejectChange): ditto
6235         (changeCase): ditto
6236         (Delete): ditto
6237         (backspace): ditto
6238
6239         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6240         pointer
6241
6242 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6243
6244         * text3.C (gotoInset): YABG (yet another bad getChar)
6245
6246 2003-04-29  André Pönitz  <poenitz@gmx.net>
6247
6248         * paragraph.h: make operator= private unimplemented as long as
6249           it is unusable
6250
6251         * ParagraphList.C: whitespace
6252
6253         * paragraph.[Ch]:
6254         * paragraph_pimpl.[Ch]:
6255         * paragraph_funcs.C:
6256         * CutAndPaste.C:
6257         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6258
6259         * text2.C:
6260           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6261
6262 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6263
6264         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6265         * paragraph.[Ch] (erase):
6266         * paragraph_pimpl.[Ch] (erase): change return type and value
6267         * text2.C (cutSelection): some rework
6268
6269 2003-04-28  John Levon  <levon@movementarian.org>
6270
6271         * bufferlist.C: changes for unsaved changes dialog
6272
6273 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * bufferlist.C (newFile): set language (messages_) for new
6276         documents also.
6277
6278         * buffer.C (readFile): ws changes only.
6279
6280 2003-04-28  André Pönitz  <poenitz@gmx.net>
6281
6282         * undo_funcs.C:
6283         * lyxfunc.C:
6284         * buffer.[Ch]:
6285         * BufferView_pimpl.C:
6286         * BufferView.C: getParFromID related ParagraphList::iterator changes
6287
6288 2003-04-28  André Pönitz  <poenitz@gmx.net>
6289
6290         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6291           Changes
6292
6293 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * messages.C: remove one more localedir class variable.
6296
6297 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * messages.C (getLocaleDir): singleton generation function
6300         (Pimpl): use it.
6301         (Messages): add a default constructor.
6302
6303         * main.C (main): do not setup localedir here, do not call
6304         gettext_init.
6305
6306         * gettext.C (_): use it.
6307         (gettext_init): delete funciton
6308
6309 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * gettext.C (getLyXMessages): new singleton generating function.
6312
6313         * buffer.C (updateDocLang): adjust
6314
6315         * Makefile.am (messages.o): add target
6316         (main.o): remove target
6317
6318 2003-04-27  John Levon  <levon@movementarian.org>
6319
6320         * bufferlist.C:
6321         * lyx_cb.C:
6322         * lyxfunc.C:
6323         * lyxvc.C: specify cancel button in Alert::prompt
6324
6325 2003-04-26  John Levon  <levon@movementarian.org>
6326
6327         * text3.C:
6328         * lyxfunc.C:
6329         * lfuns.h:
6330         * LyXAction.C: add LFUN_INSET_SETTINGS
6331
6332         * lyxfunc.C: don't enable tabular-feature when there's
6333         just any locking inset
6334
6335 2003-04-26  John Levon  <levon@movementarian.org>
6336
6337         * bufferlist.C: re-add Cancel to buffer close question
6338
6339         * lyxfunc.C: fix import UI a bit
6340
6341 2003-04-25  John Levon  <levon@movementarian.org>
6342
6343         * gettext.C: remove the broken asserts for now
6344
6345 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * messages.C: make case where setlocale cannot comply work better.
6348
6349         * buffer.C (updateDocLang): new function
6350         (changeLanguage): use it
6351         (readFile): use it
6352
6353         * text2.C (setCounter): use B_ a bit.
6354
6355         * lyxlayout.C (Read): be sure to trim the label strings.
6356
6357         * messages.C (Messages): fix typo in comment
6358
6359         * buffer.C (readFile): set message_ after file is loaded.
6360         (makeDocBookFile): remove double return
6361         (changeLanguage): reset message_ upon language change.
6362         (B_): new func, use this to get translated buffer strings.
6363
6364         * main.C: add myself and Jean Marc as authors.
6365
6366 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6367
6368         * messages.[hC]: pimplify Messages, and three different pimpls to be
6369         used in different circumstances.
6370
6371         * gettext.[Ch]: change for use with new message code.
6372
6373 2003-04-24 André Pönitz <poenitz@gmx.net>
6374
6375         * factory.C: support for eqref
6376
6377 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6378
6379         * messages.[Ch]: add missing char
6380
6381         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6382
6383         * messages.[Ch]: New files
6384
6385 2003-04-18  John Levon  <levon@movementarian.org>
6386
6387         * BufferView.h:
6388         * BufferView.C:
6389         * BufferView_pimpl.C:
6390         * lfuns.h:
6391         * LyXAction.C:
6392         * lyxtext.h:
6393         * text2.C: remove layout-copy/paste (bug 778)
6394
6395 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6396
6397         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6398
6399 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6400
6401         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6402         if they succeed. Act accordingly.
6403
6404 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * text2.C (setCharFont): adjust
6407         (setCounter): adjust
6408         (insertStringAsLines): adjust
6409
6410         * text.C (leftMargin): adjust
6411         (setHeightOfRow): adjust
6412
6413         * rowpainter.C (paintFirst): adjust
6414         (paintLast): adjust
6415
6416         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6417         (outerHook): ditto
6418         (isFirstInSequence): ditto
6419         (getEndLabel): ditto
6420         (outerFont): adjust
6421
6422         * paragraph.C (getParLanguage): comment out some hard stuff.
6423
6424         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6425         (sgmlError): ditto
6426         (simpleDocBookOnePar): ditto
6427         (makeDocBookFile): use ParagraphList::iterator
6428
6429         * CutAndPaste.C (pasteSelection): adjust
6430
6431 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6432
6433         * text2.C (getFont): adjust
6434         (getLayoutFont): adjust
6435         (getLabelFont): adjust
6436
6437         * paragraph_funcs.C (TeXOnePar): adjust
6438
6439         * buffer.C (simpleLinuxDocOnePar): adjust
6440         (simpleDocBookOnePar): adjust
6441
6442         * CutAndPaste.C (pasteSelection): adjust
6443
6444         * BufferView.C (getEncoding): adjust
6445
6446         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6447
6448 2003-04-16  John Levon  <levon@movementarian.org>
6449
6450         * lyxfind.C: use parlist stuff for search/changes
6451
6452 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6455
6456         * text2.C (deleteEmptyParagraphMechanism): adjust
6457
6458         * text2.[Ch] (ownerParagraph): delete func (both of them
6459
6460 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6463
6464 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * ParagraphList.C: prepare for NO_NEXT
6467
6468 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * text2.C (getFont): adjust
6471         (getLayoutFont): adjust
6472         (getLabelFont): adjust
6473
6474         * paragraph.C (getFont): adjust
6475         (getLabelFont): adjust
6476         (getLayoutFont): adjust
6477
6478         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6479
6480 2003-04-15  John Levon  <levon@movementarian.org>
6481
6482         From Angus Leeming
6483
6484         * lyx_main.C: handle Include in .ui files
6485
6486 2003-04-15  John Levon  <levon@movementarian.org>
6487
6488         * MenuBackend.C: make the doc files length shorter
6489
6490         * ToolbarBackend.h:
6491         * ToolbarBackend.C: handle toolbar placement flags,
6492         Minibuffer
6493
6494 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6495
6496         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6497         adjust
6498
6499         * paragraph_funcs.C (TeXOnePar): adjust
6500
6501         * paragraph.C (getLabelFont): add outerfont arg, adjust
6502         (getLayoutFont): ditto
6503         (simpleTeXOnePar): adjust
6504
6505         * paragraph_pimpl.C (realizeFont): delete func
6506
6507 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6508
6509         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6510         row argument, constify cur argument.
6511
6512 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * text2.C (getFont): adjust
6515         (getLayoutFont): adjust
6516         (getLabelFont): adjust
6517
6518         * paragraph_funcs.C (TeXOnePar): adjust
6519         (outerFont): new func...
6520         (realizeFont): ...moved out from here, changed this to facilitate
6521         transition
6522
6523         * paragraph.C (getFont): take outerfont as arg, adjust
6524         (simpleTeXOnePar): add outerfont arg, adjust
6525
6526         * buffer.C (simpleLinuxDocOnePar): adjust
6527         (simpleDocBookOnePar): adjust
6528
6529         * CutAndPaste.C (pasteSelection): adjust
6530
6531         * BufferView.C (getEncoding): adjust
6532
6533 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6534
6535         * text2.C (setCharFont): adjust
6536         (setCounter): adjust
6537
6538         * text.C (leftMargin): adjust
6539         (setHeightOfRow): adjust
6540
6541         * rowpainter.C (paintFirst): adjust
6542         (paintLast): adjust
6543
6544         * paragraph_pimpl.C (realizeFont): adjust
6545
6546         * paragraph.C (isFirstInSequence): move from here...
6547         * paragraph_funcs.C (isFirstInSequence): ...to here
6548
6549         * paragraph.C (outerHook): move from here...
6550         * paragraph_funcs.C (outerHook): ...to here
6551
6552         * paragraph.C (depthHook): move from here...
6553         * paragraph_funcs.C (depthHook): ...to here
6554
6555         * paragraph.C (getEndLabel): move from here...
6556         * paragraph_funcs.C (getEndLabel): ...to here
6557
6558         * text2.C (realizeFont): move from here...
6559         * paragraph_funcs.C (realizeFont): ...to here
6560
6561 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6562
6563         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6564
6565 2003-04-14  Angus Leeming  <leeming@lyx.org>
6566
6567         * LColor.[Ch]: scrap LColor mathcursor.
6568
6569 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * lyxlex.[Ch] (text): delete function
6572         * trans.C (Load): adjust
6573         * paragraph_funcs.C (readParToken): adjust
6574
6575 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6578         vector<char> instead of a char[].
6579
6580         * lyxlex_pimpl.C (getString): adjust
6581         (next): adjust
6582         (lex): use getString
6583         (eatLine): adjust
6584         (nextToken): adjust
6585
6586         * lyxlex.C (text): use pimpl_->getString()
6587         (getBool): ditto
6588         (findToken): ditto
6589
6590 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6591
6592         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6593         (makeFontEntriesLayoutSpecific): temp var for par.size()
6594         (setLayout): temp var for ownerParagraphs().end()
6595         (fullRebreak): temp var for rows().end()
6596         (selectionAsString): temp var for boost::next(startpit), realize
6597         that the while really is a regular for loop.
6598         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6599         setCursor in one place.
6600         (setParagraph): temp vr for ownerParagraphs().end()
6601         (updateCounters): make the while loop a for loop
6602         (cutSelection): temp var for ownerParagraphs().end()
6603         (updateInset): make the do {} while() a regular for loop
6604         (getCursorX): use temp vars
6605         (setCurrentFont): use temp vars
6606         (getColumnNearX): use temp vars
6607
6608 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6609
6610         * text.C (transformChar): use temp var for getChar
6611         (computeBidiTables): use temp var for row->par()
6612         (fill): move temp vars for row->par() and pit->layout() earlier in
6613         the function.
6614         (labelFill): use temp var for row->par()
6615         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6616         asc and desc, realize that pit never changes and that firstpit is
6617         just a duplicate and not needed. Exchange rit->par() with pit in a
6618         lot of places.
6619         (breakAgain): use a temp var for boost::next(rit)
6620         (breakAgainOneRow): ditto
6621         (breakParagraph): use a temp var for rows().begin()
6622         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6623         (cursorRightOneWord): use temp var for cursor.par() and
6624         cursor.pos(), remove usage of tmpcursor.
6625         (cursorLeftOneWord): use temp var for cursor.par() and
6626         cursor.pos() only set cur at end of function.
6627
6628 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * text.C, text2.C: exchange all usage of Paragraph::next with
6631         boost::next(ParagraphList::iterator)
6632
6633         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6634
6635         * text2.C (cursorTop): simplify implementation
6636         (cursorBottom): ditto
6637         (setParagraph): use ParagraphList::iterator
6638         (setCurrentFont): adjust
6639         (getColumnNearX): adjust
6640         (cursorRight): adjust
6641         (cursorLeft): remove usage of Paragraph::previous
6642         (cursorUpParagraph): ditto
6643         (deleteEmptyParagraphMechanism): slight cleanup
6644
6645         * text.C (isBoundary): take a Paragraph const & instead of a
6646         pointer as arg.
6647         (addressBreakPoint): ditto
6648         (leftMargin): remove usage of Paragraph::previous.
6649         (setHeightOfRow): ditto
6650         (cursorLeftOneWord): ditto
6651         (selectNextWordToSpellcheck): ditto
6652         (Delete): ditto
6653         (backspace): ditto
6654         (breakParagraph): remove one usage of Paragraph::next
6655         (redoParagraph): ditto
6656         (acceptChange): ditto
6657         (insertChar): adjust
6658         (rowBreakPoint): adjust
6659
6660         * bufferview_funcs.C (toggleAndShow): adjust
6661
6662 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6663
6664         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6665         methods to access it.
6666         * lyxtext.h:
6667         * text.C: Added updateRowPositions to compute all row positions.
6668         Make top_y and getRowNearY() to use the cached y position
6669
6670 2003-04-11  John Levon  <levon@movementarian.org>
6671
6672         * text.C (rowBreakPoint): reintroduce the labelEnd
6673         checks, code copied from the row fill stuff. Deep voodoo.
6674
6675         * text.C (fill): add a comment and debugging for the
6676         next poor soul.
6677
6678 2003-04-11  John Levon  <levon@movementarian.org>
6679
6680         * text.C: make sure fullrow insets get wrapped to the next line,
6681         even when they're in a manual label
6682
6683 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6684
6685         * text2.C (insertParagraph): make it take ParagraphList::iterator
6686         as arg.
6687         (setLayout): make it return ParagraphList::iterator
6688         (redoParagraphs): ditto
6689         (setCounter): ditto
6690         (checkParagraph): ditto
6691
6692         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6693
6694         * text2.C: adjust several funcs.
6695         (realizeFont): take a ParagraphList::iterator as arg.
6696         (getLayoutFont): ditto
6697         (getLabelFont): ditto
6698         (setCharFont): ditto
6699
6700         * text.C: adjust several funcs.
6701
6702 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6703
6704         * text.C (selectNextWordToSpellcheck): don't accidentally
6705         skip insets
6706
6707 2003-04-10  John Levon  <levon@movementarian.org>
6708
6709         * ToolbarBackend.C (getIcon): special handling for
6710         LFUN_MATH_DELIM
6711
6712 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6713
6714         * text2.C (cursorRight): a getChar assert fixed
6715
6716 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6717
6718         * text2.C (getFont): change to take a ParagraphList::iterator
6719         instead of Paragraph*
6720         Adjust several functions.
6721
6722         * text.C (transformChar): change to take a ParagraphList::iterator
6723         instead of Paragraph*
6724         (singleWidth): ditto
6725         Adjust several functions.
6726
6727         * rowpainter.C: adjust several functions
6728         * rowpainter.h:store a ParagraphList::iterator and not a
6729         Paragraph&.
6730
6731
6732 2003-04-09  John Levon  <levon@movementarian.org>
6733
6734         * lyxfunc.C:
6735         * lfuns.h:
6736         * LyXAction.h:
6737         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6738         and the "help" bits as well
6739
6740 2003-04-09  John Levon  <levon@movementarian.org>
6741
6742         * ToolbarBackend.h:
6743         * ToolbarBackend.C: allow multiple toolbars
6744
6745 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * undo_funcs.C (setCursorParUndo): adjust
6748
6749         * text_funcs.C (transposeChars): adjust
6750
6751         * text3.C (gotoNextInset): adjust
6752         (dispatch): adjust
6753
6754         * text2.C (setLayout): adjust
6755         (changeDepth): adjust
6756         (setFont): adjust
6757         (redoParagraphs): adjust
6758         (selectionAsString): adjust
6759         (setParagraph): adjust
6760         (insertInset): adjust
6761         (cutSelection): adjust
6762         (copySelection): adjust
6763         (pasteSelection): adjust
6764         (insertStringAsLines): adjust
6765         (updateInset): adjust
6766         (setCursor): change to take a ParagraphList::iterator parameter
6767         (setCursorIntern): change to take a ParagraphList::iterator parameter
6768         (setCurrentFont): adjust
6769         (cursorLeft): adjust
6770         (cursorRight): adjust
6771         (deleteEmptyParagraphMechanism): adjust
6772
6773         * text.C (breakParagraph): adjust
6774         (insertChar): adjust
6775         (acceptChange): adjust
6776         (rejectChange): adjust
6777         (selectNextWordToSpellcheck): adjust
6778         (changeCase): adjust
6779         (Delete): adjust
6780         (backspace): adjust
6781
6782         * lyxfind.C (SearchForward): adjust
6783         (SearchBackward): adjust
6784         (nextChange): adjust
6785
6786         * lyxcursor.C (par): adjust
6787
6788         * lyxcursor.h: store a ParagraphList::iterator instead of a
6789         Paragraph*
6790
6791         * lyx_cb.C (getPossibleLabel): adjust
6792
6793         * bufferview_funcs.C (toggleAndShow): adjust
6794
6795         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6796         (dispatch): adjust
6797
6798         * BufferView.C (removeAutoInsets): adjust
6799         (lockedInsetStoreUndo): adjust
6800
6801 2003-04-09  John Levon  <levon@movementarian.org>
6802
6803         * ToolbarBackend.C: try icon without argument
6804         if with argument fails
6805
6806 2003-04-08  John Levon  <levon@movementarian.org>
6807
6808         * ToolbarBackend.h:
6809         * ToolbarBackend.C: add getIcon(), handle tooltip,
6810         and change from "Icon" to "Item".
6811
6812 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6813
6814         * BufferView.C (lockInset): another bad getchar crunched
6815
6816 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6817
6818         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6819         again)
6820
6821 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * lyxfind.C (searchForward, searchBackwards): bug 782
6824
6825 2003-04-07  John Levon  <levon@movementarian.org>
6826
6827         * paragraph.C: remove dead comment
6828
6829         * text.C: remove troublesome depth-fiddling code
6830         in leftMargin() and rightMargin() (bug 1017)
6831
6832         * text.C: fix breaking of rows in nested lists
6833         (bug 1004)
6834
6835         * text2.C (updateCounters): fix up depth values
6836         (bug 1013)
6837
6838 2003-04-07  John Levon  <levon@movementarian.org>
6839
6840         * BufferView_pimpl.C: clear message when doc finishes resizing,
6841         and after a mouse event
6842
6843         * lyxfunc.C: clear message after exiting inset
6844
6845 2003-04-07  John Levon  <levon@movementarian.org>
6846
6847         * bufferview_funcs.C: show math status not outside
6848         status in the statusbar
6849
6850 2003-04-07  John Levon  <levon@movementarian.org>
6851
6852         * lyxfunc.C: note status changed after a depth change
6853
6854 2003-04-04  Angus Leeming  <leeming@lyx.org>
6855
6856         * LaTeX.h: move AuxInfo operator==, != out of line.
6857         Remove LaTeX virtual destructor; nothing derives from it.
6858         Move operator()() out of public area and rename it startscript().
6859         Change protected for private.
6860
6861 2003-04-04  Angus Leeming  <leeming@lyx.org>
6862
6863         * lyxfunc.C:
6864         * text2.C: remove unneeded #includes.
6865
6866 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6867
6868         * text2.C (dEPM): fix the heigth of the next row
6869
6870 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6871
6872         * text.C: squashed an invalid getChar requester + some ws changes
6873
6874 2003-04-03  John Levon  <levon@movementarian.org>
6875
6876         * bufferview_funcs.h:
6877         * bufferview_funcs.C:
6878         * lyxfunc.C:
6879         * lyxtext.h:
6880         * text2.C: make getStatus work for the env depth lfuns
6881
6882 2003-04-03  John Levon  <levon@movementarian.org>
6883
6884         * bufferview_funcs.h:
6885         * bufferview_funcs.C:
6886         * lyxfunc.C:
6887         * lyxtext.h:
6888         * text2.C: parlistize decDepth(), by merging it with incDepth()
6889
6890 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6891
6892         * lyxrow.h: store a ParagraphList::iterator instead of a
6893         Paragraph* and adjust other class functions to suit.
6894
6895         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6896         above.
6897
6898 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6899
6900         * text2.C (setCursor): do not anchor to cursor row for the time being
6901
6902 2003-04-02  John Levon  <levon@movementarian.org>
6903
6904         * LyXAction.C:
6905         * lfuns.h:
6906         * lyx_main.C:
6907         * lyxtext.h:
6908         * text.C:
6909         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6910
6911 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * paragraph.h: make ParagraphList and ParagraphList::iterator
6914         friends of Paragraph.
6915
6916         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6917
6918         * ParagraphList.C: Use the private next_ and previous_ from
6919         Paragraph.
6920
6921 2003-04-01  John Levon  <levon@movementarian.org>
6922
6923         * ToolbarBackend.h:
6924         * ToolbarBackend.C:
6925         * Makefile.am: rename, remove defaults gunk
6926
6927         * MenuBackend.h:
6928         * MenuBackend.C: remove defaults gunk
6929
6930         * Languages.h:
6931         * Languages.C: remove defaults gunk
6932
6933         * lyx_main.h:
6934         * lyx_main.C: error out if files couldn't be found.
6935
6936 2003-04-02  John Levon  <levon@movementarian.org>
6937
6938         * text2.C: make incDepth() use parlist
6939
6940 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6941
6942         * undo_funcs.C (firstUndoParagraph): adjust
6943
6944         * text3.C (gotoInset): adjust
6945         (dispatch): adjust, and rewrite loop.
6946
6947         * text2.C (init): adjust, and rewrite loop.
6948         (redoParagraphs): adjust
6949         (updateInset): adjust, and rewrite loop.
6950         (deleteEmptyParagraphMechanism): adjust
6951
6952         * tabular.C (LyXTabular): adjust
6953         (SetMultiColumn): adjust
6954         (TeXRow): adjust
6955
6956         * lyxtext.[Ch] (ownerParagraph): delete function
6957         (ownerParagraphs): new function returns a ParagraphList.
6958
6959         * BufferView.C (removeAutoInsets): adjust
6960         (insertErrors): adjust
6961         (setCursorFromRow): adjust
6962
6963 2003-04-01  Angus Leeming  <leeming@lyx.org>
6964
6965         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6966         in the frontends.
6967
6968 2003-04-02  John Levon  <levon@movementarian.org>
6969
6970         * lyxtext.h:
6971         * text.C:
6972         * Makefile.am:
6973         * text_funcs.h:
6974         * text_funcs.C: make transposeChars a free function
6975
6976         * lyxrow_funcs.C: remove wrong comment
6977
6978 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * lyxtext.h: adjust
6981         * rowpainter.C: adjust
6982         * text.C: adjust
6983         * text2.C: adjust
6984         * text3.C: adjust
6985
6986         * lyxrow_funcs. [Ch]: new files
6987
6988         * lyxrow.[Ch]: remove next and previous pointers
6989         (next,previous): remove accessor functions
6990         (isParEnd): move to lyxrow_funcs
6991         (lastPos): move to lyxrow_funcs
6992         (nextRowIsAllInset): move to lyxrow_funcs
6993         (lastPrintablePos): move to lyxrow_funcs
6994         (numberOfSeparators): move to lyxrow_funcs
6995         (numberOfHfills): move to lyxrow_funcs
6996         (numberOfLabelHfills): move to lyxrow_funcs
6997         (hfillExpansion): move to lyxrow_funcs
6998
6999         * lyxfunc.C: adjust
7000
7001         * bufferview_funcs.C (toggleAndShow): adjust
7002
7003         * RowList.h: Remove class RowList from file leave just a
7004         std::list<Row>.
7005
7006         * RowList.C: delete file
7007
7008         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7009         and lyxrow_funcs.h
7010
7011 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * text3.C (cursorPrevious): adjust
7014         (cursorNext): adjust
7015         (dispatch): adjust
7016
7017         * text2.C (redoHeightOfParagraph): adjust
7018         (redoDrawingOfParagraph): adjust
7019         (setCursor): adjust
7020
7021         * text.C (breakParagraph): adjust
7022         (insertChar): adjust
7023         (backspace): adjust
7024
7025         * rowpainter.C (RowPainter): adjust
7026         (leftMargin): simplify and adjust
7027         (most rowpainter functions): adjust.
7028
7029         * rowpainter.h: store the row as RowList::iterator not as Row*
7030
7031         * lyxcursor.C (row): taka RowList::iterator as arg
7032         (irow): ditto
7033
7034         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7035         of Row*.
7036
7037 2003-04-01  Angus Leeming  <leeming@lyx.org>
7038
7039         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7040         stuff like bool Bool.
7041
7042 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7043
7044         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7045         rewrite a loop
7046
7047 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7050         RowList::iterator.
7051
7052         * lyxtext.h (rows): drop one version and leve a const variant that
7053         returns a RowList::iterator.
7054
7055 2003-03-31  Angus Leeming  <leeming@lyx.org>
7056
7057         * text.C (fill): ensure that the signature is the same as that in the
7058         header file.
7059
7060 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * text2.C (redoParagraphs): adjust
7063         (updateCounters): adjust
7064         (checkParagraph): adjust
7065         (getColumnNearX): adjust and reformat a bit.
7066
7067         * text.C (top_y): adjust
7068         (workWidth): adjust
7069         (leftMargin): adjust
7070         (prepareToPrint): adjust
7071         (getRow): adjust
7072         (getRowNearY): adjust
7073
7074         * lyxtext.h: make rowlist_ mutable.
7075
7076         * RowList.h: add const_iterator
7077         * RowList.C: adjust for RowList::const_iterator.
7078
7079         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7080         adjust.
7081
7082 2003-03-31  John Levon  <levon@movementarian.org>
7083
7084         * lyxrc.h:
7085         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7086
7087         * lyx_main.C: set default fonts from using lyx_gui funcs
7088
7089         * exporter.C: pdf_mode moved from lyxrc
7090
7091         * lyx_cb.C:
7092         * lyxfunc.C: changes from above
7093
7094 2003-03-31  John Levon  <levon@movementarian.org>
7095
7096         * lyx_main.C: fix to the last fix
7097
7098 2003-03-31  John Levon  <levon@movementarian.org>
7099
7100         * bufferlist.C: "Load original" -> "Load Original"
7101
7102         * converter.C:
7103         * exporter.C:
7104         * importer.C:
7105         * lyx_main.C:
7106         * format.C: more Alert cleanups
7107
7108 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * text2.C (removeParagraph): make it take a RowList::iterator as
7111         arg, adjust.
7112         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7113         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7114
7115         * text.C (anchor_row): make it take a RowList::iterator as arg,
7116         adjust.
7117         (computeBidiTables): make it take a const reference to Row instead
7118         of Row pointer, adjust.
7119         (leftMargin): make it take a RowList::iterator as arg, adjust.
7120         (rowBreakPoint): adjust
7121         (breakAgainOneRow): make it take a RowList::iterator as arg,
7122         adjust.
7123         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7124
7125         * bufferview_funcs.C (toggleAndShow): adjust
7126
7127 2003-03-30  John Levon  <levon@movementarian.org>
7128
7129         * Makefile.am:
7130         * BoostFormat.h:
7131         * boost-inst.C: moved to support
7132
7133         * several files: changes as a result
7134
7135 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7136
7137         * text2.C (LyXText): adjust.
7138         (init): adjust
7139         (removeRow): make it take a RowList::iterator as arg, adjust.
7140         (fullRebreak): adjust
7141         (deleteEmptyParagraphMechanism): adjust
7142         (clearPaint): adjust
7143         (postPaint): adjust
7144
7145         * text.C (top_y): adjust
7146         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7147         (breakAgain): make it take a RowList::iterator as arg, adjust.
7148         (breakParagraph): adjust
7149         (insertChar): adjust
7150         (backspace): adjust
7151
7152         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7153         need_break_row, and refresh_row.
7154
7155         * text3.C (dispatch): adjust
7156
7157         * text2.C (checkParagraph): adjust
7158         (setCursor): adjust
7159         (setCursorFromCoordinates): adjust
7160
7161         * text.C (top_y): adjust
7162         (workWidth): adjust
7163         (getRow): make it return a RowList::iterator, adjust
7164         (getRowNearY): make it return a RowList::iterator, adjust
7165
7166         * text2.C (init): adjust
7167         (insertRow): remove function
7168         (insertParagraph): adjust
7169         (redoParagraphs): adjust
7170         (fullRebreak): adjust
7171         (updateCounters): adjust
7172
7173         * text.C (top_y): rewrite to use RowList iterators.
7174         (top_y): adjust
7175         (setHeightOfRow): rewrite to sue RowList iterators.
7176         (appendParagraph): adjust
7177         (breakAgain): adjust
7178         (breakAgainOneRow): adjust
7179         (breakParagraph): adjust
7180         (getRow): adjust
7181         (getRowNearY): adjust, and remove commented code.
7182
7183         * lyxtext.h (firstRow): delete function
7184         (lastRow): delete function
7185         (rows): new function (const and non-const versions.)
7186         (insertRow): delete function
7187
7188         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7189
7190 2003-03-29  John Levon  <levon@movementarian.org>
7191
7192         * BufferView_pimpl.C: always update scrollbar top
7193         because pasting text when we're anchored could mean we
7194         miss an update altogether
7195
7196 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7197
7198         * text2.C (init): use rowlist_.end() and not 0.
7199         (insertRow): change to take a RowList::iterator as arg, adjust
7200         for this.
7201         (insertParagraph): change to take a RowList::iterator as arg,
7202         adjust for this.
7203         (redoParagraphs): remove some debug msgs.
7204
7205         * text.C (appendParagraph): change to take a RowList::iterator
7206         arg, adjust for this.
7207         (breakAgain): add an assert
7208         (breakAgainOneRow): ditto
7209
7210 2003-03-29  John Levon  <levon@movementarian.org>
7211
7212         * text2.C: do not clear selection after inc/decDepth
7213         (bug 550)
7214
7215 2003-03-29  John Levon  <levon@movementarian.org>
7216
7217         * BufferView.C:
7218         * buffer.C: fix broken strerrors according to Lars
7219
7220 2003-03-29  John Levon  <levon@movementarian.org>
7221
7222         * converters.C: more Alert cleanups
7223
7224 2003-03-29  John Levon  <levon@movementarian.org>
7225
7226         * bufferview_funcs.C: remove pointless Alert
7227
7228         * buffer.C: fix confusing error message when
7229         a template is chmoded 000
7230
7231 2003-03-29  John Levon  <levon@movementarian.org>
7232
7233         * BufferView.C:
7234         * BufferView.h:
7235         * BufferView_pimpl.C: Alert fixes
7236
7237         * Makefile.am:
7238         * tabular.C:
7239         * tabular-old.C: remove unused table compat reading
7240
7241 2003-03-29  John Levon  <levon@movementarian.org>
7242
7243         * BufferView.C:
7244         * buffer.C:
7245         * lyx_cb.h:
7246         * lyx_cb.C: more Alert cleanups
7247
7248         * lyxfunc.C: don't allow chktex if not latex document
7249
7250 2003-03-29  John Levon  <levon@movementarian.org>
7251
7252         * lyx_cb.C:
7253         * BufferView.C:
7254         * buffer.C: warnings pushed down from support/,
7255         kill err_alert
7256
7257 2003-03-29  John Levon  <levon@movementarian.org>
7258
7259         * lyxfunc.C: safety check for C-r (revert)
7260
7261 2003-03-29  John Levon  <levon@movementarian.org>
7262
7263         * bufferlist.h:
7264         * bufferlist.C: several UI fixes using Alert::prompt.
7265         Fix the pointless looping quit code. Fix stupid revert
7266         behaviour (bug 938)
7267
7268         * lyxvc.h:
7269         * lyxvc.C:
7270         * lyx_cb.C: use Alert::prompt
7271
7272         * lyx_main.C: remove a silly question
7273
7274         * lyxfunc.C: remove a couple of silly questions,
7275         use Alert::prompt
7276
7277 2003-03-28  John Levon  <levon@movementarian.org>
7278
7279         * text2.C: fix bug 974 (End on empty par)
7280
7281 2003-03-28  John Levon  <levon@movementarian.org>
7282
7283         * BufferView_pimpl.C:
7284         * LyXAction.C:
7285         * lfuns.h: remove do-nothing math greek lfuns
7286
7287 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7288
7289         * lyxgluelength.h (isValidGlueLength): add default arg on
7290         parameter 2. Remove default arg from friend in class.
7291
7292         * lyxlength.h (isValidLength): add default arg on parameter 2.
7293         Remove default arg from friend in class.
7294
7295         * text2.C (LyXText): adjust, initialize refresh_row.
7296         (init): adjust
7297         (removeRow): adjust
7298         (insertRow): adjust
7299         (insertParagraph): adjst
7300         (redoParagraphs): adjust
7301         (fullRebreak): adjust
7302         (updateCounters): adjust
7303         (deleteEmptyParagraphMechanism): first attempt at fixing a
7304         crashing bug.
7305
7306         * text.C (top_y): adjust
7307         (setHeightOfRow): adjust
7308         (getRow): adjust
7309         (getRowNearY): adjust
7310
7311         * lyxtext.h: include RowList.h
7312         (~LyXText): not needed anymore, deleted.
7313         (firstRow): modify for RowList
7314         (lastRow): new function
7315         Delete firstrow and lastrow class variables, add a Rowlist
7316         rowlist_ class variable.
7317
7318         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7319         paragraph is empty.
7320
7321         * RowList.C (insert): fix case where it == begin().
7322
7323 2003-03-26  Angus Leeming  <leeming@lyx.org>
7324
7325         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7326         the thesaurus dialog.
7327
7328 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7329
7330         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7331
7332         * RowList.[Ch]: new files
7333
7334         * ParagraphList.C (erase): handle the case where it == begin
7335         correctly.
7336
7337 2003-03-25  John Levon  <levon@movementarian.org>
7338
7339         * Makefile.am:
7340         * aspell_local.h:
7341         * aspell.C: add new aspell support
7342
7343         * lyxrc.h:
7344         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7345         have it accessible.
7346
7347 2003-03-25  Angus Leeming  <leeming@lyx.org>
7348
7349         * lfuns.h:
7350         * LyXAction.C (init): new LFUN_INSET_INSERT.
7351
7352         * BufferView_pimpl.C (dispatch): split out part of the
7353         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7354
7355         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7356         LFUN_INSET_APPLY.
7357
7358 2003-03-25  Angus Leeming  <leeming@lyx.org>
7359
7360         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7361
7362 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7363
7364         * text2.C:
7365         * text3.C: remove useless row->height(0)
7366
7367 2003-03-25  John Levon  <levon@movementarian.org>
7368
7369         * lyxtext.h:
7370         * text2.C:
7371         * text3.C: rename the refreshing stuff to better names
7372
7373 2003-03-24  John Levon  <levon@movementarian.org>
7374
7375         * BufferView_pimpl.h:
7376         * BufferView_pimpl.C: update layout choice on a mouse
7377         press/release
7378
7379 2003-03-23  John Levon  <levon@movementarian.org>
7380
7381         * Makefile.am: fix commandtags.h reference
7382
7383 2003-03-22  John Levon  <levon@movementarian.org>
7384
7385         * BufferView_pimpl.C:
7386         * lyxtext.h:
7387         * rowpainter.C:
7388         * rowpainter.h:
7389         * text.C:
7390         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7391
7392 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7393
7394         * lyxtext.h:
7395         * text.C: take the rtl methods out of line
7396
7397 2003-03-21 André Pönitz <poenitz@gmx.net>
7398
7399         * metricsinfo.[Ch]: new files containing structures to be passed around
7400         during the two-phase-drawing...
7401
7402 2003-03-21 André Pönitz <poenitz@gmx.net>
7403
7404         * lyxtextclass.C: read 'environment' tag.
7405
7406 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7407
7408         * text2.C (removeRow): fix bug 964
7409
7410 2003-03-20  John Levon  <levon@movementarian.org>
7411
7412         * rowpainter.C:
7413         * text.C:
7414         * text2.C: paint cleanups. Inset::update() dropped font
7415         parameter
7416
7417 2003-03-19  John Levon  <levon@movementarian.org>
7418
7419         * lyxfunc.C: only fitcursor/markDirty if available()
7420
7421 2003-03-19  John Levon  <levon@movementarian.org>
7422
7423         * commandtags.h: rename to ...
7424
7425         * lfuns.h: ... this, and renumber / cleanup
7426
7427 2003-03-19  John Levon  <levon@movementarian.org>
7428
7429         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7430         fit the cursor after an lfun
7431
7432         * BufferView.h:
7433         * BufferView.C:
7434         * BufferView_pimpl.h:
7435         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7436
7437         * LyXAction.C: layout-character should have ReadOnly
7438
7439         * ParagraphParameters.C:
7440         * buffer.C:
7441         * bufferview_funcs.C:
7442         * lyx_cb.C:
7443         * lyxfind.C:
7444         * lyxtext.h:
7445         * text.C:
7446         * text2.C:
7447         * text3.C:
7448         * undo_funcs.C: changes from above
7449
7450 2003-03-18  John Levon  <levon@movementarian.org>
7451
7452         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7453         remove it from update()
7454
7455         * lyxfunc.C: update layout choice after an lfun
7456
7457         * text3.C: remove extra updateLayoutChoice()s
7458
7459 2003-03-18  John Levon  <levon@movementarian.org>
7460
7461         * text.C: top_y change means full repaint, fix
7462         a drawing bug with cursor movement
7463
7464 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7465
7466         * lyxtext.h:
7467         * text.C:
7468         * text2.C: anchor row on setCursor
7469
7470 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7471
7472         * lyxtext.h: remove almost all mutable keywords
7473         * text.C:
7474         * text2.C:
7475         * text3.C: remove const keywords accordingly
7476
7477 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7478
7479         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7480         anon namespace
7481         (TeXEnvironment): ditto
7482         (TeXOnePar): ditto
7483
7484 2003-03-17  John Levon  <levon@movementarian.org>
7485
7486         * text.C (rowBreakPoint): remove attempt to fix displayed
7487         math insets inside a manual label
7488
7489 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7490
7491         * lyxtext.h: remove BufferView* as first arg from almost all class
7492         functions.
7493         * other files: adjust.
7494
7495 2003-03-17  John Levon  <levon@movementarian.org>
7496
7497         * lyxtext.h:
7498         * undo_funcs.C:
7499         * text2.C: more paint cleanups
7500
7501         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7502
7503         * rowpainter.h:
7504         * rowpainter.C: remove "smart" background painting code
7505
7506 2003-03-16  John Levon  <levon@movementarian.org>
7507
7508         * lyxtext.h:
7509         * text.C:
7510         * text2.C:
7511         * text3.C: add helper functions for setting refresh_row/y
7512
7513 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7514
7515         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7516         newline inset which *can* get inserted in the pass_thru layouts.
7517         This is primarily for literate documents.
7518
7519 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7520
7521         * buffer.C: increment LYX_FORMAT to 223
7522
7523 2003-03-14 André Pönitz <poenitz@gmx.net>
7524
7525         * textclass.h: prepare for environment handling, ws changes
7526         * lyxlayout.C: read latexheader and latexfooter tags
7527
7528 2003-03-14  John Levon  <levon@movementarian.org>
7529
7530         * text2.C: rewrite ::status() a bit
7531
7532 2003-03-13  John Levon  <levon@movementarian.org>
7533
7534         * lyxtext.h: add some docs
7535
7536 2003-03-13  John Levon  <levon@movementarian.org>
7537
7538         * lyxtext.h:
7539         * text.C:
7540         * text2.C:
7541         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7542
7543 2003-03-13  John Levon  <levon@movementarian.org>
7544
7545         * text3.C: fix appendix redrawing
7546
7547 2003-03-13  John Levon  <levon@movementarian.org>
7548
7549         * text.C (setHeightOfRow):
7550         * rowpainter.h:
7551         * rowpainter.C: make appendix mark have the text
7552           "Appendix" so the user knows what it is
7553
7554         * LColor.h:
7555         * LColor.C: s/appendixline/appendix/ from above
7556
7557 2003-03-13  John Levon  <levon@movementarian.org>
7558
7559         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7560
7561         * text.C: fix a getChar(pos) bug properly
7562
7563 2003-03-13  Angus Leeming  <leeming@lyx.org>
7564
7565         * commandtags.h:
7566         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7567         Probably only temporary. Let's see how things pan out.
7568
7569         * BufferView.C (unlockInset):
7570         * BufferView_pimpl.C (fitCursor):
7571         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7572
7573         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7574         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7575
7576         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7577         new functions that convert ParagraphParameters to and from a string.
7578
7579         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7580         BufferView::Pimpl's dispatch.
7581         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7582
7583 2003-03-13 André Pönitz <poenitz@gmx.net>
7584
7585         * lyxfunc.C:
7586         * text3.C:
7587         * factory.C: make it aware of InsetEnv
7588
7589 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * text2.C (setCursor): never ask for one past last
7592         (setCursor): add some debugging messages.
7593
7594         * text.C (singleWidth): never ask for one past last
7595         (singleWidth): ditto
7596         (leftMargin): ditto
7597         (rightMargin): ditto
7598         (rowBreakPoint): ditto
7599         (setHeightOfRow): ditto
7600         (prepareToPrint): ditto
7601
7602         * rowpainter.C (paintBackground): never ask for one past last
7603         (paintText): never ask for one past last
7604
7605         * paragraph_pimpl.C (getChar): make the assert stricter, never
7606         allow the one past last pos to be taken
7607
7608         * paragraph.C (getChar): ws changes only
7609
7610         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7611         (numberOfSeparators): ditto
7612         (numberOfHfills): ditto
7613
7614 2003-03-12  John Levon  <levon@movementarian.org>
7615
7616         * author.h:
7617         * author.C:
7618         * bufferparams.h:
7619         * bufferparams.C:
7620         * paragraph_funcs.C: fix per-buffer authorlists
7621
7622 2003-03-12  John Levon  <levon@movementarian.org>
7623
7624         * text.C: fix newline in right address
7625
7626 2003-03-12  Angus Leeming  <leeming@lyx.org>
7627
7628         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7629         duplicate those in LyXFunc::dispatch.
7630
7631         * commandtags.h:
7632         * LyXAction.C:
7633         * ToolbarDefaults.C:
7634         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7635         Add LFUN_FONTFREE_UPDATE.
7636
7637         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7638         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7639
7640         * bufferview_func.[Ch]: several new functions to facilliate
7641         transfer of data to and from the character dialog.
7642
7643 2003-03-12  John Levon  <levon@movementarian.org>
7644
7645         * buffer.C:
7646         * paragraph.h:
7647         * paragraph.C:
7648         * paragraph_funcs.C:
7649         * paragraph_pimpl.C:
7650         * sgml.C:
7651         * tabular.C:
7652         * text.C:
7653         * text3.C: remove META_NEWLINE in favour of an inset
7654
7655         * rowpainter.h:
7656         * rowpainter.C: remove paintNewline (done by inset)
7657
7658 2003-03-12  John Levon  <levon@movementarian.org>
7659
7660         * paragraph_pimpl.C: complain about bad getChar()s
7661         for a while at least
7662
7663 2003-03-12  John Levon  <levon@movementarian.org>
7664
7665         * buffer.h:
7666         * buffer.C: move paragraph read into a separate function,
7667         a little renaming to reflect that.
7668
7669         * bufferparams.h:
7670         * bufferparams.C: remove the author_ids map, not necessary now
7671
7672         * factory.h:
7673         * factory.C: moved Buffer::readInset to here
7674
7675         * paragraph_funcs.h:
7676         * paragraph_funcs.C: readParagraph free function moved from
7677         buffer.C
7678
7679         * tabular.C: name change
7680
7681 2003-03-12  John Levon  <levon@movementarian.org>
7682
7683         * buffer.C:
7684         * ParagraphParameters.C: move par params input to
7685         a read() method
7686
7687         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7688         behave like a normal read from the stream wrt reading
7689         a line vs. a \\token
7690
7691 2003-03-12  John Levon  <levon@movementarian.org>
7692
7693         * paragraph.C:
7694         * ParagraphParameters.h:
7695         * ParagraphParameters.C: move output code to a
7696         ::write() method
7697
7698 2003-03-12  John Levon  <levon@movementarian.org>
7699
7700         * BufferView.C (insertLyXFile):
7701         * buffer.h:
7702         * buffer.C:
7703         * tabular.C: use a parlist iterator for creating the
7704           document.
7705
7706 2003-03-12  John Levon  <levon@movementarian.org>
7707
7708         * buffer.C: make current_change static local not
7709           static file-scope
7710
7711 2003-03-12  John Levon  <levon@movementarian.org>
7712
7713         * buffer.C: fix insertStringAsLines for change tracking
7714
7715 2003-03-12  John Levon  <levon@movementarian.org>
7716
7717         * BufferView.C:
7718         * tabular.C:
7719         * buffer.h:
7720         * buffer.C:
7721         * bufferparams.h:
7722         * bufferparams.C: move author list into params. Rename some
7723           functions. Move the header reading into a separate token
7724           loop. Move the header token reading into BufferParams.
7725
7726 2003-03-12  John Levon  <levon@movementarian.org>
7727
7728         * changes.C: put debug inside lyxerr.debugging() checks
7729
7730 2003-03-11 André Pönitz <poenitz@gmx.net>
7731
7732         * factory.C: make it aware of InsetHFill
7733
7734 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7735
7736         * buffer.C (latexParagraphs): move function from here...
7737         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7738         args.
7739
7740 2003-03-10  Angus Leeming  <leeming@lyx.org>
7741
7742         * LyXAction.C (init): fix bug in poplating array with multiple entries
7743         with the same LFUN (spotted by JMarc).
7744
7745 2003-03-10  John Levon  <levon@movementarian.org>
7746
7747         * text.C:
7748         * text2.C: move getColumnNearX() near its
7749         only call site
7750
7751 2003-03-10  John Levon  <levon@movementarian.org>
7752
7753         * text.C: fix break before a minipage
7754
7755 2003-03-10  John Levon  <levon@movementarian.org>
7756
7757         * text.C: fix the last commit
7758
7759 2003-03-09  John Levon  <levon@movementarian.org>
7760
7761         * lyxtext.h:
7762         * text.C:
7763         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7764         bug 365 (don't break before insets unless needed). Don't
7765         return a value > last under any circumstances.
7766
7767 2003-03-09  Angus Leeming  <leeming@lyx.org>
7768
7769         * BufferView_pimpl.C (trackChanges, dispatch): call
7770         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7771
7772 2003-03-09  Angus Leeming  <leeming@lyx.org>
7773
7774         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7775         than Dialogs::showAboutlyx().
7776
7777 2003-03-09  Angus Leeming  <leeming@lyx.org>
7778
7779         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7780         than Dialogs::showTabularCreate().
7781
7782 2003-03-09  John Levon  <levon@movementarian.org>
7783
7784         * lyxtext.h:
7785         * text.C:
7786         * text2.C: 3rd arg to nextBreakPoint was always the same.
7787           Use references.
7788
7789 2003-03-08  John Levon  <levon@movementarian.org>
7790
7791         * lyxrow.C:
7792         * paragraph.C:
7793         * paragraph.h:
7794         * rowpainter.C:
7795         * text.C:
7796         * text2.C: Remove the "main" bit from the "main body"
7797           notion.
7798
7799 2003-03-08  John Levon  <levon@movementarian.org>
7800
7801         * text.C (leftMargin): The left margin of an empty
7802         manual label paragraph should not include the label width
7803         string length.
7804
7805         * text.C (prepareToPrint): don't attempt to measure hfills
7806         for empty manual label paragraphs - the answer should be 0
7807
7808 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7809
7810         * CutAndPaste.C: remove commented code and reindent.
7811
7812 2003-03-08  John Levon  <levon@movementarian.org>
7813
7814         * lyxfunc.h:
7815         * lyxfunc.C: move reloadBuffer()
7816
7817         * BufferView.h:
7818         * BufferView.C: to here
7819
7820         * lyxvc.C: add comment
7821
7822         * vc-backend.h:
7823         * vc-backend.C: call bv->reload() to avoid
7824           getStatus() check on MENURELOAD
7825
7826 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7827
7828         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7829         to an old format .dep file.
7830
7831 2003-03-07  Angus Leeming  <leeming@lyx.org>
7832
7833         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7834         when the LFUN_MOUSE_RELEASE should have been handled by
7835         inset->localDispatch.
7836
7837 2003-03-07  Angus Leeming  <leeming@lyx.org>
7838
7839         * BufferView_pimpl.C (dispatch):
7840         * LyXAction.C (init):
7841         * ToolbarDefaults.C (init):
7842         * commandtags.h:
7843         * lyxfunc.C (getStatus):
7844         remove LFUN_INSET_GRAPHICS.
7845
7846         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7847
7848 2003-03-07  Angus Leeming  <leeming@lyx.org>
7849
7850         * commandtags.h:
7851         * LyXAction.C (init):
7852         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7853
7854         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7855
7856         * commandtags.h:
7857         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7858
7859         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7860         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7861
7862 2003-03-07  Angus Leeming  <leeming@lyx.org>
7863
7864         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7865         remove "ert".
7866
7867 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7868
7869         * ParagraphList.C (front): new function
7870         (back): implement
7871
7872 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7873
7874         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7875         and top_row_offset_. removed var first_y.
7876         * text.C (top_y):
7877         * text2.C (LyXText, removeRow):
7878         * text3.C:
7879         * BufferView_pimpl.C:
7880         use these methods instead of using first_y
7881
7882 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * text2.C (pasteSelection): adjust for checkPastePossible
7885
7886         * CutAndPaste.C: remove Paragraph * buf and replace with
7887         ParagraphList paragraphs.
7888         (DeleteBuffer): delete
7889         (cutSelection): change the tc type to textclass_type
7890         (copySelection): change the tc type to textclass_type
7891         (copySelection): adjust for ParagraphList
7892         (pasteSelection): change the tc type to textclass_type
7893         (pasteSelection): adjust for Paragraphlist
7894         (nrOfParagraphs): simplify for ParagraphList
7895         (checkPastePossible): simplify for ParagraphList
7896         (checkPastePossible): remove unused arg
7897
7898         * ParagraphList.C (insert): handle the case where there are no
7899         paragraphs yet.
7900
7901         * CutAndPaste.h: make CutAndPaste a namespace.
7902
7903         * text3.C (dispatch): adjust
7904
7905         * text.C (breakParagraph): add a ParagraphList as arg
7906
7907         * paragraph_funcs.C (breakParagraph): change to take a
7908         BufferParams and a ParagraphList as args.
7909         (breakParagraphConservative): ditto
7910         (mergeParagraph): ditto
7911         (TeXDeeper): add a ParagraphList arg
7912         (TeXEnvironment): ditto
7913         (TeXOnePar): ditto
7914
7915         * buffer.C (readLyXformat2): adjust
7916         (insertStringAsLines): adjust
7917         (latexParagraphs): adjust
7918
7919         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7920         (cutSelection): adjust
7921         (pasteSelection): adjust
7922
7923         * BufferView_pimpl.C (insertInset): adjust
7924
7925 2003-03-05  Angus Leeming  <leeming@lyx.org>
7926
7927         * commandtags.h:
7928         * LyXAction.C (init):
7929         * BufferView_pimpl.C (dispatch):
7930         * lyxfunc.C (getStatus):
7931         remove LFUN_CHILD_INSERT.
7932
7933         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7934
7935 2003-03-05  Angus Leeming  <leeming@lyx.org>
7936
7937         * commandtags.h:
7938         * LyXAction.C (init):
7939         * src/factory.C (createInset):
7940         * lyxfunc.C (getStatus):
7941         * text3.C (dispatch):
7942         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7943
7944         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7945
7946 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * ParagraphList.C (insert): handle insert right before end()
7949         (erase): fix cases where it can be first or last paragraph.
7950
7951 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7954         Paragraph::next and Paragraph::previous
7955         (TeXOnePar): ditto
7956
7957         * text.C (breakParagraph): adjust
7958
7959         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7960         BufferParams& as arg.
7961         (breakParagraph): use ParagraphList::insert
7962         (breakParagraphConservative): take a Buffer* instead of a
7963         BufferParams& as arg.
7964         (breakParagraphConservative): use ParagraphList::insert.
7965
7966         * buffer.C (insertStringAsLines): un-const it
7967         (insertStringAsLines): adjust
7968
7969         * ParagraphList.C (insert): new function
7970
7971         * CutAndPaste.C (pasteSelection): adjust
7972
7973         * text.C (backspace): adjust
7974
7975         * tabular.C (SetMultiColumn): adjust
7976
7977         * CutAndPaste.C (cutSelection): adjust
7978         (pasteSelection): adjust
7979
7980         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7981         Buffer const * as arg
7982
7983         * ParagraphList.C (erase): new function
7984         * paragraph_funcs.C (mergeParagraph): use it
7985         (mergeParagraph): make it take a Buffer* instead of a
7986         BufferParams* as arg
7987
7988         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7989         as arg
7990         (breakParagraphConservative): ditto
7991
7992         * paragraph.h: remove the breakParagraph friend
7993
7994         * paragraph.C (eraseIntern): new function
7995         (setChange): new function
7996
7997         * paragraph_funcs.C (mergeParagraph): make it take a
7998         ParagraphList::iterator instead of a Paragraph *, adjust
7999         accordingly.
8000
8001         * paragraph.h: move an #endif so that the change tracking stuff
8002         also works in the NO_NEXT case.
8003
8004 2003-03-04  Angus Leeming  <leeming@lyx.org>
8005
8006         * commandtags.h:
8007         * LyXAction.C: new LFUN_INSET_MODIFY.
8008
8009         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8010         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8011
8012 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * several files: ws changes only
8015
8016         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8017         (TeXEnvironment): ditto
8018         (TeXDeeper): ditto
8019
8020         * buffer.C (makeLaTeXFile): adjust
8021         (latexParagraphs): make it take ParagraphList::iterator as args
8022
8023 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8024
8025         * buffer.C (latexParagraphs): adjust
8026
8027         * paragraph.C (TeXOnePar): move function...
8028         (optArgInset): move function...
8029         (TeXEnvironment): move function...
8030         * paragraph_pimpl.C (TeXDeeper): move function...
8031         * paragraph_funcs.C: ...here
8032
8033         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8034
8035 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8036
8037         * buffer.C (readInset): remove compability code for old Figure and
8038         InsetInfo insets
8039
8040 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * buffer.C: ws changes
8043         (readInset):
8044
8045         * BufferView_pimpl.C: ditto
8046         * author.C: ditto
8047         * buffer.h: ditto
8048         * bufferlist.h: ditto
8049         * changes.h: ditto
8050         * lyxfunc.C: ditto
8051
8052 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8053
8054         * converter.[Ch]: split into itself +
8055         * graph.[Ch]
8056         * format.[Ch]
8057         * Makefile.am: += graph.[Ch] + format.[Ch]
8058         * MenuBackend.C
8059         * buffer.C
8060         * exporter.C
8061         * importer.C
8062         * lyx_main.C
8063         * lyxfunc.C
8064         * lyxrc.C: added #include "format.h"
8065
8066 2003-02-27  Angus Leeming  <leeming@lyx.org>
8067
8068         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8069           a label.
8070
8071         * factory.C (createInset): add "label" to the factory.
8072
8073         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8074           string and do no more.
8075
8076 2003-02-27  Angus Leeming  <leeming@lyx.org>
8077
8078         * commandtags.h:
8079         * LyXAction.C (init):
8080         * factory.C (createInset):
8081         * BufferView_pimpl.C (dispatch):
8082           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8083
8084         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8085
8086         * lyxfunc.C (dispatch):
8087         * text3.C (dispatch): pass name to params2string.
8088
8089 2003-02-26  Angus Leeming  <leeming@lyx.org>
8090
8091         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8092           blocks together.
8093           Rearrange the ~includes. Strip out the unnecessary ones.
8094
8095         * factory.C (createInset): reformat.
8096           create new insets for the various LFUN_XYZ_APPLY lfuns.
8097
8098 2003-02-26  John Levon  <levon@movementarian.org>
8099
8100         * lyxrow.h:
8101         * lyxrow.C: add isParStart,isParEnd helpers
8102
8103         * paragraph.h: make isInserted/DeletedText take refs
8104
8105         * paragraph_funcs.h:
8106         * paragraph_funcs.C: remove #if 0'd code
8107
8108         * lyxtext.h:
8109         * text3.C:
8110         * text2.C:
8111         * text.C: use lyxrow helpers above.
8112           Move draw and paint routines to RowPainter.
8113           Make several methods use refs not pointers.
8114           Make backgroundColor() const.
8115           Add markChangeInDraw(), isInInset().
8116           Merge changeRegionCase into changeCase.
8117           Make workWidth() shouldn't-happen code into an Assert.
8118
8119         * rowpainter.h:
8120         * rowpainter.C: new class for painting a row.
8121
8122         * vspace.h:
8123         * vspace.C: make inPixels take a ref
8124
8125 2003-02-26  Angus Leeming  <leeming@lyx.org>
8126
8127         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8128         LFUN_REF_APPLY.
8129
8130 2003-02-25  John Levon  <levon@movementarian.org>
8131
8132         * ispell.C: give the forked command a more accurate name
8133
8134 2003-02-22  John Levon  <levon@movementarian.org>
8135
8136         * toc.h:
8137         * toc.C: make TocItem store an id not a Paragraph *
8138           (bug #913)
8139
8140 2003-02-21  Angus Leeming  <leeming@lyx.org>
8141
8142         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8143           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8144           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8145           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8146           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8147           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8148
8149         * BufferView_pimpl.C (dispatch):
8150         * LyXAction.C (init):
8151         * factory.C (createInset):
8152         * lyxfunc.C (getStatus, dispatch):
8153         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8154
8155 2003-02-21  Angus Leeming  <leeming@lyx.org>
8156
8157         * BufferView_pimpl.C (MenuInsertLyXFile):
8158         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8159         * lyxfunc.C (menuNew, open, doImport):
8160           no longer pass a LyXView & to fileDlg.
8161
8162 2003-02-21  Angus Leeming  <leeming@lyx.org>
8163
8164         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8165         * LyXAction.C: change, BIBKEY to BIBITEM.
8166         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8167         Change InsetBibKey to InsetBibitem.
8168         Change BIBKEY_CODE to BIBITEM_CODE.
8169         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8170         * factory.C: replace insetbib.h with insetbibitem.h.
8171         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8172         * paragraph.C: replace insetbib.h with insetbibitem.h.
8173         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8174         Change bibkey() to bibitem().
8175         * text.C: remove insetbib.h.
8176         * text2.C: replace insetbib.h with insetbibitem.h.
8177         change bibkey() to bibitem().
8178         * text3.C: remove insetbib.h.
8179         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8180
8181 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8182
8183         * lyxrc.C (output): enclose user email in quotes (in case there are
8184         several words)
8185
8186 2003-02-18  John Levon  <levon@movementarian.org>
8187
8188         * buffer.h: add std::
8189
8190 2003-02-17  John Levon  <levon@movementarian.org>
8191
8192         * SpellBase.h:
8193         * ispell.h:
8194         * ispell.C:
8195         * pspell.h:
8196         * pspell.C: reworking. Especially in ispell, a large
8197           number of clean ups and bug fixes.
8198
8199         * lyxfunc.C: fix revert to behave sensibly
8200
8201 2003-02-17 André Pönitz <poenitz@gmx.net>
8202
8203         * LyXAction.C:
8204         * commandtags.h: new LFUN_INSERT_BIBKEY
8205
8206         * layout.h:
8207         * lyxlayout.C:
8208         * buffer.C:
8209         * factory.C:
8210         * text.C:
8211         * text2.C:
8212         * text3.C:
8213         * paragraph.[Ch]:
8214         * paragraph_func.C: remove special bibkey handling
8215
8216 2003-02-17  John Levon  <levon@movementarian.org>
8217
8218         * text.C (Delete): fix case where delete at the end of
8219           the very first paragraph would not merge the pars
8220
8221 2003-02-17  John Levon  <levon@movementarian.org>
8222
8223         * lyxrow.C: fix lastPrintablePos()
8224
8225 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8226
8227         * bufferparams.C (writeLaTeX): add a std:here
8228
8229         * buffer.C: and remove a using directive there
8230
8231 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8232
8233         * buffer.C (makeLaTeXFile): move the code that generates the
8234           preamble...
8235
8236         * bufferparams.C (writeLaTeX): ... in this new method
8237
8238         * LaTeXFeatures.C (getEncodingSet): make const
8239           (getLanguages): make const
8240
8241         * MenuBackend.C (binding): returns the binding associated to this
8242           action
8243           (add): sets the status of each item by calling getStatus. Adds
8244           some intelligence.
8245           (read): add support for OptSubMenu
8246           (expand): remove extra separator at the end of expanded menu
8247
8248 2003-02-15  John Levon  <levon@movementarian.org>
8249
8250         * BufferView.C:
8251         * BufferView_pimpl.C:
8252         * bufferlist.h:
8253         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8254           inset code that had no actual effect. Remove unneeded status
8255           code.
8256
8257 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8258
8259         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8260           in preamble
8261
8262 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8263
8264         * text.C (drawLengthMarker): also draw an arrow marker for
8265           symbolic lengths (medskip...)
8266
8267 2003-02-14  John Levon  <levon@movementarian.org>
8268
8269         * tabular.h:
8270         * tabular.C: better method names
8271
8272 2003-02-14  John Levon  <levon@movementarian.org>
8273
8274         * BufferView_pimpl.C:
8275         * bufferlist.C:
8276         * buffer.C:
8277         * converter.C:
8278         * lyx_cb.C:
8279         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8280           it's a more accurate name. Remove some pointless uses.
8281
8282 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8283
8284         * text2.C (LyXText): change order of initilizers to shut off
8285           warnings
8286
8287 2003-02-14  John Levon  <levon@movementarian.org>
8288
8289         * buffer.C: use ParIterator for getParFromID()
8290
8291         * paragraph.h:
8292         * paragraph.C:
8293         * paragraph_pimpl.h:
8294         * paragraph_pimpl.C: remove unused getParFromID()
8295
8296 2003-02-14  John Levon  <levon@movementarian.org>
8297
8298         * buffer.C: remove some very old #if 0'd parse code
8299
8300 2003-02-13  John Levon  <levon@movementarian.org>
8301
8302         * text.h:
8303         * text.C:
8304         * text2.C: move hfillExpansion(), numberOfSeparators(),
8305           rowLast(), rowLastPrintable(), numberofHfills(),
8306           numberOfLabelHfills() ...
8307
8308         * lyxrow.h:
8309         * lyxrow.C: ... to member functions here.
8310
8311         * paragraph.h:
8312         * paragraph.C:
8313         * lyxtext.h:
8314         * text.C: remove LyXText::beginningOfMainBody(), and call
8315           p->beginningOfMainBody() directly. Move the check for
8316           LABEL_MANUAL into the latter.
8317
8318         * text.h:
8319         * text.C:
8320         * text2.C:
8321         * vspace.C:
8322         * BufferView.h:
8323         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8324
8325         * text.h:
8326         * text.C:
8327         * text2.C:
8328         * text3.C:
8329         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8330           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8331
8332 2003-02-13  John Levon  <levon@movementarian.org>
8333
8334         * CutAndPaste.C: remove debug
8335
8336 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8337
8338         * paragraph.C (asString): remove two unused variables
8339
8340         * lyxtextclass.C (readTitleType):
8341           (Read):
8342           (LyXTextClass): handle new members titletype_ and titlename_
8343
8344         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8345
8346 2003-02-09  John Levon  <levon@movementarian.org>
8347
8348         * buffer.h:
8349         * buffer.C: replace hand-coded list with a map for the dep clean
8350
8351 2003-02-08  John Levon  <levon@movementarian.org>
8352
8353         * LaTeX.C: consolidate code into showRunMessage() helper
8354
8355 2003-02-08  John Levon  <levon@movementarian.org>
8356
8357         * lyxfind.C:
8358         * lyxtext.h:
8359         * text2.C:
8360         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8361           and pass the size in explicitly
8362
8363         * BufferView_pimpl.h:
8364         * BufferView_pimpl.C:
8365         * BufferView.h:
8366         * BufferView.C: add getCurrentChange()
8367
8368         * BufferView_pimpl.h:
8369         * BufferView_pimpl.C: handle change lfuns
8370
8371         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8372           for changes. Mark pasted paragraphs as new.
8373
8374         * support/lyxtime.h:
8375         * support/lyxtime.C:
8376         * DepTable.C: abstract time_t as lyx::time_type
8377
8378         * LColor.h:
8379         * LColor.C: add colours for new text, deleted text, changebars
8380
8381         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8382           package use "usenames" option.
8383
8384         * commandtags.h:
8385         * lyxfunc.C:
8386         * LyXAction.C: add change lfuns
8387
8388         * Makefile.am:
8389         * author.h:
8390         * author.C: author handling
8391
8392         * buffer.h:
8393         * buffer.C: add a per-buffer author list, with first entry as
8394           current author. Handle new .lyx tokens for change tracking. Output
8395           author list to .lyx file. Output dvipost stuff to .tex preamble.
8396           Bump lyx format to 222.
8397
8398         * bufferlist.h:
8399         * bufferlist.C: add setCurrentAuthor() to reset current author details
8400           in all buffers.
8401
8402         * bufferparams.h:
8403         * bufferparams.C: add param for tracking
8404
8405         * bufferview_funcs.C: output change info in minibuffer
8406
8407         * Makefile.am:
8408         * changes.h:
8409         * changes.C: add change-tracking structure
8410
8411         * debug.h:
8412         * debug.C: add CHANGES debug flag
8413
8414         * lyxfind.h:
8415         * lyxfind.C: add code for finding the next change piece
8416
8417         * lyxrc.h:
8418         * lyxrc.C: add user_name and user_email
8419
8420         * lyxrow.h:
8421         * lyxrow.C: add a metric for the top of the text line
8422
8423         * lyxtext.h:
8424         * text.C: implement accept/rejectChange()
8425
8426         * lyxtext.h:
8427         * text.C: paint changebars. Paint new/deleted text in the chosen
8428         colours. Strike through deleted text.
8429
8430         * paragraph.h:
8431         * paragraph.C:
8432         * paragraph_pimpl.h:
8433         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8434           in the current change to the insert functions. Rework erase to
8435           mark text as deleted, adding an eraseIntern() and a range-based
8436           erase(). Implement per-paragraph change lookup and
8437           accept/reject.
8438
8439         * paragraph_funcs.C: Fixup paste for change tracking.
8440
8441         * tabular.C: mark added row/columns as new.
8442
8443         * text.C: fix rowLast() to never return -1. Don't allow
8444           spellchecking of deleted text. Track transpose changes. Don't
8445           allow paragraph break or merge where appropriate.
8446
8447         * text2.C: leave cursor at end of selection after a cut.
8448
8449 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8450
8451         * text.C (getLengthMarkerHeight):
8452         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8453         visible on screen too.
8454
8455 2003-02-07  John Levon  <levon@movementarian.org>
8456
8457         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8458
8459 2003-02-05  Angus Leeming  <leeming@lyx.org>
8460
8461         * lyxserver.C (read_ready): revert my patch of 11 September last year
8462         as it sends PC cpu through the roof. Presumably this means that
8463         the lyxserver will no longer run on an Alpha...
8464
8465 2003-01-30  Angus Leeming  <leeming@lyx.org>
8466
8467         * factory.C (createInset): create an InsetCommandParam of type "index"
8468         and use it to 'do the right thing'.
8469
8470         * text2.C (getStringToIndex): ensure that cursor position is always
8471         reset to the reset_cursor position.
8472
8473 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8474
8475         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8476         disabled.
8477
8478 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8479
8480         * bufferview.C:
8481         * lyxcb.C:
8482         * lyxfunc.C: Output messages with identical spelling, punctuation,
8483         and spaces
8484
8485 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8486
8487         * MenuBackend.C (expandFormats): List only viewable export formats
8488         in "View" menu
8489
8490         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8491         message
8492
8493         * lyxfunc.C (getStatus): Make sure that formats other than
8494         "fax" can also be disabled
8495
8496 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8497
8498         * text3.C (dispatch): put the lfuns that insert insets in 3
8499         groups, and call doInsertInset with appropriate arguments.
8500         (doInsertInset): new function, that creates an inset and inserts
8501         it according to some boolean parameters.
8502
8503 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8504
8505         * buffer.C (readFile): remember to pass on 'par' when calling
8506         readFile recursively.
8507
8508 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8509
8510         * MenuBackend.C (expandFormats): add "..." to import formats.
8511
8512 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8513
8514         * paragraph.C (asString): Remove XForms RTL hacks.
8515
8516 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8517         * buffer.C: fix typo
8518
8519 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8520
8521         * Makefile.am (LIBS): delete var
8522         (lyx_LDADD): add @LIBS@ here instead.
8523
8524 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8525
8526         * Clarify the meaning of "wheel mouse jump"
8527
8528 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8529
8530         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8531         tabular in a float
8532
8533 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8534
8535         * importer.C (Loaders): do not preallocate 3 elements in the
8536         vector, since one ends up with 6 elements otherwise
8537
8538 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8539
8540         * DepTable.C (write): write the file name as last element of the
8541         .dep file (because it may contain spaces)
8542         (read): read info in the right order
8543
8544 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8545
8546         * paragraph_pimpl.C (simpleTeXBlanks):
8547         (simpleTeXSpecialChars):
8548         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8549
8550         * tabular.C (latex): add some missing case statements. Reindent.
8551
8552         * MenuBackend.C (expandToc): remove unused variable.
8553
8554 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8555
8556         * LColor.C:
8557         * LaTeX.C:
8558         * LyXAction.C:
8559         * MenuBackend.C:
8560         * buffer.C:
8561         * exporter.C:
8562         * lyxfunc.C:
8563         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8564         and the like.
8565
8566 2003-01-05  John Levon  <levon@movementarian.org>
8567
8568         * BufferView.h:
8569         * BufferView.C: add getEncoding()
8570
8571         * kbsequence.h:
8572         * kbsequence.C: do not store last keypress
8573
8574         * lyxfunc.h:
8575         * lyxfunc.C: store last keypress here instead. Pass encoding
8576           to getISOEncoded()
8577
8578 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8579
8580         * lyx_main.C (init): remove annoying error message when following
8581         symbolic links (bug #780)
8582
8583 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8584
8585         * text.C (insertChar):
8586         * lyxrc.C (getDescription): remove extra spaces
8587
8588 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8589
8590         * lyxrc.C (getDescription): remove extra spaces
8591
8592 2002-12-20  John Levon  <levon@movementarian.org>
8593
8594         * text3.C: hack fix for page up/down across tall rows
8595
8596 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8597
8598         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8599         not been invoked
8600
8601 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8602
8603         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8604         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8605         thesaurus is not compiled in
8606
8607 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8608
8609         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8610
8611 2002-12-16  Angus Leeming  <leeming@lyx.org>
8612
8613         * lyxrc.[Ch]:
8614         * lyx_main.C (init): remove override_x_deadkeys stuff.
8615
8616 2002-12-12  John Levon  <levon@movementarian.org>
8617
8618         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8619           insert. Only remove shift modifier under strict
8620           circumstances.
8621
8622 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * MenuBackend.C (expandToc): fix crash.
8625
8626 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * MenuBackend.C (expandToc): gettext on float names.
8629
8630 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8631
8632         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8633         implement bool empty() [bug 490]
8634
8635 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8638
8639 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * several files: ws changes
8642
8643 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8644
8645         * text2.C (setCounter): clean up a bit, use boost.format.
8646         (updateCounters): initialize par upon declaration.
8647
8648         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8649         if the layout exists. We do not just store the layout any more.
8650         (SwitchLayoutsBetweenClasses): use boost.format
8651
8652 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8653
8654         * converter.C (convert): if from and to files are the same, use a
8655         temporary files as intermediary
8656
8657 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8658
8659         * commandtags.h:
8660         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8661
8662 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8663
8664         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8665
8666 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8667
8668         * tabular.C (asciiPrintCell): use string(size, char) instead of
8669         explicit loop.
8670
8671         * sgml.C (openTag): fix order of arguments to string constructor
8672         (closeTag): ditto
8673
8674         * lyxfunc.C (dispatch): use boost.format
8675
8676         * lots of files: change "c" -> 'c'
8677
8678 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8679
8680         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8681
8682 2002-11-25  Angus Leeming  <leeming@lyx.org>
8683
8684         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8685
8686         * lyx_main.C (init): compile fix.
8687
8688 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8689
8690         * lyx_cb.C (start): boost.formatify
8691         do not include <iostream>
8692
8693         * lengthcommon.C: ws only
8694
8695         * boost-inst.C,BoostFormat.h: add more explict instantations
8696
8697 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8698
8699         * lots of files: handle USE_BOOST_FORMAT
8700
8701 2002-11-21  John Levon  <levon@movementarian.org>
8702
8703         * pspell.C: fix compile
8704
8705 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8706
8707         * lyxfunc.C (dispatch): use boost::format
8708         (open): ditto
8709         (doImport): ditto
8710
8711         * lyxfont.C (stateText): use boost::format
8712
8713         * lyx_main.C (LyX): use boost::format
8714         (init): ditto
8715         (queryUserLyXDir): ditto
8716         (readRcFile): ditto
8717         (parse_dbg): ditto
8718         (typedef boost::function): use the recommened syntax.
8719
8720         * importer.C (Import): use boost::format
8721
8722         * debug.C (showLevel): use boost::format
8723
8724         * converter.C (view): use boost::format
8725         (convert): ditto
8726         (move): ditto
8727         (scanLog): ditto
8728
8729         * bufferview_funcs.C (currentState): use boost::format
8730
8731         * bufferlist.C (emergencyWrite): use boost::format
8732
8733         * buffer.C (readLyXformat2): use boost::format
8734         (parseSingleLyXformat2Token): ditto
8735
8736         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8737
8738         * LaTeX.C (run): use boost::format
8739
8740         * Chktex.C (scanLogFile): use boost::format
8741
8742         * BufferView_pimpl.C (savePosition): use boost::format
8743         (restorePosition): ditto
8744         (MenuInsertLyXFile): ditto
8745
8746         * BoostFormat.h: help file for explicit instation.
8747
8748 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8749
8750         * tabular.C (latex): Support for block alignment in fixed width
8751         columns.
8752
8753 2002-11-17  John Levon  <levon@movementarian.org>
8754
8755         * BufferView_pimpl.C:
8756         * lyx_cb.C:
8757         * lyxfunc.C: split filedialog into open/save
8758
8759 2002-11-08  Juergen Vigna  <jug@sad.it>
8760
8761         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8762         by my last patch (hopefully).
8763
8764 2002-11-08  John Levon  <levon@movementarian.org>
8765
8766         * iterators.h:
8767         * iterators.C:
8768         * buffer.h:
8769         * buffer.C:
8770         * paragraph.h:
8771         * paragraph.C:
8772         * toc.h:
8773         * toc.C: ParConstIterator, and use it (from Lars)
8774
8775 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8776
8777         * lyxtextclass.[Ch]: revise and add doxygen comments
8778
8779 2002-11-07  John Levon  <levon@movementarian.org>
8780
8781         * text.C: fix progress value for spellchecker
8782
8783         * toc.C: fix navigate menu for insetwrap inside minipage
8784
8785         * paragraph_funcs.C: added FIXME for suspect code
8786
8787 2002-11-07  John Levon  <levon@movementarian.org>
8788
8789         * BufferView_pimpl.C: fix redrawing of insets
8790           on buffer switch
8791
8792 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8793
8794         * text2.C (updateCounters): fix bug 668
8795
8796 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8797
8798         * text3.C (dispatch): Do not make the buffer dirty when moving the
8799         cursor.
8800
8801 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8802
8803         * vc-backend.C: STRCONV
8804         (scanMaster): ditto
8805
8806         * text2.C (setCounter): STRCONV
8807
8808         * paragraph.C (asString): STRCONV
8809
8810         * lyxlength.C (asString): STRCONV
8811         (asLatexString): ditto
8812
8813         * lyxgluelength.C (asString): STRCONV
8814         (asLatexString): ditto
8815
8816         * lyxfunc.C (dispatch): STRCONV
8817         (open): ditto
8818
8819         * lyxfont.C (stateText): STRCONV
8820
8821         * importer.C (Import): STRCONV
8822
8823         * counters.C (labelItem): STRCONV
8824         (numberLabel): ditto
8825         (numberLabel): remove unused ostringstream o
8826
8827         * chset.C: STRCONV
8828         (loadFile): ditto
8829
8830         * bufferview_funcs.C (currentState): STRCONV
8831
8832         * buffer.C (readFile): STRCONV
8833         (asciiParagraph): ditto
8834         (makeLaTeXFile): ditto
8835
8836         * Spacing.C (writeEnvirBegin): STRCONV
8837
8838         * LaTeXFeatures.C (getLanguages): STRCONV
8839         (getPackages): ditto
8840         (getMacros): ditto
8841         (getBabelOptions): ditto
8842         (getTClassPreamble): ditto
8843         (getLyXSGMLEntities): ditto
8844         (getIncludedFiles): ditto
8845
8846         * LaTeX.C: STRCONV
8847         (run): ditto
8848         (scanAuxFile): ditto
8849         (deplog): ditto
8850
8851         * LString.h: add the STRCONV macros
8852
8853         * BufferView_pimpl.C (savePosition): STRCONV
8854         (restorePosition): ditto
8855         (MenuInsertLyXFile): ditto
8856
8857         * vc-backend.C (scanMaster): change from submatch[...] to
8858         submatch.str(...)
8859
8860         * funcrequest.C: include config.h
8861
8862         * factory.C: include config.h
8863
8864         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8865
8866         * box.C: include config.h
8867
8868         * LaTeX.C (scanAuxFile): change from submatch[...] to
8869         submatch.str(...)
8870         (deplog): ditto
8871
8872 2002-10-25  Angus Leeming  <leeming@lyx.org>
8873
8874         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8875
8876         * ispell.[Ch] (setError): new method.
8877         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8878         Use setError() insetead of goto END.
8879
8880         * lyx_cb.C (AutoSave): move out child process into new class
8881         AutoSaveBuffer.
8882
8883 2002-10-30  John Levon  <levon@movementarian.org>
8884
8885         * text3.C: make start appendix undoable
8886
8887 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8888
8889         * lyxlength.C (inPixels): Fix returned value.
8890
8891         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8892         environment.
8893
8894 2002-10-24  Angus Leeming  <leeming@lyx.org>
8895
8896         * lyxgluelength.h: no need to forward declare BufferParams
8897         or BufferView, so don't.
8898
8899 2002-10-21  John Levon  <levon@movementarian.org>
8900
8901         * BufferView.C: menuUndo ->undo, redo
8902
8903         * BufferView.h: document, remove dead, make some methods private
8904
8905         * paragraph_funcs.h:
8906         * paragraph_funcs.C:
8907         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8908
8909         * buffer.h:
8910         * buffer.C:
8911         * sgml.h:
8912         * sgml.C: move sgml open/close tag into sgml.C
8913
8914         * bufferview_funcs.h: unused prototype
8915
8916         * lyxfunc.h:
8917         * lyxfunc.C: remove unused
8918
8919         * lyxtext.h:
8920         * text.C: remove unused
8921
8922 2002-10-21  John Levon  <levon@movementarian.org>
8923
8924         * BufferView.h:
8925         * BufferView.C:
8926         * BufferView_pimpl.h:
8927         * BufferView_pimpl.C: fix mouse wheel handling based on
8928           patch from Darren Freeman
8929
8930 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8931
8932         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8933
8934 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8935
8936         * lyxlength.C (inPixels): Fix hanfling of negative length.
8937         Fix LyXLength::MU case.
8938
8939 2002-10-16  John Levon  <levon@movementarian.org>
8940
8941         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8942
8943 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8944
8945         * converter.C (view): add support for $$i (file name) and $$p
8946         (file path) for the viewer command. If $$i is not specified, then
8947         it is appended to the command (for compatibility with old syntax)
8948
8949 2002-10-14  Juergen Vigna  <jug@sad.it>
8950
8951         * undo_funcs.C (textHandleUndo): alter the order in which the
8952         new undopar is added to the LyXText, as we have to set first
8953         the right prev/next and then add it as otherwise the rebuild of
8954         LyXText is not correct. Also reset the cursor to the right paragraph,
8955         with this IMO we could remove the hack in "redoParagraphs()".
8956
8957 2002-10-09  Angus Leeming  <leeming@lyx.org>
8958
8959         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8960         to turn off an optimisation if a new inset is to be inserted.
8961
8962 2002-10-11 André Pönitz <poenitz@gmx.net>
8963
8964         * lyxtext.h: make some functions public to allow access
8965         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8966
8967 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8968
8969         * text3.C (dispatch): when changing layout, avoid an infinite loop
8970         [bug #652]
8971
8972 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8973
8974         * lyxrc.C (read): treat a viewer or converter command of "none" as
8975         if it were empty.
8976
8977         * MenuBackend.C (expandFormats): for an update, also allow the
8978         formats that are not viewable
8979
8980         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8981         script if it is newer than the lyxrc.defaults in user directory
8982
8983 2002-10-07 André Pönitz <poenitz@gmx.net>
8984
8985         * text.C: Vitaly Lipatov's small i18n fix
8986
8987 2002-09-25  Angus Leeming  <leeming@lyx.org>
8988
8989         * ispell.h: doxygen fix.
8990
8991 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8992
8993         * buffer.h (readFile): Add a new argument to the method, to allow
8994         reading of old-format templates.
8995
8996 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8997
8998         * toc.C (getTocList): Get TOC from InsetWrap.
8999
9000 2002-09-16  John Levon  <levon@movementarian.org>
9001
9002         * lyxfunc.C: check tabular for cut/copy too
9003
9004 2002-09-12  John Levon  <levon@movementarian.org>
9005
9006         * LyXAction.C: tidy
9007
9008         * factory.h:
9009         * factory.C: add header
9010
9011         * paragraph_funcs.h:
9012         * paragraph_funcs.C: cleanup
9013
9014 2002-09-11  John Levon  <levon@movementarian.org>
9015
9016         * PrinterParams.h: odd/even default to true
9017
9018 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9019
9020         * PrinterParams.h: update printer parameters for new xforms dialog
9021
9022 2002-09-11  Angus Leeming  <leeming@lyx.org>
9023
9024         * lyxserver.C (read_ready): re-write to make it more transparent
9025         and to make it work in coherent fashion under Tru64 Unix.
9026
9027 2002-09-11  André Pönitz <poenitz@gmx.net>
9028
9029         * commandtags.h:
9030         * LyXAction.C:
9031         * text3.C: implement LFUN_WORDSEL
9032
9033 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9034
9035         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9036         make floatlist_ a boost::shared_ptr<FloatList>
9037
9038         * lyxtextclass.C: include FloatList.h
9039         (LyXTextClass): initialize floatlist_
9040         (TextClassTags): add TC_NOFLOAT
9041         (Read): match "nofloat" to TC_NOFLOAT and use it.
9042         (readFloat): modify call to floatlist_
9043         (floats): ditto
9044         (floats): ditto
9045
9046         * FloatList.[Ch] (FloatList): remove commented out float
9047         initialization.
9048         (erase): new function
9049
9050 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9051
9052         * MenuBackend.C (expandToc): fix crash when there is no document
9053         open
9054
9055 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9056
9057         * many files: Add insetwrap.
9058
9059 2002-09-09  John Levon  <levon@movementarian.org>
9060
9061         * text2.C: remove confusing and awkward depth wraparound
9062
9063 2002-09-09  John Levon  <levon@movementarian.org>
9064
9065         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9066
9067         * buffer.h:
9068         * buffer.C: remove getIncludeonlyList()
9069
9070         * paragraph.C:
9071         * lyxfunc.C: remove headers
9072
9073 2002-09-09  Juergen Vigna  <jug@sad.it>
9074
9075         * text.C (getColumnNearX): fix form Michael this is most
9076         probably a cut&paste bug.
9077
9078 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9079
9080         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9081
9082         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9083         references, ws changes.
9084
9085         * text2.C (init): update counters after init
9086         (insertParagraph): no need to set counter on idividual paragraphs.
9087         (setCounter): access the counters object in the textclass object
9088         on in the buffer object.
9089         (updateCounters): ditto
9090
9091         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9092         shared_ptr<Counters> to avoid loading counters.h in all
9093         compilation units.
9094         (LyXTextClass): initialize ctrs_
9095         (TextClassTags): add TC_COUNTER, and ...
9096         (Read): use it here.
9097         (CounterTags): new tags
9098         (readCounter): new function
9099         (counters): new funtion
9100         (defaultLayoutName): return a const reference
9101
9102         * counters.C (Counters): remove contructor
9103         (newCounter): remove a couple of unneeded statements.
9104         (newCounter): simplify a bit.
9105         (numberLabel): some small formatting changes.
9106
9107         * buffer.[Ch]: remove all traces of counters, move the Counters
9108         object to the LyXTextClass.
9109
9110 2002-09-06  Alain Castera  <castera@in2p3.fr>
9111
9112         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9113         package to set the horizontal alignment on fixed width columns.
9114
9115         * lyx_sty.C:
9116         * lyx_sty.h: added tabularnewline macro def.
9117
9118         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9119
9120 2002-09-06  John Levon  <levon@movementarian.org>
9121
9122         * LyXAction.C: tooltips for sub/superscript
9123
9124         * MenuBackend.C: a bit more verbose
9125
9126         * lyxfunc.C: tiny clean
9127
9128         * undo_funcs.C: document undo_frozen
9129
9130 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9131
9132         * counters.C (Counters): add missing algorithm counter.
9133
9134         * text2.C (setCounter): lookup the counter with layouts latexname
9135         instead of by section number.
9136         (setCounter): use a hackish way to lookup the correct enum
9137         counter.
9138         a float name->type change
9139         reset enum couners with counter name directly instead of depth value.
9140
9141         * counters.C (Counters): remove the push_backs, change to use the
9142         float type not the float name.
9143         (labelItem): remove unused string, float name->type change
9144
9145         * counters.h: don't include vector, loose the enums and sects vectors
9146
9147 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9148
9149         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9150         (Read): add float->TC_FLOAT to textclassTags
9151         (Read): and handle it in the switch
9152         (readFloat): new function
9153
9154         * FloatList.C (FloatList): comment out the hardcoded float
9155         definitions.
9156
9157         * lyxlayout.h: ws change.
9158
9159 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9160
9161         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9162
9163 2002-09-03  Angus Leeming  <leeming@lyx.org>
9164
9165         * BufferView_pimpl.h: qualified name is not allowed in member
9166         declaration: WorkArea & Pimpl::workarea() const;
9167
9168         * factory.C: added using std::endl directive.
9169
9170         * text3.C: added using std::find and std::vector directives.
9171
9172 2002-08-29  André Pönitz <poenitz@gmx.net>
9173
9174         * lyxtext.h:
9175         * text2.C: remove unused member number_of_rows
9176
9177         * Makefile.am:
9178         * BufferView2.C: remove file, move contents to...
9179         * BufferView.C: ... here
9180
9181         * BufferView_pimpl.C:
9182         * factory.C: move more inset creation to factory
9183
9184         * vspace.C: avoid direct usage of LyXText, ws changes
9185
9186         * BufferView.[Ch]:
9187                 don't provide direct access to WorkArea, use two simple
9188                 acessors haveSelction() and workHeight() instead
9189
9190
9191 2002-08-29  John Levon  <levon@movementarian.org>
9192
9193         * BufferView_pimpl.C (dispatch): do not continue when
9194           no buffer
9195
9196 2002-08-28  André Pönitz <poenitz@gmx.net>
9197
9198         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9199
9200         * BufferView.h:
9201         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9202
9203 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9204
9205         * buffer.C: increment LYX_FORMAT to 221
9206
9207         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9208         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9209
9210         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9211
9212         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9213
9214 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9215
9216         * factory.C (createInset): use LyXTextClass::floats
9217
9218         * MenuBackend.C (expandFloatListInsert):
9219         (expandFloatInsert):
9220         (expandToc):
9221
9222         * text2.C (setCounter):
9223
9224         * LaTeXFeatures.C (useFloat):
9225         (getFloatDefinitions):
9226
9227         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9228
9229         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9230         floatlist_, with accessor floats().
9231
9232         * FloatList.h: remove global FloatList
9233
9234 2002-08-26  André Pönitz <poenitz@gmx.net>
9235
9236         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9237
9238         * BufferView.h:
9239         * BufferView2.C:
9240         * BufferView_pimpl.C:
9241         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9242
9243 2002-08-25  John Levon  <levon@movementarian.org>
9244
9245         * LyXAction.C: fix margin note description
9246
9247 2002-08-24  John Levon  <levon@movementarian.org>
9248
9249         * buffer.C:
9250         * bufferlist.C:
9251         * bufferview_funcs.C:
9252         * lyxfont.C:
9253         * undo_funcs.C: cleanups
9254
9255         * lyxfunc.C: disable CUT/COPY when no selection
9256
9257 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9258
9259         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9260         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9261
9262         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9263         Add backward compatibility to "mono", "gray" and "no".
9264
9265 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9266
9267         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9268         (and file_format >= 200).
9269
9270 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9271
9272         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9273
9274 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9275
9276         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9277
9278 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9279
9280         * BufferView_pimpl.C:
9281         * LyXAction.C:
9282         * buffer.C:
9283         * commandtags.h:
9284         * lyxfunc.C:
9285         * paragraph.[Ch]:
9286         * text2.C:
9287         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9288         inset and code to make it  work with the paragraph code. The inset
9289         can be anywhere in the paragraph, but will only do the expected
9290         thing in LaTeX if the layout file contains the parameter line
9291                         OptionalArgs    1
9292         (or more generally, a nonzero value) for that layout.
9293
9294 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9295
9296         * paragraph.h: remove the declaration of undefined counters class
9297         function.
9298
9299 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9300
9301         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9302         Dr. Richard Hawkins.
9303
9304 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9305
9306         * paragraph_funcs.h: remove some unneeded includes
9307
9308         * text.C (backspace): pasteParagraph now in global scipe
9309
9310         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9311         (pasteSelection): ditto
9312
9313         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9314         * paragraph_funcs.C (pasteParagraph): ... here
9315
9316 2002-08-20  André Pönitz <poenitz@gmx.net>
9317
9318         * commandtags.h: new LFUNs for swapping/copying table row/colums
9319
9320         * LyXAction.C:
9321         * lyxfunc.C: support for new lfuns
9322
9323 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9324
9325         * tabular.C:
9326         * buffer.[Ch]: remove NO_COMPABILITY stuff
9327
9328 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9329
9330         * boost.C (throw_exception): new file, with helper function for
9331         boost compiled without exceptions.
9332
9333         * paragraph.h:
9334         * lyxlength.C:
9335         * buffer.C:
9336         * ParameterStruct.h:
9337         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9338
9339         * bufferlist.C (emergencyWriteAll): use boost bind
9340
9341         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9342
9343         * text.C: include paragraph_funcs.h
9344         (breakParagraph): breakParagraph is now in global scope
9345
9346         * paragraph_funcs.[Ch]: new files
9347
9348         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9349         global scope
9350
9351         * buffer.C: include paragraph_funcs.h
9352         (insertStringAsLines): breakParagraph is now in global scope
9353
9354         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9355         paragraph_funcs.C
9356
9357         * CutAndPaste.C: include paragraph_funcs.h
9358         (cutSelection): breakParagraphConservative is now in global scope
9359         (pasteSelection): ditto
9360
9361         * buffer.h: declare oprator== and operator!= for
9362         Buffer::inset_iterator
9363
9364         * bufferlist.C (emergencyWrite): don't use fmt(...)
9365
9366         * text3.C: add using std::endl
9367
9368         * BufferView.C (moveCursorUpdate): remove default arg
9369
9370 2002-08-20  André Pönitz <poenitz@gmx.net>
9371
9372         * buffer.[Ch]: move inline functions to .C
9373
9374         * BufferView2.C:
9375         * BufferView_pimpl.C:
9376         * text.C:
9377         * buffer.[Ch]: use improved inset_iterator
9378
9379         * buffer.C:
9380         * paragraph.[Ch]: write one paragraph at a time
9381
9382 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9383
9384         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9385         style if style is not specified.
9386
9387 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9388
9389         * text2.C (setCounter): when searching for right label for a
9390         caption, make sure to recurse to parent insets (so that a caption
9391         in a minipage in a figure float works) (bug #568)
9392
9393 2002-08-20  André Pönitz <poenitz@gmx.net>
9394
9395         * text3.C: new file for LyXText::dispatch() and helpers
9396
9397         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9398
9399         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9400
9401 2002-08-19  André Pönitz <poenitz@gmx.net>
9402
9403         * lyxtext.h:
9404         * text.C: new LyXText::dispatch()
9405
9406         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9407
9408 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9409
9410         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9411
9412         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9413         Hebrew text.
9414
9415 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9416
9417         * Makefile.am: use $(variables) instead of @substitutions@
9418
9419 2002-08-15  André Pönitz <poenitz@gmx.net>
9420
9421         * lyxfunc.C:
9422         * BufferView_pimpl.C: streamlining mathed <-> outer world
9423         interaction
9424
9425         * commandtags.h:
9426         * LyXAction.C: remove unused LFUN_MATH
9427
9428 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9429
9430         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9431
9432 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9433
9434         * paragraph.C (Paragraph): reformat a bit
9435         (cutIntoMinibuffer): use builtin InsetList function instad of
9436         doing it manually.
9437         (getInset): ditto
9438
9439         * buffer.C: include boost/bind.hpp, add using std::for_each
9440         (writeFileAscii): use ParagraphList iterators
9441         (validate): use for_each for validate traversal of paragraphs
9442         (getBibkeyList): use ParagraphList iterators
9443         (resizeInsets): use for_each to resizeInsetsLyXText for all
9444         paragraphs.
9445         (getParFromID): use ParagraphList iterators
9446
9447         * BufferView2.C (lockInset): use paragraph list and iterators
9448
9449 2002-08-14  John Levon  <levon@movementarian.org>
9450
9451         * lyxserver.C: remove spurious xforms include
9452
9453 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9454
9455         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9456
9457 2002-08-13  André Pönitz <poenitz@gmx.net>
9458
9459         * LyXAction.[Ch]:
9460         * lyxfunc.C: further cleaning
9461
9462 2002-08-13  André Pönitz <poenitz@gmx.net>
9463
9464         * funcrequest.h: new constructor
9465
9466         * funcrequest.C: move stuff here from .h
9467
9468         * Makefile.am:
9469         * BufferView_pimpl.C:
9470         * LyXAction.C:
9471         * toc.C:
9472         * lyxfunc.C: subsequent changes
9473
9474         * lyxfunc.h: new view() member function
9475
9476         * lyxfunc.C: subsequent changes
9477
9478 2002-08-13  Angus Leeming  <leeming@lyx.org>
9479
9480         * BufferView2.C:
9481         * BufferView_pimpl.C:
9482         * buffer.C:
9483         * converter.C:
9484         * importer.C:
9485         * lyxfunc.C:
9486         * lyxvc.C:
9487         * toc.C:
9488         * vc-backend.C:
9489         changes due to the changed LyXView interface that now returns references
9490         to member variables not pointers.
9491
9492 2002-08-13  Angus Leeming  <leeming@lyx.org>
9493
9494         * WordLangTuple (word, lang_code): return references to strings,
9495         not strings.
9496
9497         * BufferView.h:
9498         * SpellBase.h:
9499         * lyxtext.h: forward-declare WordLangTuple.
9500
9501         * BufferView2.C:
9502         * ispell.C:
9503         * pspell.C:
9504         * text.C: #include "WordLangTuple.h".
9505
9506         * lyxtext.h:
9507         * text.C: (selectNextWordToSpellcheck): constify return type.
9508
9509 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9510
9511         * buffer.C:
9512         * buffer.h:
9513         * lyxtext.h:
9514         * paragraph.C:
9515         * paragraph_pimpl.h:
9516         * text.C:
9517         * text2.C:
9518         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9519         suggested by Angus.
9520         Made updateCounter always count from start of buffer, and removed
9521         second argument (par).
9522         Reverted floats number display to '#'. Perhaps I'll try again when the
9523         code base is sanitized a bit.
9524
9525 2002-08-12  Angus Leeming  <leeming@lyx.org>
9526
9527         * buffer.[Ch] (getLabelList): constify.
9528
9529 2002-08-07  André Pönitz <poenitz@gmx.net>
9530
9531         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9532
9533         * funcrequest.h: extension to keep mouse (x,y) position
9534
9535 2002-08-12  Juergen Vigna  <jug@sad.it>
9536
9537         * BufferView2.C (insertErrors): forbid undo when inserting error
9538         insets.
9539
9540         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9541
9542 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9543
9544         * ParagraphList.[Ch]: new files
9545
9546         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9547
9548         * BufferView2.C (lockInset): ParagraphList changes
9549         * toc.C: ditto
9550         * text2.C: ditto
9551         * bufferlist.C: ditto
9552         * buffer.h: ditto
9553         * buffer.C: ditto
9554
9555 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9556
9557         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9558         unused class variable counter_,
9559
9560         * paragraph.[Ch] (getFirstCounter): delete unused function
9561
9562         * counters.C: include LAssert.h
9563         (reset): add a new function with no arg, change other version to
9564         not have def. arg and to not allow empty arg.
9565
9566         * text2.C (setCounter): remove empty arg from call to Counters::reset
9567
9568 2002-08-11  John Levon  <levon@movementarian.org>
9569
9570         * Makefile.am: add WordLangTuple.h
9571
9572 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9573
9574         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9575         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9576
9577         * insets/insettext.C: InsetList changes
9578
9579         * graphics/GraphicsSupport.C (operator()): InsetList changes
9580
9581         * toc.C (getTocList): InsetList changes
9582
9583         * paragraph_pimpl.[Ch]: InsetList changes
9584
9585         * paragraph.[Ch]: InsetList changes
9586
9587         * buffer.C (inset_iterator): InsetList changes
9588         (setParagraph): ditto
9589         * buffer.h (inset_iterator): ditto
9590         * iterators.C (operator++): ditto
9591         * iterators.h: ditto
9592
9593         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9594
9595         * InsetList.[Ch]: new files, most InsetList handling moved out of
9596         paragraph.C.
9597
9598         * BufferView2.C (removeAutoInsets): InsetList changes
9599         (lockInset): ditto
9600         (ChangeInsets): ditto
9601
9602 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9603
9604         * paragraph_pimpl.h (empty): new function
9605
9606         * paragraph.[Ch] (empty): new function
9607
9608         * other files: use the new Paragraph::empty function
9609
9610 2002-08-09  John Levon  <levon@movementarian.org>
9611
9612         * lyxtext.h: remove unused refresh_height
9613
9614 2002-08-09  John Levon  <levon@movementarian.org>
9615
9616         * Makefile.am:
9617         * sgml.h:
9618         * sgml.C:
9619         * buffer.C:
9620         * paragraph.h:
9621         * paragraph.C: move sgml char escaping out of paragraph
9622
9623         * paragraph.h:
9624         * paragraph.C: remove id setter
9625
9626         * buffer.C:
9627         * paragraph.C:
9628         * paragraph_pimpl.C: remove dead tex_code_break_column
9629
9630         * bufferview_funcs.C: small cleanup
9631
9632         * lyxfunc.C: remove dead proto
9633
9634         * lyxtext.h: make some stuff private. Remove some dead stuff.
9635
9636         * lyxgluelength.C: make as[LyX]String() readable
9637
9638 2002-08-08  John Levon  <levon@movementarian.org>
9639
9640         * LyXAction.h:
9641         * LyXAction.C:
9642         * MenuBackend.C:
9643         * ToolbarDefaults.C:
9644         * lyxfunc.C:
9645         * lyxrc.C:
9646         * toc.C: lyxaction cleanup
9647
9648 2002-08-08  John Levon  <levon@movementarian.org>
9649
9650         * BufferView2.C: small cleanup
9651
9652         * lyxfind.h:
9653         * lyxfind.C: move unnecessary header into the .C
9654
9655 2002-08-08  John Levon  <levon@movementarian.org>
9656
9657         * funcrequest.h: just tedious nonsense
9658
9659         * lyx_main.h:
9660         * lyx_main.C: cleanups
9661
9662         * buffer.C:
9663         * vspace.C: remove dead header lyx_main.h
9664
9665 2002-08-07  Angus Leeming  <leeming@lyx.org>
9666
9667         * Paragraph.[Ch]:
9668         * paragraph_pimpl.h:
9669         Forward declare class Counters in paragraph.h by moving the ctrs member
9670         variable into Paragraph::Pimpl.
9671         (counters): new method, returning a reference to pimpl_->ctrs.
9672
9673         * text2.C: ensuing changes.
9674
9675 2002-08-07  John Levon  <levon@movementarian.org>
9676
9677         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9678
9679         * BufferView_pimpl.C: announce X selection on double/triple
9680           click
9681
9682         * lyx_main.C: use correct bool in batch dispatch
9683
9684         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9685
9686 2002-08-07  André Pönitz <poenitz@gmx.net>
9687
9688         * funcrequest.h: new class to wrap a kb_action and its argument
9689
9690         * BufferView.[Ch]:
9691         * BufferView_pimpl[Ch]:
9692         * LaTeX.C:
9693         * LyXAction.[Ch]:
9694         * lyxfunc.[Ch]:
9695         * lyxrc.C: subsequent changes
9696
9697
9698 2002-08-07  John Levon  <levon@movementarian.org>
9699
9700         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9701           document options change.
9702
9703 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9704
9705         * counters.[Ch]
9706         * text2.C
9707         * paragraph.[Ch]
9708         * makefile.am: move counters functionality over from
9709         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9710
9711 2002-08-06  John Levon  <levon@movementarian.org>
9712
9713         * WordLangTuple.h: new file for word + language code tuple
9714
9715         * SpellBase.h:
9716         * pspell.h:
9717         * pspell.C:
9718         * ispell.h:
9719         * ispell.C:
9720         * lyxtext.h:
9721         * text.C:
9722         * text2.C:
9723         * BufferView.h:
9724         * BufferView2.C: use WordLangTuple
9725
9726         * layout.h:
9727         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9728
9729 2002-08-06  John Levon  <levon@movementarian.org>
9730
9731         * lyx_main.C: fix cmdline batch handling
9732
9733 2002-08-06  André Pönitz <poenitz@gmx.net>
9734
9735         * lyxrc.C: set default for show_banner to true
9736
9737 2002-08-06  John Levon  <levon@movementarian.org>
9738
9739         * pspell.C: fix a crash, and allow new aspell to work
9740
9741 2002-08-06  John Levon  <levon@movementarian.org>
9742
9743         * lyxfunc.C:
9744         * kbmap.C: small cleanup
9745
9746         * vspace.h:
9747         * vspace.C: add const
9748
9749 2002-08-05  John Levon  <levon@movementarian.org>
9750
9751         * LyXAction.C: back to tabular-insert
9752
9753 2002-08-04  John Levon  <levon@movementarian.org>
9754
9755         * BufferView.h:
9756         * BufferView.C: cosmetic change
9757
9758         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9759
9760         * bufferlist.C:
9761         * buffer.h:
9762         * buffer.C:
9763         * lyxcb.h:
9764         * lyxcb.C:
9765         * lyxserver.C:
9766         * lyxvc.C:
9767         * vc-backend.C:
9768         * BufferView2.C: purge all "Lyx" not "LyX" strings
9769
9770         * lyxcursor.h:
9771         * lyxcursor.C: attempt to add some documentation
9772
9773         * lyxfunc.C:
9774         * commandtags.h:
9775         * LyXAction.C:
9776         * ToolbarDefaults.C:
9777         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9778           merge with LFUN_TABULAR_INSERT
9779
9780         * Makefile.am:
9781         * SpellBase.h:
9782         * ispell.h:
9783         * ispell.C:
9784         * pspell.h:
9785         * pspell.C: split up i/pspell implementations into separate
9786           files, many cleanups
9787
9788         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9789
9790         * text2.C: some cleanup
9791
9792         * lyxfunc.C: don't check for isp_command == "none" any more, it
9793           didn't make any sense
9794
9795 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9796
9797         * counters.[Ch]
9798         * text2.C
9799         * paragraph.[Ch]
9800         * makefile.am: move counters functionality over
9801         from text2.C/paragraph.[Ch] to counters.[Ch], and
9802         make proper C++.
9803 2002-08-02  John Levon  <levon@movementarian.org>
9804
9805         * buffer.C: s/lyxconvert/lyx2lyx/
9806
9807 2002-08-02  Angus Leeming  <leeming@lyx.org>
9808
9809         * lyxlex.C: revert John's change as it breaks reading of the user
9810         preamble.
9811
9812 2002-08-02  Angus Leeming  <leeming@lyx.org>
9813
9814         * importer.C (Import):
9815         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9816         changes due to LyXView::view() now returning a boost::shared_ptr.
9817
9818 2002-08-02  John Levon  <levon@movementarian.org>
9819
9820         * lyxlex.C: small cleanup
9821
9822 2002-08-02  John Levon  <levon@movementarian.org>
9823
9824         * text2.C (status): small cleanup, no logic change
9825
9826 2002-08-01  John Levon  <levon@movementarian.org>
9827
9828         * buffer.h:
9829         * buffer.C (writeFile): don't output alerts, caller
9830           handles this
9831
9832         * bufferlist.C:
9833         * lyx_cb.C: from above
9834
9835         * lyxfunc.C: allow to open non-existent files
9836
9837 2002-07-31  John Levon  <levon@movementarian.org>
9838
9839         * lyxserver.C: don't let incidental errors get
9840           in the way (errno)
9841
9842 2002-07-30  John Levon  <levon@movementarian.org>
9843
9844         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9845
9846 2002-07-30  John Levon  <levon@movementarian.org>
9847
9848         * lyxserver.h:
9849         * lyxserver.C: remove I/O callback too
9850
9851 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9852
9853         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9854         log.
9855
9856 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9857
9858         * many files: strip,frontStrip -> trim,ltrim,rtrim
9859
9860 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9861
9862         * PrinterParams.h: remove extern containsOnly, and include
9863         support/lstrings.h instead.
9864
9865         * LaTeX.C (scanAuxFile): modify because of strip changes
9866         (deplog): ditto
9867         * buffer.C (makeLaTeXFile): ditto
9868         * bufferparams.C (writeFile): ditt
9869         * lyxfont.C (stateText): ditto
9870         * lyxserver.C (read_ready): ditto
9871         * vc-backend.C (scanMaster): ditto
9872
9873         * BufferView_pimpl.h: ws changes
9874
9875         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9876
9877 2002-07-26  André Pönitz <poenitz@gmx.net>
9878
9879         * kb_sequence.C: remove unnedred usings
9880
9881 2002-07-26  Juergen Vigna  <jug@sad.it>
9882
9883         * lyxfind.C (LyXReplace): we have to check better if the returned
9884         text is not of theLockingInset()->getLockingInset().
9885
9886 2002-07-25  Juergen Vigna  <jug@sad.it>
9887
9888         * lyxfind.C (LyXReplace): don't replace if we don't get the
9889         right LyXText.
9890
9891         * undo_funcs.C (createUndo): remove debugging code.
9892
9893 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9894
9895         * buffer.C (parseSingleLyXformat2Token): Use default placement
9896         when reading old floats.
9897
9898         * FloatList.C (FloatList): Change the default placement of figure
9899         and tables to "tbp".
9900
9901 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9902
9903         * MenuBackend.C: using std::max
9904
9905 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9906
9907         * MenuBackend.C (expandToc):
9908         (expandToc2): code moved from xforms menu frontend. It is now
9909         generic and TOCs are transparent to menu frontends.
9910
9911 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9912
9913         * toc.C (getTocList): protect against buf=0
9914
9915         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9916         Menu as first parameter. Now, this calls itself recursively to
9917         expand a whole tree (this will be useful for TOC handling)
9918         (expandFloatInsert): remove 'wide' version of floats
9919
9920         * MenuBackend.h (submenuname): returns the name of the submenu.
9921         (submenu): returns the submenu itself, provided it has been
9922         created by MenuBackend::expand
9923
9924 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9925
9926         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9927         insets which have noFontChange == true. (bug #172)
9928
9929 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9930
9931         * BufferView_pimpl.C: add connection objects and use them...
9932         (Pimpl): here.
9933
9934 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9935
9936         * MenuBackend.C (expandLastfiles):
9937         (expandDocuments):
9938         (expandFormats):
9939         (expandFloatListInsert):
9940         (expandFloatInsert):
9941         (expand): split expand in parts
9942
9943 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9944
9945         * lyx_gui.C: use lyx_gui::exit()
9946
9947 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9948
9949         * LyXAction.C: show the failing pseudo action
9950
9951 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9952
9953         * buffer.C (readFile): Run the lyxconvert script in order to read
9954         old files.
9955
9956 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * LyXAction.C:
9959         * commandtags.h:
9960         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9961
9962 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9963
9964         * LyXAction.C:
9965         * commandtags.h:
9966         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9967
9968 2002-07-22  Herbert Voss  <voss@lyx.org>
9969
9970         * lengthcommon.C:
9971         * lyxlength.[Ch]: add support for the vertical lengths
9972
9973 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * toc.[Ch]: std:: fixes
9976
9977 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9978
9979         * lyxrc.C: do not include lyx_main.h
9980
9981         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9982         for layouts
9983
9984         * lyxrc.C:
9985         * encoding.C:
9986         * bufferlist.C:
9987         * BufferView2.C: include "lyxlex.h"
9988
9989         * tabular.h:
9990         * bufferparams.h: do not #include "lyxlex.h"
9991
9992         * lyxtextclasslist.C (Add): remove method
9993         (classlist): renamed to classlist_
9994
9995         * paragraph_pimpl.C:
9996         * paragraph.C:
9997         * text2.C:
9998         * CutAndPaste.C:
9999         * bufferview_funcs.C:
10000         * bufferlist.C:
10001         * text.C:
10002         * LaTeXFeatures.C:
10003         * buffer.C:
10004         * toc.C (getTocList): use BufferParams::getLyXTextClass
10005
10006         * toc.C (getTocList): use InsetFloat::addToToc
10007
10008         * toc.[Ch]: new files, containing helper functions to handle table
10009         of contents
10010
10011         * lyxfunc.C (dispatch): no need to remove spaces around command
10012         given as a string
10013         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10014         first command of the sequence; it is not very clever, but I do not
10015         have a better idea, actually
10016
10017         * LyXAction.C (LookupFunc): make sure to remove space at the
10018         beginning and end of the command
10019
10020 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10021
10022         * MenuBackend.C (getMenubar): new method: return the menubar of
10023         this menu set
10024         (read): treat differently reading of menu and menubar (in
10025         particular, the menubar has no name now)
10026         (Menu::menubar): remove
10027
10028         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10029         saving is finished
10030
10031 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10032
10033         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10034         a bibitem inset in a RTL paragraph.
10035
10036 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10037
10038         * paragraph_pimpl.C: constify
10039
10040         * BufferView_pimpl.C:
10041         * LaTeX.C:
10042         * lyxfunc.C: fix dispatch in a nicer way
10043
10044 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * lyxfunc.C (dispatch):
10047         * BufferView_pimpl.C:
10048         * BufferView_pimpl.h:
10049         * BufferView.C:
10050         * BufferView.h: rename Dispatch() to dispatch()
10051
10052         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10053
10054         * lyxlayout.C (Read): honor DependsOn tag
10055
10056         * lyxlayout.[Ch] (depends_on): new method
10057
10058         * version.C.in: update lyx_docversion
10059
10060         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10061
10062         * paragraph.C (validate): remove from here...
10063         * paragraph_pimpl.C (validate): ... and move here
10064         (isTextAt): make it const
10065
10066         * buffer.C (getLists): ws cleanup
10067
10068 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10069
10070         * language.C (read): Use iso8859-1 encoding in latex_lang
10071         (this prevents LyX from crashing when using iso10646-1 encoding).
10072
10073 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10074
10075         * text2.C (toggleInset): if cursor is inside an inset, close the
10076         inset and leave cursor _after_ it
10077
10078 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * lyxfunc.C: move minibuffer completion handling out of here
10081
10082 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10083
10084         * BufferView_pimpl.C:
10085         * LaTeX.C: fix dispatch calls
10086
10087 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10088
10089         * text.C (drawChars): Fix Arabic text rendering.
10090
10091 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10092
10093         * LyXAction.C:
10094         * commandtags.h:
10095         * lyxfunc.C: remove message-push/pop
10096
10097         * lyxserver.C:
10098         * lyxfunc.h:
10099         * lyxfunc.C: rationalise some code by removing verboseDispatch
10100           in favour of a bool argument to dispatch()
10101
10102 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10103
10104         * lyx_main.C (init): make sure to read symlinks as absolute paths
10105
10106 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * lyxfunc.h:
10109         * lyxfunc.C: no need for commandshortcut to be a member
10110
10111 2002-07-15  André Pönitz <poenitz@gmx.net>
10112
10113         * converter.C: add support for $$s (scripts from lib/scripts dir)
10114         * lyx_main.C: white space
10115
10116 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10117
10118         * bufferlist.C:
10119         * lyxrc.h:
10120         * lyxrc.C: remove second exit confirmation
10121
10122 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * BufferView.h:
10125         * BufferView.C:
10126         * BufferView2.C:
10127         * BufferView_pimpl.h:
10128         * BufferView_pimpl.C:
10129         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10130
10131 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * MenuBackend.C (expand): add numeric shortcuts to document menu
10134
10135         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10136
10137 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10138
10139         * lyxfont.C (setLyXFamily):
10140         (setLyXSeries):
10141         (setLyXShape):
10142         (setLyXSize):
10143         (setLyXMisc):
10144         (lyxRead):
10145         * debug.C (value):
10146         * buffer.C (asciiParagraph): use ascii_lowercase
10147
10148 2002-07-15  Mike Fabian  <mfabian@suse.de>
10149
10150         * lyxlex_pimpl.C (search_kw):
10151         * lyxlex.C (getLongString):
10152         * converter.h (operator<):
10153         * converter.C (operator<):
10154         * buffer.C (parseSingleLyXformat2Token):
10155         (asciiParagraph):
10156         * ToolbarDefaults.C (read):
10157         * MenuBackend.C (checkShortcuts):
10158         (read):
10159         * LColor.C (getFromGUIName):
10160         (getFromLyXName): use the compare_ascii_no_case instead of
10161         compare_no_case, because in turkish, 'i' is not the lowercase
10162         version of 'I', and thus turkish locale breaks parsing of tags.
10163
10164 2002-07-16  Angus Leeming  <leeming@lyx.org>
10165
10166         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10167         now takes a Buffer const & argument.
10168
10169 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * BufferView.C (resize): check there's a buffer to resize
10172
10173 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * lyxfunc.C: remove dead code
10176
10177         * lyxserver.h:
10178         * lyxserver.C: use lyx_guii::set_read_callback
10179
10180 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10181
10182         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10183         an inset in a RTL paragraph.
10184
10185 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * lyxfunc.C: repaint after a font size update
10188
10189 2002-07-15  André Pönitz <poenitz@gmx.net>
10190
10191         * lyxlength.C: inBP should be able to return negative values
10192
10193 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * lyxfunc.C: use lyx_gui::update_fonts()
10196
10197 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10198
10199         * lyxfunc.C: use lyx_gui::update_color()
10200
10201 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10202
10203         * bufferlist.C:
10204         * lyxfunc.h:
10205         * lyxfunc.C:
10206         * lyxrc.h:
10207         * lyxrc.C: remove file->new asks for name option, and let
10208           buffer-new take an argument
10209
10210 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * BufferView_pimpl.C: remove unneeded extra repaint()
10213
10214 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * LyXAction.C: allow command-sequence with NoBuffer
10217
10218         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10219
10220 2002-07-10  Angus Leeming  <leeming@lyx.org>
10221
10222         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10223
10224 2002-07-09  Angus Leeming  <leeming@lyx.org>
10225
10226         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10227
10228 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10229
10230         * lengthcommon.h: whitespace
10231
10232         * lyxfunc.C: update scrollbar after goto paragraph
10233
10234         * lyxtext.h: factor out page break drawing, and fix it so
10235           page break/added space paints as selected nicely
10236
10237 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * BufferView_pimpl.C: add FIXMEs, clean up a little
10240
10241 2002-07-09  André Pönitz <poenitz@gmx.net>
10242
10243         * lyxfont.[Ch]: support for wasy symbols
10244
10245 2002-07-08  André Pönitz <poenitz@gmx.net>
10246
10247         * BufferView_pimpl.C: apply John's patch for #93.
10248
10249 2002-07-05  Angus Leeming  <leeming@lyx.org>
10250
10251         * BufferView_pimpl.C (buffer): generate previews if desired.
10252
10253         * LColor.h: add "preview" to the color enum.
10254
10255         * LColor.C (LColor): add a corresponding entry to the items array.
10256
10257         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10258         with this buffer.
10259
10260 2002-07-05  Angus Leeming  <leeming@lyx.org>
10261
10262         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10263         The body of the code is now in the method that is passed an ostream &
10264         rather than a file name.
10265         Pass an additional only_preamble parameter, useful for the forthcoming
10266         preview stuff.
10267
10268 2002-07-03  André Pönitz <poenitz@gmx.net>
10269
10270         * lyxfunc.C: simplify getStatus() a bit for math stuff
10271
10272 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10273
10274         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10275
10276 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10277
10278         * text.C (changeRegionCase): do not change case of all the
10279         document when region ends at paragraph end (bug #461)
10280
10281 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10282
10283         * paragraph.C (startTeXParParams):
10284         (endTeXParParams): add \protect when necessary
10285
10286 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10287
10288         * BufferView_pimpl.C (workAreaExpose): remove warning
10289
10290 2002-06-27  Angus Leeming  <leeming@lyx.org>
10291
10292         * Makefile.am: add lyxlayout_ptr_fwd.h.
10293
10294 2002-06-26  André Pönitz <poenitz@gmx.net>
10295
10296         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10297
10298 2002-06-25  Angus Leeming  <leeming@lyx.org>
10299
10300         * lyxfunc.C (dispatch): Comment out the call to
10301         grfx::GCache::changeDisplay. The method no longer exists now that the
10302         pixmap generation part of the graphics loader has been moved into
10303         InsetGraphics.
10304
10305 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10306
10307         * text2.C: layout as layout
10308
10309         * text.C: layout as layout
10310
10311         * tabular.C (OldFormatRead): layout as layout
10312
10313         * paragraph_pimpl.C (TeXDeeper): layout as layout
10314         (realizeFont): layout as layout
10315
10316         * paragraph.C (writeFile): layout as layout
10317         (validate): layout as layout
10318         (getFont): layout as layout
10319         (getLabelFont): layout as layout
10320         (getLayoutFont): layout as layout
10321         (breakParagraph): layout as layout
10322         (stripLeadingSpaces): layout as layout
10323         (getEndLabel): layout as layout
10324         (getMaxDepthAfter): layout as layout
10325         (applyLayout): layout as layout
10326         (TeXOnePar): layout as layout
10327         (simpleTeXOnePar): layout as layout
10328         (TeXEnvironment): layout as layout
10329         (layout): layout as layout
10330         (layout): layout as layout
10331
10332         * lyxtextclass.C (compare_name): new functor to work with
10333         shared_ptr, layout as layout
10334         (Read): layout as layout
10335         (hasLayout): layout as layout
10336         (operator): layout as layout
10337         (delete_layout): layout as layout
10338         (defaultLayout): layout as layout
10339
10340         * lyxlayout_ptr_fwd.h: new file
10341
10342         * lyxlayout.C (Read): layout as layout
10343
10344         * lyx_cb.C (MenuInsertLabel): layout as layout
10345
10346         * bufferlist.C (newFile): layout as layout
10347
10348         * buffer.C (readLyXformat2): layout as layout
10349         (parseSingleLyXformat2Token): layout as layout
10350         (insertStringAsLines): layout as layout
10351         (asciiParagraph): layout as layout
10352         (latexParagraphs): layout as layout
10353         (makeLinuxDocFile): layout as layout
10354         (simpleLinuxDocOnePar): layout as layout
10355         (makeDocBookFile): layout as layout
10356         (simpleDocBookOnePar): layout as layout
10357         (getLists): layout as layout
10358
10359         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10360
10361         * CutAndPaste.C (cutSelection): layout as layout
10362         (pasteSelection): layout as layout
10363         (SwitchLayoutsBetweenClasses): layout as layout
10364
10365         * BufferView_pimpl.C (Dispatch): layout as layout
10366         (smartQuote): layout as layout
10367
10368         * BufferView2.C (unlockInset): layout as layout
10369
10370 2002-06-24  André Pönitz <poenitz@gmx.net>
10371
10372         * lyxfunc.C: fix #487
10373
10374 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * lyxrc.h:
10377         * lyxrc.C:
10378         * lyxfunc.C: remove display_shortcuts, show_banner
10379
10380 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * Buffer_pimpl.C: oops, update on resize
10383
10384 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * buffer.C:
10387         * converter.C:
10388         * exporter.C:
10389         * lyxfunc.C:
10390         * BufferView.h:
10391         * BufferView.C: use repaint()
10392
10393         * BufferView_pimpl.h:
10394         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10395           as it's a clearer description. Remove superfluous
10396           redraws.
10397
10398 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * text.C: fix bug 488. Not ideal, but getting
10401           getWord() to work properly for the insets that
10402           matter is more difficult ...
10403
10404 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10405
10406         * BufferView_pimpl.C:
10407         * LyXAction.C:
10408         * commandtags.h:
10409         * lyxfunc.C: remove the six million index lyxfuncs to just
10410           one, and DTRT (bug 458)
10411
10412 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10413
10414         * BufferView.h:
10415         * BufferView.C:
10416         * BufferView_pimpl.h:
10417         * BufferView_pimpl.C: clean up resize() stuff,
10418           and unnecessary updateScreen()s
10419
10420 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10421
10422         * BufferView.h:
10423         * BufferView.C:
10424         * BufferView_pimpl.h:
10425         * BufferView_pimpl.C:
10426         * lyxfind.h:
10427         * lyxfind.C:
10428         * minibuffer.C: remove focus management of workarea,
10429           not needed. Use screen's greyOut()
10430
10431 2002-06-17  Herbert Voss  <voss@lyx.org>
10432
10433         * converter.C: (convert) do not post a message, when converting
10434         fails, let the calling function decide what to do in this case
10435
10436 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * lyxfunc.C: tidy up a little
10439
10440 2002-06-16    <alstrup@diku.dk>
10441
10442         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10443         Got rid of FORMS_H_LOCATION include. Now we are
10444         GUII.
10445
10446 2002-06-15  LyX Development team  <lyx@rilke>
10447
10448         * buffer.[Ch] (sgmlOpenTag):
10449         (sgmlCloseTag): Added support for avoiding pernicious mixed
10450         content. Return number of lines written.
10451
10452         (makeLinuxDocFile):
10453         (makeDocBookFile): Fixed calls to sgml*Tag.
10454         Simple white space clean.
10455
10456         (simpleDocBookOnePar): Simple white space clean.
10457
10458         * tabular.[Ch] (docBook): Renamed to docbook and got another
10459         argument to related with the pernicious mixed content.
10460
10461         (docbookRow): Fixed calls for docbook inset method.
10462
10463 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10464
10465         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10466         so it's X11 independent.
10467
10468         * kb*.[Ch]: ditto.
10469
10470         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10471
10472 2002-06-15  Lyx Development team  <lyx@electronia>
10473
10474         * intl.h: Renamed getTrans to getTransManager.
10475
10476 2002-06-14  Angus Leeming  <leeming@lyx.org>
10477
10478         * Makefile.am: nuke forgotten stl_string_fwd.h.
10479
10480 2002-06-12  Angus Leeming  <leeming@lyx.org>
10481
10482         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10483
10484 2002-06-13  Angus Leeming  <leeming@lyx.org>
10485
10486         * LaTeX.C:
10487         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10488
10489 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10490
10491         * kbmap.C (getiso): add support for cyrillic and greek
10492
10493 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * BufferView.h:
10496         * BufferView.C:
10497         * BufferView_pimpl.h:
10498         * BufferView_pimpl.C: move bogus scrolling logic
10499           to xforms
10500
10501 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * lyxfunc.C:
10504         * BufferView_pimpl.C: view->resize() change
10505
10506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * BufferView_pimpl.C: topCursorVisible
10509           prototype change
10510
10511 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * Makefile.am:
10514         * lyx_gui.h:
10515         * lyx_gui.C: move to frontends/
10516
10517         * main.C:
10518         * lyx_main.h:
10519         * lyx_main.C: changes from above
10520
10521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * intl.C:
10524         * intl.h:
10525         * kbmap.C:
10526         * kbsequence.C:
10527         * lyx_cb.C:
10528         * lyx_main.C: minor tidy
10529
10530 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * BufferView_pimpl.h:
10533         * BufferView_pimpl.C:
10534         * BufferView.h:
10535         * BufferView.C: make painter() const,
10536           remove dead code
10537
10538         * BufferView2.C: use screen() accessor
10539
10540         * lyx_main.h:
10541         * lyx_main.C: some minor cleanup
10542
10543 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10544
10545         * BufferView_pimpl.h:
10546         * BufferView_pimpl.C: remove enter/leaveView,
10547           use workHeight()
10548
10549 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10550
10551         * BufferView.h:
10552         * BufferView.C:
10553         * BufferView2.C:
10554         * BufferView_pimpl.h:
10555         * BufferView_pimpl.C: only construct screen once,
10556           rename
10557
10558         * lyxrc.C: remove pointless comment
10559
10560 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * BufferView.h:
10563         * BufferView.C: remove active() and belowMouse()
10564
10565         * BufferView_pimpl.h:
10566         * BufferView_pimpl.C: use workarea() not workarea_,
10567           and make it use a scoped_ptr instead
10568
10569 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10570
10571         * lyx_gui.C: add debug message on BadWindow
10572
10573 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10574
10575         * sp_spell.C: fdopen is not part of the C++ standard.
10576
10577         * paragraph.C (InsetIterator): use >= instead of ==
10578
10579 2002-06-07  Angus Leeming  <leeming@lyx.org>
10580
10581         Fixes needed to compile with Compaq cxx 6.5.
10582         * BufferView_pimpl.C:
10583         * DepTable.C:
10584         * buffer.C:
10585         * converter.C:
10586         * encoding.C:
10587         * lyx_gui.C:
10588         * lyx_main.C:
10589         * lyxtextclasslist.C:
10590         * minibuffer.C:
10591         * sp_spell.C:
10592         * tabular_funcs.C:
10593         * vc-backend.C:
10594         all c-library variables have been moved into namespace std. Wrap
10595         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10596
10597         * lyxlength.C:
10598         * tabular-old.C:
10599         * tabular.C:
10600         Add a using std::abs declaration.
10601
10602         * kbmap.h (modifier_pair):
10603         * paragraph.h (InsetTable, InsetList):
10604         * lyxfont.h (FontBits):
10605         type definition made public.
10606
10607         * bufferlist.C (emergencyWriteAll): the compiler complains that
10608         there is more than one possible lyx::class_fun template to choose from.
10609         I re-named the void specialisation as lyx::void_class_fun.
10610
10611         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10612
10613         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10614         the compiler is is unable to find tostr in write_attribute.
10615
10616 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10617
10618         * buffer.C (sgmlError): hide #warning
10619
10620 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * xtl/*: get rid of xtl, which is not in use anyway
10623
10624         * LyXAction.C (init):
10625         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10626         were unimplemented xtl experimentation
10627
10628 2002-06-04  André Pönitz <poenitz@gmx.net>
10629
10630         * lyxfunc.C: disable array operation on simple formulae
10631
10632 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10633
10634         * converter.C: constify a bit
10635
10636 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * lyx_gui.C: check xforms version correctly
10639
10640 2002-04-30  Herbert Voss  <voss@lyx.org>
10641
10642         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10643         "keep" option
10644
10645 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10648           attempt to register it with a VCS)
10649
10650 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10651
10652         * lyx_main.C (init): honor variables LYX_DIR_13x and
10653         LYX_USERDIR_13x
10654
10655 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * buffer.h:
10658         * buffer.C:
10659         * lyx_main.C: fix a crash on bad command line,
10660           and give a useful exit status on error
10661
10662         * lyxfunc.C (doImport): allow -i lyx to work
10663
10664 2002-03-30  André Pönitz <poenitz@gmx.net>
10665
10666         * lyxfunc.C: mathed font changes
10667
10668 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10669
10670         * LaTeX.C:
10671         * importer.h:
10672         * importer.C:
10673         * lyx_sty.h:
10674         * lyx_sty.C:
10675         * lyxlex.C:
10676         * lyxrow.h:
10677         * lyxtext.h:
10678         * paragraph.h:
10679         * paragraph.C:
10680         * texrow.h:
10681         * texrow.C:
10682         * text.C:
10683         * trans_mgr.h: srcdocs, and some minor cleanups
10684
10685 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10686
10687         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10688         call getFont all the time)
10689
10690 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10691
10692         * switch from SigC signals to boost::signals
10693
10694 2002-05-29  André Pönitz <poenitz@gmx.net>
10695
10696         * paragraph_pimpl.C (getChar): don't call size() too often...
10697
10698 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10699
10700         * paragraph_pimpl.C (insertChar): do not try to update tables when
10701         appending (pos == size())
10702
10703         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10704         in order to reduce drastically the number of comparisons needed to
10705         parse a large document
10706
10707 2002-05-29  André Pönitz <poenitz@gmx.net>
10708
10709         * text.C:
10710         * text2.C:
10711         * lyxtextclass.C:
10712         * sp_pspell.h:
10713         * textclasslist.[Ch]:
10714         * sp_ispell.h: whitespace change
10715
10716 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10717
10718         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10719         lyxaction directly now.
10720
10721 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * trans.C:
10724         * lyxfont.C:
10725         * lyxvc.C: remove unused headers
10726
10727 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * Makefile.am:
10730         * buffer.h:
10731         * undostack.h:
10732         * undostack.C:
10733         * undo_funcs.h:
10734         * undo_funcs.C: some cleanups. Use shared_ptr
10735           and a template for the undo stacks.
10736
10737 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * BufferView_pimpl.h:
10740         * BufferView_pimpl.C:
10741         * kbmap.h:
10742         * kbmap.C:
10743         * kbsequence.h:
10744         * kbsequence.C:
10745         * lyxfunc.h:
10746         * lyxfunc.C:
10747         * text2.C: use key_state/mouse_state
10748
10749 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10750
10751         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10752         and LSubstring
10753
10754         * chset.C: change include order
10755         (loadFile): use boost regex and get rid of LRegex and LSubstring
10756
10757         * Makefile.am (BOOST_LIBS): new variable
10758         (lyx_LDADD): use it
10759
10760         * LaTeX.C: change include order.
10761         (scanAuxFile): use boost regex and get rid of LRegex and
10762         LSubstring
10763         (deplog): ditto
10764
10765 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * ColorHandler.h:
10768         * ColorHandler.C:
10769         * FontInfo.h:
10770         * FontInfo.C: moved to frontends/xforms/
10771
10772         * FontLoader.h:
10773         * FontLoader.C: moved into frontends for GUIIzation
10774
10775         * Makefile.am:
10776         * lyx_gui.C:
10777         * lyxfont.C:
10778         * lyxfunc.C: changes from above
10779
10780 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * LColor.C: remove spurious X include
10783
10784         * BufferView_pimpl.C:
10785         * Makefile.am:
10786         * font.h:
10787         * font.C:
10788         * text.C:
10789         * text2.C: move font metrics to frontends/
10790
10791 2002-05-24  Juergen Vigna  <jug@sad.it>
10792
10793         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10794         setting the undo_cursor.
10795
10796         * ParagraphParameters.h: include local includes first.
10797
10798 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * BufferView_pimpl.C:
10801         * BufferView_pimpl.h:
10802         * Makefile.am:
10803         * WorkArea.h:
10804         * WorkArea.C:
10805         * screen.C: move WorkArea into frontends/
10806
10807         * lyxscreen.h:
10808         * screen.C:
10809         * text.C:
10810         * BufferView.C:
10811         * BufferView2.C: move LyXScreen into frontends/
10812
10813         * lyxlookup.h:
10814         * lyxlookup.C:
10815         * lyx_gui.C: move lyxlookup into frontends/xforms/
10816
10817 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * BufferView2.C:
10820         * BufferView_pimpl.C:
10821         * FontLoader.C:
10822         * LyXView.h:
10823         * LyXView.C:
10824         * Makefile.am:
10825         * WorkArea.C:
10826         * XFormsView.h:
10827         * XFormsView.C:
10828         * buffer.C:
10829         * bufferlist.C:
10830         * bufferview_funcs.C:
10831         * converter.C:
10832         * importer.C:
10833         * lyx_cb.C:
10834         * lyx_gui.C:
10835         * lyx_main.C:
10836         * lyx_find.C:
10837         * lyxfunc.C:
10838         * lyxvc.C:
10839         * minibuffer.C:
10840         * text.C:
10841         * text2.C:
10842         * trans.C:
10843         * vc-backend.C: move LyX/XFormsView into frontends/
10844
10845 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10846
10847         * Makefile.am:
10848         * PainterBase.C:
10849         * PainterBase.h:
10850         * Painter.C:
10851         * Painter.h:
10852         * WorkArea.C:
10853         * WorkArea.h:
10854         * screen.C:
10855         * tabular.C:
10856         * text.C:
10857         * text2.C: move Painter to frontends/
10858
10859 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10860
10861         * buffer.C: comment out some some code that depend upon lyx_format
10862         < 220
10863
10864         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10865         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10866
10867         * buffer.h (NO_COMPABILITY): turn off compability
10868
10869         * ColorHandler.C: include scoped_array.hpp
10870
10871         * font.C: Use more specific smart_ptr header.
10872         * Painter.C: ditto
10873         * gettext.C: ditto
10874         * ShareContainer.h: ditto
10875         * lyx_main.h: ditto
10876         * kbmap.h: ditto
10877         * FontInfo.h: ditto
10878         * BufferView_pimpl.h: ditto
10879         * ColorHandler.h: ditto
10880
10881         * kbmap.C (defkey): change call to shared_ptr::reset
10882
10883 2002-05-21  Juergen Vigna  <jug@sad.it>
10884
10885         * buffer.C (insertErtContents): fix to insert ert asis if it is
10886         non empty. Skip it completely if it contains only whitespaces.
10887
10888 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10889
10890         * BufferView_pimpl.C:
10891         * BufferView2.C: clear selection on paste (bug 393)
10892
10893 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10894
10895         * DepTable.C: include ctime
10896
10897 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10898
10899         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10900
10901 2002-05-14  Juergen Vigna  <jug@sad.it>
10902
10903         * text.C (breakParagraph): fixed function to honor the keepempty
10904         layout in the right maner and also to permit the right breaking
10905         algorithm on empty or non empyt keepempty paragraphs.
10906
10907         * paragraph.C (breakParagraph): we have to check also if the par
10908         is really empty (!size()) for isempty otherwise we do the wrong
10909         paragraph break.
10910
10911 2002-05-10  Juergen Vigna  <jug@sad.it>
10912
10913         * buffer.[Ch] : The following are only changes to the ert
10914         compatibility read reading old LaTeX layout and font stuff and
10915         convert it to ERTInsets.
10916
10917         * buffer.h: added isErtInset().
10918
10919         * buffer.C (struct ErtComp): add a fromlayout bool to check
10920         if we're inside a LaTeX layout.
10921         (isErtInset): new helper function.
10922         (insertErtContents): look for other ert insets before this one
10923         and insert the contents there, so that we don't have subsequent
10924         ERT insets with nothing between them. This way we create only one
10925         inset with multiple paragraphs. Also check if we don't insert only
10926         spaces ' ' as they are ignored anyway afterwards in the .tex file
10927         so if we have only spaces we will ignore this latex part in the
10928         new file.
10929         (parseSingleLyXformat2Token \\layout): better compatibility when
10930         reading layout-latex stuff.
10931         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10932         language tag.
10933         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10934         stuff after reading the inset only get the information back from
10935         the stack.
10936
10937 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10938
10939         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10940
10941         * LaTeXFeatures.C (getBabelOptions): New method.
10942
10943 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * BufferView_pimpl.C (Dispatch): work around missing argument for
10946         'layout'
10947
10948 2002-05-08  Juergen Vigna  <jug@sad.it>
10949
10950         * text.C (leftMargin): handle paragraph leftindent.
10951
10952         * paragraph.C (writeFile): write the new \\leftindent tag.
10953         (validate): handle leftindent code.
10954         (TeXEnvironment): handle paragraphleftindent code again.
10955
10956         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10957
10958         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10959         for paragrap_extra indent code and new token \\leftindent.
10960         (latexParagraphs): handle the leftindent as environment.
10961
10962         * ParameterStruct.h: added leftindent support.
10963
10964         * ParagraphParameters.C (leftIndent): added support functions for
10965         the paragraph left indent.
10966
10967         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10968         more appropriate.
10969
10970 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10971
10972         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10973         inside insetERT.
10974
10975         * text.C (computeBidiTables): No bidi in insetERT.
10976
10977         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10978         in RTL documents.
10979
10980 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10981
10982         * version.C.in: pre 5
10983
10984 2002-05-02  José Matos  <jamatos@fep.up.pt>
10985         * buffer.C (makeDocBookFile): white space changes, add newline to
10986         command styles.
10987         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10988
10989         * tabular.C (docBook): fix typo.
10990
10991 2002-05-03  Juergen Vigna  <jug@sad.it>
10992
10993         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10994         change in LyXText as we can not be sure it was not freed.
10995         (drawOneRow): remove unused code.
10996
10997         * text.C (drawInset): redo the calculation of the need_break_row as
10998         it could have a row which was already freed.
10999         (draw): look at the return value of drawInset and return false if
11000         it also returned false.
11001         (paintRowText): look at the return value of draw and return false if
11002         it also returned false.
11003
11004         * lyxtext.h: added bool return type to drawInset() and draw() so that
11005         if we have a change in the row so that the rowbreak has to be redone
11006         we abort drawing as it will be called again.
11007
11008 2002-05-02  Juergen Vigna  <jug@sad.it>
11009
11010         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11011         a change in the maintext also if we're inside an inset.
11012         (Dispatch): set the cursor again after a break line and after the
11013         screen has been updated as it could be we're in a different row.
11014
11015         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11016         to set the cursor behind the pargraph with > size().
11017         (setCursor): check also for the same paragraph when checking where
11018         to put the cursor if we have a NFR inset.
11019
11020         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11021         parts of layout read further up as it still was in the wrong
11022         position.
11023
11024 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11025
11026         * screen.C (drawFromTo): change sine fullRebreak always return
11027         true.
11028
11029         * buffer.C (parseSingleLyXformat2Token): reindent some
11030
11031         * BufferView_pimpl.C (update): change since fullRebreak always
11032         return true.
11033         (Dispatch): git rid of the last hardcoded "Standard"s.
11034
11035 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11036
11037         * text2.[Ch] (fullRebreak): make it return void now that we always
11038         returned true.
11039
11040 2002-04-30  Juergen Vigna  <jug@sad.it>
11041
11042         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11043         ert compatibility check for "latex" layout.
11044
11045 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11046
11047         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11048         minipages: use col% instead of p%, and also use the current font.
11049         (makeLaTeXFile): Fix use babel condition.
11050         (parseSingleLyXformat2Token): Correct font when reading old floats.
11051
11052 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11053
11054         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11055         inserting list of floats.
11056
11057 2002-04-25  Herbert Voss  <voss@lyx.org>
11058
11059         * MenuBackend.C (expand): don't add the graphics extensions to the
11060         export menu
11061
11062 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11063
11064         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11065         non-existing layout, do not complain if it was the default layout
11066         of the original class (bug #342)
11067
11068 2002-04-24  Juergen Vigna  <jug@sad.it>
11069
11070         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11071         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11072
11073 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11074
11075         * buffer.C (getBibkeyList): If using \bibliography, return the
11076         option field with the reference itself. Enables us to provide natbib
11077         support when using \bibliography.
11078
11079 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11080
11081         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11082
11083         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11084         natbib is provided by the LaTeX class.
11085
11086 2002-04-23  Juergen Vigna  <jug@sad.it>
11087
11088         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11089         Wakeup functions.
11090
11091         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11092
11093 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11094
11095         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11096
11097         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11098         ensuremath around textordmasculine, textordfeminine and
11099         textdegree.
11100
11101 2002-04-19  Juergen Vigna  <jug@sad.it>
11102
11103         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11104         reinitializing the buffer otherwise row-dimensions may be wrong.
11105         (update): reset also the selection cursors if they do exits otherwise
11106         their x/y positions may be wrong.
11107
11108         * text2.C (cursorDown): don't enter the inset if we came from a row
11109         above and are one row over the inset.
11110
11111         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11112         really leaving an inset.
11113
11114 2002-04-18  Juergen Vigna  <jug@sad.it>
11115
11116         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11117         of the selected paragraph does not have the selected layout also if
11118         the last one had!
11119
11120         * text2.C (setLayout): fixed bug which did not change last selected
11121         paragraph.
11122
11123         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11124         changed the read and substituted \\end_float with \\end_inset!
11125
11126         * BufferView_pimpl.C (cursorPrevious):
11127         (cursorNext): fixed to make it work with rows heigher than the work
11128         area without moving the cursor only the draw of the row.
11129         (workAreaMotionNotify): fix jumping over high rows.
11130
11131 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11132
11133         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11134         Ressler.
11135
11136 2002-04-16  Juergen Vigna  <jug@sad.it>
11137
11138         * text2.C (setCursor): set also the irow().
11139         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11140         (cursorUp):
11141         (cursorDown): support for locking an inset if the x_fix value goes
11142         inside it. That way I can transverse insets too with cursor up/down.
11143
11144         * lyxrow.h: added irow helper function same as other (i) functions.
11145
11146         * BufferView_pimpl.C (cursorPrevious):
11147         (cursorNext): fixed for insets!
11148
11149 2002-04-15  Juergen Vigna  <jug@sad.it>
11150
11151         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11152         position otherwise it is wrong in some cases.
11153
11154         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11155         inside the inset before the call.
11156
11157 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11158
11159         * buffer.[Ch] (getBibkeyList): make it const.
11160
11161 2002-04-12  Juergen Vigna  <jug@sad.it>
11162
11163         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11164
11165         * text2.C (getCursorX): new helper function
11166         (setCursor): compute also ix_
11167         (setCursorFromCoordinates): set also ix.
11168
11169         * lyxcursor.h: added ix_ and helper functions.
11170
11171         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11172
11173         * buffer.C (insertStringAsLines): dont break paragraph if the this
11174         paragraph is inside an inset which does not permit it!
11175
11176         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11177         also with no chars on this paragraph.
11178         (paintRowText): only paint stuff if it's inside the workarea!
11179
11180         * paragraph.C (breakParagraph): honor keepempty flag and break the
11181         paragraph always below not above.
11182
11183         * BufferView2.C (unlockInset): update the paragraph layout on inset
11184         unlock as we changed paragraph in such a case.
11185
11186         * lyxfind.C (LyXFind): clear the former selection if not found!
11187
11188         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11189         again called in insertChar().
11190
11191         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11192         an inset which uses the whole row!
11193         (rightMargin): ditto.
11194         (insertChar): force a rebreak if we inserted an inset!
11195
11196 2002-03-28  Herbert Voss  <voss@lyx.org>
11197
11198         * lyxlength.[Ch]: add inBP() to get the right PS-point
11199         units (BigPoint). With inPixels we have rounding errors
11200
11201 2002-04-11  Juergen Vigna  <jug@sad.it>
11202
11203         * text2.C (setCursorFromCoordinates): set iy to the right value.
11204         (setCursor): add check if row->previous exists!
11205
11206         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11207         an old float_type as this was the case in the old code!
11208
11209         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11210
11211         * BufferView2.C (showLockedInsetCursor): use iy
11212         (fitLockedInsetCursor): ditto
11213
11214         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11215         locked insets as there we have the right value now.
11216
11217         * lyxcursor.C: added iy_ variable and iy functions to set to the
11218         baseline of cursor-y of the locked inset.
11219
11220         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11221         (setCursor): fixed for insets which need a full row.
11222
11223         * text.C (rowLastPrintable): don't ignore the last space when before
11224         an inset which needs a full row.
11225         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11226         as last character of a row when before a inset which needs a full row.
11227
11228 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11229
11230         * version.C.in: update date
11231
11232         * text2.C (fullRebreak): try to always return true and see what
11233         happens...
11234
11235 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11236
11237         * MenuBackend.C (expand): use Floating::listName
11238
11239         * FloatList.C (FloatList): add listName argument to the built-in
11240         floats
11241
11242         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11243         text associated with the float.
11244
11245 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11246
11247         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11248
11249 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * ShareContainer.h: add a couple of missing typenames.
11252
11253 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11254
11255         * lyxrc.C (getDescription): use _() correctly rather than N_().
11256
11257 2002-03-28  Herbert Voss  <voss@lyx.org>
11258
11259         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11260         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11261
11262 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11263
11264         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11265         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11266
11267 2002-03-29  Juergen Vigna  <jug@sad.it>
11268
11269         * lyxfunc.C (dispatch): add a missing fitCursor call.
11270
11271         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11272         it was scrolled by a cursor move, so return the bool status.
11273
11274         * BufferView.C (fitCursor): return the bool flag also to the outside
11275         world as this is needed.
11276
11277         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11278
11279         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11280         call the edit() as it is not needed (and wrong) IMO.
11281         (workAreaButtonPress): set the screen_first variable before evt.
11282         unlock the inset as this may change screen_first and then we have
11283         a wrong y position for the click!
11284
11285 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * MenuBackend.C (expand): another translation that I missed
11288
11289 2002-03-28  Juergen Vigna  <jug@sad.it>
11290
11291         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11292
11293         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11294
11295 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11296
11297         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11298
11299         * MenuBackend.C (expand): fix export/view/update when there is no
11300         document open.
11301
11302 2002-03-27  Herbert Voss  <voss@lyx.org>
11303
11304         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11305         and text%
11306
11307 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11308
11309         * bufferview_funcs.C (currentState): only show paragraph number
11310         for is DEVEL_VERSION is set.
11311
11312         * lyxfunc.C (dispatch): put warning in INFO channel
11313
11314         * MenuBackend.C (expand): translate the name of floats
11315
11316         * FloatList.C (FloatList): mark the float names for translation
11317
11318         * converter.C (convert): use LibScriptSearch
11319
11320 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11321
11322         * MenuBackend.C (defaults): fix default menu (we might as well get
11323         rid of it...)
11324
11325 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11326
11327         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11328         directory.
11329
11330 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11331
11332         * lyxvc.C: reorder includes.
11333
11334 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11337           properly
11338
11339 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * CutAndPaste.C: change layouts earlier on paste
11342           to avoid crashing when calling getFont()
11343
11344 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11345
11346         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11347         irritating #error.
11348
11349 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11350
11351         * WorkArea.C: remove 'Pending' debug message.
11352
11353         * most files: ws cleanup
11354
11355         * buffer.[Ch]: ws changes
11356
11357         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11358
11359 2002-03-21  Juergen Vigna  <jug@sad.it>
11360
11361         * tabular.C (SetMultiColumn): collapse also the contents of the
11362         cells and set the last border right. Added a Buffer const * param.
11363
11364 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11367         linking or not.
11368
11369 2002-03-19  Juergen Vigna  <jug@sad.it>
11370
11371         * text2.C (clearSelection): reset also xsel_cache.
11372
11373         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11374         where it needs to be called (John tells us to do so too :)
11375         (selectionLost): reset sel_cache.
11376
11377         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11378
11379 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11380
11381         * text2.C (setCursorIntern): put debuging code in INSETS channel
11382
11383 2002-03-19  André Pönitz <poenitz@gmx.net>
11384
11385         * lyxfunc.C: tiny whitespace change
11386
11387 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11388
11389         * ToolbarDefaults.C (init):
11390         * LyXAction.C (init):
11391         * commandtags.h:
11392         * BufferView_pimpl.C (Dispatch):
11393         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11394
11395 2002-03-19  Allan Rae  <rae@lyx.org>
11396
11397         * exporter.C (Export): removeAutoInsets before doing anything else.
11398         While I've just introduced a dependency on BufferView this really is
11399         the best place to clean the buffer otherwise you need to cleanup in
11400         a dozen places before calling export or cleanup in a dozen functions
11401         that export calls.
11402
11403         * converter.C (runLaTeX):
11404         (scanLog): Better handling of removeAutoInsets and screen updates.
11405
11406         * lyxfunc.C (dispatch): small whitespace changes
11407
11408 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11409
11410         * WorkArea.C (C_WorkAreaEvent): return a value.
11411         (event_cb): return 1 if we handled the event, 0 otherwise.
11412
11413         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11414
11415 2002-03-18  Juergen Vigna  <jug@sad.it>
11416
11417         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11418         (GetAdditionalWidth): ditto.
11419         (RightLine): ditto.
11420         (LeftLine): ditto.
11421
11422         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11423         inset if we're there actually (probably not used right now but this
11424         is the direction to go for unifying code).
11425         (paste): disable code to clear the selection.
11426
11427         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11428         inside an InsetText and move the check further up as it is in the
11429         wrong place.
11430
11431         * text2.C (pasteSelection): set a selection over the pasted text.
11432
11433 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11434
11435         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11436         and libgraphics to build on Cygwin.
11437
11438 2002-03-15  Juergen Vigna  <jug@sad.it>
11439
11440         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11441         inserting an Inset into the paragraph. I know this is not the best
11442         fix but we already use current_view in CutAndPaste so we will remove
11443         all of it's using at the same time.
11444
11445         * buffer.C (sgmlError): deactivated function till it is rewritten in
11446         the right mode, now it can create problems.
11447
11448         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11449         before accessing it.
11450
11451 2002-03-14  Juergen Vigna  <jug@sad.it>
11452
11453         * undo_funcs.C (textHandleUndo): do the right thing when updating
11454         the inset after the undo/redo.
11455
11456         * text2.C (setCursor): just some testcode for #44 not ready yet.
11457
11458         * undo_funcs.C (textHandleUndo): set the next() and previous()
11459         pointers of the paragraph to 0 before deleting otherwise we have
11460         problems with the Paragraph::[destructor].
11461
11462         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11463         on a paragraph insertion.
11464
11465 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11466
11467         * buffer.C (asciiParagraph): use += operator for char append to
11468         string.
11469
11470         * paragraph.C (getFontSettings): compare >= not just >
11471         (highestFontInRange): ditto
11472         (setFont): ditto
11473
11474 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * paragraph.C: change several algorithm to be more appripriate for
11477         the problem domain. This is lookip in FontList and in the InsetList.
11478
11479 2002-03-13  André Pönitz <poenitz@gmx.net>
11480
11481         * commandtags.h:
11482         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11483
11484 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11485
11486         * commandtags.h:
11487         * LyXAction.C:
11488         * lyxfunc.C:
11489         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11490
11491 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11492
11493         * Painter.C (display): anon helper function, adjust code for this
11494         change.
11495         (pixmap): remove function.
11496
11497         * Painter.h: remove private display variable.
11498
11499         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11500
11501 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11502
11503         * WorkArea.[Ch]: remove figinset_canvas cruft.
11504
11505 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11506
11507         * lyxtextclass.C (operator): add one item cache optimization.
11508
11509         * bufferlist.h: doxy changes
11510
11511         * bufferlist.C: ws changes
11512
11513         * DepTable.[Ch] (ext_exist): place const in the right spot.
11514
11515         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11516         call resizeInsets.
11517         (workAreaExpose): call resizeInsets when the with BufferView changes.
11518         (Dispatch): adjust for protectedBlank removal
11519         (specialChar): call updateInset if the insert went ok.
11520
11521         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11522         specialChar instead.
11523
11524         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11525
11526         * BufferView.h: doxy change
11527
11528         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11529
11530         * lyxtextclass.C (operator[]): remove non-const version
11531         (defaultLayout): remove non-const version
11532
11533 2002-03-12  Juergen Vigna  <jug@sad.it>
11534
11535         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11536         did resize the LyXText too.
11537
11538         * buffer.C (readLyXformat2): set layout information on newly allocated
11539         paragraphs.
11540
11541         * tabular.C (OldFormatRead): set layout information on the paragraph.
11542
11543 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11544
11545         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11546
11547 2002-03-11  Juergen Vigna  <jug@sad.it>
11548
11549         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11550         plainly wrong.
11551         (resizeCurrentBuffer): force also the insets to resize themselfes.
11552         (moveCursorUpdate): fixed up for InsetText.
11553
11554 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11555
11556         * commandtags.h:
11557         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11558         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11559         value of Dialogs::tooltipsEnabled().
11560         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11561
11562 2002-03-08  Juergen Vigna  <jug@sad.it>
11563
11564         * BufferView_pimpl.C (updateInset): update inset inside inset also
11565         if it isn't inside theLockingInset().
11566
11567 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * buffer.C (asciiParagraph): redo some of the word and line length
11570         handling.
11571         (getLists): look for Caption instead of caption.
11572
11573 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11574
11575         * buffer.C (Buffer): initialize niceFile to true
11576         (makeLaTeXFile):
11577         (makeLinuxDocFile):
11578         (makeDocBookFile): make sure niceFile is true on exit
11579
11580 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11581
11582         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11583
11584 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11585
11586         * LyXSendto.C: remove.
11587         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11588         * lyx_gui.C: remove now-redundant comment.
11589         * ColorHandler.h: remove forward declaration of class WorkArea.
11590         * lyxfunc.C: remove #include "WorkArea.h".
11591
11592 2002-03-07  Juergen Vigna  <jug@sad.it>
11593
11594         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11595         got moved away with the DEPM and also set the inset_owner always
11596         right which before could have been omitted.
11597
11598 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11601         wanted layout is not found.
11602
11603 2002-03-07  Juergen Vigna  <jug@sad.it>
11604
11605         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11606
11607 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * paragraph.C (breakParagraph): use default layout not layout of
11610         prev paragraph.
11611         (Paragraph): clear ParagraphParameters.
11612
11613 2002-03-06  Juergen Vigna  <jug@sad.it>
11614
11615         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11616         otherwise it would not be a valid lenght. Fixed a special case in
11617         the minipage compatibility read where we end the document with a
11618         minipage.
11619
11620         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11621         was set as it could be 0 for InsetTexts first entry.
11622
11623 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11624
11625         * paragraph.C (writeFile): if layout is empty write out
11626         defaultLayoutName().
11627
11628         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11629         file without named layout we set layout to defaultLayoutName().
11630
11631 2002-03-06  Juergen Vigna  <jug@sad.it>
11632
11633         * CutAndPaste.C (copySelection): set layout for new paragraph.
11634
11635         * text.C (prepareToPrint): leave ERT inset left aligned
11636         (leftMargin): don't indent paragraphs inside ERT insets
11637
11638 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11639
11640         * paragraph.C (breakParagraph): dont call clear do the work manually
11641
11642         * paragraph.[Ch] (clear): remove function
11643
11644 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * paragraph.C (Paragraph): dont call clear, the work has already
11647         been done.
11648
11649         * lyxtextclass.C (operator): assert if n is empty
11650
11651         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11652         work manually instead.
11653
11654 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * BufferView_pimpl.C: protect selectionLost against text == 0
11657
11658 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11659
11660         * text.C (breakParagraph): fix a setting layout to '0' problem.
11661
11662 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11663
11664         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11665         final location of file, for the included files, and graphics.
11666
11667 2002-03-05  Juergen Vigna  <jug@sad.it>
11668
11669         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11670
11671 2002-03-04  Juergen Vigna  <jug@sad.it>
11672
11673         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11674
11675         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11676         last column of multicolumn cells.
11677         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11678
11679 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11680
11681         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11682         file if it doesn't go to a temporary file.
11683
11684         * buffer.C (sgmlOpenTag):
11685         (sgmlCloseTag):  remove extra newline insertion.
11686
11687 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11688
11689         * text.C (getRowNearY): comment out debug msg
11690
11691 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * text2.C: first -> first_y
11694
11695         * text.C (getRowNearY): add some attemts at a possible
11696         optimization, not working.
11697
11698         * tabular.[Ch]: add BufferParams to several function so that newly
11699         created paragraph can be initialized to he default layotu for the
11700         buffers textclass.
11701
11702         * tabular-old.C (ReadOld): add buf->params to call of Init
11703
11704         * screen.C: rename text->first to text->first_y
11705
11706         * paragraph.C (breakParagraph): always set layout in the broken
11707         paragraph
11708
11709         * lyxtextclass.C (Read): remove lowercase
11710         (hasLayout): ditto
11711         (operator): ditto
11712         (delete_layout): ditto
11713
11714         * lyxtext.h: rename first -> first_y
11715
11716         * lyxlayout.C (Read): remove lowercase
11717         (name): ditto
11718         (setName): ditto
11719         (obsoleted_by): ditto
11720
11721         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11722
11723         * buffer.C (insertErtContents): add params are to InsetERT
11724         (parseSingleLyXformat2Token): add code to check if a paragraphs
11725         layout really exist.
11726         (parseSingleLyXformat2Token): add params to several inset
11727         constructors
11728         (asciiParagraph): remove lowercase, do the layout comparisons with
11729         no_case
11730
11731         * BufferView_pimpl.C (cursorNext): first -> first_y
11732         (resizeCurrentBuffer): first -> first_y
11733         (updateScrollbar): first -> first_y
11734         (scrollCB): first -> first_y
11735         (workAreaMotionNotify): first -> first_y
11736         (workAreaButtonPress): first -> first_y
11737         (checkInsetHit): first -> first_y
11738         (cursorPrevious): first -> first_y
11739         (cursorNext): first -> first_y
11740         (Dispatch): add buffer_->params to severl inset contructors
11741
11742 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11743
11744         * lyxlayout.C (Read): remove some debug info that I forgot.
11745
11746         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11747         clean up the code slightly.
11748         (makeLinuxDocFile): ditto
11749         (makeDocBookFile): ditto
11750
11751         * text2.C: layout as string
11752
11753         * text.C: layout as string
11754
11755         * paragraph_pimpl.C: layout as string
11756
11757         * paragraph.[Ch]: layout as string
11758
11759         * lyxtextclasslist.[Ch]: layout as string
11760
11761         * lyxtextclass.[Ch]: layout as string
11762
11763         * lyxtext.h: layout as string
11764
11765         * lyxlayout.[Ch]: layout as string
11766
11767         * lyx_cb.C: layout as string
11768
11769         * bufferview_funcs.C: layout as string
11770
11771         * bufferparams.C: layout as string
11772
11773         * buffer.C: layout as string
11774
11775         * LyXView.[Ch]: layout as string
11776
11777         * LaTeXFeatures.[Ch]: layout as string
11778
11779         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11780
11781         * BufferView_pimpl.C: change current_layout to string, remove
11782         lyx::layout_type.
11783         (Dispatch):
11784         (smartQuote):
11785         (insertInset):
11786         (workAreaButtonRelease): layout as string
11787
11788         * BufferView2.C (unlockInset): adjust
11789
11790         * vspace.C (asLatexCommand): use an explict temp variable.
11791
11792 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * Makefile.am: use FRONTEND_*
11795
11796 2002-03-01  Juergen Vigna  <jug@sad.it>
11797
11798         * tabular.C (SetWidthOfMulticolCell): changed to something better
11799         I hope but still work in progress.
11800         (recalculateMulticolumnsOfColumn): renamed function from
11801         recalculateMulticolCells as it is more appropriate now.
11802         (SetWidthOfCell): calculate multicols better.
11803
11804 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11807
11808         * lyxfunc.C (processKeySym): print sequence also if it is
11809         `deleted' (complete)
11810
11811         * kbsequence.C (print): print sequence even if it is deleted
11812         (complete would be a better word, actually).
11813
11814         * lyxfunc.C (dispatch): print complete options after a prefix key
11815
11816         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11817
11818 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11819
11820         * text2.C (setCharFont): eliminate setCharFont code duplication.
11821
11822 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11823
11824         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11825         LFUN_TABULAR_FEATURE (bug #177)
11826
11827 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11828
11829         * Makefile.am: remove figure.h
11830
11831 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11832
11833         * Bufferview_pimpl.C:
11834         * CutAndPasteC:
11835         * LaTeX.C:
11836         * LyXSendto.C:
11837         * buffer.C:
11838         * bufferlist.C:
11839         * converter.C:
11840         * language.C:
11841         * lyxfunc.C:
11842         * lyxvc.C:
11843         * paragraph.C:
11844         * text.C:
11845         * text2.C: remove #include "lyx_gui_misc.h".
11846
11847         * LaTeX.C: added #include <cstdio>
11848
11849 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11852         that the paragraph following this one can have.
11853
11854         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11855
11856         * vspace.C (asLatexCommand): fix bogus gcc warning
11857
11858         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11859
11860 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11861
11862         * text2.C (setLayout): get rid of redundant code
11863
11864 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11865
11866         * text2.C (incDepth): make sure depth cannot be increased beyond
11867         reasonable values.
11868
11869 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11870
11871         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11872         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11873
11874         * PainterBase.h (image):
11875         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11876         a LyXImage const *.
11877
11878 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * BufferView.C:
11881         * BufferView.h:
11882         * BufferView_pimpl.C:
11883         * BufferView_pimpl.h:
11884         * LaTeXFeatures.C:
11885         * LyXAction.C:
11886         * LyXView.C:
11887         * Makefile.am:
11888         * UpdateList.h:
11889         * UpdateList.C:
11890         * buffer.C:
11891         * figure.h:
11892         * figureForm.C:
11893         * figureForm.h:
11894         * figure_form.C:
11895         * figure_form.h:
11896         * lyx_cb.C:
11897         * lyx_gui.C:
11898         * lyx_gui_misc.C:
11899         * lyxfunc.C:
11900         * sp_base.h:
11901         * sp_ispell.h:
11902         * sp_pspell.h:
11903         * sp_spell.C: remove fig inset, and the crap house of
11904           cards that follows it
11905
11906 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * Makefile.am:
11909         * lyxserver.C:
11910         * os2_defines.h:
11911         * os2_errortable.h:
11912         * nt_defines.h: move .h into support/
11913
11914         * vms_defines.h: remove
11915
11916         * WorkArea.C: add space in debug output
11917
11918         * text2.C:
11919         * paragraph.C:
11920         * buffer.C: add WITH_WARNINGS
11921
11922         * vc-backend.h:
11923         * vc-backend.C:
11924         * bufferlist.C: s/retrive/retrieve/, add docs
11925
11926         * vspace.h:
11927         * vspace.C:
11928         * kbmap.h:
11929         * lyxlength.h:
11930         * lyxgluelength.h:
11931         * length_common.h:
11932         * chset.h:
11933         * chset.C: add docs
11934
11935         * lyxgui.C: add ID to X error handler
11936
11937         * lyxtestclass.c: fix typo
11938
11939 2002-02-26  Juergen Vigna  <jug@sad.it>
11940
11941         * tabular_funcs.C (write_attribute): changed so that some default
11942         attributes are not written at all.
11943         (getTokenValue): set default values before trying to read the
11944         value so we have the return value always set as default if we don't
11945         find the token we search for.
11946
11947         * tabular.C (Write): write bools as bools not as strings!
11948
11949 2002-02-22  Juergen Vigna  <jug@sad.it>
11950
11951         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11952         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11953
11954         * text.C (leftMargin): don't add an indent for paragraphs inside
11955         tabular cells (fix #208).
11956
11957 2002-02-21  José Matos  <jamatos@fep.up.pt>
11958
11959         * tabular.C (docBook): fixed support for long tables.
11960
11961 2002-02-20  Juergen Vigna  <jug@sad.it>
11962
11963         * text2.C (getFont): get the drawing font of the Inset if this
11964         paragraph is inside an inset (only important for InsetERT for now).
11965
11966         * buffer.C (insertErtContents): use new lanugage params in ERT
11967         constructor.
11968
11969         * CutAndPaste.C: commenting out seemingly uneeded code.
11970
11971 2002-02-19  Allan Rae  <rae@lyx.org>
11972
11973         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11974         Iterators might be simple to use but they also get invalidated.
11975         (removeAutoInsets): renamed saved cursor tracking variables and added
11976         some comments to clarify what everything does.
11977
11978 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11979
11980         * Chktex.C:
11981         * LaTeX.C:
11982         * LyXSendto.C:
11983         * converter.C:
11984         * lyx_cb.C:
11985         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11986         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11987
11988         * lyxfunc.C:
11989         * vc-backend.h: remove #include "support/syscall.h"
11990
11991         * LaTeX.C:
11992         * LyXSendto.C:
11993         * converter.C: rearrange #includes in Lars' approved fashion.
11994
11995         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11996         forward declare class Timeout in the header file.
11997
11998         * XFormsView.C: changes due to the above.
11999
12000         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12001         similar to LyXView.
12002
12003         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12004         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12005
12006 2002-02-18  José Matos  <jamatos@fep.up.pt>
12007
12008         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12009         insets contents.
12010
12011 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12012
12013         * a lot of small ws changes
12014         * add a lot of using std::XXX
12015         * use std construcs some places where approp.
12016         * use some exisint stuff from lyxfunctional where approp.
12017         * Make file changes to use partial linking (lets test this now...)
12018
12019 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12020
12021         * Chktex.C:
12022         * buffer.C:
12023         remove #include "support/syscontr.h" as it's redundant. Always has been.
12024
12025         * Chktex.C:
12026         * LaTeX.C:
12027         * LyXSendto.C:
12028         * converter.C:
12029         * lyx_cb.C:
12030         * vc-backend.C:
12031         change Systemcalls::System to Systemcalls::Wait and
12032         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12033         No change of functionality, just reflects the stripped down Systemcalls
12034         class.
12035
12036 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12037
12038         * debug.[Ch]: add a GRAPHICS type to the enum.
12039
12040 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12041
12042         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12043
12044         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12045         there is an inset.
12046
12047 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12048
12049         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12050         match the changes below.
12051
12052         * text2.C (toggleInset): if there is not editable inset at cursor
12053         position, try to see if cursor is _inside_ a collapsable inset
12054         and close it.
12055
12056 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12057
12058         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12059         document menu has a nice checkbox
12060
12061 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * lyxlength.C (asLatexString): change PW to output as percent of
12064         \textwidth.
12065
12066         * lengthcommon.C: change '%' to 't%'
12067
12068         * lyxfunc.C (dispatch): a few comments from Martin
12069
12070 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * WorkArea.h:
12073         * WorkArea.C:
12074         * BufferView_pimpl.h:
12075         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12076           the X selection.
12077
12078 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12079
12080         * vspace.C (inPixels): fix compiler warning
12081
12082 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12083
12084         * lyxfunc.C (getStatus): fix status message for disabled commands.
12085
12086 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * BufferView_pimpl.C: fix crash on close buffer
12089         during selection (#227)
12090
12091 2002-01-27  Herbert Voss  <voss@lyx.org>
12092
12093         * buffer.C: link old Figure to new graphic inset
12094
12095 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12096
12097         * FontLoader.C (getFontinfo): Change the latex font names in order
12098         to match the names of type1inst.
12099
12100 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12101
12102         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12103
12104         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12105         (extchanged): ditto
12106         (ext_exist): ditto
12107         (remove_files_with_extension): ditto
12108         (remove_file): ditto
12109         (write): ditto
12110
12111         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12112         document is smaller than the work area height. Do not initialize
12113         static variables to 0.
12114
12115 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12116
12117         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12118
12119         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12120         LFUN_LAYOUT_PARAGRAPHS.
12121
12122         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12123         tabular. It is possible to provide a possible cell, which will
12124         typically be the actcell from the corresponding insettabular
12125
12126         * lyxfunc.C (getStatus): small cleanup; disable
12127         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12128         true
12129
12130 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12131
12132         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12133
12134         * paragraph.C (startTeXParParams):
12135         (endTeXParParams): new methods. The LaTeX code to
12136         start/end paragraph formatting
12137         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12138         empty (fixes bug #200)
12139
12140         * vspace.C (inPixels): adapt to the change below
12141         (inPixels): [later] more cleanups (remove unused variables)
12142
12143         * lyxlength.C (inPixels): change to use a width and a height as
12144         parameter.
12145
12146 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12147
12148         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12149         Replaced with \paperwidth
12150
12151         * DepTable.C (insert): add std:: qualifier
12152
12153 2002-01-18  Allan Rae  <rae@lyx.org>
12154
12155         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12156         updated also?
12157
12158         * text.C (drawInset): Turned out I didn't know enough about how
12159         rebreaking worked.  This fixes most of the redraw problems.  I see
12160         an occasional cursor trail when a line is broken now and the cursor
12161         placement can seem out by a few pixels also after a rebreak.
12162
12163 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * buffer.C (parseSingleLyXformat2Token): update because minipage
12166         width is now a LyXLength
12167
12168         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12169
12170         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12171         math insets
12172
12173 2002-01-17  Juergen Vigna  <jug@sad.it>
12174
12175         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12176
12177         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12178         is set correctly and the inset is updated correctly.
12179
12180 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12181
12182         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12183         the beginning of the loop.
12184
12185 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12186
12187         * lyxrc.C: improve help for use_scalable_fonts
12188
12189 2002-01-17  Allan Rae  <rae@lyx.org>
12190
12191         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12192
12193 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12194
12195         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12196         make sure to set their inset_owner to the right value (bug #171)
12197
12198 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12199
12200         * DepTable.h
12201         * DepTable.C: Implement mtime checking to reduce time spent doing
12202         CRCs.
12203
12204 2002-01-16  Juergen Vigna  <jug@sad.it>
12205
12206         * tabular.C (GetAdditionalHeight): one of error fixed.
12207
12208         * lyxrc.C (output): small fix in writing use_pspell.
12209
12210 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12211
12212         * sp_base.h: #include LString.h
12213
12214 2002-01-16  Allan Rae  <rae@lyx.org>
12215
12216         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12217         Can someone check this please?
12218
12219         * text.C (drawInset): It was possible that p.row would be removed by
12220         breakAgainOneRow upsetting a few other settings.  There may be another
12221         small tweak possible by setting need_break_row = 0 when p.row has been
12222         removed but I don't know enough about the logic here.
12223
12224 2002-01-15  Allan Rae  <rae@lyx.org>
12225
12226         * text.C (insertChar): removed conditional truism.
12227
12228         * BufferView2.C (removeAutoInsets): More tweaks.
12229         cur_par_prev could be a stray pointer.  Check for trailing empty line
12230         in case last line was cur_par and only had an error inset on it.
12231
12232 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12233
12234         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12235         absolute
12236
12237         * vc-backend.C (most methods):
12238         * exporter.C (Export):
12239         * converter.C (convert):
12240         (runLaTeX):
12241         * LyXSendto.C (SendtoApplyCB):
12242         * lyxfunc.C (dispatch):
12243         (menuNew):
12244         (open):
12245         (doImport):
12246         * lyx_cb.C (AutoSave):
12247         (InsertAsciiFile):
12248         * BufferView_pimpl.C (MenuInsertLyXFile):
12249         * buffer.C (runChktex): use Buffer::filePath().
12250
12251         * buffer.h: rename filename to filename_; rename filepath to
12252         filepath_ and make it private
12253         (filePath): new method
12254
12255         * buffer.C (writeFile): use fileName()
12256         (getLatexName):
12257
12258         * lyx_main.C (init): fix starting  of LyX when the binary is a
12259         link from so,ewhere else.
12260
12261         * minibuffer.C: include <cctype> for isprint
12262
12263 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12266         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12267         name clash with InsetCollapsable's width function.
12268
12269 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12270
12271         * lastfiles.C: include <iterator>
12272
12273 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12274
12275         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12276         std::count.
12277
12278         * buffer.C (makeLaTeXFile): ditto.
12279         Also make loop operation more transparent.
12280
12281 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12282
12283         * ToolbarDefaults.C: remove trailing comma closing namespace.
12284
12285         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12286
12287         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12288         as in WorkArea.
12289
12290         * trans.C (Load): comment out unused variable, allowed.
12291
12292 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12293
12294         * minibuffer.[Ch] (append_char): new method to recieve input from the
12295         drop-down completion browser. If a key was pressed, then recieve this
12296         char and append it to the existing string.
12297         (peek_event): modify the positioning data passed to the completion
12298         browser so that it can be placed above the minibuffer rather than below.
12299 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * LyXAction.C (init): alloe error-next for readonly documents.
12302
12303         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12304         count.
12305
12306 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12307
12308         * bufferlist.C (readFile): create the buffer _after_ checking that
12309         the file exists.
12310
12311         * lyxfunc.C (verboseDispatch): fix handling of arguments
12312
12313         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12314
12315         * lyxrc.C: use string::erase() instead of initializing to "".
12316
12317
12318 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * BufferView_pimpl.h:
12321         * BufferView_pimpl.C:
12322         * WorkArea.h:
12323         * WorkArea.C:
12324         * text2.C: tell X when we have made a selection for copying
12325
12326 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12327
12328         * BufferView_pimpl.C (MenuInsertLyXFile):
12329         * lyxfunc.C (menuNew):
12330         (open):
12331         (doImport): add shortcuts to directory buttons
12332
12333         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12334         open a float)
12335
12336         * lyxfunc.C (setStatusMessage):
12337         (getStatusMessage): new methods
12338         (getStatus):use setStatusMessage instead of setErrorMessage
12339         (dispatch): when function is disabled, set error message here
12340         [instead of in getStatus previously]
12341
12342         * BufferView_pimpl.C (workAreaButtonRelease): update
12343         toolbar/menubar here too.
12344
12345 2002-01-13  Allan Rae  <rae@lyx.org>
12346
12347         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12348         Now seems indestructible.  Remaining task is to audit all other
12349         code affected by deleteEmptyParagraphMechanism.  One small quirk
12350         left is that an empty document with an error in the preamble can
12351         be made to report an error but no error box appears.  I don't know
12352         where it goes.
12353         (removeAutoInsets): Improved comments.
12354
12355 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * Thesaurus.h:
12358         * Thesaurus.C: update for Aiksaurus 0.14
12359
12360 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12361
12362         * text2.C (firstParagraph): removed member function, all uses
12363         replaces with ownerParagraph
12364         (redoParagraphs): here
12365         (updateInset): here
12366         (toggleAppendix): here
12367         * BufferView2.C (insertErrors): here
12368         (setCursorFromRow): here
12369
12370 2002-01-13  Allan Rae  <rae@lyx.org>
12371
12372         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12373         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12374         There is still a way to segfault this although you may have to do this
12375         multiple times: Have an InsetERT with an unknown command in it.
12376         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12377         <down-arrow>, <Enter> again, View->DVI, BANG!
12378
12379         * text2.C (setCursor):
12380         (deleteEmptyParagraphMechanism):
12381         * lyxtext.h (setCursor):
12382         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12383         Making use of the return value may help fix other bugs.
12384
12385 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12386
12387         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12388
12389         * LyXView.C (updateMenubar): call MenuBar::update here
12390         (updateToolbar): but not here
12391         (showState): do not update toolbar/menubar
12392
12393         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12394         should need to care about that.
12395
12396         * lyxfunc.C (verboseDispatch): simplify a bit
12397         (getStatus): have a version which takes a pseudoaction, and
12398         another which requires a (kb_action,string).
12399
12400         * LyXAction.C (retrieveActionArg): make it work also when action
12401         is not a pseudo-action.
12402         (getActionName): simplify a bit
12403         (helpText):
12404
12405 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12406
12407         * lyxfunc.C (verboseDispatch): new families of methods with
12408         several ways to specify a command and a bool to indicate whether
12409         the command name and shortcut should be displayed in minibuffer
12410         (eventually, we could extend that to a finer bitmask like
12411         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12412         (dispatch): the pristine dispatch command which just, well,
12413         dispatchs! Note it still sets its result to minibuffer; I'm not
12414         sure we want that.
12415
12416         * lyxfunc.h: remove setHintMessage
12417
12418         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12419
12420 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12421
12422         * BufferView_pimpl.C (specialChar): delete new inset if we have
12423         not been able to insert it.
12424
12425         * kbmap.C: revert to using int instead of kb_action, since all we
12426         are dealing with is pseudo-actions.
12427
12428         * LyXAction.C (searchActionArg): change to return int instead of
12429         kb_action, since the result is a pseudoaction.
12430
12431 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12432
12433         * buffer.C (insertErtContents): Fix (partially) the font bug.
12434
12435 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12436
12437         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12438         as the other one is broken on my machine!
12439
12440 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12441
12442         * commandtags.h:
12443         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12444
12445 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12446
12447         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12448         reflect their actual use. Provide compatibility code for older lyxrc
12449         files.
12450
12451         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12452         FL_NORMAL_STYLE.
12453         change names of popup font variables in line with the changes to lyxrc.C
12454
12455 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12456
12457         * buffer.C (asciiParagraph): avoid outputing a word twice after
12458         an inset.
12459
12460         * lyxrc.C (getDescription): document that document_path and
12461         template_path can be empty.
12462
12463 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12464
12465         * LaTeXFeatures.C (getMacros):
12466         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12467
12468         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12469
12470         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12471         getPackages.
12472         (getPackages): rename feature "floats" to "float". Use an array to
12473         iterate over 'simple' features (i.e. just a \usepackage). Add
12474         handling of "amsmath" (renamed from "amsstyle").
12475
12476 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12477
12478         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12479         features list.
12480
12481 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12482
12483         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12484         FuncStaus::FuncStatus & FuncStaus::some_method().
12485
12486 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12487
12488         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12489         of the func_satus stuff. Edited and massaged in various ways by
12490         JMarc.
12491
12492         * lyxfunc.C (getStatus): use FuncStatus
12493
12494 2002-01-08  Juergen Vigna  <jug@sad.it>
12495
12496         * text.C (nextBreakPoint): use function Inset::isChar().
12497
12498         * paragraph.C (TeXOnePar): use function
12499         Inset::forceDefaultParagraphs.
12500
12501         * buffer.C (latexParagraphs): use function
12502         Inset::forceDefaultParagraphs.
12503
12504 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12505
12506         * lyx_gui.C (init): set the style of the menu popups to
12507         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12508
12509 2002-01-07  Juergen Vigna  <jug@sad.it>
12510
12511         * text.C (setHeightOfRow): small fix
12512         (prepareToPrint): don't look at alignment if we don't have the place
12513         for doing it.
12514
12515 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12516
12517         * box.C: New file. Move the Box methods and functions out of box.h,
12518         following Lars' suggestion.
12519
12520 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12521
12522         * box.h: #include "support/LOstream.h", needed for inlined function.
12523
12524         * lyxtextclass.C:
12525         * lyxtextclasslist.C: added some using std declarations.
12526
12527 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * box.h: make signed dimensions to allow insets wider than
12530           the screen (bug #162)
12531
12532         * BufferView_pimpl.C: add some insetHit debug
12533
12534 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * vc-backend.C: add FIXME
12537
12538 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12539
12540         * lyxfunc.C (getStatus): enable code for showing math font status
12541         in toolbar/menu.
12542
12543 2002-01-07  Juergen Vigna  <jug@sad.it>
12544
12545         * text.C (nextBreakPoint): removed debug output not needed anymore.
12546
12547 2002-01-06  Juergen Vigna  <jug@sad.it>
12548
12549         * text.C (nextBreakPoint): fixed up this function we had this bug
12550         since ever but now hopefully we break row better.
12551         (insertChar): we have to check if an inset is the next char as it
12552         could now happen that a large inset is causing a break.
12553
12554 2002-01-05  Juergen Vigna  <jug@sad.it>
12555
12556         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12557         if it doesn't like to be drawed.
12558
12559 2002-01-04  Juergen Vigna  <jug@sad.it>
12560
12561         * BufferView2.C (lockInset): forgot to set a cursor.
12562
12563         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12564
12565 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12566
12567         * FormMathsPanel.C:
12568         * FormMathsPanel.h
12569         * MathsSymbols.C:
12570         * form_maths_panel.C:
12571         * form_maths_panel.h:
12572         * form_maths_panel.fd: implemented sub- and super- buttons in math
12573         panel.
12574
12575         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12576         (or ^ space) to be used as in TeX (req'd by André).
12577
12578         * lyxfunc.C: Allow ^ and _ again to be used both as
12579         super/subscript (mathed) and as themselves (in text).
12580
12581 2002-01-03  Allan Rae  <rae@lyx.org>
12582
12583         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12584         "LyX" or the filename of the current buffer if it has one.  This is a
12585         modified form of John Levon's patch.
12586
12587         * XFormsView.C (setWindowTitle): also set icon title.
12588
12589         * LyXView.h (setWindowTitle): signature changed.
12590         * XFormsView.h (setWindowTitle): ditto.
12591
12592 2002-01-02  Juergen Vigna  <jug@sad.it>
12593
12594         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12595
12596 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12597
12598         * screen.C (topCursorVisible): introduce a temp var for
12599         text->cursor.row(), handle the case where this row is null. (kindo
12600         hachish)
12601
12602         * text2.C (setCursor): add a couple of asserts.
12603
12604         * paragraph.h (inset_iterator): add -> operator
12605
12606         * paragraph.[Ch] (autoDeleteInsets): remove member function
12607
12608         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12609         cursor pos correctly and handle inset deletion by itself.
12610         (insertErrors): move iterator declaration out of for expression
12611
12612         * lyxtextclass.C: add <algorithm>
12613
12614         * Makefile.am: added the new files to sources, removed layout.C
12615
12616         * layout.C: removed file
12617
12618         * layout.h: remove LYX_DUMMY_LAYOUT
12619
12620         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12621         layout.
12622
12623         * lyxlayout.[Ch]:
12624         * lyxtextclass.[Ch]:
12625         * lyxtextclasslist.[Ch]: new files
12626
12627         * include order changes to a lot of files, also changes because of
12628         the six new files.
12629
12630 2001-12-27  Juergen Vigna  <jug@sad.it>
12631
12632         * buffer.C (asciiParagraph): more fixes.
12633
12634         * tabular.C (ascii): make ascii export support export of only the
12635         data separated by a column-delimiter.
12636         (ascii): better support for ascii export.
12637
12638         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12639
12640 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12641
12642         * tabular_funcs.C: use a "using std::getline" instead of the
12643         previous fix from Angus (necessary for cxx + lyxstring)
12644
12645 2001-12-24  Juergen Vigna  <jug@sad.it>
12646
12647         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12648
12649         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12650         problems. First check a minipage also if we have some ert-contents
12651         (not only on par->size(), second set the right depth of the paragraph
12652         on the relink to the root-paragraph-list!
12653
12654         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12655         which then did not anymore update the main paragraphs on undo/redo!
12656
12657 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12658
12659         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12660         code. Support all font-changing funcs (even those which are not in
12661         menu currently). Support for reporting font settings in
12662         mathed (disabled until Andre provides a function on mathed's side).
12663
12664         * func_status.h (toggle): small helper function to set toggle
12665         state on a flag.
12666
12667 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12668
12669         * tabular_funcs.C: getline -> std::getline
12670
12671 2001-12-21  Juergen Vigna  <jug@sad.it>
12672
12673         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12674         accessed and could be 0 (I couldn't generate this but it seems
12675         Michael could!).
12676
12677 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12680         * tabular_funcs.h: here and include iosfwd
12681
12682 2001-12-20  Juergen Vigna  <jug@sad.it>
12683
12684         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12685         inside inset but undo_par was.
12686
12687 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12688
12689         * Thesaurus.C: always include <config.h> in sources.
12690
12691         * Painter.h:
12692         * lyxlookup.h:
12693         * box.h: do not include <config.h> in header files
12694
12695         * text.C (paintLastRow): remove unused variable
12696
12697         * text.C (transformChar):
12698         (insertChar):
12699         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12700
12701         * Painter.C (text):
12702         * font.C (width): rewrite to use uppercase() instead of
12703         islower/toupper.
12704
12705         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12706
12707 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12708
12709         * lyxfind.C: clean up of find failure position change
12710
12711 2001-12-20  Juergen Vigna  <jug@sad.it>
12712
12713         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12714
12715         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12716         (TeXRow): added to LaTeX a single tabular row.
12717         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12718         (Latex): simplified and finally good LT-h/f support.
12719         (various_functions): just small adaptions for LT-h/f support.
12720
12721         * tabular_funcs.[hC]: added and moved here all not classfunctions
12722         of LyXTabular.
12723
12724 2001-12-19  Juergen Vigna  <jug@sad.it>
12725
12726         * tabular.[Ch]: better support for longtabular options (not finished
12727         yet!)
12728
12729 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12730
12731         * text.C (paintLastRow): use the label font instead of the font of
12732         the last character to compute the size of *_BOX. This makes more
12733         sense and avoids a crash with empty paragraphs.
12734         Use Painter::rectangle to draw EMPTY_BOX.
12735
12736 2001-12-19  Juergen Vigna  <jug@sad.it>
12737
12738         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12739         the paragraphs if the replaced paragraph is not the first one!
12740         Tried to delete not used paragraphs but does not work yet so for
12741         now it's inside #ifdef's and by default off!
12742
12743 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12744
12745         * MenuBackend.C: include "lyx_main.h" instead of declaring
12746         lastfiles (actually was declared as LastFiles* instead of a
12747         scoped_ptr).
12748
12749 2001-12-17  Juergen Vigna  <jug@sad.it>
12750
12751         * tabular.C (AppendColumn): applied John's fix
12752
12753 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * BufferView.h:
12756         * BufferView.C:
12757         * BufferView_pimpl.h:
12758         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12759
12760         * Makefile.am:
12761         * box.h: new start of class for above
12762
12763         * lyxfunc.C: ignore space-only minibuffer dispatches.
12764           Show the command name when it doesn't exist
12765
12766         * minibuffer.C: don't add empty lines to the history
12767
12768         * minibuffer.C: add a space on dropdown completion
12769
12770 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12771
12772         * text.C: fix line above/below drawing in insets
12773
12774 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * lyxlength.C (LyXLength): Initialize private variables.
12777
12778 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12779
12780         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12781         when inserting error insets.
12782
12783 2001-12-13  Juergen Vigna  <jug@sad.it>
12784
12785         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12786         actually sometimes the before-paragraph.
12787         (setUndo): don't clear the redostack if we're not actually undoing!
12788
12789 2001-12-06  Juergen Vigna  <jug@sad.it>
12790
12791         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12792         and fixed redoing of main paragraph, so we can use it now ;)
12793
12794         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12795
12796 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12797
12798         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12799         Juergen's request
12800
12801 2001-12-13  André Pönitz <poenitz@gmx.net>
12802
12803         * undostack.[Ch]:
12804         * undo_func.C: minor cleanup
12805
12806 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12807
12808         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12809         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12810         font in urw-fonts package which is marked as -urw-fontspecific and
12811         does not work (incidentally, changing the encoding in the
12812         fonts.dir of this package to -adobe-fontspecific fixes the
12813         problem).
12814
12815         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12816         is a crash when undoing first paragraph (Juergen, please take a
12817         look). THis does not mean the undo fix is wrong, just that it
12818         uncovers problems.
12819
12820         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12821         the (Paragraph*) version when needed instead of duplicating the
12822         code.
12823
12824         * text.C (workWidth): use Inset::parOwner to find out where the
12825         inset has been inserted. This is a huge performance gain for large
12826         documents with lots of insets. If Inset::parOwner is not set, fall
12827         back on the brute force method
12828
12829         * paragraph_pimpl.C (insertInset):
12830         * paragraph.C (Paragraph):
12831         (cutIntoMinibuffer): set parOwner of insets when
12832         inserting/removing them
12833
12834         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12835
12836 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12837
12838         * commandtags.h:
12839         * LyXAction.C:
12840         * lyx_main.C:
12841         * lyxfunc.C:
12842         * mathed/formulabase.C:
12843         * mathed/math_cursor.[Ch]:
12844         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12845
12846
12847 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * lyxlength.[Ch] (operator!=): new function
12850
12851 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12852
12853         * text.C (workWidth): use Inset::parOwner to find out where the
12854         inset has been inserted. This is a huge performance gain for large
12855         documents with lots of insets. If Inset::parOwner is not set, fall
12856         back on the brute force method
12857
12858         * paragraph_pimpl.C (insertInset):
12859         * paragraph.C (Paragraph):
12860         (cutIntoMinibuffer): set parOwner of insets when
12861         inserting/removing them
12862
12863         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12864
12865 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12866
12867         * tabular-old.C (getTokenValue):
12868         * tabular.C (getTokenValue):
12869         (write_attribute): new versions for LyXLength
12870         (everywhere): adjust the use of widths
12871
12872         * tabular.h: change the type of widths from string to LyXLength
12873
12874 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12875
12876         * paragraph.C: fixed missing line number count when exporting
12877         Environments to LaTeX file
12878
12879         * buffer.C: added informational message for checking line numbers.
12880
12881 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12882
12883         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12884         paragraph, do the 'double space' part, but not the 'empty
12885         paragraph' one.
12886
12887         * text.C (workWidth): small optimization
12888         (getLengthMarkerHeight): use minimal size for negative lengths.
12889
12890 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12891
12892         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12893
12894         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12895
12896 2001-12-11  André Pönitz <poenitz@gmx.net>
12897
12898         * FontLoader.C:
12899         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12900
12901 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12902
12903         * text2.C: keep selection on a setFont()
12904
12905 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * lyx_cb.C: another bv->text misuse, from insert label
12908
12909 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12910
12911         * kbsequence.h:
12912         * kbsequence.C: re-instate nmodifier mask
12913
12914 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12915
12916         * lyx_main.h: make lyxGUI private.
12917
12918 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12919
12920         * lyxfind.C: place the cursor correctly on failed search
12921
12922 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12923
12924         * text.C (getLengthMarkerHeight): for small heights, the arrows
12925         are not always on top/bottom of the text
12926         (drawLengthMarker): smaller arrows; take the left margin in
12927         account; draw also vfills.
12928         (paintFirstRow):
12929         (paintLastRow): remove special code for vfill and standard spaces,
12930         since everything is handled in drawLengthMarker now.
12931
12932 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * buffer.C (insertErtContents): try to handle font and language
12935         interaction a bit better.g
12936
12937         * ColorHandler.C (updateColor): change the hash to cover the whole
12938         LColor enum, ws cleanup
12939         (getGCLinepars): ditto
12940         (getGCLinepars): only lookup in the linecache once.
12941
12942 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12943
12944         * iterators.C (operator++): Make the iterator more robust
12945
12946         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12947         (John's patch)
12948         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12949
12950 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12951
12952         * lyxtext.h:
12953         * text.C: better added space drawing
12954
12955 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12956
12957         * LyXView.C:
12958         * BufferView2.C: fix layout combo update on inset unlock
12959
12960 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12961
12962         * Makefile.am: don't compile unused files
12963
12964 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12965
12966         * lyxfunc.C:
12967         * commandtags.h:
12968         * LyXAction.C: remove old LFUN_LAYOUTNO
12969
12970 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12971
12972         * paragraph_pimpl.h:
12973         * paragraph_pimpl.C: isTextAt() doesn't need font param
12974
12975 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * lyxlex.h:
12978         * lyxlex.C: little cleanup
12979
12980 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * BufferView_pimpl.C: fix insertAscii for insets
12983
12984 2001-12-05  Juergen Vigna  <jug@sad.it>
12985
12986         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12987         set the right font on the "multi" paragraph paste!
12988
12989 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12990
12991         * trans_decl.h:
12992         * trans_mgr.[Ch]:
12993         * trans.[Ch]:
12994         * lyxgluelength.C:
12995         * lyxlength.C: remove out-commented code.
12996
12997         * BufferView_pimpl:
12998         * CutAndPaste.C:
12999         * DepTable.C:
13000         * buffer.C:
13001         * chset.C:
13002         * lastfiles.C:
13003         * lyxlex.C:
13004         * lyxlex_pimpl.C:
13005         * lyxserver.C:
13006         * screen.C:
13007         * tabular-old.C:
13008         * tabular.C:
13009         * text.C:
13010         * trans_mgr.C:
13011         * vc-backend.C: change "while(" to "while ("
13012
13013         * lyxlength.[Ch]: add zero function to check if length is zero or
13014         not
13015         * lyxgluelength.C: use it
13016
13017 2001-12-05  Allan Rae  <rae@lyx.org>
13018
13019         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13020         Works for 2.95.3, from what I understand of Garst's reports this should
13021         work for other g++ versions.  We're screwed if the abs(int) definition
13022         changed between bugfix releases of gcc.
13023
13024 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * text.C: fix chapter label offset !
13027
13028 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * lyxtext.h:
13031         * text.C: fix hfill at end of line, clean up
13032
13033 2001-12-04  Juergen Vigna  <jug@sad.it>
13034
13035         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13036         that we force an update of the inset and it's owners if neccessary.
13037
13038 2001-12-03  Juergen Vigna  <jug@sad.it>
13039
13040         * text.C (rowLast): simplified code
13041
13042 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13043
13044         * lyxfunc.C: fix show options on timeout
13045
13046 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13047
13048         * screen.C (topCursorVisible): scroll half a page when the cursor
13049         reached top of bottom of screen
13050
13051 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13052
13053         * minibuffer.C: deactivate on loss of focus
13054
13055 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13056
13057         * vspace.[Ch] (operator!=): add operator.
13058
13059 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13060
13061         * BufferView_pimpl.C: refuse to open an inset when
13062         there's a selection.
13063
13064 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13065
13066         * BufferView_pimpl.C: allow to click on RHS of full row insets
13067
13068 2001-11-30  Juergen Vigna  <jug@sad.it>
13069
13070         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13071         insets for undo reasons.
13072
13073 2001-11-28  André Pönitz <poenitz@gmx.net>
13074
13075         * vspace.[Ch]: cosmetical changes
13076
13077 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13078
13079         * LyXAction.h:
13080         * LyXAction.C:
13081         * lyxfunc.h:
13082         * lyxfunc.C:
13083         * kbmap.h:
13084         * kbmap.C:
13085         * lyxrc.C:
13086         * kbsequence.h:
13087         * kbsequence.C: part re-write of old kb code
13088
13089         * Painter.C:
13090         * WorkArea.C: remove Lgb_bug_find_hack
13091
13092 2001-11-30  José Matos <jamatos@fep.up.pt>
13093
13094         * buffer.C (makeDocBookFile): add a comment to point a hack.
13095         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13096         Fixed a double write of labels.
13097
13098 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13099
13100         * LaTeX.C:
13101         * LaTeX.h Fixed bug in LaTeX class where it would not
13102         re-run latex if no depfiles were changed, but the .dvi was removed.
13103
13104 2001-11-28  André Pönitz <poenitz@gmx.net>
13105
13106         * all the files from the change on 2001/11/26:
13107         use lyx::layout_type instead of LyXTextClass::size_type
13108         use lyx::textclass_type instead of LyXTextClassList::size_type
13109
13110 2001-11-29  Juergen Vigna  <jug@sad.it>
13111
13112         * text.C: added support for paragraph::isFreeSpacing()
13113
13114         * buffer.C: same as above
13115
13116         * paragraph.h: inserted isFreeSpacing() function to enable
13117         FreeSpacing inside InsetERT.
13118
13119         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13120         of the paragraph's in the cut/copy buffer to 0!
13121
13122         * text2.C (removeRow): remove the assert as it can!
13123
13124         * lyxtext.h: added helper function firstRow returning firstrow and
13125         made firstrow private again.
13126
13127         * BufferView2.C (lockInset): don't relock if we're already locked!
13128
13129         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13130         the only paragraph.
13131         (removeRow): added Assert::(firstrow)
13132
13133         * debug.C: forgot to add INSETTEXT here.
13134
13135 2001-11-28  Juergen Vigna  <jug@sad.it>
13136
13137         * sp_spell.C (initialize): changed error text to more general
13138         spellchecker command use (not only ispell!)
13139
13140         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13141
13142         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13143
13144 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13145
13146         * vspace.C: initialise lyxgluelength on failure
13147
13148 2001-11-28  Allan Rae  <rae@lyx.org>
13149
13150         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13151         declaration & definition that looks like a function declaration.
13152
13153 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13154
13155         * BufferView2.C (copy):
13156         (copyEnvironment): do not clear the selection when doing a copy.
13157
13158         * text.C (paintFirstRow): compilation fix
13159
13160 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13161
13162         * tabular.C (Latex): correct line count when writing latex.
13163
13164 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * paragraph_pimpl.h:
13167         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13168           bug a bit
13169
13170 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13171
13172         * text.C:
13173         * LColor.h:
13174         * LColor.C: change vfillline->added_space
13175
13176         * text.C: add markers and text for added space
13177
13178         * vspace.C: fix comment
13179
13180 2001-11-28  André Pönitz <poenitz@gmx.net>
13181
13182         * paragraph.C: whitespace changes
13183         * all the other files from the change on 2001/11/26:
13184         change *::pos_type into lyx::pos_type
13185
13186 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13187
13188         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13189         language of the document when inserting error insets.
13190
13191 2001-11-26  André Pönitz <poenitz@gmx.net>
13192
13193         * BufferView_pimpl.[Ch]:
13194         *       CutAndPaste.C:
13195         * buffer.[Ch]:
13196         * lyxcursor.[Ch]:
13197         * lyxfind.C:
13198         * lyxfunc.C:
13199         * lyxrow.[Ch]:
13200         * paragraph.[Ch]:
13201         * paragraph_pimpl.[Ch]:
13202         * sp_spell.C:
13203         * text.C:
13204         * text2.C: reduce header dependencies, introduce type for positions
13205
13206 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13207
13208         * <various>: change to use Alert.h
13209
13210 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13211
13212         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13213         when encountering an unknown token.
13214         (readLyXformat2): Show an error message if there were unknown tokens.
13215
13216 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13217
13218         * BufferView2.C:
13219         * BufferView_pimpl.C:
13220         * buffer.C:
13221         * paragraph.h:
13222         * text.C:
13223         * text2.C: use par->isInset()
13224
13225 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13226
13227         * paragraph_pimpl.h:
13228         * paragraph_pimpl.C: cleanup
13229
13230 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13231
13232         * text2.C (removeRow):
13233         * text.C (setHeightOfRow): remove useless (and costly) call to
13234         getRow.
13235
13236 2001-11-20  Allan Rae  <rae@lyx.org>
13237
13238         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13239         Now need Inset*::checkInsertChar() to return true for appropriate
13240         cases so that the characters in the minibuffer will actually be
13241         inserted.
13242
13243 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13244
13245         * text.C: change the order of the includes.
13246         (workWidth): initialize it at once.
13247         (workWidth): make maxw unsigned
13248         (setHeightOfRow): remove unused variable (inset)
13249         (selectSelectedWord): remove unused variable (inset)
13250         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13251
13252 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13253
13254         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13255         server is not running.
13256         (openConnection):
13257         (closeConnection): add debug info when server is disabled.
13258
13259         * ColorHandler.C (getGCForeground): send debug message to GUI
13260         channel.
13261
13262         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13263
13264         * kbmap.C (bind): modify because return conventions of
13265         kb_sequence::parse have changed.
13266
13267         * kbsequence.C (parse): only ignore spaces and not any stupid
13268         control character. This avoids tests like s[i] <= ' ', which are
13269         guaranteed to fail with 8bit characters and signed chars.
13270         Change return code to string::npos when there have been no error
13271         (0 was a bad idea when error is at first character)
13272
13273 2001-11-14  José Matos  <jamatos@fep.up.pt>
13274
13275         * buffer.h:
13276         * buffer.C (simpleDocBookOnePar): removed unused argument.
13277
13278 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13279
13280         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13281         insets which are part of a word. Paragraph::isLetter takes care of
13282         that now. Use Paragraph::isInset to identify insets.
13283         (selectSelectedWord): do not test for hyphenation break.
13284
13285         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13286         that protected spaces are considered as spaces.
13287
13288         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13289         Inset::isLetter.
13290
13291 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13292
13293         * lyxserver.h:
13294         * lyxserver.C: fix it. and small cleanup.
13295
13296 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * BufferView_pimpl.C: use inline helpers
13299
13300         * LaTeXFeatures.h:
13301         * LaTeXFeatures.C: fix typos
13302
13303         * Spacing.h:
13304         * Spacing.C: move spacing_string into class
13305
13306         * ToolbarDefaults.C: move stuff into namespace anon
13307
13308         * layout.h: update enum
13309
13310         * lyxfunc.C: use better debug
13311
13312         * minibuffer.h: fix typo
13313
13314         * debug.h:
13315         * debug.C:
13316         * WorkArea.C: add and use Debug::WORKAREA
13317
13318         * lyxtext.h:
13319         * text.C:
13320         * text2.C: code re-organisation, inline helpers
13321
13322 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13323
13324         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13325         std::vector.empty().
13326
13327 2001-11-09  Allan Rae  <rae@lyx.org>
13328
13329         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13330         '\n's after tables.  Tabular and ERT inset work now makes this no
13331         longer necessary.
13332
13333 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13334
13335         * minibuffer.h:
13336         * minibuffer.C: fix crash, improve drop-down completion
13337
13338 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13339
13340         * lyxserver.h:
13341         * lyxserver.C: invalidate fd's when doing endPipe()
13342
13343 2001-11-08  José Matos  <jamatos@fep.up.pt>
13344
13345         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13346         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13347
13348         * paragraph.h:
13349         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13350
13351 2001-11-07  José Matos  <jamatos@fep.up.pt>
13352
13353         * buffer.h:
13354         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13355         const qualifier.
13356
13357         * buffer.C (sgmlOpenTag):
13358         * buffer.C (sgmlCloseTag): removed debug info.
13359
13360         * buffer.h (sgmlOpenTag):
13361         * buffer.h (sgmlCloseTag): made public.
13362
13363 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * buffer.C (saveParamsAsDefaults):
13366         * lyx_cb.C (MenuLayoutSave): remove
13367
13368         * LyXAction.C (init):
13369         * commandtags.h:
13370         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13371
13372 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13373
13374         * buffer.C (setPaperStuff): removed from here...
13375
13376         * bufferparams.C (setPaperStuff): ... and moved there.
13377
13378 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13379
13380         * minibuffer.h:
13381         * minibuffer.C:
13382         * XFormsView.C: add support for drop-down completion
13383
13384 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13385
13386         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13387         commands.
13388
13389 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13390
13391         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13392         disabled.
13393
13394 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * lyx_main.C: change ref to known bugs
13397
13398 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13399
13400         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13401         to work around older babel problems.
13402
13403 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13404
13405         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13406
13407 2001-10-24  Juergen Vigna  <jug@sad.it>
13408
13409         * tabular-old.C (ReadOld): below variable changes reflected.
13410
13411         * tabular.[Ch]: added ltType struct for longtable header/footer
13412         defines and changed all instances where they are used. Added
13413         future support for double top/bottom rows.
13414
13415 2001-10-24  José Matos  <jamatos@fep.up.pt>
13416
13417         * buffer.h (docbookHandleCaption):
13418         * buffer.C (docbookHandleCaption): removed unused function.
13419         (makeDocBookFile): moved docbook supported version to v4.1.
13420
13421 2001-10-24  José Matos  <jamatos@fep.up.pt>
13422
13423         * tabular.h:
13424         * tabular.C (docbookRow): new function to export docbook code of a row.
13425         (DocBook): now honors the longtable flags.
13426
13427 2001-10-23  José Matos  <jamatos@fep.up.pt>
13428
13429         * LaTeXFeatures.h:
13430         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13431         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13432
13433         * buffer.C (makeLinuxDocFile):
13434         (makeDocBookFile): reworked the preamble, more clean, and with
13435         support for lyx defined entities. Changed the document declaration
13436         to be more XML friendly.
13437
13438         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13439         if we need to output XML that should be done with a filter.
13440
13441 2001-10-22  Juergen Vigna  <jug@sad.it>
13442
13443         * sp_pspell.h (class PSpell): add alive function needed in the
13444         controller to see if the spellchecker could be started.
13445
13446 2001-10-22  Juergen Vigna  <jug@sad.it>
13447
13448         * buffer.C (insertStringAsLines): modify the font for inserting
13449         chars in certain conditions by calling checkInsertChar(font).
13450
13451 2001-10-19  Juergen Vigna  <jug@sad.it>
13452
13453         * text.C (workWidth): use getRow instead of wrong algorithm.
13454         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13455
13456 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13457
13458         * lyxserver.h:
13459         * lyxserver.C:
13460         * lyx_main.h:
13461         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13462
13463 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13464
13465         * text.C (workWidth): do not search for the exact row when
13466         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13467         optimization for big documents.
13468
13469 2001-10-18  Juergen Vigna  <jug@sad.it>
13470
13471         * text.C (workWidth): new function with added Inset * parameter.
13472
13473 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13474
13475         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13476
13477         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13478         change return type of getColumnNearX.
13479
13480
13481         * text.C (changeRegionCase): use uppercase/lowercase instead of
13482         toupper/tolower.
13483         (leftMargin):
13484         (rightMargin): simplify code by factoring out the uses of
13485         textclasslist.
13486         (labelFill):
13487         (numberOfHfills):
13488         (setHeightOfRow):
13489         (appendParagraph): use Paragraph::size_type
13490
13491 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * vspace.C (asLatexString): add a missing break
13494
13495 2001-10-15  Herbert Voss  <voss@perce.de>
13496
13497         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13498
13499 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13500
13501         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13502         is not available.
13503
13504 2001-10-10  André Pönitz <poenitz@gmx.net>
13505
13506         * lyxfunc.C: removed greek_kb_flag.
13507
13508 2001-10-10  Herbert Voss  <voss@perce.de>
13509
13510         * lyx_main.C: delete global string help_lyxdir.
13511
13512 2001-10-09  Herbert Voss  <voss@perce.de>
13513
13514         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13515
13516         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13517
13518         * lyx_main.C: added global string help_lyxdir.
13519
13520         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13521
13522 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13523
13524         * lyxrc.C (set_font_norm_type): support iso8859-4
13525
13526 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13527
13528         * LaTeX.C (deplog): add another regex for MikTeX
13529
13530 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13531
13532         * lyxrc.C (set_font_norm_type): support iso8859-3
13533
13534 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13535
13536         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13537
13538         * LaTeXFeatures.C: remove special case of french and index
13539
13540         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13541         before \begin{document}). This solves several incompatibilities.
13542
13543 2001-10-03  Garst Reese  <reese@isn.net>
13544
13545         * lyx_cb.C: change CheckTex error msg.
13546
13547 2001-10-03  José Matos  <jamatos@fep.up.pt>
13548
13549         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13550
13551 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13552
13553         * .cvsignore: update
13554
13555         * lyx_main.C (commandLineVersionInfo): use new style version info.
13556
13557         * buffer.C (writeFile):
13558         (makeLaTeXFile):
13559         (makeLinuxDocFile):
13560         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13561
13562         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13563
13564         * version.h: update to use stuff in version.C
13565
13566         * version.C.in: new file. Contains version information determined
13567         at compile time. This is a merging of version.h and
13568         version_info.h.in.
13569
13570 2001-10-03  Juergen Vigna  <jug@sad.it>
13571
13572         * BufferView_pimpl.C (update): don't change "dirty" status in
13573         updateInset call.
13574
13575 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13576
13577         * WorkArea.C (c-tor): re-position version string slightly.
13578
13579 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13580
13581         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13582         revert to previous code.
13583
13584         WorkArea.[Ch]: (show, destroySplash): methods removed.
13585
13586         WorkArea.C: rework code so that it's an amalgam of the codes before and
13587         after the splash screen was moved to WorkArea.
13588
13589 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13590
13591         * lyxrc.C (read):
13592         * vspace.C (inPixels):
13593         (lyx_advance):
13594         * kbmap.C (bind):
13595         * buffer.C (insertStringAsLines):
13596         (asciiParagraph): fix types to be large enough
13597
13598         * lyxlex_pimpl.h: change member status from short to int
13599
13600         * layout.h: fix type of endlabeltype
13601
13602         * kbmap.C (bind):
13603         * kbsequence.C (parse): change return type to string::size_type
13604
13605         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13606         variable
13607
13608         * Bullet.C (bulletSize):
13609         (bulletEntry): do not use short ints as parameters
13610
13611         * BufferView2.C (insertLyXFile): change a char to an int.
13612
13613         * WorkArea.C (WorkArea): remove unneeded floats in computation
13614
13615 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13616
13617         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13618
13619         * paragraph.C (asString): Do not ignore newline/hfill chars when
13620         copying to the clipboard.
13621
13622 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13625         after a multi-line inset.
13626
13627 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * paragraph.C (validate): Set NeedLyXFootnoteCode
13630
13631 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13632
13633         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13634         and decrease-error to decrease.
13635
13636 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13637
13638         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13639         it more readable (should be equivalent)
13640
13641 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13642
13643         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13644
13645 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13646
13647         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13648         of a cursor (row, etc.) after a character has been deleted
13649         (deleteEmptyParagraphMechanism): call the method above on _all_
13650         cursors held by the LyXText when a double space has been
13651         detected/deleted.
13652
13653 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13654
13655         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13656         pixmap.
13657         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13658
13659         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13660         background. Use greyOut() and the new show() methods to toggle between
13661         the foreground and background. Add code to remove the splash after
13662         its initial showing.
13663
13664         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13665         (create_forms): no longer call Dialogs::showSplash.
13666
13667 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13668
13669         * .cvsignore: add version_info.h
13670
13671 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13672
13673         * version_info.h.in: new file
13674
13675         * Makefile.am: add version_info.h.in
13676
13677         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13678         version_info.h instead of VERSION_INFO
13679
13680 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13681
13682         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13683         The ERT inset now returns string().
13684
13685 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13686
13687         * lyxtext.h, text.C (selectNextWord): renamed as
13688         selectNextWordToSpellcheck.
13689
13690         * text.C (selectNextWordToSpellcheck): Modified to not select
13691         words inside an ERT inset.
13692
13693 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * lyx_cb.C (MenuLayoutSave): change a bit the question
13696
13697         * sp_base.h: include <sys/types.h>
13698
13699 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13700
13701         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13702
13703 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13704
13705         * several files: fix typos in user-visible strings
13706
13707 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13708
13709         * text2.C (pasteSelection): do not set the selection, since it
13710         will be cleared later. Actually, the intent was to fix the way the
13711         selection was set, but I figured rmoving the code was just as good.
13712
13713 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13714
13715         * FontLoader.C (available): Check if font is available without
13716         loading the font.
13717
13718 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13719
13720         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13721
13722 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13723
13724         * lyxrc.[Ch]: added display_graphics variable and associated code.
13725
13726 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13727
13728         * bufferparams.C (hasClassDefaults): new method. Returns true if
13729         the buffer parameters correspond to known class defaults
13730
13731 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13732
13733         * XFormsView.C (show): set minimum size to the main window.
13734
13735 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13736
13737         * text2.C (copySelection):
13738         (cutSelection):
13739         * lyxfind.C (LyXReplace):
13740         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13741         LyXText::selectionAsString.
13742
13743         * paragraph.C (asString): add "label" argument to the second form
13744
13745         * text2.C (selectionAsString): add "label" argument and pass it to
13746         Paragraph::asString.
13747
13748 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13749
13750         * lyx_main.C (commandLineHelp): remove version information
13751
13752 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13753
13754         * lyx_main.C: add -version commandline option
13755
13756 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * paragraph.h: make the optional constructor arg required instead.
13759         some modifications to other files because of this.
13760
13761         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13762
13763         * lyxserver.C (C_LyXComm_callback): make it static
13764
13765         * lyx_main.C (error_handler): make it static
13766
13767         * lyx_gui.C (LyX_XErrHandler): make it static
13768
13769         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13770
13771         * WorkArea.C: make the extern "C" methods static.
13772
13773         * Makefile.am (lyx_LDADD): simplify
13774
13775 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13776
13777         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13778         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13779
13780         * LyXAction.C (init):
13781         * lyxfunc.C (dispatch): associated code removal.
13782
13783 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * lyxfont.h (isSymbolFont): shut off warning
13786
13787         * text.C (setHeightOfRow):
13788         (getVisibleRow): fix crash with empty paragraphs which have a
13789         bottom line
13790
13791 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13792
13793         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13794         code.
13795
13796 2001-09-04  José Matos  <jamatos@fep.up.pt>
13797         * buffer.C
13798         * buffer.h
13799         * tabular.C (docbook): rename docBook method to docbook.
13800
13801 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13802
13803         * Makefile.am: add dependencies to main.o.
13804
13805 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13806
13807         * FontLoader.C (available): Return false if !lyxrc.use_gui
13808
13809 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13810
13811         * FontInfo.C (query):
13812         * converter.C (view):
13813         * importer.C (Import):
13814         * exporter.C (Export): Can not -> cannot.
13815
13816 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13817
13818         * BufferView_pimpl.C: allow to create index inset even if
13819           string is empty
13820
13821 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13822
13823         * buffer.C (getLists): replace boost::tie code with an explicit pair
13824         as boost::tie can break some compilers.
13825
13826         * iterators.h: Added a std:: declaration to the return type of
13827         ParIterator::size.
13828
13829 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13830
13831         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13832           case.
13833
13834 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13835
13836         * iterators.[Ch]: New files. Provide paragraph iterators.
13837
13838         * buffer.C (changeLanguage): Use paragraph iterators.
13839         (isMultiLingual): ditto
13840
13841         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13842
13843 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13844
13845         * FontLoader.C: Support for cmr font.
13846
13847 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13848
13849         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13850         (available): New method.
13851
13852         * FontInfo.C (getFontname): Use scalable fonts even when
13853         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13854         found.
13855
13856 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13857
13858         * converter.C (Formats::view): reverted! Incorrect fix.
13859
13860 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13861
13862         * converter.C (Formats::view): only output the -paper option
13863         if the dvi viewer is xdvi, thereby fixing bug #233429.
13864
13865 2001-08-23  Herbert Voss  <voss@perce>
13866
13867         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13868
13869 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13870
13871         * Spacing.h (Spacing): Set space to Default on in the default
13872         constructor.
13873
13874 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13875
13876         * vc-backend.h (RCS::versionString): add RCS to version
13877         (CVS::versionString): add CVS to version
13878
13879         * vc-backend.C (scanMaster): do not add CVS to version.
13880         (scanMaster): do not add RCS to version
13881
13882         * lyxvc.C (versionString): new method
13883
13884         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13885
13886 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13887
13888         * Spacing.C (set): initialize fval
13889
13890 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13891
13892         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13893         " or \.
13894
13895 2001-08-16  Juergen Vigna  <jug@sad.it>
13896
13897         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13898
13899 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13900
13901         * BufferView_pimpl.C:
13902         * figureForm.C:
13903         * lyxtext.h:
13904         * text2.C: setParagraph takes linespacing now
13905
13906 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13907
13908         * LyxAction.C: add internal LFUN_CITATION_INSERT
13909
13910         * LyXView.C: actually apply fix
13911
13912         * bufferlist.C: fix open non-existent file
13913
13914         * lyxfind.C: fix indentation
13915
13916         * lyxfunc.C: remove unneeded assert, fix typo
13917
13918 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13919
13920         * MenuBackend.C: use "Floatname List"
13921
13922 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13923
13924         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13925         when converting LaTeX layout to insetERT.
13926         Generate a non-collapsed float when reading old float
13927
13928 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13929
13930         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13931         ERT insets.
13932
13933 2001-08-13  Juergen Vigna  <jug@sad.it>
13934
13935         * text.C (fill): return 0 instead of 20 as this seems to be the more
13936         correct value.
13937
13938 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13939
13940         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13941         lyxrc.font_norm.
13942
13943 2001-08-13  Juergen Vigna  <jug@sad.it>
13944
13945         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13946         casesensitive off.
13947         (SearchBackward): comment out the unlocking of the inset_owner this
13948         should not be needed!
13949
13950 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13951
13952         * Many files: Remove inherit_language, and add latex_language
13953
13954         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13955         collapsible insets.
13956
13957 2001-08-10  Juergen Vigna  <jug@sad.it>
13958
13959         * text.C (prepareToPrint): fixed hfill-width in draw!
13960
13961         * BufferView2.C (selectLastWord): save the selection cursor as this
13962         now is cleared in the function LyXText::clearSelection!
13963
13964 2001-08-08  Juergen Vigna  <jug@sad.it>
13965
13966         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13967         BACKSPACE type functions.
13968
13969         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13970         is only cutted from the document but not put in the cut-buffer, where
13971         still the old stuff should be.
13972
13973         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13974
13975         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13976
13977         * tabular.C (SetWidthOfCell): fixed special case where the width
13978         was not updated!
13979         (LeftLine): handle '|' in align_special.
13980         (RightLine): ditto
13981         (LeftAlreadyDrawed): ditto
13982         (SetWidthOfCell): ditto
13983
13984 2001-08-07  Juergen Vigna  <jug@sad.it>
13985
13986         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13987
13988 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13989
13990         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13991         * lyxlex.[hC]: ditto
13992
13993 2001-08-06  Juergen Vigna  <jug@sad.it>
13994
13995         * text.C (getVisibleRow): fix up row clearing a bit.
13996
13997 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13998
13999         * minibuffer.C: make sure the X server sees the changes in the input.
14000
14001 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14002
14003         * paragraph.C (getFont): split into...
14004         (getLabelFont): this
14005         (getLayoutFont): and this
14006         * paragraph_pimpl.C (realizeFont): calling this
14007
14008         * text2.C (getFont): split into...
14009         (getLayoutFont): this
14010         (getLabelFont): and this
14011         (realizeFont): all three calling this
14012
14013         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14014         files where used.
14015
14016 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14017
14018         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14019
14020 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14021
14022         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14023         layouts from the Quote inset insertion.
14024
14025 2001-08-03  Juergen Vigna  <jug@sad.it>
14026
14027         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14028
14029         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14030         only if status not is already CHANGED_IN_DRAW (second level).
14031
14032         * text.C (draw): don't set the need_break_row when inside an
14033         InsetText LyXText.
14034
14035 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14036
14037         * buffer.C (parseSingleLyXformat2Token): handle more latex
14038         conversion cases.
14039
14040         * bufferview_funcs.[hC]: change function names to
14041         begin with small char, adjust other files.
14042
14043 2001-08-02  André Pönitz <poenitz@gmx.net>
14044
14045         * lyxfunc.C:
14046         BufferView_pimpl.C: remove broken special code for math-greek
14047
14048 2001-08-02  Juergen Vigna  <jug@sad.it>
14049
14050         * BufferView_pimpl.C (update): redone this function so that we
14051         update the text again if there was a CHANGE_IN_DRAW.
14052
14053         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14054         (drawFromTo): added a new internal bool which is used by draw() and
14055         redraw() function.
14056         (general): some cursor drawing problems fixed.
14057
14058 2001-08-01  Juergen Vigna  <jug@sad.it>
14059
14060         * lyxfind.C (LyXFind): fixed
14061         (SearchForward): ditto
14062         (SearchBackward): ditto
14063
14064         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14065         spurius drawing of the cursor in the main area.
14066
14067         * text2.C (status): small fix which could lead to a segfault!
14068         (clearSelection): remove unneeded BufferView param.
14069
14070 2001-08-01  André Pönitz <poenitz@gmx.net>
14071
14072         * lyxfunc.C: small change due to changed mathed interface
14073
14074 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14075
14076         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14077
14078 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14079
14080         * lyxfunc.c: fail gracefully if file doesn't exist
14081
14082         * LyXSendto.C:
14083         * buffer.C:
14084         * lyxfunc.C:
14085         * BufferView_pimpl.C: IsDirWriteable() proto changed
14086
14087         * LyXView.C: fix updateWindowTitle() to store the last title
14088
14089 2001-07-31  Juergen Vigna  <jug@sad.it>
14090
14091         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14092         the font (wrong since using of Paragraph::highestFontInRange).
14093
14094         * paragraph.C (highestFontInRange): added a default_size parameter.
14095
14096         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14097         (setHeightOfRow): reformat
14098
14099 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * converter.[hC] + affected files: move to (inital-char)lowercase
14102         function names.
14103
14104         * ParagraphParameters.C (ParagraphParameters): remove commented code
14105
14106         * PainterBase.[Ch]: remove commented code
14107
14108         * LaTeXFeatures.h: add "bool floats" for float.sty
14109
14110         * LaTeXFeatures.C (LaTeXFeatures): init floats
14111         (require): handle float
14112         (getPackages): do it with floats
14113
14114 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * BufferView_pimpl.C (Dispatch): improve handling of
14117         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14118
14119         * commandtags.h: #include lyxfont.h here temporarily to avoid
14120         keybinding bug.
14121
14122         * bufferlist.h: include LString.h here.
14123
14124 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14125
14126         * text2.C (getStringToIndex): new method.
14127
14128 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14129
14130         * *: Reduced header file dependencies all over.
14131
14132 2001-07-30  Baruch Even  <baruch@lyx.org>
14133
14134         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14135
14136 2001-07-29  Baruch Even  <baruch@lyx.org>
14137
14138         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14139
14140 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14141
14142         * ParameterStruct.h (endif): add a default constructor to make
14143         sure that all variables is initialized.
14144
14145         * ParagraphParameters.C (ParagraphParameters): adjust
14146
14147 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14150         index; also, check that there is something to index, and that it
14151         does not span over several paragraphs.
14152         (doubleClick): use WHOLE_WORD_STRICT for double click.
14153
14154         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14155
14156         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14157         scheme.
14158
14159 2001-07-26  Baruch Even  <baruch@lyx.org>
14160
14161         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14162         an InsetFig figure, backwards compatible reading of old figure code.
14163
14164 2001-07-27  Juergen Vigna  <jug@sad.it>
14165
14166         * text2.C: font.realize function adaption.
14167
14168         * text.C (draw): add a warnings lyxerr text if needed.
14169
14170         * layout.C: font.realize function adaption.
14171
14172         * language.C: add inherit_language and implement it's handlings
14173
14174         * bufferview_funcs.C (StyleReset): remove language parameter from
14175         font creation (should be language_inherit now).
14176
14177         * bufferparams.C (writeFile): handle ignore_language.
14178
14179         * paragraph.C (getFontSettings): the language has to be resolved
14180         otherwise we have problems in LyXFont!
14181
14182         * lyxfont.C (lyxWriteChanges): added document_language parameter
14183         (update): removed unneeded language parameter
14184
14185         * paragraph.C (validate): fixed wrong output of color-package when
14186         using interface colors for certain fonts in certain environments,
14187         which should not seen as that on the final output.
14188
14189 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14190
14191         * BufferView_pimpl.C:
14192         * Thesaurus.h:
14193         * Thesaurus.C:
14194         * Makefile.am:
14195         * commandtags.h:
14196         * LyXAction.C: add thesaurus support
14197
14198         * lyxfind.h:
14199         * lyxfind.C: add "once" parameter, for thesaurus, to not
14200           move to the next match
14201
14202 2001-07-26  Juergen Vigna  <jug@sad.it>
14203
14204         * lyxfont.C (realize): honor ignore_language too!
14205         (resolved): ditto.
14206
14207         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14208
14209         * text.C (draw): one place more for ignore_language to not draw
14210         itself!
14211
14212 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14213
14214         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14215
14216 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14217
14218         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14219         the minipage conversion problem.
14220
14221 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14222
14223         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14224         insert an inset.
14225
14226 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14227
14228         * BufferView.h: don't forward declare WorkArea
14229
14230         * BufferView.C: don't include WorkArea.h
14231
14232 2001-07-25  André Pönitz <poenitz@gmx.net>
14233
14234         * commandtags.h:
14235         * LyXAction.C:
14236         * lyxfunc.C:  new LFUN 'math-space'
14237
14238         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14239
14240 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14241
14242         * text2.C (toggleInset): call open/close
14243
14244 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14245
14246         * lyxfunc.C (dispatch): add debug for the disabled case
14247
14248         * font.C (buttonText): make similar to rectText
14249
14250         * buffer.C (readInset): comment out parsing of insetlist and
14251         insttheorem
14252
14253         * PainterBase.C (rectText): small correction
14254
14255         * BufferView_pimpl.C: comment out insettheorem and insetlist
14256         * LyXAction.C: ditto
14257         * commandtags.h: ditto
14258
14259 2001-07-24  Juergen Vigna  <jug@sad.it>
14260
14261         * text.C (draw): honor the ignore_language.
14262
14263         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14264
14265 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14268         char inset.
14269
14270 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14271
14272         * lyxtext.h: remove unused (and unimplemented) methods
14273
14274 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14275
14276         * text.C (getVisibleRow): honor background color
14277
14278         * PainterBase.h:
14279         * Painter.h: remove default color argument for fillRectangle
14280
14281         * text.C (backgroundColor): new method
14282
14283 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14284
14285         * text.C (getVisibleRow): adjust
14286
14287         * font.[Ch] (rectText): new method, metrics
14288         (buttonText): new method, metrics
14289
14290         * PainterBase.[hC]: make rectText and buttonText always draw and take
14291         fewer paramteres.
14292
14293 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14294
14295         * ToolbarDefaults.C (read):
14296         * MenuBackend.C (read): allow escaping in all strings
14297
14298         * BufferView_pimpl.C (insertAndEditInset): new method.
14299         (Dispatch): use insertAndEditInset whenever appropriate.
14300
14301         * BufferView_pimpl.C (insertNote): removed
14302
14303         * BufferView_pimpl.C (smartQuote): new method, moved from
14304         BufferView; if an insetquote cannot be inserted, insert a '"'
14305         character instead.
14306
14307         * BufferView2.C: remove insertCorrectQuote();
14308
14309         * lyxfunc.C (getStatus): Add support for all remaingin
14310         inset-insert lfuns.
14311
14312         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14313
14314         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14315         command (necessary to pass " as parameter of self-insert.
14316
14317         * text.C (selectWordWhenUnderCursor):
14318         (selectWord): add word_location parameter
14319         (selectWordWhenUnderCursor): same + remove special code for word
14320         boundary.
14321         (selectNextWord): use kind() to guess type of insetspecialchar,
14322         not latex().
14323
14324         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14325         (insertErtContents): create ert insets as collapsed.
14326         (readInset): better compatibility code for Info inset.
14327
14328 2001-07-20  Juergen Vigna  <jug@sad.it>
14329
14330         * lyxfunc.C (dispatch): use always LyXFind now!
14331
14332         * text2.C (init): add a reinit flag so that the LyXText can be
14333         reinited instead of deleted and reallocated (used in InsetText).
14334
14335         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14336
14337         * text.C: ditto
14338
14339         * text2.C: ditto
14340
14341 2001-07-18  Juergen Vigna  <jug@sad.it>
14342
14343         * text.C (selectNextWord): handle insets inside inset by calling
14344         always the bv->text functions so that we can go up the_locking_inset!
14345
14346         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14347         in strange locations when inside an inset!
14348
14349         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14350         handling to include insets.
14351
14352         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14353
14354 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14355
14356         * LyXAction.C (init):
14357         * commandtags.h:
14358         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14359         LIGATURE_BREAK, since the name is so stupid.
14360
14361 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14362
14363         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14364         InsetInfos.
14365
14366         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14367
14368         * sp_form.[Ch]: remove.
14369
14370         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14371
14372         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14373         InsetInfo.
14374
14375         * src/buffer.C (readInset): ditto.
14376
14377 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14378
14379         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14380         menuSeparator(), endOfSentenceDot(), ldots() and
14381         hyphenationPoint(), which are therefore removed.
14382         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14383
14384         * LyXAction.C (init):
14385         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14386
14387         * paragraph.C (getWord): removed.
14388
14389         * BufferView_pimpl.C (Dispatch): use last word or selection for
14390         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14391
14392         * lyx_main.C (queryUserLyXDir): do not ask before creating
14393         user_dir, except if it has been named explicitely.
14394
14395 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14396
14397         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14398         a document of zero size.
14399
14400 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14401
14402         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14403         approriately in the c-tor and in require().
14404         (getPackages): output the appropriate LaTeX for natbib support.
14405
14406         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14407         variables "use_natbib" and "use_numerical_citations" when reading the
14408         LyX file.
14409         (readInset): read the various natbib cite commands.
14410         (validate): white-space change.
14411
14412         * bufferparams.[Ch]: new variables "bool use_natbib" and
14413         "bool use_numerical_citations".
14414         (writeFile): output them in the LyX file.
14415
14416 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14417
14418         * lyxfunc.C (getStatus): add support for all the inset insertion
14419         commands.
14420
14421         * text2.C (insertInset):
14422         * paragraph.C (insetAllowed):
14423         * BufferView_pimpl.C (insertInset): update to take in account the
14424         renaming of insertInsetAllowed
14425
14426         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14427
14428         * text2.C (getInset): new method. returns inset at cursor position.
14429
14430         * BufferView_pimpl.C (Dispatch): changes because of this.
14431
14432         * LyXAction.C (init): rename open-stuff to inset-toggle.
14433
14434         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14435
14436         * text2.C (toggleInset): renamed from openStuff; use
14437         Inset::open().
14438
14439 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14440
14441         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14442
14443         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14444
14445 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14446
14447         * buffer.C (readLyXformat2): Add filename to the error dialog
14448
14449 2001-07-18  Juergen Vigna  <jug@sad.it>
14450
14451         * tabular.C (GetCellNumber): put an assert here instead of the check!
14452
14453 2001-07-17  Juergen Vigna  <jug@sad.it>
14454
14455         * BufferView_pimpl.C (toggleSelection): adapted too.
14456
14457         * text.C (selectNextWord): adapted for use with insets.
14458         (selectSelectedWord): ditto
14459
14460 2001-07-17  Juergen Vigna  <jug@sad.it>
14461
14462         * sp_spell.C (PSpell): fix initialitation order.
14463
14464 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * paragraph.C: spacing
14467
14468 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14469
14470         * sp_spell.C: repair language selection for pspell
14471
14472 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * lyxfunc.h: change more methods to begin with lower char.
14475
14476 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14477
14478         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14479         for unknown layouts.
14480
14481 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14482
14483         * buffer.C (readLyXformat2): Generate an error dialog if there are
14484         unknown layouts.
14485
14486 2001-07-16  Juergen Vigna  <jug@sad.it>
14487
14488         * sp_spell.C: always compile ISpell part.
14489
14490         * lyxrc.C: added use_pspell entry and it's handling.
14491
14492 2001-07-13  Juergen Vigna  <jug@sad.it>
14493
14494         * sp_spell.C: removed double includes.
14495
14496 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14497
14498         Consistent use of Lsstream.h:
14499         * Lsstream.h: added using std::stringstream for consistencies sake.
14500
14501         * buffer.C: removed using std::stringstream
14502
14503         * lyxfont.C (stateText):
14504         * paragraph.C (asString):
14505         * text.C (selectNextWord, selectSelectedWord):
14506         * text2.C (setCounter):
14507         * vspace.C (asString, asLatexString):
14508         std::ostringstream -> ostringstream.
14509
14510 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14511
14512         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14513         * commandtags.h: add LFUN_HELP_ABOUTLYX
14514         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14515
14516 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14517
14518         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14519         cursorToggle()
14520         * lyx_gui_misc.C: remove spellchecker
14521         * lyxfunc.C: showSpellchecker
14522         * sp_base.h: added
14523         * sp_ispell.h: added
14524         * sp_pspell.h: added
14525         * sp_spell.C: added
14526         * sp_form.[Ch]: removed
14527         * spellchecker.[Ch]: removed
14528
14529 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14530
14531         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14532         is set.
14533         (simpleTeXSpecialChars): Simply print the input character without
14534         any special translation if pass_thru is set.
14535
14536         * layout.h: Added bool pass_thru to layout class for being able to
14537         implement pass through of a paragraph for Literate Programming.
14538
14539         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14540         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14541         * layout.C (Read): add "passthru" to list of layout tags and add
14542         code to set the pass_thru boolean when it is read.
14543
14544 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14545
14546         * trans_decl.h: remove allowed from KmodInfo
14547
14548         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14549         remove allowed code
14550         (Load): adjust
14551
14552         * paragraph_pimpl.C (erase): use boost::prior
14553
14554         * Painter.C (text): use data() instead of c_str() when length is
14555         also provided.
14556         * WorkArea.C (putClipboard): ditto
14557         * font.h (width): ditto
14558
14559         * BufferView2.C: use it-> instead of (*it). for iterators
14560         * texrow.C: ditto
14561         * paragraph_pimpl.C: ditto
14562         * paragraph.C: ditto
14563         * minibuffer.C: ditto
14564         * language.C: ditto
14565         * kbmap.C: ditto
14566         * encoding.C: ditto
14567         * counters.C: ditto
14568         * converter.C: ditto
14569         * chset.C: ditto
14570         * Variables.C: ditto
14571         * TextCache.C: ditto
14572         * MenuBackend.C: ditto
14573         * LyXAction.C: ditto
14574         * LColor.C: ditto
14575         * FloatList.C: ditto
14576         * DepTable.C: ditto
14577         * ColorHandler.C (LyXColorHandler): ditto
14578
14579 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14580
14581         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14582
14583         * text2.C (openStuff): reintroduce this method (which had been
14584         nuked in NEW_INSETS frenzy).
14585
14586         * lyxfunc.C (Dispatch): when an action has not been handled, use
14587         its name in the error message, not its number.
14588
14589         * paragraph.C (inInset): change method name to begin with lowercase.
14590
14591         * undo_funcs.C:
14592         * text2.C: updates because of this.
14593
14594 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14595
14596         * ToolbarDefaults.C (add): add spaces in error message
14597
14598 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14599
14600         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14601         (readLyXformat2): rename return_par to first_par, use lyxlex's
14602         pushToken and remove the manual push handling.
14603         (parseSingleLyXformat2Token): add another ert comp. variable:
14604         in_tabular, rename return_par to first_par. handle newlines better
14605
14606 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14607
14608         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14609
14610 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * text2.C (getParFromID): removed
14613
14614         * buffer.C (getParFromID): new method moved form lyxtext.
14615         * BufferView2.C (insertErrors): adjust
14616         (setCursorFromRow): adjust
14617         * BufferView_pimpl.C (restorePosition): adjust
14618         * lyxfunc.C (Dispatch): adjust
14619         * undo_funcs.C (textUndo): adjust
14620         (textRedo): adjust
14621         (textHandleUndo): adjust
14622         (textHandleUndo): adjust
14623
14624 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14625
14626         * buffer.C: up' the LYX_FORMAT
14627
14628         * lyxfont.h: turn NO_LATEX on as default
14629
14630         * buffer.C (insertErtContents): new methods of tex style compability.
14631         (parseSingleLyXformat2Token): use it several places.
14632         * tabular.C (OldFormatRead): and here
14633
14634 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14635
14636         * text2.C: remove some commented code.
14637         reindent file.
14638
14639         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14640         * trans.C: changes because of the above.
14641
14642 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14643
14644         * text2.C (setCounter): Fix counters bug with bibliography layout.
14645
14646 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14647
14648         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14649         own member functions
14650         (simpleTeXSpecialChars): ditto
14651
14652 2001-07-06  Juergen Vigna  <jug@sad.it>
14653
14654         * a lot of files: changed the access to LyXText::status and the
14655         call of undo-functions.
14656
14657         * undo.[Ch]: added a inset_id to the undo informations.
14658
14659         * undo_funcs.[Ch]: added and moved here all undo functions.
14660
14661         * lyxtext.h: give the status enum a weight, made status_ a private
14662         variable and made accessor functions for it, removed the whole bunch
14663         of undo-functions as they are now in their own file, make some
14664         functions publically available. Added function ownerParagraph with
14665         int parameter.
14666
14667         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14668         made InInset() a const function, added getParFromID() function.
14669
14670         * buffer.[Ch]: added const version for inset_iterator functions,
14671         added getInsetFromID() function.
14672
14673         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14674         changed undo functions for new version.
14675
14676 2001-07-05  Juergen Vigna  <jug@sad.it>
14677
14678         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14679         unknow mechanism does not call the proper constructor but only this
14680         one also if I request the other!?
14681
14682 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14683
14684         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14685
14686         * text2.C (LyXText): use initialization lists.
14687
14688         * lyxtext.h (Selection): initialize set_ and mark_
14689         (init): remove method
14690
14691 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14692
14693         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14694
14695 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14696
14697         * screen.[Ch]: change method names to begin with lowercase
14698
14699         * BufferView_pimpl.C (updateScrollbar): simplify further and
14700         hopefully make it a bit faster.
14701
14702 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14705         calling directly xforms functions.
14706
14707         * Painter.C (Painter):
14708         * lyx_cb.C (MenuWrite):
14709         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14710         fl_display.
14711
14712         * lyx_gui.C: remove bogus guiruntime extern declaration.
14713
14714 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14715
14716         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14717         in NEW_INSETS
14718         (redoDrawingOfParagraph): ditto
14719         (redoParagraphs): ditto
14720         (cutSelection): don't create a object for CutAndPaste use the
14721         static method directly
14722         (pasteSelection): ditto
14723
14724         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14725         LyXview (+ rename)
14726
14727 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * modifications to some other files because of this.
14730
14731         * Makefile.am (lyx_SOURCES): add XFormsView
14732
14733         * XFormsView.[Ch]: new files
14734
14735         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14736         the main window. Move the gui dependent stuff to XFormsView
14737
14738 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14739
14740         * tabular.C (GetCellInset): update cur_cell also in the row/col
14741         version of this function.
14742
14743         * lyxfunc.C: no need to include figure_form.h here.
14744
14745         * FontLoader.h:
14746         * lyxfunc.h:
14747         * lyxscreen.h:
14748         * text2.C:
14749         * lyxvc.C: no need to include forms.h here.
14750
14751 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14752
14753         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14754
14755         * lyxfunc.C (Dispatch):
14756         * Spacing.C (set):
14757         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14758         constructor argument.
14759
14760 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14761
14762         * paragraph.C (Paragraph): dont't clear, and just set layout.
14763         (makeSameLayout): use params's copy contructor.
14764
14765         * ParagraphParameters.[Ch] (makeSame): delete method
14766
14767 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14768
14769         * Variables.[Ch]: fix indentation, rename set to isSet
14770
14771 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14772
14773         * lyxfunc.C (Dispatch): fix typo
14774
14775 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14778         upper_bound.
14779
14780         * bufferlist.C: include assert.h for emergencyWrite().
14781
14782 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14783
14784         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14785           give up at last (bug #425202) !
14786
14787 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14788
14789         * lyx_gui_misc.C:
14790         * sp_form.h:
14791         * sp_form.C:
14792         * spellchecker.h:
14793         * spellchecker.C: strip spellchecker options and bring up
14794           preferences tab instead
14795
14796 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14797
14798         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14799         the istringstream constructor
14800
14801 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14802
14803         * paragraph.C (getLayout): fix return value
14804
14805         * paragraph.h: do not declare getLayout as inline.
14806
14807         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14808
14809 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14810
14811         * lyxcursor.h (operator<): new func
14812         (operator>): new func
14813         (operator>=): new func
14814         (operator<=): new func
14815
14816         * text.C (changeCase): use selection.start and selection.end
14817         (changeRegionCase): require from to be <= to. Require par to be a
14818         valid paragraph.
14819
14820         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14821
14822 2001-06-27  Juergen Vigna  <jug@sad.it>
14823
14824         * text.C (cursorLeftOneWord): changed to return the cursor and added
14825         overlay with BufferView * parameter which calls this one.
14826         (getWord): added
14827         (selectWord): use new getWord function.
14828         (changeCase): renamed from changeWordCase as and extended to work
14829         also on selections.
14830
14831         * lyxtext.h: added enum word_location
14832
14833         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14834         changeCase as this operates now also on selections.
14835
14836 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14837
14838         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14839
14840         * many files: send debug output to Debug::INFO instead of
14841         Debug::ANY.
14842
14843         * converter.C (View):
14844         (Convert):
14845         (Move): send debug output to Debug::FILES instead of console.
14846
14847 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14848
14849         * lyxfunc.C (getStatus): use func_status
14850
14851         * func_status.h: new header, describing the results of
14852         LyXFunc::getStatus;
14853
14854         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14855         LFUN_MATH_HALIGN.
14856
14857 2001-06-25  The LyX Project  <jug@sad.it>
14858
14859         * buffer.C (sgmlOpenTag):
14860         (sgmlCloseTag):
14861         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14862
14863 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14864
14865         * text2.C: remove some dead code
14866
14867         * tabular.C (GetCellInset): store the last cell checked (gotten)
14868
14869         * tabular.h: add the helper for the speedup
14870
14871         * lyxtext.h: remove some dead code
14872
14873 2001-06-26  The LyX Project  <Asger>
14874
14875         * paragraph.C: Change export to LaTeX of alignment to
14876         \begin{center} and family for better roundtrip work with reLyX.
14877
14878         * Tune the math drawing a bit.
14879
14880 2001-06-25  The LyX Project  <Asger>
14881
14882         * LColor.C (LColor): New color for math background. New color
14883         for buttons.
14884
14885 2001-06-25  The LyX Project  <jug@sad.it>
14886
14887         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14888
14889         * lyxfunc.C (Open):
14890         * bufferlist.C (newFile): do not restrict to files ending with
14891         .lyx
14892
14893         * BufferView_pimpl.C (MenuInsertLyXFile):
14894
14895 2001-06-24  The LyX Project  <jug@sad.it>
14896
14897         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14898         of compare_no_case
14899
14900 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14901
14902         * lyxtext.h: rename most methods to begin with a small char.
14903         Lots of changes because of this.
14904
14905         * paragraph.C (Paragraph): do not call fitToSize
14906         (erase): call Pimpl::erase
14907         (insertChar): call Pimpl::insertChar
14908         (insertInset): call Pipl::insertInset
14909         (breakParagraph): do not call fitToSize
14910         (breakParagraphConservative): do not call fitToSize
14911         (fitToSize): remove method
14912
14913         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14914
14915 2001-06-24  The LyX Project  <Asger>
14916
14917         * Fix Qt compilation^2
14918
14919 2001-06-24  The LyX Project  <jug@sad.it>
14920
14921         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14922         depthHook(getDepth()-1).
14923
14924         * paragraph.h:
14925         * ParagraphParameters.h:
14926         * ParameterStruct.h: change type of depth to unsigned int ==
14927         depth_type. Many adaptations to other files before of that.
14928
14929 2001-06-24  The LyX Project  <Asger>
14930
14931         * Fix Qt compilation.
14932
14933 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14934
14935         * paragraph.h: renamed several methods to begin with small letter.
14936         several changes to many parts of the code because of this.
14937
14938 2001-06-23  The LyX Project  <jug@sad.it>
14939
14940         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14941         rewritten to discard all double spaces when KeepEmpty is off
14942         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14943         to only handle newlines but not fiddle with spaces and friends.
14944
14945         * lyxfunc.C (MenuNew): when doing 'new from template', use
14946         template_path as default directory
14947
14948 2001-06-23  The LyX Project  <Asger>
14949
14950         * Clean-up of header file includes all over
14951         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14952
14953 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * paragraph.h: renamed from lyxparagraph.h
14956
14957 2001-06-23  Asger  <lyx@violet.home.sad.it>
14958
14959         * Buffer.h: Removed Buffer::resize
14960         * BufferList.h: Removed BufferList::resize
14961         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14962         the document lazily when we change the width, or the font settings.
14963
14964 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14967
14968 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14969
14970         * buffer.h: remove out of date comment
14971
14972 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14973
14974         * lyxscreen.h:
14975         * screen.C: fix "theoretical" GC leak
14976
14977 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * LaTeX.C (scanAuxFile):
14980         (deplog): remove trailing \r when reading stream (useful under
14981         win32)
14982
14983 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14984
14985         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14986         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14987         and BufferView::theLockingInset(Inset*), so should use them and not
14988         access bv_->text->the_locking_inset directly.
14989
14990         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14991
14992 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14993
14994         * Makefile.am:
14995         * tex-defs.h: remove old unused file
14996
14997 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14998
14999         * BufferView_pimpl.C: fix typo, remove minibuffer message
15000           when buffer has loaded
15001
15002 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15003
15004         * lyxfunc.C (Dispatch): use stringstream
15005         (MenuNew): use stringstream
15006         (Open): use stringstream
15007
15008         * importer.C (Import): use stringstream
15009
15010         * bufferview_funcs.C (CurrentState): use stringstream
15011
15012         * LaTeX.C (run): use stringstream
15013
15014         * BufferView_pimpl.C (savePosition): use stringstream
15015         (restorePosition): use stringstream
15016         (MenuInsertLyXFile): use stringstream
15017
15018 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15019
15020         * BufferView.C:
15021         * Bullet.C:
15022         * ColorHandler.C:
15023         * FontInfo.C:
15024         * FontLoader.C:
15025         * LColor.C:
15026         * LaTeXFeatures.C:
15027         * Painter.C:
15028         * gettext.C:
15029         * lyx_gui_misc.C:
15030         * lyxserver.C:
15031         * vspace.C: removed // -*- C++ -*- as first line.
15032
15033         * lyxfind.h:
15034         * version.h: added // -*- C++ -*- as first line.
15035
15036 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15037
15038         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15039
15040         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15041         of string
15042
15043 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15044
15045         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15046         of floats.
15047
15048 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15049
15050         * gettext.C: include LString.h even when --disable-nls is on.
15051
15052 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15053
15054         * converter.h (Get): changed argument type from int to
15055         FormatList::size_type to avoid unnecessary conversion.
15056
15057         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15058         before using it.
15059
15060 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15061
15062         * gettext.h: include LString.h even when --disable-nls is on.
15063
15064 2001-06-07  Juergen Vigna  <jug@sad.it>
15065
15066         * text.C (BreakAgain): subst spaces with tabs.
15067
15068         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15069         (resizeInsetsLyXText): set force on resizeLyXText.
15070
15071 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15072
15073         * gettext.h (gettext_init):
15074         (locale_init): use a real definition instead of a macro
15075
15076 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15077
15078         * Bufferview_pimpl.C:
15079         * LColor.h:
15080         * LColor.C: further lcolor tidies
15081
15082 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15083
15084         * BufferView_pimpl.C (updateScrollbar): simplify.
15085
15086         * BufferView2.C: don't include insets/insetinfo.h, change
15087         prototype for insertInset and call the Pimpl version. let
15088         updateInset call Pimpl version.
15089
15090         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15091         gotoInset to BufferView::Pimpl
15092
15093 2001-06-01  Juergen Vigna  <jug@sad.it>
15094
15095         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15096         inside a LockingInset (is the update needed at all?).
15097
15098 2001-05-31  Juergen Vigna  <jug@sad.it>
15099
15100         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15101         here not the old one otherwise how should we compare it afterwards
15102         if it's the same!
15103
15104 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15105
15106         * lyxfont.C:
15107         * tabular.C:
15108         * tabular-old.C:
15109         * FontInfo.C: bring C functions into global namespace when
15110         necessary
15111
15112 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15113
15114         * LString.h: make sure config.h has been loaded before LString.h.
15115
15116         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15117         (one for each char read by EatLine!).
15118
15119         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15120         variables.
15121
15122 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15123
15124         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15125         to the same as the par we break from
15126
15127 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15128
15129         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15130
15131         * MenuBackend.C (expand): also create menu entries for wide
15132         versions of the floats.
15133
15134         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15135
15136         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15137
15138         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15139         frontends/Makefile.am
15140
15141         * text2.C: adjust
15142         * text.C: adjust
15143
15144
15145         * tabular.C (getTokenValue): add std::
15146
15147         * tabular-old.C (getTokenValue): add std::
15148         (getTokenValue): ditto
15149         (getTokenValue): ditto
15150
15151         * screen.C (ToggleSelection): adjust
15152
15153         * lyxtext.h: put selection cursors inside a Selection struct.
15154
15155         * lyxfunc.C (moveCursorUpdate): adjust
15156
15157         * lyxfont.C (latexWriteStartChanges): add std::
15158
15159         * lyxfind.C: adjust
15160
15161         * font.h: delete with(char const *, LyXFont const &)
15162
15163         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15164
15165         * FontInfo.C (getFontname): add std::
15166
15167         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15168         (workAreaButtonPress): adjust
15169         (tripleClick): adjust
15170         (update): adjust
15171         (moveCursorUpdate): adjust
15172         (Dispatch): adjust
15173
15174         * BufferView2.C (gotoInset): adjust
15175
15176 2001-05-30  Juergen Vigna  <jug@sad.it>
15177
15178         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15179         to check pspell I add this as default as I now have new pspell
15180         libraries and they seem to use this.
15181
15182 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15183
15184         * text2.C (CutSelection): make the cursor valid before the call to
15185         ClearSelection.
15186
15187 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15190         relied on 0 terminated strings and other horrors. Bug found due to
15191         the new assert in lyxstring!
15192
15193         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15194         KP_ keys.
15195
15196 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15199         to latinkeys.bind.
15200
15201         * lyxfunc.C (processKeySym): change method of getting to the
15202         self-insert char.
15203
15204         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15205         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15206         * BufferView_pimpl.[Ch]: here as private methods.
15207
15208 2001-05-28  Juergen Vigna  <jug@sad.it>
15209
15210         * text.C (SetHeightOfRow): added the update() call again as it is
15211         needed to initialize inset dimensions!
15212
15213 2001-05-16  Juergen Vigna  <jug@sad.it>
15214
15215         * text2.C (SetCharFont): Add new function with BufferView * and
15216         bool toggleall parameters for setting insets internal fonts.
15217         (SetFont): Freeze the undo as we may change fonts in Insets and
15218         all this change should be inside only one Undo!
15219
15220         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15221         setting font's in insets as for them we have the SetFont function!
15222
15223 2001-05-15  Juergen Vigna  <jug@sad.it>
15224
15225         * text2.C (ClearSelection): to be sure we REALLY don't have any
15226         selection anymore!
15227
15228         * tabular.C (TeXCellPreamble): fixed the left border problem for
15229         multicolumn cells.
15230
15231 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15234         dependancy file
15235
15236 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15237
15238         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15239         LFUN_BREAKPARAGRAPH.
15240
15241         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15242         help test to "internal only", similar for LFUN_INSERT_URL
15243
15244         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15245         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15246         auto_region_delete and deadkeys.
15247
15248 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15249
15250         * LColor.h:
15251         * LColor.C: remove some dead entries, tidy a little
15252
15253 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15254
15255         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15256         commented code.
15257         (Dispatch): implement LFUN_ESCAPE
15258
15259         * commandtags.h: add LFUN_ESCAPE
15260
15261         * LyXAction.C (init): add entry for LFUN_ESCAPE
15262
15263         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15264         Remove commented code.
15265         (insertNote): moved here
15266         (open_new_inset): moved here
15267
15268         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15269         BufferView_pimpl
15270
15271 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15272
15273         * kbmap.C (findbinding): clean it up and make it work correctly.
15274
15275         * lyx_main.C (init): do not pass argc and argv as parameters
15276
15277 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15278
15279         * buffer.C: fix path for OS/2 & Win32
15280
15281         * lyx_gui.C:
15282         * lyx_main:
15283         * lyx_main.C: Added os:: class.
15284
15285         * os2_defines.h: update
15286
15287 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15288
15289         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15290         better by trying again with reduced state.
15291
15292 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15293
15294         * lyxrc.C (read): print error about invalid key sequence only when
15295         debugging (because not all latinX keysyms are known to some X
15296         servers)
15297
15298         * kbsequence.C (getiso): add a few std:: qualifiers
15299         (getiso): comment out extra return statement.
15300
15301 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15302
15303         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15304         handling.
15305         (Dispatch): enhance the accent inset a bit. (not perfect)
15306
15307 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15310
15311 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * bufferlist.C (emergencyWrite): fix assert() call
15314
15315 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15316
15317         * text.C (InsertChar): Added trivial patch to only send the "you
15318         can not do multiple spaces this way" message once during a
15319         session.
15320
15321 2001-05-08  Baruch Even  <baruch@lyx.org>
15322
15323         * Makefile.am: Changed order of libraries to get LyX to link properly
15324         with the gnome frontend.
15325
15326 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15327
15328         * LaTeXFeatures.h: add a std:: qualifier
15329
15330 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15331
15332         * paragraph.C (String): use stringstream
15333
15334 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15335
15336         * paragraph.C (writeFile): remove footflag arg
15337
15338         * buffer.C (makeLaTeXFile): use stringstream
15339         (latexParagraphs): remove footnot gurba
15340
15341         * LaTeXFeatures.C (getPackages): use stringstream
15342         (getMacros): likewise
15343         (getTClassPreamble): likewise
15344         (getFloatDefinitions): new method
15345
15346         * paragraph.C (writeFile): reindent
15347         (Erase): reindent
15348
15349         * WorkArea.h: revert the xpos + etc changes.
15350
15351         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15352
15353         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15354
15355         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15356         (pasteSelection): likewise
15357         * text2.C (CreateUndo): likewise
15358
15359 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15360
15361         * minibuffer.C (peek_event): temporarily reduce the functionality
15362         of the minibuffer (to allow args on lfuns)
15363
15364         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15365         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15366
15367         * buffer.C (readInset): add compability reading of old float
15368         lists, add reading of new style float list.
15369         (readInset): avoid reevaluation of inscmd.getCmdName()
15370         (getLists): reindent
15371
15372         * MenuBackend.C (MenuItem): implement parsing of
15373         md_floatlistinsert and md_floatinsert.
15374         (expand::LastFiles): move initalizaton of iterators out of loop,
15375         avoid reevaluation.
15376         (expand::Documents): introduce typdedef vector<string> Strings,
15377         and use it.
15378         (expand::ExportFormats): introduce typedef vector<Format const *>
15379         Formats, and use it.
15380         (expand): implement FloatListInsert and FloatInsert.
15381
15382         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15383         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15384         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15385
15386         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15387         handling.
15388         (Dispatch::LFUN_FLOAT_LIST): implement
15389
15390 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15391
15392         * LaTeX.C (run): Fix problem with --export code.
15393
15394 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15395
15396         * BufferView.[Ch] (workarea): removed.
15397         (getClipboard) new method; wrapper for workarea()->getClipboard()
15398
15399         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15400         bug.
15401
15402         * WorkArea.h (width, height, xpos, ypos): These methods all
15403         returned the dimensions of the work_area sub-area of WorkArea,
15404         resulting in a position error if the WorkArea were resized. Now
15405         return the dimensions of the entire WorkArea.
15406
15407         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15408
15409 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * LaTeX.C (deplog): correct the syntax of regex reg1
15412
15413 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15414
15415         * undo.C: remove !NEW_INSETS cruft
15416
15417 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15418
15419         * text2.C: remove !NEW_INSETS cruft
15420
15421         * text.C: remove !NEW_INSETS cruft
15422
15423         * tabular.C: remove !NEW_INSETS cruft
15424
15425         * spellchecker.C: remove !NEW_INSETS cruft
15426
15427         * lyxtext.h: remove !NEW_INSETS cruft
15428
15429         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15430
15431         * lyxfunc.C: remove !NEW_INSETS cruft
15432
15433         * lyxfind.C: remove !NEW_INSETS cruft
15434
15435         * lyx_cb.C: remove !NEW_INSETS cruft
15436
15437         * figureForm.C: remove  !NEW_INSETS cruft
15438
15439         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15440
15441         * buffer.[Ch]: remove !NEW_INSETS cruft
15442
15443         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15444
15445         * CutAndPaste.C: remove !NEW_INSETS cruft
15446
15447         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15448
15449         * BufferView2.C: remove !NEW_INSETS cruft
15450
15451         * BufferView.h: remove !NEW_INSETS cruft
15452
15453 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15454
15455         * Lsstream.h: include LString.h before the sstream headers to
15456         fix problem with gcc 2.95.3 and lyxstring
15457
15458 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * lyx_main.C: add using directives when needed for C functions
15461         declared in std:: namespace.
15462
15463 2001-04-27  Juergen Vigna  <jug@sad.it>
15464
15465         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15466         (SetHeightOfRow): comment out the update call should not be needed!
15467
15468 2001-04-13  Juergen Vigna  <jug@sad.it>
15469
15470         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15471         (LyXTabular): tried to minimize operator= operations (and realized
15472         hopfully Lars wish).
15473
15474 2001-04-27  Juergen Vigna  <jug@sad.it>
15475
15476         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15477
15478 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15479
15480         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15481
15482         * buffer.C (readInset): hack to make listof algorithm work
15483
15484         * BufferView_pimpl.C: hack to make listof algorithm work
15485
15486 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15487
15488         * LyXAction.C: removed all !NEW_INSETS cruft
15489         (init): moved lfun_item in method
15490
15491         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15492
15493 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15494
15495         * BufferView2.C (theLockingInset): white space.
15496
15497 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15498
15499         * minibuffer.C: include <iostream>
15500
15501         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15502
15503         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15504
15505         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15506
15507         * text.[Ch] (TransposeChars): new method
15508
15509 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15510
15511         * call message directly through LyXView instead of through LyXFunc
15512         * BufferView2.C: adjust
15513         * BufferView_pimpl.C: adjust
15514         * FontLoader.C: adjust
15515         * buffer.C: adjust
15516         * bufferview_funcs.C: adjust
15517         * converter.C: adjust
15518         * figureForm.C: adjust
15519         * importer.C: adjust
15520         * lyx_cb.C: adjust
15521         * lyx_gui_misc.C: adjust
15522         * lyxfunc.C: adjust
15523         * lyxvc.C: adjust
15524         * text2.C: adjust
15525         + more files in subdirs
15526
15527         * lyxparagraph.h (size): move up int file
15528         (GetLayout): ditto
15529
15530         * adjust all uses of Assert to lyx::Assert.
15531
15532         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15533         lyxfunctional in namespace lyx
15534         * layout.C (hasLayout): ditto
15535         (GetLayout): ditto
15536         (GetLayout): ditto
15537         (delete_layout): ditto
15538         (NumberOfClass): ditto
15539         * converter.C (GetFormat): ditto
15540         (GetNumber): ditto
15541         (Add): ditto
15542         (Delete): ditto
15543         (SetViewer): ditto
15544         * bufferlist.C (getFileNames): ditto
15545         (emergencyWriteAll): ditto
15546         (exists): ditto
15547         (getBuffer): ditto
15548         * MenuBackend.C (hasSubmenu): ditto
15549         (hasMenu): ditto
15550         (getMenu): ditto
15551         * BufferView_pimpl.C (getInsetByCode): ditto
15552
15553 2001-04-18  Juergen Vigna  <jug@sad.it>
15554
15555         * vspace.C (asLatexString): fixed the 100% problem.
15556
15557 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15558
15559         * lyxfunc.C (Dispatch):
15560         * minibuffer.C:
15561         * minibuffer.h: add a few std:: qualifiers
15562
15563 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15564
15565         * minibuffer.[Ch]: reimplement so that commands is initiated and
15566         run from lyxfunc, simplified som handling, and made the completion
15567         and history code for complete. wip.
15568
15569         * lyxfunc.C (processKeySym): call message
15570         (miniDispatch): new temporary method
15571         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15572         (LFUN_MESSAGE): implement
15573         (LFUN_MESSAGE_PUSH): implement
15574         (LFUN_MESSAGE_POP): implement
15575         (initMiniBuffer): the initial/defualt minibuffer message.
15576
15577         * lyxfont.[Ch]: inline some more getters
15578
15579         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15580
15581         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15582
15583         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15584         (AutoSave): use LFUN_MESSAGE
15585         (Reconfigure): ditto
15586
15587         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15588
15589         * figureForm.C: use LFUN_MESSAGE
15590
15591         * converter.C (runLaTeX): use LFUN_MESSAGE
15592
15593         * bufferview_funcs.C: use LFUN_MESSAGE
15594         (Melt): ditto
15595         (changeDepth): ditto
15596
15597         * bufferparams.h: use boost::
15598
15599         * bufferlist.h: inherit privately from noncopyable
15600
15601         * bufferlist.C (loadLyXFile): remove some commented code.
15602
15603         * buffer.C (runChktex): use LFUN_MESSAGE
15604
15605         * ShareContainer.h: inherit privately from noncopyable
15606
15607         * ParagraphParameters.[hC] (depth): inline it.
15608
15609         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15610         methods.
15611         (message): new method
15612         (messagePush): ditto
15613         (messagePop): ditto
15614         (show): init minibuffer
15615         (showState): direct call
15616
15617         * LaTeX.[Ch]: inherit privately from noncopyable
15618         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15619         instead of WriteStatus.
15620
15621         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15622
15623         * BufferView_pimpl.C (buffer): don't init minibuffer
15624         (workAreaButtonPress): use LFUN_MESSAGE
15625         (workAreaButtonRelease): ditto
15626         (savePosition): ditto
15627         (restorePosition): ditto
15628         (MenuInsertLyXFile): ditto
15629         (workAreaExpose): don't init minibuffer
15630         (update): remove commented code, simplify
15631
15632         * BufferView2.C (openStuff): use LFUN_MESSAGE
15633         (toggleFloat): ditto
15634         (menuUndo): ditto
15635         (menuRedo): ditto
15636         (copyEnvironment): ditto
15637         (pasteEnvironment): ditto
15638         (copy): ditto
15639         (cut): ditto
15640         (paste): ditto
15641         (gotoInset): ditto
15642         (updateInset): remove some commented code
15643
15644         * lastfiles.h: inherit privately from noncopyable
15645         * layout.h: ditto
15646         * lyx_gui.h: ditto
15647         * lyx_main.h: ditto
15648         * lyxlex.h: ditto
15649         * lyxlex_pimpl.h: ditto
15650
15651         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15652         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15653         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15654
15655         * LyXAction.h: inherit privately from noncopyable, add methods
15656         func_begin, func_end, returning iterators to the func map.
15657
15658         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15659         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15660         (func_begin): new method
15661         (func_end): new method
15662
15663         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15664         and not)
15665         (copySelection): ditto
15666         (pasteSelection): ditto
15667
15668         * BufferView.C: whitespace change
15669         * BufferView.h: inherit privately from noncopyable
15670
15671 2001-04-16  Allan Rae  <rae@lyx.org>
15672
15673         * tabular-old.C (l_getline):
15674         * spellchecker.C (sc_check_word):
15675         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15676         an unrecognised preprocessor directive.  So ensure they're wrapped.
15677
15678 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15679
15680         * src/exporter.C (Export): Give an error message when path to file
15681         contains spaces.
15682
15683 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15684
15685         * LaTeX.C (deplog): Always check that foundfile exists.
15686
15687 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * lyx_main.h:
15690         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15691
15692 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15693
15694         * tabular.[Ch] (getLabelList): implement new method
15695
15696         * minibuffer.h: comment ouf setTiimer
15697
15698         * minibuffer.C (ExecutingCB): constify res
15699         (peek_event): constify s
15700         (Set): constify ntext
15701         (Init): constify nicename
15702
15703         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15704
15705         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15706         (savePosition): use two params to Minibuffer::Set
15707         (restorePosition): ditto
15708
15709 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15710
15711         * lyx_main.C: include language.h
15712
15713         * Makefile.am (lyx_main.o): add language.h
15714
15715 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15716
15717         * exporter.C:
15718         * paragraph.C:
15719         * screen.C:
15720         * tabular.C:
15721         * CutAndPaste.C: include gettext.h
15722
15723         * lyxfont.h: remove old hack with ON and OFF.
15724
15725         * lyxparagraph.h:
15726         * lyxfont.h: do not include language.h...
15727
15728         * BufferView2.C:
15729         * LaTeXFeatures.C:
15730         * Painter.C:
15731         * bufferview_funcs.C:
15732         * font.C:
15733         * lyxfont.C:
15734         * text.C:
15735         * text2.C:
15736         * trans_mgr.C:
15737         * paragraph.C: ... but do it here instead
15738
15739 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15740
15741         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15742
15743         * tabular.C: small reformat
15744
15745         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15746         NEW_INSETS version
15747         (GetChar): ditto
15748         (BreakParagraph): ditto
15749         (SetOnlyLayout): ditto
15750         (SetLayout): ditto
15751
15752         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15753         with one arg less.
15754
15755         * lastfiles.C: removed most using decl, add std:: where needed
15756
15757         * buffer.C: ws changes
15758
15759         * MenuBackend.C (class compare_format): put into anon namespace
15760         (expand): constify label, names, action, action2
15761         (expand):
15762
15763         * text.C (SingleWidth): constify font
15764         (IsBoundary): constify rtl2
15765         (GetVisibleRow): constify ww
15766
15767         * LaTeX.C (deplog): constify logfile
15768
15769         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15770         start_x, end_x
15771         (workAreaExpose): constify widthChange, heightChange
15772
15773         * lyxrow.C (par): moved
15774         (height): moved
15775         (next): moved
15776         * lyxrow.h: as inlines here
15777
15778         * lyxfont.h (shape): moved from lyxfont.C
15779         (emph): moved from lyxfont.C
15780
15781         * lyxfont.C (LyXFont): use initialization list for all
15782         constructors
15783         (shape): move to lyxfont.h as inline
15784         (emph): move to lyxfont.h as inline
15785
15786
15787 2001-04-04  Juergen Vigna  <jug@sad.it>
15788
15789         * vspace.C: had to include stdio.h for use of sscanf
15790
15791 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15792
15793         * BufferView.h:
15794         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15795         independent of xforms.
15796
15797 2001-04-02  Juergen Vigna  <jug@sad.it>
15798
15799         * spellchecker.C: fixed namespace placing!
15800
15801 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15802
15803         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15804         the LyXParagraph * is 0.
15805
15806 2001-03-29  Juergen Vigna  <jug@sad.it>
15807
15808         * vspace.C: added support for %, c%, p%, l%.
15809         (stringFromUnit): added helper function.
15810         (asLatexString): changed to give right results for the %-values.
15811
15812         * buffer.C: convert the widthp in a width%.
15813
15814 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15815
15816         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15817         figureForm.[Ch].
15818
15819         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15820         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15821
15822         * lyx_cb.[Ch]: see above.
15823
15824         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15825         form1.[Ch].
15826
15827         * form1.[Ch]:
15828         * lyx.[Ch]: replaced by figure_form.[Ch].
15829
15830         * lyx_gui.C:
15831         * lyx_gui_misc.C:
15832         * lyxfunc.C: changed headers associated with above changes.
15833
15834 2001-03-27  Juergen Vigna  <jug@sad.it>
15835
15836         * BufferView_pimpl.C: set the temporary cursor right!
15837
15838 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15839
15840         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15841
15842 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15843
15844         * LString.h: removed "using std::getline"!
15845
15846         * BufferView_pimpl.C (Dispatch): changes due to changes in
15847         InsetInclude::Params.
15848
15849         * buffer.C (tag_name): removed redundant break statements as they were
15850         producing lots of warnings with my compiler.
15851
15852 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15853
15854         * LString.h: add "using std::getline" when using the real <string>.
15855
15856 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15857
15858         * buffer.C: removed bitset usage.
15859         PAR_TAG moved to an anonymous name space.
15860         (tag_name): new funtion, also in the anonymous namespace.
15861         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15862         (makeDocBookFile): clean code. Completed transition from string arrays
15863         to string vectors.
15864         (SimpleDocBookOnePar): code clean.
15865
15866 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15867
15868         * tabular.C: add some comments.
15869
15870 2001-03-22  Juergen Vigna  <jug@sad.it>
15871
15872         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15873         compatibility read a bit and fixed bug with minipage in different
15874         depth.
15875
15876 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15877
15878         * buffer.C (pop_tag): removed.
15879         (push_tag): removed.
15880         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15881         array replaced with vector. Added support for CDATA sections.
15882         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15883         at any nest level.
15884         (makeDocBookFile): XML conformant declaration of CDATA section,
15885         fixed bug related to <emphasis> in the first paragraph char.
15886         (sgmlOpenTag): exclude empty tags.
15887         (sgmlCloseTag): ditto.
15888
15889         * buffer.h (pop_tag): removed.
15890         (push_tag): removed.
15891
15892 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15893
15894         * language.h (Languages): added size_type and size().
15895
15896 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15897
15898         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15899         response on compability reading of minipages. One probliem is that
15900         the old usage of minipages was «flertydig»
15901
15902         * several files here and in subdirs: don't use static at file
15903         scope use anon namespaces instead.
15904
15905 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15906
15907         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15908         LaTeX output. This is necessary for Literate document
15909         processing.
15910
15911 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15912
15913         * buffer.C: insert hfill when needed.
15914
15915         * tabular.C (l_getline): use string::erase, small whitespace change.
15916
15917         * BufferView_pimpl.C: try the anon namespace.
15918         * WorkArea.C: ditto
15919
15920 2001-03-16  Juergen Vigna  <jug@sad.it>
15921
15922         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15923         otherwise it won't open options-dialogs.
15924
15925         * buffer.C: honor pextraWidth(p) on converting minipages.
15926
15927         * tabular.C (l_getline): changed the functions to strip trailing \r.
15928
15929 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15930
15931         * BufferView_pimpl.C:
15932         * minibuffer..C: added "using SigC::slot" declaration.
15933
15934 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15935
15936         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15937
15938         * text2.C: ditto
15939
15940         * text.C: ditto
15941
15942         * paragraph.C: ditto
15943
15944         * lyxtext.h: NO_PEXTRA
15945
15946         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15947
15948         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15949         * ParameterStruct.h: ditto
15950         * ParagraphParameters.h: ditto
15951         * lyxparagraph.h: ditto
15952
15953 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15954
15955         * buffer.C: add compability for minipage alignment.
15956         (latexParagraphs): remove unwanted pextra check.
15957
15958         * several files: remove CXX_WORKING_NAMESPACES
15959
15960         * buffer.C (pop_tag): tie is in namespace boost
15961
15962         * BufferView.h: noncopyable is in namespace boost
15963         * lyxlex.h: ditto
15964         * lyx_main.h: ditto
15965         * lyx_gui.h: ditto
15966         * layout.h: ditto
15967         * lastfiles.h: ditto
15968         * bufferlist.h: ditto
15969         * ShareContainer.h: ditto
15970         * LyXView.h: ditto
15971         * LyXAction.h: ditto
15972         * LaTeX.h: ditto
15973
15974 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15975
15976         * Merging changes from BRANCH_MVC back into HEAD.
15977
15978         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15979
15980 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15981
15982         * BufferView_pimpl.C: change from intl.C
15983
15984         * combox.h:
15985         * combox.C:
15986         * Makefile.am: move combox.*
15987
15988         * form1.h:
15989         * form1.C:
15990         * lyx_gui.C:
15991         * intl.h:
15992         * intl.C: remove dialog (covered by prefs)
15993
15994 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15995
15996         * lyxfunc.C (Dispatch): removed redundant break statement.
15997
15998 2001-03-14  Juergen Vigna  <jug@sad.it>
15999
16000         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16001
16002 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16003
16004         * buffer.C: add hack to fix compability reading of minipages.
16005
16006 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16007
16008         * buffer.C (getLists): Cleanup.
16009
16010 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16011
16012         * lyxfont.C (update): don't honor toggleall on font size.
16013
16014 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16015
16016         * bmtable.c:
16017         * bmtable.h:
16018         * Makefile.am: moved to frontends/xforms/
16019
16020         * lyx_gui_misc.C:
16021         * lyxfunc.C:
16022         * BufferView_pimpl.C: changes for moved mathpanel
16023
16024 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16025
16026         * gettext.h: fix gettext_init() in --disable-nls
16027
16028 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16031
16032 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16033
16034         * lyx.C:
16035         * lyx.h: strip external form
16036
16037 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16038
16039         * BufferView_pimpl.C: add comment, destroySplash()
16040
16041 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16042
16043         * BufferView_pimpl.C:
16044         * LyXAction.C:
16045         * buffer.C:
16046         * commandtags.h:
16047         * lyxfunc.C: use re-worked insetinclude
16048
16049 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16050
16051         * buffer.C: add using std::stringstream.
16052
16053         * lyx_cb.C: readd using std::ios.
16054
16055         * buffer.C: add using std::map.
16056
16057         * BufferView_pimpl.C: add using std::vector.
16058
16059         * ShareContainer.h: add std:: to swap.
16060
16061         * buffer.h: add some typedefs
16062         * buffer.C (getLists): use them
16063         (getLists): renamed from getTocList.
16064         add a counter for the different float types and use it in the
16065         generated string.
16066         (getLists): use the same counter for the NEW_INSETS and the "non"
16067         NEW_INSETS
16068
16069         * lyx_cb.h: remove unused items, includes, using etc.
16070
16071         * ShareContainer.h: remove some commented code, add more comments
16072         and "documentation".
16073
16074 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16075
16076         * buffer.C (getTocList): make the list also when NEW_INSETS is
16077         defined.
16078
16079         * buffer.h: remove TocType
16080
16081         * buffer.C (getTocList): change to return a map<string,
16082         vector<TocItem> >, implement for dynamic number of list.
16083
16084         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16085         * text2.C (PasteSelection): adjust
16086         * CutAndPaste.C (pasteSelection): adjust
16087
16088         * FloatList.C (FloatList): update from the new_insets branch.
16089         * Floating.[Ch]: ditto
16090         * LaTeXFeatures.C: ditto
16091         * buffer.C: ditto
16092         * lyxlex_pimpl.C: ditto
16093
16094         * paragraph.C (Last): remove when NEW_INSETS is defined.
16095
16096         * other file: changes because of the above.
16097
16098 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16099
16100         * lyxparagraph.h: rename next to next_, previous to previous_,
16101         make them private for NEW_INSETS. Rename Next() to next(),
16102         Previous() to previous().
16103
16104         * other files: changes because of the above.
16105
16106 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16107
16108         * BufferView.h:
16109         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16110         problem.
16111
16112 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16113
16114         * main.C (main): pass lyx_localedir to gettext_init().
16115
16116         * gettext.h: remove locale_init and gettext_init macros
16117
16118         * gettext.C (locale_init): new function
16119         (gettext_init): new function
16120
16121         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16122         setlocale().
16123
16124 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16125
16126         * Moved credits to frontends:
16127         * credits.[Ch]: removed
16128         * credits_form.[Ch]: removed
16129         * lyx_gui_misc.C: remove credits stuff
16130         * Makefile.am:
16131
16132 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16133
16134         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16135
16136         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16137         unneeded destructor.
16138
16139         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16140         a standalone pointer again.
16141
16142         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16143
16144 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16145
16146         * Makefile.am:
16147         * filedlg.h:
16148         * filedlg.C:
16149         * LyXAction.C:
16150         * ToolbarDefaults.C:
16151         * bufferlist.C:
16152         * commandtags.h:
16153         * form1.C:
16154         * form1.h:
16155         * lyx_cb.C:
16156         * lyx_cb.h:
16157         * lyxfunc.h:
16158         * lyxfunc.C:
16159         * BufferView_pimpl.C: use new file dialog in GUII
16160
16161         * lyx_cb.h:
16162         * lyx_cb.C: remove LayoutsCB to Toolbar
16163
16164 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16165
16166         * ShareContainer.h (get): add std:: qualifier
16167
16168 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16169
16170         * ShareContainer.h: define a proper ShareContainer::value_type
16171         type (and use typename to please compaq cxx)
16172
16173 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16174
16175         * lyxparagraph.h: move serveral local vars to
16176         ParameterStruct/ParagraphParameters., use ShareContainer in
16177         FontTable., make vars in FontTable private and add getter and
16178         setter.
16179
16180         * paragraph.C: changes because of the above.
16181
16182         * lyxfont.h: remove copy constructor and copy assignment. (the
16183         default ones is ok), move number inside FontBits. move inlines to
16184         lyxfont.C
16185
16186         * lyxfont.C: add number to initializaton of statics, move several
16187         inlines here. constify several local vars. some whitespace
16188         cleanup. Dont hide outerscope variables.
16189
16190         * Spacing.h: add two new constructors to match the set methods.
16191
16192         * ShareContainer.h: new file, will perhaps be moved to support
16193
16194         * ParameterStruct.h: new file
16195
16196         * ParagraphParameters.h: new file
16197
16198         * ParagraphParameters.C: new file
16199
16200         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16201         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16202
16203         * BufferView_pimpl.C: ParagraphParameter changes.
16204         * buffer.C: Likewise.
16205         * bufferview_funcs.C: Likewise.
16206         * text.C: Likewise.
16207         * text2.C: Likewise.
16208
16209 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16210
16211         * lyxfind.C (LyXReplace): do not redefine default argument in
16212         implementation.
16213         (IsStringInText): ditto
16214         (SearchForward): ditto
16215         (SearchBackward): ditto
16216
16217 2001-03-06  Juergen Vigna  <jug@sad.it>
16218
16219         * lyxfind.C (IsStringInText): put parentes around expressions.
16220
16221 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16222
16223         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16224
16225 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16226
16227         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16228
16229         * stl_string_fwd.h: add comment
16230
16231         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16232
16233         * tabular.h:
16234         * tabular.C: remove unused DocBook methods
16235
16236         * intl.C:
16237         * language.C:
16238         * paragraph.C:
16239         * buffer.C:
16240         killed DO_USE_DEFAULT_LANGUAGE
16241
16242 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * lyx_gui.C: do not include language.h.
16245
16246         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16247         arguments in function implementation.
16248
16249 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16250
16251         * BufferView_pimpl.C: add <ctime>
16252
16253 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16254
16255         * BufferView_pimpl.C: add using std::find_if
16256
16257 2001-02-27  José Matos  <jamatos@fep.up.pt>
16258
16259         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16260         by OnlyPath.
16261
16262 2001-02-11  José Matos  <jamatos@fep.up.pt>
16263
16264         * buffer.C (makeDocBookFile): command styles now have a parameter as
16265         "title" by default.
16266
16267 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16268
16269         * layout_forms.[Ch]: removed
16270         * lyx_cb.[Ch]: out character
16271         * lyx_gui.C: out character
16272         * lyx_gui_misc.C: out character
16273         * bufferview_funcs.C: : out character,
16274         added toggleall as parameter in ToggleAndShow
16275
16276 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16277
16278         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16279
16280         * text2.C (SetCurrentFont): Disable number property at boundary.
16281
16282 2001-02-26  Juergen Vigna  <jug@sad.it>
16283
16284         * lyxfunc.C (getStatus): added a string argument override function so
16285         that this is correctly called from LyXFunc::Dispatch if it contains a
16286         do_not_use_argument which is used!
16287         (Dispatch): added check for "custom" export and call appropriate func.
16288
16289 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16290
16291         * lyxrc.C: Add language_command_local, language_use_babel and
16292         language_global_options.
16293
16294         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16295
16296         * buffer.C (makeLaTeXFile): Use language_use_babel and
16297         language_global_options.
16298
16299 2001-02-23  Juergen Vigna  <jug@sad.it>
16300
16301         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16302         which works with LyXText and putted it inside BufferView. Here now we
16303         only call for that part the BufferView::Dispatch() function.
16304
16305         * BufferView.C (Dispatch): added.
16306
16307         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16308         functions which needs to use a LyXText over from LyXFunc.
16309         (MenuInsertLyXFile): added
16310         (getInsetByCode): added
16311         (moveCursorUpdate): added
16312         (static TEXT): added
16313
16314 2001-02-22  Juergen Vigna  <jug@sad.it>
16315
16316         * BufferView_pimpl.C (update): call a status update to see if LyXText
16317         needs it.
16318
16319 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16320
16321         * vc-backend.C (revert): implement for CVS
16322         (getLog): implement for CVS
16323
16324 2001-02-20  Juergen Vigna  <jug@sad.it>
16325
16326         * text2.C (ClearSelection): added BufferView param for inset_owner call
16327
16328         * lyxfunc.C (TEXT): added this function and use it instead of
16329         directly owner->view()-text of getLyXText().
16330
16331 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16332
16333         * src/layout_forms.C: out preamble
16334         * src/layout_forms.h: out preamble
16335         * src/lyx_cb.C: out preamble
16336         * src/lyx_cb.h: out preamble
16337         * src/lyx_gui.C: out preamble
16338         * src/lyx_gui_misc.C: out preamble
16339         * src/lyxfunc.C: connect with guii preamble
16340
16341 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16342
16343         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16344
16345 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16346
16347         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16348         whether to run bibtex.
16349
16350 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16351
16352         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16353
16354 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16355
16356         * Makefile.am (lyx_SOURCES): removed bibforms.h
16357
16358         * vspace.h: doxygen
16359
16360         * text.C (GetVisibleRow): make several local vars const
16361
16362         * tabular.C: small cleanup.
16363
16364         * lyxserver.C (callback): use compare instead of strncmp
16365
16366         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16367         inlines to after class or to paragraph.C
16368
16369         * lyxfont.h: remove friend operator!=
16370
16371         * converter.h: move friend bool operator< to non friend and after
16372         class def.
16373
16374         * combox.h: small cleanup
16375
16376         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16377         to inlines after class def.
16378
16379         * buffer.C (pop_tag): use string operations instead of strcmp
16380
16381         * bmtable.c: doxygen, small cleanup
16382
16383         * LaTeX.h: remove friend operator==
16384
16385 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16386
16387         * screen.C:
16388         * lyxrc.[Ch]:
16389         * lyxfunc.C:
16390         * lyxfont.[Ch]:
16391         * lyx_cb.C:
16392         * intl.[Ch]:
16393         * commandtags.h:
16394         * buffer.C:
16395         * WorkArea.[Ch]:
16396         * LyXAction.C:
16397         * BufferView_pimpl.C:
16398         * BufferView.[Ch]: remove cruft
16399
16400 2001-02-14  Juergen Vigna  <jug@sad.it>
16401
16402         * lyxfunc.C: removed #if 0 unused code
16403
16404         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16405
16406         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16407
16408         * text2.C (SetSelection): added a BufferView * parameter
16409
16410 2001-02-13  Juergen Vigna  <jug@sad.it>
16411
16412         * lyxfunc.C (Dispatch): fixed protected blank problem.
16413         * BufferView2.C (protectedBlank): added LyxText * parameter.
16414
16415         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16416         (AppendColumn): same as above for column_info.
16417
16418         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16419         (moveCursorUpdate): use a LyXText param for support of InsetText.
16420
16421         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16422         (tripleClick): ditto
16423
16424         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16425
16426         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16427
16428         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16429
16430         * text2.C (SetSelection): set correct update status if inset_owner
16431         (ToggleFree): ditto
16432
16433 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16434
16435         * tabular.C: remove some commented code.
16436
16437 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16438
16439         * BufferView_pimpl.C: call hideSplash()
16440
16441         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16442
16443         * include_form.h:
16444         * bibforms.h: remove
16445
16446         * lyxfunc.C:
16447         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16448           add LFUN_CHILD_CREATE
16449
16450         * counters.h: fix tiny typo
16451
16452         * lyx_cb.C:
16453         * lyx.h:
16454         * lyx_gui.C:
16455         * lyx.C: move splash to frontends/xforms/
16456
16457         * lyx_gui_misc.C: move Include and Bibform to frontends
16458
16459         * lyxvc.h: clarify comment
16460
16461         * vspace.C: tiny housekeeping
16462
16463 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16464
16465         * text.C (PrepareToPrint): RTL Fix.
16466
16467         * paragraph.C (GetUChar): New method.
16468         (String):  Use GetUChar.
16469
16470         * buffer.C (asciiParagraph): Use GetUChar.
16471
16472 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16473
16474         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16475
16476 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16477
16478         * buffer.h:
16479         * buffer.C: rename to getLogName(), handle
16480           build log / latex log nicely
16481
16482 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16483
16484         * MenuBackend.C:
16485         * MenuBackend.h: remove support for reference menuitem type.
16486
16487 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16488
16489         * BufferView_pimpl.C: housekeeping
16490         * BufferView_pimpl.h:
16491         * LyXView.h:
16492         * Makefile.am:
16493         * Timeout.C:
16494         * Timeout.h:
16495         * minibuffer.h: move Timeout GUI-I
16496
16497 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16498
16499         * lyxrc.C (read): Update converters data-structures.
16500
16501 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16502
16503         * LaTeX.h (operator!=): add operator != for Aux_Info
16504
16505 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16506
16507         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16508
16509         * LaTeXLog.C: deleted, useful code moved to Buffer
16510
16511         * buffer.h:
16512         * buffer.C: new function getLatexLogName()
16513
16514         * lyx_gui_misc.C:
16515         * lyx_gui.C:
16516         * lyxvc.C:
16517         * lyxvc.h:
16518         * lyxfunc.C: use frontends for LaTeX and VC logs
16519
16520 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16521
16522         * LaTeX.h: yet another std:: that Allan forgot.
16523
16524         * Variables.C (set): renamed from isset(), because this clashes
16525         with some HP-UX macros (grr).
16526
16527 2001-02-06  Allan Rae  <rae@lyx.org>
16528
16529         * LaTeX.h: Another bug fix.  Missing std:: this time.
16530
16531 2001-02-04  Allan Rae  <rae@lyx.org>
16532
16533         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16534         floats problem. I've left it commented out because it's not quite
16535         correct.  It should also test that the current object is a table or
16536         figure inset.  But I haven't gotten around to figuring out how to do
16537         that.  I *think* it'll be something like: "table" == inset.type()
16538
16539         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16540         bool.
16541
16542 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16543
16544         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16545         all the citation/databases/styles in the auxilary file.
16546         (run): Rerun latex if there was a babel language error.
16547
16548 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16549
16550         * text.C (Backspace): Preserve the font when changing newline char
16551         with a space.
16552         (BreakParagraph): If the cursor is before a space, delete the space.
16553
16554         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16555
16556 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16557
16558         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16559         new argument (code).
16560         (ChangeCitationsIfUnique): New method.
16561
16562         * paragraph.C (GetPositionOfInset): Handle bibkey.
16563
16564 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16565
16566         * BufferView_pimpl.h: change type of Position::par_pos to
16567         LyXParagraph::size_type.
16568
16569 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16570
16571         * BufferView_pimpl.C (savePosition, restorePosition): Write
16572         messages to minibuffer.
16573
16574 2001-01-28  José Matos  <jamatos@fep.up.pt>
16575
16576         * buffer.C (makeDocBookFile): adds support for document language.
16577         A silly restriction on the name of LatexCommand types where removed.
16578         Added support for CDATA sections, allows to chars unescaped, used
16579         among others in code, to avoid escape < and >.
16580
16581 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16582
16583         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16584         saved positions instrad of a stack. Furthermore, a position is
16585         stored using paragraph id/paragraph position.
16586
16587         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16588         Remove LFUN_REF_BACK.
16589
16590 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16591
16592         * converter.C (dvipdfm_options): New method.
16593
16594 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16595
16596         * vspace.C (isValidLength): Fix for empty input string.
16597
16598 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16599
16600         * LyXAction.C (init): change description of LFUN_FIGURE to
16601         "Insert Graphics"
16602
16603 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16604
16605         * LaTeX.C: add using directive
16606
16607 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16608
16609         * MenuBackend.C (expand): Fix the sorting of the formats.
16610
16611 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16612
16613         * lyx_main.C: tiny error message fix
16614
16615 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16616
16617         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16618         calling fl_initialize(). This fixes the problem with ',' as
16619         decimal separator in text files.
16620
16621 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16622
16623         * trans.C (process): Fix the keymap bug.
16624
16625 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16626
16627         * LaTeX.C (scanAuxFiles): New method. Provides support for
16628         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16629         (scanLogFile) Scan for "run BibTeX" messages.
16630
16631         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16632         OT1 font encoding. Also, load the aecompl package if the ae
16633         package is loaded.
16634
16635         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16636
16637 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16638
16639         * texrow.C (increasePos): turn two error messages into debug
16640         messages.
16641
16642 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16643
16644         * LaTeX.C (scanAux): Handle the \@input macro.
16645         (runBibTeX): Use scanAux().
16646
16647         * language.C (latex_options_): New field.
16648
16649         * LaTeXFeatures.C (getMacros): Add language macros.
16650
16651         * buffer.C (makeLaTeXFile): Small fix.
16652
16653 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16654
16655         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16656
16657         * text2.C: add a using directive.
16658
16659 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16660
16661         * BufferView2.C:
16662         * lyx_gui_misc.h:
16663         * lyxfr1.C:
16664         * lyxfunc.C: kill LyXBell.
16665
16666 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16667
16668         * text.C (IsBoundary): Remove the error message
16669
16670         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16671
16672         * lyxrc.C (setDefaults): Correct initialization value for
16673         font_norm_type.
16674
16675 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16676
16677         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16678         gotoError().
16679
16680         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16681         and GotoNextNote().
16682
16683         * src/LyXAction.C: Added reference-next.
16684
16685         * text.C (InsertChar): Use contains instead of strchr.
16686
16687         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16688
16689 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16690
16691         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16692         alignment commands (when needed).
16693
16694         * text.C (InsertChar): Add ':' to number separator chars.