]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
dd31bd9fa074a004d1dcf17e2ebaee13fd5d606b
[lyx.git] / src / ChangeLog
1 2005-01-04  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_cb.C (Reconfigure):
4         * lyx_main.C (queryUserLyXDir):
5         to run the <system_lyxdir>/configure correctly on Windows, prefix
6         the path to the script with "sh " when generating the string that
7         is passed to system().
8
9 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10
11         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
12
13 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14
15         * lyxlength.C (asLatexString): get rid of setprecision
16
17 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * text2.C (setLayout): remove unused variable endpit.
20         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
21
22         * paragraph.C (onlyText): remove unused variable style.
23
24         * cursor.C (bruteFind): remove unused variables beg and end.
25
26         * Makefile.am (dist_noinset_DATA): not needed anymore
27
28         * cheaders/*: remove.
29
30 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
31
32         * text3.C: fix LFUN_MATH_MODE.
33
34 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
35
36         * buffer_funcs.C (countWords): new function. Counts words between
37         two iterators.
38
39         * BufferView_pimpl.C (getStatus, dispatch): handle
40         LFUN_WORDS_COUNT.
41
42         * LyXAction.C (init): 
43         * lfuns.h: add LFUN_WORDS_COUNT.
44
45 2004-12-19  Angus Leeming  <leeming@lyx.org>
46
47         * buffer.C (save): s/slashify_path/internal_path/.
48
49 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
50
51         * lyxfind.C (findChange): do not search for end of pars, because
52         the change tracker cannot handle this (fixes bug 1719).
53
54 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
55
56         * paragraph.[Ch] (autoBreakRows): remove
57
58         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
59
60         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
61         avoid using the paragraph one
62
63         * text2.C (LyXText, insertStringAsLines): adjust
64         
65 2004-12-16  Angus Leeming  <leeming@lyx.org>
66
67         * bufferlist.C:
68         * lyx_main.C: 
69         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
70
71 2004-12-14  Angus Leeming  <leeming@lyx.org>
72
73         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
74
75         * bufferlist.C (emergencyWrite):
76         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
77         GetEnvPath("HOME").
78
79 2004-12-14  Angus Leeming  <leeming@lyx.org>
80
81         * main.C: (main): no longer pass pointers to os::init.
82
83 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
84
85         * undo.C (textUndoOrRedo): simplify logic, fix a crash
86         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
87
88 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
89
90         * lyxfunc.C: 
91         * text3.C: remove selection_possible global flag
92
93 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
94
95         * text2.C (getSelectionSpan): remove
96         (changeDepth, changeDepthAllowed): adjust
97
98 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
99
100         * Makefile.am (BOOST_LIBS): use boost variables
101
102 2004-12-03  José Matos <jamatos@lyx.org>
103
104         * buffer.C: format up to 238.
105
106 2004-12-03  José Matos  <jamatos@lyx.org>
107
108         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
109
110 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
111
112         * cursor.C (goUpDown): remove call to idxUpDown2
113
114 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
115
116         * tabular.[Ch]: use size_t-like types for cell, row and column
117         indices
118
119 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * lyxfunc.C (getStatus): do not lose previous information when
122         calling BufferView::getStatus; do not set a default "Command
123         disabled" message at the beginning, but just before returning.
124
125 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
126
127         * cursor.h (getStatus): add better comment from src/cursor.C
128
129 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
130
131         * text3.C (getStatus): return false when the lfun is not handled
132
133 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * broken_headers.h: remove
136
137         * Makefile.am (lyx_SOURCES): remove broken_headers.h
138
139 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
140
141         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
142         offset_ref accessors
143
144         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
145         top_y_, merge fitcursor with update
146         (updateScrollbar, scrollDocView, fitCursor, center, update): new
147         coord scheme
148         (metrics): introduce
149         (workAreaDispatch): adapt to new coord scheme
150         (redoCurrentBuffer): remove
151
152         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
153
154         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
155         CurStatus enum.
156
157         * coordcache.[Ch]: add paragraph cache and helpers
158
159         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
160         adjust everywhere
161
162         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
163         (targetX, setTargetX): introduce
164
165         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
166         baseline -> ascent, as the rest of lyx
167
168         * lyxtext.h: remove redoParagraphs, updateParPositions,
169         fullRebreak, redoParagraphInternal. move dist to anon namespace in
170         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
171         have ascent/descent (ascent is ascent of first par)
172
173         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
174         step of BufferView
175
176         * paragraph.[Ch]: unify dimension handling with the rest of lyx
177
178         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
179
180         * pariterator.C: fix infinite loop introduced in par->pit renaming
181
182         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
183         in insets and LyXText, draw two off-screen paragraphs using
184         NullPainter, and adapt to new coord scheme
185
186         * text.C:
187         * text2.C:
188         * text3.C: adapt lfun handlers to the new coord scheme, which
189         means: there's only guaranteed coord information for onscreen pars
190         plus one above and one below. This implies that one can do search
191         from y coordinates in the range [-1,workHeight]
192
193 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
194
195         * rename a lot of InsetOld to InsetBase
196
197 2004-11-25  Angus Leeming  <leeming@lyx.org>
198
199         * BufferView_pimpl.C:
200         * lyx_cb.C:
201         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
202
203 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
206         call BufferView::getStatus if LCursor::getStatus did nothing
207         (setStatusMessage, getStatusMessage): removed.
208
209         * FuncStatus.C (message): new methods. Used to provide an error
210         message indicating why a command is disabled.
211         (clear, |=, FuncStatus): update for message.
212
213 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
214
215         * lyxfunc.C (dispatch): always call sendDispatchMessage
216
217 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
218
219         * BufferView.C:
220         * BufferView_pimpl.C:
221         * CutAndPaste.C:
222         * FontIterator.C:
223         * buffer.C:
224         * cursor.C:
225         * cursor_slice.[Ch]:
226         * dociterator.[Ch]:
227         * lyxfind.C:
228         * paragraph_funcs.C:
229         * pariterator.C:
230         * rowpainter.C:
231         * text.C:
232         * text2.C:
233         * text3.C:
234         * undo.C: par->pit renaming
235
236 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
237
238         * tabular.C (cellstruct): use initialization, store a shared_ptr
239         to insettext instead of the insettext directly, adjust to fit.
240         (operator=):  new function
241         (swap): new function
242         (rowstruct): use initialization
243         (columnstruct): use initialization
244         (ltType): use initialization
245
246
247         * lyxlength.h (swap): new function
248
249         * LColor.[Ch] (operator=): use the common semantics
250
251 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         * lyxfind.C (findNextChange): update the bufferview after setting
254         the selection.
255
256 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
259         number of InsetOptArgs has already been inserted.
260
261         * output_latex.C (latexOptArgInsets): new method. This outputs all
262         the optarg insets, up to the limit defined in the layout file.
263         (optArgInset): removed
264         (TeXOnePar): call latexOptArgInsets; correctly update texrow
265
266 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
267
268         * paragraph.C (isLetter): remove special spellchecker-related
269         code; return true also for digits
270         (isWord, isKomma): remove
271
272         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
273         * lyxfind.C (MatchString()): use isLetter instead of isWord
274
275 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
276
277         * pariterator.h (operatir=): comment out un-implemented member
278         function.
279
280         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
281         static cast.
282
283 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
284
285         * lyxfont.h: include LColor.h to satisfy concept checks.
286
287 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
288
289         * pariterator.h: add typdefs for value_type, difference_type,
290         pointer and reference to satisfy concept checks. Also add default
291         constructor for same reason.
292
293         * pariterator.C (operator++): add post-increment operator to
294         satisfy concept checks.
295
296         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
297         checks.
298
299         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
300
301         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
302         checks. Also rename base_type to BaseType to follow naming
303         standard better.
304
305         * FloatList.h: include Floating.h to satisfy concept checks.
306
307 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * lyxfunc.C (getStatus): when the origin of the request is menu or
310         toolbar, and the LyXView does not have focus, do as if there was
311         no buffer (bug 1720)
312
313         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
314         FuncRequest to individual entries of LFUN_SEQUENCE
315
316 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * output_latex.C (TeXOnePar): override runparams.moving_arg
319         according to the needprotect value of the current paragraph (bug
320         1739)
321
322         * paragraph.C (simpleTeXOnePar): no need to override
323         runparams.moving_args here
324
325 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
326
327         * vspace.C: fix off-by-one-error, related to fix #1682
328
329 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
330
331         * lengthcommon.C: a more general fix for bug 1682
332
333 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
334
335         * text.C (backspace): fix crash
336
337 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
338
339         * format.[Ch] (getFormatFromFile): new method
340         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
341
342 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
345
346 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * lyxfunc.C (dispatch): remove the verbose argument
349         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
350         instead
351
352         * kbmap.C (defkey): set the origin of func to KEYBOARD
353
354         * MenuBackend.C (MenuItem):
355         * ToolbarBackend.C (add): set the origin of func to UI
356
357         * funcrequest.[Ch]: add origin member, which indicates which part
358         of LyX requests an action
359
360 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
361
362         * converter.C (move): don't lie in the error message
363         * converter.h (isReachable, move): document
364
365 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
366
367         * buffer.C: remove unused using lyx::support::atoi
368         * paragraph_funcs.C: ditto
369
370 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
371
372         * bufferlist.C (exists): use bind and equal_to instead of
373         compare_memfun
374         (getBuffer): ditto
375         * lyxtextclasslist.C (NumberOfClass): ditto
376
377         * cursor.C (insert): use for_each instead of explicit for loop
378
379         * bufferlist.C (getFileNames): use std::transform and
380         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
381
382         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
383         for loop
384
385         * buffer.C (changeLanguage): use for_each instead of explicit for
386         loop
387         (hasParWithID): implement using getParFromID
388
389         * LaTeXFeatures.C: ws change only
390
391         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
392         to cleanup a bit.
393
394         * BufferView_pimpl.C (trackChanges): use for_each instead of
395         expilicit for loop
396
397 2004-11-04  André Pönitz  <poenitz@gmx.net>
398
399         * undo.h:
400         * undo.C (textUndoOrRedo): fix crash when creating undo information.
401
402         * dociterator.C (asDocIterator): use hard assert again.
403
404 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * lyxlength.C (asLatexString): rewrite so that it does not use
407         snprintf anymore
408
409 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * text3.C (specialChar, dispatch): make sure cursor moves to the
412         right after inserting an inset
413
414 2004-11-02  José Matos  <jamatos@lyx.org>
415
416         * output_docbook.C (docbook):
417         * paragraph.C (getID):
418         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
419         garantee that the output is always legal.
420
421         * tabular.C (docbook):
422         * outputprams.[Ch]: remove mixed contents.
423
424 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
425
426         * text2.C (setCounter): prevent endless loop
427
428 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
429
430         * exporter.C (copyFile): use the mover instead of support::copy()
431         * exporter.C (Export): pass format and latex name to copyFile()
432         * exporter.h (addExternalFile): document
433         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
434
435 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
436
437         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
438
439 2004-10-30  José Matos  <jamatos@lyx.org>
440
441         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
442         text and no inset or font change. This allows to use CDATA
443         sections just for the whole paragraph.
444
445 2004-10-30  José Matos  <jamatos@lyx.org>
446
447         * paragraph.C (getFirstWord): remove unused variable.
448
449 2004-10-30  José Matos  <jamatos@lyx.org>
450
451         * paragraph.C (getFirstWord): the content should always be escaped
452         there.
453         (simpleDocBookOnePar):
454         * output_docbook.C (makeEnvironment): replace reference to CDATA
455         to style pass_thru.
456
457 2004-10-30  José Matos  <jamatos@lyx.org>
458
459         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
460
461 2004-10-30  José Matos  <jamatos@lyx.org>
462
463         * output_docbook.C (makeParagraphs):
464         * paragraph.[Ch] (emptyTag): for docbook and company, if the
465         standard paragraph has only a given type of content drop the wrapper.
466
467 2004-10-29  José Matos  <jamatos@lyx.org>
468
469         * output_docbook.C (makeEnvironment):
470         * sgml.C (openTag):
471         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
472
473 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
474
475         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
476         (cleanID): sanitize any id.
477
478 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
479
480         * buffer.C, lyxlex_pimpl.C:
481         * lyxlex_pimpl.C (setFile):
482         s/getExtFromContents/getFormatFromContents/
483
484 2004-10-28  José Matos  <jamatos@lyx.org>
485
486         * output_docbook.C (makeEnvironment): move id to broadest possible
487         scope.
488
489         * sgml.C (openTag): apply substitution of <> for all attributes.
490
491 2004-10-28  José Matos  <jamatos@lyx.org>
492
493         * buffer.C (makeLinuxDocFile, makeDocBookFile):
494         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
495         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
496
497         * sgml.[Ch]: new version for open and closeTag for paragraph and
498         for strings. Now they handle the ids of paragraphs.
499
500 2004-10-26  Angus Leeming  <leeming@lyx.org>
501
502         * Makefile.am: add mover.[Ch].
503
504         * converter.C (convert, move): use the new Movers to move external
505         files to the temp directory.
506
507         * lyx_main.C (init): ensure that the global system_movers data
508         is initialised.
509
510         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
511         preferences file.
512
513         * mover.[Ch]: new files, defining a Mover as a utility to move an
514         external file between directories and, if necessary, manipulate this
515         file using a helper script.
516
517 2004-10-25  José Matos  <jamatos@lyx.org>
518
519         * output_docbook.C (makeCommand): merge two if's that tested the
520         same condition.
521
522 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * sgml.C (escapeString): fix warning in a better way
525
526 2004-10-25  José Matos  <jamatos@lyx.org>
527
528         * sgml.C (escapeString): import the require boosts header file for
529         tie, and avoid a signed unsigned comparison.
530
531 2004-10-25  José Matos  <jamatos@lyx.org>
532
533         * sgml.h: add #include <string>
534
535 2004-10-25  José Matos  <jamatos@lyx.org>
536
537         * sgml.[Ch] (escapeString): new function to escape all the string.
538
539 2004-10-24  José Matos  <jamatos@lyx.org>
540
541         * paragraph.[Ch] (getFirstWord): new function to get the first
542         word. Useful for description.
543         (simpleDocBookOnePar): remove depth argument, add another that
544         says where to start the paragraph.
545
546         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
547         use the new functions to fix cleanly the support for descriptions.
548
549 2004-10-24  José Matos  <jamatos@lyx.org>
550
551         * buffer.C (makeLinuxDocFile, makeDocBookFile):
552         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
553         * output_linuxdoc.C (linuxdocParagraphs):
554         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
555         add buffer as argument.
556
557 2004-10-24  José Matos  <jamatos@lyx.org>
558
559         * output_docbook.C (makeEnvironment, searchEnvironment): place
560         CDATA inside paragraphs and fix scope for listitems.
561
562 2004-10-24  José Matos  <jamatos@lyx.org>
563
564         * output_docbook.C: remove using statement for stack.
565
566 2004-10-23  José Matos  <jamatos@lyx.org>
567
568         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
569         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
570         docbook. The new scheme is recursive and makes use of iterators, the
571         same as latex export works.
572         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
573         directly with the paragraph contents. This code was moved up to
574         output_docbook.C (docbookParagraphs).
575         * sgml.C (openTag, closeTag): removed unneeded newlines.
576         (closeEnvTags) removed.
577
578 2004-10-23  André Pönitz  <poenitz@gmx.net>
579
580         * undo.C (textUndoOrRedo):
581         * dociterator.C (asDocIterator): work around crash
582
583         * cursor.C (getStatus): replace ASSERT by more verbose error message
584           and manual correction of the problem. Should increase stability
585           while providing more sensible information.
586
587 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
590
591         * bufferlist.C (previous, next): new methods
592
593         * lfuns.h:
594         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
595
596 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
597
598         * buffer.C (makeDocBookFile): add dsssl stylesheet control
599         entities to preamble.
600
601 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
602
603         * messages.C (Pimpl): strip off translation context information
604
605 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
608         the cursor is correct (bug 1694)
609
610 2004-10-13  José Matos  <jamatos@lyx.org>
611
612         * output_docbook.C (docbookParagraphs): fix closing tags in the
613         end of the document.
614
615 2004-10-09  José Matos  <jamatos@lyx.org>
616
617         * buffer.C: format up to 237.
618         * bufferparams.C (write): use tostr to convert booleans to strings.
619
620 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
621
622         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
623
624 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
625
626         * LaTeX.C: implement use of babel language in xindy.
627
628 2004-10-05  José Matos  <jamatos@lyx.org>
629
630         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
631         Add new translators to help reading and writing the lyx file.
632
633 2004-10-05  José Matos  <jamatos@lyx.org>
634
635         * ParagraphParameters.C (read):
636         * text.C (readParToken): replace nexToken by more appropriate lex
637         methods.
638
639 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
640
641         * LaTeX.C (runMakeIndex):
642         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
643         (usually 'makeindex') configurable.
644
645         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
646         with a variable rather than with a number.
647
648 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
649
650         * output_latex.C (TeXOnePar): make sure font setting is the first
651         thing that gets output (and the last at the end). Should fix bug
652         1404.
653
654 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * pch.h: use proper signal include
657
658         * LaTeX.h: Use preferred calling of Boost.Signal
659         * buffer.h: ditto
660
661 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
662
663         * pch.h: dont include <boost/function/function0.hpp>
664
665         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
666
667         * paragraph_pimpl.h: remove usage of ShareContainer
668
669         * paragraph_pimpl.C: remove initialization of ShareContainer.
670
671 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         Fix bug #1666
674
675         * BufferView.C (putSelectionAt): change the semantics when
676         backwards == true: now, this just swaps cursor and anchor wrt the
677         forward case
678
679         * BufferView.h (putSelectionAt): add some documentation
680
681         * lyxfind.C (findBackwards): rewrite using while(). In particular,
682         make sure backwardChar is done at least once (to avoid getting
683         stuck)
684         (findNextChange): use putSelectionAt in the forward direction
685         (operator()): use Paragraph::isWord
686
687 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
688
689         * Spacing.C (set): c_str fix
690
691 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * lyx_cb.C (Reconfigure): quote the name of configure script in
694         case it contains spaces
695
696 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
697
698         * client: new dir
699
700         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
701         (BOOST_LIBS): use top_buildir when looking for the file
702
703 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
704
705         * pch.h: do not use include boost/format.hpp, multiple symbols
706                 will result (gcc bug)
707
708
709 2004-08-23  José Matos  <jamatos@lyx.org>
710
711         * bufferparams.C (readToken): fix reading of the author field.
712
713 2004-08-20  José Matos  <jamatos@lyx.org>
714
715         * lyxrc.C: remove support/translator.h inclusion since it is not used.
716
717 2004-08-20  José Matos  <jamatos@lyx.org>
718
719         * lyxlex.[Ch] (findToken): remove function.
720
721         * ParagraphParameters.C (findToken):
722         * bufferparams.C (findToken): replace call for previous function
723         with local copy. This local function has one more argument, the
724         read string argument.
725
726 2004-08-16  José Matos  <jamatos@lyx.org>
727
728         * ParagraphParameters.C (write):
729         * Spacing.C (writeFile):
730         * bufferparams.C (writeLaTeX):
731         * lyx_cb.C (Reconfigure):
732         * paragraph.C (write):
733         * tabular.C (write): remove unnecessary space at end of line.
734
735
736 2004-08-16  José Matos  <jamatos@lyx.org>
737
738         * text.C (readParagraph): remove debug message.
739
740 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
743         crash
744
745         * output_plaintext.C (asciiParagraph): set depth correctly
746
747         * outputparams.h: add member depth
748
749         * paragraph_funcs.C (ownerPar): remove.
750
751         * text2.C (setCounter): remove first_pit; comment out some
752         non-working code that uses ownerPar
753
754         * BufferView.C (getParentLanguage): remove. Not used anymore, and
755         uses ownerPar
756
757 2004-08-16  José Matos  <jamatos@lyx.org>
758
759         * text.C (readParToken, readParagraph, read): report all unknown tokens.
760         For the same level of importance use the same chanel to report problems.
761         (read): add code to deal with \begin_body and \end_body.
762
763
764 2004-08-15  José Matos  <jamatos@lyx.org>
765
766         * lyxlex.C (getString): fix comment, buffer::readBody is now
767         buffer:readDocument.
768
769         * tex-strings.C (string_papersize): Default -> default,
770         Custom -> custom, for consistency with other options.
771
772 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
773
774         * pch.h: new file
775
776         * Makefile.am: support pch
777
778 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
779
780         * text.C (readParToken): remove the static LyXFont variable and
781         pass it as a parameter instead. This fixes a nasty bug where an
782         inset will be inserted with a bad font in some situations
783         (readParagraph): adapt
784
785         * text2.C (setCounter): reduce number of calls to pars_[pit]
786
787         * text.C (singleWidth): add an assert, fix a test
788
789         * rowpainter.C (paintText): reduce number of calls to singleWidth
790
791         * paragraph.C (isHfill):
792         (isNewline): ws only
793
794 2004-08-14  André Pönitz  <poenitz@gmx.net>
795
796         * text.C:
797         * text2.C:
798         * rowpainter.C:
799         * lyxtext.h (several functions): use a Paragraph & argument
800         instead of par_type
801
802 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * metricsinfo.h: add a new field ltr_pos to PainterInfo
805
806         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
807
808         * text.C (singleWidth): remove useless test
809
810 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
811
812         * tabular.h: remove bogus comments
813
814         * tabular.C (getDescentOfRow):
815         (isPartOfMultiColumn): add assertions
816
817         * lyxlength.C (inPixels): remove #warning
818
819 2004-08-14  André Pönitz  <poenitz@gmx.net>
820
821         * paragraph.h: inline getChar()
822
823         * BufferView.h: remove unused declarations
824
825 2004-08-14  José Matos  <jamatos@lyx.org>
826
827         * Buffer.[Ch] (readDocument): new name for old readBody.
828         * Buffer.C: new file format, new keywords: \begin_document,
829         \begin_header, \begin_body, \end_body.
830
831         * bufferparams.C (readToken): replace all calls to lex.nextToken
832         by lex.next(). Do the same to eatLine except where really needed.
833
834         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
835         line when writing to the lyx file.
836
837         * output_plaintext.C (asciiParagraph): fix Bibliography style
838         handling.
839
840         * text.C (read): fix end of file handling.
841
842 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
843
844         * MenuBackend.C (Menu::operator[]): new method to access
845         individual menu items
846         (Menu::hasFunc): new method. search for an item that corresponds
847         to a given func
848         (MenuBackend::specialMenu): new method
849         (MenuBackend::expand): if a special menu has been set, skip
850         entries whose func() appears in this menu
851
852 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
853
854         * text3.C: use Debug::DEBUG a bit more
855
856         * text.C (leftMargin): try to simplify a tiny bit change var x to
857         l_margin. Dont output the wide margins always.
858         (rightMargin): no margin in inner texts
859
860         * rowpainter.h (nestMargin): new func
861         (changebarMargin): new func
862         (rightMargin): new func
863
864         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
865         now functions.
866         (paintLast): ditto
867
868         * factory.C (createInset): modify setDrawFrame
869
870         * cursor.C: use Debug::DEBUG a bit more
871
872 2004-08-14  André Pönitz  <poenitz@gmx.net>
873
874         * coordcache.[Ch]:
875         * Makefile.am: new files to accomodate an 'external' (x,y)-position
876         cache for all insets in (at least partially) visible (top-level)
877         paragraphs.
878
879         * BufferView_pimpl.C: reset external coord cache before every update.
880         This means the coord cache only contains valid entries.
881
882 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
883
884         bug 1096
885         * BufferView_pimpl.C (getInsetByCode): move function out of class
886         and change in to a template in anon namespace. Also fix to do what
887         suits us better.
888
889 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
890
891         bug 1305
892         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
893         of char
894         (breakParagraph): rename par to par_offset and use a local
895         reference. Add code to keep the language over a rebreak.
896         (breakParagraphConservative): rename par to par_offset, use a
897         local reference
898         (mergeParagraph): ditto
899         (outerHook): ditto
900         (isFirstInSequence): ditto
901         (outerFont): rename pit to par_offset
902
903         * paragraph.C: ws change
904         * paragraph.h: ditto
905         * text3.C: ditto
906         * text.C: ditto
907
908 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
911         treatment for ']'
912
913         * paragraph.C (simpleTeXOnePar): when we have a \item with
914         optional argument, enclose the argument with curly brackets (in
915         case it contains a closing square bracket)
916
917         * text2.C (editXY):
918         * text2.C (editXY):
919         * text3.C (checkInsetHit): constify
920
921 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
922
923         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
924         documents (bug 1629)
925
926 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         Fix toggling of collapsable insets with the mouse (bug 1558)
929
930         * lyxfunc.C (dispatch): adapt to LCursor changes
931
932         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
933         make sure that dispatch is not invoked twice
934
935         * cursor.C (needsUpdate): new method
936         (dispatch): return void
937         (result): new method, to access the DispatchResult of the cursor.
938
939 2004-08-13  José Matos  <jamatos@lyx.org>
940
941         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
942
943 2004-08-13  André Pönitz  <poenitz@gmx.net>
944
945         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
946
947         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
948           multiple cells
949
950 2004-08-12  André Pönitz  <poenitz@gmx.net>
951
952         * text3.C: take out the 'cursor right' form insertInset and only
953         do it in those places when it is really needed. Fixes crash on
954         C-m...
955
956 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
959
960         * BufferView_pimpl.C (setBuffer): initialize the current font of
961         the underlying LyXText
962
963 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
964
965         * kbsequence.C (print): use UI native formatting for menu
966         shortcuts
967
968         * text.C (insertChar): call Paragraph::insertChar with a font
969         argument (cosmetic)
970
971         * paragraph.C (insertInset, insertChar): the version that takes a
972         LyXFont argument is now a wrapper around the other one (the
973         opposite used to be true).
974
975         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
976         argument. Font setting is done in Paragraph now.
977
978 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
979
980         * outputparams.h: add new members intitle and lang.
981
982         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
983         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
984
985 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
986
987         * text3.C (dispatch): remove special handling of button 4 and 5,
988         it is now taken care of in the frontend code.
989
990 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
991
992         * Spacing.h: add <string> (STLPort compile fix)
993
994 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
995
996         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
997
998 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
999
1000         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1001         to bool.
1002
1003         * converter.C (showMessage): inherit from unary_function, make
1004         operator() const.
1005
1006         * buffer.C (writeFile): initialize retval
1007
1008         * InsetList.h: rename private variable list to list_
1009         * InsetList.[Ch]: adjust accordingly.
1010
1011 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1012
1013         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1014         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1015         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1016         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1017         * ParagraphParameters.C, LaTeXFeatures.C: replace
1018         "support/std_sstream.h" with <sstream>
1019
1020 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1021
1022         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1023         * lyxsocket.C (LyXServerSocket): ditto
1024         (serverCallback): ditto
1025
1026 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1027
1028         * LaTeXFeatures.C: check release date when loading jurabib.
1029
1030 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1031
1032         * lyxserver.C (startPipe): call register_socket_callback
1033         (endPipe): call unregister_socket_callback
1034
1035 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1036
1037         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1038         (LyXServerSocket): register the callback
1039         (LyXServerSocket): unregister the callback
1040         (fd): delete function
1041         (serverCallback): improve error checking and setup the callbacks.
1042         (dataCallback): change arg to fd.
1043         (writeln): new func (copied fro the client socket) used for server
1044         write to client.
1045         (LyXDataSocket): simplify
1046         (~LyXDataSocket): close ann unregiser callback
1047         (server): delete function
1048         (fd): delete function
1049         (readln): small changes, improve some std::string usage
1050         (writeln): constify a bit
1051
1052 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1055         Qt frontend
1056
1057 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1060         after it has been populated
1061
1062 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         * text2.C (insertInset): move cursor when inserting inset.
1065
1066 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         * kbmap.C (findbindings): a couple of new methods. returns a
1069         container of kb_sequence objects. The real work is done by the
1070         private recursive version
1071         (printbindings): uses findbindings to print out a bracketed list
1072         of bindings (renamed from findbinding).
1073
1074         * MenuBackend.C (binding): use kb_keymap::findbindings
1075
1076         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1077
1078 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1079
1080         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1081
1082 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1083
1084         * paragraph.C (isWord): return true on insets that report
1085         isLetter().
1086
1087         * text.C (getWord): use Paragraph::isWord to decide what is in a
1088         word and what is not; fix bug 1609.
1089
1090 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1091
1092         * tex-strings.C: add "none" to string_paperpackages[], fixes
1093         off-by-one-error in the paperpackage selection.
1094
1095         * lyxlex.[Ch]:
1096         * tex-strings.[Ch]: char const * string[n]
1097         -> char const * const string[]
1098
1099 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1100
1101         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1102         command, return early.
1103
1104 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1105
1106         * debug.h: add DEBUG to enum and fix size of ANY.
1107
1108         * debug.C: add support for Debug::DEBUG
1109         (showTags): cast errorTags.level to unsigned int
1110
1111         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1112         (redoCurrentBuffer): ditto
1113         (updateScrollbar): ditto
1114         * cursor.C (dispatch): ditto
1115         * text2.C (setLayout): ditto
1116         (setFont): ditto
1117         (updateCounters): ditto
1118         (editXY): ditto
1119         (deleteEmptyParagraphMechanism): ditto
1120
1121 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1122
1123         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1124         annotations to cleanup the Makefile slightly.
1125
1126 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1127
1128         * lyxrc.C: do not set user_email to a default value but use empty
1129         instead. The entry used to be translated, which does not work
1130         since at the point where lyxrc is constructed there is no
1131         translation service available
1132
1133         * messages.C (getLocaleDir): remove and use directly
1134         lyx_localedir() instead
1135
1136 2004-06-02  Angus Leeming  <leeming@lyx.org>
1137
1138         Fix crash caused by dereferencing null pointer 'exportdata' in
1139         OutputParams by creating a new ExportData variable on the heap,
1140         storing it in a boost::shared_ptr.
1141         The crash was triggered when generating an Instant Preview
1142         of an external inset.
1143
1144         * Makefile.am: add outputparams.C
1145
1146         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1147         (c-tor): allocate memory to it.
1148
1149         * exporter.C (c-tor): associated changes.
1150
1151 2004-06-01  Angus Leeming  <leeming@lyx.org>
1152
1153         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1154         contains data before calling isInset(0). (Bug 1513.)
1155
1156 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1157
1158         * exporter.C (checkOverwrite): new method
1159         * exporter.C (copyFile): new method
1160         * exporter.C (Export): copy referenced files to the document dir
1161         * exporter.[Ch]: new class ExportedFile
1162         * exporter.[Ch]: new class ExportData. Contains currently the
1163         names of referenced external files
1164         * outputparams.h: add exportdata member.
1165
1166 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1167
1168         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1169         version.C-tmp
1170
1171 2004-05-19  Angus Leeming  <leeming@lyx.org>
1172
1173         * LaTeXFeatures.C:
1174         * ToolbarBackend.C:
1175         * bufferparams.C:
1176         * lyxfunc.C: small changes due to the introduction of namespace
1177         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1178
1179 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1180
1181         * text3.C (dispatch): supress update when only moving the cursor
1182         * cursor.C (selHandle): remove commented code
1183
1184 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1185
1186         * paragraph.C (startTeXParParams): correct column count
1187         * CutAndPaste.C (pasteSelection): remove const_cast
1188         * output_docbook.C (docbookParagraphs): remove const_cast
1189         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1190         const_cast and return ParagraphList::const_iterator
1191         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1192         * output_plaintext.C (writeFileAscii): remove const_cast
1193         * paragraph.[Ch] (simpleTeXOnePar): make const
1194         * paragraph_funcs.C (outerPar): use const iterators
1195         * paragraph_pimpl.C (validate): use const iterators
1196         * text.C (setHeightOfRow): use const iterators
1197
1198 2004-05-17  Angus Leeming  <leeming@lyx.org>
1199
1200         * lfuns.h:
1201         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1202
1203         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1204         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1205         if the citation engine has changed.
1206
1207 2004-05-14  José Matos  <jamatos@lyx.org>
1208
1209         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1210         if the textclass does not provide it. Have it different for sgml and
1211         xml.
1212         support the language of document.
1213         * output_docbook.C (docbookParagraphs):
1214         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1215         first anchor as the id of the paragraph, remove special case code.
1216         * sgml.C (escapeChar): escape only < & >.
1217
1218 2004-05-14  Angus Leeming  <leeming@lyx.org>
1219
1220         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1221         dependencies on src/frontends/controllers/biblio.h. Define a
1222         CiteEngine_enum wrapper class to enable the enum to be forward
1223         declared.
1224
1225 2004-05-12  Angus Leeming  <leeming@lyx.org>
1226
1227         * buffer.C: up LYX_FORMAT to 234.
1228         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1229         use_numerical_citations with a single biblio::CiteEngine cite_engine
1230         variable.
1231         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1232
1233 2004-05-13  José Matos  <jamatos@lyx.org>
1234
1235         * converter.h:
1236         * converter.C (Converter, readFlags): add xml member.
1237         * outputparams.h: add XML flavor.
1238         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1239
1240 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1241
1242         * lyxfunc.C (dispatch):
1243         (getStatus): fix handling of LFUN_SEQUENCE
1244
1245 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1246
1247         * debug.C (showLevel): do not forget the end-of-line marker
1248
1249 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1250
1251         * kbmap.C (read): do not stop parsing a bind file when an error
1252         occurs (bug 1575)
1253
1254 2004-04-29  Angus Leeming  <leeming@lyx.org>
1255
1256         * cursor.C:
1257         * factory.C:
1258         * pariterator.C:
1259         * text2.C: wrap a bunch of #warning statements
1260         inside #ifdef WITH_WARNINGS blocks.
1261
1262 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1263
1264         * buffer.C: increment format to 233.
1265
1266 2004-04-28  Angus Leeming  <leeming@lyx.org>
1267
1268         * BufferView_pimpl.C:
1269         * lyxfunc.C:
1270         * text3.C:
1271         s/updateToolbar()/updateToolbars()/
1272         s/Toolbar.h/Toolbars.h/
1273
1274 2004-04-28  Angus Leeming  <leeming@lyx.org>
1275
1276         * BufferView.[Ch] (c-tor):
1277         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1278         No longer passes these data to the WorkArea generator.
1279
1280 2004-04-28  Angus Leeming  <leeming@lyx.org>
1281
1282         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1283
1284 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1285
1286         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1287
1288 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1289
1290         * output_latex.C (TeXEnvironment): make sure that there is a line
1291         break before \end{foo} for the last paragraph of a document
1292         (TeXOnePar): if the paragraph is at the end of the document (or
1293         inset) and the language has to be reset, then make sure that the
1294         line break is _before_ the language command, not after (fixes bug
1295         1225); also make sure that the language reset command is the first
1296         thing after the paragraph (to ensure proper nesting of
1297         environments and thus fix bug 1404)
1298
1299 2004-04-21  John Levon  <levon@movementarian.org>
1300
1301         * ToolbarBackend.h:
1302         * ToolbarBackend.C: make "name" be a programmatic name
1303         and a gui_name field.
1304
1305         * lyxfunc.C: display the minibuffer on M-x
1306
1307 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1308
1309         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1310         (bug 1526)
1311
1312 2004-04-19  Angus Leeming  <leeming@lyx.org>
1313
1314         * BufferView_pimpl.C (setBuffer): changed preview interface.
1315
1316         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1317         possible values.
1318
1319 2004-04-19  John Levon  <levon@movementarian.org>
1320
1321         * BufferView_pimpl.C:
1322         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1323
1324 2004-04-05  Angus Leeming  <leeming@lyx.org>
1325
1326         * text.C (redoParagraphs): add call to updateCounters(), thereby
1327         fixing the missing "Figure #:" label from the caption of a
1328         figure float.
1329
1330 2004-04-13  Angus Leeming  <leeming@lyx.org>
1331
1332         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1333         cursor is clicked out of an inset.
1334
1335 2004-04-13  Angus Leeming  <leeming@lyx.org>
1336
1337         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1338         than an InsetOld one.
1339
1340 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1341
1342         * format.[Ch]: add editor to Format
1343         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1344         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1345
1346 2004-04-08  André Pönitz  <poenitz@gmx.net>
1347
1348         * metricsinfo.h: remove PainterInfo::width member
1349
1350 2004-04-08  Angus Leeming  <leeming@lyx.org>
1351
1352         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1353         "\providecommand" rather than "\newcommand", thereby preventing
1354         clashes with packages that define "\boldsymbol" themselves.
1355         Eg, beamer.
1356
1357 2004-04-08  Angus Leeming  <leeming@lyx.org>
1358
1359         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1360         thereby squashing an unnecessary warning.
1361
1362 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1363
1364         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1365         setBuffer()
1366
1367 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1368
1369         * BufferView.C (setCursor): call redoParagraph (some insets could
1370         have been opened)
1371         (putSelectionAt): remove the 'double update' trick
1372
1373         * BufferView_pimpl.C (fitCursor): call refreshPar
1374         (workAreaDispatch): remove an uneeded update call
1375         (dispatch): remove some manual update calls
1376
1377         * cursor.[Ch]: remove cached_y_, updatePos
1378         (selHandle): set noUpdate when appropriate
1379
1380         * lyxfunc.C (dispatch): track if we need an update
1381
1382         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1383
1384         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1385         (paintSelection): cheap optimization, do not call cursorX when not
1386         needed
1387         (paintPars): change signature
1388         (refreshPar): add
1389         (paintText): adjust
1390         (paintTextInset): adjust
1391
1392         * text.C: adjust
1393
1394 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1395
1396         * lengthcommon.C: compilation fix: remove explicit array size from
1397         unit_name[] and friends
1398
1399 2004-04-05  Angus Leeming  <leeming@lyx.org>
1400
1401         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1402
1403         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1404         present only for the preferences dialog.
1405         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1406
1407 2004-04-05  Angus Leeming  <leeming@lyx.org>
1408
1409         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1410         to enable the frontends to export changes to lyxrc correctly.
1411
1412         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1413
1414 2004-04-07  André Pönitz  <poenitz@gmx.net>
1415
1416         * cursor.[Ch] (selClear, adjust): remove math
1417
1418         * cursor_slice.C: more agressive assert
1419
1420         * lyxfunc.C:
1421         * BufferView_pimpl.C: rework mouse event dispatch
1422
1423         * dociterator.C:
1424         * paragraph.C:
1425         * text2.C:
1426         * text3.C: adjust
1427
1428 2004-04-05  André Pönitz  <poenitz@gmx.net>
1429
1430         * cursor.[Ch] (valign, halign...): remove unneeded functions
1431
1432 2004-04-05  Angus Leeming  <leeming@lyx.org>
1433
1434         * lyxlength.[Ch] (unit_name et al.): const-correct.
1435
1436 2004-04-05  Angus Leeming  <leeming@lyx.org>
1437
1438         * BufferView_pimpl.C:
1439         * buffer.C:
1440         * counters.C:
1441         * cursor.C:
1442         * lyxfunc.C
1443         * paragraph.C:
1444         * pariterator.C:
1445         * text.C:
1446         * text2.C:
1447         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1448
1449 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1452
1453 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1456         * BufferView_pimpl.[Ch] (getStatus)
1457         * BufferView.[Ch] (getStatus): add
1458         * lyxfunc.C (getStatus): move lfuns handled in
1459         BufferView::dispatch to te function above
1460         * Cursor.C (setSelection): set selection() = true
1461
1462 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1463
1464         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1465
1466 2004-03-31  Angus Leeming  <leeming@lyx.org>
1467
1468         * lyxfunc.C (dispatch): Fall through to the generic
1469         Dialogs::show("preamble").
1470
1471 2004-03-31  Angus Leeming  <leeming@lyx.org>
1472
1473         * lyxfunc.C (dispatch): Fall through to the generic
1474         Dialogs::show("spellchecker").
1475
1476 2004-03-31  Angus Leeming  <leeming@lyx.org>
1477
1478         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1479         preferences dialog.
1480
1481 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1482
1483         * BufferView.C
1484         * cursor.[Ch]
1485         * dociterator.[Ch]:
1486         * insetiterator.[Ch]:
1487         * lyxfind.C:
1488         * lyxfunc.C:
1489         * pariterator.[Ch]:
1490         * text2.C:
1491         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1492
1493 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1494
1495         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1496         insets where we are putting the cursor.
1497
1498 2004-03-31  Angus Leeming  <leeming@lyx.org>
1499
1500         * lfuns.h:
1501         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1502
1503         * lyxrc.[Ch] (read, write): overloaded member functions taking
1504         a std::[io]stream arguments.
1505
1506         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1507
1508 2004-03-31  Angus Leeming  <leeming@lyx.org>
1509
1510         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1511         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1512
1513         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1514         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1515
1516 2004-03-31  Angus Leeming  <leeming@lyx.org>
1517
1518         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1519         the LFUN_ALL_INSETS_TOGGLE code.
1520
1521 2004-03-30  Angus Leeming  <leeming@lyx.org>
1522
1523         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1524         has died. Fall through to the generic Dialogs::show("document").
1525
1526 2004-03-30  Angus Leeming  <leeming@lyx.org>
1527
1528         * lfuns.h:
1529         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1530         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1531
1532         * lyxfunc.C (getStatus, dispatch): define the actions for these
1533         lfuns. Little more than a cut and pste job from ControlDocument.C
1534
1535         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1536
1537 2004-03-30  Angus Leeming  <leeming@lyx.org>
1538
1539         * lfuns.h:
1540         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1541         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1542
1543         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1544         open/closed state of ollapsable insets. Usage:
1545
1546         all-inset-toggle <state> <name>, where
1547         <state> == "open" || "closed" || "toggle" and
1548         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1549
1550         * lyxtext.h, text2.C (toggleInset): removed.
1551
1552         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1553         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1554         now passes LFUN_INSET_TOGGLE to the found inset.
1555
1556         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1557         is now invoked as "all-insets-toggle toggle branch".
1558
1559 2004-03-30  Angus Leeming  <leeming@lyx.org>
1560
1561         * dociterator.C:
1562         * insetiterator.C:
1563         * pariterator.[Ch]: added/corrected header blurb.
1564
1565 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1566
1567         * dociterator.[Ch]: add an inset_ member
1568         (backwardPos): implemented
1569         (backwardPos, forwardPos): use inset_ when the stack is empty.
1570         (doc_iterator_begin, doc_iterator_end): implemented
1571         * pariterator.[Ch]: adjust, add begin, end
1572         * insetiterator.[Ch]: adjust, add begin, end
1573         * cursor.C:
1574         * document.C:
1575         * BufferView.C:
1576         * BufferView_pimpl.C:
1577         * CutAndPaste.C: adjust
1578
1579 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1580
1581         * buffer.C: increment file format to 232.
1582         * LaTeXFeatures.C: add bibtopic package.
1583         * bufferparams.[Ch]: param \use_bibtopic.
1584
1585         * lyxrc.[Ch]: add lyxrc bibtex_command
1586         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1587
1588         * buffer.C: increment file format to 231.
1589
1590 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1591
1592         * dociterator.C: implement forwardPar
1593         * iterators.[Ch]: remove, replaced by
1594         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1595         * BufferView.C:
1596         * BufferView_pimpl.C:
1597         * CutAndPaste.C:
1598         * buffer.C:
1599         * bufferview_funcs.C:
1600         * cursor.C:
1601         * lyxfind.C
1602         * lyxfunc.C
1603         * paragraph_funcs.C
1604         * toc.C:
1605         * Makefile.am: adjust
1606
1607 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * CutAndPaste.C (pasteSelection): fix 2 crashes
1610         (eraseSelection): fix a crash
1611         * paragraph_funcs.C: remove a warning
1612
1613 2004-03-28  Angus Leeming  <leeming@lyx.org>
1614
1615         * lfuns.h:
1616         * LyXAction.C (init): new LFUN_PRINT.
1617
1618         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1619
1620 2004-03-27  Angus Leeming  <leeming@lyx.org>
1621
1622         * lfuns.h:
1623         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1624
1625         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1626
1627 2004-03-27  Angus Leeming  <leeming@lyx.org>
1628
1629         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1630         insetlist always contains non-null pointers to insets.
1631
1632 2004-03-26  Angus Leeming  <leeming@lyx.org>
1633
1634         * src/BufferView_pimpl.C:
1635         * src/CutAndPaste.C:
1636         * src/buffer.C:
1637         * src/iterators.C:
1638         * src/output_plaintext.C:
1639         * src/outputparams.h:
1640         * src/paragraph_funcs.C:
1641         * src/rowpainter.C:
1642         * src/text.C:
1643         * src/text2.C:
1644         * src/frontends/controllers/ControlErrorList.C:
1645         * src/frontends/gtk/FileDialogPrivate.C:
1646         * src/frontends/gtk/GPainter.C:
1647         * src/frontends/gtk/GToolbar.C:
1648         * src/frontends/qt2/QRef.C:
1649         * src/mathed/math_scriptinset.C: squash compiler warnings.
1650
1651 2004-03-26  Angus Leeming  <leeming@lyx.org>
1652
1653         * ispell.C (LaunchIspell::start):
1654         * lyx_cb.C (AutoSaveBuffer::start):
1655         invoke run(DontWait) rather than runNonBlocking().
1656
1657 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1658
1659         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1660
1661 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1662
1663         * kbsequence.C (print): adjust
1664
1665         * kbmap.C (printKeySym): rename and change signature
1666         (printKey): use LyXKeySym::print()
1667
1668 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1669
1670         * undo.C: add using std::advance to compile for stlport
1671
1672 2004-03-24  Angus Leeming  <leeming@lyx.org>
1673
1674         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1675         it leads to a crash when no buffer is present.
1676
1677 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1678             Martin Vermeer  <martin.vermeer@hut.fi>
1679
1680         * lyxfunc.C (dispatch):
1681         * bufferparams.C (readToken): use the new LColor::setColor
1682
1683         * LColor.[Ch] (setColor): new version that takes two strings as
1684         argument and creates a new color entry if necessary
1685
1686 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1687
1688         * buffer.C (makeLaTeXFile): if the main latex file that is
1689         processed is usually a subdocument of some master, then pretend
1690         for a while that it is actually the master
1691
1692 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1693
1694         * buffer.C (getLabelList):
1695         (getBibkeyList): use getMasterBuffer()
1696         (getMasterBuffer): new method. Returns the main document in the
1697         case where one is using included documents.
1698
1699 2004-03-25  André Pönitz  <poenitz@gmx.net>
1700
1701         * Makefile.am:
1702         * iterators.[Ch]:
1703         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1704
1705         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1706
1707         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1708         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1709
1710         * ParameterStruct.h: merge with ParagraphParameters
1711
1712         * lyxtext.h: remove LyXText::parOffset() and getPar()
1713
1714         * text3.C: Remove all 'manual' update calls. We do now one per user
1715         interaction which is completely sufficient.
1716
1717         * Bidi.C:
1718         * BufferView.[Ch]:
1719         * BufferView_pimpl.C:
1720         * FontIterator.[Ch]:
1721         * MenuBackend.C:
1722         * ParagraphParameters.[Ch]:
1723         * buffer.C:
1724         * buffer.h:
1725         * bufferlist.C:
1726         * cursor.[Ch]:
1727         * cursor_slice.[Ch]:
1728         * dociterator.[Ch]:
1729         * errorlist.[Ch]:
1730         * factory.C:
1731         * lfuns.h:
1732         * lyxfind.C:
1733         * lyxfunc.C:
1734         * output_docbook.[Ch]:
1735         * output_latex.[Ch]:
1736         * output_linuxdoc.[Ch]:
1737         * output_plaintext.[Ch]:
1738         * paragraph.[Ch]:
1739         * paragraph_funcs.[Ch]:
1740         * paragraph_pimpl.[Ch]:
1741         * rowpainter.C:
1742         * tabular.[Ch]:
1743         * text.C:
1744         * text2.C:
1745         * toc.C:
1746         * undo.[Ch]: adjust
1747
1748         * frontends/controllers/ControlDocument.C:
1749         * frontends/controllers/ControlErrorList.C:
1750         * frontends/controllers/ControlSpellchecker.C:
1751         * insets/inset.C:
1752         * insets/inset.h:
1753         * insets/insetbase.h:
1754         * insets/insetbibitem.C:
1755         * insets/insetbox.C:
1756         * insets/insetbranch.C:
1757         * insets/insetcaption.C:
1758         * insets/insetcharstyle.C:
1759         * insets/insetcharstyle.h:
1760         * insets/insetcollapsable.C:
1761         * insets/insetcollapsable.h:
1762         * insets/insetert.C:
1763         * insets/insetfloat.C:
1764         * insets/insetfoot.C:
1765         * insets/insetmarginal.C:
1766         * insets/insetnote.C:
1767         * insets/insetoptarg.C:
1768         * insets/insettabular.C:
1769         * insets/insettext.C:
1770         * insets/insettext.h:
1771         * insets/insetwrap.C:
1772         * mathed/math_mboxinset.C:
1773         * mathed/math_nestinset.C:
1774         * mathed/math_scriptinset.C:
1775         * mathed/math_scriptinset.h:
1776         * support/types.h:
1777
1778 2004-03-24  Angus Leeming  <leeming@lyx.org>
1779
1780         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1781         deal with any child processes that have finished but are waiting to
1782         communicate this fact to the rest of LyX.
1783
1784 2004-03-24  Angus Leeming  <leeming@lyx.org>
1785
1786         64-bit compile fixes.
1787
1788         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1789         (c-tor): pass lyx::pos_types rather than ints.
1790
1791         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1792         lyx::pos_type.
1793
1794         * text.C (Delete): compile fix.
1795         (getPar): ensure that function declaration is the same as that in
1796         the header file.
1797
1798 2004-03-23  Angus Leeming  <leeming@lyx.org>
1799
1800         * ispell.C (LaunchIspell):
1801         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1802         a boost::shred_ptr rather than a std::auto_ptr.
1803
1804 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1805
1806         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1807         handle LFUN_FILE_INSERT_*
1808
1809         * lyxrc.C (setDefaults, getDescription, output, read):
1810         * lyxrc.h: remove ps_command
1811
1812 2004-03-22  Angus Leeming  <leeming@lyx.org>
1813
1814         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1815         Ensure that error_handler is processed once only and that all data
1816         is saved before attempting to output any warning messages.
1817
1818         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1819
1820 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1823
1824 2004-03-19  André Pönitz  <poenitz@gmx.net>
1825
1826         * cursor.[Ch] (reset): take main text inset as argument
1827
1828         * BufferView: adjust
1829         * BufferView_pimpl.C: adjust
1830
1831         * paragraph.[Ch]: fix completely broken operator=()
1832
1833 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1834
1835         * LColor.C (getFromLyXName): make sure that the color name is used
1836         as lowercase.
1837
1838 2004-03-17  Angus Leeming  <leeming@lyx.org>
1839
1840         * lfuns.h:
1841         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1842
1843         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1844         dialog and to kill a forked process.
1845
1846 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1847
1848         * text2.C (setCursorFromCoordinates): fix font problem
1849
1850 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1851
1852         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1853         bogus "rebuild cursor" code
1854
1855 2004-03-11  André Pönitz  <poenitz@gmx.net>
1856
1857         * buffer.[Ch]: use InsetText instead of LyXText as container for
1858         the main lyx text.
1859
1860         * dociterator.[Ch]: drop the BufferView * member which is not needed
1861         anymore after the change to buffer.C
1862
1863         * paragraph_funcs.C:
1864         * text.C:
1865         * text2.C:
1866         * BufferView.[Ch]:
1867         * BufferView_pimpl.[Ch]:
1868         * cursor.[Ch]:
1869         * cursor_slice.[Ch]: adjust
1870
1871         * text3.C: fix bug in mathDispatch
1872
1873 2004-03-08  André Pönitz  <poenitz@gmx.net>
1874
1875         * undo.[Ch]: use 'StableDocumentIterator' as base for
1876         the Undo struct.
1877
1878 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1879
1880         * LaTeXFeatures.C:
1881         * bufferparams.[Ch]: add jurabib support and param.
1882
1883         * LaTeX.C: add FIXME/comment.
1884
1885 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1886
1887         * buffer.C: increment file format to 230.
1888
1889 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1890
1891         * cursor.C (dispatch): avoid infinite loops
1892
1893 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1894
1895         * rowpainter.C (paintSelection): fix x coordinates
1896
1897 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1898
1899         * text.C (rowBreakPoint): fix breaking before displayed insets
1900
1901 2004-03-01  André Pönitz  <poenitz@gmx.net>
1902
1903         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1904
1905         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1906
1907         * Makefile.am:
1908         * BufferView.C:
1909         * BufferView_pimpl.C:
1910         * buffer.C:
1911         * lyxfind.C:
1912         * lyxfunc.C:
1913         * text.C:
1914         * text2.C:
1915         * text3.C: adjust
1916
1917 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1918
1919         * lyxtext.h:
1920         * text.C:
1921         * text2.C:
1922         * rowpainter.C:
1923         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1924         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1925
1926 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * Bidi.[Ch] (computeTables): const correctness
1929         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1930         fill_hfill, fill_label_hfill and x from Row
1931         * lyxtext.h: prepareToPrint returns a RowMetrics
1932         * rowPainter.C: adjust
1933         * text.C (prepareToPrint): use width, not textWidth. adjust
1934         (redoParagraphInternal, cursorX): adjust
1935         * text2.C (getColumnNearX): adjust
1936         (init): put a default value to the top LyXText::width
1937
1938 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1939
1940         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1941
1942 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * lyxtext.h: add FontIterator class
1945
1946         * text.C (FontIterator, operator*, operator->, operator++): add
1947         (rowBreakPoint, setRowWidth): adjust (fixing a
1948         rebreaking bug)
1949
1950 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1951
1952         * BufferView_pimpl.C (workAreaDispatch): allow also
1953         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1954
1955 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1956
1957         * text.C (rowBreakPoint): fix a bug showing with very large insets
1958
1959 2004-02-25  André Pönitz  <poenitz@gmx.net>
1960
1961         * text3.C:
1962         * cursor.[Ch]: move some mathed specific code to mathed
1963
1964 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1965
1966         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1967         use_tempdir in preferences
1968         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1969         tempfile creation
1970         * lyx_main.C: ensure that tempdir is valid
1971         * lyxlex.h: correct typo
1972         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1973         * paragraph.[Ch] (isMultiLingual): make const
1974         * cursor.[Ch] (openable): make const
1975
1976 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1977
1978         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1979
1980 2004-02-20  André Pönitz  <poenitz@gmx.net>
1981
1982         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1983
1984         * cursor.[Ch]: prepare for localized getStatus()
1985
1986         * lyxtext.h:
1987         * tabular.C:
1988         * text.C:
1989         * text2.C:
1990         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1991
1992 2004-02-20  André Pönitz  <poenitz@gmx.net>
1993
1994         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1995
1996 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1997
1998         * text2.C (setCursorFromCoordinates): switch to absolute coords
1999         (cursorUp): adjust
2000         (cursorDown): adjust
2001         * text3.C (dispatch): adjust
2002
2003 2004-02-16  André Pönitz  <poenitz@gmx.net>
2004
2005         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2006           insets/ChangeLog)
2007
2008         * cursor_slice.[Ch]: remove unneeded acessor function
2009
2010         * lyxtext.h: rename rtl() to isRTL()
2011
2012         * rowpainter.C:
2013         * tabular.C:
2014         * text.C:
2015         * text2.C:
2016         * text3.C: adjust
2017
2018 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2019
2020         * rowpainter.C (paintSelection): coord fix
2021
2022 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2023
2024         * Spacing.C: compile fix
2025
2026 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2027
2028         * cursor.C (dispatch): restore current_ before returning
2029
2030 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2031
2032         * text2.C (cursorUp, cursorDown): fix coords
2033         (moveUp): fix crash
2034
2035 2004-02-12  André Pönitz  <poenitz@gmx.net>
2036
2037         * lyxtext.h:
2038         * text.C:
2039         * text2.C:
2040         * text3.C: add LCursor & parameter to most cursor movement functions
2041           remove usage of LyXText::cursorRow() and cursorPar()
2042
2043         * cursor.[Ch]: add textRow() needed members
2044
2045         * BufferView.C:
2046         * BufferView_pimpl.C:
2047         * paragraph.[Ch]:
2048         * BufferView.C:
2049         * BufferView_pimpl.C: adjust
2050
2051 2004-02-11  André Pönitz  <poenitz@gmx.net>
2052
2053         * lyxfunc.C:
2054         * BufferView.[Ch]:
2055         * BufferView_pimpl.C: shift undo/redo handling
2056
2057         * cursor.[Ch]: fix mathed crash
2058
2059         * lyxfind.C:
2060         * lyxtext.h: move selectionAsText to LCursor
2061
2062         * output_latex.C:
2063         * paragraph.C:
2064         * text.C:
2065         * text2.C:
2066         * text3.C: adjust
2067
2068         * rowpainter.C: fix excessive drawing
2069
2070 2004-02-06  André Pönitz  <poenitz@gmx.net>
2071
2072         * BufferView.[Ch]:
2073         * BufferView_pimpl.[Ch]:
2074         * text3.C: move some text specific LFUN handling
2075
2076 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * text3.C (checkInsetHit): adjust coords
2079         * text2.C (getColumnNearX): adjust coords
2080         (edit): adjust coords
2081         * text.C (getRowNearY): add two asserts
2082
2083 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2084
2085         * converter.C:
2086         * format.C: add using std::distance to compile on gcc 2.95/stlport
2087
2088 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2089
2090         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2091
2092 2004-02-04  André Pönitz  <poenitz@gmx.net>
2093
2094         * BufferView.[Ch] (insertInset):
2095         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2096
2097         * text2.C:
2098         * text3.C: adjust
2099
2100 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2103         on the default clause of the switch
2104         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2105         wasn't catched by LCursor::dispatch
2106
2107 2004-02-03  André Pönitz  <poenitz@gmx.net>
2108
2109         * BufferView.C:
2110         * cursor.[Ch]: some additional asserts
2111
2112         * undo.[Ch]: remove LyXText dependency in interface
2113
2114         * lyxfunc.C: adjust
2115
2116         * lyxtext.h (firstPar, lastPar): remove dead functions
2117
2118         * text.C:
2119         * text2.C:
2120         * text3.C:
2121         * paragraph.[Ch]: adjust
2122
2123 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2124
2125         * lyxfind.C (find): fix argument order in call to ::find
2126
2127 2004-02-02  André Pönitz  <poenitz@gmx.net>
2128
2129         * cursor.[Ch]: remove direct access to anchor
2130
2131         * text.C: remove findText() hack
2132
2133 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2134
2135         * iterators.[Ch] (lockPath): remove in favour of...
2136         * BufferView.[Ch] (setCursor): this addition
2137         * BufferView.C (putSelectionAt): adjust
2138         * undo.C (performUndoOrRedo): adjust
2139         * lyxfunc.C (dispatch): adjust
2140
2141 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * iterators.C (lockPath): add a missing slice
2144         * undo.C (performUndoOrRedo): remove redundant positioning code
2145
2146 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2147
2148         * vc-backend.C (scanMaster): ";" -> ';'
2149
2150 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2151
2152         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2153         std::binary_function
2154
2155         * lyxtextclass.C (compare_name): rename to...
2156         (LayoutNamesEqual): ...this
2157
2158         * lyxlex_pimpl.C (compare_tags): inherit from
2159         std::binary_function, put back into anon namespace
2160
2161         * lyxfind.C (MatchString): inherig from std::binary_function
2162         (findChange): use empty() istead of !size()
2163
2164         * format.C (FormatNamesEqual): new functor
2165         (getFormat): use it
2166         (getNumber): use it
2167         (add): use it
2168         (erase): use it
2169         (setViewer): use it
2170
2171         * converter.C (compare_Converter): rename to...
2172         (ConverterEqual): ...this, and fixup a bit.
2173         (getConverter): use it, and make function const
2174         (getNumber): use it, and make function const
2175         (add): use it
2176         (erase): use it:
2177
2178         * bufferlist.C: add using boost::bind
2179
2180         * MenuBackend.C (MenuNamesEqual): new functor
2181         (hasMenu): use it, and make function const
2182         (hasSubmenu): use nested bind to get rid of compare_memfun.
2183
2184 2004-01-30  André Pönitz  <poenitz@gmx.net>
2185
2186         * BufferView_pimpl.C:
2187         * cursor.C:
2188         * cursor.h:
2189         * cursor_slice.[Ch]:
2190         * lyxfunc.C:
2191         * lyxtext.h:
2192         * paragraph_funcs.C:
2193         * paragraph_funcs.h:
2194         * rowpainter.C:
2195         * text.C:
2196         * text2.C:
2197         * text3.C: move some of the edit(x,y) handling to the insets
2198         some coordinate changes.
2199
2200 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2201
2202         * text.C: add using statements for std::advance and std::distance
2203
2204         * paragraph.C: add using statement for std::distance
2205
2206         * lyxfind.C: add using statement for std::advance
2207
2208         * cursor.C (region): remove std:: from swap
2209         (openable): use nucleus in stead of operator->
2210
2211         * BufferView.C: add using statements for std::distance and std::swap
2212
2213 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2214
2215         * iterators.C: Remove the pimple, move the needed structures to
2216         the header file. Create accessor for the positions stack.
2217         (asPosIterator): remove function
2218
2219         * PosIterator.C (PosIterator): move constructors to top of file
2220         (PosIterator): reimplement the constructor taking a ParIterator in
2221         terms of setFrom.
2222         (setFrom): new function
2223         (operator!=): inline it
2224
2225 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2226
2227         * lyxfind.C (replaceAll): use std::advance
2228
2229         * iterators.h: inherit from std::iterator.
2230
2231         * PosIterator.C (advance, distance): remove
2232         * PosIterator.h: interit from std::iterator.
2233
2234 2004-01-26  André Pönitz  <poenitz@gmx.net>
2235
2236         * BufferView.[Ch]:
2237         * BufferView_pimpl.[Ch]:
2238         * InsetList.[Ch]:
2239         * PosIterator.[Ch]:
2240         * buffer.h:
2241         * bufferview_funcs.C:
2242         * cursor.[Ch]:
2243         * cursor_slice.h:
2244         * factory.[Ch]:
2245         * iterators.[Ch]:
2246         * lyxfind.C:
2247         * lyxfunc.C:
2248         * lyxtext.h:
2249         * output_docbook.C:
2250         * output_latex.C:
2251         * output_linuxdoc.C:
2252         * output_plaintext.C:
2253         * paragraph.[Ch]:
2254         * paragraph_funcs.[Ch]:
2255         * paragraph_pimpl.[Ch]:
2256         * rowpainter.C:
2257         * tabular.C:
2258         * tabular.h:
2259         * text.C:
2260         * text2.C:
2261         * text3.C: more IU:  dumps most of the rest of the mathcursor
2262     implementation into cursor.[Ch]; "globalize" a bit of it.
2263
2264 2004-01-25  Angus Leeming  <leeming@lyx.org>
2265
2266         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2267
2268 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2269
2270         * LaTeXFeatures.h: add nice_ and nice() const
2271         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2272
2273 2004-01-20  André Pönitz  <poenitz@gmx.net>
2274
2275         * BufferView.[Ch]:
2276         * BufferView_pimpl.C:
2277         * PosIterator.C:
2278         * bufferview_funcs.C:
2279         * cursor.[Ch]:
2280         * cursor_slice.[Ch]:
2281         * factory.C:
2282         * iterators.C:
2283         * lyx_cb.C:
2284         * lyxfind.C:
2285         * lyxfunc.C:
2286         * lyxtext.h:
2287         * rowpainter.C:
2288         * text.C:
2289         * text2.C:
2290         * text3.C:
2291         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2292           LCursor and mathcursor parts to LCursor and InsetBase.
2293
2294 2004-01-15  André Pönitz  <poenitz@gmx.net>
2295
2296         * cursor_slice.[Ch]: add a few covienience functions
2297
2298         * funcrequest.[Ch]: remove BufferView * member
2299
2300         * BufferView_pimpl.C:
2301         * cursor.C:
2302         * factory.[Ch]:
2303         * lyxfind.[Ch]:
2304         * lyxfunc.C:
2305         * lyxtext.h:
2306         * text3.C:
2307         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2308
2309 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2310
2311         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2312         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2313
2314 2004-01-13  André Pönitz  <poenitz@gmx.net>
2315
2316         * textcursor.[Ch]:
2317         * lyxtext.h: hide cursor and selection anchor behind accessor function
2318
2319         * BufferView.C:
2320         * BufferView_pimpl.[Ch]:
2321         * PosIterator.C:
2322         * bufferview_funcs.C:
2323         * cursor.h:
2324         * lyxfind.C:
2325         * lyxfunc.C:
2326         * text.C:
2327         * text2.C:
2328         * text3.C:
2329         * undo.C: adjust
2330
2331         * cursor.h:
2332         * cursor_slice.[Ch]: some integer type changes for inset unification
2333
2334         * lyxcursor.[hC]: remove, it's CursorSlice now.
2335
2336         * Makefile.am:
2337         * BufferView_pimpl.[Ch]:
2338         * bufferview_funcs.C:
2339         * cursor_slice.C:
2340         * lyxtext.h:
2341         * text.C:
2342         * text2.C:
2343         * text3.C:
2344         * textcursor.[Ch]: adjust
2345
2346 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2347
2348         * text2.C (undoSpan): add and use
2349         * text.C (breakParagraph): use undoSpan (fix bug 578)
2350         * lyxtext.h: adjust
2351
2352 2004-01-08  Angus Leeming  <leeming@lyx.org>
2353
2354         * BufferView_pimpl.C (MenuInsertLyXFile):
2355         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2356         * lyxfunc.C (menuNew, open, doImport):
2357         FileFilterList change to the FileDialog open and save functions.
2358
2359 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2360
2361         * ShareContainer.h: make isEqual and isUnique adaptable
2362
2363         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2364
2365 2004-01-07  Angus Leeming  <leeming@lyx.org>
2366
2367         * LyXAction.C:
2368         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2369
2370         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2371
2372         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2373         functions replacing find, replace and replaceAll.
2374
2375         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2376         LFUN_WORDFIND(FORWARD|BACKWARD).
2377
2378 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2379
2380         * text.C (breakParagraph): remove an outdated #warning
2381
2382 2004-01-07  André Pönitz  <poenitz@gmx.net>
2383
2384         * lyxfind.C: somewhat clearer logic
2385
2386         * text.C: prevent crash in cursorX on unitialized row cache
2387
2388 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2389
2390         * lyxcursor.[Ch] (operator>): add
2391         * textcursor.C (selStart, selEnd): use std::min and std::max
2392
2393 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2394
2395         * Chktex.C: include boost/format.hpp
2396
2397 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2398
2399         * InsetList.C: replace functor MathcIt with adaptable functor
2400         InsetTablePosLess
2401         (insetIterator): modify accordingly
2402
2403         * BranchList.h: move the BranchNamesEqual functor here from...
2404         * BranchList.C: ... to here
2405
2406         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2407         SameName and match.
2408         (add): replace a finding loop with std::find_if.
2409
2410 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2411
2412         * output_docbook.C: moving LatexParam functionality into
2413         .layout files
2414
2415 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2416
2417         * buffer.C: increment format to 229.
2418
2419 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2420
2421         * LaTeXFeatures.C:
2422         * lyx_sty.[Ch]: remove minipageindent_def
2423
2424         * LyXAction.C:
2425         * factory.C:
2426         * lfuns.h:
2427         * lyxfunc.C:
2428         * text3.C: remove LFUN_INSET_MINIPAGE
2429
2430 2003-12-28  Angus Leeming  <leeming@lyx.org>
2431
2432         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2433
2434 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2435
2436         * text2.C (setParagraph): fix off-by-one crash
2437
2438 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2439
2440         * output_docbook.C: header stuff for AGU
2441
2442 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2443
2444         * text2.C (redoCursor): remove
2445         * text.C:
2446         * text3.C:
2447         * BufferView_pimpl.C: remove calls to redoCursor and
2448         setCursor(cursor.par(), cursor.pos()) all around
2449
2450 2003-12-15  Angus Leeming  <leeming@lyx.org>
2451
2452         * buffer.C: up the format to 228.
2453
2454 2003-12-15  André Pönitz  <poenitz@gmx.net>
2455
2456         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2457         slices
2458
2459         * Makefile.am:
2460
2461         * BufferView_pimpl.C:
2462         * cursor.[Ch]:
2463         * lyxcursor.[Ch]:
2464         * rowpainter.[Ch]:
2465         * lyxtext.h:
2466         * text.C:
2467         * text2.C:
2468         * text3.C: adjust
2469
2470 2003-12-15  Angus Leeming  <leeming@lyx.org>
2471
2472         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2473         than getFromGUIName to manipulate the color.
2474
2475 2003-12-14  Angus Leeming  <leeming@lyx.org>
2476
2477         * BranchList.[Ch]: minimize the API.
2478         (Branch::getBranch, getColor): now return a 'const &'.
2479         (Branch::setSelected) now returns a bool set to true if the
2480         selection status changes.
2481         (BranchList::clear, size, getColor, setColor, setSelected,
2482         allBranches, allSelected, separator): removed.
2483         (BranchList::find): new functions, returning the Branch with
2484         the given name.
2485         (BranchList::add, remove): return a bool indicating that
2486         the operation was successful.
2487
2488         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2489         new InsetBranch::isBranchSlected member function.
2490
2491         * LColor.[Ch]: mimimize the API.
2492         (fill): renamed as addColor and made private.
2493         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2494         versions of these functions taking a string arg have been removed.
2495
2496         * bufferparams.C (readToken):
2497         * lyxfunc.C (dispatch):
2498         * lyxrc.C (read): changes due to the altered BranchList and
2499         LColor APIs.
2500
2501         * factory.C (createInset, readInset): changes due to altered
2502         InsetBranch c-tor.
2503
2504 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2505
2506         * factory.C:
2507         * lyxfunc.C: remove insetminipage. "minipage-insert"
2508         now produces a frameless minipage box inset.
2509
2510 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2511
2512         * textcursor.[Ch] (selStart,selEnd): add new methods
2513         remove selection::start, end, use LyXCursor::operator<
2514         * lyxcursor.[Ch] (operator<): add
2515         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2516         * BufferView.[Ch] (unsetXSel): add
2517         * text2.C (clearSelection): use unsetXSel,adjust
2518         * text.C: adjust
2519         * text3.C: adjust
2520         * rowpainter.C: adjust
2521         * bufferview_funcs.C (put_selection_at): adjust
2522
2523 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2524
2525         * BufferView_pimpl.C: small coord. correction
2526
2527 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2528
2529         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2530         dragging over the splash screen.
2531
2532 2003-12-11  Angus Leeming  <leeming@lyx.org>
2533
2534         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2535         as it is now handled in LyXText::dispatch.
2536
2537         * text3.C (doInsertInset): remove a level of nesting.
2538
2539 2003-12-11  Angus Leeming  <leeming@lyx.org>
2540
2541         * factory.C (createInset): changes due to the changed interface to
2542         InsetCommandMailer::string2params.
2543
2544 2003-12-10  Angus Leeming  <leeming@lyx.org>
2545
2546         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2547         'dialog-show-new-inset <inset name>'
2548
2549 2003-12-10  Angus Leeming  <leeming@lyx.org>
2550
2551         * buffer.C: up the format to 227.
2552
2553         * factory.C: the box inset is now identified simply by 'Box'.
2554
2555 2003-12-10  Angus Leeming  <leeming@lyx.org>
2556
2557         * buffer.C: up the format to 226.
2558
2559         * factory.C: the note inset is now identified simply by 'Note'.
2560
2561 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2562
2563         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2564         when a pit is enough. Standarize a couple of loops.
2565
2566 2003-12-05  Angus Leeming  <leeming@lyx.org>
2567
2568         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2569         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2570         data to the re-worked "log" dialog.
2571
2572 2003-12-03  André Pönitz  <poenitz@gmx.net>
2573
2574         * PosIterator.C:
2575         * iterators.C:
2576         * lyxtext.h:
2577         * output_latex.C:
2578         * paragraph_funcs.C:
2579         * text.C:
2580         * text2.C: use Inset::getText instead of Inset::getParagraph
2581
2582 2003-12-03  André Pönitz  <poenitz@gmx.net>
2583
2584         * buffer.[Ch]:
2585         * lyxtext.h:
2586         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2587         InsetText::read() as LyXText::read()
2588
2589 2003-12-02  Angus Leeming  <leeming@lyx.org>
2590
2591         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2592         type. Add a comment in the implementation that the function uses
2593         the stream's bad() function rather than fail() as the std::streams
2594         would do.
2595
2596 2003-12-02  André Pönitz  <poenitz@gmx.net>
2597
2598         * lyxlex.[Ch]: make interface more similar to std::stream
2599
2600         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2601
2602 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2603
2604         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2605
2606 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2607
2608         * vspace.[Ch]: remove VSpace::NONE
2609
2610 2003-12-01  André Pönitz  <poenitz@gmx.net>
2611
2612         * buffer.[Ch]:
2613         * lyxtext.h: move ParagraphList member to LyXText
2614         rename LyXText::ownerParagraphs to LyXText::paragraph
2615
2616         * CutAndPaste.C:
2617         * bufferview_funcs.C:
2618         * iterators.[Ch]:
2619         * lyx_cb.C:
2620         * paragraph.C:
2621         * rowpainter.C:
2622         * tabular.C:
2623         * text.C:
2624         * text2.C:
2625         * text3.C: adjust
2626
2627         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2628
2629         * undo.C: fix cursor positioning
2630
2631 2003-12-01  John Levon  <levon@movementarian.org>
2632
2633         * BufferView_pimpl.C: fix a crash on exit with
2634         a buffer open
2635
2636 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2637
2638         * BranchList.C: fix setSelected() method.
2639
2640 2003-11-28  André Pönitz  <poenitz@gmx.net>
2641
2642         * ParagraphParameters.[Ch]:
2643         * ParameterStruct.h: remove space above/below from Paragraph to
2644          InsetVSpace
2645
2646         * BufferView_pimpl.C:
2647         * factory.C:
2648         * lyxfunc.C:
2649         * lyxtext.h:
2650         * output_latex.C:
2651         * paragraph.C:
2652         * paragraph_funcs.C:
2653         * rowpainter.[Ch]:
2654         * text.C:
2655         * text2.C:
2656         * text3.C: adjust
2657
2658 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2659
2660         * factory.C: Syntax change for CharStyles
2661
2662 2003-11-28  André Pönitz  <poenitz@gmx.net>
2663
2664         * BufferView.[Ch]:
2665         * BufferView.[Ch]:
2666         * buffer.[Ch]:
2667         * buffer.[Ch]: move LyXText member
2668
2669 2003-11-28  André Pönitz  <poenitz@gmx.net>
2670
2671         * BufferView.[Ch]: make LyXText * text a private member
2672
2673         * BufferView_pimpl.C:
2674         * cursor.C:
2675         * iterators.C:
2676         * lyx_cb.C:
2677         * lyxfind.C:
2678         * lyxtext.h:
2679         * rowpainter.[Ch]:
2680         * text.C:
2681         * text2.C:
2682         * undo.C: adjust
2683
2684         * output_plaintext.C: cleanup
2685
2686 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2687
2688         * buffer.C:
2689         * lyxtextclass.[Ch]: parametrize SGML document header
2690
2691 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2692
2693         * converter.[Ch]:
2694         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2695         getFlavor().
2696
2697 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2698
2699         * text2.C (setFont): rework using PosIterator (no more recursive)
2700         (setCharFont): no more needed
2701         (setLayout): no more selection cursors fiddling (done by redoCursor)
2702         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2703         destroy remaining ones)
2704
2705 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2706
2707         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2708         * lyxtext.h: ditto
2709         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2710         selection cursors
2711         * lyxfunc.C: adjust
2712         * text3.C: adjust + re-allow multi par depth changes
2713         * textcursor.C: simplify a bit
2714
2715 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2716
2717         * src/buffer.C:
2718         * src/lyxlayout.C:
2719         * src/lyxlayout.h:
2720         * src/lyxtext.h:
2721         * src/output_docbook.C:
2722         * src/output_latex.C:
2723         * src/paragraph.C:
2724         * src/paragraph.h:
2725         * src/sgml.C:
2726         * src/sgml.h:
2727         * src/text2.C: Introducing a number of tags parametrizing various
2728         XML formats that we may want to support
2729
2730 2003-11-25  André Pönitz  <poenitz@gmx.net>
2731
2732         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2733
2734         * lyxtext.h (leftMargin/rightMargin): simplify interface
2735
2736         * rowpainter.C:
2737         * text.C:
2738         * text2.C:
2739         * text3.C: adjust
2740
2741 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2742
2743         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2744         master file to any child files. Fixes bug 546.
2745
2746 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2747
2748         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2749
2750 2003-11-24  André Pönitz  <poenitz@gmx.net>
2751
2752         * rowpainter.C: simplification
2753
2754         * text2.C (updateCounters): remove call to redoParagraph on
2755         changed labels as this is far too expensive.
2756
2757 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2758
2759         * converter.C (convert): fix a crash: this function gets
2760         called with buffer == 0 from importer code.
2761
2762 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2763
2764         * text3.C (cursorPrevious): make sure that we do not compare
2765         iterators form different containers.
2766         (cursorNext): ditto
2767
2768         * rowpainter.C (paintSelection): make sure that we do not compare
2769         iterators from different containers.
2770
2771         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2772         iterators from different ParagraphList containers.
2773         [NEXT] ditto
2774
2775         * text2.C (LyXText): change order of initialization slightly
2776         (operator=): new function. copy all variables except cache_par_
2777         (moveUp): make sure that we do not compare iterators from
2778         different ParagraphList constainers.
2779         (moveDown): ditto
2780
2781         * text.C (firstPar): new function
2782         (lastPar): new function
2783         (endPar): new function
2784
2785         * lyxtext.h: move things around and group public functions, public
2786         variables, private functions, private variables
2787
2788 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2789
2790         * factory.C: change call to InsetERT constructor to avoid
2791         additional invocation of method status
2792         * text2.C (toggleInset): remove redundant update() call
2793         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2794         instead of a Bufferview pointer
2795
2796 2003-11-21  André Pönitz  <poenitz@gmx.net>
2797
2798         * rowpainter.C: simplification
2799
2800 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2801
2802         * text3.C (dispatch): make possible to extend a word/row selection
2803         with the mouse
2804
2805 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2806
2807         * lyxtext.h: x0_,y0_ -> xo_,yo_
2808         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2809         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2810         * rowpainter.C (paintRows): paint full paragraphs
2811
2812 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2813
2814         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2815         screen coordinates)
2816
2817 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2818
2819         * lyxtext.h: add x0_, y0_
2820         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2821         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2822
2823 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2824
2825         * text2.C (setCursorIntern): move the x_target update here *
2826         * text3.C: change some bv() to true/false in calls to
2827         cursorUp/Down/Right/Left
2828         * cursor.C: use helper function.
2829
2830 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2831
2832         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2833         * paragraph_funcs.[Ch]: correct comment
2834         * rowpainter.C: do not paint selections away from bv->cursor()
2835         Fix a long standing selection painting bug.
2836         * text3.C: generalize mouse-selection code to LyXTexts other that
2837         top one
2838         * textcursor.C: do not use y coords if we can use par offsets
2839
2840 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2841
2842         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2843         cursor position after e.g. inset insert)
2844
2845 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2846
2847         * lyxfind.C (replace): adjust to locking removal + some
2848         code simplification
2849
2850 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2851
2852         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2853         of the path
2854
2855 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2856
2857         * lyxlayout.[Ch]:
2858         * output_docbook.C: XML sanitation: new layout
2859         parameters InnerTag and CommandDepth
2860
2861 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2862
2863         * BufferView_pimpl.C:
2864         * factory.C:
2865         * text3.C: Fix the insertion and modification of button-style
2866         insets
2867
2868 2003-11-13  André Pönitz  <poenitz@gmx.net>
2869
2870         * InsetList.[Ch]: remove deleteLyXText
2871
2872         * paragraph.[Ch]: cache beginOfBody position
2873
2874         * Bidi.C:
2875         * text.C:
2876         * text2.C:
2877         * text3.C: remove superfluous update() calls
2878
2879         * vspace.C: cleanup
2880
2881 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2882
2883         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2884         * BufferView.C (fitLockedInsetCursor): remove
2885         * cursor.[Ch] (getDim): add
2886         * text.C (getRowNearY): add faster version
2887         * text3.C: remove some update calls
2888
2889 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2890
2891         * LaTeXFeatures.C:
2892         * LyXAction.C:
2893         * MenuBackend.C:
2894         * MenuBackend.h:
2895         * dispatchresult.h:
2896         * factory.C:
2897         * lfuns.h:
2898         * lyxfunc.C:
2899         * lyxtextclass.C:
2900         * lyxtextclass.h:
2901         * text3.C: The Character Style /XML short element patch.
2902
2903 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2904
2905         * text3.C:
2906         * factory.C: Small step to solving 'unable to insert some insets'
2907         problem
2908
2909 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2910
2911         * cursor.[Ch] (updatePos): new function for updating the y
2912         position of the tip inset
2913         * bufferview_funcs.C (put_selection_at):
2914         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2915
2916 2003-11-11  André Pönitz  <poenitz@gmx.net>
2917
2918         * text.C: remove big comment on invalid Paragraph pointers as it is
2919         not valid anymore
2920
2921 2003-11-11  André Pönitz  <poenitz@gmx.net>
2922
2923         * text_funcs.[Ch]: merge with ...
2924
2925         * text.C: ... this
2926
2927         * lyxtext.h:
2928         * text2.C:
2929         * text3.C: adjust
2930
2931         * Makefile.am: remove text_funcs.[Ch]
2932
2933 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2934
2935         * cursor.C (getPos): return absolute cached y coord
2936
2937         * BufferView_pimpl.C (fitCursor): new simplistic code
2938         (workAreaDispatch): add a fitCursor call
2939
2940 2003-11-10  André Pönitz  <poenitz@gmx.net>
2941
2942         * BufferView.[Ch]:
2943         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2944
2945 2003-11-10  André Pönitz  <poenitz@gmx.net>
2946
2947         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2948         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2949         indicate that the cursor needs to leave an inset
2950
2951         * lyxtext.h: remove inset locking
2952
2953         * cursor.[Ch]: re-implement functionality provided by inset locking
2954
2955         * BufferView.[Ch]:
2956         * BufferView_pimpl.[Ch]:
2957         * LyXAction.C:
2958         * bufferview_funcs.[Ch]:
2959         * factory.C:
2960         * funcrequest.[Ch]:
2961         * iterators.C:
2962         * lyx_cb.C:
2963         * lyxfind.C:
2964         * lyxfunc.C:
2965         * text.C:
2966         * text2.C:
2967         * text3.C:
2968         * undo.C: adjust
2969
2970 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2971
2972         * PosIterator.[Ch]: replace the stack with a vector, add inset
2973         accesor
2974         * iterators.[C]: adjust
2975
2976 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2977
2978         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2979         replaced
2980         * paragraph_funcs.C (readParToken): put the correct id in the
2981         error item, not the id of the top paragraph
2982
2983 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2984
2985         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2986         * bufferview_funcs.C (put_selection_at): use the above
2987
2988 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2989
2990         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2991
2992 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2993
2994         * output_linuxdoc.h:
2995         * output_plaintext.h:
2996         * output.h:
2997         * output_docbook.h: add #include statements
2998
2999 2003-11-05  José Matos  <jamatos@lyx.org>
3000
3001         * output_docbook.[Ch]:
3002         * output_latex.[Ch]:
3003         * output_linuxdoc.[Ch]:
3004         * output_plaintext.[Ch]: New files for output formats.
3005         * output.[Ch]: New file for helper functions.
3006
3007         * buffer.[Ch]:
3008         * paragraph_funcs.[Ch]: output functions moved to new files.
3009
3010         * outputparams.h: rename of latexrunparams.h
3011
3012         * LaTeX.[Ch]:
3013         * buffer.[Ch]:
3014         * bufferlist.[Ch]:
3015         * converter.[Ch]:
3016         * exporter.C:
3017         * paragraph.[Ch]:
3018         * paragraph_funcs.[Ch]:
3019         * paragraph_pimpl.[Ch]:
3020         * tabular.[Ch]: rename ascii to plaintext
3021         and LatexRunParams to OutputParams.
3022
3023 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3024
3025         * iterators.[Ch] (text): require bv argument
3026         * undo.C (recordUndo):
3027         * lyxfunc.C (dispatch):
3028         * bufferview_funcs.C (put_selection_at): adjust
3029
3030 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3031
3032         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3033
3034 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3035
3036         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3037         nestings
3038
3039 2003-11-04  André Pönitz  <poenitz@gmx.net>
3040
3041         * cursor.[Ch]: restructure
3042
3043         * BufferView.[Ch]:
3044         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3045
3046         * iterators.[Ch] (asCursor): remove
3047
3048         * lfuns.h: remove LFUN_INSET_EDIT
3049
3050         * lyxfunc.C:
3051         * tabular.C:
3052         * text.C:
3053         * text2.C:
3054         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3055
3056 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3057
3058         * lyxfind.[Ch]: complete overhaul
3059         * BufferView_pimpl.C:
3060         * lyxfunc.C: adjust
3061         * paragraph.[Ch] (insert): add
3062
3063 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3064
3065         * BufferView.[Ch]:
3066         * lyxtext.h:
3067         * text.C: remove dead spellcheck code
3068
3069 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * dispatchresult.h: add a val setter
3072
3073         * cursor.C (dispatch): use a tempvar for data_[i]
3074
3075 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3076
3077         * PosIterator.[Ch]: compile fix
3078
3079 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3080
3081         * text.C (cursorPar): deactivate the cursor cache
3082
3083 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3084
3085         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3086
3087 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3088
3089         * text3.C (dispatch): adjust for new DisptchResult semantics.
3090
3091         * lyxfunc.C (dispatch): handle update when return from
3092         Cursor::dispatch, adjust for new DispatchResult semantics.
3093
3094         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3095         DispatchResult(true) mean to not update. Add class functions for
3096         setting dispatched and update, as well as reading.
3097
3098         * cursor.C (dispatch): don't handle update here
3099
3100 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3103         * trans_mgr.C: adjust
3104
3105         * paragraph_funcs.C (readParToken): exception safety
3106
3107         * lyxvc.h: store the vcs pointer in a scoped_ptr
3108         * lyxvc.C: adjust
3109
3110         * lyxsocket.C (serverCallback): exception safety
3111
3112         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3113
3114         * ispell.C (clone): make it return a auto_ptr
3115
3116         * factory.C (createInset): exception safety
3117         (readInset): exception safety
3118
3119         * bufferlist.C (newBuffer): exception safety
3120
3121         * Thesaurus.C (Thesaurus): use initialization for aik_
3122
3123         * MenuBackend.C (expandToc): exception safety.
3124
3125 2003-11-03  André Pönitz  <poenitz@gmx.net>
3126
3127         * buffer.C:
3128         * buffer.h:
3129         * bufferview_funcs.C: remove getInsetFromId()
3130
3131         * lyxcursor.[Ch]:
3132         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3133
3134         * lyxfunc.C:
3135         * text2.C:
3136         * text3.C: adjust
3137
3138 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3139
3140         * PosIterator.C (distance, advance): new
3141         * bufferview_funcs.[Ch] (put_selection_at): new
3142         * iterators.[Ch] (lockPath): new
3143
3144 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3145
3146         * iterators.[Ch] (asPosIterator): added
3147         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3148         * PosIterator.[Ch]: added
3149
3150 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3151
3152         * text3.C:
3153         * lyxfunc.C:
3154         * cursor.C (dispatch):
3155         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3156
3157         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3158         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3159         contructor, add a class function dispatched. Remove operator>=
3160
3161 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3162
3163         * debug.C: only use the default constructor for debugstream
3164         (lyxerr) here.
3165
3166         * main.C (main): include debug.h and setup the lyxerr streambuf
3167         here.
3168
3169 2003-10-31  José Matos  <jamatos@lyx.org>
3170
3171         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3172
3173         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3174         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3175         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3176         * paragraph_pimpl.C (simpleTeXSpecialC):
3177         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3178         add LatexRunParams argument.
3179
3180         * exporter.C (Export): change call accordingly.
3181
3182         * latexrunparams.h: add new member to take care of the other backends.
3183 2003-10-30  José Matos  <jamatos@lyx.org>
3184
3185         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3186         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3187         factorise code for paragraph output.
3188         * buffer.[Ch]:
3189         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3190         move functions.
3191
3192 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * text3.C (dispatch):
3195         * lyxfunc.C (dispatch):
3196         * cursor.C (dispatch):
3197         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3198
3199         * dispatchresult.h: make the dispatch_result_t ctor explicit
3200
3201 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3202
3203         * sgml.[Ch]:
3204         * buffer.C: small refactoring of docbook stuff
3205
3206 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3207
3208         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3209         meaning.
3210
3211 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3214         operator dispatch_result_t, and operators for == != and >=
3215
3216         * cursor.C (dispatch): adjust for operator dispatch_result_t
3217         removal. comment out call to update
3218
3219         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3220
3221 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3222
3223         * text3.C:
3224         * text2.C:
3225         * text.C:
3226         * lyxtext.h:
3227         * lyxfunc.C:
3228         * cursor.C:
3229         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3230         (dispatch):
3231
3232         * dispatchresult.h: new file, DispatchResult broken out of
3233         insets/insetbase.h
3234
3235         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3236
3237 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3238
3239         * text.C (rowBreakPoint): put a hack inside #if 0
3240
3241 2003-10-28  André Pönitz  <poenitz@gmx.net>
3242
3243         * lyxtext.h:
3244         * metricsinfo.C:
3245         * paragraph_funcs.C:
3246         * rowpainter.C:
3247         * text.C:
3248         * text2.C: general cleanup (lots of small stuff)
3249
3250 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3251
3252         * text2.C (cursorEnd): simple fix to the "end key goes to one
3253         before the end on last row" bug
3254
3255 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3256
3257         * text.C (backspace): fix the "zombie characters"
3258
3259 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3260
3261         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3262
3263 2003-10-27  André Pönitz  <poenitz@gmx.net>
3264
3265         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3266
3267         * factory.C: handle new InsetPagebreak, InsetLine
3268
3269         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3270         and move handling into new InsetPagebreak, InsetLine
3271
3272         * BufferView_pimpl.C:
3273         * LyXAction.C:
3274         * ParagraphParameters.C:
3275         * ParameterStruct.h:
3276         * lyxfunc.C:
3277         * lyxtext.h:
3278         * paragraph.C:
3279         * paragraph.h:
3280         * paragraph_funcs.C:
3281         * paragraph_pimpl.C:
3282         * rowpainter.C:
3283         * text.C:
3284         * text2.C:
3285         * text3.C: adjust
3286
3287 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3288
3289         * text.C:
3290         * lyxrow_funcs.[Ch]:
3291         * Bidi.C:
3292         * paragraph.C:
3293         * lyxtext.h:
3294         * rowpainter.C:
3295         * text2.C:
3296         * text3.C: remove lastPos uses in favour of Row::endpos
3297
3298 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3299
3300         * undo.C (performUndoOrRedo): fix two crashes by setting a
3301         cursor by hand and reordering some calls. Use bv->lockInset instead
3302         of inset->edit because the latter loses cursor information
3303
3304 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3305
3306         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3307         by Martin
3308         (rowBreakPoint): fix width. change point to point + 1.
3309         Add a missing check.
3310
3311 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3312
3313         * MenuBackend.C:
3314         * lyxfunc.C: fix (at least partly) the problems
3315         with the Nav menu and headers inside branch insets
3316         reported by Kayvan
3317
3318 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3319
3320         * paragraph.C (getChar): add strong asserts
3321
3322         * lyxrow_funcs.C (lastPos): remove hideous hack
3323
3324         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3325         (fill): adjust to that (avoid an infinite loop)
3326
3327 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3328
3329         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3330
3331 2003-10-23  André Pönitz  <poenitz@gmx.net>
3332
3333         * RowList_fwd.h: change list<> to vector<> to gain speed
3334         after suggestion from Alfredo
3335
3336 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3337
3338         * lyxtext.h: move the bidi stuff from here...
3339         * text.C: and here
3340         * text2.C: and here
3341         * Bidi.[Ch]: ... to here
3342
3343 2003-10-23  André Pönitz  <poenitz@gmx.net>
3344
3345         * lyxtext.h:
3346         * text.C (isLastRow, isFirstRow): new functions
3347
3348         * paragraph.h: new width cache member
3349
3350         * rowpainter.C: replace RowList::iterator with Row & where possible
3351
3352         * lyxfunc.C: replace several view()->text with a single call
3353
3354         * toc.C: fix 'unused' warning
3355
3356 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3359         when woring with stream::pos_type
3360         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3361
3362 2003-10-22  André Pönitz  <poenitz@gmx.net>
3363
3364         * lyxtext.h:
3365         * text.C: use Row & instead of RowList::iterator
3366
3367         * lyxrow.h: rename end() to endpos()
3368
3369         * rowpainter.C:
3370         * text.C:
3371         * text2.C: adjust
3372
3373 2003-10-22  Angus Leeming  <leeming@lyx.org>
3374
3375         * buffer.[Ch] (fully_loaded): new member function, returning true
3376         only when the file has been loaded fully.
3377         Used to prevent the premature generation of previews and by the
3378         citation inset to prevent computation of the natbib-style label.
3379
3380         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3381         templates are all set up.
3382
3383         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3384
3385 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3386
3387         * text.C: fixed an "oops" in the "is a bit silly"
3388         bug fix
3389
3390 2003-10-21  André Pönitz  <poenitz@gmx.net>
3391
3392         * FuncStatus.[Ch]: small stuff, whitespace
3393
3394         * lyxfont.[Ch]: operator<<() for debug reasons
3395
3396         * lyxfunc.C:
3397         * lyxrow_funcs.C:
3398         * lyxtext.h: whitespace, spelling
3399
3400         * paragraph.C: naming of variables
3401
3402         * text.C:
3403         * text2.C: small stuff
3404
3405
3406 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3407
3408         * text.C: (1) finish off the inset display() work;
3409         (2) fix the "is a bit silly" bug (accessing char
3410         past end of par).
3411
3412 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3413
3414         * text.C: re-introduce display() for insets, fixing the
3415         various bugs (stretch of line above, math inset
3416         positioning, ...)
3417
3418 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3419
3420         * text.C (rightMargin): remove spurious semicolon
3421
3422         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3423         1415)
3424
3425 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3426
3427         * text3.C: fix one crash due to wrong cursor def
3428
3429 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * vc-backend.C (scanMaster): make the regex static
3432
3433         * LaTeX.C (scanAuxFile): make the regexs static
3434
3435         * text3.C (doInsertInset, dispatch, dispatch):
3436         * text2.C (cursorUp, cursorDown):
3437         * text.C (selectNextWordToSpellcheck):
3438         * BufferView_pimpl.C (dispatch):
3439         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3440
3441 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3442
3443         * lyxsocket.C: include <cerrno>
3444
3445 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3446
3447         * lyxfunc.C (dispatch): remove textcache stuff
3448
3449         * bufferlist.C (release): remove textcache stuff
3450         (closeAll): ditto
3451
3452         * TextCache.C: delete file
3453         * TextCache.h: delete file
3454
3455         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3456
3457         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3458         delete of the bv_->text.
3459         (resizeCurrentBuffer): remove texcache stuff
3460         (workAreaResize): ditto
3461
3462 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3465         action.
3466
3467 2003-10-16  André Pönitz  <poenitz@gmx.net>
3468
3469         * lyxrow.[Ch]:
3470         * paragraph.h:
3471         * rowpainter.C:
3472         * text.C:
3473         * text2.C:
3474         * text3.C: speed up by storing y positions per paragraph plus per-row
3475         offset instead of having a 'full' y position in the row.
3476
3477 2003-10-15  André Pönitz  <poenitz@gmx.net>
3478
3479         * iterators.[Ch]:
3480         * iterators.[Ch]:
3481         * undo.[Ch]: make undo aware of inner insets
3482
3483 2003-10-14  Angus Leeming  <leeming@lyx.org>
3484
3485         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3486         static member functions LyX::ref() and LyX::cref.
3487         (lastfiles): new accessor functions for the new lastfiles_ member var.
3488         (addLyXView, views_): add a new LyXView to the list of views_.
3489         (updateInset): loop over all LyXViews to call their own updateInset
3490         member function, returning a pointer to the Buffer owning the inset.
3491
3492         * BufferView_pimpl.C (loadLyXFile):
3493         * MenuBackend.C (expandLastfiles):
3494         * bufferlist.C (MenuWrite, QuitLyX):
3495         lastfiles is no longer a global variable.
3496         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3497
3498         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3499         static function. Access through LyX::cref().emergencyCleanup().
3500
3501 2003-10-14  André Pönitz  <poenitz@gmx.net>
3502
3503         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3504
3505         * undo.[Ch]: restoring part of 'undo in insets'
3506
3507         * Makefile.am:
3508         * undo_funcs.[Ch]: merge with undo.[Ch]
3509
3510         * tabular.C: small cleansing stuff
3511
3512 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3513
3514         * paragraph_funcs.C (readParToken): report unknown insets as error
3515         boxes. Use the outer paragraph as location (also for unknown
3516         tokens).
3517
3518         * factory.C (readInset): do not abort on reading an unknown inset.
3519         Eat it and return 0.
3520
3521 2003-10-13  Angus Leeming  <leeming@lyx.org>
3522
3523         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3524
3525         * lyxrc.C: displayTranslator is now a function,
3526         declared in GraphicsTypes.h.
3527
3528 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3529
3530         * format.C: new placeholder $$a to pass the socket address.
3531
3532         * bufferlist.[Ch]: new function getBufferFromTmp.
3533
3534         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3535           files in the temporary dir.
3536
3537 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3538
3539         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3540
3541         * Makefile.am: add lyxsocket.[Ch].
3542
3543         * lyx_main.C (error_handler): handle SIGPIPE.
3544
3545 2003-10-13  André Pönitz  <poenitz@gmx.net>
3546
3547         * BufferView_pimpl.C:
3548         * lyxtext.h:
3549         * text.C:
3550         * text2.C:
3551         * text3.C:
3552         * undo_funcs.[Ch]: use paroffset_type instead of
3553           ParagraphList::iterators to prevent multiple conversion
3554           (and get a more robust interface)
3555
3556 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3559         * lyxtext.h: ditto
3560         * text3.C (dispatch): ditto
3561
3562 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3563
3564         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3565         move the onlyfile, use onlyfile instead of foundfile in a couple
3566         of places.
3567
3568         * DepTable.C (update): flush the error stream a bit more
3569
3570 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3571
3572         * lyxserver.C (callback): adjust
3573
3574         * lyxfunc.C (getStatus): add a missing brace in commented code
3575         (ensureBufferClean): reindent
3576         (dispatch): delete version taking a string
3577
3578 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * LaTeX.C (deplog): move found file handlig from here...
3581         (handleFoundFile): .. to new function here.
3582         (deplog): make sure to discover several files mentioned on the
3583         same log line.
3584
3585 2003-10-10  André Pönitz  <poenitz@gmx.net>
3586
3587         * lyxfunc.C:
3588         * lyxtext.h:
3589         * tabular.C:
3590         * text.C:
3591         * text2.C:
3592         * text3.C: fix some of the tabular crashes
3593
3594 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3595
3596         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3597
3598         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3599
3600 2003-10-09  André Pönitz  <poenitz@gmx.net>
3601
3602         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3603
3604         * BufferView.C:
3605         * BufferView_pimpl.C:
3606         * bufferview_funcs.C:
3607         * lyx_cb.C:
3608         * lyxcursor.C:
3609         * lyxfind.C:
3610         * lyxfunc.C:
3611         * lyxtext.h:
3612         * text.C:
3613         * text2.C:
3614         * text3.C:
3615         * text_funcs.[Ch]:
3616         * textcursor.[Ch]:
3617         * undo_funcs.C: adjust
3618
3619 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3620
3621         * text2.C (incrementItemDepth): new function, use a backtracking
3622         algorithm to discover the correct item depth.
3623         (resetEnumCounterIfNeeded): new function, use a backtracking
3624         algorithm to discover if counter reset is needed.
3625         (setCounter): use them. Simplify a bit. Add different labels for
3626         different item depths for itemize.
3627
3628         * paragraph.C (Paragraph): remove initialization of enumdepth
3629         (operator=): ditto
3630
3631         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3632         enumerate and itemize. Change the type of itemdepth to signed char.
3633
3634 2003-10-08  André Pönitz  <poenitz@gmx.net>
3635
3636         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3637           thing assignable.
3638         * text.C:
3639         * text2.C: adjust
3640
3641         * tabular.[Ch]: fix crash after 'row-insert'
3642
3643 2003-10-08  Angus Leeming  <leeming@lyx.org>
3644
3645         Fix doxygen warnings.
3646
3647         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3648         Remove CutAndPaste:: prefix from header file declaration.
3649
3650         * LColor.h (fill): remove LColor:: prefix from declaration.
3651
3652         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3653         use lyx::depth_type rather than Paragraph::depth_type so that
3654         header file and .C file match.
3655
3656         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3657
3658         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3659         * aspell.C: \file aspell_local.C -> \file aspell.C
3660         * gettext.C: \file gettext.C -> \file src/gettext.C
3661         * gettext.h: \file gettext.h -> \file src/gettext.h
3662         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3663         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3664         * text.C: \file text.C -> \file src/text.C
3665
3666         * toc.C: move comment so that doxygen is not confused.
3667
3668 2003-10-07  Angus Leeming  <leeming@lyx.org>
3669
3670         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3671
3672 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3673
3674         * aspell.C:
3675         * aspell_local.h: add forgotten std::string's.
3676
3677 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3678
3679         * LaTeXFeatures.C:
3680         * LyXAction.C:
3681         * factory.C:
3682         * lfuns.h:
3683         * lyxfunc.C:
3684         * text3.C: The Box patch. Fancybox support, minipage, parbox
3685
3686 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3687
3688         * CutAndPaste.h:
3689         * DepTable.h:
3690         * FloatList.h:
3691         * LaTeXFeatures.h:
3692         * ParagraphParameters.h:
3693         * TextCache.h:
3694         * Thesaurus.h:
3695         * bufferlist.h:
3696         * exporter.h:
3697         * importer.h:
3698         * lastfiles.h:
3699         * lyxfind.h:
3700         * lyxfont.h:
3701         * lyxlex.h:
3702         * lyxtextclasslist.h:
3703         * messages.h:
3704         * paragraph.h:
3705         * paragraph_pimpl.C:
3706         * textcursor.h: add <string> and other small fixes to make Lars'
3707         std::string patch compile with STLport.
3708
3709 2003-10-06  Angus Leeming  <leeming@lyx.org>
3710
3711         * LColor.h: Add missing #include <string>.
3712
3713 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * All most all file in all subdirs: Make <string> be the prefered
3716         way of getting to std::string, add using declarations.
3717
3718 2003-10-06  André Pönitz  <poenitz@gmx.net>
3719
3720         * metricsinfo.C: initialize LyXFont before changing attribute.
3721         (fixes the 'math in \emph is upright' bug)
3722
3723 2003-10-06  André Pönitz  <poenitz@gmx.net>
3724
3725         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3726
3727 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3728
3729         * graph.C:
3730         * paragraph_pimpl.C: Small fixes to build using STLport
3731
3732 2003-10-02  André Pönitz  <poenitz@gmx.net>
3733
3734         * lyxfunc.C:
3735         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3736
3737 2003-10-01  André Pönitz  <poenitz@gmx.net>
3738
3739         * factory.C: assert early
3740
3741 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * lyx_main.C: remove the global debug object
3744
3745         * debug.h: adjust for new debugstream
3746
3747         * debug.C: adjust for new debugstream and keep the global debug
3748         object here.
3749
3750 2003-09-22  Angus Leeming  <leeming@lyx.org>
3751
3752         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3753         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3754         an incomplete class LyXFont.
3755
3756 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3757
3758         * factory.C: bug fix in branches
3759
3760 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * lyxfunc.C (processKeySym): adjust
3763         (dispatch): adjust
3764         (dispatch): change arg name from ev to func, adjust
3765         (sendDispatchMessage): ditto
3766
3767         * lyx_main.C (defaultKeyBindings): adjust keybindings
3768         (deadKeyBindings): ditto
3769
3770         * kbsequence.C (addkey): return a FuncRequest
3771
3772         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3773
3774         * kbmap.C (bind): take a FuncRequest as arg, adjust
3775         (read): adjust
3776         (lookup): adjust
3777         (defkey): change to take a FuncRequest as arg, adjust
3778         (findbinding): take a FuncRequest as arg, adjust.
3779
3780         * funcrequest.h (operator=): added
3781
3782         * funcrequest.C (FuncRequest): default kb_action changed from
3783         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3784
3785         * buffer.C (dispatch): simplify
3786         (dispatch): adjust to take a FuncRequest as arg, adjust
3787
3788         * boost.C (assertion_failed): change assertion message slightly
3789
3790         * ToolbarBackend.C (read): simplify
3791
3792         * MenuBackend.C (binding): adjust call to findbinding, add a
3793         message if no binding is found.
3794         (read): simplify
3795         (expandToc): correct by adding a empty FuncRequest
3796
3797         * LyXAction.C: include <boost/assert.hpp>
3798         (isPseudoAction): delete function
3799         (LookupFunc): change name to...
3800         (lookupFunc): this. change return type to FuncRequest.
3801         (getActionName): take kb_action as arg, simplify
3802         (funcHasFlag): add an assert, simplify.
3803
3804 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * toc.C (action): return a FuncRequest, simplify
3807
3808         * lyxfunc.C (processKeySym): adjust
3809         (getStatus): delete version that takes an int.
3810         (getStatus): adjust
3811         (dispatch): delete version that takes action as int
3812         (dispatch): adjust
3813         (sendDispatchMessage): simplify and adjust
3814
3815         * funcrequest.C (getArg): take unsigned int as arg
3816
3817         * ToolbarBackend.C (read): adjust
3818         (add): delete version that takes func as a string.
3819         (getIton): take a FuncRequest as arg
3820
3821         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3822         action.
3823
3824         * MenuBackend.C (MenuItem): add a new construct that only takes a
3825         Kind, simplify the constructor use for submenus.
3826         (add): adjust
3827         (expandLastfiles): adjust
3828         (expandDocuments): adjust
3829         (expandFormats): adjust
3830         (expandFloatListInsert): adjust
3831         (expandFloatInsert): adjust
3832         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3833
3834         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3835         Remove class variables lyx_pseudo_map and lyx_arg_map
3836
3837         * LyXAction.C (searchActionArg): delete function
3838         (getPseudoAction): delete function
3839         (retrieveActionArg): delete function
3840         (LookupFunc): make it return kb_action, simplify.
3841         (getActionName): simplify
3842
3843         * factory.C (createInset): fix new bug
3844
3845 2003-09-19  Angus Leeming  <leeming@lyx.org>
3846
3847         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3848         masterFilename_ parameter in the include inset.
3849
3850         * factory.C (createInset): changes due to the changes to InsetInclude.
3851
3852 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3853
3854         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3855
3856 2003-09-18  Angus Leeming  <leeming@lyx.org>
3857
3858         * buffer.C:
3859         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3860         Inset::fillWithBibKeys.
3861         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3862
3863 2003-09-18  Angus Leeming  <leeming@lyx.org>
3864
3865         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3866         variables.
3867         (ctor): pass and store a 'Buffer const &'
3868         (buffer): new member function.
3869
3870         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3871         '*this' to the LaTeXFeatures ctor.
3872
3873 2003-09-18  Angus Leeming  <leeming@lyx.org>
3874
3875         * LColor.h:
3876         * lyxfont.C:
3877         * lyxfont.h:
3878         * lyxtext.h:
3879         * text.C: rename EnumLColor as LColor_color.
3880
3881 2003-09-18  Angus Leeming  <leeming@lyx.org>
3882
3883         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3884         remove #include "insets/insetbase.h" from cursor.h.
3885
3886 2003-09-18  Angus Leeming  <leeming@lyx.org>
3887
3888         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3889         InsetOld_code to remove #include "inset.h".
3890
3891         * iterators.C: add #include "insets/inset.h"
3892
3893 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3894
3895         * BufferView.C: remove more locking stuff that apparently doesn't
3896         do anything sensible.
3897
3898 2003-09-16  André Pönitz  <poenitz@gmx.net>
3899
3900         * paragraph.[Ch]:
3901         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3902           performance boost.
3903
3904 2003-09-16  Angus Leeming  <leeming@lyx.org>
3905
3906         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3907
3908         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3909         arg/return type.
3910
3911         * paragraph.h: remove #include "lyxfont.h". Forward declare
3912         LyXFont_size.
3913
3914 2003-09-16  Angus Leeming  <leeming@lyx.org>
3915
3916         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3917         of support/textutils.h.
3918         (isWord): move the contents of support/textutils.h's IsWordChar here.
3919
3920         * buffer.C:
3921         * lyxfind.C:
3922         * rowpainter.C:
3923         * text.C:
3924         * text2.C: add #include "paragraph.h".
3925
3926         * rowpainter.C:
3927         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3928
3929 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * main.C:
3932         * lyx_main.C:
3933         * lyx_cb.C:
3934         * buffer.C:
3935         * LaTeX.C: use namespace alias for lyx::support::os
3936
3937 2003-09-16  Angus Leeming  <leeming@lyx.org>
3938
3939         * bufferparams.C:
3940         * bufferview_funcs.C:
3941         * factory.C:
3942         * lyxfunc.C:
3943         * paragraph_pimpl.C:
3944         * rowpainter.C:
3945         * text.C: add #include "LColor.h".
3946
3947 2003-09-16  Angus Leeming  <leeming@lyx.org>
3948
3949         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3950         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3951         return LyXFont &.
3952         Store the FontBits::color variable as an int rather than as an
3953         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3954         file.
3955
3956         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3957         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3958         string calls together.
3959
3960         * lyxrc.C: add #include "LColor.h".
3961
3962 2003-09-15  Angus Leeming  <leeming@lyx.org>
3963
3964         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3965         a cow_ptr.
3966
3967 2003-09-15  Angus Leeming  <leeming@lyx.org>
3968
3969         * LColor.h: add an EnumLColor wrapper for LColor::color.
3970
3971         * lyxfont.[Ch] (color, setColor, realColor):
3972         * lyxtext.h, text.C (backgroundColor):
3973         pass EnumLColor args to/from the functions, rather than LColor::color
3974         ones.
3975
3976         * lyxfont.h:
3977         * lyxtext.h: forward declare EnumLColor.
3978
3979         * lyx_main.C: add #include "LColor.h".
3980
3981 2003-09-15  Angus Leeming  <leeming@lyx.org>
3982
3983         * .cvsignore: add lyx-gtk.
3984
3985 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * Chktex.C
3988         * LaTeX.C
3989         * LaTeXFeatures.C
3990         * ParagraphParameters.C
3991         * Spacing.C
3992         * buffer.C
3993         * bufferparams.C
3994         * bufferview_funcs.C
3995         * chset.C
3996         * counters.C
3997         * funcrequest.C
3998         * lyxfont.C
3999         * lyxgluelength.C
4000         * lyxlength.C
4001         * paragraph.C
4002         * paragraph_funcs.C
4003         * text3.C
4004         * vc-backend.C: remove usage of STRCONV
4005
4006 2003-09-15  Angus Leeming  <leeming@lyx.org>
4007
4008         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4009         explicitly define the color passed to the painter.
4010
4011 2003-09-15  Angus Leeming  <leeming@lyx.org>
4012
4013         * bufferparams.C (BufferParams): reorder member initializers to avoid
4014         compiler warning.
4015
4016 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4017
4018         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4019         * text.C (updateRowPositions): remove an unusual nop
4020
4021 2003-09-12  André Pönitz  <poenitz@gmx.net>
4022
4023         * BufferView_pimpl.C:
4024         * Bullet.C:
4025         * layout.h:
4026         * lyxfunc.C:
4027         * lyxlayout.[Ch]:
4028         * lyxtextclass.C:
4029         * rowpainter.C:
4030         * text.C:
4031         * text2.C:
4032         * Counters.[Ch]: finish the 'automatic counters' job
4033
4034 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4035
4036         * aspell.C: include <boost/assert.cpp> (compile fix)
4037
4038 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4039
4040         * boost.C (assertion_failed): use lyx::support::abort instead of
4041         assert.
4042
4043 2003-09-10  Angus Leeming  <leeming@lyx.org>
4044
4045         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4046         with their _fwd progeny.
4047
4048 2003-09-09  Angus Leeming  <leeming@lyx.org>
4049
4050         134 files throughtout the source tree: replace 'using namespace abc;'
4051         directives with the appropriate 'using abc::xyz;' declarations.
4052
4053 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4054
4055         * boost.C (emergencyCleanup): moved here from LAssert.c
4056         (assertion_failed): new function, called by BOOST_ASSERT
4057
4058         * several files: change Assert to BOOST_ASSERT
4059
4060 2003-09-09  Angus Leeming  <leeming@lyx.org>
4061
4062         * buffer.[Ch]: Add an Impl class and move Buffer's member
4063         variables into it. As a result move several header files out of
4064         buffer.h.
4065
4066         Add header files to lots of .C files all over the tree as a result.
4067
4068 2003-09-09  Angus Leeming  <leeming@lyx.org>
4069
4070         * buffer.[Ch]: make Buffer's member variables private. Add
4071         accessor functions.
4072
4073         Lots of changes all over the tree as a result.
4074
4075 2003-09-08  Angus Leeming  <leeming@lyx.org>
4076
4077         * graph.C: #include <config.h>.
4078
4079 2003-09-08  Angus Leeming  <leeming@lyx.org>
4080
4081         * BranchList.C:
4082         * BufferView.C:
4083         * BufferView_pimpl.C:
4084         * CutAndPaste.C:
4085         * DepTable.C:
4086         * LaTeX.C:
4087         * LaTeXFeatures.C:
4088         * LyXAction.C:
4089         * MenuBackend.C:
4090         * TextCache.C:
4091         * aspell.C:
4092         * buffer.C:
4093         * bufferlist.C:
4094         * changes.C:
4095         * chset.C:
4096         * converter.C:
4097         * counters.C:
4098         * debug.C:
4099         * graph.C:
4100         * ispell.C:
4101         * lyx_cb.C:
4102         * lyxfind.C:
4103         * lyxfunc.C:
4104         * lyxlex_pimpl.C:
4105         * lyxrc.C:
4106         * lyxrow.C:
4107         * paragraph.C:
4108         * rowpainter.C:
4109         * texrow.C:
4110         * text.C:
4111         * text2.C:
4112         * toc.C: remove redundant using directives.
4113
4114 2003-09-07  Angus Leeming  <leeming@lyx.org>
4115
4116         * LaTeXFeatures.h: remove #include "support/types.h".
4117         * ToolbarBackend.h: remove #include <algorithm>.
4118         * changes.h: remove #include <ctime>.
4119         * debug.h: remove #include <iosfwd>.
4120         * graph.h: remove #include "support/std_string.h".
4121         * lyx_main.h: remove #include <csignal>.
4122         * lyxlex_pimpl.h: remove #include <fstream>.
4123         * sgml.h: remove #include <algorithm>, <utility>.
4124         * toc.h: remove #include "support/std_ostream.h".
4125         Add #include <iosfwd>.
4126
4127 2003-09-07  Angus Leeming  <leeming@lyx.org>
4128
4129         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4130
4131         * converter.h: forward declare LatexRunParams.
4132         * encoding.h: remove #include "lyxrc.h".
4133         * lyxtext.h: remove #include "LColor.h".
4134         * lyxtextclass.h: remove #include "support/types.h".
4135         * trans.h: remove #include "tex-accent.h".
4136         * trans_mgr.h: remove #include "tex-accent.h".
4137         * insets/inset.h: remove #include "support/types.h", <vector>.
4138         * insets/insetcollapsable.h: remove #include "LColor.h".
4139         * insets/insetinclude.h: remove #include "dimension.h".
4140         * insets/insetlatexaccent.h: remove #include "dimension.h".
4141         * insets/insetoptarg.h:: remove #include "insettext.h".
4142         * insets/insettext.h: remove #include "dimension.h",
4143         <boost/shared_ptr.hpp>
4144
4145         * insets/renderers.h: add #include "dimension.h".
4146         * insets/updatableinset.h: add #include "support/types.h".
4147
4148         * many .C files: Associated changes.
4149
4150 2003-09-06  Angus Leeming  <leeming@lyx.org>
4151
4152         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4153         one, inside testInvariant.
4154
4155         * PrinterParams.C: new file.
4156         * PrinterParams.[Ch]: move the function bodies out of line.
4157
4158 2003-09-06  Angus Leeming  <leeming@lyx.org>
4159
4160         * ParagraphParameters.h: forward declare ParameterStruct rather than
4161         including its header file.
4162         (depth): moved out-of-line.
4163
4164 2003-09-06  Angus Leeming  <leeming@lyx.org>
4165
4166         * BufferView_pimpl.h:
4167         * kbmap.h:
4168         * kbsequence.h:
4169         * lyxfunc.h: forward declare LyXKeySym rather than
4170         #include "frontends/LyXKeySym.h".
4171
4172         * BufferView_pimpl.C:
4173         * kbmap.C:
4174         * kbsequence.C:
4175         * lyxfunc.C: associated changes.
4176
4177 2003-09-06  Angus Leeming  <leeming@lyx.org>
4178
4179         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4180         As a result, can remove the #include "insets/inset.h" from BufferView.h
4181
4182 2003-09-06  Angus Leeming  <leeming@lyx.org>
4183
4184         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4185         As a result, can remove the #include "insets/inset.h" from BufferView.h
4186
4187 2003-09-06  Angus Leeming  <leeming@lyx.org>
4188
4189         * buffer_funcs.C:
4190         * buffer.h:
4191         * bufferlist.C:
4192         * BufferView.C:
4193         * bufferview_funcs.C:
4194         * BufferView_pimpl.C:
4195         * CutAndPaste.C:
4196         * lyx_cb.C:
4197         * lyxfunc.C:
4198         * paragraph.h:
4199         * ParagraphParameters.C:
4200         * tabular.C:
4201         * text3.C:
4202         * toc.C:
4203         * undo_funcs.C:
4204         * frontends/controllers/ControlDocument.C:
4205         * insets/insetcaption.C: rearrange the #includes into some sort of
4206         coherent order.
4207
4208         * buffer.h: remove #includes ErrorList.h, undo.h
4209
4210 2003-09-06  Angus Leeming  <leeming@lyx.org>
4211
4212         * support/types.h: add a 'depth_type' typedef, used to store the
4213         nesting depth of a paragraph.
4214
4215         * paragraph.h:
4216         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4217         defining explicitly.
4218
4219         * buffer.h:
4220         * paragraph_funcs.h:
4221         * ParagraphParameters.h:
4222         * sgml.h: use lyx::depth_type rather than Paragraph or
4223         ParameterStruct's depth_type.
4224
4225         * buffer.h
4226         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4227
4228         * BufferView.C:
4229         * BufferView_pimpl.C:
4230         * CutAndPaste.C:
4231         * ParagraphParameters.C:
4232         * buffer_funcs.C:
4233         * bufferlist.C:
4234         * bufferview_funcs.C:
4235         * lyx_cb.C:
4236         * lyxfunc.C:
4237         * tabular.C:
4238         * text3.C:
4239         * toc.C:
4240         * undo_funcs.C:
4241         * frontends/LyXView.C:
4242         * frontends/controllers/ControlDocument.C:
4243         * frontends/controllers/ControlErrorList.C:
4244         * insets/insetbibitem.C:
4245         * insets/insetbranch.C:
4246         * insets/insetcaption.C:
4247         * insets/insetcollapsable.C:
4248         * insets/insetenv.C:
4249         * insets/insetert.C:
4250         * insets/insetfloat.C:
4251         * insets/insetfoot.C:
4252         * insets/insetfootlike.C:
4253         * insets/insetnewline.C:
4254         * insets/insetquotes.C:
4255         * insets/insettabular.C:
4256         * insets/insettext.C:
4257         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4258
4259         * frontends/controllers/ControlChanges.C: #include "changes.h".
4260
4261 2003-09-06  Angus Leeming  <leeming@lyx.org>
4262
4263         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4264         than #including paragraph.h.
4265
4266         * ParagraphList.h:
4267         * RowList.h: deleted. Superfluous.
4268
4269         * CutAndPaste.h:
4270         * iterators.h:
4271         * lyxcursor.h:
4272         * lyxtext.h:
4273         * text_funcs.h:
4274         * undo.h:
4275         * undo_funcs.h:
4276         * insets/inset.h:
4277         * insets/insettext.h: use ParagraphList_fwd.h rather than
4278         ParagraphList.h.
4279
4280         * paragraph.h: don't forward declare ParagraphList.
4281
4282         * buffer.h:
4283         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4284         rather than ParagraphList.h. paragraph.h is still needed for the
4285         Paragraph::depth_type parameters.
4286
4287         * textcursor.h: enable it to compile stand-alone in light of the
4288         above changes.
4289
4290         * bufferview_funcs.C:
4291         * iterators.C:
4292         * lyxfunc.C:
4293         * lyxrow_funcs.C:
4294         * paragraph.C:
4295         * rowpainter.C:
4296         * text.C:
4297         * text2.C:
4298         * text3.C:
4299         * text_funcs.C:
4300         * textcursor.C:
4301         * undo.C:
4302         * frontends/controllers/ControlParagraph.C:
4303         * frontends/controllers/ControlTabular.C:
4304         * insets/insetmarginal.C:
4305         * insets/insetminipage.C:
4306         * insets/insetnote.C:
4307         * insets/insetoptarg.C: add header files needed to compile again.
4308
4309 2003-09-06  Angus Leeming  <leeming@lyx.org>
4310
4311         * RowList_fwd.h: new file, forward-declaring Row rather than
4312         #including lyxrow.h.
4313
4314         * lyxrow_funcs.h:
4315         * lyxtext.h:
4316         * paragraph.h:
4317         * insets/insettext.h: use it instead of RowList.h
4318
4319         * bufferview_funcs.C:
4320         * lyxfunc.C:
4321         * lyxrow_funcs.C:
4322         * paragraph.C:
4323         * rowpainter.C:
4324         * text.C:
4325         * text2.C:
4326         * text3.C: #include "RowList.h".
4327
4328 2003-09-05  Angus Leeming  <leeming@lyx.org>
4329
4330         * factory.C (createInset):
4331         * vspace.C (c-tor): replace sscanf call with an istringstream.
4332         * ispell.C: re-add missing HP/UX headers.
4333         * lyxserver.C: re-add missing  os2 headers.
4334
4335 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4336
4337         * BranchList.C:
4338         * graph.C:
4339         * ispell.C:
4340         * lastfiles.C:
4341         * lyx_cb.C:
4342         * lyxserver.C:
4343         * texrow.C:
4344         * text3.C: re-add missing system headers, needed for 2.95.2.
4345
4346 2003-09-05  Angus Leeming  <leeming@lyx.org>
4347
4348         Changes most place everywhere due to the removal of using directives
4349         from support/std_sstream.h.
4350
4351 2003-09-05  Angus Leeming  <leeming@lyx.org>
4352
4353         Replace LString.h with support/std_string.h,
4354         Lsstream.h with support/std_sstream.h,
4355         support/LIstream.h with support/std_istream.h,
4356         support/LOstream.h with support/std_ostream.h.
4357
4358         Changes resulting throughout the tree.
4359
4360 2003-09-05  Angus Leeming  <leeming@lyx.org>
4361
4362         * sgml.h: ensure that the header file can be compiled stand-alone.
4363         * *.C: strip out redundant #includes. (320 in total.)
4364
4365 2003-09-04  Angus Leeming  <leeming@lyx.org>
4366
4367         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4368         here (from getPackages).
4369
4370         * debug.[Ch]: add a new EXTERNAL tag.
4371
4372 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4373
4374         * text2.C (cursorEnd): simplify
4375         (setCursor): adjust
4376         (getColumnNearX): adjust
4377
4378         * text.C (computeBidiTables): adjust
4379         (fill): adjust
4380
4381         * rowpainter.C (paintChars): adjust
4382         (paintSelection): adjust
4383         (paintChangeBar): adjust
4384         (paintText): adjust
4385
4386         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4387         lastPos instead.
4388         (numberOfSeparators): adjust
4389
4390 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4391
4392         * LyXAction.C:
4393         * box.[Ch]:
4394         * lfuns.h:
4395         * lyxfunc.C:
4396         * text3.C: Restricts the mouse click functionality
4397         of insets like bibtex, include, toc and floatlist to the visible
4398         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4399         up the dialogs. Cursor has to be in front of the inset (i.e.
4400         start of row) for this to function.
4401
4402 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4403
4404         * bufferview_funcs.C (currentState): output row information
4405
4406 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4407
4408         * bufferview_funcs.C (currentState): output paragraph position
4409
4410 2003-09-04  Angus Leeming  <leeming@lyx.org>
4411
4412         * FloatList.h: move out #include "Floating.h".
4413         * LaTeX.h: move out #include "DepTable.h".
4414         * LyXAction.h: move out #include "funcrequest.h".
4415         * buffer.h: move out #include "author.h", "iterators.h".
4416         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4417         * lyx_main.h: move out #include "errorlist.h".
4418         * lyxfunc.h: move out #include "FuncStatus.h".
4419         * lyxtext: move out #include "lyxcursor.h".
4420         * paragraph_pimpl.h: move out #include "counters.h".
4421
4422 2003-09-03  Angus Leeming  <leeming@lyx.org>
4423
4424         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4425         preamble_snippets list, enabling us to add snippets to the preamble
4426         only if the snippet was not there already.
4427
4428 2003-09-04  Angus Leeming  <leeming@lyx.org>
4429
4430         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4431
4432 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4435         update
4436
4437 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4438
4439         * BranchList.C: point fix, earlier forgotten
4440
4441 2003-09-02  Angus Leeming  <leeming@lyx.org>
4442
4443         * box.C (contains): renamed from 'contained' after a fantastic
4444         amount of hot air.
4445
4446 2003-09-02  John Levon  <levon@movementarian.org>
4447
4448         * BufferView.C:
4449         * lyxcursor.h:
4450         * lyxcursor.C:
4451         * lyxfunc.C:
4452         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4453
4454 2003-09-02  John Levon  <levon@movementarian.org>
4455
4456         * text2.C: simplification of cursorEnd(), including partial
4457         fix for bug 1376
4458
4459 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * buffer.C (readFile): add a space
4462
4463 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4464
4465         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4466
4467 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * buffer.C (readFile): new function, take a filename and a
4470         ParagraphList::iterator
4471         (readFile): adjust
4472         (readFile): adjust, make it private. don't use setStream, make
4473         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4474         always contain the filename.
4475
4476         * BufferView.C (insertLyXFile): simplify and make it work for
4477         gzipped files.
4478
4479 2003-08-30  John Levon  <levon@movementarian.org>
4480
4481         * Makefile.am: fix dist (from Kayvan)
4482
4483 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * most files: change to use const Buffer refs
4486
4487 2003-08-27  André Pönitz  <poenitz@gmx.net>
4488
4489         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4490         on top of ownerPar().
4491
4492 2003-08-27  John Levon  <levon@movementarian.org>
4493
4494         * funcrequest.C: properly initialise POD members
4495
4496 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4497
4498         * lyxtext.h (top_y): move top_y from here
4499         * text.C:
4500         * text2.C:
4501         * text3.C:
4502         * BufferView.[Ch]:
4503         * BufferView_pimpl.[Ch]: to here
4504         * frontends/screen.C:
4505         * insets/insettabular.C:
4506         * insets/insettext.C: adjust
4507         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4508
4509 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4510
4511         * BufferView.[Ch]:
4512         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4513
4514 2003-08-26  André Pönitz  <poenitz@gmx.net>
4515
4516         * paragraph_func.[Ch] (outerPar): new function
4517
4518         * paragraph.C:
4519         * paragraph_funcs.C:
4520         * paragraph_funcs.h:
4521         * paragraph_pimpl.C:
4522         * text2.C: remove Inset::par_owner
4523
4524 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4525
4526         * lyxrow_funcs.C:
4527         * lyxtext.h:
4528         * text.C:
4529         * text2.C: eliminates the needFullRow/display() stuff
4530         altogether, putting the logic in metrics/draw in the insets.
4531
4532 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * text2.C (redoParagraphInternal, redoParagraphs):
4535         * text.C (redoParagraph): add a call to updateRowPositions at the
4536         end of each 'metrics-like' call. Remove all others.
4537         (getRow): remove the 'y-computing' version.
4538         (getRowNearY): do not compute nor return the real y. Solve the
4539         'y < 0' problem and simplify.
4540
4541 2003-08-22  Angus Leeming  <leeming@lyx.org>
4542
4543         * *.[Ch]: clean-up of licence and author blurbs.
4544         Also move config.h out of a few .h files and into a few .C files.
4545
4546 2003-08-22  André Pönitz  <poenitz@gmx.net>
4547
4548         * lyxrow.[Ch]: add x_ and *fill_ members
4549
4550         * lyxtext.h:
4551         * text.C:
4552         * rowpainter.C:
4553         * text2.C: adjust/remove prepareToPrint() calls
4554
4555 2003-08-22  André Pönitz  <poenitz@gmx.net>
4556
4557         * lyxrow.[Ch]: add  end_ member
4558
4559         * lyxrow_funcs.C: use LyXRow::end_
4560
4561         * lyxtext.h (singleWidth): add LyXFont parameter
4562
4563         * rowpainter.C:
4564         * text2.C: adjust LyXText::singleWidth() calls
4565
4566         * text.C (redoParagraph): simplify row breaking logic
4567
4568
4569 2003-08-19  André Pönitz  <poenitz@gmx.net>
4570
4571         * funcrequest.C: initialize button_ member
4572
4573         * text3.C:
4574         * rowpainter.[Ch]: interface consolidation
4575
4576 2003-08-18  André Pönitz  <poenitz@gmx.net>
4577
4578         * BufferView.C:
4579         * BufferView_pimpl.C:
4580         * lyxfind.C:
4581         * paragraph_funcs.C:
4582         * rowpainter.C:
4583         * text3.C: remove LyXScreen::draw() and fitCursor calls
4584
4585         * BranchList.h: remove spurious semicolons
4586
4587         * MenuBackend.C: fix branchlist related crash
4588
4589 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4590
4591         * BranchList.[Ch]:
4592         * InsetList.[Ch]:
4593         * LColor.[Ch]:
4594         * LyXAction.C:
4595         * Makefile.am:
4596         * MenuBackend.[Ch]:
4597         * bufferparams.[Ch]:
4598         * factory.C:
4599         * lfuns.h:
4600         * lyxfunc.C:
4601         * text3.C: implements the 'branch inset'
4602         idea. This allows the output of various versions of a document
4603         from a single source version, selectively outputing or suppressing
4604         output of parts of the text.
4605         This implementation contains a 'branch list editor' in a separate
4606         tab of the document settings dialog. Branches are user definable
4607         and have a "display colour" to distinguish them on-screen.
4608
4609         ColorHandler was somewhat cleaned up.
4610         (1) make possible a dynamically growing LColor list by allowing
4611         the graphic context cache to grow along (vector);
4612         (2) eliminate an IMHO unnecessary step in colour allocation.
4613
4614 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4615
4616         * BufferView_pimpl.C: compile fix
4617
4618 2003-08-15  André Pönitz  <poenitz@gmx.net>
4619
4620         * rowpainter.C: remove extra metrics calls
4621
4622         * lyxtext.h: merge the two constructors into a single one,
4623           pass reference to owner's par list
4624
4625         * BufferView_pimpl.C:
4626         * text.C:
4627         * text2.C: adjust
4628
4629 2003-08-15  André Pönitz  <poenitz@gmx.net>
4630
4631         * lyxrow_funcs.[Ch]:
4632         * lyxtext.h:
4633         * paragraph.h:
4634         * paragraph_funcs.C:
4635         * rowpainter.C:
4636         * text.C:
4637         * text2.C:
4638         * text3.C:
4639         * text_funcs.C: split LyXText::rowlist_ into individual
4640         Paragraph::rows_ chunks
4641
4642         * BufferView.[Ch]:
4643         * BufferView_pimpl.[Ch]:
4644         * lyxfind.C:
4645         * lyxtext.h:
4646         * text3.C: remove toggleSelection()
4647
4648 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4649
4650         * bufferlist.C: beautify two alerts (shorter text of buttons)
4651         * buffer.C: Remove redundant ' ' from message
4652         * tabular.h:
4653         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4654         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4655         rename VALIGN_CENTER to VALIGN_MIDDLE
4656
4657 2003-08-11  André Pönitz  <poenitz@gmx.net>
4658
4659         * lyxtext.h (getPar):
4660         * text.C: new function
4661
4662 2003-08-11  André Pönitz  <poenitz@gmx.net>
4663
4664         * Makefile.am:
4665         * tracer.[Ch]: remove unneeded files
4666
4667         * InsetList.[Ch]: remove resizeInsetsLyXText()
4668
4669         * lyxtext.h:
4670         * text.C:
4671         * text2.C:
4672         * text3.C: merge insertParagraphs() and appendParagraph()
4673         remove breakAgain(), update()
4674
4675         * BufferView_pimpl.[Ch]:
4676         * bufferview_funcs.[Ch]:
4677         * lyxfunc.C:
4678         * paragraph.[Ch]:
4679         * rowpainter.C:
4680         * tabular.C: adjust after text & InsetList changes.
4681
4682 2003-08-08  André Pönitz  <poenitz@gmx.net>
4683
4684         * text.C (insertChar, backspace): replace rowlist fiddling
4685         with rebreak of full par
4686
4687         * lyxtext.h:
4688         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4689         checkParagraph, updateInset): removed
4690
4691 2003-08-07  André Pönitz  <poenitz@gmx.net>
4692
4693         * paragraph.C:
4694         * text3.C: merge some LFUN handlers, remove dead code
4695
4696 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4697
4698         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4699
4700 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * text2.C (DEPM): fix part of bug 1255 and 1256
4703
4704 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4705
4706         * BufferView_pimpl.C (workAreaDispatch): change to use
4707         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4708         that are no mouse related.
4709
4710 2003-08-05  André Pönitz  <poenitz@gmx.net>
4711
4712         * BufferView.[Ch]:
4713         * BufferView_pimpl.[Ch]:
4714         * bufferview_funcs.C:
4715         * text2.C:
4716         * text3.C: rip out "deep update"
4717
4718         * textcursor.[Ch] (last_sel_cursor): remove unused member
4719
4720 2003-08-04  André Pönitz  <poenitz@gmx.net>
4721
4722         * BufferView.[Ch]:
4723         * BufferView_pimpl.[Ch]:
4724         * ParagraphParameters.C:
4725         * bufferview_funcs.C:
4726         * lyx_cb.C:
4727         * lyxfind.C:
4728         * lyxfunc.C:
4729         * text.C:
4730         * text2.C:
4731         * text3.C: replace "complicated" BufferView::update(...) calls with
4732         simpler ones.
4733
4734         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4735
4736 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4737
4738         * Makefile.am (lyx_SOURCES): add paper.h
4739
4740 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4741
4742         * Makefile.am: move things around so that both lyx-qt and
4743         lyx-xforms can be built (according to --with-frontend). Then lyx
4744         is a symbolic link to lyx-[firstfrontend]
4745
4746 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4747
4748         * Always use std::endl with lyxerr
4749
4750 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4751
4752         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4753
4754 2003-08-01  André Pönitz  <poenitz@gmx.net>
4755
4756         * BufferView.[Ch]:
4757         * BufferView_pimpl.[Ch]:
4758         * lyxfunc.C:
4759         * text3.C: merge BufferView::repaint() and BufferView::update()
4760
4761 2003-08-01  José Matos  <jamatos@lyx.org>
4762
4763         * buffer.[Ch]: file_format is no longer a buffer data element.
4764
4765 2003-08-01  André Pönitz  <poenitz@gmx.net>
4766
4767         * BufferView.C:
4768         * lyxtext.h:
4769         * text.C:
4770         * text2.C: make redoParagraph more independent of current cursor
4771
4772         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4773         * text.C:
4774         * text2.C: remove unneeded members
4775
4776 2003-07-30  André Pönitz  <poenitz@gmx.net>
4777
4778         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4779
4780         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4781           create a single function...
4782
4783         * paragraph_funcs.C (moveItem): ... here.
4784
4785         * text.C:
4786           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4787
4788 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4789
4790         * LColor.[Ch]: Add comment and greyedout logical colors.
4791
4792 2003-07-30  André Pönitz  <poenitz@gmx.net>
4793
4794         * tabular.C: don't use Assert too heavily. This crashes where it
4795           shouldn't
4796
4797 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4798
4799         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4800         is disabled (bug 1232)
4801
4802 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4803
4804         * factory.C: limited 'arg' scope
4805
4806 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4807
4808         * factory.C: fixed Note submenu issues
4809
4810 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4811
4812         * factory.C: submenu for Note/Comment/Greyedout
4813
4814 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4815
4816         * lyx_main.C (LyX):
4817         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4818
4819 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4820
4821         * LaTeXFeatures.C:
4822         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4823         greyedout. Patch provided by Jürgen Spitzmüller.
4824
4825 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4826
4827         * kbmap.C (read): fix error message when reading bind files
4828
4829 2003-07-29  Angus Leeming  <leeming@lyx.org>
4830
4831         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4832         certainly does not do what it purports to do. I am doing it, and
4833         us, a favour by killing it.
4834
4835 2003-07-28  José Matos  <jamatos@lyx.org>
4836
4837         * buffer.C (readBody, do_writeFile):
4838         * paragraph.C(readParagraph): \end_document replaces \the_end.
4839
4840 2003-07-29  André Pönitz  <poenitz@gmx.net>
4841
4842         * BufferView.[Ch]:
4843         * BufferView_pimpl.[Ch]:
4844         * lyxfunc.C:
4845         * text2.C:
4846         * text3.C:
4847         * textcursor.[Ch]: remove toggleToggle & Co
4848
4849 2003-07-28  José Matos  <jamatos@fep.up.pt>
4850
4851         * buffer.C (readParagraph):
4852         * params_func (readParToken, readParagraph):
4853         * paragraph.C (write): \layout -> \begin_layout.
4854
4855 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * lyxlex_pimpl.C (setFile): clean up slightly.
4858
4859         * bufferparams.h: add compressed var
4860
4861         * buffer_funcs.C (readFile): adjust for LyXLex change
4862         (newFile): ditto + simplify
4863
4864         * buffer.C (writeFile): handle writing of compressed files
4865
4866         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4867         Check if the file is compressed and set a bufferparm if so.
4868
4869         * Makefile.am (lyx_LDADD): remove explicit -lz
4870
4871 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4872
4873         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4874         makeDocBookFile): put the real LyX version in the first line of
4875         the file
4876
4877         * version.h:
4878         * version.C.in: remove lyx_docversion
4879
4880         * tabular.C (write_attribute): add a template-based version to
4881         write enums properly
4882
4883 2003-07-28  André Pönitz  <poenitz@gmx.net>
4884
4885         * lyxtext.h:
4886         * text.C:
4887         * text2.C:
4888         * text3.C: use doubles again for x-coordinates. They are needed.
4889
4890 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4891
4892         * messages.C (getLocaleDir): use lyx_localedir()
4893
4894         * lyxlex_pimpl.C (setFile): compress stuff
4895
4896         * buffer.C (writeFile): add some compression stuff
4897         (do_writeFile): new func, dont call expliti close... will this
4898         breake anything?
4899
4900         * Makefile.am (lyx_LDADD): add -lz
4901
4902 2003-07-28  José Matos  <jamatos@fep.up.pt>
4903
4904         * buffer.C: increment file format.
4905         * paragraph_funcs (readParagraph, readParToken):
4906         * paragraph.C (readParagraph): add \end_layout.
4907
4908 2003-07-27  Angus Leeming  <leeming@lyx.org>
4909
4910         * Makefile.am: remove special casing for configure-time setting of
4911         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4912
4913         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4914         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4915
4916 2003-07-26  André Pönitz  <poenitz@gmx.net>
4917
4918         * paragraph_func.[Ch]:
4919         * paragraph.C (realizeFont): inline it whereever it is used
4920
4921         * rowpainter.C:
4922         * text.C:
4923         * text2.C:
4924         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4925
4926
4927 2003-07-26  André Pönitz  <poenitz@gmx.net>
4928
4929         *       lyxtext.h:
4930         * text.C:
4931         * text2.C: get rid of LyXText::need_break_row
4932
4933 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * toc.[Ch]: put namespace toc inside namespace lyx
4936
4937         * MenuBackend.C (expandToc2): adjust for lyx::toc
4938         (expandToc): ditto
4939
4940         * lyxfunc.C (dispatch): adjust for lyx::find
4941
4942         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4943         lyx::find instead. Reorganize a bit.
4944         (LyXReplace): rename to replace
4945         (LyXFind): rename to find
4946
4947         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4948         (dispatch): ditto
4949
4950 2003-07-26  André Pönitz  <poenitz@gmx.net>
4951
4952         * text.C (setHeightOfRow): restrict scope of temporary variable
4953
4954         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4955           code (never has been used?)
4956
4957 2003-07-27  Asger Alstrup  <alstrup@local>
4958
4959         * text.C (fill): Optimise algorithm to exploit that we can reuse
4960         the LyXFont for many characters.
4961         (setHeightOfRow): Same thing.
4962         (rowBreakPoint): Same thing.
4963
4964 2003-07-26  Asger Alstrup  <alstrup@local>
4965
4966         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4967
4968         * text.C (singleWidth): Spurious font copying in hot-spot
4969         singleWidth avoided. Reorder tests for arabic for efficiency.
4970
4971         * text.C (fill): handle empty paragraphs better.
4972
4973 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4974
4975         * ispell.C:
4976         * encoding.h: add includes
4977
4978         * lyxrc.C: remove reading of bind files
4979
4980         * lyx_main.C (init): setup bindings and menus only if we have a
4981         gui.
4982
4983         * kbmap.C (read): new method. Do the actual reading of bind
4984         files.
4985
4986         * converter.C (dvipdfm_options):
4987         * bufferparams.C:
4988         * lyxrc.C (read):
4989         (output): adapt PAPER_* enums.
4990
4991         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4992
4993         * bufferparams.h: remove paper-related enums from there
4994
4995         * paper.h: New file. A trivial header file to hold paper-related
4996         enums. It should later expand to contain many paper-related
4997         horrors access.
4998
4999         * lyxrc.C: declare extern displayTranslator
5000
5001 2003-07-27  José Matos  <jamatos@fep.up.pt>
5002
5003         * tabular.[Ch] (linuxdoc): add support for tables and figures
5004         (linuxdoc).
5005
5006 2003-07-27  José Matos  <jamatos@fep.up.pt>
5007
5008         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5009         consistency in both functions.
5010         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5011
5012 2003-07-26  Asger Alstrup  <alstrup@local>
5013
5014         * rowpainter.C (paintRows): Change algorithm to work directly on
5015         the insets rather than asking every character in the document
5016         whether its an inset.
5017
5018 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5019
5020         * buffer.C (openFileWrite): factorize some code
5021
5022 2003-07-26  Angus Leeming  <leeming@lyx.org>
5023
5024         * lyx_cb.C:
5025         * lyx_main.[Ch]: replace occurances of system_tempdir with
5026         os::getTmpDir().
5027
5028 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * rename Inset to InsetOld
5031
5032 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5033
5034         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5035         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5036         which I think is a bit clearer. EDIT is gone, since it was
5037         premature optimisation, and broken for mathed anyway.
5038         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5039         with cursor positioning in insets as well (math insets still do not
5040         work, but that's a different story anyway.) It mysteriously
5041         crashes sometimes with undo in the first paragraph, but I'm fairly
5042         confident that this is a compiler bug.
5043
5044 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * paragraph.C (Paragraph): adjust for new clone return type
5047         (operator==): ditto
5048         (copyIntoMinibuffer): ditto
5049
5050 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5051
5052         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5053         by not having a special case, and always doing a full rebreak of
5054         the document after undo.
5055
5056 2003-07-23  Angus Leeming  <leeming@lyx.org>
5057
5058         * factory.C (createInset): InsetExternal::setParams now takes a
5059         Buffer const * arg.
5060
5061 2003-07-23  Angus Leeming  <leeming@lyx.org>
5062
5063         * factory.C (createInset): changed interface to the external and
5064         graphics mailers' string2params functions.
5065
5066 2003-07-23  Angus Leeming  <leeming@lyx.org>
5067
5068         * factory.C (createInset): pass a
5069         Buffer const * parameter to InsetExternalMailer's string2params.
5070
5071 2003-07-22  John Levon  <levon@movementarian.org>
5072
5073         * Thesaurus.h: include the right aiksaurus header
5074
5075 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5076
5077         * MenuBackend.C (expand): check menu shortcuts unconditionally
5078
5079 2003-07-21  Angus Leeming  <leeming@lyx.org>
5080
5081         * factory.C (createInset): pass a
5082         buffer_path parameter to InsetGraphicsMailer's string2params.
5083
5084 2003-07-21  Angus Leeming  <leeming@lyx.org>
5085
5086         * BufferView_pimpl.C (buffer):
5087         * buffer.C (d-tor):
5088         * lyx_main.C (LyX):
5089         * lyxfunc.C (dispatch):
5090         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5091         rather than the grfx shortcut.
5092
5093 2003-07-21  André Pönitz  <poenitz@gmx.net>
5094
5095         * rowpainter.C: remove unused variables
5096
5097         * tabular_funcs.C:
5098         * tabular_funcs.h: move to tabular.C
5099         * Makefile.am: adjust
5100
5101         * tabular.[Ch]: basic optical cleaning
5102
5103         * author.h: pass references, not values
5104
5105 2003-07-18  André Pönitz  <poenitz@gmx.net>
5106
5107         * lyxtext.h:
5108         * metricsinfo.C:
5109         * metricsinfo.h:
5110         * rowpainter.C:
5111         * text.C:
5112         * text2.C:
5113         * text3.C: two-phase drawing for InsetText and InsetTabular
5114         some float -> int changes.
5115
5116 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5117
5118         * lyx_main.C: fix the fix
5119
5120 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5121
5122         * lyx_main.C: fix a crash in batch mode if no files specified
5123         * converter.C: ws
5124
5125 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5126
5127         * format.[Ch] (papersize): moved to BufferParams
5128         * converter.[Ch] (dvips_options): moved to BufferParams
5129         (dvipdfm_options): moved to anon namespace
5130         * bufferparams.[Ch]: added above functions.
5131
5132 2003-07-17  André Pönitz  <poenitz@gmx.net>
5133
5134         * lyxtext.h:
5135         * rowpainter.C:
5136         * text2.C: don't call inset->update() anymore
5137
5138         * metricsinfo.[Ch]: add convenience constructor
5139
5140 2003-07-16  André Pönitz  <poenitz@gmx.net>
5141
5142         * lyxcursor.[Ch]:
5143         * lyxfunc.[Ch]:
5144         * text.C:
5145         * text2.C: replace the LyXCursor::irow_ member with
5146          on-demand computation of the value
5147
5148 2003-07-16  John Levon  <levon@movementarian.org>
5149
5150         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5151
5152 2003-07-15  André Pönitz  <poenitz@gmx.net>
5153
5154         * text.C:
5155         * text2.C: remove no more needed refresh_row
5156
5157 2003-07-15  André Pönitz  <poenitz@gmx.net>
5158
5159         * lyxtext.h:
5160         * rowpainter.C:
5161         * text2.C:
5162         * text3.C: refresh_status tristate -> need_update bool
5163
5164 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5165
5166         * lyxtext.h (init): remove reinit argument (act as if always true)
5167         * text2.C: adjust to that
5168
5169 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5170
5171         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5172         * text3.C: use it to delete selections in some cases
5173         (bugs 441, 673, 702, 954).
5174
5175 2003-07-14  André Pönitz  <poenitz@gmx.net>
5176
5177         * rowpainter.[Ch]: reduce interface
5178
5179 2003-07-14  André Pönitz  <poenitz@gmx.net>
5180
5181         * BufferView_pimpl.C:
5182         * text2.C: adjust after removing unused BufferView * argument
5183
5184 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5185
5186         * text2.C (init): fix a crash fired on resize
5187
5188 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5189
5190         * buffer.[Ch]: added new closing signal
5191         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5192         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5193         BufferView::Pimpl via the closing the signal
5194
5195 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5196
5197         * buffer.[Ch]: take out all bv-related from buffer
5198         * BufferView.C:
5199         * BufferView_pimpl.[Ch]: connect to new signals
5200         * CutAndPaste.C: removed useless asserts
5201         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5202         * lyxvc.[Ch]:
5203         * vc-backend.[Ch]:
5204         * lyxfunc.C: moved view-related funciontality from vc here
5205         * paragraph.C: removed outdated comments
5206         * text.C: ws
5207
5208 2003-07-10  André Pönitz  <poenitz@gmx.net>
5209
5210         * BufferView_pimpl.C:
5211         * tabular.h:
5212         * tabular_funcs.C:
5213         * text.C:
5214         * text2.C: remove InsetText::InnerCache, clean up consequences
5215
5216 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5217
5218         * ispell.C: fix two typos in error messages
5219
5220 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5221
5222         * Extend Note inset to other forms of annotation like Comment
5223         and Greyedout. Right button click gives dialog.
5224
5225         Files modified or added (+):
5226
5227         * insetnote.[Ch]
5228         * FormNote.[Ch]      +
5229         * ControlNote.[Ch]   +
5230         * form_note.fd       +
5231         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5232         frontends/controllers
5233         * xforms/Dialogs.C
5234         * factory.C
5235
5236 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5237
5238         * aspell.C: add missing namespace lyx::support
5239
5240 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5241
5242         * BufferView.[Ch] (newFile): Add
5243         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5244         * LaTeX.[Ch] (message): added this signal and use it
5245         * buffer.[Ch] (busy, message): added these signals and use them
5246         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5247         * converter.C:
5248         * exporter.C:
5249         * format.C:
5250         * importer.C: use buffer signals instead of direct bv calling
5251         * lyx_cb.[Ch] (ShowMessage): removed
5252         * lyx_main.C:
5253         * lyxfunc.C:
5254         * paragraph_funcs.C:
5255         * text2.C: use buffer signals
5256
5257 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * introduce namespace lyx::graphics
5260
5261 2003-07-02  André Pönitz  <poenitz@gmx.net>
5262
5263         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5264
5265 2003-07-01  André Pönitz  <poenitz@gmx.net>
5266
5267         * text.C:
5268         * text2.C:
5269         * text3.C:
5270         * text_funcs.[Ch]:
5271         * textcursor.h:
5272         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5273           text*.C to text_func.C
5274
5275 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * introduce namespace lyx::support
5278
5279 2003-06-30  André Pönitz  <poenitz@gmx.net>
5280
5281         * Chktex.C:
5282         * funcrequest.C:
5283         * lyxtext.h:
5284         * text.C: re-enable --with-included-string
5285
5286 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5287
5288         * textcursor.C: add <config.h>
5289
5290         * text.C (getWord): remove const from word_location arg
5291
5292         * lyxvc.C (getLogFile): fix const type order
5293
5294         * lyxtext.h: remove const from word_location arg, add arg name
5295
5296         * lyxlayout.h: currect type on labeltype.
5297
5298         * importer.C: correct \file
5299
5300         * converter.C (intToFormat): use std:: on ret val, ws changes
5301
5302         * bufferlist.h: correct \file
5303
5304         * buffer.C (makeLinuxDocFile): fix const type order
5305         (makeDocBookFile): ditto
5306         (fillWithBibKeys): use std:: on stdlib args.
5307
5308         * CutAndPaste.C: fix authors.
5309         (availableSelections): use std:: on return vector
5310
5311 2003-06-27  André Pönitz  <poenitz@gmx.net>
5312
5313         * BufferView_pimpl.C:
5314         * bufferview_funcs.C:
5315         * lyxcursor.C:
5316         * lyxcursor.h:
5317         * lyxfunc.C:
5318         * lyxtext.h:
5319         * rowpainter.C:
5320         * text.C:
5321         * text2.C:
5322         * text3.C: remove LyXCursor::row_ member
5323
5324         * lyxtext.h:
5325         * text.C: rename fullRebreak() to partialRebreak() and implement
5326           a fullRebreak() that really bereks fully
5327
5328         * textcursor.h: new struct for cursor-related data
5329
5330 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5331
5332         * lyx_main.C (LyX): get full path of document loaded on the
5333         command line
5334
5335 2003-06-26  André Pönitz  <poenitz@gmx.net>
5336
5337         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5338           remove unused/broken operator>,<,>=.
5339
5340         *       text.C: remove only use of broken operator<= in an Assert().
5341
5342 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5343
5344         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5345         moved errorlist_.clear to showErrorList
5346
5347 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5348
5349         * converter.C (scanLog, runLaTeX):
5350         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5351         move the bv->showErrorList call to the callers
5352         * lyxfunc.C: i.e. here...
5353         * text2.C: and here
5354         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5355         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5356         namespace, the second to...
5357         * buffer_funcs (BufferFormat, parseErrors): added
5358         * errorlist.C (ErrorList(TeXErrors const &)): removed
5359
5360 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5361
5362         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5363
5364 2003-06-24  "Garst R. Reese" <reese@isn.net>
5365
5366         * debug.C: fix typo
5367
5368 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5369
5370         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5371
5372         * version.C.in: change docversion to 1.4
5373
5374 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5375
5376         * buffer.C: fix a bug just introduced
5377
5378 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5379
5380         * buffer.[Ch]: added the parseError signal and use it, removed
5381         sgmlError
5382         * BufferView.[Ch] (addError): moved to ...
5383         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5384         to the Buffer::parseError signal to catch (guess what) parse errors
5385         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5386
5387 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5388
5389         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5390         ability to create a buffer and to return an existing one from
5391         the list. Moved these functions to...
5392         * buffer_funcs.[Ch]: added
5393         * BufferView.[Ch] (loadLyXFile): added
5394         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5395         job removed from bufferlist::loadLyXFile.
5396         * buffer.C (setReadOnly): make it work without view
5397         (i.e added an if (users))
5398
5399 2003-06-19  Angus Leeming  <leeming@lyx.org>
5400
5401         * lfuns.h:
5402         * LyXAction.C (init):
5403         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5404         with LFUN_DIALOG_SHOW <name> <data>.
5405
5406 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5407
5408         * CutAndPaste.C (availableSelections): small compilation fix for
5409         ancient (gcc 2.9x) compilers
5410
5411 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * text3.C (cursorNext): add tmp var
5414
5415         * text2.C (updateCounters): for function calling out of for clause
5416         (replaceSelectionWithString): ditto
5417         (insertStringAsParagraphs): ditto
5418         (getColumnNearX): add tmp var
5419         (setCursorFromCoordinates): add tmp var
5420         (cursorDownParagraph): add tmp var
5421         (deleteEmptyParagraphMechanism): add tmp var
5422
5423         * text.C (insertChar): add tmp var
5424
5425         * rowpainter.C (paintDepthBar): add tmp var
5426
5427         * CutAndPaste.C (availableSelections): potentially check all
5428         paragraphs in a cut to fill the shown strings.
5429
5430 2003-06-18  André Pönitz  <poenitz@gmx.net>
5431
5432         * kbmap.[Ch]: use vector<> instead of list<>
5433
5434 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5435
5436         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5437         pasteSelection with index
5438
5439         * text2.C (pasteSelection): modify, call pasteSelection with index
5440
5441         * paragraph.C (asString): reimplement version with no interval to
5442         call the one with interval.
5443
5444         * lyxtext.h: add index arg to pasteSelection
5445
5446         * MenuBackend.C (MenuItem): handle PasteRecent
5447         (Menu::read::Menutags): add md_pasterecent
5448         (read): handle it
5449         (expandPasteRecent): new function
5450         (expand): use it
5451
5452         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5453
5454         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5455         the limited stack
5456         (availableSelections): new function
5457
5458 2003-06-17  Angus Leeming  <leeming@lyx.org>
5459
5460         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5461
5462 2003-06-17  Angus Leeming  <leeming@lyx.org>
5463
5464         * lfuns.h:
5465         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5466
5467         * lyxfunc.C (dispatch): invoke it.
5468
5469 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5470
5471         * iterators.C (operator++, ParPosition): reintroduce some
5472         const_cast for the benefit of older compilers.
5473
5474 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5475
5476         * text3.C (dispatch): do not modify clipboard when doing
5477         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5478         LFUN_DELETE_SKIP on a selection selection
5479
5480 2003-06-16  André Pönitz  <poenitz@gmx.net>
5481
5482         * BufferView.C:
5483         * buffer.C:
5484         * buffer.h:
5485         * paragraph.C:
5486         * tabular.[Ch]: IU of clone() and getLabelList();
5487
5488 2003-06-13  André Pönitz  <poenitz@gmx.net>
5489
5490         * tabular.h: compactification
5491
5492 2003-06-12  André Pönitz  <poenitz@gmx.net>
5493
5494         * tabular.C:
5495         * tabular.h:
5496         * tabular_funcs.h: some renaming plus whitespace
5497
5498 2003-06-12  André Pönitz  <poenitz@gmx.net>
5499
5500         * BufferView.C:
5501         * BufferView_pimpl.C:
5502         * CutAndPaste.C:
5503         * buffer.C:
5504         * iterators.[Ch]:
5505         * lyxfunc.C:
5506         * text.C:
5507         * toc.C: Return a Paragraph & for ParIterator::operator*()
5508
5509 2003-06-11  John Levon  <levon@movementarian.org>
5510
5511         * lyx_main.C:
5512         * ToolbarBackend.h:
5513         * ToolbarBackend.C: add "Toolbars" section and
5514         put the flags there
5515
5516 2003-06-10  Angus Leeming  <leeming@lyx.org>
5517
5518         * lfuns.h:
5519         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5520
5521         * lyxfunc.C (dispatch): invoke it.
5522
5523 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * main.C: protect <ios> with HAVE_IOS
5526         (main): protect sync_with_stdio with HAVE_IOS
5527
5528 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5529
5530         * text2.C (cutSelection): adjust
5531         (pasteSelection): adjust
5532
5533         * messages.C: handle get of empty string
5534
5535         * main.C (main): use sync_with_stdio(false)
5536
5537         * lyxfunc.C (dispatch): adjust
5538
5539         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5540         (WriteAs): remove unneeded BufferView arg.
5541
5542         * bufferparams.h: use correct types on papersize, papersize2 and
5543         paperpackage.
5544
5545         * bufferparams.C (readToken): adjust for type
5546         (writeLaTeX): add missing cases to switch.
5547
5548         * bufferlist.C (quitWriteBuffer): adjust
5549         (close): adjust
5550
5551         * buffer.C (asciiParagraph): remove some commented code.
5552
5553         * CutAndPaste.C: remove current_view extern variable.
5554         (cutSelection): add BufferParams arg.
5555         (eraseSelection): add BufferParams arg.
5556         (pasteSelection): add Buffer const & arg
5557
5558 2003-06-07  John Levon  <levon@movementarian.org>
5559
5560         * buffer.C:
5561         * paragraph_funcs.C:
5562         * paragraph_pimpl.C:
5563         * text.C:
5564         * text2.C:
5565         * paragraph.h:
5566         * paragraph.C: allow InsetERT to freely space lines,
5567         and some consolidation of code
5568
5569 2003-06-06  José Matos  <jamatos@fep.up.pt>
5570
5571         * buffer.C (makeDocBookFile): fix bug #821
5572
5573 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5574
5575         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5576
5577 2003-06-04  Angus Leeming  <leeming@lyx.org>
5578
5579         * buffer.C: bump format to 224.
5580
5581 2003-06-05  André Pönitz  <poenitz@gmx.net>
5582
5583         * text2.C (redoParagraphs): remove two const_cast<>
5584
5585 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5586
5587         * ParagraphList.h: remove last remnants of NO_STD_LIST
5588
5589 2003-06-03  Angus Leeming  <leeming@lyx.org>
5590
5591         * factory.C (createInset): small change to the way InsetExternal's params
5592         are set.
5593
5594 2003-06-04  André Pönitz  <poenitz@gmx.net>
5595
5596         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5597
5598         * paragraph_pimpl.h:
5599         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5600
5601         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5602
5603         * undo_funcs.C: make some simple cases of undo work again
5604
5605 2003-06-03  John Levon  <levon@movementarian.org>
5606
5607         * ispell.C: HPUX doesn't have sys/select.h
5608         (from Albert Chin)
5609
5610 2003-06-03  John Levon  <levon@movementarian.org>
5611
5612         * CutAndPaste.C: update tabular and include inset
5613         buffer references
5614
5615         * buffer.h:
5616         * paragraph.h:
5617         * paragraph.C: remove owningBuffer(), don't pass Buffer
5618         to clone()
5619
5620         * factory.C: insetGraphicsParams changed
5621
5622 2003-06-02  John Levon  <levon@movementarian.org>
5623
5624         * LyXAction.C:
5625         * factory.C:
5626         * lfuns.h:
5627         * lyxfunc.C:
5628         * text3.C: remove insetparent
5629
5630 2003-06-02  John Levon  <levon@movementarian.org>
5631
5632         * buffer.h:
5633         * buffer.C: fix inset_iterator.end(), move out of line
5634         (bug 1149)
5635
5636 2003-06-01  John Levon  <levon@movementarian.org>
5637
5638         * text3.C: use a proper cut/paste when doing inset
5639         insert (from Jürgen Spitzmüller)
5640
5641 2003-06-01  John Levon  <levon@movementarian.org>
5642
5643         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5644
5645 2003-05-30  André Pönitz  <poenitz@gmx.net>
5646
5647         * rowpainter.C: unify second drawing phase
5648
5649 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * trans_mgr.C: remove one case of current_view
5652
5653         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5654
5655         * paragraph_funcs.h: remove paragraph.h include
5656
5657         * paragraph.h: delete NO_STD_LIST stuff
5658
5659         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5660
5661         * buffer.h: remove paragraph.h include
5662
5663         * ParagraphList.C: delete file
5664
5665         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5666
5667         * toc.C (getTocList): adjust
5668
5669         * paragraph_pimpl.C (validate): adjust
5670
5671         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5672
5673         * paragraph.C (Paragraph): adjust
5674         (getPositionOfInset): use const_iterator, adjust
5675         (bibitem): use const_iterator, adjust
5676         (setInsetOwner): adjust
5677
5678         * iterators.C (operator++): adjust
5679
5680         * InsetList.[Ch]: Replace selfmade iterator with standard
5681         vector::iterator also introduce const_iterator. Remove getPos,
5682         getInset and setInset from InsetTable. Adjust accordingly.
5683
5684         * BufferView.C (lockInset): adjust
5685         (ChangeInsets): adjust
5686
5687         * tabular.[Ch]: delete commented same_id functions
5688
5689 2003-05-28  John Levon  <levon@movementarian.org>
5690
5691         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5692
5693 2003-05-28  André Pönitz  <poenitz@gmx.net>
5694
5695         * metricsinfo.[Ch]: remove 'fullredraw' member
5696
5697 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5698
5699         * lyxtextclass.C (operator): remove caching.
5700
5701 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * text3.C: adjust
5704
5705         * text2.C (cursorBottom): adjust
5706         (setCounter): use ParagraphList::find, adjust
5707
5708         * text.C (workWidth): use ParagraphList::find, adjust
5709
5710         * lyxcursor.C (LyXCursor): adjust
5711
5712         * buffer.C (inset_iterator): adjust
5713
5714         * ParagraphList.h: make iterator(value_type) private, make
5715         ParagraphList a friend of iterator.
5716
5717         * ParagraphList.C (find): new function
5718
5719         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5720
5721 2003-05-27  André Pönitz  <poenitz@gmx.net>
5722
5723         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5724
5725 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5726
5727         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5728
5729 2003-05-26  John Levon  <levon@movementarian.org>
5730
5731         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5732
5733 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5734
5735         * remove same_id from function signatures, adjust.
5736
5737 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5738
5739         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5740
5741         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5742
5743         * paragraph.C (Paragraph): get rid of same_ids parameter
5744
5745         * ParagraphList.C (insert): adjust
5746         (push_back): adjust
5747
5748 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5749
5750         * paragraph_funcs.C (breakParagraph): adjust
5751         (breakParagraphConservative): adjust
5752
5753         * buffer.C (readParagraph): adjust
5754
5755         * ParagraphList.C (insert): take a reference instead of a pointer
5756         (insert): adjust
5757
5758         * paragraph.[Ch] (id): new function
5759
5760         * bufferlist.C (newFile): adjust
5761
5762         * ParagraphList.C (ParagraphList): adjust
5763         (assign): adjust
5764         (push_back): take a reference instead of a pointer.
5765
5766         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5767
5768         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5769         instead.
5770
5771         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5772         set else use old code.
5773
5774         * ParagraphList.C: remove all NO_NEXT code and only compile this
5775         code of NO_STD_LIST is set.
5776
5777 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5778
5779         * BufferView_pimpl.C:
5780         * TextCache.C:
5781         * TextCache.h:
5782         * bufferlist.C:
5783         * errorlist.h:
5784         * format.C:
5785         * format.h:
5786         * graph.C:
5787         * lyxfunc.C:
5788         * lyxrc.C:
5789         * graphics/GraphicsConverter.C:
5790         * graphics/PreviewLoader.C: header adjustment
5791
5792 2003-05-23  Angus Leeming  <leeming@lyx.org>
5793
5794         * LaTeXFeatures.[Ch] (useBabel): new method.
5795         * bufferparams.C (writeLaTeX): use it.
5796
5797 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * ParagraphList.h (set): remove unused function.
5800
5801 2003-05-23  André Pönitz  <poenitz@gmx.net>
5802
5803         * BufferView.C:
5804         * BufferView_pimpl.C:
5805         * buffer.C:
5806         * buffer.h:
5807         * lyxfunc.C:
5808         * undo_funcs.C: setUndo reworked
5809
5810         * iterators.[Ch]: add access to topmost ParagraphList
5811
5812         * lyxtext.[Ch] (workWidth): add a const
5813
5814 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5815
5816         * texrow.[Ch] (increasePos): remove function
5817         * exporter.C (export): removed unused var and outdated comment
5818
5819 2003-05-23  Angus Leeming  <leeming@lyx.org>
5820
5821         * latexrunparams.h: rename fragile as moving_arg.
5822         * paragraph.C (simpleTeXOnePar): ditto.
5823         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5824
5825 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5826
5827         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5828         (createUndo): ditto
5829         (textUndoOrRedo): comment out a currently unused var.
5830
5831         * paragraph.h (NO_NEXT): enable NO_NEXT
5832
5833         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5834
5835         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5836
5837         * exporter.C (Export): adjust for removeAutoInsets removal.
5838
5839         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5840
5841         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5842
5843         * BufferView.[Ch] (removeAutoInsets): delete function
5844
5845 2003-05-22  Angus Leeming  <leeming@lyx.org>
5846
5847         * latexrunparams.h: add a free_spacing variable.
5848
5849         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5850         to pass moving_arg, as the data is stored in runparams.fragile.
5851
5852         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5853         to Inset::latexOptional or to simpleTeXOnePar.
5854
5855         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5856         free_spacing arg to Inset::latexOptional.
5857
5858         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5859         free_spacing arg.
5860
5861 2003-05-22  Angus Leeming  <leeming@lyx.org>
5862
5863         * latexrunparams.h: add fragile and use_babel variables.
5864
5865         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5866         * buffer.C (makeLaTeXFile): store this returned value in
5867         runparams.use_babel, thus passing it to the inset::latex methods.
5868
5869         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5870         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5871
5872         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5873         longer has a fragile arg, as it is stored in runparams.fragile.
5874
5875         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5876         moving_arg parameter as the data is stored in runparams.fragile.
5877
5878         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5879         a fragile parameter as the data is stored in runparams.fragile.
5880
5881 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5884
5885 2003-05-22  Angus Leeming  <leeming@lyx.org>
5886
5887         * latexrunparams.h: add a 'bool nice' which defaults to false.
5888
5889         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5890         now encapsulated within runparams.
5891
5892         * bufferlist.C (updateIncludedTeXfiles):
5893         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5894
5895 2003-05-22  Angus Leeming  <leeming@lyx.org>
5896
5897         * latexrunparams.h: new file containing struct LatexRunParams.
5898         * Makefile.am: add new file.
5899
5900         * LaTeX.[Ch] (c-tor, run):
5901         * buffer.[Ch] (makeLaTeXFile):
5902         * bufferlist.[Ch] (updateIncludedTeXfiles):
5903         * converter.C (convert, scanLog):
5904         * converter.[Ch] (runLaTeX):
5905         * exporter.C (Export):
5906         * paragraph.[Ch] (simpleTeXOnePar):
5907         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5908         * paragraph_funcs.[Ch] (latexParagraphs):
5909         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5910         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5911         pass around a LatexRunParams parameter.
5912
5913 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * paragraph.[Ch]: remove unused constructor
5916
5917         * ParagraphList.C (erase): new function, taking two iterators
5918
5919 2003-05-22  André Pönitz  <poenitz@gmx.net>
5920
5921         * undo_funcs.C: remove duplicated code
5922
5923         * iterator.[Ch]: operator=
5924
5925 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5926
5927         * tabular.C (SetMultiColumn): ws changes
5928
5929         * rowpainter.C (paintFirst): get rid of a ->previous
5930
5931         * lyx_cb.C (getPossibleLabel): parlist simplification
5932
5933         * BufferView.C (ChangeInsets): simplify slightly.
5934
5935 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5936
5937         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5938         * lfuns.h: new LFUN_SPACE
5939         * lyxfunc.C: protected space has a new lfun
5940         * paragraph_funcs.C: read new space insets
5941         * text3.C:
5942         * factory.C: handle new space insets
5943
5944 2003-05-22  André Pönitz  <poenitz@gmx.net>
5945
5946         * BufferView.C:
5947         * BufferView_pimpl.C:
5948         * buffer.[Ch]:
5949         * lyxfunc.C:
5950         * undo_funcs.C: return a ParIterator from getParFromID.
5951
5952         * iterators.[Ch]: add two const's
5953
5954 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5955
5956         * toc.C (getTocList): adjust
5957
5958         * iterators.[Ch]: rework for parlist
5959
5960         * buffer.C (par_iterator_begin): adjust
5961         (par_iterator_end): adjust
5962
5963         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5964
5965         * BufferView.C (removeAutoInsets): adjust
5966         (ChangeInsets): adjust
5967
5968 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5969
5970         * text.C (top_y): fix bug 1110
5971
5972 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5973
5974         * errorlist.[Ch]: added
5975         * buffer.C:
5976         * BufferView.[Ch]:
5977         * BufferView_pimpl.C:
5978         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5979         instead
5980
5981 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * Makefile.am: ensure that lyx is relinked upon changes to the
5984         various "convenience" libs.
5985
5986 2003-05-20  Angus Leeming  <leeming@lyx.org>
5987
5988         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5989         files are compiled in alphabetical order again.
5990
5991         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5992
5993 2003-05-19  Angus Leeming  <leeming@lyx.org>
5994
5995         * gettext.[Ch]: remove "char const * _(char const *)".
5996
5997 2003-05-19  André Pönitz  <poenitz@gmx.net>
5998
5999         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6000
6001         * Makefile.am:
6002         * BufferView.C:
6003         * DepTable.h:
6004         * LaTeXFeatures.C:
6005         * buffer.C:
6006         * lyxfont.C:
6007         * lyxlex.h:
6008         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6009
6010 2003-05-19  André Pönitz  <poenitz@gmx.net>
6011
6012         * buffer.C:
6013         * lyxlayout.[Ch]:
6014         * lyxtextclass.[Ch]:
6015         * paragraph.C:
6016         * paragraph_funcs.[Ch]:
6017         * text2.C:
6018         * text3.C: more insetenv work
6019
6020 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6021
6022         * ParagraphParameters.C (params2string): small bug fixed
6023
6024 2003-05-16  André Pönitz  <poenitz@gmx.net>
6025
6026         * debug.C:
6027         * bufferview_funcs.C: patch from Kornel Benko to prevent
6028           crash when _(...) is called twice in a statement
6029
6030 2003-05-16  André Pönitz  <poenitz@gmx.net>
6031
6032         * BufferView.C:
6033         * lyxfunc.C:
6034         * text.C:
6035         * text2.C:
6036         * text3.C:
6037         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6038
6039 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6040
6041         * lyx_main.C (init): remove spurious static_cast
6042
6043 2003-05-14  André Pönitz  <poenitz@gmx.net>
6044
6045         * BufferView.C: fix format string
6046
6047 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6048
6049         * BufferView.[Ch] (insertErrors): removed
6050         * BufferView.[Ch] (showErrorList): added
6051         * buffer.C (runChkTeX):
6052         * converter.C (scanLog): call showErrorList instead of inserterrors
6053
6054 2003-05-13  André Pönitz  <poenitz@gmx.net>
6055
6056         * BufferView_pimpl.C:
6057         * buffer.C:
6058         * bufferview_func.C:
6059         * MenuBackend.C:
6060         * lyxfunc.C:
6061         * lyxrc.C:
6062         * tex-accent.C:
6063         * text3.C:
6064         * toc.C:
6065         * tabular_funcs.h: tostr() from its own header
6066
6067         * ParagraphParameters.C:
6068         * ToolbarBackend.C:
6069         * bufferparams.C:
6070         * format.C:
6071         * lyxlex_pimpl.C:
6072         * text3.C: STRCONV()
6073
6074 2003-05-12  André Pönitz  <poenitz@gmx.net>
6075
6076         * BufferView.C:
6077         * BufferView_pimpl.C:
6078         * CutAndPaste.C:
6079         * LaTeX.C:
6080         * LaTeXFeatures.C:
6081         * ParagraphParameters.C:
6082         * buffer.C:
6083         * bufferlist.C:
6084         * bufferparams.C:
6085         * bufferview_funcs.C:
6086         * converter.C:
6087         * counters.C:
6088         * debug.C:
6089         * exporter.C:
6090         * format.C:
6091         * importer.C:
6092         * lyx_cb.C:
6093         * lyx_main.C:
6094         * lyxfont.C:
6095         * lyxfunc.C:
6096         * lyxvc.C:
6097         * paragraph.C:
6098         * paragraph_funcs.C:
6099         * tabular.C:
6100         * tabular_funcs.C:
6101         * text2.C:
6102         * text3.C:  boost::format -> bformat  all over the place
6103
6104
6105 2003-05-09  André Pönitz  <poenitz@gmx.net>
6106
6107         * LColor.[Ch]: Pimpl the #include <map> away
6108
6109 2003-05-09  John Levon  <levon@movementarian.org>
6110
6111         * bufferlist.C: never remove emergency saves
6112
6113 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * Makefile.am: better lib building
6116
6117 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6118
6119         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6120         instead.
6121         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6122         (simpleTeXSpecialChars): adjust
6123         (simpleTeXSpecialChars): adjust
6124         * paragraph.C (simpleTeXOnePar): adjust
6125         * buffer.C (makeLaTeXFile): adjust
6126
6127         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6128
6129         * text2.C (changeDepth): parlist cleanup
6130         (getColumnNearX): ditto
6131
6132         * rowpainter.C (getLabelFont): parlist cleanup
6133
6134         * bufferlist.C (newFile): parlist cleanup
6135
6136         * CutAndPaste.C (eraseSelection): parlist cleanup
6137
6138         * BufferView_pimpl.C (trackChanges): parlist cleanup
6139         (dispatch): ditto
6140
6141         * BufferView.C (lockInset): parlist cleanup.
6142         (ChangeInsets): ditto
6143
6144 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * CutAndPaste.h: Update file header.
6147
6148         * CutAndPaste.C: Update file header.
6149         Store the parts cut out of the Document in a limited_stack.
6150         (copySelection): adjust
6151         (pasteSelection): new function, takes the index in the limited stack.
6152         (nrOfParagraphs): adjust
6153         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6154         simplify error inset insertion.
6155         (checkPastePossible): adjust
6156
6157 2003-05-06  John Levon  <levon@movementarian.org>
6158
6159         * text2.C: don't cast wrap inset to float
6160
6161 2003-05-05  André Pönitz  <poenitz@gmx.net>
6162
6163         * iterator.C:
6164         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6165
6166         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6167           few naked Paragraph *.
6168
6169 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6170
6171         * bufferparams.C: Output warning if a document with missing
6172         TeX document class is loaded
6173         * exporter.C: Disable TeX exports if the document class is missing
6174         * lyxtextclass.C:
6175         * lyxtextclass.h:
6176         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6177         isTeXClassAvailable()
6178
6179 2003-05-03  John Levon  <levon@movementarian.org>
6180
6181         * BufferView.h:
6182         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6183         explicit cursor show/hide
6184
6185         * BufferView_pimpl.h:
6186         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6187         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6188
6189         * lyxfunc.C: hide cursor before dispatching.
6190
6191         * lyx_cb.C:
6192         * lyxfind.C:
6193         * text.C:
6194         * text3.C: remove explicit cursor hides
6195
6196 2003-05-02  André Pönitz  <poenitz@gmx.net>
6197
6198         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6199
6200         * undo_funcs.C:
6201         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6202           linked lists
6203
6204         * text2.C: tiny whitespace
6205
6206 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6207
6208         * undo_funcs.C: almost only ws changes.
6209
6210         * ParagraphList.C (splice): just return if pl is empty.
6211
6212 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6213
6214         * ParagraphList.C (splice): new function.
6215
6216         * CutAndPaste.C (pasteSelection): use it
6217
6218 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6219
6220         * CutAndPaste.C (pasteSelection): remove the last next and
6221         previous from this file.
6222
6223 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * CutAndPaste.C (pasteSelection): more clean up, user proper
6226         ParagraphList functions for pasteing.
6227
6228         * ParagraphList.C (insert): new function, three arg insert
6229
6230 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * ParagraphList.C (insert): new function, three arg insert
6233
6234         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6235         not on paragraphs.
6236
6237 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6240
6241 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6244
6245 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6248         (copySelection): clean up a bit.
6249         (pasteSelection): use make_pair
6250
6251         * ParagraphList.C (ParagraphList): implement copy constructor
6252         (operator=): implement, base on copy constructor.
6253         (assign): new func
6254
6255         * paragraph.C (erase): return a bool
6256
6257         * paragraph_pimpl.C (erasePos): remove function, move contents...
6258         (erase): ... here. Return a bool.
6259         (erase): call erase instead of erasePos.
6260
6261 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6262
6263         * ParagraphList.h: define PitPosPair
6264         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6265         ParagraphList, fix a bug on pasting multiple pars
6266         * text2.C: change interface to C&P
6267
6268 2003-04-30  André Pönitz  <poenitz@gmx.net>
6269
6270         * undo_func.C: revert part of yesterday's patch 2
6271
6272 2003-04-30  John Levon  <levon@movementarian.org>
6273
6274         * LColor.C: s/tabular/table/
6275
6276 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6277
6278         * text3.C (dispatch): do not convert iterator -> pointer
6279         * undo_funcs.C (setCursorParUndo): ditto
6280         * text_funcs.C (transposeChars): ditto
6281
6282         * text2.C (setLayout): ws changes only
6283
6284         * text.C (breakParagraph): do not convert iterator -> pointer
6285         (insertChar): ditto
6286         (acceptChange): ditto
6287         (rejectChange): ditto
6288         (changeCase): ditto
6289         (Delete): ditto
6290         (backspace): ditto
6291
6292         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6293         pointer
6294
6295 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6296
6297         * text3.C (gotoInset): YABG (yet another bad getChar)
6298
6299 2003-04-29  André Pönitz  <poenitz@gmx.net>
6300
6301         * paragraph.h: make operator= private unimplemented as long as
6302           it is unusable
6303
6304         * ParagraphList.C: whitespace
6305
6306         * paragraph.[Ch]:
6307         * paragraph_pimpl.[Ch]:
6308         * paragraph_funcs.C:
6309         * CutAndPaste.C:
6310         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6311
6312         * text2.C:
6313           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6314
6315 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6316
6317         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6318         * paragraph.[Ch] (erase):
6319         * paragraph_pimpl.[Ch] (erase): change return type and value
6320         * text2.C (cutSelection): some rework
6321
6322 2003-04-28  John Levon  <levon@movementarian.org>
6323
6324         * bufferlist.C: changes for unsaved changes dialog
6325
6326 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6327
6328         * bufferlist.C (newFile): set language (messages_) for new
6329         documents also.
6330
6331         * buffer.C (readFile): ws changes only.
6332
6333 2003-04-28  André Pönitz  <poenitz@gmx.net>
6334
6335         * undo_funcs.C:
6336         * lyxfunc.C:
6337         * buffer.[Ch]:
6338         * BufferView_pimpl.C:
6339         * BufferView.C: getParFromID related ParagraphList::iterator changes
6340
6341 2003-04-28  André Pönitz  <poenitz@gmx.net>
6342
6343         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6344           Changes
6345
6346 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * messages.C: remove one more localedir class variable.
6349
6350 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * messages.C (getLocaleDir): singleton generation function
6353         (Pimpl): use it.
6354         (Messages): add a default constructor.
6355
6356         * main.C (main): do not setup localedir here, do not call
6357         gettext_init.
6358
6359         * gettext.C (_): use it.
6360         (gettext_init): delete funciton
6361
6362 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6363
6364         * gettext.C (getLyXMessages): new singleton generating function.
6365
6366         * buffer.C (updateDocLang): adjust
6367
6368         * Makefile.am (messages.o): add target
6369         (main.o): remove target
6370
6371 2003-04-27  John Levon  <levon@movementarian.org>
6372
6373         * bufferlist.C:
6374         * lyx_cb.C:
6375         * lyxfunc.C:
6376         * lyxvc.C: specify cancel button in Alert::prompt
6377
6378 2003-04-26  John Levon  <levon@movementarian.org>
6379
6380         * text3.C:
6381         * lyxfunc.C:
6382         * lfuns.h:
6383         * LyXAction.C: add LFUN_INSET_SETTINGS
6384
6385         * lyxfunc.C: don't enable tabular-feature when there's
6386         just any locking inset
6387
6388 2003-04-26  John Levon  <levon@movementarian.org>
6389
6390         * bufferlist.C: re-add Cancel to buffer close question
6391
6392         * lyxfunc.C: fix import UI a bit
6393
6394 2003-04-25  John Levon  <levon@movementarian.org>
6395
6396         * gettext.C: remove the broken asserts for now
6397
6398 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * messages.C: make case where setlocale cannot comply work better.
6401
6402         * buffer.C (updateDocLang): new function
6403         (changeLanguage): use it
6404         (readFile): use it
6405
6406         * text2.C (setCounter): use B_ a bit.
6407
6408         * lyxlayout.C (Read): be sure to trim the label strings.
6409
6410         * messages.C (Messages): fix typo in comment
6411
6412         * buffer.C (readFile): set message_ after file is loaded.
6413         (makeDocBookFile): remove double return
6414         (changeLanguage): reset message_ upon language change.
6415         (B_): new func, use this to get translated buffer strings.
6416
6417         * main.C: add myself and Jean Marc as authors.
6418
6419 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6420
6421         * messages.[hC]: pimplify Messages, and three different pimpls to be
6422         used in different circumstances.
6423
6424         * gettext.[Ch]: change for use with new message code.
6425
6426 2003-04-24 André Pönitz <poenitz@gmx.net>
6427
6428         * factory.C: support for eqref
6429
6430 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * messages.[Ch]: add missing char
6433
6434         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6435
6436         * messages.[Ch]: New files
6437
6438 2003-04-18  John Levon  <levon@movementarian.org>
6439
6440         * BufferView.h:
6441         * BufferView.C:
6442         * BufferView_pimpl.C:
6443         * lfuns.h:
6444         * LyXAction.C:
6445         * lyxtext.h:
6446         * text2.C: remove layout-copy/paste (bug 778)
6447
6448 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6449
6450         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6451
6452 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6453
6454         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6455         if they succeed. Act accordingly.
6456
6457 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6458
6459         * text2.C (setCharFont): adjust
6460         (setCounter): adjust
6461         (insertStringAsLines): adjust
6462
6463         * text.C (leftMargin): adjust
6464         (setHeightOfRow): adjust
6465
6466         * rowpainter.C (paintFirst): adjust
6467         (paintLast): adjust
6468
6469         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6470         (outerHook): ditto
6471         (isFirstInSequence): ditto
6472         (getEndLabel): ditto
6473         (outerFont): adjust
6474
6475         * paragraph.C (getParLanguage): comment out some hard stuff.
6476
6477         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6478         (sgmlError): ditto
6479         (simpleDocBookOnePar): ditto
6480         (makeDocBookFile): use ParagraphList::iterator
6481
6482         * CutAndPaste.C (pasteSelection): adjust
6483
6484 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * text2.C (getFont): adjust
6487         (getLayoutFont): adjust
6488         (getLabelFont): adjust
6489
6490         * paragraph_funcs.C (TeXOnePar): adjust
6491
6492         * buffer.C (simpleLinuxDocOnePar): adjust
6493         (simpleDocBookOnePar): adjust
6494
6495         * CutAndPaste.C (pasteSelection): adjust
6496
6497         * BufferView.C (getEncoding): adjust
6498
6499         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6500
6501 2003-04-16  John Levon  <levon@movementarian.org>
6502
6503         * lyxfind.C: use parlist stuff for search/changes
6504
6505 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6508
6509         * text2.C (deleteEmptyParagraphMechanism): adjust
6510
6511         * text2.[Ch] (ownerParagraph): delete func (both of them
6512
6513 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6514
6515         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6516
6517 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * ParagraphList.C: prepare for NO_NEXT
6520
6521 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * text2.C (getFont): adjust
6524         (getLayoutFont): adjust
6525         (getLabelFont): adjust
6526
6527         * paragraph.C (getFont): adjust
6528         (getLabelFont): adjust
6529         (getLayoutFont): adjust
6530
6531         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6532
6533 2003-04-15  John Levon  <levon@movementarian.org>
6534
6535         From Angus Leeming
6536
6537         * lyx_main.C: handle Include in .ui files
6538
6539 2003-04-15  John Levon  <levon@movementarian.org>
6540
6541         * MenuBackend.C: make the doc files length shorter
6542
6543         * ToolbarBackend.h:
6544         * ToolbarBackend.C: handle toolbar placement flags,
6545         Minibuffer
6546
6547 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6550         adjust
6551
6552         * paragraph_funcs.C (TeXOnePar): adjust
6553
6554         * paragraph.C (getLabelFont): add outerfont arg, adjust
6555         (getLayoutFont): ditto
6556         (simpleTeXOnePar): adjust
6557
6558         * paragraph_pimpl.C (realizeFont): delete func
6559
6560 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6561
6562         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6563         row argument, constify cur argument.
6564
6565 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * text2.C (getFont): adjust
6568         (getLayoutFont): adjust
6569         (getLabelFont): adjust
6570
6571         * paragraph_funcs.C (TeXOnePar): adjust
6572         (outerFont): new func...
6573         (realizeFont): ...moved out from here, changed this to facilitate
6574         transition
6575
6576         * paragraph.C (getFont): take outerfont as arg, adjust
6577         (simpleTeXOnePar): add outerfont arg, adjust
6578
6579         * buffer.C (simpleLinuxDocOnePar): adjust
6580         (simpleDocBookOnePar): adjust
6581
6582         * CutAndPaste.C (pasteSelection): adjust
6583
6584         * BufferView.C (getEncoding): adjust
6585
6586 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * text2.C (setCharFont): adjust
6589         (setCounter): adjust
6590
6591         * text.C (leftMargin): adjust
6592         (setHeightOfRow): adjust
6593
6594         * rowpainter.C (paintFirst): adjust
6595         (paintLast): adjust
6596
6597         * paragraph_pimpl.C (realizeFont): adjust
6598
6599         * paragraph.C (isFirstInSequence): move from here...
6600         * paragraph_funcs.C (isFirstInSequence): ...to here
6601
6602         * paragraph.C (outerHook): move from here...
6603         * paragraph_funcs.C (outerHook): ...to here
6604
6605         * paragraph.C (depthHook): move from here...
6606         * paragraph_funcs.C (depthHook): ...to here
6607
6608         * paragraph.C (getEndLabel): move from here...
6609         * paragraph_funcs.C (getEndLabel): ...to here
6610
6611         * text2.C (realizeFont): move from here...
6612         * paragraph_funcs.C (realizeFont): ...to here
6613
6614 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6617
6618 2003-04-14  Angus Leeming  <leeming@lyx.org>
6619
6620         * LColor.[Ch]: scrap LColor mathcursor.
6621
6622 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6623
6624         * lyxlex.[Ch] (text): delete function
6625         * trans.C (Load): adjust
6626         * paragraph_funcs.C (readParToken): adjust
6627
6628 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6631         vector<char> instead of a char[].
6632
6633         * lyxlex_pimpl.C (getString): adjust
6634         (next): adjust
6635         (lex): use getString
6636         (eatLine): adjust
6637         (nextToken): adjust
6638
6639         * lyxlex.C (text): use pimpl_->getString()
6640         (getBool): ditto
6641         (findToken): ditto
6642
6643 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6646         (makeFontEntriesLayoutSpecific): temp var for par.size()
6647         (setLayout): temp var for ownerParagraphs().end()
6648         (fullRebreak): temp var for rows().end()
6649         (selectionAsString): temp var for boost::next(startpit), realize
6650         that the while really is a regular for loop.
6651         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6652         setCursor in one place.
6653         (setParagraph): temp vr for ownerParagraphs().end()
6654         (updateCounters): make the while loop a for loop
6655         (cutSelection): temp var for ownerParagraphs().end()
6656         (updateInset): make the do {} while() a regular for loop
6657         (getCursorX): use temp vars
6658         (setCurrentFont): use temp vars
6659         (getColumnNearX): use temp vars
6660
6661 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6662
6663         * text.C (transformChar): use temp var for getChar
6664         (computeBidiTables): use temp var for row->par()
6665         (fill): move temp vars for row->par() and pit->layout() earlier in
6666         the function.
6667         (labelFill): use temp var for row->par()
6668         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6669         asc and desc, realize that pit never changes and that firstpit is
6670         just a duplicate and not needed. Exchange rit->par() with pit in a
6671         lot of places.
6672         (breakAgain): use a temp var for boost::next(rit)
6673         (breakAgainOneRow): ditto
6674         (breakParagraph): use a temp var for rows().begin()
6675         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6676         (cursorRightOneWord): use temp var for cursor.par() and
6677         cursor.pos(), remove usage of tmpcursor.
6678         (cursorLeftOneWord): use temp var for cursor.par() and
6679         cursor.pos() only set cur at end of function.
6680
6681 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6682
6683         * text.C, text2.C: exchange all usage of Paragraph::next with
6684         boost::next(ParagraphList::iterator)
6685
6686         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6687
6688         * text2.C (cursorTop): simplify implementation
6689         (cursorBottom): ditto
6690         (setParagraph): use ParagraphList::iterator
6691         (setCurrentFont): adjust
6692         (getColumnNearX): adjust
6693         (cursorRight): adjust
6694         (cursorLeft): remove usage of Paragraph::previous
6695         (cursorUpParagraph): ditto
6696         (deleteEmptyParagraphMechanism): slight cleanup
6697
6698         * text.C (isBoundary): take a Paragraph const & instead of a
6699         pointer as arg.
6700         (addressBreakPoint): ditto
6701         (leftMargin): remove usage of Paragraph::previous.
6702         (setHeightOfRow): ditto
6703         (cursorLeftOneWord): ditto
6704         (selectNextWordToSpellcheck): ditto
6705         (Delete): ditto
6706         (backspace): ditto
6707         (breakParagraph): remove one usage of Paragraph::next
6708         (redoParagraph): ditto
6709         (acceptChange): ditto
6710         (insertChar): adjust
6711         (rowBreakPoint): adjust
6712
6713         * bufferview_funcs.C (toggleAndShow): adjust
6714
6715 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6716
6717         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6718         methods to access it.
6719         * lyxtext.h:
6720         * text.C: Added updateRowPositions to compute all row positions.
6721         Make top_y and getRowNearY() to use the cached y position
6722
6723 2003-04-11  John Levon  <levon@movementarian.org>
6724
6725         * text.C (rowBreakPoint): reintroduce the labelEnd
6726         checks, code copied from the row fill stuff. Deep voodoo.
6727
6728         * text.C (fill): add a comment and debugging for the
6729         next poor soul.
6730
6731 2003-04-11  John Levon  <levon@movementarian.org>
6732
6733         * text.C: make sure fullrow insets get wrapped to the next line,
6734         even when they're in a manual label
6735
6736 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * text2.C (insertParagraph): make it take ParagraphList::iterator
6739         as arg.
6740         (setLayout): make it return ParagraphList::iterator
6741         (redoParagraphs): ditto
6742         (setCounter): ditto
6743         (checkParagraph): ditto
6744
6745         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6746
6747         * text2.C: adjust several funcs.
6748         (realizeFont): take a ParagraphList::iterator as arg.
6749         (getLayoutFont): ditto
6750         (getLabelFont): ditto
6751         (setCharFont): ditto
6752
6753         * text.C: adjust several funcs.
6754
6755 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6756
6757         * text.C (selectNextWordToSpellcheck): don't accidentally
6758         skip insets
6759
6760 2003-04-10  John Levon  <levon@movementarian.org>
6761
6762         * ToolbarBackend.C (getIcon): special handling for
6763         LFUN_MATH_DELIM
6764
6765 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6766
6767         * text2.C (cursorRight): a getChar assert fixed
6768
6769 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6770
6771         * text2.C (getFont): change to take a ParagraphList::iterator
6772         instead of Paragraph*
6773         Adjust several functions.
6774
6775         * text.C (transformChar): change to take a ParagraphList::iterator
6776         instead of Paragraph*
6777         (singleWidth): ditto
6778         Adjust several functions.
6779
6780         * rowpainter.C: adjust several functions
6781         * rowpainter.h:store a ParagraphList::iterator and not a
6782         Paragraph&.
6783
6784
6785 2003-04-09  John Levon  <levon@movementarian.org>
6786
6787         * lyxfunc.C:
6788         * lfuns.h:
6789         * LyXAction.h:
6790         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6791         and the "help" bits as well
6792
6793 2003-04-09  John Levon  <levon@movementarian.org>
6794
6795         * ToolbarBackend.h:
6796         * ToolbarBackend.C: allow multiple toolbars
6797
6798 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6799
6800         * undo_funcs.C (setCursorParUndo): adjust
6801
6802         * text_funcs.C (transposeChars): adjust
6803
6804         * text3.C (gotoNextInset): adjust
6805         (dispatch): adjust
6806
6807         * text2.C (setLayout): adjust
6808         (changeDepth): adjust
6809         (setFont): adjust
6810         (redoParagraphs): adjust
6811         (selectionAsString): adjust
6812         (setParagraph): adjust
6813         (insertInset): adjust
6814         (cutSelection): adjust
6815         (copySelection): adjust
6816         (pasteSelection): adjust
6817         (insertStringAsLines): adjust
6818         (updateInset): adjust
6819         (setCursor): change to take a ParagraphList::iterator parameter
6820         (setCursorIntern): change to take a ParagraphList::iterator parameter
6821         (setCurrentFont): adjust
6822         (cursorLeft): adjust
6823         (cursorRight): adjust
6824         (deleteEmptyParagraphMechanism): adjust
6825
6826         * text.C (breakParagraph): adjust
6827         (insertChar): adjust
6828         (acceptChange): adjust
6829         (rejectChange): adjust
6830         (selectNextWordToSpellcheck): adjust
6831         (changeCase): adjust
6832         (Delete): adjust
6833         (backspace): adjust
6834
6835         * lyxfind.C (SearchForward): adjust
6836         (SearchBackward): adjust
6837         (nextChange): adjust
6838
6839         * lyxcursor.C (par): adjust
6840
6841         * lyxcursor.h: store a ParagraphList::iterator instead of a
6842         Paragraph*
6843
6844         * lyx_cb.C (getPossibleLabel): adjust
6845
6846         * bufferview_funcs.C (toggleAndShow): adjust
6847
6848         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6849         (dispatch): adjust
6850
6851         * BufferView.C (removeAutoInsets): adjust
6852         (lockedInsetStoreUndo): adjust
6853
6854 2003-04-09  John Levon  <levon@movementarian.org>
6855
6856         * ToolbarBackend.C: try icon without argument
6857         if with argument fails
6858
6859 2003-04-08  John Levon  <levon@movementarian.org>
6860
6861         * ToolbarBackend.h:
6862         * ToolbarBackend.C: add getIcon(), handle tooltip,
6863         and change from "Icon" to "Item".
6864
6865 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6866
6867         * BufferView.C (lockInset): another bad getchar crunched
6868
6869 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6870
6871         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6872         again)
6873
6874 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6875
6876         * lyxfind.C (searchForward, searchBackwards): bug 782
6877
6878 2003-04-07  John Levon  <levon@movementarian.org>
6879
6880         * paragraph.C: remove dead comment
6881
6882         * text.C: remove troublesome depth-fiddling code
6883         in leftMargin() and rightMargin() (bug 1017)
6884
6885         * text.C: fix breaking of rows in nested lists
6886         (bug 1004)
6887
6888         * text2.C (updateCounters): fix up depth values
6889         (bug 1013)
6890
6891 2003-04-07  John Levon  <levon@movementarian.org>
6892
6893         * BufferView_pimpl.C: clear message when doc finishes resizing,
6894         and after a mouse event
6895
6896         * lyxfunc.C: clear message after exiting inset
6897
6898 2003-04-07  John Levon  <levon@movementarian.org>
6899
6900         * bufferview_funcs.C: show math status not outside
6901         status in the statusbar
6902
6903 2003-04-07  John Levon  <levon@movementarian.org>
6904
6905         * lyxfunc.C: note status changed after a depth change
6906
6907 2003-04-04  Angus Leeming  <leeming@lyx.org>
6908
6909         * LaTeX.h: move AuxInfo operator==, != out of line.
6910         Remove LaTeX virtual destructor; nothing derives from it.
6911         Move operator()() out of public area and rename it startscript().
6912         Change protected for private.
6913
6914 2003-04-04  Angus Leeming  <leeming@lyx.org>
6915
6916         * lyxfunc.C:
6917         * text2.C: remove unneeded #includes.
6918
6919 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6920
6921         * text2.C (dEPM): fix the heigth of the next row
6922
6923 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6924
6925         * text.C: squashed an invalid getChar requester + some ws changes
6926
6927 2003-04-03  John Levon  <levon@movementarian.org>
6928
6929         * bufferview_funcs.h:
6930         * bufferview_funcs.C:
6931         * lyxfunc.C:
6932         * lyxtext.h:
6933         * text2.C: make getStatus work for the env depth lfuns
6934
6935 2003-04-03  John Levon  <levon@movementarian.org>
6936
6937         * bufferview_funcs.h:
6938         * bufferview_funcs.C:
6939         * lyxfunc.C:
6940         * lyxtext.h:
6941         * text2.C: parlistize decDepth(), by merging it with incDepth()
6942
6943 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6944
6945         * lyxrow.h: store a ParagraphList::iterator instead of a
6946         Paragraph* and adjust other class functions to suit.
6947
6948         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6949         above.
6950
6951 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6952
6953         * text2.C (setCursor): do not anchor to cursor row for the time being
6954
6955 2003-04-02  John Levon  <levon@movementarian.org>
6956
6957         * LyXAction.C:
6958         * lfuns.h:
6959         * lyx_main.C:
6960         * lyxtext.h:
6961         * text.C:
6962         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6963
6964 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * paragraph.h: make ParagraphList and ParagraphList::iterator
6967         friends of Paragraph.
6968
6969         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6970
6971         * ParagraphList.C: Use the private next_ and previous_ from
6972         Paragraph.
6973
6974 2003-04-01  John Levon  <levon@movementarian.org>
6975
6976         * ToolbarBackend.h:
6977         * ToolbarBackend.C:
6978         * Makefile.am: rename, remove defaults gunk
6979
6980         * MenuBackend.h:
6981         * MenuBackend.C: remove defaults gunk
6982
6983         * Languages.h:
6984         * Languages.C: remove defaults gunk
6985
6986         * lyx_main.h:
6987         * lyx_main.C: error out if files couldn't be found.
6988
6989 2003-04-02  John Levon  <levon@movementarian.org>
6990
6991         * text2.C: make incDepth() use parlist
6992
6993 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * undo_funcs.C (firstUndoParagraph): adjust
6996
6997         * text3.C (gotoInset): adjust
6998         (dispatch): adjust, and rewrite loop.
6999
7000         * text2.C (init): adjust, and rewrite loop.
7001         (redoParagraphs): adjust
7002         (updateInset): adjust, and rewrite loop.
7003         (deleteEmptyParagraphMechanism): adjust
7004
7005         * tabular.C (LyXTabular): adjust
7006         (SetMultiColumn): adjust
7007         (TeXRow): adjust
7008
7009         * lyxtext.[Ch] (ownerParagraph): delete function
7010         (ownerParagraphs): new function returns a ParagraphList.
7011
7012         * BufferView.C (removeAutoInsets): adjust
7013         (insertErrors): adjust
7014         (setCursorFromRow): adjust
7015
7016 2003-04-01  Angus Leeming  <leeming@lyx.org>
7017
7018         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7019         in the frontends.
7020
7021 2003-04-02  John Levon  <levon@movementarian.org>
7022
7023         * lyxtext.h:
7024         * text.C:
7025         * Makefile.am:
7026         * text_funcs.h:
7027         * text_funcs.C: make transposeChars a free function
7028
7029         * lyxrow_funcs.C: remove wrong comment
7030
7031 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * lyxtext.h: adjust
7034         * rowpainter.C: adjust
7035         * text.C: adjust
7036         * text2.C: adjust
7037         * text3.C: adjust
7038
7039         * lyxrow_funcs. [Ch]: new files
7040
7041         * lyxrow.[Ch]: remove next and previous pointers
7042         (next,previous): remove accessor functions
7043         (isParEnd): move to lyxrow_funcs
7044         (lastPos): move to lyxrow_funcs
7045         (nextRowIsAllInset): move to lyxrow_funcs
7046         (lastPrintablePos): move to lyxrow_funcs
7047         (numberOfSeparators): move to lyxrow_funcs
7048         (numberOfHfills): move to lyxrow_funcs
7049         (numberOfLabelHfills): move to lyxrow_funcs
7050         (hfillExpansion): move to lyxrow_funcs
7051
7052         * lyxfunc.C: adjust
7053
7054         * bufferview_funcs.C (toggleAndShow): adjust
7055
7056         * RowList.h: Remove class RowList from file leave just a
7057         std::list<Row>.
7058
7059         * RowList.C: delete file
7060
7061         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7062         and lyxrow_funcs.h
7063
7064 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * text3.C (cursorPrevious): adjust
7067         (cursorNext): adjust
7068         (dispatch): adjust
7069
7070         * text2.C (redoHeightOfParagraph): adjust
7071         (redoDrawingOfParagraph): adjust
7072         (setCursor): adjust
7073
7074         * text.C (breakParagraph): adjust
7075         (insertChar): adjust
7076         (backspace): adjust
7077
7078         * rowpainter.C (RowPainter): adjust
7079         (leftMargin): simplify and adjust
7080         (most rowpainter functions): adjust.
7081
7082         * rowpainter.h: store the row as RowList::iterator not as Row*
7083
7084         * lyxcursor.C (row): taka RowList::iterator as arg
7085         (irow): ditto
7086
7087         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7088         of Row*.
7089
7090 2003-04-01  Angus Leeming  <leeming@lyx.org>
7091
7092         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7093         stuff like bool Bool.
7094
7095 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7096
7097         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7098         rewrite a loop
7099
7100 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7103         RowList::iterator.
7104
7105         * lyxtext.h (rows): drop one version and leve a const variant that
7106         returns a RowList::iterator.
7107
7108 2003-03-31  Angus Leeming  <leeming@lyx.org>
7109
7110         * text.C (fill): ensure that the signature is the same as that in the
7111         header file.
7112
7113 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7114
7115         * text2.C (redoParagraphs): adjust
7116         (updateCounters): adjust
7117         (checkParagraph): adjust
7118         (getColumnNearX): adjust and reformat a bit.
7119
7120         * text.C (top_y): adjust
7121         (workWidth): adjust
7122         (leftMargin): adjust
7123         (prepareToPrint): adjust
7124         (getRow): adjust
7125         (getRowNearY): adjust
7126
7127         * lyxtext.h: make rowlist_ mutable.
7128
7129         * RowList.h: add const_iterator
7130         * RowList.C: adjust for RowList::const_iterator.
7131
7132         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7133         adjust.
7134
7135 2003-03-31  John Levon  <levon@movementarian.org>
7136
7137         * lyxrc.h:
7138         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7139
7140         * lyx_main.C: set default fonts from using lyx_gui funcs
7141
7142         * exporter.C: pdf_mode moved from lyxrc
7143
7144         * lyx_cb.C:
7145         * lyxfunc.C: changes from above
7146
7147 2003-03-31  John Levon  <levon@movementarian.org>
7148
7149         * lyx_main.C: fix to the last fix
7150
7151 2003-03-31  John Levon  <levon@movementarian.org>
7152
7153         * bufferlist.C: "Load original" -> "Load Original"
7154
7155         * converter.C:
7156         * exporter.C:
7157         * importer.C:
7158         * lyx_main.C:
7159         * format.C: more Alert cleanups
7160
7161 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * text2.C (removeParagraph): make it take a RowList::iterator as
7164         arg, adjust.
7165         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7166         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7167
7168         * text.C (anchor_row): make it take a RowList::iterator as arg,
7169         adjust.
7170         (computeBidiTables): make it take a const reference to Row instead
7171         of Row pointer, adjust.
7172         (leftMargin): make it take a RowList::iterator as arg, adjust.
7173         (rowBreakPoint): adjust
7174         (breakAgainOneRow): make it take a RowList::iterator as arg,
7175         adjust.
7176         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7177
7178         * bufferview_funcs.C (toggleAndShow): adjust
7179
7180 2003-03-30  John Levon  <levon@movementarian.org>
7181
7182         * Makefile.am:
7183         * BoostFormat.h:
7184         * boost-inst.C: moved to support
7185
7186         * several files: changes as a result
7187
7188 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7189
7190         * text2.C (LyXText): adjust.
7191         (init): adjust
7192         (removeRow): make it take a RowList::iterator as arg, adjust.
7193         (fullRebreak): adjust
7194         (deleteEmptyParagraphMechanism): adjust
7195         (clearPaint): adjust
7196         (postPaint): adjust
7197
7198         * text.C (top_y): adjust
7199         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7200         (breakAgain): make it take a RowList::iterator as arg, adjust.
7201         (breakParagraph): adjust
7202         (insertChar): adjust
7203         (backspace): adjust
7204
7205         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7206         need_break_row, and refresh_row.
7207
7208         * text3.C (dispatch): adjust
7209
7210         * text2.C (checkParagraph): adjust
7211         (setCursor): adjust
7212         (setCursorFromCoordinates): adjust
7213
7214         * text.C (top_y): adjust
7215         (workWidth): adjust
7216         (getRow): make it return a RowList::iterator, adjust
7217         (getRowNearY): make it return a RowList::iterator, adjust
7218
7219         * text2.C (init): adjust
7220         (insertRow): remove function
7221         (insertParagraph): adjust
7222         (redoParagraphs): adjust
7223         (fullRebreak): adjust
7224         (updateCounters): adjust
7225
7226         * text.C (top_y): rewrite to use RowList iterators.
7227         (top_y): adjust
7228         (setHeightOfRow): rewrite to sue RowList iterators.
7229         (appendParagraph): adjust
7230         (breakAgain): adjust
7231         (breakAgainOneRow): adjust
7232         (breakParagraph): adjust
7233         (getRow): adjust
7234         (getRowNearY): adjust, and remove commented code.
7235
7236         * lyxtext.h (firstRow): delete function
7237         (lastRow): delete function
7238         (rows): new function (const and non-const versions.)
7239         (insertRow): delete function
7240
7241         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7242
7243 2003-03-29  John Levon  <levon@movementarian.org>
7244
7245         * BufferView_pimpl.C: always update scrollbar top
7246         because pasting text when we're anchored could mean we
7247         miss an update altogether
7248
7249 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * text2.C (init): use rowlist_.end() and not 0.
7252         (insertRow): change to take a RowList::iterator as arg, adjust
7253         for this.
7254         (insertParagraph): change to take a RowList::iterator as arg,
7255         adjust for this.
7256         (redoParagraphs): remove some debug msgs.
7257
7258         * text.C (appendParagraph): change to take a RowList::iterator
7259         arg, adjust for this.
7260         (breakAgain): add an assert
7261         (breakAgainOneRow): ditto
7262
7263 2003-03-29  John Levon  <levon@movementarian.org>
7264
7265         * text2.C: do not clear selection after inc/decDepth
7266         (bug 550)
7267
7268 2003-03-29  John Levon  <levon@movementarian.org>
7269
7270         * BufferView.C:
7271         * buffer.C: fix broken strerrors according to Lars
7272
7273 2003-03-29  John Levon  <levon@movementarian.org>
7274
7275         * converters.C: more Alert cleanups
7276
7277 2003-03-29  John Levon  <levon@movementarian.org>
7278
7279         * bufferview_funcs.C: remove pointless Alert
7280
7281         * buffer.C: fix confusing error message when
7282         a template is chmoded 000
7283
7284 2003-03-29  John Levon  <levon@movementarian.org>
7285
7286         * BufferView.C:
7287         * BufferView.h:
7288         * BufferView_pimpl.C: Alert fixes
7289
7290         * Makefile.am:
7291         * tabular.C:
7292         * tabular-old.C: remove unused table compat reading
7293
7294 2003-03-29  John Levon  <levon@movementarian.org>
7295
7296         * BufferView.C:
7297         * buffer.C:
7298         * lyx_cb.h:
7299         * lyx_cb.C: more Alert cleanups
7300
7301         * lyxfunc.C: don't allow chktex if not latex document
7302
7303 2003-03-29  John Levon  <levon@movementarian.org>
7304
7305         * lyx_cb.C:
7306         * BufferView.C:
7307         * buffer.C: warnings pushed down from support/,
7308         kill err_alert
7309
7310 2003-03-29  John Levon  <levon@movementarian.org>
7311
7312         * lyxfunc.C: safety check for C-r (revert)
7313
7314 2003-03-29  John Levon  <levon@movementarian.org>
7315
7316         * bufferlist.h:
7317         * bufferlist.C: several UI fixes using Alert::prompt.
7318         Fix the pointless looping quit code. Fix stupid revert
7319         behaviour (bug 938)
7320
7321         * lyxvc.h:
7322         * lyxvc.C:
7323         * lyx_cb.C: use Alert::prompt
7324
7325         * lyx_main.C: remove a silly question
7326
7327         * lyxfunc.C: remove a couple of silly questions,
7328         use Alert::prompt
7329
7330 2003-03-28  John Levon  <levon@movementarian.org>
7331
7332         * text2.C: fix bug 974 (End on empty par)
7333
7334 2003-03-28  John Levon  <levon@movementarian.org>
7335
7336         * BufferView_pimpl.C:
7337         * LyXAction.C:
7338         * lfuns.h: remove do-nothing math greek lfuns
7339
7340 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * lyxgluelength.h (isValidGlueLength): add default arg on
7343         parameter 2. Remove default arg from friend in class.
7344
7345         * lyxlength.h (isValidLength): add default arg on parameter 2.
7346         Remove default arg from friend in class.
7347
7348         * text2.C (LyXText): adjust, initialize refresh_row.
7349         (init): adjust
7350         (removeRow): adjust
7351         (insertRow): adjust
7352         (insertParagraph): adjst
7353         (redoParagraphs): adjust
7354         (fullRebreak): adjust
7355         (updateCounters): adjust
7356         (deleteEmptyParagraphMechanism): first attempt at fixing a
7357         crashing bug.
7358
7359         * text.C (top_y): adjust
7360         (setHeightOfRow): adjust
7361         (getRow): adjust
7362         (getRowNearY): adjust
7363
7364         * lyxtext.h: include RowList.h
7365         (~LyXText): not needed anymore, deleted.
7366         (firstRow): modify for RowList
7367         (lastRow): new function
7368         Delete firstrow and lastrow class variables, add a Rowlist
7369         rowlist_ class variable.
7370
7371         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7372         paragraph is empty.
7373
7374         * RowList.C (insert): fix case where it == begin().
7375
7376 2003-03-26  Angus Leeming  <leeming@lyx.org>
7377
7378         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7379         the thesaurus dialog.
7380
7381 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7384
7385         * RowList.[Ch]: new files
7386
7387         * ParagraphList.C (erase): handle the case where it == begin
7388         correctly.
7389
7390 2003-03-25  John Levon  <levon@movementarian.org>
7391
7392         * Makefile.am:
7393         * aspell_local.h:
7394         * aspell.C: add new aspell support
7395
7396         * lyxrc.h:
7397         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7398         have it accessible.
7399
7400 2003-03-25  Angus Leeming  <leeming@lyx.org>
7401
7402         * lfuns.h:
7403         * LyXAction.C (init): new LFUN_INSET_INSERT.
7404
7405         * BufferView_pimpl.C (dispatch): split out part of the
7406         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7407
7408         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7409         LFUN_INSET_APPLY.
7410
7411 2003-03-25  Angus Leeming  <leeming@lyx.org>
7412
7413         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7414
7415 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7416
7417         * text2.C:
7418         * text3.C: remove useless row->height(0)
7419
7420 2003-03-25  John Levon  <levon@movementarian.org>
7421
7422         * lyxtext.h:
7423         * text2.C:
7424         * text3.C: rename the refreshing stuff to better names
7425
7426 2003-03-24  John Levon  <levon@movementarian.org>
7427
7428         * BufferView_pimpl.h:
7429         * BufferView_pimpl.C: update layout choice on a mouse
7430         press/release
7431
7432 2003-03-23  John Levon  <levon@movementarian.org>
7433
7434         * Makefile.am: fix commandtags.h reference
7435
7436 2003-03-22  John Levon  <levon@movementarian.org>
7437
7438         * BufferView_pimpl.C:
7439         * lyxtext.h:
7440         * rowpainter.C:
7441         * rowpainter.h:
7442         * text.C:
7443         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7444
7445 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7446
7447         * lyxtext.h:
7448         * text.C: take the rtl methods out of line
7449
7450 2003-03-21 André Pönitz <poenitz@gmx.net>
7451
7452         * metricsinfo.[Ch]: new files containing structures to be passed around
7453         during the two-phase-drawing...
7454
7455 2003-03-21 André Pönitz <poenitz@gmx.net>
7456
7457         * lyxtextclass.C: read 'environment' tag.
7458
7459 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7460
7461         * text2.C (removeRow): fix bug 964
7462
7463 2003-03-20  John Levon  <levon@movementarian.org>
7464
7465         * rowpainter.C:
7466         * text.C:
7467         * text2.C: paint cleanups. Inset::update() dropped font
7468         parameter
7469
7470 2003-03-19  John Levon  <levon@movementarian.org>
7471
7472         * lyxfunc.C: only fitcursor/markDirty if available()
7473
7474 2003-03-19  John Levon  <levon@movementarian.org>
7475
7476         * commandtags.h: rename to ...
7477
7478         * lfuns.h: ... this, and renumber / cleanup
7479
7480 2003-03-19  John Levon  <levon@movementarian.org>
7481
7482         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7483         fit the cursor after an lfun
7484
7485         * BufferView.h:
7486         * BufferView.C:
7487         * BufferView_pimpl.h:
7488         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7489
7490         * LyXAction.C: layout-character should have ReadOnly
7491
7492         * ParagraphParameters.C:
7493         * buffer.C:
7494         * bufferview_funcs.C:
7495         * lyx_cb.C:
7496         * lyxfind.C:
7497         * lyxtext.h:
7498         * text.C:
7499         * text2.C:
7500         * text3.C:
7501         * undo_funcs.C: changes from above
7502
7503 2003-03-18  John Levon  <levon@movementarian.org>
7504
7505         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7506         remove it from update()
7507
7508         * lyxfunc.C: update layout choice after an lfun
7509
7510         * text3.C: remove extra updateLayoutChoice()s
7511
7512 2003-03-18  John Levon  <levon@movementarian.org>
7513
7514         * text.C: top_y change means full repaint, fix
7515         a drawing bug with cursor movement
7516
7517 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7518
7519         * lyxtext.h:
7520         * text.C:
7521         * text2.C: anchor row on setCursor
7522
7523 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7524
7525         * lyxtext.h: remove almost all mutable keywords
7526         * text.C:
7527         * text2.C:
7528         * text3.C: remove const keywords accordingly
7529
7530 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7533         anon namespace
7534         (TeXEnvironment): ditto
7535         (TeXOnePar): ditto
7536
7537 2003-03-17  John Levon  <levon@movementarian.org>
7538
7539         * text.C (rowBreakPoint): remove attempt to fix displayed
7540         math insets inside a manual label
7541
7542 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * lyxtext.h: remove BufferView* as first arg from almost all class
7545         functions.
7546         * other files: adjust.
7547
7548 2003-03-17  John Levon  <levon@movementarian.org>
7549
7550         * lyxtext.h:
7551         * undo_funcs.C:
7552         * text2.C: more paint cleanups
7553
7554         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7555
7556         * rowpainter.h:
7557         * rowpainter.C: remove "smart" background painting code
7558
7559 2003-03-16  John Levon  <levon@movementarian.org>
7560
7561         * lyxtext.h:
7562         * text.C:
7563         * text2.C:
7564         * text3.C: add helper functions for setting refresh_row/y
7565
7566 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7567
7568         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7569         newline inset which *can* get inserted in the pass_thru layouts.
7570         This is primarily for literate documents.
7571
7572 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7573
7574         * buffer.C: increment LYX_FORMAT to 223
7575
7576 2003-03-14 André Pönitz <poenitz@gmx.net>
7577
7578         * textclass.h: prepare for environment handling, ws changes
7579         * lyxlayout.C: read latexheader and latexfooter tags
7580
7581 2003-03-14  John Levon  <levon@movementarian.org>
7582
7583         * text2.C: rewrite ::status() a bit
7584
7585 2003-03-13  John Levon  <levon@movementarian.org>
7586
7587         * lyxtext.h: add some docs
7588
7589 2003-03-13  John Levon  <levon@movementarian.org>
7590
7591         * lyxtext.h:
7592         * text.C:
7593         * text2.C:
7594         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7595
7596 2003-03-13  John Levon  <levon@movementarian.org>
7597
7598         * text3.C: fix appendix redrawing
7599
7600 2003-03-13  John Levon  <levon@movementarian.org>
7601
7602         * text.C (setHeightOfRow):
7603         * rowpainter.h:
7604         * rowpainter.C: make appendix mark have the text
7605           "Appendix" so the user knows what it is
7606
7607         * LColor.h:
7608         * LColor.C: s/appendixline/appendix/ from above
7609
7610 2003-03-13  John Levon  <levon@movementarian.org>
7611
7612         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7613
7614         * text.C: fix a getChar(pos) bug properly
7615
7616 2003-03-13  Angus Leeming  <leeming@lyx.org>
7617
7618         * commandtags.h:
7619         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7620         Probably only temporary. Let's see how things pan out.
7621
7622         * BufferView.C (unlockInset):
7623         * BufferView_pimpl.C (fitCursor):
7624         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7625
7626         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7627         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7628
7629         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7630         new functions that convert ParagraphParameters to and from a string.
7631
7632         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7633         BufferView::Pimpl's dispatch.
7634         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7635
7636 2003-03-13 André Pönitz <poenitz@gmx.net>
7637
7638         * lyxfunc.C:
7639         * text3.C:
7640         * factory.C: make it aware of InsetEnv
7641
7642 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * text2.C (setCursor): never ask for one past last
7645         (setCursor): add some debugging messages.
7646
7647         * text.C (singleWidth): never ask for one past last
7648         (singleWidth): ditto
7649         (leftMargin): ditto
7650         (rightMargin): ditto
7651         (rowBreakPoint): ditto
7652         (setHeightOfRow): ditto
7653         (prepareToPrint): ditto
7654
7655         * rowpainter.C (paintBackground): never ask for one past last
7656         (paintText): never ask for one past last
7657
7658         * paragraph_pimpl.C (getChar): make the assert stricter, never
7659         allow the one past last pos to be taken
7660
7661         * paragraph.C (getChar): ws changes only
7662
7663         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7664         (numberOfSeparators): ditto
7665         (numberOfHfills): ditto
7666
7667 2003-03-12  John Levon  <levon@movementarian.org>
7668
7669         * author.h:
7670         * author.C:
7671         * bufferparams.h:
7672         * bufferparams.C:
7673         * paragraph_funcs.C: fix per-buffer authorlists
7674
7675 2003-03-12  John Levon  <levon@movementarian.org>
7676
7677         * text.C: fix newline in right address
7678
7679 2003-03-12  Angus Leeming  <leeming@lyx.org>
7680
7681         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7682         duplicate those in LyXFunc::dispatch.
7683
7684         * commandtags.h:
7685         * LyXAction.C:
7686         * ToolbarDefaults.C:
7687         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7688         Add LFUN_FONTFREE_UPDATE.
7689
7690         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7691         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7692
7693         * bufferview_func.[Ch]: several new functions to facilliate
7694         transfer of data to and from the character dialog.
7695
7696 2003-03-12  John Levon  <levon@movementarian.org>
7697
7698         * buffer.C:
7699         * paragraph.h:
7700         * paragraph.C:
7701         * paragraph_funcs.C:
7702         * paragraph_pimpl.C:
7703         * sgml.C:
7704         * tabular.C:
7705         * text.C:
7706         * text3.C: remove META_NEWLINE in favour of an inset
7707
7708         * rowpainter.h:
7709         * rowpainter.C: remove paintNewline (done by inset)
7710
7711 2003-03-12  John Levon  <levon@movementarian.org>
7712
7713         * paragraph_pimpl.C: complain about bad getChar()s
7714         for a while at least
7715
7716 2003-03-12  John Levon  <levon@movementarian.org>
7717
7718         * buffer.h:
7719         * buffer.C: move paragraph read into a separate function,
7720         a little renaming to reflect that.
7721
7722         * bufferparams.h:
7723         * bufferparams.C: remove the author_ids map, not necessary now
7724
7725         * factory.h:
7726         * factory.C: moved Buffer::readInset to here
7727
7728         * paragraph_funcs.h:
7729         * paragraph_funcs.C: readParagraph free function moved from
7730         buffer.C
7731
7732         * tabular.C: name change
7733
7734 2003-03-12  John Levon  <levon@movementarian.org>
7735
7736         * buffer.C:
7737         * ParagraphParameters.C: move par params input to
7738         a read() method
7739
7740         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7741         behave like a normal read from the stream wrt reading
7742         a line vs. a \\token
7743
7744 2003-03-12  John Levon  <levon@movementarian.org>
7745
7746         * paragraph.C:
7747         * ParagraphParameters.h:
7748         * ParagraphParameters.C: move output code to a
7749         ::write() method
7750
7751 2003-03-12  John Levon  <levon@movementarian.org>
7752
7753         * BufferView.C (insertLyXFile):
7754         * buffer.h:
7755         * buffer.C:
7756         * tabular.C: use a parlist iterator for creating the
7757           document.
7758
7759 2003-03-12  John Levon  <levon@movementarian.org>
7760
7761         * buffer.C: make current_change static local not
7762           static file-scope
7763
7764 2003-03-12  John Levon  <levon@movementarian.org>
7765
7766         * buffer.C: fix insertStringAsLines for change tracking
7767
7768 2003-03-12  John Levon  <levon@movementarian.org>
7769
7770         * BufferView.C:
7771         * tabular.C:
7772         * buffer.h:
7773         * buffer.C:
7774         * bufferparams.h:
7775         * bufferparams.C: move author list into params. Rename some
7776           functions. Move the header reading into a separate token
7777           loop. Move the header token reading into BufferParams.
7778
7779 2003-03-12  John Levon  <levon@movementarian.org>
7780
7781         * changes.C: put debug inside lyxerr.debugging() checks
7782
7783 2003-03-11 André Pönitz <poenitz@gmx.net>
7784
7785         * factory.C: make it aware of InsetHFill
7786
7787 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7788
7789         * buffer.C (latexParagraphs): move function from here...
7790         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7791         args.
7792
7793 2003-03-10  Angus Leeming  <leeming@lyx.org>
7794
7795         * LyXAction.C (init): fix bug in poplating array with multiple entries
7796         with the same LFUN (spotted by JMarc).
7797
7798 2003-03-10  John Levon  <levon@movementarian.org>
7799
7800         * text.C:
7801         * text2.C: move getColumnNearX() near its
7802         only call site
7803
7804 2003-03-10  John Levon  <levon@movementarian.org>
7805
7806         * text.C: fix break before a minipage
7807
7808 2003-03-10  John Levon  <levon@movementarian.org>
7809
7810         * text.C: fix the last commit
7811
7812 2003-03-09  John Levon  <levon@movementarian.org>
7813
7814         * lyxtext.h:
7815         * text.C:
7816         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7817         bug 365 (don't break before insets unless needed). Don't
7818         return a value > last under any circumstances.
7819
7820 2003-03-09  Angus Leeming  <leeming@lyx.org>
7821
7822         * BufferView_pimpl.C (trackChanges, dispatch): call
7823         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7824
7825 2003-03-09  Angus Leeming  <leeming@lyx.org>
7826
7827         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7828         than Dialogs::showAboutlyx().
7829
7830 2003-03-09  Angus Leeming  <leeming@lyx.org>
7831
7832         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7833         than Dialogs::showTabularCreate().
7834
7835 2003-03-09  John Levon  <levon@movementarian.org>
7836
7837         * lyxtext.h:
7838         * text.C:
7839         * text2.C: 3rd arg to nextBreakPoint was always the same.
7840           Use references.
7841
7842 2003-03-08  John Levon  <levon@movementarian.org>
7843
7844         * lyxrow.C:
7845         * paragraph.C:
7846         * paragraph.h:
7847         * rowpainter.C:
7848         * text.C:
7849         * text2.C: Remove the "main" bit from the "main body"
7850           notion.
7851
7852 2003-03-08  John Levon  <levon@movementarian.org>
7853
7854         * text.C (leftMargin): The left margin of an empty
7855         manual label paragraph should not include the label width
7856         string length.
7857
7858         * text.C (prepareToPrint): don't attempt to measure hfills
7859         for empty manual label paragraphs - the answer should be 0
7860
7861 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * CutAndPaste.C: remove commented code and reindent.
7864
7865 2003-03-08  John Levon  <levon@movementarian.org>
7866
7867         * lyxfunc.h:
7868         * lyxfunc.C: move reloadBuffer()
7869
7870         * BufferView.h:
7871         * BufferView.C: to here
7872
7873         * lyxvc.C: add comment
7874
7875         * vc-backend.h:
7876         * vc-backend.C: call bv->reload() to avoid
7877           getStatus() check on MENURELOAD
7878
7879 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7880
7881         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7882         to an old format .dep file.
7883
7884 2003-03-07  Angus Leeming  <leeming@lyx.org>
7885
7886         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7887         when the LFUN_MOUSE_RELEASE should have been handled by
7888         inset->localDispatch.
7889
7890 2003-03-07  Angus Leeming  <leeming@lyx.org>
7891
7892         * BufferView_pimpl.C (dispatch):
7893         * LyXAction.C (init):
7894         * ToolbarDefaults.C (init):
7895         * commandtags.h:
7896         * lyxfunc.C (getStatus):
7897         remove LFUN_INSET_GRAPHICS.
7898
7899         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7900
7901 2003-03-07  Angus Leeming  <leeming@lyx.org>
7902
7903         * commandtags.h:
7904         * LyXAction.C (init):
7905         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7906
7907         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7908
7909         * commandtags.h:
7910         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7911
7912         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7913         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7914
7915 2003-03-07  Angus Leeming  <leeming@lyx.org>
7916
7917         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7918         remove "ert".
7919
7920 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7921
7922         * ParagraphList.C (front): new function
7923         (back): implement
7924
7925 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7926
7927         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7928         and top_row_offset_. removed var first_y.
7929         * text.C (top_y):
7930         * text2.C (LyXText, removeRow):
7931         * text3.C:
7932         * BufferView_pimpl.C:
7933         use these methods instead of using first_y
7934
7935 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7936
7937         * text2.C (pasteSelection): adjust for checkPastePossible
7938
7939         * CutAndPaste.C: remove Paragraph * buf and replace with
7940         ParagraphList paragraphs.
7941         (DeleteBuffer): delete
7942         (cutSelection): change the tc type to textclass_type
7943         (copySelection): change the tc type to textclass_type
7944         (copySelection): adjust for ParagraphList
7945         (pasteSelection): change the tc type to textclass_type
7946         (pasteSelection): adjust for Paragraphlist
7947         (nrOfParagraphs): simplify for ParagraphList
7948         (checkPastePossible): simplify for ParagraphList
7949         (checkPastePossible): remove unused arg
7950
7951         * ParagraphList.C (insert): handle the case where there are no
7952         paragraphs yet.
7953
7954         * CutAndPaste.h: make CutAndPaste a namespace.
7955
7956         * text3.C (dispatch): adjust
7957
7958         * text.C (breakParagraph): add a ParagraphList as arg
7959
7960         * paragraph_funcs.C (breakParagraph): change to take a
7961         BufferParams and a ParagraphList as args.
7962         (breakParagraphConservative): ditto
7963         (mergeParagraph): ditto
7964         (TeXDeeper): add a ParagraphList arg
7965         (TeXEnvironment): ditto
7966         (TeXOnePar): ditto
7967
7968         * buffer.C (readLyXformat2): adjust
7969         (insertStringAsLines): adjust
7970         (latexParagraphs): adjust
7971
7972         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7973         (cutSelection): adjust
7974         (pasteSelection): adjust
7975
7976         * BufferView_pimpl.C (insertInset): adjust
7977
7978 2003-03-05  Angus Leeming  <leeming@lyx.org>
7979
7980         * commandtags.h:
7981         * LyXAction.C (init):
7982         * BufferView_pimpl.C (dispatch):
7983         * lyxfunc.C (getStatus):
7984         remove LFUN_CHILD_INSERT.
7985
7986         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7987
7988 2003-03-05  Angus Leeming  <leeming@lyx.org>
7989
7990         * commandtags.h:
7991         * LyXAction.C (init):
7992         * src/factory.C (createInset):
7993         * lyxfunc.C (getStatus):
7994         * text3.C (dispatch):
7995         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7996
7997         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7998
7999 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8000
8001         * ParagraphList.C (insert): handle insert right before end()
8002         (erase): fix cases where it can be first or last paragraph.
8003
8004 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8005
8006         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8007         Paragraph::next and Paragraph::previous
8008         (TeXOnePar): ditto
8009
8010         * text.C (breakParagraph): adjust
8011
8012         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8013         BufferParams& as arg.
8014         (breakParagraph): use ParagraphList::insert
8015         (breakParagraphConservative): take a Buffer* instead of a
8016         BufferParams& as arg.
8017         (breakParagraphConservative): use ParagraphList::insert.
8018
8019         * buffer.C (insertStringAsLines): un-const it
8020         (insertStringAsLines): adjust
8021
8022         * ParagraphList.C (insert): new function
8023
8024         * CutAndPaste.C (pasteSelection): adjust
8025
8026         * text.C (backspace): adjust
8027
8028         * tabular.C (SetMultiColumn): adjust
8029
8030         * CutAndPaste.C (cutSelection): adjust
8031         (pasteSelection): adjust
8032
8033         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8034         Buffer const * as arg
8035
8036         * ParagraphList.C (erase): new function
8037         * paragraph_funcs.C (mergeParagraph): use it
8038         (mergeParagraph): make it take a Buffer* instead of a
8039         BufferParams* as arg
8040
8041         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8042         as arg
8043         (breakParagraphConservative): ditto
8044
8045         * paragraph.h: remove the breakParagraph friend
8046
8047         * paragraph.C (eraseIntern): new function
8048         (setChange): new function
8049
8050         * paragraph_funcs.C (mergeParagraph): make it take a
8051         ParagraphList::iterator instead of a Paragraph *, adjust
8052         accordingly.
8053
8054         * paragraph.h: move an #endif so that the change tracking stuff
8055         also works in the NO_NEXT case.
8056
8057 2003-03-04  Angus Leeming  <leeming@lyx.org>
8058
8059         * commandtags.h:
8060         * LyXAction.C: new LFUN_INSET_MODIFY.
8061
8062         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8063         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8064
8065 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * several files: ws changes only
8068
8069         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8070         (TeXEnvironment): ditto
8071         (TeXDeeper): ditto
8072
8073         * buffer.C (makeLaTeXFile): adjust
8074         (latexParagraphs): make it take ParagraphList::iterator as args
8075
8076 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * buffer.C (latexParagraphs): adjust
8079
8080         * paragraph.C (TeXOnePar): move function...
8081         (optArgInset): move function...
8082         (TeXEnvironment): move function...
8083         * paragraph_pimpl.C (TeXDeeper): move function...
8084         * paragraph_funcs.C: ...here
8085
8086         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8087
8088 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * buffer.C (readInset): remove compability code for old Figure and
8091         InsetInfo insets
8092
8093 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * buffer.C: ws changes
8096         (readInset):
8097
8098         * BufferView_pimpl.C: ditto
8099         * author.C: ditto
8100         * buffer.h: ditto
8101         * bufferlist.h: ditto
8102         * changes.h: ditto
8103         * lyxfunc.C: ditto
8104
8105 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8106
8107         * converter.[Ch]: split into itself +
8108         * graph.[Ch]
8109         * format.[Ch]
8110         * Makefile.am: += graph.[Ch] + format.[Ch]
8111         * MenuBackend.C
8112         * buffer.C
8113         * exporter.C
8114         * importer.C
8115         * lyx_main.C
8116         * lyxfunc.C
8117         * lyxrc.C: added #include "format.h"
8118
8119 2003-02-27  Angus Leeming  <leeming@lyx.org>
8120
8121         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8122           a label.
8123
8124         * factory.C (createInset): add "label" to the factory.
8125
8126         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8127           string and do no more.
8128
8129 2003-02-27  Angus Leeming  <leeming@lyx.org>
8130
8131         * commandtags.h:
8132         * LyXAction.C (init):
8133         * factory.C (createInset):
8134         * BufferView_pimpl.C (dispatch):
8135           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8136
8137         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8138
8139         * lyxfunc.C (dispatch):
8140         * text3.C (dispatch): pass name to params2string.
8141
8142 2003-02-26  Angus Leeming  <leeming@lyx.org>
8143
8144         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8145           blocks together.
8146           Rearrange the ~includes. Strip out the unnecessary ones.
8147
8148         * factory.C (createInset): reformat.
8149           create new insets for the various LFUN_XYZ_APPLY lfuns.
8150
8151 2003-02-26  John Levon  <levon@movementarian.org>
8152
8153         * lyxrow.h:
8154         * lyxrow.C: add isParStart,isParEnd helpers
8155
8156         * paragraph.h: make isInserted/DeletedText take refs
8157
8158         * paragraph_funcs.h:
8159         * paragraph_funcs.C: remove #if 0'd code
8160
8161         * lyxtext.h:
8162         * text3.C:
8163         * text2.C:
8164         * text.C: use lyxrow helpers above.
8165           Move draw and paint routines to RowPainter.
8166           Make several methods use refs not pointers.
8167           Make backgroundColor() const.
8168           Add markChangeInDraw(), isInInset().
8169           Merge changeRegionCase into changeCase.
8170           Make workWidth() shouldn't-happen code into an Assert.
8171
8172         * rowpainter.h:
8173         * rowpainter.C: new class for painting a row.
8174
8175         * vspace.h:
8176         * vspace.C: make inPixels take a ref
8177
8178 2003-02-26  Angus Leeming  <leeming@lyx.org>
8179
8180         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8181         LFUN_REF_APPLY.
8182
8183 2003-02-25  John Levon  <levon@movementarian.org>
8184
8185         * ispell.C: give the forked command a more accurate name
8186
8187 2003-02-22  John Levon  <levon@movementarian.org>
8188
8189         * toc.h:
8190         * toc.C: make TocItem store an id not a Paragraph *
8191           (bug #913)
8192
8193 2003-02-21  Angus Leeming  <leeming@lyx.org>
8194
8195         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8196           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8197           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8198           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8199           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8200           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8201
8202         * BufferView_pimpl.C (dispatch):
8203         * LyXAction.C (init):
8204         * factory.C (createInset):
8205         * lyxfunc.C (getStatus, dispatch):
8206         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8207
8208 2003-02-21  Angus Leeming  <leeming@lyx.org>
8209
8210         * BufferView_pimpl.C (MenuInsertLyXFile):
8211         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8212         * lyxfunc.C (menuNew, open, doImport):
8213           no longer pass a LyXView & to fileDlg.
8214
8215 2003-02-21  Angus Leeming  <leeming@lyx.org>
8216
8217         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8218         * LyXAction.C: change, BIBKEY to BIBITEM.
8219         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8220         Change InsetBibKey to InsetBibitem.
8221         Change BIBKEY_CODE to BIBITEM_CODE.
8222         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8223         * factory.C: replace insetbib.h with insetbibitem.h.
8224         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8225         * paragraph.C: replace insetbib.h with insetbibitem.h.
8226         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8227         Change bibkey() to bibitem().
8228         * text.C: remove insetbib.h.
8229         * text2.C: replace insetbib.h with insetbibitem.h.
8230         change bibkey() to bibitem().
8231         * text3.C: remove insetbib.h.
8232         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8233
8234 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8235
8236         * lyxrc.C (output): enclose user email in quotes (in case there are
8237         several words)
8238
8239 2003-02-18  John Levon  <levon@movementarian.org>
8240
8241         * buffer.h: add std::
8242
8243 2003-02-17  John Levon  <levon@movementarian.org>
8244
8245         * SpellBase.h:
8246         * ispell.h:
8247         * ispell.C:
8248         * pspell.h:
8249         * pspell.C: reworking. Especially in ispell, a large
8250           number of clean ups and bug fixes.
8251
8252         * lyxfunc.C: fix revert to behave sensibly
8253
8254 2003-02-17 André Pönitz <poenitz@gmx.net>
8255
8256         * LyXAction.C:
8257         * commandtags.h: new LFUN_INSERT_BIBKEY
8258
8259         * layout.h:
8260         * lyxlayout.C:
8261         * buffer.C:
8262         * factory.C:
8263         * text.C:
8264         * text2.C:
8265         * text3.C:
8266         * paragraph.[Ch]:
8267         * paragraph_func.C: remove special bibkey handling
8268
8269 2003-02-17  John Levon  <levon@movementarian.org>
8270
8271         * text.C (Delete): fix case where delete at the end of
8272           the very first paragraph would not merge the pars
8273
8274 2003-02-17  John Levon  <levon@movementarian.org>
8275
8276         * lyxrow.C: fix lastPrintablePos()
8277
8278 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8279
8280         * bufferparams.C (writeLaTeX): add a std:here
8281
8282         * buffer.C: and remove a using directive there
8283
8284 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8285
8286         * buffer.C (makeLaTeXFile): move the code that generates the
8287           preamble...
8288
8289         * bufferparams.C (writeLaTeX): ... in this new method
8290
8291         * LaTeXFeatures.C (getEncodingSet): make const
8292           (getLanguages): make const
8293
8294         * MenuBackend.C (binding): returns the binding associated to this
8295           action
8296           (add): sets the status of each item by calling getStatus. Adds
8297           some intelligence.
8298           (read): add support for OptSubMenu
8299           (expand): remove extra separator at the end of expanded menu
8300
8301 2003-02-15  John Levon  <levon@movementarian.org>
8302
8303         * BufferView.C:
8304         * BufferView_pimpl.C:
8305         * bufferlist.h:
8306         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8307           inset code that had no actual effect. Remove unneeded status
8308           code.
8309
8310 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8311
8312         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8313           in preamble
8314
8315 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8316
8317         * text.C (drawLengthMarker): also draw an arrow marker for
8318           symbolic lengths (medskip...)
8319
8320 2003-02-14  John Levon  <levon@movementarian.org>
8321
8322         * tabular.h:
8323         * tabular.C: better method names
8324
8325 2003-02-14  John Levon  <levon@movementarian.org>
8326
8327         * BufferView_pimpl.C:
8328         * bufferlist.C:
8329         * buffer.C:
8330         * converter.C:
8331         * lyx_cb.C:
8332         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8333           it's a more accurate name. Remove some pointless uses.
8334
8335 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8336
8337         * text2.C (LyXText): change order of initilizers to shut off
8338           warnings
8339
8340 2003-02-14  John Levon  <levon@movementarian.org>
8341
8342         * buffer.C: use ParIterator for getParFromID()
8343
8344         * paragraph.h:
8345         * paragraph.C:
8346         * paragraph_pimpl.h:
8347         * paragraph_pimpl.C: remove unused getParFromID()
8348
8349 2003-02-14  John Levon  <levon@movementarian.org>
8350
8351         * buffer.C: remove some very old #if 0'd parse code
8352
8353 2003-02-13  John Levon  <levon@movementarian.org>
8354
8355         * text.h:
8356         * text.C:
8357         * text2.C: move hfillExpansion(), numberOfSeparators(),
8358           rowLast(), rowLastPrintable(), numberofHfills(),
8359           numberOfLabelHfills() ...
8360
8361         * lyxrow.h:
8362         * lyxrow.C: ... to member functions here.
8363
8364         * paragraph.h:
8365         * paragraph.C:
8366         * lyxtext.h:
8367         * text.C: remove LyXText::beginningOfMainBody(), and call
8368           p->beginningOfMainBody() directly. Move the check for
8369           LABEL_MANUAL into the latter.
8370
8371         * text.h:
8372         * text.C:
8373         * text2.C:
8374         * vspace.C:
8375         * BufferView.h:
8376         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8377
8378         * text.h:
8379         * text.C:
8380         * text2.C:
8381         * text3.C:
8382         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8383           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8384
8385 2003-02-13  John Levon  <levon@movementarian.org>
8386
8387         * CutAndPaste.C: remove debug
8388
8389 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8390
8391         * paragraph.C (asString): remove two unused variables
8392
8393         * lyxtextclass.C (readTitleType):
8394           (Read):
8395           (LyXTextClass): handle new members titletype_ and titlename_
8396
8397         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8398
8399 2003-02-09  John Levon  <levon@movementarian.org>
8400
8401         * buffer.h:
8402         * buffer.C: replace hand-coded list with a map for the dep clean
8403
8404 2003-02-08  John Levon  <levon@movementarian.org>
8405
8406         * LaTeX.C: consolidate code into showRunMessage() helper
8407
8408 2003-02-08  John Levon  <levon@movementarian.org>
8409
8410         * lyxfind.C:
8411         * lyxtext.h:
8412         * text2.C:
8413         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8414           and pass the size in explicitly
8415
8416         * BufferView_pimpl.h:
8417         * BufferView_pimpl.C:
8418         * BufferView.h:
8419         * BufferView.C: add getCurrentChange()
8420
8421         * BufferView_pimpl.h:
8422         * BufferView_pimpl.C: handle change lfuns
8423
8424         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8425           for changes. Mark pasted paragraphs as new.
8426
8427         * support/lyxtime.h:
8428         * support/lyxtime.C:
8429         * DepTable.C: abstract time_t as lyx::time_type
8430
8431         * LColor.h:
8432         * LColor.C: add colours for new text, deleted text, changebars
8433
8434         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8435           package use "usenames" option.
8436
8437         * commandtags.h:
8438         * lyxfunc.C:
8439         * LyXAction.C: add change lfuns
8440
8441         * Makefile.am:
8442         * author.h:
8443         * author.C: author handling
8444
8445         * buffer.h:
8446         * buffer.C: add a per-buffer author list, with first entry as
8447           current author. Handle new .lyx tokens for change tracking. Output
8448           author list to .lyx file. Output dvipost stuff to .tex preamble.
8449           Bump lyx format to 222.
8450
8451         * bufferlist.h:
8452         * bufferlist.C: add setCurrentAuthor() to reset current author details
8453           in all buffers.
8454
8455         * bufferparams.h:
8456         * bufferparams.C: add param for tracking
8457
8458         * bufferview_funcs.C: output change info in minibuffer
8459
8460         * Makefile.am:
8461         * changes.h:
8462         * changes.C: add change-tracking structure
8463
8464         * debug.h:
8465         * debug.C: add CHANGES debug flag
8466
8467         * lyxfind.h:
8468         * lyxfind.C: add code for finding the next change piece
8469
8470         * lyxrc.h:
8471         * lyxrc.C: add user_name and user_email
8472
8473         * lyxrow.h:
8474         * lyxrow.C: add a metric for the top of the text line
8475
8476         * lyxtext.h:
8477         * text.C: implement accept/rejectChange()
8478
8479         * lyxtext.h:
8480         * text.C: paint changebars. Paint new/deleted text in the chosen
8481         colours. Strike through deleted text.
8482
8483         * paragraph.h:
8484         * paragraph.C:
8485         * paragraph_pimpl.h:
8486         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8487           in the current change to the insert functions. Rework erase to
8488           mark text as deleted, adding an eraseIntern() and a range-based
8489           erase(). Implement per-paragraph change lookup and
8490           accept/reject.
8491
8492         * paragraph_funcs.C: Fixup paste for change tracking.
8493
8494         * tabular.C: mark added row/columns as new.
8495
8496         * text.C: fix rowLast() to never return -1. Don't allow
8497           spellchecking of deleted text. Track transpose changes. Don't
8498           allow paragraph break or merge where appropriate.
8499
8500         * text2.C: leave cursor at end of selection after a cut.
8501
8502 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8503
8504         * text.C (getLengthMarkerHeight):
8505         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8506         visible on screen too.
8507
8508 2003-02-07  John Levon  <levon@movementarian.org>
8509
8510         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8511
8512 2003-02-05  Angus Leeming  <leeming@lyx.org>
8513
8514         * lyxserver.C (read_ready): revert my patch of 11 September last year
8515         as it sends PC cpu through the roof. Presumably this means that
8516         the lyxserver will no longer run on an Alpha...
8517
8518 2003-01-30  Angus Leeming  <leeming@lyx.org>
8519
8520         * factory.C (createInset): create an InsetCommandParam of type "index"
8521         and use it to 'do the right thing'.
8522
8523         * text2.C (getStringToIndex): ensure that cursor position is always
8524         reset to the reset_cursor position.
8525
8526 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8527
8528         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8529         disabled.
8530
8531 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8532
8533         * bufferview.C:
8534         * lyxcb.C:
8535         * lyxfunc.C: Output messages with identical spelling, punctuation,
8536         and spaces
8537
8538 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8539
8540         * MenuBackend.C (expandFormats): List only viewable export formats
8541         in "View" menu
8542
8543         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8544         message
8545
8546         * lyxfunc.C (getStatus): Make sure that formats other than
8547         "fax" can also be disabled
8548
8549 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8550
8551         * text3.C (dispatch): put the lfuns that insert insets in 3
8552         groups, and call doInsertInset with appropriate arguments.
8553         (doInsertInset): new function, that creates an inset and inserts
8554         it according to some boolean parameters.
8555
8556 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8557
8558         * buffer.C (readFile): remember to pass on 'par' when calling
8559         readFile recursively.
8560
8561 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8562
8563         * MenuBackend.C (expandFormats): add "..." to import formats.
8564
8565 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8566
8567         * paragraph.C (asString): Remove XForms RTL hacks.
8568
8569 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8570         * buffer.C: fix typo
8571
8572 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * Makefile.am (LIBS): delete var
8575         (lyx_LDADD): add @LIBS@ here instead.
8576
8577 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8578
8579         * Clarify the meaning of "wheel mouse jump"
8580
8581 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8582
8583         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8584         tabular in a float
8585
8586 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8587
8588         * importer.C (Loaders): do not preallocate 3 elements in the
8589         vector, since one ends up with 6 elements otherwise
8590
8591 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8592
8593         * DepTable.C (write): write the file name as last element of the
8594         .dep file (because it may contain spaces)
8595         (read): read info in the right order
8596
8597 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8598
8599         * paragraph_pimpl.C (simpleTeXBlanks):
8600         (simpleTeXSpecialChars):
8601         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8602
8603         * tabular.C (latex): add some missing case statements. Reindent.
8604
8605         * MenuBackend.C (expandToc): remove unused variable.
8606
8607 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8608
8609         * LColor.C:
8610         * LaTeX.C:
8611         * LyXAction.C:
8612         * MenuBackend.C:
8613         * buffer.C:
8614         * exporter.C:
8615         * lyxfunc.C:
8616         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8617         and the like.
8618
8619 2003-01-05  John Levon  <levon@movementarian.org>
8620
8621         * BufferView.h:
8622         * BufferView.C: add getEncoding()
8623
8624         * kbsequence.h:
8625         * kbsequence.C: do not store last keypress
8626
8627         * lyxfunc.h:
8628         * lyxfunc.C: store last keypress here instead. Pass encoding
8629           to getISOEncoded()
8630
8631 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8632
8633         * lyx_main.C (init): remove annoying error message when following
8634         symbolic links (bug #780)
8635
8636 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8637
8638         * text.C (insertChar):
8639         * lyxrc.C (getDescription): remove extra spaces
8640
8641 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8642
8643         * lyxrc.C (getDescription): remove extra spaces
8644
8645 2002-12-20  John Levon  <levon@movementarian.org>
8646
8647         * text3.C: hack fix for page up/down across tall rows
8648
8649 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8650
8651         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8652         not been invoked
8653
8654 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8655
8656         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8657         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8658         thesaurus is not compiled in
8659
8660 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8661
8662         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8663
8664 2002-12-16  Angus Leeming  <leeming@lyx.org>
8665
8666         * lyxrc.[Ch]:
8667         * lyx_main.C (init): remove override_x_deadkeys stuff.
8668
8669 2002-12-12  John Levon  <levon@movementarian.org>
8670
8671         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8672           insert. Only remove shift modifier under strict
8673           circumstances.
8674
8675 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8676
8677         * MenuBackend.C (expandToc): fix crash.
8678
8679 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8680
8681         * MenuBackend.C (expandToc): gettext on float names.
8682
8683 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8684
8685         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8686         implement bool empty() [bug 490]
8687
8688 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8689
8690         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8691
8692 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8693
8694         * several files: ws changes
8695
8696 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8697
8698         * text2.C (setCounter): clean up a bit, use boost.format.
8699         (updateCounters): initialize par upon declaration.
8700
8701         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8702         if the layout exists. We do not just store the layout any more.
8703         (SwitchLayoutsBetweenClasses): use boost.format
8704
8705 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8706
8707         * converter.C (convert): if from and to files are the same, use a
8708         temporary files as intermediary
8709
8710 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8711
8712         * commandtags.h:
8713         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8714
8715 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8716
8717         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8718
8719 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8720
8721         * tabular.C (asciiPrintCell): use string(size, char) instead of
8722         explicit loop.
8723
8724         * sgml.C (openTag): fix order of arguments to string constructor
8725         (closeTag): ditto
8726
8727         * lyxfunc.C (dispatch): use boost.format
8728
8729         * lots of files: change "c" -> 'c'
8730
8731 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8732
8733         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8734
8735 2002-11-25  Angus Leeming  <leeming@lyx.org>
8736
8737         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8738
8739         * lyx_main.C (init): compile fix.
8740
8741 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8742
8743         * lyx_cb.C (start): boost.formatify
8744         do not include <iostream>
8745
8746         * lengthcommon.C: ws only
8747
8748         * boost-inst.C,BoostFormat.h: add more explict instantations
8749
8750 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8751
8752         * lots of files: handle USE_BOOST_FORMAT
8753
8754 2002-11-21  John Levon  <levon@movementarian.org>
8755
8756         * pspell.C: fix compile
8757
8758 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8759
8760         * lyxfunc.C (dispatch): use boost::format
8761         (open): ditto
8762         (doImport): ditto
8763
8764         * lyxfont.C (stateText): use boost::format
8765
8766         * lyx_main.C (LyX): use boost::format
8767         (init): ditto
8768         (queryUserLyXDir): ditto
8769         (readRcFile): ditto
8770         (parse_dbg): ditto
8771         (typedef boost::function): use the recommened syntax.
8772
8773         * importer.C (Import): use boost::format
8774
8775         * debug.C (showLevel): use boost::format
8776
8777         * converter.C (view): use boost::format
8778         (convert): ditto
8779         (move): ditto
8780         (scanLog): ditto
8781
8782         * bufferview_funcs.C (currentState): use boost::format
8783
8784         * bufferlist.C (emergencyWrite): use boost::format
8785
8786         * buffer.C (readLyXformat2): use boost::format
8787         (parseSingleLyXformat2Token): ditto
8788
8789         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8790
8791         * LaTeX.C (run): use boost::format
8792
8793         * Chktex.C (scanLogFile): use boost::format
8794
8795         * BufferView_pimpl.C (savePosition): use boost::format
8796         (restorePosition): ditto
8797         (MenuInsertLyXFile): ditto
8798
8799         * BoostFormat.h: help file for explicit instation.
8800
8801 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8802
8803         * tabular.C (latex): Support for block alignment in fixed width
8804         columns.
8805
8806 2002-11-17  John Levon  <levon@movementarian.org>
8807
8808         * BufferView_pimpl.C:
8809         * lyx_cb.C:
8810         * lyxfunc.C: split filedialog into open/save
8811
8812 2002-11-08  Juergen Vigna  <jug@sad.it>
8813
8814         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8815         by my last patch (hopefully).
8816
8817 2002-11-08  John Levon  <levon@movementarian.org>
8818
8819         * iterators.h:
8820         * iterators.C:
8821         * buffer.h:
8822         * buffer.C:
8823         * paragraph.h:
8824         * paragraph.C:
8825         * toc.h:
8826         * toc.C: ParConstIterator, and use it (from Lars)
8827
8828 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8829
8830         * lyxtextclass.[Ch]: revise and add doxygen comments
8831
8832 2002-11-07  John Levon  <levon@movementarian.org>
8833
8834         * text.C: fix progress value for spellchecker
8835
8836         * toc.C: fix navigate menu for insetwrap inside minipage
8837
8838         * paragraph_funcs.C: added FIXME for suspect code
8839
8840 2002-11-07  John Levon  <levon@movementarian.org>
8841
8842         * BufferView_pimpl.C: fix redrawing of insets
8843           on buffer switch
8844
8845 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8846
8847         * text2.C (updateCounters): fix bug 668
8848
8849 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8850
8851         * text3.C (dispatch): Do not make the buffer dirty when moving the
8852         cursor.
8853
8854 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8855
8856         * vc-backend.C: STRCONV
8857         (scanMaster): ditto
8858
8859         * text2.C (setCounter): STRCONV
8860
8861         * paragraph.C (asString): STRCONV
8862
8863         * lyxlength.C (asString): STRCONV
8864         (asLatexString): ditto
8865
8866         * lyxgluelength.C (asString): STRCONV
8867         (asLatexString): ditto
8868
8869         * lyxfunc.C (dispatch): STRCONV
8870         (open): ditto
8871
8872         * lyxfont.C (stateText): STRCONV
8873
8874         * importer.C (Import): STRCONV
8875
8876         * counters.C (labelItem): STRCONV
8877         (numberLabel): ditto
8878         (numberLabel): remove unused ostringstream o
8879
8880         * chset.C: STRCONV
8881         (loadFile): ditto
8882
8883         * bufferview_funcs.C (currentState): STRCONV
8884
8885         * buffer.C (readFile): STRCONV
8886         (asciiParagraph): ditto
8887         (makeLaTeXFile): ditto
8888
8889         * Spacing.C (writeEnvirBegin): STRCONV
8890
8891         * LaTeXFeatures.C (getLanguages): STRCONV
8892         (getPackages): ditto
8893         (getMacros): ditto
8894         (getBabelOptions): ditto
8895         (getTClassPreamble): ditto
8896         (getLyXSGMLEntities): ditto
8897         (getIncludedFiles): ditto
8898
8899         * LaTeX.C: STRCONV
8900         (run): ditto
8901         (scanAuxFile): ditto
8902         (deplog): ditto
8903
8904         * LString.h: add the STRCONV macros
8905
8906         * BufferView_pimpl.C (savePosition): STRCONV
8907         (restorePosition): ditto
8908         (MenuInsertLyXFile): ditto
8909
8910         * vc-backend.C (scanMaster): change from submatch[...] to
8911         submatch.str(...)
8912
8913         * funcrequest.C: include config.h
8914
8915         * factory.C: include config.h
8916
8917         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8918
8919         * box.C: include config.h
8920
8921         * LaTeX.C (scanAuxFile): change from submatch[...] to
8922         submatch.str(...)
8923         (deplog): ditto
8924
8925 2002-10-25  Angus Leeming  <leeming@lyx.org>
8926
8927         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8928
8929         * ispell.[Ch] (setError): new method.
8930         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8931         Use setError() insetead of goto END.
8932
8933         * lyx_cb.C (AutoSave): move out child process into new class
8934         AutoSaveBuffer.
8935
8936 2002-10-30  John Levon  <levon@movementarian.org>
8937
8938         * text3.C: make start appendix undoable
8939
8940 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8941
8942         * lyxlength.C (inPixels): Fix returned value.
8943
8944         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8945         environment.
8946
8947 2002-10-24  Angus Leeming  <leeming@lyx.org>
8948
8949         * lyxgluelength.h: no need to forward declare BufferParams
8950         or BufferView, so don't.
8951
8952 2002-10-21  John Levon  <levon@movementarian.org>
8953
8954         * BufferView.C: menuUndo ->undo, redo
8955
8956         * BufferView.h: document, remove dead, make some methods private
8957
8958         * paragraph_funcs.h:
8959         * paragraph_funcs.C:
8960         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8961
8962         * buffer.h:
8963         * buffer.C:
8964         * sgml.h:
8965         * sgml.C: move sgml open/close tag into sgml.C
8966
8967         * bufferview_funcs.h: unused prototype
8968
8969         * lyxfunc.h:
8970         * lyxfunc.C: remove unused
8971
8972         * lyxtext.h:
8973         * text.C: remove unused
8974
8975 2002-10-21  John Levon  <levon@movementarian.org>
8976
8977         * BufferView.h:
8978         * BufferView.C:
8979         * BufferView_pimpl.h:
8980         * BufferView_pimpl.C: fix mouse wheel handling based on
8981           patch from Darren Freeman
8982
8983 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8984
8985         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8986
8987 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8988
8989         * lyxlength.C (inPixels): Fix hanfling of negative length.
8990         Fix LyXLength::MU case.
8991
8992 2002-10-16  John Levon  <levon@movementarian.org>
8993
8994         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8995
8996 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8997
8998         * converter.C (view): add support for $$i (file name) and $$p
8999         (file path) for the viewer command. If $$i is not specified, then
9000         it is appended to the command (for compatibility with old syntax)
9001
9002 2002-10-14  Juergen Vigna  <jug@sad.it>
9003
9004         * undo_funcs.C (textHandleUndo): alter the order in which the
9005         new undopar is added to the LyXText, as we have to set first
9006         the right prev/next and then add it as otherwise the rebuild of
9007         LyXText is not correct. Also reset the cursor to the right paragraph,
9008         with this IMO we could remove the hack in "redoParagraphs()".
9009
9010 2002-10-09  Angus Leeming  <leeming@lyx.org>
9011
9012         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9013         to turn off an optimisation if a new inset is to be inserted.
9014
9015 2002-10-11 André Pönitz <poenitz@gmx.net>
9016
9017         * lyxtext.h: make some functions public to allow access
9018         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9019
9020 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9021
9022         * text3.C (dispatch): when changing layout, avoid an infinite loop
9023         [bug #652]
9024
9025 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9026
9027         * lyxrc.C (read): treat a viewer or converter command of "none" as
9028         if it were empty.
9029
9030         * MenuBackend.C (expandFormats): for an update, also allow the
9031         formats that are not viewable
9032
9033         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9034         script if it is newer than the lyxrc.defaults in user directory
9035
9036 2002-10-07 André Pönitz <poenitz@gmx.net>
9037
9038         * text.C: Vitaly Lipatov's small i18n fix
9039
9040 2002-09-25  Angus Leeming  <leeming@lyx.org>
9041
9042         * ispell.h: doxygen fix.
9043
9044 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9045
9046         * buffer.h (readFile): Add a new argument to the method, to allow
9047         reading of old-format templates.
9048
9049 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9050
9051         * toc.C (getTocList): Get TOC from InsetWrap.
9052
9053 2002-09-16  John Levon  <levon@movementarian.org>
9054
9055         * lyxfunc.C: check tabular for cut/copy too
9056
9057 2002-09-12  John Levon  <levon@movementarian.org>
9058
9059         * LyXAction.C: tidy
9060
9061         * factory.h:
9062         * factory.C: add header
9063
9064         * paragraph_funcs.h:
9065         * paragraph_funcs.C: cleanup
9066
9067 2002-09-11  John Levon  <levon@movementarian.org>
9068
9069         * PrinterParams.h: odd/even default to true
9070
9071 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9072
9073         * PrinterParams.h: update printer parameters for new xforms dialog
9074
9075 2002-09-11  Angus Leeming  <leeming@lyx.org>
9076
9077         * lyxserver.C (read_ready): re-write to make it more transparent
9078         and to make it work in coherent fashion under Tru64 Unix.
9079
9080 2002-09-11  André Pönitz <poenitz@gmx.net>
9081
9082         * commandtags.h:
9083         * LyXAction.C:
9084         * text3.C: implement LFUN_WORDSEL
9085
9086 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9087
9088         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9089         make floatlist_ a boost::shared_ptr<FloatList>
9090
9091         * lyxtextclass.C: include FloatList.h
9092         (LyXTextClass): initialize floatlist_
9093         (TextClassTags): add TC_NOFLOAT
9094         (Read): match "nofloat" to TC_NOFLOAT and use it.
9095         (readFloat): modify call to floatlist_
9096         (floats): ditto
9097         (floats): ditto
9098
9099         * FloatList.[Ch] (FloatList): remove commented out float
9100         initialization.
9101         (erase): new function
9102
9103 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9104
9105         * MenuBackend.C (expandToc): fix crash when there is no document
9106         open
9107
9108 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9109
9110         * many files: Add insetwrap.
9111
9112 2002-09-09  John Levon  <levon@movementarian.org>
9113
9114         * text2.C: remove confusing and awkward depth wraparound
9115
9116 2002-09-09  John Levon  <levon@movementarian.org>
9117
9118         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9119
9120         * buffer.h:
9121         * buffer.C: remove getIncludeonlyList()
9122
9123         * paragraph.C:
9124         * lyxfunc.C: remove headers
9125
9126 2002-09-09  Juergen Vigna  <jug@sad.it>
9127
9128         * text.C (getColumnNearX): fix form Michael this is most
9129         probably a cut&paste bug.
9130
9131 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9132
9133         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9134
9135         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9136         references, ws changes.
9137
9138         * text2.C (init): update counters after init
9139         (insertParagraph): no need to set counter on idividual paragraphs.
9140         (setCounter): access the counters object in the textclass object
9141         on in the buffer object.
9142         (updateCounters): ditto
9143
9144         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9145         shared_ptr<Counters> to avoid loading counters.h in all
9146         compilation units.
9147         (LyXTextClass): initialize ctrs_
9148         (TextClassTags): add TC_COUNTER, and ...
9149         (Read): use it here.
9150         (CounterTags): new tags
9151         (readCounter): new function
9152         (counters): new funtion
9153         (defaultLayoutName): return a const reference
9154
9155         * counters.C (Counters): remove contructor
9156         (newCounter): remove a couple of unneeded statements.
9157         (newCounter): simplify a bit.
9158         (numberLabel): some small formatting changes.
9159
9160         * buffer.[Ch]: remove all traces of counters, move the Counters
9161         object to the LyXTextClass.
9162
9163 2002-09-06  Alain Castera  <castera@in2p3.fr>
9164
9165         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9166         package to set the horizontal alignment on fixed width columns.
9167
9168         * lyx_sty.C:
9169         * lyx_sty.h: added tabularnewline macro def.
9170
9171         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9172
9173 2002-09-06  John Levon  <levon@movementarian.org>
9174
9175         * LyXAction.C: tooltips for sub/superscript
9176
9177         * MenuBackend.C: a bit more verbose
9178
9179         * lyxfunc.C: tiny clean
9180
9181         * undo_funcs.C: document undo_frozen
9182
9183 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9184
9185         * counters.C (Counters): add missing algorithm counter.
9186
9187         * text2.C (setCounter): lookup the counter with layouts latexname
9188         instead of by section number.
9189         (setCounter): use a hackish way to lookup the correct enum
9190         counter.
9191         a float name->type change
9192         reset enum couners with counter name directly instead of depth value.
9193
9194         * counters.C (Counters): remove the push_backs, change to use the
9195         float type not the float name.
9196         (labelItem): remove unused string, float name->type change
9197
9198         * counters.h: don't include vector, loose the enums and sects vectors
9199
9200 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9203         (Read): add float->TC_FLOAT to textclassTags
9204         (Read): and handle it in the switch
9205         (readFloat): new function
9206
9207         * FloatList.C (FloatList): comment out the hardcoded float
9208         definitions.
9209
9210         * lyxlayout.h: ws change.
9211
9212 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9213
9214         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9215
9216 2002-09-03  Angus Leeming  <leeming@lyx.org>
9217
9218         * BufferView_pimpl.h: qualified name is not allowed in member
9219         declaration: WorkArea & Pimpl::workarea() const;
9220
9221         * factory.C: added using std::endl directive.
9222
9223         * text3.C: added using std::find and std::vector directives.
9224
9225 2002-08-29  André Pönitz <poenitz@gmx.net>
9226
9227         * lyxtext.h:
9228         * text2.C: remove unused member number_of_rows
9229
9230         * Makefile.am:
9231         * BufferView2.C: remove file, move contents to...
9232         * BufferView.C: ... here
9233
9234         * BufferView_pimpl.C:
9235         * factory.C: move more inset creation to factory
9236
9237         * vspace.C: avoid direct usage of LyXText, ws changes
9238
9239         * BufferView.[Ch]:
9240                 don't provide direct access to WorkArea, use two simple
9241                 acessors haveSelction() and workHeight() instead
9242
9243
9244 2002-08-29  John Levon  <levon@movementarian.org>
9245
9246         * BufferView_pimpl.C (dispatch): do not continue when
9247           no buffer
9248
9249 2002-08-28  André Pönitz <poenitz@gmx.net>
9250
9251         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9252
9253         * BufferView.h:
9254         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9255
9256 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9257
9258         * buffer.C: increment LYX_FORMAT to 221
9259
9260         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9261         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9262
9263         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9264
9265         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9266
9267 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * factory.C (createInset): use LyXTextClass::floats
9270
9271         * MenuBackend.C (expandFloatListInsert):
9272         (expandFloatInsert):
9273         (expandToc):
9274
9275         * text2.C (setCounter):
9276
9277         * LaTeXFeatures.C (useFloat):
9278         (getFloatDefinitions):
9279
9280         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9281
9282         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9283         floatlist_, with accessor floats().
9284
9285         * FloatList.h: remove global FloatList
9286
9287 2002-08-26  André Pönitz <poenitz@gmx.net>
9288
9289         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9290
9291         * BufferView.h:
9292         * BufferView2.C:
9293         * BufferView_pimpl.C:
9294         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9295
9296 2002-08-25  John Levon  <levon@movementarian.org>
9297
9298         * LyXAction.C: fix margin note description
9299
9300 2002-08-24  John Levon  <levon@movementarian.org>
9301
9302         * buffer.C:
9303         * bufferlist.C:
9304         * bufferview_funcs.C:
9305         * lyxfont.C:
9306         * undo_funcs.C: cleanups
9307
9308         * lyxfunc.C: disable CUT/COPY when no selection
9309
9310 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9311
9312         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9313         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9314
9315         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9316         Add backward compatibility to "mono", "gray" and "no".
9317
9318 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9319
9320         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9321         (and file_format >= 200).
9322
9323 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9324
9325         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9326
9327 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9328
9329         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9330
9331 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9332
9333         * BufferView_pimpl.C:
9334         * LyXAction.C:
9335         * buffer.C:
9336         * commandtags.h:
9337         * lyxfunc.C:
9338         * paragraph.[Ch]:
9339         * text2.C:
9340         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9341         inset and code to make it  work with the paragraph code. The inset
9342         can be anywhere in the paragraph, but will only do the expected
9343         thing in LaTeX if the layout file contains the parameter line
9344                         OptionalArgs    1
9345         (or more generally, a nonzero value) for that layout.
9346
9347 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9348
9349         * paragraph.h: remove the declaration of undefined counters class
9350         function.
9351
9352 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9353
9354         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9355         Dr. Richard Hawkins.
9356
9357 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9358
9359         * paragraph_funcs.h: remove some unneeded includes
9360
9361         * text.C (backspace): pasteParagraph now in global scipe
9362
9363         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9364         (pasteSelection): ditto
9365
9366         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9367         * paragraph_funcs.C (pasteParagraph): ... here
9368
9369 2002-08-20  André Pönitz <poenitz@gmx.net>
9370
9371         * commandtags.h: new LFUNs for swapping/copying table row/colums
9372
9373         * LyXAction.C:
9374         * lyxfunc.C: support for new lfuns
9375
9376 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9377
9378         * tabular.C:
9379         * buffer.[Ch]: remove NO_COMPABILITY stuff
9380
9381 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9382
9383         * boost.C (throw_exception): new file, with helper function for
9384         boost compiled without exceptions.
9385
9386         * paragraph.h:
9387         * lyxlength.C:
9388         * buffer.C:
9389         * ParameterStruct.h:
9390         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9391
9392         * bufferlist.C (emergencyWriteAll): use boost bind
9393
9394         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9395
9396         * text.C: include paragraph_funcs.h
9397         (breakParagraph): breakParagraph is now in global scope
9398
9399         * paragraph_funcs.[Ch]: new files
9400
9401         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9402         global scope
9403
9404         * buffer.C: include paragraph_funcs.h
9405         (insertStringAsLines): breakParagraph is now in global scope
9406
9407         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9408         paragraph_funcs.C
9409
9410         * CutAndPaste.C: include paragraph_funcs.h
9411         (cutSelection): breakParagraphConservative is now in global scope
9412         (pasteSelection): ditto
9413
9414         * buffer.h: declare oprator== and operator!= for
9415         Buffer::inset_iterator
9416
9417         * bufferlist.C (emergencyWrite): don't use fmt(...)
9418
9419         * text3.C: add using std::endl
9420
9421         * BufferView.C (moveCursorUpdate): remove default arg
9422
9423 2002-08-20  André Pönitz <poenitz@gmx.net>
9424
9425         * buffer.[Ch]: move inline functions to .C
9426
9427         * BufferView2.C:
9428         * BufferView_pimpl.C:
9429         * text.C:
9430         * buffer.[Ch]: use improved inset_iterator
9431
9432         * buffer.C:
9433         * paragraph.[Ch]: write one paragraph at a time
9434
9435 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9436
9437         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9438         style if style is not specified.
9439
9440 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9441
9442         * text2.C (setCounter): when searching for right label for a
9443         caption, make sure to recurse to parent insets (so that a caption
9444         in a minipage in a figure float works) (bug #568)
9445
9446 2002-08-20  André Pönitz <poenitz@gmx.net>
9447
9448         * text3.C: new file for LyXText::dispatch() and helpers
9449
9450         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9451
9452         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9453
9454 2002-08-19  André Pönitz <poenitz@gmx.net>
9455
9456         * lyxtext.h:
9457         * text.C: new LyXText::dispatch()
9458
9459         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9460
9461 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9462
9463         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9464
9465         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9466         Hebrew text.
9467
9468 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9469
9470         * Makefile.am: use $(variables) instead of @substitutions@
9471
9472 2002-08-15  André Pönitz <poenitz@gmx.net>
9473
9474         * lyxfunc.C:
9475         * BufferView_pimpl.C: streamlining mathed <-> outer world
9476         interaction
9477
9478         * commandtags.h:
9479         * LyXAction.C: remove unused LFUN_MATH
9480
9481 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9482
9483         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9484
9485 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9486
9487         * paragraph.C (Paragraph): reformat a bit
9488         (cutIntoMinibuffer): use builtin InsetList function instad of
9489         doing it manually.
9490         (getInset): ditto
9491
9492         * buffer.C: include boost/bind.hpp, add using std::for_each
9493         (writeFileAscii): use ParagraphList iterators
9494         (validate): use for_each for validate traversal of paragraphs
9495         (getBibkeyList): use ParagraphList iterators
9496         (resizeInsets): use for_each to resizeInsetsLyXText for all
9497         paragraphs.
9498         (getParFromID): use ParagraphList iterators
9499
9500         * BufferView2.C (lockInset): use paragraph list and iterators
9501
9502 2002-08-14  John Levon  <levon@movementarian.org>
9503
9504         * lyxserver.C: remove spurious xforms include
9505
9506 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9509
9510 2002-08-13  André Pönitz <poenitz@gmx.net>
9511
9512         * LyXAction.[Ch]:
9513         * lyxfunc.C: further cleaning
9514
9515 2002-08-13  André Pönitz <poenitz@gmx.net>
9516
9517         * funcrequest.h: new constructor
9518
9519         * funcrequest.C: move stuff here from .h
9520
9521         * Makefile.am:
9522         * BufferView_pimpl.C:
9523         * LyXAction.C:
9524         * toc.C:
9525         * lyxfunc.C: subsequent changes
9526
9527         * lyxfunc.h: new view() member function
9528
9529         * lyxfunc.C: subsequent changes
9530
9531 2002-08-13  Angus Leeming  <leeming@lyx.org>
9532
9533         * BufferView2.C:
9534         * BufferView_pimpl.C:
9535         * buffer.C:
9536         * converter.C:
9537         * importer.C:
9538         * lyxfunc.C:
9539         * lyxvc.C:
9540         * toc.C:
9541         * vc-backend.C:
9542         changes due to the changed LyXView interface that now returns references
9543         to member variables not pointers.
9544
9545 2002-08-13  Angus Leeming  <leeming@lyx.org>
9546
9547         * WordLangTuple (word, lang_code): return references to strings,
9548         not strings.
9549
9550         * BufferView.h:
9551         * SpellBase.h:
9552         * lyxtext.h: forward-declare WordLangTuple.
9553
9554         * BufferView2.C:
9555         * ispell.C:
9556         * pspell.C:
9557         * text.C: #include "WordLangTuple.h".
9558
9559         * lyxtext.h:
9560         * text.C: (selectNextWordToSpellcheck): constify return type.
9561
9562 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9563
9564         * buffer.C:
9565         * buffer.h:
9566         * lyxtext.h:
9567         * paragraph.C:
9568         * paragraph_pimpl.h:
9569         * text.C:
9570         * text2.C:
9571         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9572         suggested by Angus.
9573         Made updateCounter always count from start of buffer, and removed
9574         second argument (par).
9575         Reverted floats number display to '#'. Perhaps I'll try again when the
9576         code base is sanitized a bit.
9577
9578 2002-08-12  Angus Leeming  <leeming@lyx.org>
9579
9580         * buffer.[Ch] (getLabelList): constify.
9581
9582 2002-08-07  André Pönitz <poenitz@gmx.net>
9583
9584         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9585
9586         * funcrequest.h: extension to keep mouse (x,y) position
9587
9588 2002-08-12  Juergen Vigna  <jug@sad.it>
9589
9590         * BufferView2.C (insertErrors): forbid undo when inserting error
9591         insets.
9592
9593         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9594
9595 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9596
9597         * ParagraphList.[Ch]: new files
9598
9599         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9600
9601         * BufferView2.C (lockInset): ParagraphList changes
9602         * toc.C: ditto
9603         * text2.C: ditto
9604         * bufferlist.C: ditto
9605         * buffer.h: ditto
9606         * buffer.C: ditto
9607
9608 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9609
9610         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9611         unused class variable counter_,
9612
9613         * paragraph.[Ch] (getFirstCounter): delete unused function
9614
9615         * counters.C: include LAssert.h
9616         (reset): add a new function with no arg, change other version to
9617         not have def. arg and to not allow empty arg.
9618
9619         * text2.C (setCounter): remove empty arg from call to Counters::reset
9620
9621 2002-08-11  John Levon  <levon@movementarian.org>
9622
9623         * Makefile.am: add WordLangTuple.h
9624
9625 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9626
9627         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9628         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9629
9630         * insets/insettext.C: InsetList changes
9631
9632         * graphics/GraphicsSupport.C (operator()): InsetList changes
9633
9634         * toc.C (getTocList): InsetList changes
9635
9636         * paragraph_pimpl.[Ch]: InsetList changes
9637
9638         * paragraph.[Ch]: InsetList changes
9639
9640         * buffer.C (inset_iterator): InsetList changes
9641         (setParagraph): ditto
9642         * buffer.h (inset_iterator): ditto
9643         * iterators.C (operator++): ditto
9644         * iterators.h: ditto
9645
9646         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9647
9648         * InsetList.[Ch]: new files, most InsetList handling moved out of
9649         paragraph.C.
9650
9651         * BufferView2.C (removeAutoInsets): InsetList changes
9652         (lockInset): ditto
9653         (ChangeInsets): ditto
9654
9655 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9656
9657         * paragraph_pimpl.h (empty): new function
9658
9659         * paragraph.[Ch] (empty): new function
9660
9661         * other files: use the new Paragraph::empty function
9662
9663 2002-08-09  John Levon  <levon@movementarian.org>
9664
9665         * lyxtext.h: remove unused refresh_height
9666
9667 2002-08-09  John Levon  <levon@movementarian.org>
9668
9669         * Makefile.am:
9670         * sgml.h:
9671         * sgml.C:
9672         * buffer.C:
9673         * paragraph.h:
9674         * paragraph.C: move sgml char escaping out of paragraph
9675
9676         * paragraph.h:
9677         * paragraph.C: remove id setter
9678
9679         * buffer.C:
9680         * paragraph.C:
9681         * paragraph_pimpl.C: remove dead tex_code_break_column
9682
9683         * bufferview_funcs.C: small cleanup
9684
9685         * lyxfunc.C: remove dead proto
9686
9687         * lyxtext.h: make some stuff private. Remove some dead stuff.
9688
9689         * lyxgluelength.C: make as[LyX]String() readable
9690
9691 2002-08-08  John Levon  <levon@movementarian.org>
9692
9693         * LyXAction.h:
9694         * LyXAction.C:
9695         * MenuBackend.C:
9696         * ToolbarDefaults.C:
9697         * lyxfunc.C:
9698         * lyxrc.C:
9699         * toc.C: lyxaction cleanup
9700
9701 2002-08-08  John Levon  <levon@movementarian.org>
9702
9703         * BufferView2.C: small cleanup
9704
9705         * lyxfind.h:
9706         * lyxfind.C: move unnecessary header into the .C
9707
9708 2002-08-08  John Levon  <levon@movementarian.org>
9709
9710         * funcrequest.h: just tedious nonsense
9711
9712         * lyx_main.h:
9713         * lyx_main.C: cleanups
9714
9715         * buffer.C:
9716         * vspace.C: remove dead header lyx_main.h
9717
9718 2002-08-07  Angus Leeming  <leeming@lyx.org>
9719
9720         * Paragraph.[Ch]:
9721         * paragraph_pimpl.h:
9722         Forward declare class Counters in paragraph.h by moving the ctrs member
9723         variable into Paragraph::Pimpl.
9724         (counters): new method, returning a reference to pimpl_->ctrs.
9725
9726         * text2.C: ensuing changes.
9727
9728 2002-08-07  John Levon  <levon@movementarian.org>
9729
9730         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9731
9732         * BufferView_pimpl.C: announce X selection on double/triple
9733           click
9734
9735         * lyx_main.C: use correct bool in batch dispatch
9736
9737         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9738
9739 2002-08-07  André Pönitz <poenitz@gmx.net>
9740
9741         * funcrequest.h: new class to wrap a kb_action and its argument
9742
9743         * BufferView.[Ch]:
9744         * BufferView_pimpl[Ch]:
9745         * LaTeX.C:
9746         * LyXAction.[Ch]:
9747         * lyxfunc.[Ch]:
9748         * lyxrc.C: subsequent changes
9749
9750
9751 2002-08-07  John Levon  <levon@movementarian.org>
9752
9753         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9754           document options change.
9755
9756 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9757
9758         * counters.[Ch]
9759         * text2.C
9760         * paragraph.[Ch]
9761         * makefile.am: move counters functionality over from
9762         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9763
9764 2002-08-06  John Levon  <levon@movementarian.org>
9765
9766         * WordLangTuple.h: new file for word + language code tuple
9767
9768         * SpellBase.h:
9769         * pspell.h:
9770         * pspell.C:
9771         * ispell.h:
9772         * ispell.C:
9773         * lyxtext.h:
9774         * text.C:
9775         * text2.C:
9776         * BufferView.h:
9777         * BufferView2.C: use WordLangTuple
9778
9779         * layout.h:
9780         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9781
9782 2002-08-06  John Levon  <levon@movementarian.org>
9783
9784         * lyx_main.C: fix cmdline batch handling
9785
9786 2002-08-06  André Pönitz <poenitz@gmx.net>
9787
9788         * lyxrc.C: set default for show_banner to true
9789
9790 2002-08-06  John Levon  <levon@movementarian.org>
9791
9792         * pspell.C: fix a crash, and allow new aspell to work
9793
9794 2002-08-06  John Levon  <levon@movementarian.org>
9795
9796         * lyxfunc.C:
9797         * kbmap.C: small cleanup
9798
9799         * vspace.h:
9800         * vspace.C: add const
9801
9802 2002-08-05  John Levon  <levon@movementarian.org>
9803
9804         * LyXAction.C: back to tabular-insert
9805
9806 2002-08-04  John Levon  <levon@movementarian.org>
9807
9808         * BufferView.h:
9809         * BufferView.C: cosmetic change
9810
9811         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9812
9813         * bufferlist.C:
9814         * buffer.h:
9815         * buffer.C:
9816         * lyxcb.h:
9817         * lyxcb.C:
9818         * lyxserver.C:
9819         * lyxvc.C:
9820         * vc-backend.C:
9821         * BufferView2.C: purge all "Lyx" not "LyX" strings
9822
9823         * lyxcursor.h:
9824         * lyxcursor.C: attempt to add some documentation
9825
9826         * lyxfunc.C:
9827         * commandtags.h:
9828         * LyXAction.C:
9829         * ToolbarDefaults.C:
9830         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9831           merge with LFUN_TABULAR_INSERT
9832
9833         * Makefile.am:
9834         * SpellBase.h:
9835         * ispell.h:
9836         * ispell.C:
9837         * pspell.h:
9838         * pspell.C: split up i/pspell implementations into separate
9839           files, many cleanups
9840
9841         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9842
9843         * text2.C: some cleanup
9844
9845         * lyxfunc.C: don't check for isp_command == "none" any more, it
9846           didn't make any sense
9847
9848 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9849
9850         * counters.[Ch]
9851         * text2.C
9852         * paragraph.[Ch]
9853         * makefile.am: move counters functionality over
9854         from text2.C/paragraph.[Ch] to counters.[Ch], and
9855         make proper C++.
9856 2002-08-02  John Levon  <levon@movementarian.org>
9857
9858         * buffer.C: s/lyxconvert/lyx2lyx/
9859
9860 2002-08-02  Angus Leeming  <leeming@lyx.org>
9861
9862         * lyxlex.C: revert John's change as it breaks reading of the user
9863         preamble.
9864
9865 2002-08-02  Angus Leeming  <leeming@lyx.org>
9866
9867         * importer.C (Import):
9868         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9869         changes due to LyXView::view() now returning a boost::shared_ptr.
9870
9871 2002-08-02  John Levon  <levon@movementarian.org>
9872
9873         * lyxlex.C: small cleanup
9874
9875 2002-08-02  John Levon  <levon@movementarian.org>
9876
9877         * text2.C (status): small cleanup, no logic change
9878
9879 2002-08-01  John Levon  <levon@movementarian.org>
9880
9881         * buffer.h:
9882         * buffer.C (writeFile): don't output alerts, caller
9883           handles this
9884
9885         * bufferlist.C:
9886         * lyx_cb.C: from above
9887
9888         * lyxfunc.C: allow to open non-existent files
9889
9890 2002-07-31  John Levon  <levon@movementarian.org>
9891
9892         * lyxserver.C: don't let incidental errors get
9893           in the way (errno)
9894
9895 2002-07-30  John Levon  <levon@movementarian.org>
9896
9897         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9898
9899 2002-07-30  John Levon  <levon@movementarian.org>
9900
9901         * lyxserver.h:
9902         * lyxserver.C: remove I/O callback too
9903
9904 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9905
9906         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9907         log.
9908
9909 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9910
9911         * many files: strip,frontStrip -> trim,ltrim,rtrim
9912
9913 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9914
9915         * PrinterParams.h: remove extern containsOnly, and include
9916         support/lstrings.h instead.
9917
9918         * LaTeX.C (scanAuxFile): modify because of strip changes
9919         (deplog): ditto
9920         * buffer.C (makeLaTeXFile): ditto
9921         * bufferparams.C (writeFile): ditt
9922         * lyxfont.C (stateText): ditto
9923         * lyxserver.C (read_ready): ditto
9924         * vc-backend.C (scanMaster): ditto
9925
9926         * BufferView_pimpl.h: ws changes
9927
9928         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9929
9930 2002-07-26  André Pönitz <poenitz@gmx.net>
9931
9932         * kb_sequence.C: remove unnedred usings
9933
9934 2002-07-26  Juergen Vigna  <jug@sad.it>
9935
9936         * lyxfind.C (LyXReplace): we have to check better if the returned
9937         text is not of theLockingInset()->getLockingInset().
9938
9939 2002-07-25  Juergen Vigna  <jug@sad.it>
9940
9941         * lyxfind.C (LyXReplace): don't replace if we don't get the
9942         right LyXText.
9943
9944         * undo_funcs.C (createUndo): remove debugging code.
9945
9946 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9947
9948         * buffer.C (parseSingleLyXformat2Token): Use default placement
9949         when reading old floats.
9950
9951         * FloatList.C (FloatList): Change the default placement of figure
9952         and tables to "tbp".
9953
9954 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9955
9956         * MenuBackend.C: using std::max
9957
9958 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9959
9960         * MenuBackend.C (expandToc):
9961         (expandToc2): code moved from xforms menu frontend. It is now
9962         generic and TOCs are transparent to menu frontends.
9963
9964 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9965
9966         * toc.C (getTocList): protect against buf=0
9967
9968         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9969         Menu as first parameter. Now, this calls itself recursively to
9970         expand a whole tree (this will be useful for TOC handling)
9971         (expandFloatInsert): remove 'wide' version of floats
9972
9973         * MenuBackend.h (submenuname): returns the name of the submenu.
9974         (submenu): returns the submenu itself, provided it has been
9975         created by MenuBackend::expand
9976
9977 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9978
9979         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9980         insets which have noFontChange == true. (bug #172)
9981
9982 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9983
9984         * BufferView_pimpl.C: add connection objects and use them...
9985         (Pimpl): here.
9986
9987 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * MenuBackend.C (expandLastfiles):
9990         (expandDocuments):
9991         (expandFormats):
9992         (expandFloatListInsert):
9993         (expandFloatInsert):
9994         (expand): split expand in parts
9995
9996 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9997
9998         * lyx_gui.C: use lyx_gui::exit()
9999
10000 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10001
10002         * LyXAction.C: show the failing pseudo action
10003
10004 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10005
10006         * buffer.C (readFile): Run the lyxconvert script in order to read
10007         old files.
10008
10009 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10010
10011         * LyXAction.C:
10012         * commandtags.h:
10013         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10014
10015 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10016
10017         * LyXAction.C:
10018         * commandtags.h:
10019         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10020
10021 2002-07-22  Herbert Voss  <voss@lyx.org>
10022
10023         * lengthcommon.C:
10024         * lyxlength.[Ch]: add support for the vertical lengths
10025
10026 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * toc.[Ch]: std:: fixes
10029
10030 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10031
10032         * lyxrc.C: do not include lyx_main.h
10033
10034         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10035         for layouts
10036
10037         * lyxrc.C:
10038         * encoding.C:
10039         * bufferlist.C:
10040         * BufferView2.C: include "lyxlex.h"
10041
10042         * tabular.h:
10043         * bufferparams.h: do not #include "lyxlex.h"
10044
10045         * lyxtextclasslist.C (Add): remove method
10046         (classlist): renamed to classlist_
10047
10048         * paragraph_pimpl.C:
10049         * paragraph.C:
10050         * text2.C:
10051         * CutAndPaste.C:
10052         * bufferview_funcs.C:
10053         * bufferlist.C:
10054         * text.C:
10055         * LaTeXFeatures.C:
10056         * buffer.C:
10057         * toc.C (getTocList): use BufferParams::getLyXTextClass
10058
10059         * toc.C (getTocList): use InsetFloat::addToToc
10060
10061         * toc.[Ch]: new files, containing helper functions to handle table
10062         of contents
10063
10064         * lyxfunc.C (dispatch): no need to remove spaces around command
10065         given as a string
10066         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10067         first command of the sequence; it is not very clever, but I do not
10068         have a better idea, actually
10069
10070         * LyXAction.C (LookupFunc): make sure to remove space at the
10071         beginning and end of the command
10072
10073 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10074
10075         * MenuBackend.C (getMenubar): new method: return the menubar of
10076         this menu set
10077         (read): treat differently reading of menu and menubar (in
10078         particular, the menubar has no name now)
10079         (Menu::menubar): remove
10080
10081         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10082         saving is finished
10083
10084 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10085
10086         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10087         a bibitem inset in a RTL paragraph.
10088
10089 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * paragraph_pimpl.C: constify
10092
10093         * BufferView_pimpl.C:
10094         * LaTeX.C:
10095         * lyxfunc.C: fix dispatch in a nicer way
10096
10097 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10098
10099         * lyxfunc.C (dispatch):
10100         * BufferView_pimpl.C:
10101         * BufferView_pimpl.h:
10102         * BufferView.C:
10103         * BufferView.h: rename Dispatch() to dispatch()
10104
10105         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10106
10107         * lyxlayout.C (Read): honor DependsOn tag
10108
10109         * lyxlayout.[Ch] (depends_on): new method
10110
10111         * version.C.in: update lyx_docversion
10112
10113         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10114
10115         * paragraph.C (validate): remove from here...
10116         * paragraph_pimpl.C (validate): ... and move here
10117         (isTextAt): make it const
10118
10119         * buffer.C (getLists): ws cleanup
10120
10121 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10122
10123         * language.C (read): Use iso8859-1 encoding in latex_lang
10124         (this prevents LyX from crashing when using iso10646-1 encoding).
10125
10126 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10127
10128         * text2.C (toggleInset): if cursor is inside an inset, close the
10129         inset and leave cursor _after_ it
10130
10131 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10132
10133         * lyxfunc.C: move minibuffer completion handling out of here
10134
10135 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10136
10137         * BufferView_pimpl.C:
10138         * LaTeX.C: fix dispatch calls
10139
10140 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10141
10142         * text.C (drawChars): Fix Arabic text rendering.
10143
10144 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10145
10146         * LyXAction.C:
10147         * commandtags.h:
10148         * lyxfunc.C: remove message-push/pop
10149
10150         * lyxserver.C:
10151         * lyxfunc.h:
10152         * lyxfunc.C: rationalise some code by removing verboseDispatch
10153           in favour of a bool argument to dispatch()
10154
10155 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10156
10157         * lyx_main.C (init): make sure to read symlinks as absolute paths
10158
10159 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10160
10161         * lyxfunc.h:
10162         * lyxfunc.C: no need for commandshortcut to be a member
10163
10164 2002-07-15  André Pönitz <poenitz@gmx.net>
10165
10166         * converter.C: add support for $$s (scripts from lib/scripts dir)
10167         * lyx_main.C: white space
10168
10169 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * bufferlist.C:
10172         * lyxrc.h:
10173         * lyxrc.C: remove second exit confirmation
10174
10175 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10176
10177         * BufferView.h:
10178         * BufferView.C:
10179         * BufferView2.C:
10180         * BufferView_pimpl.h:
10181         * BufferView_pimpl.C:
10182         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10183
10184 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10185
10186         * MenuBackend.C (expand): add numeric shortcuts to document menu
10187
10188         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10189
10190 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * lyxfont.C (setLyXFamily):
10193         (setLyXSeries):
10194         (setLyXShape):
10195         (setLyXSize):
10196         (setLyXMisc):
10197         (lyxRead):
10198         * debug.C (value):
10199         * buffer.C (asciiParagraph): use ascii_lowercase
10200
10201 2002-07-15  Mike Fabian  <mfabian@suse.de>
10202
10203         * lyxlex_pimpl.C (search_kw):
10204         * lyxlex.C (getLongString):
10205         * converter.h (operator<):
10206         * converter.C (operator<):
10207         * buffer.C (parseSingleLyXformat2Token):
10208         (asciiParagraph):
10209         * ToolbarDefaults.C (read):
10210         * MenuBackend.C (checkShortcuts):
10211         (read):
10212         * LColor.C (getFromGUIName):
10213         (getFromLyXName): use the compare_ascii_no_case instead of
10214         compare_no_case, because in turkish, 'i' is not the lowercase
10215         version of 'I', and thus turkish locale breaks parsing of tags.
10216
10217 2002-07-16  Angus Leeming  <leeming@lyx.org>
10218
10219         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10220         now takes a Buffer const & argument.
10221
10222 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * BufferView.C (resize): check there's a buffer to resize
10225
10226 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * lyxfunc.C: remove dead code
10229
10230         * lyxserver.h:
10231         * lyxserver.C: use lyx_guii::set_read_callback
10232
10233 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10234
10235         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10236         an inset in a RTL paragraph.
10237
10238 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * lyxfunc.C: repaint after a font size update
10241
10242 2002-07-15  André Pönitz <poenitz@gmx.net>
10243
10244         * lyxlength.C: inBP should be able to return negative values
10245
10246 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * lyxfunc.C: use lyx_gui::update_fonts()
10249
10250 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10251
10252         * lyxfunc.C: use lyx_gui::update_color()
10253
10254 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10255
10256         * bufferlist.C:
10257         * lyxfunc.h:
10258         * lyxfunc.C:
10259         * lyxrc.h:
10260         * lyxrc.C: remove file->new asks for name option, and let
10261           buffer-new take an argument
10262
10263 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * BufferView_pimpl.C: remove unneeded extra repaint()
10266
10267 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * LyXAction.C: allow command-sequence with NoBuffer
10270
10271         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10272
10273 2002-07-10  Angus Leeming  <leeming@lyx.org>
10274
10275         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10276
10277 2002-07-09  Angus Leeming  <leeming@lyx.org>
10278
10279         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10280
10281 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * lengthcommon.h: whitespace
10284
10285         * lyxfunc.C: update scrollbar after goto paragraph
10286
10287         * lyxtext.h: factor out page break drawing, and fix it so
10288           page break/added space paints as selected nicely
10289
10290 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * BufferView_pimpl.C: add FIXMEs, clean up a little
10293
10294 2002-07-09  André Pönitz <poenitz@gmx.net>
10295
10296         * lyxfont.[Ch]: support for wasy symbols
10297
10298 2002-07-08  André Pönitz <poenitz@gmx.net>
10299
10300         * BufferView_pimpl.C: apply John's patch for #93.
10301
10302 2002-07-05  Angus Leeming  <leeming@lyx.org>
10303
10304         * BufferView_pimpl.C (buffer): generate previews if desired.
10305
10306         * LColor.h: add "preview" to the color enum.
10307
10308         * LColor.C (LColor): add a corresponding entry to the items array.
10309
10310         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10311         with this buffer.
10312
10313 2002-07-05  Angus Leeming  <leeming@lyx.org>
10314
10315         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10316         The body of the code is now in the method that is passed an ostream &
10317         rather than a file name.
10318         Pass an additional only_preamble parameter, useful for the forthcoming
10319         preview stuff.
10320
10321 2002-07-03  André Pönitz <poenitz@gmx.net>
10322
10323         * lyxfunc.C: simplify getStatus() a bit for math stuff
10324
10325 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10326
10327         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10328
10329 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * text.C (changeRegionCase): do not change case of all the
10332         document when region ends at paragraph end (bug #461)
10333
10334 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * paragraph.C (startTeXParParams):
10337         (endTeXParParams): add \protect when necessary
10338
10339 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10340
10341         * BufferView_pimpl.C (workAreaExpose): remove warning
10342
10343 2002-06-27  Angus Leeming  <leeming@lyx.org>
10344
10345         * Makefile.am: add lyxlayout_ptr_fwd.h.
10346
10347 2002-06-26  André Pönitz <poenitz@gmx.net>
10348
10349         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10350
10351 2002-06-25  Angus Leeming  <leeming@lyx.org>
10352
10353         * lyxfunc.C (dispatch): Comment out the call to
10354         grfx::GCache::changeDisplay. The method no longer exists now that the
10355         pixmap generation part of the graphics loader has been moved into
10356         InsetGraphics.
10357
10358 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10359
10360         * text2.C: layout as layout
10361
10362         * text.C: layout as layout
10363
10364         * tabular.C (OldFormatRead): layout as layout
10365
10366         * paragraph_pimpl.C (TeXDeeper): layout as layout
10367         (realizeFont): layout as layout
10368
10369         * paragraph.C (writeFile): layout as layout
10370         (validate): layout as layout
10371         (getFont): layout as layout
10372         (getLabelFont): layout as layout
10373         (getLayoutFont): layout as layout
10374         (breakParagraph): layout as layout
10375         (stripLeadingSpaces): layout as layout
10376         (getEndLabel): layout as layout
10377         (getMaxDepthAfter): layout as layout
10378         (applyLayout): layout as layout
10379         (TeXOnePar): layout as layout
10380         (simpleTeXOnePar): layout as layout
10381         (TeXEnvironment): layout as layout
10382         (layout): layout as layout
10383         (layout): layout as layout
10384
10385         * lyxtextclass.C (compare_name): new functor to work with
10386         shared_ptr, layout as layout
10387         (Read): layout as layout
10388         (hasLayout): layout as layout
10389         (operator): layout as layout
10390         (delete_layout): layout as layout
10391         (defaultLayout): layout as layout
10392
10393         * lyxlayout_ptr_fwd.h: new file
10394
10395         * lyxlayout.C (Read): layout as layout
10396
10397         * lyx_cb.C (MenuInsertLabel): layout as layout
10398
10399         * bufferlist.C (newFile): layout as layout
10400
10401         * buffer.C (readLyXformat2): layout as layout
10402         (parseSingleLyXformat2Token): layout as layout
10403         (insertStringAsLines): layout as layout
10404         (asciiParagraph): layout as layout
10405         (latexParagraphs): layout as layout
10406         (makeLinuxDocFile): layout as layout
10407         (simpleLinuxDocOnePar): layout as layout
10408         (makeDocBookFile): layout as layout
10409         (simpleDocBookOnePar): layout as layout
10410         (getLists): layout as layout
10411
10412         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10413
10414         * CutAndPaste.C (cutSelection): layout as layout
10415         (pasteSelection): layout as layout
10416         (SwitchLayoutsBetweenClasses): layout as layout
10417
10418         * BufferView_pimpl.C (Dispatch): layout as layout
10419         (smartQuote): layout as layout
10420
10421         * BufferView2.C (unlockInset): layout as layout
10422
10423 2002-06-24  André Pönitz <poenitz@gmx.net>
10424
10425         * lyxfunc.C: fix #487
10426
10427 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * lyxrc.h:
10430         * lyxrc.C:
10431         * lyxfunc.C: remove display_shortcuts, show_banner
10432
10433 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10434
10435         * Buffer_pimpl.C: oops, update on resize
10436
10437 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * buffer.C:
10440         * converter.C:
10441         * exporter.C:
10442         * lyxfunc.C:
10443         * BufferView.h:
10444         * BufferView.C: use repaint()
10445
10446         * BufferView_pimpl.h:
10447         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10448           as it's a clearer description. Remove superfluous
10449           redraws.
10450
10451 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10452
10453         * text.C: fix bug 488. Not ideal, but getting
10454           getWord() to work properly for the insets that
10455           matter is more difficult ...
10456
10457 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10458
10459         * BufferView_pimpl.C:
10460         * LyXAction.C:
10461         * commandtags.h:
10462         * lyxfunc.C: remove the six million index lyxfuncs to just
10463           one, and DTRT (bug 458)
10464
10465 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * BufferView.h:
10468         * BufferView.C:
10469         * BufferView_pimpl.h:
10470         * BufferView_pimpl.C: clean up resize() stuff,
10471           and unnecessary updateScreen()s
10472
10473 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * BufferView.h:
10476         * BufferView.C:
10477         * BufferView_pimpl.h:
10478         * BufferView_pimpl.C:
10479         * lyxfind.h:
10480         * lyxfind.C:
10481         * minibuffer.C: remove focus management of workarea,
10482           not needed. Use screen's greyOut()
10483
10484 2002-06-17  Herbert Voss  <voss@lyx.org>
10485
10486         * converter.C: (convert) do not post a message, when converting
10487         fails, let the calling function decide what to do in this case
10488
10489 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * lyxfunc.C: tidy up a little
10492
10493 2002-06-16    <alstrup@diku.dk>
10494
10495         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10496         Got rid of FORMS_H_LOCATION include. Now we are
10497         GUII.
10498
10499 2002-06-15  LyX Development team  <lyx@rilke>
10500
10501         * buffer.[Ch] (sgmlOpenTag):
10502         (sgmlCloseTag): Added support for avoiding pernicious mixed
10503         content. Return number of lines written.
10504
10505         (makeLinuxDocFile):
10506         (makeDocBookFile): Fixed calls to sgml*Tag.
10507         Simple white space clean.
10508
10509         (simpleDocBookOnePar): Simple white space clean.
10510
10511         * tabular.[Ch] (docBook): Renamed to docbook and got another
10512         argument to related with the pernicious mixed content.
10513
10514         (docbookRow): Fixed calls for docbook inset method.
10515
10516 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10517
10518         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10519         so it's X11 independent.
10520
10521         * kb*.[Ch]: ditto.
10522
10523         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10524
10525 2002-06-15  Lyx Development team  <lyx@electronia>
10526
10527         * intl.h: Renamed getTrans to getTransManager.
10528
10529 2002-06-14  Angus Leeming  <leeming@lyx.org>
10530
10531         * Makefile.am: nuke forgotten stl_string_fwd.h.
10532
10533 2002-06-12  Angus Leeming  <leeming@lyx.org>
10534
10535         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10536
10537 2002-06-13  Angus Leeming  <leeming@lyx.org>
10538
10539         * LaTeX.C:
10540         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10541
10542 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10543
10544         * kbmap.C (getiso): add support for cyrillic and greek
10545
10546 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10547
10548         * BufferView.h:
10549         * BufferView.C:
10550         * BufferView_pimpl.h:
10551         * BufferView_pimpl.C: move bogus scrolling logic
10552           to xforms
10553
10554 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * lyxfunc.C:
10557         * BufferView_pimpl.C: view->resize() change
10558
10559 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * BufferView_pimpl.C: topCursorVisible
10562           prototype change
10563
10564 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * Makefile.am:
10567         * lyx_gui.h:
10568         * lyx_gui.C: move to frontends/
10569
10570         * main.C:
10571         * lyx_main.h:
10572         * lyx_main.C: changes from above
10573
10574 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * intl.C:
10577         * intl.h:
10578         * kbmap.C:
10579         * kbsequence.C:
10580         * lyx_cb.C:
10581         * lyx_main.C: minor tidy
10582
10583 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * BufferView_pimpl.h:
10586         * BufferView_pimpl.C:
10587         * BufferView.h:
10588         * BufferView.C: make painter() const,
10589           remove dead code
10590
10591         * BufferView2.C: use screen() accessor
10592
10593         * lyx_main.h:
10594         * lyx_main.C: some minor cleanup
10595
10596 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * BufferView_pimpl.h:
10599         * BufferView_pimpl.C: remove enter/leaveView,
10600           use workHeight()
10601
10602 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10603
10604         * BufferView.h:
10605         * BufferView.C:
10606         * BufferView2.C:
10607         * BufferView_pimpl.h:
10608         * BufferView_pimpl.C: only construct screen once,
10609           rename
10610
10611         * lyxrc.C: remove pointless comment
10612
10613 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10614
10615         * BufferView.h:
10616         * BufferView.C: remove active() and belowMouse()
10617
10618         * BufferView_pimpl.h:
10619         * BufferView_pimpl.C: use workarea() not workarea_,
10620           and make it use a scoped_ptr instead
10621
10622 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10623
10624         * lyx_gui.C: add debug message on BadWindow
10625
10626 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10627
10628         * sp_spell.C: fdopen is not part of the C++ standard.
10629
10630         * paragraph.C (InsetIterator): use >= instead of ==
10631
10632 2002-06-07  Angus Leeming  <leeming@lyx.org>
10633
10634         Fixes needed to compile with Compaq cxx 6.5.
10635         * BufferView_pimpl.C:
10636         * DepTable.C:
10637         * buffer.C:
10638         * converter.C:
10639         * encoding.C:
10640         * lyx_gui.C:
10641         * lyx_main.C:
10642         * lyxtextclasslist.C:
10643         * minibuffer.C:
10644         * sp_spell.C:
10645         * tabular_funcs.C:
10646         * vc-backend.C:
10647         all c-library variables have been moved into namespace std. Wrap
10648         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10649
10650         * lyxlength.C:
10651         * tabular-old.C:
10652         * tabular.C:
10653         Add a using std::abs declaration.
10654
10655         * kbmap.h (modifier_pair):
10656         * paragraph.h (InsetTable, InsetList):
10657         * lyxfont.h (FontBits):
10658         type definition made public.
10659
10660         * bufferlist.C (emergencyWriteAll): the compiler complains that
10661         there is more than one possible lyx::class_fun template to choose from.
10662         I re-named the void specialisation as lyx::void_class_fun.
10663
10664         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10665
10666         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10667         the compiler is is unable to find tostr in write_attribute.
10668
10669 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10670
10671         * buffer.C (sgmlError): hide #warning
10672
10673 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10674
10675         * xtl/*: get rid of xtl, which is not in use anyway
10676
10677         * LyXAction.C (init):
10678         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10679         were unimplemented xtl experimentation
10680
10681 2002-06-04  André Pönitz <poenitz@gmx.net>
10682
10683         * lyxfunc.C: disable array operation on simple formulae
10684
10685 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * converter.C: constify a bit
10688
10689 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * lyx_gui.C: check xforms version correctly
10692
10693 2002-04-30  Herbert Voss  <voss@lyx.org>
10694
10695         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10696         "keep" option
10697
10698 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10701           attempt to register it with a VCS)
10702
10703 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * lyx_main.C (init): honor variables LYX_DIR_13x and
10706         LYX_USERDIR_13x
10707
10708 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * buffer.h:
10711         * buffer.C:
10712         * lyx_main.C: fix a crash on bad command line,
10713           and give a useful exit status on error
10714
10715         * lyxfunc.C (doImport): allow -i lyx to work
10716
10717 2002-03-30  André Pönitz <poenitz@gmx.net>
10718
10719         * lyxfunc.C: mathed font changes
10720
10721 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * LaTeX.C:
10724         * importer.h:
10725         * importer.C:
10726         * lyx_sty.h:
10727         * lyx_sty.C:
10728         * lyxlex.C:
10729         * lyxrow.h:
10730         * lyxtext.h:
10731         * paragraph.h:
10732         * paragraph.C:
10733         * texrow.h:
10734         * texrow.C:
10735         * text.C:
10736         * trans_mgr.h: srcdocs, and some minor cleanups
10737
10738 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10739
10740         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10741         call getFont all the time)
10742
10743 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10744
10745         * switch from SigC signals to boost::signals
10746
10747 2002-05-29  André Pönitz <poenitz@gmx.net>
10748
10749         * paragraph_pimpl.C (getChar): don't call size() too often...
10750
10751 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10752
10753         * paragraph_pimpl.C (insertChar): do not try to update tables when
10754         appending (pos == size())
10755
10756         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10757         in order to reduce drastically the number of comparisons needed to
10758         parse a large document
10759
10760 2002-05-29  André Pönitz <poenitz@gmx.net>
10761
10762         * text.C:
10763         * text2.C:
10764         * lyxtextclass.C:
10765         * sp_pspell.h:
10766         * textclasslist.[Ch]:
10767         * sp_ispell.h: whitespace change
10768
10769 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10770
10771         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10772         lyxaction directly now.
10773
10774 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * trans.C:
10777         * lyxfont.C:
10778         * lyxvc.C: remove unused headers
10779
10780 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * Makefile.am:
10783         * buffer.h:
10784         * undostack.h:
10785         * undostack.C:
10786         * undo_funcs.h:
10787         * undo_funcs.C: some cleanups. Use shared_ptr
10788           and a template for the undo stacks.
10789
10790 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * BufferView_pimpl.h:
10793         * BufferView_pimpl.C:
10794         * kbmap.h:
10795         * kbmap.C:
10796         * kbsequence.h:
10797         * kbsequence.C:
10798         * lyxfunc.h:
10799         * lyxfunc.C:
10800         * text2.C: use key_state/mouse_state
10801
10802 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10805         and LSubstring
10806
10807         * chset.C: change include order
10808         (loadFile): use boost regex and get rid of LRegex and LSubstring
10809
10810         * Makefile.am (BOOST_LIBS): new variable
10811         (lyx_LDADD): use it
10812
10813         * LaTeX.C: change include order.
10814         (scanAuxFile): use boost regex and get rid of LRegex and
10815         LSubstring
10816         (deplog): ditto
10817
10818 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * ColorHandler.h:
10821         * ColorHandler.C:
10822         * FontInfo.h:
10823         * FontInfo.C: moved to frontends/xforms/
10824
10825         * FontLoader.h:
10826         * FontLoader.C: moved into frontends for GUIIzation
10827
10828         * Makefile.am:
10829         * lyx_gui.C:
10830         * lyxfont.C:
10831         * lyxfunc.C: changes from above
10832
10833 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10834
10835         * LColor.C: remove spurious X include
10836
10837         * BufferView_pimpl.C:
10838         * Makefile.am:
10839         * font.h:
10840         * font.C:
10841         * text.C:
10842         * text2.C: move font metrics to frontends/
10843
10844 2002-05-24  Juergen Vigna  <jug@sad.it>
10845
10846         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10847         setting the undo_cursor.
10848
10849         * ParagraphParameters.h: include local includes first.
10850
10851 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10852
10853         * BufferView_pimpl.C:
10854         * BufferView_pimpl.h:
10855         * Makefile.am:
10856         * WorkArea.h:
10857         * WorkArea.C:
10858         * screen.C: move WorkArea into frontends/
10859
10860         * lyxscreen.h:
10861         * screen.C:
10862         * text.C:
10863         * BufferView.C:
10864         * BufferView2.C: move LyXScreen into frontends/
10865
10866         * lyxlookup.h:
10867         * lyxlookup.C:
10868         * lyx_gui.C: move lyxlookup into frontends/xforms/
10869
10870 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * BufferView2.C:
10873         * BufferView_pimpl.C:
10874         * FontLoader.C:
10875         * LyXView.h:
10876         * LyXView.C:
10877         * Makefile.am:
10878         * WorkArea.C:
10879         * XFormsView.h:
10880         * XFormsView.C:
10881         * buffer.C:
10882         * bufferlist.C:
10883         * bufferview_funcs.C:
10884         * converter.C:
10885         * importer.C:
10886         * lyx_cb.C:
10887         * lyx_gui.C:
10888         * lyx_main.C:
10889         * lyx_find.C:
10890         * lyxfunc.C:
10891         * lyxvc.C:
10892         * minibuffer.C:
10893         * text.C:
10894         * text2.C:
10895         * trans.C:
10896         * vc-backend.C: move LyX/XFormsView into frontends/
10897
10898 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10899
10900         * Makefile.am:
10901         * PainterBase.C:
10902         * PainterBase.h:
10903         * Painter.C:
10904         * Painter.h:
10905         * WorkArea.C:
10906         * WorkArea.h:
10907         * screen.C:
10908         * tabular.C:
10909         * text.C:
10910         * text2.C: move Painter to frontends/
10911
10912 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10913
10914         * buffer.C: comment out some some code that depend upon lyx_format
10915         < 220
10916
10917         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10918         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10919
10920         * buffer.h (NO_COMPABILITY): turn off compability
10921
10922         * ColorHandler.C: include scoped_array.hpp
10923
10924         * font.C: Use more specific smart_ptr header.
10925         * Painter.C: ditto
10926         * gettext.C: ditto
10927         * ShareContainer.h: ditto
10928         * lyx_main.h: ditto
10929         * kbmap.h: ditto
10930         * FontInfo.h: ditto
10931         * BufferView_pimpl.h: ditto
10932         * ColorHandler.h: ditto
10933
10934         * kbmap.C (defkey): change call to shared_ptr::reset
10935
10936 2002-05-21  Juergen Vigna  <jug@sad.it>
10937
10938         * buffer.C (insertErtContents): fix to insert ert asis if it is
10939         non empty. Skip it completely if it contains only whitespaces.
10940
10941 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * BufferView_pimpl.C:
10944         * BufferView2.C: clear selection on paste (bug 393)
10945
10946 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10947
10948         * DepTable.C: include ctime
10949
10950 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10951
10952         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10953
10954 2002-05-14  Juergen Vigna  <jug@sad.it>
10955
10956         * text.C (breakParagraph): fixed function to honor the keepempty
10957         layout in the right maner and also to permit the right breaking
10958         algorithm on empty or non empyt keepempty paragraphs.
10959
10960         * paragraph.C (breakParagraph): we have to check also if the par
10961         is really empty (!size()) for isempty otherwise we do the wrong
10962         paragraph break.
10963
10964 2002-05-10  Juergen Vigna  <jug@sad.it>
10965
10966         * buffer.[Ch] : The following are only changes to the ert
10967         compatibility read reading old LaTeX layout and font stuff and
10968         convert it to ERTInsets.
10969
10970         * buffer.h: added isErtInset().
10971
10972         * buffer.C (struct ErtComp): add a fromlayout bool to check
10973         if we're inside a LaTeX layout.
10974         (isErtInset): new helper function.
10975         (insertErtContents): look for other ert insets before this one
10976         and insert the contents there, so that we don't have subsequent
10977         ERT insets with nothing between them. This way we create only one
10978         inset with multiple paragraphs. Also check if we don't insert only
10979         spaces ' ' as they are ignored anyway afterwards in the .tex file
10980         so if we have only spaces we will ignore this latex part in the
10981         new file.
10982         (parseSingleLyXformat2Token \\layout): better compatibility when
10983         reading layout-latex stuff.
10984         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10985         language tag.
10986         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10987         stuff after reading the inset only get the information back from
10988         the stack.
10989
10990 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10991
10992         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10993
10994         * LaTeXFeatures.C (getBabelOptions): New method.
10995
10996 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * BufferView_pimpl.C (Dispatch): work around missing argument for
10999         'layout'
11000
11001 2002-05-08  Juergen Vigna  <jug@sad.it>
11002
11003         * text.C (leftMargin): handle paragraph leftindent.
11004
11005         * paragraph.C (writeFile): write the new \\leftindent tag.
11006         (validate): handle leftindent code.
11007         (TeXEnvironment): handle paragraphleftindent code again.
11008
11009         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11010
11011         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11012         for paragrap_extra indent code and new token \\leftindent.
11013         (latexParagraphs): handle the leftindent as environment.
11014
11015         * ParameterStruct.h: added leftindent support.
11016
11017         * ParagraphParameters.C (leftIndent): added support functions for
11018         the paragraph left indent.
11019
11020         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11021         more appropriate.
11022
11023 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11024
11025         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11026         inside insetERT.
11027
11028         * text.C (computeBidiTables): No bidi in insetERT.
11029
11030         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11031         in RTL documents.
11032
11033 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * version.C.in: pre 5
11036
11037 2002-05-02  José Matos  <jamatos@fep.up.pt>
11038         * buffer.C (makeDocBookFile): white space changes, add newline to
11039         command styles.
11040         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11041
11042         * tabular.C (docBook): fix typo.
11043
11044 2002-05-03  Juergen Vigna  <jug@sad.it>
11045
11046         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11047         change in LyXText as we can not be sure it was not freed.
11048         (drawOneRow): remove unused code.
11049
11050         * text.C (drawInset): redo the calculation of the need_break_row as
11051         it could have a row which was already freed.
11052         (draw): look at the return value of drawInset and return false if
11053         it also returned false.
11054         (paintRowText): look at the return value of draw and return false if
11055         it also returned false.
11056
11057         * lyxtext.h: added bool return type to drawInset() and draw() so that
11058         if we have a change in the row so that the rowbreak has to be redone
11059         we abort drawing as it will be called again.
11060
11061 2002-05-02  Juergen Vigna  <jug@sad.it>
11062
11063         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11064         a change in the maintext also if we're inside an inset.
11065         (Dispatch): set the cursor again after a break line and after the
11066         screen has been updated as it could be we're in a different row.
11067
11068         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11069         to set the cursor behind the pargraph with > size().
11070         (setCursor): check also for the same paragraph when checking where
11071         to put the cursor if we have a NFR inset.
11072
11073         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11074         parts of layout read further up as it still was in the wrong
11075         position.
11076
11077 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11078
11079         * screen.C (drawFromTo): change sine fullRebreak always return
11080         true.
11081
11082         * buffer.C (parseSingleLyXformat2Token): reindent some
11083
11084         * BufferView_pimpl.C (update): change since fullRebreak always
11085         return true.
11086         (Dispatch): git rid of the last hardcoded "Standard"s.
11087
11088 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11089
11090         * text2.[Ch] (fullRebreak): make it return void now that we always
11091         returned true.
11092
11093 2002-04-30  Juergen Vigna  <jug@sad.it>
11094
11095         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11096         ert compatibility check for "latex" layout.
11097
11098 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11099
11100         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11101         minipages: use col% instead of p%, and also use the current font.
11102         (makeLaTeXFile): Fix use babel condition.
11103         (parseSingleLyXformat2Token): Correct font when reading old floats.
11104
11105 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11106
11107         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11108         inserting list of floats.
11109
11110 2002-04-25  Herbert Voss  <voss@lyx.org>
11111
11112         * MenuBackend.C (expand): don't add the graphics extensions to the
11113         export menu
11114
11115 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11116
11117         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11118         non-existing layout, do not complain if it was the default layout
11119         of the original class (bug #342)
11120
11121 2002-04-24  Juergen Vigna  <jug@sad.it>
11122
11123         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11124         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11125
11126 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11127
11128         * buffer.C (getBibkeyList): If using \bibliography, return the
11129         option field with the reference itself. Enables us to provide natbib
11130         support when using \bibliography.
11131
11132 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11133
11134         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11135
11136         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11137         natbib is provided by the LaTeX class.
11138
11139 2002-04-23  Juergen Vigna  <jug@sad.it>
11140
11141         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11142         Wakeup functions.
11143
11144         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11145
11146 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11147
11148         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11149
11150         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11151         ensuremath around textordmasculine, textordfeminine and
11152         textdegree.
11153
11154 2002-04-19  Juergen Vigna  <jug@sad.it>
11155
11156         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11157         reinitializing the buffer otherwise row-dimensions may be wrong.
11158         (update): reset also the selection cursors if they do exits otherwise
11159         their x/y positions may be wrong.
11160
11161         * text2.C (cursorDown): don't enter the inset if we came from a row
11162         above and are one row over the inset.
11163
11164         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11165         really leaving an inset.
11166
11167 2002-04-18  Juergen Vigna  <jug@sad.it>
11168
11169         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11170         of the selected paragraph does not have the selected layout also if
11171         the last one had!
11172
11173         * text2.C (setLayout): fixed bug which did not change last selected
11174         paragraph.
11175
11176         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11177         changed the read and substituted \\end_float with \\end_inset!
11178
11179         * BufferView_pimpl.C (cursorPrevious):
11180         (cursorNext): fixed to make it work with rows heigher than the work
11181         area without moving the cursor only the draw of the row.
11182         (workAreaMotionNotify): fix jumping over high rows.
11183
11184 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11187         Ressler.
11188
11189 2002-04-16  Juergen Vigna  <jug@sad.it>
11190
11191         * text2.C (setCursor): set also the irow().
11192         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11193         (cursorUp):
11194         (cursorDown): support for locking an inset if the x_fix value goes
11195         inside it. That way I can transverse insets too with cursor up/down.
11196
11197         * lyxrow.h: added irow helper function same as other (i) functions.
11198
11199         * BufferView_pimpl.C (cursorPrevious):
11200         (cursorNext): fixed for insets!
11201
11202 2002-04-15  Juergen Vigna  <jug@sad.it>
11203
11204         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11205         position otherwise it is wrong in some cases.
11206
11207         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11208         inside the inset before the call.
11209
11210 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11211
11212         * buffer.[Ch] (getBibkeyList): make it const.
11213
11214 2002-04-12  Juergen Vigna  <jug@sad.it>
11215
11216         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11217
11218         * text2.C (getCursorX): new helper function
11219         (setCursor): compute also ix_
11220         (setCursorFromCoordinates): set also ix.
11221
11222         * lyxcursor.h: added ix_ and helper functions.
11223
11224         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11225
11226         * buffer.C (insertStringAsLines): dont break paragraph if the this
11227         paragraph is inside an inset which does not permit it!
11228
11229         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11230         also with no chars on this paragraph.
11231         (paintRowText): only paint stuff if it's inside the workarea!
11232
11233         * paragraph.C (breakParagraph): honor keepempty flag and break the
11234         paragraph always below not above.
11235
11236         * BufferView2.C (unlockInset): update the paragraph layout on inset
11237         unlock as we changed paragraph in such a case.
11238
11239         * lyxfind.C (LyXFind): clear the former selection if not found!
11240
11241         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11242         again called in insertChar().
11243
11244         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11245         an inset which uses the whole row!
11246         (rightMargin): ditto.
11247         (insertChar): force a rebreak if we inserted an inset!
11248
11249 2002-03-28  Herbert Voss  <voss@lyx.org>
11250
11251         * lyxlength.[Ch]: add inBP() to get the right PS-point
11252         units (BigPoint). With inPixels we have rounding errors
11253
11254 2002-04-11  Juergen Vigna  <jug@sad.it>
11255
11256         * text2.C (setCursorFromCoordinates): set iy to the right value.
11257         (setCursor): add check if row->previous exists!
11258
11259         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11260         an old float_type as this was the case in the old code!
11261
11262         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11263
11264         * BufferView2.C (showLockedInsetCursor): use iy
11265         (fitLockedInsetCursor): ditto
11266
11267         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11268         locked insets as there we have the right value now.
11269
11270         * lyxcursor.C: added iy_ variable and iy functions to set to the
11271         baseline of cursor-y of the locked inset.
11272
11273         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11274         (setCursor): fixed for insets which need a full row.
11275
11276         * text.C (rowLastPrintable): don't ignore the last space when before
11277         an inset which needs a full row.
11278         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11279         as last character of a row when before a inset which needs a full row.
11280
11281 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11282
11283         * version.C.in: update date
11284
11285         * text2.C (fullRebreak): try to always return true and see what
11286         happens...
11287
11288 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11289
11290         * MenuBackend.C (expand): use Floating::listName
11291
11292         * FloatList.C (FloatList): add listName argument to the built-in
11293         floats
11294
11295         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11296         text associated with the float.
11297
11298 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11299
11300         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11301
11302 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * ShareContainer.h: add a couple of missing typenames.
11305
11306 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11307
11308         * lyxrc.C (getDescription): use _() correctly rather than N_().
11309
11310 2002-03-28  Herbert Voss  <voss@lyx.org>
11311
11312         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11313         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11314
11315 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11316
11317         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11318         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11319
11320 2002-03-29  Juergen Vigna  <jug@sad.it>
11321
11322         * lyxfunc.C (dispatch): add a missing fitCursor call.
11323
11324         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11325         it was scrolled by a cursor move, so return the bool status.
11326
11327         * BufferView.C (fitCursor): return the bool flag also to the outside
11328         world as this is needed.
11329
11330         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11331
11332         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11333         call the edit() as it is not needed (and wrong) IMO.
11334         (workAreaButtonPress): set the screen_first variable before evt.
11335         unlock the inset as this may change screen_first and then we have
11336         a wrong y position for the click!
11337
11338 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11339
11340         * MenuBackend.C (expand): another translation that I missed
11341
11342 2002-03-28  Juergen Vigna  <jug@sad.it>
11343
11344         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11345
11346         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11347
11348 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11349
11350         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11351
11352         * MenuBackend.C (expand): fix export/view/update when there is no
11353         document open.
11354
11355 2002-03-27  Herbert Voss  <voss@lyx.org>
11356
11357         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11358         and text%
11359
11360 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * bufferview_funcs.C (currentState): only show paragraph number
11363         for is DEVEL_VERSION is set.
11364
11365         * lyxfunc.C (dispatch): put warning in INFO channel
11366
11367         * MenuBackend.C (expand): translate the name of floats
11368
11369         * FloatList.C (FloatList): mark the float names for translation
11370
11371         * converter.C (convert): use LibScriptSearch
11372
11373 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11374
11375         * MenuBackend.C (defaults): fix default menu (we might as well get
11376         rid of it...)
11377
11378 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11379
11380         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11381         directory.
11382
11383 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * lyxvc.C: reorder includes.
11386
11387 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11390           properly
11391
11392 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * CutAndPaste.C: change layouts earlier on paste
11395           to avoid crashing when calling getFont()
11396
11397 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11398
11399         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11400         irritating #error.
11401
11402 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11403
11404         * WorkArea.C: remove 'Pending' debug message.
11405
11406         * most files: ws cleanup
11407
11408         * buffer.[Ch]: ws changes
11409
11410         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11411
11412 2002-03-21  Juergen Vigna  <jug@sad.it>
11413
11414         * tabular.C (SetMultiColumn): collapse also the contents of the
11415         cells and set the last border right. Added a Buffer const * param.
11416
11417 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11420         linking or not.
11421
11422 2002-03-19  Juergen Vigna  <jug@sad.it>
11423
11424         * text2.C (clearSelection): reset also xsel_cache.
11425
11426         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11427         where it needs to be called (John tells us to do so too :)
11428         (selectionLost): reset sel_cache.
11429
11430         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11431
11432 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11433
11434         * text2.C (setCursorIntern): put debuging code in INSETS channel
11435
11436 2002-03-19  André Pönitz <poenitz@gmx.net>
11437
11438         * lyxfunc.C: tiny whitespace change
11439
11440 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11441
11442         * ToolbarDefaults.C (init):
11443         * LyXAction.C (init):
11444         * commandtags.h:
11445         * BufferView_pimpl.C (Dispatch):
11446         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11447
11448 2002-03-19  Allan Rae  <rae@lyx.org>
11449
11450         * exporter.C (Export): removeAutoInsets before doing anything else.
11451         While I've just introduced a dependency on BufferView this really is
11452         the best place to clean the buffer otherwise you need to cleanup in
11453         a dozen places before calling export or cleanup in a dozen functions
11454         that export calls.
11455
11456         * converter.C (runLaTeX):
11457         (scanLog): Better handling of removeAutoInsets and screen updates.
11458
11459         * lyxfunc.C (dispatch): small whitespace changes
11460
11461 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11462
11463         * WorkArea.C (C_WorkAreaEvent): return a value.
11464         (event_cb): return 1 if we handled the event, 0 otherwise.
11465
11466         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11467
11468 2002-03-18  Juergen Vigna  <jug@sad.it>
11469
11470         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11471         (GetAdditionalWidth): ditto.
11472         (RightLine): ditto.
11473         (LeftLine): ditto.
11474
11475         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11476         inset if we're there actually (probably not used right now but this
11477         is the direction to go for unifying code).
11478         (paste): disable code to clear the selection.
11479
11480         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11481         inside an InsetText and move the check further up as it is in the
11482         wrong place.
11483
11484         * text2.C (pasteSelection): set a selection over the pasted text.
11485
11486 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11487
11488         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11489         and libgraphics to build on Cygwin.
11490
11491 2002-03-15  Juergen Vigna  <jug@sad.it>
11492
11493         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11494         inserting an Inset into the paragraph. I know this is not the best
11495         fix but we already use current_view in CutAndPaste so we will remove
11496         all of it's using at the same time.
11497
11498         * buffer.C (sgmlError): deactivated function till it is rewritten in
11499         the right mode, now it can create problems.
11500
11501         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11502         before accessing it.
11503
11504 2002-03-14  Juergen Vigna  <jug@sad.it>
11505
11506         * undo_funcs.C (textHandleUndo): do the right thing when updating
11507         the inset after the undo/redo.
11508
11509         * text2.C (setCursor): just some testcode for #44 not ready yet.
11510
11511         * undo_funcs.C (textHandleUndo): set the next() and previous()
11512         pointers of the paragraph to 0 before deleting otherwise we have
11513         problems with the Paragraph::[destructor].
11514
11515         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11516         on a paragraph insertion.
11517
11518 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11519
11520         * buffer.C (asciiParagraph): use += operator for char append to
11521         string.
11522
11523         * paragraph.C (getFontSettings): compare >= not just >
11524         (highestFontInRange): ditto
11525         (setFont): ditto
11526
11527 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * paragraph.C: change several algorithm to be more appripriate for
11530         the problem domain. This is lookip in FontList and in the InsetList.
11531
11532 2002-03-13  André Pönitz <poenitz@gmx.net>
11533
11534         * commandtags.h:
11535         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11536
11537 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * commandtags.h:
11540         * LyXAction.C:
11541         * lyxfunc.C:
11542         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11543
11544 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11545
11546         * Painter.C (display): anon helper function, adjust code for this
11547         change.
11548         (pixmap): remove function.
11549
11550         * Painter.h: remove private display variable.
11551
11552         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11553
11554 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11555
11556         * WorkArea.[Ch]: remove figinset_canvas cruft.
11557
11558 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * lyxtextclass.C (operator): add one item cache optimization.
11561
11562         * bufferlist.h: doxy changes
11563
11564         * bufferlist.C: ws changes
11565
11566         * DepTable.[Ch] (ext_exist): place const in the right spot.
11567
11568         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11569         call resizeInsets.
11570         (workAreaExpose): call resizeInsets when the with BufferView changes.
11571         (Dispatch): adjust for protectedBlank removal
11572         (specialChar): call updateInset if the insert went ok.
11573
11574         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11575         specialChar instead.
11576
11577         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11578
11579         * BufferView.h: doxy change
11580
11581         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11582
11583         * lyxtextclass.C (operator[]): remove non-const version
11584         (defaultLayout): remove non-const version
11585
11586 2002-03-12  Juergen Vigna  <jug@sad.it>
11587
11588         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11589         did resize the LyXText too.
11590
11591         * buffer.C (readLyXformat2): set layout information on newly allocated
11592         paragraphs.
11593
11594         * tabular.C (OldFormatRead): set layout information on the paragraph.
11595
11596 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11597
11598         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11599
11600 2002-03-11  Juergen Vigna  <jug@sad.it>
11601
11602         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11603         plainly wrong.
11604         (resizeCurrentBuffer): force also the insets to resize themselfes.
11605         (moveCursorUpdate): fixed up for InsetText.
11606
11607 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11608
11609         * commandtags.h:
11610         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11611         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11612         value of Dialogs::tooltipsEnabled().
11613         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11614
11615 2002-03-08  Juergen Vigna  <jug@sad.it>
11616
11617         * BufferView_pimpl.C (updateInset): update inset inside inset also
11618         if it isn't inside theLockingInset().
11619
11620 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11621
11622         * buffer.C (asciiParagraph): redo some of the word and line length
11623         handling.
11624         (getLists): look for Caption instead of caption.
11625
11626 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11627
11628         * buffer.C (Buffer): initialize niceFile to true
11629         (makeLaTeXFile):
11630         (makeLinuxDocFile):
11631         (makeDocBookFile): make sure niceFile is true on exit
11632
11633 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11634
11635         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11636
11637 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11638
11639         * LyXSendto.C: remove.
11640         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11641         * lyx_gui.C: remove now-redundant comment.
11642         * ColorHandler.h: remove forward declaration of class WorkArea.
11643         * lyxfunc.C: remove #include "WorkArea.h".
11644
11645 2002-03-07  Juergen Vigna  <jug@sad.it>
11646
11647         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11648         got moved away with the DEPM and also set the inset_owner always
11649         right which before could have been omitted.
11650
11651 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11652
11653         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11654         wanted layout is not found.
11655
11656 2002-03-07  Juergen Vigna  <jug@sad.it>
11657
11658         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11659
11660 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11661
11662         * paragraph.C (breakParagraph): use default layout not layout of
11663         prev paragraph.
11664         (Paragraph): clear ParagraphParameters.
11665
11666 2002-03-06  Juergen Vigna  <jug@sad.it>
11667
11668         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11669         otherwise it would not be a valid lenght. Fixed a special case in
11670         the minipage compatibility read where we end the document with a
11671         minipage.
11672
11673         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11674         was set as it could be 0 for InsetTexts first entry.
11675
11676 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11677
11678         * paragraph.C (writeFile): if layout is empty write out
11679         defaultLayoutName().
11680
11681         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11682         file without named layout we set layout to defaultLayoutName().
11683
11684 2002-03-06  Juergen Vigna  <jug@sad.it>
11685
11686         * CutAndPaste.C (copySelection): set layout for new paragraph.
11687
11688         * text.C (prepareToPrint): leave ERT inset left aligned
11689         (leftMargin): don't indent paragraphs inside ERT insets
11690
11691 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * paragraph.C (breakParagraph): dont call clear do the work manually
11694
11695         * paragraph.[Ch] (clear): remove function
11696
11697 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11698
11699         * paragraph.C (Paragraph): dont call clear, the work has already
11700         been done.
11701
11702         * lyxtextclass.C (operator): assert if n is empty
11703
11704         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11705         work manually instead.
11706
11707 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11708
11709         * BufferView_pimpl.C: protect selectionLost against text == 0
11710
11711 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * text.C (breakParagraph): fix a setting layout to '0' problem.
11714
11715 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11716
11717         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11718         final location of file, for the included files, and graphics.
11719
11720 2002-03-05  Juergen Vigna  <jug@sad.it>
11721
11722         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11723
11724 2002-03-04  Juergen Vigna  <jug@sad.it>
11725
11726         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11727
11728         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11729         last column of multicolumn cells.
11730         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11731
11732 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11733
11734         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11735         file if it doesn't go to a temporary file.
11736
11737         * buffer.C (sgmlOpenTag):
11738         (sgmlCloseTag):  remove extra newline insertion.
11739
11740 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11741
11742         * text.C (getRowNearY): comment out debug msg
11743
11744 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11745
11746         * text2.C: first -> first_y
11747
11748         * text.C (getRowNearY): add some attemts at a possible
11749         optimization, not working.
11750
11751         * tabular.[Ch]: add BufferParams to several function so that newly
11752         created paragraph can be initialized to he default layotu for the
11753         buffers textclass.
11754
11755         * tabular-old.C (ReadOld): add buf->params to call of Init
11756
11757         * screen.C: rename text->first to text->first_y
11758
11759         * paragraph.C (breakParagraph): always set layout in the broken
11760         paragraph
11761
11762         * lyxtextclass.C (Read): remove lowercase
11763         (hasLayout): ditto
11764         (operator): ditto
11765         (delete_layout): ditto
11766
11767         * lyxtext.h: rename first -> first_y
11768
11769         * lyxlayout.C (Read): remove lowercase
11770         (name): ditto
11771         (setName): ditto
11772         (obsoleted_by): ditto
11773
11774         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11775
11776         * buffer.C (insertErtContents): add params are to InsetERT
11777         (parseSingleLyXformat2Token): add code to check if a paragraphs
11778         layout really exist.
11779         (parseSingleLyXformat2Token): add params to several inset
11780         constructors
11781         (asciiParagraph): remove lowercase, do the layout comparisons with
11782         no_case
11783
11784         * BufferView_pimpl.C (cursorNext): first -> first_y
11785         (resizeCurrentBuffer): first -> first_y
11786         (updateScrollbar): first -> first_y
11787         (scrollCB): first -> first_y
11788         (workAreaMotionNotify): first -> first_y
11789         (workAreaButtonPress): first -> first_y
11790         (checkInsetHit): first -> first_y
11791         (cursorPrevious): first -> first_y
11792         (cursorNext): first -> first_y
11793         (Dispatch): add buffer_->params to severl inset contructors
11794
11795 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11796
11797         * lyxlayout.C (Read): remove some debug info that I forgot.
11798
11799         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11800         clean up the code slightly.
11801         (makeLinuxDocFile): ditto
11802         (makeDocBookFile): ditto
11803
11804         * text2.C: layout as string
11805
11806         * text.C: layout as string
11807
11808         * paragraph_pimpl.C: layout as string
11809
11810         * paragraph.[Ch]: layout as string
11811
11812         * lyxtextclasslist.[Ch]: layout as string
11813
11814         * lyxtextclass.[Ch]: layout as string
11815
11816         * lyxtext.h: layout as string
11817
11818         * lyxlayout.[Ch]: layout as string
11819
11820         * lyx_cb.C: layout as string
11821
11822         * bufferview_funcs.C: layout as string
11823
11824         * bufferparams.C: layout as string
11825
11826         * buffer.C: layout as string
11827
11828         * LyXView.[Ch]: layout as string
11829
11830         * LaTeXFeatures.[Ch]: layout as string
11831
11832         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11833
11834         * BufferView_pimpl.C: change current_layout to string, remove
11835         lyx::layout_type.
11836         (Dispatch):
11837         (smartQuote):
11838         (insertInset):
11839         (workAreaButtonRelease): layout as string
11840
11841         * BufferView2.C (unlockInset): adjust
11842
11843         * vspace.C (asLatexCommand): use an explict temp variable.
11844
11845 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * Makefile.am: use FRONTEND_*
11848
11849 2002-03-01  Juergen Vigna  <jug@sad.it>
11850
11851         * tabular.C (SetWidthOfMulticolCell): changed to something better
11852         I hope but still work in progress.
11853         (recalculateMulticolumnsOfColumn): renamed function from
11854         recalculateMulticolCells as it is more appropriate now.
11855         (SetWidthOfCell): calculate multicols better.
11856
11857 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11860
11861         * lyxfunc.C (processKeySym): print sequence also if it is
11862         `deleted' (complete)
11863
11864         * kbsequence.C (print): print sequence even if it is deleted
11865         (complete would be a better word, actually).
11866
11867         * lyxfunc.C (dispatch): print complete options after a prefix key
11868
11869         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11870
11871 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11872
11873         * text2.C (setCharFont): eliminate setCharFont code duplication.
11874
11875 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11876
11877         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11878         LFUN_TABULAR_FEATURE (bug #177)
11879
11880 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11881
11882         * Makefile.am: remove figure.h
11883
11884 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11885
11886         * Bufferview_pimpl.C:
11887         * CutAndPasteC:
11888         * LaTeX.C:
11889         * LyXSendto.C:
11890         * buffer.C:
11891         * bufferlist.C:
11892         * converter.C:
11893         * language.C:
11894         * lyxfunc.C:
11895         * lyxvc.C:
11896         * paragraph.C:
11897         * text.C:
11898         * text2.C: remove #include "lyx_gui_misc.h".
11899
11900         * LaTeX.C: added #include <cstdio>
11901
11902 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11903
11904         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11905         that the paragraph following this one can have.
11906
11907         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11908
11909         * vspace.C (asLatexCommand): fix bogus gcc warning
11910
11911         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11912
11913 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11914
11915         * text2.C (setLayout): get rid of redundant code
11916
11917 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11918
11919         * text2.C (incDepth): make sure depth cannot be increased beyond
11920         reasonable values.
11921
11922 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11923
11924         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11925         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11926
11927         * PainterBase.h (image):
11928         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11929         a LyXImage const *.
11930
11931 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * BufferView.C:
11934         * BufferView.h:
11935         * BufferView_pimpl.C:
11936         * BufferView_pimpl.h:
11937         * LaTeXFeatures.C:
11938         * LyXAction.C:
11939         * LyXView.C:
11940         * Makefile.am:
11941         * UpdateList.h:
11942         * UpdateList.C:
11943         * buffer.C:
11944         * figure.h:
11945         * figureForm.C:
11946         * figureForm.h:
11947         * figure_form.C:
11948         * figure_form.h:
11949         * lyx_cb.C:
11950         * lyx_gui.C:
11951         * lyx_gui_misc.C:
11952         * lyxfunc.C:
11953         * sp_base.h:
11954         * sp_ispell.h:
11955         * sp_pspell.h:
11956         * sp_spell.C: remove fig inset, and the crap house of
11957           cards that follows it
11958
11959 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11960
11961         * Makefile.am:
11962         * lyxserver.C:
11963         * os2_defines.h:
11964         * os2_errortable.h:
11965         * nt_defines.h: move .h into support/
11966
11967         * vms_defines.h: remove
11968
11969         * WorkArea.C: add space in debug output
11970
11971         * text2.C:
11972         * paragraph.C:
11973         * buffer.C: add WITH_WARNINGS
11974
11975         * vc-backend.h:
11976         * vc-backend.C:
11977         * bufferlist.C: s/retrive/retrieve/, add docs
11978
11979         * vspace.h:
11980         * vspace.C:
11981         * kbmap.h:
11982         * lyxlength.h:
11983         * lyxgluelength.h:
11984         * length_common.h:
11985         * chset.h:
11986         * chset.C: add docs
11987
11988         * lyxgui.C: add ID to X error handler
11989
11990         * lyxtestclass.c: fix typo
11991
11992 2002-02-26  Juergen Vigna  <jug@sad.it>
11993
11994         * tabular_funcs.C (write_attribute): changed so that some default
11995         attributes are not written at all.
11996         (getTokenValue): set default values before trying to read the
11997         value so we have the return value always set as default if we don't
11998         find the token we search for.
11999
12000         * tabular.C (Write): write bools as bools not as strings!
12001
12002 2002-02-22  Juergen Vigna  <jug@sad.it>
12003
12004         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12005         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12006
12007         * text.C (leftMargin): don't add an indent for paragraphs inside
12008         tabular cells (fix #208).
12009
12010 2002-02-21  José Matos  <jamatos@fep.up.pt>
12011
12012         * tabular.C (docBook): fixed support for long tables.
12013
12014 2002-02-20  Juergen Vigna  <jug@sad.it>
12015
12016         * text2.C (getFont): get the drawing font of the Inset if this
12017         paragraph is inside an inset (only important for InsetERT for now).
12018
12019         * buffer.C (insertErtContents): use new lanugage params in ERT
12020         constructor.
12021
12022         * CutAndPaste.C: commenting out seemingly uneeded code.
12023
12024 2002-02-19  Allan Rae  <rae@lyx.org>
12025
12026         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12027         Iterators might be simple to use but they also get invalidated.
12028         (removeAutoInsets): renamed saved cursor tracking variables and added
12029         some comments to clarify what everything does.
12030
12031 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12032
12033         * Chktex.C:
12034         * LaTeX.C:
12035         * LyXSendto.C:
12036         * converter.C:
12037         * lyx_cb.C:
12038         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12039         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12040
12041         * lyxfunc.C:
12042         * vc-backend.h: remove #include "support/syscall.h"
12043
12044         * LaTeX.C:
12045         * LyXSendto.C:
12046         * converter.C: rearrange #includes in Lars' approved fashion.
12047
12048         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12049         forward declare class Timeout in the header file.
12050
12051         * XFormsView.C: changes due to the above.
12052
12053         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12054         similar to LyXView.
12055
12056         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12057         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12058
12059 2002-02-18  José Matos  <jamatos@fep.up.pt>
12060
12061         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12062         insets contents.
12063
12064 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12065
12066         * a lot of small ws changes
12067         * add a lot of using std::XXX
12068         * use std construcs some places where approp.
12069         * use some exisint stuff from lyxfunctional where approp.
12070         * Make file changes to use partial linking (lets test this now...)
12071
12072 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12073
12074         * Chktex.C:
12075         * buffer.C:
12076         remove #include "support/syscontr.h" as it's redundant. Always has been.
12077
12078         * Chktex.C:
12079         * LaTeX.C:
12080         * LyXSendto.C:
12081         * converter.C:
12082         * lyx_cb.C:
12083         * vc-backend.C:
12084         change Systemcalls::System to Systemcalls::Wait and
12085         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12086         No change of functionality, just reflects the stripped down Systemcalls
12087         class.
12088
12089 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12090
12091         * debug.[Ch]: add a GRAPHICS type to the enum.
12092
12093 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12094
12095         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12096
12097         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12098         there is an inset.
12099
12100 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12101
12102         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12103         match the changes below.
12104
12105         * text2.C (toggleInset): if there is not editable inset at cursor
12106         position, try to see if cursor is _inside_ a collapsable inset
12107         and close it.
12108
12109 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12110
12111         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12112         document menu has a nice checkbox
12113
12114 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * lyxlength.C (asLatexString): change PW to output as percent of
12117         \textwidth.
12118
12119         * lengthcommon.C: change '%' to 't%'
12120
12121         * lyxfunc.C (dispatch): a few comments from Martin
12122
12123 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * WorkArea.h:
12126         * WorkArea.C:
12127         * BufferView_pimpl.h:
12128         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12129           the X selection.
12130
12131 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12132
12133         * vspace.C (inPixels): fix compiler warning
12134
12135 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12136
12137         * lyxfunc.C (getStatus): fix status message for disabled commands.
12138
12139 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * BufferView_pimpl.C: fix crash on close buffer
12142         during selection (#227)
12143
12144 2002-01-27  Herbert Voss  <voss@lyx.org>
12145
12146         * buffer.C: link old Figure to new graphic inset
12147
12148 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * FontLoader.C (getFontinfo): Change the latex font names in order
12151         to match the names of type1inst.
12152
12153 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12154
12155         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12156
12157         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12158         (extchanged): ditto
12159         (ext_exist): ditto
12160         (remove_files_with_extension): ditto
12161         (remove_file): ditto
12162         (write): ditto
12163
12164         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12165         document is smaller than the work area height. Do not initialize
12166         static variables to 0.
12167
12168 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12169
12170         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12171
12172         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12173         LFUN_LAYOUT_PARAGRAPHS.
12174
12175         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12176         tabular. It is possible to provide a possible cell, which will
12177         typically be the actcell from the corresponding insettabular
12178
12179         * lyxfunc.C (getStatus): small cleanup; disable
12180         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12181         true
12182
12183 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12184
12185         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12186
12187         * paragraph.C (startTeXParParams):
12188         (endTeXParParams): new methods. The LaTeX code to
12189         start/end paragraph formatting
12190         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12191         empty (fixes bug #200)
12192
12193         * vspace.C (inPixels): adapt to the change below
12194         (inPixels): [later] more cleanups (remove unused variables)
12195
12196         * lyxlength.C (inPixels): change to use a width and a height as
12197         parameter.
12198
12199 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12200
12201         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12202         Replaced with \paperwidth
12203
12204         * DepTable.C (insert): add std:: qualifier
12205
12206 2002-01-18  Allan Rae  <rae@lyx.org>
12207
12208         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12209         updated also?
12210
12211         * text.C (drawInset): Turned out I didn't know enough about how
12212         rebreaking worked.  This fixes most of the redraw problems.  I see
12213         an occasional cursor trail when a line is broken now and the cursor
12214         placement can seem out by a few pixels also after a rebreak.
12215
12216 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12217
12218         * buffer.C (parseSingleLyXformat2Token): update because minipage
12219         width is now a LyXLength
12220
12221         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12222
12223         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12224         math insets
12225
12226 2002-01-17  Juergen Vigna  <jug@sad.it>
12227
12228         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12229
12230         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12231         is set correctly and the inset is updated correctly.
12232
12233 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12234
12235         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12236         the beginning of the loop.
12237
12238 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * lyxrc.C: improve help for use_scalable_fonts
12241
12242 2002-01-17  Allan Rae  <rae@lyx.org>
12243
12244         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12245
12246 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12247
12248         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12249         make sure to set their inset_owner to the right value (bug #171)
12250
12251 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12252
12253         * DepTable.h
12254         * DepTable.C: Implement mtime checking to reduce time spent doing
12255         CRCs.
12256
12257 2002-01-16  Juergen Vigna  <jug@sad.it>
12258
12259         * tabular.C (GetAdditionalHeight): one of error fixed.
12260
12261         * lyxrc.C (output): small fix in writing use_pspell.
12262
12263 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * sp_base.h: #include LString.h
12266
12267 2002-01-16  Allan Rae  <rae@lyx.org>
12268
12269         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12270         Can someone check this please?
12271
12272         * text.C (drawInset): It was possible that p.row would be removed by
12273         breakAgainOneRow upsetting a few other settings.  There may be another
12274         small tweak possible by setting need_break_row = 0 when p.row has been
12275         removed but I don't know enough about the logic here.
12276
12277 2002-01-15  Allan Rae  <rae@lyx.org>
12278
12279         * text.C (insertChar): removed conditional truism.
12280
12281         * BufferView2.C (removeAutoInsets): More tweaks.
12282         cur_par_prev could be a stray pointer.  Check for trailing empty line
12283         in case last line was cur_par and only had an error inset on it.
12284
12285 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12286
12287         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12288         absolute
12289
12290         * vc-backend.C (most methods):
12291         * exporter.C (Export):
12292         * converter.C (convert):
12293         (runLaTeX):
12294         * LyXSendto.C (SendtoApplyCB):
12295         * lyxfunc.C (dispatch):
12296         (menuNew):
12297         (open):
12298         (doImport):
12299         * lyx_cb.C (AutoSave):
12300         (InsertAsciiFile):
12301         * BufferView_pimpl.C (MenuInsertLyXFile):
12302         * buffer.C (runChktex): use Buffer::filePath().
12303
12304         * buffer.h: rename filename to filename_; rename filepath to
12305         filepath_ and make it private
12306         (filePath): new method
12307
12308         * buffer.C (writeFile): use fileName()
12309         (getLatexName):
12310
12311         * lyx_main.C (init): fix starting  of LyX when the binary is a
12312         link from so,ewhere else.
12313
12314         * minibuffer.C: include <cctype> for isprint
12315
12316 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12317
12318         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12319         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12320         name clash with InsetCollapsable's width function.
12321
12322 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12323
12324         * lastfiles.C: include <iterator>
12325
12326 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12327
12328         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12329         std::count.
12330
12331         * buffer.C (makeLaTeXFile): ditto.
12332         Also make loop operation more transparent.
12333
12334 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12335
12336         * ToolbarDefaults.C: remove trailing comma closing namespace.
12337
12338         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12339
12340         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12341         as in WorkArea.
12342
12343         * trans.C (Load): comment out unused variable, allowed.
12344
12345 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12346
12347         * minibuffer.[Ch] (append_char): new method to recieve input from the
12348         drop-down completion browser. If a key was pressed, then recieve this
12349         char and append it to the existing string.
12350         (peek_event): modify the positioning data passed to the completion
12351         browser so that it can be placed above the minibuffer rather than below.
12352 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12353
12354         * LyXAction.C (init): alloe error-next for readonly documents.
12355
12356         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12357         count.
12358
12359 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12360
12361         * bufferlist.C (readFile): create the buffer _after_ checking that
12362         the file exists.
12363
12364         * lyxfunc.C (verboseDispatch): fix handling of arguments
12365
12366         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12367
12368         * lyxrc.C: use string::erase() instead of initializing to "".
12369
12370
12371 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12372
12373         * BufferView_pimpl.h:
12374         * BufferView_pimpl.C:
12375         * WorkArea.h:
12376         * WorkArea.C:
12377         * text2.C: tell X when we have made a selection for copying
12378
12379 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12380
12381         * BufferView_pimpl.C (MenuInsertLyXFile):
12382         * lyxfunc.C (menuNew):
12383         (open):
12384         (doImport): add shortcuts to directory buttons
12385
12386         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12387         open a float)
12388
12389         * lyxfunc.C (setStatusMessage):
12390         (getStatusMessage): new methods
12391         (getStatus):use setStatusMessage instead of setErrorMessage
12392         (dispatch): when function is disabled, set error message here
12393         [instead of in getStatus previously]
12394
12395         * BufferView_pimpl.C (workAreaButtonRelease): update
12396         toolbar/menubar here too.
12397
12398 2002-01-13  Allan Rae  <rae@lyx.org>
12399
12400         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12401         Now seems indestructible.  Remaining task is to audit all other
12402         code affected by deleteEmptyParagraphMechanism.  One small quirk
12403         left is that an empty document with an error in the preamble can
12404         be made to report an error but no error box appears.  I don't know
12405         where it goes.
12406         (removeAutoInsets): Improved comments.
12407
12408 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * Thesaurus.h:
12411         * Thesaurus.C: update for Aiksaurus 0.14
12412
12413 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12414
12415         * text2.C (firstParagraph): removed member function, all uses
12416         replaces with ownerParagraph
12417         (redoParagraphs): here
12418         (updateInset): here
12419         (toggleAppendix): here
12420         * BufferView2.C (insertErrors): here
12421         (setCursorFromRow): here
12422
12423 2002-01-13  Allan Rae  <rae@lyx.org>
12424
12425         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12426         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12427         There is still a way to segfault this although you may have to do this
12428         multiple times: Have an InsetERT with an unknown command in it.
12429         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12430         <down-arrow>, <Enter> again, View->DVI, BANG!
12431
12432         * text2.C (setCursor):
12433         (deleteEmptyParagraphMechanism):
12434         * lyxtext.h (setCursor):
12435         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12436         Making use of the return value may help fix other bugs.
12437
12438 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12439
12440         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12441
12442         * LyXView.C (updateMenubar): call MenuBar::update here
12443         (updateToolbar): but not here
12444         (showState): do not update toolbar/menubar
12445
12446         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12447         should need to care about that.
12448
12449         * lyxfunc.C (verboseDispatch): simplify a bit
12450         (getStatus): have a version which takes a pseudoaction, and
12451         another which requires a (kb_action,string).
12452
12453         * LyXAction.C (retrieveActionArg): make it work also when action
12454         is not a pseudo-action.
12455         (getActionName): simplify a bit
12456         (helpText):
12457
12458 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12459
12460         * lyxfunc.C (verboseDispatch): new families of methods with
12461         several ways to specify a command and a bool to indicate whether
12462         the command name and shortcut should be displayed in minibuffer
12463         (eventually, we could extend that to a finer bitmask like
12464         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12465         (dispatch): the pristine dispatch command which just, well,
12466         dispatchs! Note it still sets its result to minibuffer; I'm not
12467         sure we want that.
12468
12469         * lyxfunc.h: remove setHintMessage
12470
12471         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12472
12473 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12474
12475         * BufferView_pimpl.C (specialChar): delete new inset if we have
12476         not been able to insert it.
12477
12478         * kbmap.C: revert to using int instead of kb_action, since all we
12479         are dealing with is pseudo-actions.
12480
12481         * LyXAction.C (searchActionArg): change to return int instead of
12482         kb_action, since the result is a pseudoaction.
12483
12484 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12485
12486         * buffer.C (insertErtContents): Fix (partially) the font bug.
12487
12488 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12489
12490         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12491         as the other one is broken on my machine!
12492
12493 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12494
12495         * commandtags.h:
12496         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12497
12498 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12499
12500         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12501         reflect their actual use. Provide compatibility code for older lyxrc
12502         files.
12503
12504         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12505         FL_NORMAL_STYLE.
12506         change names of popup font variables in line with the changes to lyxrc.C
12507
12508 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12509
12510         * buffer.C (asciiParagraph): avoid outputing a word twice after
12511         an inset.
12512
12513         * lyxrc.C (getDescription): document that document_path and
12514         template_path can be empty.
12515
12516 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12517
12518         * LaTeXFeatures.C (getMacros):
12519         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12520
12521         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12522
12523         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12524         getPackages.
12525         (getPackages): rename feature "floats" to "float". Use an array to
12526         iterate over 'simple' features (i.e. just a \usepackage). Add
12527         handling of "amsmath" (renamed from "amsstyle").
12528
12529 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12530
12531         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12532         features list.
12533
12534 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12535
12536         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12537         FuncStaus::FuncStatus & FuncStaus::some_method().
12538
12539 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12540
12541         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12542         of the func_satus stuff. Edited and massaged in various ways by
12543         JMarc.
12544
12545         * lyxfunc.C (getStatus): use FuncStatus
12546
12547 2002-01-08  Juergen Vigna  <jug@sad.it>
12548
12549         * text.C (nextBreakPoint): use function Inset::isChar().
12550
12551         * paragraph.C (TeXOnePar): use function
12552         Inset::forceDefaultParagraphs.
12553
12554         * buffer.C (latexParagraphs): use function
12555         Inset::forceDefaultParagraphs.
12556
12557 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12558
12559         * lyx_gui.C (init): set the style of the menu popups to
12560         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12561
12562 2002-01-07  Juergen Vigna  <jug@sad.it>
12563
12564         * text.C (setHeightOfRow): small fix
12565         (prepareToPrint): don't look at alignment if we don't have the place
12566         for doing it.
12567
12568 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12569
12570         * box.C: New file. Move the Box methods and functions out of box.h,
12571         following Lars' suggestion.
12572
12573 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12574
12575         * box.h: #include "support/LOstream.h", needed for inlined function.
12576
12577         * lyxtextclass.C:
12578         * lyxtextclasslist.C: added some using std declarations.
12579
12580 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * box.h: make signed dimensions to allow insets wider than
12583           the screen (bug #162)
12584
12585         * BufferView_pimpl.C: add some insetHit debug
12586
12587 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12588
12589         * vc-backend.C: add FIXME
12590
12591 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12592
12593         * lyxfunc.C (getStatus): enable code for showing math font status
12594         in toolbar/menu.
12595
12596 2002-01-07  Juergen Vigna  <jug@sad.it>
12597
12598         * text.C (nextBreakPoint): removed debug output not needed anymore.
12599
12600 2002-01-06  Juergen Vigna  <jug@sad.it>
12601
12602         * text.C (nextBreakPoint): fixed up this function we had this bug
12603         since ever but now hopefully we break row better.
12604         (insertChar): we have to check if an inset is the next char as it
12605         could now happen that a large inset is causing a break.
12606
12607 2002-01-05  Juergen Vigna  <jug@sad.it>
12608
12609         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12610         if it doesn't like to be drawed.
12611
12612 2002-01-04  Juergen Vigna  <jug@sad.it>
12613
12614         * BufferView2.C (lockInset): forgot to set a cursor.
12615
12616         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12617
12618 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12619
12620         * FormMathsPanel.C:
12621         * FormMathsPanel.h
12622         * MathsSymbols.C:
12623         * form_maths_panel.C:
12624         * form_maths_panel.h:
12625         * form_maths_panel.fd: implemented sub- and super- buttons in math
12626         panel.
12627
12628         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12629         (or ^ space) to be used as in TeX (req'd by André).
12630
12631         * lyxfunc.C: Allow ^ and _ again to be used both as
12632         super/subscript (mathed) and as themselves (in text).
12633
12634 2002-01-03  Allan Rae  <rae@lyx.org>
12635
12636         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12637         "LyX" or the filename of the current buffer if it has one.  This is a
12638         modified form of John Levon's patch.
12639
12640         * XFormsView.C (setWindowTitle): also set icon title.
12641
12642         * LyXView.h (setWindowTitle): signature changed.
12643         * XFormsView.h (setWindowTitle): ditto.
12644
12645 2002-01-02  Juergen Vigna  <jug@sad.it>
12646
12647         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12648
12649 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * screen.C (topCursorVisible): introduce a temp var for
12652         text->cursor.row(), handle the case where this row is null. (kindo
12653         hachish)
12654
12655         * text2.C (setCursor): add a couple of asserts.
12656
12657         * paragraph.h (inset_iterator): add -> operator
12658
12659         * paragraph.[Ch] (autoDeleteInsets): remove member function
12660
12661         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12662         cursor pos correctly and handle inset deletion by itself.
12663         (insertErrors): move iterator declaration out of for expression
12664
12665         * lyxtextclass.C: add <algorithm>
12666
12667         * Makefile.am: added the new files to sources, removed layout.C
12668
12669         * layout.C: removed file
12670
12671         * layout.h: remove LYX_DUMMY_LAYOUT
12672
12673         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12674         layout.
12675
12676         * lyxlayout.[Ch]:
12677         * lyxtextclass.[Ch]:
12678         * lyxtextclasslist.[Ch]: new files
12679
12680         * include order changes to a lot of files, also changes because of
12681         the six new files.
12682
12683 2001-12-27  Juergen Vigna  <jug@sad.it>
12684
12685         * buffer.C (asciiParagraph): more fixes.
12686
12687         * tabular.C (ascii): make ascii export support export of only the
12688         data separated by a column-delimiter.
12689         (ascii): better support for ascii export.
12690
12691         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12692
12693 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12694
12695         * tabular_funcs.C: use a "using std::getline" instead of the
12696         previous fix from Angus (necessary for cxx + lyxstring)
12697
12698 2001-12-24  Juergen Vigna  <jug@sad.it>
12699
12700         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12701
12702         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12703         problems. First check a minipage also if we have some ert-contents
12704         (not only on par->size(), second set the right depth of the paragraph
12705         on the relink to the root-paragraph-list!
12706
12707         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12708         which then did not anymore update the main paragraphs on undo/redo!
12709
12710 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12711
12712         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12713         code. Support all font-changing funcs (even those which are not in
12714         menu currently). Support for reporting font settings in
12715         mathed (disabled until Andre provides a function on mathed's side).
12716
12717         * func_status.h (toggle): small helper function to set toggle
12718         state on a flag.
12719
12720 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12721
12722         * tabular_funcs.C: getline -> std::getline
12723
12724 2001-12-21  Juergen Vigna  <jug@sad.it>
12725
12726         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12727         accessed and could be 0 (I couldn't generate this but it seems
12728         Michael could!).
12729
12730 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12731
12732         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12733         * tabular_funcs.h: here and include iosfwd
12734
12735 2001-12-20  Juergen Vigna  <jug@sad.it>
12736
12737         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12738         inside inset but undo_par was.
12739
12740 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12741
12742         * Thesaurus.C: always include <config.h> in sources.
12743
12744         * Painter.h:
12745         * lyxlookup.h:
12746         * box.h: do not include <config.h> in header files
12747
12748         * text.C (paintLastRow): remove unused variable
12749
12750         * text.C (transformChar):
12751         (insertChar):
12752         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12753
12754         * Painter.C (text):
12755         * font.C (width): rewrite to use uppercase() instead of
12756         islower/toupper.
12757
12758         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12759
12760 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * lyxfind.C: clean up of find failure position change
12763
12764 2001-12-20  Juergen Vigna  <jug@sad.it>
12765
12766         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12767
12768         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12769         (TeXRow): added to LaTeX a single tabular row.
12770         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12771         (Latex): simplified and finally good LT-h/f support.
12772         (various_functions): just small adaptions for LT-h/f support.
12773
12774         * tabular_funcs.[hC]: added and moved here all not classfunctions
12775         of LyXTabular.
12776
12777 2001-12-19  Juergen Vigna  <jug@sad.it>
12778
12779         * tabular.[Ch]: better support for longtabular options (not finished
12780         yet!)
12781
12782 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12783
12784         * text.C (paintLastRow): use the label font instead of the font of
12785         the last character to compute the size of *_BOX. This makes more
12786         sense and avoids a crash with empty paragraphs.
12787         Use Painter::rectangle to draw EMPTY_BOX.
12788
12789 2001-12-19  Juergen Vigna  <jug@sad.it>
12790
12791         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12792         the paragraphs if the replaced paragraph is not the first one!
12793         Tried to delete not used paragraphs but does not work yet so for
12794         now it's inside #ifdef's and by default off!
12795
12796 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12797
12798         * MenuBackend.C: include "lyx_main.h" instead of declaring
12799         lastfiles (actually was declared as LastFiles* instead of a
12800         scoped_ptr).
12801
12802 2001-12-17  Juergen Vigna  <jug@sad.it>
12803
12804         * tabular.C (AppendColumn): applied John's fix
12805
12806 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12807
12808         * BufferView.h:
12809         * BufferView.C:
12810         * BufferView_pimpl.h:
12811         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12812
12813         * Makefile.am:
12814         * box.h: new start of class for above
12815
12816         * lyxfunc.C: ignore space-only minibuffer dispatches.
12817           Show the command name when it doesn't exist
12818
12819         * minibuffer.C: don't add empty lines to the history
12820
12821         * minibuffer.C: add a space on dropdown completion
12822
12823 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12824
12825         * text.C: fix line above/below drawing in insets
12826
12827 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12828
12829         * lyxlength.C (LyXLength): Initialize private variables.
12830
12831 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12832
12833         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12834         when inserting error insets.
12835
12836 2001-12-13  Juergen Vigna  <jug@sad.it>
12837
12838         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12839         actually sometimes the before-paragraph.
12840         (setUndo): don't clear the redostack if we're not actually undoing!
12841
12842 2001-12-06  Juergen Vigna  <jug@sad.it>
12843
12844         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12845         and fixed redoing of main paragraph, so we can use it now ;)
12846
12847         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12848
12849 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12850
12851         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12852         Juergen's request
12853
12854 2001-12-13  André Pönitz <poenitz@gmx.net>
12855
12856         * undostack.[Ch]:
12857         * undo_func.C: minor cleanup
12858
12859 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12860
12861         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12862         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12863         font in urw-fonts package which is marked as -urw-fontspecific and
12864         does not work (incidentally, changing the encoding in the
12865         fonts.dir of this package to -adobe-fontspecific fixes the
12866         problem).
12867
12868         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12869         is a crash when undoing first paragraph (Juergen, please take a
12870         look). THis does not mean the undo fix is wrong, just that it
12871         uncovers problems.
12872
12873         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12874         the (Paragraph*) version when needed instead of duplicating the
12875         code.
12876
12877         * text.C (workWidth): use Inset::parOwner to find out where the
12878         inset has been inserted. This is a huge performance gain for large
12879         documents with lots of insets. If Inset::parOwner is not set, fall
12880         back on the brute force method
12881
12882         * paragraph_pimpl.C (insertInset):
12883         * paragraph.C (Paragraph):
12884         (cutIntoMinibuffer): set parOwner of insets when
12885         inserting/removing them
12886
12887         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12888
12889 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12890
12891         * commandtags.h:
12892         * LyXAction.C:
12893         * lyx_main.C:
12894         * lyxfunc.C:
12895         * mathed/formulabase.C:
12896         * mathed/math_cursor.[Ch]:
12897         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12898
12899
12900 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12901
12902         * lyxlength.[Ch] (operator!=): new function
12903
12904 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12905
12906         * text.C (workWidth): use Inset::parOwner to find out where the
12907         inset has been inserted. This is a huge performance gain for large
12908         documents with lots of insets. If Inset::parOwner is not set, fall
12909         back on the brute force method
12910
12911         * paragraph_pimpl.C (insertInset):
12912         * paragraph.C (Paragraph):
12913         (cutIntoMinibuffer): set parOwner of insets when
12914         inserting/removing them
12915
12916         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12917
12918 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12919
12920         * tabular-old.C (getTokenValue):
12921         * tabular.C (getTokenValue):
12922         (write_attribute): new versions for LyXLength
12923         (everywhere): adjust the use of widths
12924
12925         * tabular.h: change the type of widths from string to LyXLength
12926
12927 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12928
12929         * paragraph.C: fixed missing line number count when exporting
12930         Environments to LaTeX file
12931
12932         * buffer.C: added informational message for checking line numbers.
12933
12934 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12935
12936         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12937         paragraph, do the 'double space' part, but not the 'empty
12938         paragraph' one.
12939
12940         * text.C (workWidth): small optimization
12941         (getLengthMarkerHeight): use minimal size for negative lengths.
12942
12943 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12944
12945         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12946
12947         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12948
12949 2001-12-11  André Pönitz <poenitz@gmx.net>
12950
12951         * FontLoader.C:
12952         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12953
12954 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12955
12956         * text2.C: keep selection on a setFont()
12957
12958 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12959
12960         * lyx_cb.C: another bv->text misuse, from insert label
12961
12962 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * kbsequence.h:
12965         * kbsequence.C: re-instate nmodifier mask
12966
12967 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12968
12969         * lyx_main.h: make lyxGUI private.
12970
12971 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12972
12973         * lyxfind.C: place the cursor correctly on failed search
12974
12975 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12976
12977         * text.C (getLengthMarkerHeight): for small heights, the arrows
12978         are not always on top/bottom of the text
12979         (drawLengthMarker): smaller arrows; take the left margin in
12980         account; draw also vfills.
12981         (paintFirstRow):
12982         (paintLastRow): remove special code for vfill and standard spaces,
12983         since everything is handled in drawLengthMarker now.
12984
12985 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * buffer.C (insertErtContents): try to handle font and language
12988         interaction a bit better.g
12989
12990         * ColorHandler.C (updateColor): change the hash to cover the whole
12991         LColor enum, ws cleanup
12992         (getGCLinepars): ditto
12993         (getGCLinepars): only lookup in the linecache once.
12994
12995 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12996
12997         * iterators.C (operator++): Make the iterator more robust
12998
12999         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13000         (John's patch)
13001         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13002
13003 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13004
13005         * lyxtext.h:
13006         * text.C: better added space drawing
13007
13008 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * LyXView.C:
13011         * BufferView2.C: fix layout combo update on inset unlock
13012
13013 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13014
13015         * Makefile.am: don't compile unused files
13016
13017 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13018
13019         * lyxfunc.C:
13020         * commandtags.h:
13021         * LyXAction.C: remove old LFUN_LAYOUTNO
13022
13023 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13024
13025         * paragraph_pimpl.h:
13026         * paragraph_pimpl.C: isTextAt() doesn't need font param
13027
13028 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * lyxlex.h:
13031         * lyxlex.C: little cleanup
13032
13033 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13034
13035         * BufferView_pimpl.C: fix insertAscii for insets
13036
13037 2001-12-05  Juergen Vigna  <jug@sad.it>
13038
13039         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13040         set the right font on the "multi" paragraph paste!
13041
13042 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13043
13044         * trans_decl.h:
13045         * trans_mgr.[Ch]:
13046         * trans.[Ch]:
13047         * lyxgluelength.C:
13048         * lyxlength.C: remove out-commented code.
13049
13050         * BufferView_pimpl:
13051         * CutAndPaste.C:
13052         * DepTable.C:
13053         * buffer.C:
13054         * chset.C:
13055         * lastfiles.C:
13056         * lyxlex.C:
13057         * lyxlex_pimpl.C:
13058         * lyxserver.C:
13059         * screen.C:
13060         * tabular-old.C:
13061         * tabular.C:
13062         * text.C:
13063         * trans_mgr.C:
13064         * vc-backend.C: change "while(" to "while ("
13065
13066         * lyxlength.[Ch]: add zero function to check if length is zero or
13067         not
13068         * lyxgluelength.C: use it
13069
13070 2001-12-05  Allan Rae  <rae@lyx.org>
13071
13072         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13073         Works for 2.95.3, from what I understand of Garst's reports this should
13074         work for other g++ versions.  We're screwed if the abs(int) definition
13075         changed between bugfix releases of gcc.
13076
13077 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13078
13079         * text.C: fix chapter label offset !
13080
13081 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13082
13083         * lyxtext.h:
13084         * text.C: fix hfill at end of line, clean up
13085
13086 2001-12-04  Juergen Vigna  <jug@sad.it>
13087
13088         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13089         that we force an update of the inset and it's owners if neccessary.
13090
13091 2001-12-03  Juergen Vigna  <jug@sad.it>
13092
13093         * text.C (rowLast): simplified code
13094
13095 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13096
13097         * lyxfunc.C: fix show options on timeout
13098
13099 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * screen.C (topCursorVisible): scroll half a page when the cursor
13102         reached top of bottom of screen
13103
13104 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13105
13106         * minibuffer.C: deactivate on loss of focus
13107
13108 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13109
13110         * vspace.[Ch] (operator!=): add operator.
13111
13112 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13113
13114         * BufferView_pimpl.C: refuse to open an inset when
13115         there's a selection.
13116
13117 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13118
13119         * BufferView_pimpl.C: allow to click on RHS of full row insets
13120
13121 2001-11-30  Juergen Vigna  <jug@sad.it>
13122
13123         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13124         insets for undo reasons.
13125
13126 2001-11-28  André Pönitz <poenitz@gmx.net>
13127
13128         * vspace.[Ch]: cosmetical changes
13129
13130 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13131
13132         * LyXAction.h:
13133         * LyXAction.C:
13134         * lyxfunc.h:
13135         * lyxfunc.C:
13136         * kbmap.h:
13137         * kbmap.C:
13138         * lyxrc.C:
13139         * kbsequence.h:
13140         * kbsequence.C: part re-write of old kb code
13141
13142         * Painter.C:
13143         * WorkArea.C: remove Lgb_bug_find_hack
13144
13145 2001-11-30  José Matos <jamatos@fep.up.pt>
13146
13147         * buffer.C (makeDocBookFile): add a comment to point a hack.
13148         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13149         Fixed a double write of labels.
13150
13151 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13152
13153         * LaTeX.C:
13154         * LaTeX.h Fixed bug in LaTeX class where it would not
13155         re-run latex if no depfiles were changed, but the .dvi was removed.
13156
13157 2001-11-28  André Pönitz <poenitz@gmx.net>
13158
13159         * all the files from the change on 2001/11/26:
13160         use lyx::layout_type instead of LyXTextClass::size_type
13161         use lyx::textclass_type instead of LyXTextClassList::size_type
13162
13163 2001-11-29  Juergen Vigna  <jug@sad.it>
13164
13165         * text.C: added support for paragraph::isFreeSpacing()
13166
13167         * buffer.C: same as above
13168
13169         * paragraph.h: inserted isFreeSpacing() function to enable
13170         FreeSpacing inside InsetERT.
13171
13172         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13173         of the paragraph's in the cut/copy buffer to 0!
13174
13175         * text2.C (removeRow): remove the assert as it can!
13176
13177         * lyxtext.h: added helper function firstRow returning firstrow and
13178         made firstrow private again.
13179
13180         * BufferView2.C (lockInset): don't relock if we're already locked!
13181
13182         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13183         the only paragraph.
13184         (removeRow): added Assert::(firstrow)
13185
13186         * debug.C: forgot to add INSETTEXT here.
13187
13188 2001-11-28  Juergen Vigna  <jug@sad.it>
13189
13190         * sp_spell.C (initialize): changed error text to more general
13191         spellchecker command use (not only ispell!)
13192
13193         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13194
13195         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13196
13197 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13198
13199         * vspace.C: initialise lyxgluelength on failure
13200
13201 2001-11-28  Allan Rae  <rae@lyx.org>
13202
13203         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13204         declaration & definition that looks like a function declaration.
13205
13206 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13207
13208         * BufferView2.C (copy):
13209         (copyEnvironment): do not clear the selection when doing a copy.
13210
13211         * text.C (paintFirstRow): compilation fix
13212
13213 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13214
13215         * tabular.C (Latex): correct line count when writing latex.
13216
13217 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13218
13219         * paragraph_pimpl.h:
13220         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13221           bug a bit
13222
13223 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * text.C:
13226         * LColor.h:
13227         * LColor.C: change vfillline->added_space
13228
13229         * text.C: add markers and text for added space
13230
13231         * vspace.C: fix comment
13232
13233 2001-11-28  André Pönitz <poenitz@gmx.net>
13234
13235         * paragraph.C: whitespace changes
13236         * all the other files from the change on 2001/11/26:
13237         change *::pos_type into lyx::pos_type
13238
13239 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13240
13241         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13242         language of the document when inserting error insets.
13243
13244 2001-11-26  André Pönitz <poenitz@gmx.net>
13245
13246         * BufferView_pimpl.[Ch]:
13247         *       CutAndPaste.C:
13248         * buffer.[Ch]:
13249         * lyxcursor.[Ch]:
13250         * lyxfind.C:
13251         * lyxfunc.C:
13252         * lyxrow.[Ch]:
13253         * paragraph.[Ch]:
13254         * paragraph_pimpl.[Ch]:
13255         * sp_spell.C:
13256         * text.C:
13257         * text2.C: reduce header dependencies, introduce type for positions
13258
13259 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13260
13261         * <various>: change to use Alert.h
13262
13263 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13264
13265         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13266         when encountering an unknown token.
13267         (readLyXformat2): Show an error message if there were unknown tokens.
13268
13269 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13270
13271         * BufferView2.C:
13272         * BufferView_pimpl.C:
13273         * buffer.C:
13274         * paragraph.h:
13275         * text.C:
13276         * text2.C: use par->isInset()
13277
13278 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13279
13280         * paragraph_pimpl.h:
13281         * paragraph_pimpl.C: cleanup
13282
13283 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13284
13285         * text2.C (removeRow):
13286         * text.C (setHeightOfRow): remove useless (and costly) call to
13287         getRow.
13288
13289 2001-11-20  Allan Rae  <rae@lyx.org>
13290
13291         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13292         Now need Inset*::checkInsertChar() to return true for appropriate
13293         cases so that the characters in the minibuffer will actually be
13294         inserted.
13295
13296 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13297
13298         * text.C: change the order of the includes.
13299         (workWidth): initialize it at once.
13300         (workWidth): make maxw unsigned
13301         (setHeightOfRow): remove unused variable (inset)
13302         (selectSelectedWord): remove unused variable (inset)
13303         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13304
13305 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13306
13307         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13308         server is not running.
13309         (openConnection):
13310         (closeConnection): add debug info when server is disabled.
13311
13312         * ColorHandler.C (getGCForeground): send debug message to GUI
13313         channel.
13314
13315         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13316
13317         * kbmap.C (bind): modify because return conventions of
13318         kb_sequence::parse have changed.
13319
13320         * kbsequence.C (parse): only ignore spaces and not any stupid
13321         control character. This avoids tests like s[i] <= ' ', which are
13322         guaranteed to fail with 8bit characters and signed chars.
13323         Change return code to string::npos when there have been no error
13324         (0 was a bad idea when error is at first character)
13325
13326 2001-11-14  José Matos  <jamatos@fep.up.pt>
13327
13328         * buffer.h:
13329         * buffer.C (simpleDocBookOnePar): removed unused argument.
13330
13331 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13332
13333         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13334         insets which are part of a word. Paragraph::isLetter takes care of
13335         that now. Use Paragraph::isInset to identify insets.
13336         (selectSelectedWord): do not test for hyphenation break.
13337
13338         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13339         that protected spaces are considered as spaces.
13340
13341         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13342         Inset::isLetter.
13343
13344 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13345
13346         * lyxserver.h:
13347         * lyxserver.C: fix it. and small cleanup.
13348
13349 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * BufferView_pimpl.C: use inline helpers
13352
13353         * LaTeXFeatures.h:
13354         * LaTeXFeatures.C: fix typos
13355
13356         * Spacing.h:
13357         * Spacing.C: move spacing_string into class
13358
13359         * ToolbarDefaults.C: move stuff into namespace anon
13360
13361         * layout.h: update enum
13362
13363         * lyxfunc.C: use better debug
13364
13365         * minibuffer.h: fix typo
13366
13367         * debug.h:
13368         * debug.C:
13369         * WorkArea.C: add and use Debug::WORKAREA
13370
13371         * lyxtext.h:
13372         * text.C:
13373         * text2.C: code re-organisation, inline helpers
13374
13375 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13376
13377         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13378         std::vector.empty().
13379
13380 2001-11-09  Allan Rae  <rae@lyx.org>
13381
13382         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13383         '\n's after tables.  Tabular and ERT inset work now makes this no
13384         longer necessary.
13385
13386 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13387
13388         * minibuffer.h:
13389         * minibuffer.C: fix crash, improve drop-down completion
13390
13391 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * lyxserver.h:
13394         * lyxserver.C: invalidate fd's when doing endPipe()
13395
13396 2001-11-08  José Matos  <jamatos@fep.up.pt>
13397
13398         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13399         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13400
13401         * paragraph.h:
13402         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13403
13404 2001-11-07  José Matos  <jamatos@fep.up.pt>
13405
13406         * buffer.h:
13407         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13408         const qualifier.
13409
13410         * buffer.C (sgmlOpenTag):
13411         * buffer.C (sgmlCloseTag): removed debug info.
13412
13413         * buffer.h (sgmlOpenTag):
13414         * buffer.h (sgmlCloseTag): made public.
13415
13416 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * buffer.C (saveParamsAsDefaults):
13419         * lyx_cb.C (MenuLayoutSave): remove
13420
13421         * LyXAction.C (init):
13422         * commandtags.h:
13423         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13424
13425 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * buffer.C (setPaperStuff): removed from here...
13428
13429         * bufferparams.C (setPaperStuff): ... and moved there.
13430
13431 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13432
13433         * minibuffer.h:
13434         * minibuffer.C:
13435         * XFormsView.C: add support for drop-down completion
13436
13437 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13438
13439         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13440         commands.
13441
13442 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13445         disabled.
13446
13447 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13448
13449         * lyx_main.C: change ref to known bugs
13450
13451 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13452
13453         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13454         to work around older babel problems.
13455
13456 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13457
13458         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13459
13460 2001-10-24  Juergen Vigna  <jug@sad.it>
13461
13462         * tabular-old.C (ReadOld): below variable changes reflected.
13463
13464         * tabular.[Ch]: added ltType struct for longtable header/footer
13465         defines and changed all instances where they are used. Added
13466         future support for double top/bottom rows.
13467
13468 2001-10-24  José Matos  <jamatos@fep.up.pt>
13469
13470         * buffer.h (docbookHandleCaption):
13471         * buffer.C (docbookHandleCaption): removed unused function.
13472         (makeDocBookFile): moved docbook supported version to v4.1.
13473
13474 2001-10-24  José Matos  <jamatos@fep.up.pt>
13475
13476         * tabular.h:
13477         * tabular.C (docbookRow): new function to export docbook code of a row.
13478         (DocBook): now honors the longtable flags.
13479
13480 2001-10-23  José Matos  <jamatos@fep.up.pt>
13481
13482         * LaTeXFeatures.h:
13483         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13484         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13485
13486         * buffer.C (makeLinuxDocFile):
13487         (makeDocBookFile): reworked the preamble, more clean, and with
13488         support for lyx defined entities. Changed the document declaration
13489         to be more XML friendly.
13490
13491         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13492         if we need to output XML that should be done with a filter.
13493
13494 2001-10-22  Juergen Vigna  <jug@sad.it>
13495
13496         * sp_pspell.h (class PSpell): add alive function needed in the
13497         controller to see if the spellchecker could be started.
13498
13499 2001-10-22  Juergen Vigna  <jug@sad.it>
13500
13501         * buffer.C (insertStringAsLines): modify the font for inserting
13502         chars in certain conditions by calling checkInsertChar(font).
13503
13504 2001-10-19  Juergen Vigna  <jug@sad.it>
13505
13506         * text.C (workWidth): use getRow instead of wrong algorithm.
13507         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13508
13509 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * lyxserver.h:
13512         * lyxserver.C:
13513         * lyx_main.h:
13514         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13515
13516 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13517
13518         * text.C (workWidth): do not search for the exact row when
13519         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13520         optimization for big documents.
13521
13522 2001-10-18  Juergen Vigna  <jug@sad.it>
13523
13524         * text.C (workWidth): new function with added Inset * parameter.
13525
13526 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13527
13528         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13529
13530         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13531         change return type of getColumnNearX.
13532
13533
13534         * text.C (changeRegionCase): use uppercase/lowercase instead of
13535         toupper/tolower.
13536         (leftMargin):
13537         (rightMargin): simplify code by factoring out the uses of
13538         textclasslist.
13539         (labelFill):
13540         (numberOfHfills):
13541         (setHeightOfRow):
13542         (appendParagraph): use Paragraph::size_type
13543
13544 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13545
13546         * vspace.C (asLatexString): add a missing break
13547
13548 2001-10-15  Herbert Voss  <voss@perce.de>
13549
13550         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13551
13552 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13553
13554         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13555         is not available.
13556
13557 2001-10-10  André Pönitz <poenitz@gmx.net>
13558
13559         * lyxfunc.C: removed greek_kb_flag.
13560
13561 2001-10-10  Herbert Voss  <voss@perce.de>
13562
13563         * lyx_main.C: delete global string help_lyxdir.
13564
13565 2001-10-09  Herbert Voss  <voss@perce.de>
13566
13567         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13568
13569         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13570
13571         * lyx_main.C: added global string help_lyxdir.
13572
13573         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13574
13575 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13576
13577         * lyxrc.C (set_font_norm_type): support iso8859-4
13578
13579 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13580
13581         * LaTeX.C (deplog): add another regex for MikTeX
13582
13583 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13584
13585         * lyxrc.C (set_font_norm_type): support iso8859-3
13586
13587 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13588
13589         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13590
13591         * LaTeXFeatures.C: remove special case of french and index
13592
13593         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13594         before \begin{document}). This solves several incompatibilities.
13595
13596 2001-10-03  Garst Reese  <reese@isn.net>
13597
13598         * lyx_cb.C: change CheckTex error msg.
13599
13600 2001-10-03  José Matos  <jamatos@fep.up.pt>
13601
13602         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13603
13604 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13605
13606         * .cvsignore: update
13607
13608         * lyx_main.C (commandLineVersionInfo): use new style version info.
13609
13610         * buffer.C (writeFile):
13611         (makeLaTeXFile):
13612         (makeLinuxDocFile):
13613         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13614
13615         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13616
13617         * version.h: update to use stuff in version.C
13618
13619         * version.C.in: new file. Contains version information determined
13620         at compile time. This is a merging of version.h and
13621         version_info.h.in.
13622
13623 2001-10-03  Juergen Vigna  <jug@sad.it>
13624
13625         * BufferView_pimpl.C (update): don't change "dirty" status in
13626         updateInset call.
13627
13628 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13629
13630         * WorkArea.C (c-tor): re-position version string slightly.
13631
13632 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13633
13634         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13635         revert to previous code.
13636
13637         WorkArea.[Ch]: (show, destroySplash): methods removed.
13638
13639         WorkArea.C: rework code so that it's an amalgam of the codes before and
13640         after the splash screen was moved to WorkArea.
13641
13642 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * lyxrc.C (read):
13645         * vspace.C (inPixels):
13646         (lyx_advance):
13647         * kbmap.C (bind):
13648         * buffer.C (insertStringAsLines):
13649         (asciiParagraph): fix types to be large enough
13650
13651         * lyxlex_pimpl.h: change member status from short to int
13652
13653         * layout.h: fix type of endlabeltype
13654
13655         * kbmap.C (bind):
13656         * kbsequence.C (parse): change return type to string::size_type
13657
13658         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13659         variable
13660
13661         * Bullet.C (bulletSize):
13662         (bulletEntry): do not use short ints as parameters
13663
13664         * BufferView2.C (insertLyXFile): change a char to an int.
13665
13666         * WorkArea.C (WorkArea): remove unneeded floats in computation
13667
13668 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13669
13670         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13671
13672         * paragraph.C (asString): Do not ignore newline/hfill chars when
13673         copying to the clipboard.
13674
13675 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13676
13677         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13678         after a multi-line inset.
13679
13680 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13681
13682         * paragraph.C (validate): Set NeedLyXFootnoteCode
13683
13684 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13685
13686         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13687         and decrease-error to decrease.
13688
13689 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13690
13691         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13692         it more readable (should be equivalent)
13693
13694 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13695
13696         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13697
13698 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13701         of a cursor (row, etc.) after a character has been deleted
13702         (deleteEmptyParagraphMechanism): call the method above on _all_
13703         cursors held by the LyXText when a double space has been
13704         detected/deleted.
13705
13706 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13707
13708         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13709         pixmap.
13710         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13711
13712         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13713         background. Use greyOut() and the new show() methods to toggle between
13714         the foreground and background. Add code to remove the splash after
13715         its initial showing.
13716
13717         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13718         (create_forms): no longer call Dialogs::showSplash.
13719
13720 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13721
13722         * .cvsignore: add version_info.h
13723
13724 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13725
13726         * version_info.h.in: new file
13727
13728         * Makefile.am: add version_info.h.in
13729
13730         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13731         version_info.h instead of VERSION_INFO
13732
13733 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13734
13735         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13736         The ERT inset now returns string().
13737
13738 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13739
13740         * lyxtext.h, text.C (selectNextWord): renamed as
13741         selectNextWordToSpellcheck.
13742
13743         * text.C (selectNextWordToSpellcheck): Modified to not select
13744         words inside an ERT inset.
13745
13746 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13747
13748         * lyx_cb.C (MenuLayoutSave): change a bit the question
13749
13750         * sp_base.h: include <sys/types.h>
13751
13752 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13753
13754         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13755
13756 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13757
13758         * several files: fix typos in user-visible strings
13759
13760 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13761
13762         * text2.C (pasteSelection): do not set the selection, since it
13763         will be cleared later. Actually, the intent was to fix the way the
13764         selection was set, but I figured rmoving the code was just as good.
13765
13766 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13767
13768         * FontLoader.C (available): Check if font is available without
13769         loading the font.
13770
13771 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13772
13773         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13774
13775 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13776
13777         * lyxrc.[Ch]: added display_graphics variable and associated code.
13778
13779 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13780
13781         * bufferparams.C (hasClassDefaults): new method. Returns true if
13782         the buffer parameters correspond to known class defaults
13783
13784 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13785
13786         * XFormsView.C (show): set minimum size to the main window.
13787
13788 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * text2.C (copySelection):
13791         (cutSelection):
13792         * lyxfind.C (LyXReplace):
13793         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13794         LyXText::selectionAsString.
13795
13796         * paragraph.C (asString): add "label" argument to the second form
13797
13798         * text2.C (selectionAsString): add "label" argument and pass it to
13799         Paragraph::asString.
13800
13801 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13802
13803         * lyx_main.C (commandLineHelp): remove version information
13804
13805 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13806
13807         * lyx_main.C: add -version commandline option
13808
13809 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13810
13811         * paragraph.h: make the optional constructor arg required instead.
13812         some modifications to other files because of this.
13813
13814         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13815
13816         * lyxserver.C (C_LyXComm_callback): make it static
13817
13818         * lyx_main.C (error_handler): make it static
13819
13820         * lyx_gui.C (LyX_XErrHandler): make it static
13821
13822         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13823
13824         * WorkArea.C: make the extern "C" methods static.
13825
13826         * Makefile.am (lyx_LDADD): simplify
13827
13828 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13829
13830         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13831         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13832
13833         * LyXAction.C (init):
13834         * lyxfunc.C (dispatch): associated code removal.
13835
13836 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13837
13838         * lyxfont.h (isSymbolFont): shut off warning
13839
13840         * text.C (setHeightOfRow):
13841         (getVisibleRow): fix crash with empty paragraphs which have a
13842         bottom line
13843
13844 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13845
13846         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13847         code.
13848
13849 2001-09-04  José Matos  <jamatos@fep.up.pt>
13850         * buffer.C
13851         * buffer.h
13852         * tabular.C (docbook): rename docBook method to docbook.
13853
13854 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13855
13856         * Makefile.am: add dependencies to main.o.
13857
13858 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13859
13860         * FontLoader.C (available): Return false if !lyxrc.use_gui
13861
13862 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13863
13864         * FontInfo.C (query):
13865         * converter.C (view):
13866         * importer.C (Import):
13867         * exporter.C (Export): Can not -> cannot.
13868
13869 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13870
13871         * BufferView_pimpl.C: allow to create index inset even if
13872           string is empty
13873
13874 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13875
13876         * buffer.C (getLists): replace boost::tie code with an explicit pair
13877         as boost::tie can break some compilers.
13878
13879         * iterators.h: Added a std:: declaration to the return type of
13880         ParIterator::size.
13881
13882 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13885           case.
13886
13887 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13888
13889         * iterators.[Ch]: New files. Provide paragraph iterators.
13890
13891         * buffer.C (changeLanguage): Use paragraph iterators.
13892         (isMultiLingual): ditto
13893
13894         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13895
13896 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13897
13898         * FontLoader.C: Support for cmr font.
13899
13900 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13901
13902         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13903         (available): New method.
13904
13905         * FontInfo.C (getFontname): Use scalable fonts even when
13906         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13907         found.
13908
13909 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13910
13911         * converter.C (Formats::view): reverted! Incorrect fix.
13912
13913 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13914
13915         * converter.C (Formats::view): only output the -paper option
13916         if the dvi viewer is xdvi, thereby fixing bug #233429.
13917
13918 2001-08-23  Herbert Voss  <voss@perce>
13919
13920         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13921
13922 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13923
13924         * Spacing.h (Spacing): Set space to Default on in the default
13925         constructor.
13926
13927 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13928
13929         * vc-backend.h (RCS::versionString): add RCS to version
13930         (CVS::versionString): add CVS to version
13931
13932         * vc-backend.C (scanMaster): do not add CVS to version.
13933         (scanMaster): do not add RCS to version
13934
13935         * lyxvc.C (versionString): new method
13936
13937         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13938
13939 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * Spacing.C (set): initialize fval
13942
13943 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13944
13945         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13946         " or \.
13947
13948 2001-08-16  Juergen Vigna  <jug@sad.it>
13949
13950         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13951
13952 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * BufferView_pimpl.C:
13955         * figureForm.C:
13956         * lyxtext.h:
13957         * text2.C: setParagraph takes linespacing now
13958
13959 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13960
13961         * LyxAction.C: add internal LFUN_CITATION_INSERT
13962
13963         * LyXView.C: actually apply fix
13964
13965         * bufferlist.C: fix open non-existent file
13966
13967         * lyxfind.C: fix indentation
13968
13969         * lyxfunc.C: remove unneeded assert, fix typo
13970
13971 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13972
13973         * MenuBackend.C: use "Floatname List"
13974
13975 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13976
13977         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13978         when converting LaTeX layout to insetERT.
13979         Generate a non-collapsed float when reading old float
13980
13981 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13984         ERT insets.
13985
13986 2001-08-13  Juergen Vigna  <jug@sad.it>
13987
13988         * text.C (fill): return 0 instead of 20 as this seems to be the more
13989         correct value.
13990
13991 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13992
13993         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13994         lyxrc.font_norm.
13995
13996 2001-08-13  Juergen Vigna  <jug@sad.it>
13997
13998         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13999         casesensitive off.
14000         (SearchBackward): comment out the unlocking of the inset_owner this
14001         should not be needed!
14002
14003 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14004
14005         * Many files: Remove inherit_language, and add latex_language
14006
14007         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14008         collapsible insets.
14009
14010 2001-08-10  Juergen Vigna  <jug@sad.it>
14011
14012         * text.C (prepareToPrint): fixed hfill-width in draw!
14013
14014         * BufferView2.C (selectLastWord): save the selection cursor as this
14015         now is cleared in the function LyXText::clearSelection!
14016
14017 2001-08-08  Juergen Vigna  <jug@sad.it>
14018
14019         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14020         BACKSPACE type functions.
14021
14022         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14023         is only cutted from the document but not put in the cut-buffer, where
14024         still the old stuff should be.
14025
14026         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14027
14028         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14029
14030         * tabular.C (SetWidthOfCell): fixed special case where the width
14031         was not updated!
14032         (LeftLine): handle '|' in align_special.
14033         (RightLine): ditto
14034         (LeftAlreadyDrawed): ditto
14035         (SetWidthOfCell): ditto
14036
14037 2001-08-07  Juergen Vigna  <jug@sad.it>
14038
14039         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14040
14041 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14042
14043         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14044         * lyxlex.[hC]: ditto
14045
14046 2001-08-06  Juergen Vigna  <jug@sad.it>
14047
14048         * text.C (getVisibleRow): fix up row clearing a bit.
14049
14050 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * minibuffer.C: make sure the X server sees the changes in the input.
14053
14054 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14055
14056         * paragraph.C (getFont): split into...
14057         (getLabelFont): this
14058         (getLayoutFont): and this
14059         * paragraph_pimpl.C (realizeFont): calling this
14060
14061         * text2.C (getFont): split into...
14062         (getLayoutFont): this
14063         (getLabelFont): and this
14064         (realizeFont): all three calling this
14065
14066         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14067         files where used.
14068
14069 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14072
14073 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14074
14075         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14076         layouts from the Quote inset insertion.
14077
14078 2001-08-03  Juergen Vigna  <jug@sad.it>
14079
14080         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14081
14082         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14083         only if status not is already CHANGED_IN_DRAW (second level).
14084
14085         * text.C (draw): don't set the need_break_row when inside an
14086         InsetText LyXText.
14087
14088 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14089
14090         * buffer.C (parseSingleLyXformat2Token): handle more latex
14091         conversion cases.
14092
14093         * bufferview_funcs.[hC]: change function names to
14094         begin with small char, adjust other files.
14095
14096 2001-08-02  André Pönitz <poenitz@gmx.net>
14097
14098         * lyxfunc.C:
14099         BufferView_pimpl.C: remove broken special code for math-greek
14100
14101 2001-08-02  Juergen Vigna  <jug@sad.it>
14102
14103         * BufferView_pimpl.C (update): redone this function so that we
14104         update the text again if there was a CHANGE_IN_DRAW.
14105
14106         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14107         (drawFromTo): added a new internal bool which is used by draw() and
14108         redraw() function.
14109         (general): some cursor drawing problems fixed.
14110
14111 2001-08-01  Juergen Vigna  <jug@sad.it>
14112
14113         * lyxfind.C (LyXFind): fixed
14114         (SearchForward): ditto
14115         (SearchBackward): ditto
14116
14117         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14118         spurius drawing of the cursor in the main area.
14119
14120         * text2.C (status): small fix which could lead to a segfault!
14121         (clearSelection): remove unneeded BufferView param.
14122
14123 2001-08-01  André Pönitz <poenitz@gmx.net>
14124
14125         * lyxfunc.C: small change due to changed mathed interface
14126
14127 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14128
14129         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14130
14131 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14132
14133         * lyxfunc.c: fail gracefully if file doesn't exist
14134
14135         * LyXSendto.C:
14136         * buffer.C:
14137         * lyxfunc.C:
14138         * BufferView_pimpl.C: IsDirWriteable() proto changed
14139
14140         * LyXView.C: fix updateWindowTitle() to store the last title
14141
14142 2001-07-31  Juergen Vigna  <jug@sad.it>
14143
14144         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14145         the font (wrong since using of Paragraph::highestFontInRange).
14146
14147         * paragraph.C (highestFontInRange): added a default_size parameter.
14148
14149         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14150         (setHeightOfRow): reformat
14151
14152 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14153
14154         * converter.[hC] + affected files: move to (inital-char)lowercase
14155         function names.
14156
14157         * ParagraphParameters.C (ParagraphParameters): remove commented code
14158
14159         * PainterBase.[Ch]: remove commented code
14160
14161         * LaTeXFeatures.h: add "bool floats" for float.sty
14162
14163         * LaTeXFeatures.C (LaTeXFeatures): init floats
14164         (require): handle float
14165         (getPackages): do it with floats
14166
14167 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14168
14169         * BufferView_pimpl.C (Dispatch): improve handling of
14170         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14171
14172         * commandtags.h: #include lyxfont.h here temporarily to avoid
14173         keybinding bug.
14174
14175         * bufferlist.h: include LString.h here.
14176
14177 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * text2.C (getStringToIndex): new method.
14180
14181 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14182
14183         * *: Reduced header file dependencies all over.
14184
14185 2001-07-30  Baruch Even  <baruch@lyx.org>
14186
14187         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14188
14189 2001-07-29  Baruch Even  <baruch@lyx.org>
14190
14191         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14192
14193 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14194
14195         * ParameterStruct.h (endif): add a default constructor to make
14196         sure that all variables is initialized.
14197
14198         * ParagraphParameters.C (ParagraphParameters): adjust
14199
14200 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14203         index; also, check that there is something to index, and that it
14204         does not span over several paragraphs.
14205         (doubleClick): use WHOLE_WORD_STRICT for double click.
14206
14207         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14208
14209         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14210         scheme.
14211
14212 2001-07-26  Baruch Even  <baruch@lyx.org>
14213
14214         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14215         an InsetFig figure, backwards compatible reading of old figure code.
14216
14217 2001-07-27  Juergen Vigna  <jug@sad.it>
14218
14219         * text2.C: font.realize function adaption.
14220
14221         * text.C (draw): add a warnings lyxerr text if needed.
14222
14223         * layout.C: font.realize function adaption.
14224
14225         * language.C: add inherit_language and implement it's handlings
14226
14227         * bufferview_funcs.C (StyleReset): remove language parameter from
14228         font creation (should be language_inherit now).
14229
14230         * bufferparams.C (writeFile): handle ignore_language.
14231
14232         * paragraph.C (getFontSettings): the language has to be resolved
14233         otherwise we have problems in LyXFont!
14234
14235         * lyxfont.C (lyxWriteChanges): added document_language parameter
14236         (update): removed unneeded language parameter
14237
14238         * paragraph.C (validate): fixed wrong output of color-package when
14239         using interface colors for certain fonts in certain environments,
14240         which should not seen as that on the final output.
14241
14242 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14243
14244         * BufferView_pimpl.C:
14245         * Thesaurus.h:
14246         * Thesaurus.C:
14247         * Makefile.am:
14248         * commandtags.h:
14249         * LyXAction.C: add thesaurus support
14250
14251         * lyxfind.h:
14252         * lyxfind.C: add "once" parameter, for thesaurus, to not
14253           move to the next match
14254
14255 2001-07-26  Juergen Vigna  <jug@sad.it>
14256
14257         * lyxfont.C (realize): honor ignore_language too!
14258         (resolved): ditto.
14259
14260         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14261
14262         * text.C (draw): one place more for ignore_language to not draw
14263         itself!
14264
14265 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14266
14267         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14268
14269 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14270
14271         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14272         the minipage conversion problem.
14273
14274 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14275
14276         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14277         insert an inset.
14278
14279 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * BufferView.h: don't forward declare WorkArea
14282
14283         * BufferView.C: don't include WorkArea.h
14284
14285 2001-07-25  André Pönitz <poenitz@gmx.net>
14286
14287         * commandtags.h:
14288         * LyXAction.C:
14289         * lyxfunc.C:  new LFUN 'math-space'
14290
14291         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14292
14293 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14294
14295         * text2.C (toggleInset): call open/close
14296
14297 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14298
14299         * lyxfunc.C (dispatch): add debug for the disabled case
14300
14301         * font.C (buttonText): make similar to rectText
14302
14303         * buffer.C (readInset): comment out parsing of insetlist and
14304         insttheorem
14305
14306         * PainterBase.C (rectText): small correction
14307
14308         * BufferView_pimpl.C: comment out insettheorem and insetlist
14309         * LyXAction.C: ditto
14310         * commandtags.h: ditto
14311
14312 2001-07-24  Juergen Vigna  <jug@sad.it>
14313
14314         * text.C (draw): honor the ignore_language.
14315
14316         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14317
14318 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14321         char inset.
14322
14323 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14324
14325         * lyxtext.h: remove unused (and unimplemented) methods
14326
14327 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14328
14329         * text.C (getVisibleRow): honor background color
14330
14331         * PainterBase.h:
14332         * Painter.h: remove default color argument for fillRectangle
14333
14334         * text.C (backgroundColor): new method
14335
14336 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14337
14338         * text.C (getVisibleRow): adjust
14339
14340         * font.[Ch] (rectText): new method, metrics
14341         (buttonText): new method, metrics
14342
14343         * PainterBase.[hC]: make rectText and buttonText always draw and take
14344         fewer paramteres.
14345
14346 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14347
14348         * ToolbarDefaults.C (read):
14349         * MenuBackend.C (read): allow escaping in all strings
14350
14351         * BufferView_pimpl.C (insertAndEditInset): new method.
14352         (Dispatch): use insertAndEditInset whenever appropriate.
14353
14354         * BufferView_pimpl.C (insertNote): removed
14355
14356         * BufferView_pimpl.C (smartQuote): new method, moved from
14357         BufferView; if an insetquote cannot be inserted, insert a '"'
14358         character instead.
14359
14360         * BufferView2.C: remove insertCorrectQuote();
14361
14362         * lyxfunc.C (getStatus): Add support for all remaingin
14363         inset-insert lfuns.
14364
14365         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14366
14367         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14368         command (necessary to pass " as parameter of self-insert.
14369
14370         * text.C (selectWordWhenUnderCursor):
14371         (selectWord): add word_location parameter
14372         (selectWordWhenUnderCursor): same + remove special code for word
14373         boundary.
14374         (selectNextWord): use kind() to guess type of insetspecialchar,
14375         not latex().
14376
14377         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14378         (insertErtContents): create ert insets as collapsed.
14379         (readInset): better compatibility code for Info inset.
14380
14381 2001-07-20  Juergen Vigna  <jug@sad.it>
14382
14383         * lyxfunc.C (dispatch): use always LyXFind now!
14384
14385         * text2.C (init): add a reinit flag so that the LyXText can be
14386         reinited instead of deleted and reallocated (used in InsetText).
14387
14388         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14389
14390         * text.C: ditto
14391
14392         * text2.C: ditto
14393
14394 2001-07-18  Juergen Vigna  <jug@sad.it>
14395
14396         * text.C (selectNextWord): handle insets inside inset by calling
14397         always the bv->text functions so that we can go up the_locking_inset!
14398
14399         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14400         in strange locations when inside an inset!
14401
14402         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14403         handling to include insets.
14404
14405         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14406
14407 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14408
14409         * LyXAction.C (init):
14410         * commandtags.h:
14411         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14412         LIGATURE_BREAK, since the name is so stupid.
14413
14414 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14415
14416         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14417         InsetInfos.
14418
14419         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14420
14421         * sp_form.[Ch]: remove.
14422
14423         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14424
14425         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14426         InsetInfo.
14427
14428         * src/buffer.C (readInset): ditto.
14429
14430 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14431
14432         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14433         menuSeparator(), endOfSentenceDot(), ldots() and
14434         hyphenationPoint(), which are therefore removed.
14435         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14436
14437         * LyXAction.C (init):
14438         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14439
14440         * paragraph.C (getWord): removed.
14441
14442         * BufferView_pimpl.C (Dispatch): use last word or selection for
14443         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14444
14445         * lyx_main.C (queryUserLyXDir): do not ask before creating
14446         user_dir, except if it has been named explicitely.
14447
14448 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14449
14450         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14451         a document of zero size.
14452
14453 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14454
14455         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14456         approriately in the c-tor and in require().
14457         (getPackages): output the appropriate LaTeX for natbib support.
14458
14459         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14460         variables "use_natbib" and "use_numerical_citations" when reading the
14461         LyX file.
14462         (readInset): read the various natbib cite commands.
14463         (validate): white-space change.
14464
14465         * bufferparams.[Ch]: new variables "bool use_natbib" and
14466         "bool use_numerical_citations".
14467         (writeFile): output them in the LyX file.
14468
14469 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14470
14471         * lyxfunc.C (getStatus): add support for all the inset insertion
14472         commands.
14473
14474         * text2.C (insertInset):
14475         * paragraph.C (insetAllowed):
14476         * BufferView_pimpl.C (insertInset): update to take in account the
14477         renaming of insertInsetAllowed
14478
14479         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14480
14481         * text2.C (getInset): new method. returns inset at cursor position.
14482
14483         * BufferView_pimpl.C (Dispatch): changes because of this.
14484
14485         * LyXAction.C (init): rename open-stuff to inset-toggle.
14486
14487         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14488
14489         * text2.C (toggleInset): renamed from openStuff; use
14490         Inset::open().
14491
14492 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14493
14494         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14495
14496         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14497
14498 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14499
14500         * buffer.C (readLyXformat2): Add filename to the error dialog
14501
14502 2001-07-18  Juergen Vigna  <jug@sad.it>
14503
14504         * tabular.C (GetCellNumber): put an assert here instead of the check!
14505
14506 2001-07-17  Juergen Vigna  <jug@sad.it>
14507
14508         * BufferView_pimpl.C (toggleSelection): adapted too.
14509
14510         * text.C (selectNextWord): adapted for use with insets.
14511         (selectSelectedWord): ditto
14512
14513 2001-07-17  Juergen Vigna  <jug@sad.it>
14514
14515         * sp_spell.C (PSpell): fix initialitation order.
14516
14517 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14518
14519         * paragraph.C: spacing
14520
14521 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14522
14523         * sp_spell.C: repair language selection for pspell
14524
14525 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14526
14527         * lyxfunc.h: change more methods to begin with lower char.
14528
14529 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14530
14531         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14532         for unknown layouts.
14533
14534 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14535
14536         * buffer.C (readLyXformat2): Generate an error dialog if there are
14537         unknown layouts.
14538
14539 2001-07-16  Juergen Vigna  <jug@sad.it>
14540
14541         * sp_spell.C: always compile ISpell part.
14542
14543         * lyxrc.C: added use_pspell entry and it's handling.
14544
14545 2001-07-13  Juergen Vigna  <jug@sad.it>
14546
14547         * sp_spell.C: removed double includes.
14548
14549 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14550
14551         Consistent use of Lsstream.h:
14552         * Lsstream.h: added using std::stringstream for consistencies sake.
14553
14554         * buffer.C: removed using std::stringstream
14555
14556         * lyxfont.C (stateText):
14557         * paragraph.C (asString):
14558         * text.C (selectNextWord, selectSelectedWord):
14559         * text2.C (setCounter):
14560         * vspace.C (asString, asLatexString):
14561         std::ostringstream -> ostringstream.
14562
14563 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14564
14565         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14566         * commandtags.h: add LFUN_HELP_ABOUTLYX
14567         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14568
14569 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14570
14571         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14572         cursorToggle()
14573         * lyx_gui_misc.C: remove spellchecker
14574         * lyxfunc.C: showSpellchecker
14575         * sp_base.h: added
14576         * sp_ispell.h: added
14577         * sp_pspell.h: added
14578         * sp_spell.C: added
14579         * sp_form.[Ch]: removed
14580         * spellchecker.[Ch]: removed
14581
14582 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14583
14584         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14585         is set.
14586         (simpleTeXSpecialChars): Simply print the input character without
14587         any special translation if pass_thru is set.
14588
14589         * layout.h: Added bool pass_thru to layout class for being able to
14590         implement pass through of a paragraph for Literate Programming.
14591
14592         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14593         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14594         * layout.C (Read): add "passthru" to list of layout tags and add
14595         code to set the pass_thru boolean when it is read.
14596
14597 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14598
14599         * trans_decl.h: remove allowed from KmodInfo
14600
14601         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14602         remove allowed code
14603         (Load): adjust
14604
14605         * paragraph_pimpl.C (erase): use boost::prior
14606
14607         * Painter.C (text): use data() instead of c_str() when length is
14608         also provided.
14609         * WorkArea.C (putClipboard): ditto
14610         * font.h (width): ditto
14611
14612         * BufferView2.C: use it-> instead of (*it). for iterators
14613         * texrow.C: ditto
14614         * paragraph_pimpl.C: ditto
14615         * paragraph.C: ditto
14616         * minibuffer.C: ditto
14617         * language.C: ditto
14618         * kbmap.C: ditto
14619         * encoding.C: ditto
14620         * counters.C: ditto
14621         * converter.C: ditto
14622         * chset.C: ditto
14623         * Variables.C: ditto
14624         * TextCache.C: ditto
14625         * MenuBackend.C: ditto
14626         * LyXAction.C: ditto
14627         * LColor.C: ditto
14628         * FloatList.C: ditto
14629         * DepTable.C: ditto
14630         * ColorHandler.C (LyXColorHandler): ditto
14631
14632 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14633
14634         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14635
14636         * text2.C (openStuff): reintroduce this method (which had been
14637         nuked in NEW_INSETS frenzy).
14638
14639         * lyxfunc.C (Dispatch): when an action has not been handled, use
14640         its name in the error message, not its number.
14641
14642         * paragraph.C (inInset): change method name to begin with lowercase.
14643
14644         * undo_funcs.C:
14645         * text2.C: updates because of this.
14646
14647 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14648
14649         * ToolbarDefaults.C (add): add spaces in error message
14650
14651 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14652
14653         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14654         (readLyXformat2): rename return_par to first_par, use lyxlex's
14655         pushToken and remove the manual push handling.
14656         (parseSingleLyXformat2Token): add another ert comp. variable:
14657         in_tabular, rename return_par to first_par. handle newlines better
14658
14659 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14660
14661         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14662
14663 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14664
14665         * text2.C (getParFromID): removed
14666
14667         * buffer.C (getParFromID): new method moved form lyxtext.
14668         * BufferView2.C (insertErrors): adjust
14669         (setCursorFromRow): adjust
14670         * BufferView_pimpl.C (restorePosition): adjust
14671         * lyxfunc.C (Dispatch): adjust
14672         * undo_funcs.C (textUndo): adjust
14673         (textRedo): adjust
14674         (textHandleUndo): adjust
14675         (textHandleUndo): adjust
14676
14677 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14678
14679         * buffer.C: up' the LYX_FORMAT
14680
14681         * lyxfont.h: turn NO_LATEX on as default
14682
14683         * buffer.C (insertErtContents): new methods of tex style compability.
14684         (parseSingleLyXformat2Token): use it several places.
14685         * tabular.C (OldFormatRead): and here
14686
14687 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14688
14689         * text2.C: remove some commented code.
14690         reindent file.
14691
14692         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14693         * trans.C: changes because of the above.
14694
14695 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14696
14697         * text2.C (setCounter): Fix counters bug with bibliography layout.
14698
14699 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14700
14701         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14702         own member functions
14703         (simpleTeXSpecialChars): ditto
14704
14705 2001-07-06  Juergen Vigna  <jug@sad.it>
14706
14707         * a lot of files: changed the access to LyXText::status and the
14708         call of undo-functions.
14709
14710         * undo.[Ch]: added a inset_id to the undo informations.
14711
14712         * undo_funcs.[Ch]: added and moved here all undo functions.
14713
14714         * lyxtext.h: give the status enum a weight, made status_ a private
14715         variable and made accessor functions for it, removed the whole bunch
14716         of undo-functions as they are now in their own file, make some
14717         functions publically available. Added function ownerParagraph with
14718         int parameter.
14719
14720         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14721         made InInset() a const function, added getParFromID() function.
14722
14723         * buffer.[Ch]: added const version for inset_iterator functions,
14724         added getInsetFromID() function.
14725
14726         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14727         changed undo functions for new version.
14728
14729 2001-07-05  Juergen Vigna  <jug@sad.it>
14730
14731         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14732         unknow mechanism does not call the proper constructor but only this
14733         one also if I request the other!?
14734
14735 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14736
14737         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14738
14739         * text2.C (LyXText): use initialization lists.
14740
14741         * lyxtext.h (Selection): initialize set_ and mark_
14742         (init): remove method
14743
14744 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14745
14746         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14747
14748 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14749
14750         * screen.[Ch]: change method names to begin with lowercase
14751
14752         * BufferView_pimpl.C (updateScrollbar): simplify further and
14753         hopefully make it a bit faster.
14754
14755 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14758         calling directly xforms functions.
14759
14760         * Painter.C (Painter):
14761         * lyx_cb.C (MenuWrite):
14762         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14763         fl_display.
14764
14765         * lyx_gui.C: remove bogus guiruntime extern declaration.
14766
14767 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14770         in NEW_INSETS
14771         (redoDrawingOfParagraph): ditto
14772         (redoParagraphs): ditto
14773         (cutSelection): don't create a object for CutAndPaste use the
14774         static method directly
14775         (pasteSelection): ditto
14776
14777         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14778         LyXview (+ rename)
14779
14780 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14781
14782         * modifications to some other files because of this.
14783
14784         * Makefile.am (lyx_SOURCES): add XFormsView
14785
14786         * XFormsView.[Ch]: new files
14787
14788         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14789         the main window. Move the gui dependent stuff to XFormsView
14790
14791 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14792
14793         * tabular.C (GetCellInset): update cur_cell also in the row/col
14794         version of this function.
14795
14796         * lyxfunc.C: no need to include figure_form.h here.
14797
14798         * FontLoader.h:
14799         * lyxfunc.h:
14800         * lyxscreen.h:
14801         * text2.C:
14802         * lyxvc.C: no need to include forms.h here.
14803
14804 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14805
14806         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14807
14808         * lyxfunc.C (Dispatch):
14809         * Spacing.C (set):
14810         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14811         constructor argument.
14812
14813 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14814
14815         * paragraph.C (Paragraph): dont't clear, and just set layout.
14816         (makeSameLayout): use params's copy contructor.
14817
14818         * ParagraphParameters.[Ch] (makeSame): delete method
14819
14820 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14821
14822         * Variables.[Ch]: fix indentation, rename set to isSet
14823
14824 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14825
14826         * lyxfunc.C (Dispatch): fix typo
14827
14828 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14829
14830         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14831         upper_bound.
14832
14833         * bufferlist.C: include assert.h for emergencyWrite().
14834
14835 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14836
14837         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14838           give up at last (bug #425202) !
14839
14840 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * lyx_gui_misc.C:
14843         * sp_form.h:
14844         * sp_form.C:
14845         * spellchecker.h:
14846         * spellchecker.C: strip spellchecker options and bring up
14847           preferences tab instead
14848
14849 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14850
14851         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14852         the istringstream constructor
14853
14854 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14855
14856         * paragraph.C (getLayout): fix return value
14857
14858         * paragraph.h: do not declare getLayout as inline.
14859
14860         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14861
14862 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14863
14864         * lyxcursor.h (operator<): new func
14865         (operator>): new func
14866         (operator>=): new func
14867         (operator<=): new func
14868
14869         * text.C (changeCase): use selection.start and selection.end
14870         (changeRegionCase): require from to be <= to. Require par to be a
14871         valid paragraph.
14872
14873         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14874
14875 2001-06-27  Juergen Vigna  <jug@sad.it>
14876
14877         * text.C (cursorLeftOneWord): changed to return the cursor and added
14878         overlay with BufferView * parameter which calls this one.
14879         (getWord): added
14880         (selectWord): use new getWord function.
14881         (changeCase): renamed from changeWordCase as and extended to work
14882         also on selections.
14883
14884         * lyxtext.h: added enum word_location
14885
14886         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14887         changeCase as this operates now also on selections.
14888
14889 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14890
14891         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14892
14893         * many files: send debug output to Debug::INFO instead of
14894         Debug::ANY.
14895
14896         * converter.C (View):
14897         (Convert):
14898         (Move): send debug output to Debug::FILES instead of console.
14899
14900 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14901
14902         * lyxfunc.C (getStatus): use func_status
14903
14904         * func_status.h: new header, describing the results of
14905         LyXFunc::getStatus;
14906
14907         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14908         LFUN_MATH_HALIGN.
14909
14910 2001-06-25  The LyX Project  <jug@sad.it>
14911
14912         * buffer.C (sgmlOpenTag):
14913         (sgmlCloseTag):
14914         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14915
14916 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14917
14918         * text2.C: remove some dead code
14919
14920         * tabular.C (GetCellInset): store the last cell checked (gotten)
14921
14922         * tabular.h: add the helper for the speedup
14923
14924         * lyxtext.h: remove some dead code
14925
14926 2001-06-26  The LyX Project  <Asger>
14927
14928         * paragraph.C: Change export to LaTeX of alignment to
14929         \begin{center} and family for better roundtrip work with reLyX.
14930
14931         * Tune the math drawing a bit.
14932
14933 2001-06-25  The LyX Project  <Asger>
14934
14935         * LColor.C (LColor): New color for math background. New color
14936         for buttons.
14937
14938 2001-06-25  The LyX Project  <jug@sad.it>
14939
14940         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14941
14942         * lyxfunc.C (Open):
14943         * bufferlist.C (newFile): do not restrict to files ending with
14944         .lyx
14945
14946         * BufferView_pimpl.C (MenuInsertLyXFile):
14947
14948 2001-06-24  The LyX Project  <jug@sad.it>
14949
14950         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14951         of compare_no_case
14952
14953 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * lyxtext.h: rename most methods to begin with a small char.
14956         Lots of changes because of this.
14957
14958         * paragraph.C (Paragraph): do not call fitToSize
14959         (erase): call Pimpl::erase
14960         (insertChar): call Pimpl::insertChar
14961         (insertInset): call Pipl::insertInset
14962         (breakParagraph): do not call fitToSize
14963         (breakParagraphConservative): do not call fitToSize
14964         (fitToSize): remove method
14965
14966         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14967
14968 2001-06-24  The LyX Project  <Asger>
14969
14970         * Fix Qt compilation^2
14971
14972 2001-06-24  The LyX Project  <jug@sad.it>
14973
14974         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14975         depthHook(getDepth()-1).
14976
14977         * paragraph.h:
14978         * ParagraphParameters.h:
14979         * ParameterStruct.h: change type of depth to unsigned int ==
14980         depth_type. Many adaptations to other files before of that.
14981
14982 2001-06-24  The LyX Project  <Asger>
14983
14984         * Fix Qt compilation.
14985
14986 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14987
14988         * paragraph.h: renamed several methods to begin with small letter.
14989         several changes to many parts of the code because of this.
14990
14991 2001-06-23  The LyX Project  <jug@sad.it>
14992
14993         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14994         rewritten to discard all double spaces when KeepEmpty is off
14995         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14996         to only handle newlines but not fiddle with spaces and friends.
14997
14998         * lyxfunc.C (MenuNew): when doing 'new from template', use
14999         template_path as default directory
15000
15001 2001-06-23  The LyX Project  <Asger>
15002
15003         * Clean-up of header file includes all over
15004         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15005
15006 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15007
15008         * paragraph.h: renamed from lyxparagraph.h
15009
15010 2001-06-23  Asger  <lyx@violet.home.sad.it>
15011
15012         * Buffer.h: Removed Buffer::resize
15013         * BufferList.h: Removed BufferList::resize
15014         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15015         the document lazily when we change the width, or the font settings.
15016
15017 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15020
15021 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15022
15023         * buffer.h: remove out of date comment
15024
15025 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * lyxscreen.h:
15028         * screen.C: fix "theoretical" GC leak
15029
15030 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * LaTeX.C (scanAuxFile):
15033         (deplog): remove trailing \r when reading stream (useful under
15034         win32)
15035
15036 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15037
15038         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15039         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15040         and BufferView::theLockingInset(Inset*), so should use them and not
15041         access bv_->text->the_locking_inset directly.
15042
15043         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15044
15045 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * Makefile.am:
15048         * tex-defs.h: remove old unused file
15049
15050 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15051
15052         * BufferView_pimpl.C: fix typo, remove minibuffer message
15053           when buffer has loaded
15054
15055 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15056
15057         * lyxfunc.C (Dispatch): use stringstream
15058         (MenuNew): use stringstream
15059         (Open): use stringstream
15060
15061         * importer.C (Import): use stringstream
15062
15063         * bufferview_funcs.C (CurrentState): use stringstream
15064
15065         * LaTeX.C (run): use stringstream
15066
15067         * BufferView_pimpl.C (savePosition): use stringstream
15068         (restorePosition): use stringstream
15069         (MenuInsertLyXFile): use stringstream
15070
15071 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15072
15073         * BufferView.C:
15074         * Bullet.C:
15075         * ColorHandler.C:
15076         * FontInfo.C:
15077         * FontLoader.C:
15078         * LColor.C:
15079         * LaTeXFeatures.C:
15080         * Painter.C:
15081         * gettext.C:
15082         * lyx_gui_misc.C:
15083         * lyxserver.C:
15084         * vspace.C: removed // -*- C++ -*- as first line.
15085
15086         * lyxfind.h:
15087         * version.h: added // -*- C++ -*- as first line.
15088
15089 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15090
15091         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15092
15093         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15094         of string
15095
15096 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15097
15098         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15099         of floats.
15100
15101 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15102
15103         * gettext.C: include LString.h even when --disable-nls is on.
15104
15105 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15106
15107         * converter.h (Get): changed argument type from int to
15108         FormatList::size_type to avoid unnecessary conversion.
15109
15110         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15111         before using it.
15112
15113 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15114
15115         * gettext.h: include LString.h even when --disable-nls is on.
15116
15117 2001-06-07  Juergen Vigna  <jug@sad.it>
15118
15119         * text.C (BreakAgain): subst spaces with tabs.
15120
15121         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15122         (resizeInsetsLyXText): set force on resizeLyXText.
15123
15124 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15125
15126         * gettext.h (gettext_init):
15127         (locale_init): use a real definition instead of a macro
15128
15129 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15130
15131         * Bufferview_pimpl.C:
15132         * LColor.h:
15133         * LColor.C: further lcolor tidies
15134
15135 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15136
15137         * BufferView_pimpl.C (updateScrollbar): simplify.
15138
15139         * BufferView2.C: don't include insets/insetinfo.h, change
15140         prototype for insertInset and call the Pimpl version. let
15141         updateInset call Pimpl version.
15142
15143         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15144         gotoInset to BufferView::Pimpl
15145
15146 2001-06-01  Juergen Vigna  <jug@sad.it>
15147
15148         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15149         inside a LockingInset (is the update needed at all?).
15150
15151 2001-05-31  Juergen Vigna  <jug@sad.it>
15152
15153         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15154         here not the old one otherwise how should we compare it afterwards
15155         if it's the same!
15156
15157 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15158
15159         * lyxfont.C:
15160         * tabular.C:
15161         * tabular-old.C:
15162         * FontInfo.C: bring C functions into global namespace when
15163         necessary
15164
15165 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15166
15167         * LString.h: make sure config.h has been loaded before LString.h.
15168
15169         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15170         (one for each char read by EatLine!).
15171
15172         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15173         variables.
15174
15175 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15176
15177         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15178         to the same as the par we break from
15179
15180 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15181
15182         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15183
15184         * MenuBackend.C (expand): also create menu entries for wide
15185         versions of the floats.
15186
15187         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15188
15189         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15190
15191         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15192         frontends/Makefile.am
15193
15194         * text2.C: adjust
15195         * text.C: adjust
15196
15197
15198         * tabular.C (getTokenValue): add std::
15199
15200         * tabular-old.C (getTokenValue): add std::
15201         (getTokenValue): ditto
15202         (getTokenValue): ditto
15203
15204         * screen.C (ToggleSelection): adjust
15205
15206         * lyxtext.h: put selection cursors inside a Selection struct.
15207
15208         * lyxfunc.C (moveCursorUpdate): adjust
15209
15210         * lyxfont.C (latexWriteStartChanges): add std::
15211
15212         * lyxfind.C: adjust
15213
15214         * font.h: delete with(char const *, LyXFont const &)
15215
15216         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15217
15218         * FontInfo.C (getFontname): add std::
15219
15220         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15221         (workAreaButtonPress): adjust
15222         (tripleClick): adjust
15223         (update): adjust
15224         (moveCursorUpdate): adjust
15225         (Dispatch): adjust
15226
15227         * BufferView2.C (gotoInset): adjust
15228
15229 2001-05-30  Juergen Vigna  <jug@sad.it>
15230
15231         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15232         to check pspell I add this as default as I now have new pspell
15233         libraries and they seem to use this.
15234
15235 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15236
15237         * text2.C (CutSelection): make the cursor valid before the call to
15238         ClearSelection.
15239
15240 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15243         relied on 0 terminated strings and other horrors. Bug found due to
15244         the new assert in lyxstring!
15245
15246         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15247         KP_ keys.
15248
15249 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15250
15251         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15252         to latinkeys.bind.
15253
15254         * lyxfunc.C (processKeySym): change method of getting to the
15255         self-insert char.
15256
15257         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15258         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15259         * BufferView_pimpl.[Ch]: here as private methods.
15260
15261 2001-05-28  Juergen Vigna  <jug@sad.it>
15262
15263         * text.C (SetHeightOfRow): added the update() call again as it is
15264         needed to initialize inset dimensions!
15265
15266 2001-05-16  Juergen Vigna  <jug@sad.it>
15267
15268         * text2.C (SetCharFont): Add new function with BufferView * and
15269         bool toggleall parameters for setting insets internal fonts.
15270         (SetFont): Freeze the undo as we may change fonts in Insets and
15271         all this change should be inside only one Undo!
15272
15273         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15274         setting font's in insets as for them we have the SetFont function!
15275
15276 2001-05-15  Juergen Vigna  <jug@sad.it>
15277
15278         * text2.C (ClearSelection): to be sure we REALLY don't have any
15279         selection anymore!
15280
15281         * tabular.C (TeXCellPreamble): fixed the left border problem for
15282         multicolumn cells.
15283
15284 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15285
15286         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15287         dependancy file
15288
15289 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15290
15291         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15292         LFUN_BREAKPARAGRAPH.
15293
15294         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15295         help test to "internal only", similar for LFUN_INSERT_URL
15296
15297         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15298         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15299         auto_region_delete and deadkeys.
15300
15301 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15302
15303         * LColor.h:
15304         * LColor.C: remove some dead entries, tidy a little
15305
15306 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15307
15308         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15309         commented code.
15310         (Dispatch): implement LFUN_ESCAPE
15311
15312         * commandtags.h: add LFUN_ESCAPE
15313
15314         * LyXAction.C (init): add entry for LFUN_ESCAPE
15315
15316         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15317         Remove commented code.
15318         (insertNote): moved here
15319         (open_new_inset): moved here
15320
15321         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15322         BufferView_pimpl
15323
15324 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * kbmap.C (findbinding): clean it up and make it work correctly.
15327
15328         * lyx_main.C (init): do not pass argc and argv as parameters
15329
15330 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15331
15332         * buffer.C: fix path for OS/2 & Win32
15333
15334         * lyx_gui.C:
15335         * lyx_main:
15336         * lyx_main.C: Added os:: class.
15337
15338         * os2_defines.h: update
15339
15340 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15341
15342         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15343         better by trying again with reduced state.
15344
15345 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15346
15347         * lyxrc.C (read): print error about invalid key sequence only when
15348         debugging (because not all latinX keysyms are known to some X
15349         servers)
15350
15351         * kbsequence.C (getiso): add a few std:: qualifiers
15352         (getiso): comment out extra return statement.
15353
15354 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15357         handling.
15358         (Dispatch): enhance the accent inset a bit. (not perfect)
15359
15360 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15361
15362         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15363
15364 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15365
15366         * bufferlist.C (emergencyWrite): fix assert() call
15367
15368 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15369
15370         * text.C (InsertChar): Added trivial patch to only send the "you
15371         can not do multiple spaces this way" message once during a
15372         session.
15373
15374 2001-05-08  Baruch Even  <baruch@lyx.org>
15375
15376         * Makefile.am: Changed order of libraries to get LyX to link properly
15377         with the gnome frontend.
15378
15379 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * LaTeXFeatures.h: add a std:: qualifier
15382
15383 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15384
15385         * paragraph.C (String): use stringstream
15386
15387 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15388
15389         * paragraph.C (writeFile): remove footflag arg
15390
15391         * buffer.C (makeLaTeXFile): use stringstream
15392         (latexParagraphs): remove footnot gurba
15393
15394         * LaTeXFeatures.C (getPackages): use stringstream
15395         (getMacros): likewise
15396         (getTClassPreamble): likewise
15397         (getFloatDefinitions): new method
15398
15399         * paragraph.C (writeFile): reindent
15400         (Erase): reindent
15401
15402         * WorkArea.h: revert the xpos + etc changes.
15403
15404         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15405
15406         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15407
15408         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15409         (pasteSelection): likewise
15410         * text2.C (CreateUndo): likewise
15411
15412 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15413
15414         * minibuffer.C (peek_event): temporarily reduce the functionality
15415         of the minibuffer (to allow args on lfuns)
15416
15417         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15418         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15419
15420         * buffer.C (readInset): add compability reading of old float
15421         lists, add reading of new style float list.
15422         (readInset): avoid reevaluation of inscmd.getCmdName()
15423         (getLists): reindent
15424
15425         * MenuBackend.C (MenuItem): implement parsing of
15426         md_floatlistinsert and md_floatinsert.
15427         (expand::LastFiles): move initalizaton of iterators out of loop,
15428         avoid reevaluation.
15429         (expand::Documents): introduce typdedef vector<string> Strings,
15430         and use it.
15431         (expand::ExportFormats): introduce typedef vector<Format const *>
15432         Formats, and use it.
15433         (expand): implement FloatListInsert and FloatInsert.
15434
15435         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15436         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15437         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15438
15439         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15440         handling.
15441         (Dispatch::LFUN_FLOAT_LIST): implement
15442
15443 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15444
15445         * LaTeX.C (run): Fix problem with --export code.
15446
15447 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15448
15449         * BufferView.[Ch] (workarea): removed.
15450         (getClipboard) new method; wrapper for workarea()->getClipboard()
15451
15452         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15453         bug.
15454
15455         * WorkArea.h (width, height, xpos, ypos): These methods all
15456         returned the dimensions of the work_area sub-area of WorkArea,
15457         resulting in a position error if the WorkArea were resized. Now
15458         return the dimensions of the entire WorkArea.
15459
15460         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15461
15462 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * LaTeX.C (deplog): correct the syntax of regex reg1
15465
15466 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15467
15468         * undo.C: remove !NEW_INSETS cruft
15469
15470 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15471
15472         * text2.C: remove !NEW_INSETS cruft
15473
15474         * text.C: remove !NEW_INSETS cruft
15475
15476         * tabular.C: remove !NEW_INSETS cruft
15477
15478         * spellchecker.C: remove !NEW_INSETS cruft
15479
15480         * lyxtext.h: remove !NEW_INSETS cruft
15481
15482         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15483
15484         * lyxfunc.C: remove !NEW_INSETS cruft
15485
15486         * lyxfind.C: remove !NEW_INSETS cruft
15487
15488         * lyx_cb.C: remove !NEW_INSETS cruft
15489
15490         * figureForm.C: remove  !NEW_INSETS cruft
15491
15492         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15493
15494         * buffer.[Ch]: remove !NEW_INSETS cruft
15495
15496         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15497
15498         * CutAndPaste.C: remove !NEW_INSETS cruft
15499
15500         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15501
15502         * BufferView2.C: remove !NEW_INSETS cruft
15503
15504         * BufferView.h: remove !NEW_INSETS cruft
15505
15506 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15507
15508         * Lsstream.h: include LString.h before the sstream headers to
15509         fix problem with gcc 2.95.3 and lyxstring
15510
15511 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15512
15513         * lyx_main.C: add using directives when needed for C functions
15514         declared in std:: namespace.
15515
15516 2001-04-27  Juergen Vigna  <jug@sad.it>
15517
15518         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15519         (SetHeightOfRow): comment out the update call should not be needed!
15520
15521 2001-04-13  Juergen Vigna  <jug@sad.it>
15522
15523         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15524         (LyXTabular): tried to minimize operator= operations (and realized
15525         hopfully Lars wish).
15526
15527 2001-04-27  Juergen Vigna  <jug@sad.it>
15528
15529         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15530
15531 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15532
15533         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15534
15535         * buffer.C (readInset): hack to make listof algorithm work
15536
15537         * BufferView_pimpl.C: hack to make listof algorithm work
15538
15539 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15540
15541         * LyXAction.C: removed all !NEW_INSETS cruft
15542         (init): moved lfun_item in method
15543
15544         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15545
15546 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15547
15548         * BufferView2.C (theLockingInset): white space.
15549
15550 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15551
15552         * minibuffer.C: include <iostream>
15553
15554         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15555
15556         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15557
15558         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15559
15560         * text.[Ch] (TransposeChars): new method
15561
15562 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15563
15564         * call message directly through LyXView instead of through LyXFunc
15565         * BufferView2.C: adjust
15566         * BufferView_pimpl.C: adjust
15567         * FontLoader.C: adjust
15568         * buffer.C: adjust
15569         * bufferview_funcs.C: adjust
15570         * converter.C: adjust
15571         * figureForm.C: adjust
15572         * importer.C: adjust
15573         * lyx_cb.C: adjust
15574         * lyx_gui_misc.C: adjust
15575         * lyxfunc.C: adjust
15576         * lyxvc.C: adjust
15577         * text2.C: adjust
15578         + more files in subdirs
15579
15580         * lyxparagraph.h (size): move up int file
15581         (GetLayout): ditto
15582
15583         * adjust all uses of Assert to lyx::Assert.
15584
15585         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15586         lyxfunctional in namespace lyx
15587         * layout.C (hasLayout): ditto
15588         (GetLayout): ditto
15589         (GetLayout): ditto
15590         (delete_layout): ditto
15591         (NumberOfClass): ditto
15592         * converter.C (GetFormat): ditto
15593         (GetNumber): ditto
15594         (Add): ditto
15595         (Delete): ditto
15596         (SetViewer): ditto
15597         * bufferlist.C (getFileNames): ditto
15598         (emergencyWriteAll): ditto
15599         (exists): ditto
15600         (getBuffer): ditto
15601         * MenuBackend.C (hasSubmenu): ditto
15602         (hasMenu): ditto
15603         (getMenu): ditto
15604         * BufferView_pimpl.C (getInsetByCode): ditto
15605
15606 2001-04-18  Juergen Vigna  <jug@sad.it>
15607
15608         * vspace.C (asLatexString): fixed the 100% problem.
15609
15610 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15611
15612         * lyxfunc.C (Dispatch):
15613         * minibuffer.C:
15614         * minibuffer.h: add a few std:: qualifiers
15615
15616 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15617
15618         * minibuffer.[Ch]: reimplement so that commands is initiated and
15619         run from lyxfunc, simplified som handling, and made the completion
15620         and history code for complete. wip.
15621
15622         * lyxfunc.C (processKeySym): call message
15623         (miniDispatch): new temporary method
15624         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15625         (LFUN_MESSAGE): implement
15626         (LFUN_MESSAGE_PUSH): implement
15627         (LFUN_MESSAGE_POP): implement
15628         (initMiniBuffer): the initial/defualt minibuffer message.
15629
15630         * lyxfont.[Ch]: inline some more getters
15631
15632         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15633
15634         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15635
15636         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15637         (AutoSave): use LFUN_MESSAGE
15638         (Reconfigure): ditto
15639
15640         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15641
15642         * figureForm.C: use LFUN_MESSAGE
15643
15644         * converter.C (runLaTeX): use LFUN_MESSAGE
15645
15646         * bufferview_funcs.C: use LFUN_MESSAGE
15647         (Melt): ditto
15648         (changeDepth): ditto
15649
15650         * bufferparams.h: use boost::
15651
15652         * bufferlist.h: inherit privately from noncopyable
15653
15654         * bufferlist.C (loadLyXFile): remove some commented code.
15655
15656         * buffer.C (runChktex): use LFUN_MESSAGE
15657
15658         * ShareContainer.h: inherit privately from noncopyable
15659
15660         * ParagraphParameters.[hC] (depth): inline it.
15661
15662         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15663         methods.
15664         (message): new method
15665         (messagePush): ditto
15666         (messagePop): ditto
15667         (show): init minibuffer
15668         (showState): direct call
15669
15670         * LaTeX.[Ch]: inherit privately from noncopyable
15671         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15672         instead of WriteStatus.
15673
15674         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15675
15676         * BufferView_pimpl.C (buffer): don't init minibuffer
15677         (workAreaButtonPress): use LFUN_MESSAGE
15678         (workAreaButtonRelease): ditto
15679         (savePosition): ditto
15680         (restorePosition): ditto
15681         (MenuInsertLyXFile): ditto
15682         (workAreaExpose): don't init minibuffer
15683         (update): remove commented code, simplify
15684
15685         * BufferView2.C (openStuff): use LFUN_MESSAGE
15686         (toggleFloat): ditto
15687         (menuUndo): ditto
15688         (menuRedo): ditto
15689         (copyEnvironment): ditto
15690         (pasteEnvironment): ditto
15691         (copy): ditto
15692         (cut): ditto
15693         (paste): ditto
15694         (gotoInset): ditto
15695         (updateInset): remove some commented code
15696
15697         * lastfiles.h: inherit privately from noncopyable
15698         * layout.h: ditto
15699         * lyx_gui.h: ditto
15700         * lyx_main.h: ditto
15701         * lyxlex.h: ditto
15702         * lyxlex_pimpl.h: ditto
15703
15704         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15705         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15706         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15707
15708         * LyXAction.h: inherit privately from noncopyable, add methods
15709         func_begin, func_end, returning iterators to the func map.
15710
15711         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15712         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15713         (func_begin): new method
15714         (func_end): new method
15715
15716         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15717         and not)
15718         (copySelection): ditto
15719         (pasteSelection): ditto
15720
15721         * BufferView.C: whitespace change
15722         * BufferView.h: inherit privately from noncopyable
15723
15724 2001-04-16  Allan Rae  <rae@lyx.org>
15725
15726         * tabular-old.C (l_getline):
15727         * spellchecker.C (sc_check_word):
15728         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15729         an unrecognised preprocessor directive.  So ensure they're wrapped.
15730
15731 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15732
15733         * src/exporter.C (Export): Give an error message when path to file
15734         contains spaces.
15735
15736 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15737
15738         * LaTeX.C (deplog): Always check that foundfile exists.
15739
15740 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15741
15742         * lyx_main.h:
15743         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15744
15745 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15746
15747         * tabular.[Ch] (getLabelList): implement new method
15748
15749         * minibuffer.h: comment ouf setTiimer
15750
15751         * minibuffer.C (ExecutingCB): constify res
15752         (peek_event): constify s
15753         (Set): constify ntext
15754         (Init): constify nicename
15755
15756         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15757
15758         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15759         (savePosition): use two params to Minibuffer::Set
15760         (restorePosition): ditto
15761
15762 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15763
15764         * lyx_main.C: include language.h
15765
15766         * Makefile.am (lyx_main.o): add language.h
15767
15768 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15769
15770         * exporter.C:
15771         * paragraph.C:
15772         * screen.C:
15773         * tabular.C:
15774         * CutAndPaste.C: include gettext.h
15775
15776         * lyxfont.h: remove old hack with ON and OFF.
15777
15778         * lyxparagraph.h:
15779         * lyxfont.h: do not include language.h...
15780
15781         * BufferView2.C:
15782         * LaTeXFeatures.C:
15783         * Painter.C:
15784         * bufferview_funcs.C:
15785         * font.C:
15786         * lyxfont.C:
15787         * text.C:
15788         * text2.C:
15789         * trans_mgr.C:
15790         * paragraph.C: ... but do it here instead
15791
15792 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15793
15794         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15795
15796         * tabular.C: small reformat
15797
15798         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15799         NEW_INSETS version
15800         (GetChar): ditto
15801         (BreakParagraph): ditto
15802         (SetOnlyLayout): ditto
15803         (SetLayout): ditto
15804
15805         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15806         with one arg less.
15807
15808         * lastfiles.C: removed most using decl, add std:: where needed
15809
15810         * buffer.C: ws changes
15811
15812         * MenuBackend.C (class compare_format): put into anon namespace
15813         (expand): constify label, names, action, action2
15814         (expand):
15815
15816         * text.C (SingleWidth): constify font
15817         (IsBoundary): constify rtl2
15818         (GetVisibleRow): constify ww
15819
15820         * LaTeX.C (deplog): constify logfile
15821
15822         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15823         start_x, end_x
15824         (workAreaExpose): constify widthChange, heightChange
15825
15826         * lyxrow.C (par): moved
15827         (height): moved
15828         (next): moved
15829         * lyxrow.h: as inlines here
15830
15831         * lyxfont.h (shape): moved from lyxfont.C
15832         (emph): moved from lyxfont.C
15833
15834         * lyxfont.C (LyXFont): use initialization list for all
15835         constructors
15836         (shape): move to lyxfont.h as inline
15837         (emph): move to lyxfont.h as inline
15838
15839
15840 2001-04-04  Juergen Vigna  <jug@sad.it>
15841
15842         * vspace.C: had to include stdio.h for use of sscanf
15843
15844 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15845
15846         * BufferView.h:
15847         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15848         independent of xforms.
15849
15850 2001-04-02  Juergen Vigna  <jug@sad.it>
15851
15852         * spellchecker.C: fixed namespace placing!
15853
15854 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15855
15856         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15857         the LyXParagraph * is 0.
15858
15859 2001-03-29  Juergen Vigna  <jug@sad.it>
15860
15861         * vspace.C: added support for %, c%, p%, l%.
15862         (stringFromUnit): added helper function.
15863         (asLatexString): changed to give right results for the %-values.
15864
15865         * buffer.C: convert the widthp in a width%.
15866
15867 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15868
15869         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15870         figureForm.[Ch].
15871
15872         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15873         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15874
15875         * lyx_cb.[Ch]: see above.
15876
15877         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15878         form1.[Ch].
15879
15880         * form1.[Ch]:
15881         * lyx.[Ch]: replaced by figure_form.[Ch].
15882
15883         * lyx_gui.C:
15884         * lyx_gui_misc.C:
15885         * lyxfunc.C: changed headers associated with above changes.
15886
15887 2001-03-27  Juergen Vigna  <jug@sad.it>
15888
15889         * BufferView_pimpl.C: set the temporary cursor right!
15890
15891 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15892
15893         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15894
15895 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15896
15897         * LString.h: removed "using std::getline"!
15898
15899         * BufferView_pimpl.C (Dispatch): changes due to changes in
15900         InsetInclude::Params.
15901
15902         * buffer.C (tag_name): removed redundant break statements as they were
15903         producing lots of warnings with my compiler.
15904
15905 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15906
15907         * LString.h: add "using std::getline" when using the real <string>.
15908
15909 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15910
15911         * buffer.C: removed bitset usage.
15912         PAR_TAG moved to an anonymous name space.
15913         (tag_name): new funtion, also in the anonymous namespace.
15914         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15915         (makeDocBookFile): clean code. Completed transition from string arrays
15916         to string vectors.
15917         (SimpleDocBookOnePar): code clean.
15918
15919 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15920
15921         * tabular.C: add some comments.
15922
15923 2001-03-22  Juergen Vigna  <jug@sad.it>
15924
15925         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15926         compatibility read a bit and fixed bug with minipage in different
15927         depth.
15928
15929 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15930
15931         * buffer.C (pop_tag): removed.
15932         (push_tag): removed.
15933         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15934         array replaced with vector. Added support for CDATA sections.
15935         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15936         at any nest level.
15937         (makeDocBookFile): XML conformant declaration of CDATA section,
15938         fixed bug related to <emphasis> in the first paragraph char.
15939         (sgmlOpenTag): exclude empty tags.
15940         (sgmlCloseTag): ditto.
15941
15942         * buffer.h (pop_tag): removed.
15943         (push_tag): removed.
15944
15945 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15946
15947         * language.h (Languages): added size_type and size().
15948
15949 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15950
15951         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15952         response on compability reading of minipages. One probliem is that
15953         the old usage of minipages was «flertydig»
15954
15955         * several files here and in subdirs: don't use static at file
15956         scope use anon namespaces instead.
15957
15958 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15959
15960         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15961         LaTeX output. This is necessary for Literate document
15962         processing.
15963
15964 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15965
15966         * buffer.C: insert hfill when needed.
15967
15968         * tabular.C (l_getline): use string::erase, small whitespace change.
15969
15970         * BufferView_pimpl.C: try the anon namespace.
15971         * WorkArea.C: ditto
15972
15973 2001-03-16  Juergen Vigna  <jug@sad.it>
15974
15975         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15976         otherwise it won't open options-dialogs.
15977
15978         * buffer.C: honor pextraWidth(p) on converting minipages.
15979
15980         * tabular.C (l_getline): changed the functions to strip trailing \r.
15981
15982 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15983
15984         * BufferView_pimpl.C:
15985         * minibuffer..C: added "using SigC::slot" declaration.
15986
15987 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15988
15989         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15990
15991         * text2.C: ditto
15992
15993         * text.C: ditto
15994
15995         * paragraph.C: ditto
15996
15997         * lyxtext.h: NO_PEXTRA
15998
15999         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16000
16001         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16002         * ParameterStruct.h: ditto
16003         * ParagraphParameters.h: ditto
16004         * lyxparagraph.h: ditto
16005
16006 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16007
16008         * buffer.C: add compability for minipage alignment.
16009         (latexParagraphs): remove unwanted pextra check.
16010
16011         * several files: remove CXX_WORKING_NAMESPACES
16012
16013         * buffer.C (pop_tag): tie is in namespace boost
16014
16015         * BufferView.h: noncopyable is in namespace boost
16016         * lyxlex.h: ditto
16017         * lyx_main.h: ditto
16018         * lyx_gui.h: ditto
16019         * layout.h: ditto
16020         * lastfiles.h: ditto
16021         * bufferlist.h: ditto
16022         * ShareContainer.h: ditto
16023         * LyXView.h: ditto
16024         * LyXAction.h: ditto
16025         * LaTeX.h: ditto
16026
16027 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16028
16029         * Merging changes from BRANCH_MVC back into HEAD.
16030
16031         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16032
16033 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16034
16035         * BufferView_pimpl.C: change from intl.C
16036
16037         * combox.h:
16038         * combox.C:
16039         * Makefile.am: move combox.*
16040
16041         * form1.h:
16042         * form1.C:
16043         * lyx_gui.C:
16044         * intl.h:
16045         * intl.C: remove dialog (covered by prefs)
16046
16047 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16048
16049         * lyxfunc.C (Dispatch): removed redundant break statement.
16050
16051 2001-03-14  Juergen Vigna  <jug@sad.it>
16052
16053         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16054
16055 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16056
16057         * buffer.C: add hack to fix compability reading of minipages.
16058
16059 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16060
16061         * buffer.C (getLists): Cleanup.
16062
16063 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16064
16065         * lyxfont.C (update): don't honor toggleall on font size.
16066
16067 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16068
16069         * bmtable.c:
16070         * bmtable.h:
16071         * Makefile.am: moved to frontends/xforms/
16072
16073         * lyx_gui_misc.C:
16074         * lyxfunc.C:
16075         * BufferView_pimpl.C: changes for moved mathpanel
16076
16077 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16078
16079         * gettext.h: fix gettext_init() in --disable-nls
16080
16081 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16082
16083         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16084
16085 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16086
16087         * lyx.C:
16088         * lyx.h: strip external form
16089
16090 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16091
16092         * BufferView_pimpl.C: add comment, destroySplash()
16093
16094 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16095
16096         * BufferView_pimpl.C:
16097         * LyXAction.C:
16098         * buffer.C:
16099         * commandtags.h:
16100         * lyxfunc.C: use re-worked insetinclude
16101
16102 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16103
16104         * buffer.C: add using std::stringstream.
16105
16106         * lyx_cb.C: readd using std::ios.
16107
16108         * buffer.C: add using std::map.
16109
16110         * BufferView_pimpl.C: add using std::vector.
16111
16112         * ShareContainer.h: add std:: to swap.
16113
16114         * buffer.h: add some typedefs
16115         * buffer.C (getLists): use them
16116         (getLists): renamed from getTocList.
16117         add a counter for the different float types and use it in the
16118         generated string.
16119         (getLists): use the same counter for the NEW_INSETS and the "non"
16120         NEW_INSETS
16121
16122         * lyx_cb.h: remove unused items, includes, using etc.
16123
16124         * ShareContainer.h: remove some commented code, add more comments
16125         and "documentation".
16126
16127 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16128
16129         * buffer.C (getTocList): make the list also when NEW_INSETS is
16130         defined.
16131
16132         * buffer.h: remove TocType
16133
16134         * buffer.C (getTocList): change to return a map<string,
16135         vector<TocItem> >, implement for dynamic number of list.
16136
16137         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16138         * text2.C (PasteSelection): adjust
16139         * CutAndPaste.C (pasteSelection): adjust
16140
16141         * FloatList.C (FloatList): update from the new_insets branch.
16142         * Floating.[Ch]: ditto
16143         * LaTeXFeatures.C: ditto
16144         * buffer.C: ditto
16145         * lyxlex_pimpl.C: ditto
16146
16147         * paragraph.C (Last): remove when NEW_INSETS is defined.
16148
16149         * other file: changes because of the above.
16150
16151 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16152
16153         * lyxparagraph.h: rename next to next_, previous to previous_,
16154         make them private for NEW_INSETS. Rename Next() to next(),
16155         Previous() to previous().
16156
16157         * other files: changes because of the above.
16158
16159 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16160
16161         * BufferView.h:
16162         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16163         problem.
16164
16165 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16166
16167         * main.C (main): pass lyx_localedir to gettext_init().
16168
16169         * gettext.h: remove locale_init and gettext_init macros
16170
16171         * gettext.C (locale_init): new function
16172         (gettext_init): new function
16173
16174         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16175         setlocale().
16176
16177 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16178
16179         * Moved credits to frontends:
16180         * credits.[Ch]: removed
16181         * credits_form.[Ch]: removed
16182         * lyx_gui_misc.C: remove credits stuff
16183         * Makefile.am:
16184
16185 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16186
16187         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16188
16189         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16190         unneeded destructor.
16191
16192         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16193         a standalone pointer again.
16194
16195         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16196
16197 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16198
16199         * Makefile.am:
16200         * filedlg.h:
16201         * filedlg.C:
16202         * LyXAction.C:
16203         * ToolbarDefaults.C:
16204         * bufferlist.C:
16205         * commandtags.h:
16206         * form1.C:
16207         * form1.h:
16208         * lyx_cb.C:
16209         * lyx_cb.h:
16210         * lyxfunc.h:
16211         * lyxfunc.C:
16212         * BufferView_pimpl.C: use new file dialog in GUII
16213
16214         * lyx_cb.h:
16215         * lyx_cb.C: remove LayoutsCB to Toolbar
16216
16217 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16218
16219         * ShareContainer.h (get): add std:: qualifier
16220
16221 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16222
16223         * ShareContainer.h: define a proper ShareContainer::value_type
16224         type (and use typename to please compaq cxx)
16225
16226 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16227
16228         * lyxparagraph.h: move serveral local vars to
16229         ParameterStruct/ParagraphParameters., use ShareContainer in
16230         FontTable., make vars in FontTable private and add getter and
16231         setter.
16232
16233         * paragraph.C: changes because of the above.
16234
16235         * lyxfont.h: remove copy constructor and copy assignment. (the
16236         default ones is ok), move number inside FontBits. move inlines to
16237         lyxfont.C
16238
16239         * lyxfont.C: add number to initializaton of statics, move several
16240         inlines here. constify several local vars. some whitespace
16241         cleanup. Dont hide outerscope variables.
16242
16243         * Spacing.h: add two new constructors to match the set methods.
16244
16245         * ShareContainer.h: new file, will perhaps be moved to support
16246
16247         * ParameterStruct.h: new file
16248
16249         * ParagraphParameters.h: new file
16250
16251         * ParagraphParameters.C: new file
16252
16253         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16254         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16255
16256         * BufferView_pimpl.C: ParagraphParameter changes.
16257         * buffer.C: Likewise.
16258         * bufferview_funcs.C: Likewise.
16259         * text.C: Likewise.
16260         * text2.C: Likewise.
16261
16262 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16263
16264         * lyxfind.C (LyXReplace): do not redefine default argument in
16265         implementation.
16266         (IsStringInText): ditto
16267         (SearchForward): ditto
16268         (SearchBackward): ditto
16269
16270 2001-03-06  Juergen Vigna  <jug@sad.it>
16271
16272         * lyxfind.C (IsStringInText): put parentes around expressions.
16273
16274 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16275
16276         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16277
16278 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16279
16280         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16281
16282         * stl_string_fwd.h: add comment
16283
16284         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16285
16286         * tabular.h:
16287         * tabular.C: remove unused DocBook methods
16288
16289         * intl.C:
16290         * language.C:
16291         * paragraph.C:
16292         * buffer.C:
16293         killed DO_USE_DEFAULT_LANGUAGE
16294
16295 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16296
16297         * lyx_gui.C: do not include language.h.
16298
16299         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16300         arguments in function implementation.
16301
16302 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16303
16304         * BufferView_pimpl.C: add <ctime>
16305
16306 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16307
16308         * BufferView_pimpl.C: add using std::find_if
16309
16310 2001-02-27  José Matos  <jamatos@fep.up.pt>
16311
16312         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16313         by OnlyPath.
16314
16315 2001-02-11  José Matos  <jamatos@fep.up.pt>
16316
16317         * buffer.C (makeDocBookFile): command styles now have a parameter as
16318         "title" by default.
16319
16320 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16321
16322         * layout_forms.[Ch]: removed
16323         * lyx_cb.[Ch]: out character
16324         * lyx_gui.C: out character
16325         * lyx_gui_misc.C: out character
16326         * bufferview_funcs.C: : out character,
16327         added toggleall as parameter in ToggleAndShow
16328
16329 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16330
16331         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16332
16333         * text2.C (SetCurrentFont): Disable number property at boundary.
16334
16335 2001-02-26  Juergen Vigna  <jug@sad.it>
16336
16337         * lyxfunc.C (getStatus): added a string argument override function so
16338         that this is correctly called from LyXFunc::Dispatch if it contains a
16339         do_not_use_argument which is used!
16340         (Dispatch): added check for "custom" export and call appropriate func.
16341
16342 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16343
16344         * lyxrc.C: Add language_command_local, language_use_babel and
16345         language_global_options.
16346
16347         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16348
16349         * buffer.C (makeLaTeXFile): Use language_use_babel and
16350         language_global_options.
16351
16352 2001-02-23  Juergen Vigna  <jug@sad.it>
16353
16354         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16355         which works with LyXText and putted it inside BufferView. Here now we
16356         only call for that part the BufferView::Dispatch() function.
16357
16358         * BufferView.C (Dispatch): added.
16359
16360         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16361         functions which needs to use a LyXText over from LyXFunc.
16362         (MenuInsertLyXFile): added
16363         (getInsetByCode): added
16364         (moveCursorUpdate): added
16365         (static TEXT): added
16366
16367 2001-02-22  Juergen Vigna  <jug@sad.it>
16368
16369         * BufferView_pimpl.C (update): call a status update to see if LyXText
16370         needs it.
16371
16372 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16373
16374         * vc-backend.C (revert): implement for CVS
16375         (getLog): implement for CVS
16376
16377 2001-02-20  Juergen Vigna  <jug@sad.it>
16378
16379         * text2.C (ClearSelection): added BufferView param for inset_owner call
16380
16381         * lyxfunc.C (TEXT): added this function and use it instead of
16382         directly owner->view()-text of getLyXText().
16383
16384 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16385
16386         * src/layout_forms.C: out preamble
16387         * src/layout_forms.h: out preamble
16388         * src/lyx_cb.C: out preamble
16389         * src/lyx_cb.h: out preamble
16390         * src/lyx_gui.C: out preamble
16391         * src/lyx_gui_misc.C: out preamble
16392         * src/lyxfunc.C: connect with guii preamble
16393
16394 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16395
16396         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16397
16398 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16399
16400         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16401         whether to run bibtex.
16402
16403 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16404
16405         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16406
16407 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16408
16409         * Makefile.am (lyx_SOURCES): removed bibforms.h
16410
16411         * vspace.h: doxygen
16412
16413         * text.C (GetVisibleRow): make several local vars const
16414
16415         * tabular.C: small cleanup.
16416
16417         * lyxserver.C (callback): use compare instead of strncmp
16418
16419         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16420         inlines to after class or to paragraph.C
16421
16422         * lyxfont.h: remove friend operator!=
16423
16424         * converter.h: move friend bool operator< to non friend and after
16425         class def.
16426
16427         * combox.h: small cleanup
16428
16429         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16430         to inlines after class def.
16431
16432         * buffer.C (pop_tag): use string operations instead of strcmp
16433
16434         * bmtable.c: doxygen, small cleanup
16435
16436         * LaTeX.h: remove friend operator==
16437
16438 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16439
16440         * screen.C:
16441         * lyxrc.[Ch]:
16442         * lyxfunc.C:
16443         * lyxfont.[Ch]:
16444         * lyx_cb.C:
16445         * intl.[Ch]:
16446         * commandtags.h:
16447         * buffer.C:
16448         * WorkArea.[Ch]:
16449         * LyXAction.C:
16450         * BufferView_pimpl.C:
16451         * BufferView.[Ch]: remove cruft
16452
16453 2001-02-14  Juergen Vigna  <jug@sad.it>
16454
16455         * lyxfunc.C: removed #if 0 unused code
16456
16457         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16458
16459         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16460
16461         * text2.C (SetSelection): added a BufferView * parameter
16462
16463 2001-02-13  Juergen Vigna  <jug@sad.it>
16464
16465         * lyxfunc.C (Dispatch): fixed protected blank problem.
16466         * BufferView2.C (protectedBlank): added LyxText * parameter.
16467
16468         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16469         (AppendColumn): same as above for column_info.
16470
16471         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16472         (moveCursorUpdate): use a LyXText param for support of InsetText.
16473
16474         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16475         (tripleClick): ditto
16476
16477         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16478
16479         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16480
16481         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16482
16483         * text2.C (SetSelection): set correct update status if inset_owner
16484         (ToggleFree): ditto
16485
16486 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16487
16488         * tabular.C: remove some commented code.
16489
16490 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16491
16492         * BufferView_pimpl.C: call hideSplash()
16493
16494         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16495
16496         * include_form.h:
16497         * bibforms.h: remove
16498
16499         * lyxfunc.C:
16500         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16501           add LFUN_CHILD_CREATE
16502
16503         * counters.h: fix tiny typo
16504
16505         * lyx_cb.C:
16506         * lyx.h:
16507         * lyx_gui.C:
16508         * lyx.C: move splash to frontends/xforms/
16509
16510         * lyx_gui_misc.C: move Include and Bibform to frontends
16511
16512         * lyxvc.h: clarify comment
16513
16514         * vspace.C: tiny housekeeping
16515
16516 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16517
16518         * text.C (PrepareToPrint): RTL Fix.
16519
16520         * paragraph.C (GetUChar): New method.
16521         (String):  Use GetUChar.
16522
16523         * buffer.C (asciiParagraph): Use GetUChar.
16524
16525 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16526
16527         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16528
16529 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16530
16531         * buffer.h:
16532         * buffer.C: rename to getLogName(), handle
16533           build log / latex log nicely
16534
16535 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16536
16537         * MenuBackend.C:
16538         * MenuBackend.h: remove support for reference menuitem type.
16539
16540 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16541
16542         * BufferView_pimpl.C: housekeeping
16543         * BufferView_pimpl.h:
16544         * LyXView.h:
16545         * Makefile.am:
16546         * Timeout.C:
16547         * Timeout.h:
16548         * minibuffer.h: move Timeout GUI-I
16549
16550 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16551
16552         * lyxrc.C (read): Update converters data-structures.
16553
16554 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16555
16556         * LaTeX.h (operator!=): add operator != for Aux_Info
16557
16558 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16559
16560         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16561
16562         * LaTeXLog.C: deleted, useful code moved to Buffer
16563
16564         * buffer.h:
16565         * buffer.C: new function getLatexLogName()
16566
16567         * lyx_gui_misc.C:
16568         * lyx_gui.C:
16569         * lyxvc.C:
16570         * lyxvc.h:
16571         * lyxfunc.C: use frontends for LaTeX and VC logs
16572
16573 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16574
16575         * LaTeX.h: yet another std:: that Allan forgot.
16576
16577         * Variables.C (set): renamed from isset(), because this clashes
16578         with some HP-UX macros (grr).
16579
16580 2001-02-06  Allan Rae  <rae@lyx.org>
16581
16582         * LaTeX.h: Another bug fix.  Missing std:: this time.
16583
16584 2001-02-04  Allan Rae  <rae@lyx.org>
16585
16586         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16587         floats problem. I've left it commented out because it's not quite
16588         correct.  It should also test that the current object is a table or
16589         figure inset.  But I haven't gotten around to figuring out how to do
16590         that.  I *think* it'll be something like: "table" == inset.type()
16591
16592         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16593         bool.
16594
16595 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16596
16597         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16598         all the citation/databases/styles in the auxilary file.
16599         (run): Rerun latex if there was a babel language error.
16600
16601 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16602
16603         * text.C (Backspace): Preserve the font when changing newline char
16604         with a space.
16605         (BreakParagraph): If the cursor is before a space, delete the space.
16606
16607         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16608
16609 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16610
16611         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16612         new argument (code).
16613         (ChangeCitationsIfUnique): New method.
16614
16615         * paragraph.C (GetPositionOfInset): Handle bibkey.
16616
16617 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16618
16619         * BufferView_pimpl.h: change type of Position::par_pos to
16620         LyXParagraph::size_type.
16621
16622 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16623
16624         * BufferView_pimpl.C (savePosition, restorePosition): Write
16625         messages to minibuffer.
16626
16627 2001-01-28  José Matos  <jamatos@fep.up.pt>
16628
16629         * buffer.C (makeDocBookFile): adds support for document language.
16630         A silly restriction on the name of LatexCommand types where removed.
16631         Added support for CDATA sections, allows to chars unescaped, used
16632         among others in code, to avoid escape < and >.
16633
16634 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16635
16636         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16637         saved positions instrad of a stack. Furthermore, a position is
16638         stored using paragraph id/paragraph position.
16639
16640         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16641         Remove LFUN_REF_BACK.
16642
16643 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16644
16645         * converter.C (dvipdfm_options): New method.
16646
16647 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16648
16649         * vspace.C (isValidLength): Fix for empty input string.
16650
16651 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16652
16653         * LyXAction.C (init): change description of LFUN_FIGURE to
16654         "Insert Graphics"
16655
16656 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16657
16658         * LaTeX.C: add using directive
16659
16660 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16661
16662         * MenuBackend.C (expand): Fix the sorting of the formats.
16663
16664 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16665
16666         * lyx_main.C: tiny error message fix
16667
16668 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16669
16670         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16671         calling fl_initialize(). This fixes the problem with ',' as
16672         decimal separator in text files.
16673
16674 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16675
16676         * trans.C (process): Fix the keymap bug.
16677
16678 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16679
16680         * LaTeX.C (scanAuxFiles): New method. Provides support for
16681         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16682         (scanLogFile) Scan for "run BibTeX" messages.
16683
16684         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16685         OT1 font encoding. Also, load the aecompl package if the ae
16686         package is loaded.
16687
16688         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16689
16690 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16691
16692         * texrow.C (increasePos): turn two error messages into debug
16693         messages.
16694
16695 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16696
16697         * LaTeX.C (scanAux): Handle the \@input macro.
16698         (runBibTeX): Use scanAux().
16699
16700         * language.C (latex_options_): New field.
16701
16702         * LaTeXFeatures.C (getMacros): Add language macros.
16703
16704         * buffer.C (makeLaTeXFile): Small fix.
16705
16706 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16707
16708         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16709
16710         * text2.C: add a using directive.
16711
16712 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16713
16714         * BufferView2.C:
16715         * lyx_gui_misc.h:
16716         * lyxfr1.C:
16717         * lyxfunc.C: kill LyXBell.
16718
16719 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16720
16721         * text.C (IsBoundary): Remove the error message
16722
16723         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16724
16725         * lyxrc.C (setDefaults): Correct initialization value for
16726         font_norm_type.
16727
16728 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16729
16730         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16731         gotoError().
16732
16733         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16734         and GotoNextNote().
16735
16736         * src/LyXAction.C: Added reference-next.
16737
16738         * text.C (InsertChar): Use contains instead of strchr.
16739
16740         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16741
16742 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16743
16744         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16745         alignment commands (when needed).
16746
16747         * text.C (InsertChar): Add ':' to number separator chars.